diff --git a/add b/add new file mode 100755 index 0000000..2fc7147 --- /dev/null +++ b/add @@ -0,0 +1,45 @@ +#!/bin/bash + +# Script to install shadcn-vue components and move them to the correct location +# Usage: ./add + +# Check if component name is provided +if [ -z "$1" ]; then + echo "Error: Component name is required" + echo "Usage: ./add " + exit 1 +fi + +COMPONENT=$1 + +echo "Installing component: $COMPONENT" + +# Run shadcn-vue installation command +npx shadcn-vue@latest add $COMPONENT + +# Check if installation was successful +if [ $? -ne 0 ]; then + echo "Error: Failed to install component $COMPONENT" + exit 1 +fi + +# Create target directory if it doesn't exist +mkdir -p src/components/$COMPONENT + +# Move files from ui directory to components directory +if [ -d "src/components/ui/$COMPONENT" ]; then + # this is a necessary workaround because shadcn-vue won't write + # to src/components due to a bug (refer to components.json) + echo "Moving files from src/components/ui to src/components" + # find and replace "components/ui" with "components" in UI directory + find src/components/ui -type f -exec sed -i '' 's|components/ui|components|g' {} + + + rsync -a src/components/ui/ src/components/ + rm -r src/components/ui + + echo "Component $COMPONENT successfully installed and moved to the correct location" +else + echo "Warning: Directory src/components/ui/$COMPONENT not found" + echo "Check if the component was installed correctly" + exit 1 +fi diff --git a/app/pages/components/Pagination.vue b/app/pages/components/Pagination.vue new file mode 100644 index 0000000..ae800d5 --- /dev/null +++ b/app/pages/components/Pagination.vue @@ -0,0 +1,35 @@ + + + diff --git a/app/pages/components/Separator.vue b/app/pages/components/Separator.vue new file mode 100644 index 0000000..56f98e6 --- /dev/null +++ b/app/pages/components/Separator.vue @@ -0,0 +1,27 @@ + + + diff --git a/app/pages/contribution-guide.md b/app/pages/contribution-guide.md index a3e8e5b..f73a287 100644 --- a/app/pages/contribution-guide.md +++ b/app/pages/contribution-guide.md @@ -5,7 +5,7 @@ Gooey is built primarily with [Shadcdn-vue](https://www.shadcn-vue.com/) compone Components can be installed into the project following the standard installation method, eg. `npx shadcn-vue@latest add sidebar`. -Some components are customised wrappers around shadcn-vue to alter the API slightly. +Note that due to an ongoing bug in shadcn-vue and the `components.json` `aliases.ui` value, components will not install directly to `./src/components`. After installing, you should copy the component up one level, eg. ` When adding a component, ensure you do these things: diff --git a/app/pages/index.ts b/app/pages/index.ts index 31796f0..49f57fb 100644 --- a/app/pages/index.ts +++ b/app/pages/index.ts @@ -1,38 +1,47 @@ -// getting started export { default as Index } from "./Index.vue" + +// getting started export { default as ContributionGuide } from "./contribution-guide.md" export { default as Installation } from "./installation.md" export { default as Theme } from "./theme.md" -// demos -export { default as TwoColumnLayoutDemo } from "./demo/TwoColumnLayoutDemo.vue" - // components -export { default as AlertDialog } from "./components/AlertDialog.vue" export { default as Accord } from "./components/Accord.vue" export { default as Avatar } from "./components/Avatar.vue" export { default as Badge } from "./components/Badge.vue" export { default as Button } from "./components/Button.vue" -export { default as Card } from "./components/Card.vue" export { default as Carousel } from "./components/Carousel.vue" -export { default as Checkbox } from "./components/Checkbox.vue" export { default as Command } from "./components/Command.vue" -export { default as Dialog } from "./components/Dialog.vue" export { default as DropdownMenu } from "./components/DropdownMenu.vue" export { default as Flasher } from "./components/Flasher.vue" -export { default as Heading } from "./components/Heading.vue" -export { default as Input } from "./components/Input.vue" -export { default as Label } from "./components/Label.vue" +export { default as Pagination } from "./components/Pagination.vue" export { default as Popover } from "./components/Popover.vue" export { default as Progress } from "./components/Progress.vue" -export { default as Select } from "./components/Select.vue" -export { default as Sheet } from "./components/Sheet.vue" +export { default as Separator } from "./components/Separator.vue" export { default as Skeleton } from "./components/Skeleton.vue" +export { default as Toast } from "./components/Toast.vue" +export { default as Tip } from "./components/Tip.vue" + +// forms +export { default as Checkbox } from "./components/Checkbox.vue" +export { default as Input } from "./components/Input.vue" +export { default as Label } from "./components/Label.vue" +export { default as Select } from "./components/Select.vue" export { default as Slider } from "./components/Slider.vue" export { default as Switch } from "./components/Switch.vue" +export { default as Textarea } from "./components/Textarea.vue" + +// page layout +export { default as AlertDialog } from "./components/AlertDialog.vue" +export { default as Card } from "./components/Card.vue" +export { default as Dialog } from "./components/Dialog.vue" +export { default as Heading } from "./components/Heading.vue" +export { default as Sheet } from "./components/Sheet.vue" export { default as Table } from "./components/Table.vue" export { default as Tabs } from "./components/Tabs.vue" -export { default as Textarea } from "./components/Textarea.vue" -export { default as Toast } from "./components/Toast.vue" -export { default as Tip } from "./components/Tip.vue" + +// layouts export { default as TwoColumnLayout } from "./components/TwoColumnLayout.vue" + +// demos +export { default as TwoColumnLayoutDemo } from "./demo/TwoColumnLayoutDemo.vue" diff --git a/app/router/index.ts b/app/router/index.ts index 498ff1d..e08dcbc 100644 --- a/app/router/index.ts +++ b/app/router/index.ts @@ -8,38 +8,46 @@ import { ContributionGuide, Theme, - // demos - TwoColumnLayoutDemo, - // components Accord, Avatar, - AlertDialog, Badge, Button, - Card, Carousel, - Checkbox, Command, - Dialog, DropdownMenu, Flasher, - Heading, - Input, - Label, + Pagination, Popover, Progress, - Select, - Sheet, + Separator, Skeleton, + Toast, + Tip, + + // forms + Checkbox, + Input, + Label, + Select, Slider, Switch, + Textarea, + + // page layout + AlertDialog, + Card, + Dialog, + Heading, + Sheet, Table, Tabs, - Textarea, - Toast, - Tip, + + // layouts TwoColumnLayout, + + // demos + TwoColumnLayoutDemo, } from "@app/pages" import ArticleLayout from "@app/layouts/ArticleLayout.vue" import ComponentLayout from "@app/layouts/ComponentLayout.vue" @@ -121,6 +129,12 @@ const routes = [ component: Flasher, meta: { layout: ComponentLayout }, }, + { + name: "Pagination", + path: "/components/pagination", + component: Pagination, + meta: { layout: ComponentLayout, shadcn: true }, + }, { name: "Popover", path: "/components/popover", @@ -133,6 +147,12 @@ const routes = [ component: Progress, meta: { layout: ComponentLayout, shadcn: true }, }, + { + name: "Separator", + path: "/components/separator", + component: Separator, + meta: { layout: ComponentLayout, shadcn: true }, + }, { name: "Skeleton", path: "/components/skeleton", diff --git a/components.json b/components.json index c94050e..b7910bc 100644 --- a/components.json +++ b/components.json @@ -13,7 +13,7 @@ "components": "@/components", "composables": "@/composables", "utils": "@/lib/utils", - "ui": "@/components", + "ui": "@/components/ui", "lib": "@/lib" }, "iconLibrary": "lucide" diff --git a/dist/gooey.js b/dist/gooey.js index 4f60fdc..c313e6f 100644 --- a/dist/gooey.js +++ b/dist/gooey.js @@ -1,2290 +1,2351 @@ -var ar = (e) => { +var ir = (e) => { throw TypeError(e); }; -var Gl = (e, t, n) => t.has(e) || ar("Cannot " + n); -var on = (e, t, n) => (Gl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), rr = (e, t, n) => t.has(e) ? ar("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n); -import * as Ln from "vue"; -import { computed as S, ref as T, shallowRef as zn, watch as X, getCurrentScope as Wr, onScopeDispose as Gr, shallowReadonly as Rt, unref as s, defineComponent as x, createBlock as C, openBlock as h, normalizeProps as U, guardReactiveProps as W, withCtx as y, renderSlot as _, toRefs as pe, createVNode as R, mergeProps as D, onMounted as se, watchEffect as we, normalizeStyle as Ot, createCommentVNode as ce, getCurrentInstance as Fe, toRef as qr, camelize as qn, withKeys as mt, toHandlers as ql, resolveDynamicComponent as Ve, withModifiers as Be, nextTick as ae, withDirectives as Ut, vShow as ea, h as Oe, createTextVNode as ke, watchSyncEffect as Yl, toDisplayString as Te, isRef as $t, onBeforeMount as Yr, onUnmounted as ze, createElementBlock as N, Fragment as be, renderList as vt, useSlots as Xr, Teleport as Yn, onBeforeUnmount as Xn, inject as hn, provide as yn, toHandlerKey as Zr, onBeforeUpdate as Xl, onUpdated as Zl, reactive as Qr, readonly as ta, Comment as na, cloneVNode as Jr, markRaw as es, createElementVNode as re, vModelSelect as Ql, toRaw as Jl, mergeDefaults as ts, watchPostEffect as ei, effectScope as ns, customRef as ti, normalizeClass as ne, isVNode as ni, toValue as os, vModelText as as } from "vue"; -function rs(e) { +var ei = (e, t, n) => t.has(e) || ir("Cannot " + n); +var en = (e, t, n) => (ei(e, t, "read from private field"), n ? n.call(e) : t.get(e)), ur = (e, t, n) => t.has(e) ? ir("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n); +import * as Vn from "vue"; +import { computed as S, ref as T, shallowRef as Ln, watch as X, getCurrentScope as is, onScopeDispose as us, shallowReadonly as Pt, unref as s, defineComponent as x, createBlock as C, openBlock as h, normalizeProps as U, guardReactiveProps as W, withCtx as y, renderSlot as _, toRefs as ce, createVNode as M, mergeProps as D, onMounted as re, watchEffect as be, normalizeStyle as Bt, createCommentVNode as de, getCurrentInstance as Re, toRef as ds, camelize as qn, withKeys as ct, toHandlers as ti, resolveDynamicComponent as Fe, withModifiers as Ce, nextTick as oe, h as ke, createTextVNode as Se, withDirectives as jt, vShow as sa, watchSyncEffect as ni, toDisplayString as Ee, isRef as xt, onBeforeMount as cs, onUnmounted as Le, createElementBlock as N, Fragment as ye, renderList as pt, useSlots as ps, Teleport as Gn, onBeforeUnmount as Yn, inject as mn, provide as vn, toHandlerKey as fs, onBeforeUpdate as oi, onUpdated as ai, reactive as ms, readonly as la, Comment as ia, cloneVNode as vs, markRaw as gs, createElementVNode as ae, vModelSelect as ri, toRaw as si, mergeDefaults as hs, watchPostEffect as li, effectScope as ys, customRef as ii, normalizeClass as te, isVNode as ui, toValue as bs, vModelText as ws } from "vue"; +function xs(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -var oi = { - aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi, - azure: /#f0ffff(ff)?(?!\w)/gi, - beige: /#f5f5dc(ff)?(?!\w)/gi, - bisque: /#ffe4c4(ff)?(?!\w)/gi, - black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi, - blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi, - brown: /#a52a2a(ff)?(?!\w)/gi, - coral: /#ff7f50(ff)?(?!\w)/gi, - cornsilk: /#fff8dc(ff)?(?!\w)/gi, - crimson: /#dc143c(ff)?(?!\w)/gi, - cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi, - darkblue: /#00008b(ff)?(?!\w)/gi, - darkcyan: /#008b8b(ff)?(?!\w)/gi, - darkgrey: /#a9a9a9(ff)?(?!\w)/gi, - darkred: /#8b0000(ff)?(?!\w)/gi, - deeppink: /#ff1493(ff)?(?!\w)/gi, - dimgrey: /#696969(ff)?(?!\w)/gi, - gold: /#ffd700(ff)?(?!\w)/gi, - green: /#008000(ff)?(?!\w)/gi, - grey: /#808080(ff)?(?!\w)/gi, - honeydew: /#f0fff0(ff)?(?!\w)/gi, - hotpink: /#ff69b4(ff)?(?!\w)/gi, - indigo: /#4b0082(ff)?(?!\w)/gi, - ivory: /#fffff0(ff)?(?!\w)/gi, - khaki: /#f0e68c(ff)?(?!\w)/gi, - lavender: /#e6e6fa(ff)?(?!\w)/gi, - lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi, - linen: /#faf0e6(ff)?(?!\w)/gi, - maroon: /#800000(ff)?(?!\w)/gi, - moccasin: /#ffe4b5(ff)?(?!\w)/gi, - navy: /#000080(ff)?(?!\w)/gi, - oldlace: /#fdf5e6(ff)?(?!\w)/gi, - olive: /#808000(ff)?(?!\w)/gi, - orange: /#ffa500(ff)?(?!\w)/gi, - orchid: /#da70d6(ff)?(?!\w)/gi, - peru: /#cd853f(ff)?(?!\w)/gi, - pink: /#ffc0cb(ff)?(?!\w)/gi, - plum: /#dda0dd(ff)?(?!\w)/gi, - purple: /#800080(ff)?(?!\w)/gi, - red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi, - salmon: /#fa8072(ff)?(?!\w)/gi, - seagreen: /#2e8b57(ff)?(?!\w)/gi, - seashell: /#fff5ee(ff)?(?!\w)/gi, - sienna: /#a0522d(ff)?(?!\w)/gi, - silver: /#c0c0c0(ff)?(?!\w)/gi, - skyblue: /#87ceeb(ff)?(?!\w)/gi, - snow: /#fffafa(ff)?(?!\w)/gi, - tan: /#d2b48c(ff)?(?!\w)/gi, - teal: /#008080(ff)?(?!\w)/gi, - thistle: /#d8bfd8(ff)?(?!\w)/gi, - tomato: /#ff6347(ff)?(?!\w)/gi, - violet: /#ee82ee(ff)?(?!\w)/gi, - wheat: /#f5deb3(ff)?(?!\w)/gi, - white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi -}, Co = oi, oa = { - whitespace: /\s+/g, - urlHexPairs: /%[\dA-F]{2}/g, - quotes: /"/g -}; -function ai(e) { - return e.trim().replace(oa.whitespace, " "); -} -function ri(e) { - return encodeURIComponent(e).replace(oa.urlHexPairs, li); -} -function si(e) { - return Object.keys(Co).forEach(function(t) { - Co[t].test(e) && (e = e.replace(Co[t], t)); - }), e; -} -function li(e) { - switch (e) { - case "%20": - return " "; - case "%3D": - return "="; - case "%3A": - return ":"; - case "%2F": - return "/"; - default: - return e.toLowerCase(); - } -} -function Ro(e) { - if (typeof e != "string") - throw new TypeError("Expected a string, but received " + typeof e); - e.charCodeAt(0) === 65279 && (e = e.slice(1)); - var t = si(ai(e)).replace(oa.quotes, "'"); - return "data:image/svg+xml," + ri(t); -} -Ro.toSrcset = function(t) { - return Ro(t).replace(/ /g, "%20"); -}; -var ii = Ro, ss = {}, ls = {}; -(function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), Object.defineProperty(e, "default", { - enumerable: !0, - get: function() { - return n; +var wo, dr; +function di() { + return dr || (dr = 1, wo = { + aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi, + azure: /#f0ffff(ff)?(?!\w)/gi, + beige: /#f5f5dc(ff)?(?!\w)/gi, + bisque: /#ffe4c4(ff)?(?!\w)/gi, + black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi, + blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi, + brown: /#a52a2a(ff)?(?!\w)/gi, + coral: /#ff7f50(ff)?(?!\w)/gi, + cornsilk: /#fff8dc(ff)?(?!\w)/gi, + crimson: /#dc143c(ff)?(?!\w)/gi, + cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi, + darkblue: /#00008b(ff)?(?!\w)/gi, + darkcyan: /#008b8b(ff)?(?!\w)/gi, + darkgrey: /#a9a9a9(ff)?(?!\w)/gi, + darkred: /#8b0000(ff)?(?!\w)/gi, + deeppink: /#ff1493(ff)?(?!\w)/gi, + dimgrey: /#696969(ff)?(?!\w)/gi, + gold: /#ffd700(ff)?(?!\w)/gi, + green: /#008000(ff)?(?!\w)/gi, + grey: /#808080(ff)?(?!\w)/gi, + honeydew: /#f0fff0(ff)?(?!\w)/gi, + hotpink: /#ff69b4(ff)?(?!\w)/gi, + indigo: /#4b0082(ff)?(?!\w)/gi, + ivory: /#fffff0(ff)?(?!\w)/gi, + khaki: /#f0e68c(ff)?(?!\w)/gi, + lavender: /#e6e6fa(ff)?(?!\w)/gi, + lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi, + linen: /#faf0e6(ff)?(?!\w)/gi, + maroon: /#800000(ff)?(?!\w)/gi, + moccasin: /#ffe4b5(ff)?(?!\w)/gi, + navy: /#000080(ff)?(?!\w)/gi, + oldlace: /#fdf5e6(ff)?(?!\w)/gi, + olive: /#808000(ff)?(?!\w)/gi, + orange: /#ffa500(ff)?(?!\w)/gi, + orchid: /#da70d6(ff)?(?!\w)/gi, + peru: /#cd853f(ff)?(?!\w)/gi, + pink: /#ffc0cb(ff)?(?!\w)/gi, + plum: /#dda0dd(ff)?(?!\w)/gi, + purple: /#800080(ff)?(?!\w)/gi, + red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi, + salmon: /#fa8072(ff)?(?!\w)/gi, + seagreen: /#2e8b57(ff)?(?!\w)/gi, + seashell: /#fff5ee(ff)?(?!\w)/gi, + sienna: /#a0522d(ff)?(?!\w)/gi, + silver: /#c0c0c0(ff)?(?!\w)/gi, + skyblue: /#87ceeb(ff)?(?!\w)/gi, + snow: /#fffafa(ff)?(?!\w)/gi, + tan: /#d2b48c(ff)?(?!\w)/gi, + teal: /#008080(ff)?(?!\w)/gi, + thistle: /#d8bfd8(ff)?(?!\w)/gi, + tomato: /#ff6347(ff)?(?!\w)/gi, + violet: /#ee82ee(ff)?(?!\w)/gi, + wheat: /#f5deb3(ff)?(?!\w)/gi, + white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi + }), wo; +} +var xo, cr; +function ci() { + if (cr) return xo; + cr = 1; + var e = di(), t = { + whitespace: /\s+/g, + urlHexPairs: /%[\dA-F]{2}/g, + quotes: /"/g + }; + function n(i) { + return i.trim().replace(t.whitespace, " "); + } + function o(i) { + return encodeURIComponent(i).replace(t.urlHexPairs, r); + } + function a(i) { + return Object.keys(e).forEach(function(u) { + e[u].test(i) && (i = i.replace(e[u], u)); + }), i; + } + function r(i) { + switch (i) { + // Browsers tolerate these characters, and they're frequent + case "%20": + return " "; + case "%3D": + return "="; + case "%3A": + return ":"; + case "%2F": + return "/"; + default: + return i.toLowerCase(); } - }); - function t(o, a) { - return { - handler: o, - config: a - }; } - t.withOptions = function(o, a = () => ({})) { - const r = function(l) { + function l(i) { + if (typeof i != "string") + throw new TypeError("Expected a string, but received " + typeof i); + i.charCodeAt(0) === 65279 && (i = i.slice(1)); + var u = a(n(i)).replace(t.quotes, "'"); + return "data:image/svg+xml," + o(u); + } + return l.toSrcset = function(u) { + return l(u).replace(/ /g, "%20"); + }, xo = l, xo; +} +var _o = {}, Co = {}, pr; +function pi() { + return pr || (pr = 1, function(e) { + Object.defineProperty(e, "__esModule", { + value: !0 + }), Object.defineProperty(e, "default", { + enumerable: !0, + get: function() { + return n; + } + }); + function t(o, a) { return { - __options: l, - handler: o(l), - config: a(l) + handler: o, + config: a }; - }; - return r.__isOptionsFunction = !0, r.__pluginFunction = o, r.__configFunction = a, r; - }; - const n = t; -})(ls); -(function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), Object.defineProperty(e, "default", { - enumerable: !0, - get: function() { - return o; } - }); - const t = /* @__PURE__ */ n(ls); - function n(a) { - return a && a.__esModule ? a : { - default: a + t.withOptions = function(o, a = () => ({})) { + const r = function(l) { + return { + __options: l, + handler: o(l), + config: a(l) + }; + }; + return r.__isOptionsFunction = !0, r.__pluginFunction = o, r.__configFunction = a, r; }; - } - const o = t.default; -})(ss); -let Bo = ss; -var is = (Bo.__esModule ? Bo : { default: Bo }).default, us = {}, ds = {}; -(function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), Object.defineProperty(e, "cloneDeep", { - enumerable: !0, - get: function() { - return t; - } - }); - function t(n) { - return Array.isArray(n) ? n.map((o) => t(o)) : typeof n == "object" && n !== null ? Object.fromEntries(Object.entries(n).map(([o, a]) => [ - o, - t(a) - ])) : n; - } -})(ds); -var ui = { - content: [], - presets: [], - darkMode: "media", - // or 'class' - theme: { - accentColor: ({ theme: e }) => ({ - ...e("colors"), - auto: "auto" - }), - animation: { - none: "none", - spin: "spin 1s linear infinite", - ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite", - pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite", - bounce: "bounce 1s infinite" - }, - aria: { - busy: 'busy="true"', - checked: 'checked="true"', - disabled: 'disabled="true"', - expanded: 'expanded="true"', - hidden: 'hidden="true"', - pressed: 'pressed="true"', - readonly: 'readonly="true"', - required: 'required="true"', - selected: 'selected="true"' - }, - aspectRatio: { - auto: "auto", - square: "1 / 1", - video: "16 / 9" - }, - backdropBlur: ({ theme: e }) => e("blur"), - backdropBrightness: ({ theme: e }) => e("brightness"), - backdropContrast: ({ theme: e }) => e("contrast"), - backdropGrayscale: ({ theme: e }) => e("grayscale"), - backdropHueRotate: ({ theme: e }) => e("hueRotate"), - backdropInvert: ({ theme: e }) => e("invert"), - backdropOpacity: ({ theme: e }) => e("opacity"), - backdropSaturate: ({ theme: e }) => e("saturate"), - backdropSepia: ({ theme: e }) => e("sepia"), - backgroundColor: ({ theme: e }) => e("colors"), - backgroundImage: { - none: "none", - "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))", - "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))", - "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))", - "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))", - "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))", - "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))", - "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))", - "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))" - }, - backgroundOpacity: ({ theme: e }) => e("opacity"), - backgroundPosition: { - bottom: "bottom", - center: "center", - left: "left", - "left-bottom": "left bottom", - "left-top": "left top", - right: "right", - "right-bottom": "right bottom", - "right-top": "right top", - top: "top" - }, - backgroundSize: { - auto: "auto", - cover: "cover", - contain: "contain" - }, - blur: { - 0: "0", - none: "", - sm: "4px", - DEFAULT: "8px", - md: "12px", - lg: "16px", - xl: "24px", - "2xl": "40px", - "3xl": "64px" - }, - borderColor: ({ theme: e }) => ({ - ...e("colors"), - DEFAULT: e("colors.gray.200", "currentColor") - }), - borderOpacity: ({ theme: e }) => e("opacity"), - borderRadius: { - none: "0px", - sm: "0.125rem", - DEFAULT: "0.25rem", - md: "0.375rem", - lg: "0.5rem", - xl: "0.75rem", - "2xl": "1rem", - "3xl": "1.5rem", - full: "9999px" - }, - borderSpacing: ({ theme: e }) => ({ - ...e("spacing") - }), - borderWidth: { - DEFAULT: "1px", - 0: "0px", - 2: "2px", - 4: "4px", - 8: "8px" - }, - boxShadow: { - sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)", - DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)", - md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)", - lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)", - xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)", - "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)", - inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)", - none: "none" - }, - boxShadowColor: ({ theme: e }) => e("colors"), - brightness: { - 0: "0", - 50: ".5", - 75: ".75", - 90: ".9", - 95: ".95", - 100: "1", - 105: "1.05", - 110: "1.1", - 125: "1.25", - 150: "1.5", - 200: "2" - }, - caretColor: ({ theme: e }) => e("colors"), - colors: ({ colors: e }) => ({ - inherit: e.inherit, - current: e.current, - transparent: e.transparent, - black: e.black, - white: e.white, - slate: e.slate, - gray: e.gray, - zinc: e.zinc, - neutral: e.neutral, - stone: e.stone, - red: e.red, - orange: e.orange, - amber: e.amber, - yellow: e.yellow, - lime: e.lime, - green: e.green, - emerald: e.emerald, - teal: e.teal, - cyan: e.cyan, - sky: e.sky, - blue: e.blue, - indigo: e.indigo, - violet: e.violet, - purple: e.purple, - fuchsia: e.fuchsia, - pink: e.pink, - rose: e.rose - }), - columns: { - auto: "auto", - 1: "1", - 2: "2", - 3: "3", - 4: "4", - 5: "5", - 6: "6", - 7: "7", - 8: "8", - 9: "9", - 10: "10", - 11: "11", - 12: "12", - "3xs": "16rem", - "2xs": "18rem", - xs: "20rem", - sm: "24rem", - md: "28rem", - lg: "32rem", - xl: "36rem", - "2xl": "42rem", - "3xl": "48rem", - "4xl": "56rem", - "5xl": "64rem", - "6xl": "72rem", - "7xl": "80rem" - }, - container: {}, - content: { - none: "none" - }, - contrast: { - 0: "0", - 50: ".5", - 75: ".75", - 100: "1", - 125: "1.25", - 150: "1.5", - 200: "2" - }, - cursor: { - auto: "auto", - default: "default", - pointer: "pointer", - wait: "wait", - text: "text", - move: "move", - help: "help", - "not-allowed": "not-allowed", - none: "none", - "context-menu": "context-menu", - progress: "progress", - cell: "cell", - crosshair: "crosshair", - "vertical-text": "vertical-text", - alias: "alias", - copy: "copy", - "no-drop": "no-drop", - grab: "grab", - grabbing: "grabbing", - "all-scroll": "all-scroll", - "col-resize": "col-resize", - "row-resize": "row-resize", - "n-resize": "n-resize", - "e-resize": "e-resize", - "s-resize": "s-resize", - "w-resize": "w-resize", - "ne-resize": "ne-resize", - "nw-resize": "nw-resize", - "se-resize": "se-resize", - "sw-resize": "sw-resize", - "ew-resize": "ew-resize", - "ns-resize": "ns-resize", - "nesw-resize": "nesw-resize", - "nwse-resize": "nwse-resize", - "zoom-in": "zoom-in", - "zoom-out": "zoom-out" - }, - divideColor: ({ theme: e }) => e("borderColor"), - divideOpacity: ({ theme: e }) => e("borderOpacity"), - divideWidth: ({ theme: e }) => e("borderWidth"), - dropShadow: { - sm: "0 1px 1px rgb(0 0 0 / 0.05)", - DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"], - md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"], - lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"], - xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"], - "2xl": "0 25px 25px rgb(0 0 0 / 0.15)", - none: "0 0 #0000" - }, - fill: ({ theme: e }) => ({ - none: "none", - ...e("colors") - }), - flex: { - 1: "1 1 0%", - auto: "1 1 auto", - initial: "0 1 auto", - none: "none" - }, - flexBasis: ({ theme: e }) => ({ - auto: "auto", - ...e("spacing"), - "1/2": "50%", - "1/3": "33.333333%", - "2/3": "66.666667%", - "1/4": "25%", - "2/4": "50%", - "3/4": "75%", - "1/5": "20%", - "2/5": "40%", - "3/5": "60%", - "4/5": "80%", - "1/6": "16.666667%", - "2/6": "33.333333%", - "3/6": "50%", - "4/6": "66.666667%", - "5/6": "83.333333%", - "1/12": "8.333333%", - "2/12": "16.666667%", - "3/12": "25%", - "4/12": "33.333333%", - "5/12": "41.666667%", - "6/12": "50%", - "7/12": "58.333333%", - "8/12": "66.666667%", - "9/12": "75%", - "10/12": "83.333333%", - "11/12": "91.666667%", - full: "100%" - }), - flexGrow: { - 0: "0", - DEFAULT: "1" - }, - flexShrink: { - 0: "0", - DEFAULT: "1" - }, - fontFamily: { - sans: [ - "ui-sans-serif", - "system-ui", - "sans-serif", - '"Apple Color Emoji"', - '"Segoe UI Emoji"', - '"Segoe UI Symbol"', - '"Noto Color Emoji"' - ], - serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"], - mono: [ - "ui-monospace", - "SFMono-Regular", - "Menlo", - "Monaco", - "Consolas", - '"Liberation Mono"', - '"Courier New"', - "monospace" - ] - }, - fontSize: { - xs: ["0.75rem", { lineHeight: "1rem" }], - sm: ["0.875rem", { lineHeight: "1.25rem" }], - base: ["1rem", { lineHeight: "1.5rem" }], - lg: ["1.125rem", { lineHeight: "1.75rem" }], - xl: ["1.25rem", { lineHeight: "1.75rem" }], - "2xl": ["1.5rem", { lineHeight: "2rem" }], - "3xl": ["1.875rem", { lineHeight: "2.25rem" }], - "4xl": ["2.25rem", { lineHeight: "2.5rem" }], - "5xl": ["3rem", { lineHeight: "1" }], - "6xl": ["3.75rem", { lineHeight: "1" }], - "7xl": ["4.5rem", { lineHeight: "1" }], - "8xl": ["6rem", { lineHeight: "1" }], - "9xl": ["8rem", { lineHeight: "1" }] - }, - fontWeight: { - thin: "100", - extralight: "200", - light: "300", - normal: "400", - medium: "500", - semibold: "600", - bold: "700", - extrabold: "800", - black: "900" - }, - gap: ({ theme: e }) => e("spacing"), - gradientColorStops: ({ theme: e }) => e("colors"), - gradientColorStopPositions: { - "0%": "0%", - "5%": "5%", - "10%": "10%", - "15%": "15%", - "20%": "20%", - "25%": "25%", - "30%": "30%", - "35%": "35%", - "40%": "40%", - "45%": "45%", - "50%": "50%", - "55%": "55%", - "60%": "60%", - "65%": "65%", - "70%": "70%", - "75%": "75%", - "80%": "80%", - "85%": "85%", - "90%": "90%", - "95%": "95%", - "100%": "100%" - }, - grayscale: { - 0: "0", - DEFAULT: "100%" - }, - gridAutoColumns: { - auto: "auto", - min: "min-content", - max: "max-content", - fr: "minmax(0, 1fr)" - }, - gridAutoRows: { - auto: "auto", - min: "min-content", - max: "max-content", - fr: "minmax(0, 1fr)" - }, - gridColumn: { - auto: "auto", - "span-1": "span 1 / span 1", - "span-2": "span 2 / span 2", - "span-3": "span 3 / span 3", - "span-4": "span 4 / span 4", - "span-5": "span 5 / span 5", - "span-6": "span 6 / span 6", - "span-7": "span 7 / span 7", - "span-8": "span 8 / span 8", - "span-9": "span 9 / span 9", - "span-10": "span 10 / span 10", - "span-11": "span 11 / span 11", - "span-12": "span 12 / span 12", - "span-full": "1 / -1" - }, - gridColumnEnd: { - auto: "auto", - 1: "1", - 2: "2", - 3: "3", - 4: "4", - 5: "5", - 6: "6", - 7: "7", - 8: "8", - 9: "9", - 10: "10", - 11: "11", - 12: "12", - 13: "13" - }, - gridColumnStart: { - auto: "auto", - 1: "1", - 2: "2", - 3: "3", - 4: "4", - 5: "5", - 6: "6", - 7: "7", - 8: "8", - 9: "9", - 10: "10", - 11: "11", - 12: "12", - 13: "13" - }, - gridRow: { - auto: "auto", - "span-1": "span 1 / span 1", - "span-2": "span 2 / span 2", - "span-3": "span 3 / span 3", - "span-4": "span 4 / span 4", - "span-5": "span 5 / span 5", - "span-6": "span 6 / span 6", - "span-7": "span 7 / span 7", - "span-8": "span 8 / span 8", - "span-9": "span 9 / span 9", - "span-10": "span 10 / span 10", - "span-11": "span 11 / span 11", - "span-12": "span 12 / span 12", - "span-full": "1 / -1" - }, - gridRowEnd: { - auto: "auto", - 1: "1", - 2: "2", - 3: "3", - 4: "4", - 5: "5", - 6: "6", - 7: "7", - 8: "8", - 9: "9", - 10: "10", - 11: "11", - 12: "12", - 13: "13" - }, - gridRowStart: { - auto: "auto", - 1: "1", - 2: "2", - 3: "3", - 4: "4", - 5: "5", - 6: "6", - 7: "7", - 8: "8", - 9: "9", - 10: "10", - 11: "11", - 12: "12", - 13: "13" - }, - gridTemplateColumns: { - none: "none", - subgrid: "subgrid", - 1: "repeat(1, minmax(0, 1fr))", - 2: "repeat(2, minmax(0, 1fr))", - 3: "repeat(3, minmax(0, 1fr))", - 4: "repeat(4, minmax(0, 1fr))", - 5: "repeat(5, minmax(0, 1fr))", - 6: "repeat(6, minmax(0, 1fr))", - 7: "repeat(7, minmax(0, 1fr))", - 8: "repeat(8, minmax(0, 1fr))", - 9: "repeat(9, minmax(0, 1fr))", - 10: "repeat(10, minmax(0, 1fr))", - 11: "repeat(11, minmax(0, 1fr))", - 12: "repeat(12, minmax(0, 1fr))" - }, - gridTemplateRows: { - none: "none", - subgrid: "subgrid", - 1: "repeat(1, minmax(0, 1fr))", - 2: "repeat(2, minmax(0, 1fr))", - 3: "repeat(3, minmax(0, 1fr))", - 4: "repeat(4, minmax(0, 1fr))", - 5: "repeat(5, minmax(0, 1fr))", - 6: "repeat(6, minmax(0, 1fr))", - 7: "repeat(7, minmax(0, 1fr))", - 8: "repeat(8, minmax(0, 1fr))", - 9: "repeat(9, minmax(0, 1fr))", - 10: "repeat(10, minmax(0, 1fr))", - 11: "repeat(11, minmax(0, 1fr))", - 12: "repeat(12, minmax(0, 1fr))" - }, - height: ({ theme: e }) => ({ - auto: "auto", - ...e("spacing"), - "1/2": "50%", - "1/3": "33.333333%", - "2/3": "66.666667%", - "1/4": "25%", - "2/4": "50%", - "3/4": "75%", - "1/5": "20%", - "2/5": "40%", - "3/5": "60%", - "4/5": "80%", - "1/6": "16.666667%", - "2/6": "33.333333%", - "3/6": "50%", - "4/6": "66.666667%", - "5/6": "83.333333%", - full: "100%", - screen: "100vh", - svh: "100svh", - lvh: "100lvh", - dvh: "100dvh", - min: "min-content", - max: "max-content", - fit: "fit-content" - }), - hueRotate: { - 0: "0deg", - 15: "15deg", - 30: "30deg", - 60: "60deg", - 90: "90deg", - 180: "180deg" - }, - inset: ({ theme: e }) => ({ - auto: "auto", - ...e("spacing"), - "1/2": "50%", - "1/3": "33.333333%", - "2/3": "66.666667%", - "1/4": "25%", - "2/4": "50%", - "3/4": "75%", - full: "100%" - }), - invert: { - 0: "0", - DEFAULT: "100%" - }, - keyframes: { - spin: { - to: { - transform: "rotate(360deg)" - } - }, - ping: { - "75%, 100%": { - transform: "scale(2)", - opacity: "0" - } - }, - pulse: { - "50%": { - opacity: ".5" - } - }, - bounce: { - "0%, 100%": { - transform: "translateY(-25%)", - animationTimingFunction: "cubic-bezier(0.8,0,1,1)" - }, - "50%": { - transform: "none", - animationTimingFunction: "cubic-bezier(0,0,0.2,1)" - } + const n = t; + }(Co)), Co; +} +var fr; +function fi() { + return fr || (fr = 1, function(e) { + Object.defineProperty(e, "__esModule", { + value: !0 + }), Object.defineProperty(e, "default", { + enumerable: !0, + get: function() { + return o; } - }, - letterSpacing: { - tighter: "-0.05em", - tight: "-0.025em", - normal: "0em", - wide: "0.025em", - wider: "0.05em", - widest: "0.1em" - }, - lineHeight: { - none: "1", - tight: "1.25", - snug: "1.375", - normal: "1.5", - relaxed: "1.625", - loose: "2", - 3: ".75rem", - 4: "1rem", - 5: "1.25rem", - 6: "1.5rem", - 7: "1.75rem", - 8: "2rem", - 9: "2.25rem", - 10: "2.5rem" - }, - listStyleType: { - none: "none", - disc: "disc", - decimal: "decimal" - }, - listStyleImage: { - none: "none" - }, - margin: ({ theme: e }) => ({ - auto: "auto", - ...e("spacing") - }), - lineClamp: { - 1: "1", - 2: "2", - 3: "3", - 4: "4", - 5: "5", - 6: "6" - }, - maxHeight: ({ theme: e }) => ({ - ...e("spacing"), - none: "none", - full: "100%", - screen: "100vh", - svh: "100svh", - lvh: "100lvh", - dvh: "100dvh", - min: "min-content", - max: "max-content", - fit: "fit-content" - }), - maxWidth: ({ theme: e, breakpoints: t }) => ({ - ...e("spacing"), - none: "none", - xs: "20rem", - sm: "24rem", - md: "28rem", - lg: "32rem", - xl: "36rem", - "2xl": "42rem", - "3xl": "48rem", - "4xl": "56rem", - "5xl": "64rem", - "6xl": "72rem", - "7xl": "80rem", - full: "100%", - min: "min-content", - max: "max-content", - fit: "fit-content", - prose: "65ch", - ...t(e("screens")) - }), - minHeight: ({ theme: e }) => ({ - ...e("spacing"), - full: "100%", - screen: "100vh", - svh: "100svh", - lvh: "100lvh", - dvh: "100dvh", - min: "min-content", - max: "max-content", - fit: "fit-content" - }), - minWidth: ({ theme: e }) => ({ - ...e("spacing"), - full: "100%", - min: "min-content", - max: "max-content", - fit: "fit-content" - }), - objectPosition: { - bottom: "bottom", - center: "center", - left: "left", - "left-bottom": "left bottom", - "left-top": "left top", - right: "right", - "right-bottom": "right bottom", - "right-top": "right top", - top: "top" - }, - opacity: { - 0: "0", - 5: "0.05", - 10: "0.1", - 15: "0.15", - 20: "0.2", - 25: "0.25", - 30: "0.3", - 35: "0.35", - 40: "0.4", - 45: "0.45", - 50: "0.5", - 55: "0.55", - 60: "0.6", - 65: "0.65", - 70: "0.7", - 75: "0.75", - 80: "0.8", - 85: "0.85", - 90: "0.9", - 95: "0.95", - 100: "1" - }, - order: { - first: "-9999", - last: "9999", - none: "0", - 1: "1", - 2: "2", - 3: "3", - 4: "4", - 5: "5", - 6: "6", - 7: "7", - 8: "8", - 9: "9", - 10: "10", - 11: "11", - 12: "12" - }, - outlineColor: ({ theme: e }) => e("colors"), - outlineOffset: { - 0: "0px", - 1: "1px", - 2: "2px", - 4: "4px", - 8: "8px" - }, - outlineWidth: { - 0: "0px", - 1: "1px", - 2: "2px", - 4: "4px", - 8: "8px" - }, - padding: ({ theme: e }) => e("spacing"), - placeholderColor: ({ theme: e }) => e("colors"), - placeholderOpacity: ({ theme: e }) => e("opacity"), - ringColor: ({ theme: e }) => ({ - DEFAULT: e("colors.blue.500", "#3b82f6"), - ...e("colors") - }), - ringOffsetColor: ({ theme: e }) => e("colors"), - ringOffsetWidth: { - 0: "0px", - 1: "1px", - 2: "2px", - 4: "4px", - 8: "8px" - }, - ringOpacity: ({ theme: e }) => ({ - DEFAULT: "0.5", - ...e("opacity") - }), - ringWidth: { - DEFAULT: "3px", - 0: "0px", - 1: "1px", - 2: "2px", - 4: "4px", - 8: "8px" - }, - rotate: { - 0: "0deg", - 1: "1deg", - 2: "2deg", - 3: "3deg", - 6: "6deg", - 12: "12deg", - 45: "45deg", - 90: "90deg", - 180: "180deg" - }, - saturate: { - 0: "0", - 50: ".5", - 100: "1", - 150: "1.5", - 200: "2" - }, - scale: { - 0: "0", - 50: ".5", - 75: ".75", - 90: ".9", - 95: ".95", - 100: "1", - 105: "1.05", - 110: "1.1", - 125: "1.25", - 150: "1.5" - }, - screens: { - sm: "640px", - md: "768px", - lg: "1024px", - xl: "1280px", - "2xl": "1536px" - }, - scrollMargin: ({ theme: e }) => ({ - ...e("spacing") - }), - scrollPadding: ({ theme: e }) => e("spacing"), - sepia: { - 0: "0", - DEFAULT: "100%" - }, - skew: { - 0: "0deg", - 1: "1deg", - 2: "2deg", - 3: "3deg", - 6: "6deg", - 12: "12deg" - }, - space: ({ theme: e }) => ({ - ...e("spacing") - }), - spacing: { - px: "1px", - 0: "0px", - 0.5: "0.125rem", - 1: "0.25rem", - 1.5: "0.375rem", - 2: "0.5rem", - 2.5: "0.625rem", - 3: "0.75rem", - 3.5: "0.875rem", - 4: "1rem", - 5: "1.25rem", - 6: "1.5rem", - 7: "1.75rem", - 8: "2rem", - 9: "2.25rem", - 10: "2.5rem", - 11: "2.75rem", - 12: "3rem", - 14: "3.5rem", - 16: "4rem", - 20: "5rem", - 24: "6rem", - 28: "7rem", - 32: "8rem", - 36: "9rem", - 40: "10rem", - 44: "11rem", - 48: "12rem", - 52: "13rem", - 56: "14rem", - 60: "15rem", - 64: "16rem", - 72: "18rem", - 80: "20rem", - 96: "24rem" - }, - stroke: ({ theme: e }) => ({ - none: "none", - ...e("colors") - }), - strokeWidth: { - 0: "0", - 1: "1", - 2: "2" - }, - supports: {}, - data: {}, - textColor: ({ theme: e }) => e("colors"), - textDecorationColor: ({ theme: e }) => e("colors"), - textDecorationThickness: { - auto: "auto", - "from-font": "from-font", - 0: "0px", - 1: "1px", - 2: "2px", - 4: "4px", - 8: "8px" - }, - textIndent: ({ theme: e }) => ({ - ...e("spacing") - }), - textOpacity: ({ theme: e }) => e("opacity"), - textUnderlineOffset: { - auto: "auto", - 0: "0px", - 1: "1px", - 2: "2px", - 4: "4px", - 8: "8px" - }, - transformOrigin: { - center: "center", - top: "top", - "top-right": "top right", - right: "right", - "bottom-right": "bottom right", - bottom: "bottom", - "bottom-left": "bottom left", - left: "left", - "top-left": "top left" - }, - transitionDelay: { - 0: "0s", - 75: "75ms", - 100: "100ms", - 150: "150ms", - 200: "200ms", - 300: "300ms", - 500: "500ms", - 700: "700ms", - 1e3: "1000ms" - }, - transitionDuration: { - DEFAULT: "150ms", - 0: "0s", - 75: "75ms", - 100: "100ms", - 150: "150ms", - 200: "200ms", - 300: "300ms", - 500: "500ms", - 700: "700ms", - 1e3: "1000ms" - }, - transitionProperty: { - none: "none", - all: "all", - DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter", - colors: "color, background-color, border-color, text-decoration-color, fill, stroke", - opacity: "opacity", - shadow: "box-shadow", - transform: "transform" - }, - transitionTimingFunction: { - DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)", - linear: "linear", - in: "cubic-bezier(0.4, 0, 1, 1)", - out: "cubic-bezier(0, 0, 0.2, 1)", - "in-out": "cubic-bezier(0.4, 0, 0.2, 1)" - }, - translate: ({ theme: e }) => ({ - ...e("spacing"), - "1/2": "50%", - "1/3": "33.333333%", - "2/3": "66.666667%", - "1/4": "25%", - "2/4": "50%", - "3/4": "75%", - full: "100%" - }), - size: ({ theme: e }) => ({ - auto: "auto", - ...e("spacing"), - "1/2": "50%", - "1/3": "33.333333%", - "2/3": "66.666667%", - "1/4": "25%", - "2/4": "50%", - "3/4": "75%", - "1/5": "20%", - "2/5": "40%", - "3/5": "60%", - "4/5": "80%", - "1/6": "16.666667%", - "2/6": "33.333333%", - "3/6": "50%", - "4/6": "66.666667%", - "5/6": "83.333333%", - "1/12": "8.333333%", - "2/12": "16.666667%", - "3/12": "25%", - "4/12": "33.333333%", - "5/12": "41.666667%", - "6/12": "50%", - "7/12": "58.333333%", - "8/12": "66.666667%", - "9/12": "75%", - "10/12": "83.333333%", - "11/12": "91.666667%", - full: "100%", - min: "min-content", - max: "max-content", - fit: "fit-content" - }), - width: ({ theme: e }) => ({ - auto: "auto", - ...e("spacing"), - "1/2": "50%", - "1/3": "33.333333%", - "2/3": "66.666667%", - "1/4": "25%", - "2/4": "50%", - "3/4": "75%", - "1/5": "20%", - "2/5": "40%", - "3/5": "60%", - "4/5": "80%", - "1/6": "16.666667%", - "2/6": "33.333333%", - "3/6": "50%", - "4/6": "66.666667%", - "5/6": "83.333333%", - "1/12": "8.333333%", - "2/12": "16.666667%", - "3/12": "25%", - "4/12": "33.333333%", - "5/12": "41.666667%", - "6/12": "50%", - "7/12": "58.333333%", - "8/12": "66.666667%", - "9/12": "75%", - "10/12": "83.333333%", - "11/12": "91.666667%", - full: "100%", - screen: "100vw", - svw: "100svw", - lvw: "100lvw", - dvw: "100dvw", - min: "min-content", - max: "max-content", - fit: "fit-content" - }), - willChange: { - auto: "auto", - scroll: "scroll-position", - contents: "contents", - transform: "transform" - }, - zIndex: { - auto: "auto", - 0: "0", - 10: "10", - 20: "20", - 30: "30", - 40: "40", - 50: "50" - } - }, - plugins: [] -}; -(function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), Object.defineProperty(e, "default", { - enumerable: !0, - get: function() { - return a; + }); + const t = /* @__PURE__ */ n(pi()); + function n(a) { + return a && a.__esModule ? a : { + default: a + }; } - }); - const t = ds, n = /* @__PURE__ */ o(ui); - function o(r) { - return r && r.__esModule ? r : { - default: r - }; - } - const a = (0, t.cloneDeep)(n.default.theme); -})(us); -let $o = us; -var di = ($o.__esModule ? $o : { default: $o }).default, cs = {}, ps = {}, aa = { exports: {} }, ee = String, fs = function() { - return { isColorSupported: !1, reset: ee, bold: ee, dim: ee, italic: ee, underline: ee, inverse: ee, hidden: ee, strikethrough: ee, black: ee, red: ee, green: ee, yellow: ee, blue: ee, magenta: ee, cyan: ee, white: ee, gray: ee, bgBlack: ee, bgRed: ee, bgGreen: ee, bgYellow: ee, bgBlue: ee, bgMagenta: ee, bgCyan: ee, bgWhite: ee, blackBright: ee, redBright: ee, greenBright: ee, yellowBright: ee, blueBright: ee, magentaBright: ee, cyanBright: ee, whiteBright: ee, bgBlackBright: ee, bgRedBright: ee, bgGreenBright: ee, bgYellowBright: ee, bgBlueBright: ee, bgMagentaBright: ee, bgCyanBright: ee, bgWhiteBright: ee }; -}; -aa.exports = fs(); -aa.exports.createColors = fs; -var ci = aa.exports; -(function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }); - function t(u, d) { - for (var c in d) Object.defineProperty(u, c, { + const o = t.default; + }(_o)), _o; +} +var Bo, mr; +function _s() { + if (mr) return Bo; + mr = 1; + let e = fi(); + return Bo = (e.__esModule ? e : { default: e }).default, Bo; +} +var $o = {}, So = {}, vr; +function mi() { + return vr || (vr = 1, function(e) { + Object.defineProperty(e, "__esModule", { + value: !0 + }), Object.defineProperty(e, "cloneDeep", { enumerable: !0, - get: d[c] + get: function() { + return t; + } }); - } - t(e, { - dim: function() { - return l; - }, - default: function() { - return i; - } - }); - const n = /* @__PURE__ */ o(ci); - function o(u) { - return u && u.__esModule ? u : { - default: u - }; - } - let a = /* @__PURE__ */ new Set(); - function r(u, d, c) { - typeof process < "u" && process.env.JEST_WORKER_ID || c && a.has(c) || (c && a.add(c), console.warn(""), d.forEach((p) => console.warn(u, "-", p))); - } - function l(u) { - return n.default.dim(u); - } - const i = { - info(u, d) { - r(n.default.bold(n.default.cyan("info")), ...Array.isArray(u) ? [ - u - ] : [ - d, - u - ]); - }, - warn(u, d) { - r(n.default.bold(n.default.yellow("warn")), ...Array.isArray(u) ? [ - u - ] : [ - d, - u - ]); - }, - risk(u, d) { - r(n.default.bold(n.default.magenta("risk")), ...Array.isArray(u) ? [ - u - ] : [ - d, - u - ]); - } - }; -})(ps); -(function(e) { - Object.defineProperty(e, "__esModule", { - value: !0 - }), Object.defineProperty(e, "default", { - enumerable: !0, - get: function() { - return a; - } - }); - const t = /* @__PURE__ */ n(ps); - function n(r) { - return r && r.__esModule ? r : { - default: r - }; - } - function o({ version: r, from: l, to: i }) { - t.default.warn(`${l}-color-renamed`, [ - `As of Tailwind CSS ${r}, \`${l}\` has been renamed to \`${i}\`.`, - "Update your configuration file to silence this warning." - ]); - } - const a = { - inherit: "inherit", - current: "currentColor", - transparent: "transparent", - black: "#000", - white: "#fff", - slate: { - 50: "#f8fafc", - 100: "#f1f5f9", - 200: "#e2e8f0", - 300: "#cbd5e1", - 400: "#94a3b8", - 500: "#64748b", - 600: "#475569", - 700: "#334155", - 800: "#1e293b", - 900: "#0f172a", - 950: "#020617" - }, - gray: { - 50: "#f9fafb", - 100: "#f3f4f6", - 200: "#e5e7eb", - 300: "#d1d5db", - 400: "#9ca3af", - 500: "#6b7280", - 600: "#4b5563", - 700: "#374151", - 800: "#1f2937", - 900: "#111827", - 950: "#030712" - }, - zinc: { - 50: "#fafafa", - 100: "#f4f4f5", - 200: "#e4e4e7", - 300: "#d4d4d8", - 400: "#a1a1aa", - 500: "#71717a", - 600: "#52525b", - 700: "#3f3f46", - 800: "#27272a", - 900: "#18181b", - 950: "#09090b" - }, - neutral: { - 50: "#fafafa", - 100: "#f5f5f5", - 200: "#e5e5e5", - 300: "#d4d4d4", - 400: "#a3a3a3", - 500: "#737373", - 600: "#525252", - 700: "#404040", - 800: "#262626", - 900: "#171717", - 950: "#0a0a0a" - }, - stone: { - 50: "#fafaf9", - 100: "#f5f5f4", - 200: "#e7e5e4", - 300: "#d6d3d1", - 400: "#a8a29e", - 500: "#78716c", - 600: "#57534e", - 700: "#44403c", - 800: "#292524", - 900: "#1c1917", - 950: "#0c0a09" - }, - red: { - 50: "#fef2f2", - 100: "#fee2e2", - 200: "#fecaca", - 300: "#fca5a5", - 400: "#f87171", - 500: "#ef4444", - 600: "#dc2626", - 700: "#b91c1c", - 800: "#991b1b", - 900: "#7f1d1d", - 950: "#450a0a" - }, - orange: { - 50: "#fff7ed", - 100: "#ffedd5", - 200: "#fed7aa", - 300: "#fdba74", - 400: "#fb923c", - 500: "#f97316", - 600: "#ea580c", - 700: "#c2410c", - 800: "#9a3412", - 900: "#7c2d12", - 950: "#431407" - }, - amber: { - 50: "#fffbeb", - 100: "#fef3c7", - 200: "#fde68a", - 300: "#fcd34d", - 400: "#fbbf24", - 500: "#f59e0b", - 600: "#d97706", - 700: "#b45309", - 800: "#92400e", - 900: "#78350f", - 950: "#451a03" - }, - yellow: { - 50: "#fefce8", - 100: "#fef9c3", - 200: "#fef08a", - 300: "#fde047", - 400: "#facc15", - 500: "#eab308", - 600: "#ca8a04", - 700: "#a16207", - 800: "#854d0e", - 900: "#713f12", - 950: "#422006" - }, - lime: { - 50: "#f7fee7", - 100: "#ecfccb", - 200: "#d9f99d", - 300: "#bef264", - 400: "#a3e635", - 500: "#84cc16", - 600: "#65a30d", - 700: "#4d7c0f", - 800: "#3f6212", - 900: "#365314", - 950: "#1a2e05" - }, - green: { - 50: "#f0fdf4", - 100: "#dcfce7", - 200: "#bbf7d0", - 300: "#86efac", - 400: "#4ade80", - 500: "#22c55e", - 600: "#16a34a", - 700: "#15803d", - 800: "#166534", - 900: "#14532d", - 950: "#052e16" - }, - emerald: { - 50: "#ecfdf5", - 100: "#d1fae5", - 200: "#a7f3d0", - 300: "#6ee7b7", - 400: "#34d399", - 500: "#10b981", - 600: "#059669", - 700: "#047857", - 800: "#065f46", - 900: "#064e3b", - 950: "#022c22" - }, - teal: { - 50: "#f0fdfa", - 100: "#ccfbf1", - 200: "#99f6e4", - 300: "#5eead4", - 400: "#2dd4bf", - 500: "#14b8a6", - 600: "#0d9488", - 700: "#0f766e", - 800: "#115e59", - 900: "#134e4a", - 950: "#042f2e" - }, - cyan: { - 50: "#ecfeff", - 100: "#cffafe", - 200: "#a5f3fc", - 300: "#67e8f9", - 400: "#22d3ee", - 500: "#06b6d4", - 600: "#0891b2", - 700: "#0e7490", - 800: "#155e75", - 900: "#164e63", - 950: "#083344" - }, - sky: { - 50: "#f0f9ff", - 100: "#e0f2fe", - 200: "#bae6fd", - 300: "#7dd3fc", - 400: "#38bdf8", - 500: "#0ea5e9", - 600: "#0284c7", - 700: "#0369a1", - 800: "#075985", - 900: "#0c4a6e", - 950: "#082f49" - }, - blue: { - 50: "#eff6ff", - 100: "#dbeafe", - 200: "#bfdbfe", - 300: "#93c5fd", - 400: "#60a5fa", - 500: "#3b82f6", - 600: "#2563eb", - 700: "#1d4ed8", - 800: "#1e40af", - 900: "#1e3a8a", - 950: "#172554" - }, - indigo: { - 50: "#eef2ff", - 100: "#e0e7ff", - 200: "#c7d2fe", - 300: "#a5b4fc", - 400: "#818cf8", - 500: "#6366f1", - 600: "#4f46e5", - 700: "#4338ca", - 800: "#3730a3", - 900: "#312e81", - 950: "#1e1b4b" - }, - violet: { - 50: "#f5f3ff", - 100: "#ede9fe", - 200: "#ddd6fe", - 300: "#c4b5fd", - 400: "#a78bfa", - 500: "#8b5cf6", - 600: "#7c3aed", - 700: "#6d28d9", - 800: "#5b21b6", - 900: "#4c1d95", - 950: "#2e1065" - }, - purple: { - 50: "#faf5ff", - 100: "#f3e8ff", - 200: "#e9d5ff", - 300: "#d8b4fe", - 400: "#c084fc", - 500: "#a855f7", - 600: "#9333ea", - 700: "#7e22ce", - 800: "#6b21a8", - 900: "#581c87", - 950: "#3b0764" - }, - fuchsia: { - 50: "#fdf4ff", - 100: "#fae8ff", - 200: "#f5d0fe", - 300: "#f0abfc", - 400: "#e879f9", - 500: "#d946ef", - 600: "#c026d3", - 700: "#a21caf", - 800: "#86198f", - 900: "#701a75", - 950: "#4a044e" - }, - pink: { - 50: "#fdf2f8", - 100: "#fce7f3", - 200: "#fbcfe8", - 300: "#f9a8d4", - 400: "#f472b6", - 500: "#ec4899", - 600: "#db2777", - 700: "#be185d", - 800: "#9d174d", - 900: "#831843", - 950: "#500724" - }, - rose: { - 50: "#fff1f2", - 100: "#ffe4e6", - 200: "#fecdd3", - 300: "#fda4af", - 400: "#fb7185", - 500: "#f43f5e", - 600: "#e11d48", - 700: "#be123c", - 800: "#9f1239", - 900: "#881337", - 950: "#4c0519" - }, - get lightBlue() { - return o({ - version: "v2.2", - from: "lightBlue", - to: "sky" - }), this.sky; - }, - get warmGray() { - return o({ - version: "v3.0", - from: "warmGray", - to: "stone" - }), this.stone; - }, - get trueGray() { - return o({ - version: "v3.0", - from: "trueGray", - to: "neutral" - }), this.neutral; - }, - get coolGray() { - return o({ - version: "v3.0", - from: "coolGray", - to: "gray" - }), this.gray; - }, - get blueGray() { - return o({ - version: "v3.0", - from: "blueGray", - to: "slate" - }), this.slate; - } - }; -})(cs); -let So = cs; -var pi = (So.__esModule ? So : { default: So }).default; -const En = ii, fi = is, ms = di, dt = pi, [mi, { lineHeight: vi }] = ms.fontSize.base, { spacing: nt, borderWidth: sr, borderRadius: lr } = ms; -function Ct(e, t) { - return e.replace("", `var(${t}, 1)`); -} -const gi = fi.withOptions(function(e = { strategy: void 0 }) { - return function({ addBase: t, addComponents: n, theme: o }) { - function a(u, d) { - let c = o(u); - return !c || c.includes("var(") ? d : c.replace("", "1"); + function t(n) { + return Array.isArray(n) ? n.map((o) => t(o)) : typeof n == "object" && n !== null ? Object.fromEntries(Object.entries(n).map(([o, a]) => [ + o, + t(a) + ])) : n; } - const r = e.strategy === void 0 ? ["base", "class"] : [e.strategy], l = [ - { - base: [ - "[type='text']", - "input:where(:not([type]))", - "[type='email']", - "[type='url']", - "[type='password']", - "[type='number']", - "[type='date']", - "[type='datetime-local']", - "[type='month']", - "[type='search']", - "[type='tel']", - "[type='time']", - "[type='week']", - "[multiple]", - "textarea", - "select" - ], - class: [".form-input", ".form-textarea", ".form-select", ".form-multiselect"], - styles: { - appearance: "none", - "background-color": "#fff", - "border-color": Ct( - o("colors.gray.500", dt.gray[500]), - "--tw-border-opacity" - ), - "border-width": sr.DEFAULT, - "border-radius": lr.none, - "padding-top": nt[2], - "padding-right": nt[3], - "padding-bottom": nt[2], - "padding-left": nt[3], - "font-size": mi, - "line-height": vi, - "--tw-shadow": "0 0 #0000", - "&:focus": { - outline: "2px solid transparent", - "outline-offset": "2px", - "--tw-ring-inset": "var(--tw-empty,/*!*/ /*!*/)", - "--tw-ring-offset-width": "0px", - "--tw-ring-offset-color": "#fff", - "--tw-ring-color": Ct( - o("colors.blue.600", dt.blue[600]), - "--tw-ring-opacity" - ), - "--tw-ring-offset-shadow": "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)", - "--tw-ring-shadow": "var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)", - "box-shadow": "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)", - "border-color": Ct( - o("colors.blue.600", dt.blue[600]), - "--tw-border-opacity" - ) - } - } + }(So)), So; +} +var ko, gr; +function vi() { + return gr || (gr = 1, ko = { + content: [], + presets: [], + darkMode: "media", + // or 'class' + theme: { + accentColor: ({ theme: e }) => ({ + ...e("colors"), + auto: "auto" + }), + animation: { + none: "none", + spin: "spin 1s linear infinite", + ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite", + pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite", + bounce: "bounce 1s infinite" }, - { - base: ["input::placeholder", "textarea::placeholder"], - class: [".form-input::placeholder", ".form-textarea::placeholder"], - styles: { - color: Ct(o("colors.gray.500", dt.gray[500]), "--tw-text-opacity"), - opacity: "1" - } + aria: { + busy: 'busy="true"', + checked: 'checked="true"', + disabled: 'disabled="true"', + expanded: 'expanded="true"', + hidden: 'hidden="true"', + pressed: 'pressed="true"', + readonly: 'readonly="true"', + required: 'required="true"', + selected: 'selected="true"' }, - { - base: ["::-webkit-datetime-edit-fields-wrapper"], - class: [".form-input::-webkit-datetime-edit-fields-wrapper"], - styles: { - padding: "0" - } + aspectRatio: { + auto: "auto", + square: "1 / 1", + video: "16 / 9" }, - { - // Unfortunate hack until https://bugs.webkit.org/show_bug.cgi?id=198959 is fixed. - // This sucks because users can't change line-height with a utility on date inputs now. - // Reference: https://github.com/twbs/bootstrap/pull/31993 - base: ["::-webkit-date-and-time-value"], - class: [".form-input::-webkit-date-and-time-value"], - styles: { - "min-height": "1.5em" - } + backdropBlur: ({ theme: e }) => e("blur"), + backdropBrightness: ({ theme: e }) => e("brightness"), + backdropContrast: ({ theme: e }) => e("contrast"), + backdropGrayscale: ({ theme: e }) => e("grayscale"), + backdropHueRotate: ({ theme: e }) => e("hueRotate"), + backdropInvert: ({ theme: e }) => e("invert"), + backdropOpacity: ({ theme: e }) => e("opacity"), + backdropSaturate: ({ theme: e }) => e("saturate"), + backdropSepia: ({ theme: e }) => e("sepia"), + backgroundColor: ({ theme: e }) => e("colors"), + backgroundImage: { + none: "none", + "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))", + "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))", + "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))", + "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))", + "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))", + "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))", + "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))", + "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))" }, - { - // In Safari on iOS date and time inputs are centered instead of left-aligned and can't be - // changed with `text-align` utilities on the input by default. Resetting this to `inherit` - // makes them left-aligned by default and makes it possible to override the alignment with - // utility classes without using an arbitrary variant to target the pseudo-elements. - base: ["::-webkit-date-and-time-value"], - class: [".form-input::-webkit-date-and-time-value"], - styles: { - "text-align": "inherit" - } + backgroundOpacity: ({ theme: e }) => e("opacity"), + backgroundPosition: { + bottom: "bottom", + center: "center", + left: "left", + "left-bottom": "left bottom", + "left-top": "left top", + right: "right", + "right-bottom": "right bottom", + "right-top": "right top", + top: "top" }, - { - // In Safari on macOS date time inputs that are set to `display: block` have unexpected - // extra bottom spacing. This can be corrected by setting the `::-webkit-datetime-edit` - // pseudo-element to `display: inline-flex`, instead of the browser default of - // `display: inline-block`. - base: ["::-webkit-datetime-edit"], - class: [".form-input::-webkit-datetime-edit"], - styles: { - display: "inline-flex" - } + backgroundSize: { + auto: "auto", + cover: "cover", + contain: "contain" }, - { - // In Safari on macOS date time inputs are 4px taller than normal inputs - // This is because there is extra padding on the datetime-edit and datetime-edit-{part}-field pseudo elements - // See https://github.com/tailwindlabs/tailwindcss-forms/issues/95 - base: [ - "::-webkit-datetime-edit", - "::-webkit-datetime-edit-year-field", - "::-webkit-datetime-edit-month-field", - "::-webkit-datetime-edit-day-field", - "::-webkit-datetime-edit-hour-field", - "::-webkit-datetime-edit-minute-field", - "::-webkit-datetime-edit-second-field", - "::-webkit-datetime-edit-millisecond-field", - "::-webkit-datetime-edit-meridiem-field" - ], - class: [ - ".form-input::-webkit-datetime-edit", - ".form-input::-webkit-datetime-edit-year-field", - ".form-input::-webkit-datetime-edit-month-field", - ".form-input::-webkit-datetime-edit-day-field", - ".form-input::-webkit-datetime-edit-hour-field", - ".form-input::-webkit-datetime-edit-minute-field", - ".form-input::-webkit-datetime-edit-second-field", - ".form-input::-webkit-datetime-edit-millisecond-field", - ".form-input::-webkit-datetime-edit-meridiem-field" - ], - styles: { - "padding-top": 0, - "padding-bottom": 0 - } + blur: { + 0: "0", + none: "", + sm: "4px", + DEFAULT: "8px", + md: "12px", + lg: "16px", + xl: "24px", + "2xl": "40px", + "3xl": "64px" }, - { - base: ["select"], - class: [".form-select"], - styles: { - "background-image": `url("${En( - `` - )}")`, - "background-position": `right ${nt[2]} center`, - "background-repeat": "no-repeat", - "background-size": "1.5em 1.5em", - "padding-right": nt[10], - "print-color-adjust": "exact" - } + borderColor: ({ theme: e }) => ({ + ...e("colors"), + DEFAULT: e("colors.gray.200", "currentColor") + }), + borderOpacity: ({ theme: e }) => e("opacity"), + borderRadius: { + none: "0px", + sm: "0.125rem", + DEFAULT: "0.25rem", + md: "0.375rem", + lg: "0.5rem", + xl: "0.75rem", + "2xl": "1rem", + "3xl": "1.5rem", + full: "9999px" }, - { - base: ["[multiple]", '[size]:where(select:not([size="1"]))'], - class: ['.form-select:where([size]:not([size="1"]))'], - styles: { - "background-image": "initial", - "background-position": "initial", - "background-repeat": "unset", - "background-size": "initial", - "padding-right": nt[3], - "print-color-adjust": "unset" - } + borderSpacing: ({ theme: e }) => ({ + ...e("spacing") + }), + borderWidth: { + DEFAULT: "1px", + 0: "0px", + 2: "2px", + 4: "4px", + 8: "8px" }, - { - base: ["[type='checkbox']", "[type='radio']"], - class: [".form-checkbox", ".form-radio"], - styles: { - appearance: "none", - padding: "0", - "print-color-adjust": "exact", - display: "inline-block", - "vertical-align": "middle", - "background-origin": "border-box", - "user-select": "none", - "flex-shrink": "0", - height: nt[4], - width: nt[4], - color: Ct(o("colors.blue.600", dt.blue[600]), "--tw-text-opacity"), - "background-color": "#fff", - "border-color": Ct( - o("colors.gray.500", dt.gray[500]), - "--tw-border-opacity" - ), - "border-width": sr.DEFAULT, - "--tw-shadow": "0 0 #0000" - } + boxShadow: { + sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)", + DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)", + md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)", + lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)", + xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)", + "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)", + inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)", + none: "none" }, - { - base: ["[type='checkbox']"], - class: [".form-checkbox"], - styles: { - "border-radius": lr.none - } + boxShadowColor: ({ theme: e }) => e("colors"), + brightness: { + 0: "0", + 50: ".5", + 75: ".75", + 90: ".9", + 95: ".95", + 100: "1", + 105: "1.05", + 110: "1.1", + 125: "1.25", + 150: "1.5", + 200: "2" }, - { - base: ["[type='radio']"], - class: [".form-radio"], - styles: { - "border-radius": "100%" - } + caretColor: ({ theme: e }) => e("colors"), + colors: ({ colors: e }) => ({ + inherit: e.inherit, + current: e.current, + transparent: e.transparent, + black: e.black, + white: e.white, + slate: e.slate, + gray: e.gray, + zinc: e.zinc, + neutral: e.neutral, + stone: e.stone, + red: e.red, + orange: e.orange, + amber: e.amber, + yellow: e.yellow, + lime: e.lime, + green: e.green, + emerald: e.emerald, + teal: e.teal, + cyan: e.cyan, + sky: e.sky, + blue: e.blue, + indigo: e.indigo, + violet: e.violet, + purple: e.purple, + fuchsia: e.fuchsia, + pink: e.pink, + rose: e.rose + }), + columns: { + auto: "auto", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + 10: "10", + 11: "11", + 12: "12", + "3xs": "16rem", + "2xs": "18rem", + xs: "20rem", + sm: "24rem", + md: "28rem", + lg: "32rem", + xl: "36rem", + "2xl": "42rem", + "3xl": "48rem", + "4xl": "56rem", + "5xl": "64rem", + "6xl": "72rem", + "7xl": "80rem" }, - { - base: ["[type='checkbox']:focus", "[type='radio']:focus"], - class: [".form-checkbox:focus", ".form-radio:focus"], - styles: { - outline: "2px solid transparent", - "outline-offset": "2px", - "--tw-ring-inset": "var(--tw-empty,/*!*/ /*!*/)", - "--tw-ring-offset-width": "2px", - "--tw-ring-offset-color": "#fff", - "--tw-ring-color": Ct( - o("colors.blue.600", dt.blue[600]), - "--tw-ring-opacity" - ), - "--tw-ring-offset-shadow": "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)", - "--tw-ring-shadow": "var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)", - "box-shadow": "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)" - } + container: {}, + content: { + none: "none" }, - { - base: ["[type='checkbox']:checked", "[type='radio']:checked"], - class: [".form-checkbox:checked", ".form-radio:checked"], - styles: { - "border-color": "transparent", - "background-color": "currentColor", - "background-size": "100% 100%", - "background-position": "center", - "background-repeat": "no-repeat" - } + contrast: { + 0: "0", + 50: ".5", + 75: ".75", + 100: "1", + 125: "1.25", + 150: "1.5", + 200: "2" }, - { - base: ["[type='checkbox']:checked"], - class: [".form-checkbox:checked"], - styles: { - "background-image": `url("${En( - '' - )}")`, - "@media (forced-colors: active) ": { - appearance: "auto" - } - } + cursor: { + auto: "auto", + default: "default", + pointer: "pointer", + wait: "wait", + text: "text", + move: "move", + help: "help", + "not-allowed": "not-allowed", + none: "none", + "context-menu": "context-menu", + progress: "progress", + cell: "cell", + crosshair: "crosshair", + "vertical-text": "vertical-text", + alias: "alias", + copy: "copy", + "no-drop": "no-drop", + grab: "grab", + grabbing: "grabbing", + "all-scroll": "all-scroll", + "col-resize": "col-resize", + "row-resize": "row-resize", + "n-resize": "n-resize", + "e-resize": "e-resize", + "s-resize": "s-resize", + "w-resize": "w-resize", + "ne-resize": "ne-resize", + "nw-resize": "nw-resize", + "se-resize": "se-resize", + "sw-resize": "sw-resize", + "ew-resize": "ew-resize", + "ns-resize": "ns-resize", + "nesw-resize": "nesw-resize", + "nwse-resize": "nwse-resize", + "zoom-in": "zoom-in", + "zoom-out": "zoom-out" }, - { - base: ["[type='radio']:checked"], - class: [".form-radio:checked"], - styles: { - "background-image": `url("${En( - '' - )}")`, - "@media (forced-colors: active) ": { - appearance: "auto" - } - } + divideColor: ({ theme: e }) => e("borderColor"), + divideOpacity: ({ theme: e }) => e("borderOpacity"), + divideWidth: ({ theme: e }) => e("borderWidth"), + dropShadow: { + sm: "0 1px 1px rgb(0 0 0 / 0.05)", + DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"], + md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"], + lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"], + xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"], + "2xl": "0 25px 25px rgb(0 0 0 / 0.15)", + none: "0 0 #0000" }, - { - base: [ - "[type='checkbox']:checked:hover", - "[type='checkbox']:checked:focus", - "[type='radio']:checked:hover", - "[type='radio']:checked:focus" - ], - class: [ - ".form-checkbox:checked:hover", - ".form-checkbox:checked:focus", - ".form-radio:checked:hover", - ".form-radio:checked:focus" - ], - styles: { - "border-color": "transparent", - "background-color": "currentColor" - } + fill: ({ theme: e }) => ({ + none: "none", + ...e("colors") + }), + flex: { + 1: "1 1 0%", + auto: "1 1 auto", + initial: "0 1 auto", + none: "none" }, - { - base: ["[type='checkbox']:indeterminate"], - class: [".form-checkbox:indeterminate"], - styles: { - "background-image": `url("${En( - '' - )}")`, - "border-color": "transparent", - "background-color": "currentColor", - "background-size": "100% 100%", - "background-position": "center", - "background-repeat": "no-repeat", - "@media (forced-colors: active) ": { - appearance: "auto" - } - } + flexBasis: ({ theme: e }) => ({ + auto: "auto", + ...e("spacing"), + "1/2": "50%", + "1/3": "33.333333%", + "2/3": "66.666667%", + "1/4": "25%", + "2/4": "50%", + "3/4": "75%", + "1/5": "20%", + "2/5": "40%", + "3/5": "60%", + "4/5": "80%", + "1/6": "16.666667%", + "2/6": "33.333333%", + "3/6": "50%", + "4/6": "66.666667%", + "5/6": "83.333333%", + "1/12": "8.333333%", + "2/12": "16.666667%", + "3/12": "25%", + "4/12": "33.333333%", + "5/12": "41.666667%", + "6/12": "50%", + "7/12": "58.333333%", + "8/12": "66.666667%", + "9/12": "75%", + "10/12": "83.333333%", + "11/12": "91.666667%", + full: "100%" + }), + flexGrow: { + 0: "0", + DEFAULT: "1" }, - { - base: ["[type='checkbox']:indeterminate:hover", "[type='checkbox']:indeterminate:focus"], - class: [".form-checkbox:indeterminate:hover", ".form-checkbox:indeterminate:focus"], - styles: { - "border-color": "transparent", - "background-color": "currentColor" - } + flexShrink: { + 0: "0", + DEFAULT: "1" }, - { - base: ["[type='file']"], - class: null, - styles: { - background: "unset", - "border-color": "inherit", - "border-width": "0", - "border-radius": "0", - padding: "0", - "font-size": "unset", - "line-height": "inherit" - } + fontFamily: { + sans: [ + "ui-sans-serif", + "system-ui", + "sans-serif", + '"Apple Color Emoji"', + '"Segoe UI Emoji"', + '"Segoe UI Symbol"', + '"Noto Color Emoji"' + ], + serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"], + mono: [ + "ui-monospace", + "SFMono-Regular", + "Menlo", + "Monaco", + "Consolas", + '"Liberation Mono"', + '"Courier New"', + "monospace" + ] }, - { - base: ["[type='file']:focus"], - class: null, - styles: { - outline: ["1px solid ButtonText", "1px auto -webkit-focus-ring-color"] - } - } - ], i = (u) => l.map((d) => d[u] === null ? null : { [d[u]]: d.styles }).filter(Boolean); - r.includes("base") && t(i("base")), r.includes("class") && n(i("class")); - }; -}); -var hi = gi; -const yi = /* @__PURE__ */ rs(hi), bi = is; -function ir(e) { - return Object.fromEntries( - Object.entries(e).filter(([t]) => t !== "DEFAULT") - ); -} -var wi = bi( - ({ addUtilities: e, matchUtilities: t, theme: n }) => { - e({ - "@keyframes enter": n("keyframes.enter"), - "@keyframes exit": n("keyframes.exit"), - ".animate-in": { - animationName: "enter", - animationDuration: n("animationDuration.DEFAULT"), - "--tw-enter-opacity": "initial", - "--tw-enter-scale": "initial", - "--tw-enter-rotate": "initial", - "--tw-enter-translate-x": "initial", - "--tw-enter-translate-y": "initial" + fontSize: { + xs: ["0.75rem", { lineHeight: "1rem" }], + sm: ["0.875rem", { lineHeight: "1.25rem" }], + base: ["1rem", { lineHeight: "1.5rem" }], + lg: ["1.125rem", { lineHeight: "1.75rem" }], + xl: ["1.25rem", { lineHeight: "1.75rem" }], + "2xl": ["1.5rem", { lineHeight: "2rem" }], + "3xl": ["1.875rem", { lineHeight: "2.25rem" }], + "4xl": ["2.25rem", { lineHeight: "2.5rem" }], + "5xl": ["3rem", { lineHeight: "1" }], + "6xl": ["3.75rem", { lineHeight: "1" }], + "7xl": ["4.5rem", { lineHeight: "1" }], + "8xl": ["6rem", { lineHeight: "1" }], + "9xl": ["8rem", { lineHeight: "1" }] }, - ".animate-out": { - animationName: "exit", - animationDuration: n("animationDuration.DEFAULT"), - "--tw-exit-opacity": "initial", - "--tw-exit-scale": "initial", - "--tw-exit-rotate": "initial", - "--tw-exit-translate-x": "initial", - "--tw-exit-translate-y": "initial" - } - }), t( - { - "fade-in": (o) => ({ "--tw-enter-opacity": o }), - "fade-out": (o) => ({ "--tw-exit-opacity": o }) + fontWeight: { + thin: "100", + extralight: "200", + light: "300", + normal: "400", + medium: "500", + semibold: "600", + bold: "700", + extrabold: "800", + black: "900" }, - { values: n("animationOpacity") } - ), t( - { - "zoom-in": (o) => ({ "--tw-enter-scale": o }), - "zoom-out": (o) => ({ "--tw-exit-scale": o }) + gap: ({ theme: e }) => e("spacing"), + gradientColorStops: ({ theme: e }) => e("colors"), + gradientColorStopPositions: { + "0%": "0%", + "5%": "5%", + "10%": "10%", + "15%": "15%", + "20%": "20%", + "25%": "25%", + "30%": "30%", + "35%": "35%", + "40%": "40%", + "45%": "45%", + "50%": "50%", + "55%": "55%", + "60%": "60%", + "65%": "65%", + "70%": "70%", + "75%": "75%", + "80%": "80%", + "85%": "85%", + "90%": "90%", + "95%": "95%", + "100%": "100%" }, - { values: n("animationScale") } - ), t( - { - "spin-in": (o) => ({ "--tw-enter-rotate": o }), - "spin-out": (o) => ({ "--tw-exit-rotate": o }) + grayscale: { + 0: "0", + DEFAULT: "100%" }, - { values: n("animationRotate") } - ), t( - { - "slide-in-from-top": (o) => ({ - "--tw-enter-translate-y": `-${o}` - }), - "slide-in-from-bottom": (o) => ({ - "--tw-enter-translate-y": o - }), - "slide-in-from-left": (o) => ({ - "--tw-enter-translate-x": `-${o}` - }), - "slide-in-from-right": (o) => ({ - "--tw-enter-translate-x": o - }), - "slide-out-to-top": (o) => ({ - "--tw-exit-translate-y": `-${o}` - }), - "slide-out-to-bottom": (o) => ({ - "--tw-exit-translate-y": o - }), - "slide-out-to-left": (o) => ({ - "--tw-exit-translate-x": `-${o}` - }), - "slide-out-to-right": (o) => ({ - "--tw-exit-translate-x": o - }) + gridAutoColumns: { + auto: "auto", + min: "min-content", + max: "max-content", + fr: "minmax(0, 1fr)" }, - { values: n("animationTranslate") } - ), t( - { duration: (o) => ({ animationDuration: o }) }, - { values: ir(n("animationDuration")) } - ), t( - { delay: (o) => ({ animationDelay: o }) }, - { values: n("animationDelay") } - ), t( - { ease: (o) => ({ animationTimingFunction: o }) }, - { values: ir(n("animationTimingFunction")) } - ), e({ - ".running": { animationPlayState: "running" }, - ".paused": { animationPlayState: "paused" } - }), t( - { "fill-mode": (o) => ({ animationFillMode: o }) }, - { values: n("animationFillMode") } - ), t( - { direction: (o) => ({ animationDirection: o }) }, - { values: n("animationDirection") } - ), t( - { repeat: (o) => ({ animationIterationCount: o }) }, - { values: n("animationRepeat") } - ); - }, - { - theme: { - extend: { - animationDelay: ({ theme: e }) => ({ - ...e("transitionDelay") - }), - animationDuration: ({ theme: e }) => ({ - 0: "0ms", - ...e("transitionDuration") - }), - animationTimingFunction: ({ theme: e }) => ({ - ...e("transitionTimingFunction") - }), - animationFillMode: { - none: "none", - forwards: "forwards", - backwards: "backwards", - both: "both" + gridAutoRows: { + auto: "auto", + min: "min-content", + max: "max-content", + fr: "minmax(0, 1fr)" + }, + gridColumn: { + auto: "auto", + "span-1": "span 1 / span 1", + "span-2": "span 2 / span 2", + "span-3": "span 3 / span 3", + "span-4": "span 4 / span 4", + "span-5": "span 5 / span 5", + "span-6": "span 6 / span 6", + "span-7": "span 7 / span 7", + "span-8": "span 8 / span 8", + "span-9": "span 9 / span 9", + "span-10": "span 10 / span 10", + "span-11": "span 11 / span 11", + "span-12": "span 12 / span 12", + "span-full": "1 / -1" + }, + gridColumnEnd: { + auto: "auto", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + 10: "10", + 11: "11", + 12: "12", + 13: "13" + }, + gridColumnStart: { + auto: "auto", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + 10: "10", + 11: "11", + 12: "12", + 13: "13" + }, + gridRow: { + auto: "auto", + "span-1": "span 1 / span 1", + "span-2": "span 2 / span 2", + "span-3": "span 3 / span 3", + "span-4": "span 4 / span 4", + "span-5": "span 5 / span 5", + "span-6": "span 6 / span 6", + "span-7": "span 7 / span 7", + "span-8": "span 8 / span 8", + "span-9": "span 9 / span 9", + "span-10": "span 10 / span 10", + "span-11": "span 11 / span 11", + "span-12": "span 12 / span 12", + "span-full": "1 / -1" + }, + gridRowEnd: { + auto: "auto", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + 10: "10", + 11: "11", + 12: "12", + 13: "13" + }, + gridRowStart: { + auto: "auto", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + 10: "10", + 11: "11", + 12: "12", + 13: "13" + }, + gridTemplateColumns: { + none: "none", + subgrid: "subgrid", + 1: "repeat(1, minmax(0, 1fr))", + 2: "repeat(2, minmax(0, 1fr))", + 3: "repeat(3, minmax(0, 1fr))", + 4: "repeat(4, minmax(0, 1fr))", + 5: "repeat(5, minmax(0, 1fr))", + 6: "repeat(6, minmax(0, 1fr))", + 7: "repeat(7, minmax(0, 1fr))", + 8: "repeat(8, minmax(0, 1fr))", + 9: "repeat(9, minmax(0, 1fr))", + 10: "repeat(10, minmax(0, 1fr))", + 11: "repeat(11, minmax(0, 1fr))", + 12: "repeat(12, minmax(0, 1fr))" + }, + gridTemplateRows: { + none: "none", + subgrid: "subgrid", + 1: "repeat(1, minmax(0, 1fr))", + 2: "repeat(2, minmax(0, 1fr))", + 3: "repeat(3, minmax(0, 1fr))", + 4: "repeat(4, minmax(0, 1fr))", + 5: "repeat(5, minmax(0, 1fr))", + 6: "repeat(6, minmax(0, 1fr))", + 7: "repeat(7, minmax(0, 1fr))", + 8: "repeat(8, minmax(0, 1fr))", + 9: "repeat(9, minmax(0, 1fr))", + 10: "repeat(10, minmax(0, 1fr))", + 11: "repeat(11, minmax(0, 1fr))", + 12: "repeat(12, minmax(0, 1fr))" + }, + height: ({ theme: e }) => ({ + auto: "auto", + ...e("spacing"), + "1/2": "50%", + "1/3": "33.333333%", + "2/3": "66.666667%", + "1/4": "25%", + "2/4": "50%", + "3/4": "75%", + "1/5": "20%", + "2/5": "40%", + "3/5": "60%", + "4/5": "80%", + "1/6": "16.666667%", + "2/6": "33.333333%", + "3/6": "50%", + "4/6": "66.666667%", + "5/6": "83.333333%", + full: "100%", + screen: "100vh", + svh: "100svh", + lvh: "100lvh", + dvh: "100dvh", + min: "min-content", + max: "max-content", + fit: "fit-content" + }), + hueRotate: { + 0: "0deg", + 15: "15deg", + 30: "30deg", + 60: "60deg", + 90: "90deg", + 180: "180deg" + }, + inset: ({ theme: e }) => ({ + auto: "auto", + ...e("spacing"), + "1/2": "50%", + "1/3": "33.333333%", + "2/3": "66.666667%", + "1/4": "25%", + "2/4": "50%", + "3/4": "75%", + full: "100%" + }), + invert: { + 0: "0", + DEFAULT: "100%" + }, + keyframes: { + spin: { + to: { + transform: "rotate(360deg)" + } }, - animationDirection: { - normal: "normal", - reverse: "reverse", - alternate: "alternate", - "alternate-reverse": "alternate-reverse" + ping: { + "75%, 100%": { + transform: "scale(2)", + opacity: "0" + } }, - animationOpacity: ({ theme: e }) => ({ - DEFAULT: 0, - ...e("opacity") - }), - animationTranslate: ({ theme: e }) => ({ - DEFAULT: "100%", - ...e("translate") - }), - animationScale: ({ theme: e }) => ({ - DEFAULT: 0, - ...e("scale") - }), - animationRotate: ({ theme: e }) => ({ - DEFAULT: "30deg", - ...e("rotate") - }), - animationRepeat: { - 0: "0", - 1: "1", - infinite: "infinite" + pulse: { + "50%": { + opacity: ".5" + } }, - keyframes: { - enter: { - from: { - opacity: "var(--tw-enter-opacity, 1)", - transform: "translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))" - } + bounce: { + "0%, 100%": { + transform: "translateY(-25%)", + animationTimingFunction: "cubic-bezier(0.8,0,1,1)" }, - exit: { - to: { - opacity: "var(--tw-exit-opacity, 1)", - transform: "translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))" - } + "50%": { + transform: "none", + animationTimingFunction: "cubic-bezier(0,0,0.2,1)" } } + }, + letterSpacing: { + tighter: "-0.05em", + tight: "-0.025em", + normal: "0em", + wide: "0.025em", + wider: "0.05em", + widest: "0.1em" + }, + lineHeight: { + none: "1", + tight: "1.25", + snug: "1.375", + normal: "1.5", + relaxed: "1.625", + loose: "2", + 3: ".75rem", + 4: "1rem", + 5: "1.25rem", + 6: "1.5rem", + 7: "1.75rem", + 8: "2rem", + 9: "2.25rem", + 10: "2.5rem" + }, + listStyleType: { + none: "none", + disc: "disc", + decimal: "decimal" + }, + listStyleImage: { + none: "none" + }, + margin: ({ theme: e }) => ({ + auto: "auto", + ...e("spacing") + }), + lineClamp: { + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6" + }, + maxHeight: ({ theme: e }) => ({ + ...e("spacing"), + none: "none", + full: "100%", + screen: "100vh", + svh: "100svh", + lvh: "100lvh", + dvh: "100dvh", + min: "min-content", + max: "max-content", + fit: "fit-content" + }), + maxWidth: ({ theme: e, breakpoints: t }) => ({ + ...e("spacing"), + none: "none", + xs: "20rem", + sm: "24rem", + md: "28rem", + lg: "32rem", + xl: "36rem", + "2xl": "42rem", + "3xl": "48rem", + "4xl": "56rem", + "5xl": "64rem", + "6xl": "72rem", + "7xl": "80rem", + full: "100%", + min: "min-content", + max: "max-content", + fit: "fit-content", + prose: "65ch", + ...t(e("screens")) + }), + minHeight: ({ theme: e }) => ({ + ...e("spacing"), + full: "100%", + screen: "100vh", + svh: "100svh", + lvh: "100lvh", + dvh: "100dvh", + min: "min-content", + max: "max-content", + fit: "fit-content" + }), + minWidth: ({ theme: e }) => ({ + ...e("spacing"), + full: "100%", + min: "min-content", + max: "max-content", + fit: "fit-content" + }), + objectPosition: { + bottom: "bottom", + center: "center", + left: "left", + "left-bottom": "left bottom", + "left-top": "left top", + right: "right", + "right-bottom": "right bottom", + "right-top": "right top", + top: "top" + }, + opacity: { + 0: "0", + 5: "0.05", + 10: "0.1", + 15: "0.15", + 20: "0.2", + 25: "0.25", + 30: "0.3", + 35: "0.35", + 40: "0.4", + 45: "0.45", + 50: "0.5", + 55: "0.55", + 60: "0.6", + 65: "0.65", + 70: "0.7", + 75: "0.75", + 80: "0.8", + 85: "0.85", + 90: "0.9", + 95: "0.95", + 100: "1" + }, + order: { + first: "-9999", + last: "9999", + none: "0", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + 10: "10", + 11: "11", + 12: "12" + }, + outlineColor: ({ theme: e }) => e("colors"), + outlineOffset: { + 0: "0px", + 1: "1px", + 2: "2px", + 4: "4px", + 8: "8px" + }, + outlineWidth: { + 0: "0px", + 1: "1px", + 2: "2px", + 4: "4px", + 8: "8px" + }, + padding: ({ theme: e }) => e("spacing"), + placeholderColor: ({ theme: e }) => e("colors"), + placeholderOpacity: ({ theme: e }) => e("opacity"), + ringColor: ({ theme: e }) => ({ + DEFAULT: e("colors.blue.500", "#3b82f6"), + ...e("colors") + }), + ringOffsetColor: ({ theme: e }) => e("colors"), + ringOffsetWidth: { + 0: "0px", + 1: "1px", + 2: "2px", + 4: "4px", + 8: "8px" + }, + ringOpacity: ({ theme: e }) => ({ + DEFAULT: "0.5", + ...e("opacity") + }), + ringWidth: { + DEFAULT: "3px", + 0: "0px", + 1: "1px", + 2: "2px", + 4: "4px", + 8: "8px" + }, + rotate: { + 0: "0deg", + 1: "1deg", + 2: "2deg", + 3: "3deg", + 6: "6deg", + 12: "12deg", + 45: "45deg", + 90: "90deg", + 180: "180deg" + }, + saturate: { + 0: "0", + 50: ".5", + 100: "1", + 150: "1.5", + 200: "2" + }, + scale: { + 0: "0", + 50: ".5", + 75: ".75", + 90: ".9", + 95: ".95", + 100: "1", + 105: "1.05", + 110: "1.1", + 125: "1.25", + 150: "1.5" + }, + screens: { + sm: "640px", + md: "768px", + lg: "1024px", + xl: "1280px", + "2xl": "1536px" + }, + scrollMargin: ({ theme: e }) => ({ + ...e("spacing") + }), + scrollPadding: ({ theme: e }) => e("spacing"), + sepia: { + 0: "0", + DEFAULT: "100%" + }, + skew: { + 0: "0deg", + 1: "1deg", + 2: "2deg", + 3: "3deg", + 6: "6deg", + 12: "12deg" + }, + space: ({ theme: e }) => ({ + ...e("spacing") + }), + spacing: { + px: "1px", + 0: "0px", + 0.5: "0.125rem", + 1: "0.25rem", + 1.5: "0.375rem", + 2: "0.5rem", + 2.5: "0.625rem", + 3: "0.75rem", + 3.5: "0.875rem", + 4: "1rem", + 5: "1.25rem", + 6: "1.5rem", + 7: "1.75rem", + 8: "2rem", + 9: "2.25rem", + 10: "2.5rem", + 11: "2.75rem", + 12: "3rem", + 14: "3.5rem", + 16: "4rem", + 20: "5rem", + 24: "6rem", + 28: "7rem", + 32: "8rem", + 36: "9rem", + 40: "10rem", + 44: "11rem", + 48: "12rem", + 52: "13rem", + 56: "14rem", + 60: "15rem", + 64: "16rem", + 72: "18rem", + 80: "20rem", + 96: "24rem" + }, + stroke: ({ theme: e }) => ({ + none: "none", + ...e("colors") + }), + strokeWidth: { + 0: "0", + 1: "1", + 2: "2" + }, + supports: {}, + data: {}, + textColor: ({ theme: e }) => e("colors"), + textDecorationColor: ({ theme: e }) => e("colors"), + textDecorationThickness: { + auto: "auto", + "from-font": "from-font", + 0: "0px", + 1: "1px", + 2: "2px", + 4: "4px", + 8: "8px" + }, + textIndent: ({ theme: e }) => ({ + ...e("spacing") + }), + textOpacity: ({ theme: e }) => e("opacity"), + textUnderlineOffset: { + auto: "auto", + 0: "0px", + 1: "1px", + 2: "2px", + 4: "4px", + 8: "8px" + }, + transformOrigin: { + center: "center", + top: "top", + "top-right": "top right", + right: "right", + "bottom-right": "bottom right", + bottom: "bottom", + "bottom-left": "bottom left", + left: "left", + "top-left": "top left" + }, + transitionDelay: { + 0: "0s", + 75: "75ms", + 100: "100ms", + 150: "150ms", + 200: "200ms", + 300: "300ms", + 500: "500ms", + 700: "700ms", + 1e3: "1000ms" + }, + transitionDuration: { + DEFAULT: "150ms", + 0: "0s", + 75: "75ms", + 100: "100ms", + 150: "150ms", + 200: "200ms", + 300: "300ms", + 500: "500ms", + 700: "700ms", + 1e3: "1000ms" + }, + transitionProperty: { + none: "none", + all: "all", + DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter", + colors: "color, background-color, border-color, text-decoration-color, fill, stroke", + opacity: "opacity", + shadow: "box-shadow", + transform: "transform" + }, + transitionTimingFunction: { + DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)", + linear: "linear", + in: "cubic-bezier(0.4, 0, 1, 1)", + out: "cubic-bezier(0, 0, 0.2, 1)", + "in-out": "cubic-bezier(0.4, 0, 0.2, 1)" + }, + translate: ({ theme: e }) => ({ + ...e("spacing"), + "1/2": "50%", + "1/3": "33.333333%", + "2/3": "66.666667%", + "1/4": "25%", + "2/4": "50%", + "3/4": "75%", + full: "100%" + }), + size: ({ theme: e }) => ({ + auto: "auto", + ...e("spacing"), + "1/2": "50%", + "1/3": "33.333333%", + "2/3": "66.666667%", + "1/4": "25%", + "2/4": "50%", + "3/4": "75%", + "1/5": "20%", + "2/5": "40%", + "3/5": "60%", + "4/5": "80%", + "1/6": "16.666667%", + "2/6": "33.333333%", + "3/6": "50%", + "4/6": "66.666667%", + "5/6": "83.333333%", + "1/12": "8.333333%", + "2/12": "16.666667%", + "3/12": "25%", + "4/12": "33.333333%", + "5/12": "41.666667%", + "6/12": "50%", + "7/12": "58.333333%", + "8/12": "66.666667%", + "9/12": "75%", + "10/12": "83.333333%", + "11/12": "91.666667%", + full: "100%", + min: "min-content", + max: "max-content", + fit: "fit-content" + }), + width: ({ theme: e }) => ({ + auto: "auto", + ...e("spacing"), + "1/2": "50%", + "1/3": "33.333333%", + "2/3": "66.666667%", + "1/4": "25%", + "2/4": "50%", + "3/4": "75%", + "1/5": "20%", + "2/5": "40%", + "3/5": "60%", + "4/5": "80%", + "1/6": "16.666667%", + "2/6": "33.333333%", + "3/6": "50%", + "4/6": "66.666667%", + "5/6": "83.333333%", + "1/12": "8.333333%", + "2/12": "16.666667%", + "3/12": "25%", + "4/12": "33.333333%", + "5/12": "41.666667%", + "6/12": "50%", + "7/12": "58.333333%", + "8/12": "66.666667%", + "9/12": "75%", + "10/12": "83.333333%", + "11/12": "91.666667%", + full: "100%", + screen: "100vw", + svw: "100svw", + lvw: "100lvw", + dvw: "100dvw", + min: "min-content", + max: "max-content", + fit: "fit-content" + }), + willChange: { + auto: "auto", + scroll: "scroll-position", + contents: "contents", + transform: "transform" + }, + zIndex: { + auto: "auto", + 0: "0", + 10: "10", + 20: "20", + 30: "30", + 40: "40", + 50: "50" + } + }, + plugins: [] + }), ko; +} +var hr; +function gi() { + return hr || (hr = 1, function(e) { + Object.defineProperty(e, "__esModule", { + value: !0 + }), Object.defineProperty(e, "default", { + enumerable: !0, + get: function() { + return a; + } + }); + const t = mi(), n = /* @__PURE__ */ o(vi()); + function o(r) { + return r && r.__esModule ? r : { + default: r + }; + } + const a = (0, t.cloneDeep)(n.default.theme); + }($o)), $o; +} +var Oo, yr; +function hi() { + if (yr) return Oo; + yr = 1; + let e = gi(); + return Oo = (e.__esModule ? e : { default: e }).default, Oo; +} +var Ao = {}, Eo = {}, On = { exports: {} }, br; +function yi() { + if (br) return On.exports; + br = 1; + var e = String, t = function() { + return { isColorSupported: !1, reset: e, bold: e, dim: e, italic: e, underline: e, inverse: e, hidden: e, strikethrough: e, black: e, red: e, green: e, yellow: e, blue: e, magenta: e, cyan: e, white: e, gray: e, bgBlack: e, bgRed: e, bgGreen: e, bgYellow: e, bgBlue: e, bgMagenta: e, bgCyan: e, bgWhite: e, blackBright: e, redBright: e, greenBright: e, yellowBright: e, blueBright: e, magentaBright: e, cyanBright: e, whiteBright: e, bgBlackBright: e, bgRedBright: e, bgGreenBright: e, bgYellowBright: e, bgBlueBright: e, bgMagentaBright: e, bgCyanBright: e, bgWhiteBright: e }; + }; + return On.exports = t(), On.exports.createColors = t, On.exports; +} +var wr; +function bi() { + return wr || (wr = 1, function(e) { + Object.defineProperty(e, "__esModule", { + value: !0 + }); + function t(u, d) { + for (var c in d) Object.defineProperty(u, c, { + enumerable: !0, + get: d[c] + }); + } + t(e, { + dim: function() { + return l; + }, + default: function() { + return i; + } + }); + const n = /* @__PURE__ */ o(/* @__PURE__ */ yi()); + function o(u) { + return u && u.__esModule ? u : { + default: u + }; + } + let a = /* @__PURE__ */ new Set(); + function r(u, d, c) { + typeof process < "u" && process.env.JEST_WORKER_ID || c && a.has(c) || (c && a.add(c), console.warn(""), d.forEach((p) => console.warn(u, "-", p))); + } + function l(u) { + return n.default.dim(u); + } + const i = { + info(u, d) { + r(n.default.bold(n.default.cyan("info")), ...Array.isArray(u) ? [ + u + ] : [ + d, + u + ]); + }, + warn(u, d) { + r(n.default.bold(n.default.yellow("warn")), ...Array.isArray(u) ? [ + u + ] : [ + d, + u + ]); + }, + risk(u, d) { + r(n.default.bold(n.default.magenta("risk")), ...Array.isArray(u) ? [ + u + ] : [ + d, + u + ]); + } + }; + }(Eo)), Eo; +} +var xr; +function wi() { + return xr || (xr = 1, function(e) { + Object.defineProperty(e, "__esModule", { + value: !0 + }), Object.defineProperty(e, "default", { + enumerable: !0, + get: function() { + return a; } + }); + const t = /* @__PURE__ */ n(bi()); + function n(r) { + return r && r.__esModule ? r : { + default: r + }; + } + function o({ version: r, from: l, to: i }) { + t.default.warn(`${l}-color-renamed`, [ + `As of Tailwind CSS ${r}, \`${l}\` has been renamed to \`${i}\`.`, + "Update your configuration file to silence this warning." + ]); } + const a = { + inherit: "inherit", + current: "currentColor", + transparent: "transparent", + black: "#000", + white: "#fff", + slate: { + 50: "#f8fafc", + 100: "#f1f5f9", + 200: "#e2e8f0", + 300: "#cbd5e1", + 400: "#94a3b8", + 500: "#64748b", + 600: "#475569", + 700: "#334155", + 800: "#1e293b", + 900: "#0f172a", + 950: "#020617" + }, + gray: { + 50: "#f9fafb", + 100: "#f3f4f6", + 200: "#e5e7eb", + 300: "#d1d5db", + 400: "#9ca3af", + 500: "#6b7280", + 600: "#4b5563", + 700: "#374151", + 800: "#1f2937", + 900: "#111827", + 950: "#030712" + }, + zinc: { + 50: "#fafafa", + 100: "#f4f4f5", + 200: "#e4e4e7", + 300: "#d4d4d8", + 400: "#a1a1aa", + 500: "#71717a", + 600: "#52525b", + 700: "#3f3f46", + 800: "#27272a", + 900: "#18181b", + 950: "#09090b" + }, + neutral: { + 50: "#fafafa", + 100: "#f5f5f5", + 200: "#e5e5e5", + 300: "#d4d4d4", + 400: "#a3a3a3", + 500: "#737373", + 600: "#525252", + 700: "#404040", + 800: "#262626", + 900: "#171717", + 950: "#0a0a0a" + }, + stone: { + 50: "#fafaf9", + 100: "#f5f5f4", + 200: "#e7e5e4", + 300: "#d6d3d1", + 400: "#a8a29e", + 500: "#78716c", + 600: "#57534e", + 700: "#44403c", + 800: "#292524", + 900: "#1c1917", + 950: "#0c0a09" + }, + red: { + 50: "#fef2f2", + 100: "#fee2e2", + 200: "#fecaca", + 300: "#fca5a5", + 400: "#f87171", + 500: "#ef4444", + 600: "#dc2626", + 700: "#b91c1c", + 800: "#991b1b", + 900: "#7f1d1d", + 950: "#450a0a" + }, + orange: { + 50: "#fff7ed", + 100: "#ffedd5", + 200: "#fed7aa", + 300: "#fdba74", + 400: "#fb923c", + 500: "#f97316", + 600: "#ea580c", + 700: "#c2410c", + 800: "#9a3412", + 900: "#7c2d12", + 950: "#431407" + }, + amber: { + 50: "#fffbeb", + 100: "#fef3c7", + 200: "#fde68a", + 300: "#fcd34d", + 400: "#fbbf24", + 500: "#f59e0b", + 600: "#d97706", + 700: "#b45309", + 800: "#92400e", + 900: "#78350f", + 950: "#451a03" + }, + yellow: { + 50: "#fefce8", + 100: "#fef9c3", + 200: "#fef08a", + 300: "#fde047", + 400: "#facc15", + 500: "#eab308", + 600: "#ca8a04", + 700: "#a16207", + 800: "#854d0e", + 900: "#713f12", + 950: "#422006" + }, + lime: { + 50: "#f7fee7", + 100: "#ecfccb", + 200: "#d9f99d", + 300: "#bef264", + 400: "#a3e635", + 500: "#84cc16", + 600: "#65a30d", + 700: "#4d7c0f", + 800: "#3f6212", + 900: "#365314", + 950: "#1a2e05" + }, + green: { + 50: "#f0fdf4", + 100: "#dcfce7", + 200: "#bbf7d0", + 300: "#86efac", + 400: "#4ade80", + 500: "#22c55e", + 600: "#16a34a", + 700: "#15803d", + 800: "#166534", + 900: "#14532d", + 950: "#052e16" + }, + emerald: { + 50: "#ecfdf5", + 100: "#d1fae5", + 200: "#a7f3d0", + 300: "#6ee7b7", + 400: "#34d399", + 500: "#10b981", + 600: "#059669", + 700: "#047857", + 800: "#065f46", + 900: "#064e3b", + 950: "#022c22" + }, + teal: { + 50: "#f0fdfa", + 100: "#ccfbf1", + 200: "#99f6e4", + 300: "#5eead4", + 400: "#2dd4bf", + 500: "#14b8a6", + 600: "#0d9488", + 700: "#0f766e", + 800: "#115e59", + 900: "#134e4a", + 950: "#042f2e" + }, + cyan: { + 50: "#ecfeff", + 100: "#cffafe", + 200: "#a5f3fc", + 300: "#67e8f9", + 400: "#22d3ee", + 500: "#06b6d4", + 600: "#0891b2", + 700: "#0e7490", + 800: "#155e75", + 900: "#164e63", + 950: "#083344" + }, + sky: { + 50: "#f0f9ff", + 100: "#e0f2fe", + 200: "#bae6fd", + 300: "#7dd3fc", + 400: "#38bdf8", + 500: "#0ea5e9", + 600: "#0284c7", + 700: "#0369a1", + 800: "#075985", + 900: "#0c4a6e", + 950: "#082f49" + }, + blue: { + 50: "#eff6ff", + 100: "#dbeafe", + 200: "#bfdbfe", + 300: "#93c5fd", + 400: "#60a5fa", + 500: "#3b82f6", + 600: "#2563eb", + 700: "#1d4ed8", + 800: "#1e40af", + 900: "#1e3a8a", + 950: "#172554" + }, + indigo: { + 50: "#eef2ff", + 100: "#e0e7ff", + 200: "#c7d2fe", + 300: "#a5b4fc", + 400: "#818cf8", + 500: "#6366f1", + 600: "#4f46e5", + 700: "#4338ca", + 800: "#3730a3", + 900: "#312e81", + 950: "#1e1b4b" + }, + violet: { + 50: "#f5f3ff", + 100: "#ede9fe", + 200: "#ddd6fe", + 300: "#c4b5fd", + 400: "#a78bfa", + 500: "#8b5cf6", + 600: "#7c3aed", + 700: "#6d28d9", + 800: "#5b21b6", + 900: "#4c1d95", + 950: "#2e1065" + }, + purple: { + 50: "#faf5ff", + 100: "#f3e8ff", + 200: "#e9d5ff", + 300: "#d8b4fe", + 400: "#c084fc", + 500: "#a855f7", + 600: "#9333ea", + 700: "#7e22ce", + 800: "#6b21a8", + 900: "#581c87", + 950: "#3b0764" + }, + fuchsia: { + 50: "#fdf4ff", + 100: "#fae8ff", + 200: "#f5d0fe", + 300: "#f0abfc", + 400: "#e879f9", + 500: "#d946ef", + 600: "#c026d3", + 700: "#a21caf", + 800: "#86198f", + 900: "#701a75", + 950: "#4a044e" + }, + pink: { + 50: "#fdf2f8", + 100: "#fce7f3", + 200: "#fbcfe8", + 300: "#f9a8d4", + 400: "#f472b6", + 500: "#ec4899", + 600: "#db2777", + 700: "#be185d", + 800: "#9d174d", + 900: "#831843", + 950: "#500724" + }, + rose: { + 50: "#fff1f2", + 100: "#ffe4e6", + 200: "#fecdd3", + 300: "#fda4af", + 400: "#fb7185", + 500: "#f43f5e", + 600: "#e11d48", + 700: "#be123c", + 800: "#9f1239", + 900: "#881337", + 950: "#4c0519" + }, + get lightBlue() { + return o({ + version: "v2.2", + from: "lightBlue", + to: "sky" + }), this.sky; + }, + get warmGray() { + return o({ + version: "v3.0", + from: "warmGray", + to: "stone" + }), this.stone; + }, + get trueGray() { + return o({ + version: "v3.0", + from: "trueGray", + to: "neutral" + }), this.neutral; + }, + get coolGray() { + return o({ + version: "v3.0", + from: "coolGray", + to: "gray" + }), this.gray; + }, + get blueGray() { + return o({ + version: "v3.0", + from: "blueGray", + to: "slate" + }), this.slate; + } + }; + }(Ao)), Ao; +} +var To, _r; +function xi() { + if (_r) return To; + _r = 1; + let e = wi(); + return To = (e.__esModule ? e : { default: e }).default, To; +} +var Do, Cr; +function _i() { + if (Cr) return Do; + Cr = 1; + const e = ci(), t = _s(), n = hi(), o = xi(), [a, { lineHeight: r }] = n.fontSize.base, { spacing: l, borderWidth: i, borderRadius: u } = n; + function d(p, m) { + return p.replace("", `var(${m}, 1)`); } -); -const xi = /* @__PURE__ */ rs(wi), P0 = { - darkMode: ["class"], - safelist: ["dark"], - theme: { - extend: { - colors: { - border: "hsl(var(--border))", - input: "hsl(var(--input))", - ring: "hsl(var(--ring))", - background: "hsl(var(--background))", - foreground: "hsl(var(--foreground))", - primary: { - DEFAULT: "hsl(var(--primary))", - foreground: "hsl(var(--primary-foreground))" + return Do = t.withOptions(function(p = { strategy: void 0 }) { + return function({ addBase: m, addComponents: f, theme: v }) { + function g($, O) { + let k = v($); + return !k || k.includes("var(") ? O : k.replace("", "1"); + } + const b = p.strategy === void 0 ? ["base", "class"] : [p.strategy], w = [ + { + base: [ + "[type='text']", + "input:where(:not([type]))", + "[type='email']", + "[type='url']", + "[type='password']", + "[type='number']", + "[type='date']", + "[type='datetime-local']", + "[type='month']", + "[type='search']", + "[type='tel']", + "[type='time']", + "[type='week']", + "[multiple]", + "textarea", + "select" + ], + class: [".form-input", ".form-textarea", ".form-select", ".form-multiselect"], + styles: { + appearance: "none", + "background-color": "#fff", + "border-color": d( + v("colors.gray.500", o.gray[500]), + "--tw-border-opacity" + ), + "border-width": i.DEFAULT, + "border-radius": u.none, + "padding-top": l[2], + "padding-right": l[3], + "padding-bottom": l[2], + "padding-left": l[3], + "font-size": a, + "line-height": r, + "--tw-shadow": "0 0 #0000", + "&:focus": { + outline: "2px solid transparent", + "outline-offset": "2px", + "--tw-ring-inset": "var(--tw-empty,/*!*/ /*!*/)", + "--tw-ring-offset-width": "0px", + "--tw-ring-offset-color": "#fff", + "--tw-ring-color": d( + v("colors.blue.600", o.blue[600]), + "--tw-ring-opacity" + ), + "--tw-ring-offset-shadow": "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)", + "--tw-ring-shadow": "var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)", + "box-shadow": "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)", + "border-color": d( + v("colors.blue.600", o.blue[600]), + "--tw-border-opacity" + ) + } + } }, - secondary: { - DEFAULT: "hsl(var(--secondary))", - foreground: "hsl(var(--secondary-foreground))" + { + base: ["input::placeholder", "textarea::placeholder"], + class: [".form-input::placeholder", ".form-textarea::placeholder"], + styles: { + color: d(v("colors.gray.500", o.gray[500]), "--tw-text-opacity"), + opacity: "1" + } }, - destructive: { - DEFAULT: "hsl(var(--destructive))", - foreground: "hsl(var(--destructive-foreground))" + { + base: ["::-webkit-datetime-edit-fields-wrapper"], + class: [".form-input::-webkit-datetime-edit-fields-wrapper"], + styles: { + padding: "0" + } }, - muted: { - DEFAULT: "hsl(var(--muted))", - foreground: "hsl(var(--muted-foreground))" + { + // Unfortunate hack until https://bugs.webkit.org/show_bug.cgi?id=198959 is fixed. + // This sucks because users can't change line-height with a utility on date inputs now. + // Reference: https://github.com/twbs/bootstrap/pull/31993 + base: ["::-webkit-date-and-time-value"], + class: [".form-input::-webkit-date-and-time-value"], + styles: { + "min-height": "1.5em" + } }, - accent: { - DEFAULT: "hsl(var(--accent))", - foreground: "hsl(var(--accent-foreground))" + { + // In Safari on iOS date and time inputs are centered instead of left-aligned and can't be + // changed with `text-align` utilities on the input by default. Resetting this to `inherit` + // makes them left-aligned by default and makes it possible to override the alignment with + // utility classes without using an arbitrary variant to target the pseudo-elements. + base: ["::-webkit-date-and-time-value"], + class: [".form-input::-webkit-date-and-time-value"], + styles: { + "text-align": "inherit" + } }, - popover: { - DEFAULT: "hsl(var(--popover))", - foreground: "hsl(var(--popover-foreground))" + { + // In Safari on macOS date time inputs that are set to `display: block` have unexpected + // extra bottom spacing. This can be corrected by setting the `::-webkit-datetime-edit` + // pseudo-element to `display: inline-flex`, instead of the browser default of + // `display: inline-block`. + base: ["::-webkit-datetime-edit"], + class: [".form-input::-webkit-datetime-edit"], + styles: { + display: "inline-flex" + } }, - card: { - DEFAULT: "hsl(var(--card))", - foreground: "hsl(var(--card-foreground))" - } - }, - borderRadius: { - xl: "calc(var(--radius) + 4px)", - lg: "var(--radius)", - md: "calc(var(--radius) - 2px)", - sm: "calc(var(--radius) - 4px)" - }, - keyframes: { - "accordion-down": { - from: { height: 0 }, - to: { height: "var(--radix-accordion-content-height)" } + { + // In Safari on macOS date time inputs are 4px taller than normal inputs + // This is because there is extra padding on the datetime-edit and datetime-edit-{part}-field pseudo elements + // See https://github.com/tailwindlabs/tailwindcss-forms/issues/95 + base: [ + "::-webkit-datetime-edit", + "::-webkit-datetime-edit-year-field", + "::-webkit-datetime-edit-month-field", + "::-webkit-datetime-edit-day-field", + "::-webkit-datetime-edit-hour-field", + "::-webkit-datetime-edit-minute-field", + "::-webkit-datetime-edit-second-field", + "::-webkit-datetime-edit-millisecond-field", + "::-webkit-datetime-edit-meridiem-field" + ], + class: [ + ".form-input::-webkit-datetime-edit", + ".form-input::-webkit-datetime-edit-year-field", + ".form-input::-webkit-datetime-edit-month-field", + ".form-input::-webkit-datetime-edit-day-field", + ".form-input::-webkit-datetime-edit-hour-field", + ".form-input::-webkit-datetime-edit-minute-field", + ".form-input::-webkit-datetime-edit-second-field", + ".form-input::-webkit-datetime-edit-millisecond-field", + ".form-input::-webkit-datetime-edit-meridiem-field" + ], + styles: { + "padding-top": 0, + "padding-bottom": 0 + } }, - "accordion-up": { - from: { height: "var(--radix-accordion-content-height)" }, - to: { height: 0 } + { + base: ["select"], + class: [".form-select"], + styles: { + "background-image": `url("${e( + `` + )}")`, + "background-position": `right ${l[2]} center`, + "background-repeat": "no-repeat", + "background-size": "1.5em 1.5em", + "padding-right": l[10], + "print-color-adjust": "exact" + } }, - "collapsible-down": { - from: { height: 0 }, - to: { height: "var(--radix-collapsible-content-height)" } + { + base: ["[multiple]", '[size]:where(select:not([size="1"]))'], + class: ['.form-select:where([size]:not([size="1"]))'], + styles: { + "background-image": "initial", + "background-position": "initial", + "background-repeat": "unset", + "background-size": "initial", + "padding-right": l[3], + "print-color-adjust": "unset" + } }, - "collapsible-up": { - from: { height: "var(--radix-collapsible-content-height)" }, - to: { height: 0 } - } - }, - animation: { - "accordion-down": "accordion-down 0.2s ease-out", - "accordion-up": "accordion-up 0.2s ease-out", - "collapsible-down": "collapsible-down 0.2s ease-in-out", - "collapsible-up": "collapsible-up 0.2s ease-in-out" - } - } - }, - plugins: [ - xi, - yi({ - strategy: "class" - }) - ] -}, _i = ["top", "right", "bottom", "left"], gt = Math.min, Me = Math.max, Nn = Math.round, An = Math.floor, Xe = (e) => ({ - x: e, - y: e -}), Ci = { - left: "right", - right: "left", - bottom: "top", + { + base: ["[type='checkbox']", "[type='radio']"], + class: [".form-checkbox", ".form-radio"], + styles: { + appearance: "none", + padding: "0", + "print-color-adjust": "exact", + display: "inline-block", + "vertical-align": "middle", + "background-origin": "border-box", + "user-select": "none", + "flex-shrink": "0", + height: l[4], + width: l[4], + color: d(v("colors.blue.600", o.blue[600]), "--tw-text-opacity"), + "background-color": "#fff", + "border-color": d( + v("colors.gray.500", o.gray[500]), + "--tw-border-opacity" + ), + "border-width": i.DEFAULT, + "--tw-shadow": "0 0 #0000" + } + }, + { + base: ["[type='checkbox']"], + class: [".form-checkbox"], + styles: { + "border-radius": u.none + } + }, + { + base: ["[type='radio']"], + class: [".form-radio"], + styles: { + "border-radius": "100%" + } + }, + { + base: ["[type='checkbox']:focus", "[type='radio']:focus"], + class: [".form-checkbox:focus", ".form-radio:focus"], + styles: { + outline: "2px solid transparent", + "outline-offset": "2px", + "--tw-ring-inset": "var(--tw-empty,/*!*/ /*!*/)", + "--tw-ring-offset-width": "2px", + "--tw-ring-offset-color": "#fff", + "--tw-ring-color": d( + v("colors.blue.600", o.blue[600]), + "--tw-ring-opacity" + ), + "--tw-ring-offset-shadow": "var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)", + "--tw-ring-shadow": "var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)", + "box-shadow": "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)" + } + }, + { + base: ["[type='checkbox']:checked", "[type='radio']:checked"], + class: [".form-checkbox:checked", ".form-radio:checked"], + styles: { + "border-color": "transparent", + "background-color": "currentColor", + "background-size": "100% 100%", + "background-position": "center", + "background-repeat": "no-repeat" + } + }, + { + base: ["[type='checkbox']:checked"], + class: [".form-checkbox:checked"], + styles: { + "background-image": `url("${e( + '' + )}")`, + "@media (forced-colors: active) ": { + appearance: "auto" + } + } + }, + { + base: ["[type='radio']:checked"], + class: [".form-radio:checked"], + styles: { + "background-image": `url("${e( + '' + )}")`, + "@media (forced-colors: active) ": { + appearance: "auto" + } + } + }, + { + base: [ + "[type='checkbox']:checked:hover", + "[type='checkbox']:checked:focus", + "[type='radio']:checked:hover", + "[type='radio']:checked:focus" + ], + class: [ + ".form-checkbox:checked:hover", + ".form-checkbox:checked:focus", + ".form-radio:checked:hover", + ".form-radio:checked:focus" + ], + styles: { + "border-color": "transparent", + "background-color": "currentColor" + } + }, + { + base: ["[type='checkbox']:indeterminate"], + class: [".form-checkbox:indeterminate"], + styles: { + "background-image": `url("${e( + '' + )}")`, + "border-color": "transparent", + "background-color": "currentColor", + "background-size": "100% 100%", + "background-position": "center", + "background-repeat": "no-repeat", + "@media (forced-colors: active) ": { + appearance: "auto" + } + } + }, + { + base: ["[type='checkbox']:indeterminate:hover", "[type='checkbox']:indeterminate:focus"], + class: [".form-checkbox:indeterminate:hover", ".form-checkbox:indeterminate:focus"], + styles: { + "border-color": "transparent", + "background-color": "currentColor" + } + }, + { + base: ["[type='file']"], + class: null, + styles: { + background: "unset", + "border-color": "inherit", + "border-width": "0", + "border-radius": "0", + padding: "0", + "font-size": "unset", + "line-height": "inherit" + } + }, + { + base: ["[type='file']:focus"], + class: null, + styles: { + outline: ["1px solid ButtonText", "1px auto -webkit-focus-ring-color"] + } + } + ], B = ($) => w.map((O) => O[$] === null ? null : { [O[$]]: O.styles }).filter(Boolean); + b.includes("base") && m(B("base")), b.includes("class") && f(B("class")); + }; + }), Do; +} +var Ci = _i(); +const Bi = /* @__PURE__ */ xs(Ci); +var Po, Br; +function $i() { + if (Br) return Po; + Br = 1; + const e = _s(); + function t(n) { + return Object.fromEntries( + Object.entries(n).filter(([o]) => o !== "DEFAULT") + ); + } + return Po = e( + ({ addUtilities: n, matchUtilities: o, theme: a }) => { + n({ + "@keyframes enter": a("keyframes.enter"), + "@keyframes exit": a("keyframes.exit"), + ".animate-in": { + animationName: "enter", + animationDuration: a("animationDuration.DEFAULT"), + "--tw-enter-opacity": "initial", + "--tw-enter-scale": "initial", + "--tw-enter-rotate": "initial", + "--tw-enter-translate-x": "initial", + "--tw-enter-translate-y": "initial" + }, + ".animate-out": { + animationName: "exit", + animationDuration: a("animationDuration.DEFAULT"), + "--tw-exit-opacity": "initial", + "--tw-exit-scale": "initial", + "--tw-exit-rotate": "initial", + "--tw-exit-translate-x": "initial", + "--tw-exit-translate-y": "initial" + } + }), o( + { + "fade-in": (r) => ({ "--tw-enter-opacity": r }), + "fade-out": (r) => ({ "--tw-exit-opacity": r }) + }, + { values: a("animationOpacity") } + ), o( + { + "zoom-in": (r) => ({ "--tw-enter-scale": r }), + "zoom-out": (r) => ({ "--tw-exit-scale": r }) + }, + { values: a("animationScale") } + ), o( + { + "spin-in": (r) => ({ "--tw-enter-rotate": r }), + "spin-out": (r) => ({ "--tw-exit-rotate": r }) + }, + { values: a("animationRotate") } + ), o( + { + "slide-in-from-top": (r) => ({ + "--tw-enter-translate-y": `-${r}` + }), + "slide-in-from-bottom": (r) => ({ + "--tw-enter-translate-y": r + }), + "slide-in-from-left": (r) => ({ + "--tw-enter-translate-x": `-${r}` + }), + "slide-in-from-right": (r) => ({ + "--tw-enter-translate-x": r + }), + "slide-out-to-top": (r) => ({ + "--tw-exit-translate-y": `-${r}` + }), + "slide-out-to-bottom": (r) => ({ + "--tw-exit-translate-y": r + }), + "slide-out-to-left": (r) => ({ + "--tw-exit-translate-x": `-${r}` + }), + "slide-out-to-right": (r) => ({ + "--tw-exit-translate-x": r + }) + }, + { values: a("animationTranslate") } + ), o( + { duration: (r) => ({ animationDuration: r }) }, + { values: t(a("animationDuration")) } + ), o( + { delay: (r) => ({ animationDelay: r }) }, + { values: a("animationDelay") } + ), o( + { ease: (r) => ({ animationTimingFunction: r }) }, + { values: t(a("animationTimingFunction")) } + ), n({ + ".running": { animationPlayState: "running" }, + ".paused": { animationPlayState: "paused" } + }), o( + { "fill-mode": (r) => ({ animationFillMode: r }) }, + { values: a("animationFillMode") } + ), o( + { direction: (r) => ({ animationDirection: r }) }, + { values: a("animationDirection") } + ), o( + { repeat: (r) => ({ animationIterationCount: r }) }, + { values: a("animationRepeat") } + ); + }, + { + theme: { + extend: { + animationDelay: ({ theme: n }) => ({ + ...n("transitionDelay") + }), + animationDuration: ({ theme: n }) => ({ + 0: "0ms", + ...n("transitionDuration") + }), + animationTimingFunction: ({ theme: n }) => ({ + ...n("transitionTimingFunction") + }), + animationFillMode: { + none: "none", + forwards: "forwards", + backwards: "backwards", + both: "both" + }, + animationDirection: { + normal: "normal", + reverse: "reverse", + alternate: "alternate", + "alternate-reverse": "alternate-reverse" + }, + animationOpacity: ({ theme: n }) => ({ + DEFAULT: 0, + ...n("opacity") + }), + animationTranslate: ({ theme: n }) => ({ + DEFAULT: "100%", + ...n("translate") + }), + animationScale: ({ theme: n }) => ({ + DEFAULT: 0, + ...n("scale") + }), + animationRotate: ({ theme: n }) => ({ + DEFAULT: "30deg", + ...n("rotate") + }), + animationRepeat: { + 0: "0", + 1: "1", + infinite: "infinite" + }, + keyframes: { + enter: { + from: { + opacity: "var(--tw-enter-opacity, 1)", + transform: "translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))" + } + }, + exit: { + to: { + opacity: "var(--tw-exit-opacity, 1)", + transform: "translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))" + } + } + } + } + } + } + ), Po; +} +var Si = $i(); +const ki = /* @__PURE__ */ xs(Si), Lh = { + darkMode: ["class"], + safelist: ["dark"], + theme: { + extend: { + colors: { + border: "hsl(var(--border))", + input: "hsl(var(--input))", + ring: "hsl(var(--ring))", + background: "hsl(var(--background))", + foreground: "hsl(var(--foreground))", + primary: { + DEFAULT: "hsl(var(--primary))", + foreground: "hsl(var(--primary-foreground))" + }, + secondary: { + DEFAULT: "hsl(var(--secondary))", + foreground: "hsl(var(--secondary-foreground))" + }, + destructive: { + DEFAULT: "hsl(var(--destructive))", + foreground: "hsl(var(--destructive-foreground))" + }, + muted: { + DEFAULT: "hsl(var(--muted))", + foreground: "hsl(var(--muted-foreground))" + }, + accent: { + DEFAULT: "hsl(var(--accent))", + foreground: "hsl(var(--accent-foreground))" + }, + popover: { + DEFAULT: "hsl(var(--popover))", + foreground: "hsl(var(--popover-foreground))" + }, + card: { + DEFAULT: "hsl(var(--card))", + foreground: "hsl(var(--card-foreground))" + } + }, + borderRadius: { + xl: "calc(var(--radius) + 4px)", + lg: "var(--radius)", + md: "calc(var(--radius) - 2px)", + sm: "calc(var(--radius) - 4px)" + }, + keyframes: { + "accordion-down": { + from: { height: 0 }, + to: { height: "var(--radix-accordion-content-height)" } + }, + "accordion-up": { + from: { height: "var(--radix-accordion-content-height)" }, + to: { height: 0 } + }, + "collapsible-down": { + from: { height: 0 }, + to: { height: "var(--radix-collapsible-content-height)" } + }, + "collapsible-up": { + from: { height: "var(--radix-collapsible-content-height)" }, + to: { height: 0 } + } + }, + animation: { + "accordion-down": "accordion-down 0.2s ease-out", + "accordion-up": "accordion-up 0.2s ease-out", + "collapsible-down": "collapsible-down 0.2s ease-in-out", + "collapsible-up": "collapsible-up 0.2s ease-in-out" + } + } + }, + plugins: [ + ki, + Bi({ + strategy: "class" + }) + ] +}, Oi = ["top", "right", "bottom", "left"], ft = Math.min, Ie = Math.max, zn = Math.round, An = Math.floor, Ye = (e) => ({ + x: e, + y: e +}), Ai = { + left: "right", + right: "left", + bottom: "top", top: "bottom" -}, Bi = { +}, Ei = { start: "end", end: "start" }; -function Fo(e, t, n) { - return Me(e, gt(t, n)); +function Ko(e, t, n) { + return Ie(e, ft(t, n)); } -function lt(e, t) { +function rt(e, t) { return typeof e == "function" ? e(t) : e; } -function it(e) { +function st(e) { return e.split("-")[0]; } -function Wt(e) { +function Kt(e) { return e.split("-")[1]; } -function ra(e) { +function ua(e) { return e === "x" ? "y" : "x"; } -function sa(e) { +function da(e) { return e === "y" ? "height" : "width"; } -function rt(e) { - return ["top", "bottom"].includes(it(e)) ? "y" : "x"; +function ot(e) { + return ["top", "bottom"].includes(st(e)) ? "y" : "x"; } -function la(e) { - return ra(rt(e)); +function ca(e) { + return ua(ot(e)); } -function $i(e, t, n) { +function Ti(e, t, n) { n === void 0 && (n = !1); - const o = Wt(e), a = la(e), r = sa(a); + const o = Kt(e), a = ca(e), r = da(a); let l = a === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top"; - return t.reference[r] > t.floating[r] && (l = jn(l)), [l, jn(l)]; + return t.reference[r] > t.floating[r] && (l = Nn(l)), [l, Nn(l)]; } -function Si(e) { - const t = jn(e); - return [Vo(e), t, Vo(t)]; +function Di(e) { + const t = Nn(e); + return [Ho(e), t, Ho(t)]; } -function Vo(e) { - return e.replace(/start|end/g, (t) => Bi[t]); +function Ho(e) { + return e.replace(/start|end/g, (t) => Ei[t]); } -function ki(e, t, n) { +function Pi(e, t, n) { const o = ["left", "right"], a = ["right", "left"], r = ["top", "bottom"], l = ["bottom", "top"]; switch (e) { case "top": @@ -2297,15 +2358,15 @@ function ki(e, t, n) { return []; } } -function Oi(e, t, n, o) { - const a = Wt(e); - let r = ki(it(e), n === "start", o); - return a && (r = r.map((l) => l + "-" + a), t && (r = r.concat(r.map(Vo)))), r; +function Ii(e, t, n, o) { + const a = Kt(e); + let r = Pi(st(e), n === "start", o); + return a && (r = r.map((l) => l + "-" + a), t && (r = r.concat(r.map(Ho)))), r; } -function jn(e) { - return e.replace(/left|right|bottom|top/g, (t) => Ci[t]); +function Nn(e) { + return e.replace(/left|right|bottom|top/g, (t) => Ai[t]); } -function Ei(e) { +function Mi(e) { return { top: 0, right: 0, @@ -2314,15 +2375,15 @@ function Ei(e) { ...e }; } -function vs(e) { - return typeof e != "number" ? Ei(e) : { +function Cs(e) { + return typeof e != "number" ? Mi(e) : { top: e, right: e, bottom: e, left: e }; } -function Kn(e) { +function jn(e) { const { x: t, y: n, @@ -2340,12 +2401,12 @@ function Kn(e) { y: n }; } -function ur(e, t, n) { +function $r(e, t, n) { let { reference: o, floating: a } = e; - const r = rt(t), l = la(t), i = sa(l), u = it(t), d = r === "y", c = o.x + o.width / 2 - a.width / 2, p = o.y + o.height / 2 - a.height / 2, m = o[i] / 2 - a[i] / 2; + const r = ot(t), l = ca(t), i = da(l), u = st(t), d = r === "y", c = o.x + o.width / 2 - a.width / 2, p = o.y + o.height / 2 - a.height / 2, m = o[i] / 2 - a[i] / 2; let f; switch (u) { case "top": @@ -2378,7 +2439,7 @@ function ur(e, t, n) { y: o.y }; } - switch (Wt(t)) { + switch (Kt(t)) { case "start": f[l] -= m * (n && d ? -1 : 1); break; @@ -2388,7 +2449,7 @@ function ur(e, t, n) { } return f; } -const Ai = async (e, t, n) => { +const Ri = async (e, t, n) => { const { placement: o = "bottom", strategy: a = "absolute", @@ -2402,7 +2463,7 @@ const Ai = async (e, t, n) => { }), { x: c, y: p - } = ur(d, o, u), m = o, f = {}, v = 0; + } = $r(d, o, u), m = o, f = {}, v = 0; for (let g = 0; g < i.length; g++) { const { name: b, @@ -2410,7 +2471,7 @@ const Ai = async (e, t, n) => { } = i[g], { x: B, y: $, - data: E, + data: O, reset: k } = await w({ x: c, @@ -2430,7 +2491,7 @@ const Ai = async (e, t, n) => { ...f, [b]: { ...f[b], - ...E + ...O } }, k && v <= 50 && (v++, typeof k == "object" && (k.placement && (m = k.placement), k.rects && (d = k.rects === !0 ? await l.getElementRects({ reference: e, @@ -2439,7 +2500,7 @@ const Ai = async (e, t, n) => { }) : k.rects), { x: c, y: p - } = ur(d, m, u)), g = -1); + } = $r(d, m, u)), g = -1); } return { x: c, @@ -2449,7 +2510,7 @@ const Ai = async (e, t, n) => { middlewareData: f }; }; -async function dn(e, t) { +async function sn(e, t) { var n; t === void 0 && (t = {}); const { @@ -2465,7 +2526,7 @@ async function dn(e, t) { elementContext: p = "floating", altBoundary: m = !1, padding: f = 0 - } = lt(t, e), v = vs(f), b = i[m ? p === "floating" ? "reference" : "floating" : p], w = Kn(await r.getClippingRect({ + } = rt(t, e), v = Cs(f), b = i[m ? p === "floating" ? "reference" : "floating" : p], w = jn(await r.getClippingRect({ element: (n = await (r.isElement == null ? void 0 : r.isElement(b))) == null || n ? b : b.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)), boundary: d, rootBoundary: c, @@ -2475,26 +2536,26 @@ async function dn(e, t) { y: a, width: l.floating.width, height: l.floating.height - } : l.reference, $ = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), E = await (r.isElement == null ? void 0 : r.isElement($)) ? await (r.getScale == null ? void 0 : r.getScale($)) || { + } : l.reference, $ = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), O = await (r.isElement == null ? void 0 : r.isElement($)) ? await (r.getScale == null ? void 0 : r.getScale($)) || { x: 1, y: 1 } : { x: 1, y: 1 - }, k = Kn(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({ + }, k = jn(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({ elements: i, rect: B, offsetParent: $, strategy: u }) : B); return { - top: (w.top - k.top + v.top) / E.y, - bottom: (k.bottom - w.bottom + v.bottom) / E.y, - left: (w.left - k.left + v.left) / E.x, - right: (k.right - w.right + v.right) / E.x + top: (w.top - k.top + v.top) / O.y, + bottom: (k.bottom - w.bottom + v.bottom) / O.y, + left: (w.left - k.left + v.left) / O.x, + right: (k.right - w.right + v.right) / O.x }; } -const Ti = (e) => ({ +const Fi = (e) => ({ name: "arrow", options: e, async fn(t) { @@ -2509,29 +2570,29 @@ const Ti = (e) => ({ } = t, { element: d, padding: c = 0 - } = lt(e, t) || {}; + } = rt(e, t) || {}; if (d == null) return {}; - const p = vs(c), m = { + const p = Cs(c), m = { x: n, y: o - }, f = la(a), v = sa(f), g = await l.getDimensions(d), b = f === "y", w = b ? "top" : "left", B = b ? "bottom" : "right", $ = b ? "clientHeight" : "clientWidth", E = r.reference[v] + r.reference[f] - m[f] - r.floating[v], k = m[f] - r.reference[f], P = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d)); - let O = P ? P[$] : 0; - (!O || !await (l.isElement == null ? void 0 : l.isElement(P))) && (O = i.floating[$] || r.floating[v]); - const I = E / 2 - k / 2, V = O / 2 - g[v] / 2 - 1, A = gt(p[w], V), L = gt(p[B], V), F = A, q = O - g[v] - L, G = O / 2 - g[v] / 2 + I, Q = Fo(F, G, q), le = !u.arrow && Wt(a) != null && G !== Q && r.reference[v] / 2 - (G < F ? A : L) - g[v] / 2 < 0, fe = le ? G < F ? G - F : G - q : 0; + }, f = ca(a), v = da(f), g = await l.getDimensions(d), b = f === "y", w = b ? "top" : "left", B = b ? "bottom" : "right", $ = b ? "clientHeight" : "clientWidth", O = r.reference[v] + r.reference[f] - m[f] - r.floating[v], k = m[f] - r.reference[f], P = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(d)); + let A = P ? P[$] : 0; + (!A || !await (l.isElement == null ? void 0 : l.isElement(P))) && (A = i.floating[$] || r.floating[v]); + const I = O / 2 - k / 2, V = A / 2 - g[v] / 2 - 1, E = ft(p[w], V), L = ft(p[B], V), F = E, G = A - g[v] - L, q = A / 2 - g[v] / 2 + I, Z = Ko(F, q, G), se = !u.arrow && Kt(a) != null && q !== Z && r.reference[v] / 2 - (q < F ? E : L) - g[v] / 2 < 0, pe = se ? q < F ? q - F : q - G : 0; return { - [f]: m[f] + fe, + [f]: m[f] + pe, data: { - [f]: Q, - centerOffset: G - Q - fe, - ...le && { - alignmentOffset: fe + [f]: Z, + centerOffset: q - Z - pe, + ...se && { + alignmentOffset: pe } }, - reset: le + reset: se }; } -}), Di = function(e) { +}), Vi = function(e) { return e === void 0 && (e = {}), { name: "flip", options: e, @@ -2552,62 +2613,62 @@ const Ti = (e) => ({ fallbackAxisSideDirection: v = "none", flipAlignment: g = !0, ...b - } = lt(e, t); + } = rt(e, t); if ((n = r.arrow) != null && n.alignmentOffset) return {}; - const w = it(a), B = rt(i), $ = it(i) === i, E = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), k = m || ($ || !g ? [jn(i)] : Si(i)), P = v !== "none"; - !m && P && k.push(...Oi(i, g, v, E)); - const O = [i, ...k], I = await dn(t, b), V = []; - let A = ((o = r.flip) == null ? void 0 : o.overflows) || []; + const w = st(a), B = ot(i), $ = st(i) === i, O = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), k = m || ($ || !g ? [Nn(i)] : Di(i)), P = v !== "none"; + !m && P && k.push(...Ii(i, g, v, O)); + const A = [i, ...k], I = await sn(t, b), V = []; + let E = ((o = r.flip) == null ? void 0 : o.overflows) || []; if (c && V.push(I[w]), p) { - const Q = $i(a, l, E); - V.push(I[Q[0]], I[Q[1]]); + const Z = Ti(a, l, O); + V.push(I[Z[0]], I[Z[1]]); } - if (A = [...A, { + if (E = [...E, { placement: a, overflows: V - }], !V.every((Q) => Q <= 0)) { + }], !V.every((Z) => Z <= 0)) { var L, F; - const Q = (((L = r.flip) == null ? void 0 : L.index) || 0) + 1, le = O[Q]; - if (le) { - var q; - const ue = p === "alignment" ? B !== rt(le) : !1, j = ((q = A[0]) == null ? void 0 : q.overflows[0]) > 0; - if (!ue || j) + const Z = (((L = r.flip) == null ? void 0 : L.index) || 0) + 1, se = A[Z]; + if (se) { + var G; + const ie = p === "alignment" ? B !== ot(se) : !1, j = ((G = E[0]) == null ? void 0 : G.overflows[0]) > 0; + if (!ie || j) return { data: { - index: Q, - overflows: A + index: Z, + overflows: E }, reset: { - placement: le + placement: se } }; } - let fe = (F = A.filter((ue) => ue.overflows[0] <= 0).sort((ue, j) => ue.overflows[1] - j.overflows[1])[0]) == null ? void 0 : F.placement; - if (!fe) + let pe = (F = E.filter((ie) => ie.overflows[0] <= 0).sort((ie, j) => ie.overflows[1] - j.overflows[1])[0]) == null ? void 0 : F.placement; + if (!pe) switch (f) { case "bestFit": { - var G; - const ue = (G = A.filter((j) => { + var q; + const ie = (q = E.filter((j) => { if (P) { - const Y = rt(j.placement); + const Y = ot(j.placement); return Y === B || // Create a bias to the `y` side axis due to horizontal // reading directions favoring greater width. Y === "y"; } return !0; - }).map((j) => [j.placement, j.overflows.filter((Y) => Y > 0).reduce((Y, J) => Y + J, 0)]).sort((j, Y) => j[1] - Y[1])[0]) == null ? void 0 : G[0]; - ue && (fe = ue); + }).map((j) => [j.placement, j.overflows.filter((Y) => Y > 0).reduce((Y, J) => Y + J, 0)]).sort((j, Y) => j[1] - Y[1])[0]) == null ? void 0 : q[0]; + ie && (pe = ie); break; } case "initialPlacement": - fe = i; + pe = i; break; } - if (a !== fe) + if (a !== pe) return { reset: { - placement: fe + placement: pe } }; } @@ -2615,7 +2676,7 @@ const Ti = (e) => ({ } }; }; -function dr(e, t) { +function Sr(e, t) { return { top: e.top - t.height, right: e.right - t.width, @@ -2623,10 +2684,10 @@ function dr(e, t) { left: e.left - t.width }; } -function cr(e) { - return _i.some((t) => e[t] >= 0); +function kr(e) { + return Oi.some((t) => e[t] >= 0); } -const Pi = function(e) { +const Li = function(e) { return e === void 0 && (e = {}), { name: "hide", options: e, @@ -2636,29 +2697,29 @@ const Pi = function(e) { } = t, { strategy: o = "referenceHidden", ...a - } = lt(e, t); + } = rt(e, t); switch (o) { case "referenceHidden": { - const r = await dn(t, { + const r = await sn(t, { ...a, elementContext: "reference" - }), l = dr(r, n.reference); + }), l = Sr(r, n.reference); return { data: { referenceHiddenOffsets: l, - referenceHidden: cr(l) + referenceHidden: kr(l) } }; } case "escaped": { - const r = await dn(t, { + const r = await sn(t, { ...a, altBoundary: !0 - }), l = dr(r, n.floating); + }), l = Sr(r, n.floating); return { data: { escapedOffsets: l, - escaped: cr(l) + escaped: kr(l) } }; } @@ -2668,12 +2729,12 @@ const Pi = function(e) { } }; }; -async function Ii(e, t) { +async function zi(e, t) { const { placement: n, platform: o, elements: a - } = e, r = await (o.isRTL == null ? void 0 : o.isRTL(a.floating)), l = it(n), i = Wt(n), u = rt(n) === "y", d = ["left", "top"].includes(l) ? -1 : 1, c = r && u ? -1 : 1, p = lt(t, e); + } = e, r = await (o.isRTL == null ? void 0 : o.isRTL(a.floating)), l = st(n), i = Kt(n), u = ot(n) === "y", d = ["left", "top"].includes(l) ? -1 : 1, c = r && u ? -1 : 1, p = rt(t, e); let { mainAxis: m, crossAxis: f, @@ -2695,7 +2756,7 @@ async function Ii(e, t) { y: f * c }; } -const Mi = function(e) { +const Ni = function(e) { return e === void 0 && (e = 0), { name: "offset", options: e, @@ -2706,7 +2767,7 @@ const Mi = function(e) { y: r, placement: l, middlewareData: i - } = t, u = await Ii(t, e); + } = t, u = await zi(t, e); return l === ((n = i.offset) == null ? void 0 : n.placement) && (o = i.arrow) != null && o.alignmentOffset ? {} : { x: a + u.x, y: r + u.y, @@ -2717,7 +2778,7 @@ const Mi = function(e) { }; } }; -}, Ri = function(e) { +}, ji = function(e) { return e === void 0 && (e = {}), { name: "shift", options: e, @@ -2742,18 +2803,18 @@ const Mi = function(e) { } }, ...u - } = lt(e, t), d = { + } = rt(e, t), d = { x: n, y: o - }, c = await dn(t, u), p = rt(it(a)), m = ra(p); + }, c = await sn(t, u), p = ot(st(a)), m = ua(p); let f = d[m], v = d[p]; if (r) { const b = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", B = f + c[b], $ = f - c[w]; - f = Fo(B, f, $); + f = Ko(B, f, $); } if (l) { const b = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", B = v + c[b], $ = v - c[w]; - v = Fo(B, v, $); + v = Ko(B, v, $); } const g = i.fn({ ...t, @@ -2773,7 +2834,7 @@ const Mi = function(e) { }; } }; -}, Fi = function(e) { +}, Ki = function(e) { return e === void 0 && (e = {}), { options: e, fn(t) { @@ -2787,12 +2848,12 @@ const Mi = function(e) { offset: i = 0, mainAxis: u = !0, crossAxis: d = !0 - } = lt(e, t), c = { + } = rt(e, t), c = { x: n, y: o - }, p = rt(a), m = ra(p); + }, p = ot(a), m = ua(p); let f = c[m], v = c[p]; - const g = lt(i, t), b = typeof g == "number" ? { + const g = rt(i, t), b = typeof g == "number" ? { mainAxis: g, crossAxis: 0 } : { @@ -2801,12 +2862,12 @@ const Mi = function(e) { ...g }; if (u) { - const $ = m === "y" ? "height" : "width", E = r.reference[m] - r.floating[$] + b.mainAxis, k = r.reference[m] + r.reference[$] - b.mainAxis; - f < E ? f = E : f > k && (f = k); + const $ = m === "y" ? "height" : "width", O = r.reference[m] - r.floating[$] + b.mainAxis, k = r.reference[m] + r.reference[$] - b.mainAxis; + f < O ? f = O : f > k && (f = k); } if (d) { var w, B; - const $ = m === "y" ? "width" : "height", E = ["top", "left"].includes(it(a)), k = r.reference[p] - r.floating[$] + (E && ((w = l.offset) == null ? void 0 : w[p]) || 0) + (E ? 0 : b.crossAxis), P = r.reference[p] + r.reference[$] + (E ? 0 : ((B = l.offset) == null ? void 0 : B[p]) || 0) - (E ? b.crossAxis : 0); + const $ = m === "y" ? "width" : "height", O = ["top", "left"].includes(st(a)), k = r.reference[p] - r.floating[$] + (O && ((w = l.offset) == null ? void 0 : w[p]) || 0) + (O ? 0 : b.crossAxis), P = r.reference[p] + r.reference[$] + (O ? 0 : ((B = l.offset) == null ? void 0 : B[p]) || 0) - (O ? b.crossAxis : 0); v < k ? v = k : v > P && (v = P); } return { @@ -2815,7 +2876,7 @@ const Mi = function(e) { }; } }; -}, Vi = function(e) { +}, Hi = function(e) { return e === void 0 && (e = {}), { name: "size", options: e, @@ -2830,22 +2891,22 @@ const Mi = function(e) { apply: u = () => { }, ...d - } = lt(e, t), c = await dn(t, d), p = it(a), m = Wt(a), f = rt(a) === "y", { + } = rt(e, t), c = await sn(t, d), p = st(a), m = Kt(a), f = ot(a) === "y", { width: v, height: g } = r.floating; let b, w; p === "top" || p === "bottom" ? (b = p, w = m === (await (l.isRTL == null ? void 0 : l.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (w = p, b = m === "end" ? "top" : "bottom"); - const B = g - c.top - c.bottom, $ = v - c.left - c.right, E = gt(g - c[b], B), k = gt(v - c[w], $), P = !t.middlewareData.shift; - let O = E, I = k; - if ((n = t.middlewareData.shift) != null && n.enabled.x && (I = $), (o = t.middlewareData.shift) != null && o.enabled.y && (O = B), P && !m) { - const A = Me(c.left, 0), L = Me(c.right, 0), F = Me(c.top, 0), q = Me(c.bottom, 0); - f ? I = v - 2 * (A !== 0 || L !== 0 ? A + L : Me(c.left, c.right)) : O = g - 2 * (F !== 0 || q !== 0 ? F + q : Me(c.top, c.bottom)); + const B = g - c.top - c.bottom, $ = v - c.left - c.right, O = ft(g - c[b], B), k = ft(v - c[w], $), P = !t.middlewareData.shift; + let A = O, I = k; + if ((n = t.middlewareData.shift) != null && n.enabled.x && (I = $), (o = t.middlewareData.shift) != null && o.enabled.y && (A = B), P && !m) { + const E = Ie(c.left, 0), L = Ie(c.right, 0), F = Ie(c.top, 0), G = Ie(c.bottom, 0); + f ? I = v - 2 * (E !== 0 || L !== 0 ? E + L : Ie(c.left, c.right)) : A = g - 2 * (F !== 0 || G !== 0 ? F + G : Ie(c.top, c.bottom)); } await u({ ...t, availableWidth: I, - availableHeight: O + availableHeight: A }); const V = await l.getDimensions(i.floating); return v !== V.width || g !== V.height ? { @@ -2856,43 +2917,43 @@ const Mi = function(e) { } }; }; -function Zn() { +function Xn() { return typeof window < "u"; } -function Et(e) { - return ia(e) ? (e.nodeName || "").toLowerCase() : "#document"; +function $t(e) { + return pa(e) ? (e.nodeName || "").toLowerCase() : "#document"; } -function Re(e) { +function Me(e) { var t; return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window; } function Qe(e) { var t; - return (t = (ia(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement; + return (t = (pa(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement; } -function ia(e) { - return Zn() ? e instanceof Node || e instanceof Re(e).Node : !1; +function pa(e) { + return Xn() ? e instanceof Node || e instanceof Me(e).Node : !1; } -function We(e) { - return Zn() ? e instanceof Element || e instanceof Re(e).Element : !1; +function Ue(e) { + return Xn() ? e instanceof Element || e instanceof Me(e).Element : !1; } -function Ze(e) { - return Zn() ? e instanceof HTMLElement || e instanceof Re(e).HTMLElement : !1; +function Xe(e) { + return Xn() ? e instanceof HTMLElement || e instanceof Me(e).HTMLElement : !1; } -function pr(e) { - return !Zn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Re(e).ShadowRoot; +function Or(e) { + return !Xn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Me(e).ShadowRoot; } -function bn(e) { +function gn(e) { const { overflow: t, overflowX: n, overflowY: o, display: a - } = Ge(e); + } = We(e); return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !["inline", "contents"].includes(a); } -function Li(e) { - return ["table", "td", "th"].includes(Et(e)); +function Ui(e) { + return ["table", "td", "th"].includes($t(e)); } function Qn(e) { return [":popover-open", ":modal"].some((t) => { @@ -2903,32 +2964,32 @@ function Qn(e) { } }); } -function ua(e) { - const t = da(), n = We(e) ? Ge(e) : e; +function fa(e) { + const t = ma(), n = Ue(e) ? We(e) : e; return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o)); } -function zi(e) { - let t = ht(e); - for (; Ze(t) && !jt(t); ) { - if (ua(t)) +function Wi(e) { + let t = mt(e); + for (; Xe(t) && !Lt(t); ) { + if (fa(t)) return t; if (Qn(t)) return null; - t = ht(t); + t = mt(t); } return null; } -function da() { +function ma() { return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none"); } -function jt(e) { - return ["html", "body", "#document"].includes(Et(e)); +function Lt(e) { + return ["html", "body", "#document"].includes($t(e)); } -function Ge(e) { - return Re(e).getComputedStyle(e); +function We(e) { + return Me(e).getComputedStyle(e); } -function Jn(e) { - return We(e) ? { +function Zn(e) { + return Ue(e) ? { scrollLeft: e.scrollLeft, scrollTop: e.scrollTop } : { @@ -2936,112 +2997,112 @@ function Jn(e) { scrollTop: e.scrollY }; } -function ht(e) { - if (Et(e) === "html") +function mt(e) { + if ($t(e) === "html") return e; const t = ( // Step into the shadow DOM of the parent of a slotted node. e.assignedSlot || // DOM Element detected. e.parentNode || // ShadowRoot detected. - pr(e) && e.host || // Fallback. + Or(e) && e.host || // Fallback. Qe(e) ); - return pr(t) ? t.host : t; + return Or(t) ? t.host : t; } -function gs(e) { - const t = ht(e); - return jt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Ze(t) && bn(t) ? t : gs(t); +function Bs(e) { + const t = mt(e); + return Lt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Xe(t) && gn(t) ? t : Bs(t); } -function cn(e, t, n) { +function ln(e, t, n) { var o; t === void 0 && (t = []), n === void 0 && (n = !0); - const a = gs(e), r = a === ((o = e.ownerDocument) == null ? void 0 : o.body), l = Re(a); + const a = Bs(e), r = a === ((o = e.ownerDocument) == null ? void 0 : o.body), l = Me(a); if (r) { - const i = Lo(l); - return t.concat(l, l.visualViewport || [], bn(a) ? a : [], i && n ? cn(i) : []); + const i = Uo(l); + return t.concat(l, l.visualViewport || [], gn(a) ? a : [], i && n ? ln(i) : []); } - return t.concat(a, cn(a, [], n)); + return t.concat(a, ln(a, [], n)); } -function Lo(e) { +function Uo(e) { return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null; } -function hs(e) { - const t = Ge(e); +function $s(e) { + const t = We(e); let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0; - const a = Ze(e), r = a ? e.offsetWidth : n, l = a ? e.offsetHeight : o, i = Nn(n) !== r || Nn(o) !== l; + const a = Xe(e), r = a ? e.offsetWidth : n, l = a ? e.offsetHeight : o, i = zn(n) !== r || zn(o) !== l; return i && (n = r, o = l), { width: n, height: o, $: i }; } -function ca(e) { - return We(e) ? e : e.contextElement; +function va(e) { + return Ue(e) ? e : e.contextElement; } -function Lt(e) { - const t = ca(e); - if (!Ze(t)) - return Xe(1); +function Rt(e) { + const t = va(e); + if (!Xe(t)) + return Ye(1); const n = t.getBoundingClientRect(), { width: o, height: a, $: r - } = hs(t); - let l = (r ? Nn(n.width) : n.width) / o, i = (r ? Nn(n.height) : n.height) / a; + } = $s(t); + let l = (r ? zn(n.width) : n.width) / o, i = (r ? zn(n.height) : n.height) / a; return (!l || !Number.isFinite(l)) && (l = 1), (!i || !Number.isFinite(i)) && (i = 1), { x: l, y: i }; } -const Ni = /* @__PURE__ */ Xe(0); -function ys(e) { - const t = Re(e); - return !da() || !t.visualViewport ? Ni : { +const qi = /* @__PURE__ */ Ye(0); +function Ss(e) { + const t = Me(e); + return !ma() || !t.visualViewport ? qi : { x: t.visualViewport.offsetLeft, y: t.visualViewport.offsetTop }; } -function ji(e, t, n) { - return t === void 0 && (t = !1), !n || t && n !== Re(e) ? !1 : t; +function Gi(e, t, n) { + return t === void 0 && (t = !1), !n || t && n !== Me(e) ? !1 : t; } -function St(e, t, n, o) { +function _t(e, t, n, o) { t === void 0 && (t = !1), n === void 0 && (n = !1); - const a = e.getBoundingClientRect(), r = ca(e); - let l = Xe(1); - t && (o ? We(o) && (l = Lt(o)) : l = Lt(e)); - const i = ji(r, n, o) ? ys(r) : Xe(0); + const a = e.getBoundingClientRect(), r = va(e); + let l = Ye(1); + t && (o ? Ue(o) && (l = Rt(o)) : l = Rt(e)); + const i = Gi(r, n, o) ? Ss(r) : Ye(0); let u = (a.left + i.x) / l.x, d = (a.top + i.y) / l.y, c = a.width / l.x, p = a.height / l.y; if (r) { - const m = Re(r), f = o && We(o) ? Re(o) : o; - let v = m, g = Lo(v); + const m = Me(r), f = o && Ue(o) ? Me(o) : o; + let v = m, g = Uo(v); for (; g && o && f !== v; ) { - const b = Lt(g), w = g.getBoundingClientRect(), B = Ge(g), $ = w.left + (g.clientLeft + parseFloat(B.paddingLeft)) * b.x, E = w.top + (g.clientTop + parseFloat(B.paddingTop)) * b.y; - u *= b.x, d *= b.y, c *= b.x, p *= b.y, u += $, d += E, v = Re(g), g = Lo(v); + const b = Rt(g), w = g.getBoundingClientRect(), B = We(g), $ = w.left + (g.clientLeft + parseFloat(B.paddingLeft)) * b.x, O = w.top + (g.clientTop + parseFloat(B.paddingTop)) * b.y; + u *= b.x, d *= b.y, c *= b.x, p *= b.y, u += $, d += O, v = Me(g), g = Uo(v); } } - return Kn({ + return jn({ width: c, height: p, x: u, y: d }); } -function pa(e, t) { - const n = Jn(e).scrollLeft; - return t ? t.left + n : St(Qe(e)).left + n; +function ga(e, t) { + const n = Zn(e).scrollLeft; + return t ? t.left + n : _t(Qe(e)).left + n; } -function bs(e, t, n) { +function ks(e, t, n) { n === void 0 && (n = !1); const o = e.getBoundingClientRect(), a = o.left + t.scrollLeft - (n ? 0 : ( // RTL scrollbar. - pa(e, o) + ga(e, o) )), r = o.top + t.scrollTop; return { x: a, y: r }; } -function Ki(e) { +function Yi(e) { let { elements: t, rect: n, @@ -3054,13 +3115,13 @@ function Ki(e) { let u = { scrollLeft: 0, scrollTop: 0 - }, d = Xe(1); - const c = Xe(0), p = Ze(o); - if ((p || !p && !r) && ((Et(o) !== "body" || bn(l)) && (u = Jn(o)), Ze(o))) { - const f = St(o); - d = Lt(o), c.x = f.x + o.clientLeft, c.y = f.y + o.clientTop; + }, d = Ye(1); + const c = Ye(0), p = Xe(o); + if ((p || !p && !r) && (($t(o) !== "body" || gn(l)) && (u = Zn(o)), Xe(o))) { + const f = _t(o); + d = Rt(o), c.x = f.x + o.clientLeft, c.y = f.y + o.clientTop; } - const m = l && !p && !r ? bs(l, u, !0) : Xe(0); + const m = l && !p && !r ? ks(l, u, !0) : Ye(0); return { width: n.width * d.x, height: n.height * d.y, @@ -3068,26 +3129,26 @@ function Ki(e) { y: n.y * d.y - u.scrollTop * d.y + c.y + m.y }; } -function Hi(e) { +function Xi(e) { return Array.from(e.getClientRects()); } -function Ui(e) { - const t = Qe(e), n = Jn(e), o = e.ownerDocument.body, a = Me(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), r = Me(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight); - let l = -n.scrollLeft + pa(e); +function Qi(e) { + const t = Qe(e), n = Zn(e), o = e.ownerDocument.body, a = Ie(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), r = Ie(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight); + let l = -n.scrollLeft + ga(e); const i = -n.scrollTop; - return Ge(o).direction === "rtl" && (l += Me(t.clientWidth, o.clientWidth) - a), { + return We(o).direction === "rtl" && (l += Ie(t.clientWidth, o.clientWidth) - a), { width: a, height: r, x: l, y: i }; } -function Wi(e, t) { - const n = Re(e), o = Qe(e), a = n.visualViewport; +function Zi(e, t) { + const n = Me(e), o = Qe(e), a = n.visualViewport; let r = o.clientWidth, l = o.clientHeight, i = 0, u = 0; if (a) { r = a.width, l = a.height; - const d = da(); + const d = ma(); (!d || d && t === "fixed") && (i = a.offsetLeft, u = a.offsetTop); } return { @@ -3097,8 +3158,8 @@ function Wi(e, t) { y: u }; } -function Gi(e, t) { - const n = St(e, !0, t === "fixed"), o = n.top + e.clientTop, a = n.left + e.clientLeft, r = Ze(e) ? Lt(e) : Xe(1), l = e.clientWidth * r.x, i = e.clientHeight * r.y, u = a * r.x, d = o * r.y; +function Ji(e, t) { + const n = _t(e, !0, t === "fixed"), o = n.top + e.clientTop, a = n.left + e.clientLeft, r = Xe(e) ? Rt(e) : Ye(1), l = e.clientWidth * r.x, i = e.clientHeight * r.y, u = a * r.x, d = o * r.y; return { width: l, height: i, @@ -3106,16 +3167,16 @@ function Gi(e, t) { y: d }; } -function fr(e, t, n) { +function Ar(e, t, n) { let o; if (t === "viewport") - o = Wi(e, n); + o = Zi(e, n); else if (t === "document") - o = Ui(Qe(e)); - else if (We(t)) - o = Gi(t, n); + o = Qi(Qe(e)); + else if (Ue(t)) + o = Ji(t, n); else { - const a = ys(e); + const a = Ss(e); o = { x: t.x - a.x, y: t.y - a.y, @@ -3123,36 +3184,36 @@ function fr(e, t, n) { height: t.height }; } - return Kn(o); + return jn(o); } -function ws(e, t) { - const n = ht(e); - return n === t || !We(n) || jt(n) ? !1 : Ge(n).position === "fixed" || ws(n, t); +function Os(e, t) { + const n = mt(e); + return n === t || !Ue(n) || Lt(n) ? !1 : We(n).position === "fixed" || Os(n, t); } -function qi(e, t) { +function eu(e, t) { const n = t.get(e); if (n) return n; - let o = cn(e, [], !1).filter((i) => We(i) && Et(i) !== "body"), a = null; - const r = Ge(e).position === "fixed"; - let l = r ? ht(e) : e; - for (; We(l) && !jt(l); ) { - const i = Ge(l), u = ua(l); - !u && i.position === "fixed" && (a = null), (r ? !u && !a : !u && i.position === "static" && !!a && ["absolute", "fixed"].includes(a.position) || bn(l) && !u && ws(e, l)) ? o = o.filter((c) => c !== l) : a = i, l = ht(l); + let o = ln(e, [], !1).filter((i) => Ue(i) && $t(i) !== "body"), a = null; + const r = We(e).position === "fixed"; + let l = r ? mt(e) : e; + for (; Ue(l) && !Lt(l); ) { + const i = We(l), u = fa(l); + !u && i.position === "fixed" && (a = null), (r ? !u && !a : !u && i.position === "static" && !!a && ["absolute", "fixed"].includes(a.position) || gn(l) && !u && Os(e, l)) ? o = o.filter((c) => c !== l) : a = i, l = mt(l); } return t.set(e, o), o; } -function Yi(e) { +function tu(e) { let { element: t, boundary: n, rootBoundary: o, strategy: a } = e; - const l = [...n === "clippingAncestors" ? Qn(t) ? [] : qi(t, this._c) : [].concat(n), o], i = l[0], u = l.reduce((d, c) => { - const p = fr(t, c, a); - return d.top = Me(p.top, d.top), d.right = gt(p.right, d.right), d.bottom = gt(p.bottom, d.bottom), d.left = Me(p.left, d.left), d; - }, fr(t, i, a)); + const l = [...n === "clippingAncestors" ? Qn(t) ? [] : eu(t, this._c) : [].concat(n), o], i = l[0], u = l.reduce((d, c) => { + const p = Ar(t, c, a); + return d.top = Ie(p.top, d.top), d.right = ft(p.right, d.right), d.bottom = ft(p.bottom, d.bottom), d.left = Ie(p.left, d.left), d; + }, Ar(t, i, a)); return { width: u.right - u.left, height: u.bottom - u.top, @@ -3160,33 +3221,33 @@ function Yi(e) { y: u.top }; } -function Xi(e) { +function nu(e) { const { width: t, height: n - } = hs(e); + } = $s(e); return { width: t, height: n }; } -function Zi(e, t, n) { - const o = Ze(t), a = Qe(t), r = n === "fixed", l = St(e, !0, r, t); +function ou(e, t, n) { + const o = Xe(t), a = Qe(t), r = n === "fixed", l = _t(e, !0, r, t); let i = { scrollLeft: 0, scrollTop: 0 }; - const u = Xe(0); + const u = Ye(0); function d() { - u.x = pa(a); + u.x = ga(a); } if (o || !o && !r) - if ((Et(t) !== "body" || bn(a)) && (i = Jn(t)), o) { - const f = St(t, !0, r, t); + if (($t(t) !== "body" || gn(a)) && (i = Zn(t)), o) { + const f = _t(t, !0, r, t); u.x = f.x + t.clientLeft, u.y = f.y + t.clientTop; } else a && d(); r && !o && a && d(); - const c = a && !o && !r ? bs(a, i) : Xe(0), p = l.left + i.scrollLeft - u.x - c.x, m = l.top + i.scrollTop - u.y - c.y; + const c = a && !o && !r ? ks(a, i) : Ye(0), p = l.left + i.scrollLeft - u.x - c.x, m = l.top + i.scrollTop - u.y - c.y; return { x: p, y: m, @@ -3194,39 +3255,39 @@ function Zi(e, t, n) { height: l.height }; } -function ko(e) { - return Ge(e).position === "static"; +function Io(e) { + return We(e).position === "static"; } -function mr(e, t) { - if (!Ze(e) || Ge(e).position === "fixed") +function Er(e, t) { + if (!Xe(e) || We(e).position === "fixed") return null; if (t) return t(e); let n = e.offsetParent; return Qe(e) === n && (n = n.ownerDocument.body), n; } -function xs(e, t) { - const n = Re(e); +function As(e, t) { + const n = Me(e); if (Qn(e)) return n; - if (!Ze(e)) { - let a = ht(e); - for (; a && !jt(a); ) { - if (We(a) && !ko(a)) + if (!Xe(e)) { + let a = mt(e); + for (; a && !Lt(a); ) { + if (Ue(a) && !Io(a)) return a; - a = ht(a); + a = mt(a); } return n; } - let o = mr(e, t); - for (; o && Li(o) && ko(o); ) - o = mr(o, t); - return o && jt(o) && ko(o) && !ua(o) ? n : o || zi(e) || n; + let o = Er(e, t); + for (; o && Ui(o) && Io(o); ) + o = Er(o, t); + return o && Lt(o) && Io(o) && !fa(o) ? n : o || Wi(e) || n; } -const Qi = async function(e) { - const t = this.getOffsetParent || xs, n = this.getDimensions, o = await n(e.floating); +const au = async function(e) { + const t = this.getOffsetParent || As, n = this.getDimensions, o = await n(e.floating); return { - reference: Zi(e.reference, await t(e.floating), e.strategy), + reference: ou(e.reference, await t(e.floating), e.strategy), floating: { x: 0, y: 0, @@ -3235,25 +3296,25 @@ const Qi = async function(e) { } }; }; -function Ji(e) { - return Ge(e).direction === "rtl"; +function ru(e) { + return We(e).direction === "rtl"; } -const eu = { - convertOffsetParentRelativeRectToViewportRelativeRect: Ki, +const su = { + convertOffsetParentRelativeRectToViewportRelativeRect: Yi, getDocumentElement: Qe, - getClippingRect: Yi, - getOffsetParent: xs, - getElementRects: Qi, - getClientRects: Hi, - getDimensions: Xi, - getScale: Lt, - isElement: We, - isRTL: Ji + getClippingRect: tu, + getOffsetParent: As, + getElementRects: au, + getClientRects: Xi, + getDimensions: nu, + getScale: Rt, + isElement: Ue, + isRTL: ru }; -function _s(e, t) { +function Es(e, t) { return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height; } -function tu(e, t) { +function lu(e, t) { let n = null, o; const a = Qe(e); function r() { @@ -3272,19 +3333,19 @@ function tu(e, t) { return; const v = An(p), g = An(a.clientWidth - (c + m)), b = An(a.clientHeight - (p + f)), w = An(c), $ = { rootMargin: -v + "px " + -g + "px " + -b + "px " + -w + "px", - threshold: Me(0, gt(1, u)) || 1 + threshold: Ie(0, ft(1, u)) || 1 }; - let E = !0; + let O = !0; function k(P) { - const O = P[0].intersectionRatio; - if (O !== u) { - if (!E) + const A = P[0].intersectionRatio; + if (A !== u) { + if (!O) return l(); - O ? l(!1, O) : o = setTimeout(() => { + A ? l(!1, A) : o = setTimeout(() => { l(!1, 1e-7); }, 1e3); } - O === 1 && !_s(d, e.getBoundingClientRect()) && l(), E = !1; + A === 1 && !Es(d, e.getBoundingClientRect()) && l(), O = !1; } try { n = new IntersectionObserver(k, { @@ -3299,7 +3360,7 @@ function tu(e, t) { } return l(!0), r; } -function nu(e, t, n, o) { +function iu(e, t, n, o) { o === void 0 && (o = {}); const { ancestorScroll: a = !0, @@ -3307,13 +3368,13 @@ function nu(e, t, n, o) { elementResize: l = typeof ResizeObserver == "function", layoutShift: i = typeof IntersectionObserver == "function", animationFrame: u = !1 - } = o, d = ca(e), c = a || r ? [...d ? cn(d) : [], ...cn(t)] : []; + } = o, d = va(e), c = a || r ? [...d ? ln(d) : [], ...ln(t)] : []; c.forEach((w) => { a && w.addEventListener("scroll", n, { passive: !0 }), r && w.addEventListener("resize", n); }); - const p = d && i ? tu(d, n) : null; + const p = d && i ? lu(d, n) : null; let m = -1, f = null; l && (f = new ResizeObserver((w) => { let [B] = w; @@ -3322,11 +3383,11 @@ function nu(e, t, n, o) { ($ = f) == null || $.observe(t); })), n(); }), d && !u && f.observe(d), f.observe(t)); - let v, g = u ? St(e) : null; + let v, g = u ? _t(e) : null; u && b(); function b() { - const w = St(e); - g && !_s(g, w) && n(), g = w, v = requestAnimationFrame(b); + const w = _t(e); + g && !Es(g, w) && n(), g = w, v = requestAnimationFrame(b); } return n(), () => { var w; @@ -3335,79 +3396,79 @@ function nu(e, t, n, o) { }), p == null || p(), (w = f) == null || w.disconnect(), f = null, u && cancelAnimationFrame(v); }; } -const ou = Mi, au = Ri, vr = Di, ru = Vi, su = Pi, lu = Ti, iu = Fi, uu = (e, t, n) => { +const uu = Ni, du = ji, Tr = Vi, cu = Hi, pu = Li, fu = Fi, mu = Ki, vu = (e, t, n) => { const o = /* @__PURE__ */ new Map(), a = { - platform: eu, + platform: su, ...n }, r = { ...a.platform, _c: o }; - return Ai(e, t, { + return Ri(e, t, { ...a, platform: r }); }; -function du(e) { +function gu(e) { return e != null && typeof e == "object" && "$el" in e; } -function zo(e) { - if (du(e)) { +function Wo(e) { + if (gu(e)) { const t = e.$el; - return ia(t) && Et(t) === "#comment" ? null : t; + return pa(t) && $t(t) === "#comment" ? null : t; } return e; } -function Vt(e) { +function Mt(e) { return typeof e == "function" ? e() : s(e); } -function cu(e) { +function hu(e) { return { name: "arrow", options: e, fn(t) { - const n = zo(Vt(e.element)); - return n == null ? {} : lu({ + const n = Wo(Mt(e.element)); + return n == null ? {} : fu({ element: n, padding: e.padding }).fn(t); } }; } -function Cs(e) { +function Ts(e) { return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1; } -function gr(e, t) { - const n = Cs(e); +function Dr(e, t) { + const n = Ts(e); return Math.round(t * n) / n; } -function pu(e, t, n) { +function yu(e, t, n) { n === void 0 && (n = {}); const o = n.whileElementsMounted, a = S(() => { - var O; - return (O = Vt(n.open)) != null ? O : !0; - }), r = S(() => Vt(n.middleware)), l = S(() => { - var O; - return (O = Vt(n.placement)) != null ? O : "bottom"; + var A; + return (A = Mt(n.open)) != null ? A : !0; + }), r = S(() => Mt(n.middleware)), l = S(() => { + var A; + return (A = Mt(n.placement)) != null ? A : "bottom"; }), i = S(() => { - var O; - return (O = Vt(n.strategy)) != null ? O : "absolute"; + var A; + return (A = Mt(n.strategy)) != null ? A : "absolute"; }), u = S(() => { - var O; - return (O = Vt(n.transform)) != null ? O : !0; - }), d = S(() => zo(e.value)), c = S(() => zo(t.value)), p = T(0), m = T(0), f = T(i.value), v = T(l.value), g = zn({}), b = T(!1), w = S(() => { - const O = { + var A; + return (A = Mt(n.transform)) != null ? A : !0; + }), d = S(() => Wo(e.value)), c = S(() => Wo(t.value)), p = T(0), m = T(0), f = T(i.value), v = T(l.value), g = Ln({}), b = T(!1), w = S(() => { + const A = { position: f.value, left: "0", top: "0" }; if (!c.value) - return O; - const I = gr(c.value, p.value), V = gr(c.value, m.value); + return A; + const I = Dr(c.value, p.value), V = Dr(c.value, m.value); return u.value ? { - ...O, + ...A, transform: "translate(" + I + "px, " + V + "px)", - ...Cs(c.value) >= 1.5 && { + ...Ts(c.value) >= 1.5 && { willChange: "transform" } } : { @@ -3420,20 +3481,20 @@ function pu(e, t, n) { function $() { if (d.value == null || c.value == null) return; - const O = a.value; - uu(d.value, c.value, { + const A = a.value; + vu(d.value, c.value, { middleware: r.value, placement: l.value, strategy: i.value }).then((I) => { - p.value = I.x, m.value = I.y, f.value = I.strategy, v.value = I.placement, g.value = I.middlewareData, b.value = O !== !1; + p.value = I.x, m.value = I.y, f.value = I.strategy, v.value = I.placement, g.value = I.middlewareData, b.value = A !== !1; }); } - function E() { + function O() { typeof B == "function" && (B(), B = void 0); } function k() { - if (E(), o === void 0) { + if (O(), o === void 0) { $(); return; } @@ -3451,21 +3512,21 @@ function pu(e, t, n) { flush: "sync" }), X(a, P, { flush: "sync" - }), Wr() && Gr(E), { - x: Rt(p), - y: Rt(m), - strategy: Rt(f), - placement: Rt(v), - middlewareData: Rt(g), - isPositioned: Rt(b), + }), is() && us(O), { + x: Pt(p), + y: Pt(m), + strategy: Pt(f), + placement: Pt(v), + middlewareData: Pt(g), + isPositioned: Pt(b), floatingStyles: w, update: $ }; } -function oe(e, t) { +function ne(e, t) { const n = typeof e == "string" && !t ? `${e}Context` : t, o = Symbol(n); return [(a) => { - const r = hn(o, a); + const r = mn(o, a); if (r || r === null) return r; throw new Error( @@ -3473,9 +3534,9 @@ function oe(e, t) { ", " )}` : `\`${e}\``}` ); - }, (a) => (yn(o, a), a)]; + }, (a) => (vn(o, a), a)]; } -function fa(e, t, n) { +function ha(e, t, n) { const o = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, @@ -3483,13 +3544,13 @@ function fa(e, t, n) { }); t && o.addEventListener(e, t, { once: !0 }), o.dispatchEvent(a); } -function Hn(e, t = Number.NEGATIVE_INFINITY, n = Number.POSITIVE_INFINITY) { +function Kn(e, t = Number.NEGATIVE_INFINITY, n = Number.POSITIVE_INFINITY) { return Math.min(n, Math.max(t, e)); } -function fu(e) { +function bu(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -var mu = function e(t, n) { +var wu = function e(t, n) { if (t === n) return !0; if (t && n && typeof t == "object" && typeof n == "object") { if (t.constructor !== n.constructor) return !1; @@ -3514,24 +3575,24 @@ var mu = function e(t, n) { } return t !== t && n !== n; }; -const Bt = /* @__PURE__ */ fu(mu); -function zt(e) { +const wt = /* @__PURE__ */ bu(wu); +function Ft(e) { return e == null; } -function vu(e, t) { +function xu(e, t) { var n; - const o = zn(); - return we(() => { + const o = Ln(); + return be(() => { o.value = e(); }, { ...t, flush: (n = void 0) != null ? n : "sync" - }), ta(o); + }), la(o); } -function At(e) { - return Wr() ? (Gr(e), !0) : !1; +function St(e) { + return is() ? (us(e), !0) : !1; } -function gu() { +function _u() { const e = /* @__PURE__ */ new Set(), t = (n) => { e.delete(n); }; @@ -3539,7 +3600,7 @@ function gu() { on: (n) => { e.add(n); const o = () => t(n); - return At(o), { + return St(o), { off: o }; }, @@ -3547,39 +3608,39 @@ function gu() { trigger: (...n) => Promise.all(Array.from(e).map((o) => o(...n))) }; } -function hu(e) { +function Cu(e) { let t = !1, n; - const o = ns(!0); + const o = ys(!0); return (...a) => (t || (n = o.run(() => e(...a)), t = !0), n); } -function Bs(e) { +function Ds(e) { let t = 0, n, o; const a = () => { t -= 1, o && t <= 0 && (o.stop(), n = void 0, o = void 0); }; - return (...r) => (t += 1, n || (o = ns(!0), n = o.run(() => e(...r))), At(a), n); + return (...r) => (t += 1, n || (o = ys(!0), n = o.run(() => e(...r))), St(a), n); } -function st(e) { +function at(e) { return typeof e == "function" ? e() : s(e); } -const Je = typeof window < "u" && typeof document < "u"; +const Ze = typeof window < "u" && typeof document < "u"; typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope; -const yu = (e) => typeof e < "u", bu = (e) => e != null, wu = Object.prototype.toString, xu = (e) => wu.call(e) === "[object Object]", $s = () => { -}, hr = /* @__PURE__ */ _u(); -function _u() { +const Bu = (e) => typeof e < "u", $u = (e) => e != null, Su = Object.prototype.toString, ku = (e) => Su.call(e) === "[object Object]", Ps = () => { +}, Pr = /* @__PURE__ */ Ou(); +function Ou() { var e, t; - return Je && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent)); + return Ze && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent)); } -function Cu(e) { - return Fe(); +function Au(e) { + return Re(); } -function Ss(e, t = 1e4) { - return ti((n, o) => { - let a = st(e), r; +function Is(e, t = 1e4) { + return ii((n, o) => { + let a = at(e), r; const l = () => setTimeout(() => { - a = st(e), o(); - }, st(t)); - return At(() => { + a = at(e), o(); + }, at(t)); + return St(() => { clearTimeout(r); }), { get() { @@ -3591,10 +3652,10 @@ function Ss(e, t = 1e4) { }; }); } -function Bu(e, t) { - Cu() && Xn(e, t); +function Eu(e, t) { + Au() && Yn(e, t); } -function ma(e, t, n = {}) { +function ya(e, t, n = {}) { const { immediate: o = !0 } = n, a = T(!1); @@ -3608,20 +3669,20 @@ function ma(e, t, n = {}) { function u(...d) { l(), a.value = !0, r = setTimeout(() => { a.value = !1, r = null, e(...d); - }, st(t)); + }, at(t)); } - return o && (a.value = !0, Je && u()), At(i), { - isPending: ta(a), + return o && (a.value = !0, Ze && u()), St(i), { + isPending: la(a), start: u, stop: i }; } -function $u(e = 1e3, t = {}) { +function Tu(e = 1e3, t = {}) { const { controls: n = !1, callback: o - } = t, a = ma( - o ?? $s, + } = t, a = ya( + o ?? Ps, e, t ), r = S(() => !a.isPending.value); @@ -3630,25 +3691,25 @@ function $u(e = 1e3, t = {}) { ...a } : r; } -function Le(e) { +function Ve(e) { var t; - const n = st(e); + const n = at(e); return (t = n == null ? void 0 : n.$el) != null ? t : n; } -const wn = Je ? window : void 0; -function Kt(...e) { +const hn = Ze ? window : void 0; +function zt(...e) { let t, n, o, a; - if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, a] = e, t = wn) : [t, n, o, a] = e, !t) - return $s; + if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, a] = e, t = hn) : [t, n, o, a] = e, !t) + return Ps; Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]); const r = [], l = () => { r.forEach((c) => c()), r.length = 0; }, i = (c, p, m, f) => (c.addEventListener(p, m, f), () => c.removeEventListener(p, m, f)), u = X( - () => [Le(t), st(a)], + () => [Ve(t), at(a)], ([c, p]) => { if (l(), !c) return; - const m = xu(p) ? { ...p } : p; + const m = ku(p) ? { ...p } : p; r.push( ...n.flatMap((f) => o.map((v) => i(c, f, v, m))) ); @@ -3657,41 +3718,41 @@ function Kt(...e) { ), d = () => { u(), l(); }; - return At(d), d; + return St(d), d; } -function Su(e) { +function Du(e) { return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0; } -function va(...e) { +function ba(...e) { let t, n, o = {}; e.length === 3 ? (t = e[0], n = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], o = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]); const { - target: a = wn, + target: a = hn, eventName: r = "keydown", passive: l = !1, dedupe: i = !1 - } = o, u = Su(t); - return Kt(a, r, (d) => { - d.repeat && st(i) || u(d) && n(d); + } = o, u = Du(t); + return zt(a, r, (d) => { + d.repeat && at(i) || u(d) && n(d); }, l); } -function ga() { - const e = T(!1), t = Fe(); - return t && se(() => { +function wa() { + const e = T(!1), t = Re(); + return t && re(() => { e.value = !0; }, t), e; } -function ku(e) { - const t = ga(); +function Pu(e) { + const t = wa(); return S(() => (t.value, !!e())); } -function Ou(e, t, n = {}) { - const { window: o = wn, ...a } = n; +function Iu(e, t, n = {}) { + const { window: o = hn, ...a } = n; let r; - const l = ku(() => o && "MutationObserver" in o), i = () => { + const l = Pu(() => o && "MutationObserver" in o), i = () => { r && (r.disconnect(), r = void 0); }, u = S(() => { - const m = st(e), f = (Array.isArray(m) ? m : [m]).map(Le).filter(bu); + const m = at(e), f = (Array.isArray(m) ? m : [m]).map(Ve).filter($u); return new Set(f); }), d = X( () => u.value, @@ -3702,17 +3763,17 @@ function Ou(e, t, n = {}) { ), c = () => r == null ? void 0 : r.takeRecords(), p = () => { i(), d(); }; - return At(p), { + return St(p), { isSupported: l, stop: p, takeRecords: c }; } -function ks(e, t = {}) { +function Ms(e, t = {}) { const { immediate: n = !0, fpsLimit: o = void 0, - window: a = wn + window: a = hn } = t, r = T(!1), l = o ? 1e3 / o : null; let i = 0, u = null; function d(m) { @@ -3732,16 +3793,16 @@ function ks(e, t = {}) { function p() { r.value = !1, u != null && a && (a.cancelAnimationFrame(u), u = null); } - return n && c(), At(p), { - isActive: ta(r), + return n && c(), St(p), { + isActive: la(r), pause: p, resume: c }; } -function Eu(e) { +function Mu(e) { return JSON.parse(JSON.stringify(e)); } -function ge(e, t, n, o = {}) { +function ve(e, t, n, o = {}) { var a, r, l; const { clone: i = !1, @@ -3750,27 +3811,27 @@ function ge(e, t, n, o = {}) { deep: c = !1, defaultValue: p, shouldEmit: m - } = o, f = Fe(), v = n || (f == null ? void 0 : f.emit) || ((a = f == null ? void 0 : f.$emit) == null ? void 0 : a.bind(f)) || ((l = (r = f == null ? void 0 : f.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(f == null ? void 0 : f.proxy)); + } = o, f = Re(), v = n || (f == null ? void 0 : f.emit) || ((a = f == null ? void 0 : f.$emit) == null ? void 0 : a.bind(f)) || ((l = (r = f == null ? void 0 : f.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(f == null ? void 0 : f.proxy)); let g = d; t || (t = "modelValue"), g = g || `update:${t.toString()}`; - const b = ($) => i ? typeof i == "function" ? i($) : Eu($) : $, w = () => yu(e[t]) ? b(e[t]) : p, B = ($) => { + const b = ($) => i ? typeof i == "function" ? i($) : Mu($) : $, w = () => Bu(e[t]) ? b(e[t]) : p, B = ($) => { m ? m($) && v(g, $) : v(g, $); }; if (u) { - const $ = w(), E = T($); + const $ = w(), O = T($); let k = !1; return X( () => e[t], (P) => { - k || (k = !0, E.value = b(P), ae(() => k = !1)); + k || (k = !0, O.value = b(P), oe(() => k = !1)); } ), X( - E, + O, (P) => { !k && (P !== e[t] || c) && B(P); }, { deep: c } - ), E; + ), O; } else return S({ get() { @@ -3781,10 +3842,10 @@ function ge(e, t, n, o = {}) { } }); } -function eo(e) { - return e ? e.flatMap((t) => t.type === be ? eo(t.children) : [t]) : []; +function Jn(e) { + return e ? e.flatMap((t) => t.type === ye ? Jn(t.children) : [t]) : []; } -function $e() { +function Be() { let e = document.activeElement; if (e == null) return null; @@ -3792,9 +3853,9 @@ function $e() { e = e.shadowRoot.activeElement; return e; } -const Au = ["INPUT", "TEXTAREA"]; -function Os(e, t, n, o = {}) { - if (!t || o.enableIgnoredElement && Au.includes(t.nodeName)) +const Ru = ["INPUT", "TEXTAREA"]; +function Rs(e, t, n, o = {}) { + if (!t || o.enableIgnoredElement && Ru.includes(t.nodeName)) return null; const { arrowKeyOptions: a = "both", @@ -3818,41 +3879,41 @@ function Os(e, t, n, o = {}) { if (!$.length) return null; d && e.preventDefault(); - let E = null; - return B || w ? E = Es($, t, { + let O = null; + return B || w ? O = Fs($, t, { goForward: w ? v : u === "ltr" ? p : m, loop: i - }) : g ? E = $.at(0) || null : b && (E = $.at(-1) || null), c && (E == null || E.focus()), E; + }) : g ? O = $.at(0) || null : b && (O = $.at(-1) || null), c && (O == null || O.focus()), O; } -function Es(e, t, n, o = e.length) { +function Fs(e, t, n, o = e.length) { if (--o === 0) return null; const a = e.indexOf(t), r = n.goForward ? a + 1 : a - 1; if (!n.loop && (r < 0 || r >= e.length)) return null; const l = (r + e.length) % e.length, i = e[l]; - return i ? i.hasAttribute("disabled") && i.getAttribute("disabled") !== "false" ? Es( + return i ? i.hasAttribute("disabled") && i.getAttribute("disabled") !== "false" ? Fs( e, i, n, o ) : i : null; } -function Oo(e) { +function Mo(e) { if (e === null || typeof e != "object") return !1; const t = Object.getPrototypeOf(e); return t !== null && t !== Object.prototype && Object.getPrototypeOf(t) !== null || Symbol.iterator in e ? !1 : Symbol.toStringTag in e ? Object.prototype.toString.call(e) === "[object Module]" : !0; } -function No(e, t, n = ".", o) { - if (!Oo(t)) - return No(e, {}, n); +function qo(e, t, n = ".", o) { + if (!Mo(t)) + return qo(e, {}, n); const a = Object.assign({}, t); for (const r in e) { if (r === "__proto__" || r === "constructor") continue; const l = e[r]; - l != null && (Array.isArray(l) && Array.isArray(a[r]) ? a[r] = [...l, ...a[r]] : Oo(l) && Oo(a[r]) ? a[r] = No( + l != null && (Array.isArray(l) && Array.isArray(a[r]) ? a[r] = [...l, ...a[r]] : Mo(l) && Mo(a[r]) ? a[r] = qo( l, a[r], (n ? `${n}.` : "") + r.toString() @@ -3860,97 +3921,97 @@ function No(e, t, n = ".", o) { } return a; } -function Tu(e) { +function Fu(e) { return (...t) => ( // eslint-disable-next-line unicorn/no-array-reduce - t.reduce((n, o) => No(n, o, ""), {}) + t.reduce((n, o) => qo(n, o, ""), {}) ); } -const Du = Tu(), [to, I0] = oe("ConfigProvider"); -let Pu = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Iu = (e = 21) => { +const Vu = Fu(), [eo, zh] = ne("ConfigProvider"); +let Lu = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", zu = (e = 21) => { let t = "", n = e; for (; n--; ) - t += Pu[Math.random() * 64 | 0]; + t += Lu[Math.random() * 64 | 0]; return t; }; -const Mu = Bs(() => { +const Nu = Ds(() => { const e = T(/* @__PURE__ */ new Map()), t = T(), n = S(() => { for (const l of e.value.values()) if (l) return !0; return !1; - }), o = to({ + }), o = eo({ scrollBody: T(!0) }); let a = null; const r = () => { - document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.body.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", hr && (a == null || a()), t.value = void 0; + document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.body.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", Pr && (a == null || a()), t.value = void 0; }; return X(n, (l, i) => { var u; - if (!Je) + if (!Ze) return; if (!l) { i && r(); return; } t.value === void 0 && (t.value = document.body.style.overflow); - const d = window.innerWidth - document.documentElement.clientWidth, c = { padding: d, margin: 0 }, p = (u = o.scrollBody) != null && u.value ? typeof o.scrollBody.value == "object" ? Du({ + const d = window.innerWidth - document.documentElement.clientWidth, c = { padding: d, margin: 0 }, p = (u = o.scrollBody) != null && u.value ? typeof o.scrollBody.value == "object" ? Vu({ padding: o.scrollBody.value.padding === !0 ? d : o.scrollBody.value.padding, margin: o.scrollBody.value.margin === !0 ? d : o.scrollBody.value.margin }, c) : c : { padding: 0, margin: 0 }; - d > 0 && (document.body.style.paddingRight = typeof p.padding == "number" ? `${p.padding}px` : String(p.padding), document.body.style.marginRight = typeof p.margin == "number" ? `${p.margin}px` : String(p.margin), document.body.style.setProperty("--scrollbar-width", `${d}px`), document.body.style.overflow = "hidden"), hr && (a = Kt( + d > 0 && (document.body.style.paddingRight = typeof p.padding == "number" ? `${p.padding}px` : String(p.padding), document.body.style.marginRight = typeof p.margin == "number" ? `${p.margin}px` : String(p.margin), document.body.style.setProperty("--scrollbar-width", `${d}px`), document.body.style.overflow = "hidden"), Pr && (a = zt( document, "touchmove", - (m) => Ru(m), + (m) => ju(m), { passive: !1 } - )), ae(() => { + )), oe(() => { document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden"; }); }, { immediate: !0, flush: "sync" }), e; }); -function xn(e) { - const t = Iu(6), n = Mu(); +function yn(e) { + const t = zu(6), n = Nu(); n.value.set(t, e ?? !1); const o = S({ get: () => n.value.get(t) ?? !1, set: (a) => n.value.set(t, a) }); - return Bu(() => { + return Eu(() => { n.value.delete(t); }), o; } -function As(e) { +function Vs(e) { const t = window.getComputedStyle(e); if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0; { const n = e.parentNode; - return !(n instanceof Element) || n.tagName === "BODY" ? !1 : As(n); + return !(n instanceof Element) || n.tagName === "BODY" ? !1 : Vs(n); } } -function Ru(e) { +function ju(e) { const t = e || window.event, n = t.target; - return n instanceof Element && As(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1); + return n instanceof Element && Vs(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1); } -const Fu = "data-radix-vue-collection-item"; -function Gt(e, t = Fu) { +const Ku = "data-radix-vue-collection-item"; +function Ht(e, t = Ku) { const n = Symbol(); return { createCollection: (o) => { const a = T([]); function r() { - const l = Le(o); + const l = Ve(o); return l ? a.value = Array.from( l.querySelectorAll(`[${t}]:not([data-disabled])`) ) : a.value = []; } - return Xl(() => { + return oi(() => { a.value = []; - }), se(r), Zl(r), X(() => o == null ? void 0 : o.value, r, { immediate: !0 }), yn(n, a), a; - }, injectCollection: () => hn(n, T([])) }; + }), re(r), ai(r), X(() => o == null ? void 0 : o.value, r, { immediate: !0 }), vn(n, a), a; + }, injectCollection: () => mn(n, T([])) }; } -function yt(e) { - const t = to({ +function vt(e) { + const t = eo({ dir: T("ltr") }); return S(() => { @@ -3958,46 +4019,46 @@ function yt(e) { return (e == null ? void 0 : e.value) || ((n = t.dir) == null ? void 0 : n.value) || "ltr"; }); } -function bt(e) { - const t = Fe(), n = t == null ? void 0 : t.type.emits, o = {}; +function gt(e) { + const t = Re(), n = t == null ? void 0 : t.type.emits, o = {}; return n != null && n.length || console.warn( `No emitted event found. Please check component: ${t == null ? void 0 : t.type.__name}` ), n == null || n.forEach((a) => { - o[Zr(qn(a))] = (...r) => e(a, ...r); + o[fs(qn(a))] = (...r) => e(a, ...r); }), o; } -let Eo = 0; -function ha() { - we((e) => { - if (!Je) +let Ro = 0; +function xa() { + be((e) => { + if (!Ze) return; const t = document.querySelectorAll("[data-radix-focus-guard]"); document.body.insertAdjacentElement( "afterbegin", - t[0] ?? yr() + t[0] ?? Ir() ), document.body.insertAdjacentElement( "beforeend", - t[1] ?? yr() - ), Eo++, e(() => { - Eo === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((n) => n.remove()), Eo--; + t[1] ?? Ir() + ), Ro++, e(() => { + Ro === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((n) => n.remove()), Ro--; }); }); } -function yr() { +function Ir() { const e = document.createElement("span"); return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e; } -function no(e) { +function to(e) { return S(() => { var t; - return st(e) ? !!((t = Le(e)) != null && t.closest("form")) : !0; + return at(e) ? !!((t = Ve(e)) != null && t.closest("form")) : !0; }); } -function Se(e) { - const t = Fe(), n = Object.keys((t == null ? void 0 : t.type.props) ?? {}).reduce((a, r) => { +function $e(e) { + const t = Re(), n = Object.keys((t == null ? void 0 : t.type.props) ?? {}).reduce((a, r) => { const l = (t == null ? void 0 : t.type.props[r]).default; return l !== void 0 && (a[r] = l), a; - }, {}), o = qr(e); + }, {}), o = ds(e); return S(() => { const a = {}, r = (t == null ? void 0 : t.vnode.props) ?? {}; return Object.keys(r).forEach((l) => { @@ -4005,17 +4066,17 @@ function Se(e) { }), Object.keys({ ...n, ...a }).reduce((l, i) => (o.value[i] !== void 0 && (l[i] = o.value[i]), l), {}); }); } -function Z(e, t) { - const n = Se(e), o = t ? bt(t) : {}; +function Q(e, t) { + const n = $e(e), o = t ? gt(t) : {}; return S(() => ({ ...n.value, ...o })); } -function M() { - const e = Fe(), t = T(), n = S(() => { +function R() { + const e = Re(), t = T(), n = S(() => { var l, i; - return ["#text", "#comment"].includes((l = t.value) == null ? void 0 : l.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : Le(t); + return ["#text", "#comment"].includes((l = t.value) == null ? void 0 : l.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : Ve(t); }), o = Object.assign({}, e.exposed), a = {}; for (const l in e.props) Object.defineProperty(a, l, { @@ -4044,16 +4105,16 @@ function M() { } return { forwardRef: r, currentRef: t, currentElement: n }; } -function Vu(e, t) { - const n = Ss(!1, 300), o = T(null), a = gu(); +function Hu(e, t) { + const n = Is(!1, 300), o = T(null), a = _u(); function r() { o.value = null, n.value = !1; } function l(i, u) { - const d = i.currentTarget, c = { x: i.clientX, y: i.clientY }, p = Lu(c, d.getBoundingClientRect()), m = zu(c, p), f = Nu(u.getBoundingClientRect()), v = Ku([...m, ...f]); + const d = i.currentTarget, c = { x: i.clientX, y: i.clientY }, p = Uu(c, d.getBoundingClientRect()), m = Wu(c, p), f = qu(u.getBoundingClientRect()), v = Yu([...m, ...f]); o.value = v, n.value = !0; } - return we((i) => { + return be((i) => { if (e.value && t.value) { const u = (c) => l(c, t.value), d = (c) => l(c, e.value); e.value.addEventListener("pointerleave", u), t.value.addEventListener("pointerleave", d), i(() => { @@ -4061,14 +4122,14 @@ function Vu(e, t) { (c = e.value) == null || c.removeEventListener("pointerleave", u), (p = t.value) == null || p.removeEventListener("pointerleave", d); }); } - }), we((i) => { + }), be((i) => { var u; if (o.value) { const d = (c) => { var p, m; if (!o.value) return; - const f = c.target, v = { x: c.clientX, y: c.clientY }, g = ((p = e.value) == null ? void 0 : p.contains(f)) || ((m = t.value) == null ? void 0 : m.contains(f)), b = !ju(v, o.value), w = !!f.closest("[data-grace-area-trigger]"); + const f = c.target, v = { x: c.clientX, y: c.clientY }, g = ((p = e.value) == null ? void 0 : p.contains(f)) || ((m = t.value) == null ? void 0 : m.contains(f)), b = !Gu(v, o.value), w = !!f.closest("[data-grace-area-trigger]"); g ? r() : (b || w) && (r(), a.trigger()); }; (u = e.value) == null || u.ownerDocument.addEventListener("pointermove", d), i(() => { @@ -4081,7 +4142,7 @@ function Vu(e, t) { onPointerExit: a.on }; } -function Lu(e, t) { +function Uu(e, t) { const n = Math.abs(t.top - e.y), o = Math.abs(t.bottom - e.y), a = Math.abs(t.right - e.x), r = Math.abs(t.left - e.x); switch (Math.min(n, o, a, r)) { case r: @@ -4096,7 +4157,7 @@ function Lu(e, t) { throw new Error("unreachable"); } } -function zu(e, t, n = 5) { +function Wu(e, t, n = 5) { const o = []; switch (t) { case "top": @@ -4126,7 +4187,7 @@ function zu(e, t, n = 5) { } return o; } -function Nu(e) { +function qu(e) { const { top: t, right: n, bottom: o, left: a } = e; return [ { x: a, y: t }, @@ -4135,7 +4196,7 @@ function Nu(e) { { x: a, y: o } ]; } -function ju(e, t) { +function Gu(e, t) { const { x: n, y: o } = e; let a = !1; for (let r = 0, l = t.length - 1; r < t.length; l = r++) { @@ -4144,11 +4205,11 @@ function ju(e, t) { } return a; } -function Ku(e) { +function Yu(e) { const t = e.slice(); - return t.sort((n, o) => n.x < o.x ? -1 : n.x > o.x ? 1 : n.y < o.y ? -1 : n.y > o.y ? 1 : 0), Hu(t); + return t.sort((n, o) => n.x < o.x ? -1 : n.x > o.x ? 1 : n.y < o.y ? -1 : n.y > o.y ? 1 : 0), Xu(t); } -function Hu(e) { +function Xu(e) { if (e.length <= 1) return e.slice(); const t = []; @@ -4176,26 +4237,26 @@ function Hu(e) { } return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n); } -var Uu = function(e) { +var Qu = function(e) { if (typeof document > "u") return null; var t = Array.isArray(e) ? e[0] : e; return t.ownerDocument.body; -}, Ft = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap(), Dn = {}, Ao = 0, Ts = function(e) { - return e && (e.host || Ts(e.parentNode)); -}, Wu = function(e, t) { +}, It = /* @__PURE__ */ new WeakMap(), En = /* @__PURE__ */ new WeakMap(), Tn = {}, Fo = 0, Ls = function(e) { + return e && (e.host || Ls(e.parentNode)); +}, Zu = function(e, t) { return t.map(function(n) { if (e.contains(n)) return n; - var o = Ts(n); + var o = Ls(n); return o && e.contains(o) ? o : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null); }).filter(function(n) { return !!n; }); -}, Gu = function(e, t, n, o) { - var a = Wu(t, Array.isArray(e) ? e : [e]); - Dn[n] || (Dn[n] = /* @__PURE__ */ new WeakMap()); - var r = Dn[n], l = [], i = /* @__PURE__ */ new Set(), u = new Set(a), d = function(p) { +}, Ju = function(e, t, n, o) { + var a = Zu(t, Array.isArray(e) ? e : [e]); + Tn[n] || (Tn[n] = /* @__PURE__ */ new WeakMap()); + var r = Tn[n], l = [], i = /* @__PURE__ */ new Set(), u = new Set(a), d = function(p) { !p || i.has(p) || (i.add(p), d(p.parentNode)); }; a.forEach(d); @@ -4205,40 +4266,40 @@ var Uu = function(e) { c(m); else try { - var f = m.getAttribute(o), v = f !== null && f !== "false", g = (Ft.get(m) || 0) + 1, b = (r.get(m) || 0) + 1; - Ft.set(m, g), r.set(m, b), l.push(m), g === 1 && v && Tn.set(m, !0), b === 1 && m.setAttribute(n, "true"), v || m.setAttribute(o, "true"); + var f = m.getAttribute(o), v = f !== null && f !== "false", g = (It.get(m) || 0) + 1, b = (r.get(m) || 0) + 1; + It.set(m, g), r.set(m, b), l.push(m), g === 1 && v && En.set(m, !0), b === 1 && m.setAttribute(n, "true"), v || m.setAttribute(o, "true"); } catch (w) { console.error("aria-hidden: cannot operate on ", m, w); } }); }; - return c(t), i.clear(), Ao++, function() { + return c(t), i.clear(), Fo++, function() { l.forEach(function(p) { - var m = Ft.get(p) - 1, f = r.get(p) - 1; - Ft.set(p, m), r.set(p, f), m || (Tn.has(p) || p.removeAttribute(o), Tn.delete(p)), f || p.removeAttribute(n); - }), Ao--, Ao || (Ft = /* @__PURE__ */ new WeakMap(), Ft = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap(), Dn = {}); + var m = It.get(p) - 1, f = r.get(p) - 1; + It.set(p, m), r.set(p, f), m || (En.has(p) || p.removeAttribute(o), En.delete(p)), f || p.removeAttribute(n); + }), Fo--, Fo || (It = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), En = /* @__PURE__ */ new WeakMap(), Tn = {}); }; -}, qu = function(e, t, n) { +}, ed = function(e, t, n) { n === void 0 && (n = "data-aria-hidden"); - var o = Array.from(Array.isArray(e) ? e : [e]), a = Uu(e); - return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), Gu(o, a, n, "aria-hidden")) : function() { + var o = Array.from(Array.isArray(e) ? e : [e]), a = Qu(e); + return a ? (o.push.apply(o, Array.from(a.querySelectorAll("[aria-live]"))), Ju(o, a, n, "aria-hidden")) : function() { return null; }; }; -function _n(e) { +function bn(e) { let t; - X(() => Le(e), (n) => { - n ? t = qu(n) : t && t(); - }), ze(() => { + X(() => Ve(e), (n) => { + n ? t = ed(n) : t && t(); + }), Le(() => { t && t(); }); } -let Yu = 0; -function Ce(e, t = "radix") { - const n = to({ useId: void 0 }); - return Ln.useId ? `${t}-${Ln.useId()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++Yu}`; +let td = 0; +function _e(e, t = "radix") { + const n = eo({ useId: void 0 }); + return Vn.useId ? `${t}-${Vn.useId()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++td}`; } -function Ds(e) { +function zs(e) { const t = T(), n = S(() => { var a; return ((a = t.value) == null ? void 0 : a.width) ?? 0; @@ -4246,8 +4307,8 @@ function Ds(e) { var a; return ((a = t.value) == null ? void 0 : a.height) ?? 0; }); - return se(() => { - const a = Le(e); + return re(() => { + const a = Ve(e); if (a) { t.value = { width: a.offsetWidth, height: a.offsetHeight }; const r = new ResizeObserver((l) => { @@ -4270,7 +4331,7 @@ function Ds(e) { height: o }; } -function Xu(e, t) { +function nd(e, t) { const n = T(e); function o(a) { return t[n.value][a] ?? n.value; @@ -4282,22 +4343,22 @@ function Xu(e, t) { } }; } -const Zu = "data-item-text"; -function ya(e) { - const t = Ss("", 1e3); +const od = "data-item-text"; +function _a(e) { + const t = Is("", 1e3); return { search: t, handleTypeaheadSearch: (n, o) => { if (!(e != null && e.value) && !o) return; t.value = t.value + n; - const a = (e == null ? void 0 : e.value) ?? o, r = $e(), l = a.map((p) => { + const a = (e == null ? void 0 : e.value) ?? o, r = Be(), l = a.map((p) => { var m; return { ref: p, - textValue: ((m = (p.querySelector(`[${Zu}]`) ?? p).textContent) == null ? void 0 : m.trim()) ?? "" + textValue: ((m = (p.querySelector(`[${od}]`) ?? p).textContent) == null ? void 0 : m.trim()) ?? "" }; - }), i = l.find((p) => p.ref === r), u = l.map((p) => p.textValue), d = Ju(u, t.value, i == null ? void 0 : i.textValue), c = l.find((p) => p.textValue === d); + }), i = l.find((p) => p.ref === r), u = l.map((p) => p.textValue), d = rd(u, t.value, i == null ? void 0 : i.textValue), c = l.find((p) => p.textValue === d); return c && c.ref.focus(), c == null ? void 0 : c.ref; }, resetTypeahead: () => { @@ -4305,19 +4366,19 @@ function ya(e) { } }; } -function Qu(e, t) { +function ad(e, t) { return e.map((n, o) => e[(t + o) % e.length]); } -function Ju(e, t, n) { +function rd(e, t, n) { const o = t.length > 1 && Array.from(t).every((i) => i === t[0]) ? t[0] : t, a = n ? e.indexOf(n) : -1; - let r = Qu(e, Math.max(a, 0)); + let r = ad(e, Math.max(a, 0)); o.length === 1 && (r = r.filter((i) => i !== n)); const l = r.find( (i) => i.toLowerCase().startsWith(o.toLowerCase()) ); return l !== n ? l : void 0; } -const ba = x({ +const Ca = x({ name: "PrimitiveSlot", inheritAttrs: !1, setup(e, { attrs: t, slots: n }) { @@ -4325,14 +4386,14 @@ const ba = x({ var o, a; if (!n.default) return null; - const r = eo(n.default()), l = r.findIndex((c) => c.type !== na); + const r = Jn(n.default()), l = r.findIndex((c) => c.type !== ia); if (l === -1) return r; const i = r[l]; (o = i.props) == null || delete o.ref; const u = i.props ? D(t, i.props) : t; t.class && (a = i.props) != null && a.class && delete i.props.class; - const d = Jr(i, u); + const d = vs(i, u); for (const c in u) c.startsWith("on") && (d.props || (d.props = {}), d.props[c] = u[c]); return r.length === 1 ? d : (r[l] = d, r); @@ -4353,20 +4414,20 @@ const ba = x({ }, setup(e, { attrs: t, slots: n }) { const o = e.asChild ? "template" : e.as; - return typeof o == "string" && ["area", "img", "input"].includes(o) ? () => Oe(o, t) : o !== "template" ? () => Oe(e.as, t, { default: n.default }) : () => Oe(ba, t, { default: n.default }); + return typeof o == "string" && ["area", "img", "input"].includes(o) ? () => ke(o, t) : o !== "template" ? () => ke(e.as, t, { default: n.default }) : () => ke(Ca, t, { default: n.default }); } }); -function Ps() { +function Ns() { const e = T(), t = S(() => { var n, o; - return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : Le(e); + return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : Ve(e); }); return { primitiveElement: e, currentElement: t }; } -const [Is, ed] = oe("CollapsibleRoot"), td = /* @__PURE__ */ x({ +const [js, sd] = ne("CollapsibleRoot"), ld = /* @__PURE__ */ x({ __name: "CollapsibleRoot", props: { defaultOpen: { type: Boolean, default: !1 }, @@ -4377,18 +4438,18 @@ const [Is, ed] = oe("CollapsibleRoot"), td = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { expose: t, emit: n }) { - const o = e, a = ge(o, "open", n, { + const o = e, a = ve(o, "open", n, { defaultValue: o.defaultOpen, passive: o.open === void 0 - }), r = ge(o, "disabled"); - return ed({ + }), r = ve(o, "disabled"); + return sd({ contentId: "", disabled: r, open: a, onOpenToggle: () => { a.value = !a.value; } - }), t({ open: a }), M(), (l, i) => (h(), C(s(K), { + }), t({ open: a }), R(), (l, i) => (h(), C(s(K), { as: l.as, "as-child": o.asChild, "data-state": s(a) ? "open" : "closed", @@ -4400,7 +4461,7 @@ const [Is, ed] = oe("CollapsibleRoot"), td = /* @__PURE__ */ x({ _: 3 }, 8, ["as", "as-child", "data-state", "data-disabled"])); } -}), nd = /* @__PURE__ */ x({ +}), id = /* @__PURE__ */ x({ __name: "CollapsibleTrigger", props: { asChild: { type: Boolean }, @@ -4408,8 +4469,8 @@ const [Is, ed] = oe("CollapsibleRoot"), td = /* @__PURE__ */ x({ }, setup(e) { const t = e; - M(); - const n = Is(); + R(); + const n = js(); return (o, a) => { var r, l; return h(), C(s(K), { @@ -4431,11 +4492,11 @@ const [Is, ed] = oe("CollapsibleRoot"), td = /* @__PURE__ */ x({ }; } }); -function od(e, t) { +function ud(e, t) { var n; const o = T({}), a = T("none"), r = T(e), l = e.value ? "mounted" : "unmounted"; let i; - const u = ((n = t.value) == null ? void 0 : n.ownerDocument.defaultView) ?? wn, { state: d, dispatch: c } = Xu(l, { + const u = ((n = t.value) == null ? void 0 : n.ownerDocument.defaultView) ?? hn, { state: d, dispatch: c } = nd(l, { mounted: { UNMOUNT: "unmounted", ANIMATION_OUT: "unmountSuspended" @@ -4449,7 +4510,7 @@ function od(e, t) { } }), p = (b) => { var w; - if (Je) { + if (Ze) { const B = new CustomEvent(b, { bubbles: !1, cancelable: !1 }); (w = t.value) == null || w.dispatchEvent(B); } @@ -4459,27 +4520,27 @@ function od(e, t) { async (b, w) => { var B; const $ = w !== b; - if (await ae(), $) { - const E = a.value, k = Pn(t.value); - b ? (c("MOUNT"), p("enter"), k === "none" && p("after-enter")) : k === "none" || ((B = o.value) == null ? void 0 : B.display) === "none" ? (c("UNMOUNT"), p("leave"), p("after-leave")) : w && E !== k ? (c("ANIMATION_OUT"), p("leave")) : (c("UNMOUNT"), p("after-leave")); + if (await oe(), $) { + const O = a.value, k = Dn(t.value); + b ? (c("MOUNT"), p("enter"), k === "none" && p("after-enter")) : k === "none" || ((B = o.value) == null ? void 0 : B.display) === "none" ? (c("UNMOUNT"), p("leave"), p("after-leave")) : w && O !== k ? (c("ANIMATION_OUT"), p("leave")) : (c("UNMOUNT"), p("after-leave")); } }, { immediate: !0 } ); const m = (b) => { - const w = Pn(t.value), B = w.includes( + const w = Dn(t.value), B = w.includes( b.animationName ), $ = d.value === "mounted" ? "enter" : "leave"; if (b.target === t.value && B && (p(`after-${$}`), c("ANIMATION_END"), !r.value)) { - const E = t.value.style.animationFillMode; + const O = t.value.style.animationFillMode; t.value.style.animationFillMode = "forwards", i = u == null ? void 0 : u.setTimeout(() => { var k; - ((k = t.value) == null ? void 0 : k.style.animationFillMode) === "forwards" && (t.value.style.animationFillMode = E); + ((k = t.value) == null ? void 0 : k.style.animationFillMode) === "forwards" && (t.value.style.animationFillMode = O); }); } b.target === t.value && w === "none" && c("ANIMATION_END"); }, f = (b) => { - b.target === t.value && (a.value = Pn(t.value)); + b.target === t.value && (a.value = Dn(t.value)); }, v = X( t, (b, w) => { @@ -4487,10 +4548,10 @@ function od(e, t) { }, { immediate: !0 } ), g = X(d, () => { - const b = Pn(t.value); + const b = Dn(t.value); a.value = d.value === "mounted" ? b : "none"; }); - return ze(() => { + return Le(() => { v(), g(); }), { isPresent: S( @@ -4498,10 +4559,10 @@ function od(e, t) { ) }; } -function Pn(e) { +function Dn(e) { return e && getComputedStyle(e).animationName || "none"; } -const Ne = x({ +const ze = x({ name: "Presence", props: { present: { @@ -4515,11 +4576,11 @@ const Ne = x({ slots: {}, setup(e, { slots: t, expose: n }) { var o; - const { present: a, forceMount: r } = pe(e), l = T(), { isPresent: i } = od(a, l); + const { present: a, forceMount: r } = ce(e), l = T(), { isPresent: i } = ud(a, l); n({ present: i }); let u = t.default({ present: i }); - u = eo(u || []); - const d = Fe(); + u = Jn(u || []); + const d = Re(); if (u && (u == null ? void 0 : u.length) > 1) { const c = (o = d == null ? void 0 : d.parent) != null && o.type.name ? `<${d.parent.type.name} />` : "component"; throw new Error( @@ -4537,14 +4598,14 @@ const Ne = x({ `) ); } - return () => r.value || a.value || i.value ? Oe(t.default({ present: i })[0], { + return () => r.value || a.value || i.value ? ke(t.default({ present: i })[0], { ref: (c) => { - const p = Le(c); + const p = Ve(c); return typeof (p == null ? void 0 : p.hasAttribute) > "u" || (p != null && p.hasAttribute("data-radix-popper-content-wrapper") ? l.value = p.firstElementChild : l.value = p), p; } }) : null; } -}), ad = /* @__PURE__ */ x({ +}), dd = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "CollapsibleContent", props: { @@ -4553,16 +4614,16 @@ const Ne = x({ as: {} }, setup(e) { - const t = e, n = Is(); - n.contentId || (n.contentId = Ce(void 0, "radix-vue-collapsible-content")); - const o = T(), { forwardRef: a, currentElement: r } = M(), l = T(0), i = T(0), u = S(() => n.open.value), d = T(u.value), c = T(); + const t = e, n = js(); + n.contentId || (n.contentId = _e(void 0, "radix-vue-collapsible-content")); + const o = T(), { forwardRef: a, currentElement: r } = R(), l = T(0), i = T(0), u = S(() => n.open.value), d = T(u.value), c = T(); return X( () => { var p; return [u.value, (p = o.value) == null ? void 0 : p.present]; }, async () => { - await ae(); + await oe(); const p = r.value; if (!p) return; @@ -4576,11 +4637,11 @@ const Ne = x({ { immediate: !0 } - ), se(() => { + ), re(() => { requestAnimationFrame(() => { d.value = !1; }); - }), (p, m) => (h(), C(s(Ne), { + }), (p, m) => (h(), C(s(ze), { ref_key: "presentRef", ref: o, present: p.forceMount || s(n).open.value, @@ -4589,7 +4650,7 @@ const Ne = x({ default: y(() => { var f, v; return [ - R(s(K), D(p.$attrs, { + M(s(K), D(p.$attrs, { id: s(n).contentId, ref: s(a), "as-child": t.asChild, @@ -4605,7 +4666,7 @@ const Ne = x({ default: y(() => { var g; return [ - (g = o.value) != null && g.present ? _(p.$slots, "default", { key: 0 }) : ce("", !0) + (g = o.value) != null && g.present ? _(p.$slots, "default", { key: 0 }) : de("", !0) ]; }), _: 3 @@ -4616,9 +4677,9 @@ const Ne = x({ }, 8, ["present"])); } }); -function Ms({ type: e, defaultValue: t, modelValue: n }) { +function Ks({ type: e, defaultValue: t, modelValue: n }) { const o = n || t; - if (zt(e) && zt(n) && zt(t)) + if (Ft(e) && Ft(n) && Ft(t)) throw new Error("Either the `type` or the `value` or `default-value` prop must be defined."); if (n !== void 0 && t !== void 0 && typeof n != typeof t) throw new Error( @@ -4639,22 +4700,22 @@ function Ms({ type: e, defaultValue: t, modelValue: n }) { } return a ? Array.isArray(o) ? "multiple" : "single" : e; } -function rd({ type: e, defaultValue: t, modelValue: n }) { - return e || Ms({ type: e, defaultValue: t, modelValue: n }); +function cd({ type: e, defaultValue: t, modelValue: n }) { + return e || Ks({ type: e, defaultValue: t, modelValue: n }); } -function sd({ type: e, defaultValue: t }) { +function pd({ type: e, defaultValue: t }) { return t !== void 0 ? t : e === "single" ? void 0 : []; } -function ld(e, t) { - const n = T(rd(e)), o = ge(e, "modelValue", t, { - defaultValue: sd(e), +function fd(e, t) { + const n = T(cd(e)), o = ve(e, "modelValue", t, { + defaultValue: pd(e), passive: e.modelValue === void 0, deep: !0 }); X( () => [e.type, e.modelValue, e.defaultValue], () => { - const l = Ms(e); + const l = Ks(e); n.value !== l && (n.value = l); }, { immediate: !0 } @@ -4680,7 +4741,7 @@ function ld(e, t) { isSingle: r }; } -const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ +const [no, md] = ne("AccordionRoot"), vd = /* @__PURE__ */ x({ __name: "AccordionRoot", props: { collapsible: { type: Boolean, default: !1 }, @@ -4695,8 +4756,8 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const n = e, o = t, { dir: a, disabled: r } = pe(n), l = yt(a), { modelValue: i, changeModelValue: u, isSingle: d } = ld(n, o), { forwardRef: c, currentElement: p } = M(); - return id({ + const n = e, o = t, { dir: a, disabled: r } = ce(n), l = vt(a), { modelValue: i, changeModelValue: u, isSingle: d } = fd(n, o), { forwardRef: c, currentElement: p } = R(); + return md({ disabled: r, direction: l, orientation: n.orientation, @@ -4716,7 +4777,7 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ _: 3 }, 8, ["as-child", "as"])); } -}), [wa, dd] = oe("AccordionItem"), cd = /* @__PURE__ */ x({ +}), [Ba, gd] = ne("AccordionItem"), hd = /* @__PURE__ */ x({ __name: "AccordionItem", props: { disabled: { type: Boolean }, @@ -4725,15 +4786,15 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ as: {} }, setup(e, { expose: t }) { - const n = e, o = oo(), a = S( + const n = e, o = no(), a = S( () => o.isSingle.value ? n.value === o.modelValue.value : Array.isArray(o.modelValue.value) && o.modelValue.value.includes(n.value) ), r = S(() => o.disabled.value || n.disabled), l = S(() => r.value ? "" : void 0), i = S( () => a.value ? "open" : "closed" /* Closed */ ); t({ open: a, dataDisabled: l }); - const { currentRef: u, currentElement: d } = M(); - dd({ + const { currentRef: u, currentElement: d } = R(); + gd({ open: a, dataState: i, disabled: r, @@ -4748,7 +4809,7 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ const f = p.target; if (Array.from(((m = o.parentElement.value) == null ? void 0 : m.querySelectorAll("[data-radix-vue-collection-item]")) ?? []).findIndex((v) => v === f) === -1) return null; - Os( + Rs( p, d.value, o.parentElement.value, @@ -4759,7 +4820,7 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ } ); } - return (p, m) => (h(), C(s(td), { + return (p, m) => (h(), C(s(ld), { "data-orientation": s(o).orientation, "data-disabled": l.value, "data-state": i.value, @@ -4767,7 +4828,7 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ open: a.value, as: n.as, "as-child": n.asChild, - onKeydown: mt(c, ["up", "down", "left", "right", "home", "end"]) + onKeydown: ct(c, ["up", "down", "left", "right", "home", "end"]) }, { default: y(() => [ _(p.$slots, "default", { open: a.value }) @@ -4775,7 +4836,7 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ _: 3 }, 8, ["data-orientation", "data-disabled", "data-state", "disabled", "open", "as", "as-child"])); } -}), pd = /* @__PURE__ */ x({ +}), yd = /* @__PURE__ */ x({ __name: "AccordionContent", props: { forceMount: { type: Boolean }, @@ -4783,8 +4844,8 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = e, n = oo(), o = wa(); - return M(), (a, r) => (h(), C(s(ad), { + const t = e, n = no(), o = Ba(); + return R(), (a, r) => (h(), C(s(dd), { role: "region", hidden: !s(o).open.value, "as-child": t.asChild, @@ -4801,15 +4862,15 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ _: 3 }, 8, ["hidden", "as-child", "force-mount", "aria-labelledby", "data-state", "data-disabled", "data-orientation"])); } -}), fd = /* @__PURE__ */ x({ +}), bd = /* @__PURE__ */ x({ __name: "AccordionHeader", props: { asChild: { type: Boolean }, as: { default: "h3" } }, setup(e) { - const t = e, n = oo(), o = wa(); - return M(), (a, r) => (h(), C(s(K), { + const t = e, n = no(), o = Ba(); + return R(), (a, r) => (h(), C(s(K), { as: t.as, "as-child": t.asChild, "data-orientation": s(n).orientation, @@ -4822,20 +4883,20 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ _: 3 }, 8, ["as", "as-child", "data-orientation", "data-state", "data-disabled"])); } -}), md = /* @__PURE__ */ x({ +}), wd = /* @__PURE__ */ x({ __name: "AccordionTrigger", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = e, n = oo(), o = wa(); - o.triggerId || (o.triggerId = Ce(void 0, "radix-vue-accordion-trigger")); + const t = e, n = no(), o = Ba(); + o.triggerId || (o.triggerId = _e(void 0, "radix-vue-accordion-trigger")); function a() { const r = n.isSingle.value && o.open.value && !n.collapsible; o.disabled.value || r || n.changeModelValue(o.value.value); } - return (r, l) => (h(), C(s(nd), { + return (r, l) => (h(), C(s(id), { id: s(o).triggerId, ref: s(o).currentRef, "data-radix-vue-collection-item": "", @@ -4855,7 +4916,7 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ _: 3 }, 8, ["id", "as", "as-child", "aria-disabled", "aria-expanded", "data-disabled", "data-orientation", "data-state", "disabled"])); } -}), [et, vd] = oe("DialogRoot"), xa = /* @__PURE__ */ x({ +}), [Je, xd] = ne("DialogRoot"), $a = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "DialogRoot", props: { @@ -4865,11 +4926,11 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const n = e, o = ge(n, "open", t, { + const n = e, o = ve(n, "open", t, { defaultValue: n.defaultOpen, passive: n.open === void 0 - }), a = T(), r = T(), { modal: l } = pe(n); - return vd({ + }), a = T(), r = T(), { modal: l } = ce(n); + return xd({ open: o, modal: l, openModal: () => { @@ -4888,15 +4949,15 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ contentElement: r }), (i, u) => _(i.$slots, "default", { open: s(o) }); } -}), _a = /* @__PURE__ */ x({ +}), Sa = /* @__PURE__ */ x({ __name: "DialogTrigger", props: { asChild: { type: Boolean }, as: { default: "button" } }, setup(e) { - const t = e, n = et(), { forwardRef: o, currentElement: a } = M(); - return n.contentId || (n.contentId = Ce(void 0, "radix-vue-dialog-content")), se(() => { + const t = e, n = Je(), { forwardRef: o, currentElement: a } = R(); + return n.contentId || (n.contentId = _e(void 0, "radix-vue-dialog-content")), re(() => { n.triggerElement.value = a.value; }), (r, l) => (h(), C(s(K), D(t, { ref: s(o), @@ -4913,7 +4974,7 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ _: 3 }, 16, ["type", "aria-expanded", "aria-controls", "data-state", "onClick"])); } -}), qt = /* @__PURE__ */ x({ +}), Ut = /* @__PURE__ */ x({ __name: "Teleport", props: { to: { default: "body" }, @@ -4921,16 +4982,16 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ forceMount: { type: Boolean } }, setup(e) { - const t = ga(); - return (n, o) => s(t) || n.forceMount ? (h(), C(Yn, { + const t = wa(); + return (n, o) => s(t) || n.forceMount ? (h(), C(Gn, { key: 0, to: n.to, disabled: n.disabled }, [ _(n.$slots, "default") - ], 8, ["to", "disabled"])) : ce("", !0); + ], 8, ["to", "disabled"])) : de("", !0); } -}), Ca = /* @__PURE__ */ x({ +}), ka = /* @__PURE__ */ x({ __name: "DialogPortal", props: { to: {}, @@ -4939,15 +5000,15 @@ const [oo, id] = oe("AccordionRoot"), ud = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(qt), U(W(t)), { + return (n, o) => (h(), C(s(Ut), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), gd = "dismissableLayer.pointerDownOutside", hd = "dismissableLayer.focusOutside"; -function Rs(e, t) { +}), _d = "dismissableLayer.pointerDownOutside", Cd = "dismissableLayer.focusOutside"; +function Hs(e, t) { const n = t.closest( "[data-dismissable-layer]" ), o = e.dataset.dismissableLayer === "" ? e : e.querySelector( @@ -4957,24 +5018,24 @@ function Rs(e, t) { ); return !!(n && o === n || a.indexOf(o) < a.indexOf(n)); } -function yd(e, t) { +function Bd(e, t) { var n; const o = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), a = T(!1), r = T(() => { }); - return we((l) => { - if (!Je) + return be((l) => { + if (!Ze) return; const i = async (d) => { const c = d.target; if (t != null && t.value) { - if (Rs(t.value, c)) { + if (Hs(t.value, c)) { a.value = !1; return; } if (d.target && !a.value) { let p = function() { - fa( - gd, + ha( + _d, e, m ); @@ -4997,15 +5058,15 @@ function yd(e, t) { onPointerDownCapture: () => a.value = !0 }; } -function bd(e, t) { +function $d(e, t) { var n; const o = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), a = T(!1); - return we((r) => { - if (!Je) + return be((r) => { + if (!Ze) return; const l = async (i) => { - t != null && t.value && (await ae(), !(!t.value || Rs(t.value, i.target)) && i.target && !a.value && fa( - hd, + t != null && t.value && (await oe(), !(!t.value || Hs(t.value, i.target)) && i.target && !a.value && ha( + Cd, e, { originalEvent: i } )); @@ -5016,11 +5077,11 @@ function bd(e, t) { onBlurCapture: () => a.value = !1 }; } -const Ke = Qr({ +const je = ms({ layersRoot: /* @__PURE__ */ new Set(), layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(), branches: /* @__PURE__ */ new Set() -}), Yt = /* @__PURE__ */ x({ +}), Wt = /* @__PURE__ */ x({ __name: "DismissableLayer", props: { disableOutsidePointerEvents: { type: Boolean, default: !1 }, @@ -5029,42 +5090,42 @@ const Ke = Qr({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "dismiss"], setup(e, { emit: t }) { - const n = e, o = t, { forwardRef: a, currentElement: r } = M(), l = S( + const n = e, o = t, { forwardRef: a, currentElement: r } = R(), l = S( () => { var v; return ((v = r.value) == null ? void 0 : v.ownerDocument) ?? globalThis.document; } - ), i = S(() => Ke.layersRoot), u = S(() => r.value ? Array.from(i.value).indexOf(r.value) : -1), d = S(() => Ke.layersWithOutsidePointerEventsDisabled.size > 0), c = S(() => { - const v = Array.from(i.value), [g] = [...Ke.layersWithOutsidePointerEventsDisabled].slice(-1), b = v.indexOf(g); + ), i = S(() => je.layersRoot), u = S(() => r.value ? Array.from(i.value).indexOf(r.value) : -1), d = S(() => je.layersWithOutsidePointerEventsDisabled.size > 0), c = S(() => { + const v = Array.from(i.value), [g] = [...je.layersWithOutsidePointerEventsDisabled].slice(-1), b = v.indexOf(g); return u.value >= b; - }), p = yd(async (v) => { - const g = [...Ke.branches].some( + }), p = Bd(async (v) => { + const g = [...je.branches].some( (b) => b == null ? void 0 : b.contains(v.target) ); - !c.value || g || (o("pointerDownOutside", v), o("interactOutside", v), await ae(), v.defaultPrevented || o("dismiss")); - }, r), m = bd((v) => { - [...Ke.branches].some( + !c.value || g || (o("pointerDownOutside", v), o("interactOutside", v), await oe(), v.defaultPrevented || o("dismiss")); + }, r), m = $d((v) => { + [...je.branches].some( (g) => g == null ? void 0 : g.contains(v.target) ) || (o("focusOutside", v), o("interactOutside", v), v.defaultPrevented || o("dismiss")); }, r); - va("Escape", (v) => { + ba("Escape", (v) => { u.value === i.value.size - 1 && (o("escapeKeyDown", v), v.defaultPrevented || o("dismiss")); }); let f; - return we((v) => { - r.value && (n.disableOutsidePointerEvents && (Ke.layersWithOutsidePointerEventsDisabled.size === 0 && (f = l.value.body.style.pointerEvents, l.value.body.style.pointerEvents = "none"), Ke.layersWithOutsidePointerEventsDisabled.add(r.value)), i.value.add(r.value), v(() => { - n.disableOutsidePointerEvents && Ke.layersWithOutsidePointerEventsDisabled.size === 1 && (l.value.body.style.pointerEvents = f); + return be((v) => { + r.value && (n.disableOutsidePointerEvents && (je.layersWithOutsidePointerEventsDisabled.size === 0 && (f = l.value.body.style.pointerEvents, l.value.body.style.pointerEvents = "none"), je.layersWithOutsidePointerEventsDisabled.add(r.value)), i.value.add(r.value), v(() => { + n.disableOutsidePointerEvents && je.layersWithOutsidePointerEventsDisabled.size === 1 && (l.value.body.style.pointerEvents = f); })); - }), we((v) => { + }), be((v) => { v(() => { - r.value && (i.value.delete(r.value), Ke.layersWithOutsidePointerEventsDisabled.delete(r.value)); + r.value && (i.value.delete(r.value), je.layersWithOutsidePointerEventsDisabled.delete(r.value)); }); }), (v, g) => (h(), C(s(K), { ref: s(a), "as-child": v.asChild, as: v.as, "data-dismissable-layer": "", - style: Ot({ + style: Bt({ pointerEvents: d.value ? c.value ? "auto" : "none" : void 0 }), onFocusCapture: s(m).onFocusCapture, @@ -5077,18 +5138,18 @@ const Ke = Qr({ _: 3 }, 8, ["as-child", "as", "style", "onFocusCapture", "onBlurCapture", "onPointerdownCapture"])); } -}), wd = /* @__PURE__ */ x({ +}), Sd = /* @__PURE__ */ x({ __name: "DismissableLayerBranch", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = e, { forwardRef: n, currentElement: o } = M(); - return se(() => { - Ke.branches.add(o.value); - }), ze(() => { - Ke.branches.delete(o.value); + const t = e, { forwardRef: n, currentElement: o } = R(); + return re(() => { + je.branches.add(o.value); + }), Le(() => { + je.branches.delete(o.value); }), (a, r) => (h(), C(s(K), D({ ref: s(n) }, t), { default: y(() => [ _(a.$slots, "default") @@ -5096,18 +5157,18 @@ const Ke = Qr({ _: 3 }, 16)); } -}), To = "focusScope.autoFocusOnMount", Do = "focusScope.autoFocusOnUnmount", br = { bubbles: !1, cancelable: !0 }; -function Vn(e, { select: t = !1 } = {}) { - const n = $e(); +}), Vo = "focusScope.autoFocusOnMount", Lo = "focusScope.autoFocusOnUnmount", Mr = { bubbles: !1, cancelable: !0 }; +function Fn(e, { select: t = !1 } = {}) { + const n = Be(); for (const o of e) - if (ft(o, { select: t }), $e() !== n) + if (dt(o, { select: t }), Be() !== n) return !0; } -function xd(e) { - const t = Ba(e), n = wr(t, e), o = wr(t.reverse(), e); +function kd(e) { + const t = Oa(e), n = Rr(t, e), o = Rr(t.reverse(), e); return [n, o]; } -function Ba(e) { +function Oa(e) { const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (o) => { const a = o.tagName === "INPUT" && o.type === "hidden"; @@ -5117,12 +5178,12 @@ function Ba(e) { for (; n.nextNode(); ) t.push(n.currentNode); return t; } -function wr(e, t) { +function Rr(e, t) { for (const n of e) - if (!_d(n, { upTo: t })) + if (!Od(n, { upTo: t })) return n; } -function _d(e, { upTo: t }) { +function Od(e, { upTo: t }) { if (getComputedStyle(e).visibility === "hidden") return !0; for (; e; ) { @@ -5134,37 +5195,37 @@ function _d(e, { upTo: t }) { } return !1; } -function Cd(e) { +function Ad(e) { return e instanceof HTMLInputElement && "select" in e; } -function ft(e, { select: t = !1 } = {}) { +function dt(e, { select: t = !1 } = {}) { if (e && e.focus) { - const n = $e(); - e.focus({ preventScroll: !0 }), e !== n && Cd(e) && t && e.select(); + const n = Be(); + e.focus({ preventScroll: !0 }), e !== n && Ad(e) && t && e.select(); } } -const Bd = hu(() => T([])); -function $d() { - const e = Bd(); +const Ed = Cu(() => T([])); +function Td() { + const e = Ed(); return { add(t) { const n = e.value[0]; - t !== n && (n == null || n.pause()), e.value = xr(e.value, t), e.value.unshift(t); + t !== n && (n == null || n.pause()), e.value = Fr(e.value, t), e.value.unshift(t); }, remove(t) { var n; - e.value = xr(e.value, t), (n = e.value[0]) == null || n.resume(); + e.value = Fr(e.value, t), (n = e.value[0]) == null || n.resume(); } }; } -function xr(e, t) { +function Fr(e, t) { const n = [...e], o = n.indexOf(t); return o !== -1 && n.splice(o, 1), n; } -function Sd(e) { +function Dd(e) { return e.filter((t) => t.tagName !== "A"); } -const ao = /* @__PURE__ */ x({ +const oo = /* @__PURE__ */ x({ __name: "FocusScope", props: { loop: { type: Boolean, default: !1 }, @@ -5174,7 +5235,7 @@ const ao = /* @__PURE__ */ x({ }, emits: ["mountAutoFocus", "unmountAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, { currentRef: a, currentElement: r } = M(), l = T(null), i = $d(), u = Qr({ + const n = e, o = t, { currentRef: a, currentElement: r } = R(), l = T(null), i = Td(), u = ms({ paused: !1, pause() { this.paused = !0; @@ -5183,8 +5244,8 @@ const ao = /* @__PURE__ */ x({ this.paused = !1; } }); - we((c) => { - if (!Je) + be((c) => { + if (!Ze) return; const p = r.value; if (!n.trapped) @@ -5193,51 +5254,51 @@ const ao = /* @__PURE__ */ x({ if (u.paused || !p) return; const w = b.target; - p.contains(w) ? l.value = w : ft(l.value, { select: !0 }); + p.contains(w) ? l.value = w : dt(l.value, { select: !0 }); } function f(b) { if (u.paused || !p) return; const w = b.relatedTarget; - w !== null && (p.contains(w) || ft(l.value, { select: !0 })); + w !== null && (p.contains(w) || dt(l.value, { select: !0 })); } function v(b) { - p.contains(l.value) || ft(p); + p.contains(l.value) || dt(p); } document.addEventListener("focusin", m), document.addEventListener("focusout", f); const g = new MutationObserver(v); p && g.observe(p, { childList: !0, subtree: !0 }), c(() => { document.removeEventListener("focusin", m), document.removeEventListener("focusout", f), g.disconnect(); }); - }), we(async (c) => { + }), be(async (c) => { const p = r.value; - if (await ae(), !p) + if (await oe(), !p) return; i.add(u); - const m = $e(); + const m = Be(); if (!p.contains(m)) { - const f = new CustomEvent(To, br); - p.addEventListener(To, (v) => o("mountAutoFocus", v)), p.dispatchEvent(f), f.defaultPrevented || (Vn(Sd(Ba(p)), { + const f = new CustomEvent(Vo, Mr); + p.addEventListener(Vo, (v) => o("mountAutoFocus", v)), p.dispatchEvent(f), f.defaultPrevented || (Fn(Dd(Oa(p)), { select: !0 - }), $e() === m && ft(p)); + }), Be() === m && dt(p)); } c(() => { - p.removeEventListener(To, (g) => o("mountAutoFocus", g)); - const f = new CustomEvent(Do, br), v = (g) => { + p.removeEventListener(Vo, (g) => o("mountAutoFocus", g)); + const f = new CustomEvent(Lo, Mr), v = (g) => { o("unmountAutoFocus", g); }; - p.addEventListener(Do, v), p.dispatchEvent(f), setTimeout(() => { - f.defaultPrevented || ft(m ?? document.body, { select: !0 }), p.removeEventListener(Do, v), i.remove(u); + p.addEventListener(Lo, v), p.dispatchEvent(f), setTimeout(() => { + f.defaultPrevented || dt(m ?? document.body, { select: !0 }), p.removeEventListener(Lo, v), i.remove(u); }, 0); }); }); function d(c) { if (!n.loop && !n.trapped || u.paused) return; - const p = c.key === "Tab" && !c.altKey && !c.ctrlKey && !c.metaKey, m = $e(); + const p = c.key === "Tab" && !c.altKey && !c.ctrlKey && !c.metaKey, m = Be(); if (p && m) { - const f = c.currentTarget, [v, g] = xd(f); - v && g ? !c.shiftKey && m === g ? (c.preventDefault(), n.loop && ft(v, { select: !0 })) : c.shiftKey && m === v && (c.preventDefault(), n.loop && ft(g, { select: !0 })) : m === f && c.preventDefault(); + const f = c.currentTarget, [v, g] = kd(f); + v && g ? !c.shiftKey && m === g ? (c.preventDefault(), n.loop && dt(v, { select: !0 })) : c.shiftKey && m === v && (c.preventDefault(), n.loop && dt(g, { select: !0 })) : m === f && c.preventDefault(); } } return (c, p) => (h(), C(s(K), { @@ -5254,29 +5315,29 @@ const ao = /* @__PURE__ */ x({ _: 3 }, 8, ["as-child", "as"])); } -}), kd = "menu.itemSelect", jo = ["Enter", " "], Od = ["ArrowDown", "PageUp", "Home"], Fs = ["ArrowUp", "PageDown", "End"], Ed = [...Od, ...Fs], Ad = { - ltr: [...jo, "ArrowRight"], - rtl: [...jo, "ArrowLeft"] -}, Td = { +}), Pd = "menu.itemSelect", Go = ["Enter", " "], Id = ["ArrowDown", "PageUp", "Home"], Us = ["ArrowUp", "PageDown", "End"], Md = [...Id, ...Us], Rd = { + ltr: [...Go, "ArrowRight"], + rtl: [...Go, "ArrowLeft"] +}, Fd = { ltr: ["ArrowLeft"], rtl: ["ArrowRight"] }; -function $a(e) { +function Aa(e) { return e ? "open" : "closed"; } -function Un(e) { +function Hn(e) { return e === "indeterminate"; } -function Sa(e) { - return Un(e) ? "indeterminate" : e ? "checked" : "unchecked"; +function Ea(e) { + return Hn(e) ? "indeterminate" : e ? "checked" : "unchecked"; } -function Ko(e) { - const t = $e(); +function Yo(e) { + const t = Be(); for (const n of e) - if (n === t || (n.focus(), $e() !== t)) + if (n === t || (n.focus(), Be() !== t)) return; } -function Dd(e, t) { +function Vd(e, t) { const { x: n, y: o } = e; let a = !1; for (let r = 0, l = t.length - 1; r < t.length; l = r++) { @@ -5285,19 +5346,19 @@ function Dd(e, t) { } return a; } -function Pd(e, t) { +function Ld(e, t) { if (!t) return !1; const n = { x: e.clientX, y: e.clientY }; - return Dd(n, t); + return Vd(n, t); } -function pn(e) { +function un(e) { return e.pointerType === "mouse"; } -const Id = "DialogTitle", Md = "DialogContent"; -function Rd({ - titleName: e = Id, - contentName: t = Md, +const zd = "DialogTitle", Nd = "DialogContent"; +function jd({ + titleName: e = zd, + contentName: t = Nd, componentLink: n = "dialog.html#title", titleId: o, descriptionId: a, @@ -5308,14 +5369,14 @@ function Rd({ If you want to hide the \`${e}\`, you can wrap it with our VisuallyHidden component. For more information, see https://www.radix-vue.com/components/${n}`, i = `Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${t}.`; - se(() => { + re(() => { var u; document.getElementById(o) || console.warn(l); const d = (u = r.value) == null ? void 0 : u.getAttribute("aria-describedby"); a && d && (document.getElementById(a) || console.warn(i)); }); } -const Vs = /* @__PURE__ */ x({ +const Ws = /* @__PURE__ */ x({ __name: "DialogContentImpl", props: { forceMount: { type: Boolean }, @@ -5326,17 +5387,17 @@ const Vs = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = et(), { forwardRef: r, currentElement: l } = M(); - return a.titleId || (a.titleId = Ce(void 0, "radix-vue-dialog-title")), a.descriptionId || (a.descriptionId = Ce(void 0, "radix-vue-dialog-description")), se(() => { - a.contentElement = l, $e() !== document.body && (a.triggerElement.value = $e()); - }), process.env.NODE_ENV !== "production" && Rd({ + const n = e, o = t, a = Je(), { forwardRef: r, currentElement: l } = R(); + return a.titleId || (a.titleId = _e(void 0, "radix-vue-dialog-title")), a.descriptionId || (a.descriptionId = _e(void 0, "radix-vue-dialog-description")), re(() => { + a.contentElement = l, Be() !== document.body && (a.triggerElement.value = Be()); + }), process.env.NODE_ENV !== "production" && jd({ titleName: "DialogTitle", contentName: "DialogContent", componentLink: "dialog.html#title", titleId: a.titleId, descriptionId: a.descriptionId, contentElement: l - }), (i, u) => (h(), C(s(ao), { + }), (i, u) => (h(), C(s(oo), { "as-child": "", loop: "", trapped: n.trapFocus, @@ -5344,7 +5405,7 @@ const Vs = /* @__PURE__ */ x({ onUnmountAutoFocus: u[6] || (u[6] = (d) => o("closeAutoFocus", d)) }, { default: y(() => [ - R(s(Yt), D({ + M(s(Wt), D({ id: s(a).contentId, ref: s(r), as: i.as, @@ -5353,7 +5414,7 @@ const Vs = /* @__PURE__ */ x({ role: "dialog", "aria-describedby": s(a).descriptionId, "aria-labelledby": s(a).titleId, - "data-state": s($a)(s(a).open.value) + "data-state": s(Aa)(s(a).open.value) }, i.$attrs, { onDismiss: u[0] || (u[0] = (d) => s(a).onOpenChange(!1)), onEscapeKeyDown: u[1] || (u[1] = (d) => o("escapeKeyDown", d)), @@ -5370,7 +5431,7 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 8, ["trapped"])); } -}), Fd = /* @__PURE__ */ x({ +}), Kd = /* @__PURE__ */ x({ __name: "DialogContentModal", props: { forceMount: { type: Boolean }, @@ -5381,8 +5442,8 @@ const Vs = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = et(), r = bt(o), { forwardRef: l, currentElement: i } = M(); - return _n(i), (u, d) => (h(), C(Vs, D({ ...n, ...s(r) }, { + const n = e, o = t, a = Je(), r = gt(o), { forwardRef: l, currentElement: i } = R(); + return bn(i), (u, d) => (h(), C(Ws, D({ ...n, ...s(r) }, { ref: s(l), "trap-focus": s(a).open.value, "disable-outside-pointer-events": !0, @@ -5404,7 +5465,7 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 16, ["trap-focus"])); } -}), Vd = /* @__PURE__ */ x({ +}), Hd = /* @__PURE__ */ x({ __name: "DialogContentNonModal", props: { forceMount: { type: Boolean }, @@ -5415,10 +5476,10 @@ const Vs = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = bt(t); - M(); - const a = et(), r = T(!1), l = T(!1); - return (i, u) => (h(), C(Vs, D({ ...n, ...s(o) }, { + const n = e, o = gt(t); + R(); + const a = Je(), r = T(!1), l = T(!1); + return (i, u) => (h(), C(Ws, D({ ...n, ...s(o) }, { "trap-focus": !1, "disable-outside-pointer-events": !1, onCloseAutoFocus: u[0] || (u[0] = (d) => { @@ -5438,7 +5499,7 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), ro = /* @__PURE__ */ x({ +}), ao = /* @__PURE__ */ x({ __name: "DialogContent", props: { forceMount: { type: Boolean }, @@ -5449,12 +5510,12 @@ const Vs = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = et(), r = bt(o), { forwardRef: l } = M(); - return (i, u) => (h(), C(s(Ne), { + const n = e, o = t, a = Je(), r = gt(o), { forwardRef: l } = R(); + return (i, u) => (h(), C(s(ze), { present: i.forceMount || s(a).open.value }, { default: y(() => [ - s(a).modal.value ? (h(), C(Fd, D({ + s(a).modal.value ? (h(), C(Kd, D({ key: 0, ref: s(l) }, { ...n, ...s(r), ...i.$attrs }), { @@ -5462,7 +5523,7 @@ const Vs = /* @__PURE__ */ x({ _(i.$slots, "default") ]), _: 3 - }, 16)) : (h(), C(Vd, D({ + }, 16)) : (h(), C(Hd, D({ key: 1, ref: s(l) }, { ...n, ...s(r), ...i.$attrs }), { @@ -5475,15 +5536,15 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), Ld = /* @__PURE__ */ x({ +}), Ud = /* @__PURE__ */ x({ __name: "DialogOverlayImpl", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = et(); - return xn(!0), M(), (n, o) => (h(), C(s(K), { + const t = Je(); + return yn(!0), R(), (n, o) => (h(), C(s(K), { as: n.as, "as-child": n.asChild, "data-state": s(t).open.value ? "open" : "closed", @@ -5495,7 +5556,7 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 8, ["as", "as-child", "data-state"])); } -}), so = /* @__PURE__ */ x({ +}), ro = /* @__PURE__ */ x({ __name: "DialogOverlay", props: { forceMount: { type: Boolean }, @@ -5503,15 +5564,15 @@ const Vs = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = et(), { forwardRef: n } = M(); + const t = Je(), { forwardRef: n } = R(); return (o, a) => { var r; - return (r = s(t)) != null && r.modal.value ? (h(), C(s(Ne), { + return (r = s(t)) != null && r.modal.value ? (h(), C(s(ze), { key: 0, present: o.forceMount || s(t).open.value }, { default: y(() => [ - R(Ld, D(o.$attrs, { + M(Ud, D(o.$attrs, { ref: s(n), as: o.as, "as-child": o.asChild @@ -5523,10 +5584,10 @@ const Vs = /* @__PURE__ */ x({ }, 16, ["as", "as-child"]) ]), _: 3 - }, 8, ["present"])) : ce("", !0); + }, 8, ["present"])) : de("", !0); }; } -}), Tt = /* @__PURE__ */ x({ +}), kt = /* @__PURE__ */ x({ __name: "DialogClose", props: { asChild: { type: Boolean }, @@ -5534,8 +5595,8 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - M(); - const n = et(); + R(); + const n = Je(); return (o, a) => (h(), C(s(K), D(t, { type: o.as === "button" ? "button" : void 0, onClick: a[0] || (a[0] = (r) => s(n).onOpenChange(!1)) @@ -5546,15 +5607,15 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 16, ["type"])); } -}), ka = /* @__PURE__ */ x({ +}), Ta = /* @__PURE__ */ x({ __name: "DialogTitle", props: { asChild: { type: Boolean }, as: { default: "h2" } }, setup(e) { - const t = e, n = et(); - return M(), (o, a) => (h(), C(s(K), D(t, { + const t = e, n = Je(); + return R(), (o, a) => (h(), C(s(K), D(t, { id: s(n).titleId }), { default: y(() => [ @@ -5563,7 +5624,7 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 16, ["id"])); } -}), Oa = /* @__PURE__ */ x({ +}), Da = /* @__PURE__ */ x({ __name: "DialogDescription", props: { asChild: { type: Boolean }, @@ -5571,8 +5632,8 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - M(); - const n = et(); + R(); + const n = Je(); return (o, a) => (h(), C(s(K), D(t, { id: s(n).descriptionId }), { @@ -5582,7 +5643,7 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 16, ["id"])); } -}), zd = /* @__PURE__ */ x({ +}), Wd = /* @__PURE__ */ x({ __name: "AlertDialogRoot", props: { open: { type: Boolean }, @@ -5590,15 +5651,15 @@ const Vs = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const n = Z(e, t); - return M(), (o, a) => (h(), C(s(xa), D(s(n), { modal: !0 }), { + const n = Q(e, t); + return R(), (o, a) => (h(), C(s($a), D(s(n), { modal: !0 }), { default: y(() => [ _(o.$slots, "default") ]), _: 3 }, 16)); } -}), Nd = /* @__PURE__ */ x({ +}), qd = /* @__PURE__ */ x({ __name: "AlertDialogTrigger", props: { asChild: { type: Boolean }, @@ -5606,14 +5667,14 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(_a), U(W(t)), { + return R(), (n, o) => (h(), C(s(Sa), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), jd = /* @__PURE__ */ x({ +}), Gd = /* @__PURE__ */ x({ __name: "AlertDialogPortal", props: { to: {}, @@ -5622,14 +5683,14 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(qt), U(W(t)), { + return (n, o) => (h(), C(s(Ut), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), [Kd, Hd] = oe("AlertDialogContent"), Ud = /* @__PURE__ */ x({ +}), [Yd, Xd] = ne("AlertDialogContent"), Qd = /* @__PURE__ */ x({ __name: "AlertDialogContent", props: { forceMount: { type: Boolean }, @@ -5640,21 +5701,21 @@ const Vs = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = bt(t); - M(); + const n = e, o = gt(t); + R(); const a = T(); - return Hd({ + return Xd({ onCancelElementChange: (r) => { a.value = r; } - }), (r, l) => (h(), C(s(ro), D({ ...n, ...s(o) }, { + }), (r, l) => (h(), C(s(ao), D({ ...n, ...s(o) }, { role: "alertdialog", - onPointerDownOutside: l[0] || (l[0] = Be(() => { + onPointerDownOutside: l[0] || (l[0] = Ce(() => { }, ["prevent"])), - onInteractOutside: l[1] || (l[1] = Be(() => { + onInteractOutside: l[1] || (l[1] = Ce(() => { }, ["prevent"])), onOpenAutoFocus: l[2] || (l[2] = () => { - ae(() => { + oe(() => { var i; (i = a.value) == null || i.focus({ preventScroll: !0 @@ -5668,7 +5729,7 @@ const Vs = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Wd = /* @__PURE__ */ x({ +}), Zd = /* @__PURE__ */ x({ __name: "AlertDialogOverlay", props: { forceMount: { type: Boolean }, @@ -5677,31 +5738,31 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(so), U(W(t)), { + return R(), (n, o) => (h(), C(s(ro), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Gd = /* @__PURE__ */ x({ +}), Jd = /* @__PURE__ */ x({ __name: "AlertDialogCancel", props: { asChild: { type: Boolean }, as: { default: "button" } }, setup(e) { - const t = e, n = Kd(), { forwardRef: o, currentElement: a } = M(); - return se(() => { + const t = e, n = Yd(), { forwardRef: o, currentElement: a } = R(); + return re(() => { n.onCancelElementChange(a.value); - }), (r, l) => (h(), C(s(Tt), D(t, { ref: s(o) }), { + }), (r, l) => (h(), C(s(kt), D(t, { ref: s(o) }), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), qd = /* @__PURE__ */ x({ +}), ec = /* @__PURE__ */ x({ __name: "AlertDialogTitle", props: { asChild: { type: Boolean }, @@ -5709,14 +5770,14 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(ka), U(W(t)), { + return R(), (n, o) => (h(), C(s(Ta), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Yd = /* @__PURE__ */ x({ +}), tc = /* @__PURE__ */ x({ __name: "AlertDialogDescription", props: { asChild: { type: Boolean }, @@ -5724,14 +5785,14 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(Oa), U(W(t)), { + return R(), (n, o) => (h(), C(s(Da), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Xd = /* @__PURE__ */ x({ +}), nc = /* @__PURE__ */ x({ __name: "AlertDialogAction", props: { asChild: { type: Boolean }, @@ -5739,164 +5800,66 @@ const Vs = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(Tt), U(W(t)), { + return R(), (n, o) => (h(), C(s(kt), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), [Ls, Zd] = oe("AvatarRoot"), Qd = /* @__PURE__ */ x({ - __name: "AvatarRoot", +}), [qs, oc] = ne("PopperRoot"), qt = /* @__PURE__ */ x({ + inheritAttrs: !1, + __name: "PopperRoot", + setup(e) { + const t = T(); + return oc({ + anchor: t, + onAnchorChange: (n) => t.value = n + }), (n, o) => _(n.$slots, "default"); + } +}), wn = /* @__PURE__ */ x({ + __name: "PopperAnchor", props: { + element: {}, asChild: { type: Boolean }, - as: { default: "span" } + as: {} }, setup(e) { - return M(), Zd({ - imageLoadingStatus: T("loading") - }), (t, n) => (h(), C(s(K), { - "as-child": t.asChild, - as: t.as + const t = e, { forwardRef: n, currentElement: o } = R(), a = qs(); + return be(() => { + a.onAnchorChange(t.element ?? o.value); + }), (r, l) => (h(), C(s(K), { + ref: s(n), + as: r.as, + "as-child": r.asChild }, { default: y(() => [ - _(t.$slots, "default") + _(r.$slots, "default") ]), _: 3 - }, 8, ["as-child", "as"])); + }, 8, ["as", "as-child"])); } }); -function Jd(e, t) { - const n = T("idle"), o = T(!1), a = (r) => () => { - o.value && (n.value = r); - }; - return se(() => { - o.value = !0, X([() => e.value, () => t == null ? void 0 : t.value], ([r, l]) => { - if (!r) - n.value = "error"; - else { - const i = new window.Image(); - n.value = "loading", i.onload = a("loaded"), i.onerror = a("error"), i.src = r, l && (i.referrerPolicy = l); - } - }, { immediate: !0 }); - }), ze(() => { - o.value = !1; - }), n; -} -const ec = /* @__PURE__ */ x({ - __name: "AvatarImage", - props: { - src: {}, - referrerPolicy: {}, - asChild: { type: Boolean }, - as: { default: "img" } - }, - emits: ["loadingStatusChange"], - setup(e, { emit: t }) { - const n = e, o = t, { src: a, referrerPolicy: r } = pe(n); - M(); - const l = Ls(), i = Jd(a, r); - return X( - i, - (u) => { - o("loadingStatusChange", u), u !== "idle" && (l.imageLoadingStatus.value = u); - }, - { immediate: !0 } - ), (u, d) => Ut((h(), C(s(K), { - role: "img", - "as-child": u.asChild, - as: u.as, - src: s(a), - "referrer-policy": s(r) - }, { - default: y(() => [ - _(u.$slots, "default") - ]), - _: 3 - }, 8, ["as-child", "as", "src", "referrer-policy"])), [ - [ea, s(i) === "loaded"] - ]); - } -}), tc = /* @__PURE__ */ x({ - __name: "AvatarFallback", - props: { - delayMs: { default: 0 }, - asChild: { type: Boolean }, - as: { default: "span" } - }, - setup(e) { - const t = e, n = Ls(); - M(); - const o = T(!1); - let a; - return X(n.imageLoadingStatus, (r) => { - r === "loading" && (o.value = !1, t.delayMs ? a = setTimeout(() => { - o.value = !0, clearTimeout(a); - }, t.delayMs) : o.value = !0); - }, { immediate: !0 }), (r, l) => o.value && s(n).imageLoadingStatus.value !== "loaded" ? (h(), C(s(K), { - key: 0, - "as-child": r.asChild, - as: r.as - }, { - default: y(() => [ - _(r.$slots, "default") - ]), - _: 3 - }, 8, ["as-child", "as"])) : ce("", !0); - } -}), [zs, nc] = oe("PopperRoot"), Xt = /* @__PURE__ */ x({ - inheritAttrs: !1, - __name: "PopperRoot", - setup(e) { - const t = T(); - return nc({ - anchor: t, - onAnchorChange: (n) => t.value = n - }), (n, o) => _(n.$slots, "default"); - } -}), Cn = /* @__PURE__ */ x({ - __name: "PopperAnchor", - props: { - element: {}, - asChild: { type: Boolean }, - as: {} - }, - setup(e) { - const t = e, { forwardRef: n, currentElement: o } = M(), a = zs(); - return we(() => { - a.onAnchorChange(t.element ?? o.value); - }), (r, l) => (h(), C(s(K), { - ref: s(n), - as: r.as, - "as-child": r.asChild - }, { - default: y(() => [ - _(r.$slots, "default") - ]), - _: 3 - }, 8, ["as", "as-child"])); - } -}); -function oc(e) { +function ac(e) { return e !== null; } -function ac(e) { +function rc(e) { return { name: "transformOrigin", options: e, fn(t) { var n, o, a; - const { placement: r, rects: l, middlewareData: i } = t, u = ((n = i.arrow) == null ? void 0 : n.centerOffset) !== 0, d = u ? 0 : e.arrowWidth, c = u ? 0 : e.arrowHeight, [p, m] = Ho(r), f = { start: "0%", center: "50%", end: "100%" }[m], v = (((o = i.arrow) == null ? void 0 : o.x) ?? 0) + d / 2, g = (((a = i.arrow) == null ? void 0 : a.y) ?? 0) + c / 2; + const { placement: r, rects: l, middlewareData: i } = t, u = ((n = i.arrow) == null ? void 0 : n.centerOffset) !== 0, d = u ? 0 : e.arrowWidth, c = u ? 0 : e.arrowHeight, [p, m] = Xo(r), f = { start: "0%", center: "50%", end: "100%" }[m], v = (((o = i.arrow) == null ? void 0 : o.x) ?? 0) + d / 2, g = (((a = i.arrow) == null ? void 0 : a.y) ?? 0) + c / 2; let b = "", w = ""; return p === "bottom" ? (b = u ? f : `${v}px`, w = `${-c}px`) : p === "top" ? (b = u ? f : `${v}px`, w = `${l.floating.height + c}px`) : p === "right" ? (b = `${-c}px`, w = u ? f : `${g}px`) : p === "left" && (b = `${l.floating.width + c}px`, w = u ? f : `${g}px`), { data: { x: b, y: w } }; } }; } -function Ho(e) { +function Xo(e) { const [t, n = "center"] = e.split("-"); return [t, n]; } -const Ns = { +const Gs = { side: "bottom", sideOffset: 0, align: "center", @@ -5909,10 +5872,10 @@ const Ns = { hideWhenDetached: !1, updatePositionStrategy: "optimized", prioritizePosition: !1 -}, [M0, rc] = oe("PopperContent"), Ht = /* @__PURE__ */ x({ +}, [Nh, sc] = ne("PopperContent"), Nt = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "PopperContent", - props: /* @__PURE__ */ ts({ + props: /* @__PURE__ */ hs({ side: {}, sideOffset: {}, align: {}, @@ -5928,129 +5891,129 @@ const Ns = { asChild: { type: Boolean }, as: {} }, { - ...Ns + ...Gs }), emits: ["placed"], setup(e, { emit: t }) { - const n = e, o = t, a = zs(), { forwardRef: r, currentElement: l } = M(), i = T(), u = T(), { width: d, height: c } = Ds(u), p = S( + const n = e, o = t, a = qs(), { forwardRef: r, currentElement: l } = R(), i = T(), u = T(), { width: d, height: c } = zs(u), p = S( () => n.side + (n.align !== "center" ? `-${n.align}` : "") ), m = S(() => typeof n.collisionPadding == "number" ? n.collisionPadding : { top: 0, right: 0, bottom: 0, left: 0, ...n.collisionPadding }), f = S(() => Array.isArray(n.collisionBoundary) ? n.collisionBoundary : [n.collisionBoundary]), v = S(() => ({ padding: m.value, - boundary: f.value.filter(oc), + boundary: f.value.filter(ac), // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries altBoundary: f.value.length > 0 - })), g = vu(() => [ - ou({ + })), g = xu(() => [ + uu({ mainAxis: n.sideOffset + c.value, alignmentAxis: n.alignOffset }), - n.prioritizePosition && n.avoidCollisions && vr({ + n.prioritizePosition && n.avoidCollisions && Tr({ ...v.value }), - n.avoidCollisions && au({ + n.avoidCollisions && du({ mainAxis: !0, crossAxis: !!n.prioritizePosition, - limiter: n.sticky === "partial" ? iu() : void 0, + limiter: n.sticky === "partial" ? mu() : void 0, ...v.value }), - !n.prioritizePosition && n.avoidCollisions && vr({ + !n.prioritizePosition && n.avoidCollisions && Tr({ ...v.value }), - ru({ + cu({ ...v.value, - apply: ({ elements: A, rects: L, availableWidth: F, availableHeight: q }) => { - const { width: G, height: Q } = L.reference, le = A.floating.style; - le.setProperty( + apply: ({ elements: E, rects: L, availableWidth: F, availableHeight: G }) => { + const { width: q, height: Z } = L.reference, se = E.floating.style; + se.setProperty( "--radix-popper-available-width", `${F}px` - ), le.setProperty( + ), se.setProperty( "--radix-popper-available-height", - `${q}px` - ), le.setProperty( - "--radix-popper-anchor-width", `${G}px` - ), le.setProperty( + ), se.setProperty( + "--radix-popper-anchor-width", + `${q}px` + ), se.setProperty( "--radix-popper-anchor-height", - `${Q}px` + `${Z}px` ); } }), - u.value && cu({ element: u.value, padding: n.arrowPadding }), - ac({ + u.value && hu({ element: u.value, padding: n.arrowPadding }), + rc({ arrowWidth: d.value, arrowHeight: c.value }), - n.hideWhenDetached && su({ strategy: "referenceHidden", ...v.value }) - ]), { floatingStyles: b, placement: w, isPositioned: B, middlewareData: $ } = pu( + n.hideWhenDetached && pu({ strategy: "referenceHidden", ...v.value }) + ]), { floatingStyles: b, placement: w, isPositioned: B, middlewareData: $ } = yu( a.anchor, i, { strategy: "fixed", placement: p, - whileElementsMounted: (...A) => nu(...A, { + whileElementsMounted: (...E) => iu(...E, { animationFrame: n.updatePositionStrategy === "always" }), middleware: g } - ), E = S( - () => Ho(w.value)[0] + ), O = S( + () => Xo(w.value)[0] ), k = S( - () => Ho(w.value)[1] + () => Xo(w.value)[1] ); - ei(() => { + li(() => { B.value && o("placed"); }); const P = S( () => { - var A; - return ((A = $.value.arrow) == null ? void 0 : A.centerOffset) !== 0; + var E; + return ((E = $.value.arrow) == null ? void 0 : E.centerOffset) !== 0; } - ), O = T(""); - we(() => { - l.value && (O.value = window.getComputedStyle(l.value).zIndex); + ), A = T(""); + be(() => { + l.value && (A.value = window.getComputedStyle(l.value).zIndex); }); const I = S(() => { - var A; - return ((A = $.value.arrow) == null ? void 0 : A.x) ?? 0; + var E; + return ((E = $.value.arrow) == null ? void 0 : E.x) ?? 0; }), V = S(() => { - var A; - return ((A = $.value.arrow) == null ? void 0 : A.y) ?? 0; + var E; + return ((E = $.value.arrow) == null ? void 0 : E.y) ?? 0; }); - return rc({ - placedSide: E, - onArrowChange: (A) => u.value = A, + return sc({ + placedSide: O, + onArrowChange: (E) => u.value = E, arrowX: I, arrowY: V, shouldHideArrow: P - }), (A, L) => { - var F, q, G; + }), (E, L) => { + var F, G, q; return h(), N("div", { ref_key: "floatingRef", ref: i, "data-radix-popper-content-wrapper": "", - style: Ot({ + style: Bt({ ...s(b), transform: s(B) ? s(b).transform : "translate(0, -200%)", // keep off the page when measuring minWidth: "max-content", - zIndex: O.value, + zIndex: A.value, "--radix-popper-transform-origin": [ (F = s($).transformOrigin) == null ? void 0 : F.x, - (q = s($).transformOrigin) == null ? void 0 : q.y + (G = s($).transformOrigin) == null ? void 0 : G.y ].join(" "), // hide the content if using the hide middleware and should be hidden // set visibility to hidden and disable pointer events so the UI behaves // as if the PopperContent isn't there at all - ...((G = s($).hide) == null ? void 0 : G.referenceHidden) && { + ...((q = s($).hide) == null ? void 0 : q.referenceHidden) && { visibility: "hidden", pointerEvents: "none" } }) }, [ - R(s(K), D({ ref: s(r) }, A.$attrs, { + M(s(K), D({ ref: s(r) }, E.$attrs, { "as-child": n.asChild, - as: A.as, - "data-side": E.value, + as: E.as, + "data-side": O.value, "data-align": k.value, style: { // if the PopperContent hasn't been placed yet (not all measurements done) @@ -6059,21 +6022,21 @@ const Ns = { } }), { default: y(() => [ - _(A.$slots, "default") + _(E.$slots, "default") ]), _: 3 }, 16, ["as-child", "as", "data-side", "data-align", "style"]) ], 4); }; } -}), Bn = /* @__PURE__ */ x({ +}), xn = /* @__PURE__ */ x({ __name: "VisuallyHidden", props: { asChild: { type: Boolean }, as: { default: "span" } }, setup(e) { - return M(), (t, n) => (h(), C(s(K), { + return R(), (t, n) => (h(), C(s(K), { as: t.as, "as-child": t.asChild, style: { @@ -6097,7 +6060,7 @@ const Ns = { _: 3 }, 8, ["as", "as-child"])); } -}), sc = /* @__PURE__ */ x({ +}), lc = /* @__PURE__ */ x({ __name: "VisuallyHiddenInput", props: { name: {}, @@ -6107,7 +6070,7 @@ const Ns = { }, setup(e) { const t = e, n = S(() => typeof t.value == "string" || typeof t.value == "number" || typeof t.value == "boolean" ? [{ name: t.name, value: t.value }] : typeof t.value == "object" && Array.isArray(t.value) ? t.value.flatMap((o, a) => typeof o == "object" ? Object.entries(o).map(([r, l]) => ({ name: `[${a}][${t.name}][${r}]`, value: l })) : { name: `[${t.name}][${a}]`, value: o }) : t.value !== null && typeof t.value == "object" && !Array.isArray(t.value) ? Object.entries(t.value).map(([o, a]) => ({ name: `[${t.name}][${o}]`, value: a })) : []); - return (o, a) => (h(!0), N(be, null, vt(n.value, (r) => (h(), C(Bn, { + return (o, a) => (h(!0), N(ye, null, pt(n.value, (r) => (h(), C(xn, { key: r.name, as: "input", type: "hidden", @@ -6119,24 +6082,24 @@ const Ns = { disabled: o.disabled }, null, 8, ["name", "value", "required", "disabled"]))), 128)); } -}), lc = "data-radix-vue-collection-item", [Ea, ic] = oe("CollectionProvider"); -function Aa(e = lc) { - const t = T(/* @__PURE__ */ new Map()), n = T(), o = ic({ +}), ic = "data-radix-vue-collection-item", [Pa, uc] = ne("CollectionProvider"); +function Ia(e = ic) { + const t = T(/* @__PURE__ */ new Map()), n = T(), o = uc({ collectionRef: n, itemMap: t, attrName: e - }), { getItems: a } = Da(o), r = S(() => Array.from(o.itemMap.value.values())), l = S(() => o.itemMap.value.size); + }), { getItems: a } = Ra(o), r = S(() => Array.from(o.itemMap.value.values())), l = S(() => o.itemMap.value.size); return { getItems: a, reactiveItems: r, itemMapSize: l }; } -const Ta = x({ +const Ma = x({ name: "CollectionSlot", setup(e, { slots: t }) { - const n = Ea(), { primitiveElement: o, currentElement: a } = Ps(); + const n = Pa(), { primitiveElement: o, currentElement: a } = Ns(); return X(a, () => { n.collectionRef.value = a.value; - }), () => Oe(ba, { ref: o }, t); + }), () => ke(Ca, { ref: o }, t); } -}), lo = x({ +}), so = x({ name: "CollectionItem", inheritAttrs: !1, props: { @@ -6146,17 +6109,17 @@ const Ta = x({ } }, setup(e, { slots: t, attrs: n }) { - const o = Ea(), { primitiveElement: a, currentElement: r } = Ps(); - return we((l) => { + const o = Pa(), { primitiveElement: a, currentElement: r } = Ns(); + return be((l) => { if (r.value) { - const i = es(r.value); + const i = gs(r.value); o.itemMap.value.set(i, { ref: r.value, value: e.value }), l(() => o.itemMap.value.delete(i)); } - }), () => Oe(ba, { ...n, [o.attrName]: "", ref: a }, t); + }), () => ke(Ca, { ...n, [o.attrName]: "", ref: a }, t); } }); -function Da(e) { - const t = e ?? Ea(); +function Ra(e) { + const t = e ?? Pa(); return { getItems: () => { const n = t.collectionRef.value; if (!n) @@ -6167,7 +6130,7 @@ function Da(e) { ); } }; } -const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ +const [Gt, dc] = ne("ComboboxRoot"), cc = /* @__PURE__ */ x({ __name: "ComboboxRoot", props: { modelValue: {}, @@ -6189,44 +6152,44 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ }, emits: ["update:modelValue", "update:open", "update:searchTerm", "update:selectedValue"], setup(e, { emit: t }) { - const n = e, o = t, { multiple: a, disabled: r, dir: l } = pe(n), i = yt(l), u = ge(n, "searchTerm", o, { + const n = e, o = t, { multiple: a, disabled: r, dir: l } = ce(n), i = vt(l), u = ve(n, "searchTerm", o, { // @ts-expect-error ignore the type error here defaultValue: "", passive: n.searchTerm === void 0 - }), d = ge(n, "modelValue", o, { + }), d = ve(n, "modelValue", o, { // @ts-expect-error ignore the type error here defaultValue: n.defaultValue ?? a.value ? [] : void 0, passive: n.modelValue === void 0, deep: !0 - }), c = ge(n, "open", o, { + }), c = ve(n, "open", o, { defaultValue: n.defaultOpen, passive: n.open === void 0 - }), p = ge(n, "selectedValue", o, { + }), p = ve(n, "selectedValue", o, { defaultValue: void 0, passive: n.selectedValue === void 0 }); async function m(j) { var Y, J; - c.value = j, await ae(), j ? (d.value && (Array.isArray(d.value) && a.value ? p.value = (Y = $().find((De) => { - var Ie, Pe; - return ((Pe = (Ie = De.ref) == null ? void 0 : Ie.dataset) == null ? void 0 : Pe.state) === "checked"; - })) == null ? void 0 : Y.value : p.value = d.value), await ae(), (J = g.value) == null || J.focus(), q()) : (v.value = !1, n.resetSearchTermOnBlur && I("blur")); + c.value = j, await oe(), j ? (d.value && (Array.isArray(d.value) && a.value ? p.value = (Y = $().find((Te) => { + var Pe, De; + return ((De = (Pe = Te.ref) == null ? void 0 : Pe.dataset) == null ? void 0 : De.state) === "checked"; + })) == null ? void 0 : Y.value : p.value = d.value), await oe(), (J = g.value) == null || J.focus(), G()) : (v.value = !1, n.resetSearchTermOnBlur && I("blur")); } function f(j) { if (Array.isArray(d.value) && a.value) { - const Y = d.value.findIndex((De) => Bt(De, j)), J = [...d.value]; + const Y = d.value.findIndex((Te) => wt(Te, j)), J = [...d.value]; Y === -1 ? J.push(j) : J.splice(Y, 1), d.value = J; } else d.value = j, m(!1); } - const v = T(!1), g = T(), b = T(), { forwardRef: w, currentElement: B } = M(), { getItems: $, reactiveItems: E, itemMapSize: k } = Aa("data-radix-vue-combobox-item"), P = T([]); + const v = T(!1), g = T(), b = T(), { forwardRef: w, currentElement: B } = R(), { getItems: $, reactiveItems: O, itemMapSize: k } = Ia("data-radix-vue-combobox-item"), P = T([]); X(() => k.value, () => { P.value = $().map((j) => j.value); }, { immediate: !0, flush: "post" }); - const O = S(() => { + const A = S(() => { if (v.value) { if (n.filterFunction) return n.filterFunction(P.value, u.value); @@ -6243,40 +6206,40 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ const Y = j === "blur" || j === "select" && n.resetSearchTermOnSelect; !a.value && d.value && !Array.isArray(d.value) ? n.displayValue ? u.value = n.displayValue(d.value) : typeof d.value != "object" ? u.value = d.value.toString() : Y && (u.value = "") : Y && (u.value = ""); } - const V = S(() => O.value.findIndex((j) => Bt(j, p.value))), A = S(() => { + const V = S(() => A.value.findIndex((j) => wt(j, p.value))), E = S(() => { var j; - return (j = E.value.find((Y) => Bt(Y.value, p.value))) == null ? void 0 : j.ref; + return (j = O.value.find((Y) => wt(Y.value, p.value))) == null ? void 0 : j.ref; }), L = S(() => JSON.stringify(d.value)); X(L, async () => { - await ae(), await ae(), I("select"); + await oe(), await oe(), I("select"); }, { // If searchTerm is provided with value during initialization, we don't reset it immediately immediate: !n.searchTerm - }), X(() => [O.value.length, u.value.length], async ([j, Y], [J, De]) => { - await ae(), await ae(), j && (De > Y || V.value === -1) && (p.value = O.value[0]); + }), X(() => [A.value.length, u.value.length], async ([j, Y], [J, Te]) => { + await oe(), await oe(), j && (Te > Y || V.value === -1) && (p.value = A.value[0]); }); - const F = no(B); - function q() { + const F = to(B); + function G() { var j; - A.value instanceof Element && ((j = A.value) == null || j.scrollIntoView({ block: "nearest" })); + E.value instanceof Element && ((j = E.value) == null || j.scrollIntoView({ block: "nearest" })); } - function G() { - A.value instanceof Element && A.value.focus && A.value.focus(); + function q() { + E.value instanceof Element && E.value.focus && E.value.focus(); } - const Q = T(!1); - function le() { - Q.value = !0; + const Z = T(!1); + function se() { + Z.value = !0; } - function fe() { + function pe() { requestAnimationFrame(() => { - Q.value = !1; + Z.value = !1; }); } - async function ue(j) { + async function ie(j) { var Y; - O.value.length && p.value && A.value instanceof Element && (j.preventDefault(), j.stopPropagation(), Q.value || (Y = A.value) == null || Y.click()); + A.value.length && p.value && E.value instanceof Element && (j.preventDefault(), j.stopPropagation(), Z.value || (Y = E.value) == null || Y.click()); } - return uc({ + return dc({ searchTerm: u, modelValue: d, // @ts-expect-error ignoring @@ -6286,29 +6249,29 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ disabled: r, open: c, onOpenChange: m, - filteredOptions: O, + filteredOptions: A, contentId: "", inputElement: g, - selectedElement: A, + selectedElement: E, onInputElementChange: (j) => g.value = j, onInputNavigation: async (j) => { const Y = V.value; - Y === 0 && j === "up" || Y === O.value.length - 1 && j === "down" || (Y === -1 && O.value.length || j === "home" ? p.value = O.value[0] : j === "end" ? p.value = O.value[O.value.length - 1] : p.value = O.value[j === "up" ? Y - 1 : Y + 1], await ae(), q(), G(), ae(() => { + Y === 0 && j === "up" || Y === A.value.length - 1 && j === "down" || (Y === -1 && A.value.length || j === "home" ? p.value = A.value[0] : j === "end" ? p.value = A.value[A.value.length - 1] : p.value = A.value[j === "up" ? Y - 1 : Y + 1], await oe(), G(), q(), oe(() => { var J; return (J = g.value) == null ? void 0 : J.focus({ preventScroll: !0 }); })); }, - onInputEnter: ue, - onCompositionEnd: fe, - onCompositionStart: le, + onInputEnter: ie, + onCompositionEnd: pe, + onCompositionStart: se, selectedValue: p, onSelectedValueChange: (j) => p.value = j, parentElement: B, contentElement: b, onContentElementChange: (j) => b.value = j - }), (j, Y) => (h(), C(s(Xt), null, { + }), (j, Y) => (h(), C(s(qt), null, { default: y(() => [ - R(s(K), D({ + M(s(K), D({ ref: s(w), style: { pointerEvents: s(c) ? "auto" : void 0 @@ -6322,11 +6285,11 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ open: s(c), modelValue: s(d) }), - s(F) && n.name ? (h(), C(s(sc), { + s(F) && n.name ? (h(), C(s(lc), { key: 0, name: n.name, value: s(d) - }, null, 8, ["name", "value"])) : ce("", !0) + }, null, 8, ["name", "value"])) : de("", !0) ]), _: 3 }, 16, ["style", "as", "as-child", "dir"]) @@ -6334,7 +6297,7 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ _: 3 })); } -}), cc = /* @__PURE__ */ x({ +}), pc = /* @__PURE__ */ x({ __name: "ComboboxInput", props: { type: { default: "text" }, @@ -6344,15 +6307,15 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ as: { default: "input" } }, setup(e) { - const t = e, n = Zt(), { forwardRef: o, currentElement: a } = M(); - se(() => { + const t = e, n = Gt(), { forwardRef: o, currentElement: a } = R(); + re(() => { const c = a.value.nodeName === "INPUT" ? a.value : a.value.querySelector("input"); c && (n.onInputElementChange(c), setTimeout(() => { t.autoFocus && (c == null || c.focus()); }, 1)); }); const r = S(() => t.disabled || n.disabled.value || !1), l = T(); - Yl(() => { + ni(() => { var c; return l.value = (c = n.selectedElement.value) == null ? void 0 : c.id; }); @@ -6382,9 +6345,9 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ autocomplete: "false", onInput: d, onKeydown: [ - mt(Be(i, ["prevent"]), ["down", "up"]), - mt(s(n).onInputEnter, ["enter"]), - mt(Be(u, ["prevent"]), ["home", "end"]) + ct(Ce(i, ["prevent"]), ["down", "up"]), + ct(s(n).onInputEnter, ["enter"]), + ct(Ce(u, ["prevent"]), ["home", "end"]) ], onCompositionstart: s(n).onCompositionStart, onCompositionend: s(n).onCompositionEnd @@ -6395,31 +6358,31 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ _: 3 }, 8, ["as", "as-child", "type", "disabled", "value", "aria-expanded", "aria-controls", "aria-disabled", "aria-activedescendant", "onKeydown", "onCompositionstart", "onCompositionend"])); } -}), [js, pc] = oe("ComboboxGroup"), fc = /* @__PURE__ */ x({ +}), [Ys, fc] = ne("ComboboxGroup"), mc = /* @__PURE__ */ x({ __name: "ComboboxGroup", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = e, { currentRef: n, currentElement: o } = M(), a = Ce(void 0, "radix-vue-combobox-group"), r = Zt(), l = T(!1); + const t = e, { currentRef: n, currentElement: o } = R(), a = _e(void 0, "radix-vue-combobox-group"), r = Gt(), l = T(!1); function i() { if (!o.value) return; const u = o.value.querySelectorAll("[data-radix-vue-combobox-item]:not([data-hidden])"); l.value = !!u.length; } - return Ou(o, () => { - ae(() => { + return Iu(o, () => { + oe(() => { i(); }); }, { childList: !0 }), X(() => r.searchTerm.value, () => { - ae(() => { + oe(() => { i(); }); - }, { immediate: !0 }), pc({ + }, { immediate: !0 }), fc({ id: a - }), (u, d) => Ut((h(), C(s(K), D(t, { + }), (u, d) => jt((h(), C(s(K), D(t, { ref_key: "currentRef", ref: n, role: "group", @@ -6430,10 +6393,10 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ ]), _: 3 }, 16, ["aria-labelledby"])), [ - [ea, l.value] + [sa, l.value] ]); } -}), mc = /* @__PURE__ */ x({ +}), vc = /* @__PURE__ */ x({ __name: "ComboboxLabel", props: { for: {}, @@ -6442,8 +6405,8 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ }, setup(e) { const t = e; - M(); - const n = js({ id: "" }); + R(); + const n = Ys({ id: "" }); return (o, a) => (h(), C(s(K), D(t, { id: s(n).id }), { @@ -6453,7 +6416,7 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ _: 3 }, 16, ["id"])); } -}), [R0, vc] = oe("ComboboxContent"), gc = /* @__PURE__ */ x({ +}), [jh, gc] = ne("ComboboxContent"), hc = /* @__PURE__ */ x({ __name: "ComboboxContentImpl", props: { position: { default: "inline" }, @@ -6477,15 +6440,15 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"], setup(e, { emit: t }) { - const n = e, o = t, { position: a } = pe(n), r = Zt(); - xn(n.bodyLock); - const { forwardRef: l, currentElement: i } = M(); - _n(r.parentElement); - const u = S(() => n.position === "popper" ? n : {}), d = Se(u.value); + const n = e, o = t, { position: a } = ce(n), r = Gt(); + yn(n.bodyLock); + const { forwardRef: l, currentElement: i } = R(); + bn(r.parentElement); + const u = S(() => n.position === "popper" ? n : {}), d = $e(u.value); function c(m) { r.onSelectedValueChange(""); } - se(() => { + re(() => { r.onContentElementChange(i.value); }); const p = { @@ -6497,9 +6460,9 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ "--radix-combobox-trigger-width": "var(--radix-popper-anchor-width)", "--radix-combobox-trigger-height": "var(--radix-popper-anchor-height)" }; - return vc({ position: a }), (m, f) => (h(), C(s(Ta), null, { + return gc({ position: a }), (m, f) => (h(), C(s(Ma), null, { default: y(() => [ - m.dismissable ? (h(), C(s(Yt), { + m.dismissable ? (h(), C(s(Wt), { key: 0, "as-child": "", "disable-outside-pointer-events": m.disableOutsidePointerEvents, @@ -6516,7 +6479,7 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ }) }, { default: y(() => [ - (h(), C(Ve(s(a) === "popper" ? s(Ht) : s(K)), D({ ...m.$attrs, ...s(d) }, { + (h(), C(Fe(s(a) === "popper" ? s(Nt) : s(K)), D({ ...m.$attrs, ...s(d) }, { id: s(r).contentId, ref: s(l), role: "listbox", @@ -6538,7 +6501,7 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ }, 16, ["id", "data-state", "style"])) ]), _: 3 - }, 8, ["disable-outside-pointer-events"])) : (h(), C(Ve(s(a) === "popper" ? s(Ht) : s(K)), D({ key: 1 }, { ...m.$attrs, ...u.value }, { + }, 8, ["disable-outside-pointer-events"])) : (h(), C(Fe(s(a) === "popper" ? s(Nt) : s(K)), D({ key: 1 }, { ...m.$attrs, ...u.value }, { id: s(r).contentId, ref: s(l), role: "listbox", @@ -6562,7 +6525,7 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ _: 3 })); } -}), hc = /* @__PURE__ */ x({ +}), yc = /* @__PURE__ */ x({ __name: "ComboboxContent", props: { forceMount: { type: Boolean }, @@ -6587,12 +6550,12 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside"], setup(e, { emit: t }) { - const n = Z(e, t), { forwardRef: o } = M(), a = Zt(); - return a.contentId || (a.contentId = Ce(void 0, "radix-vue-combobox-content")), (r, l) => (h(), C(s(Ne), { + const n = Q(e, t), { forwardRef: o } = R(), a = Gt(); + return a.contentId || (a.contentId = _e(void 0, "radix-vue-combobox-content")), (r, l) => (h(), C(s(ze), { present: r.forceMount || s(a).open.value }, { default: y(() => [ - R(gc, D({ ...s(n), ...r.$attrs }, { ref: s(o) }), { + M(hc, D({ ...s(n), ...r.$attrs }, { ref: s(o) }), { default: y(() => [ _(r.$slots, "default") ]), @@ -6602,7 +6565,7 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), yc = /* @__PURE__ */ x({ +}), bc = /* @__PURE__ */ x({ __name: "ComboboxEmpty", props: { asChild: { type: Boolean }, @@ -6610,20 +6573,20 @@ const [Zt, uc] = oe("ComboboxRoot"), dc = /* @__PURE__ */ x({ }, setup(e) { const t = e; - M(); - const n = Zt(), o = S(() => n.filteredOptions.value.length === 0); + R(); + const n = Gt(), o = S(() => n.filteredOptions.value.length === 0); return (a, r) => o.value ? (h(), C(s(K), U(D({ key: 0 }, t)), { default: y(() => [ _(a.$slots, "default", {}, () => [ - ke("No options") + Se("No options") ]) ]), _: 3 - }, 16)) : ce("", !0); + }, 16)) : de("", !0); } }); -function bc(e) { - const t = to({ +function wc(e) { + const t = eo({ nonce: T() }); return S(() => { @@ -6631,7 +6594,7 @@ function bc(e) { return (e == null ? void 0 : e.value) || ((n = t.nonce) == null ? void 0 : n.value); }); } -const [F0, wc] = oe("ComboboxItem"), xc = "combobox.select", _c = /* @__PURE__ */ x({ +const [Kh, xc] = ne("ComboboxItem"), _c = "combobox.select", Cc = /* @__PURE__ */ x({ __name: "ComboboxItem", props: { value: {}, @@ -6641,14 +6604,14 @@ const [F0, wc] = oe("ComboboxItem"), xc = "combobox.select", _c = /* @__PURE__ * }, emits: ["select"], setup(e, { emit: t }) { - const n = e, o = t, { disabled: a } = pe(n), r = Zt(); - js({ id: "", options: T([]) }); - const { forwardRef: l } = M(), i = S( + const n = e, o = t, { disabled: a } = ce(n), r = Gt(); + Ys({ id: "", options: T([]) }); + const { forwardRef: l } = R(), i = S( () => { var g, b; - return r.multiple.value && Array.isArray(r.modelValue.value) ? (g = r.modelValue.value) == null ? void 0 : g.some((w) => Bt(w, n.value)) : Bt((b = r.modelValue) == null ? void 0 : b.value, n.value); + return r.multiple.value && Array.isArray(r.modelValue.value) ? (g = r.modelValue.value) == null ? void 0 : g.some((w) => wt(w, n.value)) : wt((b = r.modelValue) == null ? void 0 : b.value, n.value); } - ), u = S(() => Bt(r.selectedValue.value, n.value)), d = Ce(void 0, "radix-vue-combobox-item"), c = Ce(void 0, "radix-vue-combobox-option"), p = S(() => r.isUserInputted.value ? r.searchTerm.value === "" || !!r.filteredOptions.value.find((g) => Bt(g, n.value)) : !0); + ), u = S(() => wt(r.selectedValue.value, n.value)), d = _e(void 0, "radix-vue-combobox-item"), c = _e(void 0, "radix-vue-combobox-option"), p = S(() => r.isUserInputted.value ? r.searchTerm.value === "" || !!r.filteredOptions.value.find((g) => wt(g, n.value)) : !0); async function m(g) { o("select", g), !(g != null && g.defaultPrevented) && !a.value && g && r.onValueChange(n.value); } @@ -6656,20 +6619,20 @@ const [F0, wc] = oe("ComboboxItem"), xc = "combobox.select", _c = /* @__PURE__ * if (!g) return; const b = { originalEvent: g, value: n.value }; - fa(xc, m, b); + ha(_c, m, b); } async function v(g) { - await ae(), !g.defaultPrevented && r.onSelectedValueChange(n.value); + await oe(), !g.defaultPrevented && r.onSelectedValueChange(n.value); } if (n.value === "") throw new Error( "A must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder." ); - return wc({ + return xc({ isSelected: i - }), (g, b) => (h(), C(s(lo), { value: g.value }, { + }), (g, b) => (h(), C(s(so), { value: g.value }, { default: y(() => [ - Ut(R(s(K), { + jt(M(s(K), { id: s(c), ref: s(l), role: "option", @@ -6688,18 +6651,18 @@ const [F0, wc] = oe("ComboboxItem"), xc = "combobox.select", _c = /* @__PURE__ * }, { default: y(() => [ _(g.$slots, "default", {}, () => [ - ke(Te(g.value), 1) + Se(Ee(g.value), 1) ]) ]), _: 3 }, 8, ["id", "aria-labelledby", "data-highlighted", "aria-selected", "data-state", "aria-disabled", "data-disabled", "as", "as-child", "data-hidden"]), [ - [ea, p.value] + [sa, p.value] ]) ]), _: 3 }, 8, ["value"])); } -}), Cc = /* @__PURE__ */ x({ +}), Bc = /* @__PURE__ */ x({ __name: "ComboboxSeparator", props: { asChild: { type: Boolean }, @@ -6707,14 +6670,14 @@ const [F0, wc] = oe("ComboboxItem"), xc = "combobox.select", _c = /* @__PURE__ * }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(K), D(t, { "aria-hidden": "true" }), { + return R(), (n, o) => (h(), C(s(K), D(t, { "aria-hidden": "true" }), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Ks = /* @__PURE__ */ x({ +}), Xs = /* @__PURE__ */ x({ __name: "MenuAnchor", props: { element: {}, @@ -6723,7 +6686,7 @@ const [F0, wc] = oe("ComboboxItem"), xc = "combobox.select", _c = /* @__PURE__ * }, setup(e) { const t = e; - return (n, o) => (h(), C(s(Cn), U(W(t)), { + return (n, o) => (h(), C(s(wn), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), @@ -6731,17 +6694,17 @@ const [F0, wc] = oe("ComboboxItem"), xc = "combobox.select", _c = /* @__PURE__ * }, 16)); } }); -function Bc() { +function $c() { const e = T(!1); - return se(() => { - Kt("keydown", () => { + return re(() => { + zt("keydown", () => { e.value = !0; - }, { capture: !0, passive: !0 }), Kt(["pointerdown", "pointermove"], () => { + }, { capture: !0, passive: !0 }), zt(["pointerdown", "pointermove"], () => { e.value = !1; }, { capture: !0, passive: !0 }); }), e; } -const $c = Bs(Bc), [Dt, Hs] = oe(["MenuRoot", "MenuSub"], "MenuContext"), [$n, Sc] = oe("MenuRoot"), kc = /* @__PURE__ */ x({ +const Sc = Ds($c), [Ot, Qs] = ne(["MenuRoot", "MenuSub"], "MenuContext"), [_n, kc] = ne("MenuRoot"), Oc = /* @__PURE__ */ x({ __name: "MenuRoot", props: { open: { type: Boolean, default: !1 }, @@ -6750,8 +6713,8 @@ const $c = Bs(Bc), [Dt, Hs] = oe(["MenuRoot", "MenuSub"], "MenuContext"), [$n, S }, emits: ["update:open"], setup(e, { emit: t }) { - const n = e, o = t, { modal: a, dir: r } = pe(n), l = yt(r), i = ge(n, "open", o), u = T(), d = $c(); - return Hs({ + const n = e, o = t, { modal: a, dir: r } = ce(n), l = vt(r), i = ve(n, "open", o), u = T(), d = Sc(); + return Qs({ open: i, onOpenChange: (c) => { i.value = c; @@ -6760,21 +6723,21 @@ const $c = Bs(Bc), [Dt, Hs] = oe(["MenuRoot", "MenuSub"], "MenuContext"), [$n, S onContentChange: (c) => { u.value = c; } - }), Sc({ + }), kc({ onClose: () => { i.value = !1; }, isUsingKeyboardRef: d, dir: l, modal: a - }), (c, p) => (h(), C(s(Xt), null, { + }), (c, p) => (h(), C(s(qt), null, { default: y(() => [ _(c.$slots, "default") ]), _: 3 })); } -}), Oc = "rovingFocusGroup.onEntryFocus", Ec = { bubbles: !1, cancelable: !0 }, Ac = { +}), Ac = "rovingFocusGroup.onEntryFocus", Ec = { bubbles: !1, cancelable: !0 }, Tc = { ArrowLeft: "prev", ArrowUp: "prev", ArrowRight: "next", @@ -6784,24 +6747,24 @@ const $c = Bs(Bc), [Dt, Hs] = oe(["MenuRoot", "MenuSub"], "MenuContext"), [$n, S PageDown: "last", End: "last" }; -function Tc(e, t) { +function Dc(e, t) { return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e; } -function Dc(e, t, n) { - const o = Tc(e.key, n); +function Pc(e, t, n) { + const o = Dc(e.key, n); if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o))) - return Ac[o]; + return Tc[o]; } -function Us(e, t = !1) { - const n = $e(); +function Zs(e, t = !1) { + const n = Be(); for (const o of e) - if (o === n || (o.focus({ preventScroll: t }), $e() !== n)) + if (o === n || (o.focus({ preventScroll: t }), Be() !== n)) return; } -function Pc(e, t) { +function Ic(e, t) { return e.map((n, o) => e[(t + o) % e.length]); } -const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ +const [Mc, Rc] = ne("RovingFocusGroup"), Js = /* @__PURE__ */ x({ __name: "RovingFocusGroup", props: { orientation: { default: void 0 }, @@ -6815,21 +6778,21 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["entryFocus", "update:currentTabStopId"], setup(e, { expose: t, emit: n }) { - const o = e, a = n, { loop: r, orientation: l, dir: i } = pe(o), u = yt(i), d = ge(o, "currentTabStopId", a, { + const o = e, a = n, { loop: r, orientation: l, dir: i } = ce(o), u = vt(i), d = ve(o, "currentTabStopId", a, { defaultValue: o.defaultCurrentTabStopId, passive: o.currentTabStopId === void 0 - }), c = T(!1), p = T(!1), m = T(0), { getItems: f } = Aa(); + }), c = T(!1), p = T(!1), m = T(0), { getItems: f } = Ia(); function v(b) { const w = !p.value; if (b.currentTarget && b.target === b.currentTarget && w && !c.value) { - const B = new CustomEvent(Oc, Ec); + const B = new CustomEvent(Ac, Ec); if (b.currentTarget.dispatchEvent(B), a("entryFocus", B), !B.defaultPrevented) { - const $ = f().map((O) => O.ref).filter((O) => O.dataset.disabled !== ""), E = $.find((O) => O.getAttribute("data-active") === "true"), k = $.find( - (O) => O.id === d.value - ), P = [E, k, ...$].filter( + const $ = f().map((A) => A.ref).filter((A) => A.dataset.disabled !== ""), O = $.find((A) => A.getAttribute("data-active") === "true"), k = $.find( + (A) => A.id === d.value + ), P = [O, k, ...$].filter( Boolean ); - Us(P, o.preventScrollOnEntryFocus); + Zs(P, o.preventScrollOnEntryFocus); } } p.value = !1; @@ -6841,7 +6804,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ } return t({ getItems: f - }), Mc({ + }), Rc({ loop: r, dir: u, orientation: l, @@ -6858,9 +6821,9 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ onFocusableItemRemove: () => { m.value--; } - }), (b, w) => (h(), C(s(Ta), null, { + }), (b, w) => (h(), C(s(Ma), null, { default: y(() => [ - R(s(K), { + M(s(K), { tabindex: c.value || m.value === 0 ? -1 : 0, "data-orientation": s(l), as: b.as, @@ -6881,7 +6844,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 })); } -}), Rc = /* @__PURE__ */ x({ +}), Fc = /* @__PURE__ */ x({ __name: "RovingFocusItem", props: { tabStopId: {}, @@ -6892,12 +6855,12 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ as: { default: "span" } }, setup(e) { - const t = e, n = Ic(), o = S(() => t.tabStopId || Ce()), a = S( + const t = e, n = Mc(), o = S(() => t.tabStopId || _e()), a = S( () => n.currentTabStopId.value === o.value - ), { getItems: r } = Da(); - se(() => { + ), { getItems: r } = Ra(); + re(() => { t.focusable && n.onFocusableItemAdd(); - }), ze(() => { + }), Le(() => { t.focusable && n.onFocusableItemRemove(); }); function l(i) { @@ -6907,7 +6870,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ } if (i.target !== i.currentTarget) return; - const u = Dc( + const u = Pc( i, n.orientation.value, n.dir.value @@ -6924,14 +6887,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ const c = d.indexOf( i.currentTarget ); - d = n.loop.value ? Pc(d, c + 1) : d.slice(c + 1); + d = n.loop.value ? Ic(d, c + 1) : d.slice(c + 1); } - ae(() => Us(d)); + oe(() => Zs(d)); } } - return (i, u) => (h(), C(s(lo), null, { + return (i, u) => (h(), C(s(so), null, { default: y(() => [ - R(s(K), { + M(s(K), { tabindex: a.value ? 0 : -1, "data-orientation": s(n).orientation.value, "data-active": i.active, @@ -6953,9 +6916,9 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 })); } -}), [Pa, Fc] = oe("MenuContent"), Ia = /* @__PURE__ */ x({ +}), [Fa, Vc] = ne("MenuContent"), Va = /* @__PURE__ */ x({ __name: "MenuContentImpl", - props: /* @__PURE__ */ ts({ + props: /* @__PURE__ */ hs({ loop: { type: Boolean }, disableOutsidePointerEvents: { type: Boolean }, disableOutsideScroll: { type: Boolean }, @@ -6975,36 +6938,36 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ asChild: { type: Boolean }, as: {} }, { - ...Ns + ...Gs }), emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus", "dismiss"], setup(e, { emit: t }) { - const n = e, o = t, a = Dt(), r = $n(), { trapFocus: l, disableOutsidePointerEvents: i, loop: u } = pe(n); - ha(), xn(i.value); - const d = T(""), c = T(0), p = T(0), m = T(null), f = T("right"), v = T(0), g = T(null), { createCollection: b } = Gt(), { forwardRef: w, currentElement: B } = M(), $ = b(B); - X(B, (A) => { - a.onContentChange(A); + const n = e, o = t, a = Ot(), r = _n(), { trapFocus: l, disableOutsidePointerEvents: i, loop: u } = ce(n); + xa(), yn(i.value); + const d = T(""), c = T(0), p = T(0), m = T(null), f = T("right"), v = T(0), g = T(null), { createCollection: b } = Ht(), { forwardRef: w, currentElement: B } = R(), $ = b(B); + X(B, (E) => { + a.onContentChange(E); }); - const { handleTypeaheadSearch: E } = ya($); - ze(() => { + const { handleTypeaheadSearch: O } = _a($); + Le(() => { window.clearTimeout(c.value); }); - function k(A) { + function k(E) { var L, F; - return f.value === ((L = m.value) == null ? void 0 : L.side) && Pd(A, (F = m.value) == null ? void 0 : F.area); + return f.value === ((L = m.value) == null ? void 0 : L.side) && Ld(E, (F = m.value) == null ? void 0 : F.area); } - async function P(A) { + async function P(E) { var L; - o("openAutoFocus", A), !A.defaultPrevented && (A.preventDefault(), (L = B.value) == null || L.focus({ + o("openAutoFocus", E), !E.defaultPrevented && (E.preventDefault(), (L = B.value) == null || L.focus({ preventScroll: !0 })); } - function O(A) { - if (A.defaultPrevented) + function A(E) { + if (E.defaultPrevented) return; - const L = A.target.closest("[data-radix-menu-content]") === A.currentTarget, F = A.ctrlKey || A.altKey || A.metaKey, q = A.key.length === 1, G = Os( - A, - $e(), + const L = E.target.closest("[data-radix-menu-content]") === E.currentTarget, F = E.ctrlKey || E.altKey || E.metaKey, G = E.key.length === 1, q = Rs( + E, + Be(), B.value, { loop: u.value, @@ -7014,48 +6977,48 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ attributeName: "[data-radix-vue-collection-item]:not([data-disabled])" } ); - if (G) - return G == null ? void 0 : G.focus(); - if (A.code === "Space" || (L && (A.key === "Tab" && A.preventDefault(), !F && q && E(A.key)), A.target !== B.value) || !Ed.includes(A.key)) + if (q) + return q == null ? void 0 : q.focus(); + if (E.code === "Space" || (L && (E.key === "Tab" && E.preventDefault(), !F && G && O(E.key)), E.target !== B.value) || !Md.includes(E.key)) return; - A.preventDefault(); - const Q = $.value; - Fs.includes(A.key) && Q.reverse(), Ko(Q); + E.preventDefault(); + const Z = $.value; + Us.includes(E.key) && Z.reverse(), Yo(Z); } - function I(A) { + function I(E) { var L, F; - (F = (L = A == null ? void 0 : A.currentTarget) == null ? void 0 : L.contains) != null && F.call(L, A.target) || (window.clearTimeout(c.value), d.value = ""); + (F = (L = E == null ? void 0 : E.currentTarget) == null ? void 0 : L.contains) != null && F.call(L, E.target) || (window.clearTimeout(c.value), d.value = ""); } - function V(A) { + function V(E) { var L; - if (!pn(A)) + if (!un(E)) return; - const F = A.target, q = v.value !== A.clientX; - if ((L = A == null ? void 0 : A.currentTarget) != null && L.contains(F) && q) { - const G = A.clientX > v.value ? "right" : "left"; - f.value = G, v.value = A.clientX; + const F = E.target, G = v.value !== E.clientX; + if ((L = E == null ? void 0 : E.currentTarget) != null && L.contains(F) && G) { + const q = E.clientX > v.value ? "right" : "left"; + f.value = q, v.value = E.clientX; } } - return Fc({ - onItemEnter: (A) => !!k(A), - onItemLeave: (A) => { + return Vc({ + onItemEnter: (E) => !!k(E), + onItemLeave: (E) => { var L; - k(A) || ((L = B.value) == null || L.focus(), g.value = null); + k(E) || ((L = B.value) == null || L.focus(), g.value = null); }, - onTriggerLeave: (A) => !!k(A), + onTriggerLeave: (E) => !!k(E), searchRef: d, pointerGraceTimerRef: p, - onPointerGraceIntentChange: (A) => { - m.value = A; + onPointerGraceIntentChange: (E) => { + m.value = E; } - }), (A, L) => (h(), C(s(ao), { + }), (E, L) => (h(), C(s(oo), { "as-child": "", trapped: s(l), onMountAutoFocus: P, onUnmountAutoFocus: L[7] || (L[7] = (F) => o("closeAutoFocus", F)) }, { default: y(() => [ - R(s(Yt), { + M(s(Wt), { "as-child": "", "disable-outside-pointer-events": s(i), onEscapeKeyDown: L[2] || (L[2] = (F) => o("escapeKeyDown", F)), @@ -7065,7 +7028,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ onDismiss: L[6] || (L[6] = (F) => o("dismiss")) }, { default: y(() => [ - R(s(Ws), { + M(s(Js), { "current-tab-stop-id": g.value, "onUpdate:currentTabStopId": L[0] || (L[0] = (F) => g.value = F), "as-child": "", @@ -7077,32 +7040,32 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }) }, { default: y(() => [ - R(s(Ht), { + M(s(Nt), { ref: s(w), role: "menu", - as: A.as, - "as-child": A.asChild, + as: E.as, + "as-child": E.asChild, "aria-orientation": "vertical", "data-radix-menu-content": "", - "data-state": s($a)(s(a).open.value), + "data-state": s(Aa)(s(a).open.value), dir: s(r).dir.value, - side: A.side, - "side-offset": A.sideOffset, - align: A.align, - "align-offset": A.alignOffset, - "avoid-collisions": A.avoidCollisions, - "collision-boundary": A.collisionBoundary, - "collision-padding": A.collisionPadding, - "arrow-padding": A.arrowPadding, - "prioritize-position": A.prioritizePosition, - sticky: A.sticky, - "hide-when-detached": A.hideWhenDetached, - onKeydown: O, + side: E.side, + "side-offset": E.sideOffset, + align: E.align, + "align-offset": E.alignOffset, + "avoid-collisions": E.avoidCollisions, + "collision-boundary": E.collisionBoundary, + "collision-padding": E.collisionPadding, + "arrow-padding": E.arrowPadding, + "prioritize-position": E.prioritizePosition, + sticky: E.sticky, + "hide-when-detached": E.hideWhenDetached, + onKeydown: A, onBlur: I, onPointermove: V }, { default: y(() => [ - _(A.$slots, "default") + _(E.$slots, "default") ]), _: 3 }, 8, ["as", "as-child", "data-state", "dir", "side", "side-offset", "align", "align-offset", "avoid-collisions", "collision-boundary", "collision-padding", "arrow-padding", "prioritize-position", "sticky", "hide-when-detached"]) @@ -7116,7 +7079,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["trapped"])); } -}), Gs = /* @__PURE__ */ x({ +}), el = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "MenuItemImpl", props: { @@ -7126,9 +7089,9 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = e, n = Pa(), { forwardRef: o } = M(), a = T(!1); + const t = e, n = Fa(), { forwardRef: o } = R(), a = T(!1); async function r(i) { - if (!i.defaultPrevented && pn(i)) { + if (!i.defaultPrevented && un(i)) { if (t.disabled) n.onItemLeave(i); else if (!n.onItemEnter(i)) { @@ -7138,13 +7101,13 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ } } async function l(i) { - await ae(), !i.defaultPrevented && pn(i) && n.onItemLeave(i); + await oe(), !i.defaultPrevented && un(i) && n.onItemLeave(i); } - return (i, u) => (h(), C(s(lo), { + return (i, u) => (h(), C(s(so), { value: { textValue: i.textValue } }, { default: y(() => [ - R(s(K), D({ + M(s(K), D({ ref: s(o), role: "menuitem", tabindex: "-1" @@ -7158,10 +7121,10 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ onPointermove: r, onPointerleave: l, onFocus: u[0] || (u[0] = async (d) => { - await ae(), !(d.defaultPrevented || i.disabled) && (a.value = !0); + await oe(), !(d.defaultPrevented || i.disabled) && (a.value = !0); }), onBlur: u[1] || (u[1] = async (d) => { - await ae(), !d.defaultPrevented && (a.value = !1); + await oe(), !d.defaultPrevented && (a.value = !1); }) }), { default: y(() => [ @@ -7173,7 +7136,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["value"])); } -}), Ma = /* @__PURE__ */ x({ +}), La = /* @__PURE__ */ x({ __name: "MenuItem", props: { disabled: { type: Boolean }, @@ -7183,18 +7146,18 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["select"], setup(e, { emit: t }) { - const n = e, o = t, { forwardRef: a, currentElement: r } = M(), l = $n(), i = Pa(), u = T(!1); + const n = e, o = t, { forwardRef: a, currentElement: r } = R(), l = _n(), i = Fa(), u = T(!1); async function d() { const c = r.value; if (!n.disabled && c) { - const p = new CustomEvent(kd, { + const p = new CustomEvent(Pd, { bubbles: !0, cancelable: !0 }); - o("select", p), await ae(), p.defaultPrevented ? u.value = !1 : l.onClose(); + o("select", p), await oe(), p.defaultPrevented ? u.value = !1 : l.onClose(); } } - return (c, p) => (h(), C(Gs, D(n, { + return (c, p) => (h(), C(el, D(n, { ref: s(a), onClick: d, onPointerdown: p[0] || (p[0] = () => { @@ -7202,11 +7165,11 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }), onPointerup: p[1] || (p[1] = async (m) => { var f; - await ae(), !m.defaultPrevented && (u.value || (f = m.currentTarget) == null || f.click()); + await oe(), !m.defaultPrevented && (u.value || (f = m.currentTarget) == null || f.click()); }), onKeydown: p[2] || (p[2] = async (m) => { const f = s(i).searchRef.value !== ""; - c.disabled || f && m.key === " " || s(jo).includes(m.key) && (m.currentTarget.click(), m.preventDefault()); + c.disabled || f && m.key === " " || s(Go).includes(m.key) && (m.currentTarget.click(), m.preventDefault()); }) }), { default: y(() => [ @@ -7215,10 +7178,10 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), [Vc, qs] = oe( +}), [Lc, tl] = ne( ["MenuCheckboxItem", "MenuRadioItem"], "MenuItemIndicatorContext" -), Lc = /* @__PURE__ */ x({ +), zc = /* @__PURE__ */ x({ __name: "MenuItemIndicator", props: { forceMount: { type: Boolean }, @@ -7226,17 +7189,17 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ as: { default: "span" } }, setup(e) { - const t = Vc({ + const t = Lc({ checked: T(!1) }); - return (n, o) => (h(), C(s(Ne), { - present: n.forceMount || s(Un)(s(t).checked.value) || s(t).checked.value === !0 + return (n, o) => (h(), C(s(ze), { + present: n.forceMount || s(Hn)(s(t).checked.value) || s(t).checked.value === !0 }, { default: y(() => [ - R(s(K), { + M(s(K), { as: n.as, "as-child": n.asChild, - "data-state": s(Sa)(s(t).checked.value) + "data-state": s(Ea)(s(t).checked.value) }, { default: y(() => [ _(n.$slots, "default") @@ -7247,7 +7210,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), zc = /* @__PURE__ */ x({ +}), Nc = /* @__PURE__ */ x({ __name: "MenuCheckboxItem", props: { checked: { type: [Boolean, String], default: !1 }, @@ -7258,12 +7221,12 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["select", "update:checked"], setup(e, { emit: t }) { - const n = e, o = t, a = ge(n, "checked", o); - return qs({ checked: a }), (r, l) => (h(), C(Ma, D({ role: "menuitemcheckbox" }, n, { - "aria-checked": s(Un)(s(a)) ? "mixed" : s(a), - "data-state": s(Sa)(s(a)), + const n = e, o = t, a = ve(n, "checked", o); + return tl({ checked: a }), (r, l) => (h(), C(La, D({ role: "menuitemcheckbox" }, n, { + "aria-checked": s(Hn)(s(a)) ? "mixed" : s(a), + "data-state": s(Ea)(s(a)), onSelect: l[0] || (l[0] = async (i) => { - o("select", i), s(Un)(s(a)) ? a.value = !0 : a.value = !s(a); + o("select", i), s(Hn)(s(a)) ? a.value = !0 : a.value = !s(a); }) }), { default: y(() => [ @@ -7272,7 +7235,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16, ["aria-checked", "data-state"])); } -}), Nc = /* @__PURE__ */ x({ +}), jc = /* @__PURE__ */ x({ __name: "MenuRootContentModal", props: { loop: { type: Boolean }, @@ -7293,14 +7256,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = Z(n, o), r = Dt(), { forwardRef: l, currentElement: i } = M(); - return _n(i), (u, d) => (h(), C(Ia, D(s(a), { + const n = e, o = t, a = Q(n, o), r = Ot(), { forwardRef: l, currentElement: i } = R(); + return bn(i), (u, d) => (h(), C(Va, D(s(a), { ref: s(l), "trap-focus": s(r).open.value, "disable-outside-pointer-events": s(r).open.value, "disable-outside-scroll": !0, onDismiss: d[0] || (d[0] = (c) => s(r).onOpenChange(!1)), - onFocusOutside: d[1] || (d[1] = Be((c) => o("focusOutside", c), ["prevent"])) + onFocusOutside: d[1] || (d[1] = Ce((c) => o("focusOutside", c), ["prevent"])) }), { default: y(() => [ _(u.$slots, "default") @@ -7308,7 +7271,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16, ["trap-focus", "disable-outside-pointer-events"])); } -}), jc = /* @__PURE__ */ x({ +}), Kc = /* @__PURE__ */ x({ __name: "MenuRootContentNonModal", props: { loop: { type: Boolean }, @@ -7329,8 +7292,8 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = Z(e, t), o = Dt(); - return (a, r) => (h(), C(Ia, D(s(n), { + const n = Q(e, t), o = Ot(); + return (a, r) => (h(), C(Va, D(s(n), { "trap-focus": !1, "disable-outside-pointer-events": !1, "disable-outside-scroll": !1, @@ -7342,7 +7305,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Kc = /* @__PURE__ */ x({ +}), Hc = /* @__PURE__ */ x({ __name: "MenuContent", props: { forceMount: { type: Boolean }, @@ -7364,17 +7327,17 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = Z(e, t), o = Dt(), a = $n(); - return (r, l) => (h(), C(s(Ne), { + const n = Q(e, t), o = Ot(), a = _n(); + return (r, l) => (h(), C(s(ze), { present: r.forceMount || s(o).open.value }, { default: y(() => [ - s(a).modal.value ? (h(), C(Nc, U(D({ key: 0 }, { ...r.$attrs, ...s(n) })), { + s(a).modal.value ? (h(), C(jc, U(D({ key: 0 }, { ...r.$attrs, ...s(n) })), { default: y(() => [ _(r.$slots, "default") ]), _: 3 - }, 16)) : (h(), C(jc, U(D({ key: 1 }, { ...r.$attrs, ...s(n) })), { + }, 16)) : (h(), C(Kc, U(D({ key: 1 }, { ...r.$attrs, ...s(n) })), { default: y(() => [ _(r.$slots, "default") ]), @@ -7384,7 +7347,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), Ys = /* @__PURE__ */ x({ +}), nl = /* @__PURE__ */ x({ __name: "MenuGroup", props: { asChild: { type: Boolean }, @@ -7399,7 +7362,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Hc = /* @__PURE__ */ x({ +}), Uc = /* @__PURE__ */ x({ __name: "MenuLabel", props: { asChild: { type: Boolean }, @@ -7414,7 +7377,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Uc = /* @__PURE__ */ x({ +}), Wc = /* @__PURE__ */ x({ __name: "MenuPortal", props: { to: {}, @@ -7423,14 +7386,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(qt), U(W(t)), { + return (n, o) => (h(), C(s(Ut), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), [Wc, Gc] = oe("MenuRadioGroup"), qc = /* @__PURE__ */ x({ +}), [qc, Gc] = ne("MenuRadioGroup"), Yc = /* @__PURE__ */ x({ __name: "MenuRadioGroup", props: { modelValue: { default: "" }, @@ -7439,20 +7402,20 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const n = e, o = ge(n, "modelValue", t); + const n = e, o = ve(n, "modelValue", t); return Gc({ modelValue: o, onValueChange: (a) => { o.value = a; } - }), (a, r) => (h(), C(Ys, U(W(n)), { + }), (a, r) => (h(), C(nl, U(W(n)), { default: y(() => [ _(a.$slots, "default", { modelValue: s(o) }) ]), _: 3 }, 16)); } -}), Yc = /* @__PURE__ */ x({ +}), Xc = /* @__PURE__ */ x({ __name: "MenuRadioItem", props: { value: {}, @@ -7463,12 +7426,12 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["select"], setup(e, { emit: t }) { - const n = e, o = t, { value: a } = pe(n), r = Wc(), l = S( + const n = e, o = t, { value: a } = ce(n), r = qc(), l = S( () => r.modelValue.value === (a == null ? void 0 : a.value) ); - return qs({ checked: l }), (i, u) => (h(), C(Ma, D({ role: "menuitemradio" }, n, { + return tl({ checked: l }), (i, u) => (h(), C(La, D({ role: "menuitemradio" }, n, { "aria-checked": l.value, - "data-state": s(Sa)(l.value), + "data-state": s(Ea)(l.value), onSelect: u[0] || (u[0] = async (d) => { o("select", d), s(r).onValueChange(s(a)); }) @@ -7479,7 +7442,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16, ["aria-checked", "data-state"])); } -}), Xc = /* @__PURE__ */ x({ +}), Qc = /* @__PURE__ */ x({ __name: "MenuSeparator", props: { asChild: { type: Boolean }, @@ -7497,20 +7460,20 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), [Xs, Zc] = oe("MenuSub"), Qc = /* @__PURE__ */ x({ +}), [ol, Zc] = ne("MenuSub"), Jc = /* @__PURE__ */ x({ __name: "MenuSub", props: { open: { type: Boolean, default: void 0 } }, emits: ["update:open"], setup(e, { emit: t }) { - const n = e, o = ge(n, "open", t, { + const n = e, o = ve(n, "open", t, { defaultValue: !1, passive: n.open === void 0 - }), a = Dt(), r = T(), l = T(); - return we((i) => { + }), a = Ot(), r = T(), l = T(); + return be((i) => { (a == null ? void 0 : a.open.value) === !1 && (o.value = !1), i(() => o.value = !1); - }), Hs({ + }), Qs({ open: o, onOpenChange: (i) => { o.value = i; @@ -7526,14 +7489,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ onTriggerChange: (i) => { r.value = i; } - }), (i, u) => (h(), C(s(Xt), null, { + }), (i, u) => (h(), C(s(qt), null, { default: y(() => [ _(i.$slots, "default") ]), _: 3 })); } -}), Jc = /* @__PURE__ */ x({ +}), ep = /* @__PURE__ */ x({ __name: "MenuSubContent", props: { forceMount: { type: Boolean }, @@ -7553,12 +7516,12 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = Z(e, t), o = Dt(), a = $n(), r = Xs(), { forwardRef: l, currentElement: i } = M(); - return r.contentId || (r.contentId = Ce(void 0, "radix-vue-menu-sub-content")), (u, d) => (h(), C(s(Ne), { + const n = Q(e, t), o = Ot(), a = _n(), r = ol(), { forwardRef: l, currentElement: i } = R(); + return r.contentId || (r.contentId = _e(void 0, "radix-vue-menu-sub-content")), (u, d) => (h(), C(s(ze), { present: u.forceMount || s(o).open.value }, { default: y(() => [ - R(Ia, D(s(n), { + M(Va, D(s(n), { id: s(r).contentId, ref: s(l), "aria-labelledby": s(r).triggerId, @@ -7567,11 +7530,11 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ "disable-outside-pointer-events": !1, "disable-outside-scroll": !1, "trap-focus": !1, - onOpenAutoFocus: d[0] || (d[0] = Be((c) => { + onOpenAutoFocus: d[0] || (d[0] = Ce((c) => { var p; s(a).isUsingKeyboardRef.value && ((p = s(i)) == null || p.focus()); }, ["prevent"])), - onCloseAutoFocus: d[1] || (d[1] = Be(() => { + onCloseAutoFocus: d[1] || (d[1] = Ce(() => { }, ["prevent"])), onFocusOutside: d[2] || (d[2] = (c) => { c.defaultPrevented || c.target !== s(r).trigger.value && s(o).onOpenChange(!1); @@ -7581,7 +7544,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }), onKeydown: d[4] || (d[4] = (c) => { var p, m; - const f = (p = c.currentTarget) == null ? void 0 : p.contains(c.target), v = s(Td)[s(a).dir.value].includes(c.key); + const f = (p = c.currentTarget) == null ? void 0 : p.contains(c.target), v = s(Fd)[s(a).dir.value].includes(c.key); f && v && (s(o).onOpenChange(!1), (m = s(r).trigger.value) == null || m.focus(), c.preventDefault()); }) }), { @@ -7594,7 +7557,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), ep = /* @__PURE__ */ x({ +}), tp = /* @__PURE__ */ x({ __name: "MenuSubTrigger", props: { disabled: { type: Boolean }, @@ -7603,22 +7566,22 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = e, n = Dt(), o = $n(), a = Xs(), r = Pa(), l = T(null); - a.triggerId || (a.triggerId = Ce(void 0, "radix-vue-menu-sub-trigger")); + const t = e, n = Ot(), o = _n(), a = ol(), r = Fa(), l = T(null); + a.triggerId || (a.triggerId = _e(void 0, "radix-vue-menu-sub-trigger")); function i() { l.value && window.clearTimeout(l.value), l.value = null; } - ze(() => { + Le(() => { i(); }); function u(p) { - !pn(p) || r.onItemEnter(p) || !t.disabled && !n.open.value && !l.value && (r.onPointerGraceIntentChange(null), l.value = window.setTimeout(() => { + !un(p) || r.onItemEnter(p) || !t.disabled && !n.open.value && !l.value && (r.onPointerGraceIntentChange(null), l.value = window.setTimeout(() => { n.onOpenChange(!0), i(); }, 100)); } async function d(p) { var m, f; - if (!pn(p)) + if (!un(p)) return; i(); const v = (m = n.content.value) == null ? void 0 : m.getBoundingClientRect(); @@ -7648,11 +7611,11 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ async function c(p) { var m; const f = r.searchRef.value !== ""; - t.disabled || f && p.key === " " || Ad[o.dir.value].includes(p.key) && (n.onOpenChange(!0), await ae(), (m = n.content.value) == null || m.focus(), p.preventDefault()); + t.disabled || f && p.key === " " || Rd[o.dir.value].includes(p.key) && (n.onOpenChange(!0), await oe(), (m = n.content.value) == null || m.focus(), p.preventDefault()); } - return (p, m) => (h(), C(Ks, { "as-child": "" }, { + return (p, m) => (h(), C(Xs, { "as-child": "" }, { default: y(() => [ - R(Gs, D(t, { + M(el, D(t, { id: s(a).triggerId, ref: (f) => { var v; @@ -7661,7 +7624,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ "aria-haspopup": "menu", "aria-expanded": s(n).open.value, "aria-controls": s(a).contentId, - "data-state": s($a)(s(n).open.value), + "data-state": s(Aa)(s(n).open.value), onClick: m[0] || (m[0] = async (f) => { t.disabled || f.defaultPrevented || (f.currentTarget.focus(), s(n).open.value || s(n).onOpenChange(!0)); }), @@ -7678,7 +7641,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 })); } -}), [Zs, tp] = oe("DropdownMenuRoot"), np = /* @__PURE__ */ x({ +}), [al, np] = ne("DropdownMenuRoot"), op = /* @__PURE__ */ x({ __name: "DropdownMenuRoot", props: { defaultOpen: { type: Boolean }, @@ -7689,12 +7652,12 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ emits: ["update:open"], setup(e, { emit: t }) { const n = e, o = t; - M(); - const a = ge(n, "open", o, { + R(); + const a = ve(n, "open", o, { defaultValue: n.defaultOpen, passive: n.open === void 0 - }), r = T(), { modal: l, dir: i } = pe(n), u = yt(i); - return tp({ + }), r = T(), { modal: l, dir: i } = ce(n), u = vt(i); + return np({ open: a, onOpenChange: (d) => { a.value = d; @@ -7707,9 +7670,9 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ contentId: "", modal: l, dir: u - }), (d, c) => (h(), C(s(kc), { + }), (d, c) => (h(), C(s(Oc), { open: s(a), - "onUpdate:open": c[0] || (c[0] = (p) => $t(a) ? a.value = p : null), + "onUpdate:open": c[0] || (c[0] = (p) => xt(a) ? a.value = p : null), dir: s(u), modal: s(l) }, { @@ -7719,7 +7682,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["open", "dir", "modal"])); } -}), op = /* @__PURE__ */ x({ +}), ap = /* @__PURE__ */ x({ __name: "DropdownMenuTrigger", props: { disabled: { type: Boolean }, @@ -7727,12 +7690,12 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ as: { default: "button" } }, setup(e) { - const t = e, n = Zs(), { forwardRef: o, currentElement: a } = M(); - return se(() => { + const t = e, n = al(), { forwardRef: o, currentElement: a } = R(); + return re(() => { n.triggerElement = a; - }), n.triggerId || (n.triggerId = Ce(void 0, "radix-vue-dropdown-menu-trigger")), (r, l) => (h(), C(s(Ks), { "as-child": "" }, { + }), n.triggerId || (n.triggerId = _e(void 0, "radix-vue-dropdown-menu-trigger")), (r, l) => (h(), C(s(Xs), { "as-child": "" }, { default: y(() => [ - R(s(K), { + M(s(K), { id: s(n).triggerId, ref: s(o), type: r.as === "button" ? "button" : void 0, @@ -7746,9 +7709,9 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ "data-state": s(n).open.value ? "open" : "closed", onClick: l[0] || (l[0] = async (i) => { var u; - !r.disabled && i.button === 0 && i.ctrlKey === !1 && ((u = s(n)) == null || u.onOpenToggle(), await ae(), s(n).open.value && i.preventDefault()); + !r.disabled && i.button === 0 && i.ctrlKey === !1 && ((u = s(n)) == null || u.onOpenToggle(), await oe(), s(n).open.value && i.preventDefault()); }), - onKeydown: l[1] || (l[1] = mt( + onKeydown: l[1] || (l[1] = ct( (i) => { r.disabled || (["Enter", " "].includes(i.key) && s(n).onOpenToggle(), i.key === "ArrowDown" && s(n).onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(i.key) && i.preventDefault()); }, @@ -7764,7 +7727,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 })); } -}), ap = /* @__PURE__ */ x({ +}), rp = /* @__PURE__ */ x({ __name: "DropdownMenuPortal", props: { to: {}, @@ -7773,14 +7736,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(Uc), U(W(t)), { + return (n, o) => (h(), C(s(Wc), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), rp = /* @__PURE__ */ x({ +}), sp = /* @__PURE__ */ x({ __name: "DropdownMenuContent", props: { forceMount: { type: Boolean }, @@ -7802,18 +7765,18 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"], setup(e, { emit: t }) { - const n = Z(e, t); - M(); - const o = Zs(), a = T(!1); + const n = Q(e, t); + R(); + const o = al(), a = T(!1); function r(l) { l.defaultPrevented || (a.value || setTimeout(() => { var i; (i = o.triggerElement.value) == null || i.focus(); }, 0), a.value = !1, l.preventDefault()); } - return o.contentId || (o.contentId = Ce(void 0, "radix-vue-dropdown-menu-content")), (l, i) => { + return o.contentId || (o.contentId = _e(void 0, "radix-vue-dropdown-menu-content")), (l, i) => { var u; - return h(), C(s(Kc), D(s(n), { + return h(), C(s(Hc), D(s(n), { id: s(o).contentId, "aria-labelledby": (u = s(o)) == null ? void 0 : u.triggerId, style: { @@ -7838,7 +7801,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, 16, ["id", "aria-labelledby"]); }; } -}), sp = /* @__PURE__ */ x({ +}), lp = /* @__PURE__ */ x({ __name: "DropdownMenuItem", props: { disabled: { type: Boolean }, @@ -7848,15 +7811,15 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["select"], setup(e, { emit: t }) { - const n = e, o = bt(t); - return M(), (a, r) => (h(), C(s(Ma), U(W({ ...n, ...s(o) })), { + const n = e, o = gt(t); + return R(), (a, r) => (h(), C(s(La), U(W({ ...n, ...s(o) })), { default: y(() => [ _(a.$slots, "default") ]), _: 3 }, 16)); } -}), lp = /* @__PURE__ */ x({ +}), ip = /* @__PURE__ */ x({ __name: "DropdownMenuGroup", props: { asChild: { type: Boolean }, @@ -7864,14 +7827,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(Ys), U(W(t)), { + return R(), (n, o) => (h(), C(s(nl), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), ip = /* @__PURE__ */ x({ +}), up = /* @__PURE__ */ x({ __name: "DropdownMenuSeparator", props: { asChild: { type: Boolean }, @@ -7879,14 +7842,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(Xc), U(W(t)), { + return R(), (n, o) => (h(), C(s(Qc), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), up = /* @__PURE__ */ x({ +}), dp = /* @__PURE__ */ x({ __name: "DropdownMenuCheckboxItem", props: { checked: { type: [Boolean, String] }, @@ -7897,15 +7860,15 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["select", "update:checked"], setup(e, { emit: t }) { - const n = e, o = bt(t); - return M(), (a, r) => (h(), C(s(zc), U(W({ ...n, ...s(o) })), { + const n = e, o = gt(t); + return R(), (a, r) => (h(), C(s(Nc), U(W({ ...n, ...s(o) })), { default: y(() => [ _(a.$slots, "default") ]), _: 3 }, 16)); } -}), Qs = /* @__PURE__ */ x({ +}), rl = /* @__PURE__ */ x({ __name: "DropdownMenuItemIndicator", props: { forceMount: { type: Boolean }, @@ -7914,14 +7877,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(Lc), U(W(t)), { + return R(), (n, o) => (h(), C(s(zc), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), dp = /* @__PURE__ */ x({ +}), cp = /* @__PURE__ */ x({ __name: "DropdownMenuLabel", props: { asChild: { type: Boolean }, @@ -7929,14 +7892,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(Hc), U(W(t)), { + return R(), (n, o) => (h(), C(s(Uc), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), cp = /* @__PURE__ */ x({ +}), pp = /* @__PURE__ */ x({ __name: "DropdownMenuRadioGroup", props: { modelValue: {}, @@ -7945,15 +7908,15 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const n = e, o = bt(t); - return M(), (a, r) => (h(), C(s(qc), U(W({ ...n, ...s(o) })), { + const n = e, o = gt(t); + return R(), (a, r) => (h(), C(s(Yc), U(W({ ...n, ...s(o) })), { default: y(() => [ _(a.$slots, "default") ]), _: 3 }, 16)); } -}), pp = /* @__PURE__ */ x({ +}), fp = /* @__PURE__ */ x({ __name: "DropdownMenuRadioItem", props: { value: {}, @@ -7964,15 +7927,15 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["select"], setup(e, { emit: t }) { - const n = Z(e, t); - return M(), (o, a) => (h(), C(s(Yc), U(W(s(n))), { + const n = Q(e, t); + return R(), (o, a) => (h(), C(s(Xc), U(W(s(n))), { default: y(() => [ _(o.$slots, "default") ]), _: 3 }, 16)); } -}), fp = /* @__PURE__ */ x({ +}), mp = /* @__PURE__ */ x({ __name: "DropdownMenuSub", props: { defaultOpen: { type: Boolean }, @@ -7980,13 +7943,13 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const n = e, o = ge(n, "open", t, { + const n = e, o = ve(n, "open", t, { passive: n.open === void 0, defaultValue: n.defaultOpen ?? !1 }); - return M(), (a, r) => (h(), C(s(Qc), { + return R(), (a, r) => (h(), C(s(Jc), { open: s(o), - "onUpdate:open": r[0] || (r[0] = (l) => $t(o) ? o.value = l : null) + "onUpdate:open": r[0] || (r[0] = (l) => xt(o) ? o.value = l : null) }, { default: y(() => [ _(a.$slots, "default", { open: s(o) }) @@ -7994,7 +7957,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["open"])); } -}), mp = /* @__PURE__ */ x({ +}), vp = /* @__PURE__ */ x({ __name: "DropdownMenuSubContent", props: { forceMount: { type: Boolean }, @@ -8014,8 +7977,8 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = Z(e, t); - return M(), (o, a) => (h(), C(s(Jc), D(s(n), { style: { + const n = Q(e, t); + return R(), (o, a) => (h(), C(s(ep), D(s(n), { style: { "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)", "--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)", "--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)", @@ -8028,7 +7991,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), vp = /* @__PURE__ */ x({ +}), gp = /* @__PURE__ */ x({ __name: "DropdownMenuSubTrigger", props: { disabled: { type: Boolean }, @@ -8038,14 +8001,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(ep), U(W(t)), { + return R(), (n, o) => (h(), C(s(tp), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), gp = /* @__PURE__ */ x({ +}), hp = /* @__PURE__ */ x({ __name: "Label", props: { for: {}, @@ -8054,7 +8017,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(K), D(t, { + return R(), (n, o) => (h(), C(s(K), D(t, { onMousedown: o[0] || (o[0] = (a) => { !a.defaultPrevented && a.detail > 1 && a.preventDefault(); }) @@ -8065,7 +8028,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), [Qt, hp] = oe("PopoverRoot"), yp = /* @__PURE__ */ x({ +}), [Yt, yp] = ne("PopoverRoot"), bp = /* @__PURE__ */ x({ __name: "PopoverRoot", props: { defaultOpen: { type: Boolean, default: !1 }, @@ -8074,11 +8037,11 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const n = e, o = t, { modal: a } = pe(n), r = ge(n, "open", o, { + const n = e, o = t, { modal: a } = ce(n), r = ve(n, "open", o, { defaultValue: n.defaultOpen, passive: n.open === void 0 }), l = T(), i = T(!1); - return hp({ + return yp({ contentId: "", modal: a, open: r, @@ -8090,26 +8053,26 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, triggerElement: l, hasCustomAnchor: i - }), (u, d) => (h(), C(s(Xt), null, { + }), (u, d) => (h(), C(s(qt), null, { default: y(() => [ _(u.$slots, "default", { open: s(r) }) ]), _: 3 })); } -}), bp = /* @__PURE__ */ x({ +}), wp = /* @__PURE__ */ x({ __name: "PopoverTrigger", props: { asChild: { type: Boolean }, as: { default: "button" } }, setup(e) { - const t = e, n = Qt(), { forwardRef: o, currentElement: a } = M(); - return se(() => { + const t = e, n = Yt(), { forwardRef: o, currentElement: a } = R(); + return re(() => { n.triggerElement.value = a.value; - }), (r, l) => (h(), C(Ve(s(n).hasCustomAnchor.value ? s(K) : s(Cn)), { "as-child": "" }, { + }), (r, l) => (h(), C(Fe(s(n).hasCustomAnchor.value ? s(K) : s(wn)), { "as-child": "" }, { default: y(() => [ - R(s(K), { + M(s(K), { ref: s(o), type: r.as === "button" ? "button" : void 0, "aria-haspopup": "dialog", @@ -8129,7 +8092,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 })); } -}), wp = /* @__PURE__ */ x({ +}), xp = /* @__PURE__ */ x({ __name: "PopoverPortal", props: { to: {}, @@ -8138,14 +8101,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(qt), U(W(t)), { + return (n, o) => (h(), C(s(Ut), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Js = /* @__PURE__ */ x({ +}), sl = /* @__PURE__ */ x({ __name: "PopoverContentImpl", props: { trapFocus: { type: Boolean }, @@ -8167,8 +8130,8 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = Se(n), { forwardRef: r } = M(), l = Qt(); - return ha(), (i, u) => (h(), C(s(ao), { + const n = e, o = t, a = $e(n), { forwardRef: r } = R(), l = Yt(); + return xa(), (i, u) => (h(), C(s(oo), { "as-child": "", loop: "", trapped: i.trapFocus, @@ -8176,7 +8139,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ onUnmountAutoFocus: u[6] || (u[6] = (d) => o("closeAutoFocus", d)) }, { default: y(() => [ - R(s(Yt), { + M(s(Wt), { "as-child": "", "disable-outside-pointer-events": i.disableOutsidePointerEvents, onPointerDownOutside: u[0] || (u[0] = (d) => o("pointerDownOutside", d)), @@ -8186,7 +8149,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ onDismiss: u[4] || (u[4] = (d) => s(l).onOpenChange(!1)) }, { default: y(() => [ - R(s(Ht), D(s(a), { + M(s(Nt), D(s(a), { id: s(l).contentId, ref: s(r), "data-state": s(l).open.value ? "open" : "closed", @@ -8211,7 +8174,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["trapped"])); } -}), xp = /* @__PURE__ */ x({ +}), _p = /* @__PURE__ */ x({ __name: "PopoverContentModal", props: { trapFocus: { type: Boolean }, @@ -8233,14 +8196,14 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = Qt(), r = T(!1); - xn(!0); - const l = Z(n, o), { forwardRef: i, currentElement: u } = M(); - return _n(u), (d, c) => (h(), C(Js, D(s(l), { + const n = e, o = t, a = Yt(), r = T(!1); + yn(!0); + const l = Q(n, o), { forwardRef: i, currentElement: u } = R(); + return bn(u), (d, c) => (h(), C(sl, D(s(l), { ref: s(i), "trap-focus": s(a).open.value, "disable-outside-pointer-events": "", - onCloseAutoFocus: c[0] || (c[0] = Be( + onCloseAutoFocus: c[0] || (c[0] = Ce( (p) => { var m; o("closeAutoFocus", p), r.value || (m = s(a).triggerElement.value) == null || m.focus(); @@ -8252,7 +8215,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ const m = p.detail.originalEvent, f = m.button === 0 && m.ctrlKey === !0, v = m.button === 2 || f; r.value = v; }), - onFocusOutside: c[2] || (c[2] = Be(() => { + onFocusOutside: c[2] || (c[2] = Ce(() => { }, ["prevent"])) }), { default: y(() => [ @@ -8261,7 +8224,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16, ["trap-focus"])); } -}), _p = /* @__PURE__ */ x({ +}), Cp = /* @__PURE__ */ x({ __name: "PopoverContentNonModal", props: { trapFocus: { type: Boolean }, @@ -8283,8 +8246,8 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = Qt(), r = T(!1), l = T(!1), i = Z(n, o); - return (u, d) => (h(), C(Js, D(s(i), { + const n = e, o = t, a = Yt(), r = T(!1), l = T(!1), i = Q(n, o); + return (u, d) => (h(), C(sl, D(s(i), { "trap-focus": !1, "disable-outside-pointer-events": !1, onCloseAutoFocus: d[0] || (d[0] = (c) => { @@ -8304,7 +8267,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Cp = /* @__PURE__ */ x({ +}), Bp = /* @__PURE__ */ x({ __name: "PopoverContent", props: { forceMount: { type: Boolean }, @@ -8327,17 +8290,17 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, a = Qt(), r = Z(n, o), { forwardRef: l } = M(); - return a.contentId || (a.contentId = Ce(void 0, "radix-vue-popover-content")), (i, u) => (h(), C(s(Ne), { + const n = e, o = t, a = Yt(), r = Q(n, o), { forwardRef: l } = R(); + return a.contentId || (a.contentId = _e(void 0, "radix-vue-popover-content")), (i, u) => (h(), C(s(ze), { present: i.forceMount || s(a).open.value }, { default: y(() => [ - s(a).modal.value ? (h(), C(xp, D({ key: 0 }, s(r), { ref: s(l) }), { + s(a).modal.value ? (h(), C(_p, D({ key: 0 }, s(r), { ref: s(l) }), { default: y(() => [ _(i.$slots, "default") ]), _: 3 - }, 16)) : (h(), C(_p, D({ key: 1 }, s(r), { ref: s(l) }), { + }, 16)) : (h(), C(Cp, D({ key: 1 }, s(r), { ref: s(l) }), { default: y(() => [ _(i.$slots, "default") ]), @@ -8347,7 +8310,7 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), V0 = /* @__PURE__ */ x({ +}), Hh = /* @__PURE__ */ x({ __name: "PopoverAnchor", props: { element: {}, @@ -8356,68 +8319,68 @@ const [Ic, Mc] = oe("RovingFocusGroup"), Ws = /* @__PURE__ */ x({ }, setup(e) { const t = e; - M(); - const n = Qt(); - return Yr(() => { + R(); + const n = Yt(); + return cs(() => { n.hasCustomAnchor.value = !0; - }), ze(() => { + }), Le(() => { n.hasCustomAnchor.value = !1; - }), (o, a) => (h(), C(s(Cn), U(W(t)), { + }), (o, a) => (h(), C(s(wn), U(W(t)), { default: y(() => [ _(o.$slots, "default") ]), _: 3 }, 16)); } -}), fn = 100, [Bp, $p] = oe("ProgressRoot"), Ra = (e) => typeof e == "number"; -function Sp(e, t) { - return zt(e) || Ra(e) && !Number.isNaN(e) && e <= t && e >= 0 ? e : (console.error(`Invalid prop \`value\` of value \`${e}\` supplied to \`ProgressRoot\`. The \`value\` prop must be: +}), dn = 100, [$p, Sp] = ne("ProgressRoot"), za = (e) => typeof e == "number"; +function kp(e, t) { + return Ft(e) || za(e) && !Number.isNaN(e) && e <= t && e >= 0 ? e : (console.error(`Invalid prop \`value\` of value \`${e}\` supplied to \`ProgressRoot\`. The \`value\` prop must be: - a positive number - - less than the value passed to \`max\` (or ${fn} if no \`max\` prop is set) + - less than the value passed to \`max\` (or ${dn} if no \`max\` prop is set) - \`null\` or \`undefined\` if the progress is indeterminate. Defaulting to \`null\`.`), null); } -function kp(e) { - return Ra(e) && !Number.isNaN(e) && e > 0 ? e : (console.error( - `Invalid prop \`max\` of value \`${e}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${fn}\`.` - ), fn); +function Op(e) { + return za(e) && !Number.isNaN(e) && e > 0 ? e : (console.error( + `Invalid prop \`max\` of value \`${e}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${dn}\`.` + ), dn); } -const Op = /* @__PURE__ */ x({ +const Ap = /* @__PURE__ */ x({ __name: "ProgressRoot", props: { modelValue: {}, - max: { default: fn }, - getValueLabel: { type: Function, default: (e, t) => `${Math.round(e / t * fn)}%` }, + max: { default: dn }, + getValueLabel: { type: Function, default: (e, t) => `${Math.round(e / t * dn)}%` }, asChild: { type: Boolean }, as: {} }, emits: ["update:modelValue", "update:max"], setup(e, { emit: t }) { const n = e, o = t; - M(); - const a = ge(n, "modelValue", o, { + R(); + const a = ve(n, "modelValue", o, { passive: n.modelValue === void 0 - }), r = ge(n, "max", o, { + }), r = ve(n, "max", o, { passive: n.max === void 0 }); X( () => a.value, async (i) => { - const u = Sp(i, n.max); - u !== i && (await ae(), a.value = u); + const u = kp(i, n.max); + u !== i && (await oe(), a.value = u); }, { immediate: !0 } ), X( () => n.max, (i) => { - const u = kp(n.max); + const u = Op(n.max); u !== i && (r.value = u); }, { immediate: !0 } ); - const l = S(() => zt(a.value) ? "indeterminate" : a.value === r.value ? "complete" : "loading"); - return $p({ + const l = S(() => Ft(a.value) ? "indeterminate" : a.value === r.value ? "complete" : "loading"); + return Sp({ modelValue: a, max: r, progressState: l @@ -8426,7 +8389,7 @@ const Op = /* @__PURE__ */ x({ as: i.as, "aria-valuemax": s(r), "aria-valuemin": 0, - "aria-valuenow": Ra(s(a)) ? s(a) : void 0, + "aria-valuenow": za(s(a)) ? s(a) : void 0, "aria-valuetext": i.getValueLabel(s(a), s(r)), "aria-label": i.getValueLabel(s(a), s(r)), role: "progressbar", @@ -8447,8 +8410,8 @@ const Op = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = e, n = Bp(); - return M(), (o, a) => { + const t = e, n = $p(); + return R(), (o, a) => { var r; return h(), C(s(K), D(t, { "data-state": s(n).progressState.value, @@ -8462,7 +8425,7 @@ const Op = /* @__PURE__ */ x({ }, 16, ["data-state", "data-value", "data-max"]); }; } -}), Ap = ["default-value"], Tp = /* @__PURE__ */ x({ +}), Tp = ["default-value"], Dp = /* @__PURE__ */ x({ __name: "BubbleSelect", props: { autocomplete: {}, @@ -8476,28 +8439,28 @@ const Op = /* @__PURE__ */ x({ value: {} }, setup(e) { - const t = e, { value: n } = pe(t), o = T(); - return (a, r) => (h(), C(s(Bn), { "as-child": "" }, { + const t = e, { value: n } = ce(t), o = T(); + return (a, r) => (h(), C(s(xn), { "as-child": "" }, { default: y(() => [ - Ut(re("select", D({ + jt(ae("select", D({ ref_key: "selectElement", ref: o }, t, { - "onUpdate:modelValue": r[0] || (r[0] = (l) => $t(n) ? n.value = l : null), + "onUpdate:modelValue": r[0] || (r[0] = (l) => xt(n) ? n.value = l : null), "default-value": s(n) }), [ _(a.$slots, "default") - ], 16, Ap), [ - [Ql, s(n)] + ], 16, Tp), [ + [ri, s(n)] ]) ]), _: 3 })); } -}), Dp = { +}), Pp = { key: 0, value: "" -}, [Pt, el] = oe("SelectRoot"), [Pp, Ip] = oe("SelectRoot"), Mp = /* @__PURE__ */ x({ +}, [At, ll] = ne("SelectRoot"), [Ip, Mp] = ne("SelectRoot"), Rp = /* @__PURE__ */ x({ __name: "SelectRoot", props: { open: { type: Boolean, default: void 0 }, @@ -8512,17 +8475,17 @@ const Op = /* @__PURE__ */ x({ }, emits: ["update:modelValue", "update:open"], setup(e, { emit: t }) { - const n = e, o = t, a = ge(n, "modelValue", o, { + const n = e, o = t, a = ve(n, "modelValue", o, { defaultValue: n.defaultValue, passive: n.modelValue === void 0 - }), r = ge(n, "open", o, { + }), r = ve(n, "open", o, { defaultValue: n.defaultOpen, passive: n.open === void 0 }), l = T(), i = T(), u = T({ x: 0, y: 0 - }), d = T(!1), { required: c, disabled: p, dir: m } = pe(n), f = yt(m); - el({ + }), d = T(!1), { required: c, disabled: p, dir: m } = ce(n), f = vt(m); + ll({ triggerElement: l, onTriggerChange: (w) => { l.value = w; @@ -8549,24 +8512,24 @@ const Op = /* @__PURE__ */ x({ triggerPointerDownPosRef: u, disabled: p }); - const v = no(l), g = T(/* @__PURE__ */ new Set()), b = S(() => Array.from(g.value).map((w) => { + const v = to(l), g = T(/* @__PURE__ */ new Set()), b = S(() => Array.from(g.value).map((w) => { var B; return (B = w.props) == null ? void 0 : B.value; }).join(";")); - return Ip({ + return Mp({ onNativeOptionAdd: (w) => { g.value.add(w); }, onNativeOptionRemove: (w) => { g.value.delete(w); } - }), (w, B) => (h(), C(s(Xt), null, { + }), (w, B) => (h(), C(s(qt), null, { default: y(() => [ _(w.$slots, "default", { modelValue: s(a), open: s(r) }), - s(v) ? (h(), C(Tp, D({ key: b.value }, w.$attrs, { + s(v) ? (h(), C(Dp, D({ key: b.value }, w.$attrs, { "aria-hidden": "true", tabindex: "-1", required: s(c), @@ -8577,22 +8540,22 @@ const Op = /* @__PURE__ */ x({ onChange: B[0] || (B[0] = ($) => a.value = $.target.value) }), { default: y(() => [ - s(a) === void 0 ? (h(), N("option", Dp)) : ce("", !0), - (h(!0), N(be, null, vt(Array.from(g.value), ($) => (h(), C(Ve($), D({ ref_for: !0 }, $.props, { + s(a) === void 0 ? (h(), N("option", Pp)) : de("", !0), + (h(!0), N(ye, null, pt(Array.from(g.value), ($) => (h(), C(Fe($), D({ ref_for: !0 }, $.props, { key: $.key ?? "" }), null, 16))), 128)) ]), _: 1 - }, 16, ["required", "name", "autocomplete", "disabled", "value"])) : ce("", !0) + }, 16, ["required", "name", "autocomplete", "disabled", "value"])) : de("", !0) ]), _: 3 })); } -}), Rp = [" ", "Enter", "ArrowUp", "ArrowDown"], Fp = [" ", "Enter"], He = 10; -function tl(e) { - return e === "" || zt(e); +}), Fp = [" ", "Enter", "ArrowUp", "ArrowDown"], Vp = [" ", "Enter"], Ke = 10; +function il(e) { + return e === "" || Ft(e); } -const Vp = /* @__PURE__ */ x({ +const Lp = /* @__PURE__ */ x({ __name: "SelectTrigger", props: { disabled: { type: Boolean }, @@ -8600,14 +8563,14 @@ const Vp = /* @__PURE__ */ x({ as: { default: "button" } }, setup(e) { - const t = e, n = Pt(), o = S(() => { + const t = e, n = At(), o = S(() => { var f; return ((f = n.disabled) == null ? void 0 : f.value) || t.disabled; - }), { forwardRef: a, currentElement: r } = M(); - n.contentId || (n.contentId = Ce(void 0, "radix-vue-select-content")), se(() => { + }), { forwardRef: a, currentElement: r } = R(); + n.contentId || (n.contentId = _e(void 0, "radix-vue-select-content")), re(() => { n.triggerElement = r; }); - const { injectCollection: l } = Gt(), i = l(), { search: u, handleTypeaheadSearch: d, resetTypeahead: c } = ya(i); + const { injectCollection: l } = Ht(), i = l(), { search: u, handleTypeaheadSearch: d, resetTypeahead: c } = _a(i); function p() { o.value || (n.onOpenChange(!0), c()); } @@ -8617,11 +8580,11 @@ const Vp = /* @__PURE__ */ x({ y: Math.round(f.pageY) }; } - return (f, v) => (h(), C(s(Cn), { "as-child": "" }, { + return (f, v) => (h(), C(s(wn), { "as-child": "" }, { default: y(() => { var g, b, w, B; return [ - R(s(K), { + M(s(K), { ref: s(a), role: "combobox", type: f.as === "button" ? "button" : void 0, @@ -8633,28 +8596,28 @@ const Vp = /* @__PURE__ */ x({ dir: (b = s(n)) == null ? void 0 : b.dir.value, "data-state": (w = s(n)) != null && w.open.value ? "open" : "closed", "data-disabled": o.value ? "" : void 0, - "data-placeholder": s(tl)((B = s(n).modelValue) == null ? void 0 : B.value) ? "" : void 0, + "data-placeholder": s(il)((B = s(n).modelValue) == null ? void 0 : B.value) ? "" : void 0, "as-child": f.asChild, as: f.as, onClick: v[0] || (v[0] = ($) => { - var E; - (E = $ == null ? void 0 : $.currentTarget) == null || E.focus(); + var O; + (O = $ == null ? void 0 : $.currentTarget) == null || O.focus(); }), onPointerdown: v[1] || (v[1] = ($) => { if ($.pointerType === "touch") return $.preventDefault(); - const E = $.target; - E.hasPointerCapture($.pointerId) && E.releasePointerCapture($.pointerId), $.button === 0 && $.ctrlKey === !1 && (m($), $.preventDefault()); + const O = $.target; + O.hasPointerCapture($.pointerId) && O.releasePointerCapture($.pointerId), $.button === 0 && $.ctrlKey === !1 && (m($), $.preventDefault()); }), - onPointerup: v[2] || (v[2] = Be( + onPointerup: v[2] || (v[2] = Ce( ($) => { $.pointerType === "touch" && m($); }, ["prevent"] )), onKeydown: v[3] || (v[3] = ($) => { - const E = s(u) !== ""; - !($.ctrlKey || $.altKey || $.metaKey) && $.key.length === 1 && E && $.key === " " || (s(d)($.key), s(Rp).includes($.key) && (p(), $.preventDefault())); + const O = s(u) !== ""; + !($.ctrlKey || $.altKey || $.metaKey) && $.key.length === 1 && O && $.key === " " || (s(d)($.key), s(Fp).includes($.key) && (p(), $.preventDefault())); }) }, { default: y(() => [ @@ -8667,7 +8630,7 @@ const Vp = /* @__PURE__ */ x({ _: 3 })); } -}), Lp = /* @__PURE__ */ x({ +}), zp = /* @__PURE__ */ x({ __name: "SelectPortal", props: { to: {}, @@ -8676,14 +8639,14 @@ const Vp = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(qt), U(W(t)), { + return (n, o) => (h(), C(s(Ut), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), [Fa, zp] = oe("SelectItemAlignedPosition"), Np = /* @__PURE__ */ x({ +}), [Na, Np] = ne("SelectItemAlignedPosition"), jp = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SelectItemAlignedPosition", props: { @@ -8692,79 +8655,79 @@ const Vp = /* @__PURE__ */ x({ }, emits: ["placed"], setup(e, { emit: t }) { - const n = e, o = t, { injectCollection: a } = Gt(), r = Pt(), l = It(), i = a(), u = T(!1), d = T(!0), c = T(), { forwardRef: p, currentElement: m } = M(), { viewport: f, selectedItem: v, selectedItemText: g, focusSelectedItem: b } = l; + const n = e, o = t, { injectCollection: a } = Ht(), r = At(), l = Et(), i = a(), u = T(!1), d = T(!0), c = T(), { forwardRef: p, currentElement: m } = R(), { viewport: f, selectedItem: v, selectedItemText: g, focusSelectedItem: b } = l; function w() { if (r.triggerElement.value && r.valueElement.value && c.value && m.value && f != null && f.value && v != null && v.value && g != null && g.value) { - const E = r.triggerElement.value.getBoundingClientRect(), k = m.value.getBoundingClientRect(), P = r.valueElement.value.getBoundingClientRect(), O = g.value.getBoundingClientRect(); + const O = r.triggerElement.value.getBoundingClientRect(), k = m.value.getBoundingClientRect(), P = r.valueElement.value.getBoundingClientRect(), A = g.value.getBoundingClientRect(); if (r.dir.value !== "rtl") { - const ye = O.left - k.left, me = P.left - ye, Ee = E.left - me, xe = E.width + Ee, de = Math.max(xe, k.width), H = window.innerWidth - He, ie = Hn(me, He, Math.max(He, H - de)); - c.value.style.minWidth = `${xe}px`, c.value.style.left = `${ie}px`; + const he = A.left - k.left, fe = P.left - he, Oe = O.left - fe, we = O.width + Oe, ue = Math.max(we, k.width), H = window.innerWidth - Ke, le = Kn(fe, Ke, Math.max(Ke, H - ue)); + c.value.style.minWidth = `${we}px`, c.value.style.left = `${le}px`; } else { - const ye = k.right - O.right, me = window.innerWidth - P.right - ye, Ee = window.innerWidth - E.right - me, xe = E.width + Ee, de = Math.max(xe, k.width), H = window.innerWidth - He, ie = Hn( - me, - He, - Math.max(He, H - de) + const he = k.right - A.right, fe = window.innerWidth - P.right - he, Oe = window.innerWidth - O.right - fe, we = O.width + Oe, ue = Math.max(we, k.width), H = window.innerWidth - Ke, le = Kn( + fe, + Ke, + Math.max(Ke, H - ue) ); - c.value.style.minWidth = `${xe}px`, c.value.style.right = `${ie}px`; + c.value.style.minWidth = `${we}px`, c.value.style.right = `${le}px`; } - const I = i.value, V = window.innerHeight - He * 2, A = f.value.scrollHeight, L = window.getComputedStyle(m.value), F = Number.parseInt( + const I = i.value, V = window.innerHeight - Ke * 2, E = f.value.scrollHeight, L = window.getComputedStyle(m.value), F = Number.parseInt( L.borderTopWidth, 10 - ), q = Number.parseInt(L.paddingTop, 10), G = Number.parseInt( + ), G = Number.parseInt(L.paddingTop, 10), q = Number.parseInt( L.borderBottomWidth, 10 - ), Q = Number.parseInt( + ), Z = Number.parseInt( L.paddingBottom, 10 - ), le = F + q + A + Q + G, fe = Math.min( + ), se = F + G + E + Z + q, pe = Math.min( v.value.offsetHeight * 5, - le - ), ue = window.getComputedStyle(f.value), j = Number.parseInt(ue.paddingTop, 10), Y = Number.parseInt( - ue.paddingBottom, + se + ), ie = window.getComputedStyle(f.value), j = Number.parseInt(ie.paddingTop, 10), Y = Number.parseInt( + ie.paddingBottom, 10 - ), J = E.top + E.height / 2 - He, De = V - J, Ie = v.value.offsetHeight / 2, Pe = v.value.offsetTop + Ie, qe = F + q + Pe, wt = le - qe; + ), J = O.top + O.height / 2 - Ke, Te = V - J, Pe = v.value.offsetHeight / 2, De = v.value.offsetTop + Pe, qe = F + G + De, ht = se - qe; if (qe <= J) { - const ye = v.value === I[I.length - 1]; + const he = v.value === I[I.length - 1]; c.value.style.bottom = "0px"; - const me = m.value.clientHeight - f.value.offsetTop - f.value.offsetHeight, Ee = Math.max( - De, - Ie + (ye ? Y : 0) + me + G - ), xe = qe + Ee; - c.value.style.height = `${xe}px`; + const fe = m.value.clientHeight - f.value.offsetTop - f.value.offsetHeight, Oe = Math.max( + Te, + Pe + (he ? Y : 0) + fe + q + ), we = qe + Oe; + c.value.style.height = `${we}px`; } else { - const ye = v.value === I[0]; + const he = v.value === I[0]; c.value.style.top = "0px"; - const me = Math.max( + const fe = Math.max( J, - F + f.value.offsetTop + (ye ? j : 0) + Ie - ) + wt; - c.value.style.height = `${me}px`, f.value.scrollTop = qe - J + f.value.offsetTop; + F + f.value.offsetTop + (he ? j : 0) + Pe + ) + ht; + c.value.style.height = `${fe}px`, f.value.scrollTop = qe - J + f.value.offsetTop; } - c.value.style.margin = `${He}px 0`, c.value.style.minHeight = `${fe}px`, c.value.style.maxHeight = `${V}px`, o("placed"), requestAnimationFrame(() => u.value = !0); + c.value.style.margin = `${Ke}px 0`, c.value.style.minHeight = `${pe}px`, c.value.style.maxHeight = `${V}px`, o("placed"), requestAnimationFrame(() => u.value = !0); } } const B = T(""); - se(async () => { - await ae(), w(), m.value && (B.value = window.getComputedStyle(m.value).zIndex); + re(async () => { + await oe(), w(), m.value && (B.value = window.getComputedStyle(m.value).zIndex); }); - function $(E) { - E && d.value === !0 && (w(), b == null || b(), d.value = !1); + function $(O) { + O && d.value === !0 && (w(), b == null || b(), d.value = !1); } - return zp({ + return Np({ contentWrapper: c, shouldExpandOnScrollRef: u, onScrollButtonChange: $ - }), (E, k) => (h(), N("div", { + }), (O, k) => (h(), N("div", { ref_key: "contentWrapperElement", ref: c, - style: Ot({ + style: Bt({ display: "flex", flexDirection: "column", position: "fixed", zIndex: B.value }) }, [ - R(s(K), D({ + M(s(K), D({ ref: s(p), style: { // When we get the height of the content, it includes borders. If we were to set @@ -8773,15 +8736,15 @@ const Vp = /* @__PURE__ */ x({ // We need to ensure the content doesn't get taller than the wrapper maxHeight: "100%" } - }, { ...E.$attrs, ...n }), { + }, { ...O.$attrs, ...n }), { default: y(() => [ - _(E.$slots, "default") + _(O.$slots, "default") ]), _: 3 }, 16) ], 4)); } -}), jp = /* @__PURE__ */ x({ +}), Kp = /* @__PURE__ */ x({ __name: "SelectPopperPosition", props: { side: {}, @@ -8790,7 +8753,7 @@ const Vp = /* @__PURE__ */ x({ alignOffset: {}, avoidCollisions: { type: Boolean }, collisionBoundary: {}, - collisionPadding: { default: He }, + collisionPadding: { default: Ke }, arrowPadding: {}, sticky: {}, hideWhenDetached: { type: Boolean }, @@ -8800,8 +8763,8 @@ const Vp = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = Se(e); - return (n, o) => (h(), C(s(Ht), D(s(t), { style: { + const t = $e(e); + return (n, o) => (h(), C(s(Nt), D(s(t), { style: { // Ensure border-box for floating-ui calculations boxSizing: "border-box", "--radix-select-content-transform-origin": "var(--radix-popper-transform-origin)", @@ -8816,14 +8779,14 @@ const Vp = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Jt = { +}), Xt = { onViewportChange: () => { }, itemTextRefCallback: () => { }, itemRefCallback: () => { } -}, [It, Kp] = oe("SelectContent"), Hp = /* @__PURE__ */ x({ +}, [Et, Hp] = ne("SelectContent"), Up = /* @__PURE__ */ x({ __name: "SelectContentImpl", props: { position: { default: "item-aligned" }, @@ -8845,41 +8808,41 @@ const Vp = /* @__PURE__ */ x({ }, emits: ["closeAutoFocus", "escapeKeyDown", "pointerDownOutside"], setup(e, { emit: t }) { - const n = e, o = t, a = Pt(); - ha(), xn(n.bodyLock); - const { createCollection: r } = Gt(), l = T(); - _n(l); - const i = r(l), { search: u, handleTypeaheadSearch: d } = ya(i), c = T(), p = T(), m = T(), f = T(!1), v = T(!1); + const n = e, o = t, a = At(); + xa(), yn(n.bodyLock); + const { createCollection: r } = Ht(), l = T(); + bn(l); + const i = r(l), { search: u, handleTypeaheadSearch: d } = _a(i), c = T(), p = T(), m = T(), f = T(!1), v = T(!1); function g() { - p.value && l.value && Ko([p.value, l.value]); + p.value && l.value && Yo([p.value, l.value]); } X(f, () => { g(); }); const { onOpenChange: b, triggerPointerDownPosRef: w } = a; - we((k) => { + be((k) => { if (!l.value) return; let P = { x: 0, y: 0 }; - const O = (V) => { - var A, L; + const A = (V) => { + var E, L; P = { x: Math.abs( - Math.round(V.pageX) - (((A = w.value) == null ? void 0 : A.x) ?? 0) + Math.round(V.pageX) - (((E = w.value) == null ? void 0 : E.x) ?? 0) ), y: Math.abs( Math.round(V.pageY) - (((L = w.value) == null ? void 0 : L.y) ?? 0) ) }; }, I = (V) => { - var A; - V.pointerType !== "touch" && (P.x <= 10 && P.y <= 10 ? V.preventDefault() : (A = l.value) != null && A.contains(V.target) || b(!1), document.removeEventListener("pointermove", O), w.value = null); + var E; + V.pointerType !== "touch" && (P.x <= 10 && P.y <= 10 ? V.preventDefault() : (E = l.value) != null && E.contains(V.target) || b(!1), document.removeEventListener("pointermove", A), w.value = null); }; - w.value !== null && (document.addEventListener("pointermove", O), document.addEventListener("pointerup", I, { + w.value !== null && (document.addEventListener("pointermove", A), document.addEventListener("pointerup", I, { capture: !0, once: !0 })), k(() => { - document.removeEventListener("pointermove", O), document.removeEventListener("pointerup", I, { + document.removeEventListener("pointermove", A), document.removeEventListener("pointerup", I, { capture: !0 }); }); @@ -8887,25 +8850,25 @@ const Vp = /* @__PURE__ */ x({ function B(k) { const P = k.ctrlKey || k.altKey || k.metaKey; if (k.key === "Tab" && k.preventDefault(), !P && k.key.length === 1 && d(k.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(k.key)) { - let O = i.value; - if (["ArrowUp", "End"].includes(k.key) && (O = O.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(k.key)) { - const I = k.target, V = O.indexOf(I); - O = O.slice(V + 1); + let A = i.value; + if (["ArrowUp", "End"].includes(k.key) && (A = A.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(k.key)) { + const I = k.target, V = A.indexOf(I); + A = A.slice(V + 1); } - setTimeout(() => Ko(O)), k.preventDefault(); + setTimeout(() => Yo(A)), k.preventDefault(); } } - const $ = S(() => n.position === "popper" ? n : {}), E = Se($.value); - return Kp({ + const $ = S(() => n.position === "popper" ? n : {}), O = $e($.value); + return Hp({ content: l, viewport: c, onViewportChange: (k) => { c.value = k; }, - itemRefCallback: (k, P, O) => { + itemRefCallback: (k, P, A) => { var I, V; - const A = !v.value && !O; - (((I = a.modelValue) == null ? void 0 : I.value) !== void 0 && ((V = a.modelValue) == null ? void 0 : V.value) === P || A) && (p.value = k, A && (v.value = !0)); + const E = !v.value && !A; + (((I = a.modelValue) == null ? void 0 : I.value) !== void 0 && ((V = a.modelValue) == null ? void 0 : V.value) === P || E) && (p.value = k, E && (v.value = !0)); }, selectedItem: p, selectedItemText: m, @@ -8913,41 +8876,41 @@ const Vp = /* @__PURE__ */ x({ var k; (k = l.value) == null || k.focus(); }, - itemTextRefCallback: (k, P, O) => { + itemTextRefCallback: (k, P, A) => { var I, V; - const A = !v.value && !O; - (((I = a.modelValue) == null ? void 0 : I.value) !== void 0 && ((V = a.modelValue) == null ? void 0 : V.value) === P || A) && (m.value = k); + const E = !v.value && !A; + (((I = a.modelValue) == null ? void 0 : I.value) !== void 0 && ((V = a.modelValue) == null ? void 0 : V.value) === P || E) && (m.value = k); }, focusSelectedItem: g, position: n.position, isPositioned: f, searchRef: u - }), (k, P) => (h(), C(s(ao), { + }), (k, P) => (h(), C(s(oo), { "as-child": "", - onMountAutoFocus: P[6] || (P[6] = Be(() => { + onMountAutoFocus: P[6] || (P[6] = Ce(() => { }, ["prevent"])), - onUnmountAutoFocus: P[7] || (P[7] = (O) => { + onUnmountAutoFocus: P[7] || (P[7] = (A) => { var I; - o("closeAutoFocus", O), !O.defaultPrevented && ((I = s(a).triggerElement.value) == null || I.focus({ preventScroll: !0 }), O.preventDefault()); + o("closeAutoFocus", A), !A.defaultPrevented && ((I = s(a).triggerElement.value) == null || I.focus({ preventScroll: !0 }), A.preventDefault()); }) }, { default: y(() => [ - R(s(Yt), { + M(s(Wt), { "as-child": "", "disable-outside-pointer-events": "", - onFocusOutside: P[2] || (P[2] = Be(() => { + onFocusOutside: P[2] || (P[2] = Ce(() => { }, ["prevent"])), - onDismiss: P[3] || (P[3] = (O) => s(a).onOpenChange(!1)), - onEscapeKeyDown: P[4] || (P[4] = (O) => o("escapeKeyDown", O)), - onPointerDownOutside: P[5] || (P[5] = (O) => o("pointerDownOutside", O)) + onDismiss: P[3] || (P[3] = (A) => s(a).onOpenChange(!1)), + onEscapeKeyDown: P[4] || (P[4] = (A) => o("escapeKeyDown", A)), + onPointerDownOutside: P[5] || (P[5] = (A) => o("pointerDownOutside", A)) }, { default: y(() => [ - (h(), C(Ve( - k.position === "popper" ? jp : Np - ), D({ ...k.$attrs, ...s(E) }, { + (h(), C(Fe( + k.position === "popper" ? Kp : jp + ), D({ ...k.$attrs, ...s(O) }, { id: s(a).contentId, - ref: (O) => { - l.value = s(Le)(O); + ref: (A) => { + l.value = s(Ve)(A); }, role: "listbox", "data-state": s(a).open.value ? "open" : "closed", @@ -8959,9 +8922,9 @@ const Vp = /* @__PURE__ */ x({ // reset the outline by default as the content MAY get focused outline: "none" }, - onContextmenu: P[0] || (P[0] = Be(() => { + onContextmenu: P[0] || (P[0] = Ce(() => { }, ["prevent"])), - onPlaced: P[1] || (P[1] = (O) => f.value = !0), + onPlaced: P[1] || (P[1] = (A) => f.value = !0), onKeydown: B }), { default: y(() => [ @@ -8976,16 +8939,16 @@ const Vp = /* @__PURE__ */ x({ _: 3 })); } -}), Up = /* @__PURE__ */ x({ +}), Wp = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SelectProvider", props: { context: {} }, setup(e) { - return el(e.context), (t, n) => _(t.$slots, "default"); + return ll(e.context), (t, n) => _(t.$slots, "default"); } -}), Wp = { key: 1 }, Gp = /* @__PURE__ */ x({ +}), qp = { key: 1 }, Gp = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SelectContent", props: { @@ -9009,21 +8972,21 @@ const Vp = /* @__PURE__ */ x({ }, emits: ["closeAutoFocus", "escapeKeyDown", "pointerDownOutside"], setup(e, { emit: t }) { - const n = e, o = Z(n, t), a = Pt(), r = T(); - se(() => { + const n = e, o = Q(n, t), a = At(), r = T(); + re(() => { r.value = new DocumentFragment(); }); const l = T(), i = S(() => n.forceMount || a.open.value); return (u, d) => { var c; - return i.value ? (h(), C(s(Ne), { + return i.value ? (h(), C(s(ze), { key: 0, ref_key: "presenceRef", ref: l, present: !0 }, { default: y(() => [ - R(Hp, U(W({ ...s(o), ...u.$attrs })), { + M(Up, U(W({ ...s(o), ...u.$attrs })), { default: y(() => [ _(u.$slots, "default") ]), @@ -9031,19 +8994,19 @@ const Vp = /* @__PURE__ */ x({ }, 16) ]), _: 3 - }, 512)) : !((c = l.value) != null && c.present) && r.value ? (h(), N("div", Wp, [ - (h(), C(Yn, { to: r.value }, [ - R(Up, { context: s(a) }, { + }, 512)) : !((c = l.value) != null && c.present) && r.value ? (h(), N("div", qp, [ + (h(), C(Gn, { to: r.value }, [ + M(Wp, { context: s(a) }, { default: y(() => [ _(u.$slots, "default") ]), _: 3 }, 8, ["context"]) ], 8, ["to"])) - ])) : ce("", !0); + ])) : de("", !0); }; } -}), qp = /* @__PURE__ */ x({ +}), Yp = /* @__PURE__ */ x({ __name: "SelectSeparator", props: { asChild: { type: Boolean }, @@ -9058,7 +9021,7 @@ const Vp = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), [nl, Yp] = oe("SelectItem"), Xp = /* @__PURE__ */ x({ +}), [ul, Xp] = ne("SelectItem"), Qp = /* @__PURE__ */ x({ __name: "SelectItem", props: { value: {}, @@ -9068,36 +9031,36 @@ const Vp = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = e, { disabled: n } = pe(t), o = Pt(), a = It(Jt), { forwardRef: r, currentElement: l } = M(), i = S(() => { + const t = e, { disabled: n } = ce(t), o = At(), a = Et(Xt), { forwardRef: r, currentElement: l } = R(), i = S(() => { var g; return ((g = o.modelValue) == null ? void 0 : g.value) === t.value; - }), u = T(!1), d = T(t.textValue ?? ""), c = Ce(void 0, "radix-vue-select-item-text"); + }), u = T(!1), d = T(t.textValue ?? ""), c = _e(void 0, "radix-vue-select-item-text"); async function p(g) { - await ae(), !(g != null && g.defaultPrevented) && (n.value || (o.onValueChange(t.value), o.onOpenChange(!1))); + await oe(), !(g != null && g.defaultPrevented) && (n.value || (o.onValueChange(t.value), o.onOpenChange(!1))); } async function m(g) { var b; - await ae(), !g.defaultPrevented && (n.value ? (b = a.onItemLeave) == null || b.call(a) : g.currentTarget.focus({ preventScroll: !0 })); + await oe(), !g.defaultPrevented && (n.value ? (b = a.onItemLeave) == null || b.call(a) : g.currentTarget.focus({ preventScroll: !0 })); } async function f(g) { var b; - await ae(), !g.defaultPrevented && g.currentTarget === $e() && ((b = a.onItemLeave) == null || b.call(a)); + await oe(), !g.defaultPrevented && g.currentTarget === Be() && ((b = a.onItemLeave) == null || b.call(a)); } async function v(g) { var b; - await ae(), !(g.defaultPrevented || ((b = a.searchRef) == null ? void 0 : b.value) !== "" && g.key === " ") && (Fp.includes(g.key) && p(), g.key === " " && g.preventDefault()); + await oe(), !(g.defaultPrevented || ((b = a.searchRef) == null ? void 0 : b.value) !== "" && g.key === " ") && (Vp.includes(g.key) && p(), g.key === " " && g.preventDefault()); } if (t.value === "") throw new Error( "A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder." ); - return se(() => { + return re(() => { l.value && a.itemRefCallback( l.value, t.value, t.disabled ); - }), Yp({ + }), Xp({ value: t.value, disabled: n, textId: c, @@ -9124,7 +9087,7 @@ const Vp = /* @__PURE__ */ x({ onPointerdown: b[2] || (b[2] = (w) => { w.currentTarget.focus({ preventScroll: !0 }); }), - onTouchend: b[3] || (b[3] = Be(() => { + onTouchend: b[3] || (b[3] = Ce(() => { }, ["prevent", "stop"])), onPointermove: m, onPointerleave: f, @@ -9143,7 +9106,7 @@ const Vp = /* @__PURE__ */ x({ as: { default: "span" } }, setup(e) { - const t = e, n = nl(); + const t = e, n = ul(); return (o, a) => s(n).isSelected.value ? (h(), C(s(K), D({ key: 0, "aria-hidden": "true" @@ -9152,24 +9115,24 @@ const Vp = /* @__PURE__ */ x({ _(o.$slots, "default") ]), _: 3 - }, 16)) : ce("", !0); + }, 16)) : de("", !0); } -}), [Qp, Jp] = oe("SelectGroup"), ef = /* @__PURE__ */ x({ +}), [Jp, ef] = ne("SelectGroup"), tf = /* @__PURE__ */ x({ __name: "SelectGroup", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = e, n = Ce(void 0, "radix-vue-select-group"); - return Jp({ id: n }), (o, a) => (h(), C(s(K), D({ role: "group" }, t, { "aria-labelledby": s(n) }), { + const t = e, n = _e(void 0, "radix-vue-select-group"); + return ef({ id: n }), (o, a) => (h(), C(s(K), D({ role: "group" }, t, { "aria-labelledby": s(n) }), { default: y(() => [ _(o.$slots, "default") ]), _: 3 }, 16, ["aria-labelledby"])); } -}), tf = /* @__PURE__ */ x({ +}), nf = /* @__PURE__ */ x({ __name: "SelectLabel", props: { for: {}, @@ -9177,7 +9140,7 @@ const Vp = /* @__PURE__ */ x({ as: { default: "div" } }, setup(e) { - const t = e, n = Qp({ id: "" }); + const t = e, n = Jp({ id: "" }); return (o, a) => (h(), C(s(K), D(t, { id: s(n).id }), { @@ -9187,7 +9150,7 @@ const Vp = /* @__PURE__ */ x({ _: 3 }, 16, ["id"])); } -}), ol = /* @__PURE__ */ x({ +}), dl = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SelectItemText", props: { @@ -9195,25 +9158,25 @@ const Vp = /* @__PURE__ */ x({ as: { default: "span" } }, setup(e) { - const t = e, n = Pt(), o = It(Jt), a = Pp(), r = nl(), { forwardRef: l, currentElement: i } = M(), u = S(() => { + const t = e, n = At(), o = Et(Xt), a = Ip(), r = ul(), { forwardRef: l, currentElement: i } = R(), u = S(() => { var d; - return Oe("option", { + return ke("option", { key: r.value, value: r.value, disabled: r.disabled.value, textContent: (d = i.value) == null ? void 0 : d.textContent }); }); - return se(() => { + return re(() => { i.value && (r.onItemTextChange(i.value), o.itemTextRefCallback( i.value, r.value, r.disabled.value ), a.onNativeOptionAdd(u.value)); - }), Xn(() => { + }), Yn(() => { a.onNativeOptionRemove(u.value); - }), (d, c) => (h(), N(be, null, [ - R(s(K), D({ + }), (d, c) => (h(), N(ye, null, [ + M(s(K), D({ id: s(r).textId, ref: s(l) }, { ...t, ...d.$attrs }, { "data-item-text": "" }), { @@ -9222,15 +9185,15 @@ const Vp = /* @__PURE__ */ x({ ]), _: 3 }, 16, ["id"]), - s(r).isSelected.value && s(n).valueElement.value && !s(n).valueElementHasChildren.value ? (h(), C(Yn, { + s(r).isSelected.value && s(n).valueElement.value && !s(n).valueElementHasChildren.value ? (h(), C(Gn, { key: 0, to: s(n).valueElement.value }, [ _(d.$slots, "default") - ], 8, ["to"])) : ce("", !0) + ], 8, ["to"])) : de("", !0) ], 64)); } -}), nf = /* @__PURE__ */ x({ +}), of = /* @__PURE__ */ x({ __name: "SelectViewport", props: { nonce: {}, @@ -9238,8 +9201,8 @@ const Vp = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = e, { nonce: n } = pe(t), o = bc(n), a = It(Jt), r = a.position === "item-aligned" ? Fa() : void 0, { forwardRef: l, currentElement: i } = M(); - se(() => { + const t = e, { nonce: n } = ce(t), o = wc(n), a = Et(Xt), r = a.position === "item-aligned" ? Na() : void 0, { forwardRef: l, currentElement: i } = R(); + re(() => { a == null || a.onViewportChange(i.value); }); const u = T(0); @@ -9248,19 +9211,19 @@ const Vp = /* @__PURE__ */ x({ if (m != null && m.value && f != null && f.value) { const v = Math.abs(u.value - p.scrollTop); if (v > 0) { - const g = window.innerHeight - He * 2, b = Number.parseFloat( + const g = window.innerHeight - Ke * 2, b = Number.parseFloat( f.value.style.minHeight ), w = Number.parseFloat(f.value.style.height), B = Math.max(b, w); if (B < g) { - const $ = B + v, E = Math.min(g, $), k = $ - E; - f.value.style.height = `${E}px`, f.value.style.bottom === "0px" && (p.scrollTop = k > 0 ? k : 0, f.value.style.justifyContent = "flex-end"); + const $ = B + v, O = Math.min(g, $), k = $ - O; + f.value.style.height = `${O}px`, f.value.style.bottom === "0px" && (p.scrollTop = k > 0 ? k : 0, f.value.style.justifyContent = "flex-end"); } } } u.value = p.scrollTop; } - return (c, p) => (h(), N(be, null, [ - R(s(K), D({ + return (c, p) => (h(), N(ye, null, [ + M(s(K), D({ ref: s(l), "data-radix-select-viewport": "", role: "presentation" @@ -9280,28 +9243,28 @@ const Vp = /* @__PURE__ */ x({ ]), _: 3 }, 16), - R(s(K), { + M(s(K), { as: "style", nonce: s(o) }, { default: y(() => [ - ke(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ") + Se(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ") ]), _: 1 }, 8, ["nonce"]) ], 64)); } -}), al = /* @__PURE__ */ x({ +}), cl = /* @__PURE__ */ x({ __name: "SelectScrollButtonImpl", emits: ["autoScroll"], setup(e, { emit: t }) { - const n = t, { injectCollection: o } = Gt(), a = o(), r = It(Jt), l = T(null); + const n = t, { injectCollection: o } = Ht(), a = o(), r = Et(Xt), l = T(null); function i() { l.value !== null && (window.clearInterval(l.value), l.value = null); } - we(() => { + be(() => { const c = a.value.find( - (p) => p === $e() + (p) => p === Be() ); c == null || c.scrollIntoView({ block: "nearest" }); }); @@ -9316,7 +9279,7 @@ const Vp = /* @__PURE__ */ x({ n("autoScroll"); }, 50)); } - return Xn(() => i()), (c, p) => { + return Yn(() => i()), (c, p) => { var m; return h(), C(s(K), D({ "aria-hidden": "true", @@ -9337,15 +9300,15 @@ const Vp = /* @__PURE__ */ x({ }, 16); }; } -}), of = /* @__PURE__ */ x({ +}), af = /* @__PURE__ */ x({ __name: "SelectScrollUpButton", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = It(Jt), n = t.position === "item-aligned" ? Fa() : void 0, { forwardRef: o, currentElement: a } = M(), r = T(!1); - return we((l) => { + const t = Et(Xt), n = t.position === "item-aligned" ? Na() : void 0, { forwardRef: o, currentElement: a } = R(), r = T(!1); + return be((l) => { var i, u; if ((i = t.viewport) != null && i.value && (u = t.isPositioned) != null && u.value) { let d = function() { @@ -9356,7 +9319,7 @@ const Vp = /* @__PURE__ */ x({ } }), X(a, () => { a.value && (n == null || n.onScrollButtonChange(a.value)); - }), (l, i) => r.value ? (h(), C(al, { + }), (l, i) => r.value ? (h(), C(cl, { key: 0, ref: s(o), onAutoScroll: i[0] || (i[0] = () => { @@ -9368,17 +9331,17 @@ const Vp = /* @__PURE__ */ x({ _(l.$slots, "default") ]), _: 3 - }, 512)) : ce("", !0); + }, 512)) : de("", !0); } -}), af = /* @__PURE__ */ x({ +}), rf = /* @__PURE__ */ x({ __name: "SelectScrollDownButton", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = It(Jt), n = t.position === "item-aligned" ? Fa() : void 0, { forwardRef: o, currentElement: a } = M(), r = T(!1); - return we((l) => { + const t = Et(Xt), n = t.position === "item-aligned" ? Na() : void 0, { forwardRef: o, currentElement: a } = R(), r = T(!1); + return be((l) => { var i, u; if ((i = t.viewport) != null && i.value && (u = t.isPositioned) != null && u.value) { let d = function() { @@ -9390,7 +9353,7 @@ const Vp = /* @__PURE__ */ x({ } }), X(a, () => { a.value && (n == null || n.onScrollButtonChange(a.value)); - }), (l, i) => r.value ? (h(), C(al, { + }), (l, i) => r.value ? (h(), C(cl, { key: 0, ref: s(o), onAutoScroll: i[0] || (i[0] = () => { @@ -9402,9 +9365,9 @@ const Vp = /* @__PURE__ */ x({ _(l.$slots, "default") ]), _: 3 - }, 512)) : ce("", !0); + }, 512)) : de("", !0); } -}), rf = /* @__PURE__ */ x({ +}), sf = /* @__PURE__ */ x({ __name: "SelectValue", props: { placeholder: { default: "" }, @@ -9412,12 +9375,12 @@ const Vp = /* @__PURE__ */ x({ as: { default: "span" } }, setup(e) { - const { forwardRef: t, currentElement: n } = M(), o = Pt(), a = Xr(); - return Yr(() => { + const { forwardRef: t, currentElement: n } = R(), o = At(), a = ps(); + return cs(() => { var r; - const l = !!eo((r = a == null ? void 0 : a.default) == null ? void 0 : r.call(a)).length; + const l = !!Jn((r = a == null ? void 0 : a.default) == null ? void 0 : r.call(a)).length; o.onValueElementHasChildrenChange(l); - }), se(() => { + }), re(() => { o.valueElement = n; }), (r, l) => (h(), C(s(K), { ref: s(t), @@ -9428,15 +9391,15 @@ const Vp = /* @__PURE__ */ x({ default: y(() => { var i; return [ - s(tl)((i = s(o).modelValue) == null ? void 0 : i.value) ? (h(), N(be, { key: 0 }, [ - ke(Te(r.placeholder), 1) + s(il)((i = s(o).modelValue) == null ? void 0 : i.value) ? (h(), N(ye, { key: 0 }, [ + Se(Ee(r.placeholder), 1) ], 64)) : _(r.$slots, "default", { key: 1 }) ]; }), _: 3 }, 8, ["as", "as-child"])); } -}), sf = /* @__PURE__ */ x({ +}), lf = /* @__PURE__ */ x({ __name: "SelectIcon", props: { asChild: { type: Boolean }, @@ -9450,45 +9413,45 @@ const Vp = /* @__PURE__ */ x({ }, { default: y(() => [ _(t.$slots, "default", {}, () => [ - ke("â–¼") + Se("â–¼") ]) ]), _: 3 }, 8, ["as", "as-child"])); } }); -function lf(e = [], t, n) { +function uf(e = [], t, n) { const o = [...e]; return o[n] = t, o.sort((a, r) => a - r); } -function rl(e, t, n) { +function pl(e, t, n) { const o = 100 / (n - t) * (e - t); - return Hn(o, 0, 100); + return Kn(o, 0, 100); } -function uf(e, t) { +function df(e, t) { return t > 2 ? `Value ${e + 1} of ${t}` : t === 2 ? ["Minimum", "Maximum"][e] : void 0; } -function df(e, t) { +function cf(e, t) { if (e.length === 1) return 0; const n = e.map((a) => Math.abs(a - t)), o = Math.min(...n); return n.indexOf(o); } -function cf(e, t, n) { - const o = e / 2, a = Va([0, 50], [0, o]); +function pf(e, t, n) { + const o = e / 2, a = ja([0, 50], [0, o]); return (o - a(t) * n) * n; } -function pf(e) { +function ff(e) { return e.slice(0, -1).map((t, n) => e[n + 1] - t); } -function ff(e, t) { +function mf(e, t) { if (t > 0) { - const n = pf(e); + const n = ff(e); return Math.min(...n) >= t; } return !0; } -function Va(e, t) { +function ja(e, t) { return (n) => { if (e[0] === e[1] || t[0] === t[1]) return t[0]; @@ -9496,19 +9459,19 @@ function Va(e, t) { return t[0] + o * (n - e[0]); }; } -function mf(e) { +function vf(e) { return (String(e).split(".")[1] || "").length; } -function vf(e, t) { +function gf(e, t) { const n = 10 ** t; return Math.round(e * n) / n; } -const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], il = { +const fl = ["PageUp", "PageDown"], ml = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], vl = { "from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"], "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"], "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"], "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"] -}, [ul, dl] = oe(["SliderVertical", "SliderHorizontal"]), cl = /* @__PURE__ */ x({ +}, [gl, hl] = ne(["SliderVertical", "SliderHorizontal"]), yl = /* @__PURE__ */ x({ __name: "SliderImpl", props: { asChild: { type: Boolean }, @@ -9516,10 +9479,10 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A }, emits: ["slideStart", "slideMove", "slideEnd", "homeKeyDown", "endKeyDown", "stepKeyDown"], setup(e, { emit: t }) { - const n = e, o = t, a = io(); + const n = e, o = t, a = lo(); return (r, l) => (h(), C(s(K), D({ "data-slider-impl": "" }, n, { onKeydown: l[0] || (l[0] = (i) => { - i.key === "Home" ? (o("homeKeyDown", i), i.preventDefault()) : i.key === "End" ? (o("endKeyDown", i), i.preventDefault()) : s(sl).concat(s(ll)).includes(i.key) && (o("stepKeyDown", i), i.preventDefault()); + i.key === "Home" ? (o("homeKeyDown", i), i.preventDefault()) : i.key === "End" ? (o("endKeyDown", i), i.preventDefault()) : s(fl).concat(s(ml)).includes(i.key) && (o("stepKeyDown", i), i.preventDefault()); }), onPointerdown: l[1] || (l[1] = (i) => { const u = i.target; @@ -9539,7 +9502,7 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A _: 3 }, 16)); } -}), gf = /* @__PURE__ */ x({ +}), hf = /* @__PURE__ */ x({ __name: "SliderHorizontal", props: { dir: {}, @@ -9549,17 +9512,17 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A }, emits: ["slideEnd", "slideStart", "slideMove", "homeKeyDown", "endKeyDown", "stepKeyDown"], setup(e, { emit: t }) { - const n = e, o = t, { max: a, min: r, dir: l, inverted: i } = pe(n), { forwardRef: u, currentElement: d } = M(), c = T(), p = S(() => (l == null ? void 0 : l.value) === "ltr" && !i.value || (l == null ? void 0 : l.value) !== "ltr" && i.value); + const n = e, o = t, { max: a, min: r, dir: l, inverted: i } = ce(n), { forwardRef: u, currentElement: d } = R(), c = T(), p = S(() => (l == null ? void 0 : l.value) === "ltr" && !i.value || (l == null ? void 0 : l.value) !== "ltr" && i.value); function m(f) { - const v = c.value || d.value.getBoundingClientRect(), g = [0, v.width], b = p.value ? [r.value, a.value] : [a.value, r.value], w = Va(g, b); + const v = c.value || d.value.getBoundingClientRect(), g = [0, v.width], b = p.value ? [r.value, a.value] : [a.value, r.value], w = ja(g, b); return c.value = v, w(f - v.left); } - return dl({ + return hl({ startEdge: p.value ? "left" : "right", endEdge: p.value ? "right" : "left", direction: p.value ? 1 : -1, size: "width" - }), (f, v) => (h(), C(cl, { + }), (f, v) => (h(), C(yl, { ref: s(u), dir: s(l), "data-orientation": "horizontal", @@ -9578,7 +9541,7 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A c.value = void 0, o("slideEnd"); }), onStepKeyDown: v[3] || (v[3] = (g) => { - const b = p.value ? "from-left" : "from-right", w = s(il)[b].includes(g.key); + const b = p.value ? "from-left" : "from-right", w = s(vl)[b].includes(g.key); o("stepKeyDown", g, w ? -1 : 1); }), onEndKeyDown: v[4] || (v[4] = (g) => o("endKeyDown", g)), @@ -9590,7 +9553,7 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A _: 3 }, 8, ["dir"])); } -}), hf = /* @__PURE__ */ x({ +}), yf = /* @__PURE__ */ x({ __name: "SliderVertical", props: { min: {}, @@ -9599,17 +9562,17 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A }, emits: ["slideEnd", "slideStart", "slideMove", "homeKeyDown", "endKeyDown", "stepKeyDown"], setup(e, { emit: t }) { - const n = e, o = t, { max: a, min: r, inverted: l } = pe(n), { forwardRef: i, currentElement: u } = M(), d = T(), c = S(() => !l.value); + const n = e, o = t, { max: a, min: r, inverted: l } = ce(n), { forwardRef: i, currentElement: u } = R(), d = T(), c = S(() => !l.value); function p(m) { - const f = d.value || u.value.getBoundingClientRect(), v = [0, f.height], g = c.value ? [a.value, r.value] : [r.value, a.value], b = Va(v, g); + const f = d.value || u.value.getBoundingClientRect(), v = [0, f.height], g = c.value ? [a.value, r.value] : [r.value, a.value], b = ja(v, g); return d.value = f, b(m - f.top); } - return dl({ + return hl({ startEdge: c.value ? "bottom" : "top", endEdge: c.value ? "top" : "bottom", size: "height", direction: c.value ? 1 : -1 - }), (m, f) => (h(), C(cl, { + }), (m, f) => (h(), C(yl, { ref: s(i), "data-orientation": "vertical", style: { @@ -9627,7 +9590,7 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A d.value = void 0, o("slideEnd"); }), onStepKeyDown: f[3] || (f[3] = (v) => { - const g = c.value ? "from-bottom" : "from-top", b = s(il)[g].includes(v.key); + const g = c.value ? "from-bottom" : "from-top", b = s(vl)[g].includes(v.key); o("stepKeyDown", v, b ? -1 : 1); }), onEndKeyDown: f[4] || (f[4] = (v) => o("endKeyDown", v)), @@ -9639,7 +9602,7 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A _: 3 }, 512)); } -}), yf = ["value", "name", "disabled", "step"], [io, bf] = oe("SliderRoot"), wf = /* @__PURE__ */ x({ +}), bf = ["value", "name", "disabled", "step"], [lo, wf] = ne("SliderRoot"), xf = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SliderRoot", props: { @@ -9659,34 +9622,34 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A }, emits: ["update:modelValue", "valueCommit"], setup(e, { emit: t }) { - const n = e, o = t, { min: a, max: r, step: l, minStepsBetweenThumbs: i, orientation: u, disabled: d, dir: c } = pe(n), p = yt(c), { forwardRef: m, currentElement: f } = M(), v = no(f); - Aa(); - const g = ge(n, "modelValue", o, { + const n = e, o = t, { min: a, max: r, step: l, minStepsBetweenThumbs: i, orientation: u, disabled: d, dir: c } = ce(n), p = vt(c), { forwardRef: m, currentElement: f } = R(), v = to(f); + Ia(); + const g = ve(n, "modelValue", o, { defaultValue: n.defaultValue, passive: n.modelValue === void 0 }), b = T(0), w = T(g.value); - function B(O) { - const I = df(g.value, O); - k(O, I); + function B(A) { + const I = cf(g.value, A); + k(A, I); } - function $(O) { - k(O, b.value); + function $(A) { + k(A, b.value); } - function E() { - const O = w.value[b.value]; - g.value[b.value] !== O && o("valueCommit", Jl(g.value)); + function O() { + const A = w.value[b.value]; + g.value[b.value] !== A && o("valueCommit", si(g.value)); } - function k(O, I, { commit: V } = { commit: !1 }) { - var A; - const L = mf(l.value), F = vf(Math.round((O - a.value) / l.value) * l.value + a.value, L), q = Hn(F, a.value, r.value), G = lf(g.value, q, I); - if (ff(G, i.value * l.value)) { - b.value = G.indexOf(q); - const Q = String(G) !== String(g.value); - Q && V && o("valueCommit", G), Q && ((A = P.value[b.value]) == null || A.focus(), g.value = G); + function k(A, I, { commit: V } = { commit: !1 }) { + var E; + const L = vf(l.value), F = gf(Math.round((A - a.value) / l.value) * l.value + a.value, L), G = Kn(F, a.value, r.value), q = uf(g.value, G, I); + if (mf(q, i.value * l.value)) { + b.value = q.indexOf(G); + const Z = String(q) !== String(g.value); + Z && V && o("valueCommit", q), Z && ((E = P.value[b.value]) == null || E.focus(), g.value = q); } } const P = T([]); - return bf({ + return wf({ modelValue: g, valueIndexToChangeRef: b, thumbElements: P, @@ -9694,17 +9657,17 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A min: a, max: r, disabled: d - }), (O, I) => (h(), N(be, null, [ - R(s(Ta), null, { + }), (A, I) => (h(), N(ye, null, [ + M(s(Ma), null, { default: y(() => [ - (h(), C(Ve(s(u) === "horizontal" ? gf : hf), D(O.$attrs, { + (h(), C(Fe(s(u) === "horizontal" ? hf : yf), D(A.$attrs, { ref: s(m), - "as-child": O.asChild, - as: O.as, + "as-child": A.asChild, + as: A.as, min: s(a), max: s(r), dir: s(p), - inverted: O.inverted, + inverted: A.inverted, "aria-disabled": s(d), "data-disabled": s(d) ? "" : void 0, onPointerdown: I[0] || (I[0] = () => { @@ -9712,36 +9675,36 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A }), onSlideStart: I[1] || (I[1] = (V) => !s(d) && B(V)), onSlideMove: I[2] || (I[2] = (V) => !s(d) && $(V)), - onSlideEnd: I[3] || (I[3] = (V) => !s(d) && E()), + onSlideEnd: I[3] || (I[3] = (V) => !s(d) && O()), onHomeKeyDown: I[4] || (I[4] = (V) => !s(d) && k(s(a), 0, { commit: !0 })), onEndKeyDown: I[5] || (I[5] = (V) => !s(d) && k(s(r), s(g).length - 1, { commit: !0 })), - onStepKeyDown: I[6] || (I[6] = (V, A) => { + onStepKeyDown: I[6] || (I[6] = (V, E) => { if (!s(d)) { - const L = s(sl).includes(V.key) || V.shiftKey && s(ll).includes(V.key) ? 10 : 1, F = b.value, q = s(g)[F], G = s(l) * L * A; - k(q + G, F, { commit: !0 }); + const L = s(fl).includes(V.key) || V.shiftKey && s(ml).includes(V.key) ? 10 : 1, F = b.value, G = s(g)[F], q = s(l) * L * E; + k(G + q, F, { commit: !0 }); } }) }), { default: y(() => [ - _(O.$slots, "default", { modelValue: s(g) }) + _(A.$slots, "default", { modelValue: s(g) }) ]), _: 3 }, 16, ["as-child", "as", "min", "max", "dir", "inverted", "aria-disabled", "data-disabled"])) ]), _: 3 }), - s(v) ? (h(!0), N(be, { key: 0 }, vt(s(g), (V, A) => (h(), N("input", { - key: A, + s(v) ? (h(!0), N(ye, { key: 0 }, pt(s(g), (V, E) => (h(), N("input", { + key: E, value: V, type: "number", style: { display: "none" }, - name: O.name ? O.name + (s(g).length > 1 ? "[]" : "") : void 0, + name: A.name ? A.name + (s(g).length > 1 ? "[]" : "") : void 0, disabled: s(d), step: s(l) - }, null, 8, yf))), 128)) : ce("", !0) + }, null, 8, bf))), 128)) : de("", !0) ], 64)); } -}), xf = /* @__PURE__ */ x({ +}), _f = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SliderThumbImpl", props: { @@ -9750,21 +9713,21 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A as: {} }, setup(e) { - const t = e, n = io(), o = ul(), { forwardRef: a, currentElement: r } = M(), l = S(() => { + const t = e, n = lo(), o = gl(), { forwardRef: a, currentElement: r } = R(), l = S(() => { var f, v; return (v = (f = n.modelValue) == null ? void 0 : f.value) == null ? void 0 : v[t.index]; - }), i = S(() => l.value === void 0 ? 0 : rl(l.value, n.min.value ?? 0, n.max.value ?? 100)), u = S(() => { + }), i = S(() => l.value === void 0 ? 0 : pl(l.value, n.min.value ?? 0, n.max.value ?? 100)), u = S(() => { var f, v; - return uf(t.index, ((v = (f = n.modelValue) == null ? void 0 : f.value) == null ? void 0 : v.length) ?? 0); - }), d = Ds(r), c = S(() => d[o.size].value), p = S(() => c.value ? cf(c.value, i.value, o.direction) : 0), m = ga(); - return se(() => { + return df(t.index, ((v = (f = n.modelValue) == null ? void 0 : f.value) == null ? void 0 : v.length) ?? 0); + }), d = zs(r), c = S(() => d[o.size].value), p = S(() => c.value ? pf(c.value, i.value, o.direction) : 0), m = wa(); + return re(() => { n.thumbElements.value.push(r.value); - }), ze(() => { + }), Le(() => { const f = n.thumbElements.value.findIndex((v) => v === r.value) ?? -1; n.thumbElements.value.splice(f, 1); - }), (f, v) => (h(), C(s(lo), null, { + }), (f, v) => (h(), C(s(so), null, { default: y(() => [ - R(s(K), D(f.$attrs, { + M(s(K), D(f.$attrs, { ref: s(a), role: "slider", "data-radix-vue-collection-item": "", @@ -9803,30 +9766,30 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A _: 3 })); } -}), _f = /* @__PURE__ */ x({ +}), Cf = /* @__PURE__ */ x({ __name: "SliderThumb", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = e, { getItems: n } = Da(), { forwardRef: o, currentElement: a } = M(), r = S(() => a.value ? n().findIndex((l) => l.ref === a.value) : -1); - return (l, i) => (h(), C(xf, D({ ref: s(o) }, t, { index: r.value }), { + const t = e, { getItems: n } = Ra(), { forwardRef: o, currentElement: a } = R(), r = S(() => a.value ? n().findIndex((l) => l.ref === a.value) : -1); + return (l, i) => (h(), C(_f, D({ ref: s(o) }, t, { index: r.value }), { default: y(() => [ _(l.$slots, "default") ]), _: 3 }, 16, ["index"])); } -}), Cf = /* @__PURE__ */ x({ +}), Bf = /* @__PURE__ */ x({ __name: "SliderTrack", props: { asChild: { type: Boolean }, as: { default: "span" } }, setup(e) { - const t = io(); - return M(), (n, o) => (h(), C(s(K), { + const t = lo(); + return R(), (n, o) => (h(), C(s(K), { "as-child": n.asChild, as: n.as, "data-disabled": s(t).disabled.value ? "" : void 0, @@ -9838,19 +9801,19 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A _: 3 }, 8, ["as-child", "as", "data-disabled", "data-orientation"])); } -}), Bf = /* @__PURE__ */ x({ +}), $f = /* @__PURE__ */ x({ __name: "SliderRange", props: { asChild: { type: Boolean }, as: { default: "span" } }, setup(e) { - const t = io(), n = ul(); - M(); + const t = lo(), n = gl(); + R(); const o = S(() => { var l, i; return (i = (l = t.modelValue) == null ? void 0 : l.value) == null ? void 0 : i.map( - (u) => rl(u, t.min.value, t.max.value) + (u) => pl(u, t.min.value, t.max.value) ); }), a = S(() => t.modelValue.value.length > 1 ? Math.min(...o.value) : 0), r = S(() => 100 - Math.max(...o.value)); return (l, i) => (h(), C(s(K), { @@ -9858,7 +9821,7 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A "data-orientation": s(t).orientation.value, "as-child": l.asChild, as: l.as, - style: Ot({ + style: Bt({ [s(n).startEdge]: `${a.value}%`, [s(n).endEdge]: `${r.value}%` }) @@ -9870,12 +9833,12 @@ const sl = ["PageUp", "PageDown"], ll = ["ArrowUp", "ArrowDown", "ArrowLeft", "A }, 8, ["data-disabled", "data-orientation", "as-child", "as", "style"])); } }); -function $f() { +function Sf() { if (typeof matchMedia == "function") return matchMedia("(pointer:coarse)").matches ? "coarse" : "fine"; } -$f(); -const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "data-disabled"], [kf, Of] = oe("SwitchRoot"), Ef = /* @__PURE__ */ x({ +Sf(); +const kf = ["name", "disabled", "required", "value", "checked", "data-state", "data-disabled"], [Of, Af] = ne("SwitchRoot"), Ef = /* @__PURE__ */ x({ __name: "SwitchRoot", props: { defaultChecked: { type: Boolean }, @@ -9890,23 +9853,23 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d }, emits: ["update:checked"], setup(e, { emit: t }) { - const n = e, o = t, { disabled: a } = pe(n), r = ge(n, "checked", o, { + const n = e, o = t, { disabled: a } = ce(n), r = ve(n, "checked", o, { defaultValue: n.defaultChecked, passive: n.checked === void 0 }); function l() { a.value || (r.value = !r.value); } - const { forwardRef: i, currentElement: u } = M(), d = no(u), c = S(() => { + const { forwardRef: i, currentElement: u } = R(), d = to(u), c = S(() => { var p; return n.id && u.value ? (p = document.querySelector(`[for="${n.id}"]`)) == null ? void 0 : p.innerText : void 0; }); - return Of({ + return Af({ checked: r, toggleCheck: l, disabled: a - }), (p, m) => (h(), N(be, null, [ - R(s(K), D(p.$attrs, { + }), (p, m) => (h(), N(ye, null, [ + M(s(K), D(p.$attrs, { id: p.id, ref: s(i), role: "switch", @@ -9921,7 +9884,7 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d as: p.as, disabled: s(a), onClick: l, - onKeydown: mt(Be(l, ["prevent"]), ["enter"]) + onKeydown: ct(Ce(l, ["prevent"]), ["enter"]) }), { default: y(() => [ _(p.$slots, "default", { checked: s(r) }) @@ -9947,18 +9910,18 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d opacity: 0, margin: 0 } - }, null, 8, Sf)) : ce("", !0) + }, null, 8, kf)) : de("", !0) ], 64)); } -}), Af = /* @__PURE__ */ x({ +}), Tf = /* @__PURE__ */ x({ __name: "SwitchThumb", props: { asChild: { type: Boolean }, as: { default: "span" } }, setup(e) { - const t = kf(); - return M(), (n, o) => { + const t = Of(); + return R(), (n, o) => { var a; return h(), C(s(K), { "data-state": (a = s(t).checked) != null && a.value ? "checked" : "unchecked", @@ -9973,7 +9936,7 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d }, 8, ["data-state", "data-disabled", "as-child", "as"]); }; } -}), [La, Tf] = oe("TabsRoot"), Df = /* @__PURE__ */ x({ +}), [Ka, Df] = ne("TabsRoot"), Pf = /* @__PURE__ */ x({ __name: "TabsRoot", props: { defaultValue: {}, @@ -9986,13 +9949,13 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const n = e, o = t, { orientation: a, dir: r } = pe(n), l = yt(r); - M(); - const i = ge(n, "modelValue", o, { + const n = e, o = t, { orientation: a, dir: r } = ce(n), l = vt(r); + R(); + const i = ve(n, "modelValue", o, { defaultValue: n.defaultValue, passive: n.modelValue === void 0 }), u = T(); - return Tf({ + return Df({ modelValue: i, changeModelValue: (d) => { i.value = d; @@ -10000,7 +9963,7 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d orientation: a, dir: l, activationMode: n.activationMode, - baseId: Ce(void 0, "radix-vue-tabs"), + baseId: _e(void 0, "radix-vue-tabs"), tabsList: u }), (d, c) => (h(), C(s(K), { dir: s(l), @@ -10014,7 +9977,7 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d _: 3 }, 8, ["dir", "data-orientation", "as-child", "as"])); } -}), Pf = /* @__PURE__ */ x({ +}), If = /* @__PURE__ */ x({ __name: "TabsList", props: { loop: { type: Boolean, default: !0 }, @@ -10022,15 +9985,15 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d as: {} }, setup(e) { - const t = e, { loop: n } = pe(t), { forwardRef: o, currentElement: a } = M(), r = La(); - return r.tabsList = a, (l, i) => (h(), C(s(Ws), { + const t = e, { loop: n } = ce(t), { forwardRef: o, currentElement: a } = R(), r = Ka(); + return r.tabsList = a, (l, i) => (h(), C(s(Js), { "as-child": "", orientation: s(r).orientation.value, dir: s(r).dir.value, loop: s(n) }, { default: y(() => [ - R(s(K), { + M(s(K), { ref: s(o), role: "tablist", "as-child": l.asChild, @@ -10047,13 +10010,13 @@ const Sf = ["name", "disabled", "required", "value", "checked", "data-state", "d }, 8, ["orientation", "dir", "loop"])); } }); -function pl(e, t) { +function bl(e, t) { return `${e}-trigger-${t}`; } -function fl(e, t) { +function wl(e, t) { return `${e}-content-${t}`; } -const If = /* @__PURE__ */ x({ +const Mf = /* @__PURE__ */ x({ __name: "TabsContent", props: { value: {}, @@ -10062,17 +10025,17 @@ const If = /* @__PURE__ */ x({ as: {} }, setup(e) { - const t = e, { forwardRef: n } = M(), o = La(), a = S(() => pl(o.baseId, t.value)), r = S(() => fl(o.baseId, t.value)), l = S(() => t.value === o.modelValue.value), i = T(l.value); - return se(() => { + const t = e, { forwardRef: n } = R(), o = Ka(), a = S(() => bl(o.baseId, t.value)), r = S(() => wl(o.baseId, t.value)), l = S(() => t.value === o.modelValue.value), i = T(l.value); + return re(() => { requestAnimationFrame(() => { i.value = !1; }); - }), (u, d) => (h(), C(s(Ne), { + }), (u, d) => (h(), C(s(ze), { present: l.value, "force-mount": "" }, { default: y(({ present: c }) => [ - R(s(K), { + M(s(K), { id: r.value, ref: s(n), "as-child": u.asChild, @@ -10083,12 +10046,12 @@ const If = /* @__PURE__ */ x({ "aria-labelledby": a.value, hidden: !c.value, tabindex: "0", - style: Ot({ + style: Bt({ animationDuration: i.value ? "0s" : void 0 }) }, { default: y(() => [ - u.forceMount || l.value ? _(u.$slots, "default", { key: 0 }) : ce("", !0) + u.forceMount || l.value ? _(u.$slots, "default", { key: 0 }) : de("", !0) ]), _: 2 }, 1032, ["id", "as-child", "as", "data-state", "data-orientation", "aria-labelledby", "hidden", "style"]) @@ -10096,7 +10059,7 @@ const If = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), Mf = /* @__PURE__ */ x({ +}), Rf = /* @__PURE__ */ x({ __name: "TabsTrigger", props: { value: {}, @@ -10105,14 +10068,14 @@ const If = /* @__PURE__ */ x({ as: { default: "button" } }, setup(e) { - const t = e, { forwardRef: n } = M(), o = La(), a = S(() => pl(o.baseId, t.value)), r = S(() => fl(o.baseId, t.value)), l = S(() => t.value === o.modelValue.value); - return (i, u) => (h(), C(s(Rc), { + const t = e, { forwardRef: n } = R(), o = Ka(), a = S(() => bl(o.baseId, t.value)), r = S(() => wl(o.baseId, t.value)), l = S(() => t.value === o.modelValue.value); + return (i, u) => (h(), C(s(Fc), { "as-child": "", focusable: !i.disabled, active: l.value }, { default: y(() => [ - R(s(K), { + M(s(K), { id: a.value, ref: s(n), role: "tab", @@ -10125,10 +10088,10 @@ const If = /* @__PURE__ */ x({ disabled: i.disabled, "data-disabled": i.disabled ? "" : void 0, "data-orientation": s(o).orientation.value, - onMousedown: u[0] || (u[0] = Be((d) => { + onMousedown: u[0] || (u[0] = Ce((d) => { !i.disabled && d.ctrlKey === !1 ? s(o).changeModelValue(i.value) : d.preventDefault(); }, ["left"])), - onKeydown: u[1] || (u[1] = mt((d) => s(o).changeModelValue(i.value), ["enter", "space"])), + onKeydown: u[1] || (u[1] = ct((d) => s(o).changeModelValue(i.value), ["enter", "space"])), onFocus: u[2] || (u[2] = () => { const d = s(o).activationMode !== "manual"; !l.value && !i.disabled && d && s(o).changeModelValue(i.value); @@ -10143,7 +10106,7 @@ const If = /* @__PURE__ */ x({ _: 3 }, 8, ["focusable", "active"])); } -}), [uo, Rf] = oe("ToastProvider"), Ff = /* @__PURE__ */ x({ +}), [io, Ff] = ne("ToastProvider"), Vf = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "ToastProvider", props: { @@ -10153,12 +10116,12 @@ const If = /* @__PURE__ */ x({ swipeThreshold: { default: 50 } }, setup(e) { - const t = e, { label: n, duration: o, swipeDirection: a, swipeThreshold: r } = pe(t), l = T(), i = T(0), u = T(!1), d = T(!1); + const t = e, { label: n, duration: o, swipeDirection: a, swipeThreshold: r } = ce(t), l = T(), i = T(0), u = T(!1), d = T(!1); if (t.label && typeof t.label == "string" && !t.label.trim()) { const c = "Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`."; throw new Error(c); } - return Rf({ + return Ff({ label: n, duration: o, swipeDirection: a, @@ -10178,8 +10141,8 @@ const If = /* @__PURE__ */ x({ isClosePausedRef: d }), (c, p) => _(c.$slots, "default"); } -}), Vf = "toast.swipeStart", Lf = "toast.swipeMove", zf = "toast.swipeCancel", Nf = "toast.swipeEnd", Uo = "toast.viewportPause", Wo = "toast.viewportResume"; -function In(e, t, n) { +}), Lf = "toast.swipeStart", zf = "toast.swipeMove", Nf = "toast.swipeCancel", jf = "toast.swipeEnd", Qo = "toast.viewportPause", Zo = "toast.viewportResume"; +function Pn(e, t, n) { const o = n.originalEvent.currentTarget, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, @@ -10187,42 +10150,42 @@ function In(e, t, n) { }); t && o.addEventListener(e, t, { once: !0 }), o.dispatchEvent(a); } -function _r(e, t, n = 0) { +function Vr(e, t, n = 0) { const o = Math.abs(e.x), a = Math.abs(e.y), r = o > a; return t === "left" || t === "right" ? r && o > n : !r && a > n; } -function jf(e) { +function Kf(e) { return e.nodeType === e.ELEMENT_NODE; } -function ml(e) { +function xl(e) { const t = []; return Array.from(e.childNodes).forEach((n) => { - if (n.nodeType === n.TEXT_NODE && n.textContent && t.push(n.textContent), jf(n)) { + if (n.nodeType === n.TEXT_NODE && n.textContent && t.push(n.textContent), Kf(n)) { const o = n.ariaHidden || n.hidden || n.style.display === "none", a = n.dataset.radixToastAnnounceExclude === ""; if (!o) if (a) { const r = n.dataset.radixToastAnnounceAlt; r && t.push(r); } else - t.push(...ml(n)); + t.push(...xl(n)); } }), t; } -const Kf = /* @__PURE__ */ x({ +const Hf = /* @__PURE__ */ x({ __name: "ToastAnnounce", setup(e) { - const t = uo(), n = $u(1e3), o = T(!1); - return ks(() => { + const t = io(), n = Tu(1e3), o = T(!1); + return Ms(() => { o.value = !0; - }), (a, r) => s(n) || o.value ? (h(), C(s(Bn), { key: 0 }, { + }), (a, r) => s(n) || o.value ? (h(), C(s(xn), { key: 0 }, { default: y(() => [ - ke(Te(s(t).label.value) + " ", 1), + Se(Ee(s(t).label.value) + " ", 1), _(a.$slots, "default") ]), _: 3 - })) : ce("", !0); + })) : de("", !0); } -}), [Hf, Uf] = oe("ToastRoot"), Wf = /* @__PURE__ */ x({ +}), [Uf, Wf] = ne("ToastRoot"), qf = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "ToastRootImpl", props: { @@ -10234,62 +10197,62 @@ const Kf = /* @__PURE__ */ x({ }, emits: ["close", "escapeKeyDown", "pause", "resume", "swipeStart", "swipeMove", "swipeCancel", "swipeEnd"], setup(e, { emit: t }) { - const n = e, o = t, { forwardRef: a, currentElement: r } = M(), l = uo(), i = T(null), u = T(null), d = S( + const n = e, o = t, { forwardRef: a, currentElement: r } = R(), l = io(), i = T(null), u = T(null), d = S( () => typeof n.duration == "number" ? n.duration : l.duration.value - ), c = T(0), p = T(d.value), m = T(0), f = T(d.value), v = ks(() => { + ), c = T(0), p = T(d.value), m = T(0), f = T(d.value), v = Ms(() => { const B = (/* @__PURE__ */ new Date()).getTime() - c.value; f.value = Math.max(p.value - B, 0); }, { fpsLimit: 60 }); function g(B) { - B <= 0 || B === Number.POSITIVE_INFINITY || Je && (window.clearTimeout(m.value), c.value = (/* @__PURE__ */ new Date()).getTime(), m.value = window.setTimeout(b, B)); + B <= 0 || B === Number.POSITIVE_INFINITY || Ze && (window.clearTimeout(m.value), c.value = (/* @__PURE__ */ new Date()).getTime(), m.value = window.setTimeout(b, B)); } function b() { var B, $; - (B = r.value) != null && B.contains($e()) && (($ = l.viewport.value) == null || $.focus()), l.isClosePausedRef.value = !1, o("close"); + (B = r.value) != null && B.contains(Be()) && (($ = l.viewport.value) == null || $.focus()), l.isClosePausedRef.value = !1, o("close"); } - const w = S(() => r.value ? ml(r.value) : null); + const w = S(() => r.value ? xl(r.value) : null); if (n.type && !["foreground", "background"].includes(n.type)) { const B = "Invalid prop `type` supplied to `Toast`. Expected `foreground | background`."; throw new Error(B); } - return we((B) => { + return be((B) => { const $ = l.viewport.value; if ($) { - const E = () => { + const O = () => { g(p.value), v.resume(), o("resume"); }, k = () => { const P = (/* @__PURE__ */ new Date()).getTime() - c.value; p.value = p.value - P, window.clearTimeout(m.value), v.pause(), o("pause"); }; - return $.addEventListener(Uo, k), $.addEventListener(Wo, E), () => { - $.removeEventListener(Uo, k), $.removeEventListener(Wo, E); + return $.addEventListener(Qo, k), $.addEventListener(Zo, O), () => { + $.removeEventListener(Qo, k), $.removeEventListener(Zo, O); }; } }), X(() => [n.open, d.value], () => { p.value = d.value, n.open && !l.isClosePausedRef.value && g(d.value); - }, { immediate: !0 }), va("Escape", (B) => { + }, { immediate: !0 }), ba("Escape", (B) => { o("escapeKeyDown", B), B.defaultPrevented || (l.isFocusedToastEscapeKeyDownRef.value = !0, b()); - }), se(() => { + }), re(() => { l.onToastAdd(); - }), ze(() => { + }), Le(() => { l.onToastRemove(); - }), Uf({ onClose: b }), (B, $) => (h(), N(be, null, [ - w.value ? (h(), C(Kf, { + }), Wf({ onClose: b }), (B, $) => (h(), N(ye, null, [ + w.value ? (h(), C(Hf, { key: 0, role: "alert", "aria-live": B.type === "foreground" ? "assertive" : "polite", "aria-atomic": "true" }, { default: y(() => [ - ke(Te(w.value), 1) + Se(Ee(w.value), 1) ]), _: 1 - }, 8, ["aria-live"])) : ce("", !0), - s(l).viewport.value ? (h(), C(Yn, { + }, 8, ["aria-live"])) : de("", !0), + s(l).viewport.value ? (h(), C(Gn, { key: 1, to: s(l).viewport.value }, [ - R(s(K), D({ + M(s(K), D({ ref: s(a), role: "alert", "aria-live": "off", @@ -10302,19 +10265,19 @@ const Kf = /* @__PURE__ */ x({ "data-state": B.open ? "open" : "closed", "data-swipe-direction": s(l).swipeDirection.value, style: { userSelect: "none", touchAction: "none" }, - onPointerdown: $[0] || ($[0] = Be((E) => { - i.value = { x: E.clientX, y: E.clientY }; + onPointerdown: $[0] || ($[0] = Ce((O) => { + i.value = { x: O.clientX, y: O.clientY }; }, ["left"])), - onPointermove: $[1] || ($[1] = (E) => { + onPointermove: $[1] || ($[1] = (O) => { if (!i.value) return; - const k = E.clientX - i.value.x, P = E.clientY - i.value.y, O = !!u.value, I = ["left", "right"].includes(s(l).swipeDirection.value), V = ["left", "up"].includes(s(l).swipeDirection.value) ? Math.min : Math.max, A = I ? V(0, k) : 0, L = I ? 0 : V(0, P), F = E.pointerType === "touch" ? 10 : 2, q = { x: A, y: L }, G = { originalEvent: E, delta: q }; - O ? (u.value = q, s(In)(s(Lf), (Q) => o("swipeMove", Q), G)) : s(_r)(q, s(l).swipeDirection.value, F) ? (u.value = q, s(In)(s(Vf), (Q) => o("swipeStart", Q), G), E.target.setPointerCapture(E.pointerId)) : (Math.abs(k) > F || Math.abs(P) > F) && (i.value = null); + const k = O.clientX - i.value.x, P = O.clientY - i.value.y, A = !!u.value, I = ["left", "right"].includes(s(l).swipeDirection.value), V = ["left", "up"].includes(s(l).swipeDirection.value) ? Math.min : Math.max, E = I ? V(0, k) : 0, L = I ? 0 : V(0, P), F = O.pointerType === "touch" ? 10 : 2, G = { x: E, y: L }, q = { originalEvent: O, delta: G }; + A ? (u.value = G, s(Pn)(s(zf), (Z) => o("swipeMove", Z), q)) : s(Vr)(G, s(l).swipeDirection.value, F) ? (u.value = G, s(Pn)(s(Lf), (Z) => o("swipeStart", Z), q), O.target.setPointerCapture(O.pointerId)) : (Math.abs(k) > F || Math.abs(P) > F) && (i.value = null); }), - onPointerup: $[2] || ($[2] = (E) => { - const k = u.value, P = E.target; - if (P.hasPointerCapture(E.pointerId) && P.releasePointerCapture(E.pointerId), u.value = null, i.value = null, k) { - const O = E.currentTarget, I = { originalEvent: E, delta: k }; - s(_r)(k, s(l).swipeDirection.value, s(l).swipeThreshold.value) ? s(In)(s(Nf), (V) => o("swipeEnd", V), I) : s(In)(s(zf), (V) => o("swipeCancel", V), I), O == null || O.addEventListener("click", (V) => V.preventDefault(), { + onPointerup: $[2] || ($[2] = (O) => { + const k = u.value, P = O.target; + if (P.hasPointerCapture(O.pointerId) && P.releasePointerCapture(O.pointerId), u.value = null, i.value = null, k) { + const A = O.currentTarget, I = { originalEvent: O, delta: k }; + s(Vr)(k, s(l).swipeDirection.value, s(l).swipeThreshold.value) ? s(Pn)(s(jf), (V) => o("swipeEnd", V), I) : s(Pn)(s(Nf), (V) => o("swipeCancel", V), I), A == null || A.addEventListener("click", (V) => V.preventDefault(), { once: !0 }); } @@ -10328,7 +10291,7 @@ const Kf = /* @__PURE__ */ x({ ]), _: 3 }, 16, ["as", "as-child", "data-state", "data-swipe-direction"]) - ], 8, ["to"])) : ce("", !0) + ], 8, ["to"])) : de("", !0) ], 64)); } }), Gf = /* @__PURE__ */ x({ @@ -10344,15 +10307,15 @@ const Kf = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pause", "resume", "swipeStart", "swipeMove", "swipeCancel", "swipeEnd", "update:open"], setup(e, { emit: t }) { - const n = e, o = t, { forwardRef: a } = M(), r = ge(n, "open", o, { + const n = e, o = t, { forwardRef: a } = R(), r = ve(n, "open", o, { defaultValue: n.defaultOpen, passive: n.open === void 0 }); - return (l, i) => (h(), C(s(Ne), { + return (l, i) => (h(), C(s(ze), { present: l.forceMount || s(r) }, { default: y(() => [ - R(Wf, D({ + M(qf, D({ ref: s(a), open: s(r), type: l.type, @@ -10393,7 +10356,7 @@ const Kf = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), vl = /* @__PURE__ */ x({ +}), _l = /* @__PURE__ */ x({ __name: "ToastAnnounceExclude", props: { altText: {}, @@ -10413,17 +10376,17 @@ const Kf = /* @__PURE__ */ x({ _: 3 }, 8, ["as", "as-child", "data-radix-toast-announce-alt"])); } -}), gl = /* @__PURE__ */ x({ +}), Cl = /* @__PURE__ */ x({ __name: "ToastClose", props: { asChild: { type: Boolean }, as: { default: "button" } }, setup(e) { - const t = e, n = Hf(), { forwardRef: o } = M(); - return (a, r) => (h(), C(vl, { "as-child": "" }, { + const t = e, n = Uf(), { forwardRef: o } = R(); + return (a, r) => (h(), C(_l, { "as-child": "" }, { default: y(() => [ - R(s(K), D(t, { + M(s(K), D(t, { ref: s(o), type: a.as === "button" ? "button" : void 0, onClick: r[0] || (r[0] = (l) => s(n).onClose()) @@ -10437,7 +10400,7 @@ const Kf = /* @__PURE__ */ x({ _: 3 })); } -}), qf = /* @__PURE__ */ x({ +}), Yf = /* @__PURE__ */ x({ __name: "ToastAction", props: { altText: {}, @@ -10447,14 +10410,14 @@ const Kf = /* @__PURE__ */ x({ setup(e) { if (!e.altText) throw new Error("Missing prop `altText` expected on `ToastAction`"); - const { forwardRef: t } = M(); - return (n, o) => n.altText ? (h(), C(vl, { + const { forwardRef: t } = R(); + return (n, o) => n.altText ? (h(), C(_l, { key: 0, "alt-text": n.altText, "as-child": "" }, { default: y(() => [ - R(gl, { + M(Cl, { ref: s(t), as: n.as, "as-child": n.asChild @@ -10466,14 +10429,14 @@ const Kf = /* @__PURE__ */ x({ }, 8, ["as", "as-child"]) ]), _: 3 - }, 8, ["alt-text"])) : ce("", !0); + }, 8, ["alt-text"])) : de("", !0); } -}), Cr = /* @__PURE__ */ x({ +}), Lr = /* @__PURE__ */ x({ __name: "FocusProxy", emits: ["focusFromOutsideViewport"], setup(e, { emit: t }) { - const n = t, o = uo(); - return (a, r) => (h(), C(s(Bn), { + const n = t, o = io(); + return (a, r) => (h(), C(s(xn), { "aria-hidden": "true", tabindex: "0", style: { position: "fixed" }, @@ -10489,7 +10452,7 @@ const Kf = /* @__PURE__ */ x({ _: 3 })); } -}), Yf = /* @__PURE__ */ x({ +}), Xf = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "ToastViewport", props: { @@ -10499,77 +10462,77 @@ const Kf = /* @__PURE__ */ x({ as: { default: "ol" } }, setup(e) { - const t = e, { hotkey: n, label: o } = pe(t), { forwardRef: a, currentElement: r } = M(), { createCollection: l } = Gt(), i = l(r), u = uo(), d = S(() => u.toastCount.value > 0), c = T(), p = T(), m = S(() => n.value.join("+").replace(/Key/g, "").replace(/Digit/g, "")); - va(n.value, () => { + const t = e, { hotkey: n, label: o } = ce(t), { forwardRef: a, currentElement: r } = R(), { createCollection: l } = Ht(), i = l(r), u = io(), d = S(() => u.toastCount.value > 0), c = T(), p = T(), m = S(() => n.value.join("+").replace(/Key/g, "").replace(/Digit/g, "")); + ba(n.value, () => { r.value.focus(); - }), se(() => { + }), re(() => { u.onViewportChange(r.value); - }), we((v) => { + }), be((v) => { const g = r.value; if (d.value && g) { const b = () => { if (!u.isClosePausedRef.value) { - const k = new CustomEvent(Uo); + const k = new CustomEvent(Qo); g.dispatchEvent(k), u.isClosePausedRef.value = !0; } }, w = () => { if (u.isClosePausedRef.value) { - const k = new CustomEvent(Wo); + const k = new CustomEvent(Zo); g.dispatchEvent(k), u.isClosePausedRef.value = !1; } }, B = (k) => { !g.contains(k.relatedTarget) && w(); }, $ = () => { - g.contains($e()) || w(); - }, E = (k) => { - var P, O, I; + g.contains(Be()) || w(); + }, O = (k) => { + var P, A, I; const V = k.altKey || k.ctrlKey || k.metaKey; if (k.key === "Tab" && !V) { - const A = $e(), L = k.shiftKey; + const E = Be(), L = k.shiftKey; if (k.target === g && L) { (P = c.value) == null || P.focus(); return; } - const F = f({ tabbingDirection: L ? "backwards" : "forwards" }), q = F.findIndex((G) => G === A); - Vn(F.slice(q + 1)) ? k.preventDefault() : L ? (O = c.value) == null || O.focus() : (I = p.value) == null || I.focus(); + const F = f({ tabbingDirection: L ? "backwards" : "forwards" }), G = F.findIndex((q) => q === E); + Fn(F.slice(G + 1)) ? k.preventDefault() : L ? (A = c.value) == null || A.focus() : (I = p.value) == null || I.focus(); } }; - g.addEventListener("focusin", b), g.addEventListener("focusout", B), g.addEventListener("pointermove", b), g.addEventListener("pointerleave", $), g.addEventListener("keydown", E), window.addEventListener("blur", b), window.addEventListener("focus", w), v(() => { - g.removeEventListener("focusin", b), g.removeEventListener("focusout", B), g.removeEventListener("pointermove", b), g.removeEventListener("pointerleave", $), g.removeEventListener("keydown", E), window.removeEventListener("blur", b), window.removeEventListener("focus", w); + g.addEventListener("focusin", b), g.addEventListener("focusout", B), g.addEventListener("pointermove", b), g.addEventListener("pointerleave", $), g.addEventListener("keydown", O), window.addEventListener("blur", b), window.addEventListener("focus", w), v(() => { + g.removeEventListener("focusin", b), g.removeEventListener("focusout", B), g.removeEventListener("pointermove", b), g.removeEventListener("pointerleave", $), g.removeEventListener("keydown", O), window.removeEventListener("blur", b), window.removeEventListener("focus", w); }); } }); function f({ tabbingDirection: v }) { const g = i.value.map((b) => { - const w = [b, ...Ba(b)]; + const w = [b, ...Oa(b)]; return v === "forwards" ? w : w.reverse(); }); return (v === "forwards" ? g.reverse() : g).flat(); } - return (v, g) => (h(), C(s(wd), { + return (v, g) => (h(), C(s(Sd), { role: "region", "aria-label": typeof s(o) == "string" ? s(o).replace("{hotkey}", m.value) : s(o)(m.value), tabindex: "-1", - style: Ot({ + style: Bt({ // incase list has size when empty (e.g. padding), we remove pointer events so // it doesn't prevent interactions with page elements that it overlays pointerEvents: d.value ? void 0 : "none" }) }, { default: y(() => [ - d.value ? (h(), C(Cr, { + d.value ? (h(), C(Lr, { key: 0, ref: (b) => { - c.value = s(Le)(b); + c.value = s(Ve)(b); }, onFocusFromOutsideViewport: g[0] || (g[0] = () => { const b = f({ tabbingDirection: "forwards" }); - s(Vn)(b); + s(Fn)(b); }) - }, null, 512)) : ce("", !0), - R(s(K), D({ + }, null, 512)) : de("", !0), + M(s(K), D({ ref: s(a), tabindex: "-1", as: v.as, @@ -10580,23 +10543,23 @@ const Kf = /* @__PURE__ */ x({ ]), _: 3 }, 16, ["as", "as-child"]), - d.value ? (h(), C(Cr, { + d.value ? (h(), C(Lr, { key: 1, ref: (b) => { - p.value = s(Le)(b); + p.value = s(Ve)(b); }, onFocusFromOutsideViewport: g[1] || (g[1] = () => { const b = f({ tabbingDirection: "backwards" }); - s(Vn)(b); + s(Fn)(b); }) - }, null, 512)) : ce("", !0) + }, null, 512)) : de("", !0) ]), _: 3 }, 8, ["aria-label", "style"])); } -}), Xf = /* @__PURE__ */ x({ +}), Qf = /* @__PURE__ */ x({ __name: "ToastTitle", props: { asChild: { type: Boolean }, @@ -10604,7 +10567,7 @@ const Kf = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(K), U(W(t)), { + return R(), (n, o) => (h(), C(s(K), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), @@ -10619,14 +10582,14 @@ const Kf = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return M(), (n, o) => (h(), C(s(K), U(W(t)), { + return R(), (n, o) => (h(), C(s(K), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), hl = "tooltip.open", [za, Qf] = oe("TooltipProvider"), Jf = /* @__PURE__ */ x({ +}), Bl = "tooltip.open", [Ha, Jf] = ne("TooltipProvider"), em = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "TooltipProvider", props: { @@ -10638,12 +10601,12 @@ const Kf = /* @__PURE__ */ x({ ignoreNonKeyboardFocus: { type: Boolean, default: !1 } }, setup(e) { - const t = e, { delayDuration: n, skipDelayDuration: o, disableHoverableContent: a, disableClosingTrigger: r, ignoreNonKeyboardFocus: l, disabled: i } = pe(t); - M(); - const u = T(!0), d = T(!1), { start: c, stop: p } = ma(() => { + const t = e, { delayDuration: n, skipDelayDuration: o, disableHoverableContent: a, disableClosingTrigger: r, ignoreNonKeyboardFocus: l, disabled: i } = ce(t); + R(); + const u = T(!0), d = T(!1), { start: c, stop: p } = ya(() => { u.value = !0; }, o, { immediate: !1 }); - return Qf({ + return Jf({ isOpenDelayed: u, delayDuration: n, onOpen() { @@ -10659,7 +10622,7 @@ const Kf = /* @__PURE__ */ x({ ignoreNonKeyboardFocus: l }), (m, f) => _(m.$slots, "default"); } -}), [co, em] = oe("TooltipRoot"), tm = /* @__PURE__ */ x({ +}), [uo, tm] = ne("TooltipRoot"), nm = /* @__PURE__ */ x({ __name: "TooltipRoot", props: { defaultOpen: { type: Boolean, default: !1 }, @@ -10673,15 +10636,15 @@ const Kf = /* @__PURE__ */ x({ emits: ["update:open"], setup(e, { emit: t }) { const n = e, o = t; - M(); - const a = za(), r = S(() => n.disableHoverableContent ?? a.disableHoverableContent.value), l = S(() => n.disableClosingTrigger ?? a.disableClosingTrigger.value), i = S(() => n.disabled ?? a.disabled.value), u = S(() => n.delayDuration ?? a.delayDuration.value), d = S(() => n.ignoreNonKeyboardFocus ?? a.ignoreNonKeyboardFocus.value), c = ge(n, "open", o, { + R(); + const a = Ha(), r = S(() => n.disableHoverableContent ?? a.disableHoverableContent.value), l = S(() => n.disableClosingTrigger ?? a.disableClosingTrigger.value), i = S(() => n.disabled ?? a.disabled.value), u = S(() => n.delayDuration ?? a.delayDuration.value), d = S(() => n.ignoreNonKeyboardFocus ?? a.ignoreNonKeyboardFocus.value), c = ve(n, "open", o, { defaultValue: n.defaultOpen, passive: n.open === void 0 }); X(c, ($) => { - a.onClose && ($ ? (a.onOpen(), document.dispatchEvent(new CustomEvent(hl))) : a.onClose()); + a.onClose && ($ ? (a.onOpen(), document.dispatchEvent(new CustomEvent(Bl))) : a.onClose()); }); - const p = T(!1), m = T(), f = S(() => c.value ? p.value ? "delayed-open" : "instant-open" : "closed"), { start: v, stop: g } = ma(() => { + const p = T(!1), m = T(), f = S(() => c.value ? p.value ? "delayed-open" : "instant-open" : "closed"), { start: v, stop: g } = ya(() => { p.value = !0, c.value = !0; }, u, { immediate: !1 }); function b() { @@ -10693,7 +10656,7 @@ const Kf = /* @__PURE__ */ x({ function B() { v(); } - return em({ + return tm({ contentId: "", open: c, stateAttribute: f, @@ -10713,23 +10676,23 @@ const Kf = /* @__PURE__ */ x({ disableClosingTrigger: l, disabled: i, ignoreNonKeyboardFocus: d - }), ($, E) => (h(), C(s(Xt), null, { + }), ($, O) => (h(), C(s(qt), null, { default: y(() => [ _($.$slots, "default", { open: s(c) }) ]), _: 3 })); } -}), nm = /* @__PURE__ */ x({ +}), om = /* @__PURE__ */ x({ __name: "TooltipTrigger", props: { asChild: { type: Boolean }, as: { default: "button" } }, setup(e) { - const t = e, n = co(), o = za(); - n.contentId || (n.contentId = Ce(void 0, "radix-vue-tooltip-content")); - const { forwardRef: a, currentElement: r } = M(), l = T(!1), i = T(!1), u = S(() => n.disabled.value ? {} : { + const t = e, n = uo(), o = Ha(); + n.contentId || (n.contentId = _e(void 0, "radix-vue-tooltip-content")); + const { forwardRef: a, currentElement: r } = R(), l = T(!1), i = T(!1), u = S(() => n.disabled.value ? {} : { click: g, focus: f, pointermove: p, @@ -10737,7 +10700,7 @@ const Kf = /* @__PURE__ */ x({ pointerdown: c, blur: v }); - se(() => { + re(() => { n.onTriggerChange(r.value); }); function d() { @@ -10764,16 +10727,16 @@ const Kf = /* @__PURE__ */ x({ function g() { n.disableClosingTrigger.value || n.onClose(); } - return (b, w) => (h(), C(s(Cn), { "as-child": "" }, { + return (b, w) => (h(), C(s(wn), { "as-child": "" }, { default: y(() => [ - R(s(K), D({ + M(s(K), D({ ref: s(a), "aria-describedby": s(n).open.value ? s(n).contentId : void 0, "data-state": s(n).stateAttribute.value, as: b.as, "as-child": t.asChild, "data-grace-area-trigger": "" - }, ql(u.value)), { + }, ti(u.value)), { default: y(() => [ _(b.$slots, "default") ]), @@ -10783,7 +10746,7 @@ const Kf = /* @__PURE__ */ x({ _: 3 })); } -}), yl = /* @__PURE__ */ x({ +}), $l = /* @__PURE__ */ x({ __name: "TooltipContentImpl", props: { ariaLabel: {}, @@ -10802,7 +10765,7 @@ const Kf = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside"], setup(e, { emit: t }) { - const n = e, o = t, a = co(), { forwardRef: r } = M(), l = Xr(), i = S(() => { + const n = e, o = t, a = uo(), { forwardRef: r } = R(), l = ps(), i = S(() => { var c; return (c = l.default) == null ? void 0 : c.call(l); }), u = S(() => { @@ -10811,19 +10774,19 @@ const Kf = /* @__PURE__ */ x({ return n.ariaLabel; let p = ""; function m(f) { - typeof f.children == "string" && f.type !== na ? p += f.children : Array.isArray(f.children) && f.children.forEach((v) => m(v)); + typeof f.children == "string" && f.type !== ia ? p += f.children : Array.isArray(f.children) && f.children.forEach((v) => m(v)); } return (c = i.value) == null || c.forEach((f) => m(f)), p; }), d = S(() => { const { ariaLabel: c, ...p } = n; return p; }); - return se(() => { - Kt(window, "scroll", (c) => { + return re(() => { + zt(window, "scroll", (c) => { const p = c.target; p != null && p.contains(a.trigger.value) && a.onClose(); - }), Kt(window, hl, a.onClose); - }), (c, p) => (h(), C(s(Yt), { + }), zt(window, Bl, a.onClose); + }), (c, p) => (h(), C(s(Wt), { "as-child": "", "disable-outside-pointer-events": !1, onEscapeKeyDown: p[0] || (p[0] = (m) => o("escapeKeyDown", m)), @@ -10831,12 +10794,12 @@ const Kf = /* @__PURE__ */ x({ var f; s(a).disableClosingTrigger.value && (f = s(a).trigger.value) != null && f.contains(m.target) && m.preventDefault(), o("pointerDownOutside", m); }), - onFocusOutside: p[2] || (p[2] = Be(() => { + onFocusOutside: p[2] || (p[2] = Ce(() => { }, ["prevent"])), onDismiss: p[3] || (p[3] = (m) => s(a).onClose()) }, { default: y(() => [ - R(s(Ht), D({ + M(s(Nt), D({ ref: s(r), "data-state": s(a).stateAttribute.value }, { ...c.$attrs, ...d.value }, { style: { @@ -10848,12 +10811,12 @@ const Kf = /* @__PURE__ */ x({ } }), { default: y(() => [ _(c.$slots, "default"), - R(s(Bn), { + M(s(xn), { id: s(a).contentId, role: "tooltip" }, { default: y(() => [ - ke(Te(u.value), 1) + Se(Ee(u.value), 1) ]), _: 1 }, 8, ["id"]) @@ -10864,7 +10827,7 @@ const Kf = /* @__PURE__ */ x({ _: 3 })); } -}), om = /* @__PURE__ */ x({ +}), am = /* @__PURE__ */ x({ __name: "TooltipContentHoverable", props: { ariaLabel: {}, @@ -10882,17 +10845,17 @@ const Kf = /* @__PURE__ */ x({ hideWhenDetached: { type: Boolean } }, setup(e) { - const t = Se(e), { forwardRef: n, currentElement: o } = M(), { trigger: a, onClose: r } = co(), l = za(), { isPointerInTransit: i, onPointerExit: u } = Vu(a, o); + const t = $e(e), { forwardRef: n, currentElement: o } = R(), { trigger: a, onClose: r } = uo(), l = Ha(), { isPointerInTransit: i, onPointerExit: u } = Hu(a, o); return l.isPointerInTransitRef = i, u(() => { r(); - }), (d, c) => (h(), C(yl, D({ ref: s(n) }, s(t)), { + }), (d, c) => (h(), C($l, D({ ref: s(n) }, s(t)), { default: y(() => [ _(d.$slots, "default") ]), _: 3 }, 16)); } -}), am = /* @__PURE__ */ x({ +}), rm = /* @__PURE__ */ x({ __name: "TooltipContent", props: { forceMount: { type: Boolean }, @@ -10912,12 +10875,12 @@ const Kf = /* @__PURE__ */ x({ }, emits: ["escapeKeyDown", "pointerDownOutside"], setup(e, { emit: t }) { - const n = e, o = t, a = co(), r = Z(n, o), { forwardRef: l } = M(); - return (i, u) => (h(), C(s(Ne), { + const n = e, o = t, a = uo(), r = Q(n, o), { forwardRef: l } = R(); + return (i, u) => (h(), C(s(ze), { present: i.forceMount || s(a).open.value }, { default: y(() => [ - (h(), C(Ve(s(a).disableHoverableContent.value ? yl : om), D({ ref: s(l) }, s(r)), { + (h(), C(Fe(s(a).disableHoverableContent.value ? $l : am), D({ ref: s(l) }, s(r)), { default: y(() => [ _(i.$slots, "default") ]), @@ -10927,7 +10890,7 @@ const Kf = /* @__PURE__ */ x({ _: 3 }, 8, ["present"])); } -}), rm = /* @__PURE__ */ x({ +}), sm = /* @__PURE__ */ x({ __name: "TooltipPortal", props: { to: {}, @@ -10936,54 +10899,54 @@ const Kf = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(qt), U(W(t)), { + return (n, o) => (h(), C(s(Ut), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), en = (e, t) => { +}), Qt = (e, t) => { const n = e.__vccOpts || e; for (const [o, a] of t) n[o] = a; return n; -}, sm = {}, lm = { class: "h-full bg-background dark:text-white" }; -function im(e, t) { - return h(), N("div", lm, [ +}, lm = {}, im = { class: "h-full bg-background dark:text-white" }; +function um(e, t) { + return h(), N("div", im, [ _(e.$slots, "default") ]); } -const L0 = /* @__PURE__ */ en(sm, [["render", im]]), um = {}, dm = { class: "sticky top-0 z-50 flex h-16 shrink-0 items-center gap-x-4 bg-background/60 px-4 backdrop-blur sm:gap-x-6 sm:px-6 lg:px-8" }; -function cm(e, t) { - return h(), N("header", dm, [ +const Uh = /* @__PURE__ */ Qt(lm, [["render", um]]), dm = {}, cm = { class: "sticky top-0 z-50 flex h-16 shrink-0 items-center gap-x-4 bg-background/60 px-4 backdrop-blur sm:gap-x-6 sm:px-6 lg:px-8" }; +function pm(e, t) { + return h(), N("header", cm, [ _(e.$slots, "default") ]); } -const z0 = /* @__PURE__ */ en(um, [["render", cm]]), pm = {}, fm = { class: "px-4 py-10 sm:px-6 lg:px-8 lg:pl-72" }; -function mm(e, t) { - return h(), N("main", fm, [ +const Wh = /* @__PURE__ */ Qt(dm, [["render", pm]]), fm = {}, mm = { class: "px-4 py-10 sm:px-6 lg:px-8 lg:pl-72" }; +function vm(e, t) { + return h(), N("main", mm, [ _(e.$slots, "default") ]); } -const N0 = /* @__PURE__ */ en(pm, [["render", mm]]), vm = {}; -function gm(e, t) { +const qh = /* @__PURE__ */ Qt(fm, [["render", vm]]), gm = {}; +function hm(e, t) { return _(e.$slots, "default"); } -const j0 = /* @__PURE__ */ en(vm, [["render", gm]]), hm = {}, ym = { class: "hidden px-6 py-10 lg:fixed lg:inset-y-0 lg:top-16 lg:z-50 lg:flex lg:w-72 lg:flex-col" }, bm = { class: "gap-y-5 overflow-y-auto" }; -function wm(e, t) { - return h(), N("div", ym, [ - re("div", bm, [ +const Gh = /* @__PURE__ */ Qt(gm, [["render", hm]]), ym = {}, bm = { class: "hidden px-6 py-10 lg:fixed lg:inset-y-0 lg:top-16 lg:z-50 lg:flex lg:w-72 lg:flex-col" }, wm = { class: "gap-y-5 overflow-y-auto" }; +function xm(e, t) { + return h(), N("div", bm, [ + ae("div", wm, [ _(e.$slots, "default") ]) ]); } -const K0 = /* @__PURE__ */ en(hm, [["render", wm]]), xm = {}; -function _m(e, t) { +const Yh = /* @__PURE__ */ Qt(ym, [["render", xm]]), _m = {}; +function Cm(e, t) { return _(e.$slots, "default"); } -const H0 = /* @__PURE__ */ en(xm, [["render", _m]]); -function Cm(e, t) { +const Xh = /* @__PURE__ */ Qt(_m, [["render", Cm]]); +function Bm(e, t) { return h(), N("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -10993,14 +10956,14 @@ function Cm(e, t) { "aria-hidden": "true", "data-slot": "icon" }, [ - re("path", { + ae("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" }) ]); } -function Bm(e, t) { +function $m(e, t) { return h(), N("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -11010,14 +10973,14 @@ function Bm(e, t) { "aria-hidden": "true", "data-slot": "icon" }, [ - re("path", { + ae("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" }) ]); } -function Br(e, t) { +function zr(e, t) { return h(), N("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -11027,14 +10990,14 @@ function Br(e, t) { "aria-hidden": "true", "data-slot": "icon" }, [ - re("path", { + ae("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z" }) ]); } -function $m(e, t) { +function Sm(e, t) { return h(), N("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -11044,66 +11007,66 @@ function $m(e, t) { "aria-hidden": "true", "data-slot": "icon" }, [ - re("path", { + ae("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z" }) ]); } -const Sm = { +const km = { type: "button", class: "-m-2.5 p-2.5 lg:hidden" -}, U0 = /* @__PURE__ */ x({ +}, Qh = /* @__PURE__ */ x({ __name: "TwoColumnLayoutSidebarTrigger", setup(e) { - return (t, n) => (h(), N("button", Sm, [ - n[0] || (n[0] = re("span", { class: "sr-only" }, "Open sidebar", -1)), - R(s(Cm), { + return (t, n) => (h(), N("button", km, [ + n[0] || (n[0] = ae("span", { class: "sr-only" }, "Open sidebar", -1)), + M(s(Bm), { class: "h-6 w-6", "aria-hidden": "true" }) ])); } -}), km = 3, Om = 1e6, at = { +}), Om = 3, Am = 1e6, nt = { ADD_TOAST: "ADD_TOAST", UPDATE_TOAST: "UPDATE_TOAST", DISMISS_TOAST: "DISMISS_TOAST", REMOVE_TOAST: "REMOVE_TOAST" }; -let Po = 0; +let zo = 0; function Em() { - return Po = (Po + 1) % Number.MAX_VALUE, Po.toString(); + return zo = (zo + 1) % Number.MAX_VALUE, zo.toString(); } -const Io = /* @__PURE__ */ new Map(); -function $r(e) { - if (Io.has(e)) return; +const No = /* @__PURE__ */ new Map(); +function Nr(e) { + if (No.has(e)) return; const t = setTimeout(() => { - Io.delete(e), ln({ - type: at.REMOVE_TOAST, + No.delete(e), an({ + type: nt.REMOVE_TOAST, toastId: e }); - }, Om); - Io.set(e, t); + }, Am); + No.set(e, t); } -const je = T({ +const Ne = T({ toasts: [] }); -function ln(e) { +function an(e) { switch (e.type) { - case at.ADD_TOAST: - je.value.toasts = [e.toast, ...je.value.toasts].slice(0, km); + case nt.ADD_TOAST: + Ne.value.toasts = [e.toast, ...Ne.value.toasts].slice(0, Om); break; - case at.UPDATE_TOAST: - je.value.toasts = je.value.toasts.map( + case nt.UPDATE_TOAST: + Ne.value.toasts = Ne.value.toasts.map( (t) => t.id === e.toast.id ? { ...t, ...e.toast } : t ); break; - case at.DISMISS_TOAST: { + case nt.DISMISS_TOAST: { const { toastId: t } = e; - t ? $r(t) : je.value.toasts.forEach((n) => { - $r(n.id); - }), je.value.toasts = je.value.toasts.map( + t ? Nr(t) : Ne.value.toasts.forEach((n) => { + Nr(n.id); + }), Ne.value.toasts = Ne.value.toasts.map( (n) => n.id === t || t === void 0 ? { ...n, open: !1 @@ -11111,25 +11074,25 @@ function ln(e) { ); break; } - case at.REMOVE_TOAST: - e.toastId === void 0 ? je.value.toasts = [] : je.value.toasts = je.value.toasts.filter((t) => t.id !== e.toastId); + case nt.REMOVE_TOAST: + e.toastId === void 0 ? Ne.value.toasts = [] : Ne.value.toasts = Ne.value.toasts.filter((t) => t.id !== e.toastId); break; } } -function bl() { +function Sl() { return { - toasts: S(() => je.value.toasts), - toast: Am, - dismiss: (e) => ln({ type: at.DISMISS_TOAST, toastId: e }) + toasts: S(() => Ne.value.toasts), + toast: Tm, + dismiss: (e) => an({ type: nt.DISMISS_TOAST, toastId: e }) }; } -function Am(e) { - const t = e.id ?? Em(), n = (a) => ln({ - type: at.UPDATE_TOAST, +function Tm(e) { + const t = e.id ?? Em(), n = (a) => an({ + type: nt.UPDATE_TOAST, toast: { ...a, id: t } - }), o = () => ln({ type: at.DISMISS_TOAST, toastId: t }); - return ln({ - type: at.ADD_TOAST, + }), o = () => an({ type: nt.DISMISS_TOAST, toastId: t }); + return an({ + type: nt.ADD_TOAST, toast: { ...e, id: t, @@ -11144,14 +11107,14 @@ function Am(e) { update: n }; } -const Tm = { class: "flex items-start space-x-3" }, Dm = ["src", "alt"], Pm = { class: "grid gap-1" }, Im = { class: "font-bold" }, Mm = /* @__PURE__ */ x({ +const Dm = { class: "flex items-start space-x-3" }, Pm = ["src", "alt"], Im = { class: "grid gap-1" }, Mm = { class: "font-bold" }, Rm = /* @__PURE__ */ x({ __name: "Toaster", emits: ["click"], setup(e) { - const { toasts: t } = bl(); - return (n, o) => (h(), C(s($v), null, { + const { toasts: t } = Sl(); + return (n, o) => (h(), C(s(Sv), null, { default: y(() => [ - (h(!0), N(be, null, vt(s(t), (a) => (h(), C(s(mv), D({ + (h(!0), N(ye, null, pt(s(t), (a) => (h(), C(s(vv), D({ key: a.id, ref_for: !0 }, a, { @@ -11159,111 +11122,111 @@ const Tm = { class: "flex items-start space-x-3" }, Dm = ["src", "alt"], Pm = { onClick: (r) => n.$emit("click", a) }), { default: y(() => [ - re("div", Tm, [ - a.icon ? (h(), N(be, { key: 0 }, [ + ae("div", Dm, [ + a.icon ? (h(), N(ye, { key: 0 }, [ typeof a.icon == "string" ? (h(), N("img", { key: 0, src: a.icon, - class: ne(["size-16 rounded-sm object-cover", a.iconClasses]), + class: te(["size-16 rounded-sm object-cover", a.iconClasses]), alt: a.title - }, null, 10, Dm)) : (h(), C(Ve(a.icon), { + }, null, 10, Pm)) : (h(), C(Fe(a.icon), { key: 1, - class: ne(["size-6", a.iconClasses]) + class: te(["size-6", a.iconClasses]) }, null, 8, ["class"])) - ], 64)) : ce("", !0), - re("div", Pm, [ - a.title ? (h(), C(s(Bv), { key: 0 }, { + ], 64)) : de("", !0), + ae("div", Im, [ + a.title ? (h(), C(s($v), { key: 0 }, { default: y(() => [ - ke(Te(a.title), 1) + Se(Ee(a.title), 1) ]), _: 2 - }, 1024)) : ce("", !0), - a.description ? (h(), N(be, { key: 1 }, [ - ni(a.description) ? (h(), C(s(Or), { key: 0 }, { + }, 1024)) : de("", !0), + a.description ? (h(), N(ye, { key: 1 }, [ + ui(a.description) ? (h(), C(s(Hr), { key: 0 }, { default: y(() => [ - (h(), C(Ve(a.description))) + (h(), C(Fe(a.description))) ]), _: 2 - }, 1024)) : typeof a.description == "object" ? (h(!0), N(be, { key: 1 }, vt(a.description, (r, l) => (h(), N("p", { + }, 1024)) : typeof a.description == "object" ? (h(!0), N(ye, { key: 1 }, pt(a.description, (r, l) => (h(), N("p", { key: l, class: "text-sm opacity-90" }, [ - a.objectFormat === "key" ? (h(), N(be, { key: 0 }, [ - ke(Te(l), 1) - ], 64)) : a.objectFormat === "both" ? (h(), N(be, { key: 1 }, [ - re("span", Im, Te(l), 1), - ke(": " + Te(r), 1) - ], 64)) : (h(), N(be, { key: 2 }, [ - ke(Te(r), 1) + a.objectFormat === "key" ? (h(), N(ye, { key: 0 }, [ + Se(Ee(l), 1) + ], 64)) : a.objectFormat === "both" ? (h(), N(ye, { key: 1 }, [ + ae("span", Mm, Ee(l), 1), + Se(": " + Ee(r), 1) + ], 64)) : (h(), N(ye, { key: 2 }, [ + Se(Ee(r), 1) ], 64)) - ]))), 128)) : (h(), C(s(Or), { key: 2 }, { + ]))), 128)) : (h(), C(s(Hr), { key: 2 }, { default: y(() => [ - ke(Te(a.description), 1) + Se(Ee(a.description), 1) ]), _: 2 }, 1024)) - ], 64)) : ce("", !0), - R(s(Cv)) + ], 64)) : de("", !0), + M(s(Bv)) ]) ]), - (h(), C(Ve(a.action))) + (h(), C(Fe(a.action))) ]), _: 2 }, 1040, ["onClick"]))), 128)), - R(s(vv)) + M(s(gv)) ]), _: 1 })); } }); -function wl(e) { +function kl(e) { var t, n, o = ""; if (typeof e == "string" || typeof e == "number") o += e; else if (typeof e == "object") if (Array.isArray(e)) { var a = e.length; - for (t = 0; t < a; t++) e[t] && (n = wl(e[t])) && (o && (o += " "), o += n); + for (t = 0; t < a; t++) e[t] && (n = kl(e[t])) && (o && (o += " "), o += n); } else for (n in e) e[n] && (o && (o += " "), o += n); return o; } -function xl() { - for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = wl(e)) && (o && (o += " "), o += t); +function Ol() { + for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = kl(e)) && (o && (o += " "), o += t); return o; } -const Na = "-", Rm = (e) => { - const t = Vm(e), { +const Ua = "-", Fm = (e) => { + const t = Lm(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: o } = e; return { getClassGroupId: (l) => { - const i = l.split(Na); - return i[0] === "" && i.length !== 1 && i.shift(), _l(i, t) || Fm(l); + const i = l.split(Ua); + return i[0] === "" && i.length !== 1 && i.shift(), Al(i, t) || Vm(l); }, getConflictingClassGroupIds: (l, i) => { const u = n[l] || []; return i && o[l] ? [...u, ...o[l]] : u; } }; -}, _l = (e, t) => { +}, Al = (e, t) => { var l; if (e.length === 0) return t.classGroupId; - const n = e[0], o = t.nextPart.get(n), a = o ? _l(e.slice(1), o) : void 0; + const n = e[0], o = t.nextPart.get(n), a = o ? Al(e.slice(1), o) : void 0; if (a) return a; if (t.validators.length === 0) return; - const r = e.join(Na); + const r = e.join(Ua); return (l = t.validators.find(({ validator: i }) => i(r))) == null ? void 0 : l.classGroupId; -}, Sr = /^\[(.+)\]$/, Fm = (e) => { - if (Sr.test(e)) { - const t = Sr.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":")); +}, jr = /^\[(.+)\]$/, Vm = (e) => { + if (jr.test(e)) { + const t = jr.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":")); if (n) return "arbitrary.." + n; } -}, Vm = (e) => { +}, Lm = (e) => { const { theme: t, prefix: n @@ -11271,19 +11234,19 @@ const Na = "-", Rm = (e) => { nextPart: /* @__PURE__ */ new Map(), validators: [] }; - return zm(Object.entries(e.classGroups), n).forEach(([r, l]) => { - Go(l, o, r, t); + return Nm(Object.entries(e.classGroups), n).forEach(([r, l]) => { + Jo(l, o, r, t); }), o; -}, Go = (e, t, n, o) => { +}, Jo = (e, t, n, o) => { e.forEach((a) => { if (typeof a == "string") { - const r = a === "" ? t : kr(t, a); + const r = a === "" ? t : Kr(t, a); r.classGroupId = n; return; } if (typeof a == "function") { - if (Lm(a)) { - Go(a(o), t, n, o); + if (zm(a)) { + Jo(a(o), t, n, o); return; } t.validators.push({ @@ -11293,21 +11256,21 @@ const Na = "-", Rm = (e) => { return; } Object.entries(a).forEach(([r, l]) => { - Go(l, kr(t, r), n, o); + Jo(l, Kr(t, r), n, o); }); }); -}, kr = (e, t) => { +}, Kr = (e, t) => { let n = e; - return t.split(Na).forEach((o) => { + return t.split(Ua).forEach((o) => { n.nextPart.has(o) || n.nextPart.set(o, { nextPart: /* @__PURE__ */ new Map(), validators: [] }), n = n.nextPart.get(o); }), n; -}, Lm = (e) => e.isThemeGetter, zm = (e, t) => t ? e.map(([n, o]) => { +}, zm = (e) => e.isThemeGetter, Nm = (e, t) => t ? e.map(([n, o]) => { const a = o.map((r) => typeof r == "string" ? t + r : typeof r == "object" ? Object.fromEntries(Object.entries(r).map(([l, i]) => [t + l, i])) : r); return [n, a]; -}) : e, Nm = (e) => { +}) : e, jm = (e) => { if (e < 1) return { get: () => { @@ -11331,7 +11294,7 @@ const Na = "-", Rm = (e) => { n.has(r) ? n.set(r, l) : a(r, l); } }; -}, Cl = "!", jm = (e) => { +}, El = "!", Km = (e) => { const { separator: t, experimentalParseClassName: n @@ -11352,7 +11315,7 @@ const Na = "-", Rm = (e) => { } w === "[" ? d++ : w === "]" && d--; } - const m = u.length === 0 ? i : i.substring(c), f = m.startsWith(Cl), v = f ? m.substring(1) : m, g = p && p > c ? p - c : void 0; + const m = u.length === 0 ? i : i.substring(c), f = m.startsWith(El), v = f ? m.substring(1) : m, g = p && p > c ? p - c : void 0; return { modifiers: u, hasImportantModifier: f, @@ -11364,7 +11327,7 @@ const Na = "-", Rm = (e) => { className: i, parseClassName: l }) : l; -}, Km = (e) => { +}, Hm = (e) => { if (e.length <= 1) return e; const t = []; @@ -11372,16 +11335,16 @@ const Na = "-", Rm = (e) => { return e.forEach((o) => { o[0] === "[" ? (t.push(...n.sort(), o), n = []) : n.push(o); }), t.push(...n.sort()), t; -}, Hm = (e) => ({ - cache: Nm(e.cacheSize), - parseClassName: jm(e), - ...Rm(e) -}), Um = /\s+/, Wm = (e, t) => { +}, Um = (e) => ({ + cache: jm(e.cacheSize), + parseClassName: Km(e), + ...Fm(e) +}), Wm = /\s+/, qm = (e, t) => { const { parseClassName: n, getClassGroupId: o, getConflictingClassGroupIds: a - } = t, r = [], l = e.trim().split(Um); + } = t, r = [], l = e.trim().split(Wm); let i = ""; for (let u = l.length - 1; u >= 0; u -= 1) { const d = l[u], { @@ -11402,13 +11365,13 @@ const Na = "-", Rm = (e) => { } v = !1; } - const b = Km(c).join(":"), w = p ? b + Cl : b, B = w + g; + const b = Hm(c).join(":"), w = p ? b + El : b, B = w + g; if (r.includes(B)) continue; r.push(B); const $ = a(g, v); - for (let E = 0; E < $.length; ++E) { - const k = $[E]; + for (let O = 0; O < $.length; ++O) { + const k = $[O]; r.push(w + k); } i = d + (i.length > 0 ? " " + i : i); @@ -11418,66 +11381,66 @@ const Na = "-", Rm = (e) => { function Gm() { let e = 0, t, n, o = ""; for (; e < arguments.length; ) - (t = arguments[e++]) && (n = Bl(t)) && (o && (o += " "), o += n); + (t = arguments[e++]) && (n = Tl(t)) && (o && (o += " "), o += n); return o; } -const Bl = (e) => { +const Tl = (e) => { if (typeof e == "string") return e; let t, n = ""; for (let o = 0; o < e.length; o++) - e[o] && (t = Bl(e[o])) && (n && (n += " "), n += t); + e[o] && (t = Tl(e[o])) && (n && (n += " "), n += t); return n; }; -function qm(e, ...t) { +function Ym(e, ...t) { let n, o, a, r = l; function l(u) { const d = t.reduce((c, p) => p(c), e()); - return n = Hm(d), o = n.cache.get, a = n.cache.set, r = i, i(u); + return n = Um(d), o = n.cache.get, a = n.cache.set, r = i, i(u); } function i(u) { const d = o(u); if (d) return d; - const c = Wm(u, n); + const c = qm(u, n); return a(u, c), c; } return function() { return r(Gm.apply(null, arguments)); }; } -const ve = (e) => { +const me = (e) => { const t = (n) => n[e] || []; return t.isThemeGetter = !0, t; -}, $l = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ym = /^\d+\/\d+$/, Xm = /* @__PURE__ */ new Set(["px", "full", "screen"]), Zm = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qm = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Jm = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ev = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tv = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ot = (e) => Nt(e) || Xm.has(e) || Ym.test(e), ct = (e) => tn(e, "length", uv), Nt = (e) => !!e && !Number.isNaN(Number(e)), Mo = (e) => tn(e, "number", Nt), an = (e) => !!e && Number.isInteger(Number(e)), nv = (e) => e.endsWith("%") && Nt(e.slice(0, -1)), te = (e) => $l.test(e), pt = (e) => Zm.test(e), ov = /* @__PURE__ */ new Set(["length", "size", "percentage"]), av = (e) => tn(e, ov, Sl), rv = (e) => tn(e, "position", Sl), sv = /* @__PURE__ */ new Set(["image", "url"]), lv = (e) => tn(e, sv, cv), iv = (e) => tn(e, "", dv), rn = () => !0, tn = (e, t, n) => { - const o = $l.exec(e); +}, Dl = /^\[(?:([a-z-]+):)?(.+)\]$/i, Xm = /^\d+\/\d+$/, Qm = /* @__PURE__ */ new Set(["px", "full", "screen"]), Zm = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jm = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ev = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, tv = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nv = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, tt = (e) => Vt(e) || Qm.has(e) || Xm.test(e), it = (e) => Zt(e, "length", dv), Vt = (e) => !!e && !Number.isNaN(Number(e)), jo = (e) => Zt(e, "number", Vt), tn = (e) => !!e && Number.isInteger(Number(e)), ov = (e) => e.endsWith("%") && Vt(e.slice(0, -1)), ee = (e) => Dl.test(e), ut = (e) => Zm.test(e), av = /* @__PURE__ */ new Set(["length", "size", "percentage"]), rv = (e) => Zt(e, av, Pl), sv = (e) => Zt(e, "position", Pl), lv = /* @__PURE__ */ new Set(["image", "url"]), iv = (e) => Zt(e, lv, pv), uv = (e) => Zt(e, "", cv), nn = () => !0, Zt = (e, t, n) => { + const o = Dl.exec(e); return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : n(o[2]) : !1; -}, uv = (e) => ( +}, dv = (e) => ( // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths. // For example, `hsl(0 0% 0%)` would be classified as a length without this check. // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough. - Qm.test(e) && !Jm.test(e) -), Sl = () => !1, dv = (e) => ev.test(e), cv = (e) => tv.test(e), pv = () => { - const e = ve("colors"), t = ve("spacing"), n = ve("blur"), o = ve("brightness"), a = ve("borderColor"), r = ve("borderRadius"), l = ve("borderSpacing"), i = ve("borderWidth"), u = ve("contrast"), d = ve("grayscale"), c = ve("hueRotate"), p = ve("invert"), m = ve("gap"), f = ve("gradientColorStops"), v = ve("gradientColorStopPositions"), g = ve("inset"), b = ve("margin"), w = ve("opacity"), B = ve("padding"), $ = ve("saturate"), E = ve("scale"), k = ve("sepia"), P = ve("skew"), O = ve("space"), I = ve("translate"), V = () => ["auto", "contain", "none"], A = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", te, t], F = () => [te, t], q = () => ["", ot, ct], G = () => ["auto", Nt, te], Q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], le = () => ["solid", "dashed", "dotted", "double", "none"], fe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ue = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", te], Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [Nt, te]; + Jm.test(e) && !ev.test(e) +), Pl = () => !1, cv = (e) => tv.test(e), pv = (e) => nv.test(e), fv = () => { + const e = me("colors"), t = me("spacing"), n = me("blur"), o = me("brightness"), a = me("borderColor"), r = me("borderRadius"), l = me("borderSpacing"), i = me("borderWidth"), u = me("contrast"), d = me("grayscale"), c = me("hueRotate"), p = me("invert"), m = me("gap"), f = me("gradientColorStops"), v = me("gradientColorStopPositions"), g = me("inset"), b = me("margin"), w = me("opacity"), B = me("padding"), $ = me("saturate"), O = me("scale"), k = me("sepia"), P = me("skew"), A = me("space"), I = me("translate"), V = () => ["auto", "contain", "none"], E = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", ee, t], F = () => [ee, t], G = () => ["", tt, it], q = () => ["auto", Vt, ee], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], se = () => ["solid", "dashed", "dotted", "double", "none"], pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ie = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", ee], Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [Vt, ee]; return { cacheSize: 500, separator: ":", theme: { - colors: [rn], - spacing: [ot, ct], - blur: ["none", "", pt, te], + colors: [nn], + spacing: [tt, it], + blur: ["none", "", ut, ee], brightness: J(), borderColor: [e], - borderRadius: ["none", "", "full", pt, te], + borderRadius: ["none", "", "full", ut, ee], borderSpacing: F(), - borderWidth: q(), + borderWidth: G(), contrast: J(), grayscale: j(), hueRotate: J(), invert: j(), gap: F(), gradientColorStops: [e], - gradientColorStopPositions: [nv, ct], + gradientColorStopPositions: [ov, it], inset: L(), margin: L(), opacity: J(), @@ -11496,7 +11459,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/aspect-ratio */ aspect: [{ - aspect: ["auto", "square", "video", te] + aspect: ["auto", "square", "video", ee] }], /** * Container @@ -11508,7 +11471,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/columns */ columns: [{ - columns: [pt] + columns: [ut] }], /** * Break After @@ -11581,28 +11544,28 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/object-position */ "object-position": [{ - object: [...Q(), te] + object: [...Z(), ee] }], /** * Overflow * @see https://tailwindcss.com/docs/overflow */ overflow: [{ - overflow: A() + overflow: E() }], /** * Overflow X * @see https://tailwindcss.com/docs/overflow */ "overflow-x": [{ - "overflow-x": A() + "overflow-x": E() }], /** * Overflow Y * @see https://tailwindcss.com/docs/overflow */ "overflow-y": [{ - "overflow-y": A() + "overflow-y": E() }], /** * Overscroll Behavior @@ -11703,7 +11666,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/z-index */ z: [{ - z: ["auto", an, te] + z: ["auto", tn, ee] }], // Flexbox and Grid /** @@ -11732,7 +11695,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/flex */ flex: [{ - flex: ["1", "auto", "initial", "none", te] + flex: ["1", "auto", "initial", "none", ee] }], /** * Flex Grow @@ -11753,14 +11716,14 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/order */ order: [{ - order: ["first", "last", "none", an, te] + order: ["first", "last", "none", tn, ee] }], /** * Grid Template Columns * @see https://tailwindcss.com/docs/grid-template-columns */ "grid-cols": [{ - "grid-cols": [rn] + "grid-cols": [nn] }], /** * Grid Column Start / End @@ -11768,29 +11731,29 @@ const ve = (e) => { */ "col-start-end": [{ col: ["auto", { - span: ["full", an, te] - }, te] + span: ["full", tn, ee] + }, ee] }], /** * Grid Column Start * @see https://tailwindcss.com/docs/grid-column */ "col-start": [{ - "col-start": G() + "col-start": q() }], /** * Grid Column End * @see https://tailwindcss.com/docs/grid-column */ "col-end": [{ - "col-end": G() + "col-end": q() }], /** * Grid Template Rows * @see https://tailwindcss.com/docs/grid-template-rows */ "grid-rows": [{ - "grid-rows": [rn] + "grid-rows": [nn] }], /** * Grid Row Start / End @@ -11798,22 +11761,22 @@ const ve = (e) => { */ "row-start-end": [{ row: ["auto", { - span: [an, te] - }, te] + span: [tn, ee] + }, ee] }], /** * Grid Row Start * @see https://tailwindcss.com/docs/grid-row */ "row-start": [{ - "row-start": G() + "row-start": q() }], /** * Grid Row End * @see https://tailwindcss.com/docs/grid-row */ "row-end": [{ - "row-end": G() + "row-end": q() }], /** * Grid Auto Flow @@ -11827,14 +11790,14 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/grid-auto-columns */ "auto-cols": [{ - "auto-cols": ["auto", "min", "max", "fr", te] + "auto-cols": ["auto", "min", "max", "fr", ee] }], /** * Grid Auto Rows * @see https://tailwindcss.com/docs/grid-auto-rows */ "auto-rows": [{ - "auto-rows": ["auto", "min", "max", "fr", te] + "auto-rows": ["auto", "min", "max", "fr", ee] }], /** * Gap @@ -11862,7 +11825,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/justify-content */ "justify-content": [{ - justify: ["normal", ...ue()] + justify: ["normal", ...ie()] }], /** * Justify Items @@ -11883,7 +11846,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/align-content */ "align-content": [{ - content: ["normal", ...ue(), "baseline"] + content: ["normal", ...ie(), "baseline"] }], /** * Align Items @@ -11904,7 +11867,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/place-content */ "place-content": [{ - "place-content": [...ue(), "baseline"] + "place-content": [...ie(), "baseline"] }], /** * Place Items @@ -12052,7 +12015,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/space */ "space-x": [{ - "space-x": [O] + "space-x": [A] }], /** * Space Between X Reverse @@ -12064,7 +12027,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/space */ "space-y": [{ - "space-y": [O] + "space-y": [A] }], /** * Space Between Y Reverse @@ -12077,51 +12040,51 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/width */ w: [{ - w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", te, t] + w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", ee, t] }], /** * Min-Width * @see https://tailwindcss.com/docs/min-width */ "min-w": [{ - "min-w": [te, t, "min", "max", "fit"] + "min-w": [ee, t, "min", "max", "fit"] }], /** * Max-Width * @see https://tailwindcss.com/docs/max-width */ "max-w": [{ - "max-w": [te, t, "none", "full", "min", "max", "fit", "prose", { - screen: [pt] - }, pt] + "max-w": [ee, t, "none", "full", "min", "max", "fit", "prose", { + screen: [ut] + }, ut] }], /** * Height * @see https://tailwindcss.com/docs/height */ h: [{ - h: [te, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"] + h: [ee, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"] }], /** * Min-Height * @see https://tailwindcss.com/docs/min-height */ "min-h": [{ - "min-h": [te, t, "min", "max", "fit", "svh", "lvh", "dvh"] + "min-h": [ee, t, "min", "max", "fit", "svh", "lvh", "dvh"] }], /** * Max-Height * @see https://tailwindcss.com/docs/max-height */ "max-h": [{ - "max-h": [te, t, "min", "max", "fit", "svh", "lvh", "dvh"] + "max-h": [ee, t, "min", "max", "fit", "svh", "lvh", "dvh"] }], /** * Size * @see https://tailwindcss.com/docs/size */ size: [{ - size: [te, t, "auto", "min", "max", "fit"] + size: [ee, t, "auto", "min", "max", "fit"] }], // Typography /** @@ -12129,7 +12092,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/font-size */ "font-size": [{ - text: ["base", pt, ct] + text: ["base", ut, it] }], /** * Font Smoothing @@ -12146,14 +12109,14 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/font-weight */ "font-weight": [{ - font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Mo] + font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", jo] }], /** * Font Family * @see https://tailwindcss.com/docs/font-family */ "font-family": [{ - font: [rn] + font: [nn] }], /** * Font Variant Numeric @@ -12190,35 +12153,35 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/letter-spacing */ tracking: [{ - tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", te] + tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", ee] }], /** * Line Clamp * @see https://tailwindcss.com/docs/line-clamp */ "line-clamp": [{ - "line-clamp": ["none", Nt, Mo] + "line-clamp": ["none", Vt, jo] }], /** * Line Height * @see https://tailwindcss.com/docs/line-height */ leading: [{ - leading: ["none", "tight", "snug", "normal", "relaxed", "loose", ot, te] + leading: ["none", "tight", "snug", "normal", "relaxed", "loose", tt, ee] }], /** * List Style Image * @see https://tailwindcss.com/docs/list-style-image */ "list-image": [{ - "list-image": ["none", te] + "list-image": ["none", ee] }], /** * List Style Type * @see https://tailwindcss.com/docs/list-style-type */ "list-style-type": [{ - list: ["none", "disc", "decimal", te] + list: ["none", "disc", "decimal", ee] }], /** * List Style Position @@ -12273,21 +12236,21 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/text-decoration-style */ "text-decoration-style": [{ - decoration: [...le(), "wavy"] + decoration: [...se(), "wavy"] }], /** * Text Decoration Thickness * @see https://tailwindcss.com/docs/text-decoration-thickness */ "text-decoration-thickness": [{ - decoration: ["auto", "from-font", ot, ct] + decoration: ["auto", "from-font", tt, it] }], /** * Text Underline Offset * @see https://tailwindcss.com/docs/text-underline-offset */ "underline-offset": [{ - "underline-offset": ["auto", ot, te] + "underline-offset": ["auto", tt, ee] }], /** * Text Decoration Color @@ -12325,7 +12288,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/vertical-align */ "vertical-align": [{ - align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", te] + align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", ee] }], /** * Whitespace @@ -12353,7 +12316,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/content */ content: [{ - content: ["none", te] + content: ["none", ee] }], // Backgrounds /** @@ -12390,7 +12353,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/background-position */ "bg-position": [{ - bg: [...Q(), rv] + bg: [...Z(), sv] }], /** * Background Repeat @@ -12406,7 +12369,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/background-size */ "bg-size": [{ - bg: ["auto", "cover", "contain", av] + bg: ["auto", "cover", "contain", rv] }], /** * Background Image @@ -12415,7 +12378,7 @@ const ve = (e) => { "bg-image": [{ bg: ["none", { "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"] - }, lv] + }, iv] }], /** * Background Color @@ -12647,7 +12610,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/border-style */ "border-style": [{ - border: [...le(), "hidden"] + border: [...se(), "hidden"] }], /** * Divide Width X @@ -12685,7 +12648,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/divide-style */ "divide-style": [{ - divide: le() + divide: se() }], /** * Border Color @@ -12762,21 +12725,21 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/outline-style */ "outline-style": [{ - outline: ["", ...le()] + outline: ["", ...se()] }], /** * Outline Offset * @see https://tailwindcss.com/docs/outline-offset */ "outline-offset": [{ - "outline-offset": [ot, te] + "outline-offset": [tt, ee] }], /** * Outline Width * @see https://tailwindcss.com/docs/outline-width */ "outline-w": [{ - outline: [ot, ct] + outline: [tt, it] }], /** * Outline Color @@ -12790,7 +12753,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/ring-width */ "ring-w": [{ - ring: q() + ring: G() }], /** * Ring Width Inset @@ -12816,7 +12779,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/ring-offset-width */ "ring-offset-w": [{ - "ring-offset": [ot, ct] + "ring-offset": [tt, it] }], /** * Ring Offset Color @@ -12831,14 +12794,14 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/box-shadow */ shadow: [{ - shadow: ["", "inner", "none", pt, iv] + shadow: ["", "inner", "none", ut, uv] }], /** * Box Shadow Color * @see https://tailwindcss.com/docs/box-shadow-color */ "shadow-color": [{ - shadow: [rn] + shadow: [nn] }], /** * Opacity @@ -12852,14 +12815,14 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/mix-blend-mode */ "mix-blend": [{ - "mix-blend": [...fe(), "plus-lighter", "plus-darker"] + "mix-blend": [...pe(), "plus-lighter", "plus-darker"] }], /** * Background Blend Mode * @see https://tailwindcss.com/docs/background-blend-mode */ "bg-blend": [{ - "bg-blend": fe() + "bg-blend": pe() }], // Filters /** @@ -12896,7 +12859,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/drop-shadow */ "drop-shadow": [{ - "drop-shadow": ["", "none", pt, te] + "drop-shadow": ["", "none", ut, ee] }], /** * Grayscale @@ -13053,7 +13016,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/transition-property */ transition: [{ - transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", te] + transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", ee] }], /** * Transition Duration @@ -13067,7 +13030,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/transition-timing-function */ ease: [{ - ease: ["linear", "in", "out", "in-out", te] + ease: ["linear", "in", "out", "in-out", ee] }], /** * Transition Delay @@ -13081,7 +13044,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/animation */ animate: [{ - animate: ["none", "spin", "ping", "pulse", "bounce", te] + animate: ["none", "spin", "ping", "pulse", "bounce", ee] }], // Transforms /** @@ -13096,28 +13059,28 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/scale */ scale: [{ - scale: [E] + scale: [O] }], /** * Scale X * @see https://tailwindcss.com/docs/scale */ "scale-x": [{ - "scale-x": [E] + "scale-x": [O] }], /** * Scale Y * @see https://tailwindcss.com/docs/scale */ "scale-y": [{ - "scale-y": [E] + "scale-y": [O] }], /** * Rotate * @see https://tailwindcss.com/docs/rotate */ rotate: [{ - rotate: [an, te] + rotate: [tn, ee] }], /** * Translate X @@ -13152,7 +13115,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/transform-origin */ "transform-origin": [{ - origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", te] + origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", ee] }], // Interactivity /** @@ -13174,7 +13137,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/cursor */ cursor: [{ - cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", te] + cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", ee] }], /** * Caret Color @@ -13396,7 +13359,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/will-change */ "will-change": [{ - "will-change": ["auto", "scroll", "contents", "transform", te] + "will-change": ["auto", "scroll", "contents", "transform", ee] }], // SVG /** @@ -13411,7 +13374,7 @@ const ve = (e) => { * @see https://tailwindcss.com/docs/stroke-width */ "stroke-w": [{ - stroke: [ot, ct, Mo] + stroke: [tt, it, jo] }], /** * Stroke @@ -13486,11 +13449,11 @@ const ve = (e) => { "font-size": ["leading"] } }; -}, fv = /* @__PURE__ */ qm(pv); +}, mv = /* @__PURE__ */ Ym(fv); function z(...e) { - return fv(xl(e)); + return mv(Ol(e)); } -const mv = /* @__PURE__ */ x({ +const vv = /* @__PURE__ */ x({ __name: "Toast", props: { class: {}, @@ -13509,9 +13472,9 @@ const mv = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); + }), r = Q(a, o); return (l, i) => (h(), C(s(Gf), D(s(r), { - class: s(z)(s(Sv)({ variant: l.variant }), n.class), + class: s(z)(s(kv)({ variant: l.variant }), n.class), "onUpdate:open": l.onOpenChange }), { default: y(() => [ @@ -13520,7 +13483,7 @@ const mv = /* @__PURE__ */ x({ _: 3 }, 16, ["class", "onUpdate:open"])); } -}), vv = /* @__PURE__ */ x({ +}), gv = /* @__PURE__ */ x({ __name: "ToastViewport", props: { hotkey: {}, @@ -13534,14 +13497,14 @@ const mv = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Yf), D(n.value, { + return (o, a) => (h(), C(s(Xf), D(n.value, { class: s(z)( "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", t.class ) }), null, 16, ["class"])); } -}), W0 = /* @__PURE__ */ x({ +}), Zh = /* @__PURE__ */ x({ __name: "ToastAction", props: { altText: {}, @@ -13554,7 +13517,7 @@ const mv = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(qf), D(n.value, { + return (o, a) => (h(), C(s(Yf), D(n.value, { class: s(z)( "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring 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 @@ -13567,7 +13530,7 @@ const mv = /* @__PURE__ */ x({ }, 16, ["class"])); } }); -function gv(e, t) { +function hv(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13575,7 +13538,7 @@ function gv(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z", @@ -13583,7 +13546,7 @@ function gv(e, t) { }) ]); } -function hv(e, t) { +function yv(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13591,7 +13554,7 @@ function hv(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z", @@ -13599,7 +13562,7 @@ function hv(e, t) { }) ]); } -function yv(e, t) { +function bv(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13607,7 +13570,7 @@ function yv(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z", @@ -13615,7 +13578,7 @@ function yv(e, t) { }) ]); } -function kl(e, t) { +function Il(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13623,7 +13586,7 @@ function kl(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z", @@ -13631,7 +13594,7 @@ function kl(e, t) { }) ]); } -function Ol(e, t) { +function Ml(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13639,7 +13602,7 @@ function Ol(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z", @@ -13647,7 +13610,7 @@ function Ol(e, t) { }) ]); } -function bv(e, t) { +function wv(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13655,7 +13618,7 @@ function bv(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z", @@ -13663,7 +13626,7 @@ function bv(e, t) { }) ]); } -function wv(e, t) { +function xv(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13671,7 +13634,7 @@ function wv(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z", @@ -13679,7 +13642,7 @@ function wv(e, t) { }) ]); } -function po(e, t) { +function co(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13687,7 +13650,7 @@ function po(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z", @@ -13695,7 +13658,7 @@ function po(e, t) { }) ]); } -function xv(e, t) { +function _v(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13703,13 +13666,13 @@ function xv(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { d: "M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z", fill: "currentColor" }) ]); } -function _v(e, t) { +function Cv(e, t) { return h(), N("svg", { width: "15", height: "15", @@ -13717,7 +13680,7 @@ function _v(e, t) { fill: "none", xmlns: "http://www.w3.org/2000/svg" }, [ - re("path", { + ae("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z", @@ -13725,7 +13688,7 @@ function _v(e, t) { }) ]); } -const Cv = /* @__PURE__ */ x({ +const Bv = /* @__PURE__ */ x({ __name: "ToastClose", props: { asChild: { type: Boolean }, @@ -13737,19 +13700,19 @@ const Cv = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(gl), D(n.value, { + return (o, a) => (h(), C(s(Cl), D(n.value, { class: s(z)( "absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600", t.class ) }), { default: y(() => [ - R(s(po), { class: "h-4 w-4" }) + M(s(co), { class: "h-4 w-4" }) ]), _: 1 }, 16, ["class"])); } -}), Bv = /* @__PURE__ */ x({ +}), $v = /* @__PURE__ */ x({ __name: "ToastTitle", props: { asChild: { type: Boolean }, @@ -13761,7 +13724,7 @@ const Cv = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Xf), D(n.value, { + return (o, a) => (h(), C(s(Qf), D(n.value, { class: s(z)("text-sm font-semibold [&+div]:text-xs", t.class) }), { default: y(() => [ @@ -13770,7 +13733,7 @@ const Cv = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), Or = /* @__PURE__ */ x({ +}), Hr = /* @__PURE__ */ x({ __name: "ToastDescription", props: { asChild: { type: Boolean }, @@ -13791,7 +13754,7 @@ const Cv = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), $v = /* @__PURE__ */ x({ +}), Sv = /* @__PURE__ */ x({ __name: "ToastProvider", props: { label: {}, @@ -13801,20 +13764,20 @@ const Cv = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(Ff), U(W(t)), { + return (n, o) => (h(), C(s(Vf), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Er = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ar = xl, Sn = (e, t) => (n) => { +}), Ur = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Wr = Ol, Cn = (e, t) => (n) => { var o; - if ((t == null ? void 0 : t.variants) == null) return Ar(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className); + if ((t == null ? void 0 : t.variants) == null) return Wr(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className); const { variants: a, defaultVariants: r } = t, l = Object.keys(a).map((d) => { const c = n == null ? void 0 : n[d], p = r == null ? void 0 : r[d]; if (c === null) return null; - const m = Er(c) || Er(p); + const m = Ur(c) || Ur(p); return a[d][m]; }), i = n && Object.entries(n).reduce((d, c) => { let [p, m] = c; @@ -13836,8 +13799,8 @@ const Cv = /* @__PURE__ */ x({ m ] : d; }, []); - return Ar(e, l, u, n == null ? void 0 : n.class, n == null ? void 0 : n.className); -}, Sv = Sn( + return Wr(e, l, u, n == null ? void 0 : n.class, n == null ? void 0 : n.className); +}, kv = Cn( "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full", { variants: { @@ -13850,36 +13813,36 @@ const Cv = /* @__PURE__ */ x({ variant: "default" } } -), { toast: Mn } = bl(); -function kv() { +), { toast: In } = Sl(); +function Ov() { return { info: (e) => { - Mn({ - icon: $m, + In({ + icon: Sm, iconClasses: "text-blue-400", title: "FYI", description: e }); }, success: (e) => { - Mn({ - icon: Bm, + In({ + icon: $m, iconClasses: "text-green-400", title: "Success", description: e }); }, warning: (e) => { - Mn({ - icon: Br, + In({ + icon: zr, iconClasses: "text-orange-400", title: "Warning", description: e }); }, error: (e, t = "value") => { - Mn({ - icon: Br, + In({ + icon: zr, iconClasses: "text-red-400", title: "Oh snap! Some errors were encountered.", description: e, @@ -13888,7 +13851,7 @@ function kv() { } }; } -const G0 = /* @__PURE__ */ x({ +const Jh = /* @__PURE__ */ x({ __name: "Flasher", props: { info: {}, @@ -13903,7 +13866,7 @@ const G0 = /* @__PURE__ */ x({ success: o, warning: a, error: r - } = kv(); + } = Ov(); return X( () => t.info, (l) => { @@ -13929,9 +13892,9 @@ const G0 = /* @__PURE__ */ x({ () => { t.errors !== void 0 && Object.keys(t.errors).length > 0 && r(t.errors, t.objectFormat); } - ), (l, i) => (h(), C(s(Mm))); + ), (l, i) => (h(), C(s(Rm))); } -}), Ov = { class: "flex items-center justify-between space-y-2" }, Ev = { class: "flex items-center space-x-2" }, q0 = /* @__PURE__ */ x({ +}), Av = { class: "flex items-center justify-between space-y-2" }, Ev = { class: "flex items-center space-x-2" }, e0 = /* @__PURE__ */ x({ __name: "Heading", props: { as: { default: "h2" }, @@ -13939,21 +13902,21 @@ const G0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), N("div", Ov, [ - (h(), C(Ve(n.as), { - class: ne(s(z)("text-3xl font-bold tracking-tight", t.class)) + return (n, o) => (h(), N("div", Av, [ + (h(), C(Fe(n.as), { + class: te(s(z)("text-3xl font-bold tracking-tight", t.class)) }, { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 8, ["class"])), - re("div", Ev, [ + ae("div", Ev, [ _(n.$slots, "actions") ]) ])); } -}), Av = /* @__PURE__ */ x({ +}), Tv = /* @__PURE__ */ x({ __name: "Accordion", props: { collapsible: { type: Boolean }, @@ -13968,15 +13931,15 @@ const G0 = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(ud), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(vd), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), Y0 = /* @__PURE__ */ x({ +}), t0 = /* @__PURE__ */ x({ __name: "Accord", props: { content: {}, @@ -13992,26 +13955,26 @@ const G0 = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(Av, U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(Tv, U(W(s(a))), { default: y(() => [ - (h(!0), N(be, null, vt(r.content, (i, u) => (h(), C(s(Dv), { + (h(!0), N(ye, null, pt(r.content, (i, u) => (h(), C(s(Pv), { key: u, value: "item-" + u }, { default: y(() => [ - R(s(Pv), null, { + M(s(Iv), null, { default: y(() => [ _(r.$slots, u + ".title", { item: i }, () => [ - ke(Te(i.title), 1) + Se(Ee(i.title), 1) ]) ]), _: 2 }, 1024), - R(s(Tv), null, { + M(s(Dv), null, { default: y(() => [ _(r.$slots, u + ".content", { item: i }, () => [ - ke(Te(i.content), 1) + Se(Ee(i.content), 1) ]) ]), _: 2 @@ -14023,7 +13986,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Tv = /* @__PURE__ */ x({ +}), Dv = /* @__PURE__ */ x({ __name: "AccordionContent", props: { forceMount: { type: Boolean }, @@ -14036,10 +13999,10 @@ const G0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(pd), D(n.value, { class: "accordion-content overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), { + return (o, a) => (h(), C(s(yd), D(n.value, { class: "accordion-content overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), { default: y(() => [ - re("div", { - class: ne(s(z)("pb-4 pt-0", t.class)) + ae("div", { + class: te(s(z)("pb-4 pt-0", t.class)) }, [ _(o.$slots, "default") ], 2) @@ -14047,7 +14010,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Dv = /* @__PURE__ */ x({ +}), Pv = /* @__PURE__ */ x({ __name: "AccordionItem", props: { disabled: { type: Boolean }, @@ -14060,8 +14023,8 @@ const G0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(cd), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(hd), D(s(o), { class: s(z)("border-b", t.class) }), { default: y(() => [ @@ -14070,7 +14033,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), Pv = /* @__PURE__ */ x({ +}), Iv = /* @__PURE__ */ x({ __name: "AccordionTrigger", props: { asChild: { type: Boolean }, @@ -14082,9 +14045,9 @@ const G0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(fd), { class: "flex" }, { + return (o, a) => (h(), C(s(bd), { class: "flex" }, { default: y(() => [ - R(s(md), D(n.value, { + M(s(wd), D(n.value, { class: s(z)( "accordion-trigger flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", t.class @@ -14093,7 +14056,7 @@ const G0 = /* @__PURE__ */ x({ default: y(() => [ _(o.$slots, "default"), _(o.$slots, "icon", {}, () => [ - R(s(Ol), { class: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" }) + M(s(Ml), { class: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" }) ]) ]), _: 3 @@ -14102,7 +14065,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 })); } -}), X0 = /* @__PURE__ */ x({ +}), n0 = /* @__PURE__ */ x({ __name: "Tip", props: { tooltip: {}, @@ -14117,23 +14080,23 @@ const G0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(Rv), null, { + const a = Q(e, t); + return (r, l) => (h(), C(s(Fv), null, { default: y(() => [ - R(s(Iv), U(W(s(a))), { + M(s(Mv), U(W(s(a))), { default: y(() => [ - R(s(Fv), { - class: ne(r.indicator ? "underline decoration-dotted underline-offset-4" : "") + M(s(Vv), { + class: te(r.indicator ? "underline decoration-dotted underline-offset-4" : "") }, { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 8, ["class"]), - R(s(Mv), U(W(r.$attrs)), { + M(s(Rv), U(W(r.$attrs)), { default: y(() => [ _(r.$slots, "tooltip", {}, () => [ - ke(Te(r.tooltip), 1) + Se(Ee(r.tooltip), 1) ]) ]), _: 3 @@ -14145,7 +14108,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 })); } -}), Iv = /* @__PURE__ */ x({ +}), Mv = /* @__PURE__ */ x({ __name: "Tooltip", props: { defaultOpen: { type: Boolean }, @@ -14158,15 +14121,15 @@ const G0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(tm), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(nm), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), Mv = /* @__PURE__ */ x({ +}), Rv = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "TooltipContent", props: { @@ -14191,10 +14154,10 @@ const G0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(rm), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(sm), null, { default: y(() => [ - R(s(am), D({ ...s(r), ...l.$attrs }, { + M(s(rm), D({ ...s(r), ...l.$attrs }, { class: s(z)( "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", n.class @@ -14209,7 +14172,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 })); } -}), Rv = /* @__PURE__ */ x({ +}), Fv = /* @__PURE__ */ x({ __name: "TooltipProvider", props: { delayDuration: {}, @@ -14221,14 +14184,14 @@ const G0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(Jf), U(W(t)), { + return (n, o) => (h(), C(s(em), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Fv = /* @__PURE__ */ x({ +}), Vv = /* @__PURE__ */ x({ __name: "TooltipTrigger", props: { asChild: { type: Boolean }, @@ -14236,14 +14199,14 @@ const G0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(nm), U(W(t)), { + return (n, o) => (h(), C(s(om), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Z0 = /* @__PURE__ */ x({ +}), o0 = /* @__PURE__ */ x({ __name: "AlertDialog", props: { open: { type: Boolean }, @@ -14251,15 +14214,15 @@ const G0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(zd), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(Wd), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), Q0 = /* @__PURE__ */ x({ +}), a0 = /* @__PURE__ */ x({ __name: "AlertDialogTrigger", props: { asChild: { type: Boolean }, @@ -14267,14 +14230,14 @@ const G0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(Nd), U(W(t)), { + return (n, o) => (h(), C(s(qd), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), J0 = /* @__PURE__ */ x({ +}), r0 = /* @__PURE__ */ x({ __name: "AlertDialogContent", props: { forceMount: { type: Boolean }, @@ -14289,11 +14252,11 @@ const G0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(jd), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(Gd), null, { default: y(() => [ - R(s(Wd), { 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" }), - R(s(Ud), D(s(r), { + M(s(Zd), { 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" }), + M(s(Qd), D(s(r), { class: s(z)( "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-lg 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 @@ -14308,7 +14271,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 })); } -}), eh = /* @__PURE__ */ x({ +}), s0 = /* @__PURE__ */ x({ __name: "AlertDialogHeader", props: { class: {} @@ -14316,12 +14279,12 @@ const G0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("div", { - class: ne(s(z)("flex flex-col gap-y-2 text-center sm:text-left", t.class)) + class: te(s(z)("flex flex-col gap-y-2 text-center sm:text-left", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), th = /* @__PURE__ */ x({ +}), l0 = /* @__PURE__ */ x({ __name: "AlertDialogTitle", props: { asChild: { type: Boolean }, @@ -14333,7 +14296,7 @@ const G0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(qd), D(n.value, { + return (o, a) => (h(), C(s(ec), D(n.value, { class: s(z)("text-lg font-semibold", t.class) }), { default: y(() => [ @@ -14342,7 +14305,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), nh = /* @__PURE__ */ x({ +}), i0 = /* @__PURE__ */ x({ __name: "AlertDialogDescription", props: { asChild: { type: Boolean }, @@ -14354,7 +14317,7 @@ const G0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Yd), D(n.value, { + return (o, a) => (h(), C(s(tc), D(n.value, { class: s(z)("text-sm text-muted-foreground", t.class) }), { default: y(() => [ @@ -14363,7 +14326,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), oh = /* @__PURE__ */ x({ +}), u0 = /* @__PURE__ */ x({ __name: "AlertDialogFooter", props: { class: {} @@ -14371,12 +14334,12 @@ const G0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("div", { - class: ne(s(z)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", t.class)) + class: te(s(z)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), El = /* @__PURE__ */ x({ +}), Rl = /* @__PURE__ */ x({ __name: "Button", props: { variant: {}, @@ -14390,7 +14353,7 @@ const G0 = /* @__PURE__ */ x({ return (n, o) => (h(), C(s(K), { as: n.as, "as-child": n.asChild, - class: ne(s(z)(s(ja)({ variant: n.variant, size: n.size }), t.class)) + class: te(s(z)(s(Wa)({ variant: n.variant, size: n.size }), t.class)) }, { default: y(() => [ _(n.$slots, "default") @@ -14398,7 +14361,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 8, ["as", "as-child", "class"])); } -}), ja = Sn( +}), Wa = Cn( "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", { variants: { @@ -14423,7 +14386,7 @@ const G0 = /* @__PURE__ */ x({ size: "default" } } -), ah = /* @__PURE__ */ x({ +), d0 = /* @__PURE__ */ x({ __name: "AlertDialogAction", props: { asChild: { type: Boolean }, @@ -14435,8 +14398,8 @@ const G0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Xd), D(n.value, { - class: s(z)(s(ja)(), t.class) + return (o, a) => (h(), C(s(nc), D(n.value, { + class: s(z)(s(Wa)(), t.class) }), { default: y(() => [ _(o.$slots, "default") @@ -14444,7 +14407,7 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), rh = /* @__PURE__ */ x({ +}), c0 = /* @__PURE__ */ x({ __name: "AlertDialogCancel", props: { asChild: { type: Boolean }, @@ -14456,8 +14419,8 @@ const G0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Gd), D(n.value, { - class: s(z)(s(ja)({ variant: "outline" }), "mt-2 sm:mt-0", t.class) + return (o, a) => (h(), C(s(Jd), D(n.value, { + class: s(z)(s(Wa)({ variant: "outline" }), "mt-2 sm:mt-0", t.class) }), { default: y(() => [ _(o.$slots, "default") @@ -14465,2542 +14428,2646 @@ const G0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), sh = /* @__PURE__ */ x({ - __name: "Avatar", +}); +function qa(e) { + return e ? e.flatMap((t) => t.type === ye ? qa(t.children) : [t]) : []; +} +const ea = x({ + name: "PrimitiveSlot", + inheritAttrs: !1, + setup(e, { attrs: t, slots: n }) { + return () => { + var u, d; + if (!n.default) + return null; + const o = qa(n.default()), a = o.findIndex((c) => c.type !== ia); + if (a === -1) + return o; + const r = o[a]; + (u = r.props) == null || delete u.ref; + const l = r.props ? D(t, r.props) : t; + t.class && ((d = r.props) != null && d.class) && delete r.props.class; + const i = vs(r, l); + for (const c in l) + c.startsWith("on") && (i.props || (i.props = {}), i.props[c] = l[c]); + return o.length === 1 ? i : (o[a] = i, o); + }; + } +}), Lv = ["area", "img", "input"], Tt = x({ + name: "Primitive", + inheritAttrs: !1, props: { - class: {}, - size: { default: "sm" }, - shape: { default: "circle" } - }, - setup(e) { - const t = e; - return (n, o) => (h(), C(s(Qd), { - class: ne(s(z)(s(Vv)({ size: n.size, shape: n.shape }), t.class)) - }, { - default: y(() => [ - _(n.$slots, "default") - ]), - _: 3 - }, 8, ["class"])); - } -}), lh = /* @__PURE__ */ x({ - __name: "AvatarImage", - props: { - src: {}, - referrerPolicy: {}, - asChild: { type: Boolean }, - as: {} + asChild: { + type: Boolean, + default: !1 + }, + as: { + type: [String, Object], + default: "div" + } }, - setup(e) { - const t = e; - return (n, o) => (h(), C(s(ec), D(t, { class: "h-full w-full object-cover" }), null, 16)); + setup(e, { attrs: t, slots: n }) { + const o = e.asChild ? "template" : e.as; + return typeof o == "string" && Lv.includes(o) ? () => ke(o, t) : o !== "template" ? () => ke(e.as, t, { default: n.default }) : () => ke(ea, t, { default: n.default }); } -}), ih = /* @__PURE__ */ x({ - __name: "AvatarFallback", +}), zv = /* @__PURE__ */ x({ + __name: "VisuallyHidden", props: { - delayMs: {}, + feature: { default: "focusable" }, asChild: { type: Boolean }, - as: {} + as: { default: "span" } }, setup(e) { - const t = e; - return (n, o) => (h(), C(s(tc), U(W(t)), { + return (t, n) => (h(), C(s(Tt), { + as: t.as, + "as-child": t.asChild, + "aria-hidden": t.feature === "focusable" ? "true" : void 0, + "data-hidden": t.feature === "fully-hidden" ? "" : void 0, + tabindex: t.feature === "fully-hidden" ? "-1" : void 0, + style: { + // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss + position: "absolute", + border: 0, + width: "1px", + height: "1px", + padding: 0, + margin: "-1px", + overflow: "hidden", + clip: "rect(0, 0, 0, 0)", + clipPath: "inset(50%)", + whiteSpace: "nowrap", + wordWrap: "normal" + } + }, { default: y(() => [ - _(n.$slots, "default") + _(t.$slots, "default") ]), _: 3 - }, 16)); - } -}), Vv = Sn( - "inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-secondary font-normal text-foreground", - { - variants: { - size: { - sm: "h-10 w-10 text-xs", - base: "h-16 w-16 text-2xl", - lg: "h-32 w-32 text-5xl" - }, - shape: { - circle: "rounded-full", - square: "rounded-md" - } - } - } -), uh = /* @__PURE__ */ x({ - __name: "Badge", - props: { - variant: {}, - class: {} - }, - setup(e) { - const t = e; - return (n, o) => (h(), N("div", { - class: ne(s(z)(s(Lv)({ variant: n.variant }), t.class)) - }, [ - _(n.$slots, "default") - ], 2)); - } -}), Lv = Sn( - "inline-flex items-center rounded-md 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 hover:bg-primary/80", - secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", - destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80", - outline: "text-foreground" - } - }, - defaultVariants: { - variant: "default" - } - } -), dh = /* @__PURE__ */ x({ - __name: "Card", - props: { - class: {} - }, - setup(e) { - const t = e; - return (n, o) => (h(), N("div", { - class: ne(s(z)("rounded-xl border bg-card text-card-foreground shadow", t.class)) - }, [ - _(n.$slots, "default") - ], 2)); - } -}), ch = /* @__PURE__ */ x({ - __name: "CardContent", - props: { - class: {} - }, - setup(e) { - const t = e; - return (n, o) => (h(), N("div", { - class: ne(s(z)("p-6 pt-0", t.class)) - }, [ - _(n.$slots, "default") - ], 2)); - } -}), ph = /* @__PURE__ */ x({ - __name: "CardDescription", - props: { - class: {} - }, - setup(e) { - const t = e; - return (n, o) => (h(), N("p", { - class: ne(s(z)("text-sm text-muted-foreground", t.class)) - }, [ - _(n.$slots, "default") - ], 2)); - } -}), fh = /* @__PURE__ */ x({ - __name: "CardFooter", - props: { - class: {} - }, - setup(e) { - const t = e; - return (n, o) => (h(), N("div", { - class: ne(s(z)("flex items-center p-6 pt-0", t.class)) - }, [ - _(n.$slots, "default") - ], 2)); - } -}), mh = /* @__PURE__ */ x({ - __name: "CardHeader", - props: { - class: {} - }, - setup(e) { - const t = e; - return (n, o) => (h(), N("div", { - class: ne(s(z)("flex flex-col gap-y-1.5 p-6", t.class)) - }, [ - _(n.$slots, "default") - ], 2)); - } -}), vh = /* @__PURE__ */ x({ - __name: "CardTitle", - props: { - class: {} - }, - setup(e) { - const t = e; - return (n, o) => (h(), N("h3", { - class: ne(s(z)("font-semibold leading-none tracking-tight", t.class)) - }, [ - _(n.$slots, "default") - ], 2)); + }, 8, ["as", "as-child", "aria-hidden", "data-hidden", "tabindex"])); } -}); -var Tr; -const zv = typeof window < "u", Nv = (e) => typeof e < "u", jv = (e) => typeof e == "function"; -zv && ((Tr = window == null ? void 0 : window.navigator) != null && Tr.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent); -function Kv(e) { - return e; +}), Fl = typeof window < "u" && typeof document < "u"; +typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope; +const Nv = (e) => typeof e < "u", jv = bs, Kv = Fl ? window : void 0; +function po(e) { + var t; + const n = bs(e); + return (t = n == null ? void 0 : n.$el) != null ? t : n; } function Hv(e) { - const t = Symbol("InjectionState"); - return [(...a) => { - const r = e(...a); - return yn(t, r), r; - }, () => hn(t)]; -} -function Uv(e) { return JSON.parse(JSON.stringify(e)); } -const Dr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Pr = "__vueuse_ssr_handlers__"; -Dr[Pr] = Dr[Pr] || {}; -var Ir; -(function(e) { - e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE"; -})(Ir || (Ir = {})); -var Wv = Object.defineProperty, Mr = Object.getOwnPropertySymbols, Gv = Object.prototype.hasOwnProperty, qv = Object.prototype.propertyIsEnumerable, Rr = (e, t, n) => t in e ? Wv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Yv = (e, t) => { - for (var n in t || (t = {})) - Gv.call(t, n) && Rr(e, n, t[n]); - if (Mr) - for (var n of Mr(t)) - qv.call(t, n) && Rr(e, n, t[n]); - return e; -}; -const Xv = { - easeInSine: [0.12, 0, 0.39, 0], - easeOutSine: [0.61, 1, 0.88, 1], - easeInOutSine: [0.37, 0, 0.63, 1], - easeInQuad: [0.11, 0, 0.5, 0], - easeOutQuad: [0.5, 1, 0.89, 1], - easeInOutQuad: [0.45, 0, 0.55, 1], - easeInCubic: [0.32, 0, 0.67, 0], - easeOutCubic: [0.33, 1, 0.68, 1], - easeInOutCubic: [0.65, 0, 0.35, 1], - easeInQuart: [0.5, 0, 0.75, 0], - easeOutQuart: [0.25, 1, 0.5, 1], - easeInOutQuart: [0.76, 0, 0.24, 1], - easeInQuint: [0.64, 0, 0.78, 0], - easeOutQuint: [0.22, 1, 0.36, 1], - easeInOutQuint: [0.83, 0, 0.17, 1], - easeInExpo: [0.7, 0, 0.84, 0], - easeOutExpo: [0.16, 1, 0.3, 1], - easeInOutExpo: [0.87, 0, 0.13, 1], - easeInCirc: [0.55, 0, 1, 0.45], - easeOutCirc: [0, 0.55, 0.45, 1], - easeInOutCirc: [0.85, 0, 0.15, 1], - easeInBack: [0.36, 0, 0.66, -0.56], - easeOutBack: [0.34, 1.56, 0.64, 1], - easeInOutBack: [0.68, -0.6, 0.32, 1.6] -}; -Yv({ - linear: Kv -}, Xv); -function Al(e, t, n, o = {}) { +function Uv(e, t, n, o = {}) { var a, r, l; const { clone: i = !1, passive: u = !1, eventName: d, deep: c = !1, - defaultValue: p - } = o, m = Fe(), f = n || (m == null ? void 0 : m.emit) || ((a = m == null ? void 0 : m.$emit) == null ? void 0 : a.bind(m)) || ((l = (r = m == null ? void 0 : m.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(m == null ? void 0 : m.proxy)); - let v = d; - v = d || v || `update:${t.toString()}`; - const g = (w) => i ? jv(i) ? i(w) : Uv(w) : w, b = () => Nv(e[t]) ? g(e[t]) : p; + defaultValue: p, + shouldEmit: m + } = o, f = Re(), v = n || (f == null ? void 0 : f.emit) || ((a = f == null ? void 0 : f.$emit) == null ? void 0 : a.bind(f)) || ((l = (r = f == null ? void 0 : f.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(f == null ? void 0 : f.proxy)); + let g = d; + g = g || `update:${t.toString()}`; + const b = ($) => i ? typeof i == "function" ? i($) : Hv($) : $, w = () => Nv(e[t]) ? b(e[t]) : p, B = ($) => { + m ? m($) && v(g, $) : v(g, $); + }; if (u) { - const w = b(), B = T(w); - return X(() => e[t], ($) => B.value = g($)), X(B, ($) => { - ($ !== e[t] || c) && f(v, $); - }, { deep: c }), B; + const $ = w(), O = T($); + let k = !1; + return X( + () => e[t], + (P) => { + k || (k = !0, O.value = b(P), oe(() => k = !1)); + } + ), X( + O, + (P) => { + !k && (P !== e[t] || c) && B(P); + }, + { deep: c } + ), O; } else return S({ get() { - return b(); + return w(); }, - set(w) { - f(v, w); + set($) { + B($); } }); } -function Zv(e) { - return Object.prototype.toString.call(e) === "[object Object]"; -} -function Fr(e) { - return Zv(e) || Array.isArray(e); -} -function Qv() { - return !!(typeof window < "u" && window.document && window.document.createElement); +function Bn(e, t) { + const n = typeof e == "string" ? `${e}Context` : t, o = Symbol(n); + return [(l) => { + const i = mn(o, l); + if (i || i === null) + return i; + throw new Error( + `Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e) ? `one of the following components: ${e.join( + ", " + )}` : `\`${e}\``}` + ); + }, (l) => (vn(o, l), l)]; } -function Ka(e, t) { - const n = Object.keys(e), o = Object.keys(t); - if (n.length !== o.length) return !1; - const a = JSON.stringify(Object.keys(e.breakpoints || {})), r = JSON.stringify(Object.keys(t.breakpoints || {})); - return a !== r ? !1 : n.every((l) => { - const i = e[l], u = t[l]; - return typeof i == "function" ? `${i}` == `${u}` : !Fr(i) || !Fr(u) ? i === u : Ka(i, u); - }); +function qr(e) { + return typeof e == "string" ? `'${e}'` : new Wv().serialize(e); } -function Vr(e) { - return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options); -} -function Jv(e, t) { - if (e.length !== t.length) return !1; - const n = Vr(e), o = Vr(t); - return n.every((a, r) => { - const l = o[r]; - return Ka(a, l); - }); -} -function Ha(e) { - return typeof e == "number"; -} -function qo(e) { - return typeof e == "string"; -} -function fo(e) { - return typeof e == "boolean"; -} -function Lr(e) { - return Object.prototype.toString.call(e) === "[object Object]"; -} -function he(e) { - return Math.abs(e); -} -function Ua(e) { - return Math.sign(e); -} -function un(e, t) { - return he(e - t); -} -function eg(e, t) { - if (e === 0 || t === 0 || he(e) <= he(t)) return 0; - const n = un(he(e), he(t)); - return he(n / e); -} -function tg(e) { - return Math.round(e * 100) / 100; -} -function mn(e) { - return vn(e).map(Number); -} -function Ue(e) { - return e[kn(e)]; -} -function kn(e) { - return Math.max(0, e.length - 1); -} -function Wa(e, t) { - return t === kn(e); +const Wv = /* @__PURE__ */ function() { + var t; + class e { + constructor() { + ur(this, t, /* @__PURE__ */ new Map()); + } + compare(o, a) { + const r = typeof o, l = typeof a; + return r === "string" && l === "string" ? o.localeCompare(a) : r === "number" && l === "number" ? o - a : String.prototype.localeCompare.call(this.serialize(o, !0), this.serialize(a, !0)); + } + serialize(o, a) { + if (o === null) return "null"; + switch (typeof o) { + case "string": + return a ? o : `'${o}'`; + case "bigint": + return `${o}n`; + case "object": + return this.$object(o); + case "function": + return this.$function(o); + } + return String(o); + } + serializeObject(o) { + const a = Object.prototype.toString.call(o); + if (a !== "[object Object]") return this.serializeBuiltInType(a.length < 10 ? `unknown:${a}` : a.slice(8, -1), o); + const r = o.constructor, l = r === Object || r === void 0 ? "" : r.name; + if (l !== "" && globalThis[l] === r) return this.serializeBuiltInType(l, o); + if (typeof o.toJSON == "function") { + const i = o.toJSON(); + return l + (i !== null && typeof i == "object" ? this.$object(i) : `(${this.serialize(i)})`); + } + return this.serializeObjectEntries(l, Object.entries(o)); + } + serializeBuiltInType(o, a) { + const r = this["$" + o]; + if (r) return r.call(this, a); + if (typeof (a == null ? void 0 : a.entries) == "function") return this.serializeObjectEntries(o, a.entries()); + throw new Error(`Cannot serialize ${o}`); + } + serializeObjectEntries(o, a) { + const r = Array.from(a).sort((i, u) => this.compare(i[0], u[0])); + let l = `${o}{`; + for (let i = 0; i < r.length; i++) { + const [u, d] = r[i]; + l += `${this.serialize(u, !0)}:${this.serialize(d)}`, i < r.length - 1 && (l += ","); + } + return l + "}"; + } + $object(o) { + let a = en(this, t).get(o); + return a === void 0 && (en(this, t).set(o, `#${en(this, t).size}`), a = this.serializeObject(o), en(this, t).set(o, a)), a; + } + $function(o) { + const a = Function.prototype.toString.call(o); + return a.slice(-15) === "[native code] }" ? `${o.name || ""}()[native]` : `${o.name}(${o.length})${a.replace(/\s*\n\s*/g, "")}`; + } + $Array(o) { + let a = "["; + for (let r = 0; r < o.length; r++) a += this.serialize(o[r]), r < o.length - 1 && (a += ","); + return a + "]"; + } + $Date(o) { + try { + return `Date(${o.toISOString()})`; + } catch { + return "Date(null)"; + } + } + $ArrayBuffer(o) { + return `ArrayBuffer[${new Uint8Array(o).join(",")}]`; + } + $Set(o) { + return `Set${this.$Array(Array.from(o).sort((a, r) => this.compare(a, r)))}`; + } + $Map(o) { + return this.serializeObjectEntries("Map", o.entries()); + } + } + t = new WeakMap(); + for (const n of ["Error", "RegExp", "URL"]) e.prototype["$" + n] = function(o) { + return `${n}(${o})`; + }; + for (const n of ["Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]) e.prototype["$" + n] = function(o) { + return `${n}[${o.join(",")}]`; + }; + for (const n of ["BigInt64Array", "BigUint64Array"]) e.prototype["$" + n] = function(o) { + return `${n}[${o.join("n,")}${o.length > 0 ? "n" : ""}]`; + }; + return e; +}(); +function ta(e, t) { + return e === t || qr(e) === qr(t); } -function zr(e, t = 0) { - return Array.from(Array(e), (n, o) => t + o); +function na(e) { + return e == null; } -function vn(e) { - return Object.keys(e); +function Gr(e, t) { + return na(e) ? !1 : Array.isArray(e) ? e.some((n) => ta(n, t)) : ta(e, t); } -function Tl(e, t) { - return [e, t].reduce((n, o) => (vn(o).forEach((a) => { - const r = n[a], l = o[a], i = Lr(r) && Lr(l); - n[a] = i ? Tl(r, l) : l; - }), n), {}); +const [qv, p0] = Bn("ConfigProvider"); +function $n() { + const e = Re(), t = T(), n = S(() => { + var l, i; + return ["#text", "#comment"].includes((l = t.value) == null ? void 0 : l.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : po(t); + }), o = Object.assign({}, e.exposed), a = {}; + for (const l in e.props) + Object.defineProperty(a, l, { + enumerable: !0, + configurable: !0, + get: () => e.props[l] + }); + if (Object.keys(o).length > 0) + for (const l in o) + Object.defineProperty(a, l, { + enumerable: !0, + configurable: !0, + get: () => o[l] + }); + Object.defineProperty(a, "$el", { + enumerable: !0, + configurable: !0, + get: () => e.vnode.el + }), e.exposed = a; + function r(l) { + t.value = l, l && (Object.defineProperty(a, "$el", { + enumerable: !0, + configurable: !0, + get: () => l instanceof Element ? l : l.$el + }), e.exposed = a); + } + return { forwardRef: r, currentRef: t, currentElement: n }; } -function Yo(e, t) { - return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent; +let Gv = 0; +function Yv(e, t = "reka") { + const n = qv({ useId: void 0 }); + return Vn.useId ? `${t}-${Vn.useId()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++Gv}`; } -function ng(e, t) { - const n = { - start: o, - center: a, - end: r - }; - function o() { - return 0; - } - function a(u) { - return r(u) / 2; - } - function r(u) { - return t - u; - } - function l(u, d) { - return qo(e) ? n[e](u) : e(t, u, d); +function Xv(e, t) { + const n = T(e); + function o(r) { + return t[n.value][r] ?? n.value; } return { - measure: l + state: n, + dispatch: (r) => { + n.value = o(r); + } }; } -function gn() { - let e = []; - function t(a, r, l, i = { - passive: !0 - }) { - let u; - if ("addEventListener" in a) - a.addEventListener(r, l, i), u = () => a.removeEventListener(r, l, i); - else { - const d = a; - d.addListener(l), u = () => d.removeListener(l); +function Qv(e, t) { + var b; + const n = T({}), o = T("none"), a = T(e), r = e.value ? "mounted" : "unmounted"; + let l; + const i = ((b = t.value) == null ? void 0 : b.ownerDocument.defaultView) ?? Kv, { state: u, dispatch: d } = Xv(r, { + mounted: { + UNMOUNT: "unmounted", + ANIMATION_OUT: "unmountSuspended" + }, + unmountSuspended: { + MOUNT: "mounted", + ANIMATION_END: "unmounted" + }, + unmounted: { + MOUNT: "mounted" + } + }), c = (w) => { + var B; + if (Fl) { + const $ = new CustomEvent(w, { bubbles: !1, cancelable: !1 }); + (B = t.value) == null || B.dispatchEvent($); } - return e.push(u), o; - } - function n() { - e = e.filter((a) => a()); - } - const o = { - add: t, - clear: n }; - return o; + X( + e, + async (w, B) => { + var O; + const $ = B !== w; + if (await oe(), $) { + const k = o.value, P = Mn(t.value); + w ? (d("MOUNT"), c("enter"), P === "none" && c("after-enter")) : P === "none" || P === "undefined" || ((O = n.value) == null ? void 0 : O.display) === "none" ? (d("UNMOUNT"), c("leave"), c("after-leave")) : B && k !== P ? (d("ANIMATION_OUT"), c("leave")) : (d("UNMOUNT"), c("after-leave")); + } + }, + { immediate: !0 } + ); + const p = (w) => { + const B = Mn(t.value), $ = B.includes( + w.animationName + ), O = u.value === "mounted" ? "enter" : "leave"; + if (w.target === t.value && $ && (c(`after-${O}`), d("ANIMATION_END"), !a.value)) { + const k = t.value.style.animationFillMode; + t.value.style.animationFillMode = "forwards", l = i == null ? void 0 : i.setTimeout(() => { + var P; + ((P = t.value) == null ? void 0 : P.style.animationFillMode) === "forwards" && (t.value.style.animationFillMode = k); + }); + } + w.target === t.value && B === "none" && d("ANIMATION_END"); + }, m = (w) => { + w.target === t.value && (o.value = Mn(t.value)); + }, f = X( + t, + (w, B) => { + w ? (n.value = getComputedStyle(w), w.addEventListener("animationstart", m), w.addEventListener("animationcancel", p), w.addEventListener("animationend", p)) : (d("ANIMATION_END"), l !== void 0 && (i == null || i.clearTimeout(l)), B == null || B.removeEventListener("animationstart", m), B == null || B.removeEventListener("animationcancel", p), B == null || B.removeEventListener("animationend", p)); + }, + { immediate: !0 } + ), v = X(u, () => { + const w = Mn(t.value); + o.value = u.value === "mounted" ? w : "none"; + }); + return Le(() => { + f(), v(); + }), { + isPresent: S( + () => ["mounted", "unmountSuspended"].includes(u.value) + ) + }; } -function og(e, t, n, o) { - const a = gn(), r = 1e3 / 60; - let l = null, i = 0, u = 0; - function d() { - a.add(e, "visibilitychange", () => { - e.hidden && v(); - }); - } - function c() { - f(), a.clear(); - } - function p(b) { - if (!u) return; - l || (l = b, n(), n()); - const w = b - l; - for (l = b, i += w; i >= r; ) - n(), i -= r; - const B = i / r; - o(B), u && (u = t.requestAnimationFrame(p)); - } - function m() { - u || (u = t.requestAnimationFrame(p)); - } - function f() { - t.cancelAnimationFrame(u), l = null, i = 0, u = 0; - } - function v() { - l = null, i = 0; - } - return { - init: d, - destroy: c, - start: m, - stop: f, - update: n, - render: o - }; +function Mn(e) { + return e && getComputedStyle(e).animationName || "none"; } -function ag(e, t) { - const n = t === "rtl", o = e === "y", a = o ? "y" : "x", r = o ? "x" : "y", l = !o && n ? -1 : 1, i = c(), u = p(); - function d(v) { - const { - height: g, - width: b - } = v; - return o ? g : b; - } - function c() { - return o ? "top" : n ? "right" : "left"; +const Zv = x({ + name: "Presence", + props: { + present: { + type: Boolean, + required: !0 + }, + forceMount: { + type: Boolean + } + }, + slots: {}, + setup(e, { slots: t, expose: n }) { + var d; + const { present: o, forceMount: a } = ce(e), r = T(), { isPresent: l } = Qv(o, r); + n({ present: l }); + let i = t.default({ present: l.value }); + i = qa(i || []); + const u = Re(); + if (i && (i == null ? void 0 : i.length) > 1) { + const c = (d = u == null ? void 0 : u.parent) != null && d.type.name ? `<${u.parent.type.name} />` : "component"; + throw new Error( + [ + `Detected an invalid children for \`${c}\` for \`Presence\` component.`, + "", + "Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.", + "You can apply a few solutions:", + [ + "Provide a single child element so that `presence` directive attach correctly.", + "Ensure the first child is an actual element instead of a raw text node or comment node." + ].map((p) => ` - ${p}`).join(` +`) + ].join(` +`) + ); + } + return () => a.value || o.value || l.value ? ke(t.default({ present: l.value })[0], { + ref: (c) => { + const p = po(c); + return typeof (p == null ? void 0 : p.hasAttribute) > "u" || (p != null && p.hasAttribute("data-reka-popper-content-wrapper") ? r.value = p.firstElementChild : r.value = p), p; + } + }) : null; } - function p() { - return o ? "bottom" : n ? "left" : "right"; +}); +function Jv(e) { + const t = Re(), n = t == null ? void 0 : t.type.emits, o = {}; + return n != null && n.length || console.warn( + `No emitted event found. Please check component: ${t == null ? void 0 : t.type.__name}` + ), n == null || n.forEach((a) => { + o[fs(qn(a))] = (...r) => e(a, ...r); + }), o; +} +function Yr() { + let e = document.activeElement; + if (e == null) + return null; + for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null; ) + e = e.shadowRoot.activeElement; + return e; +} +function eg(e) { + const t = Re(), n = Object.keys((t == null ? void 0 : t.type.props) ?? {}).reduce((a, r) => { + const l = (t == null ? void 0 : t.type.props[r]).default; + return l !== void 0 && (a[r] = l), a; + }, {}), o = ds(e); + return S(() => { + const a = {}, r = (t == null ? void 0 : t.vnode.props) ?? {}; + return Object.keys(r).forEach((l) => { + a[qn(l)] = r[l]; + }), Object.keys({ ...n, ...a }).reduce((l, i) => (o.value[i] !== void 0 && (l[i] = o.value[i]), l), {}); + }); +} +function tg(e, t) { + const n = eg(e), o = t ? Jv(t) : {}; + return S(() => ({ + ...n.value, + ...o + })); +} +const [Vl, ng] = Bn("AvatarRoot"), og = /* @__PURE__ */ x({ + __name: "AvatarRoot", + props: { + asChild: { type: Boolean }, + as: { default: "span" } + }, + setup(e) { + return $n(), ng({ + imageLoadingStatus: T("loading") + }), (t, n) => (h(), C(s(Tt), { + "as-child": t.asChild, + as: t.as + }, { + default: y(() => [ + _(t.$slots, "default") + ]), + _: 3 + }, 8, ["as-child", "as"])); } - function m(v) { - return v * l; +}), ag = /* @__PURE__ */ x({ + __name: "AvatarFallback", + props: { + delayMs: { default: 0 }, + asChild: { type: Boolean }, + as: { default: "span" } + }, + setup(e) { + const t = e, n = Vl(); + $n(); + const o = T(!1); + let a; + return X(n.imageLoadingStatus, (r) => { + r === "loading" && (o.value = !1, t.delayMs ? a = setTimeout(() => { + o.value = !0, clearTimeout(a); + }, t.delayMs) : o.value = !0); + }, { immediate: !0 }), (r, l) => o.value && s(n).imageLoadingStatus.value !== "loaded" ? (h(), C(s(Tt), { + key: 0, + "as-child": r.asChild, + as: r.as + }, { + default: y(() => [ + _(r.$slots, "default") + ]), + _: 3 + }, 8, ["as-child", "as"])) : de("", !0); } - return { - scroll: a, - cross: r, - startEdge: i, - endEdge: u, - measureSize: d, - direction: m +}); +function rg(e, t) { + const n = T("idle"), o = T(!1), a = (r) => () => { + o.value && (n.value = r); }; + return re(() => { + o.value = !0, X([() => e.value, () => t == null ? void 0 : t.value], ([r, l]) => { + if (!r) + n.value = "error"; + else { + const i = new window.Image(); + n.value = "loading", i.onload = a("loaded"), i.onerror = a("error"), i.src = r, l && (i.referrerPolicy = l); + } + }, { immediate: !0 }); + }), Le(() => { + o.value = !1; + }), n; } -function kt(e = 0, t = 0) { - const n = he(e - t); - function o(d) { - return d < e; - } - function a(d) { - return d > t; - } - function r(d) { - return o(d) || a(d); - } - function l(d) { - return r(d) ? o(d) ? e : t : d; - } - function i(d) { - return n ? d - n * Math.ceil((d - t) / n) : d; +const sg = /* @__PURE__ */ x({ + __name: "AvatarImage", + props: { + src: {}, + referrerPolicy: {}, + asChild: { type: Boolean }, + as: { default: "img" } + }, + emits: ["loadingStatusChange"], + setup(e, { emit: t }) { + const n = e, o = t, { src: a, referrerPolicy: r } = ce(n); + $n(); + const l = Vl(), i = rg(a, r); + return X( + i, + (u) => { + o("loadingStatusChange", u), u !== "idle" && (l.imageLoadingStatus.value = u); + }, + { immediate: !0 } + ), (u, d) => jt((h(), C(s(Tt), { + role: "img", + "as-child": u.asChild, + as: u.as, + src: s(a), + "referrer-policy": s(r) + }, { + default: y(() => [ + _(u.$slots, "default") + ]), + _: 3 + }, 8, ["as-child", "as", "src", "referrer-policy"])), [ + [sa, s(i) === "loaded"] + ]); } +}); +function oa() { + const e = T(), t = S(() => { + var n, o; + return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : po(e); + }); return { - length: n, - max: t, - min: e, - constrain: l, - reachedAny: r, - reachedMax: a, - reachedMin: o, - removeOffset: i + primitiveElement: e, + currentElement: t }; } -function Dl(e, t, n) { - const { - constrain: o - } = kt(0, e), a = e + 1; - let r = l(t); - function l(m) { - return n ? he((a + m) % a) : o(m); - } - function i() { - return r; - } - function u(m) { - return r = l(m), p; - } - function d(m) { - return c().set(i() + m); - } - function c() { - return Dl(e, i(), n); - } - const p = { - get: i, - set: u, - add: d, - clone: c - }; - return p; +function lg(e) { + return S(() => { + var t; + return jv(e) ? !!((t = po(e)) != null && t.closest("form")) : !0; + }); } -function rg(e, t, n, o, a, r, l, i, u, d, c, p, m, f, v, g, b, w, B) { - const { - cross: $, - direction: E - } = e, k = ["INPUT", "SELECT", "TEXTAREA"], P = { - passive: !1 - }, O = gn(), I = gn(), V = kt(50, 225).constrain(f.measure(20)), A = { - mouse: 300, - touch: 400 - }, L = { - mouse: 500, - touch: 600 - }, F = v ? 43 : 25; - let q = !1, G = 0, Q = 0, le = !1, fe = !1, ue = !1, j = !1; - function Y(H) { - if (!B) return; - function ie(Ae) { - (fo(B) || B(H, Ae)) && wt(Ae); - } - const _e = t; - O.add(_e, "dragstart", (Ae) => Ae.preventDefault(), P).add(_e, "touchmove", () => { - }, P).add(_e, "touchend", () => { - }).add(_e, "touchstart", ie).add(_e, "mousedown", ie).add(_e, "touchcancel", me).add(_e, "contextmenu", me).add(_e, "click", Ee, !0); - } - function J() { - O.clear(), I.clear(); - } - function De() { - const H = j ? n : t; - I.add(H, "touchmove", ye, P).add(H, "touchend", me).add(H, "mousemove", ye, P).add(H, "mouseup", me); - } - function Ie(H) { - const ie = H.nodeName || ""; - return k.includes(ie); +const Xr = "data-reka-collection-item"; +function ig(e = {}) { + const { key: t = "", isProvider: n = !1 } = e, o = `${t}CollectionProvider`; + let a; + if (n) { + const c = T(/* @__PURE__ */ new Map()); + a = { + collectionRef: T(), + itemMap: c + }, vn(o, a); + } else + a = mn(o); + const r = (c = !1) => { + const p = a.collectionRef.value; + if (!p) + return []; + const m = Array.from(p.querySelectorAll(`[${Xr}]`)), v = Array.from(a.itemMap.value.values()).sort( + (g, b) => m.indexOf(g.ref) - m.indexOf(b.ref) + ); + return c ? v : v.filter((g) => g.ref.dataset.disabled !== ""); + }, l = x({ + name: "CollectionSlot", + setup(c, { slots: p }) { + const { primitiveElement: m, currentElement: f } = oa(); + return X(f, () => { + a.collectionRef.value = f.value; + }), () => ke(ea, { ref: m }, p); + } + }), i = x({ + name: "CollectionItem", + inheritAttrs: !1, + props: { + value: { + // It accepts any value + validator: () => !0 + } + }, + setup(c, { slots: p, attrs: m }) { + const { primitiveElement: f, currentElement: v } = oa(); + return be((g) => { + if (v.value) { + const b = gs(v.value); + a.itemMap.value.set(b, { ref: v.value, value: c.value }), g(() => a.itemMap.value.delete(b)); + } + }), () => ke(ea, { ...m, [Xr]: "", ref: f }, p); + } + }), u = S(() => Array.from(a.itemMap.value.values())), d = S(() => a.itemMap.value.size); + return { getItems: r, reactiveItems: u, itemMapSize: d, CollectionSlot: l, CollectionItem: i }; +} +const ug = { + ArrowLeft: "prev", + ArrowUp: "prev", + ArrowRight: "next", + ArrowDown: "next", + PageUp: "first", + Home: "first", + PageDown: "last", + End: "last" +}; +function dg(e, t) { + return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e; +} +function cg(e, t, n) { + const o = dg(e.key, n); + if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o))) + return ug[o]; +} +function pg(e, t = !1) { + const n = Yr(); + for (const o of e) + if (o === n || (o.focus({ preventScroll: t }), Yr() !== n)) + return; +} +function fg(e, t) { + return e.map((n, o) => e[(t + o) % e.length]); +} +const [mg, f0] = Bn("RovingFocusGroup"), Qr = /* @__PURE__ */ x({ + inheritAttrs: !1, + __name: "VisuallyHiddenInputBubble", + props: { + name: {}, + value: {}, + checked: { type: Boolean, default: void 0 }, + required: { type: Boolean }, + disabled: { type: Boolean }, + feature: { default: "fully-hidden" } + }, + setup(e) { + const t = e, { primitiveElement: n, currentElement: o } = oa(), a = S(() => t.checked ?? t.value); + return X(a, (r, l) => { + if (!o.value) + return; + const i = o.value, u = window.HTMLInputElement.prototype, c = Object.getOwnPropertyDescriptor(u, "value").set; + if (c && r !== l) { + const p = new Event("input", { bubbles: !0 }), m = new Event("change", { bubbles: !0 }); + c.call(i, r), i.dispatchEvent(p), i.dispatchEvent(m); + } + }), (r, l) => (h(), C(zv, D({ + ref_key: "primitiveElement", + ref: n + }, { ...t, ...r.$attrs }, { as: "input" }), null, 16)); } - function Pe() { - return (v ? L : A)[j ? "mouse" : "touch"]; +}), vg = /* @__PURE__ */ x({ + inheritAttrs: !1, + __name: "VisuallyHiddenInput", + props: { + name: {}, + value: {}, + checked: { type: Boolean, default: void 0 }, + required: { type: Boolean }, + disabled: { type: Boolean }, + feature: { default: "fully-hidden" } + }, + setup(e) { + const t = e, n = S( + () => typeof t.value == "object" && Array.isArray(t.value) && t.value.length === 0 && t.required + ), o = S(() => typeof t.value == "string" || typeof t.value == "number" || typeof t.value == "boolean" ? [{ name: t.name, value: t.value }] : typeof t.value == "object" && Array.isArray(t.value) ? t.value.flatMap((a, r) => typeof a == "object" ? Object.entries(a).map(([l, i]) => ({ name: `[${t.name}][${r}][${l}]`, value: i })) : { name: `[${t.name}][${r}]`, value: a }) : t.value !== null && typeof t.value == "object" && !Array.isArray(t.value) ? Object.entries(t.value).map(([a, r]) => ({ name: `[${t.name}][${a}]`, value: r })) : []); + return (a, r) => n.value ? (h(), C(Qr, D({ key: a.name }, { ...t, ...a.$attrs }, { + name: a.name, + value: a.value + }), null, 16, ["name", "value"])) : (h(!0), N(ye, { key: 1 }, pt(o.value, (l) => (h(), C(Qr, D({ + key: l.name, + ref_for: !0 + }, { ...t, ...a.$attrs }, { + name: l.name, + value: l.value + }), null, 16, ["name", "value"]))), 128)); + } +}), [gg, m0] = Bn("CheckboxGroupRoot"); +function Un(e) { + return e === "indeterminate"; +} +function Ll(e) { + return Un(e) ? "indeterminate" : e ? "checked" : "unchecked"; +} +const hg = /* @__PURE__ */ x({ + __name: "RovingFocusItem", + props: { + tabStopId: {}, + focusable: { type: Boolean, default: !0 }, + active: { type: Boolean }, + allowShiftKey: { type: Boolean }, + asChild: { type: Boolean }, + as: { default: "span" } + }, + setup(e) { + const t = e, n = mg(), o = Yv(), a = S(() => t.tabStopId || o), r = S( + () => n.currentTabStopId.value === a.value + ), { getItems: l, CollectionItem: i } = ig(); + re(() => { + t.focusable && n.onFocusableItemAdd(); + }), Le(() => { + t.focusable && n.onFocusableItemRemove(); + }); + function u(d) { + if (d.key === "Tab" && d.shiftKey) { + n.onItemShiftTab(); + return; + } + if (d.target !== d.currentTarget) + return; + const c = cg( + d, + n.orientation.value, + n.dir.value + ); + if (c !== void 0) { + if (d.metaKey || d.ctrlKey || d.altKey || !t.allowShiftKey && d.shiftKey) + return; + d.preventDefault(); + let p = [...l().map((m) => m.ref).filter((m) => m.dataset.disabled !== "")]; + if (c === "last") + p.reverse(); + else if (c === "prev" || c === "next") { + c === "prev" && p.reverse(); + const m = p.indexOf( + d.currentTarget + ); + p = n.loop.value ? fg(p, m + 1) : p.slice(m + 1); + } + oe(() => pg(p)); + } + } + return (d, c) => (h(), C(s(i), null, { + default: y(() => [ + M(s(Tt), { + tabindex: r.value ? 0 : -1, + "data-orientation": s(n).orientation.value, + "data-active": d.active ? "" : void 0, + "data-disabled": d.focusable ? void 0 : "", + as: d.as, + "as-child": d.asChild, + onMousedown: c[0] || (c[0] = (p) => { + d.focusable ? s(n).onItemFocus(a.value) : p.preventDefault(); + }), + onFocus: c[1] || (c[1] = (p) => s(n).onItemFocus(a.value)), + onKeydown: u + }, { + default: y(() => [ + _(d.$slots, "default") + ]), + _: 3 + }, 8, ["tabindex", "data-orientation", "data-active", "data-disabled", "as", "as-child"]) + ]), + _: 3 + })); + } +}), [yg, bg] = Bn("CheckboxRoot"), wg = /* @__PURE__ */ x({ + inheritAttrs: !1, + __name: "CheckboxRoot", + props: { + defaultValue: { type: [Boolean, String] }, + modelValue: { type: [Boolean, String, null], default: void 0 }, + disabled: { type: Boolean }, + value: { default: "on" }, + id: {}, + asChild: { type: Boolean }, + as: { default: "button" }, + name: {}, + required: { type: Boolean } + }, + emits: ["update:modelValue"], + setup(e, { emit: t }) { + const n = e, o = t, { forwardRef: a, currentElement: r } = $n(), l = gg(null), i = Uv(n, "modelValue", o, { + defaultValue: n.defaultValue, + passive: n.modelValue === void 0 + }), u = S(() => (l == null ? void 0 : l.disabled.value) || n.disabled), d = S(() => na(l == null ? void 0 : l.modelValue.value) ? i.value === "indeterminate" ? "indeterminate" : i.value : Gr(l.modelValue.value, n.value)); + function c() { + if (na(l == null ? void 0 : l.modelValue.value)) + i.value = Un(i.value) ? !0 : !i.value; + else { + const f = [...l.modelValue.value || []]; + if (Gr(f, n.value)) { + const v = f.findIndex((g) => ta(g, n.value)); + f.splice(v, 1); + } else + f.push(n.value); + l.modelValue.value = f; + } + } + const p = lg(r), m = S(() => { + var f; + return n.id && r.value ? (f = document.querySelector(`[for="${n.id}"]`)) == null ? void 0 : f.innerText : void 0; + }); + return bg({ + disabled: u, + state: d + }), (f, v) => { + var g, b; + return h(), C(Fe((g = s(l)) != null && g.rovingFocus.value ? s(hg) : s(Tt)), D(f.$attrs, { + id: f.id, + ref: s(a), + role: "checkbox", + "as-child": f.asChild, + as: f.as, + type: f.as === "button" ? "button" : void 0, + "aria-checked": s(Un)(d.value) ? "mixed" : d.value, + "aria-required": f.required, + "aria-label": f.$attrs["aria-label"] || m.value, + "data-state": s(Ll)(d.value), + "data-disabled": u.value ? "" : void 0, + disabled: u.value, + focusable: (b = s(l)) != null && b.rovingFocus.value ? !u.value : void 0, + onKeydown: ct(Ce(() => { + }, ["prevent"]), ["enter"]), + onClick: c + }), { + default: y(() => [ + _(f.$slots, "default", { + modelValue: s(i), + state: d.value + }), + s(p) && f.name && !s(l) ? (h(), C(s(vg), { + key: 0, + type: "checkbox", + checked: !!d.value, + name: f.name, + value: f.value, + disabled: u.value, + required: f.required + }, null, 8, ["checked", "name", "value", "disabled", "required"])) : de("", !0) + ]), + _: 3 + }, 16, ["id", "as-child", "as", "type", "aria-checked", "aria-required", "aria-label", "data-state", "data-disabled", "disabled", "focusable", "onKeydown"]); + }; + } +}), xg = /* @__PURE__ */ x({ + __name: "CheckboxIndicator", + props: { + forceMount: { type: Boolean }, + asChild: { type: Boolean }, + as: { default: "span" } + }, + setup(e) { + const { forwardRef: t } = $n(), n = yg(); + return (o, a) => (h(), C(s(Zv), { + present: o.forceMount || s(Un)(s(n).state.value) || s(n).state.value === !0 + }, { + default: y(() => [ + M(s(Tt), D({ + ref: s(t), + "data-state": s(Ll)(s(n).state.value), + "data-disabled": s(n).disabled.value ? "" : void 0, + style: { pointerEvents: "none" }, + "as-child": o.asChild, + as: o.as + }, o.$attrs), { + default: y(() => [ + _(o.$slots, "default") + ]), + _: 3 + }, 16, ["data-state", "data-disabled", "as-child", "as"]) + ]), + _: 3 + }, 8, ["present"])); } - function qe(H, ie) { - const _e = p.add(Ua(H) * -1), Ae = c.byDistance(H, !v).distance; - return v || he(H) < V ? Ae : b && ie ? Ae * 0.5 : c.byIndex(_e.get(), 0).distance; +}), v0 = /* @__PURE__ */ x({ + __name: "Avatar", + props: { + class: {}, + size: { default: "sm" }, + shape: { default: "circle" } + }, + setup(e) { + const t = e; + return (n, o) => (h(), C(s(og), { + class: te(s(z)(s(_g)({ size: n.size, shape: n.shape }), t.class)) + }, { + default: y(() => [ + _(n.$slots, "default") + ]), + _: 3 + }, 8, ["class"])); } - function wt(H) { - const ie = Yo(H, o); - j = ie, ue = v && ie && !H.buttons && q, q = un(a.get(), l.get()) >= 2, !(ie && H.button !== 0) && (Ie(H.target) || (le = !0, r.pointerDown(H), d.useFriction(0).useDuration(0), a.set(l), De(), G = r.readPoint(H), Q = r.readPoint(H, $), m.emit("pointerDown"))); +}), g0 = /* @__PURE__ */ x({ + __name: "AvatarFallback", + props: { + delayMs: {}, + asChild: { type: Boolean }, + as: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), C(s(ag), U(W(t)), { + default: y(() => [ + _(n.$slots, "default") + ]), + _: 3 + }, 16)); } - function ye(H) { - if (!Yo(H, o) && H.touches.length >= 2) return me(H); - const _e = r.readPoint(H), Ae = r.readPoint(H, $), Ye = un(_e, G), tt = un(Ae, Q); - if (!fe && !j && (!H.cancelable || (fe = Ye > tt, !fe))) - return me(H); - const xt = r.pointerMove(H); - Ye > g && (ue = !0), d.useFriction(0.3).useDuration(0.75), i.start(), a.add(E(xt)), H.preventDefault(); +}), h0 = /* @__PURE__ */ x({ + __name: "AvatarImage", + props: { + src: {}, + referrerPolicy: {}, + asChild: { type: Boolean }, + as: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), C(s(sg), D(t, { class: "h-full w-full object-cover" }), { + default: y(() => [ + _(n.$slots, "default") + ]), + _: 3 + }, 16)); } - function me(H) { - const _e = c.byDistance(0, !1).index !== p.get(), Ae = r.pointerUp(H) * Pe(), Ye = qe(E(Ae), _e), tt = eg(Ae, Ye), xt = F - 10 * tt, ut = w + tt / 50; - fe = !1, le = !1, I.clear(), d.useDuration(xt).useFriction(ut), u.distance(Ye, !v), j = !1, m.emit("pointerUp"); +}), _g = Cn( + "inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-secondary font-normal text-foreground", + { + variants: { + size: { + sm: "h-10 w-10 text-xs", + base: "h-16 w-16 text-2xl", + lg: "h-32 w-32 text-5xl" + }, + shape: { + circle: "rounded-full", + square: "rounded-md" + } + } + } +), y0 = /* @__PURE__ */ x({ + __name: "Badge", + props: { + variant: {}, + class: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), N("div", { + class: te(s(z)(s(Cg)({ variant: n.variant }), t.class)) + }, [ + _(n.$slots, "default") + ], 2)); } - function Ee(H) { - ue && (H.stopPropagation(), H.preventDefault(), ue = !1); +}), Cg = Cn( + "inline-flex items-center rounded-md 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 hover:bg-primary/80", + secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80", + destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80", + outline: "text-foreground" + } + }, + defaultVariants: { + variant: "default" + } } - function xe() { - return le; +), b0 = /* @__PURE__ */ x({ + __name: "Card", + props: { + class: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), N("div", { + class: te(s(z)("rounded-xl border bg-card text-card-foreground shadow", t.class)) + }, [ + _(n.$slots, "default") + ], 2)); } - return { - init: Y, - destroy: J, - pointerDown: xe - }; -} -function sg(e, t) { - let o, a; - function r(p) { - return p.timeStamp; +}), w0 = /* @__PURE__ */ x({ + __name: "CardContent", + props: { + class: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), N("div", { + class: te(s(z)("p-6 pt-0", t.class)) + }, [ + _(n.$slots, "default") + ], 2)); } - function l(p, m) { - const v = `client${(m || e.scroll) === "x" ? "X" : "Y"}`; - return (Yo(p, t) ? p : p.touches[0])[v]; +}), x0 = /* @__PURE__ */ x({ + __name: "CardDescription", + props: { + class: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), N("p", { + class: te(s(z)("text-sm text-muted-foreground", t.class)) + }, [ + _(n.$slots, "default") + ], 2)); } - function i(p) { - return o = p, a = p, l(p); +}), _0 = /* @__PURE__ */ x({ + __name: "CardFooter", + props: { + class: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), N("div", { + class: te(s(z)("flex items-center p-6 pt-0", t.class)) + }, [ + _(n.$slots, "default") + ], 2)); } - function u(p) { - const m = l(p) - l(a), f = r(p) - r(o) > 170; - return a = p, f && (o = p), m; +}), C0 = /* @__PURE__ */ x({ + __name: "CardHeader", + props: { + class: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), N("div", { + class: te(s(z)("flex flex-col gap-y-1.5 p-6", t.class)) + }, [ + _(n.$slots, "default") + ], 2)); } - function d(p) { - if (!o || !a) return 0; - const m = l(a) - l(o), f = r(p) - r(o), v = r(p) - r(a) > 170, g = m / f; - return f && !v && he(g) > 0.1 ? g : 0; +}), B0 = /* @__PURE__ */ x({ + __name: "CardTitle", + props: { + class: {} + }, + setup(e) { + const t = e; + return (n, o) => (h(), N("h3", { + class: te(s(z)("font-semibold leading-none tracking-tight", t.class)) + }, [ + _(n.$slots, "default") + ], 2)); } - return { - pointerDown: i, - pointerMove: u, - pointerUp: d, - readPoint: l - }; +}); +var Zr; +const Bg = typeof window < "u", $g = (e) => typeof e < "u", Sg = (e) => typeof e == "function"; +Bg && ((Zr = window == null ? void 0 : window.navigator) != null && Zr.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent); +function kg(e) { + return e; } -function lg() { - function e(n) { - const { - offsetTop: o, - offsetLeft: a, - offsetWidth: r, - offsetHeight: l - } = n; - return { - top: o, - right: a + r, - bottom: o + l, - left: a, - width: r, - height: l - }; - } - return { - measure: e - }; +function Og(e) { + const t = Symbol("InjectionState"); + return [(...a) => { + const r = e(...a); + return vn(t, r), r; + }, () => mn(t)]; } -function ig(e) { - function t(o) { - return e * (o / 100); - } - return { - measure: t - }; +function Ag(e) { + return JSON.parse(JSON.stringify(e)); } -function ug(e, t, n, o, a, r, l) { - const i = [e].concat(o); - let u, d, c = [], p = !1; - function m(b) { - return a.measureSize(l.measure(b)); - } - function f(b) { - if (!r) return; - d = m(e), c = o.map(m); - function w(B) { - for (const $ of B) { - if (p) return; - const E = $.target === e, k = o.indexOf($.target), P = E ? d : c[k], O = m(E ? e : o[k]); - if (he(O - P) >= 0.5) { - b.reInit(), t.emit("resize"); - break; - } +const Jr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, es = "__vueuse_ssr_handlers__"; +Jr[es] = Jr[es] || {}; +var ts; +(function(e) { + e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE"; +})(ts || (ts = {})); +var Eg = Object.defineProperty, ns = Object.getOwnPropertySymbols, Tg = Object.prototype.hasOwnProperty, Dg = Object.prototype.propertyIsEnumerable, os = (e, t, n) => t in e ? Eg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pg = (e, t) => { + for (var n in t || (t = {})) + Tg.call(t, n) && os(e, n, t[n]); + if (ns) + for (var n of ns(t)) + Dg.call(t, n) && os(e, n, t[n]); + return e; +}; +const Ig = { + easeInSine: [0.12, 0, 0.39, 0], + easeOutSine: [0.61, 1, 0.88, 1], + easeInOutSine: [0.37, 0, 0.63, 1], + easeInQuad: [0.11, 0, 0.5, 0], + easeOutQuad: [0.5, 1, 0.89, 1], + easeInOutQuad: [0.45, 0, 0.55, 1], + easeInCubic: [0.32, 0, 0.67, 0], + easeOutCubic: [0.33, 1, 0.68, 1], + easeInOutCubic: [0.65, 0, 0.35, 1], + easeInQuart: [0.5, 0, 0.75, 0], + easeOutQuart: [0.25, 1, 0.5, 1], + easeInOutQuart: [0.76, 0, 0.24, 1], + easeInQuint: [0.64, 0, 0.78, 0], + easeOutQuint: [0.22, 1, 0.36, 1], + easeInOutQuint: [0.83, 0, 0.17, 1], + easeInExpo: [0.7, 0, 0.84, 0], + easeOutExpo: [0.16, 1, 0.3, 1], + easeInOutExpo: [0.87, 0, 0.13, 1], + easeInCirc: [0.55, 0, 1, 0.45], + easeOutCirc: [0, 0.55, 0.45, 1], + easeInOutCirc: [0.85, 0, 0.15, 1], + easeInBack: [0.36, 0, 0.66, -0.56], + easeOutBack: [0.34, 1.56, 0.64, 1], + easeInOutBack: [0.68, -0.6, 0.32, 1.6] +}; +Pg({ + linear: kg +}, Ig); +function zl(e, t, n, o = {}) { + var a, r, l; + const { + clone: i = !1, + passive: u = !1, + eventName: d, + deep: c = !1, + defaultValue: p + } = o, m = Re(), f = n || (m == null ? void 0 : m.emit) || ((a = m == null ? void 0 : m.$emit) == null ? void 0 : a.bind(m)) || ((l = (r = m == null ? void 0 : m.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(m == null ? void 0 : m.proxy)); + let v = d; + v = d || v || `update:${t.toString()}`; + const g = (w) => i ? Sg(i) ? i(w) : Ag(w) : w, b = () => $g(e[t]) ? g(e[t]) : p; + if (u) { + const w = b(), B = T(w); + return X(() => e[t], ($) => B.value = g($)), X(B, ($) => { + ($ !== e[t] || c) && f(v, $); + }, { deep: c }), B; + } else + return S({ + get() { + return b(); + }, + set(w) { + f(v, w); } - } - u = new ResizeObserver((B) => { - (fo(r) || r(b, B)) && w(B); - }), n.requestAnimationFrame(() => { - i.forEach((B) => u.observe(B)); }); - } - function v() { - p = !0, u && u.disconnect(); - } - return { - init: f, - destroy: v - }; } -function dg(e, t, n, o, a, r) { - let l = 0, i = 0, u = a, d = r, c = e.get(), p = 0; - function m() { - const P = o.get() - e.get(), O = !u; - let I = 0; - return O ? (l = 0, n.set(o), e.set(o), I = P) : (n.set(e), l += P / u, l *= d, c += l, e.add(l), I = c - p), i = Ua(I), p = c, k; - } - function f() { - const P = o.get() - t.get(); - return he(P) < 1e-3; - } - function v() { - return u; - } - function g() { - return i; - } - function b() { - return l; - } - function w() { - return $(a); +function Mg(e) { + return Object.prototype.toString.call(e) === "[object Object]"; +} +function as(e) { + return Mg(e) || Array.isArray(e); +} +function Rg() { + return !!(typeof window < "u" && window.document && window.document.createElement); +} +function Ga(e, t) { + const n = Object.keys(e), o = Object.keys(t); + if (n.length !== o.length) return !1; + const a = JSON.stringify(Object.keys(e.breakpoints || {})), r = JSON.stringify(Object.keys(t.breakpoints || {})); + return a !== r ? !1 : n.every((l) => { + const i = e[l], u = t[l]; + return typeof i == "function" ? `${i}` == `${u}` : !as(i) || !as(u) ? i === u : Ga(i, u); + }); +} +function rs(e) { + return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options); +} +function Fg(e, t) { + if (e.length !== t.length) return !1; + const n = rs(e), o = rs(t); + return n.every((a, r) => { + const l = o[r]; + return Ga(a, l); + }); +} +function Ya(e) { + return typeof e == "number"; +} +function aa(e) { + return typeof e == "string"; +} +function fo(e) { + return typeof e == "boolean"; +} +function ss(e) { + return Object.prototype.toString.call(e) === "[object Object]"; +} +function ge(e) { + return Math.abs(e); +} +function Xa(e) { + return Math.sign(e); +} +function rn(e, t) { + return ge(e - t); +} +function Vg(e, t) { + if (e === 0 || t === 0 || ge(e) <= ge(t)) return 0; + const n = rn(ge(e), ge(t)); + return ge(n / e); +} +function Lg(e) { + return Math.round(e * 100) / 100; +} +function cn(e) { + return pn(e).map(Number); +} +function He(e) { + return e[Sn(e)]; +} +function Sn(e) { + return Math.max(0, e.length - 1); +} +function Qa(e, t) { + return t === Sn(e); +} +function ls(e, t = 0) { + return Array.from(Array(e), (n, o) => t + o); +} +function pn(e) { + return Object.keys(e); +} +function Nl(e, t) { + return [e, t].reduce((n, o) => (pn(o).forEach((a) => { + const r = n[a], l = o[a], i = ss(r) && ss(l); + n[a] = i ? Nl(r, l) : l; + }), n), {}); +} +function ra(e, t) { + return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent; +} +function zg(e, t) { + const n = { + start: o, + center: a, + end: r + }; + function o() { + return 0; } - function B() { - return E(r); + function a(u) { + return r(u) / 2; } - function $(P) { - return u = P, k; + function r(u) { + return t - u; } - function E(P) { - return d = P, k; + function l(u, d) { + return aa(e) ? n[e](u) : e(t, u, d); } - const k = { - direction: g, - duration: v, - velocity: b, - seek: m, - settled: f, - useBaseFriction: B, - useBaseDuration: w, - useFriction: E, - useDuration: $ + return { + measure: l }; - return k; } -function cg(e, t, n, o, a) { - const r = a.measure(10), l = a.measure(50), i = kt(0.1, 0.99); - let u = !1; - function d() { - return !(u || !e.reachedAny(n.get()) || !e.reachedAny(t.get())); - } - function c(f) { - if (!d()) return; - const v = e.reachedMin(t.get()) ? "min" : "max", g = he(e[v] - t.get()), b = n.get() - t.get(), w = i.constrain(g / l); - n.subtract(b * w), !f && he(b) < r && (n.set(e.constrain(n.get())), o.useDuration(25).useBaseFriction()); +function fn() { + let e = []; + function t(a, r, l, i = { + passive: !0 + }) { + let u; + if ("addEventListener" in a) + a.addEventListener(r, l, i), u = () => a.removeEventListener(r, l, i); + else { + const d = a; + d.addListener(l), u = () => d.removeListener(l); + } + return e.push(u), o; } - function p(f) { - u = !f; + function n() { + e = e.filter((a) => a()); } - return { - shouldConstrain: d, - constrain: c, - toggleActive: p + const o = { + add: t, + clear: n }; + return o; } -function pg(e, t, n, o, a) { - const r = kt(-t + e, 0), l = p(), i = c(), u = m(); - function d(v, g) { - return un(v, g) <= 1; +function Ng(e, t, n, o) { + const a = fn(), r = 1e3 / 60; + let l = null, i = 0, u = 0; + function d() { + a.add(e, "visibilitychange", () => { + e.hidden && v(); + }); } function c() { - const v = l[0], g = Ue(l), b = l.lastIndexOf(v), w = l.indexOf(g) + 1; - return kt(b, w); + f(), a.clear(); } - function p() { - return n.map((v, g) => { - const { - min: b, - max: w - } = r, B = r.constrain(v), $ = !g, E = Wa(n, g); - return $ ? w : E || d(b, B) ? b : d(w, B) ? w : B; - }).map((v) => parseFloat(v.toFixed(3))); + function p(b) { + if (!u) return; + l || (l = b, n(), n()); + const w = b - l; + for (l = b, i += w; i >= r; ) + n(), i -= r; + const B = i / r; + o(B), u && (u = t.requestAnimationFrame(p)); } function m() { - if (t <= e + a) return [r.max]; - if (o === "keepSnaps") return l; - const { - min: v, - max: g - } = i; - return l.slice(v, g); - } - return { - snapsContained: u, - scrollContainLimit: i - }; -} -function fg(e, t, n) { - const o = t[0], a = n ? o - e : Ue(t); - return { - limit: kt(a, o) - }; -} -function mg(e, t, n, o) { - const r = t.min + 0.1, l = t.max + 0.1, { - reachedMin: i, - reachedMax: u - } = kt(r, l); - function d(m) { - return m === 1 ? u(n.get()) : m === -1 ? i(n.get()) : !1; + u || (u = t.requestAnimationFrame(p)); } - function c(m) { - if (!d(m)) return; - const f = e * (m * -1); - o.forEach((v) => v.add(f)); + function f() { + t.cancelAnimationFrame(u), l = null, i = 0, u = 0; } - return { - loop: c - }; -} -function vg(e) { - const { - max: t, - length: n - } = e; - function o(r) { - const l = r - t; - return n ? l / -n : 0; + function v() { + l = null, i = 0; } return { - get: o + init: d, + destroy: c, + start: m, + stop: f, + update: n, + render: o }; } -function gg(e, t, n, o, a) { - const { - startEdge: r, - endEdge: l - } = e, { - groupSlides: i - } = a, u = p().map(t.measure), d = m(), c = f(); - function p() { - return i(o).map((g) => Ue(g)[l] - g[0][r]).map(he); +function jg(e, t) { + const n = t === "rtl", o = e === "y", a = o ? "y" : "x", r = o ? "x" : "y", l = !o && n ? -1 : 1, i = c(), u = p(); + function d(v) { + const { + height: g, + width: b + } = v; + return o ? g : b; } - function m() { - return o.map((g) => n[r] - g[r]).map((g) => -he(g)); + function c() { + return o ? "top" : n ? "right" : "left"; } - function f() { - return i(d).map((g) => g[0]).map((g, b) => g + u[b]); + function p() { + return o ? "bottom" : n ? "left" : "right"; } - return { - snaps: d, - snapsAligned: c - }; -} -function hg(e, t, n, o, a, r) { - const { - groupSlides: l - } = a, { - min: i, - max: u - } = o, d = c(); - function c() { - const m = l(r), f = !e || t === "keepSnaps"; - return n.length === 1 ? [r] : f ? m : m.slice(i, u).map((v, g, b) => { - const w = !g, B = Wa(b, g); - if (w) { - const $ = Ue(b[0]) + 1; - return zr($); - } - if (B) { - const $ = kn(r) - Ue(b)[0] + 1; - return zr($, Ue(b)[0]); - } - return v; - }); + function m(v) { + return v * l; } return { - slideRegistry: d + scroll: a, + cross: r, + startEdge: i, + endEdge: u, + measureSize: d, + direction: m }; } -function yg(e, t, n, o, a) { - const { - reachedAny: r, - removeOffset: l, - constrain: i - } = o; - function u(v) { - return v.concat().sort((g, b) => he(g) - he(b))[0]; - } - function d(v) { - const g = e ? l(v) : i(v), b = t.map((B, $) => ({ - diff: c(B - g, 0), - index: $ - })).sort((B, $) => he(B.diff) - he($.diff)), { - index: w - } = b[0]; - return { - index: w, - distance: g - }; +function Ct(e = 0, t = 0) { + const n = ge(e - t); + function o(d) { + return d < e; } - function c(v, g) { - const b = [v, v + n, v - n]; - if (!e) return v; - if (!g) return u(b); - const w = b.filter((B) => Ua(B) === g); - return w.length ? u(w) : Ue(b) - n; + function a(d) { + return d > t; } - function p(v, g) { - const b = t[v] - a.get(), w = c(b, g); - return { - index: v, - distance: w - }; + function r(d) { + return o(d) || a(d); } - function m(v, g) { - const b = a.get() + v, { - index: w, - distance: B - } = d(b), $ = !e && r(b); - if (!g || $) return { - index: w, - distance: v - }; - const E = t[w] - B, k = v + c(E, 0); - return { - index: w, - distance: k - }; + function l(d) { + return r(d) ? o(d) ? e : t : d; + } + function i(d) { + return n ? d - n * Math.ceil((d - t) / n) : d; } return { - byDistance: m, - byIndex: p, - shortcut: c + length: n, + max: t, + min: e, + constrain: l, + reachedAny: r, + reachedMax: a, + reachedMin: o, + removeOffset: i }; } -function bg(e, t, n, o, a, r, l) { - function i(p) { - const m = p.distance, f = p.index !== t.get(); - r.add(m), m && (o.duration() ? e.start() : (e.update(), e.render(1), e.update())), f && (n.set(t.get()), t.set(p.index), l.emit("select")); +function jl(e, t, n) { + const { + constrain: o + } = Ct(0, e), a = e + 1; + let r = l(t); + function l(m) { + return n ? ge((a + m) % a) : o(m); } - function u(p, m) { - const f = a.byDistance(p, m); - i(f); + function i() { + return r; } - function d(p, m) { - const f = t.clone().set(p), v = a.byIndex(f.get(), m); - i(v); + function u(m) { + return r = l(m), p; } - return { - distance: u, - index: d + function d(m) { + return c().set(i() + m); + } + function c() { + return jl(e, i(), n); + } + const p = { + get: i, + set: u, + add: d, + clone: c }; + return p; } -function wg(e, t, n, o, a, r, l, i) { - const u = { - passive: !0, - capture: !0 - }; - let d = 0; - function c(f) { - if (!i) return; - function v(g) { - if ((/* @__PURE__ */ new Date()).getTime() - d > 10) return; - l.emit("slideFocusStart"), e.scrollLeft = 0; - const B = n.findIndex(($) => $.includes(g)); - Ha(B) && (a.useDuration(0), o.index(B, 0), l.emit("slideFocus")); +function Kg(e, t, n, o, a, r, l, i, u, d, c, p, m, f, v, g, b, w, B) { + const { + cross: $, + direction: O + } = e, k = ["INPUT", "SELECT", "TEXTAREA"], P = { + passive: !1 + }, A = fn(), I = fn(), V = Ct(50, 225).constrain(f.measure(20)), E = { + mouse: 300, + touch: 400 + }, L = { + mouse: 500, + touch: 600 + }, F = v ? 43 : 25; + let G = !1, q = 0, Z = 0, se = !1, pe = !1, ie = !1, j = !1; + function Y(H) { + if (!B) return; + function le(Ae) { + (fo(B) || B(H, Ae)) && ht(Ae); } - r.add(document, "keydown", p, !1), t.forEach((g, b) => { - r.add(g, "focus", (w) => { - (fo(i) || i(f, w)) && v(b); - }, u); - }); + const xe = t; + A.add(xe, "dragstart", (Ae) => Ae.preventDefault(), P).add(xe, "touchmove", () => { + }, P).add(xe, "touchend", () => { + }).add(xe, "touchstart", le).add(xe, "mousedown", le).add(xe, "touchcancel", fe).add(xe, "contextmenu", fe).add(xe, "click", Oe, !0); } - function p(f) { - f.code === "Tab" && (d = (/* @__PURE__ */ new Date()).getTime()); + function J() { + A.clear(), I.clear(); + } + function Te() { + const H = j ? n : t; + I.add(H, "touchmove", he, P).add(H, "touchend", fe).add(H, "mousemove", he, P).add(H, "mouseup", fe); + } + function Pe(H) { + const le = H.nodeName || ""; + return k.includes(le); + } + function De() { + return (v ? L : E)[j ? "mouse" : "touch"]; + } + function qe(H, le) { + const xe = p.add(Xa(H) * -1), Ae = c.byDistance(H, !v).distance; + return v || ge(H) < V ? Ae : b && le ? Ae * 0.5 : c.byIndex(xe.get(), 0).distance; + } + function ht(H) { + const le = ra(H, o); + j = le, ie = v && le && !H.buttons && G, G = rn(a.get(), l.get()) >= 2, !(le && H.button !== 0) && (Pe(H.target) || (se = !0, r.pointerDown(H), d.useFriction(0).useDuration(0), a.set(l), Te(), q = r.readPoint(H), Z = r.readPoint(H, $), m.emit("pointerDown"))); + } + function he(H) { + if (!ra(H, o) && H.touches.length >= 2) return fe(H); + const xe = r.readPoint(H), Ae = r.readPoint(H, $), Ge = rn(xe, q), et = rn(Ae, Z); + if (!pe && !j && (!H.cancelable || (pe = Ge > et, !pe))) + return fe(H); + const yt = r.pointerMove(H); + Ge > g && (ie = !0), d.useFriction(0.3).useDuration(0.75), i.start(), a.add(O(yt)), H.preventDefault(); + } + function fe(H) { + const xe = c.byDistance(0, !1).index !== p.get(), Ae = r.pointerUp(H) * De(), Ge = qe(O(Ae), xe), et = Vg(Ae, Ge), yt = F - 10 * et, lt = w + et / 50; + pe = !1, se = !1, I.clear(), d.useDuration(yt).useFriction(lt), u.distance(Ge, !v), j = !1, m.emit("pointerUp"); + } + function Oe(H) { + ie && (H.stopPropagation(), H.preventDefault(), ie = !1); + } + function we() { + return se; } return { - init: c + init: Y, + destroy: J, + pointerDown: we }; } -function sn(e) { - let t = e; - function n() { - return t; +function Hg(e, t) { + let o, a; + function r(p) { + return p.timeStamp; } - function o(u) { - t = l(u); + function l(p, m) { + const v = `client${(m || e.scroll) === "x" ? "X" : "Y"}`; + return (ra(p, t) ? p : p.touches[0])[v]; } - function a(u) { - t += l(u); + function i(p) { + return o = p, a = p, l(p); } - function r(u) { - t -= l(u); + function u(p) { + const m = l(p) - l(a), f = r(p) - r(o) > 170; + return a = p, f && (o = p), m; } - function l(u) { - return Ha(u) ? u : u.get(); + function d(p) { + if (!o || !a) return 0; + const m = l(a) - l(o), f = r(p) - r(o), v = r(p) - r(a) > 170, g = m / f; + return f && !v && ge(g) > 0.1 ? g : 0; } return { - get: n, - set: o, - add: a, - subtract: r + pointerDown: i, + pointerMove: u, + pointerUp: d, + readPoint: l }; } -function Pl(e, t) { - const n = e.scroll === "x" ? l : i, o = t.style; - let a = null, r = !1; - function l(m) { - return `translate3d(${m}px,0px,0px)`; +function Ug() { + function e(n) { + const { + offsetTop: o, + offsetLeft: a, + offsetWidth: r, + offsetHeight: l + } = n; + return { + top: o, + right: a + r, + bottom: o + l, + left: a, + width: r, + height: l + }; } - function i(m) { - return `translate3d(0px,${m}px,0px)`; + return { + measure: e + }; +} +function Wg(e) { + function t(o) { + return e * (o / 100); } - function u(m) { - if (r) return; - const f = tg(e.direction(m)); - f !== a && (o.transform = n(f), a = f); + return { + measure: t + }; +} +function qg(e, t, n, o, a, r, l) { + const i = [e].concat(o); + let u, d, c = [], p = !1; + function m(b) { + return a.measureSize(l.measure(b)); } - function d(m) { - r = !m; + function f(b) { + if (!r) return; + d = m(e), c = o.map(m); + function w(B) { + for (const $ of B) { + if (p) return; + const O = $.target === e, k = o.indexOf($.target), P = O ? d : c[k], A = m(O ? e : o[k]); + if (ge(A - P) >= 0.5) { + b.reInit(), t.emit("resize"); + break; + } + } + } + u = new ResizeObserver((B) => { + (fo(r) || r(b, B)) && w(B); + }), n.requestAnimationFrame(() => { + i.forEach((B) => u.observe(B)); + }); } - function c() { - r || (o.transform = "", t.getAttribute("style") || t.removeAttribute("style")); + function v() { + p = !0, u && u.disconnect(); } return { - clear: c, - to: u, - toggleActive: d + init: f, + destroy: v }; } -function xg(e, t, n, o, a, r, l, i, u) { - const c = mn(a), p = mn(a).reverse(), m = w().concat(B()); - function f(O, I) { - return O.reduce((V, A) => V - a[A], I); +function Gg(e, t, n, o, a, r) { + let l = 0, i = 0, u = a, d = r, c = e.get(), p = 0; + function m() { + const P = o.get() - e.get(), A = !u; + let I = 0; + return A ? (l = 0, n.set(o), e.set(o), I = P) : (n.set(e), l += P / u, l *= d, c += l, e.add(l), I = c - p), i = Xa(I), p = c, k; + } + function f() { + const P = o.get() - t.get(); + return ge(P) < 1e-3; } - function v(O, I) { - return O.reduce((V, A) => f(V, I) > 0 ? V.concat([A]) : V, []); + function v() { + return u; } - function g(O) { - return r.map((I, V) => ({ - start: I - o[V] + 0.5 + O, - end: I + t - 0.5 + O - })); + function g() { + return i; } - function b(O, I, V) { - const A = g(I); - return O.map((L) => { - const F = V ? 0 : -n, q = V ? n : 0, G = V ? "end" : "start", Q = A[L][G]; - return { - index: L, - loopPoint: Q, - slideLocation: sn(-1), - translate: Pl(e, u[L]), - target: () => i.get() > Q ? F : q - }; - }); + function b() { + return l; } function w() { - const O = l[0], I = v(p, O); - return b(I, n, !1); + return $(a); } function B() { - const O = t - l[0] - 1, I = v(c, O); - return b(I, -n, !0); + return O(r); } - function $() { - return m.every(({ - index: O - }) => { - const I = c.filter((V) => V !== O); - return f(I, t) <= 0.1; - }); - } - function E() { - m.forEach((O) => { - const { - target: I, - translate: V, - slideLocation: A - } = O, L = I(); - L !== A.get() && (V.to(L), A.set(L)); - }); + function $(P) { + return u = P, k; } - function k() { - m.forEach((O) => O.translate.clear()); + function O(P) { + return d = P, k; } - return { - canLoop: $, - clear: k, - loop: E, - loopPoints: m + const k = { + direction: g, + duration: v, + velocity: b, + seek: m, + settled: f, + useBaseFriction: B, + useBaseDuration: w, + useFriction: O, + useDuration: $ }; + return k; } -function _g(e, t, n) { - let o, a = !1; - function r(u) { - if (!n) return; - function d(c) { - for (const p of c) - if (p.type === "childList") { - u.reInit(), t.emit("slidesChanged"); - break; - } - } - o = new MutationObserver((c) => { - a || (fo(n) || n(u, c)) && d(c); - }), o.observe(e, { - childList: !0 - }); +function Yg(e, t, n, o, a) { + const r = a.measure(10), l = a.measure(50), i = Ct(0.1, 0.99); + let u = !1; + function d() { + return !(u || !e.reachedAny(n.get()) || !e.reachedAny(t.get())); + } + function c(f) { + if (!d()) return; + const v = e.reachedMin(t.get()) ? "min" : "max", g = ge(e[v] - t.get()), b = n.get() - t.get(), w = i.constrain(g / l); + n.subtract(b * w), !f && ge(b) < r && (n.set(e.constrain(n.get())), o.useDuration(25).useBaseFriction()); } - function l() { - o && o.disconnect(), a = !0; + function p(f) { + u = !f; } return { - init: r, - destroy: l + shouldConstrain: d, + constrain: c, + toggleActive: p }; } -function Cg(e, t, n, o) { - const a = {}; - let r = null, l = null, i, u = !1; - function d() { - i = new IntersectionObserver((v) => { - u || (v.forEach((g) => { - const b = t.indexOf(g.target); - a[b] = g; - }), r = null, l = null, n.emit("slidesInView")); - }, { - root: e.parentElement, - threshold: o - }), t.forEach((v) => i.observe(v)); +function Xg(e, t, n, o, a) { + const r = Ct(-t + e, 0), l = p(), i = c(), u = m(); + function d(v, g) { + return rn(v, g) <= 1; } function c() { - i && i.disconnect(), u = !0; + const v = l[0], g = He(l), b = l.lastIndexOf(v), w = l.indexOf(g) + 1; + return Ct(b, w); } - function p(v) { - return vn(a).reduce((g, b) => { - const w = parseInt(b), { - isIntersecting: B - } = a[w]; - return (v && B || !v && !B) && g.push(w), g; - }, []); + function p() { + return n.map((v, g) => { + const { + min: b, + max: w + } = r, B = r.constrain(v), $ = !g, O = Qa(n, g); + return $ ? w : O || d(b, B) ? b : d(w, B) ? w : B; + }).map((v) => parseFloat(v.toFixed(3))); } - function m(v = !0) { - if (v && r) return r; - if (!v && l) return l; - const g = p(v); - return v && (r = g), v || (l = g), g; + function m() { + if (t <= e + a) return [r.max]; + if (o === "keepSnaps") return l; + const { + min: v, + max: g + } = i; + return l.slice(v, g); } return { - init: d, - destroy: c, - get: m + snapsContained: u, + scrollContainLimit: i }; } -function Bg(e, t, n, o, a, r) { - const { - measureSize: l, - startEdge: i, - endEdge: u - } = e, d = n[0] && a, c = v(), p = g(), m = n.map(l), f = b(); - function v() { - if (!d) return 0; - const B = n[0]; - return he(t[i] - B[i]); +function Qg(e, t, n) { + const o = t[0], a = n ? o - e : He(t); + return { + limit: Ct(a, o) + }; +} +function Zg(e, t, n, o) { + const r = t.min + 0.1, l = t.max + 0.1, { + reachedMin: i, + reachedMax: u + } = Ct(r, l); + function d(m) { + return m === 1 ? u(n.get()) : m === -1 ? i(n.get()) : !1; } - function g() { - if (!d) return 0; - const B = r.getComputedStyle(Ue(o)); - return parseFloat(B.getPropertyValue(`margin-${u}`)); + function c(m) { + if (!d(m)) return; + const f = e * (m * -1); + o.forEach((v) => v.add(f)); } - function b() { - return n.map((B, $, E) => { - const k = !$, P = Wa(E, $); - return k ? m[$] + c : P ? m[$] + p : E[$ + 1][i] - B[i]; - }).map(he); + return { + loop: c + }; +} +function Jg(e) { + const { + max: t, + length: n + } = e; + function o(r) { + const l = r - t; + return n ? l / -n : 0; } return { - slideSizes: m, - slideSizesWithGaps: f, - startGap: c, - endGap: p + get: o }; } -function $g(e, t, n, o, a, r, l, i, u) { +function eh(e, t, n, o, a) { const { - startEdge: d, - endEdge: c, - direction: p - } = e, m = Ha(n); - function f(w, B) { - return mn(w).filter(($) => $ % B === 0).map(($) => w.slice($, $ + B)); + startEdge: r, + endEdge: l + } = e, { + groupSlides: i + } = a, u = p().map(t.measure), d = m(), c = f(); + function p() { + return i(o).map((g) => He(g)[l] - g[0][r]).map(ge); } - function v(w) { - return w.length ? mn(w).reduce((B, $, E) => { - const k = Ue(B) || 0, P = k === 0, O = $ === kn(w), I = a[d] - r[k][d], V = a[d] - r[$][c], A = !o && P ? p(l) : 0, L = !o && O ? p(i) : 0, F = he(V - L - (I + A)); - return E && F > t + u && B.push($), O && B.push(w.length), B; - }, []).map((B, $, E) => { - const k = Math.max(E[$ - 1] || 0); - return w.slice(k, B); - }) : []; + function m() { + return o.map((g) => n[r] - g[r]).map((g) => -ge(g)); } - function g(w) { - return m ? f(w, n) : v(w); + function f() { + return i(d).map((g) => g[0]).map((g, b) => g + u[b]); } return { - groupSlides: g + snaps: d, + snapsAligned: c }; } -function Sg(e, t, n, o, a, r, l) { +function th(e, t, n, o, a, r) { const { - align: i, - axis: u, - direction: d, - startIndex: c, - loop: p, - duration: m, - dragFree: f, - dragThreshold: v, - inViewThreshold: g, - slidesToScroll: b, - skipSnaps: w, - containScroll: B, - watchResize: $, - watchSlides: E, - watchDrag: k, - watchFocus: P - } = r, O = 2, I = lg(), V = I.measure(t), A = n.map(I.measure), L = ag(u, d), F = L.measureSize(V), q = ig(F), G = ng(i, F), Q = !p && !!B, le = p || !!B, { - slideSizes: fe, - slideSizesWithGaps: ue, - startGap: j, - endGap: Y - } = Bg(L, V, A, n, le, a), J = $g(L, F, b, p, V, A, j, Y, O), { - snaps: De, - snapsAligned: Ie - } = gg(L, G, V, A, J), Pe = -Ue(De) + Ue(ue), { - snapsContained: qe, - scrollContainLimit: wt - } = pg(F, Pe, Ie, B, O), ye = Q ? qe : Ie, { - limit: me - } = fg(Pe, ye, p), Ee = Dl(kn(ye), c, p), xe = Ee.clone(), de = mn(n), H = ({ - dragHandler: Mt, - scrollBody: xo, - scrollBounds: _o, - options: { - loop: On - } - }) => { - On || _o.constrain(Mt.pointerDown()), xo.seek(); - }, ie = ({ - scrollBody: Mt, - translate: xo, - location: _o, - offsetLocation: On, - previousLocation: Ll, - scrollLooper: zl, - slideLooper: Nl, - dragHandler: jl, - animation: Kl, - eventHandler: Qa, - scrollBounds: Hl, - options: { - loop: Ja - } - }, er) => { - const tr = Mt.settled(), Ul = !Hl.shouldConstrain(), nr = Ja ? tr : tr && Ul, or = nr && !jl.pointerDown(); - or && Kl.stop(); - const Wl = _o.get() * er + Ll.get() * (1 - er); - On.set(Wl), Ja && (zl.loop(Mt.direction()), Nl.loop()), xo.to(On.get()), or && Qa.emit("settle"), nr || Qa.emit("scroll"); - }, _e = og(o, a, () => H(wo), (Mt) => ie(wo, Mt)), Ae = 0.68, Ye = ye[Ee.get()], tt = sn(Ye), xt = sn(Ye), ut = sn(Ye), _t = sn(Ye), nn = dg(tt, ut, xt, _t, m, Ae), yo = yg(p, ye, Pe, me, _t), bo = bg(_e, Ee, xe, nn, yo, _t, l), Ya = vg(me), Xa = gn(), Fl = Cg(t, n, l, g), { - slideRegistry: Za - } = hg(Q, B, ye, wt, J, de), Vl = wg(e, n, Za, bo, nn, Xa, l, P), wo = { - ownerDocument: o, - ownerWindow: a, - eventHandler: l, - containerRect: V, - slideRects: A, - animation: _e, - axis: L, - dragHandler: rg(L, e, o, a, _t, sg(L, a), tt, _e, bo, nn, yo, Ee, l, q, f, v, w, Ae, k), - eventStore: Xa, - percentOfView: q, - index: Ee, - indexPrevious: xe, - limit: me, - location: tt, - offsetLocation: ut, - previousLocation: xt, - options: r, - resizeHandler: ug(t, l, a, n, L, $, I), - scrollBody: nn, - scrollBounds: cg(me, ut, _t, nn, q), - scrollLooper: mg(Pe, me, ut, [tt, ut, xt, _t]), - scrollProgress: Ya, - scrollSnapList: ye.map(Ya.get), - scrollSnaps: ye, - scrollTarget: yo, - scrollTo: bo, - slideLooper: xg(L, F, Pe, fe, ue, De, ye, ut, n), - slideFocus: Vl, - slidesHandler: _g(t, l, E), - slidesInView: Fl, - slideIndexes: de, - slideRegistry: Za, - slidesToScroll: J, - target: _t, - translate: Pl(L, t) + groupSlides: l + } = a, { + min: i, + max: u + } = o, d = c(); + function c() { + const m = l(r), f = !e || t === "keepSnaps"; + return n.length === 1 ? [r] : f ? m : m.slice(i, u).map((v, g, b) => { + const w = !g, B = Qa(b, g); + if (w) { + const $ = He(b[0]) + 1; + return ls($); + } + if (B) { + const $ = Sn(r) - He(b)[0] + 1; + return ls($, He(b)[0]); + } + return v; + }); + } + return { + slideRegistry: d }; - return wo; } -function kg() { - let e = {}, t; - function n(d) { - t = d; - } - function o(d) { - return e[d] || []; - } - function a(d) { - return o(d).forEach((c) => c(t, d)), u; - } - function r(d, c) { - return e[d] = o(d).concat([c]), u; - } - function l(d, c) { - return e[d] = o(d).filter((p) => p !== c), u; +function nh(e, t, n, o, a) { + const { + reachedAny: r, + removeOffset: l, + constrain: i + } = o; + function u(v) { + return v.concat().sort((g, b) => ge(g) - ge(b))[0]; } - function i() { - e = {}; + function d(v) { + const g = e ? l(v) : i(v), b = t.map((B, $) => ({ + diff: c(B - g, 0), + index: $ + })).sort((B, $) => ge(B.diff) - ge($.diff)), { + index: w + } = b[0]; + return { + index: w, + distance: g + }; } - const u = { - init: n, - emit: a, - off: l, - on: r, - clear: i - }; - return u; -} -const Og = { - align: "center", - axis: "x", - container: null, - slides: null, - containScroll: "trimSnaps", - direction: "ltr", - slidesToScroll: 1, - inViewThreshold: 0, - breakpoints: {}, - dragFree: !1, - dragThreshold: 10, - loop: !1, - skipSnaps: !1, - duration: 25, - startIndex: 0, - active: !0, - watchDrag: !0, - watchResize: !0, - watchSlides: !0, - watchFocus: !0 -}; -function Eg(e) { - function t(r, l) { - return Tl(r, l || {}); + function c(v, g) { + const b = [v, v + n, v - n]; + if (!e) return v; + if (!g) return u(b); + const w = b.filter((B) => Xa(B) === g); + return w.length ? u(w) : He(b) - n; } - function n(r) { - const l = r.breakpoints || {}, i = vn(l).filter((u) => e.matchMedia(u).matches).map((u) => l[u]).reduce((u, d) => t(u, d), {}); - return t(r, i); + function p(v, g) { + const b = t[v] - a.get(), w = c(b, g); + return { + index: v, + distance: w + }; } - function o(r) { - return r.map((l) => vn(l.breakpoints || {})).reduce((l, i) => l.concat(i), []).map(e.matchMedia); + function m(v, g) { + const b = a.get() + v, { + index: w, + distance: B + } = d(b), $ = !e && r(b); + if (!g || $) return { + index: w, + distance: v + }; + const O = t[w] - B, k = v + c(O, 0); + return { + index: w, + distance: k + }; } return { - mergeOptions: t, - optionsAtMedia: n, - optionsMediaQueries: o + byDistance: m, + byIndex: p, + shortcut: c }; } -function Ag(e) { - let t = []; - function n(r, l) { - return t = l.filter(({ - options: i - }) => e.optionsAtMedia(i).active !== !1), t.forEach((i) => i.init(r, e)), l.reduce((i, u) => Object.assign(i, { - [u.name]: u - }), {}); +function oh(e, t, n, o, a, r, l) { + function i(p) { + const m = p.distance, f = p.index !== t.get(); + r.add(m), m && (o.duration() ? e.start() : (e.update(), e.render(1), e.update())), f && (n.set(t.get()), t.set(p.index), l.emit("select")); } - function o() { - t = t.filter((r) => r.destroy()); + function u(p, m) { + const f = a.byDistance(p, m); + i(f); + } + function d(p, m) { + const f = t.clone().set(p), v = a.byIndex(f.get(), m); + i(v); } return { - init: n, - destroy: o + distance: u, + index: d }; } -function Wn(e, t, n) { - const o = e.ownerDocument, a = o.defaultView, r = Eg(a), l = Ag(r), i = gn(), u = kg(), { - mergeOptions: d, - optionsAtMedia: c, - optionsMediaQueries: p - } = r, { - on: m, - off: f, - emit: v - } = u, g = L; - let b = !1, w, B = d(Og, Wn.globalOptions), $ = d(B), E = [], k, P, O; - function I() { - const { - container: de, - slides: H - } = $; - P = (qo(de) ? e.querySelector(de) : de) || e.children[0]; - const _e = qo(H) ? P.querySelectorAll(H) : H; - O = [].slice.call(_e || P.children); - } - function V(de) { - const H = Sg(e, P, O, o, a, de, u); - if (de.loop && !H.slideLooper.canLoop()) { - const ie = Object.assign({}, de, { - loop: !1 - }); - return V(ie); +function ah(e, t, n, o, a, r, l, i) { + const u = { + passive: !0, + capture: !0 + }; + let d = 0; + function c(f) { + if (!i) return; + function v(g) { + if ((/* @__PURE__ */ new Date()).getTime() - d > 10) return; + l.emit("slideFocusStart"), e.scrollLeft = 0; + const B = n.findIndex(($) => $.includes(g)); + Ya(B) && (a.useDuration(0), o.index(B, 0), l.emit("slideFocus")); } - return H; - } - function A(de, H) { - b || (B = d(B, de), $ = c(B), E = H || E, I(), w = V($), p([B, ...E.map(({ - options: ie - }) => ie)]).forEach((ie) => i.add(ie, "change", L)), $.active && (w.translate.to(w.location.get()), w.animation.init(), w.slidesInView.init(), w.slideFocus.init(xe), w.eventHandler.init(xe), w.resizeHandler.init(xe), w.slidesHandler.init(xe), w.options.loop && w.slideLooper.loop(), P.offsetParent && O.length && w.dragHandler.init(xe), k = l.init(xe, E))); - } - function L(de, H) { - const ie = J(); - F(), A(d({ - startIndex: ie - }, de), H), u.emit("reInit"); - } - function F() { - w.dragHandler.destroy(), w.eventStore.clear(), w.translate.clear(), w.slideLooper.clear(), w.resizeHandler.destroy(), w.slidesHandler.destroy(), w.slidesInView.destroy(), w.animation.destroy(), l.destroy(), i.clear(); - } - function q() { - b || (b = !0, i.clear(), F(), u.emit("destroy"), u.clear()); - } - function G(de, H, ie) { - !$.active || b || (w.scrollBody.useBaseFriction().useDuration(H === !0 ? 0 : $.duration), w.scrollTo.index(de, ie || 0)); - } - function Q(de) { - const H = w.index.add(1).get(); - G(H, de, -1); - } - function le(de) { - const H = w.index.add(-1).get(); - G(H, de, 1); - } - function fe() { - return w.index.add(1).get() !== J(); - } - function ue() { - return w.index.add(-1).get() !== J(); + r.add(document, "keydown", p, !1), t.forEach((g, b) => { + r.add(g, "focus", (w) => { + (fo(i) || i(f, w)) && v(b); + }, u); + }); } - function j() { - return w.scrollSnapList; + function p(f) { + f.code === "Tab" && (d = (/* @__PURE__ */ new Date()).getTime()); } - function Y() { - return w.scrollProgress.get(w.offsetLocation.get()); + return { + init: c + }; +} +function on(e) { + let t = e; + function n() { + return t; } - function J() { - return w.index.get(); + function o(u) { + t = l(u); } - function De() { - return w.indexPrevious.get(); + function a(u) { + t += l(u); } - function Ie() { - return w.slidesInView.get(); + function r(u) { + t -= l(u); } - function Pe() { - return w.slidesInView.get(!1); + function l(u) { + return Ya(u) ? u : u.get(); } - function qe() { - return k; + return { + get: n, + set: o, + add: a, + subtract: r + }; +} +function Kl(e, t) { + const n = e.scroll === "x" ? l : i, o = t.style; + let a = null, r = !1; + function l(m) { + return `translate3d(${m}px,0px,0px)`; } - function wt() { - return w; + function i(m) { + return `translate3d(0px,${m}px,0px)`; } - function ye() { - return e; + function u(m) { + if (r) return; + const f = Lg(e.direction(m)); + f !== a && (o.transform = n(f), a = f); } - function me() { - return P; + function d(m) { + r = !m; } - function Ee() { - return O; + function c() { + r || (o.transform = "", t.getAttribute("style") || t.removeAttribute("style")); } - const xe = { - canScrollNext: fe, - canScrollPrev: ue, - containerNode: me, - internalEngine: wt, - destroy: q, - off: f, - on: m, - emit: v, - plugins: qe, - previousScrollSnap: De, - reInit: g, - rootNode: ye, - scrollNext: Q, - scrollPrev: le, - scrollProgress: Y, - scrollSnapList: j, - scrollTo: G, - selectedScrollSnap: J, - slideNodes: Ee, - slidesInView: Ie, - slidesNotInView: Pe + return { + clear: c, + to: u, + toggleActive: d }; - return A(t, n), setTimeout(() => u.emit("init"), 0), xe; } -Wn.globalOptions = void 0; -function Ga(e = {}, t = []) { - const n = $t(e), o = $t(t); - let a = n ? e.value : e, r = o ? t.value : t; - const l = zn(), i = zn(); - function u() { - i.value && i.value.reInit(a, r); +function rh(e, t, n, o, a, r, l, i, u) { + const c = cn(a), p = cn(a).reverse(), m = w().concat(B()); + function f(A, I) { + return A.reduce((V, E) => V - a[E], I); } - return se(() => { - !Qv() || !l.value || (Wn.globalOptions = Ga.globalOptions, i.value = Wn(l.value, a, r)); - }), Xn(() => { - i.value && i.value.destroy(); - }), n && X(e, (d) => { - Ka(a, d) || (a = d, u()); - }), o && X(t, (d) => { - Jv(r, d) || (r = d, u()); - }), [l, i]; -} -Ga.globalOptions = void 0; -const [Tg, Dg] = Hv( - ({ opts: e, orientation: t, plugins: n }, o) => { - const [a, r] = Ga( - { - ...e, - axis: t === "horizontal" ? "x" : "y" - }, - n - ); - function l() { - var p; - (p = r.value) == null || p.scrollPrev(); - } - function i() { - var p; - (p = r.value) == null || p.scrollNext(); - } - const u = T(!1), d = T(!1); - function c(p) { - u.value = (p == null ? void 0 : p.canScrollNext()) || !1, d.value = (p == null ? void 0 : p.canScrollPrev()) || !1; - } - return se(() => { - var p, m, f; - r.value && ((p = r.value) == null || p.on("init", c), (m = r.value) == null || m.on("reInit", c), (f = r.value) == null || f.on("select", c), o("init-api", r.value)); - }), { - carouselRef: a, - carouselApi: r, - canScrollPrev: d, - canScrollNext: u, - scrollPrev: l, - scrollNext: i, - orientation: t - }; + function v(A, I) { + return A.reduce((V, E) => f(V, I) > 0 ? V.concat([E]) : V, []); } -); -function mo() { - const e = Dg(); - if (!e) throw new Error("useCarousel must be used within a "); - return e; -} -const gh = /* @__PURE__ */ x({ - __name: "Carousel", - props: { - opts: {}, - plugins: {}, - orientation: { default: "horizontal" }, - class: {} - }, - emits: ["init-api"], - setup(e, { expose: t, emit: n }) { - const o = e, a = n, { - canScrollNext: r, - canScrollPrev: l, - carouselApi: i, - carouselRef: u, - orientation: d, - scrollNext: c, - scrollPrev: p - } = Tg(o, a); - t({ - canScrollNext: r, - canScrollPrev: l, - carouselApi: i, - carouselRef: u, - orientation: d, - scrollNext: c, - scrollPrev: p + function g(A) { + return r.map((I, V) => ({ + start: I - o[V] + 0.5 + A, + end: I + t - 0.5 + A + })); + } + function b(A, I, V) { + const E = g(I); + return A.map((L) => { + const F = V ? 0 : -n, G = V ? n : 0, q = V ? "end" : "start", Z = E[L][q]; + return { + index: L, + loopPoint: Z, + slideLocation: on(-1), + translate: Kl(e, u[L]), + target: () => i.get() > Z ? F : G + }; }); - function m(f) { - const v = o.orientation === "vertical" ? "ArrowUp" : "ArrowLeft", g = o.orientation === "vertical" ? "ArrowDown" : "ArrowRight"; - if (f.key === v) { - f.preventDefault(), p(); - return; - } - f.key === g && (f.preventDefault(), c()); - } - return (f, v) => (h(), N("div", { - class: ne(s(z)("relative", o.class)), - role: "region", - "aria-roledescription": "carousel", - tabindex: "0", - onKeydown: m - }, [ - _(f.$slots, "default", { - canScrollNext: s(r), - canScrollPrev: s(l), - carouselApi: s(i), - carouselRef: s(u), - orientation: s(d), - scrollNext: s(c), - scrollPrev: s(p) - }) - ], 34)); } -}), hh = /* @__PURE__ */ x({ - inheritAttrs: !1, - __name: "CarouselContent", - props: { - class: {} - }, - setup(e) { - const t = e, { carouselRef: n, orientation: o } = mo(); - return (a, r) => (h(), N("div", { - ref_key: "carouselRef", - ref: n, - class: "overflow-hidden" - }, [ - re("div", D({ - class: s(z)("flex", s(o) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", t.class) - }, a.$attrs), [ - _(a.$slots, "default") - ], 16) - ], 512)); + function w() { + const A = l[0], I = v(p, A); + return b(I, n, !1); } -}), yh = /* @__PURE__ */ x({ - __name: "CarouselItem", - props: { - class: {} - }, - setup(e) { - const t = e, { orientation: n } = mo(); - return (o, a) => (h(), N("div", { - role: "group", - "aria-roledescription": "slide", - class: ne( - s(z)( - "min-w-0 shrink-0 grow-0 basis-full", - s(n) === "horizontal" ? "pl-4" : "pt-4", - t.class - ) - ) - }, [ - _(o.$slots, "default") - ], 2)); + function B() { + const A = t - l[0] - 1, I = v(c, A); + return b(I, -n, !0); } -}), bh = /* @__PURE__ */ x({ - __name: "CarouselPrevious", - props: { - class: {} - }, - setup(e) { - const t = e, { orientation: n, canScrollPrev: o, scrollPrev: a } = mo(); - return (r, l) => (h(), C(s(El), { - disabled: !s(o), - class: ne( - s(z)( - "touch-manipulation absolute size-8 rounded-full p-0", - s(n) === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", - t.class - ) - ), - variant: "outline", - onClick: s(a) - }, { - default: y(() => [ - _(r.$slots, "default", {}, () => [ - R(s(gv), { class: "size-4 text-current" }), - l[0] || (l[0] = re("span", { class: "sr-only" }, "Previous Slide", -1)) - ]) - ]), - _: 3 - }, 8, ["disabled", "class", "onClick"])); + function $() { + return m.every(({ + index: A + }) => { + const I = c.filter((V) => V !== A); + return f(I, t) <= 0.1; + }); } -}), wh = /* @__PURE__ */ x({ - __name: "CarouselNext", - props: { - class: {} - }, - setup(e) { - const t = e, { orientation: n, canScrollNext: o, scrollNext: a } = mo(); - return (r, l) => (h(), C(s(El), { - disabled: !s(o), - class: ne( - s(z)( - "touch-manipulation absolute size-8 rounded-full p-0", - s(n) === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", - t.class - ) - ), - variant: "outline", - onClick: s(a) - }, { - default: y(() => [ - _(r.$slots, "default", {}, () => [ - R(s(hv), { class: "size-4 text-current" }), - l[0] || (l[0] = re("span", { class: "sr-only" }, "Next Slide", -1)) - ]) - ]), - _: 3 - }, 8, ["disabled", "class", "onClick"])); + function O() { + m.forEach((A) => { + const { + target: I, + translate: V, + slideLocation: E + } = A, L = I(); + L !== E.get() && (V.to(L), E.set(L)); + }); } -}); -/** - * @license lucide-vue-next v0.439.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const Pg = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); -/** - * @license lucide-vue-next v0.439.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -var Rn = { - 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" -}; -/** - * @license lucide-vue-next v0.439.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const Ig = ({ size: e, strokeWidth: t = 2, absoluteStrokeWidth: n, color: o, iconNode: a, name: r, class: l, ...i }, { slots: u }) => Oe( - "svg", - { - ...Rn, - width: e || Rn.width, - height: e || Rn.height, - stroke: o || Rn.stroke, - "stroke-width": n ? Number(t) * 24 / Number(e) : t, - class: ["lucide", `lucide-${Pg(r ?? "icon")}`], - ...i - }, - [...a.map((d) => Oe(...d)), ...u.default ? [u.default()] : []] -); -/** - * @license lucide-vue-next v0.439.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const Mg = (e, t) => (n, { slots: o }) => Oe( - Ig, - { - ...n, - iconNode: t, - name: e - }, - o -); -/** - * @license lucide-vue-next v0.439.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */ -const Rg = Mg("CheckIcon", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]); -function qa(e) { - return e ? e.flatMap((t) => t.type === be ? qa(t.children) : [t]) : []; -} -const Xo = x({ - name: "PrimitiveSlot", - inheritAttrs: !1, - setup(e, { attrs: t, slots: n }) { - return () => { - var u, d; - if (!n.default) - return null; - const o = qa(n.default()), a = o.findIndex((c) => c.type !== na); - if (a === -1) - return o; - const r = o[a]; - (u = r.props) == null || delete u.ref; - const l = r.props ? D(t, r.props) : t; - t.class && ((d = r.props) != null && d.class) && delete r.props.class; - const i = Jr(r, l); - for (const c in l) - c.startsWith("on") && (i.props || (i.props = {}), i.props[c] = l[c]); - return o.length === 1 ? i : (o[a] = i, o); - }; + function k() { + m.forEach((A) => A.translate.clear()); } -}), Fg = ["area", "img", "input"], vo = x({ - name: "Primitive", - inheritAttrs: !1, - props: { - asChild: { - type: Boolean, - default: !1 - }, - as: { - type: [String, Object], - default: "div" + return { + canLoop: $, + clear: k, + loop: O, + loopPoints: m + }; +} +function sh(e, t, n) { + let o, a = !1; + function r(u) { + if (!n) return; + function d(c) { + for (const p of c) + if (p.type === "childList") { + u.reInit(), t.emit("slidesChanged"); + break; + } } - }, - setup(e, { attrs: t, slots: n }) { - const o = e.asChild ? "template" : e.as; - return typeof o == "string" && Fg.includes(o) ? () => Oe(o, t) : o !== "template" ? () => Oe(e.as, t, { default: n.default }) : () => Oe(Xo, t, { default: n.default }); + o = new MutationObserver((c) => { + a || (fo(n) || n(u, c)) && d(c); + }), o.observe(e, { + childList: !0 + }); } -}), Vg = /* @__PURE__ */ x({ - __name: "VisuallyHidden", - props: { - feature: { default: "focusable" }, - asChild: { type: Boolean }, - as: { default: "span" } - }, - setup(e) { - return (t, n) => (h(), C(s(vo), { - as: t.as, - "as-child": t.asChild, - "aria-hidden": t.feature === "focusable" ? "true" : void 0, - "data-hidden": t.feature === "fully-hidden" ? "" : void 0, - tabindex: t.feature === "fully-hidden" ? "-1" : void 0, - style: { - // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss - position: "absolute", - border: 0, - width: "1px", - height: "1px", - padding: 0, - margin: "-1px", - overflow: "hidden", - clip: "rect(0, 0, 0, 0)", - clipPath: "inset(50%)", - whiteSpace: "nowrap", - wordWrap: "normal" - } - }, { - default: y(() => [ - _(t.$slots, "default") - ]), - _: 3 - }, 8, ["as", "as-child", "aria-hidden", "data-hidden", "tabindex"])); + function l() { + o && o.disconnect(), a = !0; } -}), Il = typeof window < "u" && typeof document < "u"; -typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope; -const Lg = (e) => typeof e < "u", zg = os, Ng = Il ? window : void 0; -function go(e) { - var t; - const n = os(e); - return (t = n == null ? void 0 : n.$el) != null ? t : n; + return { + init: r, + destroy: l + }; } -function jg(e) { - return JSON.parse(JSON.stringify(e)); +function lh(e, t, n, o) { + const a = {}; + let r = null, l = null, i, u = !1; + function d() { + i = new IntersectionObserver((v) => { + u || (v.forEach((g) => { + const b = t.indexOf(g.target); + a[b] = g; + }), r = null, l = null, n.emit("slidesInView")); + }, { + root: e.parentElement, + threshold: o + }), t.forEach((v) => i.observe(v)); + } + function c() { + i && i.disconnect(), u = !0; + } + function p(v) { + return pn(a).reduce((g, b) => { + const w = parseInt(b), { + isIntersecting: B + } = a[w]; + return (v && B || !v && !B) && g.push(w), g; + }, []); + } + function m(v = !0) { + if (v && r) return r; + if (!v && l) return l; + const g = p(v); + return v && (r = g), v || (l = g), g; + } + return { + init: d, + destroy: c, + get: m + }; } -function Kg(e, t, n, o = {}) { - var a, r, l; +function ih(e, t, n, o, a, r) { const { - clone: i = !1, - passive: u = !1, - eventName: d, - deep: c = !1, - defaultValue: p, - shouldEmit: m - } = o, f = Fe(), v = n || (f == null ? void 0 : f.emit) || ((a = f == null ? void 0 : f.$emit) == null ? void 0 : a.bind(f)) || ((l = (r = f == null ? void 0 : f.proxy) == null ? void 0 : r.$emit) == null ? void 0 : l.bind(f == null ? void 0 : f.proxy)); - let g = d; - g = g || `update:${t.toString()}`; - const b = ($) => i ? typeof i == "function" ? i($) : jg($) : $, w = () => Lg(e[t]) ? b(e[t]) : p, B = ($) => { - m ? m($) && v(g, $) : v(g, $); + measureSize: l, + startEdge: i, + endEdge: u + } = e, d = n[0] && a, c = v(), p = g(), m = n.map(l), f = b(); + function v() { + if (!d) return 0; + const B = n[0]; + return ge(t[i] - B[i]); + } + function g() { + if (!d) return 0; + const B = r.getComputedStyle(He(o)); + return parseFloat(B.getPropertyValue(`margin-${u}`)); + } + function b() { + return n.map((B, $, O) => { + const k = !$, P = Qa(O, $); + return k ? m[$] + c : P ? m[$] + p : O[$ + 1][i] - B[i]; + }).map(ge); + } + return { + slideSizes: m, + slideSizesWithGaps: f, + startGap: c, + endGap: p }; - if (u) { - const $ = w(), E = T($); - let k = !1; - return X( - () => e[t], - (P) => { - k || (k = !0, E.value = b(P), ae(() => k = !1)); - } - ), X( - E, - (P) => { - !k && (P !== e[t] || c) && B(P); - }, - { deep: c } - ), E; - } else - return S({ - get() { - return w(); - }, - set($) { - B($); - } - }); -} -function ho(e, t) { - const n = typeof e == "string" ? `${e}Context` : t, o = Symbol(n); - return [(l) => { - const i = hn(o, l); - if (i || i === null) - return i; - throw new Error( - `Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(e) ? `one of the following components: ${e.join( - ", " - )}` : `\`${e}\``}` - ); - }, (l) => (yn(o, l), l)]; } -function Nr(e) { - return typeof e == "string" ? `'${e}'` : new Hg().serialize(e); +function uh(e, t, n, o, a, r, l, i, u) { + const { + startEdge: d, + endEdge: c, + direction: p + } = e, m = Ya(n); + function f(w, B) { + return cn(w).filter(($) => $ % B === 0).map(($) => w.slice($, $ + B)); + } + function v(w) { + return w.length ? cn(w).reduce((B, $, O) => { + const k = He(B) || 0, P = k === 0, A = $ === Sn(w), I = a[d] - r[k][d], V = a[d] - r[$][c], E = !o && P ? p(l) : 0, L = !o && A ? p(i) : 0, F = ge(V - L - (I + E)); + return O && F > t + u && B.push($), A && B.push(w.length), B; + }, []).map((B, $, O) => { + const k = Math.max(O[$ - 1] || 0); + return w.slice(k, B); + }) : []; + } + function g(w) { + return m ? f(w, n) : v(w); + } + return { + groupSlides: g + }; } -const Hg = /* @__PURE__ */ function() { - var t; - class e { - constructor() { - rr(this, t, /* @__PURE__ */ new Map()); - } - compare(o, a) { - const r = typeof o, l = typeof a; - return r === "string" && l === "string" ? o.localeCompare(a) : r === "number" && l === "number" ? o - a : String.prototype.localeCompare.call(this.serialize(o, !0), this.serialize(a, !0)); - } - serialize(o, a) { - if (o === null) return "null"; - switch (typeof o) { - case "string": - return a ? o : `'${o}'`; - case "bigint": - return `${o}n`; - case "object": - return this.$object(o); - case "function": - return this.$function(o); - } - return String(o); - } - serializeObject(o) { - const a = Object.prototype.toString.call(o); - if (a !== "[object Object]") return this.serializeBuiltInType(a.length < 10 ? `unknown:${a}` : a.slice(8, -1), o); - const r = o.constructor, l = r === Object || r === void 0 ? "" : r.name; - if (l !== "" && globalThis[l] === r) return this.serializeBuiltInType(l, o); - if (typeof o.toJSON == "function") { - const i = o.toJSON(); - return l + (i !== null && typeof i == "object" ? this.$object(i) : `(${this.serialize(i)})`); - } - return this.serializeObjectEntries(l, Object.entries(o)); - } - serializeBuiltInType(o, a) { - const r = this["$" + o]; - if (r) return r.call(this, a); - if (typeof (a == null ? void 0 : a.entries) == "function") return this.serializeObjectEntries(o, a.entries()); - throw new Error(`Cannot serialize ${o}`); - } - serializeObjectEntries(o, a) { - const r = Array.from(a).sort((i, u) => this.compare(i[0], u[0])); - let l = `${o}{`; - for (let i = 0; i < r.length; i++) { - const [u, d] = r[i]; - l += `${this.serialize(u, !0)}:${this.serialize(d)}`, i < r.length - 1 && (l += ","); - } - return l + "}"; - } - $object(o) { - let a = on(this, t).get(o); - return a === void 0 && (on(this, t).set(o, `#${on(this, t).size}`), a = this.serializeObject(o), on(this, t).set(o, a)), a; - } - $function(o) { - const a = Function.prototype.toString.call(o); - return a.slice(-15) === "[native code] }" ? `${o.name || ""}()[native]` : `${o.name}(${o.length})${a.replace(/\s*\n\s*/g, "")}`; - } - $Array(o) { - let a = "["; - for (let r = 0; r < o.length; r++) a += this.serialize(o[r]), r < o.length - 1 && (a += ","); - return a + "]"; - } - $Date(o) { - try { - return `Date(${o.toISOString()})`; - } catch { - return "Date(null)"; - } - } - $ArrayBuffer(o) { - return `ArrayBuffer[${new Uint8Array(o).join(",")}]`; - } - $Set(o) { - return `Set${this.$Array(Array.from(o).sort((a, r) => this.compare(a, r)))}`; +function dh(e, t, n, o, a, r, l) { + const { + align: i, + axis: u, + direction: d, + startIndex: c, + loop: p, + duration: m, + dragFree: f, + dragThreshold: v, + inViewThreshold: g, + slidesToScroll: b, + skipSnaps: w, + containScroll: B, + watchResize: $, + watchSlides: O, + watchDrag: k, + watchFocus: P + } = r, A = 2, I = Ug(), V = I.measure(t), E = n.map(I.measure), L = jg(u, d), F = L.measureSize(V), G = Wg(F), q = zg(i, F), Z = !p && !!B, se = p || !!B, { + slideSizes: pe, + slideSizesWithGaps: ie, + startGap: j, + endGap: Y + } = ih(L, V, E, n, se, a), J = uh(L, F, b, p, V, E, j, Y, A), { + snaps: Te, + snapsAligned: Pe + } = eh(L, q, V, E, J), De = -He(Te) + He(ie), { + snapsContained: qe, + scrollContainLimit: ht + } = Xg(F, De, Pe, B, A), he = Z ? qe : Pe, { + limit: fe + } = Qg(De, he, p), Oe = jl(Sn(he), c, p), we = Oe.clone(), ue = cn(n), H = ({ + dragHandler: Dt, + scrollBody: yo, + scrollBounds: bo, + options: { + loop: kn } - $Map(o) { - return this.serializeObjectEntries("Map", o.entries()); + }) => { + kn || bo.constrain(Dt.pointerDown()), yo.seek(); + }, le = ({ + scrollBody: Dt, + translate: yo, + location: bo, + offsetLocation: kn, + previousLocation: Wl, + scrollLooper: ql, + slideLooper: Gl, + dragHandler: Yl, + animation: Xl, + eventHandler: nr, + scrollBounds: Ql, + options: { + loop: or } - } - t = new WeakMap(); - for (const n of ["Error", "RegExp", "URL"]) e.prototype["$" + n] = function(o) { - return `${n}(${o})`; - }; - for (const n of ["Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array"]) e.prototype["$" + n] = function(o) { - return `${n}[${o.join(",")}]`; - }; - for (const n of ["BigInt64Array", "BigUint64Array"]) e.prototype["$" + n] = function(o) { - return `${n}[${o.join("n,")}${o.length > 0 ? "n" : ""}]`; + }, ar) => { + const rr = Dt.settled(), Zl = !Ql.shouldConstrain(), sr = or ? rr : rr && Zl, lr = sr && !Yl.pointerDown(); + lr && Xl.stop(); + const Jl = bo.get() * ar + Wl.get() * (1 - ar); + kn.set(Jl), or && (ql.loop(Dt.direction()), Gl.loop()), yo.to(kn.get()), lr && nr.emit("settle"), sr || nr.emit("scroll"); + }, xe = Ng(o, a, () => H(ho), (Dt) => le(ho, Dt)), Ae = 0.68, Ge = he[Oe.get()], et = on(Ge), yt = on(Ge), lt = on(Ge), bt = on(Ge), Jt = Gg(et, lt, yt, bt, m, Ae), vo = nh(p, he, De, fe, bt), go = oh(xe, Oe, we, Jt, vo, bt, l), Ja = Jg(fe), er = fn(), Hl = lh(t, n, l, g), { + slideRegistry: tr + } = th(Z, B, he, ht, J, ue), Ul = ah(e, n, tr, go, Jt, er, l, P), ho = { + ownerDocument: o, + ownerWindow: a, + eventHandler: l, + containerRect: V, + slideRects: E, + animation: xe, + axis: L, + dragHandler: Kg(L, e, o, a, bt, Hg(L, a), et, xe, go, Jt, vo, Oe, l, G, f, v, w, Ae, k), + eventStore: er, + percentOfView: G, + index: Oe, + indexPrevious: we, + limit: fe, + location: et, + offsetLocation: lt, + previousLocation: yt, + options: r, + resizeHandler: qg(t, l, a, n, L, $, I), + scrollBody: Jt, + scrollBounds: Yg(fe, lt, bt, Jt, G), + scrollLooper: Zg(De, fe, lt, [et, lt, yt, bt]), + scrollProgress: Ja, + scrollSnapList: he.map(Ja.get), + scrollSnaps: he, + scrollTarget: vo, + scrollTo: go, + slideLooper: rh(L, F, De, pe, ie, Te, he, lt, n), + slideFocus: Ul, + slidesHandler: sh(t, l, O), + slidesInView: Hl, + slideIndexes: ue, + slideRegistry: tr, + slidesToScroll: J, + target: bt, + translate: Kl(L, t) }; - return e; -}(); -function Zo(e, t) { - return e === t || Nr(e) === Nr(t); + return ho; } -function Qo(e) { - return e == null; -} -function jr(e, t) { - return Qo(e) ? !1 : Array.isArray(e) ? e.some((n) => Zo(n, t)) : Zo(e, t); +function ch() { + let e = {}, t; + function n(d) { + t = d; + } + function o(d) { + return e[d] || []; + } + function a(d) { + return o(d).forEach((c) => c(t, d)), u; + } + function r(d, c) { + return e[d] = o(d).concat([c]), u; + } + function l(d, c) { + return e[d] = o(d).filter((p) => p !== c), u; + } + function i() { + e = {}; + } + const u = { + init: n, + emit: a, + off: l, + on: r, + clear: i + }; + return u; } -const [Ug, xh] = ho("ConfigProvider"); -function Ml() { - const e = Fe(), t = T(), n = S(() => { - var l, i; - return ["#text", "#comment"].includes((l = t.value) == null ? void 0 : l.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : go(t); - }), o = Object.assign({}, e.exposed), a = {}; - for (const l in e.props) - Object.defineProperty(a, l, { - enumerable: !0, - configurable: !0, - get: () => e.props[l] - }); - if (Object.keys(o).length > 0) - for (const l in o) - Object.defineProperty(a, l, { - enumerable: !0, - configurable: !0, - get: () => o[l] - }); - Object.defineProperty(a, "$el", { - enumerable: !0, - configurable: !0, - get: () => e.vnode.el - }), e.exposed = a; - function r(l) { - t.value = l, l && (Object.defineProperty(a, "$el", { - enumerable: !0, - configurable: !0, - get: () => l instanceof Element ? l : l.$el - }), e.exposed = a); +const ph = { + align: "center", + axis: "x", + container: null, + slides: null, + containScroll: "trimSnaps", + direction: "ltr", + slidesToScroll: 1, + inViewThreshold: 0, + breakpoints: {}, + dragFree: !1, + dragThreshold: 10, + loop: !1, + skipSnaps: !1, + duration: 25, + startIndex: 0, + active: !0, + watchDrag: !0, + watchResize: !0, + watchSlides: !0, + watchFocus: !0 +}; +function fh(e) { + function t(r, l) { + return Nl(r, l || {}); + } + function n(r) { + const l = r.breakpoints || {}, i = pn(l).filter((u) => e.matchMedia(u).matches).map((u) => l[u]).reduce((u, d) => t(u, d), {}); + return t(r, i); } - return { forwardRef: r, currentRef: t, currentElement: n }; -} -let Wg = 0; -function Gg(e, t = "reka") { - const n = Ug({ useId: void 0 }); - return Ln.useId ? `${t}-${Ln.useId()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++Wg}`; -} -function qg(e, t) { - const n = T(e); function o(r) { - return t[n.value][r] ?? n.value; + return r.map((l) => pn(l.breakpoints || {})).reduce((l, i) => l.concat(i), []).map(e.matchMedia); } return { - state: n, - dispatch: (r) => { - n.value = o(r); - } + mergeOptions: t, + optionsAtMedia: n, + optionsMediaQueries: o }; } -function Yg(e, t) { - var b; - const n = T({}), o = T("none"), a = T(e), r = e.value ? "mounted" : "unmounted"; - let l; - const i = ((b = t.value) == null ? void 0 : b.ownerDocument.defaultView) ?? Ng, { state: u, dispatch: d } = qg(r, { - mounted: { - UNMOUNT: "unmounted", - ANIMATION_OUT: "unmountSuspended" - }, - unmountSuspended: { - MOUNT: "mounted", - ANIMATION_END: "unmounted" - }, - unmounted: { - MOUNT: "mounted" - } - }), c = (w) => { - var B; - if (Il) { - const $ = new CustomEvent(w, { bubbles: !1, cancelable: !1 }); - (B = t.value) == null || B.dispatchEvent($); - } - }; - X( - e, - async (w, B) => { - var E; - const $ = B !== w; - if (await ae(), $) { - const k = o.value, P = Fn(t.value); - w ? (d("MOUNT"), c("enter"), P === "none" && c("after-enter")) : P === "none" || P === "undefined" || ((E = n.value) == null ? void 0 : E.display) === "none" ? (d("UNMOUNT"), c("leave"), c("after-leave")) : B && k !== P ? (d("ANIMATION_OUT"), c("leave")) : (d("UNMOUNT"), c("after-leave")); - } - }, - { immediate: !0 } - ); - const p = (w) => { - const B = Fn(t.value), $ = B.includes( - w.animationName - ), E = u.value === "mounted" ? "enter" : "leave"; - if (w.target === t.value && $ && (c(`after-${E}`), d("ANIMATION_END"), !a.value)) { - const k = t.value.style.animationFillMode; - t.value.style.animationFillMode = "forwards", l = i == null ? void 0 : i.setTimeout(() => { - var P; - ((P = t.value) == null ? void 0 : P.style.animationFillMode) === "forwards" && (t.value.style.animationFillMode = k); - }); - } - w.target === t.value && B === "none" && d("ANIMATION_END"); - }, m = (w) => { - w.target === t.value && (o.value = Fn(t.value)); - }, f = X( - t, - (w, B) => { - w ? (n.value = getComputedStyle(w), w.addEventListener("animationstart", m), w.addEventListener("animationcancel", p), w.addEventListener("animationend", p)) : (d("ANIMATION_END"), l !== void 0 && (i == null || i.clearTimeout(l)), B == null || B.removeEventListener("animationstart", m), B == null || B.removeEventListener("animationcancel", p), B == null || B.removeEventListener("animationend", p)); - }, - { immediate: !0 } - ), v = X(u, () => { - const w = Fn(t.value); - o.value = u.value === "mounted" ? w : "none"; - }); - return ze(() => { - f(), v(); - }), { - isPresent: S( - () => ["mounted", "unmountSuspended"].includes(u.value) - ) +function mh(e) { + let t = []; + function n(r, l) { + return t = l.filter(({ + options: i + }) => e.optionsAtMedia(i).active !== !1), t.forEach((i) => i.init(r, e)), l.reduce((i, u) => Object.assign(i, { + [u.name]: u + }), {}); + } + function o() { + t = t.filter((r) => r.destroy()); + } + return { + init: n, + destroy: o }; } -function Fn(e) { - return e && getComputedStyle(e).animationName || "none"; -} -const Xg = x({ - name: "Presence", - props: { - present: { - type: Boolean, - required: !0 - }, - forceMount: { - type: Boolean - } - }, - slots: {}, - setup(e, { slots: t, expose: n }) { - var d; - const { present: o, forceMount: a } = pe(e), r = T(), { isPresent: l } = Yg(o, r); - n({ present: l }); - let i = t.default({ present: l.value }); - i = qa(i || []); - const u = Fe(); - if (i && (i == null ? void 0 : i.length) > 1) { - const c = (d = u == null ? void 0 : u.parent) != null && d.type.name ? `<${u.parent.type.name} />` : "component"; - throw new Error( - [ - `Detected an invalid children for \`${c}\` for \`Presence\` component.`, - "", - "Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.", - "You can apply a few solutions:", - [ - "Provide a single child element so that `presence` directive attach correctly.", - "Ensure the first child is an actual element instead of a raw text node or comment node." - ].map((p) => ` - ${p}`).join(` -`) - ].join(` -`) - ); +function Wn(e, t, n) { + const o = e.ownerDocument, a = o.defaultView, r = fh(a), l = mh(r), i = fn(), u = ch(), { + mergeOptions: d, + optionsAtMedia: c, + optionsMediaQueries: p + } = r, { + on: m, + off: f, + emit: v + } = u, g = L; + let b = !1, w, B = d(ph, Wn.globalOptions), $ = d(B), O = [], k, P, A; + function I() { + const { + container: ue, + slides: H + } = $; + P = (aa(ue) ? e.querySelector(ue) : ue) || e.children[0]; + const xe = aa(H) ? P.querySelectorAll(H) : H; + A = [].slice.call(xe || P.children); + } + function V(ue) { + const H = dh(e, P, A, o, a, ue, u); + if (ue.loop && !H.slideLooper.canLoop()) { + const le = Object.assign({}, ue, { + loop: !1 + }); + return V(le); } - return () => a.value || o.value || l.value ? Oe(t.default({ present: l.value })[0], { - ref: (c) => { - const p = go(c); - return typeof (p == null ? void 0 : p.hasAttribute) > "u" || (p != null && p.hasAttribute("data-reka-popper-content-wrapper") ? r.value = p.firstElementChild : r.value = p), p; - } - }) : null; + return H; } -}); -function Zg(e) { - const t = Fe(), n = t == null ? void 0 : t.type.emits, o = {}; - return n != null && n.length || console.warn( - `No emitted event found. Please check component: ${t == null ? void 0 : t.type.__name}` - ), n == null || n.forEach((a) => { - o[Zr(qn(a))] = (...r) => e(a, ...r); - }), o; -} -function Kr() { - let e = document.activeElement; - if (e == null) - return null; - for (; e != null && e.shadowRoot != null && e.shadowRoot.activeElement != null; ) - e = e.shadowRoot.activeElement; - return e; -} -function Qg(e) { - const t = Fe(), n = Object.keys((t == null ? void 0 : t.type.props) ?? {}).reduce((a, r) => { - const l = (t == null ? void 0 : t.type.props[r]).default; - return l !== void 0 && (a[r] = l), a; - }, {}), o = qr(e); - return S(() => { - const a = {}, r = (t == null ? void 0 : t.vnode.props) ?? {}; - return Object.keys(r).forEach((l) => { - a[qn(l)] = r[l]; - }), Object.keys({ ...n, ...a }).reduce((l, i) => (o.value[i] !== void 0 && (l[i] = o.value[i]), l), {}); - }); -} -function Jg(e, t) { - const n = Qg(e), o = t ? Zg(t) : {}; - return S(() => ({ - ...n.value, - ...o - })); -} -function Jo() { - const e = T(), t = S(() => { - var n, o; - return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : go(e); - }); - return { - primitiveElement: e, - currentElement: t + function E(ue, H) { + b || (B = d(B, ue), $ = c(B), O = H || O, I(), w = V($), p([B, ...O.map(({ + options: le + }) => le)]).forEach((le) => i.add(le, "change", L)), $.active && (w.translate.to(w.location.get()), w.animation.init(), w.slidesInView.init(), w.slideFocus.init(we), w.eventHandler.init(we), w.resizeHandler.init(we), w.slidesHandler.init(we), w.options.loop && w.slideLooper.loop(), P.offsetParent && A.length && w.dragHandler.init(we), k = l.init(we, O))); + } + function L(ue, H) { + const le = J(); + F(), E(d({ + startIndex: le + }, ue), H), u.emit("reInit"); + } + function F() { + w.dragHandler.destroy(), w.eventStore.clear(), w.translate.clear(), w.slideLooper.clear(), w.resizeHandler.destroy(), w.slidesHandler.destroy(), w.slidesInView.destroy(), w.animation.destroy(), l.destroy(), i.clear(); + } + function G() { + b || (b = !0, i.clear(), F(), u.emit("destroy"), u.clear()); + } + function q(ue, H, le) { + !$.active || b || (w.scrollBody.useBaseFriction().useDuration(H === !0 ? 0 : $.duration), w.scrollTo.index(ue, le || 0)); + } + function Z(ue) { + const H = w.index.add(1).get(); + q(H, ue, -1); + } + function se(ue) { + const H = w.index.add(-1).get(); + q(H, ue, 1); + } + function pe() { + return w.index.add(1).get() !== J(); + } + function ie() { + return w.index.add(-1).get() !== J(); + } + function j() { + return w.scrollSnapList; + } + function Y() { + return w.scrollProgress.get(w.offsetLocation.get()); + } + function J() { + return w.index.get(); + } + function Te() { + return w.indexPrevious.get(); + } + function Pe() { + return w.slidesInView.get(); + } + function De() { + return w.slidesInView.get(!1); + } + function qe() { + return k; + } + function ht() { + return w; + } + function he() { + return e; + } + function fe() { + return P; + } + function Oe() { + return A; + } + const we = { + canScrollNext: pe, + canScrollPrev: ie, + containerNode: fe, + internalEngine: ht, + destroy: G, + off: f, + on: m, + emit: v, + plugins: qe, + previousScrollSnap: Te, + reInit: g, + rootNode: he, + scrollNext: Z, + scrollPrev: se, + scrollProgress: Y, + scrollSnapList: j, + scrollTo: q, + selectedScrollSnap: J, + slideNodes: Oe, + slidesInView: Pe, + slidesNotInView: De }; + return E(t, n), setTimeout(() => u.emit("init"), 0), we; } -function e0(e) { - return S(() => { - var t; - return zg(e) ? !!((t = go(e)) != null && t.closest("form")) : !0; - }); -} -const Hr = "data-reka-collection-item"; -function t0(e = {}) { - const { key: t = "", isProvider: n = !1 } = e, o = `${t}CollectionProvider`; - let a; - if (n) { - const c = T(/* @__PURE__ */ new Map()); - a = { - collectionRef: T(), - itemMap: c - }, yn(o, a); - } else - a = hn(o); - const r = (c = !1) => { - const p = a.collectionRef.value; - if (!p) - return []; - const m = Array.from(p.querySelectorAll(`[${Hr}]`)), v = Array.from(a.itemMap.value.values()).sort( - (g, b) => m.indexOf(g.ref) - m.indexOf(b.ref) +Wn.globalOptions = void 0; +function Za(e = {}, t = []) { + const n = xt(e), o = xt(t); + let a = n ? e.value : e, r = o ? t.value : t; + const l = Ln(), i = Ln(); + function u() { + i.value && i.value.reInit(a, r); + } + return re(() => { + !Rg() || !l.value || (Wn.globalOptions = Za.globalOptions, i.value = Wn(l.value, a, r)); + }), Yn(() => { + i.value && i.value.destroy(); + }), n && X(e, (d) => { + Ga(a, d) || (a = d, u()); + }), o && X(t, (d) => { + Fg(r, d) || (r = d, u()); + }), [l, i]; +} +Za.globalOptions = void 0; +const [vh, gh] = Og( + ({ opts: e, orientation: t, plugins: n }, o) => { + const [a, r] = Za( + { + ...e, + axis: t === "horizontal" ? "x" : "y" + }, + n ); - return c ? v : v.filter((g) => g.ref.dataset.disabled !== ""); - }, l = x({ - name: "CollectionSlot", - setup(c, { slots: p }) { - const { primitiveElement: m, currentElement: f } = Jo(); - return X(f, () => { - a.collectionRef.value = f.value; - }), () => Oe(Xo, { ref: m }, p); + function l() { + var p; + (p = r.value) == null || p.scrollPrev(); } - }), i = x({ - name: "CollectionItem", - inheritAttrs: !1, - props: { - value: { - // It accepts any value - validator: () => !0 - } - }, - setup(c, { slots: p, attrs: m }) { - const { primitiveElement: f, currentElement: v } = Jo(); - return we((g) => { - if (v.value) { - const b = es(v.value); - a.itemMap.value.set(b, { ref: v.value, value: c.value }), g(() => a.itemMap.value.delete(b)); - } - }), () => Oe(Xo, { ...m, [Hr]: "", ref: f }, p); + function i() { + var p; + (p = r.value) == null || p.scrollNext(); } - }), u = S(() => Array.from(a.itemMap.value.values())), d = S(() => a.itemMap.value.size); - return { getItems: r, reactiveItems: u, itemMapSize: d, CollectionSlot: l, CollectionItem: i }; -} -const n0 = { - ArrowLeft: "prev", - ArrowUp: "prev", - ArrowRight: "next", - ArrowDown: "next", - PageUp: "first", - Home: "first", - PageDown: "last", - End: "last" -}; -function o0(e, t) { - return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e; -} -function a0(e, t, n) { - const o = o0(e.key, n); - if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o))) - return n0[o]; -} -function r0(e, t = !1) { - const n = Kr(); - for (const o of e) - if (o === n || (o.focus({ preventScroll: t }), Kr() !== n)) - return; -} -function s0(e, t) { - return e.map((n, o) => e[(t + o) % e.length]); + const u = T(!1), d = T(!1); + function c(p) { + u.value = (p == null ? void 0 : p.canScrollNext()) || !1, d.value = (p == null ? void 0 : p.canScrollPrev()) || !1; + } + return re(() => { + var p, m, f; + r.value && ((p = r.value) == null || p.on("init", c), (m = r.value) == null || m.on("reInit", c), (f = r.value) == null || f.on("select", c), o("init-api", r.value)); + }), { + carouselRef: a, + carouselApi: r, + canScrollPrev: d, + canScrollNext: u, + scrollPrev: l, + scrollNext: i, + orientation: t + }; + } +); +function mo() { + const e = gh(); + if (!e) throw new Error("useCarousel must be used within a "); + return e; } -const [l0, _h] = ho("RovingFocusGroup"), Ur = /* @__PURE__ */ x({ - inheritAttrs: !1, - __name: "VisuallyHiddenInputBubble", +const $0 = /* @__PURE__ */ x({ + __name: "Carousel", props: { - name: {}, - value: {}, - checked: { type: Boolean, default: void 0 }, - required: { type: Boolean }, - disabled: { type: Boolean }, - feature: { default: "fully-hidden" } + opts: {}, + plugins: {}, + orientation: { default: "horizontal" }, + class: {} }, - setup(e) { - const t = e, { primitiveElement: n, currentElement: o } = Jo(), a = S(() => t.checked ?? t.value); - return X(a, (r, l) => { - if (!o.value) + emits: ["init-api"], + setup(e, { expose: t, emit: n }) { + const o = e, a = n, { + canScrollNext: r, + canScrollPrev: l, + carouselApi: i, + carouselRef: u, + orientation: d, + scrollNext: c, + scrollPrev: p + } = vh(o, a); + t({ + canScrollNext: r, + canScrollPrev: l, + carouselApi: i, + carouselRef: u, + orientation: d, + scrollNext: c, + scrollPrev: p + }); + function m(f) { + const v = o.orientation === "vertical" ? "ArrowUp" : "ArrowLeft", g = o.orientation === "vertical" ? "ArrowDown" : "ArrowRight"; + if (f.key === v) { + f.preventDefault(), p(); return; - const i = o.value, u = window.HTMLInputElement.prototype, c = Object.getOwnPropertyDescriptor(u, "value").set; - if (c && r !== l) { - const p = new Event("input", { bubbles: !0 }), m = new Event("change", { bubbles: !0 }); - c.call(i, r), i.dispatchEvent(p), i.dispatchEvent(m); } - }), (r, l) => (h(), C(Vg, D({ - ref_key: "primitiveElement", - ref: n - }, { ...t, ...r.$attrs }, { as: "input" }), null, 16)); + f.key === g && (f.preventDefault(), c()); + } + return (f, v) => (h(), N("div", { + class: te(s(z)("relative", o.class)), + role: "region", + "aria-roledescription": "carousel", + tabindex: "0", + onKeydown: m + }, [ + _(f.$slots, "default", { + canScrollNext: s(r), + canScrollPrev: s(l), + carouselApi: s(i), + carouselRef: s(u), + orientation: s(d), + scrollNext: s(c), + scrollPrev: s(p) + }) + ], 34)); } -}), i0 = /* @__PURE__ */ x({ +}), S0 = /* @__PURE__ */ x({ inheritAttrs: !1, - __name: "VisuallyHiddenInput", + __name: "CarouselContent", props: { - name: {}, - value: {}, - checked: { type: Boolean, default: void 0 }, - required: { type: Boolean }, - disabled: { type: Boolean }, - feature: { default: "fully-hidden" } + class: {} }, setup(e) { - const t = e, n = S( - () => typeof t.value == "object" && Array.isArray(t.value) && t.value.length === 0 && t.required - ), o = S(() => typeof t.value == "string" || typeof t.value == "number" || typeof t.value == "boolean" ? [{ name: t.name, value: t.value }] : typeof t.value == "object" && Array.isArray(t.value) ? t.value.flatMap((a, r) => typeof a == "object" ? Object.entries(a).map(([l, i]) => ({ name: `[${t.name}][${r}][${l}]`, value: i })) : { name: `[${t.name}][${r}]`, value: a }) : t.value !== null && typeof t.value == "object" && !Array.isArray(t.value) ? Object.entries(t.value).map(([a, r]) => ({ name: `[${t.name}][${a}]`, value: r })) : []); - return (a, r) => n.value ? (h(), C(Ur, D({ key: a.name }, { ...t, ...a.$attrs }, { - name: a.name, - value: a.value - }), null, 16, ["name", "value"])) : (h(!0), N(be, { key: 1 }, vt(o.value, (l) => (h(), C(Ur, D({ - key: l.name, - ref_for: !0 - }, { ...t, ...a.$attrs }, { - name: l.name, - value: l.value - }), null, 16, ["name", "value"]))), 128)); + const t = e, { carouselRef: n, orientation: o } = mo(); + return (a, r) => (h(), N("div", { + ref_key: "carouselRef", + ref: n, + class: "overflow-hidden" + }, [ + ae("div", D({ + class: s(z)("flex", s(o) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", t.class) + }, a.$attrs), [ + _(a.$slots, "default") + ], 16) + ], 512)); } -}), [u0, Ch] = ho("CheckboxGroupRoot"); -function Gn(e) { - return e === "indeterminate"; -} -function Rl(e) { - return Gn(e) ? "indeterminate" : e ? "checked" : "unchecked"; -} -const d0 = /* @__PURE__ */ x({ - __name: "RovingFocusItem", +}), k0 = /* @__PURE__ */ x({ + __name: "CarouselItem", props: { - tabStopId: {}, - focusable: { type: Boolean, default: !0 }, - active: { type: Boolean }, - allowShiftKey: { type: Boolean }, - asChild: { type: Boolean }, - as: { default: "span" } + class: {} }, setup(e) { - const t = e, n = l0(), o = Gg(), a = S(() => t.tabStopId || o), r = S( - () => n.currentTabStopId.value === a.value - ), { getItems: l, CollectionItem: i } = t0(); - se(() => { - t.focusable && n.onFocusableItemAdd(); - }), ze(() => { - t.focusable && n.onFocusableItemRemove(); - }); - function u(d) { - if (d.key === "Tab" && d.shiftKey) { - n.onItemShiftTab(); - return; - } - if (d.target !== d.currentTarget) - return; - const c = a0( - d, - n.orientation.value, - n.dir.value - ); - if (c !== void 0) { - if (d.metaKey || d.ctrlKey || d.altKey || !t.allowShiftKey && d.shiftKey) - return; - d.preventDefault(); - let p = [...l().map((m) => m.ref).filter((m) => m.dataset.disabled !== "")]; - if (c === "last") - p.reverse(); - else if (c === "prev" || c === "next") { - c === "prev" && p.reverse(); - const m = p.indexOf( - d.currentTarget - ); - p = n.loop.value ? s0(p, m + 1) : p.slice(m + 1); - } - ae(() => r0(p)); - } - } - return (d, c) => (h(), C(s(i), null, { - default: y(() => [ - R(s(vo), { - tabindex: r.value ? 0 : -1, - "data-orientation": s(n).orientation.value, - "data-active": d.active ? "" : void 0, - "data-disabled": d.focusable ? void 0 : "", - as: d.as, - "as-child": d.asChild, - onMousedown: c[0] || (c[0] = (p) => { - d.focusable ? s(n).onItemFocus(a.value) : p.preventDefault(); - }), - onFocus: c[1] || (c[1] = (p) => s(n).onItemFocus(a.value)), - onKeydown: u - }, { - default: y(() => [ - _(d.$slots, "default") - ]), - _: 3 - }, 8, ["tabindex", "data-orientation", "data-active", "data-disabled", "as", "as-child"]) - ]), - _: 3 - })); + const t = e, { orientation: n } = mo(); + return (o, a) => (h(), N("div", { + role: "group", + "aria-roledescription": "slide", + class: te( + s(z)( + "min-w-0 shrink-0 grow-0 basis-full", + s(n) === "horizontal" ? "pl-4" : "pt-4", + t.class + ) + ) + }, [ + _(o.$slots, "default") + ], 2)); } -}), [c0, p0] = ho("CheckboxRoot"), f0 = /* @__PURE__ */ x({ - inheritAttrs: !1, - __name: "CheckboxRoot", +}), O0 = /* @__PURE__ */ x({ + __name: "CarouselPrevious", props: { - defaultValue: { type: [Boolean, String] }, - modelValue: { type: [Boolean, String, null], default: void 0 }, - disabled: { type: Boolean }, - value: { default: "on" }, - id: {}, - asChild: { type: Boolean }, - as: { default: "button" }, - name: {}, - required: { type: Boolean } + class: {} }, - emits: ["update:modelValue"], - setup(e, { emit: t }) { - const n = e, o = t, { forwardRef: a, currentElement: r } = Ml(), l = u0(null), i = Kg(n, "modelValue", o, { - defaultValue: n.defaultValue, - passive: n.modelValue === void 0 - }), u = S(() => (l == null ? void 0 : l.disabled.value) || n.disabled), d = S(() => Qo(l == null ? void 0 : l.modelValue.value) ? i.value === "indeterminate" ? "indeterminate" : i.value : jr(l.modelValue.value, n.value)); - function c() { - if (Qo(l == null ? void 0 : l.modelValue.value)) - i.value = Gn(i.value) ? !0 : !i.value; - else { - const f = [...l.modelValue.value || []]; - if (jr(f, n.value)) { - const v = f.findIndex((g) => Zo(g, n.value)); - f.splice(v, 1); - } else - f.push(n.value); - l.modelValue.value = f; - } - } - const p = e0(r), m = S(() => { - var f; - return n.id && r.value ? (f = document.querySelector(`[for="${n.id}"]`)) == null ? void 0 : f.innerText : void 0; - }); - return p0({ - disabled: u, - state: d - }), (f, v) => { - var g, b; - return h(), C(Ve((g = s(l)) != null && g.rovingFocus.value ? s(d0) : s(vo)), D(f.$attrs, { - id: f.id, - ref: s(a), - role: "checkbox", - "as-child": f.asChild, - as: f.as, - type: f.as === "button" ? "button" : void 0, - "aria-checked": s(Gn)(d.value) ? "mixed" : d.value, - "aria-required": f.required, - "aria-label": f.$attrs["aria-label"] || m.value, - "data-state": s(Rl)(d.value), - "data-disabled": u.value ? "" : void 0, - disabled: u.value, - focusable: (b = s(l)) != null && b.rovingFocus.value ? !u.value : void 0, - onKeydown: mt(Be(() => { - }, ["prevent"]), ["enter"]), - onClick: c - }), { - default: y(() => [ - _(f.$slots, "default", { - modelValue: s(i), - state: d.value - }), - s(p) && f.name && !s(l) ? (h(), C(s(i0), { - key: 0, - type: "checkbox", - checked: !!d.value, - name: f.name, - value: f.value, - disabled: u.value, - required: f.required - }, null, 8, ["checked", "name", "value", "disabled", "required"])) : ce("", !0) - ]), - _: 3 - }, 16, ["id", "as-child", "as", "type", "aria-checked", "aria-required", "aria-label", "data-state", "data-disabled", "disabled", "focusable", "onKeydown"]); - }; + setup(e) { + const t = e, { orientation: n, canScrollPrev: o, scrollPrev: a } = mo(); + return (r, l) => (h(), C(s(Rl), { + disabled: !s(o), + class: te( + s(z)( + "touch-manipulation absolute size-8 rounded-full p-0", + s(n) === "horizontal" ? "-left-12 top-1/2 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90", + t.class + ) + ), + variant: "outline", + onClick: s(a) + }, { + default: y(() => [ + _(r.$slots, "default", {}, () => [ + M(s(hv), { class: "size-4 text-current" }), + l[0] || (l[0] = ae("span", { class: "sr-only" }, "Previous Slide", -1)) + ]) + ]), + _: 3 + }, 8, ["disabled", "class", "onClick"])); } -}), m0 = /* @__PURE__ */ x({ - __name: "CheckboxIndicator", +}), A0 = /* @__PURE__ */ x({ + __name: "CarouselNext", props: { - forceMount: { type: Boolean }, - asChild: { type: Boolean }, - as: { default: "span" } + class: {} }, setup(e) { - const { forwardRef: t } = Ml(), n = c0(); - return (o, a) => (h(), C(s(Xg), { - present: o.forceMount || s(Gn)(s(n).state.value) || s(n).state.value === !0 + const t = e, { orientation: n, canScrollNext: o, scrollNext: a } = mo(); + return (r, l) => (h(), C(s(Rl), { + disabled: !s(o), + class: te( + s(z)( + "touch-manipulation absolute size-8 rounded-full p-0", + s(n) === "horizontal" ? "-right-12 top-1/2 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90", + t.class + ) + ), + variant: "outline", + onClick: s(a) }, { default: y(() => [ - R(s(vo), D({ - ref: s(t), - "data-state": s(Rl)(s(n).state.value), - "data-disabled": s(n).disabled.value ? "" : void 0, - style: { pointerEvents: "none" }, - "as-child": o.asChild, - as: o.as - }, o.$attrs), { - default: y(() => [ - _(o.$slots, "default") - ]), - _: 3 - }, 16, ["data-state", "data-disabled", "as-child", "as"]) + _(r.$slots, "default", {}, () => [ + M(s(yv), { class: "size-4 text-current" }), + l[0] || (l[0] = ae("span", { class: "sr-only" }, "Next Slide", -1)) + ]) ]), _: 3 - }, 8, ["present"])); + }, 8, ["disabled", "class", "onClick"])); } -}), Bh = /* @__PURE__ */ x({ +}); +/** + * @license lucide-vue-next v0.439.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +const hh = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(); +/** + * @license lucide-vue-next v0.439.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +var Rn = { + 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" +}; +/** + * @license lucide-vue-next v0.439.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +const yh = ({ size: e, strokeWidth: t = 2, absoluteStrokeWidth: n, color: o, iconNode: a, name: r, class: l, ...i }, { slots: u }) => ke( + "svg", + { + ...Rn, + width: e || Rn.width, + height: e || Rn.height, + stroke: o || Rn.stroke, + "stroke-width": n ? Number(t) * 24 / Number(e) : t, + class: ["lucide", `lucide-${hh(r ?? "icon")}`], + ...i + }, + [...a.map((d) => ke(...d)), ...u.default ? [u.default()] : []] +); +/** + * @license lucide-vue-next v0.439.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +const bh = (e, t) => (n, { slots: o }) => ke( + yh, + { + ...n, + iconNode: t, + name: e + }, + o +); +/** + * @license lucide-vue-next v0.439.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */ +const wh = bh("CheckIcon", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]), E0 = /* @__PURE__ */ x({ __name: "Checkbox", props: { defaultValue: { type: [Boolean, String] }, @@ -17019,18 +17086,18 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Jg(a, o); - return (l, i) => (h(), C(s(f0), D(s(r), { + }), r = tg(a, o); + return (l, i) => (h(), C(s(wg), D(s(r), { class: s(z)( "peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground", n.class ) }), { default: y(() => [ - R(s(m0), { class: "flex h-full w-full items-center justify-center text-current" }, { + M(s(xg), { class: "flex h-full w-full items-center justify-center text-current" }, { default: y(() => [ _(l.$slots, "default", {}, () => [ - R(s(Rg), { class: "h-4 w-4" }) + M(s(wh), { class: "h-4 w-4" }) ]) ]), _: 3 @@ -17039,7 +17106,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), v0 = /* @__PURE__ */ x({ +}), xh = /* @__PURE__ */ x({ __name: "Command", props: { modelValue: { default: "" }, @@ -17065,8 +17132,8 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(dc), D(s(r), { + }), r = Q(a, o); + return (l, i) => (h(), C(s(cc), D(s(r), { class: s(z)( "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", n.class @@ -17078,7 +17145,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), g0 = /* @__PURE__ */ x({ +}), _h = /* @__PURE__ */ x({ __name: "Dialog", props: { open: { type: Boolean }, @@ -17087,15 +17154,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(xa), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s($a), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), $h = /* @__PURE__ */ x({ +}), T0 = /* @__PURE__ */ x({ __name: "DialogClose", props: { asChild: { type: Boolean }, @@ -17103,14 +17170,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(Tt), U(W(t)), { + return (n, o) => (h(), C(s(kt), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Sh = /* @__PURE__ */ x({ +}), D0 = /* @__PURE__ */ x({ __name: "DialogTrigger", props: { asChild: { type: Boolean }, @@ -17118,14 +17185,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(_a), U(W(t)), { + return (n, o) => (h(), C(s(Sa), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), kh = /* @__PURE__ */ x({ +}), P0 = /* @__PURE__ */ x({ __name: "DialogHeader", props: { class: {} @@ -17133,12 +17200,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("div", { - class: ne(s(z)("flex flex-col gap-y-1.5 text-center sm:text-left", t.class)) + class: te(s(z)("flex flex-col gap-y-1.5 text-center sm:text-left", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), Oh = /* @__PURE__ */ x({ +}), I0 = /* @__PURE__ */ x({ __name: "DialogTitle", props: { asChild: { type: Boolean }, @@ -17149,8 +17216,8 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(ka), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(Ta), D(s(o), { class: s(z)("text-lg font-semibold leading-none tracking-tight", t.class) }), { default: y(() => [ @@ -17159,7 +17226,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), Eh = /* @__PURE__ */ x({ +}), M0 = /* @__PURE__ */ x({ __name: "DialogDescription", props: { asChild: { type: Boolean }, @@ -17170,8 +17237,8 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(Oa), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(Da), D(s(o), { class: s(z)("text-sm text-muted-foreground", t.class) }), { default: y(() => [ @@ -17180,7 +17247,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), h0 = /* @__PURE__ */ x({ +}), Ch = /* @__PURE__ */ x({ __name: "DialogContent", props: { forceMount: { type: Boolean }, @@ -17195,11 +17262,11 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(Ca), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(ka), null, { default: y(() => [ - R(s(so), { 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" }), - R(s(ro), D(s(r), { + M(s(ro), { 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" }), + M(s(ao), D(s(r), { class: s(z)( "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-lg 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 @@ -17207,13 +17274,13 @@ const d0 = /* @__PURE__ */ x({ }), { default: y(() => [ _(l.$slots, "default"), - R(s(Tt), { + M(s(kt), { 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", onClick: i[0] || (i[0] = (u) => o("close", u)) }, { default: y(() => [ - R(s(po), { class: "size-4" }), - i[1] || (i[1] = re("span", { class: "sr-only" }, "Close", -1)) + M(s(co), { class: "size-4" }), + i[1] || (i[1] = ae("span", { class: "sr-only" }, "Close", -1)) ]), _: 1, __: [1] @@ -17225,7 +17292,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 })); } -}), Ah = /* @__PURE__ */ x({ +}), R0 = /* @__PURE__ */ x({ __name: "DialogScrollContent", props: { forceMount: { type: Boolean }, @@ -17240,12 +17307,12 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(Ca), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(ka), null, { default: y(() => [ - R(s(so), { class: "fixed inset-0 z-50 grid place-items-center overflow-y-auto 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" }, { + M(s(ro), { class: "fixed inset-0 z-50 grid place-items-center overflow-y-auto 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" }, { default: y(() => [ - R(s(ro), D({ + M(s(ao), D({ class: s(z)( "relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full", n.class @@ -17258,10 +17325,10 @@ const d0 = /* @__PURE__ */ x({ }), { default: y(() => [ _(l.$slots, "default"), - R(s(Tt), { class: "absolute right-4 top-4 rounded-md p-0.5 transition-colors hover:bg-secondary" }, { + M(s(kt), { class: "absolute right-4 top-4 rounded-md p-0.5 transition-colors hover:bg-secondary" }, { default: y(() => [ - R(s(po), { class: "h-4 w-4" }), - i[1] || (i[1] = re("span", { class: "sr-only" }, "Close", -1)) + M(s(co), { class: "h-4 w-4" }), + i[1] || (i[1] = ae("span", { class: "sr-only" }, "Close", -1)) ]), _: 1, __: [1] @@ -17276,7 +17343,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 })); } -}), Th = /* @__PURE__ */ x({ +}), F0 = /* @__PURE__ */ x({ __name: "DialogFooter", props: { class: {} @@ -17284,12 +17351,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("div", { - class: ne(s(z)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", t.class)) + class: te(s(z)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), Dh = /* @__PURE__ */ x({ +}), V0 = /* @__PURE__ */ x({ __name: "CommandDialog", props: { open: { type: Boolean }, @@ -17298,12 +17365,12 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(g0), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(_h), U(W(s(a))), { default: y(() => [ - R(s(h0), { class: "overflow-hidden p-0 shadow-lg" }, { + M(s(Ch), { class: "overflow-hidden p-0 shadow-lg" }, { default: y(() => [ - R(v0, { 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-group]]:px-2 [&_[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" }, { + M(xh, { 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-group]]:px-2 [&_[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: y(() => [ _(r.$slots, "default") ]), @@ -17316,7 +17383,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16)); } -}), Ph = /* @__PURE__ */ x({ +}), L0 = /* @__PURE__ */ x({ __name: "CommandEmpty", props: { asChild: { type: Boolean }, @@ -17328,7 +17395,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(yc), D(n.value, { + return (o, a) => (h(), C(s(bc), D(n.value, { class: s(z)("py-6 text-center text-sm", t.class) }), { default: y(() => [ @@ -17337,7 +17404,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), Ih = /* @__PURE__ */ x({ +}), z0 = /* @__PURE__ */ x({ __name: "CommandGroup", props: { asChild: { type: Boolean }, @@ -17350,31 +17417,31 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(fc), D(n.value, { + return (o, a) => (h(), C(s(mc), D(n.value, { class: s(z)( "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: y(() => [ - o.heading ? (h(), C(s(mc), { + o.heading ? (h(), C(s(vc), { key: 0, class: "px-2 py-1.5 text-xs font-medium text-muted-foreground" }, { default: y(() => [ - ke(Te(o.heading), 1) + Se(Ee(o.heading), 1) ]), _: 1 - })) : ce("", !0), + })) : de("", !0), _(o.$slots, "default") ]), _: 3 }, 16, ["class"])); } -}), y0 = { +}), Bh = { class: "flex items-center border-b px-3", "cmdk-input-wrapper": "" -}, Mh = /* @__PURE__ */ x({ +}, N0 = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "CommandInput", props: { @@ -17389,10 +17456,10 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), N("div", y0, [ - R(s(_v), { class: "mr-2 h-4 w-4 shrink-0 opacity-50" }), - R(s(cc), D({ ...s(o), ...a.$attrs }, { + }), o = $e(n); + return (a, r) => (h(), N("div", Bh, [ + M(s(Cv), { class: "mr-2 h-4 w-4 shrink-0 opacity-50" }), + M(s(pc), D({ ...s(o), ...a.$attrs }, { "auto-focus": "", class: s(z)( "flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", @@ -17401,7 +17468,7 @@ const d0 = /* @__PURE__ */ x({ }), null, 16, ["class"]) ])); } -}), Rh = /* @__PURE__ */ x({ +}), j0 = /* @__PURE__ */ x({ __name: "CommandItem", props: { value: {}, @@ -17415,8 +17482,8 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(_c), D(s(r), { + }), r = Q(a, o); + return (l, i) => (h(), C(s(Cc), D(s(r), { class: s(z)( "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 @@ -17428,7 +17495,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), b0 = { role: "presentation" }, Fh = /* @__PURE__ */ x({ +}), $h = { role: "presentation" }, K0 = /* @__PURE__ */ x({ __name: "CommandList", props: { forceMount: { type: Boolean }, @@ -17457,19 +17524,19 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(hc), D(s(r), { + }), r = Q(a, o); + return (l, i) => (h(), C(s(yc), D(s(r), { class: s(z)("max-h-[300px] overflow-y-auto overflow-x-hidden", n.class) }), { default: y(() => [ - re("div", b0, [ + ae("div", $h, [ _(l.$slots, "default") ]) ]), _: 3 }, 16, ["class"])); } -}), Vh = /* @__PURE__ */ x({ +}), H0 = /* @__PURE__ */ x({ __name: "CommandSeparator", props: { asChild: { type: Boolean }, @@ -17481,7 +17548,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Cc), D(n.value, { + return (o, a) => (h(), C(s(Bc), D(n.value, { class: s(z)("-mx-1 h-px bg-border", t.class) }), { default: y(() => [ @@ -17490,7 +17557,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), Lh = /* @__PURE__ */ x({ +}), U0 = /* @__PURE__ */ x({ __name: "CommandShortcut", props: { class: {} @@ -17498,12 +17565,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("span", { - class: ne(s(z)("ml-auto text-xs tracking-widest text-muted-foreground", t.class)) + class: te(s(z)("ml-auto text-xs tracking-widest text-muted-foreground", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), zh = /* @__PURE__ */ x({ +}), W0 = /* @__PURE__ */ x({ __name: "DropdownMenu", props: { defaultOpen: { type: Boolean }, @@ -17513,15 +17580,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(np), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(op), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), Nh = /* @__PURE__ */ x({ +}), q0 = /* @__PURE__ */ x({ __name: "DropdownMenuTrigger", props: { disabled: { type: Boolean }, @@ -17529,15 +17596,15 @@ const d0 = /* @__PURE__ */ x({ as: {} }, setup(e) { - const n = Se(e); - return (o, a) => (h(), C(s(op), D({ class: "outline-none" }, s(n)), { + const n = $e(e); + return (o, a) => (h(), C(s(ap), D({ class: "outline-none" }, s(n)), { default: y(() => [ _(o.$slots, "default") ]), _: 3 }, 16)); } -}), jh = /* @__PURE__ */ x({ +}), G0 = /* @__PURE__ */ x({ __name: "DropdownMenuContent", props: { forceMount: { type: Boolean }, @@ -17563,10 +17630,10 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(ap), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(rp), null, { default: y(() => [ - R(s(rp), D(s(r), { + M(s(sp), D(s(r), { class: s(z)( "z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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", n.class @@ -17581,7 +17648,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 })); } -}), Kh = /* @__PURE__ */ x({ +}), Y0 = /* @__PURE__ */ x({ __name: "DropdownMenuGroup", props: { asChild: { type: Boolean }, @@ -17589,14 +17656,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(lp), U(W(t)), { + return (n, o) => (h(), C(s(ip), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), Hh = /* @__PURE__ */ x({ +}), X0 = /* @__PURE__ */ x({ __name: "DropdownMenuRadioGroup", props: { modelValue: {}, @@ -17605,15 +17672,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(cp), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(pp), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), Uh = /* @__PURE__ */ x({ +}), Q0 = /* @__PURE__ */ x({ __name: "DropdownMenuItem", props: { disabled: { type: Boolean }, @@ -17627,8 +17694,8 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(sp), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(lp), D(s(o), { class: s(z)( "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", a.inset && "pl-8", @@ -17641,7 +17708,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), w0 = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, Wh = /* @__PURE__ */ x({ +}), Sh = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, Z0 = /* @__PURE__ */ x({ __name: "DropdownMenuCheckboxItem", props: { checked: { type: [Boolean, String] }, @@ -17656,18 +17723,18 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(up), D(s(r), { + }), r = Q(a, o); + return (l, i) => (h(), C(s(dp), D(s(r), { class: s(z)( "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 ) }), { default: y(() => [ - re("span", w0, [ - R(s(Qs), null, { + ae("span", Sh, [ + M(s(rl), null, { default: y(() => [ - R(s(kl), { class: "h-4 w-4" }) + M(s(Il), { class: "h-4 w-4" }) ]), _: 1 }) @@ -17677,7 +17744,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), x0 = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, Gh = /* @__PURE__ */ x({ +}), kh = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, J0 = /* @__PURE__ */ x({ __name: "DropdownMenuRadioItem", props: { value: {}, @@ -17692,18 +17759,18 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(pp), D(s(r), { + }), r = Q(a, o); + return (l, i) => (h(), C(s(fp), D(s(r), { class: s(z)( "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 ) }), { default: y(() => [ - re("span", x0, [ - R(s(Qs), null, { + ae("span", kh, [ + M(s(rl), null, { default: y(() => [ - R(s(xv), { class: "h-4 w-4 fill-current" }) + M(s(_v), { class: "h-4 w-4 fill-current" }) ]), _: 1 }) @@ -17713,7 +17780,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), qh = /* @__PURE__ */ x({ +}), ey = /* @__PURE__ */ x({ __name: "DropdownMenuShortcut", props: { class: {} @@ -17721,12 +17788,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("span", { - class: ne(s(z)("ml-auto text-xs tracking-widest opacity-60", t.class)) + class: te(s(z)("ml-auto text-xs tracking-widest opacity-60", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), Yh = /* @__PURE__ */ x({ +}), ty = /* @__PURE__ */ x({ __name: "DropdownMenuSeparator", props: { asChild: { type: Boolean }, @@ -17738,11 +17805,11 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(ip), D(n.value, { + return (o, a) => (h(), C(s(up), D(n.value, { class: s(z)("-mx-1 my-1 h-px bg-muted", t.class) }), null, 16, ["class"])); } -}), Xh = /* @__PURE__ */ x({ +}), ny = /* @__PURE__ */ x({ __name: "DropdownMenuLabel", props: { asChild: { type: Boolean }, @@ -17754,8 +17821,8 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(dp), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(cp), D(s(o), { class: s(z)("px-2 py-1.5 text-sm font-semibold", a.inset && "pl-8", t.class) }), { default: y(() => [ @@ -17764,7 +17831,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), Zh = /* @__PURE__ */ x({ +}), oy = /* @__PURE__ */ x({ __name: "DropdownMenuSub", props: { defaultOpen: { type: Boolean }, @@ -17772,15 +17839,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(fp), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(mp), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), Qh = /* @__PURE__ */ x({ +}), ay = /* @__PURE__ */ x({ __name: "DropdownMenuSubTrigger", props: { disabled: { type: Boolean }, @@ -17793,8 +17860,8 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(vp), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(gp), D(s(o), { class: s(z)( "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.class @@ -17802,12 +17869,12 @@ const d0 = /* @__PURE__ */ x({ }), { default: y(() => [ _(a.$slots, "default"), - R(s(bv), { class: "ml-auto h-4 w-4" }) + M(s(wv), { class: "ml-auto h-4 w-4" }) ]), _: 3 }, 16, ["class"])); } -}), Jh = /* @__PURE__ */ x({ +}), ry = /* @__PURE__ */ x({ __name: "DropdownMenuSubContent", props: { forceMount: { type: Boolean }, @@ -17831,8 +17898,8 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(mp), D(s(r), { + }), r = Q(a, o); + return (l, i) => (h(), C(s(vp), D(s(r), { class: s(z)( "z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-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 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", n.class @@ -17844,7 +17911,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), ey = /* @__PURE__ */ x({ +}), sy = /* @__PURE__ */ x({ __name: "Input", props: { defaultValue: {}, @@ -17853,23 +17920,23 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const n = e, a = Al(n, "modelValue", t, { + const n = e, a = zl(n, "modelValue", t, { passive: !0, defaultValue: n.defaultValue }); - return (r, l) => Ut((h(), N("input", { - "onUpdate:modelValue": l[0] || (l[0] = (i) => $t(a) ? a.value = i : null), - class: ne( + return (r, l) => jt((h(), N("input", { + "onUpdate:modelValue": l[0] || (l[0] = (i) => xt(a) ? a.value = i : null), + class: te( s(z)( "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", n.class ) ) }, null, 2)), [ - [as, s(a)] + [ws, s(a)] ]); } -}), ty = /* @__PURE__ */ x({ +}), ly = /* @__PURE__ */ x({ __name: "Label", props: { for: {}, @@ -17882,7 +17949,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(gp), D(n.value, { + return (o, a) => (h(), C(s(hp), D(n.value, { class: s(z)( "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", t.class @@ -17894,7 +17961,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), ny = /* @__PURE__ */ x({ +}), iy = /* @__PURE__ */ x({ __name: "Popover", props: { defaultOpen: { type: Boolean }, @@ -17903,15 +17970,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(yp), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(bp), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), oy = /* @__PURE__ */ x({ +}), uy = /* @__PURE__ */ x({ __name: "PopoverTrigger", props: { asChild: { type: Boolean }, @@ -17919,14 +17986,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(bp), U(W(t)), { + return (n, o) => (h(), C(s(wp), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), ay = /* @__PURE__ */ x({ +}), dy = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "PopoverContent", props: { @@ -17954,10 +18021,10 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(wp), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(xp), null, { default: y(() => [ - R(s(Cp), D({ ...s(r), ...l.$attrs }, { + M(s(Bp), D({ ...s(r), ...l.$attrs }, { class: s(z)( "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md 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", n.class @@ -17972,7 +18039,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 })); } -}), ry = /* @__PURE__ */ x({ +}), cy = /* @__PURE__ */ x({ __name: "Progress", props: { modelValue: { default: 0 }, @@ -17987,19 +18054,19 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Op), D(n.value, { + return (o, a) => (h(), C(s(Ap), D(n.value, { class: s(z)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20", t.class) }), { default: y(() => [ - R(s(Ep), { + M(s(Ep), { class: "h-full w-full flex-1 bg-primary transition-all", - style: Ot(`transform: translateX(-${100 - (t.modelValue ?? 0)}%);`) + style: Bt(`transform: translateX(-${100 - (t.modelValue ?? 0)}%);`) }, null, 8, ["style"]) ]), _: 1 }, 16, ["class"])); } -}), sy = /* @__PURE__ */ x({ +}), py = /* @__PURE__ */ x({ __name: "Select", props: { open: { type: Boolean }, @@ -18014,15 +18081,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:modelValue", "update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(Mp), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(Rp), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), ly = /* @__PURE__ */ x({ +}), fy = /* @__PURE__ */ x({ __name: "SelectValue", props: { placeholder: {}, @@ -18031,14 +18098,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(rf), U(W(t)), { + return (n, o) => (h(), C(s(sf), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), iy = /* @__PURE__ */ x({ +}), my = /* @__PURE__ */ x({ __name: "SelectTrigger", props: { disabled: { type: Boolean }, @@ -18050,8 +18117,8 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(Vp), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(Lp), D(s(o), { class: s(z)( "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start", t.class @@ -18059,9 +18126,9 @@ const d0 = /* @__PURE__ */ x({ }), { default: y(() => [ _(a.$slots, "default"), - R(s(sf), { "as-child": "" }, { + M(s(lf), { "as-child": "" }, { default: y(() => [ - R(s(yv), { class: "h-4 w-4 shrink-0 opacity-50" }) + M(s(bv), { class: "h-4 w-4 shrink-0 opacity-50" }) ]), _: 1 }) @@ -18069,7 +18136,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), uy = /* @__PURE__ */ x({ +}), vy = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SelectContent", props: { @@ -18097,10 +18164,10 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(Lp), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(zp), null, { default: y(() => [ - R(s(Gp), D({ ...s(r), ...l.$attrs }, { + M(s(Gp), D({ ...s(r), ...l.$attrs }, { class: s(z)( "relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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", l.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", @@ -18108,9 +18175,9 @@ const d0 = /* @__PURE__ */ x({ ) }), { default: y(() => [ - R(s(C0)), - R(s(nf), { - class: ne( + M(s(Ah)), + M(s(of), { + class: te( s(z)( "p-1", l.position === "popper" && "h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]" @@ -18122,7 +18189,7 @@ const d0 = /* @__PURE__ */ x({ ]), _: 3 }, 8, ["class"]), - R(s(B0)) + M(s(Eh)) ]), _: 3 }, 16, ["class"]) @@ -18130,7 +18197,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 })); } -}), dy = /* @__PURE__ */ x({ +}), gy = /* @__PURE__ */ x({ __name: "SelectGroup", props: { asChild: { type: Boolean }, @@ -18142,7 +18209,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(ef), D({ + return (o, a) => (h(), C(s(tf), D({ class: s(z)("p-1 w-full", t.class) }, n.value), { default: y(() => [ @@ -18151,7 +18218,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), _0 = { class: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center" }, cy = /* @__PURE__ */ x({ +}), Oh = { class: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center" }, hy = /* @__PURE__ */ x({ __name: "SelectItem", props: { value: {}, @@ -18165,23 +18232,23 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(Xp), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(Qp), D(s(o), { class: s(z)( "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t.class ) }), { default: y(() => [ - re("span", _0, [ - R(s(Zp), null, { + ae("span", Oh, [ + M(s(Zp), null, { default: y(() => [ - R(s(kl), { class: "h-4 w-4" }) + M(s(Il), { class: "h-4 w-4" }) ]), _: 1 }) ]), - R(s(ol), null, { + M(s(dl), null, { default: y(() => [ _(a.$slots, "default") ]), @@ -18191,7 +18258,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), py = /* @__PURE__ */ x({ +}), yy = /* @__PURE__ */ x({ __name: "SelectItemText", props: { asChild: { type: Boolean }, @@ -18199,14 +18266,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(ol), U(W(t)), { + return (n, o) => (h(), C(s(dl), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), fy = /* @__PURE__ */ x({ +}), by = /* @__PURE__ */ x({ __name: "SelectLabel", props: { for: {}, @@ -18216,8 +18283,8 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(tf), { - class: ne(s(z)("px-2 py-1.5 text-sm font-semibold", t.class)) + return (n, o) => (h(), C(s(nf), { + class: te(s(z)("px-2 py-1.5 text-sm font-semibold", t.class)) }, { default: y(() => [ _(n.$slots, "default") @@ -18225,7 +18292,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 8, ["class"])); } -}), my = /* @__PURE__ */ x({ +}), wy = /* @__PURE__ */ x({ __name: "SelectSeparator", props: { asChild: { type: Boolean }, @@ -18237,11 +18304,11 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(qp), D(n.value, { + return (o, a) => (h(), C(s(Yp), D(n.value, { class: s(z)("-mx-1 my-1 h-px bg-muted", t.class) }), null, 16, ["class"])); } -}), C0 = /* @__PURE__ */ x({ +}), Ah = /* @__PURE__ */ x({ __name: "SelectScrollUpButton", props: { asChild: { type: Boolean }, @@ -18252,19 +18319,19 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(of), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(af), D(s(o), { class: s(z)("flex cursor-default items-center justify-center py-1", t.class) }), { default: y(() => [ _(a.$slots, "default", {}, () => [ - R(s(wv)) + M(s(xv)) ]) ]), _: 3 }, 16, ["class"])); } -}), B0 = /* @__PURE__ */ x({ +}), Eh = /* @__PURE__ */ x({ __name: "SelectScrollDownButton", props: { asChild: { type: Boolean }, @@ -18275,19 +18342,19 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(af), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(rf), D(s(o), { class: s(z)("flex cursor-default items-center justify-center py-1", t.class) }), { default: y(() => [ _(a.$slots, "default", {}, () => [ - R(s(Ol)) + M(s(Ml)) ]) ]), _: 3 }, 16, ["class"])); } -}), vy = /* @__PURE__ */ x({ +}), xy = /* @__PURE__ */ x({ __name: "Sheet", props: { open: { type: Boolean }, @@ -18296,15 +18363,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:open"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(xa), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s($a), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), gy = /* @__PURE__ */ x({ +}), _y = /* @__PURE__ */ x({ __name: "SheetTrigger", props: { asChild: { type: Boolean }, @@ -18312,14 +18379,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(_a), U(W(t)), { + return (n, o) => (h(), C(s(Sa), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), hy = /* @__PURE__ */ x({ +}), Cy = /* @__PURE__ */ x({ __name: "SheetClose", props: { asChild: { type: Boolean }, @@ -18327,14 +18394,14 @@ const d0 = /* @__PURE__ */ x({ }, setup(e) { const t = e; - return (n, o) => (h(), C(s(Tt), U(W(t)), { + return (n, o) => (h(), C(s(kt), U(W(t)), { default: y(() => [ _(n.$slots, "default") ]), _: 3 }, 16)); } -}), yy = /* @__PURE__ */ x({ +}), By = /* @__PURE__ */ x({ inheritAttrs: !1, __name: "SheetContent", props: { @@ -18351,18 +18418,18 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, side: i, ...u } = n; return u; - }), r = Z(a, o); - return (l, i) => (h(), C(s(Ca), null, { + }), r = Q(a, o); + return (l, i) => (h(), C(s(ka), null, { default: y(() => [ - R(s(so), { 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" }), - R(s(ro), D({ - class: s(z)(s($0)({ side: l.side }), n.class) + M(s(ro), { 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" }), + M(s(ao), D({ + class: s(z)(s(Th)({ side: l.side }), n.class) }, { ...s(r), ...l.$attrs }), { default: y(() => [ _(l.$slots, "default"), - R(s(Tt), { 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" }, { + M(s(kt), { 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: y(() => [ - R(s(po), { class: "h-4 w-4" }) + M(s(co), { class: "h-4 w-4" }) ]), _: 1 }) @@ -18373,7 +18440,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 })); } -}), by = /* @__PURE__ */ x({ +}), $y = /* @__PURE__ */ x({ __name: "SheetHeader", props: { class: {} @@ -18381,12 +18448,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("div", { - class: ne(s(z)("flex flex-col gap-y-2 text-center sm:text-left", t.class)) + class: te(s(z)("flex flex-col gap-y-2 text-center sm:text-left", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), wy = /* @__PURE__ */ x({ +}), Sy = /* @__PURE__ */ x({ __name: "SheetTitle", props: { asChild: { type: Boolean }, @@ -18398,7 +18465,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(ka), D({ + return (o, a) => (h(), C(s(Ta), D({ class: s(z)("text-lg font-semibold text-foreground", t.class) }, n.value), { default: y(() => [ @@ -18407,7 +18474,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), xy = /* @__PURE__ */ x({ +}), ky = /* @__PURE__ */ x({ __name: "SheetDescription", props: { asChild: { type: Boolean }, @@ -18419,7 +18486,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Oa), D({ + return (o, a) => (h(), C(s(Da), D({ class: s(z)("text-sm text-muted-foreground", t.class) }, n.value), { default: y(() => [ @@ -18428,7 +18495,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), _y = /* @__PURE__ */ x({ +}), Oy = /* @__PURE__ */ x({ __name: "SheetFooter", props: { class: {} @@ -18436,12 +18503,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("div", { - class: ne(s(z)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", t.class)) + class: te(s(z)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), $0 = Sn( +}), Th = Cn( "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out", { variants: { @@ -18456,7 +18523,7 @@ const d0 = /* @__PURE__ */ x({ side: "right" } } -), Cy = /* @__PURE__ */ x({ +), Ay = /* @__PURE__ */ x({ __name: "Skeleton", props: { class: {} @@ -18464,10 +18531,10 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("div", { - class: ne(s(z)("animate-pulse rounded-md bg-primary/10", t.class)) + class: te(s(z)("animate-pulse rounded-md bg-primary/10", t.class)) }, null, 2)); } -}), By = /* @__PURE__ */ x({ +}), Ey = /* @__PURE__ */ x({ __name: "Slider", props: { name: {}, @@ -18490,18 +18557,18 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); - return (l, i) => (h(), C(s(wf), D({ + }), r = Q(a, o); + return (l, i) => (h(), C(s(xf), D({ class: s(z)("relative flex w-full touch-none select-none items-center", n.class) }, s(r)), { default: y(() => [ - R(s(Cf), { class: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20" }, { + M(s(Bf), { class: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20" }, { default: y(() => [ - R(s(Bf), { class: "absolute h-full bg-primary" }) + M(s($f), { class: "absolute h-full bg-primary" }) ]), _: 1 }), - (h(!0), N(be, null, vt(l.modelValue, (u, d) => (h(), C(s(_f), { + (h(!0), N(ye, null, pt(l.modelValue, (u, d) => (h(), C(s(Cf), { key: d, class: "block h-5 w-5 rounded-full border-2 border-primary bg-background 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" }))), 128)) @@ -18509,7 +18576,7 @@ const d0 = /* @__PURE__ */ x({ _: 1 }, 16, ["class"])); } -}), $y = /* @__PURE__ */ x({ +}), Ty = /* @__PURE__ */ x({ __name: "Switch", props: { defaultChecked: { type: Boolean }, @@ -18528,7 +18595,7 @@ const d0 = /* @__PURE__ */ x({ const n = e, o = t, a = S(() => { const { class: l, ...i } = n; return i; - }), r = Z(a, o); + }), r = Q(a, o); return (l, i) => (h(), C(s(Ef), D(s(r), { class: s(z)( "peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", @@ -18536,8 +18603,8 @@ const d0 = /* @__PURE__ */ x({ ) }), { default: y(() => [ - R(s(Af), { - class: ne( + M(s(Tf), { + class: te( s(z)( "pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0" ) @@ -18547,22 +18614,22 @@ const d0 = /* @__PURE__ */ x({ _: 1 }, 16, ["class"])); } -}), S0 = { class: "relative w-full overflow-auto" }, Sy = /* @__PURE__ */ x({ +}), Dh = { class: "relative w-full overflow-auto" }, Dy = /* @__PURE__ */ x({ __name: "Table", props: { class: {} }, setup(e) { const t = e; - return (n, o) => (h(), N("div", S0, [ - re("table", { - class: ne(s(z)("w-full caption-bottom text-sm", t.class)) + return (n, o) => (h(), N("div", Dh, [ + ae("table", { + class: te(s(z)("w-full caption-bottom text-sm", t.class)) }, [ _(n.$slots, "default") ], 2) ])); } -}), ky = /* @__PURE__ */ x({ +}), Py = /* @__PURE__ */ x({ __name: "TableBody", props: { class: {} @@ -18570,12 +18637,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("tbody", { - class: ne(s(z)("[&_tr:last-child]:border-0", t.class)) + class: te(s(z)("[&_tr:last-child]:border-0", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), k0 = /* @__PURE__ */ x({ +}), Ph = /* @__PURE__ */ x({ __name: "TableCell", props: { class: {} @@ -18583,7 +18650,7 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("td", { - class: ne( + class: te( s(z)( "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5", t.class @@ -18593,7 +18660,7 @@ const d0 = /* @__PURE__ */ x({ _(n.$slots, "default") ], 2)); } -}), Oy = /* @__PURE__ */ x({ +}), Iy = /* @__PURE__ */ x({ __name: "TableHead", props: { class: {} @@ -18601,7 +18668,7 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("th", { - class: ne( + class: te( s(z)( "h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5", t.class @@ -18611,7 +18678,7 @@ const d0 = /* @__PURE__ */ x({ _(n.$slots, "default") ], 2)); } -}), Ey = /* @__PURE__ */ x({ +}), My = /* @__PURE__ */ x({ __name: "TableHeader", props: { class: {} @@ -18619,12 +18686,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("thead", { - class: ne(s(z)("[&_tr]:border-b", t.class)) + class: te(s(z)("[&_tr]:border-b", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), Ay = /* @__PURE__ */ x({ +}), Ry = /* @__PURE__ */ x({ __name: "TableFooter", props: { class: {} @@ -18632,12 +18699,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("tfoot", { - class: ne(s(z)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", t.class)) + class: te(s(z)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), O0 = /* @__PURE__ */ x({ +}), Ih = /* @__PURE__ */ x({ __name: "TableRow", props: { class: {} @@ -18645,14 +18712,14 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("tr", { - class: ne( + class: te( s(z)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", t.class) ) }, [ _(n.$slots, "default") ], 2)); } -}), Ty = /* @__PURE__ */ x({ +}), Fy = /* @__PURE__ */ x({ __name: "TableCaption", props: { class: {} @@ -18660,12 +18727,12 @@ const d0 = /* @__PURE__ */ x({ setup(e) { const t = e; return (n, o) => (h(), N("caption", { - class: ne(s(z)("mt-4 text-sm text-muted-foreground", t.class)) + class: te(s(z)("mt-4 text-sm text-muted-foreground", t.class)) }, [ _(n.$slots, "default") ], 2)); } -}), E0 = { class: "flex items-center justify-center py-10" }, Dy = /* @__PURE__ */ x({ +}), Mh = { class: "flex items-center justify-center py-10" }, Vy = /* @__PURE__ */ x({ __name: "TableEmpty", props: { class: {}, @@ -18676,13 +18743,13 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(O0, null, { + return (o, a) => (h(), C(Ih, null, { default: y(() => [ - R(k0, D({ + M(Ph, D({ class: s(z)("p-4 whitespace-nowrap align-middle text-sm text-foreground", t.class) }, n.value), { default: y(() => [ - re("div", E0, [ + ae("div", Mh, [ _(o.$slots, "default") ]) ]), @@ -18692,7 +18759,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 })); } -}), Py = /* @__PURE__ */ x({ +}), Ly = /* @__PURE__ */ x({ __name: "Tabs", props: { defaultValue: {}, @@ -18705,15 +18772,15 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const a = Z(e, t); - return (r, l) => (h(), C(s(Df), U(W(s(a))), { + const a = Q(e, t); + return (r, l) => (h(), C(s(Pf), U(W(s(a))), { default: y(() => [ _(r.$slots, "default") ]), _: 3 }, 16)); } -}), Iy = /* @__PURE__ */ x({ +}), zy = /* @__PURE__ */ x({ __name: "TabsContent", props: { value: {}, @@ -18727,7 +18794,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(If), D({ + return (o, a) => (h(), C(s(Mf), D({ class: s(z)( "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", t.class @@ -18739,7 +18806,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), My = /* @__PURE__ */ x({ +}), Ny = /* @__PURE__ */ x({ __name: "TabsList", props: { loop: { type: Boolean }, @@ -18752,7 +18819,7 @@ const d0 = /* @__PURE__ */ x({ const { class: o, ...a } = t; return a; }); - return (o, a) => (h(), C(s(Pf), D(n.value, { + return (o, a) => (h(), C(s(If), D(n.value, { class: s(z)( "inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground", t.class @@ -18764,7 +18831,7 @@ const d0 = /* @__PURE__ */ x({ _: 3 }, 16, ["class"])); } -}), A0 = { class: "truncate" }, Ry = /* @__PURE__ */ x({ +}), Rh = { class: "truncate" }, jy = /* @__PURE__ */ x({ __name: "TabsTrigger", props: { value: {}, @@ -18777,22 +18844,22 @@ const d0 = /* @__PURE__ */ x({ const t = e, n = S(() => { const { class: a, ...r } = t; return r; - }), o = Se(n); - return (a, r) => (h(), C(s(Mf), D(s(o), { + }), o = $e(n); + return (a, r) => (h(), C(s(Rf), D(s(o), { class: s(z)( "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 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", t.class ) }), { default: y(() => [ - re("span", A0, [ + ae("span", Rh, [ _(a.$slots, "default") ]) ]), _: 3 }, 16, ["class"])); } -}), Fy = /* @__PURE__ */ x({ +}), Ky = /* @__PURE__ */ x({ __name: "Textarea", props: { class: {}, @@ -18801,161 +18868,161 @@ const d0 = /* @__PURE__ */ x({ }, emits: ["update:modelValue"], setup(e, { emit: t }) { - const n = e, a = Al(n, "modelValue", t, { + const n = e, a = zl(n, "modelValue", t, { passive: !0, defaultValue: n.defaultValue }); - return (r, l) => Ut((h(), N("textarea", { - "onUpdate:modelValue": l[0] || (l[0] = (i) => $t(a) ? a.value = i : null), - class: ne( + return (r, l) => jt((h(), N("textarea", { + "onUpdate:modelValue": l[0] || (l[0] = (i) => xt(a) ? a.value = i : null), + class: te( s(z)( "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", n.class ) ) }, null, 2)), [ - [as, s(a)] + [ws, s(a)] ]); } }); export { - Y0 as Accord, - Av as Accordion, - Tv as AccordionContent, - Dv as AccordionItem, - Pv as AccordionTrigger, - Z0 as AlertDialog, - ah as AlertDialogAction, - rh as AlertDialogCancel, - J0 as AlertDialogContent, - nh as AlertDialogDescription, - oh as AlertDialogFooter, - eh as AlertDialogHeader, - th as AlertDialogTitle, - Q0 as AlertDialogTrigger, - sh as Avatar, - ih as AvatarFallback, - lh as AvatarImage, - uh as Badge, - El as Button, - dh as Card, - ch as CardContent, - ph as CardDescription, - fh as CardFooter, - mh as CardHeader, - vh as CardTitle, - gh as Carousel, - hh as CarouselContent, - yh as CarouselItem, - wh as CarouselNext, - bh as CarouselPrevious, - Bh as Checkbox, - v0 as Command, - Dh as CommandDialog, - Ph as CommandEmpty, - Ih as CommandGroup, - Mh as CommandInput, - Rh as CommandItem, - Fh as CommandList, - Vh as CommandSeparator, - Lh as CommandShortcut, - g0 as Dialog, - $h as DialogClose, - h0 as DialogContent, - Eh as DialogDescription, - Th as DialogFooter, - kh as DialogHeader, - Ah as DialogScrollContent, - Oh as DialogTitle, - Sh as DialogTrigger, - zh as DropdownMenu, - Wh as DropdownMenuCheckboxItem, - jh as DropdownMenuContent, - Kh as DropdownMenuGroup, - Uh as DropdownMenuItem, - Xh as DropdownMenuLabel, - ap as DropdownMenuPortal, - Hh as DropdownMenuRadioGroup, - Gh as DropdownMenuRadioItem, - Yh as DropdownMenuSeparator, - qh as DropdownMenuShortcut, - Zh as DropdownMenuSub, - Jh as DropdownMenuSubContent, - Qh as DropdownMenuSubTrigger, - Nh as DropdownMenuTrigger, - G0 as Flasher, - z0 as Header, - q0 as Heading, - ey as Input, - ty as Label, - N0 as Main, - ny as Popover, - V0 as PopoverAnchor, - ay as PopoverContent, - oy as PopoverTrigger, - ry as Progress, - sy as Select, - uy as SelectContent, - dy as SelectGroup, - cy as SelectItem, - py as SelectItemText, - fy as SelectLabel, - B0 as SelectScrollDownButton, - C0 as SelectScrollUpButton, - my as SelectSeparator, - iy as SelectTrigger, - ly as SelectValue, - vy as Sheet, - hy as SheetClose, - yy as SheetContent, - xy as SheetDescription, - _y as SheetFooter, - by as SheetHeader, - wy as SheetTitle, - gy as SheetTrigger, - Cy as Skeleton, - By as Slider, - $y as Switch, - Sy as Table, - ky as TableBody, - Ty as TableCaption, - k0 as TableCell, - Dy as TableEmpty, - Ay as TableFooter, - Oy as TableHead, - Ey as TableHeader, - O0 as TableRow, - Py as Tabs, - Iy as TabsContent, - My as TabsList, - Ry as TabsTrigger, - Fy as Textarea, - X0 as Tip, - mv as Toast, - W0 as ToastAction, - Cv as ToastClose, - Or as ToastDescription, - $v as ToastProvider, - Bv as ToastTitle, - vv as ToastViewport, - Mm as Toaster, - Iv as Tooltip, - Mv as TooltipContent, - Rv as TooltipProvider, - Fv as TooltipTrigger, - L0 as TwoColumnLayout, - j0 as TwoColumnLayoutSidebar, - K0 as TwoColumnLayoutSidebarDesktop, - H0 as TwoColumnLayoutSidebarMobile, - U0 as TwoColumnLayoutSidebarTrigger, - Vv as avatarVariant, - Lv as badgeVariants, - ja as buttonVariants, - P0 as preset, - $0 as sheetVariants, - Am as toast, - Sv as toastVariants, + t0 as Accord, + Tv as Accordion, + Dv as AccordionContent, + Pv as AccordionItem, + Iv as AccordionTrigger, + o0 as AlertDialog, + d0 as AlertDialogAction, + c0 as AlertDialogCancel, + r0 as AlertDialogContent, + i0 as AlertDialogDescription, + u0 as AlertDialogFooter, + s0 as AlertDialogHeader, + l0 as AlertDialogTitle, + a0 as AlertDialogTrigger, + v0 as Avatar, + g0 as AvatarFallback, + h0 as AvatarImage, + y0 as Badge, + Rl as Button, + b0 as Card, + w0 as CardContent, + x0 as CardDescription, + _0 as CardFooter, + C0 as CardHeader, + B0 as CardTitle, + $0 as Carousel, + S0 as CarouselContent, + k0 as CarouselItem, + A0 as CarouselNext, + O0 as CarouselPrevious, + E0 as Checkbox, + xh as Command, + V0 as CommandDialog, + L0 as CommandEmpty, + z0 as CommandGroup, + N0 as CommandInput, + j0 as CommandItem, + K0 as CommandList, + H0 as CommandSeparator, + U0 as CommandShortcut, + _h as Dialog, + T0 as DialogClose, + Ch as DialogContent, + M0 as DialogDescription, + F0 as DialogFooter, + P0 as DialogHeader, + R0 as DialogScrollContent, + I0 as DialogTitle, + D0 as DialogTrigger, + W0 as DropdownMenu, + Z0 as DropdownMenuCheckboxItem, + G0 as DropdownMenuContent, + Y0 as DropdownMenuGroup, + Q0 as DropdownMenuItem, + ny as DropdownMenuLabel, + rp as DropdownMenuPortal, + X0 as DropdownMenuRadioGroup, + J0 as DropdownMenuRadioItem, + ty as DropdownMenuSeparator, + ey as DropdownMenuShortcut, + oy as DropdownMenuSub, + ry as DropdownMenuSubContent, + ay as DropdownMenuSubTrigger, + q0 as DropdownMenuTrigger, + Jh as Flasher, + Wh as Header, + e0 as Heading, + sy as Input, + ly as Label, + qh as Main, + iy as Popover, + Hh as PopoverAnchor, + dy as PopoverContent, + uy as PopoverTrigger, + cy as Progress, + py as Select, + vy as SelectContent, + gy as SelectGroup, + hy as SelectItem, + yy as SelectItemText, + by as SelectLabel, + Eh as SelectScrollDownButton, + Ah as SelectScrollUpButton, + wy as SelectSeparator, + my as SelectTrigger, + fy as SelectValue, + xy as Sheet, + Cy as SheetClose, + By as SheetContent, + ky as SheetDescription, + Oy as SheetFooter, + $y as SheetHeader, + Sy as SheetTitle, + _y as SheetTrigger, + Ay as Skeleton, + Ey as Slider, + Ty as Switch, + Dy as Table, + Py as TableBody, + Fy as TableCaption, + Ph as TableCell, + Vy as TableEmpty, + Ry as TableFooter, + Iy as TableHead, + My as TableHeader, + Ih as TableRow, + Ly as Tabs, + zy as TabsContent, + Ny as TabsList, + jy as TabsTrigger, + Ky as Textarea, + n0 as Tip, + vv as Toast, + Zh as ToastAction, + Bv as ToastClose, + Hr as ToastDescription, + Sv as ToastProvider, + $v as ToastTitle, + gv as ToastViewport, + Rm as Toaster, + Mv as Tooltip, + Rv as TooltipContent, + Fv as TooltipProvider, + Vv as TooltipTrigger, + Uh as TwoColumnLayout, + Gh as TwoColumnLayoutSidebar, + Yh as TwoColumnLayoutSidebarDesktop, + Xh as TwoColumnLayoutSidebarMobile, + Qh as TwoColumnLayoutSidebarTrigger, + _g as avatarVariant, + Cg as badgeVariants, + Wa as buttonVariants, + Lh as preset, + Th as sheetVariants, + Tm as toast, + kv as toastVariants, mo as useCarousel, - kv as useFlasher, - bl as useToast + Ov as useFlasher, + Sl as useToast }; diff --git a/dist/gooey.umd.cjs b/dist/gooey.umd.cjs index 2352fd8..b00560e 100644 --- a/dist/gooey.umd.cjs +++ b/dist/gooey.umd.cjs @@ -1,44 +1,44 @@ -(function(C,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(C=typeof globalThis<"u"?globalThis:C||self,e(C.gooey={},C.No))})(this,function(C,e){"use strict";var us=C=>{throw TypeError(C)};var v0=(C,e,Ie)=>e.has(C)||us("Cannot "+Ie);var qt=(C,e,Ie)=>(v0(C,e,"read from private field"),Ie?Ie.call(C):e.get(C)),cs=(C,e,Ie)=>e.has(C)?us("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(C):e.set(C,Ie);function Ie(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const Yt=Ie(e);function ca(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ds={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi},Vn=ds,Mn={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function fs(t){return t.trim().replace(Mn.whitespace," ")}function ps(t){return encodeURIComponent(t).replace(Mn.urlHexPairs,vs)}function ms(t){return Object.keys(Vn).forEach(function(n){Vn[n].test(t)&&(t=t.replace(Vn[n],n))}),t}function vs(t){switch(t){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return t.toLowerCase()}}function In(t){if(typeof t!="string")throw new TypeError("Expected a string, but received "+typeof t);t.charCodeAt(0)===65279&&(t=t.slice(1));var n=ms(fs(t)).replace(Mn.quotes,"'");return"data:image/svg+xml,"+ps(n)}In.toSrcset=function(n){return In(n).replace(/ /g,"%20")};var gs=In,da={},fa={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function n(a,o){return{handler:a,config:o}}n.withOptions=function(a,o=()=>({})){const l=function(s){return{__options:s,handler:a(s),config:o(s)}};return l.__isOptionsFunction=!0,l.__pluginFunction=a,l.__configFunction=o,l};const r=n})(fa),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const n=r(fa);function r(o){return o&&o.__esModule?o:{default:o}}const a=n.default}(da);let Rn=da;var pa=(Rn.__esModule?Rn:{default:Rn}).default,ma={},va={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return n}});function n(r){return Array.isArray(r)?r.map(a=>n(a)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([a,o])=>[a,n(o)])):r}})(va);var hs={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>({...t("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:n})=>({...t("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...n(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:t})=>({...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const n=va,r=a(hs);function a(l){return l&&l.__esModule?l:{default:l}}const o=(0,n.cloneDeep)(r.default.theme)})(ma);let Fn=ma;var ys=(Fn.__esModule?Fn:{default:Fn}).default,ga={},ha={},zn={exports:{}},j=String,ya=function(){return{isColorSupported:!1,reset:j,bold:j,dim:j,italic:j,underline:j,inverse:j,hidden:j,strikethrough:j,black:j,red:j,green:j,yellow:j,blue:j,magenta:j,cyan:j,white:j,gray:j,bgBlack:j,bgRed:j,bgGreen:j,bgYellow:j,bgBlue:j,bgMagenta:j,bgCyan:j,bgWhite:j,blackBright:j,redBright:j,greenBright:j,yellowBright:j,blueBright:j,magentaBright:j,cyanBright:j,whiteBright:j,bgBlackBright:j,bgRedBright:j,bgGreenBright:j,bgYellowBright:j,bgBlueBright:j,bgMagentaBright:j,bgCyanBright:j,bgWhiteBright:j}};zn.exports=ya(),zn.exports.createColors=ya;var bs=zn.exports;(function(t){Object.defineProperty(t,"__esModule",{value:!0});function n(u,c){for(var d in c)Object.defineProperty(u,d,{enumerable:!0,get:c[d]})}n(t,{dim:function(){return s},default:function(){return i}});const r=a(bs);function a(u){return u&&u.__esModule?u:{default:u}}let o=new Set;function l(u,c,d){typeof process<"u"&&process.env.JEST_WORKER_ID||d&&o.has(d)||(d&&o.add(d),console.warn(""),c.forEach(f=>console.warn(u,"-",f)))}function s(u){return r.default.dim(u)}const i={info(u,c){l(r.default.bold(r.default.cyan("info")),...Array.isArray(u)?[u]:[c,u])},warn(u,c){l(r.default.bold(r.default.yellow("warn")),...Array.isArray(u)?[u]:[c,u])},risk(u,c){l(r.default.bold(r.default.magenta("risk")),...Array.isArray(u)?[u]:[c,u])}}})(ha),function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const n=r(ha);function r(l){return l&&l.__esModule?l:{default:l}}function a({version:l,from:s,to:i}){n.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${l}, \`${s}\` has been renamed to \`${i}\`.`,"Update your configuration file to silence this warning."])}const o={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return a({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return a({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return a({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return a({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return a({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(ga);let Ln=ga;var ws=(Ln.__esModule?Ln:{default:Ln}).default;const Xt=gs,xs=pa,ba=ys,Re=ws,[Cs,{lineHeight:_s}]=ba.fontSize.base,{spacing:Ee,borderWidth:wa,borderRadius:xa}=ba;function Ge(t,n){return t.replace("",`var(${n}, 1)`)}var Bs=xs.withOptions(function(t={strategy:void 0}){return function({addBase:n,addComponents:r,theme:a}){function o(u,c){let d=a(u);return!d||d.includes("var(")?c:d.replace("","1")}const l=t.strategy===void 0?["base","class"]:[t.strategy],s=[{base:["[type='text']","input:where(:not([type]))","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":Ge(a("colors.gray.500",Re.gray[500]),"--tw-border-opacity"),"border-width":wa.DEFAULT,"border-radius":xa.none,"padding-top":Ee[2],"padding-right":Ee[3],"padding-bottom":Ee[2],"padding-left":Ee[3],"font-size":Cs,"line-height":_s,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":Ge(a("colors.blue.600",Re.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":Ge(a("colors.blue.600",Re.blue[600]),"--tw-border-opacity")}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:Ge(a("colors.gray.500",Re.gray[500]),"--tw-text-opacity"),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"text-align":"inherit"}},{base:["::-webkit-datetime-edit"],class:[".form-input::-webkit-datetime-edit"],styles:{display:"inline-flex"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${Xt(``)}")`,"background-position":`right ${Ee[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":Ee[10],"print-color-adjust":"exact"}},{base:["[multiple]",'[size]:where(select:not([size="1"]))'],class:['.form-select:where([size]:not([size="1"]))'],styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":Ee[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:Ee[4],width:Ee[4],color:Ge(a("colors.blue.600",Re.blue[600]),"--tw-text-opacity"),"background-color":"#fff","border-color":Ge(a("colors.gray.500",Re.gray[500]),"--tw-border-opacity"),"border-width":wa.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":xa.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":Ge(a("colors.blue.600",Re.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${Xt('')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${Xt('')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${Xt('')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],i=u=>s.map(c=>c[u]===null?null:{[c[u]]:c.styles}).filter(Boolean);l.includes("base")&&n(i("base")),l.includes("class")&&r(i("class"))}});const ks=ca(Bs),Ss=pa;function Ca(t){return Object.fromEntries(Object.entries(t).filter(([n])=>n!=="DEFAULT"))}var Ps=Ss(({addUtilities:t,matchUtilities:n,theme:r})=>{t({"@keyframes enter":r("keyframes.enter"),"@keyframes exit":r("keyframes.exit"),".animate-in":{animationName:"enter",animationDuration:r("animationDuration.DEFAULT"),"--tw-enter-opacity":"initial","--tw-enter-scale":"initial","--tw-enter-rotate":"initial","--tw-enter-translate-x":"initial","--tw-enter-translate-y":"initial"},".animate-out":{animationName:"exit",animationDuration:r("animationDuration.DEFAULT"),"--tw-exit-opacity":"initial","--tw-exit-scale":"initial","--tw-exit-rotate":"initial","--tw-exit-translate-x":"initial","--tw-exit-translate-y":"initial"}}),n({"fade-in":a=>({"--tw-enter-opacity":a}),"fade-out":a=>({"--tw-exit-opacity":a})},{values:r("animationOpacity")}),n({"zoom-in":a=>({"--tw-enter-scale":a}),"zoom-out":a=>({"--tw-exit-scale":a})},{values:r("animationScale")}),n({"spin-in":a=>({"--tw-enter-rotate":a}),"spin-out":a=>({"--tw-exit-rotate":a})},{values:r("animationRotate")}),n({"slide-in-from-top":a=>({"--tw-enter-translate-y":`-${a}`}),"slide-in-from-bottom":a=>({"--tw-enter-translate-y":a}),"slide-in-from-left":a=>({"--tw-enter-translate-x":`-${a}`}),"slide-in-from-right":a=>({"--tw-enter-translate-x":a}),"slide-out-to-top":a=>({"--tw-exit-translate-y":`-${a}`}),"slide-out-to-bottom":a=>({"--tw-exit-translate-y":a}),"slide-out-to-left":a=>({"--tw-exit-translate-x":`-${a}`}),"slide-out-to-right":a=>({"--tw-exit-translate-x":a})},{values:r("animationTranslate")}),n({duration:a=>({animationDuration:a})},{values:Ca(r("animationDuration"))}),n({delay:a=>({animationDelay:a})},{values:r("animationDelay")}),n({ease:a=>({animationTimingFunction:a})},{values:Ca(r("animationTimingFunction"))}),t({".running":{animationPlayState:"running"},".paused":{animationPlayState:"paused"}}),n({"fill-mode":a=>({animationFillMode:a})},{values:r("animationFillMode")}),n({direction:a=>({animationDirection:a})},{values:r("animationDirection")}),n({repeat:a=>({animationIterationCount:a})},{values:r("animationRepeat")})},{theme:{extend:{animationDelay:({theme:t})=>({...t("transitionDelay")}),animationDuration:({theme:t})=>({0:"0ms",...t("transitionDuration")}),animationTimingFunction:({theme:t})=>({...t("transitionTimingFunction")}),animationFillMode:{none:"none",forwards:"forwards",backwards:"backwards",both:"both"},animationDirection:{normal:"normal",reverse:"reverse",alternate:"alternate","alternate-reverse":"alternate-reverse"},animationOpacity:({theme:t})=>({DEFAULT:0,...t("opacity")}),animationTranslate:({theme:t})=>({DEFAULT:"100%",...t("translate")}),animationScale:({theme:t})=>({DEFAULT:0,...t("scale")}),animationRotate:({theme:t})=>({DEFAULT:"30deg",...t("rotate")}),animationRepeat:{0:"0",1:"1",infinite:"infinite"},keyframes:{enter:{from:{opacity:"var(--tw-enter-opacity, 1)",transform:"translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"}},exit:{to:{opacity:"var(--tw-exit-opacity, 1)",transform:"translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"}}}}}});const Es={darkMode:["class"],safelist:["dark"],theme:{extend:{colors:{border:"hsl(var(--border))",input:"hsl(var(--input))",ring:"hsl(var(--ring))",background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",primary:{DEFAULT:"hsl(var(--primary))",foreground:"hsl(var(--primary-foreground))"},secondary:{DEFAULT:"hsl(var(--secondary))",foreground:"hsl(var(--secondary-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},accent:{DEFAULT:"hsl(var(--accent))",foreground:"hsl(var(--accent-foreground))"},popover:{DEFAULT:"hsl(var(--popover))",foreground:"hsl(var(--popover-foreground))"},card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"}},borderRadius:{xl:"calc(var(--radius) + 4px)",lg:"var(--radius)",md:"calc(var(--radius) - 2px)",sm:"calc(var(--radius) - 4px)"},keyframes:{"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}},"collapsible-down":{from:{height:0},to:{height:"var(--radix-collapsible-content-height)"}},"collapsible-up":{from:{height:"var(--radix-collapsible-content-height)"},to:{height:0}}},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","collapsible-down":"collapsible-down 0.2s ease-in-out","collapsible-up":"collapsible-up 0.2s ease-in-out"}}},plugins:[ca(Ps),ks({strategy:"class"})]},$s=["top","right","bottom","left"],Fe=Math.min,ce=Math.max,Zt=Math.round,Qt=Math.floor,xe=t=>({x:t,y:t}),Ts={left:"right",right:"left",bottom:"top",top:"bottom"},Os={start:"end",end:"start"};function jn(t,n,r){return ce(t,Fe(n,r))}function $e(t,n){return typeof t=="function"?t(n):t}function Te(t){return t.split("-")[0]}function ot(t){return t.split("-")[1]}function Kn(t){return t==="x"?"y":"x"}function Hn(t){return t==="y"?"height":"width"}function Oe(t){return["top","bottom"].includes(Te(t))?"y":"x"}function Un(t){return Kn(Oe(t))}function As(t,n,r){r===void 0&&(r=!1);const a=ot(t),o=Un(t),l=Hn(o);let s=o==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return n.reference[l]>n.floating[l]&&(s=Jt(s)),[s,Jt(s)]}function Ds(t){const n=Jt(t);return[Wn(t),n,Wn(n)]}function Wn(t){return t.replace(/start|end/g,n=>Os[n])}function Vs(t,n,r){const a=["left","right"],o=["right","left"],l=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?n?o:a:n?a:o;case"left":case"right":return n?l:s;default:return[]}}function Ms(t,n,r,a){const o=ot(t);let l=Vs(Te(t),r==="start",a);return o&&(l=l.map(s=>s+"-"+o),n&&(l=l.concat(l.map(Wn)))),l}function Jt(t){return t.replace(/left|right|bottom|top/g,n=>Ts[n])}function Is(t){return{top:0,right:0,bottom:0,left:0,...t}}function _a(t){return typeof t!="number"?Is(t):{top:t,right:t,bottom:t,left:t}}function Nt(t){const{x:n,y:r,width:a,height:o}=t;return{width:a,height:o,top:r,left:n,right:n+a,bottom:r+o,x:n,y:r}}function Ba(t,n,r){let{reference:a,floating:o}=t;const l=Oe(n),s=Un(n),i=Hn(s),u=Te(n),c=l==="y",d=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,m=a[i]/2-o[i]/2;let p;switch(u){case"top":p={x:d,y:a.y-o.height};break;case"bottom":p={x:d,y:a.y+a.height};break;case"right":p={x:a.x+a.width,y:f};break;case"left":p={x:a.x-o.width,y:f};break;default:p={x:a.x,y:a.y}}switch(ot(n)){case"start":p[s]-=m*(r&&c?-1:1);break;case"end":p[s]+=m*(r&&c?-1:1);break}return p}const Rs=async(t,n,r)=>{const{placement:a="bottom",strategy:o="absolute",middleware:l=[],platform:s}=r,i=l.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(n));let c=await s.getElementRects({reference:t,floating:n,strategy:o}),{x:d,y:f}=Ba(c,a,u),m=a,p={},v=0;for(let g=0;g({name:"arrow",options:t,async fn(n){const{x:r,y:a,placement:o,rects:l,platform:s,elements:i,middlewareData:u}=n,{element:c,padding:d=0}=$e(t,n)||{};if(c==null)return{};const f=_a(d),m={x:r,y:a},p=Un(o),v=Hn(p),g=await s.getDimensions(c),h=p==="y",y=h?"top":"left",b=h?"bottom":"right",w=h?"clientHeight":"clientWidth",B=l.reference[v]+l.reference[p]-m[p]-l.floating[v],x=m[p]-l.reference[p],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let _=S?S[w]:0;(!_||!await(s.isElement==null?void 0:s.isElement(S)))&&(_=i.floating[w]||l.floating[v]);const P=B/2-x/2,T=_/2-g[v]/2-1,k=Fe(f[y],T),O=Fe(f[b],T),$=k,R=_-g[v]-O,I=_/2-g[v]/2+P,L=jn($,I,R),W=!u.arrow&&ot(o)!=null&&I!==L&&l.reference[v]/2-(I<$?k:O)-g[v]/2<0,Q=W?I<$?I-$:I-R:0;return{[p]:m[p]+Q,data:{[p]:L,centerOffset:I-L-Q,...W&&{alignmentOffset:Q}},reset:W}}}),zs=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var r,a;const{placement:o,middlewareData:l,rects:s,initialPlacement:i,platform:u,elements:c}=n,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...h}=$e(t,n);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const y=Te(o),b=Oe(i),w=Te(i)===i,B=await(u.isRTL==null?void 0:u.isRTL(c.floating)),x=m||(w||!g?[Jt(i)]:Ds(i)),S=v!=="none";!m&&S&&x.push(...Ms(i,g,v,B));const _=[i,...x],P=await Bt(n,h),T=[];let k=((a=l.flip)==null?void 0:a.overflows)||[];if(d&&T.push(P[y]),f){const L=As(o,s,B);T.push(P[L[0]],P[L[1]])}if(k=[...k,{placement:o,overflows:T}],!T.every(L=>L<=0)){var O,$;const L=(((O=l.flip)==null?void 0:O.index)||0)+1,W=_[L];if(W){var R;const q=f==="alignment"?b!==Oe(W):!1,D=((R=k[0])==null?void 0:R.overflows[0])>0;if(!q||D)return{data:{index:L,overflows:k},reset:{placement:W}}}let Q=($=k.filter(q=>q.overflows[0]<=0).sort((q,D)=>q.overflows[1]-D.overflows[1])[0])==null?void 0:$.placement;if(!Q)switch(p){case"bestFit":{var I;const q=(I=k.filter(D=>{if(S){const F=Oe(D.placement);return F===b||F==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(F=>F>0).reduce((F,H)=>F+H,0)]).sort((D,F)=>D[1]-F[1])[0])==null?void 0:I[0];q&&(Q=q);break}case"initialPlacement":Q=i;break}if(o!==Q)return{reset:{placement:Q}}}return{}}}};function ka(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function Sa(t){return $s.some(n=>t[n]>=0)}const Ls=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(n){const{rects:r}=n,{strategy:a="referenceHidden",...o}=$e(t,n);switch(a){case"referenceHidden":{const l=await Bt(n,{...o,elementContext:"reference"}),s=ka(l,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Sa(s)}}}case"escaped":{const l=await Bt(n,{...o,altBoundary:!0}),s=ka(l,r.floating);return{data:{escapedOffsets:s,escaped:Sa(s)}}}default:return{}}}}};async function js(t,n){const{placement:r,platform:a,elements:o}=t,l=await(a.isRTL==null?void 0:a.isRTL(o.floating)),s=Te(r),i=ot(r),u=Oe(r)==="y",c=["left","top"].includes(s)?-1:1,d=l&&u?-1:1,f=$e(n,t);let{mainAxis:m,crossAxis:p,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof v=="number"&&(p=i==="end"?v*-1:v),u?{x:p*d,y:m*c}:{x:m*c,y:p*d}}const Ks=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var r,a;const{x:o,y:l,placement:s,middlewareData:i}=n,u=await js(n,t);return s===((r=i.offset)==null?void 0:r.placement)&&(a=i.arrow)!=null&&a.alignmentOffset?{}:{x:o+u.x,y:l+u.y,data:{...u,placement:s}}}}},Hs=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:r,y:a,placement:o}=n,{mainAxis:l=!0,crossAxis:s=!1,limiter:i={fn:h=>{let{x:y,y:b}=h;return{x:y,y:b}}},...u}=$e(t,n),c={x:r,y:a},d=await Bt(n,u),f=Oe(Te(o)),m=Kn(f);let p=c[m],v=c[f];if(l){const h=m==="y"?"top":"left",y=m==="y"?"bottom":"right",b=p+d[h],w=p-d[y];p=jn(b,p,w)}if(s){const h=f==="y"?"top":"left",y=f==="y"?"bottom":"right",b=v+d[h],w=v-d[y];v=jn(b,v,w)}const g=i.fn({...n,[m]:p,[f]:v});return{...g,data:{x:g.x-r,y:g.y-a,enabled:{[m]:l,[f]:s}}}}}},Us=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:r,y:a,placement:o,rects:l,middlewareData:s}=n,{offset:i=0,mainAxis:u=!0,crossAxis:c=!0}=$e(t,n),d={x:r,y:a},f=Oe(o),m=Kn(f);let p=d[m],v=d[f];const g=$e(i,n),h=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const w=m==="y"?"height":"width",B=l.reference[m]-l.floating[w]+h.mainAxis,x=l.reference[m]+l.reference[w]-h.mainAxis;px&&(p=x)}if(c){var y,b;const w=m==="y"?"width":"height",B=["top","left"].includes(Te(o)),x=l.reference[f]-l.floating[w]+(B&&((y=s.offset)==null?void 0:y[f])||0)+(B?0:h.crossAxis),S=l.reference[f]+l.reference[w]+(B?0:((b=s.offset)==null?void 0:b[f])||0)-(B?h.crossAxis:0);vS&&(v=S)}return{[m]:p,[f]:v}}}},Ws=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var r,a;const{placement:o,rects:l,platform:s,elements:i}=n,{apply:u=()=>{},...c}=$e(t,n),d=await Bt(n,c),f=Te(o),m=ot(o),p=Oe(o)==="y",{width:v,height:g}=l.floating;let h,y;f==="top"||f==="bottom"?(h=f,y=m===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(y=f,h=m==="end"?"top":"bottom");const b=g-d.top-d.bottom,w=v-d.left-d.right,B=Fe(g-d[h],b),x=Fe(v-d[y],w),S=!n.middlewareData.shift;let _=B,P=x;if((r=n.middlewareData.shift)!=null&&r.enabled.x&&(P=w),(a=n.middlewareData.shift)!=null&&a.enabled.y&&(_=b),S&&!m){const k=ce(d.left,0),O=ce(d.right,0),$=ce(d.top,0),R=ce(d.bottom,0);p?P=v-2*(k!==0||O!==0?k+O:ce(d.left,d.right)):_=g-2*($!==0||R!==0?$+R:ce(d.top,d.bottom))}await u({...n,availableWidth:P,availableHeight:_});const T=await s.getDimensions(i.floating);return v!==T.width||g!==T.height?{reset:{rects:!0}}:{}}}};function en(){return typeof window<"u"}function qe(t){return Gn(t)?(t.nodeName||"").toLowerCase():"#document"}function de(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function Ce(t){var n;return(n=(Gn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function Gn(t){return en()?t instanceof Node||t instanceof de(t).Node:!1}function ve(t){return en()?t instanceof Element||t instanceof de(t).Element:!1}function _e(t){return en()?t instanceof HTMLElement||t instanceof de(t).HTMLElement:!1}function Pa(t){return!en()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof de(t).ShadowRoot}function kt(t){const{overflow:n,overflowX:r,overflowY:a,display:o}=ge(t);return/auto|scroll|overlay|hidden|clip/.test(n+a+r)&&!["inline","contents"].includes(o)}function Gs(t){return["table","td","th"].includes(qe(t))}function tn(t){return[":popover-open",":modal"].some(n=>{try{return t.matches(n)}catch{return!1}})}function qn(t){const n=Yn(),r=ve(t)?ge(t):t;return["transform","translate","scale","rotate","perspective"].some(a=>r[a]?r[a]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!n&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!n&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(a=>(r.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(r.contain||"").includes(a))}function qs(t){let n=ze(t);for(;_e(n)&&!lt(n);){if(qn(n))return n;if(tn(n))return null;n=ze(n)}return null}function Yn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function lt(t){return["html","body","#document"].includes(qe(t))}function ge(t){return de(t).getComputedStyle(t)}function nn(t){return ve(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ze(t){if(qe(t)==="html")return t;const n=t.assignedSlot||t.parentNode||Pa(t)&&t.host||Ce(t);return Pa(n)?n.host:n}function Ea(t){const n=ze(t);return lt(n)?t.ownerDocument?t.ownerDocument.body:t.body:_e(n)&&kt(n)?n:Ea(n)}function St(t,n,r){var a;n===void 0&&(n=[]),r===void 0&&(r=!0);const o=Ea(t),l=o===((a=t.ownerDocument)==null?void 0:a.body),s=de(o);if(l){const i=Xn(s);return n.concat(s,s.visualViewport||[],kt(o)?o:[],i&&r?St(i):[])}return n.concat(o,St(o,[],r))}function Xn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function $a(t){const n=ge(t);let r=parseFloat(n.width)||0,a=parseFloat(n.height)||0;const o=_e(t),l=o?t.offsetWidth:r,s=o?t.offsetHeight:a,i=Zt(r)!==l||Zt(a)!==s;return i&&(r=l,a=s),{width:r,height:a,$:i}}function Zn(t){return ve(t)?t:t.contextElement}function st(t){const n=Zn(t);if(!_e(n))return xe(1);const r=n.getBoundingClientRect(),{width:a,height:o,$:l}=$a(n);let s=(l?Zt(r.width):r.width)/a,i=(l?Zt(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const Ys=xe(0);function Ta(t){const n=de(t);return!Yn()||!n.visualViewport?Ys:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Xs(t,n,r){return n===void 0&&(n=!1),!r||n&&r!==de(t)?!1:n}function Ye(t,n,r,a){n===void 0&&(n=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),l=Zn(t);let s=xe(1);n&&(a?ve(a)&&(s=st(a)):s=st(t));const i=Xs(l,r,a)?Ta(l):xe(0);let u=(o.left+i.x)/s.x,c=(o.top+i.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(l){const m=de(l),p=a&&ve(a)?de(a):a;let v=m,g=Xn(v);for(;g&&a&&p!==v;){const h=st(g),y=g.getBoundingClientRect(),b=ge(g),w=y.left+(g.clientLeft+parseFloat(b.paddingLeft))*h.x,B=y.top+(g.clientTop+parseFloat(b.paddingTop))*h.y;u*=h.x,c*=h.y,d*=h.x,f*=h.y,u+=w,c+=B,v=de(g),g=Xn(v)}}return Nt({width:d,height:f,x:u,y:c})}function Qn(t,n){const r=nn(t).scrollLeft;return n?n.left+r:Ye(Ce(t)).left+r}function Oa(t,n,r){r===void 0&&(r=!1);const a=t.getBoundingClientRect(),o=a.left+n.scrollLeft-(r?0:Qn(t,a)),l=a.top+n.scrollTop;return{x:o,y:l}}function Zs(t){let{elements:n,rect:r,offsetParent:a,strategy:o}=t;const l=o==="fixed",s=Ce(a),i=n?tn(n.floating):!1;if(a===s||i&&l)return r;let u={scrollLeft:0,scrollTop:0},c=xe(1);const d=xe(0),f=_e(a);if((f||!f&&!l)&&((qe(a)!=="body"||kt(s))&&(u=nn(a)),_e(a))){const p=Ye(a);c=st(a),d.x=p.x+a.clientLeft,d.y=p.y+a.clientTop}const m=s&&!f&&!l?Oa(s,u,!0):xe(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+d.x+m.x,y:r.y*c.y-u.scrollTop*c.y+d.y+m.y}}function Qs(t){return Array.from(t.getClientRects())}function Js(t){const n=Ce(t),r=nn(t),a=t.ownerDocument.body,o=ce(n.scrollWidth,n.clientWidth,a.scrollWidth,a.clientWidth),l=ce(n.scrollHeight,n.clientHeight,a.scrollHeight,a.clientHeight);let s=-r.scrollLeft+Qn(t);const i=-r.scrollTop;return ge(a).direction==="rtl"&&(s+=ce(n.clientWidth,a.clientWidth)-o),{width:o,height:l,x:s,y:i}}function Ns(t,n){const r=de(t),a=Ce(t),o=r.visualViewport;let l=a.clientWidth,s=a.clientHeight,i=0,u=0;if(o){l=o.width,s=o.height;const c=Yn();(!c||c&&n==="fixed")&&(i=o.offsetLeft,u=o.offsetTop)}return{width:l,height:s,x:i,y:u}}function ei(t,n){const r=Ye(t,!0,n==="fixed"),a=r.top+t.clientTop,o=r.left+t.clientLeft,l=_e(t)?st(t):xe(1),s=t.clientWidth*l.x,i=t.clientHeight*l.y,u=o*l.x,c=a*l.y;return{width:s,height:i,x:u,y:c}}function Aa(t,n,r){let a;if(n==="viewport")a=Ns(t,r);else if(n==="document")a=Js(Ce(t));else if(ve(n))a=ei(n,r);else{const o=Ta(t);a={x:n.x-o.x,y:n.y-o.y,width:n.width,height:n.height}}return Nt(a)}function Da(t,n){const r=ze(t);return r===n||!ve(r)||lt(r)?!1:ge(r).position==="fixed"||Da(r,n)}function ti(t,n){const r=n.get(t);if(r)return r;let a=St(t,[],!1).filter(i=>ve(i)&&qe(i)!=="body"),o=null;const l=ge(t).position==="fixed";let s=l?ze(t):t;for(;ve(s)&&!lt(s);){const i=ge(s),u=qn(s);!u&&i.position==="fixed"&&(o=null),(l?!u&&!o:!u&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||kt(s)&&!u&&Da(t,s))?a=a.filter(d=>d!==s):o=i,s=ze(s)}return n.set(t,a),a}function ni(t){let{element:n,boundary:r,rootBoundary:a,strategy:o}=t;const s=[...r==="clippingAncestors"?tn(n)?[]:ti(n,this._c):[].concat(r),a],i=s[0],u=s.reduce((c,d)=>{const f=Aa(n,d,o);return c.top=ce(f.top,c.top),c.right=Fe(f.right,c.right),c.bottom=Fe(f.bottom,c.bottom),c.left=ce(f.left,c.left),c},Aa(n,i,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ri(t){const{width:n,height:r}=$a(t);return{width:n,height:r}}function ai(t,n,r){const a=_e(n),o=Ce(n),l=r==="fixed",s=Ye(t,!0,l,n);let i={scrollLeft:0,scrollTop:0};const u=xe(0);function c(){u.x=Qn(o)}if(a||!a&&!l)if((qe(n)!=="body"||kt(o))&&(i=nn(n)),a){const p=Ye(n,!0,l,n);u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}else o&&c();l&&!a&&o&&c();const d=o&&!a&&!l?Oa(o,i):xe(0),f=s.left+i.scrollLeft-u.x-d.x,m=s.top+i.scrollTop-u.y-d.y;return{x:f,y:m,width:s.width,height:s.height}}function Jn(t){return ge(t).position==="static"}function Va(t,n){if(!_e(t)||ge(t).position==="fixed")return null;if(n)return n(t);let r=t.offsetParent;return Ce(t)===r&&(r=r.ownerDocument.body),r}function Ma(t,n){const r=de(t);if(tn(t))return r;if(!_e(t)){let o=ze(t);for(;o&&!lt(o);){if(ve(o)&&!Jn(o))return o;o=ze(o)}return r}let a=Va(t,n);for(;a&&Gs(a)&&Jn(a);)a=Va(a,n);return a&<(a)&&Jn(a)&&!qn(a)?r:a||qs(t)||r}const oi=async function(t){const n=this.getOffsetParent||Ma,r=this.getDimensions,a=await r(t.floating);return{reference:ai(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function li(t){return ge(t).direction==="rtl"}const si={convertOffsetParentRelativeRectToViewportRelativeRect:Zs,getDocumentElement:Ce,getClippingRect:ni,getOffsetParent:Ma,getElementRects:oi,getClientRects:Qs,getDimensions:ri,getScale:st,isElement:ve,isRTL:li};function Ia(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function ii(t,n){let r=null,a;const o=Ce(t);function l(){var i;clearTimeout(a),(i=r)==null||i.disconnect(),r=null}function s(i,u){i===void 0&&(i=!1),u===void 0&&(u=1),l();const c=t.getBoundingClientRect(),{left:d,top:f,width:m,height:p}=c;if(i||n(),!m||!p)return;const v=Qt(f),g=Qt(o.clientWidth-(d+m)),h=Qt(o.clientHeight-(f+p)),y=Qt(d),w={rootMargin:-v+"px "+-g+"px "+-h+"px "+-y+"px",threshold:ce(0,Fe(1,u))||1};let B=!0;function x(S){const _=S[0].intersectionRatio;if(_!==u){if(!B)return s();_?s(!1,_):a=setTimeout(()=>{s(!1,1e-7)},1e3)}_===1&&!Ia(c,t.getBoundingClientRect())&&s(),B=!1}try{r=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(x,w)}r.observe(t)}return s(!0),l}function ui(t,n,r,a){a===void 0&&(a={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:u=!1}=a,c=Zn(t),d=o||l?[...c?St(c):[],...St(n)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),l&&y.addEventListener("resize",r)});const f=c&&i?ii(c,r):null;let m=-1,p=null;s&&(p=new ResizeObserver(y=>{let[b]=y;b&&b.target===c&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(n)})),r()}),c&&!u&&p.observe(c),p.observe(n));let v,g=u?Ye(t):null;u&&h();function h(){const y=Ye(t);g&&!Ia(g,y)&&r(),g=y,v=requestAnimationFrame(h)}return r(),()=>{var y;d.forEach(b=>{o&&b.removeEventListener("scroll",r),l&&b.removeEventListener("resize",r)}),f==null||f(),(y=p)==null||y.disconnect(),p=null,u&&cancelAnimationFrame(v)}}const ci=Ks,di=Hs,Ra=zs,fi=Ws,pi=Ls,mi=Fs,vi=Us,gi=(t,n,r)=>{const a=new Map,o={platform:si,...r},l={...o.platform,_c:a};return Rs(t,n,{...o,platform:l})};function hi(t){return t!=null&&typeof t=="object"&&"$el"in t}function Nn(t){if(hi(t)){const n=t.$el;return Gn(n)&&qe(n)==="#comment"?null:n}return t}function it(t){return typeof t=="function"?t():e.unref(t)}function yi(t){return{name:"arrow",options:t,fn(n){const r=Nn(it(t.element));return r==null?{}:mi({element:r,padding:t.padding}).fn(n)}}}function Fa(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function za(t,n){const r=Fa(t);return Math.round(n*r)/r}function bi(t,n,r){r===void 0&&(r={});const a=r.whileElementsMounted,o=e.computed(()=>{var _;return(_=it(r.open))!=null?_:!0}),l=e.computed(()=>it(r.middleware)),s=e.computed(()=>{var _;return(_=it(r.placement))!=null?_:"bottom"}),i=e.computed(()=>{var _;return(_=it(r.strategy))!=null?_:"absolute"}),u=e.computed(()=>{var _;return(_=it(r.transform))!=null?_:!0}),c=e.computed(()=>Nn(t.value)),d=e.computed(()=>Nn(n.value)),f=e.ref(0),m=e.ref(0),p=e.ref(i.value),v=e.ref(s.value),g=e.shallowRef({}),h=e.ref(!1),y=e.computed(()=>{const _={position:p.value,left:"0",top:"0"};if(!d.value)return _;const P=za(d.value,f.value),T=za(d.value,m.value);return u.value?{..._,transform:"translate("+P+"px, "+T+"px)",...Fa(d.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:P+"px",top:T+"px"}});let b;function w(){if(c.value==null||d.value==null)return;const _=o.value;gi(c.value,d.value,{middleware:l.value,placement:s.value,strategy:i.value}).then(P=>{f.value=P.x,m.value=P.y,p.value=P.strategy,v.value=P.placement,g.value=P.middlewareData,h.value=_!==!1})}function B(){typeof b=="function"&&(b(),b=void 0)}function x(){if(B(),a===void 0){w();return}if(c.value!=null&&d.value!=null){b=a(c.value,d.value,w);return}}function S(){o.value||(h.value=!1)}return e.watch([l,s,i,o],w,{flush:"sync"}),e.watch([c,d],x,{flush:"sync"}),e.watch(o,S,{flush:"sync"}),e.getCurrentScope()&&e.onScopeDispose(B),{x:e.shallowReadonly(f),y:e.shallowReadonly(m),strategy:e.shallowReadonly(p),placement:e.shallowReadonly(v),middlewareData:e.shallowReadonly(g),isPositioned:e.shallowReadonly(h),floatingStyles:y,update:w}}function U(t,n){const r=typeof t=="string"&&!n?`${t}Context`:n,a=Symbol(r);return[o=>{const l=e.inject(a,o);if(l||l===null)return l;throw new Error(`Injection \`${a.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},o=>(e.provide(a,o),o)]}function er(t,n,r){const a=r.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});n&&a.addEventListener(t,n,{once:!0}),a.dispatchEvent(o)}function rn(t,n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY){return Math.min(r,Math.max(n,t))}function wi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var xi=function t(n,r){if(n===r)return!0;if(n&&r&&typeof n=="object"&&typeof r=="object"){if(n.constructor!==r.constructor)return!1;var a,o,l;if(Array.isArray(n)){if(a=n.length,a!=r.length)return!1;for(o=a;o--!==0;)if(!t(n[o],r[o]))return!1;return!0}if(n.constructor===RegExp)return n.source===r.source&&n.flags===r.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===r.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===r.toString();if(l=Object.keys(n),a=l.length,a!==Object.keys(r).length)return!1;for(o=a;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[o]))return!1;for(o=a;o--!==0;){var s=l[o];if(!t(n[s],r[s]))return!1}return!0}return n!==n&&r!==r};const Xe=wi(xi);function ut(t){return t==null}function Ci(t,n){var r;const a=e.shallowRef();return e.watchEffect(()=>{a.value=t()},{...n,flush:(r=void 0)!=null?r:"sync"}),e.readonly(a)}function Ze(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function _i(){const t=new Set,n=r=>{t.delete(r)};return{on:r=>{t.add(r);const a=()=>n(r);return Ze(a),{off:a}},off:n,trigger:(...r)=>Promise.all(Array.from(t).map(a=>a(...r)))}}function Bi(t){let n=!1,r;const a=e.effectScope(!0);return(...o)=>(n||(r=a.run(()=>t(...o)),n=!0),r)}function La(t){let n=0,r,a;const o=()=>{n-=1,a&&n<=0&&(a.stop(),r=void 0,a=void 0)};return(...l)=>(n+=1,r||(a=e.effectScope(!0),r=a.run(()=>t(...l))),Ze(o),r)}function Ae(t){return typeof t=="function"?t():e.unref(t)}const Be=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ki=t=>typeof t<"u",Si=t=>t!=null,Pi=Object.prototype.toString,Ei=t=>Pi.call(t)==="[object Object]",ja=()=>{},Ka=$i();function $i(){var t,n;return Be&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ti(t){return e.getCurrentInstance()}function Ha(t,n=1e4){return e.customRef((r,a)=>{let o=Ae(t),l;const s=()=>setTimeout(()=>{o=Ae(t),a()},Ae(n));return Ze(()=>{clearTimeout(l)}),{get(){return r(),o},set(i){o=i,a(),clearTimeout(l),l=s()}}})}function Oi(t,n){Ti()&&e.onBeforeUnmount(t,n)}function tr(t,n,r={}){const{immediate:a=!0}=r,o=e.ref(!1);let l=null;function s(){l&&(clearTimeout(l),l=null)}function i(){o.value=!1,s()}function u(...c){s(),o.value=!0,l=setTimeout(()=>{o.value=!1,l=null,t(...c)},Ae(n))}return a&&(o.value=!0,Be&&u()),Ze(i),{isPending:e.readonly(o),start:u,stop:i}}function Ai(t=1e3,n={}){const{controls:r=!1,callback:a}=n,o=tr(a??ja,t,n),l=e.computed(()=>!o.isPending.value);return r?{ready:l,...o}:l}function pe(t){var n;const r=Ae(t);return(n=r==null?void 0:r.$el)!=null?n:r}const Pt=Be?window:void 0;function ct(...t){let n,r,a,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,a,o]=t,n=Pt):[n,r,a,o]=t,!n)return ja;Array.isArray(r)||(r=[r]),Array.isArray(a)||(a=[a]);const l=[],s=()=>{l.forEach(d=>d()),l.length=0},i=(d,f,m,p)=>(d.addEventListener(f,m,p),()=>d.removeEventListener(f,m,p)),u=e.watch(()=>[pe(n),Ae(o)],([d,f])=>{if(s(),!d)return;const m=Ei(f)?{...f}:f;l.push(...r.flatMap(p=>a.map(v=>i(d,p,v,m))))},{immediate:!0,flush:"post"}),c=()=>{u(),s()};return Ze(c),c}function Di(t){return typeof t=="function"?t:typeof t=="string"?n=>n.key===t:Array.isArray(t)?n=>t.includes(n.key):()=>!0}function nr(...t){let n,r,a={};t.length===3?(n=t[0],r=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(n=!0,r=t[0],a=t[1]):(n=t[0],r=t[1]):(n=!0,r=t[0]);const{target:o=Pt,eventName:l="keydown",passive:s=!1,dedupe:i=!1}=a,u=Di(n);return ct(o,l,c=>{c.repeat&&Ae(i)||u(c)&&r(c)},s)}function rr(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function Vi(t){const n=rr();return e.computed(()=>(n.value,!!t()))}function Mi(t,n,r={}){const{window:a=Pt,...o}=r;let l;const s=Vi(()=>a&&"MutationObserver"in a),i=()=>{l&&(l.disconnect(),l=void 0)},u=e.computed(()=>{const m=Ae(t),p=(Array.isArray(m)?m:[m]).map(pe).filter(Si);return new Set(p)}),c=e.watch(()=>u.value,m=>{i(),s.value&&m.size&&(l=new MutationObserver(n),m.forEach(p=>l.observe(p,o)))},{immediate:!0,flush:"post"}),d=()=>l==null?void 0:l.takeRecords(),f=()=>{i(),c()};return Ze(f),{isSupported:s,stop:f,takeRecords:d}}function Ua(t,n={}){const{immediate:r=!0,fpsLimit:a=void 0,window:o=Pt}=n,l=e.ref(!1),s=a?1e3/a:null;let i=0,u=null;function c(m){if(!l.value||!o)return;i||(i=m);const p=m-i;if(s&&pi?typeof i=="function"?i(w):Ii(w):w,y=()=>ki(t[n])?h(t[n]):f,b=w=>{m?m(w)&&v(g,w):v(g,w)};if(u){const w=y(),B=e.ref(w);let x=!1;return e.watch(()=>t[n],S=>{x||(x=!0,B.value=h(S),e.nextTick(()=>x=!1))}),e.watch(B,S=>{!x&&(S!==t[n]||d)&&b(S)},{deep:d}),B}else return e.computed({get(){return y()},set(w){b(w)}})}function an(t){return t?t.flatMap(n=>n.type===e.Fragment?an(n.children):[n]):[]}function ae(){let t=document.activeElement;if(t==null)return null;for(;t!=null&&t.shadowRoot!=null&&t.shadowRoot.activeElement!=null;)t=t.shadowRoot.activeElement;return t}const Ri=["INPUT","TEXTAREA"];function Wa(t,n,r,a={}){if(!n||a.enableIgnoredElement&&Ri.includes(n.nodeName))return null;const{arrowKeyOptions:o="both",attributeName:l="[data-radix-vue-collection-item]",itemsArray:s=[],loop:i=!0,dir:u="ltr",preventScroll:c=!0,focus:d=!1}=a,[f,m,p,v,g,h]=[t.key==="ArrowRight",t.key==="ArrowLeft",t.key==="ArrowUp",t.key==="ArrowDown",t.key==="Home",t.key==="End"],y=p||v,b=f||m;if(!g&&!h&&(!y&&!b||o==="vertical"&&b||o==="horizontal"&&y))return null;const w=r?Array.from(r.querySelectorAll(l)):s;if(!w.length)return null;c&&t.preventDefault();let B=null;return b||y?B=Ga(w,n,{goForward:y?v:u==="ltr"?f:m,loop:i}):g?B=w.at(0)||null:h&&(B=w.at(-1)||null),d&&(B==null||B.focus()),B}function Ga(t,n,r,a=t.length){if(--a===0)return null;const o=t.indexOf(n),l=r.goForward?o+1:o-1;if(!r.loop&&(l<0||l>=t.length))return null;const s=(l+t.length)%t.length,i=t[s];return i?i.hasAttribute("disabled")&&i.getAttribute("disabled")!=="false"?Ga(t,i,r,a):i:null}function ar(t){if(t===null||typeof t!="object")return!1;const n=Object.getPrototypeOf(t);return n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function or(t,n,r=".",a){if(!ar(n))return or(t,{},r);const o=Object.assign({},n);for(const l in t){if(l==="__proto__"||l==="constructor")continue;const s=t[l];s!=null&&(Array.isArray(s)&&Array.isArray(o[l])?o[l]=[...s,...o[l]]:ar(s)&&ar(o[l])?o[l]=or(s,o[l],(r?`${r}.`:"")+l.toString()):o[l]=s)}return o}function Fi(t){return(...n)=>n.reduce((r,a)=>or(r,a,""),{})}const zi=Fi(),[on,y0]=U("ConfigProvider");let Li="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",ji=(t=21)=>{let n="",r=t;for(;r--;)n+=Li[Math.random()*64|0];return n};const Ki=La(()=>{const t=e.ref(new Map),n=e.ref(),r=e.computed(()=>{for(const s of t.value.values())if(s)return!0;return!1}),a=on({scrollBody:e.ref(!0)});let o=null;const l=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=n.value??"",Ka&&(o==null||o()),n.value=void 0};return e.watch(r,(s,i)=>{var u;if(!Be)return;if(!s){i&&l();return}n.value===void 0&&(n.value=document.body.style.overflow);const c=window.innerWidth-document.documentElement.clientWidth,d={padding:c,margin:0},f=(u=a.scrollBody)!=null&&u.value?typeof a.scrollBody.value=="object"?zi({padding:a.scrollBody.value.padding===!0?c:a.scrollBody.value.padding,margin:a.scrollBody.value.margin===!0?c:a.scrollBody.value.margin},d):d:{padding:0,margin:0};c>0&&(document.body.style.paddingRight=typeof f.padding=="number"?`${f.padding}px`:String(f.padding),document.body.style.marginRight=typeof f.margin=="number"?`${f.margin}px`:String(f.margin),document.body.style.setProperty("--scrollbar-width",`${c}px`),document.body.style.overflow="hidden"),Ka&&(o=ct(document,"touchmove",m=>Hi(m),{passive:!1})),e.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),t});function Et(t){const n=ji(6),r=Ki();r.value.set(n,t??!1);const a=e.computed({get:()=>r.value.get(n)??!1,set:o=>r.value.set(n,o)});return Oi(()=>{r.value.delete(n)}),a}function qa(t){const n=window.getComputedStyle(t);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&t.clientWidth1?!0:(n.preventDefault&&n.cancelable&&n.preventDefault(),!1)}const Ui="data-radix-vue-collection-item";function dt(t,n=Ui){const r=Symbol();return{createCollection:a=>{const o=e.ref([]);function l(){const s=pe(a);return s?o.value=Array.from(s.querySelectorAll(`[${n}]:not([data-disabled])`)):o.value=[]}return e.onBeforeUpdate(()=>{o.value=[]}),e.onMounted(l),e.onUpdated(l),e.watch(()=>a==null?void 0:a.value,l,{immediate:!0}),e.provide(r,o),o},injectCollection:()=>e.inject(r,e.ref([]))}}function Le(t){const n=on({dir:e.ref("ltr")});return e.computed(()=>{var r;return(t==null?void 0:t.value)||((r=n.dir)==null?void 0:r.value)||"ltr"})}function je(t){const n=e.getCurrentInstance(),r=n==null?void 0:n.type.emits,a={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${n==null?void 0:n.type.__name}`),r==null||r.forEach(o=>{a[e.toHandlerKey(e.camelize(o))]=(...l)=>t(o,...l)}),a}let lr=0;function sr(){e.watchEffect(t=>{if(!Be)return;const n=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",n[0]??Ya()),document.body.insertAdjacentElement("beforeend",n[1]??Ya()),lr++,t(()=>{lr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),lr--})})}function Ya(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}function ln(t){return e.computed(()=>{var n;return Ae(t)?!!((n=pe(t))!=null&&n.closest("form")):!0})}function oe(t){const n=e.getCurrentInstance(),r=Object.keys((n==null?void 0:n.type.props)??{}).reduce((o,l)=>{const s=(n==null?void 0:n.type.props[l]).default;return s!==void 0&&(o[l]=s),o},{}),a=e.toRef(t);return e.computed(()=>{const o={},l=(n==null?void 0:n.vnode.props)??{};return Object.keys(l).forEach(s=>{o[e.camelize(s)]=l[s]}),Object.keys({...r,...o}).reduce((s,i)=>(a.value[i]!==void 0&&(s[i]=a.value[i]),s),{})})}function z(t,n){const r=oe(t),a=n?je(n):{};return e.computed(()=>({...r.value,...a}))}function E(){const t=e.getCurrentInstance(),n=e.ref(),r=e.computed(()=>{var s,i;return["#text","#comment"].includes((s=n.value)==null?void 0:s.$el.nodeName)?(i=n.value)==null?void 0:i.$el.nextElementSibling:pe(n)}),a=Object.assign({},t.exposed),o={};for(const s in t.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>t.props[s]});if(Object.keys(a).length>0)for(const s in a)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=o;function l(s){n.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),t.exposed=o)}return{forwardRef:l,currentRef:n,currentElement:r}}function Wi(t,n){const r=Ha(!1,300),a=e.ref(null),o=_i();function l(){a.value=null,r.value=!1}function s(i,u){const c=i.currentTarget,d={x:i.clientX,y:i.clientY},f=Gi(d,c.getBoundingClientRect()),m=qi(d,f),p=Yi(u.getBoundingClientRect()),v=Zi([...m,...p]);a.value=v,r.value=!0}return e.watchEffect(i=>{if(t.value&&n.value){const u=d=>s(d,n.value),c=d=>s(d,t.value);t.value.addEventListener("pointerleave",u),n.value.addEventListener("pointerleave",c),i(()=>{var d,f;(d=t.value)==null||d.removeEventListener("pointerleave",u),(f=n.value)==null||f.removeEventListener("pointerleave",c)})}}),e.watchEffect(i=>{var u;if(a.value){const c=d=>{var f,m;if(!a.value)return;const p=d.target,v={x:d.clientX,y:d.clientY},g=((f=t.value)==null?void 0:f.contains(p))||((m=n.value)==null?void 0:m.contains(p)),h=!Xi(v,a.value),y=!!p.closest("[data-grace-area-trigger]");g?l():(h||y)&&(l(),o.trigger())};(u=t.value)==null||u.ownerDocument.addEventListener("pointermove",c),i(()=>{var d;return(d=t.value)==null?void 0:d.ownerDocument.removeEventListener("pointermove",c)})}}),{isPointerInTransit:r,onPointerExit:o.on}}function Gi(t,n){const r=Math.abs(n.top-t.y),a=Math.abs(n.bottom-t.y),o=Math.abs(n.right-t.x),l=Math.abs(n.left-t.x);switch(Math.min(r,a,o,l)){case l:return"left";case o:return"right";case r:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function qi(t,n,r=5){const a=[];switch(n){case"top":a.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":a.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":a.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":a.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return a}function Yi(t){const{top:n,right:r,bottom:a,left:o}=t;return[{x:o,y:n},{x:r,y:n},{x:r,y:a},{x:o,y:a}]}function Xi(t,n){const{x:r,y:a}=t;let o=!1;for(let l=0,s=n.length-1;la!=d>a&&r<(c-i)*(a-u)/(d-u)+i&&(o=!o)}return o}function Zi(t){const n=t.slice();return n.sort((r,a)=>r.xa.x?1:r.ya.y?1:0),Qi(n)}function Qi(t){if(t.length<=1)return t.slice();const n=[];for(let a=0;a=2;){const l=n[n.length-1],s=n[n.length-2];if((l.x-s.x)*(o.y-s.y)>=(l.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}n.pop();const r=[];for(let a=t.length-1;a>=0;a--){const o=t[a];for(;r.length>=2;){const l=r[r.length-1],s=r[r.length-2];if((l.x-s.x)*(o.y-s.y)>=(l.y-s.y)*(o.x-s.x))r.pop();else break}r.push(o)}return r.pop(),n.length===1&&r.length===1&&n[0].x===r[0].x&&n[0].y===r[0].y?n:n.concat(r)}var Ji=function(t){if(typeof document>"u")return null;var n=Array.isArray(t)?t[0]:t;return n.ownerDocument.body},ft=new WeakMap,sn=new WeakMap,un={},ir=0,Xa=function(t){return t&&(t.host||Xa(t.parentNode))},Ni=function(t,n){return n.map(function(r){if(t.contains(r))return r;var a=Xa(r);return a&&t.contains(a)?a:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},eu=function(t,n,r,a){var o=Ni(n,Array.isArray(t)?t:[t]);un[r]||(un[r]=new WeakMap);var l=un[r],s=[],i=new Set,u=new Set(o),c=function(f){!f||i.has(f)||(i.add(f),c(f.parentNode))};o.forEach(c);var d=function(f){!f||u.has(f)||Array.prototype.forEach.call(f.children,function(m){if(i.has(m))d(m);else try{var p=m.getAttribute(a),v=p!==null&&p!=="false",g=(ft.get(m)||0)+1,h=(l.get(m)||0)+1;ft.set(m,g),l.set(m,h),s.push(m),g===1&&v&&sn.set(m,!0),h===1&&m.setAttribute(r,"true"),v||m.setAttribute(a,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return d(n),i.clear(),ir++,function(){s.forEach(function(f){var m=ft.get(f)-1,p=l.get(f)-1;ft.set(f,m),l.set(f,p),m||(sn.has(f)||f.removeAttribute(a),sn.delete(f)),p||f.removeAttribute(r)}),ir--,ir||(ft=new WeakMap,ft=new WeakMap,sn=new WeakMap,un={})}},tu=function(t,n,r){r===void 0&&(r="data-aria-hidden");var a=Array.from(Array.isArray(t)?t:[t]),o=Ji(t);return o?(a.push.apply(a,Array.from(o.querySelectorAll("[aria-live]"))),eu(a,o,r,"aria-hidden")):function(){return null}};function $t(t){let n;e.watch(()=>pe(t),r=>{r?n=tu(r):n&&n()}),e.onUnmounted(()=>{n&&n()})}let nu=0;function te(t,n="radix"){const r=on({useId:void 0});return Yt.useId?`${n}-${Yt.useId()}`:r.useId?`${n}-${r.useId()}`:`${n}-${++nu}`}function Za(t){const n=e.ref(),r=e.computed(()=>{var o;return((o=n.value)==null?void 0:o.width)??0}),a=e.computed(()=>{var o;return((o=n.value)==null?void 0:o.height)??0});return e.onMounted(()=>{const o=pe(t);if(o){n.value={width:o.offsetWidth,height:o.offsetHeight};const l=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let u,c;if("borderBoxSize"in i){const d=i.borderBoxSize,f=Array.isArray(d)?d[0]:d;u=f.inlineSize,c=f.blockSize}else u=o.offsetWidth,c=o.offsetHeight;n.value={width:u,height:c}});return l.observe(o,{box:"border-box"}),()=>l.unobserve(o)}else n.value=void 0}),{width:r,height:a}}function ru(t,n){const r=e.ref(t);function a(o){return n[r.value][o]??r.value}return{state:r,dispatch:o=>{r.value=a(o)}}}const au="data-item-text";function ur(t){const n=Ha("",1e3);return{search:n,handleTypeaheadSearch:(r,a)=>{if(!(t!=null&&t.value)&&!a)return;n.value=n.value+r;const o=(t==null?void 0:t.value)??a,l=ae(),s=o.map(f=>{var m;return{ref:f,textValue:((m=(f.querySelector(`[${au}]`)??f).textContent)==null?void 0:m.trim())??""}}),i=s.find(f=>f.ref===l),u=s.map(f=>f.textValue),c=lu(u,n.value,i==null?void 0:i.textValue),d=s.find(f=>f.textValue===c);return d&&d.ref.focus(),d==null?void 0:d.ref},resetTypeahead:()=>{n.value=""}}}function ou(t,n){return t.map((r,a)=>t[(n+a)%t.length])}function lu(t,n,r){const a=n.length>1&&Array.from(n).every(i=>i===n[0])?n[0]:n,o=r?t.indexOf(r):-1;let l=ou(t,Math.max(o,0));a.length===1&&(l=l.filter(i=>i!==r));const s=l.find(i=>i.toLowerCase().startsWith(a.toLowerCase()));return s!==r?s:void 0}const cr=e.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:n,slots:r}){return()=>{var a,o;if(!r.default)return null;const l=an(r.default()),s=l.findIndex(d=>d.type!==e.Comment);if(s===-1)return l;const i=l[s];(a=i.props)==null||delete a.ref;const u=i.props?e.mergeProps(n,i.props):n;n.class&&(o=i.props)!=null&&o.class&&delete i.props.class;const c=e.cloneVNode(i,u);for(const d in u)d.startsWith("on")&&(c.props||(c.props={}),c.props[d]=u[d]);return l.length===1?c:(l[s]=c,l)}}}),V=e.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:n,slots:r}){const a=t.asChild?"template":t.as;return typeof a=="string"&&["area","img","input"].includes(a)?()=>e.h(a,n):a!=="template"?()=>e.h(t.as,n,{default:r.default}):()=>e.h(cr,n,{default:r.default})}});function Qa(){const t=e.ref(),n=e.computed(()=>{var r,a;return["#text","#comment"].includes((r=t.value)==null?void 0:r.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:pe(t)});return{primitiveElement:t,currentElement:n}}const[Ja,su]=U("CollapsibleRoot"),iu=e.defineComponent({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(t,{expose:n,emit:r}){const a=t,o=X(a,"open",r,{defaultValue:a.defaultOpen,passive:a.open===void 0}),l=X(a,"disabled");return su({contentId:"",disabled:l,open:o,onOpenToggle:()=>{o.value=!o.value}}),n({open:o}),E(),(s,i)=>(e.openBlock(),e.createBlock(e.unref(V),{as:s.as,"as-child":a.asChild,"data-state":e.unref(o)?"open":"closed","data-disabled":e.unref(l)?"":void 0},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default",{open:e.unref(o)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),uu=e.defineComponent({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;E();const r=Ja();return(a,o)=>{var l,s;return e.openBlock(),e.createBlock(e.unref(V),{type:a.as==="button"?"button":void 0,as:a.as,"as-child":n.asChild,"aria-controls":e.unref(r).contentId,"aria-expanded":e.unref(r).open.value,"data-state":e.unref(r).open.value?"open":"closed","data-disabled":(l=e.unref(r).disabled)!=null&&l.value?"":void 0,disabled:(s=e.unref(r).disabled)==null?void 0:s.value,onClick:e.unref(r).onOpenToggle},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}});function cu(t,n){var r;const a=e.ref({}),o=e.ref("none"),l=e.ref(t),s=t.value?"mounted":"unmounted";let i;const u=((r=n.value)==null?void 0:r.ownerDocument.defaultView)??Pt,{state:c,dispatch:d}=ru(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),f=h=>{var y;if(Be){const b=new CustomEvent(h,{bubbles:!1,cancelable:!1});(y=n.value)==null||y.dispatchEvent(b)}};e.watch(t,async(h,y)=>{var b;const w=y!==h;if(await e.nextTick(),w){const B=o.value,x=cn(n.value);h?(d("MOUNT"),f("enter"),x==="none"&&f("after-enter")):x==="none"||((b=a.value)==null?void 0:b.display)==="none"?(d("UNMOUNT"),f("leave"),f("after-leave")):y&&B!==x?(d("ANIMATION_OUT"),f("leave")):(d("UNMOUNT"),f("after-leave"))}},{immediate:!0});const m=h=>{const y=cn(n.value),b=y.includes(h.animationName),w=c.value==="mounted"?"enter":"leave";if(h.target===n.value&&b&&(f(`after-${w}`),d("ANIMATION_END"),!l.value)){const B=n.value.style.animationFillMode;n.value.style.animationFillMode="forwards",i=u==null?void 0:u.setTimeout(()=>{var x;((x=n.value)==null?void 0:x.style.animationFillMode)==="forwards"&&(n.value.style.animationFillMode=B)})}h.target===n.value&&y==="none"&&d("ANIMATION_END")},p=h=>{h.target===n.value&&(o.value=cn(n.value))},v=e.watch(n,(h,y)=>{h?(a.value=getComputedStyle(h),h.addEventListener("animationstart",p),h.addEventListener("animationcancel",m),h.addEventListener("animationend",m)):(d("ANIMATION_END"),i!==void 0&&(u==null||u.clearTimeout(i)),y==null||y.removeEventListener("animationstart",p),y==null||y.removeEventListener("animationcancel",m),y==null||y.removeEventListener("animationend",m))},{immediate:!0}),g=e.watch(c,()=>{const h=cn(n.value);o.value=c.value==="mounted"?h:"none"});return e.onUnmounted(()=>{v(),g()}),{isPresent:e.computed(()=>["mounted","unmountSuspended"].includes(c.value))}}function cn(t){return t&&getComputedStyle(t).animationName||"none"}const me=e.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:n,expose:r}){var a;const{present:o,forceMount:l}=e.toRefs(t),s=e.ref(),{isPresent:i}=cu(o,s);r({present:i});let u=n.default({present:i});u=an(u||[]);const c=e.getCurrentInstance();if(u&&(u==null?void 0:u.length)>1){const d=(a=c==null?void 0:c.parent)!=null&&a.type.name?`<${c.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${d}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(` +(function(C,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(C=typeof globalThis<"u"?globalThis:C||self,e(C.gooey={},C.No))})(this,function(C,e){"use strict";var hs=C=>{throw TypeError(C)};var C0=(C,e,Ve)=>e.has(C)||hs("Cannot "+Ve);var qt=(C,e,Ve)=>(C0(C,e,"read from private field"),Ve?Ve.call(C):e.get(C)),gs=(C,e,Ve)=>e.has(C)?hs("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(C):e.set(C,Ve);function Ve(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const Gt=Ve(e);function ma(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var On,va;function ys(){return va||(va=1,On={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi}),On}var An,ha;function bs(){if(ha)return An;ha=1;var t=ys(),n={whitespace:/\s+/g,urlHexPairs:/%[\dA-F]{2}/g,quotes:/"/g};function r(i){return i.trim().replace(n.whitespace," ")}function a(i){return encodeURIComponent(i).replace(n.urlHexPairs,l)}function o(i){return Object.keys(t).forEach(function(u){t[u].test(i)&&(i=i.replace(t[u],u))}),i}function l(i){switch(i){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return i.toLowerCase()}}function s(i){if(typeof i!="string")throw new TypeError("Expected a string, but received "+typeof i);i.charCodeAt(0)===65279&&(i=i.slice(1));var u=o(r(i)).replace(n.quotes,"'");return"data:image/svg+xml,"+a(u)}return s.toSrcset=function(u){return s(u).replace(/ /g,"%20")},An=s,An}var Dn={},Vn={},ga;function ws(){return ga||(ga=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});function n(a,o){return{handler:a,config:o}}n.withOptions=function(a,o=()=>({})){const l=function(s){return{__options:s,handler:a(s),config:o(s)}};return l.__isOptionsFunction=!0,l.__pluginFunction=a,l.__configFunction=o,l};const r=n}(Vn)),Vn}var ya;function xs(){return ya||(ya=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const n=r(ws());function r(o){return o&&o.__esModule?o:{default:o}}const a=n.default}(Dn)),Dn}var Mn,ba;function wa(){if(ba)return Mn;ba=1;let t=xs();return Mn=(t.__esModule?t:{default:t}).default,Mn}var In={},Rn={},xa;function Cs(){return xa||(xa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return n}});function n(r){return Array.isArray(r)?r.map(a=>n(a)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([a,o])=>[a,n(o)])):r}}(Rn)),Rn}var Fn,Ca;function _s(){return Ca||(Ca=1,Fn={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:t})=>t("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:t})=>({...t("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:t})=>t("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:n})=>({...t("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...n(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:t})=>({...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:t})=>({auto:"auto",...t("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}),Fn}var _a;function Bs(){return _a||(_a=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const n=Cs(),r=a(_s());function a(l){return l&&l.__esModule?l:{default:l}}const o=(0,n.cloneDeep)(r.default.theme)}(In)),In}var zn,Ba;function ks(){if(Ba)return zn;Ba=1;let t=Bs();return zn=(t.__esModule?t:{default:t}).default,zn}var Ln={},jn={},Yt={exports:{}},ka;function Ss(){if(ka)return Yt.exports;ka=1;var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};return Yt.exports=n(),Yt.exports.createColors=n,Yt.exports}var Sa;function Ps(){return Sa||(Sa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});function n(u,c){for(var d in c)Object.defineProperty(u,d,{enumerable:!0,get:c[d]})}n(t,{dim:function(){return s},default:function(){return i}});const r=a(Ss());function a(u){return u&&u.__esModule?u:{default:u}}let o=new Set;function l(u,c,d){typeof process<"u"&&process.env.JEST_WORKER_ID||d&&o.has(d)||(d&&o.add(d),console.warn(""),c.forEach(f=>console.warn(u,"-",f)))}function s(u){return r.default.dim(u)}const i={info(u,c){l(r.default.bold(r.default.cyan("info")),...Array.isArray(u)?[u]:[c,u])},warn(u,c){l(r.default.bold(r.default.yellow("warn")),...Array.isArray(u)?[u]:[c,u])},risk(u,c){l(r.default.bold(r.default.magenta("risk")),...Array.isArray(u)?[u]:[c,u])}}}(jn)),jn}var Pa;function Es(){return Pa||(Pa=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const n=r(Ps());function r(l){return l&&l.__esModule?l:{default:l}}function a({version:l,from:s,to:i}){n.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${l}, \`${s}\` has been renamed to \`${i}\`.`,"Update your configuration file to silence this warning."])}const o={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return a({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return a({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return a({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return a({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return a({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}}(Ln)),Ln}var Kn,Ea;function $s(){if(Ea)return Kn;Ea=1;let t=Es();return Kn=(t.__esModule?t:{default:t}).default,Kn}var Hn,$a;function Ts(){if($a)return Hn;$a=1;const t=bs(),n=wa(),r=ks(),a=$s(),[o,{lineHeight:l}]=r.fontSize.base,{spacing:s,borderWidth:i,borderRadius:u}=r;function c(f,m){return f.replace("",`var(${m}, 1)`)}return Hn=n.withOptions(function(f={strategy:void 0}){return function({addBase:m,addComponents:p,theme:v}){function h(w,_){let x=v(w);return!x||x.includes("var(")?_:x.replace("","1")}const g=f.strategy===void 0?["base","class"]:[f.strategy],y=[{base:["[type='text']","input:where(:not([type]))","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":c(v("colors.gray.500",a.gray[500]),"--tw-border-opacity"),"border-width":i.DEFAULT,"border-radius":u.none,"padding-top":s[2],"padding-right":s[3],"padding-bottom":s[2],"padding-left":s[3],"font-size":o,"line-height":l,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":c(v("colors.blue.600",a.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":c(v("colors.blue.600",a.blue[600]),"--tw-border-opacity")}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:c(v("colors.gray.500",a.gray[500]),"--tw-text-opacity"),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"text-align":"inherit"}},{base:["::-webkit-datetime-edit"],class:[".form-input::-webkit-datetime-edit"],styles:{display:"inline-flex"}},{base:["::-webkit-datetime-edit","::-webkit-datetime-edit-year-field","::-webkit-datetime-edit-month-field","::-webkit-datetime-edit-day-field","::-webkit-datetime-edit-hour-field","::-webkit-datetime-edit-minute-field","::-webkit-datetime-edit-second-field","::-webkit-datetime-edit-millisecond-field","::-webkit-datetime-edit-meridiem-field"],class:[".form-input::-webkit-datetime-edit",".form-input::-webkit-datetime-edit-year-field",".form-input::-webkit-datetime-edit-month-field",".form-input::-webkit-datetime-edit-day-field",".form-input::-webkit-datetime-edit-hour-field",".form-input::-webkit-datetime-edit-minute-field",".form-input::-webkit-datetime-edit-second-field",".form-input::-webkit-datetime-edit-millisecond-field",".form-input::-webkit-datetime-edit-meridiem-field"],styles:{"padding-top":0,"padding-bottom":0}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${t(``)}")`,"background-position":`right ${s[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":s[10],"print-color-adjust":"exact"}},{base:["[multiple]",'[size]:where(select:not([size="1"]))'],class:['.form-select:where([size]:not([size="1"]))'],styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":s[3],"print-color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","print-color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:s[4],width:s[4],color:c(v("colors.blue.600",a.blue[600]),"--tw-text-opacity"),"background-color":"#fff","border-color":c(v("colors.gray.500",a.gray[500]),"--tw-border-opacity"),"border-width":i.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":u.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":c(v("colors.blue.600",a.blue[600]),"--tw-ring-opacity"),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${t('')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${t('')}")`,"@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${t('')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat","@media (forced-colors: active) ":{appearance:"auto"}}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:["1px solid ButtonText","1px auto -webkit-focus-ring-color"]}}],b=w=>y.map(_=>_[w]===null?null:{[_[w]]:_.styles}).filter(Boolean);g.includes("base")&&m(b("base")),g.includes("class")&&p(b("class"))}}),Hn}var Os=Ts();const As=ma(Os);var Un,Ta;function Ds(){if(Ta)return Un;Ta=1;const t=wa();function n(r){return Object.fromEntries(Object.entries(r).filter(([a])=>a!=="DEFAULT"))}return Un=t(({addUtilities:r,matchUtilities:a,theme:o})=>{r({"@keyframes enter":o("keyframes.enter"),"@keyframes exit":o("keyframes.exit"),".animate-in":{animationName:"enter",animationDuration:o("animationDuration.DEFAULT"),"--tw-enter-opacity":"initial","--tw-enter-scale":"initial","--tw-enter-rotate":"initial","--tw-enter-translate-x":"initial","--tw-enter-translate-y":"initial"},".animate-out":{animationName:"exit",animationDuration:o("animationDuration.DEFAULT"),"--tw-exit-opacity":"initial","--tw-exit-scale":"initial","--tw-exit-rotate":"initial","--tw-exit-translate-x":"initial","--tw-exit-translate-y":"initial"}}),a({"fade-in":l=>({"--tw-enter-opacity":l}),"fade-out":l=>({"--tw-exit-opacity":l})},{values:o("animationOpacity")}),a({"zoom-in":l=>({"--tw-enter-scale":l}),"zoom-out":l=>({"--tw-exit-scale":l})},{values:o("animationScale")}),a({"spin-in":l=>({"--tw-enter-rotate":l}),"spin-out":l=>({"--tw-exit-rotate":l})},{values:o("animationRotate")}),a({"slide-in-from-top":l=>({"--tw-enter-translate-y":`-${l}`}),"slide-in-from-bottom":l=>({"--tw-enter-translate-y":l}),"slide-in-from-left":l=>({"--tw-enter-translate-x":`-${l}`}),"slide-in-from-right":l=>({"--tw-enter-translate-x":l}),"slide-out-to-top":l=>({"--tw-exit-translate-y":`-${l}`}),"slide-out-to-bottom":l=>({"--tw-exit-translate-y":l}),"slide-out-to-left":l=>({"--tw-exit-translate-x":`-${l}`}),"slide-out-to-right":l=>({"--tw-exit-translate-x":l})},{values:o("animationTranslate")}),a({duration:l=>({animationDuration:l})},{values:n(o("animationDuration"))}),a({delay:l=>({animationDelay:l})},{values:o("animationDelay")}),a({ease:l=>({animationTimingFunction:l})},{values:n(o("animationTimingFunction"))}),r({".running":{animationPlayState:"running"},".paused":{animationPlayState:"paused"}}),a({"fill-mode":l=>({animationFillMode:l})},{values:o("animationFillMode")}),a({direction:l=>({animationDirection:l})},{values:o("animationDirection")}),a({repeat:l=>({animationIterationCount:l})},{values:o("animationRepeat")})},{theme:{extend:{animationDelay:({theme:r})=>({...r("transitionDelay")}),animationDuration:({theme:r})=>({0:"0ms",...r("transitionDuration")}),animationTimingFunction:({theme:r})=>({...r("transitionTimingFunction")}),animationFillMode:{none:"none",forwards:"forwards",backwards:"backwards",both:"both"},animationDirection:{normal:"normal",reverse:"reverse",alternate:"alternate","alternate-reverse":"alternate-reverse"},animationOpacity:({theme:r})=>({DEFAULT:0,...r("opacity")}),animationTranslate:({theme:r})=>({DEFAULT:"100%",...r("translate")}),animationScale:({theme:r})=>({DEFAULT:0,...r("scale")}),animationRotate:({theme:r})=>({DEFAULT:"30deg",...r("rotate")}),animationRepeat:{0:"0",1:"1",infinite:"infinite"},keyframes:{enter:{from:{opacity:"var(--tw-enter-opacity, 1)",transform:"translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))"}},exit:{to:{opacity:"var(--tw-exit-opacity, 1)",transform:"translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))"}}}}}}),Un}var Vs=Ds();const Ms={darkMode:["class"],safelist:["dark"],theme:{extend:{colors:{border:"hsl(var(--border))",input:"hsl(var(--input))",ring:"hsl(var(--ring))",background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",primary:{DEFAULT:"hsl(var(--primary))",foreground:"hsl(var(--primary-foreground))"},secondary:{DEFAULT:"hsl(var(--secondary))",foreground:"hsl(var(--secondary-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},accent:{DEFAULT:"hsl(var(--accent))",foreground:"hsl(var(--accent-foreground))"},popover:{DEFAULT:"hsl(var(--popover))",foreground:"hsl(var(--popover-foreground))"},card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"}},borderRadius:{xl:"calc(var(--radius) + 4px)",lg:"var(--radius)",md:"calc(var(--radius) - 2px)",sm:"calc(var(--radius) - 4px)"},keyframes:{"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}},"collapsible-down":{from:{height:0},to:{height:"var(--radix-collapsible-content-height)"}},"collapsible-up":{from:{height:"var(--radix-collapsible-content-height)"},to:{height:0}}},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","collapsible-down":"collapsible-down 0.2s ease-in-out","collapsible-up":"collapsible-up 0.2s ease-in-out"}}},plugins:[ma(Vs),As({strategy:"class"})]},Is=["top","right","bottom","left"],Me=Math.min,ue=Math.max,Xt=Math.round,Qt=Math.floor,we=t=>({x:t,y:t}),Rs={left:"right",right:"left",bottom:"top",top:"bottom"},Fs={start:"end",end:"start"};function Wn(t,n,r){return ue(t,Me(n,r))}function Pe(t,n){return typeof t=="function"?t(n):t}function Ee(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function qn(t){return t==="x"?"y":"x"}function Gn(t){return t==="y"?"height":"width"}function $e(t){return["top","bottom"].includes(Ee(t))?"y":"x"}function Yn(t){return qn($e(t))}function zs(t,n,r){r===void 0&&(r=!1);const a=nt(t),o=Yn(t),l=Gn(o);let s=o==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return n.reference[l]>n.floating[l]&&(s=Zt(s)),[s,Zt(s)]}function Ls(t){const n=Zt(t);return[Xn(t),n,Xn(n)]}function Xn(t){return t.replace(/start|end/g,n=>Fs[n])}function js(t,n,r){const a=["left","right"],o=["right","left"],l=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?n?o:a:n?a:o;case"left":case"right":return n?l:s;default:return[]}}function Ks(t,n,r,a){const o=nt(t);let l=js(Ee(t),r==="start",a);return o&&(l=l.map(s=>s+"-"+o),n&&(l=l.concat(l.map(Xn)))),l}function Zt(t){return t.replace(/left|right|bottom|top/g,n=>Rs[n])}function Hs(t){return{top:0,right:0,bottom:0,left:0,...t}}function Oa(t){return typeof t!="number"?Hs(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){const{x:n,y:r,width:a,height:o}=t;return{width:a,height:o,top:r,left:n,right:n+a,bottom:r+o,x:n,y:r}}function Aa(t,n,r){let{reference:a,floating:o}=t;const l=$e(n),s=Yn(n),i=Gn(s),u=Ee(n),c=l==="y",d=a.x+a.width/2-o.width/2,f=a.y+a.height/2-o.height/2,m=a[i]/2-o[i]/2;let p;switch(u){case"top":p={x:d,y:a.y-o.height};break;case"bottom":p={x:d,y:a.y+a.height};break;case"right":p={x:a.x+a.width,y:f};break;case"left":p={x:a.x-o.width,y:f};break;default:p={x:a.x,y:a.y}}switch(nt(n)){case"start":p[s]-=m*(r&&c?-1:1);break;case"end":p[s]+=m*(r&&c?-1:1);break}return p}const Us=async(t,n,r)=>{const{placement:a="bottom",strategy:o="absolute",middleware:l=[],platform:s}=r,i=l.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(n));let c=await s.getElementRects({reference:t,floating:n,strategy:o}),{x:d,y:f}=Aa(c,a,u),m=a,p={},v=0;for(let h=0;h({name:"arrow",options:t,async fn(n){const{x:r,y:a,placement:o,rects:l,platform:s,elements:i,middlewareData:u}=n,{element:c,padding:d=0}=Pe(t,n)||{};if(c==null)return{};const f=Oa(d),m={x:r,y:a},p=Yn(o),v=Gn(p),h=await s.getDimensions(c),g=p==="y",y=g?"top":"left",b=g?"bottom":"right",w=g?"clientHeight":"clientWidth",_=l.reference[v]+l.reference[p]-m[p]-l.floating[v],x=m[p]-l.reference[p],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=S?S[w]:0;(!B||!await(s.isElement==null?void 0:s.isElement(S)))&&(B=i.floating[w]||l.floating[v]);const P=_/2-x/2,T=B/2-h[v]/2-1,k=Me(f[y],T),O=Me(f[b],T),$=k,R=B-h[v]-O,I=B/2-h[v]/2+P,L=Wn($,I,R),U=!u.arrow&&nt(o)!=null&&I!==L&&l.reference[v]/2-(I<$?k:O)-h[v]/2<0,Q=U?I<$?I-$:I-R:0;return{[p]:m[p]+Q,data:{[p]:L,centerOffset:I-L-Q,...U&&{alignmentOffset:Q}},reset:U}}}),qs=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(n){var r,a;const{placement:o,middlewareData:l,rects:s,initialPlacement:i,platform:u,elements:c}=n,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...g}=Pe(t,n);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const y=Ee(o),b=$e(i),w=Ee(i)===i,_=await(u.isRTL==null?void 0:u.isRTL(c.floating)),x=m||(w||!h?[Zt(i)]:Ls(i)),S=v!=="none";!m&&S&&x.push(...Ks(i,h,v,_));const B=[i,...x],P=await xt(n,g),T=[];let k=((a=l.flip)==null?void 0:a.overflows)||[];if(d&&T.push(P[y]),f){const L=zs(o,s,_);T.push(P[L[0]],P[L[1]])}if(k=[...k,{placement:o,overflows:T}],!T.every(L=>L<=0)){var O,$;const L=(((O=l.flip)==null?void 0:O.index)||0)+1,U=B[L];if(U){var R;const q=f==="alignment"?b!==$e(U):!1,D=((R=k[0])==null?void 0:R.overflows[0])>0;if(!q||D)return{data:{index:L,overflows:k},reset:{placement:U}}}let Q=($=k.filter(q=>q.overflows[0]<=0).sort((q,D)=>q.overflows[1]-D.overflows[1])[0])==null?void 0:$.placement;if(!Q)switch(p){case"bestFit":{var I;const q=(I=k.filter(D=>{if(S){const F=$e(D.placement);return F===b||F==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(F=>F>0).reduce((F,K)=>F+K,0)]).sort((D,F)=>D[1]-F[1])[0])==null?void 0:I[0];q&&(Q=q);break}case"initialPlacement":Q=i;break}if(o!==Q)return{reset:{placement:Q}}}return{}}}};function Da(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function Va(t){return Is.some(n=>t[n]>=0)}const Gs=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(n){const{rects:r}=n,{strategy:a="referenceHidden",...o}=Pe(t,n);switch(a){case"referenceHidden":{const l=await xt(n,{...o,elementContext:"reference"}),s=Da(l,r.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Va(s)}}}case"escaped":{const l=await xt(n,{...o,altBoundary:!0}),s=Da(l,r.floating);return{data:{escapedOffsets:s,escaped:Va(s)}}}default:return{}}}}};async function Ys(t,n){const{placement:r,platform:a,elements:o}=t,l=await(a.isRTL==null?void 0:a.isRTL(o.floating)),s=Ee(r),i=nt(r),u=$e(r)==="y",c=["left","top"].includes(s)?-1:1,d=l&&u?-1:1,f=Pe(n,t);let{mainAxis:m,crossAxis:p,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof v=="number"&&(p=i==="end"?v*-1:v),u?{x:p*d,y:m*c}:{x:m*c,y:p*d}}const Xs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(n){var r,a;const{x:o,y:l,placement:s,middlewareData:i}=n,u=await Ys(n,t);return s===((r=i.offset)==null?void 0:r.placement)&&(a=i.arrow)!=null&&a.alignmentOffset?{}:{x:o+u.x,y:l+u.y,data:{...u,placement:s}}}}},Qs=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(n){const{x:r,y:a,placement:o}=n,{mainAxis:l=!0,crossAxis:s=!1,limiter:i={fn:g=>{let{x:y,y:b}=g;return{x:y,y:b}}},...u}=Pe(t,n),c={x:r,y:a},d=await xt(n,u),f=$e(Ee(o)),m=qn(f);let p=c[m],v=c[f];if(l){const g=m==="y"?"top":"left",y=m==="y"?"bottom":"right",b=p+d[g],w=p-d[y];p=Wn(b,p,w)}if(s){const g=f==="y"?"top":"left",y=f==="y"?"bottom":"right",b=v+d[g],w=v-d[y];v=Wn(b,v,w)}const h=i.fn({...n,[m]:p,[f]:v});return{...h,data:{x:h.x-r,y:h.y-a,enabled:{[m]:l,[f]:s}}}}}},Zs=function(t){return t===void 0&&(t={}),{options:t,fn(n){const{x:r,y:a,placement:o,rects:l,middlewareData:s}=n,{offset:i=0,mainAxis:u=!0,crossAxis:c=!0}=Pe(t,n),d={x:r,y:a},f=$e(o),m=qn(f);let p=d[m],v=d[f];const h=Pe(i,n),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){const w=m==="y"?"height":"width",_=l.reference[m]-l.floating[w]+g.mainAxis,x=l.reference[m]+l.reference[w]-g.mainAxis;p<_?p=_:p>x&&(p=x)}if(c){var y,b;const w=m==="y"?"width":"height",_=["top","left"].includes(Ee(o)),x=l.reference[f]-l.floating[w]+(_&&((y=s.offset)==null?void 0:y[f])||0)+(_?0:g.crossAxis),S=l.reference[f]+l.reference[w]+(_?0:((b=s.offset)==null?void 0:b[f])||0)-(_?g.crossAxis:0);vS&&(v=S)}return{[m]:p,[f]:v}}}},Js=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(n){var r,a;const{placement:o,rects:l,platform:s,elements:i}=n,{apply:u=()=>{},...c}=Pe(t,n),d=await xt(n,c),f=Ee(o),m=nt(o),p=$e(o)==="y",{width:v,height:h}=l.floating;let g,y;f==="top"||f==="bottom"?(g=f,y=m===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(y=f,g=m==="end"?"top":"bottom");const b=h-d.top-d.bottom,w=v-d.left-d.right,_=Me(h-d[g],b),x=Me(v-d[y],w),S=!n.middlewareData.shift;let B=_,P=x;if((r=n.middlewareData.shift)!=null&&r.enabled.x&&(P=w),(a=n.middlewareData.shift)!=null&&a.enabled.y&&(B=b),S&&!m){const k=ue(d.left,0),O=ue(d.right,0),$=ue(d.top,0),R=ue(d.bottom,0);p?P=v-2*(k!==0||O!==0?k+O:ue(d.left,d.right)):B=h-2*($!==0||R!==0?$+R:ue(d.top,d.bottom))}await u({...n,availableWidth:P,availableHeight:B});const T=await s.getDimensions(i.floating);return v!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function Nt(){return typeof window<"u"}function He(t){return Qn(t)?(t.nodeName||"").toLowerCase():"#document"}function ce(t){var n;return(t==null||(n=t.ownerDocument)==null?void 0:n.defaultView)||window}function xe(t){var n;return(n=(Qn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:n.documentElement}function Qn(t){return Nt()?t instanceof Node||t instanceof ce(t).Node:!1}function me(t){return Nt()?t instanceof Element||t instanceof ce(t).Element:!1}function Ce(t){return Nt()?t instanceof HTMLElement||t instanceof ce(t).HTMLElement:!1}function Ma(t){return!Nt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ce(t).ShadowRoot}function Ct(t){const{overflow:n,overflowX:r,overflowY:a,display:o}=ve(t);return/auto|scroll|overlay|hidden|clip/.test(n+a+r)&&!["inline","contents"].includes(o)}function Ns(t){return["table","td","th"].includes(He(t))}function en(t){return[":popover-open",":modal"].some(n=>{try{return t.matches(n)}catch{return!1}})}function Zn(t){const n=Jn(),r=me(t)?ve(t):t;return["transform","translate","scale","rotate","perspective"].some(a=>r[a]?r[a]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!n&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!n&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(a=>(r.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(r.contain||"").includes(a))}function ei(t){let n=Ie(t);for(;Ce(n)&&!rt(n);){if(Zn(n))return n;if(en(n))return null;n=Ie(n)}return null}function Jn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function rt(t){return["html","body","#document"].includes(He(t))}function ve(t){return ce(t).getComputedStyle(t)}function tn(t){return me(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ie(t){if(He(t)==="html")return t;const n=t.assignedSlot||t.parentNode||Ma(t)&&t.host||xe(t);return Ma(n)?n.host:n}function Ia(t){const n=Ie(t);return rt(n)?t.ownerDocument?t.ownerDocument.body:t.body:Ce(n)&&Ct(n)?n:Ia(n)}function _t(t,n,r){var a;n===void 0&&(n=[]),r===void 0&&(r=!0);const o=Ia(t),l=o===((a=t.ownerDocument)==null?void 0:a.body),s=ce(o);if(l){const i=Nn(s);return n.concat(s,s.visualViewport||[],Ct(o)?o:[],i&&r?_t(i):[])}return n.concat(o,_t(o,[],r))}function Nn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ra(t){const n=ve(t);let r=parseFloat(n.width)||0,a=parseFloat(n.height)||0;const o=Ce(t),l=o?t.offsetWidth:r,s=o?t.offsetHeight:a,i=Xt(r)!==l||Xt(a)!==s;return i&&(r=l,a=s),{width:r,height:a,$:i}}function er(t){return me(t)?t:t.contextElement}function at(t){const n=er(t);if(!Ce(n))return we(1);const r=n.getBoundingClientRect(),{width:a,height:o,$:l}=Ra(n);let s=(l?Xt(r.width):r.width)/a,i=(l?Xt(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const ti=we(0);function Fa(t){const n=ce(t);return!Jn()||!n.visualViewport?ti:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function ni(t,n,r){return n===void 0&&(n=!1),!r||n&&r!==ce(t)?!1:n}function Ue(t,n,r,a){n===void 0&&(n=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),l=er(t);let s=we(1);n&&(a?me(a)&&(s=at(a)):s=at(t));const i=ni(l,r,a)?Fa(l):we(0);let u=(o.left+i.x)/s.x,c=(o.top+i.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(l){const m=ce(l),p=a&&me(a)?ce(a):a;let v=m,h=Nn(v);for(;h&&a&&p!==v;){const g=at(h),y=h.getBoundingClientRect(),b=ve(h),w=y.left+(h.clientLeft+parseFloat(b.paddingLeft))*g.x,_=y.top+(h.clientTop+parseFloat(b.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=w,c+=_,v=ce(h),h=Nn(v)}}return Jt({width:d,height:f,x:u,y:c})}function tr(t,n){const r=tn(t).scrollLeft;return n?n.left+r:Ue(xe(t)).left+r}function za(t,n,r){r===void 0&&(r=!1);const a=t.getBoundingClientRect(),o=a.left+n.scrollLeft-(r?0:tr(t,a)),l=a.top+n.scrollTop;return{x:o,y:l}}function ri(t){let{elements:n,rect:r,offsetParent:a,strategy:o}=t;const l=o==="fixed",s=xe(a),i=n?en(n.floating):!1;if(a===s||i&&l)return r;let u={scrollLeft:0,scrollTop:0},c=we(1);const d=we(0),f=Ce(a);if((f||!f&&!l)&&((He(a)!=="body"||Ct(s))&&(u=tn(a)),Ce(a))){const p=Ue(a);c=at(a),d.x=p.x+a.clientLeft,d.y=p.y+a.clientTop}const m=s&&!f&&!l?za(s,u,!0):we(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-u.scrollLeft*c.x+d.x+m.x,y:r.y*c.y-u.scrollTop*c.y+d.y+m.y}}function ai(t){return Array.from(t.getClientRects())}function oi(t){const n=xe(t),r=tn(t),a=t.ownerDocument.body,o=ue(n.scrollWidth,n.clientWidth,a.scrollWidth,a.clientWidth),l=ue(n.scrollHeight,n.clientHeight,a.scrollHeight,a.clientHeight);let s=-r.scrollLeft+tr(t);const i=-r.scrollTop;return ve(a).direction==="rtl"&&(s+=ue(n.clientWidth,a.clientWidth)-o),{width:o,height:l,x:s,y:i}}function li(t,n){const r=ce(t),a=xe(t),o=r.visualViewport;let l=a.clientWidth,s=a.clientHeight,i=0,u=0;if(o){l=o.width,s=o.height;const c=Jn();(!c||c&&n==="fixed")&&(i=o.offsetLeft,u=o.offsetTop)}return{width:l,height:s,x:i,y:u}}function si(t,n){const r=Ue(t,!0,n==="fixed"),a=r.top+t.clientTop,o=r.left+t.clientLeft,l=Ce(t)?at(t):we(1),s=t.clientWidth*l.x,i=t.clientHeight*l.y,u=o*l.x,c=a*l.y;return{width:s,height:i,x:u,y:c}}function La(t,n,r){let a;if(n==="viewport")a=li(t,r);else if(n==="document")a=oi(xe(t));else if(me(n))a=si(n,r);else{const o=Fa(t);a={x:n.x-o.x,y:n.y-o.y,width:n.width,height:n.height}}return Jt(a)}function ja(t,n){const r=Ie(t);return r===n||!me(r)||rt(r)?!1:ve(r).position==="fixed"||ja(r,n)}function ii(t,n){const r=n.get(t);if(r)return r;let a=_t(t,[],!1).filter(i=>me(i)&&He(i)!=="body"),o=null;const l=ve(t).position==="fixed";let s=l?Ie(t):t;for(;me(s)&&!rt(s);){const i=ve(s),u=Zn(s);!u&&i.position==="fixed"&&(o=null),(l?!u&&!o:!u&&i.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ct(s)&&!u&&ja(t,s))?a=a.filter(d=>d!==s):o=i,s=Ie(s)}return n.set(t,a),a}function ui(t){let{element:n,boundary:r,rootBoundary:a,strategy:o}=t;const s=[...r==="clippingAncestors"?en(n)?[]:ii(n,this._c):[].concat(r),a],i=s[0],u=s.reduce((c,d)=>{const f=La(n,d,o);return c.top=ue(f.top,c.top),c.right=Me(f.right,c.right),c.bottom=Me(f.bottom,c.bottom),c.left=ue(f.left,c.left),c},La(n,i,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ci(t){const{width:n,height:r}=Ra(t);return{width:n,height:r}}function di(t,n,r){const a=Ce(n),o=xe(n),l=r==="fixed",s=Ue(t,!0,l,n);let i={scrollLeft:0,scrollTop:0};const u=we(0);function c(){u.x=tr(o)}if(a||!a&&!l)if((He(n)!=="body"||Ct(o))&&(i=tn(n)),a){const p=Ue(n,!0,l,n);u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}else o&&c();l&&!a&&o&&c();const d=o&&!a&&!l?za(o,i):we(0),f=s.left+i.scrollLeft-u.x-d.x,m=s.top+i.scrollTop-u.y-d.y;return{x:f,y:m,width:s.width,height:s.height}}function nr(t){return ve(t).position==="static"}function Ka(t,n){if(!Ce(t)||ve(t).position==="fixed")return null;if(n)return n(t);let r=t.offsetParent;return xe(t)===r&&(r=r.ownerDocument.body),r}function Ha(t,n){const r=ce(t);if(en(t))return r;if(!Ce(t)){let o=Ie(t);for(;o&&!rt(o);){if(me(o)&&!nr(o))return o;o=Ie(o)}return r}let a=Ka(t,n);for(;a&&Ns(a)&&nr(a);)a=Ka(a,n);return a&&rt(a)&&nr(a)&&!Zn(a)?r:a||ei(t)||r}const fi=async function(t){const n=this.getOffsetParent||Ha,r=this.getDimensions,a=await r(t.floating);return{reference:di(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function pi(t){return ve(t).direction==="rtl"}const mi={convertOffsetParentRelativeRectToViewportRelativeRect:ri,getDocumentElement:xe,getClippingRect:ui,getOffsetParent:Ha,getElementRects:fi,getClientRects:ai,getDimensions:ci,getScale:at,isElement:me,isRTL:pi};function Ua(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function vi(t,n){let r=null,a;const o=xe(t);function l(){var i;clearTimeout(a),(i=r)==null||i.disconnect(),r=null}function s(i,u){i===void 0&&(i=!1),u===void 0&&(u=1),l();const c=t.getBoundingClientRect(),{left:d,top:f,width:m,height:p}=c;if(i||n(),!m||!p)return;const v=Qt(f),h=Qt(o.clientWidth-(d+m)),g=Qt(o.clientHeight-(f+p)),y=Qt(d),w={rootMargin:-v+"px "+-h+"px "+-g+"px "+-y+"px",threshold:ue(0,Me(1,u))||1};let _=!0;function x(S){const B=S[0].intersectionRatio;if(B!==u){if(!_)return s();B?s(!1,B):a=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Ua(c,t.getBoundingClientRect())&&s(),_=!1}try{r=new IntersectionObserver(x,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(x,w)}r.observe(t)}return s(!0),l}function hi(t,n,r,a){a===void 0&&(a={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:u=!1}=a,c=er(t),d=o||l?[...c?_t(c):[],..._t(n)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),l&&y.addEventListener("resize",r)});const f=c&&i?vi(c,r):null;let m=-1,p=null;s&&(p=new ResizeObserver(y=>{let[b]=y;b&&b.target===c&&p&&(p.unobserve(n),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(n)})),r()}),c&&!u&&p.observe(c),p.observe(n));let v,h=u?Ue(t):null;u&&g();function g(){const y=Ue(t);h&&!Ua(h,y)&&r(),h=y,v=requestAnimationFrame(g)}return r(),()=>{var y;d.forEach(b=>{o&&b.removeEventListener("scroll",r),l&&b.removeEventListener("resize",r)}),f==null||f(),(y=p)==null||y.disconnect(),p=null,u&&cancelAnimationFrame(v)}}const gi=Xs,yi=Qs,Wa=qs,bi=Js,wi=Gs,xi=Ws,Ci=Zs,_i=(t,n,r)=>{const a=new Map,o={platform:mi,...r},l={...o.platform,_c:a};return Us(t,n,{...o,platform:l})};function Bi(t){return t!=null&&typeof t=="object"&&"$el"in t}function rr(t){if(Bi(t)){const n=t.$el;return Qn(n)&&He(n)==="#comment"?null:n}return t}function ot(t){return typeof t=="function"?t():e.unref(t)}function ki(t){return{name:"arrow",options:t,fn(n){const r=rr(ot(t.element));return r==null?{}:xi({element:r,padding:t.padding}).fn(n)}}}function qa(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Ga(t,n){const r=qa(t);return Math.round(n*r)/r}function Si(t,n,r){r===void 0&&(r={});const a=r.whileElementsMounted,o=e.computed(()=>{var B;return(B=ot(r.open))!=null?B:!0}),l=e.computed(()=>ot(r.middleware)),s=e.computed(()=>{var B;return(B=ot(r.placement))!=null?B:"bottom"}),i=e.computed(()=>{var B;return(B=ot(r.strategy))!=null?B:"absolute"}),u=e.computed(()=>{var B;return(B=ot(r.transform))!=null?B:!0}),c=e.computed(()=>rr(t.value)),d=e.computed(()=>rr(n.value)),f=e.ref(0),m=e.ref(0),p=e.ref(i.value),v=e.ref(s.value),h=e.shallowRef({}),g=e.ref(!1),y=e.computed(()=>{const B={position:p.value,left:"0",top:"0"};if(!d.value)return B;const P=Ga(d.value,f.value),T=Ga(d.value,m.value);return u.value?{...B,transform:"translate("+P+"px, "+T+"px)",...qa(d.value)>=1.5&&{willChange:"transform"}}:{position:p.value,left:P+"px",top:T+"px"}});let b;function w(){if(c.value==null||d.value==null)return;const B=o.value;_i(c.value,d.value,{middleware:l.value,placement:s.value,strategy:i.value}).then(P=>{f.value=P.x,m.value=P.y,p.value=P.strategy,v.value=P.placement,h.value=P.middlewareData,g.value=B!==!1})}function _(){typeof b=="function"&&(b(),b=void 0)}function x(){if(_(),a===void 0){w();return}if(c.value!=null&&d.value!=null){b=a(c.value,d.value,w);return}}function S(){o.value||(g.value=!1)}return e.watch([l,s,i,o],w,{flush:"sync"}),e.watch([c,d],x,{flush:"sync"}),e.watch(o,S,{flush:"sync"}),e.getCurrentScope()&&e.onScopeDispose(_),{x:e.shallowReadonly(f),y:e.shallowReadonly(m),strategy:e.shallowReadonly(p),placement:e.shallowReadonly(v),middlewareData:e.shallowReadonly(h),isPositioned:e.shallowReadonly(g),floatingStyles:y,update:w}}function H(t,n){const r=typeof t=="string"&&!n?`${t}Context`:n,a=Symbol(r);return[o=>{const l=e.inject(a,o);if(l||l===null)return l;throw new Error(`Injection \`${a.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},o=>(e.provide(a,o),o)]}function ar(t,n,r){const a=r.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});n&&a.addEventListener(t,n,{once:!0}),a.dispatchEvent(o)}function nn(t,n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY){return Math.min(r,Math.max(n,t))}function Pi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ei=function t(n,r){if(n===r)return!0;if(n&&r&&typeof n=="object"&&typeof r=="object"){if(n.constructor!==r.constructor)return!1;var a,o,l;if(Array.isArray(n)){if(a=n.length,a!=r.length)return!1;for(o=a;o--!==0;)if(!t(n[o],r[o]))return!1;return!0}if(n.constructor===RegExp)return n.source===r.source&&n.flags===r.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===r.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===r.toString();if(l=Object.keys(n),a=l.length,a!==Object.keys(r).length)return!1;for(o=a;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[o]))return!1;for(o=a;o--!==0;){var s=l[o];if(!t(n[s],r[s]))return!1}return!0}return n!==n&&r!==r};const We=Pi(Ei);function lt(t){return t==null}function $i(t,n){var r;const a=e.shallowRef();return e.watchEffect(()=>{a.value=t()},{...n,flush:(r=void 0)!=null?r:"sync"}),e.readonly(a)}function qe(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Ti(){const t=new Set,n=r=>{t.delete(r)};return{on:r=>{t.add(r);const a=()=>n(r);return qe(a),{off:a}},off:n,trigger:(...r)=>Promise.all(Array.from(t).map(a=>a(...r)))}}function Oi(t){let n=!1,r;const a=e.effectScope(!0);return(...o)=>(n||(r=a.run(()=>t(...o)),n=!0),r)}function Ya(t){let n=0,r,a;const o=()=>{n-=1,a&&n<=0&&(a.stop(),r=void 0,a=void 0)};return(...l)=>(n+=1,r||(a=e.effectScope(!0),r=a.run(()=>t(...l))),qe(o),r)}function Te(t){return typeof t=="function"?t():e.unref(t)}const _e=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ai=t=>typeof t<"u",Di=t=>t!=null,Vi=Object.prototype.toString,Mi=t=>Vi.call(t)==="[object Object]",Xa=()=>{},Qa=Ii();function Ii(){var t,n;return _e&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ri(t){return e.getCurrentInstance()}function Za(t,n=1e4){return e.customRef((r,a)=>{let o=Te(t),l;const s=()=>setTimeout(()=>{o=Te(t),a()},Te(n));return qe(()=>{clearTimeout(l)}),{get(){return r(),o},set(i){o=i,a(),clearTimeout(l),l=s()}}})}function Fi(t,n){Ri()&&e.onBeforeUnmount(t,n)}function or(t,n,r={}){const{immediate:a=!0}=r,o=e.ref(!1);let l=null;function s(){l&&(clearTimeout(l),l=null)}function i(){o.value=!1,s()}function u(...c){s(),o.value=!0,l=setTimeout(()=>{o.value=!1,l=null,t(...c)},Te(n))}return a&&(o.value=!0,_e&&u()),qe(i),{isPending:e.readonly(o),start:u,stop:i}}function zi(t=1e3,n={}){const{controls:r=!1,callback:a}=n,o=or(a??Xa,t,n),l=e.computed(()=>!o.isPending.value);return r?{ready:l,...o}:l}function fe(t){var n;const r=Te(t);return(n=r==null?void 0:r.$el)!=null?n:r}const Bt=_e?window:void 0;function st(...t){let n,r,a,o;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,a,o]=t,n=Bt):[n,r,a,o]=t,!n)return Xa;Array.isArray(r)||(r=[r]),Array.isArray(a)||(a=[a]);const l=[],s=()=>{l.forEach(d=>d()),l.length=0},i=(d,f,m,p)=>(d.addEventListener(f,m,p),()=>d.removeEventListener(f,m,p)),u=e.watch(()=>[fe(n),Te(o)],([d,f])=>{if(s(),!d)return;const m=Mi(f)?{...f}:f;l.push(...r.flatMap(p=>a.map(v=>i(d,p,v,m))))},{immediate:!0,flush:"post"}),c=()=>{u(),s()};return qe(c),c}function Li(t){return typeof t=="function"?t:typeof t=="string"?n=>n.key===t:Array.isArray(t)?n=>t.includes(n.key):()=>!0}function lr(...t){let n,r,a={};t.length===3?(n=t[0],r=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(n=!0,r=t[0],a=t[1]):(n=t[0],r=t[1]):(n=!0,r=t[0]);const{target:o=Bt,eventName:l="keydown",passive:s=!1,dedupe:i=!1}=a,u=Li(n);return st(o,l,c=>{c.repeat&&Te(i)||u(c)&&r(c)},s)}function sr(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function ji(t){const n=sr();return e.computed(()=>(n.value,!!t()))}function Ki(t,n,r={}){const{window:a=Bt,...o}=r;let l;const s=ji(()=>a&&"MutationObserver"in a),i=()=>{l&&(l.disconnect(),l=void 0)},u=e.computed(()=>{const m=Te(t),p=(Array.isArray(m)?m:[m]).map(fe).filter(Di);return new Set(p)}),c=e.watch(()=>u.value,m=>{i(),s.value&&m.size&&(l=new MutationObserver(n),m.forEach(p=>l.observe(p,o)))},{immediate:!0,flush:"post"}),d=()=>l==null?void 0:l.takeRecords(),f=()=>{i(),c()};return qe(f),{isSupported:s,stop:f,takeRecords:d}}function Ja(t,n={}){const{immediate:r=!0,fpsLimit:a=void 0,window:o=Bt}=n,l=e.ref(!1),s=a?1e3/a:null;let i=0,u=null;function c(m){if(!l.value||!o)return;i||(i=m);const p=m-i;if(s&&pi?typeof i=="function"?i(w):Hi(w):w,y=()=>Ai(t[n])?g(t[n]):f,b=w=>{m?m(w)&&v(h,w):v(h,w)};if(u){const w=y(),_=e.ref(w);let x=!1;return e.watch(()=>t[n],S=>{x||(x=!0,_.value=g(S),e.nextTick(()=>x=!1))}),e.watch(_,S=>{!x&&(S!==t[n]||d)&&b(S)},{deep:d}),_}else return e.computed({get(){return y()},set(w){b(w)}})}function rn(t){return t?t.flatMap(n=>n.type===e.Fragment?rn(n.children):[n]):[]}function re(){let t=document.activeElement;if(t==null)return null;for(;t!=null&&t.shadowRoot!=null&&t.shadowRoot.activeElement!=null;)t=t.shadowRoot.activeElement;return t}const Ui=["INPUT","TEXTAREA"];function Na(t,n,r,a={}){if(!n||a.enableIgnoredElement&&Ui.includes(n.nodeName))return null;const{arrowKeyOptions:o="both",attributeName:l="[data-radix-vue-collection-item]",itemsArray:s=[],loop:i=!0,dir:u="ltr",preventScroll:c=!0,focus:d=!1}=a,[f,m,p,v,h,g]=[t.key==="ArrowRight",t.key==="ArrowLeft",t.key==="ArrowUp",t.key==="ArrowDown",t.key==="Home",t.key==="End"],y=p||v,b=f||m;if(!h&&!g&&(!y&&!b||o==="vertical"&&b||o==="horizontal"&&y))return null;const w=r?Array.from(r.querySelectorAll(l)):s;if(!w.length)return null;c&&t.preventDefault();let _=null;return b||y?_=eo(w,n,{goForward:y?v:u==="ltr"?f:m,loop:i}):h?_=w.at(0)||null:g&&(_=w.at(-1)||null),d&&(_==null||_.focus()),_}function eo(t,n,r,a=t.length){if(--a===0)return null;const o=t.indexOf(n),l=r.goForward?o+1:o-1;if(!r.loop&&(l<0||l>=t.length))return null;const s=(l+t.length)%t.length,i=t[s];return i?i.hasAttribute("disabled")&&i.getAttribute("disabled")!=="false"?eo(t,i,r,a):i:null}function ir(t){if(t===null||typeof t!="object")return!1;const n=Object.getPrototypeOf(t);return n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function ur(t,n,r=".",a){if(!ir(n))return ur(t,{},r);const o=Object.assign({},n);for(const l in t){if(l==="__proto__"||l==="constructor")continue;const s=t[l];s!=null&&(Array.isArray(s)&&Array.isArray(o[l])?o[l]=[...s,...o[l]]:ir(s)&&ir(o[l])?o[l]=ur(s,o[l],(r?`${r}.`:"")+l.toString()):o[l]=s)}return o}function Wi(t){return(...n)=>n.reduce((r,a)=>ur(r,a,""),{})}const qi=Wi(),[an,B0]=H("ConfigProvider");let Gi="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Yi=(t=21)=>{let n="",r=t;for(;r--;)n+=Gi[Math.random()*64|0];return n};const Xi=Ya(()=>{const t=e.ref(new Map),n=e.ref(),r=e.computed(()=>{for(const s of t.value.values())if(s)return!0;return!1}),a=an({scrollBody:e.ref(!0)});let o=null;const l=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=n.value??"",Qa&&(o==null||o()),n.value=void 0};return e.watch(r,(s,i)=>{var u;if(!_e)return;if(!s){i&&l();return}n.value===void 0&&(n.value=document.body.style.overflow);const c=window.innerWidth-document.documentElement.clientWidth,d={padding:c,margin:0},f=(u=a.scrollBody)!=null&&u.value?typeof a.scrollBody.value=="object"?qi({padding:a.scrollBody.value.padding===!0?c:a.scrollBody.value.padding,margin:a.scrollBody.value.margin===!0?c:a.scrollBody.value.margin},d):d:{padding:0,margin:0};c>0&&(document.body.style.paddingRight=typeof f.padding=="number"?`${f.padding}px`:String(f.padding),document.body.style.marginRight=typeof f.margin=="number"?`${f.margin}px`:String(f.margin),document.body.style.setProperty("--scrollbar-width",`${c}px`),document.body.style.overflow="hidden"),Qa&&(o=st(document,"touchmove",m=>Qi(m),{passive:!1})),e.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),t});function kt(t){const n=Yi(6),r=Xi();r.value.set(n,t??!1);const a=e.computed({get:()=>r.value.get(n)??!1,set:o=>r.value.set(n,o)});return Fi(()=>{r.value.delete(n)}),a}function to(t){const n=window.getComputedStyle(t);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&t.clientWidth1?!0:(n.preventDefault&&n.cancelable&&n.preventDefault(),!1)}const Zi="data-radix-vue-collection-item";function it(t,n=Zi){const r=Symbol();return{createCollection:a=>{const o=e.ref([]);function l(){const s=fe(a);return s?o.value=Array.from(s.querySelectorAll(`[${n}]:not([data-disabled])`)):o.value=[]}return e.onBeforeUpdate(()=>{o.value=[]}),e.onMounted(l),e.onUpdated(l),e.watch(()=>a==null?void 0:a.value,l,{immediate:!0}),e.provide(r,o),o},injectCollection:()=>e.inject(r,e.ref([]))}}function Re(t){const n=an({dir:e.ref("ltr")});return e.computed(()=>{var r;return(t==null?void 0:t.value)||((r=n.dir)==null?void 0:r.value)||"ltr"})}function Fe(t){const n=e.getCurrentInstance(),r=n==null?void 0:n.type.emits,a={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${n==null?void 0:n.type.__name}`),r==null||r.forEach(o=>{a[e.toHandlerKey(e.camelize(o))]=(...l)=>t(o,...l)}),a}let cr=0;function dr(){e.watchEffect(t=>{if(!_e)return;const n=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",n[0]??no()),document.body.insertAdjacentElement("beforeend",n[1]??no()),cr++,t(()=>{cr===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),cr--})})}function no(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}function on(t){return e.computed(()=>{var n;return Te(t)?!!((n=fe(t))!=null&&n.closest("form")):!0})}function ae(t){const n=e.getCurrentInstance(),r=Object.keys((n==null?void 0:n.type.props)??{}).reduce((o,l)=>{const s=(n==null?void 0:n.type.props[l]).default;return s!==void 0&&(o[l]=s),o},{}),a=e.toRef(t);return e.computed(()=>{const o={},l=(n==null?void 0:n.vnode.props)??{};return Object.keys(l).forEach(s=>{o[e.camelize(s)]=l[s]}),Object.keys({...r,...o}).reduce((s,i)=>(a.value[i]!==void 0&&(s[i]=a.value[i]),s),{})})}function z(t,n){const r=ae(t),a=n?Fe(n):{};return e.computed(()=>({...r.value,...a}))}function E(){const t=e.getCurrentInstance(),n=e.ref(),r=e.computed(()=>{var s,i;return["#text","#comment"].includes((s=n.value)==null?void 0:s.$el.nodeName)?(i=n.value)==null?void 0:i.$el.nextElementSibling:fe(n)}),a=Object.assign({},t.exposed),o={};for(const s in t.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>t.props[s]});if(Object.keys(a).length>0)for(const s in a)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=o;function l(s){n.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),t.exposed=o)}return{forwardRef:l,currentRef:n,currentElement:r}}function Ji(t,n){const r=Za(!1,300),a=e.ref(null),o=Ti();function l(){a.value=null,r.value=!1}function s(i,u){const c=i.currentTarget,d={x:i.clientX,y:i.clientY},f=Ni(d,c.getBoundingClientRect()),m=eu(d,f),p=tu(u.getBoundingClientRect()),v=ru([...m,...p]);a.value=v,r.value=!0}return e.watchEffect(i=>{if(t.value&&n.value){const u=d=>s(d,n.value),c=d=>s(d,t.value);t.value.addEventListener("pointerleave",u),n.value.addEventListener("pointerleave",c),i(()=>{var d,f;(d=t.value)==null||d.removeEventListener("pointerleave",u),(f=n.value)==null||f.removeEventListener("pointerleave",c)})}}),e.watchEffect(i=>{var u;if(a.value){const c=d=>{var f,m;if(!a.value)return;const p=d.target,v={x:d.clientX,y:d.clientY},h=((f=t.value)==null?void 0:f.contains(p))||((m=n.value)==null?void 0:m.contains(p)),g=!nu(v,a.value),y=!!p.closest("[data-grace-area-trigger]");h?l():(g||y)&&(l(),o.trigger())};(u=t.value)==null||u.ownerDocument.addEventListener("pointermove",c),i(()=>{var d;return(d=t.value)==null?void 0:d.ownerDocument.removeEventListener("pointermove",c)})}}),{isPointerInTransit:r,onPointerExit:o.on}}function Ni(t,n){const r=Math.abs(n.top-t.y),a=Math.abs(n.bottom-t.y),o=Math.abs(n.right-t.x),l=Math.abs(n.left-t.x);switch(Math.min(r,a,o,l)){case l:return"left";case o:return"right";case r:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function eu(t,n,r=5){const a=[];switch(n){case"top":a.push({x:t.x-r,y:t.y+r},{x:t.x+r,y:t.y+r});break;case"bottom":a.push({x:t.x-r,y:t.y-r},{x:t.x+r,y:t.y-r});break;case"left":a.push({x:t.x+r,y:t.y-r},{x:t.x+r,y:t.y+r});break;case"right":a.push({x:t.x-r,y:t.y-r},{x:t.x-r,y:t.y+r});break}return a}function tu(t){const{top:n,right:r,bottom:a,left:o}=t;return[{x:o,y:n},{x:r,y:n},{x:r,y:a},{x:o,y:a}]}function nu(t,n){const{x:r,y:a}=t;let o=!1;for(let l=0,s=n.length-1;la!=d>a&&r<(c-i)*(a-u)/(d-u)+i&&(o=!o)}return o}function ru(t){const n=t.slice();return n.sort((r,a)=>r.xa.x?1:r.ya.y?1:0),au(n)}function au(t){if(t.length<=1)return t.slice();const n=[];for(let a=0;a=2;){const l=n[n.length-1],s=n[n.length-2];if((l.x-s.x)*(o.y-s.y)>=(l.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}n.pop();const r=[];for(let a=t.length-1;a>=0;a--){const o=t[a];for(;r.length>=2;){const l=r[r.length-1],s=r[r.length-2];if((l.x-s.x)*(o.y-s.y)>=(l.y-s.y)*(o.x-s.x))r.pop();else break}r.push(o)}return r.pop(),n.length===1&&r.length===1&&n[0].x===r[0].x&&n[0].y===r[0].y?n:n.concat(r)}var ou=function(t){if(typeof document>"u")return null;var n=Array.isArray(t)?t[0]:t;return n.ownerDocument.body},ut=new WeakMap,ln=new WeakMap,sn={},fr=0,ro=function(t){return t&&(t.host||ro(t.parentNode))},lu=function(t,n){return n.map(function(r){if(t.contains(r))return r;var a=ro(r);return a&&t.contains(a)?a:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},su=function(t,n,r,a){var o=lu(n,Array.isArray(t)?t:[t]);sn[r]||(sn[r]=new WeakMap);var l=sn[r],s=[],i=new Set,u=new Set(o),c=function(f){!f||i.has(f)||(i.add(f),c(f.parentNode))};o.forEach(c);var d=function(f){!f||u.has(f)||Array.prototype.forEach.call(f.children,function(m){if(i.has(m))d(m);else try{var p=m.getAttribute(a),v=p!==null&&p!=="false",h=(ut.get(m)||0)+1,g=(l.get(m)||0)+1;ut.set(m,h),l.set(m,g),s.push(m),h===1&&v&&ln.set(m,!0),g===1&&m.setAttribute(r,"true"),v||m.setAttribute(a,"true")}catch(y){console.error("aria-hidden: cannot operate on ",m,y)}})};return d(n),i.clear(),fr++,function(){s.forEach(function(f){var m=ut.get(f)-1,p=l.get(f)-1;ut.set(f,m),l.set(f,p),m||(ln.has(f)||f.removeAttribute(a),ln.delete(f)),p||f.removeAttribute(r)}),fr--,fr||(ut=new WeakMap,ut=new WeakMap,ln=new WeakMap,sn={})}},iu=function(t,n,r){r===void 0&&(r="data-aria-hidden");var a=Array.from(Array.isArray(t)?t:[t]),o=ou(t);return o?(a.push.apply(a,Array.from(o.querySelectorAll("[aria-live]"))),su(a,o,r,"aria-hidden")):function(){return null}};function St(t){let n;e.watch(()=>fe(t),r=>{r?n=iu(r):n&&n()}),e.onUnmounted(()=>{n&&n()})}let uu=0;function ee(t,n="radix"){const r=an({useId:void 0});return Gt.useId?`${n}-${Gt.useId()}`:r.useId?`${n}-${r.useId()}`:`${n}-${++uu}`}function ao(t){const n=e.ref(),r=e.computed(()=>{var o;return((o=n.value)==null?void 0:o.width)??0}),a=e.computed(()=>{var o;return((o=n.value)==null?void 0:o.height)??0});return e.onMounted(()=>{const o=fe(t);if(o){n.value={width:o.offsetWidth,height:o.offsetHeight};const l=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let u,c;if("borderBoxSize"in i){const d=i.borderBoxSize,f=Array.isArray(d)?d[0]:d;u=f.inlineSize,c=f.blockSize}else u=o.offsetWidth,c=o.offsetHeight;n.value={width:u,height:c}});return l.observe(o,{box:"border-box"}),()=>l.unobserve(o)}else n.value=void 0}),{width:r,height:a}}function cu(t,n){const r=e.ref(t);function a(o){return n[r.value][o]??r.value}return{state:r,dispatch:o=>{r.value=a(o)}}}const du="data-item-text";function pr(t){const n=Za("",1e3);return{search:n,handleTypeaheadSearch:(r,a)=>{if(!(t!=null&&t.value)&&!a)return;n.value=n.value+r;const o=(t==null?void 0:t.value)??a,l=re(),s=o.map(f=>{var m;return{ref:f,textValue:((m=(f.querySelector(`[${du}]`)??f).textContent)==null?void 0:m.trim())??""}}),i=s.find(f=>f.ref===l),u=s.map(f=>f.textValue),c=pu(u,n.value,i==null?void 0:i.textValue),d=s.find(f=>f.textValue===c);return d&&d.ref.focus(),d==null?void 0:d.ref},resetTypeahead:()=>{n.value=""}}}function fu(t,n){return t.map((r,a)=>t[(n+a)%t.length])}function pu(t,n,r){const a=n.length>1&&Array.from(n).every(i=>i===n[0])?n[0]:n,o=r?t.indexOf(r):-1;let l=fu(t,Math.max(o,0));a.length===1&&(l=l.filter(i=>i!==r));const s=l.find(i=>i.toLowerCase().startsWith(a.toLowerCase()));return s!==r?s:void 0}const mr=e.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:n,slots:r}){return()=>{var a,o;if(!r.default)return null;const l=rn(r.default()),s=l.findIndex(d=>d.type!==e.Comment);if(s===-1)return l;const i=l[s];(a=i.props)==null||delete a.ref;const u=i.props?e.mergeProps(n,i.props):n;n.class&&(o=i.props)!=null&&o.class&&delete i.props.class;const c=e.cloneVNode(i,u);for(const d in u)d.startsWith("on")&&(c.props||(c.props={}),c.props[d]=u[d]);return l.length===1?c:(l[s]=c,l)}}}),V=e.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:n,slots:r}){const a=t.asChild?"template":t.as;return typeof a=="string"&&["area","img","input"].includes(a)?()=>e.h(a,n):a!=="template"?()=>e.h(t.as,n,{default:r.default}):()=>e.h(mr,n,{default:r.default})}});function oo(){const t=e.ref(),n=e.computed(()=>{var r,a;return["#text","#comment"].includes((r=t.value)==null?void 0:r.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:fe(t)});return{primitiveElement:t,currentElement:n}}const[lo,mu]=H("CollapsibleRoot"),vu=e.defineComponent({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(t,{expose:n,emit:r}){const a=t,o=Y(a,"open",r,{defaultValue:a.defaultOpen,passive:a.open===void 0}),l=Y(a,"disabled");return mu({contentId:"",disabled:l,open:o,onOpenToggle:()=>{o.value=!o.value}}),n({open:o}),E(),(s,i)=>(e.openBlock(),e.createBlock(e.unref(V),{as:s.as,"as-child":a.asChild,"data-state":e.unref(o)?"open":"closed","data-disabled":e.unref(l)?"":void 0},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default",{open:e.unref(o)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),hu=e.defineComponent({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;E();const r=lo();return(a,o)=>{var l,s;return e.openBlock(),e.createBlock(e.unref(V),{type:a.as==="button"?"button":void 0,as:a.as,"as-child":n.asChild,"aria-controls":e.unref(r).contentId,"aria-expanded":e.unref(r).open.value,"data-state":e.unref(r).open.value?"open":"closed","data-disabled":(l=e.unref(r).disabled)!=null&&l.value?"":void 0,disabled:(s=e.unref(r).disabled)==null?void 0:s.value,onClick:e.unref(r).onOpenToggle},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}});function gu(t,n){var r;const a=e.ref({}),o=e.ref("none"),l=e.ref(t),s=t.value?"mounted":"unmounted";let i;const u=((r=n.value)==null?void 0:r.ownerDocument.defaultView)??Bt,{state:c,dispatch:d}=cu(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),f=g=>{var y;if(_e){const b=new CustomEvent(g,{bubbles:!1,cancelable:!1});(y=n.value)==null||y.dispatchEvent(b)}};e.watch(t,async(g,y)=>{var b;const w=y!==g;if(await e.nextTick(),w){const _=o.value,x=un(n.value);g?(d("MOUNT"),f("enter"),x==="none"&&f("after-enter")):x==="none"||((b=a.value)==null?void 0:b.display)==="none"?(d("UNMOUNT"),f("leave"),f("after-leave")):y&&_!==x?(d("ANIMATION_OUT"),f("leave")):(d("UNMOUNT"),f("after-leave"))}},{immediate:!0});const m=g=>{const y=un(n.value),b=y.includes(g.animationName),w=c.value==="mounted"?"enter":"leave";if(g.target===n.value&&b&&(f(`after-${w}`),d("ANIMATION_END"),!l.value)){const _=n.value.style.animationFillMode;n.value.style.animationFillMode="forwards",i=u==null?void 0:u.setTimeout(()=>{var x;((x=n.value)==null?void 0:x.style.animationFillMode)==="forwards"&&(n.value.style.animationFillMode=_)})}g.target===n.value&&y==="none"&&d("ANIMATION_END")},p=g=>{g.target===n.value&&(o.value=un(n.value))},v=e.watch(n,(g,y)=>{g?(a.value=getComputedStyle(g),g.addEventListener("animationstart",p),g.addEventListener("animationcancel",m),g.addEventListener("animationend",m)):(d("ANIMATION_END"),i!==void 0&&(u==null||u.clearTimeout(i)),y==null||y.removeEventListener("animationstart",p),y==null||y.removeEventListener("animationcancel",m),y==null||y.removeEventListener("animationend",m))},{immediate:!0}),h=e.watch(c,()=>{const g=un(n.value);o.value=c.value==="mounted"?g:"none"});return e.onUnmounted(()=>{v(),h()}),{isPresent:e.computed(()=>["mounted","unmountSuspended"].includes(c.value))}}function un(t){return t&&getComputedStyle(t).animationName||"none"}const pe=e.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:n,expose:r}){var a;const{present:o,forceMount:l}=e.toRefs(t),s=e.ref(),{isPresent:i}=gu(o,s);r({present:i});let u=n.default({present:i});u=rn(u||[]);const c=e.getCurrentInstance();if(u&&(u==null?void 0:u.length)>1){const d=(a=c==null?void 0:c.parent)!=null&&a.type.name?`<${c.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${d}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(` `)].join(` -`))}return()=>l.value||o.value||i.value?e.h(n.default({present:i})[0],{ref:d=>{const f=pe(d);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-radix-popper-content-wrapper")?s.value=f.firstElementChild:s.value=f),f}}):null}}),du=e.defineComponent({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=Ja();r.contentId||(r.contentId=te(void 0,"radix-vue-collapsible-content"));const a=e.ref(),{forwardRef:o,currentElement:l}=E(),s=e.ref(0),i=e.ref(0),u=e.computed(()=>r.open.value),c=e.ref(u.value),d=e.ref();return e.watch(()=>{var f;return[u.value,(f=a.value)==null?void 0:f.present]},async()=>{await e.nextTick();const f=l.value;if(!f)return;d.value=d.value||{transitionDuration:f.style.transitionDuration,animationName:f.style.animationName},f.style.transitionDuration="0s",f.style.animationName="none";const m=f.getBoundingClientRect();i.value=m.height,s.value=m.width,c.value||(f.style.transitionDuration=d.value.transitionDuration,f.style.animationName=d.value.animationName)},{immediate:!0}),e.onMounted(()=>{requestAnimationFrame(()=>{c.value=!1})}),(f,m)=>(e.openBlock(),e.createBlock(e.unref(me),{ref_key:"presentRef",ref:a,present:f.forceMount||e.unref(r).open.value,"force-mount":!0},{default:e.withCtx(()=>{var p,v;return[e.createVNode(e.unref(V),e.mergeProps(f.$attrs,{id:e.unref(r).contentId,ref:e.unref(o),"as-child":n.asChild,as:f.as,"data-state":e.unref(r).open.value?"open":"closed","data-disabled":(p=e.unref(r).disabled)!=null&&p.value?"":void 0,hidden:!((v=a.value)!=null&&v.present),style:{"--radix-collapsible-content-height":`${i.value}px`,"--radix-collapsible-content-width":`${s.value}px`}}),{default:e.withCtx(()=>{var g;return[(g=a.value)!=null&&g.present?e.renderSlot(f.$slots,"default",{key:0}):e.createCommentVNode("",!0)]}),_:3},16,["id","as-child","as","data-state","data-disabled","hidden","style"])]}),_:3},8,["present"]))}});function Na({type:t,defaultValue:n,modelValue:r}){const a=r||n;if(ut(t)&&ut(r)&&ut(n))throw new Error("Either the `type` or the `value` or `default-value` prop must be defined.");if(r!==void 0&&n!==void 0&&typeof r!=typeof n)throw new Error(`Invalid prop \`value\` of value \`${r}\` supplied, should be the same type as the \`defaultValue\` prop, which is \`${n}\`. The \`value\` prop must be: +`))}return()=>l.value||o.value||i.value?e.h(n.default({present:i})[0],{ref:d=>{const f=fe(d);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-radix-popper-content-wrapper")?s.value=f.firstElementChild:s.value=f),f}}):null}}),yu=e.defineComponent({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=lo();r.contentId||(r.contentId=ee(void 0,"radix-vue-collapsible-content"));const a=e.ref(),{forwardRef:o,currentElement:l}=E(),s=e.ref(0),i=e.ref(0),u=e.computed(()=>r.open.value),c=e.ref(u.value),d=e.ref();return e.watch(()=>{var f;return[u.value,(f=a.value)==null?void 0:f.present]},async()=>{await e.nextTick();const f=l.value;if(!f)return;d.value=d.value||{transitionDuration:f.style.transitionDuration,animationName:f.style.animationName},f.style.transitionDuration="0s",f.style.animationName="none";const m=f.getBoundingClientRect();i.value=m.height,s.value=m.width,c.value||(f.style.transitionDuration=d.value.transitionDuration,f.style.animationName=d.value.animationName)},{immediate:!0}),e.onMounted(()=>{requestAnimationFrame(()=>{c.value=!1})}),(f,m)=>(e.openBlock(),e.createBlock(e.unref(pe),{ref_key:"presentRef",ref:a,present:f.forceMount||e.unref(r).open.value,"force-mount":!0},{default:e.withCtx(()=>{var p,v;return[e.createVNode(e.unref(V),e.mergeProps(f.$attrs,{id:e.unref(r).contentId,ref:e.unref(o),"as-child":n.asChild,as:f.as,"data-state":e.unref(r).open.value?"open":"closed","data-disabled":(p=e.unref(r).disabled)!=null&&p.value?"":void 0,hidden:!((v=a.value)!=null&&v.present),style:{"--radix-collapsible-content-height":`${i.value}px`,"--radix-collapsible-content-width":`${s.value}px`}}),{default:e.withCtx(()=>{var h;return[(h=a.value)!=null&&h.present?e.renderSlot(f.$slots,"default",{key:0}):e.createCommentVNode("",!0)]}),_:3},16,["id","as-child","as","data-state","data-disabled","hidden","style"])]}),_:3},8,["present"]))}});function so({type:t,defaultValue:n,modelValue:r}){const a=r||n;if(lt(t)&<(r)&<(n))throw new Error("Either the `type` or the `value` or `default-value` prop must be defined.");if(r!==void 0&&n!==void 0&&typeof r!=typeof n)throw new Error(`Invalid prop \`value\` of value \`${r}\` supplied, should be the same type as the \`defaultValue\` prop, which is \`${n}\`. The \`value\` prop must be: ${t==="single"?"- a string":t==="multiple"?"- an array of strings":`- a string - an array of strings`} - \`undefined\``);const o=r!==void 0||n!==void 0;if(t&&o){const l=Array.isArray(r)||Array.isArray(n),s=r!==void 0?"modelValue":"defaultValue",i=s==="modelValue"?typeof r:typeof n;if(t==="single"&&l)return console.error(`Invalid prop \`${s}\` of type ${i} supplied with type \`single\`. The \`modelValue\` prop must be a string or \`undefined\`. You can remove the \`type\` prop to let the component infer the type from the ${s} prop.`),"multiple";if(t==="multiple"&&!l)return console.error(`Invalid prop \`${s}\` of type ${i} supplied with type \`multiple\`. The \`modelValue\` prop must be an array of strings or \`undefined\`. - You can remove the \`type\` prop to let the component infer the type from the ${s} prop.`),"single"}return o?Array.isArray(a)?"multiple":"single":t}function fu({type:t,defaultValue:n,modelValue:r}){return t||Na({type:t,defaultValue:n,modelValue:r})}function pu({type:t,defaultValue:n}){return n!==void 0?n:t==="single"?void 0:[]}function mu(t,n){const r=e.ref(fu(t)),a=X(t,"modelValue",n,{defaultValue:pu(t),passive:t.modelValue===void 0,deep:!0});e.watch(()=>[t.type,t.modelValue,t.defaultValue],()=>{const s=Na(t);r.value!==s&&(r.value=s)},{immediate:!0});function o(s){if(r.value==="single")a.value=s===a.value?void 0:s;else{const i=[...a.value||[]];if(i.includes(s)){const u=i.findIndex(c=>c===s);i.splice(u,1)}else i.push(s);a.value=i}}const l=e.computed(()=>r.value==="single");return{modelValue:a,type:r,changeModelValue:o,isSingle:l}}const[dn,vu]=U("AccordionRoot"),gu=e.defineComponent({__name:"AccordionRoot",props:{collapsible:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dir:{},orientation:{default:"vertical"},asChild:{type:Boolean},as:{},type:{},modelValue:{},defaultValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,{dir:o,disabled:l}=e.toRefs(r),s=Le(o),{modelValue:i,changeModelValue:u,isSingle:c}=mu(r,a),{forwardRef:d,currentElement:f}=E();return vu({disabled:l,direction:s,orientation:r.orientation,parentElement:f,isSingle:c,collapsible:r.collapsible,modelValue:i,changeModelValue:u}),(m,p)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(d),"as-child":m.asChild,as:m.as},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default",{modelValue:e.unref(i)})]),_:3},8,["as-child","as"]))}}),[dr,hu]=U("AccordionItem"),yu=e.defineComponent({__name:"AccordionItem",props:{disabled:{type:Boolean},value:{},asChild:{type:Boolean},as:{}},setup(t,{expose:n}){const r=t,a=dn(),o=e.computed(()=>a.isSingle.value?r.value===a.modelValue.value:Array.isArray(a.modelValue.value)&&a.modelValue.value.includes(r.value)),l=e.computed(()=>a.disabled.value||r.disabled),s=e.computed(()=>l.value?"":void 0),i=e.computed(()=>o.value?"open":"closed");n({open:o,dataDisabled:s});const{currentRef:u,currentElement:c}=E();hu({open:o,dataState:i,disabled:l,dataDisabled:s,triggerId:"",currentRef:u,currentElement:c,value:e.computed(()=>r.value)});function d(f){var m;const p=f.target;if(Array.from(((m=a.parentElement.value)==null?void 0:m.querySelectorAll("[data-radix-vue-collection-item]"))??[]).findIndex(v=>v===p)===-1)return null;Wa(f,c.value,a.parentElement.value,{arrowKeyOptions:a.orientation,dir:a.direction.value,focus:!0})}return(f,m)=>(e.openBlock(),e.createBlock(e.unref(iu),{"data-orientation":e.unref(a).orientation,"data-disabled":s.value,"data-state":i.value,disabled:l.value,open:o.value,as:r.as,"as-child":r.asChild,onKeydown:e.withKeys(d,["up","down","left","right","home","end"])},{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{open:o.value})]),_:3},8,["data-orientation","data-disabled","data-state","disabled","open","as","as-child"]))}}),bu=e.defineComponent({__name:"AccordionContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=dn(),a=dr();return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(du),{role:"region",hidden:!e.unref(a).open.value,"as-child":n.asChild,"force-mount":n.forceMount,"aria-labelledby":e.unref(a).triggerId,"data-state":e.unref(a).dataState.value,"data-disabled":e.unref(a).dataDisabled.value,"data-orientation":e.unref(r).orientation,style:{"--radix-accordion-content-width":"var(--radix-collapsible-content-width)","--radix-accordion-content-height":"var(--radix-collapsible-content-height)"}},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["hidden","as-child","force-mount","aria-labelledby","data-state","data-disabled","data-orientation"]))}}),wu=e.defineComponent({__name:"AccordionHeader",props:{asChild:{type:Boolean},as:{default:"h3"}},setup(t){const n=t,r=dn(),a=dr();return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(V),{as:n.as,"as-child":n.asChild,"data-orientation":e.unref(r).orientation,"data-state":e.unref(a).dataState.value,"data-disabled":e.unref(a).dataDisabled.value},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["as","as-child","data-orientation","data-state","data-disabled"]))}}),xu=e.defineComponent({__name:"AccordionTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,r=dn(),a=dr();a.triggerId||(a.triggerId=te(void 0,"radix-vue-accordion-trigger"));function o(){const l=r.isSingle.value&&a.open.value&&!r.collapsible;a.disabled.value||l||r.changeModelValue(a.value.value)}return(l,s)=>(e.openBlock(),e.createBlock(e.unref(uu),{id:e.unref(a).triggerId,ref:e.unref(a).currentRef,"data-radix-vue-collection-item":"",as:n.as,"as-child":n.asChild,"aria-disabled":e.unref(a).disabled.value||void 0,"aria-expanded":e.unref(a).open.value||!1,"data-disabled":e.unref(a).dataDisabled.value,"data-orientation":e.unref(r).orientation,"data-state":e.unref(a).dataState.value,disabled:e.unref(a).disabled.value,onClick:o},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["id","as","as-child","aria-disabled","aria-expanded","data-disabled","data-orientation","data-state","disabled"]))}}),[ke,Cu]=U("DialogRoot"),fr=e.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=X(r,"open",n,{defaultValue:r.defaultOpen,passive:r.open===void 0}),o=e.ref(),l=e.ref(),{modal:s}=e.toRefs(r);return Cu({open:a,modal:s,openModal:()=>{a.value=!0},onOpenChange:i=>{a.value=i},onOpenToggle:()=>{a.value=!a.value},contentId:"",titleId:"",descriptionId:"",triggerElement:o,contentElement:l}),(i,u)=>e.renderSlot(i.$slots,"default",{open:e.unref(a)})}}),pr=e.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=ke(),{forwardRef:a,currentElement:o}=E();return r.contentId||(r.contentId=te(void 0,"radix-vue-dialog-content")),e.onMounted(()=>{r.triggerElement.value=o.value}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{ref:e.unref(a),type:l.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":e.unref(r).open.value||!1,"aria-controls":e.unref(r).open.value?e.unref(r).contentId:void 0,"data-state":e.unref(r).open.value?"open":"closed",onClick:e.unref(r).onOpenToggle}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),pt=e.defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=rr();return(r,a)=>e.unref(n)||r.forceMount?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:r.to,disabled:r.disabled},[e.renderSlot(r.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),mr=e.defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pt),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),_u="dismissableLayer.pointerDownOutside",Bu="dismissableLayer.focusOutside";function eo(t,n){const r=n.closest("[data-dismissable-layer]"),a=t.dataset.dismissableLayer===""?t:t.querySelector("[data-dismissable-layer]"),o=Array.from(t.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(r&&a===r||o.indexOf(a){});return e.watchEffect(s=>{if(!Be)return;const i=async c=>{const d=c.target;if(n!=null&&n.value){if(eo(n.value,d)){o.value=!1;return}if(c.target&&!o.value){let f=function(){er(_u,t,m)};const m={originalEvent:c};c.pointerType==="touch"?(a.removeEventListener("click",l.value),l.value=f,a.addEventListener("click",l.value,{once:!0})):f()}else a.removeEventListener("click",l.value);o.value=!1}},u=window.setTimeout(()=>{a.addEventListener("pointerdown",i)},0);s(()=>{window.clearTimeout(u),a.removeEventListener("pointerdown",i),a.removeEventListener("click",l.value)})}),{onPointerDownCapture:()=>o.value=!0}}function Su(t,n){var r;const a=((r=n==null?void 0:n.value)==null?void 0:r.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=e.ref(!1);return e.watchEffect(l=>{if(!Be)return;const s=async i=>{n!=null&&n.value&&(await e.nextTick(),!(!n.value||eo(n.value,i.target))&&i.target&&!o.value&&er(Bu,t,{originalEvent:i}))};a.addEventListener("focusin",s),l(()=>a.removeEventListener("focusin",s))}),{onFocusCapture:()=>o.value=!0,onBlurCapture:()=>o.value=!1}}const he=e.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mt=e.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=E(),s=e.computed(()=>{var v;return((v=l.value)==null?void 0:v.ownerDocument)??globalThis.document}),i=e.computed(()=>he.layersRoot),u=e.computed(()=>l.value?Array.from(i.value).indexOf(l.value):-1),c=e.computed(()=>he.layersWithOutsidePointerEventsDisabled.size>0),d=e.computed(()=>{const v=Array.from(i.value),[g]=[...he.layersWithOutsidePointerEventsDisabled].slice(-1),h=v.indexOf(g);return u.value>=h}),f=ku(async v=>{const g=[...he.branches].some(h=>h==null?void 0:h.contains(v.target));!d.value||g||(a("pointerDownOutside",v),a("interactOutside",v),await e.nextTick(),v.defaultPrevented||a("dismiss"))},l),m=Su(v=>{[...he.branches].some(g=>g==null?void 0:g.contains(v.target))||(a("focusOutside",v),a("interactOutside",v),v.defaultPrevented||a("dismiss"))},l);nr("Escape",v=>{u.value===i.value.size-1&&(a("escapeKeyDown",v),v.defaultPrevented||a("dismiss"))});let p;return e.watchEffect(v=>{l.value&&(r.disableOutsidePointerEvents&&(he.layersWithOutsidePointerEventsDisabled.size===0&&(p=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),he.layersWithOutsidePointerEventsDisabled.add(l.value)),i.value.add(l.value),v(()=>{r.disableOutsidePointerEvents&&he.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=p)}))}),e.watchEffect(v=>{v(()=>{l.value&&(i.value.delete(l.value),he.layersWithOutsidePointerEventsDisabled.delete(l.value))})}),(v,g)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(o),"as-child":v.asChild,as:v.as,"data-dismissable-layer":"",style:e.normalizeStyle({pointerEvents:c.value?d.value?"auto":"none":void 0}),onFocusCapture:e.unref(m).onFocusCapture,onBlurCapture:e.unref(m).onBlurCapture,onPointerdownCapture:e.unref(f).onPointerDownCapture},{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Pu=e.defineComponent({__name:"DismissableLayerBranch",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,{forwardRef:r,currentElement:a}=E();return e.onMounted(()=>{he.branches.add(a.value)}),e.onUnmounted(()=>{he.branches.delete(a.value)}),(o,l)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({ref:e.unref(r)},n),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),vr="focusScope.autoFocusOnMount",gr="focusScope.autoFocusOnUnmount",to={bubbles:!1,cancelable:!0};function fn(t,{select:n=!1}={}){const r=ae();for(const a of t)if(Ke(a,{select:n}),ae()!==r)return!0}function Eu(t){const n=hr(t),r=no(n,t),a=no(n.reverse(),t);return[r,a]}function hr(t){const n=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)n.push(r.currentNode);return n}function no(t,n){for(const r of t)if(!$u(r,{upTo:n}))return r}function $u(t,{upTo:n}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(n!==void 0&&t===n)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Tu(t){return t instanceof HTMLInputElement&&"select"in t}function Ke(t,{select:n=!1}={}){if(t&&t.focus){const r=ae();t.focus({preventScroll:!0}),t!==r&&Tu(t)&&n&&t.select()}}const Ou=Bi(()=>e.ref([]));function Au(){const t=Ou();return{add(n){const r=t.value[0];n!==r&&(r==null||r.pause()),t.value=ro(t.value,n),t.value.unshift(n)},remove(n){var r;t.value=ro(t.value,n),(r=t.value[0])==null||r.resume()}}}function ro(t,n){const r=[...t],a=r.indexOf(n);return a!==-1&&r.splice(a,1),r}function Du(t){return t.filter(n=>n.tagName!=="A")}const pn=e.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(t,{emit:n}){const r=t,a=n,{currentRef:o,currentElement:l}=E(),s=e.ref(null),i=Au(),u=e.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});e.watchEffect(d=>{if(!Be)return;const f=l.value;if(!r.trapped)return;function m(h){if(u.paused||!f)return;const y=h.target;f.contains(y)?s.value=y:Ke(s.value,{select:!0})}function p(h){if(u.paused||!f)return;const y=h.relatedTarget;y!==null&&(f.contains(y)||Ke(s.value,{select:!0}))}function v(h){f.contains(s.value)||Ke(f)}document.addEventListener("focusin",m),document.addEventListener("focusout",p);const g=new MutationObserver(v);f&&g.observe(f,{childList:!0,subtree:!0}),d(()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",p),g.disconnect()})}),e.watchEffect(async d=>{const f=l.value;if(await e.nextTick(),!f)return;i.add(u);const m=ae();if(!f.contains(m)){const p=new CustomEvent(vr,to);f.addEventListener(vr,v=>a("mountAutoFocus",v)),f.dispatchEvent(p),p.defaultPrevented||(fn(Du(hr(f)),{select:!0}),ae()===m&&Ke(f))}d(()=>{f.removeEventListener(vr,g=>a("mountAutoFocus",g));const p=new CustomEvent(gr,to),v=g=>{a("unmountAutoFocus",g)};f.addEventListener(gr,v),f.dispatchEvent(p),setTimeout(()=>{p.defaultPrevented||Ke(m??document.body,{select:!0}),f.removeEventListener(gr,v),i.remove(u)},0)})});function c(d){if(!r.loop&&!r.trapped||u.paused)return;const f=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,m=ae();if(f&&m){const p=d.currentTarget,[v,g]=Eu(p);v&&g?!d.shiftKey&&m===g?(d.preventDefault(),r.loop&&Ke(v,{select:!0})):d.shiftKey&&m===v&&(d.preventDefault(),r.loop&&Ke(g,{select:!0})):m===p&&d.preventDefault()}}return(d,f)=>(e.openBlock(),e.createBlock(e.unref(V),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":d.asChild,as:d.as,onKeydown:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["as-child","as"]))}}),Vu="menu.itemSelect",yr=["Enter"," "],Mu=["ArrowDown","PageUp","Home"],ao=["ArrowUp","PageDown","End"],Iu=[...Mu,...ao],Ru={ltr:[...yr,"ArrowRight"],rtl:[...yr,"ArrowLeft"]},Fu={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function br(t){return t?"open":"closed"}function mn(t){return t==="indeterminate"}function wr(t){return mn(t)?"indeterminate":t?"checked":"unchecked"}function xr(t){const n=ae();for(const r of t)if(r===n||(r.focus(),ae()!==n))return}function zu(t,n){const{x:r,y:a}=t;let o=!1;for(let l=0,s=n.length-1;la!=d>a&&r<(c-i)*(a-u)/(d-u)+i&&(o=!o)}return o}function Lu(t,n){if(!n)return!1;const r={x:t.clientX,y:t.clientY};return zu(r,n)}function Tt(t){return t.pointerType==="mouse"}const ju="DialogTitle",Ku="DialogContent";function Hu({titleName:t=ju,contentName:n=Ku,componentLink:r="dialog.html#title",titleId:a,descriptionId:o,contentElement:l}){const s=`Warning: \`${n}\` requires a \`${t}\` for the component to be accessible for screen reader users. + You can remove the \`type\` prop to let the component infer the type from the ${s} prop.`),"single"}return o?Array.isArray(a)?"multiple":"single":t}function bu({type:t,defaultValue:n,modelValue:r}){return t||so({type:t,defaultValue:n,modelValue:r})}function wu({type:t,defaultValue:n}){return n!==void 0?n:t==="single"?void 0:[]}function xu(t,n){const r=e.ref(bu(t)),a=Y(t,"modelValue",n,{defaultValue:wu(t),passive:t.modelValue===void 0,deep:!0});e.watch(()=>[t.type,t.modelValue,t.defaultValue],()=>{const s=so(t);r.value!==s&&(r.value=s)},{immediate:!0});function o(s){if(r.value==="single")a.value=s===a.value?void 0:s;else{const i=[...a.value||[]];if(i.includes(s)){const u=i.findIndex(c=>c===s);i.splice(u,1)}else i.push(s);a.value=i}}const l=e.computed(()=>r.value==="single");return{modelValue:a,type:r,changeModelValue:o,isSingle:l}}const[cn,Cu]=H("AccordionRoot"),_u=e.defineComponent({__name:"AccordionRoot",props:{collapsible:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},dir:{},orientation:{default:"vertical"},asChild:{type:Boolean},as:{},type:{},modelValue:{},defaultValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,{dir:o,disabled:l}=e.toRefs(r),s=Re(o),{modelValue:i,changeModelValue:u,isSingle:c}=xu(r,a),{forwardRef:d,currentElement:f}=E();return Cu({disabled:l,direction:s,orientation:r.orientation,parentElement:f,isSingle:c,collapsible:r.collapsible,modelValue:i,changeModelValue:u}),(m,p)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(d),"as-child":m.asChild,as:m.as},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default",{modelValue:e.unref(i)})]),_:3},8,["as-child","as"]))}}),[vr,Bu]=H("AccordionItem"),ku=e.defineComponent({__name:"AccordionItem",props:{disabled:{type:Boolean},value:{},asChild:{type:Boolean},as:{}},setup(t,{expose:n}){const r=t,a=cn(),o=e.computed(()=>a.isSingle.value?r.value===a.modelValue.value:Array.isArray(a.modelValue.value)&&a.modelValue.value.includes(r.value)),l=e.computed(()=>a.disabled.value||r.disabled),s=e.computed(()=>l.value?"":void 0),i=e.computed(()=>o.value?"open":"closed");n({open:o,dataDisabled:s});const{currentRef:u,currentElement:c}=E();Bu({open:o,dataState:i,disabled:l,dataDisabled:s,triggerId:"",currentRef:u,currentElement:c,value:e.computed(()=>r.value)});function d(f){var m;const p=f.target;if(Array.from(((m=a.parentElement.value)==null?void 0:m.querySelectorAll("[data-radix-vue-collection-item]"))??[]).findIndex(v=>v===p)===-1)return null;Na(f,c.value,a.parentElement.value,{arrowKeyOptions:a.orientation,dir:a.direction.value,focus:!0})}return(f,m)=>(e.openBlock(),e.createBlock(e.unref(vu),{"data-orientation":e.unref(a).orientation,"data-disabled":s.value,"data-state":i.value,disabled:l.value,open:o.value,as:r.as,"as-child":r.asChild,onKeydown:e.withKeys(d,["up","down","left","right","home","end"])},{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{open:o.value})]),_:3},8,["data-orientation","data-disabled","data-state","disabled","open","as","as-child"]))}}),Su=e.defineComponent({__name:"AccordionContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=cn(),a=vr();return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(yu),{role:"region",hidden:!e.unref(a).open.value,"as-child":n.asChild,"force-mount":n.forceMount,"aria-labelledby":e.unref(a).triggerId,"data-state":e.unref(a).dataState.value,"data-disabled":e.unref(a).dataDisabled.value,"data-orientation":e.unref(r).orientation,style:{"--radix-accordion-content-width":"var(--radix-collapsible-content-width)","--radix-accordion-content-height":"var(--radix-collapsible-content-height)"}},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["hidden","as-child","force-mount","aria-labelledby","data-state","data-disabled","data-orientation"]))}}),Pu=e.defineComponent({__name:"AccordionHeader",props:{asChild:{type:Boolean},as:{default:"h3"}},setup(t){const n=t,r=cn(),a=vr();return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(V),{as:n.as,"as-child":n.asChild,"data-orientation":e.unref(r).orientation,"data-state":e.unref(a).dataState.value,"data-disabled":e.unref(a).dataDisabled.value},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["as","as-child","data-orientation","data-state","data-disabled"]))}}),Eu=e.defineComponent({__name:"AccordionTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,r=cn(),a=vr();a.triggerId||(a.triggerId=ee(void 0,"radix-vue-accordion-trigger"));function o(){const l=r.isSingle.value&&a.open.value&&!r.collapsible;a.disabled.value||l||r.changeModelValue(a.value.value)}return(l,s)=>(e.openBlock(),e.createBlock(e.unref(hu),{id:e.unref(a).triggerId,ref:e.unref(a).currentRef,"data-radix-vue-collection-item":"",as:n.as,"as-child":n.asChild,"aria-disabled":e.unref(a).disabled.value||void 0,"aria-expanded":e.unref(a).open.value||!1,"data-disabled":e.unref(a).dataDisabled.value,"data-orientation":e.unref(r).orientation,"data-state":e.unref(a).dataState.value,disabled:e.unref(a).disabled.value,onClick:o},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["id","as","as-child","aria-disabled","aria-expanded","data-disabled","data-orientation","data-state","disabled"]))}}),[Be,$u]=H("DialogRoot"),hr=e.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=Y(r,"open",n,{defaultValue:r.defaultOpen,passive:r.open===void 0}),o=e.ref(),l=e.ref(),{modal:s}=e.toRefs(r);return $u({open:a,modal:s,openModal:()=>{a.value=!0},onOpenChange:i=>{a.value=i},onOpenToggle:()=>{a.value=!a.value},contentId:"",titleId:"",descriptionId:"",triggerElement:o,contentElement:l}),(i,u)=>e.renderSlot(i.$slots,"default",{open:e.unref(a)})}}),gr=e.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=Be(),{forwardRef:a,currentElement:o}=E();return r.contentId||(r.contentId=ee(void 0,"radix-vue-dialog-content")),e.onMounted(()=>{r.triggerElement.value=o.value}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{ref:e.unref(a),type:l.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":e.unref(r).open.value||!1,"aria-controls":e.unref(r).open.value?e.unref(r).contentId:void 0,"data-state":e.unref(r).open.value?"open":"closed",onClick:e.unref(r).onOpenToggle}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),ct=e.defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=sr();return(r,a)=>e.unref(n)||r.forceMount?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:r.to,disabled:r.disabled},[e.renderSlot(r.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),yr=e.defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ct),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Tu="dismissableLayer.pointerDownOutside",Ou="dismissableLayer.focusOutside";function io(t,n){const r=n.closest("[data-dismissable-layer]"),a=t.dataset.dismissableLayer===""?t:t.querySelector("[data-dismissable-layer]"),o=Array.from(t.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(r&&a===r||o.indexOf(a){});return e.watchEffect(s=>{if(!_e)return;const i=async c=>{const d=c.target;if(n!=null&&n.value){if(io(n.value,d)){o.value=!1;return}if(c.target&&!o.value){let f=function(){ar(Tu,t,m)};const m={originalEvent:c};c.pointerType==="touch"?(a.removeEventListener("click",l.value),l.value=f,a.addEventListener("click",l.value,{once:!0})):f()}else a.removeEventListener("click",l.value);o.value=!1}},u=window.setTimeout(()=>{a.addEventListener("pointerdown",i)},0);s(()=>{window.clearTimeout(u),a.removeEventListener("pointerdown",i),a.removeEventListener("click",l.value)})}),{onPointerDownCapture:()=>o.value=!0}}function Du(t,n){var r;const a=((r=n==null?void 0:n.value)==null?void 0:r.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=e.ref(!1);return e.watchEffect(l=>{if(!_e)return;const s=async i=>{n!=null&&n.value&&(await e.nextTick(),!(!n.value||io(n.value,i.target))&&i.target&&!o.value&&ar(Ou,t,{originalEvent:i}))};a.addEventListener("focusin",s),l(()=>a.removeEventListener("focusin",s))}),{onFocusCapture:()=>o.value=!0,onBlurCapture:()=>o.value=!1}}const he=e.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dt=e.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=E(),s=e.computed(()=>{var v;return((v=l.value)==null?void 0:v.ownerDocument)??globalThis.document}),i=e.computed(()=>he.layersRoot),u=e.computed(()=>l.value?Array.from(i.value).indexOf(l.value):-1),c=e.computed(()=>he.layersWithOutsidePointerEventsDisabled.size>0),d=e.computed(()=>{const v=Array.from(i.value),[h]=[...he.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(h);return u.value>=g}),f=Au(async v=>{const h=[...he.branches].some(g=>g==null?void 0:g.contains(v.target));!d.value||h||(a("pointerDownOutside",v),a("interactOutside",v),await e.nextTick(),v.defaultPrevented||a("dismiss"))},l),m=Du(v=>{[...he.branches].some(h=>h==null?void 0:h.contains(v.target))||(a("focusOutside",v),a("interactOutside",v),v.defaultPrevented||a("dismiss"))},l);lr("Escape",v=>{u.value===i.value.size-1&&(a("escapeKeyDown",v),v.defaultPrevented||a("dismiss"))});let p;return e.watchEffect(v=>{l.value&&(r.disableOutsidePointerEvents&&(he.layersWithOutsidePointerEventsDisabled.size===0&&(p=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),he.layersWithOutsidePointerEventsDisabled.add(l.value)),i.value.add(l.value),v(()=>{r.disableOutsidePointerEvents&&he.layersWithOutsidePointerEventsDisabled.size===1&&(s.value.body.style.pointerEvents=p)}))}),e.watchEffect(v=>{v(()=>{l.value&&(i.value.delete(l.value),he.layersWithOutsidePointerEventsDisabled.delete(l.value))})}),(v,h)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(o),"as-child":v.asChild,as:v.as,"data-dismissable-layer":"",style:e.normalizeStyle({pointerEvents:c.value?d.value?"auto":"none":void 0}),onFocusCapture:e.unref(m).onFocusCapture,onBlurCapture:e.unref(m).onBlurCapture,onPointerdownCapture:e.unref(f).onPointerDownCapture},{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),Vu=e.defineComponent({__name:"DismissableLayerBranch",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,{forwardRef:r,currentElement:a}=E();return e.onMounted(()=>{he.branches.add(a.value)}),e.onUnmounted(()=>{he.branches.delete(a.value)}),(o,l)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({ref:e.unref(r)},n),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),br="focusScope.autoFocusOnMount",wr="focusScope.autoFocusOnUnmount",uo={bubbles:!1,cancelable:!0};function dn(t,{select:n=!1}={}){const r=re();for(const a of t)if(ze(a,{select:n}),re()!==r)return!0}function Mu(t){const n=xr(t),r=co(n,t),a=co(n.reverse(),t);return[r,a]}function xr(t){const n=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const o=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||o?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)n.push(r.currentNode);return n}function co(t,n){for(const r of t)if(!Iu(r,{upTo:n}))return r}function Iu(t,{upTo:n}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(n!==void 0&&t===n)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Ru(t){return t instanceof HTMLInputElement&&"select"in t}function ze(t,{select:n=!1}={}){if(t&&t.focus){const r=re();t.focus({preventScroll:!0}),t!==r&&Ru(t)&&n&&t.select()}}const Fu=Oi(()=>e.ref([]));function zu(){const t=Fu();return{add(n){const r=t.value[0];n!==r&&(r==null||r.pause()),t.value=fo(t.value,n),t.value.unshift(n)},remove(n){var r;t.value=fo(t.value,n),(r=t.value[0])==null||r.resume()}}}function fo(t,n){const r=[...t],a=r.indexOf(n);return a!==-1&&r.splice(a,1),r}function Lu(t){return t.filter(n=>n.tagName!=="A")}const fn=e.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(t,{emit:n}){const r=t,a=n,{currentRef:o,currentElement:l}=E(),s=e.ref(null),i=zu(),u=e.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});e.watchEffect(d=>{if(!_e)return;const f=l.value;if(!r.trapped)return;function m(g){if(u.paused||!f)return;const y=g.target;f.contains(y)?s.value=y:ze(s.value,{select:!0})}function p(g){if(u.paused||!f)return;const y=g.relatedTarget;y!==null&&(f.contains(y)||ze(s.value,{select:!0}))}function v(g){f.contains(s.value)||ze(f)}document.addEventListener("focusin",m),document.addEventListener("focusout",p);const h=new MutationObserver(v);f&&h.observe(f,{childList:!0,subtree:!0}),d(()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",p),h.disconnect()})}),e.watchEffect(async d=>{const f=l.value;if(await e.nextTick(),!f)return;i.add(u);const m=re();if(!f.contains(m)){const p=new CustomEvent(br,uo);f.addEventListener(br,v=>a("mountAutoFocus",v)),f.dispatchEvent(p),p.defaultPrevented||(dn(Lu(xr(f)),{select:!0}),re()===m&&ze(f))}d(()=>{f.removeEventListener(br,h=>a("mountAutoFocus",h));const p=new CustomEvent(wr,uo),v=h=>{a("unmountAutoFocus",h)};f.addEventListener(wr,v),f.dispatchEvent(p),setTimeout(()=>{p.defaultPrevented||ze(m??document.body,{select:!0}),f.removeEventListener(wr,v),i.remove(u)},0)})});function c(d){if(!r.loop&&!r.trapped||u.paused)return;const f=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,m=re();if(f&&m){const p=d.currentTarget,[v,h]=Mu(p);v&&h?!d.shiftKey&&m===h?(d.preventDefault(),r.loop&&ze(v,{select:!0})):d.shiftKey&&m===v&&(d.preventDefault(),r.loop&&ze(h,{select:!0})):m===p&&d.preventDefault()}}return(d,f)=>(e.openBlock(),e.createBlock(e.unref(V),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":d.asChild,as:d.as,onKeydown:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["as-child","as"]))}}),ju="menu.itemSelect",Cr=["Enter"," "],Ku=["ArrowDown","PageUp","Home"],po=["ArrowUp","PageDown","End"],Hu=[...Ku,...po],Uu={ltr:[...Cr,"ArrowRight"],rtl:[...Cr,"ArrowLeft"]},Wu={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function _r(t){return t?"open":"closed"}function pn(t){return t==="indeterminate"}function Br(t){return pn(t)?"indeterminate":t?"checked":"unchecked"}function kr(t){const n=re();for(const r of t)if(r===n||(r.focus(),re()!==n))return}function qu(t,n){const{x:r,y:a}=t;let o=!1;for(let l=0,s=n.length-1;la!=d>a&&r<(c-i)*(a-u)/(d-u)+i&&(o=!o)}return o}function Gu(t,n){if(!n)return!1;const r={x:t.clientX,y:t.clientY};return qu(r,n)}function Pt(t){return t.pointerType==="mouse"}const Yu="DialogTitle",Xu="DialogContent";function Qu({titleName:t=Yu,contentName:n=Xu,componentLink:r="dialog.html#title",titleId:a,descriptionId:o,contentElement:l}){const s=`Warning: \`${n}\` requires a \`${t}\` for the component to be accessible for screen reader users. If you want to hide the \`${t}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://www.radix-vue.com/components/${r}`,i=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${n}.`;e.onMounted(()=>{var u;document.getElementById(a)||console.warn(s);const c=(u=l.value)==null?void 0:u.getAttribute("aria-describedby");o&&c&&(document.getElementById(o)||console.warn(i))})}const oo=e.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=ke(),{forwardRef:l,currentElement:s}=E();return o.titleId||(o.titleId=te(void 0,"radix-vue-dialog-title")),o.descriptionId||(o.descriptionId=te(void 0,"radix-vue-dialog-description")),e.onMounted(()=>{o.contentElement=s,ae()!==document.body&&(o.triggerElement.value=ae())}),process.env.NODE_ENV!=="production"&&Hu({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:o.titleId,descriptionId:o.descriptionId,contentElement:s}),(i,u)=>(e.openBlock(),e.createBlock(e.unref(pn),{"as-child":"",loop:"",trapped:r.trapFocus,onMountAutoFocus:u[5]||(u[5]=c=>a("openAutoFocus",c)),onUnmountAutoFocus:u[6]||(u[6]=c=>a("closeAutoFocus",c))},{default:e.withCtx(()=>[e.createVNode(e.unref(mt),e.mergeProps({id:e.unref(o).contentId,ref:e.unref(l),as:i.as,"as-child":i.asChild,"disable-outside-pointer-events":i.disableOutsidePointerEvents,role:"dialog","aria-describedby":e.unref(o).descriptionId,"aria-labelledby":e.unref(o).titleId,"data-state":e.unref(br)(e.unref(o).open.value)},i.$attrs,{onDismiss:u[0]||(u[0]=c=>e.unref(o).onOpenChange(!1)),onEscapeKeyDown:u[1]||(u[1]=c=>a("escapeKeyDown",c)),onFocusOutside:u[2]||(u[2]=c=>a("focusOutside",c)),onInteractOutside:u[3]||(u[3]=c=>a("interactOutside",c)),onPointerDownOutside:u[4]||(u[4]=c=>a("pointerDownOutside",c))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),Uu=e.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=ke(),l=je(a),{forwardRef:s,currentElement:i}=E();return $t(i),(u,c)=>(e.openBlock(),e.createBlock(oo,e.mergeProps({...r,...e.unref(l)},{ref:e.unref(s),"trap-focus":e.unref(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:c[0]||(c[0]=d=>{var f;d.defaultPrevented||(d.preventDefault(),(f=e.unref(o).triggerElement.value)==null||f.focus())}),onPointerDownOutside:c[1]||(c[1]=d=>{const f=d.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0;(f.button===2||m)&&d.preventDefault()}),onFocusOutside:c[2]||(c[2]=d=>{d.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["trap-focus"]))}}),Wu=e.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=je(n);E();const o=ke(),l=e.ref(!1),s=e.ref(!1);return(i,u)=>(e.openBlock(),e.createBlock(oo,e.mergeProps({...r,...e.unref(a)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{var d;c.defaultPrevented||(l.value||(d=e.unref(o).triggerElement.value)==null||d.focus(),c.preventDefault()),l.value=!1,s.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{var d;c.defaultPrevented||(l.value=!0,c.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const f=c.target;(d=e.unref(o).triggerElement.value)!=null&&d.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&s.value&&c.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))}}),vn=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=ke(),l=je(a),{forwardRef:s}=E();return(i,u)=>(e.openBlock(),e.createBlock(e.unref(me),{present:i.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[e.unref(o).modal.value?(e.openBlock(),e.createBlock(Uu,e.mergeProps({key:0,ref:e.unref(s)},{...r,...e.unref(l),...i.$attrs}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Wu,e.mergeProps({key:1,ref:e.unref(s)},{...r,...e.unref(l),...i.$attrs}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Gu=e.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(t){const n=ke();return Et(!0),E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),{as:r.as,"as-child":r.asChild,"data-state":e.unref(n).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),gn=e.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=ke(),{forwardRef:r}=E();return(a,o)=>{var l;return(l=e.unref(n))!=null&&l.modal.value?(e.openBlock(),e.createBlock(e.unref(me),{key:0,present:a.forceMount||e.unref(n).open.value},{default:e.withCtx(()=>[e.createVNode(Gu,e.mergeProps(a.$attrs,{ref:e.unref(r),as:a.as,"as-child":a.asChild}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):e.createCommentVNode("",!0)}}}),Qe=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;E();const r=ke();return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{type:a.as==="button"?"button":void 0,onClick:o[0]||(o[0]=l=>e.unref(r).onOpenChange(!1))}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["type"]))}}),Cr=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const n=t,r=ke();return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).titleId}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),_r=e.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(t){const n=t;E();const r=ke();return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).descriptionId}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),qu=e.defineComponent({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const r=z(t,n);return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(fr),e.mergeProps(e.unref(r),{modal:!0}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),Yu=e.defineComponent({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(pr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Xu=e.defineComponent({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pt),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[Zu,Qu]=U("AlertDialogContent"),Ju=e.defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=je(n);E();const o=e.ref();return Qu({onCancelElementChange:l=>{o.value=l}}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(vn),e.mergeProps({...r,...e.unref(a)},{role:"alertdialog",onPointerDownOutside:s[0]||(s[0]=e.withModifiers(()=>{},["prevent"])),onInteractOutside:s[1]||(s[1]=e.withModifiers(()=>{},["prevent"])),onOpenAutoFocus:s[2]||(s[2]=()=>{e.nextTick(()=>{var i;(i=o.value)==null||i.focus({preventScroll:!0})})})}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Nu=e.defineComponent({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(gn),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),ec=e.defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=Zu(),{forwardRef:a,currentElement:o}=E();return e.onMounted(()=>{r.onCancelElementChange(o.value)}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(Qe),e.mergeProps(n,{ref:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),tc=e.defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Cr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),nc=e.defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(_r),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),rc=e.defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Qe),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[lo,ac]=U("AvatarRoot"),oc=e.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return E(),ac({imageLoadingStatus:e.ref("loading")}),(n,r)=>(e.openBlock(),e.createBlock(e.unref(V),{"as-child":n.asChild,as:n.as},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as-child","as"]))}});function lc(t,n){const r=e.ref("idle"),a=e.ref(!1),o=l=>()=>{a.value&&(r.value=l)};return e.onMounted(()=>{a.value=!0,e.watch([()=>t.value,()=>n==null?void 0:n.value],([l,s])=>{if(!l)r.value="error";else{const i=new window.Image;r.value="loading",i.onload=o("loaded"),i.onerror=o("error"),i.src=l,s&&(i.referrerPolicy=s)}},{immediate:!0})}),e.onUnmounted(()=>{a.value=!1}),r}const sc=e.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{default:"img"}},emits:["loadingStatusChange"],setup(t,{emit:n}){const r=t,a=n,{src:o,referrerPolicy:l}=e.toRefs(r);E();const s=lo(),i=lc(o,l);return e.watch(i,u=>{a("loadingStatusChange",u),u!=="idle"&&(s.imageLoadingStatus.value=u)},{immediate:!0}),(u,c)=>e.withDirectives((e.openBlock(),e.createBlock(e.unref(V),{role:"img","as-child":u.asChild,as:u.as,src:e.unref(o),"referrer-policy":e.unref(l)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as","src","referrer-policy"])),[[e.vShow,e.unref(i)==="loaded"]])}}),ic=e.defineComponent({__name:"AvatarFallback",props:{delayMs:{default:0},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=lo();E();const a=e.ref(!1);let o;return e.watch(r.imageLoadingStatus,l=>{l==="loading"&&(a.value=!1,n.delayMs?o=setTimeout(()=>{a.value=!0,clearTimeout(o)},n.delayMs):a.value=!0)},{immediate:!0}),(l,s)=>a.value&&e.unref(r).imageLoadingStatus.value!=="loaded"?(e.openBlock(),e.createBlock(e.unref(V),{key:0,"as-child":l.asChild,as:l.as},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["as-child","as"])):e.createCommentVNode("",!0)}}),[so,uc]=U("PopperRoot"),vt=e.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(t){const n=e.ref();return uc({anchor:n,onAnchorChange:r=>n.value=r}),(r,a)=>e.renderSlot(r.$slots,"default")}}),Ot=e.defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,{forwardRef:r,currentElement:a}=E(),o=so();return e.watchEffect(()=>{o.onAnchorChange(n.element??a.value)}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(r),as:l.as,"as-child":l.asChild},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["as","as-child"]))}});function cc(t){return t!==null}function dc(t){return{name:"transformOrigin",options:t,fn(n){var r,a,o;const{placement:l,rects:s,middlewareData:i}=n,u=((r=i.arrow)==null?void 0:r.centerOffset)!==0,c=u?0:t.arrowWidth,d=u?0:t.arrowHeight,[f,m]=Br(l),p={start:"0%",center:"50%",end:"100%"}[m],v=(((a=i.arrow)==null?void 0:a.x)??0)+c/2,g=(((o=i.arrow)==null?void 0:o.y)??0)+d/2;let h="",y="";return f==="bottom"?(h=u?p:`${v}px`,y=`${-d}px`):f==="top"?(h=u?p:`${v}px`,y=`${s.floating.height+d}px`):f==="right"?(h=`${-d}px`,y=u?p:`${g}px`):f==="left"&&(h=`${s.floating.width+d}px`,y=u?p:`${g}px`),{data:{x:h,y}}}}}function Br(t){const[n,r="center"]=t.split("-");return[n,r]}const io={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[b0,fc]=U("PopperContent"),gt=e.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:e.mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...io}),emits:["placed"],setup(t,{emit:n}){const r=t,a=n,o=so(),{forwardRef:l,currentElement:s}=E(),i=e.ref(),u=e.ref(),{width:c,height:d}=Za(u),f=e.computed(()=>r.side+(r.align!=="center"?`-${r.align}`:"")),m=e.computed(()=>typeof r.collisionPadding=="number"?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),p=e.computed(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),v=e.computed(()=>({padding:m.value,boundary:p.value.filter(cc),altBoundary:p.value.length>0})),g=Ci(()=>[ci({mainAxis:r.sideOffset+d.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Ra({...v.value}),r.avoidCollisions&&di({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky==="partial"?vi():void 0,...v.value}),!r.prioritizePosition&&r.avoidCollisions&&Ra({...v.value}),fi({...v.value,apply:({elements:k,rects:O,availableWidth:$,availableHeight:R})=>{const{width:I,height:L}=O.reference,W=k.floating.style;W.setProperty("--radix-popper-available-width",`${$}px`),W.setProperty("--radix-popper-available-height",`${R}px`),W.setProperty("--radix-popper-anchor-width",`${I}px`),W.setProperty("--radix-popper-anchor-height",`${L}px`)}}),u.value&&yi({element:u.value,padding:r.arrowPadding}),dc({arrowWidth:c.value,arrowHeight:d.value}),r.hideWhenDetached&&pi({strategy:"referenceHidden",...v.value})]),{floatingStyles:h,placement:y,isPositioned:b,middlewareData:w}=bi(o.anchor,i,{strategy:"fixed",placement:f,whileElementsMounted:(...k)=>ui(...k,{animationFrame:r.updatePositionStrategy==="always"}),middleware:g}),B=e.computed(()=>Br(y.value)[0]),x=e.computed(()=>Br(y.value)[1]);e.watchPostEffect(()=>{b.value&&a("placed")});const S=e.computed(()=>{var k;return((k=w.value.arrow)==null?void 0:k.centerOffset)!==0}),_=e.ref("");e.watchEffect(()=>{s.value&&(_.value=window.getComputedStyle(s.value).zIndex)});const P=e.computed(()=>{var k;return((k=w.value.arrow)==null?void 0:k.x)??0}),T=e.computed(()=>{var k;return((k=w.value.arrow)==null?void 0:k.y)??0});return fc({placedSide:B,onArrowChange:k=>u.value=k,arrowX:P,arrowY:T,shouldHideArrow:S}),(k,O)=>{var $,R,I;return e.openBlock(),e.createElementBlock("div",{ref_key:"floatingRef",ref:i,"data-radix-popper-content-wrapper":"",style:e.normalizeStyle({...e.unref(h),transform:e.unref(b)?e.unref(h).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:_.value,"--radix-popper-transform-origin":[($=e.unref(w).transformOrigin)==null?void 0:$.x,(R=e.unref(w).transformOrigin)==null?void 0:R.y].join(" "),...((I=e.unref(w).hide)==null?void 0:I.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(l)},k.$attrs,{"as-child":r.asChild,as:k.as,"data-side":B.value,"data-align":x.value,style:{animation:e.unref(b)?void 0:"none"}}),{default:e.withCtx(()=>[e.renderSlot(k.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),At=e.defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return E(),(n,r)=>(e.openBlock(),e.createBlock(e.unref(V),{as:n.as,"as-child":n.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child"]))}}),pc=e.defineComponent({__name:"VisuallyHiddenInput",props:{name:{},value:{},required:{type:Boolean},disabled:{type:Boolean}},setup(t){const n=t,r=e.computed(()=>typeof n.value=="string"||typeof n.value=="number"||typeof n.value=="boolean"?[{name:n.name,value:n.value}]:typeof n.value=="object"&&Array.isArray(n.value)?n.value.flatMap((a,o)=>typeof a=="object"?Object.entries(a).map(([l,s])=>({name:`[${o}][${n.name}][${l}]`,value:s})):{name:`[${n.name}][${o}]`,value:a}):n.value!==null&&typeof n.value=="object"&&!Array.isArray(n.value)?Object.entries(n.value).map(([a,o])=>({name:`[${n.name}][${a}]`,value:o})):[]);return(a,o)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,l=>(e.openBlock(),e.createBlock(At,{key:l.name,as:"input",type:"hidden",hidden:"",readonly:"",name:l.name,value:l.value,required:a.required,disabled:a.disabled},null,8,["name","value","required","disabled"]))),128))}}),mc="data-radix-vue-collection-item",[kr,vc]=U("CollectionProvider");function Sr(t=mc){const n=e.ref(new Map),r=e.ref(),a=vc({collectionRef:r,itemMap:n,attrName:t}),{getItems:o}=Er(a),l=e.computed(()=>Array.from(a.itemMap.value.values())),s=e.computed(()=>a.itemMap.value.size);return{getItems:o,reactiveItems:l,itemMapSize:s}}const Pr=e.defineComponent({name:"CollectionSlot",setup(t,{slots:n}){const r=kr(),{primitiveElement:a,currentElement:o}=Qa();return e.watch(o,()=>{r.collectionRef.value=o.value}),()=>e.h(cr,{ref:a},n)}}),hn=e.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(t,{slots:n,attrs:r}){const a=kr(),{primitiveElement:o,currentElement:l}=Qa();return e.watchEffect(s=>{if(l.value){const i=e.markRaw(l.value);a.itemMap.value.set(i,{ref:l.value,value:t.value}),s(()=>a.itemMap.value.delete(i))}}),()=>e.h(cr,{...r,[a.attrName]:"",ref:o},n)}});function Er(t){const n=t??kr();return{getItems:()=>{const r=n.collectionRef.value;if(!r)return[];const a=Array.from(r.querySelectorAll(`[${n.attrName}]`));return Array.from(n.itemMap.value.values()).sort((o,l)=>a.indexOf(o.ref)-a.indexOf(l.ref))}}}const[ht,gc]=U("ComboboxRoot"),hc=e.defineComponent({__name:"ComboboxRoot",props:{modelValue:{},defaultValue:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},searchTerm:{},selectedValue:{},multiple:{type:Boolean},disabled:{type:Boolean},name:{},dir:{},filterFunction:{},displayValue:{},resetSearchTermOnBlur:{type:Boolean,default:!0},resetSearchTermOnSelect:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["update:modelValue","update:open","update:searchTerm","update:selectedValue"],setup(t,{emit:n}){const r=t,a=n,{multiple:o,disabled:l,dir:s}=e.toRefs(r),i=Le(s),u=X(r,"searchTerm",a,{defaultValue:"",passive:r.searchTerm===void 0}),c=X(r,"modelValue",a,{defaultValue:r.defaultValue??o.value?[]:void 0,passive:r.modelValue===void 0,deep:!0}),d=X(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),f=X(r,"selectedValue",a,{defaultValue:void 0,passive:r.selectedValue===void 0});async function m(D){var F,H;d.value=D,await e.nextTick(),D?(c.value&&(Array.isArray(c.value)&&o.value?f.value=(F=w().find(ie=>{var fe,ue;return((ue=(fe=ie.ref)==null?void 0:fe.dataset)==null?void 0:ue.state)==="checked"}))==null?void 0:F.value:f.value=c.value),await e.nextTick(),(H=g.value)==null||H.focus(),R()):(v.value=!1,r.resetSearchTermOnBlur&&P("blur"))}function p(D){if(Array.isArray(c.value)&&o.value){const F=c.value.findIndex(ie=>Xe(ie,D)),H=[...c.value];F===-1?H.push(D):H.splice(F,1),c.value=H}else c.value=D,m(!1)}const v=e.ref(!1),g=e.ref(),h=e.ref(),{forwardRef:y,currentElement:b}=E(),{getItems:w,reactiveItems:B,itemMapSize:x}=Sr("data-radix-vue-combobox-item"),S=e.ref([]);e.watch(()=>x.value,()=>{S.value=w().map(D=>D.value)},{immediate:!0,flush:"post"});const _=e.computed(()=>{if(v.value){if(r.filterFunction)return r.filterFunction(S.value,u.value);const D=S.value.filter(F=>typeof F=="string");if(D.length)return D.filter(F=>{var H;return F.toLowerCase().includes((H=u.value)==null?void 0:H.toLowerCase())})}return S.value});function P(D){const F=D==="blur"||D==="select"&&r.resetSearchTermOnSelect;!o.value&&c.value&&!Array.isArray(c.value)?r.displayValue?u.value=r.displayValue(c.value):typeof c.value!="object"?u.value=c.value.toString():F&&(u.value=""):F&&(u.value="")}const T=e.computed(()=>_.value.findIndex(D=>Xe(D,f.value))),k=e.computed(()=>{var D;return(D=B.value.find(F=>Xe(F.value,f.value)))==null?void 0:D.ref}),O=e.computed(()=>JSON.stringify(c.value));e.watch(O,async()=>{await e.nextTick(),await e.nextTick(),P("select")},{immediate:!r.searchTerm}),e.watch(()=>[_.value.length,u.value.length],async([D,F],[H,ie])=>{await e.nextTick(),await e.nextTick(),D&&(ie>F||T.value===-1)&&(f.value=_.value[0])});const $=ln(b);function R(){var D;k.value instanceof Element&&((D=k.value)==null||D.scrollIntoView({block:"nearest"}))}function I(){k.value instanceof Element&&k.value.focus&&k.value.focus()}const L=e.ref(!1);function W(){L.value=!0}function Q(){requestAnimationFrame(()=>{L.value=!1})}async function q(D){var F;_.value.length&&f.value&&k.value instanceof Element&&(D.preventDefault(),D.stopPropagation(),L.value||(F=k.value)==null||F.click())}return gc({searchTerm:u,modelValue:c,onValueChange:p,isUserInputted:v,multiple:o,disabled:l,open:d,onOpenChange:m,filteredOptions:_,contentId:"",inputElement:g,selectedElement:k,onInputElementChange:D=>g.value=D,onInputNavigation:async D=>{const F=T.value;F===0&&D==="up"||F===_.value.length-1&&D==="down"||(F===-1&&_.value.length||D==="home"?f.value=_.value[0]:D==="end"?f.value=_.value[_.value.length-1]:f.value=_.value[D==="up"?F-1:F+1],await e.nextTick(),R(),I(),e.nextTick(()=>{var H;return(H=g.value)==null?void 0:H.focus({preventScroll:!0})}))},onInputEnter:q,onCompositionEnd:Q,onCompositionStart:W,selectedValue:f,onSelectedValueChange:D=>f.value=D,parentElement:b,contentElement:h,onContentElementChange:D=>h.value=D}),(D,F)=>(e.openBlock(),e.createBlock(e.unref(vt),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(y),style:{pointerEvents:e.unref(d)?"auto":void 0},as:D.as,"as-child":D.asChild,dir:e.unref(i)},D.$attrs),{default:e.withCtx(()=>[e.renderSlot(D.$slots,"default",{open:e.unref(d),modelValue:e.unref(c)}),e.unref($)&&r.name?(e.openBlock(),e.createBlock(e.unref(pc),{key:0,name:r.name,value:e.unref(c)},null,8,["name","value"])):e.createCommentVNode("",!0)]),_:3},16,["style","as","as-child","dir"])]),_:3}))}}),yc=e.defineComponent({__name:"ComboboxInput",props:{type:{default:"text"},disabled:{type:Boolean},autoFocus:{type:Boolean},asChild:{type:Boolean},as:{default:"input"}},setup(t){const n=t,r=ht(),{forwardRef:a,currentElement:o}=E();e.onMounted(()=>{const d=o.value.nodeName==="INPUT"?o.value:o.value.querySelector("input");d&&(r.onInputElementChange(d),setTimeout(()=>{n.autoFocus&&(d==null||d.focus())},1))});const l=e.computed(()=>n.disabled||r.disabled.value||!1),s=e.ref();e.watchSyncEffect(()=>{var d;return s.value=(d=r.selectedElement.value)==null?void 0:d.id});function i(d){r.open.value?r.onInputNavigation(d.key==="ArrowUp"?"up":"down"):r.onOpenChange(!0)}function u(d){r.open.value&&r.onInputNavigation(d.key==="Home"?"home":"end")}function c(d){var f;r.searchTerm.value=(f=d.target)==null?void 0:f.value,r.open.value||r.onOpenChange(!0),r.isUserInputted.value=!0}return(d,f)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(a),as:d.as,"as-child":d.asChild,type:d.type,disabled:l.value,value:e.unref(r).searchTerm.value,"aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(r).contentId,"aria-disabled":l.value??void 0,"aria-activedescendant":s.value,"aria-autocomplete":"list",role:"combobox",autocomplete:"false",onInput:c,onKeydown:[e.withKeys(e.withModifiers(i,["prevent"]),["down","up"]),e.withKeys(e.unref(r).onInputEnter,["enter"]),e.withKeys(e.withModifiers(u,["prevent"]),["home","end"])],onCompositionstart:e.unref(r).onCompositionStart,onCompositionend:e.unref(r).onCompositionEnd},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["as","as-child","type","disabled","value","aria-expanded","aria-controls","aria-disabled","aria-activedescendant","onKeydown","onCompositionstart","onCompositionend"]))}}),[uo,bc]=U("ComboboxGroup"),wc=e.defineComponent({__name:"ComboboxGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,{currentRef:r,currentElement:a}=E(),o=te(void 0,"radix-vue-combobox-group"),l=ht(),s=e.ref(!1);function i(){if(!a.value)return;const u=a.value.querySelectorAll("[data-radix-vue-combobox-item]:not([data-hidden])");s.value=!!u.length}return Mi(a,()=>{e.nextTick(()=>{i()})},{childList:!0}),e.watch(()=>l.searchTerm.value,()=>{e.nextTick(()=>{i()})},{immediate:!0}),bc({id:o}),(u,c)=>e.withDirectives((e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{ref_key:"currentRef",ref:r,role:"group","aria-labelledby":e.unref(o)}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["aria-labelledby"])),[[e.vShow,s.value]])}}),xc=e.defineComponent({__name:"ComboboxLabel",props:{for:{},asChild:{type:Boolean},as:{default:"div"}},setup(t){const n=t;E();const r=uo({id:""});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).id}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),[w0,Cc]=U("ComboboxContent"),_c=e.defineComponent({__name:"ComboboxContentImpl",props:{position:{default:"inline"},bodyLock:{type:Boolean},dismissable:{type:Boolean,default:!0},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:n}){const r=t,a=n,{position:o}=e.toRefs(r),l=ht();Et(r.bodyLock);const{forwardRef:s,currentElement:i}=E();$t(l.parentElement);const u=e.computed(()=>r.position==="popper"?r:{}),c=oe(u.value);function d(m){l.onSelectedValueChange("")}e.onMounted(()=>{l.onContentElementChange(i.value)});const f={boxSizing:"border-box","--radix-combobox-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-combobox-content-available-width":"var(--radix-popper-available-width)","--radix-combobox-content-available-height":"var(--radix-popper-available-height)","--radix-combobox-trigger-width":"var(--radix-popper-anchor-width)","--radix-combobox-trigger-height":"var(--radix-popper-anchor-height)"};return Cc({position:o}),(m,p)=>(e.openBlock(),e.createBlock(e.unref(Pr),null,{default:e.withCtx(()=>[m.dismissable?(e.openBlock(),e.createBlock(e.unref(mt),{key:0,"as-child":"","disable-outside-pointer-events":m.disableOutsidePointerEvents,onDismiss:p[0]||(p[0]=v=>e.unref(l).onOpenChange(!1)),onFocusOutside:p[1]||(p[1]=v=>{var g;(g=e.unref(l).parentElement.value)!=null&&g.contains(v.target)&&v.preventDefault(),a("focusOutside",v)}),onInteractOutside:p[2]||(p[2]=v=>a("interactOutside",v)),onEscapeKeyDown:p[3]||(p[3]=v=>a("escapeKeyDown",v)),onPointerDownOutside:p[4]||(p[4]=v=>{var g;(g=e.unref(l).parentElement.value)!=null&&g.contains(v.target)&&v.preventDefault(),a("pointerDownOutside",v)})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)==="popper"?e.unref(gt):e.unref(V)),e.mergeProps({...m.$attrs,...e.unref(c)},{id:e.unref(l).contentId,ref:e.unref(s),role:"listbox","data-state":e.unref(l).open.value?"open":"closed",style:{display:"flex",flexDirection:"column",outline:"none",...e.unref(o)==="popper"?f:{}},onPointerleave:d}),{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},16,["id","data-state","style"]))]),_:3},8,["disable-outside-pointer-events"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)==="popper"?e.unref(gt):e.unref(V)),e.mergeProps({key:1},{...m.$attrs,...u.value},{id:e.unref(l).contentId,ref:e.unref(s),role:"listbox","data-state":e.unref(l).open.value?"open":"closed",style:{display:"flex",flexDirection:"column",outline:"none",...e.unref(o)==="popper"?f:{}},onPointerleave:d}),{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},16,["id","data-state","style"]))]),_:3}))}}),Bc=e.defineComponent({__name:"ComboboxContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},dismissable:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:n}){const r=z(t,n),{forwardRef:a}=E(),o=ht();return o.contentId||(o.contentId=te(void 0,"radix-vue-combobox-content")),(l,s)=>(e.openBlock(),e.createBlock(e.unref(me),{present:l.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[e.createVNode(_c,e.mergeProps({...e.unref(r),...l.$attrs},{ref:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),kc=e.defineComponent({__name:"ComboboxEmpty",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;E();const r=ht(),a=e.computed(()=>r.filteredOptions.value.length===0);return(o,l)=>a.value?(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.mergeProps({key:0},n)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode("No options")])]),_:3},16)):e.createCommentVNode("",!0)}});function Sc(t){const n=on({nonce:e.ref()});return e.computed(()=>{var r;return(t==null?void 0:t.value)||((r=n.nonce)==null?void 0:r.value)})}const[x0,Pc]=U("ComboboxItem"),Ec="combobox.select",$c=e.defineComponent({__name:"ComboboxItem",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,{disabled:o}=e.toRefs(r),l=ht();uo({id:"",options:e.ref([])});const{forwardRef:s}=E(),i=e.computed(()=>{var g,h;return l.multiple.value&&Array.isArray(l.modelValue.value)?(g=l.modelValue.value)==null?void 0:g.some(y=>Xe(y,r.value)):Xe((h=l.modelValue)==null?void 0:h.value,r.value)}),u=e.computed(()=>Xe(l.selectedValue.value,r.value)),c=te(void 0,"radix-vue-combobox-item"),d=te(void 0,"radix-vue-combobox-option"),f=e.computed(()=>l.isUserInputted.value?l.searchTerm.value===""||!!l.filteredOptions.value.find(g=>Xe(g,r.value)):!0);async function m(g){a("select",g),!(g!=null&&g.defaultPrevented)&&!o.value&&g&&l.onValueChange(r.value)}function p(g){if(!g)return;const h={originalEvent:g,value:r.value};er(Ec,m,h)}async function v(g){await e.nextTick(),!g.defaultPrevented&&l.onSelectedValueChange(r.value)}if(r.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.");return Pc({isSelected:i}),(g,h)=>(e.openBlock(),e.createBlock(e.unref(hn),{value:g.value},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(V),{id:e.unref(d),ref:e.unref(s),role:"option",tabindex:"-1","aria-labelledby":e.unref(c),"data-highlighted":u.value?"":void 0,"aria-selected":i.value,"data-state":i.value?"checked":"unchecked","aria-disabled":e.unref(o)||void 0,"data-disabled":e.unref(o)?"":void 0,as:g.as,"as-child":g.asChild,"data-hidden":f.value?void 0:!0,onClick:p,onPointermove:v},{default:e.withCtx(()=>[e.renderSlot(g.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(g.value),1)])]),_:3},8,["id","aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","as","as-child","data-hidden"]),[[e.vShow,f.value]])]),_:3},8,["value"]))}}),Tc=e.defineComponent({__name:"ComboboxSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{"aria-hidden":"true"}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),co=e.defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Ot),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}});function Oc(){const t=e.ref(!1);return e.onMounted(()=>{ct("keydown",()=>{t.value=!0},{capture:!0,passive:!0}),ct(["pointerdown","pointermove"],()=>{t.value=!1},{capture:!0,passive:!0})}),t}const Ac=La(Oc),[Je,fo]=U(["MenuRoot","MenuSub"],"MenuContext"),[Dt,Dc]=U("MenuRoot"),Vc=e.defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n,{modal:o,dir:l}=e.toRefs(r),s=Le(l),i=X(r,"open",a),u=e.ref(),c=Ac();return fo({open:i,onOpenChange:d=>{i.value=d},content:u,onContentChange:d=>{u.value=d}}),Dc({onClose:()=>{i.value=!1},isUsingKeyboardRef:c,dir:s,modal:o}),(d,f)=>(e.openBlock(),e.createBlock(e.unref(vt),null,{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3}))}}),Mc="rovingFocusGroup.onEntryFocus",Ic={bubbles:!1,cancelable:!0},Rc={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Fc(t,n){return n!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function zc(t,n,r){const a=Fc(t.key,r);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return Rc[a]}function po(t,n=!1){const r=ae();for(const a of t)if(a===r||(a.focus({preventScroll:n}),ae()!==r))return}function Lc(t,n){return t.map((r,a)=>t[(n+a)%t.length])}const[jc,Kc]=U("RovingFocusGroup"),mo=e.defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(t,{expose:n,emit:r}){const a=t,o=r,{loop:l,orientation:s,dir:i}=e.toRefs(a),u=Le(i),c=X(a,"currentTabStopId",o,{defaultValue:a.defaultCurrentTabStopId,passive:a.currentTabStopId===void 0}),d=e.ref(!1),f=e.ref(!1),m=e.ref(0),{getItems:p}=Sr();function v(h){const y=!f.value;if(h.currentTarget&&h.target===h.currentTarget&&y&&!d.value){const b=new CustomEvent(Mc,Ic);if(h.currentTarget.dispatchEvent(b),o("entryFocus",b),!b.defaultPrevented){const w=p().map(_=>_.ref).filter(_=>_.dataset.disabled!==""),B=w.find(_=>_.getAttribute("data-active")==="true"),x=w.find(_=>_.id===c.value),S=[B,x,...w].filter(Boolean);po(S,a.preventScrollOnEntryFocus)}}f.value=!1}function g(){setTimeout(()=>{f.value=!1},1)}return n({getItems:p}),Kc({loop:l,dir:u,orientation:s,currentTabStopId:c,onItemFocus:h=>{c.value=h},onItemShiftTab:()=>{d.value=!0},onFocusableItemAdd:()=>{m.value++},onFocusableItemRemove:()=>{m.value--}}),(h,y)=>(e.openBlock(),e.createBlock(e.unref(Pr),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),{tabindex:d.value||m.value===0?-1:0,"data-orientation":e.unref(s),as:h.as,"as-child":h.asChild,dir:e.unref(u),style:{outline:"none"},onMousedown:y[0]||(y[0]=b=>f.value=!0),onMouseup:g,onFocus:v,onBlur:y[1]||(y[1]=b=>d.value=!1)},{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Hc=e.defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=jc(),a=e.computed(()=>n.tabStopId||te()),o=e.computed(()=>r.currentTabStopId.value===a.value),{getItems:l}=Er();e.onMounted(()=>{n.focusable&&r.onFocusableItemAdd()}),e.onUnmounted(()=>{n.focusable&&r.onFocusableItemRemove()});function s(i){if(i.key==="Tab"&&i.shiftKey){r.onItemShiftTab();return}if(i.target!==i.currentTarget)return;const u=zc(i,r.orientation.value,r.dir.value);if(u!==void 0){if(i.metaKey||i.ctrlKey||i.altKey||!n.allowShiftKey&&i.shiftKey)return;i.preventDefault();let c=[...l().map(d=>d.ref).filter(d=>d.dataset.disabled!=="")];if(u==="last")c.reverse();else if(u==="prev"||u==="next"){u==="prev"&&c.reverse();const d=c.indexOf(i.currentTarget);c=r.loop.value?Lc(c,d+1):c.slice(d+1)}e.nextTick(()=>po(c))}}return(i,u)=>(e.openBlock(),e.createBlock(e.unref(hn),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),{tabindex:o.value?0:-1,"data-orientation":e.unref(r).orientation.value,"data-active":i.active,"data-disabled":i.focusable?void 0:"",as:i.as,"as-child":i.asChild,onMousedown:u[0]||(u[0]=c=>{i.focusable?e.unref(r).onItemFocus(a.value):c.preventDefault()}),onFocus:u[1]||(u[1]=c=>e.unref(r).onItemFocus(a.value)),onKeydown:s},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[$r,Uc]=U("MenuContent"),Tr=e.defineComponent({__name:"MenuContentImpl",props:e.mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...io}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(t,{emit:n}){const r=t,a=n,o=Je(),l=Dt(),{trapFocus:s,disableOutsidePointerEvents:i,loop:u}=e.toRefs(r);sr(),Et(i.value);const c=e.ref(""),d=e.ref(0),f=e.ref(0),m=e.ref(null),p=e.ref("right"),v=e.ref(0),g=e.ref(null),{createCollection:h}=dt(),{forwardRef:y,currentElement:b}=E(),w=h(b);e.watch(b,k=>{o.onContentChange(k)});const{handleTypeaheadSearch:B}=ur(w);e.onUnmounted(()=>{window.clearTimeout(d.value)});function x(k){var O,$;return p.value===((O=m.value)==null?void 0:O.side)&&Lu(k,($=m.value)==null?void 0:$.area)}async function S(k){var O;a("openAutoFocus",k),!k.defaultPrevented&&(k.preventDefault(),(O=b.value)==null||O.focus({preventScroll:!0}))}function _(k){if(k.defaultPrevented)return;const O=k.target.closest("[data-radix-menu-content]")===k.currentTarget,$=k.ctrlKey||k.altKey||k.metaKey,R=k.key.length===1,I=Wa(k,ae(),b.value,{loop:u.value,arrowKeyOptions:"vertical",dir:l==null?void 0:l.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(I)return I==null?void 0:I.focus();if(k.code==="Space"||(O&&(k.key==="Tab"&&k.preventDefault(),!$&&R&&B(k.key)),k.target!==b.value)||!Iu.includes(k.key))return;k.preventDefault();const L=w.value;ao.includes(k.key)&&L.reverse(),xr(L)}function P(k){var O,$;($=(O=k==null?void 0:k.currentTarget)==null?void 0:O.contains)!=null&&$.call(O,k.target)||(window.clearTimeout(d.value),c.value="")}function T(k){var O;if(!Tt(k))return;const $=k.target,R=v.value!==k.clientX;if((O=k==null?void 0:k.currentTarget)!=null&&O.contains($)&&R){const I=k.clientX>v.value?"right":"left";p.value=I,v.value=k.clientX}}return Uc({onItemEnter:k=>!!x(k),onItemLeave:k=>{var O;x(k)||((O=b.value)==null||O.focus(),g.value=null)},onTriggerLeave:k=>!!x(k),searchRef:c,pointerGraceTimerRef:f,onPointerGraceIntentChange:k=>{m.value=k}}),(k,O)=>(e.openBlock(),e.createBlock(e.unref(pn),{"as-child":"",trapped:e.unref(s),onMountAutoFocus:S,onUnmountAutoFocus:O[7]||(O[7]=$=>a("closeAutoFocus",$))},{default:e.withCtx(()=>[e.createVNode(e.unref(mt),{"as-child":"","disable-outside-pointer-events":e.unref(i),onEscapeKeyDown:O[2]||(O[2]=$=>a("escapeKeyDown",$)),onPointerDownOutside:O[3]||(O[3]=$=>a("pointerDownOutside",$)),onFocusOutside:O[4]||(O[4]=$=>a("focusOutside",$)),onInteractOutside:O[5]||(O[5]=$=>a("interactOutside",$)),onDismiss:O[6]||(O[6]=$=>a("dismiss"))},{default:e.withCtx(()=>[e.createVNode(e.unref(mo),{"current-tab-stop-id":g.value,"onUpdate:currentTabStopId":O[0]||(O[0]=$=>g.value=$),"as-child":"",orientation:"vertical",dir:e.unref(l).dir.value,loop:e.unref(u),onEntryFocus:O[1]||(O[1]=$=>{a("entryFocus",$),e.unref(l).isUsingKeyboardRef.value||$.preventDefault()})},{default:e.withCtx(()=>[e.createVNode(e.unref(gt),{ref:e.unref(y),role:"menu",as:k.as,"as-child":k.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":e.unref(br)(e.unref(o).open.value),dir:e.unref(l).dir.value,side:k.side,"side-offset":k.sideOffset,align:k.align,"align-offset":k.alignOffset,"avoid-collisions":k.avoidCollisions,"collision-boundary":k.collisionBoundary,"collision-padding":k.collisionPadding,"arrow-padding":k.arrowPadding,"prioritize-position":k.prioritizePosition,sticky:k.sticky,"hide-when-detached":k.hideWhenDetached,onKeydown:_,onBlur:P,onPointermove:T},{default:e.withCtx(()=>[e.renderSlot(k.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),vo=e.defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=$r(),{forwardRef:a}=E(),o=e.ref(!1);async function l(i){if(!i.defaultPrevented&&Tt(i)){if(n.disabled)r.onItemLeave(i);else if(!r.onItemEnter(i)){const u=i.currentTarget;u==null||u.focus({preventScroll:!0})}}}async function s(i){await e.nextTick(),!i.defaultPrevented&&Tt(i)&&r.onItemLeave(i)}return(i,u)=>(e.openBlock(),e.createBlock(e.unref(hn),{value:{textValue:i.textValue}},{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(a),role:"menuitem",tabindex:"-1"},i.$attrs,{as:i.as,"as-child":i.asChild,"data-radix-vue-collection-item":"","aria-disabled":i.disabled||void 0,"data-disabled":i.disabled?"":void 0,"data-highlighted":o.value?"":void 0,onPointermove:l,onPointerleave:s,onFocus:u[0]||(u[0]=async c=>{await e.nextTick(),!(c.defaultPrevented||i.disabled)&&(o.value=!0)}),onBlur:u[1]||(u[1]=async c=>{await e.nextTick(),!c.defaultPrevented&&(o.value=!1)})}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),Or=e.defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=E(),s=Dt(),i=$r(),u=e.ref(!1);async function c(){const d=l.value;if(!r.disabled&&d){const f=new CustomEvent(Vu,{bubbles:!0,cancelable:!0});a("select",f),await e.nextTick(),f.defaultPrevented?u.value=!1:s.onClose()}}return(d,f)=>(e.openBlock(),e.createBlock(vo,e.mergeProps(r,{ref:e.unref(o),onClick:c,onPointerdown:f[0]||(f[0]=()=>{u.value=!0}),onPointerup:f[1]||(f[1]=async m=>{var p;await e.nextTick(),!m.defaultPrevented&&(u.value||(p=m.currentTarget)==null||p.click())}),onKeydown:f[2]||(f[2]=async m=>{const p=e.unref(i).searchRef.value!=="";d.disabled||p&&m.key===" "||e.unref(yr).includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},16))}}),[Wc,go]=U(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext"),Gc=e.defineComponent({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=Wc({checked:e.ref(!1)});return(r,a)=>(e.openBlock(),e.createBlock(e.unref(me),{present:r.forceMount||e.unref(mn)(e.unref(n).checked.value)||e.unref(n).checked.value===!0},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{as:r.as,"as-child":r.asChild,"data-state":e.unref(wr)(e.unref(n).checked.value)},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),qc=e.defineComponent({__name:"MenuCheckboxItem",props:{checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(t,{emit:n}){const r=t,a=n,o=X(r,"checked",a);return go({checked:o}),(l,s)=>(e.openBlock(),e.createBlock(Or,e.mergeProps({role:"menuitemcheckbox"},r,{"aria-checked":e.unref(mn)(e.unref(o))?"mixed":e.unref(o),"data-state":e.unref(wr)(e.unref(o)),onSelect:s[0]||(s[0]=async i=>{a("select",i),e.unref(mn)(e.unref(o))?o.value=!0:o.value=!e.unref(o)})}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{checked:e.unref(o)})]),_:3},16,["aria-checked","data-state"]))}}),Yc=e.defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=z(r,a),l=Je(),{forwardRef:s,currentElement:i}=E();return $t(i),(u,c)=>(e.openBlock(),e.createBlock(Tr,e.mergeProps(e.unref(o),{ref:e.unref(s),"trap-focus":e.unref(l).open.value,"disable-outside-pointer-events":e.unref(l).open.value,"disable-outside-scroll":!0,onDismiss:c[0]||(c[0]=d=>e.unref(l).onOpenChange(!1)),onFocusOutside:c[1]||(c[1]=e.withModifiers(d=>a("focusOutside",d),["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),Xc=e.defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n),a=Je();return(o,l)=>(e.openBlock(),e.createBlock(Tr,e.mergeProps(e.unref(r),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:l[0]||(l[0]=s=>e.unref(a).onOpenChange(!1))}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Zc=e.defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n),a=Je(),o=Dt();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(me),{present:l.forceMount||e.unref(a).open.value},{default:e.withCtx(()=>[e.unref(o).modal.value?(e.openBlock(),e.createBlock(Yc,e.normalizeProps(e.mergeProps({key:0},{...l.$attrs,...e.unref(r)})),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Xc,e.normalizeProps(e.mergeProps({key:1},{...l.$attrs,...e.unref(r)})),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),ho=e.defineComponent({__name:"MenuGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({role:"group"},n),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Qc=e.defineComponent({__name:"MenuLabel",props:{asChild:{type:Boolean},as:{default:"div"}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Jc=e.defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pt),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[Nc,ed]=U("MenuRadioGroup"),td=e.defineComponent({__name:"MenuRadioGroup",props:{modelValue:{default:""},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=X(r,"modelValue",n);return ed({modelValue:a,onValueChange:o=>{a.value=o}}),(o,l)=>(e.openBlock(),e.createBlock(ho,e.normalizeProps(e.guardReactiveProps(r)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{modelValue:e.unref(a)})]),_:3},16))}}),nd=e.defineComponent({__name:"MenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,{value:o}=e.toRefs(r),l=Nc(),s=e.computed(()=>l.modelValue.value===(o==null?void 0:o.value));return go({checked:s}),(i,u)=>(e.openBlock(),e.createBlock(Or,e.mergeProps({role:"menuitemradio"},r,{"aria-checked":s.value,"data-state":e.unref(wr)(s.value),onSelect:u[0]||(u[0]=async c=>{a("select",c),e.unref(l).onValueChange(e.unref(o))})}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["aria-checked","data-state"]))}}),rd=e.defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{role:"separator","aria-orientation":"horizontal"}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[yo,ad]=U("MenuSub"),od=e.defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=X(r,"open",n,{defaultValue:!1,passive:r.open===void 0}),o=Je(),l=e.ref(),s=e.ref();return e.watchEffect(i=>{(o==null?void 0:o.open.value)===!1&&(a.value=!1),i(()=>a.value=!1)}),fo({open:a,onOpenChange:i=>{a.value=i},content:s,onContentChange:i=>{s.value=i}}),ad({triggerId:"",contentId:"",trigger:l,onTriggerChange:i=>{l.value=i}}),(i,u)=>(e.openBlock(),e.createBlock(e.unref(vt),null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3}))}}),ld=e.defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n),a=Je(),o=Dt(),l=yo(),{forwardRef:s,currentElement:i}=E();return l.contentId||(l.contentId=te(void 0,"radix-vue-menu-sub-content")),(u,c)=>(e.openBlock(),e.createBlock(e.unref(me),{present:u.forceMount||e.unref(a).open.value},{default:e.withCtx(()=>[e.createVNode(Tr,e.mergeProps(e.unref(r),{id:e.unref(l).contentId,ref:e.unref(s),"aria-labelledby":e.unref(l).triggerId,align:"start",side:e.unref(o).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:c[0]||(c[0]=e.withModifiers(d=>{var f;e.unref(o).isUsingKeyboardRef.value&&((f=e.unref(i))==null||f.focus())},["prevent"])),onCloseAutoFocus:c[1]||(c[1]=e.withModifiers(()=>{},["prevent"])),onFocusOutside:c[2]||(c[2]=d=>{d.defaultPrevented||d.target!==e.unref(l).trigger.value&&e.unref(a).onOpenChange(!1)}),onEscapeKeyDown:c[3]||(c[3]=d=>{e.unref(o).onClose(),d.preventDefault()}),onKeydown:c[4]||(c[4]=d=>{var f,m;const p=(f=d.currentTarget)==null?void 0:f.contains(d.target),v=e.unref(Fu)[e.unref(o).dir.value].includes(d.key);p&&v&&(e.unref(a).onOpenChange(!1),(m=e.unref(l).trigger.value)==null||m.focus(),d.preventDefault())})}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),sd=e.defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=Je(),a=Dt(),o=yo(),l=$r(),s=e.ref(null);o.triggerId||(o.triggerId=te(void 0,"radix-vue-menu-sub-trigger"));function i(){s.value&&window.clearTimeout(s.value),s.value=null}e.onUnmounted(()=>{i()});function u(f){!Tt(f)||l.onItemEnter(f)||!n.disabled&&!r.open.value&&!s.value&&(l.onPointerGraceIntentChange(null),s.value=window.setTimeout(()=>{r.onOpenChange(!0),i()},100))}async function c(f){var m,p;if(!Tt(f))return;i();const v=(m=r.content.value)==null?void 0:m.getBoundingClientRect();if(v!=null&&v.width){const g=(p=r.content.value)==null?void 0:p.dataset.side,h=g==="right",y=h?-5:5,b=v[h?"left":"right"],w=v[h?"right":"left"];l.onPointerGraceIntentChange({area:[{x:f.clientX+y,y:f.clientY},{x:b,y:v.top},{x:w,y:v.top},{x:w,y:v.bottom},{x:b,y:v.bottom}],side:g}),window.clearTimeout(l.pointerGraceTimerRef.value),l.pointerGraceTimerRef.value=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(f))return;l.onPointerGraceIntentChange(null)}}async function d(f){var m;const p=l.searchRef.value!=="";n.disabled||p&&f.key===" "||Ru[a.dir.value].includes(f.key)&&(r.onOpenChange(!0),await e.nextTick(),(m=r.content.value)==null||m.focus(),f.preventDefault())}return(f,m)=>(e.openBlock(),e.createBlock(co,{"as-child":""},{default:e.withCtx(()=>[e.createVNode(vo,e.mergeProps(n,{id:e.unref(o).triggerId,ref:p=>{var v;(v=e.unref(o))==null||v.onTriggerChange(p==null?void 0:p.$el)},"aria-haspopup":"menu","aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(o).contentId,"data-state":e.unref(br)(e.unref(r).open.value),onClick:m[0]||(m[0]=async p=>{n.disabled||p.defaultPrevented||(p.currentTarget.focus(),e.unref(r).open.value||e.unref(r).onOpenChange(!0))}),onPointermove:u,onPointerleave:c,onKeydown:d}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[bo,id]=U("DropdownMenuRoot"),ud=e.defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n;E();const o=X(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),l=e.ref(),{modal:s,dir:i}=e.toRefs(r),u=Le(i);return id({open:o,onOpenChange:c=>{o.value=c},onOpenToggle:()=>{o.value=!o.value},triggerId:"",triggerElement:l,contentId:"",modal:s,dir:u}),(c,d)=>(e.openBlock(),e.createBlock(e.unref(Vc),{open:e.unref(o),"onUpdate:open":d[0]||(d[0]=f=>e.isRef(o)?o.value=f:null),dir:e.unref(u),modal:e.unref(s)},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{open:e.unref(o)})]),_:3},8,["open","dir","modal"]))}}),cd=e.defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=bo(),{forwardRef:a,currentElement:o}=E();return e.onMounted(()=>{r.triggerElement=o}),r.triggerId||(r.triggerId=te(void 0,"radix-vue-dropdown-menu-trigger")),(l,s)=>(e.openBlock(),e.createBlock(e.unref(co),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{id:e.unref(r).triggerId,ref:e.unref(a),type:l.as==="button"?"button":void 0,"as-child":n.asChild,as:l.as,"aria-haspopup":"menu","aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(r).open.value?e.unref(r).contentId:void 0,"data-disabled":l.disabled?"":void 0,disabled:l.disabled,"data-state":e.unref(r).open.value?"open":"closed",onClick:s[0]||(s[0]=async i=>{var u;!l.disabled&&i.button===0&&i.ctrlKey===!1&&((u=e.unref(r))==null||u.onOpenToggle(),await e.nextTick(),e.unref(r).open.value&&i.preventDefault())}),onKeydown:s[1]||(s[1]=e.withKeys(i=>{l.disabled||(["Enter"," "].includes(i.key)&&e.unref(r).onOpenToggle(),i.key==="ArrowDown"&&e.unref(r).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())},["enter","space","arrow-down"]))},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),wo=e.defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Jc),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),dd=e.defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n);E();const a=bo(),o=e.ref(!1);function l(s){s.defaultPrevented||(o.value||setTimeout(()=>{var i;(i=a.triggerElement.value)==null||i.focus()},0),o.value=!1,s.preventDefault())}return a.contentId||(a.contentId=te(void 0,"radix-vue-dropdown-menu-content")),(s,i)=>{var u;return e.openBlock(),e.createBlock(e.unref(Zc),e.mergeProps(e.unref(r),{id:e.unref(a).contentId,"aria-labelledby":(u=e.unref(a))==null?void 0:u.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:l,onInteractOutside:i[0]||(i[0]=c=>{var d;if(c.defaultPrevented)return;const f=c.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0,p=f.button===2||m;(!e.unref(a).modal.value||p)&&(o.value=!0),(d=e.unref(a).triggerElement.value)!=null&&d.contains(c.target)&&c.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),fd=e.defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=je(n);return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(Or),e.normalizeProps(e.guardReactiveProps({...r,...e.unref(a)})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),pd=e.defineComponent({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(ho),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),md=e.defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(rd),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),vd=e.defineComponent({__name:"DropdownMenuCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(t,{emit:n}){const r=t,a=je(n);return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(qc),e.normalizeProps(e.guardReactiveProps({...r,...e.unref(a)})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),xo=e.defineComponent({__name:"DropdownMenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Gc),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),gd=e.defineComponent({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Qc),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),hd=e.defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=je(n);return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(td),e.normalizeProps(e.guardReactiveProps({...r,...e.unref(a)})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),yd=e.defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=z(t,n);return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(nd),e.normalizeProps(e.guardReactiveProps(e.unref(r))),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),bd=e.defineComponent({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=X(r,"open",n,{passive:r.open===void 0,defaultValue:r.defaultOpen??!1});return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(od),{open:e.unref(a),"onUpdate:open":l[0]||(l[0]=s=>e.isRef(a)?a.value=s:null)},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{open:e.unref(a)})]),_:3},8,["open"]))}}),wd=e.defineComponent({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n);return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(ld),e.mergeProps(e.unref(r),{style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),xd=e.defineComponent({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(sd),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Cd=e.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{onMousedown:a[0]||(a[0]=o=>{!o.defaultPrevented&&o.detail>1&&o.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[yt,_d]=U("PopoverRoot"),Bd=e.defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n,{modal:o}=e.toRefs(r),l=X(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),s=e.ref(),i=e.ref(!1);return _d({contentId:"",modal:o,open:l,onOpenChange:u=>{l.value=u},onOpenToggle:()=>{l.value=!l.value},triggerElement:s,hasCustomAnchor:i}),(u,c)=>(e.openBlock(),e.createBlock(e.unref(vt),null,{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default",{open:e.unref(l)})]),_:3}))}}),kd=e.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=yt(),{forwardRef:a,currentElement:o}=E();return e.onMounted(()=>{r.triggerElement.value=o.value}),(l,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r).hasCustomAnchor.value?e.unref(V):e.unref(Ot)),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{ref:e.unref(a),type:l.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(r).contentId,"data-state":e.unref(r).open.value?"open":"closed",as:l.as,"as-child":n.asChild,onClick:e.unref(r).onOpenToggle},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),Sd=e.defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pt),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Co=e.defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=oe(r),{forwardRef:l}=E(),s=yt();return sr(),(i,u)=>(e.openBlock(),e.createBlock(e.unref(pn),{"as-child":"",loop:"",trapped:i.trapFocus,onMountAutoFocus:u[5]||(u[5]=c=>a("openAutoFocus",c)),onUnmountAutoFocus:u[6]||(u[6]=c=>a("closeAutoFocus",c))},{default:e.withCtx(()=>[e.createVNode(e.unref(mt),{"as-child":"","disable-outside-pointer-events":i.disableOutsidePointerEvents,onPointerDownOutside:u[0]||(u[0]=c=>a("pointerDownOutside",c)),onInteractOutside:u[1]||(u[1]=c=>a("interactOutside",c)),onEscapeKeyDown:u[2]||(u[2]=c=>a("escapeKeyDown",c)),onFocusOutside:u[3]||(u[3]=c=>a("focusOutside",c)),onDismiss:u[4]||(u[4]=c=>e.unref(s).onOpenChange(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(gt),e.mergeProps(e.unref(o),{id:e.unref(s).contentId,ref:e.unref(l),"data-state":e.unref(s).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Pd=e.defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=yt(),l=e.ref(!1);Et(!0);const s=z(r,a),{forwardRef:i,currentElement:u}=E();return $t(u),(c,d)=>(e.openBlock(),e.createBlock(Co,e.mergeProps(e.unref(s),{ref:e.unref(i),"trap-focus":e.unref(o).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:d[0]||(d[0]=e.withModifiers(f=>{var m;a("closeAutoFocus",f),l.value||(m=e.unref(o).triggerElement.value)==null||m.focus()},["prevent"])),onPointerDownOutside:d[1]||(d[1]=f=>{a("pointerDownOutside",f);const m=f.detail.originalEvent,p=m.button===0&&m.ctrlKey===!0,v=m.button===2||p;l.value=v}),onFocusOutside:d[2]||(d[2]=e.withModifiers(()=>{},["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus"]))}}),Ed=e.defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=yt(),l=e.ref(!1),s=e.ref(!1),i=z(r,a);return(u,c)=>(e.openBlock(),e.createBlock(Co,e.mergeProps(e.unref(i),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:c[0]||(c[0]=d=>{var f;a("closeAutoFocus",d),d.defaultPrevented||(l.value||(f=e.unref(o).triggerElement.value)==null||f.focus(),d.preventDefault()),l.value=!1,s.value=!1}),onInteractOutside:c[1]||(c[1]=async d=>{var f;a("interactOutside",d),d.defaultPrevented||(l.value=!0,d.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const m=d.target;(f=e.unref(o).triggerElement.value)!=null&&f.contains(m)&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&s.value&&d.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16))}}),$d=e.defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=yt(),l=z(r,a),{forwardRef:s}=E();return o.contentId||(o.contentId=te(void 0,"radix-vue-popover-content")),(i,u)=>(e.openBlock(),e.createBlock(e.unref(me),{present:i.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[e.unref(o).modal.value?(e.openBlock(),e.createBlock(Pd,e.mergeProps({key:0},e.unref(l),{ref:e.unref(s)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Ed,e.mergeProps({key:1},e.unref(l),{ref:e.unref(s)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Td=e.defineComponent({__name:"PopoverAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;E();const r=yt();return e.onBeforeMount(()=>{r.hasCustomAnchor.value=!0}),e.onUnmounted(()=>{r.hasCustomAnchor.value=!1}),(a,o)=>(e.openBlock(),e.createBlock(e.unref(Ot),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),Vt=100,[Od,Ad]=U("ProgressRoot"),Ar=t=>typeof t=="number";function Dd(t,n){return ut(t)||Ar(t)&&!Number.isNaN(t)&&t<=n&&t>=0?t:(console.error(`Invalid prop \`value\` of value \`${t}\` supplied to \`ProgressRoot\`. The \`value\` prop must be: +For more information, see https://www.radix-vue.com/components/${r}`,i=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${n}.`;e.onMounted(()=>{var u;document.getElementById(a)||console.warn(s);const c=(u=l.value)==null?void 0:u.getAttribute("aria-describedby");o&&c&&(document.getElementById(o)||console.warn(i))})}const mo=e.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=Be(),{forwardRef:l,currentElement:s}=E();return o.titleId||(o.titleId=ee(void 0,"radix-vue-dialog-title")),o.descriptionId||(o.descriptionId=ee(void 0,"radix-vue-dialog-description")),e.onMounted(()=>{o.contentElement=s,re()!==document.body&&(o.triggerElement.value=re())}),process.env.NODE_ENV!=="production"&&Qu({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:o.titleId,descriptionId:o.descriptionId,contentElement:s}),(i,u)=>(e.openBlock(),e.createBlock(e.unref(fn),{"as-child":"",loop:"",trapped:r.trapFocus,onMountAutoFocus:u[5]||(u[5]=c=>a("openAutoFocus",c)),onUnmountAutoFocus:u[6]||(u[6]=c=>a("closeAutoFocus",c))},{default:e.withCtx(()=>[e.createVNode(e.unref(dt),e.mergeProps({id:e.unref(o).contentId,ref:e.unref(l),as:i.as,"as-child":i.asChild,"disable-outside-pointer-events":i.disableOutsidePointerEvents,role:"dialog","aria-describedby":e.unref(o).descriptionId,"aria-labelledby":e.unref(o).titleId,"data-state":e.unref(_r)(e.unref(o).open.value)},i.$attrs,{onDismiss:u[0]||(u[0]=c=>e.unref(o).onOpenChange(!1)),onEscapeKeyDown:u[1]||(u[1]=c=>a("escapeKeyDown",c)),onFocusOutside:u[2]||(u[2]=c=>a("focusOutside",c)),onInteractOutside:u[3]||(u[3]=c=>a("interactOutside",c)),onPointerDownOutside:u[4]||(u[4]=c=>a("pointerDownOutside",c))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),Zu=e.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=Be(),l=Fe(a),{forwardRef:s,currentElement:i}=E();return St(i),(u,c)=>(e.openBlock(),e.createBlock(mo,e.mergeProps({...r,...e.unref(l)},{ref:e.unref(s),"trap-focus":e.unref(o).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:c[0]||(c[0]=d=>{var f;d.defaultPrevented||(d.preventDefault(),(f=e.unref(o).triggerElement.value)==null||f.focus())}),onPointerDownOutside:c[1]||(c[1]=d=>{const f=d.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0;(f.button===2||m)&&d.preventDefault()}),onFocusOutside:c[2]||(c[2]=d=>{d.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["trap-focus"]))}}),Ju=e.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=Fe(n);E();const o=Be(),l=e.ref(!1),s=e.ref(!1);return(i,u)=>(e.openBlock(),e.createBlock(mo,e.mergeProps({...r,...e.unref(a)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{var d;c.defaultPrevented||(l.value||(d=e.unref(o).triggerElement.value)==null||d.focus(),c.preventDefault()),l.value=!1,s.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{var d;c.defaultPrevented||(l.value=!0,c.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const f=c.target;(d=e.unref(o).triggerElement.value)!=null&&d.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&s.value&&c.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))}}),mn=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=Be(),l=Fe(a),{forwardRef:s}=E();return(i,u)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:i.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[e.unref(o).modal.value?(e.openBlock(),e.createBlock(Zu,e.mergeProps({key:0,ref:e.unref(s)},{...r,...e.unref(l),...i.$attrs}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Ju,e.mergeProps({key:1,ref:e.unref(s)},{...r,...e.unref(l),...i.$attrs}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Nu=e.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(t){const n=Be();return kt(!0),E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),{as:r.as,"as-child":r.asChild,"data-state":e.unref(n).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),vn=e.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=Be(),{forwardRef:r}=E();return(a,o)=>{var l;return(l=e.unref(n))!=null&&l.modal.value?(e.openBlock(),e.createBlock(e.unref(pe),{key:0,present:a.forceMount||e.unref(n).open.value},{default:e.withCtx(()=>[e.createVNode(Nu,e.mergeProps(a.$attrs,{ref:e.unref(r),as:a.as,"as-child":a.asChild}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):e.createCommentVNode("",!0)}}}),Ge=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;E();const r=Be();return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{type:a.as==="button"?"button":void 0,onClick:o[0]||(o[0]=l=>e.unref(r).onOpenChange(!1))}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["type"]))}}),Sr=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const n=t,r=Be();return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).titleId}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),Pr=e.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(t){const n=t;E();const r=Be();return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).descriptionId}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),ec=e.defineComponent({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const r=z(t,n);return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(hr),e.mergeProps(e.unref(r),{modal:!0}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),tc=e.defineComponent({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(gr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),nc=e.defineComponent({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ct),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[rc,ac]=H("AlertDialogContent"),oc=e.defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=Fe(n);E();const o=e.ref();return ac({onCancelElementChange:l=>{o.value=l}}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(mn),e.mergeProps({...r,...e.unref(a)},{role:"alertdialog",onPointerDownOutside:s[0]||(s[0]=e.withModifiers(()=>{},["prevent"])),onInteractOutside:s[1]||(s[1]=e.withModifiers(()=>{},["prevent"])),onOpenAutoFocus:s[2]||(s[2]=()=>{e.nextTick(()=>{var i;(i=o.value)==null||i.focus({preventScroll:!0})})})}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),lc=e.defineComponent({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(vn),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),sc=e.defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=rc(),{forwardRef:a,currentElement:o}=E();return e.onMounted(()=>{r.onCancelElementChange(o.value)}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(Ge),e.mergeProps(n,{ref:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),ic=e.defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Sr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),uc=e.defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Pr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),cc=e.defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Ge),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[vo,dc]=H("PopperRoot"),ft=e.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(t){const n=e.ref();return dc({anchor:n,onAnchorChange:r=>n.value=r}),(r,a)=>e.renderSlot(r.$slots,"default")}}),Et=e.defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,{forwardRef:r,currentElement:a}=E(),o=vo();return e.watchEffect(()=>{o.onAnchorChange(n.element??a.value)}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(r),as:l.as,"as-child":l.asChild},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["as","as-child"]))}});function fc(t){return t!==null}function pc(t){return{name:"transformOrigin",options:t,fn(n){var r,a,o;const{placement:l,rects:s,middlewareData:i}=n,u=((r=i.arrow)==null?void 0:r.centerOffset)!==0,c=u?0:t.arrowWidth,d=u?0:t.arrowHeight,[f,m]=Er(l),p={start:"0%",center:"50%",end:"100%"}[m],v=(((a=i.arrow)==null?void 0:a.x)??0)+c/2,h=(((o=i.arrow)==null?void 0:o.y)??0)+d/2;let g="",y="";return f==="bottom"?(g=u?p:`${v}px`,y=`${-d}px`):f==="top"?(g=u?p:`${v}px`,y=`${s.floating.height+d}px`):f==="right"?(g=`${-d}px`,y=u?p:`${h}px`):f==="left"&&(g=`${s.floating.width+d}px`,y=u?p:`${h}px`),{data:{x:g,y}}}}}function Er(t){const[n,r="center"]=t.split("-");return[n,r]}const ho={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[k0,mc]=H("PopperContent"),pt=e.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:e.mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...ho}),emits:["placed"],setup(t,{emit:n}){const r=t,a=n,o=vo(),{forwardRef:l,currentElement:s}=E(),i=e.ref(),u=e.ref(),{width:c,height:d}=ao(u),f=e.computed(()=>r.side+(r.align!=="center"?`-${r.align}`:"")),m=e.computed(()=>typeof r.collisionPadding=="number"?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),p=e.computed(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),v=e.computed(()=>({padding:m.value,boundary:p.value.filter(fc),altBoundary:p.value.length>0})),h=$i(()=>[gi({mainAxis:r.sideOffset+d.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Wa({...v.value}),r.avoidCollisions&&yi({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky==="partial"?Ci():void 0,...v.value}),!r.prioritizePosition&&r.avoidCollisions&&Wa({...v.value}),bi({...v.value,apply:({elements:k,rects:O,availableWidth:$,availableHeight:R})=>{const{width:I,height:L}=O.reference,U=k.floating.style;U.setProperty("--radix-popper-available-width",`${$}px`),U.setProperty("--radix-popper-available-height",`${R}px`),U.setProperty("--radix-popper-anchor-width",`${I}px`),U.setProperty("--radix-popper-anchor-height",`${L}px`)}}),u.value&&ki({element:u.value,padding:r.arrowPadding}),pc({arrowWidth:c.value,arrowHeight:d.value}),r.hideWhenDetached&&wi({strategy:"referenceHidden",...v.value})]),{floatingStyles:g,placement:y,isPositioned:b,middlewareData:w}=Si(o.anchor,i,{strategy:"fixed",placement:f,whileElementsMounted:(...k)=>hi(...k,{animationFrame:r.updatePositionStrategy==="always"}),middleware:h}),_=e.computed(()=>Er(y.value)[0]),x=e.computed(()=>Er(y.value)[1]);e.watchPostEffect(()=>{b.value&&a("placed")});const S=e.computed(()=>{var k;return((k=w.value.arrow)==null?void 0:k.centerOffset)!==0}),B=e.ref("");e.watchEffect(()=>{s.value&&(B.value=window.getComputedStyle(s.value).zIndex)});const P=e.computed(()=>{var k;return((k=w.value.arrow)==null?void 0:k.x)??0}),T=e.computed(()=>{var k;return((k=w.value.arrow)==null?void 0:k.y)??0});return mc({placedSide:_,onArrowChange:k=>u.value=k,arrowX:P,arrowY:T,shouldHideArrow:S}),(k,O)=>{var $,R,I;return e.openBlock(),e.createElementBlock("div",{ref_key:"floatingRef",ref:i,"data-radix-popper-content-wrapper":"",style:e.normalizeStyle({...e.unref(g),transform:e.unref(b)?e.unref(g).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B.value,"--radix-popper-transform-origin":[($=e.unref(w).transformOrigin)==null?void 0:$.x,(R=e.unref(w).transformOrigin)==null?void 0:R.y].join(" "),...((I=e.unref(w).hide)==null?void 0:I.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(l)},k.$attrs,{"as-child":r.asChild,as:k.as,"data-side":_.value,"data-align":x.value,style:{animation:e.unref(b)?void 0:"none"}}),{default:e.withCtx(()=>[e.renderSlot(k.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),$t=e.defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return E(),(n,r)=>(e.openBlock(),e.createBlock(e.unref(V),{as:n.as,"as-child":n.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child"]))}}),vc=e.defineComponent({__name:"VisuallyHiddenInput",props:{name:{},value:{},required:{type:Boolean},disabled:{type:Boolean}},setup(t){const n=t,r=e.computed(()=>typeof n.value=="string"||typeof n.value=="number"||typeof n.value=="boolean"?[{name:n.name,value:n.value}]:typeof n.value=="object"&&Array.isArray(n.value)?n.value.flatMap((a,o)=>typeof a=="object"?Object.entries(a).map(([l,s])=>({name:`[${o}][${n.name}][${l}]`,value:s})):{name:`[${n.name}][${o}]`,value:a}):n.value!==null&&typeof n.value=="object"&&!Array.isArray(n.value)?Object.entries(n.value).map(([a,o])=>({name:`[${n.name}][${a}]`,value:o})):[]);return(a,o)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,l=>(e.openBlock(),e.createBlock($t,{key:l.name,as:"input",type:"hidden",hidden:"",readonly:"",name:l.name,value:l.value,required:a.required,disabled:a.disabled},null,8,["name","value","required","disabled"]))),128))}}),hc="data-radix-vue-collection-item",[$r,gc]=H("CollectionProvider");function Tr(t=hc){const n=e.ref(new Map),r=e.ref(),a=gc({collectionRef:r,itemMap:n,attrName:t}),{getItems:o}=Ar(a),l=e.computed(()=>Array.from(a.itemMap.value.values())),s=e.computed(()=>a.itemMap.value.size);return{getItems:o,reactiveItems:l,itemMapSize:s}}const Or=e.defineComponent({name:"CollectionSlot",setup(t,{slots:n}){const r=$r(),{primitiveElement:a,currentElement:o}=oo();return e.watch(o,()=>{r.collectionRef.value=o.value}),()=>e.h(mr,{ref:a},n)}}),hn=e.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(t,{slots:n,attrs:r}){const a=$r(),{primitiveElement:o,currentElement:l}=oo();return e.watchEffect(s=>{if(l.value){const i=e.markRaw(l.value);a.itemMap.value.set(i,{ref:l.value,value:t.value}),s(()=>a.itemMap.value.delete(i))}}),()=>e.h(mr,{...r,[a.attrName]:"",ref:o},n)}});function Ar(t){const n=t??$r();return{getItems:()=>{const r=n.collectionRef.value;if(!r)return[];const a=Array.from(r.querySelectorAll(`[${n.attrName}]`));return Array.from(n.itemMap.value.values()).sort((o,l)=>a.indexOf(o.ref)-a.indexOf(l.ref))}}}const[mt,yc]=H("ComboboxRoot"),bc=e.defineComponent({__name:"ComboboxRoot",props:{modelValue:{},defaultValue:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},searchTerm:{},selectedValue:{},multiple:{type:Boolean},disabled:{type:Boolean},name:{},dir:{},filterFunction:{},displayValue:{},resetSearchTermOnBlur:{type:Boolean,default:!0},resetSearchTermOnSelect:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["update:modelValue","update:open","update:searchTerm","update:selectedValue"],setup(t,{emit:n}){const r=t,a=n,{multiple:o,disabled:l,dir:s}=e.toRefs(r),i=Re(s),u=Y(r,"searchTerm",a,{defaultValue:"",passive:r.searchTerm===void 0}),c=Y(r,"modelValue",a,{defaultValue:r.defaultValue??o.value?[]:void 0,passive:r.modelValue===void 0,deep:!0}),d=Y(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),f=Y(r,"selectedValue",a,{defaultValue:void 0,passive:r.selectedValue===void 0});async function m(D){var F,K;d.value=D,await e.nextTick(),D?(c.value&&(Array.isArray(c.value)&&o.value?f.value=(F=w().find(se=>{var de,ie;return((ie=(de=se.ref)==null?void 0:de.dataset)==null?void 0:ie.state)==="checked"}))==null?void 0:F.value:f.value=c.value),await e.nextTick(),(K=h.value)==null||K.focus(),R()):(v.value=!1,r.resetSearchTermOnBlur&&P("blur"))}function p(D){if(Array.isArray(c.value)&&o.value){const F=c.value.findIndex(se=>We(se,D)),K=[...c.value];F===-1?K.push(D):K.splice(F,1),c.value=K}else c.value=D,m(!1)}const v=e.ref(!1),h=e.ref(),g=e.ref(),{forwardRef:y,currentElement:b}=E(),{getItems:w,reactiveItems:_,itemMapSize:x}=Tr("data-radix-vue-combobox-item"),S=e.ref([]);e.watch(()=>x.value,()=>{S.value=w().map(D=>D.value)},{immediate:!0,flush:"post"});const B=e.computed(()=>{if(v.value){if(r.filterFunction)return r.filterFunction(S.value,u.value);const D=S.value.filter(F=>typeof F=="string");if(D.length)return D.filter(F=>{var K;return F.toLowerCase().includes((K=u.value)==null?void 0:K.toLowerCase())})}return S.value});function P(D){const F=D==="blur"||D==="select"&&r.resetSearchTermOnSelect;!o.value&&c.value&&!Array.isArray(c.value)?r.displayValue?u.value=r.displayValue(c.value):typeof c.value!="object"?u.value=c.value.toString():F&&(u.value=""):F&&(u.value="")}const T=e.computed(()=>B.value.findIndex(D=>We(D,f.value))),k=e.computed(()=>{var D;return(D=_.value.find(F=>We(F.value,f.value)))==null?void 0:D.ref}),O=e.computed(()=>JSON.stringify(c.value));e.watch(O,async()=>{await e.nextTick(),await e.nextTick(),P("select")},{immediate:!r.searchTerm}),e.watch(()=>[B.value.length,u.value.length],async([D,F],[K,se])=>{await e.nextTick(),await e.nextTick(),D&&(se>F||T.value===-1)&&(f.value=B.value[0])});const $=on(b);function R(){var D;k.value instanceof Element&&((D=k.value)==null||D.scrollIntoView({block:"nearest"}))}function I(){k.value instanceof Element&&k.value.focus&&k.value.focus()}const L=e.ref(!1);function U(){L.value=!0}function Q(){requestAnimationFrame(()=>{L.value=!1})}async function q(D){var F;B.value.length&&f.value&&k.value instanceof Element&&(D.preventDefault(),D.stopPropagation(),L.value||(F=k.value)==null||F.click())}return yc({searchTerm:u,modelValue:c,onValueChange:p,isUserInputted:v,multiple:o,disabled:l,open:d,onOpenChange:m,filteredOptions:B,contentId:"",inputElement:h,selectedElement:k,onInputElementChange:D=>h.value=D,onInputNavigation:async D=>{const F=T.value;F===0&&D==="up"||F===B.value.length-1&&D==="down"||(F===-1&&B.value.length||D==="home"?f.value=B.value[0]:D==="end"?f.value=B.value[B.value.length-1]:f.value=B.value[D==="up"?F-1:F+1],await e.nextTick(),R(),I(),e.nextTick(()=>{var K;return(K=h.value)==null?void 0:K.focus({preventScroll:!0})}))},onInputEnter:q,onCompositionEnd:Q,onCompositionStart:U,selectedValue:f,onSelectedValueChange:D=>f.value=D,parentElement:b,contentElement:g,onContentElementChange:D=>g.value=D}),(D,F)=>(e.openBlock(),e.createBlock(e.unref(ft),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(y),style:{pointerEvents:e.unref(d)?"auto":void 0},as:D.as,"as-child":D.asChild,dir:e.unref(i)},D.$attrs),{default:e.withCtx(()=>[e.renderSlot(D.$slots,"default",{open:e.unref(d),modelValue:e.unref(c)}),e.unref($)&&r.name?(e.openBlock(),e.createBlock(e.unref(vc),{key:0,name:r.name,value:e.unref(c)},null,8,["name","value"])):e.createCommentVNode("",!0)]),_:3},16,["style","as","as-child","dir"])]),_:3}))}}),wc=e.defineComponent({__name:"ComboboxInput",props:{type:{default:"text"},disabled:{type:Boolean},autoFocus:{type:Boolean},asChild:{type:Boolean},as:{default:"input"}},setup(t){const n=t,r=mt(),{forwardRef:a,currentElement:o}=E();e.onMounted(()=>{const d=o.value.nodeName==="INPUT"?o.value:o.value.querySelector("input");d&&(r.onInputElementChange(d),setTimeout(()=>{n.autoFocus&&(d==null||d.focus())},1))});const l=e.computed(()=>n.disabled||r.disabled.value||!1),s=e.ref();e.watchSyncEffect(()=>{var d;return s.value=(d=r.selectedElement.value)==null?void 0:d.id});function i(d){r.open.value?r.onInputNavigation(d.key==="ArrowUp"?"up":"down"):r.onOpenChange(!0)}function u(d){r.open.value&&r.onInputNavigation(d.key==="Home"?"home":"end")}function c(d){var f;r.searchTerm.value=(f=d.target)==null?void 0:f.value,r.open.value||r.onOpenChange(!0),r.isUserInputted.value=!0}return(d,f)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(a),as:d.as,"as-child":d.asChild,type:d.type,disabled:l.value,value:e.unref(r).searchTerm.value,"aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(r).contentId,"aria-disabled":l.value??void 0,"aria-activedescendant":s.value,"aria-autocomplete":"list",role:"combobox",autocomplete:"false",onInput:c,onKeydown:[e.withKeys(e.withModifiers(i,["prevent"]),["down","up"]),e.withKeys(e.unref(r).onInputEnter,["enter"]),e.withKeys(e.withModifiers(u,["prevent"]),["home","end"])],onCompositionstart:e.unref(r).onCompositionStart,onCompositionend:e.unref(r).onCompositionEnd},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["as","as-child","type","disabled","value","aria-expanded","aria-controls","aria-disabled","aria-activedescendant","onKeydown","onCompositionstart","onCompositionend"]))}}),[go,xc]=H("ComboboxGroup"),Cc=e.defineComponent({__name:"ComboboxGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,{currentRef:r,currentElement:a}=E(),o=ee(void 0,"radix-vue-combobox-group"),l=mt(),s=e.ref(!1);function i(){if(!a.value)return;const u=a.value.querySelectorAll("[data-radix-vue-combobox-item]:not([data-hidden])");s.value=!!u.length}return Ki(a,()=>{e.nextTick(()=>{i()})},{childList:!0}),e.watch(()=>l.searchTerm.value,()=>{e.nextTick(()=>{i()})},{immediate:!0}),xc({id:o}),(u,c)=>e.withDirectives((e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{ref_key:"currentRef",ref:r,role:"group","aria-labelledby":e.unref(o)}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["aria-labelledby"])),[[e.vShow,s.value]])}}),_c=e.defineComponent({__name:"ComboboxLabel",props:{for:{},asChild:{type:Boolean},as:{default:"div"}},setup(t){const n=t;E();const r=go({id:""});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).id}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),[S0,Bc]=H("ComboboxContent"),kc=e.defineComponent({__name:"ComboboxContentImpl",props:{position:{default:"inline"},bodyLock:{type:Boolean},dismissable:{type:Boolean,default:!0},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:n}){const r=t,a=n,{position:o}=e.toRefs(r),l=mt();kt(r.bodyLock);const{forwardRef:s,currentElement:i}=E();St(l.parentElement);const u=e.computed(()=>r.position==="popper"?r:{}),c=ae(u.value);function d(m){l.onSelectedValueChange("")}e.onMounted(()=>{l.onContentElementChange(i.value)});const f={boxSizing:"border-box","--radix-combobox-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-combobox-content-available-width":"var(--radix-popper-available-width)","--radix-combobox-content-available-height":"var(--radix-popper-available-height)","--radix-combobox-trigger-width":"var(--radix-popper-anchor-width)","--radix-combobox-trigger-height":"var(--radix-popper-anchor-height)"};return Bc({position:o}),(m,p)=>(e.openBlock(),e.createBlock(e.unref(Or),null,{default:e.withCtx(()=>[m.dismissable?(e.openBlock(),e.createBlock(e.unref(dt),{key:0,"as-child":"","disable-outside-pointer-events":m.disableOutsidePointerEvents,onDismiss:p[0]||(p[0]=v=>e.unref(l).onOpenChange(!1)),onFocusOutside:p[1]||(p[1]=v=>{var h;(h=e.unref(l).parentElement.value)!=null&&h.contains(v.target)&&v.preventDefault(),a("focusOutside",v)}),onInteractOutside:p[2]||(p[2]=v=>a("interactOutside",v)),onEscapeKeyDown:p[3]||(p[3]=v=>a("escapeKeyDown",v)),onPointerDownOutside:p[4]||(p[4]=v=>{var h;(h=e.unref(l).parentElement.value)!=null&&h.contains(v.target)&&v.preventDefault(),a("pointerDownOutside",v)})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)==="popper"?e.unref(pt):e.unref(V)),e.mergeProps({...m.$attrs,...e.unref(c)},{id:e.unref(l).contentId,ref:e.unref(s),role:"listbox","data-state":e.unref(l).open.value?"open":"closed",style:{display:"flex",flexDirection:"column",outline:"none",...e.unref(o)==="popper"?f:{}},onPointerleave:d}),{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},16,["id","data-state","style"]))]),_:3},8,["disable-outside-pointer-events"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)==="popper"?e.unref(pt):e.unref(V)),e.mergeProps({key:1},{...m.$attrs,...u.value},{id:e.unref(l).contentId,ref:e.unref(s),role:"listbox","data-state":e.unref(l).open.value?"open":"closed",style:{display:"flex",flexDirection:"column",outline:"none",...e.unref(o)==="popper"?f:{}},onPointerleave:d}),{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},16,["id","data-state","style"]))]),_:3}))}}),Sc=e.defineComponent({__name:"ComboboxContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},dismissable:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:n}){const r=z(t,n),{forwardRef:a}=E(),o=mt();return o.contentId||(o.contentId=ee(void 0,"radix-vue-combobox-content")),(l,s)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:l.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[e.createVNode(kc,e.mergeProps({...e.unref(r),...l.$attrs},{ref:e.unref(a)}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),Pc=e.defineComponent({__name:"ComboboxEmpty",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;E();const r=mt(),a=e.computed(()=>r.filteredOptions.value.length===0);return(o,l)=>a.value?(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.mergeProps({key:0},n)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode("No options")])]),_:3},16)):e.createCommentVNode("",!0)}});function Ec(t){const n=an({nonce:e.ref()});return e.computed(()=>{var r;return(t==null?void 0:t.value)||((r=n.nonce)==null?void 0:r.value)})}const[P0,$c]=H("ComboboxItem"),Tc="combobox.select",Oc=e.defineComponent({__name:"ComboboxItem",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,{disabled:o}=e.toRefs(r),l=mt();go({id:"",options:e.ref([])});const{forwardRef:s}=E(),i=e.computed(()=>{var h,g;return l.multiple.value&&Array.isArray(l.modelValue.value)?(h=l.modelValue.value)==null?void 0:h.some(y=>We(y,r.value)):We((g=l.modelValue)==null?void 0:g.value,r.value)}),u=e.computed(()=>We(l.selectedValue.value,r.value)),c=ee(void 0,"radix-vue-combobox-item"),d=ee(void 0,"radix-vue-combobox-option"),f=e.computed(()=>l.isUserInputted.value?l.searchTerm.value===""||!!l.filteredOptions.value.find(h=>We(h,r.value)):!0);async function m(h){a("select",h),!(h!=null&&h.defaultPrevented)&&!o.value&&h&&l.onValueChange(r.value)}function p(h){if(!h)return;const g={originalEvent:h,value:r.value};ar(Tc,m,g)}async function v(h){await e.nextTick(),!h.defaultPrevented&&l.onSelectedValueChange(r.value)}if(r.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Combobox value can be set to an empty string to clear the selection and show the placeholder.");return $c({isSelected:i}),(h,g)=>(e.openBlock(),e.createBlock(e.unref(hn),{value:h.value},{default:e.withCtx(()=>[e.withDirectives(e.createVNode(e.unref(V),{id:e.unref(d),ref:e.unref(s),role:"option",tabindex:"-1","aria-labelledby":e.unref(c),"data-highlighted":u.value?"":void 0,"aria-selected":i.value,"data-state":i.value?"checked":"unchecked","aria-disabled":e.unref(o)||void 0,"data-disabled":e.unref(o)?"":void 0,as:h.as,"as-child":h.asChild,"data-hidden":f.value?void 0:!0,onClick:p,onPointermove:v},{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(h.value),1)])]),_:3},8,["id","aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","as","as-child","data-hidden"]),[[e.vShow,f.value]])]),_:3},8,["value"]))}}),Ac=e.defineComponent({__name:"ComboboxSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{"aria-hidden":"true"}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),yo=e.defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Et),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}});function Dc(){const t=e.ref(!1);return e.onMounted(()=>{st("keydown",()=>{t.value=!0},{capture:!0,passive:!0}),st(["pointerdown","pointermove"],()=>{t.value=!1},{capture:!0,passive:!0})}),t}const Vc=Ya(Dc),[Ye,bo]=H(["MenuRoot","MenuSub"],"MenuContext"),[Tt,Mc]=H("MenuRoot"),Ic=e.defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n,{modal:o,dir:l}=e.toRefs(r),s=Re(l),i=Y(r,"open",a),u=e.ref(),c=Vc();return bo({open:i,onOpenChange:d=>{i.value=d},content:u,onContentChange:d=>{u.value=d}}),Mc({onClose:()=>{i.value=!1},isUsingKeyboardRef:c,dir:s,modal:o}),(d,f)=>(e.openBlock(),e.createBlock(e.unref(ft),null,{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3}))}}),Rc="rovingFocusGroup.onEntryFocus",Fc={bubbles:!1,cancelable:!0},zc={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function Lc(t,n){return n!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function jc(t,n,r){const a=Lc(t.key,r);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return zc[a]}function wo(t,n=!1){const r=re();for(const a of t)if(a===r||(a.focus({preventScroll:n}),re()!==r))return}function Kc(t,n){return t.map((r,a)=>t[(n+a)%t.length])}const[Hc,Uc]=H("RovingFocusGroup"),xo=e.defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(t,{expose:n,emit:r}){const a=t,o=r,{loop:l,orientation:s,dir:i}=e.toRefs(a),u=Re(i),c=Y(a,"currentTabStopId",o,{defaultValue:a.defaultCurrentTabStopId,passive:a.currentTabStopId===void 0}),d=e.ref(!1),f=e.ref(!1),m=e.ref(0),{getItems:p}=Tr();function v(g){const y=!f.value;if(g.currentTarget&&g.target===g.currentTarget&&y&&!d.value){const b=new CustomEvent(Rc,Fc);if(g.currentTarget.dispatchEvent(b),o("entryFocus",b),!b.defaultPrevented){const w=p().map(B=>B.ref).filter(B=>B.dataset.disabled!==""),_=w.find(B=>B.getAttribute("data-active")==="true"),x=w.find(B=>B.id===c.value),S=[_,x,...w].filter(Boolean);wo(S,a.preventScrollOnEntryFocus)}}f.value=!1}function h(){setTimeout(()=>{f.value=!1},1)}return n({getItems:p}),Uc({loop:l,dir:u,orientation:s,currentTabStopId:c,onItemFocus:g=>{c.value=g},onItemShiftTab:()=>{d.value=!0},onFocusableItemAdd:()=>{m.value++},onFocusableItemRemove:()=>{m.value--}}),(g,y)=>(e.openBlock(),e.createBlock(e.unref(Or),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),{tabindex:d.value||m.value===0?-1:0,"data-orientation":e.unref(s),as:g.as,"as-child":g.asChild,dir:e.unref(u),style:{outline:"none"},onMousedown:y[0]||(y[0]=b=>f.value=!0),onMouseup:h,onFocus:v,onBlur:y[1]||(y[1]=b=>d.value=!1)},{default:e.withCtx(()=>[e.renderSlot(g.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Wc=e.defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=Hc(),a=e.computed(()=>n.tabStopId||ee()),o=e.computed(()=>r.currentTabStopId.value===a.value),{getItems:l}=Ar();e.onMounted(()=>{n.focusable&&r.onFocusableItemAdd()}),e.onUnmounted(()=>{n.focusable&&r.onFocusableItemRemove()});function s(i){if(i.key==="Tab"&&i.shiftKey){r.onItemShiftTab();return}if(i.target!==i.currentTarget)return;const u=jc(i,r.orientation.value,r.dir.value);if(u!==void 0){if(i.metaKey||i.ctrlKey||i.altKey||!n.allowShiftKey&&i.shiftKey)return;i.preventDefault();let c=[...l().map(d=>d.ref).filter(d=>d.dataset.disabled!=="")];if(u==="last")c.reverse();else if(u==="prev"||u==="next"){u==="prev"&&c.reverse();const d=c.indexOf(i.currentTarget);c=r.loop.value?Kc(c,d+1):c.slice(d+1)}e.nextTick(()=>wo(c))}}return(i,u)=>(e.openBlock(),e.createBlock(e.unref(hn),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),{tabindex:o.value?0:-1,"data-orientation":e.unref(r).orientation.value,"data-active":i.active,"data-disabled":i.focusable?void 0:"",as:i.as,"as-child":i.asChild,onMousedown:u[0]||(u[0]=c=>{i.focusable?e.unref(r).onItemFocus(a.value):c.preventDefault()}),onFocus:u[1]||(u[1]=c=>e.unref(r).onItemFocus(a.value)),onKeydown:s},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[Dr,qc]=H("MenuContent"),Vr=e.defineComponent({__name:"MenuContentImpl",props:e.mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...ho}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(t,{emit:n}){const r=t,a=n,o=Ye(),l=Tt(),{trapFocus:s,disableOutsidePointerEvents:i,loop:u}=e.toRefs(r);dr(),kt(i.value);const c=e.ref(""),d=e.ref(0),f=e.ref(0),m=e.ref(null),p=e.ref("right"),v=e.ref(0),h=e.ref(null),{createCollection:g}=it(),{forwardRef:y,currentElement:b}=E(),w=g(b);e.watch(b,k=>{o.onContentChange(k)});const{handleTypeaheadSearch:_}=pr(w);e.onUnmounted(()=>{window.clearTimeout(d.value)});function x(k){var O,$;return p.value===((O=m.value)==null?void 0:O.side)&&Gu(k,($=m.value)==null?void 0:$.area)}async function S(k){var O;a("openAutoFocus",k),!k.defaultPrevented&&(k.preventDefault(),(O=b.value)==null||O.focus({preventScroll:!0}))}function B(k){if(k.defaultPrevented)return;const O=k.target.closest("[data-radix-menu-content]")===k.currentTarget,$=k.ctrlKey||k.altKey||k.metaKey,R=k.key.length===1,I=Na(k,re(),b.value,{loop:u.value,arrowKeyOptions:"vertical",dir:l==null?void 0:l.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(I)return I==null?void 0:I.focus();if(k.code==="Space"||(O&&(k.key==="Tab"&&k.preventDefault(),!$&&R&&_(k.key)),k.target!==b.value)||!Hu.includes(k.key))return;k.preventDefault();const L=w.value;po.includes(k.key)&&L.reverse(),kr(L)}function P(k){var O,$;($=(O=k==null?void 0:k.currentTarget)==null?void 0:O.contains)!=null&&$.call(O,k.target)||(window.clearTimeout(d.value),c.value="")}function T(k){var O;if(!Pt(k))return;const $=k.target,R=v.value!==k.clientX;if((O=k==null?void 0:k.currentTarget)!=null&&O.contains($)&&R){const I=k.clientX>v.value?"right":"left";p.value=I,v.value=k.clientX}}return qc({onItemEnter:k=>!!x(k),onItemLeave:k=>{var O;x(k)||((O=b.value)==null||O.focus(),h.value=null)},onTriggerLeave:k=>!!x(k),searchRef:c,pointerGraceTimerRef:f,onPointerGraceIntentChange:k=>{m.value=k}}),(k,O)=>(e.openBlock(),e.createBlock(e.unref(fn),{"as-child":"",trapped:e.unref(s),onMountAutoFocus:S,onUnmountAutoFocus:O[7]||(O[7]=$=>a("closeAutoFocus",$))},{default:e.withCtx(()=>[e.createVNode(e.unref(dt),{"as-child":"","disable-outside-pointer-events":e.unref(i),onEscapeKeyDown:O[2]||(O[2]=$=>a("escapeKeyDown",$)),onPointerDownOutside:O[3]||(O[3]=$=>a("pointerDownOutside",$)),onFocusOutside:O[4]||(O[4]=$=>a("focusOutside",$)),onInteractOutside:O[5]||(O[5]=$=>a("interactOutside",$)),onDismiss:O[6]||(O[6]=$=>a("dismiss"))},{default:e.withCtx(()=>[e.createVNode(e.unref(xo),{"current-tab-stop-id":h.value,"onUpdate:currentTabStopId":O[0]||(O[0]=$=>h.value=$),"as-child":"",orientation:"vertical",dir:e.unref(l).dir.value,loop:e.unref(u),onEntryFocus:O[1]||(O[1]=$=>{a("entryFocus",$),e.unref(l).isUsingKeyboardRef.value||$.preventDefault()})},{default:e.withCtx(()=>[e.createVNode(e.unref(pt),{ref:e.unref(y),role:"menu",as:k.as,"as-child":k.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":e.unref(_r)(e.unref(o).open.value),dir:e.unref(l).dir.value,side:k.side,"side-offset":k.sideOffset,align:k.align,"align-offset":k.alignOffset,"avoid-collisions":k.avoidCollisions,"collision-boundary":k.collisionBoundary,"collision-padding":k.collisionPadding,"arrow-padding":k.arrowPadding,"prioritize-position":k.prioritizePosition,sticky:k.sticky,"hide-when-detached":k.hideWhenDetached,onKeydown:B,onBlur:P,onPointermove:T},{default:e.withCtx(()=>[e.renderSlot(k.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Co=e.defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=Dr(),{forwardRef:a}=E(),o=e.ref(!1);async function l(i){if(!i.defaultPrevented&&Pt(i)){if(n.disabled)r.onItemLeave(i);else if(!r.onItemEnter(i)){const u=i.currentTarget;u==null||u.focus({preventScroll:!0})}}}async function s(i){await e.nextTick(),!i.defaultPrevented&&Pt(i)&&r.onItemLeave(i)}return(i,u)=>(e.openBlock(),e.createBlock(e.unref(hn),{value:{textValue:i.textValue}},{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(a),role:"menuitem",tabindex:"-1"},i.$attrs,{as:i.as,"as-child":i.asChild,"data-radix-vue-collection-item":"","aria-disabled":i.disabled||void 0,"data-disabled":i.disabled?"":void 0,"data-highlighted":o.value?"":void 0,onPointermove:l,onPointerleave:s,onFocus:u[0]||(u[0]=async c=>{await e.nextTick(),!(c.defaultPrevented||i.disabled)&&(o.value=!0)}),onBlur:u[1]||(u[1]=async c=>{await e.nextTick(),!c.defaultPrevented&&(o.value=!1)})}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),Mr=e.defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=E(),s=Tt(),i=Dr(),u=e.ref(!1);async function c(){const d=l.value;if(!r.disabled&&d){const f=new CustomEvent(ju,{bubbles:!0,cancelable:!0});a("select",f),await e.nextTick(),f.defaultPrevented?u.value=!1:s.onClose()}}return(d,f)=>(e.openBlock(),e.createBlock(Co,e.mergeProps(r,{ref:e.unref(o),onClick:c,onPointerdown:f[0]||(f[0]=()=>{u.value=!0}),onPointerup:f[1]||(f[1]=async m=>{var p;await e.nextTick(),!m.defaultPrevented&&(u.value||(p=m.currentTarget)==null||p.click())}),onKeydown:f[2]||(f[2]=async m=>{const p=e.unref(i).searchRef.value!=="";d.disabled||p&&m.key===" "||e.unref(Cr).includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},16))}}),[Gc,_o]=H(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext"),Yc=e.defineComponent({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=Gc({checked:e.ref(!1)});return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:r.forceMount||e.unref(pn)(e.unref(n).checked.value)||e.unref(n).checked.value===!0},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{as:r.as,"as-child":r.asChild,"data-state":e.unref(Br)(e.unref(n).checked.value)},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),Xc=e.defineComponent({__name:"MenuCheckboxItem",props:{checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(t,{emit:n}){const r=t,a=n,o=Y(r,"checked",a);return _o({checked:o}),(l,s)=>(e.openBlock(),e.createBlock(Mr,e.mergeProps({role:"menuitemcheckbox"},r,{"aria-checked":e.unref(pn)(e.unref(o))?"mixed":e.unref(o),"data-state":e.unref(Br)(e.unref(o)),onSelect:s[0]||(s[0]=async i=>{a("select",i),e.unref(pn)(e.unref(o))?o.value=!0:o.value=!e.unref(o)})}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{checked:e.unref(o)})]),_:3},16,["aria-checked","data-state"]))}}),Qc=e.defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=z(r,a),l=Ye(),{forwardRef:s,currentElement:i}=E();return St(i),(u,c)=>(e.openBlock(),e.createBlock(Vr,e.mergeProps(e.unref(o),{ref:e.unref(s),"trap-focus":e.unref(l).open.value,"disable-outside-pointer-events":e.unref(l).open.value,"disable-outside-scroll":!0,onDismiss:c[0]||(c[0]=d=>e.unref(l).onOpenChange(!1)),onFocusOutside:c[1]||(c[1]=e.withModifiers(d=>a("focusOutside",d),["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),Zc=e.defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n),a=Ye();return(o,l)=>(e.openBlock(),e.createBlock(Vr,e.mergeProps(e.unref(r),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:l[0]||(l[0]=s=>e.unref(a).onOpenChange(!1))}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Jc=e.defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n),a=Ye(),o=Tt();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:l.forceMount||e.unref(a).open.value},{default:e.withCtx(()=>[e.unref(o).modal.value?(e.openBlock(),e.createBlock(Qc,e.normalizeProps(e.mergeProps({key:0},{...l.$attrs,...e.unref(r)})),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Zc,e.normalizeProps(e.mergeProps({key:1},{...l.$attrs,...e.unref(r)})),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Bo=e.defineComponent({__name:"MenuGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({role:"group"},n),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Nc=e.defineComponent({__name:"MenuLabel",props:{asChild:{type:Boolean},as:{default:"div"}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),ed=e.defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ct),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[td,nd]=H("MenuRadioGroup"),rd=e.defineComponent({__name:"MenuRadioGroup",props:{modelValue:{default:""},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=Y(r,"modelValue",n);return nd({modelValue:a,onValueChange:o=>{a.value=o}}),(o,l)=>(e.openBlock(),e.createBlock(Bo,e.normalizeProps(e.guardReactiveProps(r)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{modelValue:e.unref(a)})]),_:3},16))}}),ad=e.defineComponent({__name:"MenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,{value:o}=e.toRefs(r),l=td(),s=e.computed(()=>l.modelValue.value===(o==null?void 0:o.value));return _o({checked:s}),(i,u)=>(e.openBlock(),e.createBlock(Mr,e.mergeProps({role:"menuitemradio"},r,{"aria-checked":s.value,"data-state":e.unref(Br)(s.value),onSelect:u[0]||(u[0]=async c=>{a("select",c),e.unref(l).onValueChange(e.unref(o))})}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["aria-checked","data-state"]))}}),od=e.defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{role:"separator","aria-orientation":"horizontal"}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[ko,ld]=H("MenuSub"),sd=e.defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=Y(r,"open",n,{defaultValue:!1,passive:r.open===void 0}),o=Ye(),l=e.ref(),s=e.ref();return e.watchEffect(i=>{(o==null?void 0:o.open.value)===!1&&(a.value=!1),i(()=>a.value=!1)}),bo({open:a,onOpenChange:i=>{a.value=i},content:s,onContentChange:i=>{s.value=i}}),ld({triggerId:"",contentId:"",trigger:l,onTriggerChange:i=>{l.value=i}}),(i,u)=>(e.openBlock(),e.createBlock(e.unref(ft),null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3}))}}),id=e.defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n),a=Ye(),o=Tt(),l=ko(),{forwardRef:s,currentElement:i}=E();return l.contentId||(l.contentId=ee(void 0,"radix-vue-menu-sub-content")),(u,c)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:u.forceMount||e.unref(a).open.value},{default:e.withCtx(()=>[e.createVNode(Vr,e.mergeProps(e.unref(r),{id:e.unref(l).contentId,ref:e.unref(s),"aria-labelledby":e.unref(l).triggerId,align:"start",side:e.unref(o).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:c[0]||(c[0]=e.withModifiers(d=>{var f;e.unref(o).isUsingKeyboardRef.value&&((f=e.unref(i))==null||f.focus())},["prevent"])),onCloseAutoFocus:c[1]||(c[1]=e.withModifiers(()=>{},["prevent"])),onFocusOutside:c[2]||(c[2]=d=>{d.defaultPrevented||d.target!==e.unref(l).trigger.value&&e.unref(a).onOpenChange(!1)}),onEscapeKeyDown:c[3]||(c[3]=d=>{e.unref(o).onClose(),d.preventDefault()}),onKeydown:c[4]||(c[4]=d=>{var f,m;const p=(f=d.currentTarget)==null?void 0:f.contains(d.target),v=e.unref(Wu)[e.unref(o).dir.value].includes(d.key);p&&v&&(e.unref(a).onOpenChange(!1),(m=e.unref(l).trigger.value)==null||m.focus(),d.preventDefault())})}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),ud=e.defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=Ye(),a=Tt(),o=ko(),l=Dr(),s=e.ref(null);o.triggerId||(o.triggerId=ee(void 0,"radix-vue-menu-sub-trigger"));function i(){s.value&&window.clearTimeout(s.value),s.value=null}e.onUnmounted(()=>{i()});function u(f){!Pt(f)||l.onItemEnter(f)||!n.disabled&&!r.open.value&&!s.value&&(l.onPointerGraceIntentChange(null),s.value=window.setTimeout(()=>{r.onOpenChange(!0),i()},100))}async function c(f){var m,p;if(!Pt(f))return;i();const v=(m=r.content.value)==null?void 0:m.getBoundingClientRect();if(v!=null&&v.width){const h=(p=r.content.value)==null?void 0:p.dataset.side,g=h==="right",y=g?-5:5,b=v[g?"left":"right"],w=v[g?"right":"left"];l.onPointerGraceIntentChange({area:[{x:f.clientX+y,y:f.clientY},{x:b,y:v.top},{x:w,y:v.top},{x:w,y:v.bottom},{x:b,y:v.bottom}],side:h}),window.clearTimeout(l.pointerGraceTimerRef.value),l.pointerGraceTimerRef.value=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(f))return;l.onPointerGraceIntentChange(null)}}async function d(f){var m;const p=l.searchRef.value!=="";n.disabled||p&&f.key===" "||Uu[a.dir.value].includes(f.key)&&(r.onOpenChange(!0),await e.nextTick(),(m=r.content.value)==null||m.focus(),f.preventDefault())}return(f,m)=>(e.openBlock(),e.createBlock(yo,{"as-child":""},{default:e.withCtx(()=>[e.createVNode(Co,e.mergeProps(n,{id:e.unref(o).triggerId,ref:p=>{var v;(v=e.unref(o))==null||v.onTriggerChange(p==null?void 0:p.$el)},"aria-haspopup":"menu","aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(o).contentId,"data-state":e.unref(_r)(e.unref(r).open.value),onClick:m[0]||(m[0]=async p=>{n.disabled||p.defaultPrevented||(p.currentTarget.focus(),e.unref(r).open.value||e.unref(r).onOpenChange(!0))}),onPointermove:u,onPointerleave:c,onKeydown:d}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[So,cd]=H("DropdownMenuRoot"),dd=e.defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n;E();const o=Y(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),l=e.ref(),{modal:s,dir:i}=e.toRefs(r),u=Re(i);return cd({open:o,onOpenChange:c=>{o.value=c},onOpenToggle:()=>{o.value=!o.value},triggerId:"",triggerElement:l,contentId:"",modal:s,dir:u}),(c,d)=>(e.openBlock(),e.createBlock(e.unref(Ic),{open:e.unref(o),"onUpdate:open":d[0]||(d[0]=f=>e.isRef(o)?o.value=f:null),dir:e.unref(u),modal:e.unref(s)},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{open:e.unref(o)})]),_:3},8,["open","dir","modal"]))}}),fd=e.defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=So(),{forwardRef:a,currentElement:o}=E();return e.onMounted(()=>{r.triggerElement=o}),r.triggerId||(r.triggerId=ee(void 0,"radix-vue-dropdown-menu-trigger")),(l,s)=>(e.openBlock(),e.createBlock(e.unref(yo),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{id:e.unref(r).triggerId,ref:e.unref(a),type:l.as==="button"?"button":void 0,"as-child":n.asChild,as:l.as,"aria-haspopup":"menu","aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(r).open.value?e.unref(r).contentId:void 0,"data-disabled":l.disabled?"":void 0,disabled:l.disabled,"data-state":e.unref(r).open.value?"open":"closed",onClick:s[0]||(s[0]=async i=>{var u;!l.disabled&&i.button===0&&i.ctrlKey===!1&&((u=e.unref(r))==null||u.onOpenToggle(),await e.nextTick(),e.unref(r).open.value&&i.preventDefault())}),onKeydown:s[1]||(s[1]=e.withKeys(i=>{l.disabled||(["Enter"," "].includes(i.key)&&e.unref(r).onOpenToggle(),i.key==="ArrowDown"&&e.unref(r).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())},["enter","space","arrow-down"]))},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),Po=e.defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ed),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),pd=e.defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n);E();const a=So(),o=e.ref(!1);function l(s){s.defaultPrevented||(o.value||setTimeout(()=>{var i;(i=a.triggerElement.value)==null||i.focus()},0),o.value=!1,s.preventDefault())}return a.contentId||(a.contentId=ee(void 0,"radix-vue-dropdown-menu-content")),(s,i)=>{var u;return e.openBlock(),e.createBlock(e.unref(Jc),e.mergeProps(e.unref(r),{id:e.unref(a).contentId,"aria-labelledby":(u=e.unref(a))==null?void 0:u.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:l,onInteractOutside:i[0]||(i[0]=c=>{var d;if(c.defaultPrevented)return;const f=c.detail.originalEvent,m=f.button===0&&f.ctrlKey===!0,p=f.button===2||m;(!e.unref(a).modal.value||p)&&(o.value=!0),(d=e.unref(a).triggerElement.value)!=null&&d.contains(c.target)&&c.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),md=e.defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=Fe(n);return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(Mr),e.normalizeProps(e.guardReactiveProps({...r,...e.unref(a)})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),vd=e.defineComponent({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Bo),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),hd=e.defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(od),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),gd=e.defineComponent({__name:"DropdownMenuCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(t,{emit:n}){const r=t,a=Fe(n);return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(Xc),e.normalizeProps(e.guardReactiveProps({...r,...e.unref(a)})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Eo=e.defineComponent({__name:"DropdownMenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Yc),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),yd=e.defineComponent({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(Nc),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),bd=e.defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=Fe(n);return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(rd),e.normalizeProps(e.guardReactiveProps({...r,...e.unref(a)})),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),wd=e.defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(t,{emit:n}){const r=z(t,n);return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(ad),e.normalizeProps(e.guardReactiveProps(e.unref(r))),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),xd=e.defineComponent({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=Y(r,"open",n,{passive:r.open===void 0,defaultValue:r.defaultOpen??!1});return E(),(o,l)=>(e.openBlock(),e.createBlock(e.unref(sd),{open:e.unref(a),"onUpdate:open":l[0]||(l[0]=s=>e.isRef(a)?a.value=s:null)},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{open:e.unref(a)})]),_:3},8,["open"]))}}),Cd=e.defineComponent({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=z(t,n);return E(),(a,o)=>(e.openBlock(),e.createBlock(e.unref(id),e.mergeProps(e.unref(r),{style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),_d=e.defineComponent({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(ud),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Bd=e.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{onMousedown:a[0]||(a[0]=o=>{!o.defaultPrevented&&o.detail>1&&o.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[vt,kd]=H("PopoverRoot"),Sd=e.defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n,{modal:o}=e.toRefs(r),l=Y(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),s=e.ref(),i=e.ref(!1);return kd({contentId:"",modal:o,open:l,onOpenChange:u=>{l.value=u},onOpenToggle:()=>{l.value=!l.value},triggerElement:s,hasCustomAnchor:i}),(u,c)=>(e.openBlock(),e.createBlock(e.unref(ft),null,{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default",{open:e.unref(l)})]),_:3}))}}),Pd=e.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=vt(),{forwardRef:a,currentElement:o}=E();return e.onMounted(()=>{r.triggerElement.value=o.value}),(l,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r).hasCustomAnchor.value?e.unref(V):e.unref(Et)),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{ref:e.unref(a),type:l.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":e.unref(r).open.value,"aria-controls":e.unref(r).contentId,"data-state":e.unref(r).open.value?"open":"closed",as:l.as,"as-child":n.asChild,onClick:e.unref(r).onOpenToggle},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),Ed=e.defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ct),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),$o=e.defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=ae(r),{forwardRef:l}=E(),s=vt();return dr(),(i,u)=>(e.openBlock(),e.createBlock(e.unref(fn),{"as-child":"",loop:"",trapped:i.trapFocus,onMountAutoFocus:u[5]||(u[5]=c=>a("openAutoFocus",c)),onUnmountAutoFocus:u[6]||(u[6]=c=>a("closeAutoFocus",c))},{default:e.withCtx(()=>[e.createVNode(e.unref(dt),{"as-child":"","disable-outside-pointer-events":i.disableOutsidePointerEvents,onPointerDownOutside:u[0]||(u[0]=c=>a("pointerDownOutside",c)),onInteractOutside:u[1]||(u[1]=c=>a("interactOutside",c)),onEscapeKeyDown:u[2]||(u[2]=c=>a("escapeKeyDown",c)),onFocusOutside:u[3]||(u[3]=c=>a("focusOutside",c)),onDismiss:u[4]||(u[4]=c=>e.unref(s).onOpenChange(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(pt),e.mergeProps(e.unref(o),{id:e.unref(s).contentId,ref:e.unref(l),"data-state":e.unref(s).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),$d=e.defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=vt(),l=e.ref(!1);kt(!0);const s=z(r,a),{forwardRef:i,currentElement:u}=E();return St(u),(c,d)=>(e.openBlock(),e.createBlock($o,e.mergeProps(e.unref(s),{ref:e.unref(i),"trap-focus":e.unref(o).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:d[0]||(d[0]=e.withModifiers(f=>{var m;a("closeAutoFocus",f),l.value||(m=e.unref(o).triggerElement.value)==null||m.focus()},["prevent"])),onPointerDownOutside:d[1]||(d[1]=f=>{a("pointerDownOutside",f);const m=f.detail.originalEvent,p=m.button===0&&m.ctrlKey===!0,v=m.button===2||p;l.value=v}),onFocusOutside:d[2]||(d[2]=e.withModifiers(()=>{},["prevent"]))}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus"]))}}),Td=e.defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=vt(),l=e.ref(!1),s=e.ref(!1),i=z(r,a);return(u,c)=>(e.openBlock(),e.createBlock($o,e.mergeProps(e.unref(i),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:c[0]||(c[0]=d=>{var f;a("closeAutoFocus",d),d.defaultPrevented||(l.value||(f=e.unref(o).triggerElement.value)==null||f.focus(),d.preventDefault()),l.value=!1,s.value=!1}),onInteractOutside:c[1]||(c[1]=async d=>{var f;a("interactOutside",d),d.defaultPrevented||(l.value=!0,d.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const m=d.target;(f=e.unref(o).triggerElement.value)!=null&&f.contains(m)&&d.preventDefault(),d.detail.originalEvent.type==="focusin"&&s.value&&d.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16))}}),Od=e.defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=vt(),l=z(r,a),{forwardRef:s}=E();return o.contentId||(o.contentId=ee(void 0,"radix-vue-popover-content")),(i,u)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:i.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[e.unref(o).modal.value?(e.openBlock(),e.createBlock($d,e.mergeProps({key:0},e.unref(l),{ref:e.unref(s)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Td,e.mergeProps({key:1},e.unref(l),{ref:e.unref(s)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Ad=e.defineComponent({__name:"PopoverAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;E();const r=vt();return e.onBeforeMount(()=>{r.hasCustomAnchor.value=!0}),e.onUnmounted(()=>{r.hasCustomAnchor.value=!1}),(a,o)=>(e.openBlock(),e.createBlock(e.unref(Et),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),Ot=100,[Dd,Vd]=H("ProgressRoot"),Ir=t=>typeof t=="number";function Md(t,n){return lt(t)||Ir(t)&&!Number.isNaN(t)&&t<=n&&t>=0?t:(console.error(`Invalid prop \`value\` of value \`${t}\` supplied to \`ProgressRoot\`. The \`value\` prop must be: - a positive number - - less than the value passed to \`max\` (or ${Vt} if no \`max\` prop is set) + - less than the value passed to \`max\` (or ${Ot} if no \`max\` prop is set) - \`null\` or \`undefined\` if the progress is indeterminate. -Defaulting to \`null\`.`),null)}function Vd(t){return Ar(t)&&!Number.isNaN(t)&&t>0?t:(console.error(`Invalid prop \`max\` of value \`${t}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Vt}\`.`),Vt)}const Md=e.defineComponent({__name:"ProgressRoot",props:{modelValue:{},max:{default:Vt},getValueLabel:{type:Function,default:(t,n)=>`${Math.round(t/n*Vt)}%`},asChild:{type:Boolean},as:{}},emits:["update:modelValue","update:max"],setup(t,{emit:n}){const r=t,a=n;E();const o=X(r,"modelValue",a,{passive:r.modelValue===void 0}),l=X(r,"max",a,{passive:r.max===void 0});e.watch(()=>o.value,async i=>{const u=Dd(i,r.max);u!==i&&(await e.nextTick(),o.value=u)},{immediate:!0}),e.watch(()=>r.max,i=>{const u=Vd(r.max);u!==i&&(l.value=u)},{immediate:!0});const s=e.computed(()=>ut(o.value)?"indeterminate":o.value===l.value?"complete":"loading");return Ad({modelValue:o,max:l,progressState:s}),(i,u)=>(e.openBlock(),e.createBlock(e.unref(V),{"as-child":i.asChild,as:i.as,"aria-valuemax":e.unref(l),"aria-valuemin":0,"aria-valuenow":Ar(e.unref(o))?e.unref(o):void 0,"aria-valuetext":i.getValueLabel(e.unref(o),e.unref(l)),"aria-label":i.getValueLabel(e.unref(o),e.unref(l)),role:"progressbar","data-state":s.value,"data-value":e.unref(o)??void 0,"data-max":e.unref(l)},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{modelValue:e.unref(o)})]),_:3},8,["as-child","as","aria-valuemax","aria-valuenow","aria-valuetext","aria-label","data-state","data-value","data-max"]))}}),Id=e.defineComponent({__name:"ProgressIndicator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,r=Od();return E(),(a,o)=>{var l;return e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{"data-state":e.unref(r).progressState.value,"data-value":((l=e.unref(r).modelValue)==null?void 0:l.value)??void 0,"data-max":e.unref(r).max.value}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["data-state","data-value","data-max"])}}}),Rd=["default-value"],Fd=e.defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(t){const n=t,{value:r}=e.toRefs(n),a=e.ref();return(o,l)=>(e.openBlock(),e.createBlock(e.unref(At),{"as-child":""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("select",e.mergeProps({ref_key:"selectElement",ref:a},n,{"onUpdate:modelValue":l[0]||(l[0]=s=>e.isRef(r)?r.value=s:null),"default-value":e.unref(r)}),[e.renderSlot(o.$slots,"default")],16,Rd),[[e.vModelSelect,e.unref(r)]])]),_:3}))}}),zd={key:0,value:""},[Ne,_o]=U("SelectRoot"),[Ld,jd]=U("SelectRoot"),Kd=e.defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:n}){const r=t,a=n,o=X(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),l=X(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),s=e.ref(),i=e.ref(),u=e.ref({x:0,y:0}),c=e.ref(!1),{required:d,disabled:f,dir:m}=e.toRefs(r),p=Le(m);_o({triggerElement:s,onTriggerChange:y=>{s.value=y},valueElement:i,onValueElementChange:y=>{i.value=y},valueElementHasChildren:c,onValueElementHasChildrenChange:y=>{c.value=y},contentId:"",modelValue:o,onValueChange:y=>{o.value=y},open:l,required:d,onOpenChange:y=>{l.value=y},dir:p,triggerPointerDownPosRef:u,disabled:f});const v=ln(s),g=e.ref(new Set),h=e.computed(()=>Array.from(g.value).map(y=>{var b;return(b=y.props)==null?void 0:b.value}).join(";"));return jd({onNativeOptionAdd:y=>{g.value.add(y)},onNativeOptionRemove:y=>{g.value.delete(y)}}),(y,b)=>(e.openBlock(),e.createBlock(e.unref(vt),null,{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default",{modelValue:e.unref(o),open:e.unref(l)}),e.unref(v)?(e.openBlock(),e.createBlock(Fd,e.mergeProps({key:h.value},y.$attrs,{"aria-hidden":"true",tabindex:"-1",required:e.unref(d),name:y.name,autocomplete:y.autocomplete,disabled:e.unref(f),value:e.unref(o),onChange:b[0]||(b[0]=w=>o.value=w.target.value)}),{default:e.withCtx(()=>[e.unref(o)===void 0?(e.openBlock(),e.createElementBlock("option",zd)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Array.from(g.value),w=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w),e.mergeProps({ref_for:!0},w.props,{key:w.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):e.createCommentVNode("",!0)]),_:3}))}}),Hd=[" ","Enter","ArrowUp","ArrowDown"],Ud=[" ","Enter"],ye=10;function Bo(t){return t===""||ut(t)}const Wd=e.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=Ne(),a=e.computed(()=>{var p;return((p=r.disabled)==null?void 0:p.value)||n.disabled}),{forwardRef:o,currentElement:l}=E();r.contentId||(r.contentId=te(void 0,"radix-vue-select-content")),e.onMounted(()=>{r.triggerElement=l});const{injectCollection:s}=dt(),i=s(),{search:u,handleTypeaheadSearch:c,resetTypeahead:d}=ur(i);function f(){a.value||(r.onOpenChange(!0),d())}function m(p){f(),r.triggerPointerDownPosRef.value={x:Math.round(p.pageX),y:Math.round(p.pageY)}}return(p,v)=>(e.openBlock(),e.createBlock(e.unref(Ot),{"as-child":""},{default:e.withCtx(()=>{var g,h,y,b;return[e.createVNode(e.unref(V),{ref:e.unref(o),role:"combobox",type:p.as==="button"?"button":void 0,"aria-controls":e.unref(r).contentId,"aria-expanded":e.unref(r).open.value||!1,"aria-required":(g=e.unref(r).required)==null?void 0:g.value,"aria-autocomplete":"none",disabled:a.value,dir:(h=e.unref(r))==null?void 0:h.dir.value,"data-state":(y=e.unref(r))!=null&&y.open.value?"open":"closed","data-disabled":a.value?"":void 0,"data-placeholder":e.unref(Bo)((b=e.unref(r).modelValue)==null?void 0:b.value)?"":void 0,"as-child":p.asChild,as:p.as,onClick:v[0]||(v[0]=w=>{var B;(B=w==null?void 0:w.currentTarget)==null||B.focus()}),onPointerdown:v[1]||(v[1]=w=>{if(w.pointerType==="touch")return w.preventDefault();const B=w.target;B.hasPointerCapture(w.pointerId)&&B.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&(m(w),w.preventDefault())}),onPointerup:v[2]||(v[2]=e.withModifiers(w=>{w.pointerType==="touch"&&m(w)},["prevent"])),onKeydown:v[3]||(v[3]=w=>{const B=e.unref(u)!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&B&&w.key===" "||(e.unref(c)(w.key),e.unref(Hd).includes(w.key)&&(f(),w.preventDefault()))})},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),Gd=e.defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pt),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[Dr,qd]=U("SelectItemAlignedPosition"),Yd=e.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(t,{emit:n}){const r=t,a=n,{injectCollection:o}=dt(),l=Ne(),s=et(),i=o(),u=e.ref(!1),c=e.ref(!0),d=e.ref(),{forwardRef:f,currentElement:m}=E(),{viewport:p,selectedItem:v,selectedItemText:g,focusSelectedItem:h}=s;function y(){if(l.triggerElement.value&&l.valueElement.value&&d.value&&m.value&&p!=null&&p.value&&v!=null&&v.value&&g!=null&&g.value){const B=l.triggerElement.value.getBoundingClientRect(),x=m.value.getBoundingClientRect(),S=l.valueElement.value.getBoundingClientRect(),_=g.value.getBoundingClientRect();if(l.dir.value!=="rtl"){const ee=_.left-x.left,J=S.left-ee,le=B.left-J,ne=B.width+le,Y=Math.max(ne,x.width),M=window.innerWidth-ye,G=rn(J,ye,Math.max(ye,M-Y));d.value.style.minWidth=`${ne}px`,d.value.style.left=`${G}px`}else{const ee=x.right-_.right,J=window.innerWidth-S.right-ee,le=window.innerWidth-B.right-J,ne=B.width+le,Y=Math.max(ne,x.width),M=window.innerWidth-ye,G=rn(J,ye,Math.max(ye,M-Y));d.value.style.minWidth=`${ne}px`,d.value.style.right=`${G}px`}const P=i.value,T=window.innerHeight-ye*2,k=p.value.scrollHeight,O=window.getComputedStyle(m.value),$=Number.parseInt(O.borderTopWidth,10),R=Number.parseInt(O.paddingTop,10),I=Number.parseInt(O.borderBottomWidth,10),L=Number.parseInt(O.paddingBottom,10),W=$+R+k+L+I,Q=Math.min(v.value.offsetHeight*5,W),q=window.getComputedStyle(p.value),D=Number.parseInt(q.paddingTop,10),F=Number.parseInt(q.paddingBottom,10),H=B.top+B.height/2-ye,ie=T-H,fe=v.value.offsetHeight/2,ue=v.value.offsetTop+fe,Se=$+R+ue,nt=W-Se;if(Se<=H){const ee=v.value===P[P.length-1];d.value.style.bottom="0px";const J=m.value.clientHeight-p.value.offsetTop-p.value.offsetHeight,le=Math.max(ie,fe+(ee?F:0)+J+I),ne=Se+le;d.value.style.height=`${ne}px`}else{const ee=v.value===P[0];d.value.style.top="0px";const J=Math.max(H,$+p.value.offsetTop+(ee?D:0)+fe)+nt;d.value.style.height=`${J}px`,p.value.scrollTop=Se-H+p.value.offsetTop}d.value.style.margin=`${ye}px 0`,d.value.style.minHeight=`${Q}px`,d.value.style.maxHeight=`${T}px`,a("placed"),requestAnimationFrame(()=>u.value=!0)}}const b=e.ref("");e.onMounted(async()=>{await e.nextTick(),y(),m.value&&(b.value=window.getComputedStyle(m.value).zIndex)});function w(B){B&&c.value===!0&&(y(),h==null||h(),c.value=!1)}return qd({contentWrapper:d,shouldExpandOnScrollRef:u,onScrollButtonChange:w}),(B,x)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"contentWrapperElement",ref:d,style:e.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:b.value})},[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(f),style:{boxSizing:"border-box",maxHeight:"100%"}},{...B.$attrs,...r}),{default:e.withCtx(()=>[e.renderSlot(B.$slots,"default")]),_:3},16)],4))}}),Xd=e.defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:ye},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=oe(t);return(r,a)=>(e.openBlock(),e.createBlock(e.unref(gt),e.mergeProps(e.unref(n),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),bt={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[et,Zd]=U("SelectContent"),Qd=e.defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=Ne();sr(),Et(r.bodyLock);const{createCollection:l}=dt(),s=e.ref();$t(s);const i=l(s),{search:u,handleTypeaheadSearch:c}=ur(i),d=e.ref(),f=e.ref(),m=e.ref(),p=e.ref(!1),v=e.ref(!1);function g(){f.value&&s.value&&xr([f.value,s.value])}e.watch(p,()=>{g()});const{onOpenChange:h,triggerPointerDownPosRef:y}=o;e.watchEffect(x=>{if(!s.value)return;let S={x:0,y:0};const _=T=>{var k,O;S={x:Math.abs(Math.round(T.pageX)-(((k=y.value)==null?void 0:k.x)??0)),y:Math.abs(Math.round(T.pageY)-(((O=y.value)==null?void 0:O.y)??0))}},P=T=>{var k;T.pointerType!=="touch"&&(S.x<=10&&S.y<=10?T.preventDefault():(k=s.value)!=null&&k.contains(T.target)||h(!1),document.removeEventListener("pointermove",_),y.value=null)};y.value!==null&&(document.addEventListener("pointermove",_),document.addEventListener("pointerup",P,{capture:!0,once:!0})),x(()=>{document.removeEventListener("pointermove",_),document.removeEventListener("pointerup",P,{capture:!0})})});function b(x){const S=x.ctrlKey||x.altKey||x.metaKey;if(x.key==="Tab"&&x.preventDefault(),!S&&x.key.length===1&&c(x.key),["ArrowUp","ArrowDown","Home","End"].includes(x.key)){let _=i.value;if(["ArrowUp","End"].includes(x.key)&&(_=_.slice().reverse()),["ArrowUp","ArrowDown"].includes(x.key)){const P=x.target,T=_.indexOf(P);_=_.slice(T+1)}setTimeout(()=>xr(_)),x.preventDefault()}}const w=e.computed(()=>r.position==="popper"?r:{}),B=oe(w.value);return Zd({content:s,viewport:d,onViewportChange:x=>{d.value=x},itemRefCallback:(x,S,_)=>{var P,T;const k=!v.value&&!_;(((P=o.modelValue)==null?void 0:P.value)!==void 0&&((T=o.modelValue)==null?void 0:T.value)===S||k)&&(f.value=x,k&&(v.value=!0))},selectedItem:f,selectedItemText:m,onItemLeave:()=>{var x;(x=s.value)==null||x.focus()},itemTextRefCallback:(x,S,_)=>{var P,T;const k=!v.value&&!_;(((P=o.modelValue)==null?void 0:P.value)!==void 0&&((T=o.modelValue)==null?void 0:T.value)===S||k)&&(m.value=x)},focusSelectedItem:g,position:r.position,isPositioned:p,searchRef:u}),(x,S)=>(e.openBlock(),e.createBlock(e.unref(pn),{"as-child":"",onMountAutoFocus:S[6]||(S[6]=e.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:S[7]||(S[7]=_=>{var P;a("closeAutoFocus",_),!_.defaultPrevented&&((P=e.unref(o).triggerElement.value)==null||P.focus({preventScroll:!0}),_.preventDefault())})},{default:e.withCtx(()=>[e.createVNode(e.unref(mt),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:S[2]||(S[2]=e.withModifiers(()=>{},["prevent"])),onDismiss:S[3]||(S[3]=_=>e.unref(o).onOpenChange(!1)),onEscapeKeyDown:S[4]||(S[4]=_=>a("escapeKeyDown",_)),onPointerDownOutside:S[5]||(S[5]=_=>a("pointerDownOutside",_))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(x.position==="popper"?Xd:Yd),e.mergeProps({...x.$attrs,...e.unref(B)},{id:e.unref(o).contentId,ref:_=>{s.value=e.unref(pe)(_)},role:"listbox","data-state":e.unref(o).open.value?"open":"closed",dir:e.unref(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:S[0]||(S[0]=e.withModifiers(()=>{},["prevent"])),onPlaced:S[1]||(S[1]=_=>p.value=!0),onKeydown:b}),{default:e.withCtx(()=>[e.renderSlot(x.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),Jd=e.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{}},setup(t){return _o(t.context),(n,r)=>e.renderSlot(n.$slots,"default")}}),Nd={key:1},ef=e.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=z(r,n),o=Ne(),l=e.ref();e.onMounted(()=>{l.value=new DocumentFragment});const s=e.ref(),i=e.computed(()=>r.forceMount||o.open.value);return(u,c)=>{var d;return i.value?(e.openBlock(),e.createBlock(e.unref(me),{key:0,ref_key:"presenceRef",ref:s,present:!0},{default:e.withCtx(()=>[e.createVNode(Qd,e.normalizeProps(e.guardReactiveProps({...e.unref(a),...u.$attrs})),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},512)):!((d=s.value)!=null&&d.present)&&l.value?(e.openBlock(),e.createElementBlock("div",Nd,[(e.openBlock(),e.createBlock(e.Teleport,{to:l.value},[e.createVNode(Jd,{context:e.unref(o)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):e.createCommentVNode("",!0)}}}),tf=e.defineComponent({__name:"SelectSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({"aria-hidden":"true"},n),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[ko,nf]=U("SelectItem"),rf=e.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,{disabled:r}=e.toRefs(n),a=Ne(),o=et(bt),{forwardRef:l,currentElement:s}=E(),i=e.computed(()=>{var g;return((g=a.modelValue)==null?void 0:g.value)===n.value}),u=e.ref(!1),c=e.ref(n.textValue??""),d=te(void 0,"radix-vue-select-item-text");async function f(g){await e.nextTick(),!(g!=null&&g.defaultPrevented)&&(r.value||(a.onValueChange(n.value),a.onOpenChange(!1)))}async function m(g){var h;await e.nextTick(),!g.defaultPrevented&&(r.value?(h=o.onItemLeave)==null||h.call(o):g.currentTarget.focus({preventScroll:!0}))}async function p(g){var h;await e.nextTick(),!g.defaultPrevented&&g.currentTarget===ae()&&((h=o.onItemLeave)==null||h.call(o))}async function v(g){var h;await e.nextTick(),!(g.defaultPrevented||((h=o.searchRef)==null?void 0:h.value)!==""&&g.key===" ")&&(Ud.includes(g.key)&&f(),g.key===" "&&g.preventDefault())}if(n.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return e.onMounted(()=>{s.value&&o.itemRefCallback(s.value,n.value,n.disabled)}),nf({value:n.value,disabled:r,textId:d,isSelected:i,onItemTextChange:g=>{c.value=((c.value||(g==null?void 0:g.textContent))??"").trim()}}),(g,h)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(l),role:"option","data-radix-vue-collection-item":"","aria-labelledby":e.unref(d),"data-highlighted":u.value?"":void 0,"aria-selected":i.value,"data-state":i.value?"checked":"unchecked","aria-disabled":e.unref(r)||void 0,"data-disabled":e.unref(r)?"":void 0,tabindex:e.unref(r)?void 0:-1,as:g.as,"as-child":g.asChild,onFocus:h[0]||(h[0]=y=>u.value=!0),onBlur:h[1]||(h[1]=y=>u.value=!1),onPointerup:f,onPointerdown:h[2]||(h[2]=y=>{y.currentTarget.focus({preventScroll:!0})}),onTouchend:h[3]||(h[3]=e.withModifiers(()=>{},["prevent","stop"])),onPointermove:m,onPointerleave:p,onKeydown:v},{default:e.withCtx(()=>[e.renderSlot(g.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),af=e.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=ko();return(a,o)=>e.unref(r).isSelected.value?(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({key:0,"aria-hidden":"true"},n),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16)):e.createCommentVNode("",!0)}}),[of,lf]=U("SelectGroup"),sf=e.defineComponent({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,r=te(void 0,"radix-vue-select-group");return lf({id:r}),(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({role:"group"},n,{"aria-labelledby":e.unref(r)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),uf=e.defineComponent({__name:"SelectLabel",props:{for:{},asChild:{type:Boolean},as:{default:"div"}},setup(t){const n=t,r=of({id:""});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).id}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),So=e.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=Ne(),a=et(bt),o=Ld(),l=ko(),{forwardRef:s,currentElement:i}=E(),u=e.computed(()=>{var c;return e.h("option",{key:l.value,value:l.value,disabled:l.disabled.value,textContent:(c=i.value)==null?void 0:c.textContent})});return e.onMounted(()=>{i.value&&(l.onItemTextChange(i.value),a.itemTextRefCallback(i.value,l.value,l.disabled.value),o.onNativeOptionAdd(u.value))}),e.onBeforeUnmount(()=>{o.onNativeOptionRemove(u.value)}),(c,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(V),e.mergeProps({id:e.unref(l).textId,ref:e.unref(s)},{...n,...c.$attrs},{"data-item-text":""}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["id"]),e.unref(l).isSelected.value&&e.unref(r).valueElement.value&&!e.unref(r).valueElementHasChildren.value?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(r).valueElement.value},[e.renderSlot(c.$slots,"default")],8,["to"])):e.createCommentVNode("",!0)],64))}}),cf=e.defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,{nonce:r}=e.toRefs(n),a=Sc(r),o=et(bt),l=o.position==="item-aligned"?Dr():void 0,{forwardRef:s,currentElement:i}=E();e.onMounted(()=>{o==null||o.onViewportChange(i.value)});const u=e.ref(0);function c(d){const f=d.currentTarget,{shouldExpandOnScrollRef:m,contentWrapper:p}=l??{};if(m!=null&&m.value&&p!=null&&p.value){const v=Math.abs(u.value-f.scrollTop);if(v>0){const g=window.innerHeight-ye*2,h=Number.parseFloat(p.value.style.minHeight),y=Number.parseFloat(p.value.style.height),b=Math.max(h,y);if(b0?x:0,p.value.style.justifyContent="flex-end")}}}u.value=f.scrollTop}return(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(s),"data-radix-select-viewport":"",role:"presentation"},{...d.$attrs,...n},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:c}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},16),e.createVNode(e.unref(V),{as:"style",nonce:e.unref(a)},{default:e.withCtx(()=>[e.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),Po=e.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(t,{emit:n}){const r=n,{injectCollection:a}=dt(),o=a(),l=et(bt),s=e.ref(null);function i(){s.value!==null&&(window.clearInterval(s.value),s.value=null)}e.watchEffect(()=>{const d=o.value.find(f=>f===ae());d==null||d.scrollIntoView({block:"nearest"})});function u(){s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}function c(){var d;(d=l.onItemLeave)==null||d.call(l),s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}return e.onBeforeUnmount(()=>i()),(d,f)=>{var m;return e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(m=d.$parent)==null?void 0:m.$props,{onPointerdown:u,onPointermove:c,onPointerleave:f[0]||(f[0]=()=>{i()})}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},16)}}}),df=e.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(t){const n=et(bt),r=n.position==="item-aligned"?Dr():void 0,{forwardRef:a,currentElement:o}=E(),l=e.ref(!1);return e.watchEffect(s=>{var i,u;if((i=n.viewport)!=null&&i.value&&(u=n.isPositioned)!=null&&u.value){let c=function(){l.value=d.scrollTop>0};const d=n.viewport.value;c(),d.addEventListener("scroll",c),s(()=>d.removeEventListener("scroll",c))}}),e.watch(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(s,i)=>l.value?(e.openBlock(),e.createBlock(Po,{key:0,ref:e.unref(a),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:u,selectedItem:c}=e.unref(n);u!=null&&u.value&&c!=null&&c.value&&(u.value.scrollTop=u.value.scrollTop-c.value.offsetHeight)})},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512)):e.createCommentVNode("",!0)}}),ff=e.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(t){const n=et(bt),r=n.position==="item-aligned"?Dr():void 0,{forwardRef:a,currentElement:o}=E(),l=e.ref(!1);return e.watchEffect(s=>{var i,u;if((i=n.viewport)!=null&&i.value&&(u=n.isPositioned)!=null&&u.value){let c=function(){const f=d.scrollHeight-d.clientHeight;l.value=Math.ceil(d.scrollTop)d.removeEventListener("scroll",c))}}),e.watch(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(s,i)=>l.value?(e.openBlock(),e.createBlock(Po,{key:0,ref:e.unref(a),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:u,selectedItem:c}=e.unref(n);u!=null&&u.value&&c!=null&&c.value&&(u.value.scrollTop=u.value.scrollTop+c.value.offsetHeight)})},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512)):e.createCommentVNode("",!0)}}),pf=e.defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(t){const{forwardRef:n,currentElement:r}=E(),a=Ne(),o=e.useSlots();return e.onBeforeMount(()=>{var l;const s=!!an((l=o==null?void 0:o.default)==null?void 0:l.call(o)).length;a.onValueElementHasChildrenChange(s)}),e.onMounted(()=>{a.valueElement=r}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(n),as:l.as,"as-child":l.asChild,style:{pointerEvents:"none"}},{default:e.withCtx(()=>{var i;return[e.unref(Bo)((i=e.unref(a).modelValue)==null?void 0:i.value)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.placeholder),1)],64)):e.renderSlot(l.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),mf=e.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return(n,r)=>(e.openBlock(),e.createBlock(e.unref(V),{"aria-hidden":"true",as:n.as,"as-child":n.asChild},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode("â–¼")])]),_:3},8,["as","as-child"]))}});function vf(t=[],n,r){const a=[...t];return a[r]=n,a.sort((o,l)=>o-l)}function Eo(t,n,r){const a=100/(r-n)*(t-n);return rn(a,0,100)}function gf(t,n){return n>2?`Value ${t+1} of ${n}`:n===2?["Minimum","Maximum"][t]:void 0}function hf(t,n){if(t.length===1)return 0;const r=t.map(o=>Math.abs(o-n)),a=Math.min(...r);return r.indexOf(a)}function yf(t,n,r){const a=t/2,o=Vr([0,50],[0,a]);return(a-o(n)*r)*r}function bf(t){return t.slice(0,-1).map((n,r)=>t[r+1]-n)}function wf(t,n){if(n>0){const r=bf(t);return Math.min(...r)>=n}return!0}function Vr(t,n){return r=>{if(t[0]===t[1]||n[0]===n[1])return n[0];const a=(n[1]-n[0])/(t[1]-t[0]);return n[0]+a*(r-t[0])}}function xf(t){return(String(t).split(".")[1]||"").length}function Cf(t,n){const r=10**n;return Math.round(t*r)/r}const $o=["PageUp","PageDown"],To=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Oo={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},[Ao,Do]=U(["SliderVertical","SliderHorizontal"]),Vo=e.defineComponent({__name:"SliderImpl",props:{asChild:{type:Boolean},as:{default:"span"}},emits:["slideStart","slideMove","slideEnd","homeKeyDown","endKeyDown","stepKeyDown"],setup(t,{emit:n}){const r=t,a=n,o=yn();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({"data-slider-impl":""},r,{onKeydown:s[0]||(s[0]=i=>{i.key==="Home"?(a("homeKeyDown",i),i.preventDefault()):i.key==="End"?(a("endKeyDown",i),i.preventDefault()):e.unref($o).concat(e.unref(To)).includes(i.key)&&(a("stepKeyDown",i),i.preventDefault())}),onPointerdown:s[1]||(s[1]=i=>{const u=i.target;u.setPointerCapture(i.pointerId),i.preventDefault(),e.unref(o).thumbElements.value.includes(u)?u.focus():a("slideStart",i)}),onPointermove:s[2]||(s[2]=i=>{i.target.hasPointerCapture(i.pointerId)&&a("slideMove",i)}),onPointerup:s[3]||(s[3]=i=>{const u=i.target;u.hasPointerCapture(i.pointerId)&&(u.releasePointerCapture(i.pointerId),a("slideEnd",i))})}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),_f=e.defineComponent({__name:"SliderHorizontal",props:{dir:{},min:{},max:{},inverted:{type:Boolean}},emits:["slideEnd","slideStart","slideMove","homeKeyDown","endKeyDown","stepKeyDown"],setup(t,{emit:n}){const r=t,a=n,{max:o,min:l,dir:s,inverted:i}=e.toRefs(r),{forwardRef:u,currentElement:c}=E(),d=e.ref(),f=e.computed(()=>(s==null?void 0:s.value)==="ltr"&&!i.value||(s==null?void 0:s.value)!=="ltr"&&i.value);function m(p){const v=d.value||c.value.getBoundingClientRect(),g=[0,v.width],h=f.value?[l.value,o.value]:[o.value,l.value],y=Vr(g,h);return d.value=v,y(p-v.left)}return Do({startEdge:f.value?"left":"right",endEdge:f.value?"right":"left",direction:f.value?1:-1,size:"width"}),(p,v)=>(e.openBlock(),e.createBlock(Vo,{ref:e.unref(u),dir:e.unref(s),"data-orientation":"horizontal",style:{"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:v[0]||(v[0]=g=>{const h=m(g.clientX);a("slideStart",h)}),onSlideMove:v[1]||(v[1]=g=>{const h=m(g.clientX);a("slideMove",h)}),onSlideEnd:v[2]||(v[2]=()=>{d.value=void 0,a("slideEnd")}),onStepKeyDown:v[3]||(v[3]=g=>{const h=f.value?"from-left":"from-right",y=e.unref(Oo)[h].includes(g.key);a("stepKeyDown",g,y?-1:1)}),onEndKeyDown:v[4]||(v[4]=g=>a("endKeyDown",g)),onHomeKeyDown:v[5]||(v[5]=g=>a("homeKeyDown",g))},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["dir"]))}}),Bf=e.defineComponent({__name:"SliderVertical",props:{min:{},max:{},inverted:{type:Boolean}},emits:["slideEnd","slideStart","slideMove","homeKeyDown","endKeyDown","stepKeyDown"],setup(t,{emit:n}){const r=t,a=n,{max:o,min:l,inverted:s}=e.toRefs(r),{forwardRef:i,currentElement:u}=E(),c=e.ref(),d=e.computed(()=>!s.value);function f(m){const p=c.value||u.value.getBoundingClientRect(),v=[0,p.height],g=d.value?[o.value,l.value]:[l.value,o.value],h=Vr(v,g);return c.value=p,h(m-p.top)}return Do({startEdge:d.value?"bottom":"top",endEdge:d.value?"top":"bottom",size:"height",direction:d.value?1:-1}),(m,p)=>(e.openBlock(),e.createBlock(Vo,{ref:e.unref(i),"data-orientation":"vertical",style:{"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:p[0]||(p[0]=v=>{const g=f(v.clientY);a("slideStart",g)}),onSlideMove:p[1]||(p[1]=v=>{const g=f(v.clientY);a("slideMove",g)}),onSlideEnd:p[2]||(p[2]=()=>{c.value=void 0,a("slideEnd")}),onStepKeyDown:p[3]||(p[3]=v=>{const g=d.value?"from-bottom":"from-top",h=e.unref(Oo)[g].includes(v.key);a("stepKeyDown",v,h?-1:1)}),onEndKeyDown:p[4]||(p[4]=v=>a("endKeyDown",v)),onHomeKeyDown:p[5]||(p[5]=v=>a("homeKeyDown",v))},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},512))}}),kf=["value","name","disabled","step"],[yn,Sf]=U("SliderRoot"),Pf=e.defineComponent({inheritAttrs:!1,__name:"SliderRoot",props:{name:{},defaultValue:{default:()=>[0]},modelValue:{},disabled:{type:Boolean,default:!1},orientation:{default:"horizontal"},dir:{},inverted:{type:Boolean,default:!1},min:{default:0},max:{default:100},step:{default:1},minStepsBetweenThumbs:{default:0},asChild:{type:Boolean},as:{}},emits:["update:modelValue","valueCommit"],setup(t,{emit:n}){const r=t,a=n,{min:o,max:l,step:s,minStepsBetweenThumbs:i,orientation:u,disabled:c,dir:d}=e.toRefs(r),f=Le(d),{forwardRef:m,currentElement:p}=E(),v=ln(p);Sr();const g=X(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),h=e.ref(0),y=e.ref(g.value);function b(_){const P=hf(g.value,_);x(_,P)}function w(_){x(_,h.value)}function B(){const _=y.value[h.value];g.value[h.value]!==_&&a("valueCommit",e.toRaw(g.value))}function x(_,P,{commit:T}={commit:!1}){var k;const O=xf(s.value),$=Cf(Math.round((_-o.value)/s.value)*s.value+o.value,O),R=rn($,o.value,l.value),I=vf(g.value,R,P);if(wf(I,i.value*s.value)){h.value=I.indexOf(R);const L=String(I)!==String(g.value);L&&T&&a("valueCommit",I),L&&((k=S.value[h.value])==null||k.focus(),g.value=I)}}const S=e.ref([]);return Sf({modelValue:g,valueIndexToChangeRef:h,thumbElements:S,orientation:u,min:o,max:l,disabled:c}),(_,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(Pr),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(u)==="horizontal"?_f:Bf),e.mergeProps(_.$attrs,{ref:e.unref(m),"as-child":_.asChild,as:_.as,min:e.unref(o),max:e.unref(l),dir:e.unref(f),inverted:_.inverted,"aria-disabled":e.unref(c),"data-disabled":e.unref(c)?"":void 0,onPointerdown:P[0]||(P[0]=()=>{e.unref(c)||(y.value=e.unref(g))}),onSlideStart:P[1]||(P[1]=T=>!e.unref(c)&&b(T)),onSlideMove:P[2]||(P[2]=T=>!e.unref(c)&&w(T)),onSlideEnd:P[3]||(P[3]=T=>!e.unref(c)&&B()),onHomeKeyDown:P[4]||(P[4]=T=>!e.unref(c)&&x(e.unref(o),0,{commit:!0})),onEndKeyDown:P[5]||(P[5]=T=>!e.unref(c)&&x(e.unref(l),e.unref(g).length-1,{commit:!0})),onStepKeyDown:P[6]||(P[6]=(T,k)=>{if(!e.unref(c)){const O=e.unref($o).includes(T.key)||T.shiftKey&&e.unref(To).includes(T.key)?10:1,$=h.value,R=e.unref(g)[$],I=e.unref(s)*O*k;x(R+I,$,{commit:!0})}})}),{default:e.withCtx(()=>[e.renderSlot(_.$slots,"default",{modelValue:e.unref(g)})]),_:3},16,["as-child","as","min","max","dir","inverted","aria-disabled","data-disabled"]))]),_:3}),e.unref(v)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(g),(T,k)=>(e.openBlock(),e.createElementBlock("input",{key:k,value:T,type:"number",style:{display:"none"},name:_.name?_.name+(e.unref(g).length>1?"[]":""):void 0,disabled:e.unref(c),step:e.unref(s)},null,8,kf))),128)):e.createCommentVNode("",!0)],64))}}),Ef=e.defineComponent({inheritAttrs:!1,__name:"SliderThumbImpl",props:{index:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=yn(),a=Ao(),{forwardRef:o,currentElement:l}=E(),s=e.computed(()=>{var p,v;return(v=(p=r.modelValue)==null?void 0:p.value)==null?void 0:v[n.index]}),i=e.computed(()=>s.value===void 0?0:Eo(s.value,r.min.value??0,r.max.value??100)),u=e.computed(()=>{var p,v;return gf(n.index,((v=(p=r.modelValue)==null?void 0:p.value)==null?void 0:v.length)??0)}),c=Za(l),d=e.computed(()=>c[a.size].value),f=e.computed(()=>d.value?yf(d.value,i.value,a.direction):0),m=rr();return e.onMounted(()=>{r.thumbElements.value.push(l.value)}),e.onUnmounted(()=>{const p=r.thumbElements.value.findIndex(v=>v===l.value)??-1;r.thumbElements.value.splice(p,1)}),(p,v)=>(e.openBlock(),e.createBlock(e.unref(hn),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps(p.$attrs,{ref:e.unref(o),role:"slider","data-radix-vue-collection-item":"",tabindex:e.unref(r).disabled.value?void 0:0,"aria-label":p.$attrs["aria-label"]||u.value,"data-disabled":e.unref(r).disabled.value?"":void 0,"data-orientation":e.unref(r).orientation.value,"aria-valuenow":s.value,"aria-valuemin":e.unref(r).min.value,"aria-valuemax":e.unref(r).max.value,"aria-orientation":e.unref(r).orientation.value,"as-child":p.asChild,as:p.as,style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[e.unref(a).startEdge]:`calc(${i.value}% + ${f.value}px)`,display:!e.unref(m)&&s.value===void 0?"none":void 0},onFocus:v[0]||(v[0]=()=>{e.unref(r).valueIndexToChangeRef.value=p.index})}),{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},16,["tabindex","aria-label","data-disabled","data-orientation","aria-valuenow","aria-valuemin","aria-valuemax","aria-orientation","as-child","as","style"])]),_:3}))}}),$f=e.defineComponent({__name:"SliderThumb",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,{getItems:r}=Er(),{forwardRef:a,currentElement:o}=E(),l=e.computed(()=>o.value?r().findIndex(s=>s.ref===o.value):-1);return(s,i)=>(e.openBlock(),e.createBlock(Ef,e.mergeProps({ref:e.unref(a)},n,{index:l.value}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["index"]))}}),Tf=e.defineComponent({__name:"SliderTrack",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=yn();return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),{"as-child":r.asChild,as:r.as,"data-disabled":e.unref(n).disabled.value?"":void 0,"data-orientation":e.unref(n).orientation.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as","data-disabled","data-orientation"]))}}),Of=e.defineComponent({__name:"SliderRange",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=yn(),r=Ao();E();const a=e.computed(()=>{var s,i;return(i=(s=n.modelValue)==null?void 0:s.value)==null?void 0:i.map(u=>Eo(u,n.min.value,n.max.value))}),o=e.computed(()=>n.modelValue.value.length>1?Math.min(...a.value):0),l=e.computed(()=>100-Math.max(...a.value));return(s,i)=>(e.openBlock(),e.createBlock(e.unref(V),{"data-disabled":e.unref(n).disabled.value?"":void 0,"data-orientation":e.unref(n).orientation.value,"as-child":s.asChild,as:s.as,style:e.normalizeStyle({[e.unref(r).startEdge]:`${o.value}%`,[e.unref(r).endEdge]:`${l.value}%`})},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["data-disabled","data-orientation","as-child","as","style"]))}});function Af(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}Af();const Df=["name","disabled","required","value","checked","data-state","data-disabled"],[Vf,Mf]=U("SwitchRoot"),If=e.defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(t,{emit:n}){const r=t,a=n,{disabled:o}=e.toRefs(r),l=X(r,"checked",a,{defaultValue:r.defaultChecked,passive:r.checked===void 0});function s(){o.value||(l.value=!l.value)}const{forwardRef:i,currentElement:u}=E(),c=ln(u),d=e.computed(()=>{var f;return r.id&&u.value?(f=document.querySelector(`[for="${r.id}"]`))==null?void 0:f.innerText:void 0});return Mf({checked:l,toggleCheck:s,disabled:o}),(f,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(V),e.mergeProps(f.$attrs,{id:f.id,ref:e.unref(i),role:"switch",type:f.as==="button"?"button":void 0,value:f.value,"aria-label":f.$attrs["aria-label"]||d.value,"aria-checked":e.unref(l),"aria-required":f.required,"data-state":e.unref(l)?"checked":"unchecked","data-disabled":e.unref(o)?"":void 0,"as-child":f.asChild,as:f.as,disabled:e.unref(o),onClick:s,onKeydown:e.withKeys(e.withModifiers(s,["prevent"]),["enter"])}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{checked:e.unref(l)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),e.unref(c)?(e.openBlock(),e.createElementBlock("input",{key:0,type:"checkbox",name:f.name,tabindex:"-1","aria-hidden":"true",disabled:e.unref(o),required:f.required,value:f.value,checked:!!e.unref(l),"data-state":e.unref(l)?"checked":"unchecked","data-disabled":e.unref(o)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Df)):e.createCommentVNode("",!0)],64))}}),Rf=e.defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=Vf();return E(),(r,a)=>{var o;return e.openBlock(),e.createBlock(e.unref(V),{"data-state":(o=e.unref(n).checked)!=null&&o.value?"checked":"unchecked","data-disabled":e.unref(n).disabled.value?"":void 0,"as-child":r.asChild,as:r.as},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[Mr,Ff]=U("TabsRoot"),zf=e.defineComponent({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,{orientation:o,dir:l}=e.toRefs(r),s=Le(l);E();const i=X(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),u=e.ref();return Ff({modelValue:i,changeModelValue:c=>{i.value=c},orientation:o,dir:s,activationMode:r.activationMode,baseId:te(void 0,"radix-vue-tabs"),tabsList:u}),(c,d)=>(e.openBlock(),e.createBlock(e.unref(V),{dir:e.unref(s),"data-orientation":e.unref(o),"as-child":c.asChild,as:c.as},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{modelValue:e.unref(i)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),Lf=e.defineComponent({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(t){const n=t,{loop:r}=e.toRefs(n),{forwardRef:a,currentElement:o}=E(),l=Mr();return l.tabsList=o,(s,i)=>(e.openBlock(),e.createBlock(e.unref(mo),{"as-child":"",orientation:e.unref(l).orientation.value,dir:e.unref(l).dir.value,loop:e.unref(r)},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{ref:e.unref(a),role:"tablist","as-child":s.asChild,as:s.as,"aria-orientation":e.unref(l).orientation.value},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function Mo(t,n){return`${t}-trigger-${n}`}function Io(t,n){return`${t}-content-${n}`}const jf=e.defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t,{forwardRef:r}=E(),a=Mr(),o=e.computed(()=>Mo(a.baseId,n.value)),l=e.computed(()=>Io(a.baseId,n.value)),s=e.computed(()=>n.value===a.modelValue.value),i=e.ref(s.value);return e.onMounted(()=>{requestAnimationFrame(()=>{i.value=!1})}),(u,c)=>(e.openBlock(),e.createBlock(e.unref(me),{present:s.value,"force-mount":""},{default:e.withCtx(({present:d})=>[e.createVNode(e.unref(V),{id:l.value,ref:e.unref(r),"as-child":u.asChild,as:u.as,role:"tabpanel","data-state":s.value?"active":"inactive","data-orientation":e.unref(a).orientation.value,"aria-labelledby":o.value,hidden:!d.value,tabindex:"0",style:e.normalizeStyle({animationDuration:i.value?"0s":void 0})},{default:e.withCtx(()=>[u.forceMount||s.value?e.renderSlot(u.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),Kf=e.defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,{forwardRef:r}=E(),a=Mr(),o=e.computed(()=>Mo(a.baseId,n.value)),l=e.computed(()=>Io(a.baseId,n.value)),s=e.computed(()=>n.value===a.modelValue.value);return(i,u)=>(e.openBlock(),e.createBlock(e.unref(Hc),{"as-child":"",focusable:!i.disabled,active:s.value},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{id:o.value,ref:e.unref(r),role:"tab",type:i.as==="button"?"button":void 0,as:i.as,"as-child":i.asChild,"aria-selected":s.value?"true":"false","aria-controls":l.value,"data-state":s.value?"active":"inactive",disabled:i.disabled,"data-disabled":i.disabled?"":void 0,"data-orientation":e.unref(a).orientation.value,onMousedown:u[0]||(u[0]=e.withModifiers(c=>{!i.disabled&&c.ctrlKey===!1?e.unref(a).changeModelValue(i.value):c.preventDefault()},["left"])),onKeydown:u[1]||(u[1]=e.withKeys(c=>e.unref(a).changeModelValue(i.value),["enter","space"])),onFocus:u[2]||(u[2]=()=>{const c=e.unref(a).activationMode!=="manual";!s.value&&!i.disabled&&c&&e.unref(a).changeModelValue(i.value)})},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),[bn,Hf]=U("ToastProvider"),Uf=e.defineComponent({inheritAttrs:!1,__name:"ToastProvider",props:{label:{default:"Notification"},duration:{default:5e3},swipeDirection:{default:"right"},swipeThreshold:{default:50}},setup(t){const n=t,{label:r,duration:a,swipeDirection:o,swipeThreshold:l}=e.toRefs(n),s=e.ref(),i=e.ref(0),u=e.ref(!1),c=e.ref(!1);if(n.label&&typeof n.label=="string"&&!n.label.trim()){const d="Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.";throw new Error(d)}return Hf({label:r,duration:a,swipeDirection:o,swipeThreshold:l,toastCount:i,viewport:s,onViewportChange(d){s.value=d},onToastAdd(){i.value++},onToastRemove(){i.value--},isFocusedToastEscapeKeyDownRef:u,isClosePausedRef:c}),(d,f)=>e.renderSlot(d.$slots,"default")}}),Wf="toast.swipeStart",Gf="toast.swipeMove",qf="toast.swipeCancel",Yf="toast.swipeEnd",Ir="toast.viewportPause",Rr="toast.viewportResume";function wn(t,n,r){const a=r.originalEvent.currentTarget,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});n&&a.addEventListener(t,n,{once:!0}),a.dispatchEvent(o)}function Ro(t,n,r=0){const a=Math.abs(t.x),o=Math.abs(t.y),l=a>o;return n==="left"||n==="right"?l&&a>r:!l&&o>r}function Xf(t){return t.nodeType===t.ELEMENT_NODE}function Fo(t){const n=[];return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&n.push(r.textContent),Xf(r)){const a=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!a)if(o){const l=r.dataset.radixToastAnnounceAlt;l&&n.push(l)}else n.push(...Fo(r))}}),n}const Zf=e.defineComponent({__name:"ToastAnnounce",setup(t){const n=bn(),r=Ai(1e3),a=e.ref(!1);return Ua(()=>{a.value=!0}),(o,l)=>e.unref(r)||a.value?(e.openBlock(),e.createBlock(e.unref(At),{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).label.value)+" ",1),e.renderSlot(o.$slots,"default")]),_:3})):e.createCommentVNode("",!0)}}),[Qf,Jf]=U("ToastRoot"),Nf=e.defineComponent({inheritAttrs:!1,__name:"ToastRootImpl",props:{type:{},open:{type:Boolean,default:!1},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["close","escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=E(),s=bn(),i=e.ref(null),u=e.ref(null),c=e.computed(()=>typeof r.duration=="number"?r.duration:s.duration.value),d=e.ref(0),f=e.ref(c.value),m=e.ref(0),p=e.ref(c.value),v=Ua(()=>{const b=new Date().getTime()-d.value;p.value=Math.max(f.value-b,0)},{fpsLimit:60});function g(b){b<=0||b===Number.POSITIVE_INFINITY||Be&&(window.clearTimeout(m.value),d.value=new Date().getTime(),m.value=window.setTimeout(h,b))}function h(){var b,w;(b=l.value)!=null&&b.contains(ae())&&((w=s.viewport.value)==null||w.focus()),s.isClosePausedRef.value=!1,a("close")}const y=e.computed(()=>l.value?Fo(l.value):null);if(r.type&&!["foreground","background"].includes(r.type)){const b="Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.";throw new Error(b)}return e.watchEffect(b=>{const w=s.viewport.value;if(w){const B=()=>{g(f.value),v.resume(),a("resume")},x=()=>{const S=new Date().getTime()-d.value;f.value=f.value-S,window.clearTimeout(m.value),v.pause(),a("pause")};return w.addEventListener(Ir,x),w.addEventListener(Rr,B),()=>{w.removeEventListener(Ir,x),w.removeEventListener(Rr,B)}}}),e.watch(()=>[r.open,c.value],()=>{f.value=c.value,r.open&&!s.isClosePausedRef.value&&g(c.value)},{immediate:!0}),nr("Escape",b=>{a("escapeKeyDown",b),b.defaultPrevented||(s.isFocusedToastEscapeKeyDownRef.value=!0,h())}),e.onMounted(()=>{s.onToastAdd()}),e.onUnmounted(()=>{s.onToastRemove()}),Jf({onClose:h}),(b,w)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.value?(e.openBlock(),e.createBlock(Zf,{key:0,role:"alert","aria-live":b.type==="foreground"?"assertive":"polite","aria-atomic":"true"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value),1)]),_:1},8,["aria-live"])):e.createCommentVNode("",!0),e.unref(s).viewport.value?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(s).viewport.value},[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(o),role:"alert","aria-live":"off","aria-atomic":"true",tabindex:"0","data-radix-vue-collection-item":""},b.$attrs,{as:b.as,"as-child":b.asChild,"data-state":b.open?"open":"closed","data-swipe-direction":e.unref(s).swipeDirection.value,style:{userSelect:"none",touchAction:"none"},onPointerdown:w[0]||(w[0]=e.withModifiers(B=>{i.value={x:B.clientX,y:B.clientY}},["left"])),onPointermove:w[1]||(w[1]=B=>{if(!i.value)return;const x=B.clientX-i.value.x,S=B.clientY-i.value.y,_=!!u.value,P=["left","right"].includes(e.unref(s).swipeDirection.value),T=["left","up"].includes(e.unref(s).swipeDirection.value)?Math.min:Math.max,k=P?T(0,x):0,O=P?0:T(0,S),$=B.pointerType==="touch"?10:2,R={x:k,y:O},I={originalEvent:B,delta:R};_?(u.value=R,e.unref(wn)(e.unref(Gf),L=>a("swipeMove",L),I)):e.unref(Ro)(R,e.unref(s).swipeDirection.value,$)?(u.value=R,e.unref(wn)(e.unref(Wf),L=>a("swipeStart",L),I),B.target.setPointerCapture(B.pointerId)):(Math.abs(x)>$||Math.abs(S)>$)&&(i.value=null)}),onPointerup:w[2]||(w[2]=B=>{const x=u.value,S=B.target;if(S.hasPointerCapture(B.pointerId)&&S.releasePointerCapture(B.pointerId),u.value=null,i.value=null,x){const _=B.currentTarget,P={originalEvent:B,delta:x};e.unref(Ro)(x,e.unref(s).swipeDirection.value,e.unref(s).swipeThreshold.value)?e.unref(wn)(e.unref(Yf),T=>a("swipeEnd",T),P):e.unref(wn)(e.unref(qf),T=>a("swipeCancel",T),P),_==null||_.addEventListener("click",T=>T.preventDefault(),{once:!0})}})}),{default:e.withCtx(()=>[e.renderSlot(b.$slots,"default",{remaining:p.value,duration:c.value})]),_:3},16,["as","as-child","data-state","data-swipe-direction"])],8,["to"])):e.createCommentVNode("",!0)],64))}}),ep=e.defineComponent({__name:"ToastRoot",props:{defaultOpen:{type:Boolean,default:!0},forceMount:{type:Boolean},type:{default:"foreground"},open:{type:Boolean,default:void 0},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o}=E(),l=X(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0});return(s,i)=>(e.openBlock(),e.createBlock(e.unref(me),{present:s.forceMount||e.unref(l)},{default:e.withCtx(()=>[e.createVNode(Nf,e.mergeProps({ref:e.unref(o),open:e.unref(l),type:s.type,as:s.as,"as-child":s.asChild,duration:s.duration},s.$attrs,{onClose:i[0]||(i[0]=u=>l.value=!1),onPause:i[1]||(i[1]=u=>a("pause")),onResume:i[2]||(i[2]=u=>a("resume")),onEscapeKeyDown:i[3]||(i[3]=u=>a("escapeKeyDown",u)),onSwipeStart:i[4]||(i[4]=u=>{a("swipeStart",u),u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:i[5]||(i[5]=u=>{const{x:c,y:d}=u.detail.delta,f=u.currentTarget;f.setAttribute("data-swipe","move"),f.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),f.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:i[6]||(i[6]=u=>{const c=u.currentTarget;c.setAttribute("data-swipe","cancel"),c.style.removeProperty("--radix-toast-swipe-move-x"),c.style.removeProperty("--radix-toast-swipe-move-y"),c.style.removeProperty("--radix-toast-swipe-end-x"),c.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:i[7]||(i[7]=u=>{const{x:c,y:d}=u.detail.delta,f=u.currentTarget;f.setAttribute("data-swipe","end"),f.style.removeProperty("--radix-toast-swipe-move-x"),f.style.removeProperty("--radix-toast-swipe-move-y"),f.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),f.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l.value=!1})}),{default:e.withCtx(({remaining:u,duration:c})=>[e.renderSlot(s.$slots,"default",{remaining:u,duration:c,open:e.unref(l)})]),_:3},16,["open","type","as","as-child","duration"])]),_:3},8,["present"]))}}),zo=e.defineComponent({__name:"ToastAnnounceExclude",props:{altText:{},asChild:{type:Boolean},as:{}},setup(t){return(n,r)=>(e.openBlock(),e.createBlock(e.unref(V),{as:n.as,"as-child":n.asChild,"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n.altText||void 0},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-radix-toast-announce-alt"]))}}),Lo=e.defineComponent({__name:"ToastClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=Qf(),{forwardRef:a}=E();return(o,l)=>(e.openBlock(),e.createBlock(zo,{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps(n,{ref:e.unref(a),type:o.as==="button"?"button":void 0,onClick:l[0]||(l[0]=s=>e.unref(r).onClose())}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["type"])]),_:3}))}}),tp=e.defineComponent({__name:"ToastAction",props:{altText:{},asChild:{type:Boolean},as:{}},setup(t){if(!t.altText)throw new Error("Missing prop `altText` expected on `ToastAction`");const{forwardRef:n}=E();return(r,a)=>r.altText?(e.openBlock(),e.createBlock(zo,{key:0,"alt-text":r.altText,"as-child":""},{default:e.withCtx(()=>[e.createVNode(Lo,{ref:e.unref(n),as:r.as,"as-child":r.asChild},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child"])]),_:3},8,["alt-text"])):e.createCommentVNode("",!0)}}),jo=e.defineComponent({__name:"FocusProxy",emits:["focusFromOutsideViewport"],setup(t,{emit:n}){const r=n,a=bn();return(o,l)=>(e.openBlock(),e.createBlock(e.unref(At),{"aria-hidden":"true",tabindex:"0",style:{position:"fixed"},onFocus:l[0]||(l[0]=s=>{var i;const u=s.relatedTarget;!((i=e.unref(a).viewport.value)!=null&&i.contains(u))&&r("focusFromOutsideViewport")})},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}}),np=e.defineComponent({inheritAttrs:!1,__name:"ToastViewport",props:{hotkey:{default:()=>["F8"]},label:{type:[String,Function],default:"Notifications ({hotkey})"},asChild:{type:Boolean},as:{default:"ol"}},setup(t){const n=t,{hotkey:r,label:a}=e.toRefs(n),{forwardRef:o,currentElement:l}=E(),{createCollection:s}=dt(),i=s(l),u=bn(),c=e.computed(()=>u.toastCount.value>0),d=e.ref(),f=e.ref(),m=e.computed(()=>r.value.join("+").replace(/Key/g,"").replace(/Digit/g,""));nr(r.value,()=>{l.value.focus()}),e.onMounted(()=>{u.onViewportChange(l.value)}),e.watchEffect(v=>{const g=l.value;if(c.value&&g){const h=()=>{if(!u.isClosePausedRef.value){const x=new CustomEvent(Ir);g.dispatchEvent(x),u.isClosePausedRef.value=!0}},y=()=>{if(u.isClosePausedRef.value){const x=new CustomEvent(Rr);g.dispatchEvent(x),u.isClosePausedRef.value=!1}},b=x=>{!g.contains(x.relatedTarget)&&y()},w=()=>{g.contains(ae())||y()},B=x=>{var S,_,P;const T=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!T){const k=ae(),O=x.shiftKey;if(x.target===g&&O){(S=d.value)==null||S.focus();return}const $=p({tabbingDirection:O?"backwards":"forwards"}),R=$.findIndex(I=>I===k);fn($.slice(R+1))?x.preventDefault():O?(_=d.value)==null||_.focus():(P=f.value)==null||P.focus()}};g.addEventListener("focusin",h),g.addEventListener("focusout",b),g.addEventListener("pointermove",h),g.addEventListener("pointerleave",w),g.addEventListener("keydown",B),window.addEventListener("blur",h),window.addEventListener("focus",y),v(()=>{g.removeEventListener("focusin",h),g.removeEventListener("focusout",b),g.removeEventListener("pointermove",h),g.removeEventListener("pointerleave",w),g.removeEventListener("keydown",B),window.removeEventListener("blur",h),window.removeEventListener("focus",y)})}});function p({tabbingDirection:v}){const g=i.value.map(h=>{const y=[h,...hr(h)];return v==="forwards"?y:y.reverse()});return(v==="forwards"?g.reverse():g).flat()}return(v,g)=>(e.openBlock(),e.createBlock(e.unref(Pu),{role:"region","aria-label":typeof e.unref(a)=="string"?e.unref(a).replace("{hotkey}",m.value):e.unref(a)(m.value),tabindex:"-1",style:e.normalizeStyle({pointerEvents:c.value?void 0:"none"})},{default:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(jo,{key:0,ref:h=>{d.value=e.unref(pe)(h)},onFocusFromOutsideViewport:g[0]||(g[0]=()=>{const h=p({tabbingDirection:"forwards"});e.unref(fn)(h)})},null,512)):e.createCommentVNode("",!0),e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(o),tabindex:"-1",as:v.as,"as-child":v.asChild},v.$attrs),{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default")]),_:3},16,["as","as-child"]),c.value?(e.openBlock(),e.createBlock(jo,{key:1,ref:h=>{f.value=e.unref(pe)(h)},onFocusFromOutsideViewport:g[1]||(g[1]=()=>{const h=p({tabbingDirection:"backwards"});e.unref(fn)(h)})},null,512)):e.createCommentVNode("",!0)]),_:3},8,["aria-label","style"]))}}),rp=e.defineComponent({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),ap=e.defineComponent({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Ko="tooltip.open",[Fr,op]=U("TooltipProvider"),lp=e.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(t){const n=t,{delayDuration:r,skipDelayDuration:a,disableHoverableContent:o,disableClosingTrigger:l,ignoreNonKeyboardFocus:s,disabled:i}=e.toRefs(n);E();const u=e.ref(!0),c=e.ref(!1),{start:d,stop:f}=tr(()=>{u.value=!0},a,{immediate:!1});return op({isOpenDelayed:u,delayDuration:r,onOpen(){f(),u.value=!1},onClose(){d()},isPointerInTransitRef:c,disableHoverableContent:o,disableClosingTrigger:l,disabled:i,ignoreNonKeyboardFocus:s}),(m,p)=>e.renderSlot(m.$slots,"default")}}),[xn,sp]=U("TooltipRoot"),ip=e.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n;E();const o=Fr(),l=e.computed(()=>r.disableHoverableContent??o.disableHoverableContent.value),s=e.computed(()=>r.disableClosingTrigger??o.disableClosingTrigger.value),i=e.computed(()=>r.disabled??o.disabled.value),u=e.computed(()=>r.delayDuration??o.delayDuration.value),c=e.computed(()=>r.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),d=X(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0});e.watch(d,w=>{o.onClose&&(w?(o.onOpen(),document.dispatchEvent(new CustomEvent(Ko))):o.onClose())});const f=e.ref(!1),m=e.ref(),p=e.computed(()=>d.value?f.value?"delayed-open":"instant-open":"closed"),{start:v,stop:g}=tr(()=>{f.value=!0,d.value=!0},u,{immediate:!1});function h(){g(),f.value=!1,d.value=!0}function y(){g(),d.value=!1}function b(){v()}return sp({contentId:"",open:d,stateAttribute:p,trigger:m,onTriggerChange(w){m.value=w},onTriggerEnter(){o.isOpenDelayed.value?b():h()},onTriggerLeave(){l.value?y():g()},onOpen:h,onClose:y,disableHoverableContent:l,disableClosingTrigger:s,disabled:i,ignoreNonKeyboardFocus:c}),(w,B)=>(e.openBlock(),e.createBlock(e.unref(vt),null,{default:e.withCtx(()=>[e.renderSlot(w.$slots,"default",{open:e.unref(d)})]),_:3}))}}),up=e.defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=xn(),a=Fr();r.contentId||(r.contentId=te(void 0,"radix-vue-tooltip-content"));const{forwardRef:o,currentElement:l}=E(),s=e.ref(!1),i=e.ref(!1),u=e.computed(()=>r.disabled.value?{}:{click:g,focus:p,pointermove:f,pointerleave:m,pointerdown:d,blur:v});e.onMounted(()=>{r.onTriggerChange(l.value)});function c(){setTimeout(()=>{s.value=!1},1)}function d(){s.value=!0,document.addEventListener("pointerup",c,{once:!0})}function f(h){h.pointerType!=="touch"&&!i.value&&!a.isPointerInTransitRef.value&&(r.onTriggerEnter(),i.value=!0)}function m(){r.onTriggerLeave(),i.value=!1}function p(h){var y,b;s.value||r.ignoreNonKeyboardFocus.value&&!((b=(y=h.target).matches)!=null&&b.call(y,":focus-visible"))||r.onOpen()}function v(){r.onClose()}function g(){r.disableClosingTrigger.value||r.onClose()}return(h,y)=>(e.openBlock(),e.createBlock(e.unref(Ot),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(o),"aria-describedby":e.unref(r).open.value?e.unref(r).contentId:void 0,"data-state":e.unref(r).stateAttribute.value,as:h.as,"as-child":n.asChild,"data-grace-area-trigger":""},e.toHandlers(u.value)),{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),Ho=e.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=xn(),{forwardRef:l}=E(),s=e.useSlots(),i=e.computed(()=>{var d;return(d=s.default)==null?void 0:d.call(s)}),u=e.computed(()=>{var d;if(r.ariaLabel)return r.ariaLabel;let f="";function m(p){typeof p.children=="string"&&p.type!==e.Comment?f+=p.children:Array.isArray(p.children)&&p.children.forEach(v=>m(v))}return(d=i.value)==null||d.forEach(p=>m(p)),f}),c=e.computed(()=>{const{ariaLabel:d,...f}=r;return f});return e.onMounted(()=>{ct(window,"scroll",d=>{const f=d.target;f!=null&&f.contains(o.trigger.value)&&o.onClose()}),ct(window,Ko,o.onClose)}),(d,f)=>(e.openBlock(),e.createBlock(e.unref(mt),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=m=>a("escapeKeyDown",m)),onPointerDownOutside:f[1]||(f[1]=m=>{var p;e.unref(o).disableClosingTrigger.value&&(p=e.unref(o).trigger.value)!=null&&p.contains(m.target)&&m.preventDefault(),a("pointerDownOutside",m)}),onFocusOutside:f[2]||(f[2]=e.withModifiers(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=m=>e.unref(o).onClose())},{default:e.withCtx(()=>[e.createVNode(e.unref(gt),e.mergeProps({ref:e.unref(l),"data-state":e.unref(o).stateAttribute.value},{...d.$attrs,...c.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default"),e.createVNode(e.unref(At),{id:e.unref(o).contentId,role:"tooltip"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),cp=e.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(t){const n=oe(t),{forwardRef:r,currentElement:a}=E(),{trigger:o,onClose:l}=xn(),s=Fr(),{isPointerInTransit:i,onPointerExit:u}=Wi(o,a);return s.isPointerInTransitRef=i,u(()=>{l()}),(c,d)=>(e.openBlock(),e.createBlock(Ho,e.mergeProps({ref:e.unref(r)},e.unref(n)),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16))}}),dp=e.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=xn(),l=z(r,a),{forwardRef:s}=E();return(i,u)=>(e.openBlock(),e.createBlock(e.unref(me),{present:i.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o).disableHoverableContent.value?Ho:cp),e.mergeProps({ref:e.unref(s)},e.unref(l)),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),fp=e.defineComponent({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pt),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),wt=(t,n)=>{const r=t.__vccOpts||t;for(const[a,o]of n)r[a]=o;return r},pp={},mp={class:"h-full bg-background dark:text-white"};function vp(t,n){return e.openBlock(),e.createElementBlock("div",mp,[e.renderSlot(t.$slots,"default")])}const gp=wt(pp,[["render",vp]]),hp={},yp={class:"sticky top-0 z-50 flex h-16 shrink-0 items-center gap-x-4 bg-background/60 px-4 backdrop-blur sm:gap-x-6 sm:px-6 lg:px-8"};function bp(t,n){return e.openBlock(),e.createElementBlock("header",yp,[e.renderSlot(t.$slots,"default")])}const wp=wt(hp,[["render",bp]]),xp={},Cp={class:"px-4 py-10 sm:px-6 lg:px-8 lg:pl-72"};function _p(t,n){return e.openBlock(),e.createElementBlock("main",Cp,[e.renderSlot(t.$slots,"default")])}const Bp=wt(xp,[["render",_p]]),kp={};function Sp(t,n){return e.renderSlot(t.$slots,"default")}const Pp=wt(kp,[["render",Sp]]),Ep={},$p={class:"hidden px-6 py-10 lg:fixed lg:inset-y-0 lg:top-16 lg:z-50 lg:flex lg:w-72 lg:flex-col"},Tp={class:"gap-y-5 overflow-y-auto"};function Op(t,n){return e.openBlock(),e.createElementBlock("div",$p,[e.createElementVNode("div",Tp,[e.renderSlot(t.$slots,"default")])])}const Ap=wt(Ep,[["render",Op]]),Dp={};function Vp(t,n){return e.renderSlot(t.$slots,"default")}const Mp=wt(Dp,[["render",Vp]]);function Ip(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function Rp(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Uo(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"})])}function Fp(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}const zp={type:"button",class:"-m-2.5 p-2.5 lg:hidden"},Lp=e.defineComponent({__name:"TwoColumnLayoutSidebarTrigger",setup(t){return(n,r)=>(e.openBlock(),e.createElementBlock("button",zp,[r[0]||(r[0]=e.createElementVNode("span",{class:"sr-only"},"Open sidebar",-1)),e.createVNode(e.unref(Ip),{class:"h-6 w-6","aria-hidden":"true"})]))}}),jp=3,Kp=1e6,De={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let zr=0;function Hp(){return zr=(zr+1)%Number.MAX_VALUE,zr.toString()}const Lr=new Map;function Wo(t){if(Lr.has(t))return;const n=setTimeout(()=>{Lr.delete(t),Mt({type:De.REMOVE_TOAST,toastId:t})},Kp);Lr.set(t,n)}const be=e.ref({toasts:[]});function Mt(t){switch(t.type){case De.ADD_TOAST:be.value.toasts=[t.toast,...be.value.toasts].slice(0,jp);break;case De.UPDATE_TOAST:be.value.toasts=be.value.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n);break;case De.DISMISS_TOAST:{const{toastId:n}=t;n?Wo(n):be.value.toasts.forEach(r=>{Wo(r.id)}),be.value.toasts=be.value.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r);break}case De.REMOVE_TOAST:t.toastId===void 0?be.value.toasts=[]:be.value.toasts=be.value.toasts.filter(n=>n.id!==t.toastId);break}}function jr(){return{toasts:e.computed(()=>be.value.toasts),toast:Go,dismiss:t=>Mt({type:De.DISMISS_TOAST,toastId:t})}}function Go(t){const n=t.id??Hp(),r=o=>Mt({type:De.UPDATE_TOAST,toast:{...o,id:n}}),a=()=>Mt({type:De.DISMISS_TOAST,toastId:n});return Mt({type:De.ADD_TOAST,toast:{...t,id:n,open:!0,onOpenChange:o=>{o||a()}}}),{id:n,dismiss:a,update:r}}const Up={class:"flex items-start space-x-3"},Wp=["src","alt"],Gp={class:"grid gap-1"},qp={class:"font-bold"},qo=e.defineComponent({__name:"Toaster",emits:["click"],setup(t){const{toasts:n}=jr();return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ul),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),o=>(e.openBlock(),e.createBlock(e.unref(rl),e.mergeProps({key:o.id,ref_for:!0},o,{class:"mt-1.5",onClick:l=>r.$emit("click",o)}),{default:e.withCtx(()=>[e.createElementVNode("div",Up,[o.icon?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[typeof o.icon=="string"?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.icon,class:e.normalizeClass(["size-16 rounded-sm object-cover",o.iconClasses]),alt:o.title},null,10,Wp)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.icon),{key:1,class:e.normalizeClass(["size-6",o.iconClasses])},null,8,["class"]))],64)):e.createCommentVNode("",!0),e.createElementVNode("div",Gp,[o.title?(e.openBlock(),e.createBlock(e.unref(il),{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),_:2},1024)):e.createCommentVNode("",!0),o.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.isVNode(o.description)?(e.openBlock(),e.createBlock(e.unref(Wr),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.description)))]),_:2},1024)):typeof o.description=="object"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.description,(l,s)=>(e.openBlock(),e.createElementBlock("p",{key:s,class:"text-sm opacity-90"},[o.objectFormat==="key"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(s),1)],64)):o.objectFormat==="both"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",qp,e.toDisplayString(s),1),e.createTextVNode(": "+e.toDisplayString(l),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(l),1)],64))]))),128)):(e.openBlock(),e.createBlock(e.unref(Wr),{key:2},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.description),1)]),_:2},1024))],64)):e.createCommentVNode("",!0),e.createVNode(e.unref(sl))])]),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.action)))]),_:2},1040,["onClick"]))),128)),e.createVNode(e.unref(al))]),_:1}))}});function Yo(t){var n,r,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(n=0;n{const n=Zp(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:s=>{const i=s.split(Kr);return i[0]===""&&i.length!==1&&i.shift(),Zo(i,n)||Xp(s)},getConflictingClassGroupIds:(s,i)=>{const u=r[s]||[];return i&&a[s]?[...u,...a[s]]:u}}},Zo=(t,n)=>{var s;if(t.length===0)return n.classGroupId;const r=t[0],a=n.nextPart.get(r),o=a?Zo(t.slice(1),a):void 0;if(o)return o;if(n.validators.length===0)return;const l=t.join(Kr);return(s=n.validators.find(({validator:i})=>i(l)))==null?void 0:s.classGroupId},Qo=/^\[(.+)\]$/,Xp=t=>{if(Qo.test(t)){const n=Qo.exec(t)[1],r=n==null?void 0:n.substring(0,n.indexOf(":"));if(r)return"arbitrary.."+r}},Zp=t=>{const{theme:n,prefix:r}=t,a={nextPart:new Map,validators:[]};return Jp(Object.entries(t.classGroups),r).forEach(([l,s])=>{Hr(s,a,l,n)}),a},Hr=(t,n,r,a)=>{t.forEach(o=>{if(typeof o=="string"){const l=o===""?n:Jo(n,o);l.classGroupId=r;return}if(typeof o=="function"){if(Qp(o)){Hr(o(a),n,r,a);return}n.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([l,s])=>{Hr(s,Jo(n,l),r,a)})})},Jo=(t,n)=>{let r=t;return n.split(Kr).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Qp=t=>t.isThemeGetter,Jp=(t,n)=>n?t.map(([r,a])=>{const o=a.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([s,i])=>[n+s,i])):l);return[r,o]}):t,Np=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,r=new Map,a=new Map;const o=(l,s)=>{r.set(l,s),n++,n>t&&(n=0,a=r,r=new Map)};return{get(l){let s=r.get(l);if(s!==void 0)return s;if((s=a.get(l))!==void 0)return o(l,s),s},set(l,s){r.has(l)?r.set(l,s):o(l,s)}}},No="!",em=t=>{const{separator:n,experimentalParseClassName:r}=t,a=n.length===1,o=n[0],l=n.length,s=i=>{const u=[];let c=0,d=0,f;for(let h=0;hd?f-d:void 0;return{modifiers:u,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:g}};return r?i=>r({className:i,parseClassName:s}):s},tm=t=>{if(t.length<=1)return t;const n=[];let r=[];return t.forEach(a=>{a[0]==="["?(n.push(...r.sort(),a),r=[]):r.push(a)}),n.push(...r.sort()),n},nm=t=>({cache:Np(t.cacheSize),parseClassName:em(t),...Yp(t)}),rm=/\s+/,am=(t,n)=>{const{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:o}=n,l=[],s=t.trim().split(rm);let i="";for(let u=s.length-1;u>=0;u-=1){const c=s[u],{modifiers:d,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:p}=r(c);let v=!!p,g=a(v?m.substring(0,p):m);if(!g){if(!v){i=c+(i.length>0?" "+i:i);continue}if(g=a(m),!g){i=c+(i.length>0?" "+i:i);continue}v=!1}const h=tm(d).join(":"),y=f?h+No:h,b=y+g;if(l.includes(b))continue;l.push(b);const w=o(g,v);for(let B=0;B0?" "+i:i)}return i};function om(){let t=0,n,r,a="";for(;t{if(typeof t=="string")return t;let n,r="";for(let a=0;af(d),t());return r=nm(c),a=r.cache.get,o=r.cache.set,l=i,i(u)}function i(u){const c=a(u);if(c)return c;const d=am(u,r);return o(u,d),d}return function(){return l(om.apply(null,arguments))}}const Z=t=>{const n=r=>r[t]||[];return n.isThemeGetter=!0,n},tl=/^\[(?:([a-z-]+):)?(.+)\]$/i,sm=/^\d+\/\d+$/,im=new Set(["px","full","screen"]),um=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,cm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,dm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,fm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,pm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ve=t=>xt(t)||im.has(t)||sm.test(t),He=t=>Ct(t,"length",xm),xt=t=>!!t&&!Number.isNaN(Number(t)),Ur=t=>Ct(t,"number",xt),It=t=>!!t&&Number.isInteger(Number(t)),mm=t=>t.endsWith("%")&&xt(t.slice(0,-1)),K=t=>tl.test(t),Ue=t=>um.test(t),vm=new Set(["length","size","percentage"]),gm=t=>Ct(t,vm,nl),hm=t=>Ct(t,"position",nl),ym=new Set(["image","url"]),bm=t=>Ct(t,ym,_m),wm=t=>Ct(t,"",Cm),Rt=()=>!0,Ct=(t,n,r)=>{const a=tl.exec(t);return a?a[1]?typeof n=="string"?a[1]===n:n.has(a[1]):r(a[2]):!1},xm=t=>cm.test(t)&&!dm.test(t),nl=()=>!1,Cm=t=>fm.test(t),_m=t=>pm.test(t),Bm=lm(()=>{const t=Z("colors"),n=Z("spacing"),r=Z("blur"),a=Z("brightness"),o=Z("borderColor"),l=Z("borderRadius"),s=Z("borderSpacing"),i=Z("borderWidth"),u=Z("contrast"),c=Z("grayscale"),d=Z("hueRotate"),f=Z("invert"),m=Z("gap"),p=Z("gradientColorStops"),v=Z("gradientColorStopPositions"),g=Z("inset"),h=Z("margin"),y=Z("opacity"),b=Z("padding"),w=Z("saturate"),B=Z("scale"),x=Z("sepia"),S=Z("skew"),_=Z("space"),P=Z("translate"),T=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",K,n],$=()=>[K,n],R=()=>["",Ve,He],I=()=>["auto",xt,K],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",K],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[xt,K];return{cacheSize:500,separator:":",theme:{colors:[Rt],spacing:[Ve,He],blur:["none","",Ue,K],brightness:H(),borderColor:[t],borderRadius:["none","","full",Ue,K],borderSpacing:$(),borderWidth:R(),contrast:H(),grayscale:D(),hueRotate:H(),invert:D(),gap:$(),gradientColorStops:[t],gradientColorStopPositions:[mm,He],inset:O(),margin:O(),opacity:H(),padding:$(),saturate:H(),scale:H(),sepia:D(),skew:H(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[Ue]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...L(),K]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",It,K]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",It,K]}],"grid-cols":[{"grid-cols":[Rt]}],"col-start-end":[{col:["auto",{span:["full",It,K]},K]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Rt]}],"row-start-end":[{row:["auto",{span:[It,K]},K]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,n]}],"min-w":[{"min-w":[K,n,"min","max","fit"]}],"max-w":[{"max-w":[K,n,"none","full","min","max","fit","prose",{screen:[Ue]},Ue]}],h:[{h:[K,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,n,"auto","min","max","fit"]}],"font-size":[{text:["base",Ue,He]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ur]}],"font-family":[{font:[Rt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",K]}],"line-clamp":[{"line-clamp":["none",xt,Ur]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ve,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ve,He]}],"underline-offset":[{"underline-offset":["auto",Ve,K]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),hm]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gm]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},bm]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:W()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[Ve,K]}],"outline-w":[{outline:[Ve,He]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Ve,He]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Ue,wm]}],"shadow-color":[{shadow:[Rt]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...Q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Ue,K]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[w]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[B]}],"scale-x":[{"scale-x":[B]}],"scale-y":[{"scale-y":[B]}],rotate:[{rotate:[It,K]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Ve,He,Ur]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function A(...t){return Bm(Xo(t))}const rl=e.defineComponent({__name:"Toast",props:{class:{},variant:{},onOpenChange:{type:Function},defaultOpen:{type:Boolean},forceMount:{type:Boolean},type:{},open:{type:Boolean},duration:{},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(ep),e.mergeProps(e.unref(l),{class:e.unref(A)(e.unref(fl)({variant:s.variant}),r.class),"onUpdate:open":s.onOpenChange}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class","onUpdate:open"]))}}),al=e.defineComponent({__name:"ToastViewport",props:{hotkey:{},label:{type:[String,Function]},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(np),e.mergeProps(r.value,{class:e.unref(A)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",n.class)}),null,16,["class"]))}}),km=e.defineComponent({__name:"ToastAction",props:{altText:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(tp),e.mergeProps(r.value,{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 transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring 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",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}});function Sm(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:"currentColor"})])}function Pm(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z",fill:"currentColor"})])}function Em(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor"})])}function ol(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor"})])}function ll(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor"})])}function $m(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:"currentColor"})])}function Tm(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:"currentColor"})])}function Cn(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor"})])}function Om(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:"currentColor"})])}function Am(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:"currentColor"})])}const sl=e.defineComponent({__name:"ToastClose",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Lo),e.mergeProps(r.value,{class:e.unref(A)("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(Cn),{class:"h-4 w-4"})]),_:1},16,["class"]))}}),il=e.defineComponent({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(rp),e.mergeProps(r.value,{class:e.unref(A)("text-sm font-semibold [&+div]:text-xs",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Wr=e.defineComponent({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(ap),e.mergeProps({class:e.unref(A)("text-sm opacity-90",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),ul=e.defineComponent({__name:"ToastProvider",props:{label:{},duration:{},swipeDirection:{},swipeThreshold:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Uf),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),cl=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,dl=Xo,Ft=(t,n)=>r=>{var a;if((n==null?void 0:n.variants)==null)return dl(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:l}=n,s=Object.keys(o).map(c=>{const d=r==null?void 0:r[c],f=l==null?void 0:l[c];if(d===null)return null;const m=cl(d)||cl(f);return o[c][m]}),i=r&&Object.entries(r).reduce((c,d)=>{let[f,m]=d;return m===void 0||(c[f]=m),c},{}),u=n==null||(a=n.compoundVariants)===null||a===void 0?void 0:a.reduce((c,d)=>{let{class:f,className:m,...p}=d;return Object.entries(p).every(v=>{let[g,h]=v;return Array.isArray(h)?h.includes({...l,...i}[g]):{...l,...i}[g]===h})?[...c,f,m]:c},[]);return dl(t,s,u,r==null?void 0:r.class,r==null?void 0:r.className)},fl=Ft("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),{toast:_n}=jr();function pl(){return{info:t=>{_n({icon:Fp,iconClasses:"text-blue-400",title:"FYI",description:t})},success:t=>{_n({icon:Rp,iconClasses:"text-green-400",title:"Success",description:t})},warning:t=>{_n({icon:Uo,iconClasses:"text-orange-400",title:"Warning",description:t})},error:(t,n="value")=>{_n({icon:Uo,iconClasses:"text-red-400",title:"Oh snap! Some errors were encountered.",description:t,objectFormat:n})}}}const Dm=e.defineComponent({__name:"Flasher",props:{info:{},success:{},warning:{},errors:{},objectFormat:{default:"value"}},setup(t){const n=t,{info:r,success:a,warning:o,error:l}=pl();return e.watch(()=>n.info,s=>{s&&r(n.info)},{immediate:!0}),e.watch(()=>n.success,s=>{s&&a(n.success)},{immediate:!0}),e.watch(()=>n.warning,s=>{s&&o(n.warning)},{immediate:!0}),e.watch(()=>n.errors,()=>{n.errors!==void 0&&Object.keys(n.errors).length>0&&l(n.errors,n.objectFormat)}),(s,i)=>(e.openBlock(),e.createBlock(e.unref(qo)))}}),Vm={class:"flex items-center justify-between space-y-2"},Mm={class:"flex items-center space-x-2"},Im=e.defineComponent({__name:"Heading",props:{as:{default:"h2"},class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",Vm,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.as),{class:e.normalizeClass(e.unref(A)("text-3xl font-bold tracking-tight",n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"])),e.createElementVNode("div",Mm,[e.renderSlot(r.$slots,"actions")])]))}}),ml=e.defineComponent({__name:"Accordion",props:{collapsible:{type:Boolean},disabled:{type:Boolean},dir:{},orientation:{},asChild:{type:Boolean},as:{},type:{},modelValue:{},defaultValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(gu),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Rm=e.defineComponent({__name:"Accord",props:{content:{},collapsible:{type:Boolean,default:!0},disabled:{type:Boolean},dir:{},orientation:{},asChild:{type:Boolean},as:{},type:{default:"single"},modelValue:{},defaultValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(ml,e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.content,(i,u)=>(e.openBlock(),e.createBlock(e.unref(gl),{key:u,value:"item-"+u},{default:e.withCtx(()=>[e.createVNode(e.unref(hl),null,{default:e.withCtx(()=>[e.renderSlot(l.$slots,u+".title",{item:i},()=>[e.createTextVNode(e.toDisplayString(i.title),1)])]),_:2},1024),e.createVNode(e.unref(vl),null,{default:e.withCtx(()=>[e.renderSlot(l.$slots,u+".content",{item:i},()=>[e.createTextVNode(e.toDisplayString(i.content),1)])]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:3},16))}}),vl=e.defineComponent({__name:"AccordionContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(bu),e.mergeProps(r.value,{class:"accordion-content overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"}),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(A)("pb-4 pt-0",n.class))},[e.renderSlot(a.$slots,"default")],2)]),_:3},16))}}),gl=e.defineComponent({__name:"AccordionItem",props:{disabled:{type:Boolean},value:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(yu),e.mergeProps(e.unref(a),{class:e.unref(A)("border-b",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),hl=e.defineComponent({__name:"AccordionTrigger",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(wu),{class:"flex"},{default:e.withCtx(()=>[e.createVNode(e.unref(xu),e.mergeProps(r.value,{class:e.unref(A)("accordion-trigger flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default"),e.renderSlot(a.$slots,"icon",{},()=>[e.createVNode(e.unref(ll),{class:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})])]),_:3},16,["class"])]),_:3}))}}),Fm=e.defineComponent({__name:"Tip",props:{tooltip:{},indicator:{type:Boolean},defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{default:300},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(wl),null,{default:e.withCtx(()=>[e.createVNode(e.unref(yl),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.createVNode(e.unref(xl),{class:e.normalizeClass(l.indicator?"underline decoration-dotted underline-offset-4":"")},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["class"]),e.createVNode(e.unref(bl),e.normalizeProps(e.guardReactiveProps(l.$attrs)),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip",{},()=>[e.createTextVNode(e.toDisplayString(l.tooltip),1)])]),_:3},16)]),_:3},16)]),_:3}))}}),yl=e.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(ip),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),bl=e.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(fp),null,{default:e.withCtx(()=>[e.createVNode(e.unref(dp),e.mergeProps({...e.unref(l),...s.$attrs},{class:e.unref(A)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),wl=e.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(lp),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),xl=e.defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(up),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),zm=e.defineComponent({__name:"AlertDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(qu),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Lm=e.defineComponent({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Yu),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),jm=e.defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Xu),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Nu),{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(Ju),e.mergeProps(e.unref(l),{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-lg 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(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Km=e.defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-2 text-center sm:text-left",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Hm=e.defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(tc),e.mergeProps(r.value,{class:e.unref(A)("text-lg font-semibold",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Um=e.defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(nc),e.mergeProps(r.value,{class:e.unref(A)("text-sm text-muted-foreground",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Wm=e.defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Gr=e.defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),{as:r.as,"as-child":r.asChild,class:e.normalizeClass(e.unref(A)(e.unref(Bn)({variant:r.variant,size:r.size}),n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),Bn=Ft("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Gm=e.defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(rc),e.mergeProps(r.value,{class:e.unref(A)(e.unref(Bn)(),n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),qm=e.defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(ec),e.mergeProps(r.value,{class:e.unref(A)(e.unref(Bn)({variant:"outline"}),"mt-2 sm:mt-0",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Ym=e.defineComponent({__name:"Avatar",props:{class:{},size:{default:"sm"},shape:{default:"circle"}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(oc),{class:e.normalizeClass(e.unref(A)(e.unref(Cl)({size:r.size,shape:r.shape}),n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),Xm=e.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(sc),e.mergeProps(n,{class:"h-full w-full object-cover"}),null,16))}}),Zm=e.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ic),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Cl=Ft("inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-secondary font-normal text-foreground",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),Qm=e.defineComponent({__name:"Badge",props:{variant:{},class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)(e.unref(_l)({variant:r.variant}),n.class))},[e.renderSlot(r.$slots,"default")],2))}}),_l=Ft("inline-flex items-center rounded-md 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 hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),Jm=e.defineComponent({__name:"Card",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("rounded-xl border bg-card text-card-foreground shadow",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Nm=e.defineComponent({__name:"CardContent",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("p-6 pt-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),ev=e.defineComponent({__name:"CardDescription",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(A)("text-sm text-muted-foreground",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),tv=e.defineComponent({__name:"CardFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex items-center p-6 pt-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),nv=e.defineComponent({__name:"CardHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-1.5 p-6",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),rv=e.defineComponent({__name:"CardTitle",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("h3",{class:e.normalizeClass(e.unref(A)("font-semibold leading-none tracking-tight",n.class))},[e.renderSlot(r.$slots,"default")],2))}});var Bl;const av=typeof window<"u",ov=t=>typeof t<"u",lv=t=>typeof t=="function";av&&((Bl=window==null?void 0:window.navigator)!=null&&Bl.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function sv(t){return t}function iv(t){const n=Symbol("InjectionState");return[(...o)=>{const l=t(...o);return e.provide(n,l),l},()=>e.inject(n)]}function uv(t){return JSON.parse(JSON.stringify(t))}const kl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Sl="__vueuse_ssr_handlers__";kl[Sl]=kl[Sl]||{};var Pl;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(Pl||(Pl={}));var cv=Object.defineProperty,El=Object.getOwnPropertySymbols,dv=Object.prototype.hasOwnProperty,fv=Object.prototype.propertyIsEnumerable,$l=(t,n,r)=>n in t?cv(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,pv=(t,n)=>{for(var r in n||(n={}))dv.call(n,r)&&$l(t,r,n[r]);if(El)for(var r of El(n))fv.call(n,r)&&$l(t,r,n[r]);return t};pv({linear:sv},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function Tl(t,n,r,a={}){var o,l,s;const{clone:i=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f}=a,m=e.getCurrentInstance(),p=r||(m==null?void 0:m.emit)||((o=m==null?void 0:m.$emit)==null?void 0:o.bind(m))||((s=(l=m==null?void 0:m.proxy)==null?void 0:l.$emit)==null?void 0:s.bind(m==null?void 0:m.proxy));let v=c;v=c||v||`update:${n.toString()}`;const g=y=>i?lv(i)?i(y):uv(y):y,h=()=>ov(t[n])?g(t[n]):f;if(u){const y=h(),b=e.ref(y);return e.watch(()=>t[n],w=>b.value=g(w)),e.watch(b,w=>{(w!==t[n]||d)&&p(v,w)},{deep:d}),b}else return e.computed({get(){return h()},set(y){p(v,y)}})}function mv(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ol(t){return mv(t)||Array.isArray(t)}function vv(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function qr(t,n){const r=Object.keys(t),a=Object.keys(n);if(r.length!==a.length)return!1;const o=JSON.stringify(Object.keys(t.breakpoints||{})),l=JSON.stringify(Object.keys(n.breakpoints||{}));return o!==l?!1:r.every(s=>{const i=t[s],u=n[s];return typeof i=="function"?`${i}`==`${u}`:!Ol(i)||!Ol(u)?i===u:qr(i,u)})}function Al(t){return t.concat().sort((n,r)=>n.name>r.name?1:-1).map(n=>n.options)}function gv(t,n){if(t.length!==n.length)return!1;const r=Al(t),a=Al(n);return r.every((o,l)=>{const s=a[l];return qr(o,s)})}function Yr(t){return typeof t=="number"}function Xr(t){return typeof t=="string"}function kn(t){return typeof t=="boolean"}function Dl(t){return Object.prototype.toString.call(t)==="[object Object]"}function N(t){return Math.abs(t)}function Zr(t){return Math.sign(t)}function zt(t,n){return N(t-n)}function hv(t,n){if(t===0||n===0||N(t)<=N(n))return 0;const r=zt(N(t),N(n));return N(r/t)}function yv(t){return Math.round(t*100)/100}function Lt(t){return Kt(t).map(Number)}function we(t){return t[jt(t)]}function jt(t){return Math.max(0,t.length-1)}function Qr(t,n){return n===jt(t)}function Vl(t,n=0){return Array.from(Array(t),(r,a)=>n+a)}function Kt(t){return Object.keys(t)}function Ml(t,n){return[t,n].reduce((r,a)=>(Kt(a).forEach(o=>{const l=r[o],s=a[o],i=Dl(l)&&Dl(s);r[o]=i?Ml(l,s):s}),r),{})}function Jr(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function bv(t,n){const r={start:a,center:o,end:l};function a(){return 0}function o(u){return l(u)/2}function l(u){return n-u}function s(u,c){return Xr(t)?r[t](u):t(n,u,c)}return{measure:s}}function Ht(){let t=[];function n(o,l,s,i={passive:!0}){let u;if("addEventListener"in o)o.addEventListener(l,s,i),u=()=>o.removeEventListener(l,s,i);else{const c=o;c.addListener(s),u=()=>c.removeListener(s)}return t.push(u),a}function r(){t=t.filter(o=>o())}const a={add:n,clear:r};return a}function wv(t,n,r,a){const o=Ht(),l=1e3/60;let s=null,i=0,u=0;function c(){o.add(t,"visibilitychange",()=>{t.hidden&&v()})}function d(){p(),o.clear()}function f(h){if(!u)return;s||(s=h,r(),r());const y=h-s;for(s=h,i+=y;i>=l;)r(),i-=l;const b=i/l;a(b),u&&(u=n.requestAnimationFrame(f))}function m(){u||(u=n.requestAnimationFrame(f))}function p(){n.cancelAnimationFrame(u),s=null,i=0,u=0}function v(){s=null,i=0}return{init:c,destroy:d,start:m,stop:p,update:r,render:a}}function xv(t,n){const r=n==="rtl",a=t==="y",o=a?"y":"x",l=a?"x":"y",s=!a&&r?-1:1,i=d(),u=f();function c(v){const{height:g,width:h}=v;return a?g:h}function d(){return a?"top":r?"right":"left"}function f(){return a?"bottom":r?"left":"right"}function m(v){return v*s}return{scroll:o,cross:l,startEdge:i,endEdge:u,measureSize:c,direction:m}}function tt(t=0,n=0){const r=N(t-n);function a(c){return cn}function l(c){return a(c)||o(c)}function s(c){return l(c)?a(c)?t:n:c}function i(c){return r?c-r*Math.ceil((c-n)/r):c}return{length:r,max:n,min:t,constrain:s,reachedAny:l,reachedMax:o,reachedMin:a,removeOffset:i}}function Il(t,n,r){const{constrain:a}=tt(0,t),o=t+1;let l=s(n);function s(m){return r?N((o+m)%o):a(m)}function i(){return l}function u(m){return l=s(m),f}function c(m){return d().set(i()+m)}function d(){return Il(t,i(),r)}const f={get:i,set:u,add:c,clone:d};return f}function Cv(t,n,r,a,o,l,s,i,u,c,d,f,m,p,v,g,h,y,b){const{cross:w,direction:B}=t,x=["INPUT","SELECT","TEXTAREA"],S={passive:!1},_=Ht(),P=Ht(),T=tt(50,225).constrain(p.measure(20)),k={mouse:300,touch:400},O={mouse:500,touch:600},$=v?43:25;let R=!1,I=0,L=0,W=!1,Q=!1,q=!1,D=!1;function F(M){if(!b)return;function G(se){(kn(b)||b(M,se))&&nt(se)}const re=n;_.add(re,"dragstart",se=>se.preventDefault(),S).add(re,"touchmove",()=>{},S).add(re,"touchend",()=>{}).add(re,"touchstart",G).add(re,"mousedown",G).add(re,"touchcancel",J).add(re,"contextmenu",J).add(re,"click",le,!0)}function H(){_.clear(),P.clear()}function ie(){const M=D?r:n;P.add(M,"touchmove",ee,S).add(M,"touchend",J).add(M,"mousemove",ee,S).add(M,"mouseup",J)}function fe(M){const G=M.nodeName||"";return x.includes(G)}function ue(){return(v?O:k)[D?"mouse":"touch"]}function Se(M,G){const re=f.add(Zr(M)*-1),se=d.byDistance(M,!v).distance;return v||N(M)=2,!(G&&M.button!==0)&&(fe(M.target)||(W=!0,l.pointerDown(M),c.useFriction(0).useDuration(0),o.set(s),ie(),I=l.readPoint(M),L=l.readPoint(M,w),m.emit("pointerDown")))}function ee(M){if(!Jr(M,a)&&M.touches.length>=2)return J(M);const re=l.readPoint(M),se=l.readPoint(M,w),Pe=zt(re,I),Me=zt(se,L);if(!Q&&!D&&(!M.cancelable||(Q=Pe>Me,!Q)))return J(M);const rt=l.pointerMove(M);Pe>g&&(q=!0),c.useFriction(.3).useDuration(.75),i.start(),o.add(B(rt)),M.preventDefault()}function J(M){const re=d.byDistance(0,!1).index!==f.get(),se=l.pointerUp(M)*ue(),Pe=Se(B(se),re),Me=hv(se,Pe),rt=$-10*Me,We=y+Me/50;Q=!1,W=!1,P.clear(),c.useDuration(rt).useFriction(We),u.distance(Pe,!v),D=!1,m.emit("pointerUp")}function le(M){q&&(M.stopPropagation(),M.preventDefault(),q=!1)}function ne(){return W}return{init:F,destroy:H,pointerDown:ne}}function _v(t,n){let a,o;function l(f){return f.timeStamp}function s(f,m){const v=`client${(m||t.scroll)==="x"?"X":"Y"}`;return(Jr(f,n)?f:f.touches[0])[v]}function i(f){return a=f,o=f,s(f)}function u(f){const m=s(f)-s(o),p=l(f)-l(a)>170;return o=f,p&&(a=f),m}function c(f){if(!a||!o)return 0;const m=s(o)-s(a),p=l(f)-l(a),v=l(f)-l(o)>170,g=m/p;return p&&!v&&N(g)>.1?g:0}return{pointerDown:i,pointerMove:u,pointerUp:c,readPoint:s}}function Bv(){function t(r){const{offsetTop:a,offsetLeft:o,offsetWidth:l,offsetHeight:s}=r;return{top:a,right:o+l,bottom:a+s,left:o,width:l,height:s}}return{measure:t}}function kv(t){function n(a){return t*(a/100)}return{measure:n}}function Sv(t,n,r,a,o,l,s){const i=[t].concat(a);let u,c,d=[],f=!1;function m(h){return o.measureSize(s.measure(h))}function p(h){if(!l)return;c=m(t),d=a.map(m);function y(b){for(const w of b){if(f)return;const B=w.target===t,x=a.indexOf(w.target),S=B?c:d[x],_=m(B?t:a[x]);if(N(_-S)>=.5){h.reInit(),n.emit("resize");break}}}u=new ResizeObserver(b=>{(kn(l)||l(h,b))&&y(b)}),r.requestAnimationFrame(()=>{i.forEach(b=>u.observe(b))})}function v(){f=!0,u&&u.disconnect()}return{init:p,destroy:v}}function Pv(t,n,r,a,o,l){let s=0,i=0,u=o,c=l,d=t.get(),f=0;function m(){const S=a.get()-t.get(),_=!u;let P=0;return _?(s=0,r.set(a),t.set(a),P=S):(r.set(t),s+=S/u,s*=c,d+=s,t.add(s),P=d-f),i=Zr(P),f=d,x}function p(){const S=a.get()-n.get();return N(S)<.001}function v(){return u}function g(){return i}function h(){return s}function y(){return w(o)}function b(){return B(l)}function w(S){return u=S,x}function B(S){return c=S,x}const x={direction:g,duration:v,velocity:h,seek:m,settled:p,useBaseFriction:b,useBaseDuration:y,useFriction:B,useDuration:w};return x}function Ev(t,n,r,a,o){const l=o.measure(10),s=o.measure(50),i=tt(.1,.99);let u=!1;function c(){return!(u||!t.reachedAny(r.get())||!t.reachedAny(n.get()))}function d(p){if(!c())return;const v=t.reachedMin(n.get())?"min":"max",g=N(t[v]-n.get()),h=r.get()-n.get(),y=i.constrain(g/s);r.subtract(h*y),!p&&N(h){const{min:h,max:y}=l,b=l.constrain(v),w=!g,B=Qr(r,g);return w?y:B||c(h,b)?h:c(y,b)?y:b}).map(v=>parseFloat(v.toFixed(3)))}function m(){if(n<=t+o)return[l.max];if(a==="keepSnaps")return s;const{min:v,max:g}=i;return s.slice(v,g)}return{snapsContained:u,scrollContainLimit:i}}function Tv(t,n,r){const a=n[0],o=r?a-t:we(n);return{limit:tt(o,a)}}function Ov(t,n,r,a){const l=n.min+.1,s=n.max+.1,{reachedMin:i,reachedMax:u}=tt(l,s);function c(m){return m===1?u(r.get()):m===-1?i(r.get()):!1}function d(m){if(!c(m))return;const p=t*(m*-1);a.forEach(v=>v.add(p))}return{loop:d}}function Av(t){const{max:n,length:r}=t;function a(l){const s=l-n;return r?s/-r:0}return{get:a}}function Dv(t,n,r,a,o){const{startEdge:l,endEdge:s}=t,{groupSlides:i}=o,u=f().map(n.measure),c=m(),d=p();function f(){return i(a).map(g=>we(g)[s]-g[0][l]).map(N)}function m(){return a.map(g=>r[l]-g[l]).map(g=>-N(g))}function p(){return i(c).map(g=>g[0]).map((g,h)=>g+u[h])}return{snaps:c,snapsAligned:d}}function Vv(t,n,r,a,o,l){const{groupSlides:s}=o,{min:i,max:u}=a,c=d();function d(){const m=s(l),p=!t||n==="keepSnaps";return r.length===1?[l]:p?m:m.slice(i,u).map((v,g,h)=>{const y=!g,b=Qr(h,g);if(y){const w=we(h[0])+1;return Vl(w)}if(b){const w=jt(l)-we(h)[0]+1;return Vl(w,we(h)[0])}return v})}return{slideRegistry:c}}function Mv(t,n,r,a,o){const{reachedAny:l,removeOffset:s,constrain:i}=a;function u(v){return v.concat().sort((g,h)=>N(g)-N(h))[0]}function c(v){const g=t?s(v):i(v),h=n.map((b,w)=>({diff:d(b-g,0),index:w})).sort((b,w)=>N(b.diff)-N(w.diff)),{index:y}=h[0];return{index:y,distance:g}}function d(v,g){const h=[v,v+r,v-r];if(!t)return v;if(!g)return u(h);const y=h.filter(b=>Zr(b)===g);return y.length?u(y):we(h)-r}function f(v,g){const h=n[v]-o.get(),y=d(h,g);return{index:v,distance:y}}function m(v,g){const h=o.get()+v,{index:y,distance:b}=c(h),w=!t&&l(h);if(!g||w)return{index:y,distance:v};const B=n[y]-b,x=v+d(B,0);return{index:y,distance:x}}return{byDistance:m,byIndex:f,shortcut:d}}function Iv(t,n,r,a,o,l,s){function i(f){const m=f.distance,p=f.index!==n.get();l.add(m),m&&(a.duration()?t.start():(t.update(),t.render(1),t.update())),p&&(r.set(n.get()),n.set(f.index),s.emit("select"))}function u(f,m){const p=o.byDistance(f,m);i(p)}function c(f,m){const p=n.clone().set(f),v=o.byIndex(p.get(),m);i(v)}return{distance:u,index:c}}function Rv(t,n,r,a,o,l,s,i){const u={passive:!0,capture:!0};let c=0;function d(p){if(!i)return;function v(g){if(new Date().getTime()-c>10)return;s.emit("slideFocusStart"),t.scrollLeft=0;const b=r.findIndex(w=>w.includes(g));Yr(b)&&(o.useDuration(0),a.index(b,0),s.emit("slideFocus"))}l.add(document,"keydown",f,!1),n.forEach((g,h)=>{l.add(g,"focus",y=>{(kn(i)||i(p,y))&&v(h)},u)})}function f(p){p.code==="Tab"&&(c=new Date().getTime())}return{init:d}}function Ut(t){let n=t;function r(){return n}function a(u){n=s(u)}function o(u){n+=s(u)}function l(u){n-=s(u)}function s(u){return Yr(u)?u:u.get()}return{get:r,set:a,add:o,subtract:l}}function Rl(t,n){const r=t.scroll==="x"?s:i,a=n.style;let o=null,l=!1;function s(m){return`translate3d(${m}px,0px,0px)`}function i(m){return`translate3d(0px,${m}px,0px)`}function u(m){if(l)return;const p=yv(t.direction(m));p!==o&&(a.transform=r(p),o=p)}function c(m){l=!m}function d(){l||(a.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:d,to:u,toggleActive:c}}function Fv(t,n,r,a,o,l,s,i,u){const d=Lt(o),f=Lt(o).reverse(),m=y().concat(b());function p(_,P){return _.reduce((T,k)=>T-o[k],P)}function v(_,P){return _.reduce((T,k)=>p(T,P)>0?T.concat([k]):T,[])}function g(_){return l.map((P,T)=>({start:P-a[T]+.5+_,end:P+n-.5+_}))}function h(_,P,T){const k=g(P);return _.map(O=>{const $=T?0:-r,R=T?r:0,I=T?"end":"start",L=k[O][I];return{index:O,loopPoint:L,slideLocation:Ut(-1),translate:Rl(t,u[O]),target:()=>i.get()>L?$:R}})}function y(){const _=s[0],P=v(f,_);return h(P,r,!1)}function b(){const _=n-s[0]-1,P=v(d,_);return h(P,-r,!0)}function w(){return m.every(({index:_})=>{const P=d.filter(T=>T!==_);return p(P,n)<=.1})}function B(){m.forEach(_=>{const{target:P,translate:T,slideLocation:k}=_,O=P();O!==k.get()&&(T.to(O),k.set(O))})}function x(){m.forEach(_=>_.translate.clear())}return{canLoop:w,clear:x,loop:B,loopPoints:m}}function zv(t,n,r){let a,o=!1;function l(u){if(!r)return;function c(d){for(const f of d)if(f.type==="childList"){u.reInit(),n.emit("slidesChanged");break}}a=new MutationObserver(d=>{o||(kn(r)||r(u,d))&&c(d)}),a.observe(t,{childList:!0})}function s(){a&&a.disconnect(),o=!0}return{init:l,destroy:s}}function Lv(t,n,r,a){const o={};let l=null,s=null,i,u=!1;function c(){i=new IntersectionObserver(v=>{u||(v.forEach(g=>{const h=n.indexOf(g.target);o[h]=g}),l=null,s=null,r.emit("slidesInView"))},{root:t.parentElement,threshold:a}),n.forEach(v=>i.observe(v))}function d(){i&&i.disconnect(),u=!0}function f(v){return Kt(o).reduce((g,h)=>{const y=parseInt(h),{isIntersecting:b}=o[y];return(v&&b||!v&&!b)&&g.push(y),g},[])}function m(v=!0){if(v&&l)return l;if(!v&&s)return s;const g=f(v);return v&&(l=g),v||(s=g),g}return{init:c,destroy:d,get:m}}function jv(t,n,r,a,o,l){const{measureSize:s,startEdge:i,endEdge:u}=t,c=r[0]&&o,d=v(),f=g(),m=r.map(s),p=h();function v(){if(!c)return 0;const b=r[0];return N(n[i]-b[i])}function g(){if(!c)return 0;const b=l.getComputedStyle(we(a));return parseFloat(b.getPropertyValue(`margin-${u}`))}function h(){return r.map((b,w,B)=>{const x=!w,S=Qr(B,w);return x?m[w]+d:S?m[w]+f:B[w+1][i]-b[i]}).map(N)}return{slideSizes:m,slideSizesWithGaps:p,startGap:d,endGap:f}}function Kv(t,n,r,a,o,l,s,i,u){const{startEdge:c,endEdge:d,direction:f}=t,m=Yr(r);function p(y,b){return Lt(y).filter(w=>w%b===0).map(w=>y.slice(w,w+b))}function v(y){return y.length?Lt(y).reduce((b,w,B)=>{const x=we(b)||0,S=x===0,_=w===jt(y),P=o[c]-l[x][c],T=o[c]-l[w][d],k=!a&&S?f(s):0,O=!a&&_?f(i):0,$=N(T-O-(P+k));return B&&$>n+u&&b.push(w),_&&b.push(y.length),b},[]).map((b,w,B)=>{const x=Math.max(B[w-1]||0);return y.slice(x,b)}):[]}function g(y){return m?p(y,r):v(y)}return{groupSlides:g}}function Hv(t,n,r,a,o,l,s){const{align:i,axis:u,direction:c,startIndex:d,loop:f,duration:m,dragFree:p,dragThreshold:v,inViewThreshold:g,slidesToScroll:h,skipSnaps:y,containScroll:b,watchResize:w,watchSlides:B,watchDrag:x,watchFocus:S}=l,_=2,P=Bv(),T=P.measure(n),k=r.map(P.measure),O=xv(u,c),$=O.measureSize(T),R=kv($),I=bv(i,$),L=!f&&!!b,W=f||!!b,{slideSizes:Q,slideSizesWithGaps:q,startGap:D,endGap:F}=jv(O,T,k,r,W,o),H=Kv(O,$,h,f,T,k,D,F,_),{snaps:ie,snapsAligned:fe}=Dv(O,I,T,k,H),ue=-we(ie)+we(q),{snapsContained:Se,scrollContainLimit:nt}=$v($,ue,fe,b,_),ee=L?Se:fe,{limit:J}=Tv(ue,ee,f),le=Il(jt(ee),d,f),ne=le.clone(),Y=Lt(r),M=({dragHandler:_t,scrollBody:ia,scrollBounds:ua,options:{loop:Dn}})=>{Dn||ua.constrain(_t.pointerDown()),ia.seek()},G=({scrollBody:_t,translate:ia,location:ua,offsetLocation:Dn,previousLocation:s0,scrollLooper:i0,slideLooper:u0,dragHandler:c0,animation:d0,eventHandler:rs,scrollBounds:f0,options:{loop:as}},os)=>{const ls=_t.settled(),p0=!f0.shouldConstrain(),ss=as?ls:ls&&p0,is=ss&&!c0.pointerDown();is&&d0.stop();const m0=ua.get()*os+s0.get()*(1-os);Dn.set(m0),as&&(i0.loop(_t.direction()),u0.loop()),ia.to(Dn.get()),is&&rs.emit("settle"),ss||rs.emit("scroll")},re=wv(a,o,()=>M(sa),_t=>G(sa,_t)),se=.68,Pe=ee[le.get()],Me=Ut(Pe),rt=Ut(Pe),We=Ut(Pe),at=Ut(Pe),Gt=Pv(Me,We,rt,at,m,se),oa=Mv(f,ee,ue,J,at),la=Iv(re,le,ne,Gt,oa,at,s),es=Av(J),ts=Ht(),o0=Lv(n,r,s,g),{slideRegistry:ns}=Vv(L,b,ee,nt,H,Y),l0=Rv(t,r,ns,la,Gt,ts,s,S),sa={ownerDocument:a,ownerWindow:o,eventHandler:s,containerRect:T,slideRects:k,animation:re,axis:O,dragHandler:Cv(O,t,a,o,at,_v(O,o),Me,re,la,Gt,oa,le,s,R,p,v,y,se,x),eventStore:ts,percentOfView:R,index:le,indexPrevious:ne,limit:J,location:Me,offsetLocation:We,previousLocation:rt,options:l,resizeHandler:Sv(n,s,o,r,O,w,P),scrollBody:Gt,scrollBounds:Ev(J,We,at,Gt,R),scrollLooper:Ov(ue,J,We,[Me,We,rt,at]),scrollProgress:es,scrollSnapList:ee.map(es.get),scrollSnaps:ee,scrollTarget:oa,scrollTo:la,slideLooper:Fv(O,$,ue,Q,q,ie,ee,We,r),slideFocus:l0,slidesHandler:zv(n,s,B),slidesInView:o0,slideIndexes:Y,slideRegistry:ns,slidesToScroll:H,target:at,translate:Rl(O,n)};return sa}function Uv(){let t={},n;function r(c){n=c}function a(c){return t[c]||[]}function o(c){return a(c).forEach(d=>d(n,c)),u}function l(c,d){return t[c]=a(c).concat([d]),u}function s(c,d){return t[c]=a(c).filter(f=>f!==d),u}function i(){t={}}const u={init:r,emit:o,off:s,on:l,clear:i};return u}const Wv={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Gv(t){function n(l,s){return Ml(l,s||{})}function r(l){const s=l.breakpoints||{},i=Kt(s).filter(u=>t.matchMedia(u).matches).map(u=>s[u]).reduce((u,c)=>n(u,c),{});return n(l,i)}function a(l){return l.map(s=>Kt(s.breakpoints||{})).reduce((s,i)=>s.concat(i),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:r,optionsMediaQueries:a}}function qv(t){let n=[];function r(l,s){return n=s.filter(({options:i})=>t.optionsAtMedia(i).active!==!1),n.forEach(i=>i.init(l,t)),s.reduce((i,u)=>Object.assign(i,{[u.name]:u}),{})}function a(){n=n.filter(l=>l.destroy())}return{init:r,destroy:a}}function Sn(t,n,r){const a=t.ownerDocument,o=a.defaultView,l=Gv(o),s=qv(l),i=Ht(),u=Uv(),{mergeOptions:c,optionsAtMedia:d,optionsMediaQueries:f}=l,{on:m,off:p,emit:v}=u,g=O;let h=!1,y,b=c(Wv,Sn.globalOptions),w=c(b),B=[],x,S,_;function P(){const{container:Y,slides:M}=w;S=(Xr(Y)?t.querySelector(Y):Y)||t.children[0];const re=Xr(M)?S.querySelectorAll(M):M;_=[].slice.call(re||S.children)}function T(Y){const M=Hv(t,S,_,a,o,Y,u);if(Y.loop&&!M.slideLooper.canLoop()){const G=Object.assign({},Y,{loop:!1});return T(G)}return M}function k(Y,M){h||(b=c(b,Y),w=d(b),B=M||B,P(),y=T(w),f([b,...B.map(({options:G})=>G)]).forEach(G=>i.add(G,"change",O)),w.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(ne),y.eventHandler.init(ne),y.resizeHandler.init(ne),y.slidesHandler.init(ne),y.options.loop&&y.slideLooper.loop(),S.offsetParent&&_.length&&y.dragHandler.init(ne),x=s.init(ne,B)))}function O(Y,M){const G=H();$(),k(c({startIndex:G},Y),M),u.emit("reInit")}function $(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),s.destroy(),i.clear()}function R(){h||(h=!0,i.clear(),$(),u.emit("destroy"),u.clear())}function I(Y,M,G){!w.active||h||(y.scrollBody.useBaseFriction().useDuration(M===!0?0:w.duration),y.scrollTo.index(Y,G||0))}function L(Y){const M=y.index.add(1).get();I(M,Y,-1)}function W(Y){const M=y.index.add(-1).get();I(M,Y,1)}function Q(){return y.index.add(1).get()!==H()}function q(){return y.index.add(-1).get()!==H()}function D(){return y.scrollSnapList}function F(){return y.scrollProgress.get(y.offsetLocation.get())}function H(){return y.index.get()}function ie(){return y.indexPrevious.get()}function fe(){return y.slidesInView.get()}function ue(){return y.slidesInView.get(!1)}function Se(){return x}function nt(){return y}function ee(){return t}function J(){return S}function le(){return _}const ne={canScrollNext:Q,canScrollPrev:q,containerNode:J,internalEngine:nt,destroy:R,off:p,on:m,emit:v,plugins:Se,previousScrollSnap:ie,reInit:g,rootNode:ee,scrollNext:L,scrollPrev:W,scrollProgress:F,scrollSnapList:D,scrollTo:I,selectedScrollSnap:H,slideNodes:le,slidesInView:fe,slidesNotInView:ue};return k(n,r),setTimeout(()=>u.emit("init"),0),ne}Sn.globalOptions=void 0;function Nr(t={},n=[]){const r=e.isRef(t),a=e.isRef(n);let o=r?t.value:t,l=a?n.value:n;const s=e.shallowRef(),i=e.shallowRef();function u(){i.value&&i.value.reInit(o,l)}return e.onMounted(()=>{!vv()||!s.value||(Sn.globalOptions=Nr.globalOptions,i.value=Sn(s.value,o,l))}),e.onBeforeUnmount(()=>{i.value&&i.value.destroy()}),r&&e.watch(t,c=>{qr(o,c)||(o=c,u())}),a&&e.watch(n,c=>{gv(l,c)||(l=c,u())}),[s,i]}Nr.globalOptions=void 0;const[Yv,Xv]=iv(({opts:t,orientation:n,plugins:r},a)=>{const[o,l]=Nr({...t,axis:n==="horizontal"?"x":"y"},r);function s(){var f;(f=l.value)==null||f.scrollPrev()}function i(){var f;(f=l.value)==null||f.scrollNext()}const u=e.ref(!1),c=e.ref(!1);function d(f){u.value=(f==null?void 0:f.canScrollNext())||!1,c.value=(f==null?void 0:f.canScrollPrev())||!1}return e.onMounted(()=>{var f,m,p;l.value&&((f=l.value)==null||f.on("init",d),(m=l.value)==null||m.on("reInit",d),(p=l.value)==null||p.on("select",d),a("init-api",l.value))}),{carouselRef:o,carouselApi:l,canScrollPrev:c,canScrollNext:u,scrollPrev:s,scrollNext:i,orientation:n}});function Wt(){const t=Xv();if(!t)throw new Error("useCarousel must be used within a ");return t}const Zv=e.defineComponent({__name:"Carousel",props:{opts:{},plugins:{},orientation:{default:"horizontal"},class:{}},emits:["init-api"],setup(t,{expose:n,emit:r}){const a=t,o=r,{canScrollNext:l,canScrollPrev:s,carouselApi:i,carouselRef:u,orientation:c,scrollNext:d,scrollPrev:f}=Yv(a,o);n({canScrollNext:l,canScrollPrev:s,carouselApi:i,carouselRef:u,orientation:c,scrollNext:d,scrollPrev:f});function m(p){const v=a.orientation==="vertical"?"ArrowUp":"ArrowLeft",g=a.orientation==="vertical"?"ArrowDown":"ArrowRight";if(p.key===v){p.preventDefault(),f();return}p.key===g&&(p.preventDefault(),d())}return(p,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("relative",a.class)),role:"region","aria-roledescription":"carousel",tabindex:"0",onKeydown:m},[e.renderSlot(p.$slots,"default",{canScrollNext:e.unref(l),canScrollPrev:e.unref(s),carouselApi:e.unref(i),carouselRef:e.unref(u),orientation:e.unref(c),scrollNext:e.unref(d),scrollPrev:e.unref(f)})],34))}}),Qv=e.defineComponent({inheritAttrs:!1,__name:"CarouselContent",props:{class:{}},setup(t){const n=t,{carouselRef:r,orientation:a}=Wt();return(o,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"carouselRef",ref:r,class:"overflow-hidden"},[e.createElementVNode("div",e.mergeProps({class:e.unref(A)("flex",e.unref(a)==="horizontal"?"-ml-4":"-mt-4 flex-col",n.class)},o.$attrs),[e.renderSlot(o.$slots,"default")],16)],512))}}),Jv=e.defineComponent({__name:"CarouselItem",props:{class:{}},setup(t){const n=t,{orientation:r}=Wt();return(a,o)=>(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(r)==="horizontal"?"pl-4":"pt-4",n.class))},[e.renderSlot(a.$slots,"default")],2))}}),Nv=e.defineComponent({__name:"CarouselPrevious",props:{class:{}},setup(t){const n=t,{orientation:r,canScrollPrev:a,scrollPrev:o}=Wt();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Gr),{disabled:!e.unref(a),class:e.normalizeClass(e.unref(A)("touch-manipulation absolute size-8 rounded-full p-0",e.unref(r)==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",n.class)),variant:"outline",onClick:e.unref(o)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(e.unref(Sm),{class:"size-4 text-current"}),s[0]||(s[0]=e.createElementVNode("span",{class:"sr-only"},"Previous Slide",-1))])]),_:3},8,["disabled","class","onClick"]))}}),eg=e.defineComponent({__name:"CarouselNext",props:{class:{}},setup(t){const n=t,{orientation:r,canScrollNext:a,scrollNext:o}=Wt();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Gr),{disabled:!e.unref(a),class:e.normalizeClass(e.unref(A)("touch-manipulation absolute size-8 rounded-full p-0",e.unref(r)==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",n.class)),variant:"outline",onClick:e.unref(o)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(e.unref(Pm),{class:"size-4 text-current"}),s[0]||(s[0]=e.createElementVNode("span",{class:"sr-only"},"Next Slide",-1))])]),_:3},8,["disabled","class","onClick"]))}});/** +Defaulting to \`null\`.`),null)}function Id(t){return Ir(t)&&!Number.isNaN(t)&&t>0?t:(console.error(`Invalid prop \`max\` of value \`${t}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${Ot}\`.`),Ot)}const Rd=e.defineComponent({__name:"ProgressRoot",props:{modelValue:{},max:{default:Ot},getValueLabel:{type:Function,default:(t,n)=>`${Math.round(t/n*Ot)}%`},asChild:{type:Boolean},as:{}},emits:["update:modelValue","update:max"],setup(t,{emit:n}){const r=t,a=n;E();const o=Y(r,"modelValue",a,{passive:r.modelValue===void 0}),l=Y(r,"max",a,{passive:r.max===void 0});e.watch(()=>o.value,async i=>{const u=Md(i,r.max);u!==i&&(await e.nextTick(),o.value=u)},{immediate:!0}),e.watch(()=>r.max,i=>{const u=Id(r.max);u!==i&&(l.value=u)},{immediate:!0});const s=e.computed(()=>lt(o.value)?"indeterminate":o.value===l.value?"complete":"loading");return Vd({modelValue:o,max:l,progressState:s}),(i,u)=>(e.openBlock(),e.createBlock(e.unref(V),{"as-child":i.asChild,as:i.as,"aria-valuemax":e.unref(l),"aria-valuemin":0,"aria-valuenow":Ir(e.unref(o))?e.unref(o):void 0,"aria-valuetext":i.getValueLabel(e.unref(o),e.unref(l)),"aria-label":i.getValueLabel(e.unref(o),e.unref(l)),role:"progressbar","data-state":s.value,"data-value":e.unref(o)??void 0,"data-max":e.unref(l)},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{modelValue:e.unref(o)})]),_:3},8,["as-child","as","aria-valuemax","aria-valuenow","aria-valuetext","aria-label","data-state","data-value","data-max"]))}}),Fd=e.defineComponent({__name:"ProgressIndicator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,r=Dd();return E(),(a,o)=>{var l;return e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{"data-state":e.unref(r).progressState.value,"data-value":((l=e.unref(r).modelValue)==null?void 0:l.value)??void 0,"data-max":e.unref(r).max.value}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["data-state","data-value","data-max"])}}}),zd=["default-value"],Ld=e.defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(t){const n=t,{value:r}=e.toRefs(n),a=e.ref();return(o,l)=>(e.openBlock(),e.createBlock(e.unref($t),{"as-child":""},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("select",e.mergeProps({ref_key:"selectElement",ref:a},n,{"onUpdate:modelValue":l[0]||(l[0]=s=>e.isRef(r)?r.value=s:null),"default-value":e.unref(r)}),[e.renderSlot(o.$slots,"default")],16,zd),[[e.vModelSelect,e.unref(r)]])]),_:3}))}}),jd={key:0,value:""},[Xe,To]=H("SelectRoot"),[Kd,Hd]=H("SelectRoot"),Ud=e.defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:n}){const r=t,a=n,o=Y(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),l=Y(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0}),s=e.ref(),i=e.ref(),u=e.ref({x:0,y:0}),c=e.ref(!1),{required:d,disabled:f,dir:m}=e.toRefs(r),p=Re(m);To({triggerElement:s,onTriggerChange:y=>{s.value=y},valueElement:i,onValueElementChange:y=>{i.value=y},valueElementHasChildren:c,onValueElementHasChildrenChange:y=>{c.value=y},contentId:"",modelValue:o,onValueChange:y=>{o.value=y},open:l,required:d,onOpenChange:y=>{l.value=y},dir:p,triggerPointerDownPosRef:u,disabled:f});const v=on(s),h=e.ref(new Set),g=e.computed(()=>Array.from(h.value).map(y=>{var b;return(b=y.props)==null?void 0:b.value}).join(";"));return Hd({onNativeOptionAdd:y=>{h.value.add(y)},onNativeOptionRemove:y=>{h.value.delete(y)}}),(y,b)=>(e.openBlock(),e.createBlock(e.unref(ft),null,{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default",{modelValue:e.unref(o),open:e.unref(l)}),e.unref(v)?(e.openBlock(),e.createBlock(Ld,e.mergeProps({key:g.value},y.$attrs,{"aria-hidden":"true",tabindex:"-1",required:e.unref(d),name:y.name,autocomplete:y.autocomplete,disabled:e.unref(f),value:e.unref(o),onChange:b[0]||(b[0]=w=>o.value=w.target.value)}),{default:e.withCtx(()=>[e.unref(o)===void 0?(e.openBlock(),e.createElementBlock("option",jd)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Array.from(h.value),w=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(w),e.mergeProps({ref_for:!0},w.props,{key:w.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):e.createCommentVNode("",!0)]),_:3}))}}),Wd=[" ","Enter","ArrowUp","ArrowDown"],qd=[" ","Enter"],ge=10;function Oo(t){return t===""||lt(t)}const Gd=e.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=Xe(),a=e.computed(()=>{var p;return((p=r.disabled)==null?void 0:p.value)||n.disabled}),{forwardRef:o,currentElement:l}=E();r.contentId||(r.contentId=ee(void 0,"radix-vue-select-content")),e.onMounted(()=>{r.triggerElement=l});const{injectCollection:s}=it(),i=s(),{search:u,handleTypeaheadSearch:c,resetTypeahead:d}=pr(i);function f(){a.value||(r.onOpenChange(!0),d())}function m(p){f(),r.triggerPointerDownPosRef.value={x:Math.round(p.pageX),y:Math.round(p.pageY)}}return(p,v)=>(e.openBlock(),e.createBlock(e.unref(Et),{"as-child":""},{default:e.withCtx(()=>{var h,g,y,b;return[e.createVNode(e.unref(V),{ref:e.unref(o),role:"combobox",type:p.as==="button"?"button":void 0,"aria-controls":e.unref(r).contentId,"aria-expanded":e.unref(r).open.value||!1,"aria-required":(h=e.unref(r).required)==null?void 0:h.value,"aria-autocomplete":"none",disabled:a.value,dir:(g=e.unref(r))==null?void 0:g.dir.value,"data-state":(y=e.unref(r))!=null&&y.open.value?"open":"closed","data-disabled":a.value?"":void 0,"data-placeholder":e.unref(Oo)((b=e.unref(r).modelValue)==null?void 0:b.value)?"":void 0,"as-child":p.asChild,as:p.as,onClick:v[0]||(v[0]=w=>{var _;(_=w==null?void 0:w.currentTarget)==null||_.focus()}),onPointerdown:v[1]||(v[1]=w=>{if(w.pointerType==="touch")return w.preventDefault();const _=w.target;_.hasPointerCapture(w.pointerId)&&_.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&(m(w),w.preventDefault())}),onPointerup:v[2]||(v[2]=e.withModifiers(w=>{w.pointerType==="touch"&&m(w)},["prevent"])),onKeydown:v[3]||(v[3]=w=>{const _=e.unref(u)!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&_&&w.key===" "||(e.unref(c)(w.key),e.unref(Wd).includes(w.key)&&(f(),w.preventDefault()))})},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),Yd=e.defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ct),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[Rr,Xd]=H("SelectItemAlignedPosition"),Qd=e.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(t,{emit:n}){const r=t,a=n,{injectCollection:o}=it(),l=Xe(),s=Qe(),i=o(),u=e.ref(!1),c=e.ref(!0),d=e.ref(),{forwardRef:f,currentElement:m}=E(),{viewport:p,selectedItem:v,selectedItemText:h,focusSelectedItem:g}=s;function y(){if(l.triggerElement.value&&l.valueElement.value&&d.value&&m.value&&p!=null&&p.value&&v!=null&&v.value&&h!=null&&h.value){const _=l.triggerElement.value.getBoundingClientRect(),x=m.value.getBoundingClientRect(),S=l.valueElement.value.getBoundingClientRect(),B=h.value.getBoundingClientRect();if(l.dir.value!=="rtl"){const N=B.left-x.left,Z=S.left-N,oe=_.left-Z,te=_.width+oe,G=Math.max(te,x.width),M=window.innerWidth-ge,W=nn(Z,ge,Math.max(ge,M-G));d.value.style.minWidth=`${te}px`,d.value.style.left=`${W}px`}else{const N=x.right-B.right,Z=window.innerWidth-S.right-N,oe=window.innerWidth-_.right-Z,te=_.width+oe,G=Math.max(te,x.width),M=window.innerWidth-ge,W=nn(Z,ge,Math.max(ge,M-G));d.value.style.minWidth=`${te}px`,d.value.style.right=`${W}px`}const P=i.value,T=window.innerHeight-ge*2,k=p.value.scrollHeight,O=window.getComputedStyle(m.value),$=Number.parseInt(O.borderTopWidth,10),R=Number.parseInt(O.paddingTop,10),I=Number.parseInt(O.borderBottomWidth,10),L=Number.parseInt(O.paddingBottom,10),U=$+R+k+L+I,Q=Math.min(v.value.offsetHeight*5,U),q=window.getComputedStyle(p.value),D=Number.parseInt(q.paddingTop,10),F=Number.parseInt(q.paddingBottom,10),K=_.top+_.height/2-ge,se=T-K,de=v.value.offsetHeight/2,ie=v.value.offsetTop+de,ke=$+R+ie,Ne=U-ke;if(ke<=K){const N=v.value===P[P.length-1];d.value.style.bottom="0px";const Z=m.value.clientHeight-p.value.offsetTop-p.value.offsetHeight,oe=Math.max(se,de+(N?F:0)+Z+I),te=ke+oe;d.value.style.height=`${te}px`}else{const N=v.value===P[0];d.value.style.top="0px";const Z=Math.max(K,$+p.value.offsetTop+(N?D:0)+de)+Ne;d.value.style.height=`${Z}px`,p.value.scrollTop=ke-K+p.value.offsetTop}d.value.style.margin=`${ge}px 0`,d.value.style.minHeight=`${Q}px`,d.value.style.maxHeight=`${T}px`,a("placed"),requestAnimationFrame(()=>u.value=!0)}}const b=e.ref("");e.onMounted(async()=>{await e.nextTick(),y(),m.value&&(b.value=window.getComputedStyle(m.value).zIndex)});function w(_){_&&c.value===!0&&(y(),g==null||g(),c.value=!1)}return Xd({contentWrapper:d,shouldExpandOnScrollRef:u,onScrollButtonChange:w}),(_,x)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"contentWrapperElement",ref:d,style:e.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:b.value})},[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(f),style:{boxSizing:"border-box",maxHeight:"100%"}},{..._.$attrs,...r}),{default:e.withCtx(()=>[e.renderSlot(_.$slots,"default")]),_:3},16)],4))}}),Zd=e.defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:ge},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=ae(t);return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pt),e.mergeProps(e.unref(n),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),ht={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Qe,Jd]=H("SelectContent"),Nd=e.defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=Xe();dr(),kt(r.bodyLock);const{createCollection:l}=it(),s=e.ref();St(s);const i=l(s),{search:u,handleTypeaheadSearch:c}=pr(i),d=e.ref(),f=e.ref(),m=e.ref(),p=e.ref(!1),v=e.ref(!1);function h(){f.value&&s.value&&kr([f.value,s.value])}e.watch(p,()=>{h()});const{onOpenChange:g,triggerPointerDownPosRef:y}=o;e.watchEffect(x=>{if(!s.value)return;let S={x:0,y:0};const B=T=>{var k,O;S={x:Math.abs(Math.round(T.pageX)-(((k=y.value)==null?void 0:k.x)??0)),y:Math.abs(Math.round(T.pageY)-(((O=y.value)==null?void 0:O.y)??0))}},P=T=>{var k;T.pointerType!=="touch"&&(S.x<=10&&S.y<=10?T.preventDefault():(k=s.value)!=null&&k.contains(T.target)||g(!1),document.removeEventListener("pointermove",B),y.value=null)};y.value!==null&&(document.addEventListener("pointermove",B),document.addEventListener("pointerup",P,{capture:!0,once:!0})),x(()=>{document.removeEventListener("pointermove",B),document.removeEventListener("pointerup",P,{capture:!0})})});function b(x){const S=x.ctrlKey||x.altKey||x.metaKey;if(x.key==="Tab"&&x.preventDefault(),!S&&x.key.length===1&&c(x.key),["ArrowUp","ArrowDown","Home","End"].includes(x.key)){let B=i.value;if(["ArrowUp","End"].includes(x.key)&&(B=B.slice().reverse()),["ArrowUp","ArrowDown"].includes(x.key)){const P=x.target,T=B.indexOf(P);B=B.slice(T+1)}setTimeout(()=>kr(B)),x.preventDefault()}}const w=e.computed(()=>r.position==="popper"?r:{}),_=ae(w.value);return Jd({content:s,viewport:d,onViewportChange:x=>{d.value=x},itemRefCallback:(x,S,B)=>{var P,T;const k=!v.value&&!B;(((P=o.modelValue)==null?void 0:P.value)!==void 0&&((T=o.modelValue)==null?void 0:T.value)===S||k)&&(f.value=x,k&&(v.value=!0))},selectedItem:f,selectedItemText:m,onItemLeave:()=>{var x;(x=s.value)==null||x.focus()},itemTextRefCallback:(x,S,B)=>{var P,T;const k=!v.value&&!B;(((P=o.modelValue)==null?void 0:P.value)!==void 0&&((T=o.modelValue)==null?void 0:T.value)===S||k)&&(m.value=x)},focusSelectedItem:h,position:r.position,isPositioned:p,searchRef:u}),(x,S)=>(e.openBlock(),e.createBlock(e.unref(fn),{"as-child":"",onMountAutoFocus:S[6]||(S[6]=e.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:S[7]||(S[7]=B=>{var P;a("closeAutoFocus",B),!B.defaultPrevented&&((P=e.unref(o).triggerElement.value)==null||P.focus({preventScroll:!0}),B.preventDefault())})},{default:e.withCtx(()=>[e.createVNode(e.unref(dt),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:S[2]||(S[2]=e.withModifiers(()=>{},["prevent"])),onDismiss:S[3]||(S[3]=B=>e.unref(o).onOpenChange(!1)),onEscapeKeyDown:S[4]||(S[4]=B=>a("escapeKeyDown",B)),onPointerDownOutside:S[5]||(S[5]=B=>a("pointerDownOutside",B))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(x.position==="popper"?Zd:Qd),e.mergeProps({...x.$attrs,...e.unref(_)},{id:e.unref(o).contentId,ref:B=>{s.value=e.unref(fe)(B)},role:"listbox","data-state":e.unref(o).open.value?"open":"closed",dir:e.unref(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:S[0]||(S[0]=e.withModifiers(()=>{},["prevent"])),onPlaced:S[1]||(S[1]=B=>p.value=!0),onKeydown:b}),{default:e.withCtx(()=>[e.renderSlot(x.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),ef=e.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{}},setup(t){return To(t.context),(n,r)=>e.renderSlot(n.$slots,"default")}}),tf={key:1},nf=e.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=z(r,n),o=Xe(),l=e.ref();e.onMounted(()=>{l.value=new DocumentFragment});const s=e.ref(),i=e.computed(()=>r.forceMount||o.open.value);return(u,c)=>{var d;return i.value?(e.openBlock(),e.createBlock(e.unref(pe),{key:0,ref_key:"presenceRef",ref:s,present:!0},{default:e.withCtx(()=>[e.createVNode(Nd,e.normalizeProps(e.guardReactiveProps({...e.unref(a),...u.$attrs})),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},512)):!((d=s.value)!=null&&d.present)&&l.value?(e.openBlock(),e.createElementBlock("div",tf,[(e.openBlock(),e.createBlock(e.Teleport,{to:l.value},[e.createVNode(ef,{context:e.unref(o)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):e.createCommentVNode("",!0)}}}),rf=e.defineComponent({__name:"SelectSeparator",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({"aria-hidden":"true"},n),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),[Ao,af]=H("SelectItem"),of=e.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,{disabled:r}=e.toRefs(n),a=Xe(),o=Qe(ht),{forwardRef:l,currentElement:s}=E(),i=e.computed(()=>{var h;return((h=a.modelValue)==null?void 0:h.value)===n.value}),u=e.ref(!1),c=e.ref(n.textValue??""),d=ee(void 0,"radix-vue-select-item-text");async function f(h){await e.nextTick(),!(h!=null&&h.defaultPrevented)&&(r.value||(a.onValueChange(n.value),a.onOpenChange(!1)))}async function m(h){var g;await e.nextTick(),!h.defaultPrevented&&(r.value?(g=o.onItemLeave)==null||g.call(o):h.currentTarget.focus({preventScroll:!0}))}async function p(h){var g;await e.nextTick(),!h.defaultPrevented&&h.currentTarget===re()&&((g=o.onItemLeave)==null||g.call(o))}async function v(h){var g;await e.nextTick(),!(h.defaultPrevented||((g=o.searchRef)==null?void 0:g.value)!==""&&h.key===" ")&&(qd.includes(h.key)&&f(),h.key===" "&&h.preventDefault())}if(n.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return e.onMounted(()=>{s.value&&o.itemRefCallback(s.value,n.value,n.disabled)}),af({value:n.value,disabled:r,textId:d,isSelected:i,onItemTextChange:h=>{c.value=((c.value||(h==null?void 0:h.textContent))??"").trim()}}),(h,g)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(l),role:"option","data-radix-vue-collection-item":"","aria-labelledby":e.unref(d),"data-highlighted":u.value?"":void 0,"aria-selected":i.value,"data-state":i.value?"checked":"unchecked","aria-disabled":e.unref(r)||void 0,"data-disabled":e.unref(r)?"":void 0,tabindex:e.unref(r)?void 0:-1,as:h.as,"as-child":h.asChild,onFocus:g[0]||(g[0]=y=>u.value=!0),onBlur:g[1]||(g[1]=y=>u.value=!1),onPointerup:f,onPointerdown:g[2]||(g[2]=y=>{y.currentTarget.focus({preventScroll:!0})}),onTouchend:g[3]||(g[3]=e.withModifiers(()=>{},["prevent","stop"])),onPointermove:m,onPointerleave:p,onKeydown:v},{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),lf=e.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=Ao();return(a,o)=>e.unref(r).isSelected.value?(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({key:0,"aria-hidden":"true"},n),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16)):e.createCommentVNode("",!0)}}),[sf,uf]=H("SelectGroup"),cf=e.defineComponent({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,r=ee(void 0,"radix-vue-select-group");return uf({id:r}),(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({role:"group"},n,{"aria-labelledby":e.unref(r)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),df=e.defineComponent({__name:"SelectLabel",props:{for:{},asChild:{type:Boolean},as:{default:"div"}},setup(t){const n=t,r=sf({id:""});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps(n,{id:e.unref(r).id}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),Do=e.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=Xe(),a=Qe(ht),o=Kd(),l=Ao(),{forwardRef:s,currentElement:i}=E(),u=e.computed(()=>{var c;return e.h("option",{key:l.value,value:l.value,disabled:l.disabled.value,textContent:(c=i.value)==null?void 0:c.textContent})});return e.onMounted(()=>{i.value&&(l.onItemTextChange(i.value),a.itemTextRefCallback(i.value,l.value,l.disabled.value),o.onNativeOptionAdd(u.value))}),e.onBeforeUnmount(()=>{o.onNativeOptionRemove(u.value)}),(c,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(V),e.mergeProps({id:e.unref(l).textId,ref:e.unref(s)},{...n,...c.$attrs},{"data-item-text":""}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["id"]),e.unref(l).isSelected.value&&e.unref(r).valueElement.value&&!e.unref(r).valueElementHasChildren.value?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:e.unref(r).valueElement.value},[e.renderSlot(c.$slots,"default")],8,["to"])):e.createCommentVNode("",!0)],64))}}),ff=e.defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,{nonce:r}=e.toRefs(n),a=Ec(r),o=Qe(ht),l=o.position==="item-aligned"?Rr():void 0,{forwardRef:s,currentElement:i}=E();e.onMounted(()=>{o==null||o.onViewportChange(i.value)});const u=e.ref(0);function c(d){const f=d.currentTarget,{shouldExpandOnScrollRef:m,contentWrapper:p}=l??{};if(m!=null&&m.value&&p!=null&&p.value){const v=Math.abs(u.value-f.scrollTop);if(v>0){const h=window.innerHeight-ge*2,g=Number.parseFloat(p.value.style.minHeight),y=Number.parseFloat(p.value.style.height),b=Math.max(g,y);if(b0?x:0,p.value.style.justifyContent="flex-end")}}}u.value=f.scrollTop}return(d,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(s),"data-radix-select-viewport":"",role:"presentation"},{...d.$attrs,...n},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:c}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},16),e.createVNode(e.unref(V),{as:"style",nonce:e.unref(a)},{default:e.withCtx(()=>[e.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),Vo=e.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(t,{emit:n}){const r=n,{injectCollection:a}=it(),o=a(),l=Qe(ht),s=e.ref(null);function i(){s.value!==null&&(window.clearInterval(s.value),s.value=null)}e.watchEffect(()=>{const d=o.value.find(f=>f===re());d==null||d.scrollIntoView({block:"nearest"})});function u(){s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}function c(){var d;(d=l.onItemLeave)==null||d.call(l),s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}return e.onBeforeUnmount(()=>i()),(d,f)=>{var m;return e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(m=d.$parent)==null?void 0:m.$props,{onPointerdown:u,onPointermove:c,onPointerleave:f[0]||(f[0]=()=>{i()})}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},16)}}}),pf=e.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(t){const n=Qe(ht),r=n.position==="item-aligned"?Rr():void 0,{forwardRef:a,currentElement:o}=E(),l=e.ref(!1);return e.watchEffect(s=>{var i,u;if((i=n.viewport)!=null&&i.value&&(u=n.isPositioned)!=null&&u.value){let c=function(){l.value=d.scrollTop>0};const d=n.viewport.value;c(),d.addEventListener("scroll",c),s(()=>d.removeEventListener("scroll",c))}}),e.watch(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(s,i)=>l.value?(e.openBlock(),e.createBlock(Vo,{key:0,ref:e.unref(a),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:u,selectedItem:c}=e.unref(n);u!=null&&u.value&&c!=null&&c.value&&(u.value.scrollTop=u.value.scrollTop-c.value.offsetHeight)})},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512)):e.createCommentVNode("",!0)}}),mf=e.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(t){const n=Qe(ht),r=n.position==="item-aligned"?Rr():void 0,{forwardRef:a,currentElement:o}=E(),l=e.ref(!1);return e.watchEffect(s=>{var i,u;if((i=n.viewport)!=null&&i.value&&(u=n.isPositioned)!=null&&u.value){let c=function(){const f=d.scrollHeight-d.clientHeight;l.value=Math.ceil(d.scrollTop)d.removeEventListener("scroll",c))}}),e.watch(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(s,i)=>l.value?(e.openBlock(),e.createBlock(Vo,{key:0,ref:e.unref(a),onAutoScroll:i[0]||(i[0]=()=>{const{viewport:u,selectedItem:c}=e.unref(n);u!=null&&u.value&&c!=null&&c.value&&(u.value.scrollTop=u.value.scrollTop+c.value.offsetHeight)})},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512)):e.createCommentVNode("",!0)}}),vf=e.defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(t){const{forwardRef:n,currentElement:r}=E(),a=Xe(),o=e.useSlots();return e.onBeforeMount(()=>{var l;const s=!!rn((l=o==null?void 0:o.default)==null?void 0:l.call(o)).length;a.onValueElementHasChildrenChange(s)}),e.onMounted(()=>{a.valueElement=r}),(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),{ref:e.unref(n),as:l.as,"as-child":l.asChild,style:{pointerEvents:"none"}},{default:e.withCtx(()=>{var i;return[e.unref(Oo)((i=e.unref(a).modelValue)==null?void 0:i.value)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.placeholder),1)],64)):e.renderSlot(l.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),hf=e.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return(n,r)=>(e.openBlock(),e.createBlock(e.unref(V),{"aria-hidden":"true",as:n.as,"as-child":n.asChild},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode("â–¼")])]),_:3},8,["as","as-child"]))}});function gf(t=[],n,r){const a=[...t];return a[r]=n,a.sort((o,l)=>o-l)}function Mo(t,n,r){const a=100/(r-n)*(t-n);return nn(a,0,100)}function yf(t,n){return n>2?`Value ${t+1} of ${n}`:n===2?["Minimum","Maximum"][t]:void 0}function bf(t,n){if(t.length===1)return 0;const r=t.map(o=>Math.abs(o-n)),a=Math.min(...r);return r.indexOf(a)}function wf(t,n,r){const a=t/2,o=Fr([0,50],[0,a]);return(a-o(n)*r)*r}function xf(t){return t.slice(0,-1).map((n,r)=>t[r+1]-n)}function Cf(t,n){if(n>0){const r=xf(t);return Math.min(...r)>=n}return!0}function Fr(t,n){return r=>{if(t[0]===t[1]||n[0]===n[1])return n[0];const a=(n[1]-n[0])/(t[1]-t[0]);return n[0]+a*(r-t[0])}}function _f(t){return(String(t).split(".")[1]||"").length}function Bf(t,n){const r=10**n;return Math.round(t*r)/r}const Io=["PageUp","PageDown"],Ro=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Fo={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},[zo,Lo]=H(["SliderVertical","SliderHorizontal"]),jo=e.defineComponent({__name:"SliderImpl",props:{asChild:{type:Boolean},as:{default:"span"}},emits:["slideStart","slideMove","slideEnd","homeKeyDown","endKeyDown","stepKeyDown"],setup(t,{emit:n}){const r=t,a=n,o=gn();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(V),e.mergeProps({"data-slider-impl":""},r,{onKeydown:s[0]||(s[0]=i=>{i.key==="Home"?(a("homeKeyDown",i),i.preventDefault()):i.key==="End"?(a("endKeyDown",i),i.preventDefault()):e.unref(Io).concat(e.unref(Ro)).includes(i.key)&&(a("stepKeyDown",i),i.preventDefault())}),onPointerdown:s[1]||(s[1]=i=>{const u=i.target;u.setPointerCapture(i.pointerId),i.preventDefault(),e.unref(o).thumbElements.value.includes(u)?u.focus():a("slideStart",i)}),onPointermove:s[2]||(s[2]=i=>{i.target.hasPointerCapture(i.pointerId)&&a("slideMove",i)}),onPointerup:s[3]||(s[3]=i=>{const u=i.target;u.hasPointerCapture(i.pointerId)&&(u.releasePointerCapture(i.pointerId),a("slideEnd",i))})}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),kf=e.defineComponent({__name:"SliderHorizontal",props:{dir:{},min:{},max:{},inverted:{type:Boolean}},emits:["slideEnd","slideStart","slideMove","homeKeyDown","endKeyDown","stepKeyDown"],setup(t,{emit:n}){const r=t,a=n,{max:o,min:l,dir:s,inverted:i}=e.toRefs(r),{forwardRef:u,currentElement:c}=E(),d=e.ref(),f=e.computed(()=>(s==null?void 0:s.value)==="ltr"&&!i.value||(s==null?void 0:s.value)!=="ltr"&&i.value);function m(p){const v=d.value||c.value.getBoundingClientRect(),h=[0,v.width],g=f.value?[l.value,o.value]:[o.value,l.value],y=Fr(h,g);return d.value=v,y(p-v.left)}return Lo({startEdge:f.value?"left":"right",endEdge:f.value?"right":"left",direction:f.value?1:-1,size:"width"}),(p,v)=>(e.openBlock(),e.createBlock(jo,{ref:e.unref(u),dir:e.unref(s),"data-orientation":"horizontal",style:{"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:v[0]||(v[0]=h=>{const g=m(h.clientX);a("slideStart",g)}),onSlideMove:v[1]||(v[1]=h=>{const g=m(h.clientX);a("slideMove",g)}),onSlideEnd:v[2]||(v[2]=()=>{d.value=void 0,a("slideEnd")}),onStepKeyDown:v[3]||(v[3]=h=>{const g=f.value?"from-left":"from-right",y=e.unref(Fo)[g].includes(h.key);a("stepKeyDown",h,y?-1:1)}),onEndKeyDown:v[4]||(v[4]=h=>a("endKeyDown",h)),onHomeKeyDown:v[5]||(v[5]=h=>a("homeKeyDown",h))},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["dir"]))}}),Sf=e.defineComponent({__name:"SliderVertical",props:{min:{},max:{},inverted:{type:Boolean}},emits:["slideEnd","slideStart","slideMove","homeKeyDown","endKeyDown","stepKeyDown"],setup(t,{emit:n}){const r=t,a=n,{max:o,min:l,inverted:s}=e.toRefs(r),{forwardRef:i,currentElement:u}=E(),c=e.ref(),d=e.computed(()=>!s.value);function f(m){const p=c.value||u.value.getBoundingClientRect(),v=[0,p.height],h=d.value?[o.value,l.value]:[l.value,o.value],g=Fr(v,h);return c.value=p,g(m-p.top)}return Lo({startEdge:d.value?"bottom":"top",endEdge:d.value?"top":"bottom",size:"height",direction:d.value?1:-1}),(m,p)=>(e.openBlock(),e.createBlock(jo,{ref:e.unref(i),"data-orientation":"vertical",style:{"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:p[0]||(p[0]=v=>{const h=f(v.clientY);a("slideStart",h)}),onSlideMove:p[1]||(p[1]=v=>{const h=f(v.clientY);a("slideMove",h)}),onSlideEnd:p[2]||(p[2]=()=>{c.value=void 0,a("slideEnd")}),onStepKeyDown:p[3]||(p[3]=v=>{const h=d.value?"from-bottom":"from-top",g=e.unref(Fo)[h].includes(v.key);a("stepKeyDown",v,g?-1:1)}),onEndKeyDown:p[4]||(p[4]=v=>a("endKeyDown",v)),onHomeKeyDown:p[5]||(p[5]=v=>a("homeKeyDown",v))},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},512))}}),Pf=["value","name","disabled","step"],[gn,Ef]=H("SliderRoot"),$f=e.defineComponent({inheritAttrs:!1,__name:"SliderRoot",props:{name:{},defaultValue:{default:()=>[0]},modelValue:{},disabled:{type:Boolean,default:!1},orientation:{default:"horizontal"},dir:{},inverted:{type:Boolean,default:!1},min:{default:0},max:{default:100},step:{default:1},minStepsBetweenThumbs:{default:0},asChild:{type:Boolean},as:{}},emits:["update:modelValue","valueCommit"],setup(t,{emit:n}){const r=t,a=n,{min:o,max:l,step:s,minStepsBetweenThumbs:i,orientation:u,disabled:c,dir:d}=e.toRefs(r),f=Re(d),{forwardRef:m,currentElement:p}=E(),v=on(p);Tr();const h=Y(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),g=e.ref(0),y=e.ref(h.value);function b(B){const P=bf(h.value,B);x(B,P)}function w(B){x(B,g.value)}function _(){const B=y.value[g.value];h.value[g.value]!==B&&a("valueCommit",e.toRaw(h.value))}function x(B,P,{commit:T}={commit:!1}){var k;const O=_f(s.value),$=Bf(Math.round((B-o.value)/s.value)*s.value+o.value,O),R=nn($,o.value,l.value),I=gf(h.value,R,P);if(Cf(I,i.value*s.value)){g.value=I.indexOf(R);const L=String(I)!==String(h.value);L&&T&&a("valueCommit",I),L&&((k=S.value[g.value])==null||k.focus(),h.value=I)}}const S=e.ref([]);return Ef({modelValue:h,valueIndexToChangeRef:g,thumbElements:S,orientation:u,min:o,max:l,disabled:c}),(B,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(Or),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(u)==="horizontal"?kf:Sf),e.mergeProps(B.$attrs,{ref:e.unref(m),"as-child":B.asChild,as:B.as,min:e.unref(o),max:e.unref(l),dir:e.unref(f),inverted:B.inverted,"aria-disabled":e.unref(c),"data-disabled":e.unref(c)?"":void 0,onPointerdown:P[0]||(P[0]=()=>{e.unref(c)||(y.value=e.unref(h))}),onSlideStart:P[1]||(P[1]=T=>!e.unref(c)&&b(T)),onSlideMove:P[2]||(P[2]=T=>!e.unref(c)&&w(T)),onSlideEnd:P[3]||(P[3]=T=>!e.unref(c)&&_()),onHomeKeyDown:P[4]||(P[4]=T=>!e.unref(c)&&x(e.unref(o),0,{commit:!0})),onEndKeyDown:P[5]||(P[5]=T=>!e.unref(c)&&x(e.unref(l),e.unref(h).length-1,{commit:!0})),onStepKeyDown:P[6]||(P[6]=(T,k)=>{if(!e.unref(c)){const O=e.unref(Io).includes(T.key)||T.shiftKey&&e.unref(Ro).includes(T.key)?10:1,$=g.value,R=e.unref(h)[$],I=e.unref(s)*O*k;x(R+I,$,{commit:!0})}})}),{default:e.withCtx(()=>[e.renderSlot(B.$slots,"default",{modelValue:e.unref(h)})]),_:3},16,["as-child","as","min","max","dir","inverted","aria-disabled","data-disabled"]))]),_:3}),e.unref(v)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(h),(T,k)=>(e.openBlock(),e.createElementBlock("input",{key:k,value:T,type:"number",style:{display:"none"},name:B.name?B.name+(e.unref(h).length>1?"[]":""):void 0,disabled:e.unref(c),step:e.unref(s)},null,8,Pf))),128)):e.createCommentVNode("",!0)],64))}}),Tf=e.defineComponent({inheritAttrs:!1,__name:"SliderThumbImpl",props:{index:{},asChild:{type:Boolean},as:{}},setup(t){const n=t,r=gn(),a=zo(),{forwardRef:o,currentElement:l}=E(),s=e.computed(()=>{var p,v;return(v=(p=r.modelValue)==null?void 0:p.value)==null?void 0:v[n.index]}),i=e.computed(()=>s.value===void 0?0:Mo(s.value,r.min.value??0,r.max.value??100)),u=e.computed(()=>{var p,v;return yf(n.index,((v=(p=r.modelValue)==null?void 0:p.value)==null?void 0:v.length)??0)}),c=ao(l),d=e.computed(()=>c[a.size].value),f=e.computed(()=>d.value?wf(d.value,i.value,a.direction):0),m=sr();return e.onMounted(()=>{r.thumbElements.value.push(l.value)}),e.onUnmounted(()=>{const p=r.thumbElements.value.findIndex(v=>v===l.value)??-1;r.thumbElements.value.splice(p,1)}),(p,v)=>(e.openBlock(),e.createBlock(e.unref(hn),null,{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps(p.$attrs,{ref:e.unref(o),role:"slider","data-radix-vue-collection-item":"",tabindex:e.unref(r).disabled.value?void 0:0,"aria-label":p.$attrs["aria-label"]||u.value,"data-disabled":e.unref(r).disabled.value?"":void 0,"data-orientation":e.unref(r).orientation.value,"aria-valuenow":s.value,"aria-valuemin":e.unref(r).min.value,"aria-valuemax":e.unref(r).max.value,"aria-orientation":e.unref(r).orientation.value,"as-child":p.asChild,as:p.as,style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[e.unref(a).startEdge]:`calc(${i.value}% + ${f.value}px)`,display:!e.unref(m)&&s.value===void 0?"none":void 0},onFocus:v[0]||(v[0]=()=>{e.unref(r).valueIndexToChangeRef.value=p.index})}),{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},16,["tabindex","aria-label","data-disabled","data-orientation","aria-valuenow","aria-valuemin","aria-valuemax","aria-orientation","as-child","as","style"])]),_:3}))}}),Of=e.defineComponent({__name:"SliderThumb",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t,{getItems:r}=Ar(),{forwardRef:a,currentElement:o}=E(),l=e.computed(()=>o.value?r().findIndex(s=>s.ref===o.value):-1);return(s,i)=>(e.openBlock(),e.createBlock(Tf,e.mergeProps({ref:e.unref(a)},n,{index:l.value}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["index"]))}}),Af=e.defineComponent({__name:"SliderTrack",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=gn();return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),{"as-child":r.asChild,as:r.as,"data-disabled":e.unref(n).disabled.value?"":void 0,"data-orientation":e.unref(n).orientation.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as","data-disabled","data-orientation"]))}}),Df=e.defineComponent({__name:"SliderRange",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=gn(),r=zo();E();const a=e.computed(()=>{var s,i;return(i=(s=n.modelValue)==null?void 0:s.value)==null?void 0:i.map(u=>Mo(u,n.min.value,n.max.value))}),o=e.computed(()=>n.modelValue.value.length>1?Math.min(...a.value):0),l=e.computed(()=>100-Math.max(...a.value));return(s,i)=>(e.openBlock(),e.createBlock(e.unref(V),{"data-disabled":e.unref(n).disabled.value?"":void 0,"data-orientation":e.unref(n).orientation.value,"as-child":s.asChild,as:s.as,style:e.normalizeStyle({[e.unref(r).startEdge]:`${o.value}%`,[e.unref(r).endEdge]:`${l.value}%`})},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["data-disabled","data-orientation","as-child","as","style"]))}});function Vf(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}Vf();const Mf=["name","disabled","required","value","checked","data-state","data-disabled"],[If,Rf]=H("SwitchRoot"),Ff=e.defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(t,{emit:n}){const r=t,a=n,{disabled:o}=e.toRefs(r),l=Y(r,"checked",a,{defaultValue:r.defaultChecked,passive:r.checked===void 0});function s(){o.value||(l.value=!l.value)}const{forwardRef:i,currentElement:u}=E(),c=on(u),d=e.computed(()=>{var f;return r.id&&u.value?(f=document.querySelector(`[for="${r.id}"]`))==null?void 0:f.innerText:void 0});return Rf({checked:l,toggleCheck:s,disabled:o}),(f,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(V),e.mergeProps(f.$attrs,{id:f.id,ref:e.unref(i),role:"switch",type:f.as==="button"?"button":void 0,value:f.value,"aria-label":f.$attrs["aria-label"]||d.value,"aria-checked":e.unref(l),"aria-required":f.required,"data-state":e.unref(l)?"checked":"unchecked","data-disabled":e.unref(o)?"":void 0,"as-child":f.asChild,as:f.as,disabled:e.unref(o),onClick:s,onKeydown:e.withKeys(e.withModifiers(s,["prevent"]),["enter"])}),{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{checked:e.unref(l)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),e.unref(c)?(e.openBlock(),e.createElementBlock("input",{key:0,type:"checkbox",name:f.name,tabindex:"-1","aria-hidden":"true",disabled:e.unref(o),required:f.required,value:f.value,checked:!!e.unref(l),"data-state":e.unref(l)?"checked":"unchecked","data-disabled":e.unref(o)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Mf)):e.createCommentVNode("",!0)],64))}}),zf=e.defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=If();return E(),(r,a)=>{var o;return e.openBlock(),e.createBlock(e.unref(V),{"data-state":(o=e.unref(n).checked)!=null&&o.value?"checked":"unchecked","data-disabled":e.unref(n).disabled.value?"":void 0,"as-child":r.asChild,as:r.as},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[zr,Lf]=H("TabsRoot"),jf=e.defineComponent({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,{orientation:o,dir:l}=e.toRefs(r),s=Re(l);E();const i=Y(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),u=e.ref();return Lf({modelValue:i,changeModelValue:c=>{i.value=c},orientation:o,dir:s,activationMode:r.activationMode,baseId:ee(void 0,"radix-vue-tabs"),tabsList:u}),(c,d)=>(e.openBlock(),e.createBlock(e.unref(V),{dir:e.unref(s),"data-orientation":e.unref(o),"as-child":c.asChild,as:c.as},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{modelValue:e.unref(i)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),Kf=e.defineComponent({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(t){const n=t,{loop:r}=e.toRefs(n),{forwardRef:a,currentElement:o}=E(),l=zr();return l.tabsList=o,(s,i)=>(e.openBlock(),e.createBlock(e.unref(xo),{"as-child":"",orientation:e.unref(l).orientation.value,dir:e.unref(l).dir.value,loop:e.unref(r)},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{ref:e.unref(a),role:"tablist","as-child":s.asChild,as:s.as,"aria-orientation":e.unref(l).orientation.value},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function Ko(t,n){return`${t}-trigger-${n}`}function Ho(t,n){return`${t}-content-${n}`}const Hf=e.defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=t,{forwardRef:r}=E(),a=zr(),o=e.computed(()=>Ko(a.baseId,n.value)),l=e.computed(()=>Ho(a.baseId,n.value)),s=e.computed(()=>n.value===a.modelValue.value),i=e.ref(s.value);return e.onMounted(()=>{requestAnimationFrame(()=>{i.value=!1})}),(u,c)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:s.value,"force-mount":""},{default:e.withCtx(({present:d})=>[e.createVNode(e.unref(V),{id:l.value,ref:e.unref(r),"as-child":u.asChild,as:u.as,role:"tabpanel","data-state":s.value?"active":"inactive","data-orientation":e.unref(a).orientation.value,"aria-labelledby":o.value,hidden:!d.value,tabindex:"0",style:e.normalizeStyle({animationDuration:i.value?"0s":void 0})},{default:e.withCtx(()=>[u.forceMount||s.value?e.renderSlot(u.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),Uf=e.defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,{forwardRef:r}=E(),a=zr(),o=e.computed(()=>Ko(a.baseId,n.value)),l=e.computed(()=>Ho(a.baseId,n.value)),s=e.computed(()=>n.value===a.modelValue.value);return(i,u)=>(e.openBlock(),e.createBlock(e.unref(Wc),{"as-child":"",focusable:!i.disabled,active:s.value},{default:e.withCtx(()=>[e.createVNode(e.unref(V),{id:o.value,ref:e.unref(r),role:"tab",type:i.as==="button"?"button":void 0,as:i.as,"as-child":i.asChild,"aria-selected":s.value?"true":"false","aria-controls":l.value,"data-state":s.value?"active":"inactive",disabled:i.disabled,"data-disabled":i.disabled?"":void 0,"data-orientation":e.unref(a).orientation.value,onMousedown:u[0]||(u[0]=e.withModifiers(c=>{!i.disabled&&c.ctrlKey===!1?e.unref(a).changeModelValue(i.value):c.preventDefault()},["left"])),onKeydown:u[1]||(u[1]=e.withKeys(c=>e.unref(a).changeModelValue(i.value),["enter","space"])),onFocus:u[2]||(u[2]=()=>{const c=e.unref(a).activationMode!=="manual";!s.value&&!i.disabled&&c&&e.unref(a).changeModelValue(i.value)})},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),[yn,Wf]=H("ToastProvider"),qf=e.defineComponent({inheritAttrs:!1,__name:"ToastProvider",props:{label:{default:"Notification"},duration:{default:5e3},swipeDirection:{default:"right"},swipeThreshold:{default:50}},setup(t){const n=t,{label:r,duration:a,swipeDirection:o,swipeThreshold:l}=e.toRefs(n),s=e.ref(),i=e.ref(0),u=e.ref(!1),c=e.ref(!1);if(n.label&&typeof n.label=="string"&&!n.label.trim()){const d="Invalid prop `label` supplied to `ToastProvider`. Expected non-empty `string`.";throw new Error(d)}return Wf({label:r,duration:a,swipeDirection:o,swipeThreshold:l,toastCount:i,viewport:s,onViewportChange(d){s.value=d},onToastAdd(){i.value++},onToastRemove(){i.value--},isFocusedToastEscapeKeyDownRef:u,isClosePausedRef:c}),(d,f)=>e.renderSlot(d.$slots,"default")}}),Gf="toast.swipeStart",Yf="toast.swipeMove",Xf="toast.swipeCancel",Qf="toast.swipeEnd",Lr="toast.viewportPause",jr="toast.viewportResume";function bn(t,n,r){const a=r.originalEvent.currentTarget,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});n&&a.addEventListener(t,n,{once:!0}),a.dispatchEvent(o)}function Uo(t,n,r=0){const a=Math.abs(t.x),o=Math.abs(t.y),l=a>o;return n==="left"||n==="right"?l&&a>r:!l&&o>r}function Zf(t){return t.nodeType===t.ELEMENT_NODE}function Wo(t){const n=[];return Array.from(t.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&n.push(r.textContent),Zf(r)){const a=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!a)if(o){const l=r.dataset.radixToastAnnounceAlt;l&&n.push(l)}else n.push(...Wo(r))}}),n}const Jf=e.defineComponent({__name:"ToastAnnounce",setup(t){const n=yn(),r=zi(1e3),a=e.ref(!1);return Ja(()=>{a.value=!0}),(o,l)=>e.unref(r)||a.value?(e.openBlock(),e.createBlock(e.unref($t),{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n).label.value)+" ",1),e.renderSlot(o.$slots,"default")]),_:3})):e.createCommentVNode("",!0)}}),[Nf,ep]=H("ToastRoot"),tp=e.defineComponent({inheritAttrs:!1,__name:"ToastRootImpl",props:{type:{},open:{type:Boolean,default:!1},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["close","escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=E(),s=yn(),i=e.ref(null),u=e.ref(null),c=e.computed(()=>typeof r.duration=="number"?r.duration:s.duration.value),d=e.ref(0),f=e.ref(c.value),m=e.ref(0),p=e.ref(c.value),v=Ja(()=>{const b=new Date().getTime()-d.value;p.value=Math.max(f.value-b,0)},{fpsLimit:60});function h(b){b<=0||b===Number.POSITIVE_INFINITY||_e&&(window.clearTimeout(m.value),d.value=new Date().getTime(),m.value=window.setTimeout(g,b))}function g(){var b,w;(b=l.value)!=null&&b.contains(re())&&((w=s.viewport.value)==null||w.focus()),s.isClosePausedRef.value=!1,a("close")}const y=e.computed(()=>l.value?Wo(l.value):null);if(r.type&&!["foreground","background"].includes(r.type)){const b="Invalid prop `type` supplied to `Toast`. Expected `foreground | background`.";throw new Error(b)}return e.watchEffect(b=>{const w=s.viewport.value;if(w){const _=()=>{h(f.value),v.resume(),a("resume")},x=()=>{const S=new Date().getTime()-d.value;f.value=f.value-S,window.clearTimeout(m.value),v.pause(),a("pause")};return w.addEventListener(Lr,x),w.addEventListener(jr,_),()=>{w.removeEventListener(Lr,x),w.removeEventListener(jr,_)}}}),e.watch(()=>[r.open,c.value],()=>{f.value=c.value,r.open&&!s.isClosePausedRef.value&&h(c.value)},{immediate:!0}),lr("Escape",b=>{a("escapeKeyDown",b),b.defaultPrevented||(s.isFocusedToastEscapeKeyDownRef.value=!0,g())}),e.onMounted(()=>{s.onToastAdd()}),e.onUnmounted(()=>{s.onToastRemove()}),ep({onClose:g}),(b,w)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[y.value?(e.openBlock(),e.createBlock(Jf,{key:0,role:"alert","aria-live":b.type==="foreground"?"assertive":"polite","aria-atomic":"true"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(y.value),1)]),_:1},8,["aria-live"])):e.createCommentVNode("",!0),e.unref(s).viewport.value?(e.openBlock(),e.createBlock(e.Teleport,{key:1,to:e.unref(s).viewport.value},[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(o),role:"alert","aria-live":"off","aria-atomic":"true",tabindex:"0","data-radix-vue-collection-item":""},b.$attrs,{as:b.as,"as-child":b.asChild,"data-state":b.open?"open":"closed","data-swipe-direction":e.unref(s).swipeDirection.value,style:{userSelect:"none",touchAction:"none"},onPointerdown:w[0]||(w[0]=e.withModifiers(_=>{i.value={x:_.clientX,y:_.clientY}},["left"])),onPointermove:w[1]||(w[1]=_=>{if(!i.value)return;const x=_.clientX-i.value.x,S=_.clientY-i.value.y,B=!!u.value,P=["left","right"].includes(e.unref(s).swipeDirection.value),T=["left","up"].includes(e.unref(s).swipeDirection.value)?Math.min:Math.max,k=P?T(0,x):0,O=P?0:T(0,S),$=_.pointerType==="touch"?10:2,R={x:k,y:O},I={originalEvent:_,delta:R};B?(u.value=R,e.unref(bn)(e.unref(Yf),L=>a("swipeMove",L),I)):e.unref(Uo)(R,e.unref(s).swipeDirection.value,$)?(u.value=R,e.unref(bn)(e.unref(Gf),L=>a("swipeStart",L),I),_.target.setPointerCapture(_.pointerId)):(Math.abs(x)>$||Math.abs(S)>$)&&(i.value=null)}),onPointerup:w[2]||(w[2]=_=>{const x=u.value,S=_.target;if(S.hasPointerCapture(_.pointerId)&&S.releasePointerCapture(_.pointerId),u.value=null,i.value=null,x){const B=_.currentTarget,P={originalEvent:_,delta:x};e.unref(Uo)(x,e.unref(s).swipeDirection.value,e.unref(s).swipeThreshold.value)?e.unref(bn)(e.unref(Qf),T=>a("swipeEnd",T),P):e.unref(bn)(e.unref(Xf),T=>a("swipeCancel",T),P),B==null||B.addEventListener("click",T=>T.preventDefault(),{once:!0})}})}),{default:e.withCtx(()=>[e.renderSlot(b.$slots,"default",{remaining:p.value,duration:c.value})]),_:3},16,["as","as-child","data-state","data-swipe-direction"])],8,["to"])):e.createCommentVNode("",!0)],64))}}),np=e.defineComponent({__name:"ToastRoot",props:{defaultOpen:{type:Boolean,default:!0},forceMount:{type:Boolean},type:{default:"foreground"},open:{type:Boolean,default:void 0},duration:{},asChild:{type:Boolean},as:{default:"li"}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o}=E(),l=Y(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0});return(s,i)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:s.forceMount||e.unref(l)},{default:e.withCtx(()=>[e.createVNode(tp,e.mergeProps({ref:e.unref(o),open:e.unref(l),type:s.type,as:s.as,"as-child":s.asChild,duration:s.duration},s.$attrs,{onClose:i[0]||(i[0]=u=>l.value=!1),onPause:i[1]||(i[1]=u=>a("pause")),onResume:i[2]||(i[2]=u=>a("resume")),onEscapeKeyDown:i[3]||(i[3]=u=>a("escapeKeyDown",u)),onSwipeStart:i[4]||(i[4]=u=>{a("swipeStart",u),u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:i[5]||(i[5]=u=>{const{x:c,y:d}=u.detail.delta,f=u.currentTarget;f.setAttribute("data-swipe","move"),f.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),f.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:i[6]||(i[6]=u=>{const c=u.currentTarget;c.setAttribute("data-swipe","cancel"),c.style.removeProperty("--radix-toast-swipe-move-x"),c.style.removeProperty("--radix-toast-swipe-move-y"),c.style.removeProperty("--radix-toast-swipe-end-x"),c.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:i[7]||(i[7]=u=>{const{x:c,y:d}=u.detail.delta,f=u.currentTarget;f.setAttribute("data-swipe","end"),f.style.removeProperty("--radix-toast-swipe-move-x"),f.style.removeProperty("--radix-toast-swipe-move-y"),f.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),f.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l.value=!1})}),{default:e.withCtx(({remaining:u,duration:c})=>[e.renderSlot(s.$slots,"default",{remaining:u,duration:c,open:e.unref(l)})]),_:3},16,["open","type","as","as-child","duration"])]),_:3},8,["present"]))}}),qo=e.defineComponent({__name:"ToastAnnounceExclude",props:{altText:{},asChild:{type:Boolean},as:{}},setup(t){return(n,r)=>(e.openBlock(),e.createBlock(e.unref(V),{as:n.as,"as-child":n.asChild,"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n.altText||void 0},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-radix-toast-announce-alt"]))}}),Go=e.defineComponent({__name:"ToastClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=Nf(),{forwardRef:a}=E();return(o,l)=>(e.openBlock(),e.createBlock(qo,{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps(n,{ref:e.unref(a),type:o.as==="button"?"button":void 0,onClick:l[0]||(l[0]=s=>e.unref(r).onClose())}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["type"])]),_:3}))}}),rp=e.defineComponent({__name:"ToastAction",props:{altText:{},asChild:{type:Boolean},as:{}},setup(t){if(!t.altText)throw new Error("Missing prop `altText` expected on `ToastAction`");const{forwardRef:n}=E();return(r,a)=>r.altText?(e.openBlock(),e.createBlock(qo,{key:0,"alt-text":r.altText,"as-child":""},{default:e.withCtx(()=>[e.createVNode(Go,{ref:e.unref(n),as:r.as,"as-child":r.asChild},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child"])]),_:3},8,["alt-text"])):e.createCommentVNode("",!0)}}),Yo=e.defineComponent({__name:"FocusProxy",emits:["focusFromOutsideViewport"],setup(t,{emit:n}){const r=n,a=yn();return(o,l)=>(e.openBlock(),e.createBlock(e.unref($t),{"aria-hidden":"true",tabindex:"0",style:{position:"fixed"},onFocus:l[0]||(l[0]=s=>{var i;const u=s.relatedTarget;!((i=e.unref(a).viewport.value)!=null&&i.contains(u))&&r("focusFromOutsideViewport")})},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}}),ap=e.defineComponent({inheritAttrs:!1,__name:"ToastViewport",props:{hotkey:{default:()=>["F8"]},label:{type:[String,Function],default:"Notifications ({hotkey})"},asChild:{type:Boolean},as:{default:"ol"}},setup(t){const n=t,{hotkey:r,label:a}=e.toRefs(n),{forwardRef:o,currentElement:l}=E(),{createCollection:s}=it(),i=s(l),u=yn(),c=e.computed(()=>u.toastCount.value>0),d=e.ref(),f=e.ref(),m=e.computed(()=>r.value.join("+").replace(/Key/g,"").replace(/Digit/g,""));lr(r.value,()=>{l.value.focus()}),e.onMounted(()=>{u.onViewportChange(l.value)}),e.watchEffect(v=>{const h=l.value;if(c.value&&h){const g=()=>{if(!u.isClosePausedRef.value){const x=new CustomEvent(Lr);h.dispatchEvent(x),u.isClosePausedRef.value=!0}},y=()=>{if(u.isClosePausedRef.value){const x=new CustomEvent(jr);h.dispatchEvent(x),u.isClosePausedRef.value=!1}},b=x=>{!h.contains(x.relatedTarget)&&y()},w=()=>{h.contains(re())||y()},_=x=>{var S,B,P;const T=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!T){const k=re(),O=x.shiftKey;if(x.target===h&&O){(S=d.value)==null||S.focus();return}const $=p({tabbingDirection:O?"backwards":"forwards"}),R=$.findIndex(I=>I===k);dn($.slice(R+1))?x.preventDefault():O?(B=d.value)==null||B.focus():(P=f.value)==null||P.focus()}};h.addEventListener("focusin",g),h.addEventListener("focusout",b),h.addEventListener("pointermove",g),h.addEventListener("pointerleave",w),h.addEventListener("keydown",_),window.addEventListener("blur",g),window.addEventListener("focus",y),v(()=>{h.removeEventListener("focusin",g),h.removeEventListener("focusout",b),h.removeEventListener("pointermove",g),h.removeEventListener("pointerleave",w),h.removeEventListener("keydown",_),window.removeEventListener("blur",g),window.removeEventListener("focus",y)})}});function p({tabbingDirection:v}){const h=i.value.map(g=>{const y=[g,...xr(g)];return v==="forwards"?y:y.reverse()});return(v==="forwards"?h.reverse():h).flat()}return(v,h)=>(e.openBlock(),e.createBlock(e.unref(Vu),{role:"region","aria-label":typeof e.unref(a)=="string"?e.unref(a).replace("{hotkey}",m.value):e.unref(a)(m.value),tabindex:"-1",style:e.normalizeStyle({pointerEvents:c.value?void 0:"none"})},{default:e.withCtx(()=>[c.value?(e.openBlock(),e.createBlock(Yo,{key:0,ref:g=>{d.value=e.unref(fe)(g)},onFocusFromOutsideViewport:h[0]||(h[0]=()=>{const g=p({tabbingDirection:"forwards"});e.unref(dn)(g)})},null,512)):e.createCommentVNode("",!0),e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(o),tabindex:"-1",as:v.as,"as-child":v.asChild},v.$attrs),{default:e.withCtx(()=>[e.renderSlot(v.$slots,"default")]),_:3},16,["as","as-child"]),c.value?(e.openBlock(),e.createBlock(Yo,{key:1,ref:g=>{f.value=e.unref(fe)(g)},onFocusFromOutsideViewport:h[1]||(h[1]=()=>{const g=p({tabbingDirection:"backwards"});e.unref(dn)(g)})},null,512)):e.createCommentVNode("",!0)]),_:3},8,["aria-label","style"]))}}),op=e.defineComponent({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),lp=e.defineComponent({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return E(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Xo="tooltip.open",[Kr,sp]=H("TooltipProvider"),ip=e.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{default:300},disableHoverableContent:{type:Boolean,default:!1},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(t){const n=t,{delayDuration:r,skipDelayDuration:a,disableHoverableContent:o,disableClosingTrigger:l,ignoreNonKeyboardFocus:s,disabled:i}=e.toRefs(n);E();const u=e.ref(!0),c=e.ref(!1),{start:d,stop:f}=or(()=>{u.value=!0},a,{immediate:!1});return sp({isOpenDelayed:u,delayDuration:r,onOpen(){f(),u.value=!1},onClose(){d()},isPointerInTransitRef:c,disableHoverableContent:o,disableClosingTrigger:l,disabled:i,ignoreNonKeyboardFocus:s}),(m,p)=>e.renderSlot(m.$slots,"default")}}),[wn,up]=H("TooltipRoot"),cp=e.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{default:void 0},disableHoverableContent:{type:Boolean,default:void 0},disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},emits:["update:open"],setup(t,{emit:n}){const r=t,a=n;E();const o=Kr(),l=e.computed(()=>r.disableHoverableContent??o.disableHoverableContent.value),s=e.computed(()=>r.disableClosingTrigger??o.disableClosingTrigger.value),i=e.computed(()=>r.disabled??o.disabled.value),u=e.computed(()=>r.delayDuration??o.delayDuration.value),c=e.computed(()=>r.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),d=Y(r,"open",a,{defaultValue:r.defaultOpen,passive:r.open===void 0});e.watch(d,w=>{o.onClose&&(w?(o.onOpen(),document.dispatchEvent(new CustomEvent(Xo))):o.onClose())});const f=e.ref(!1),m=e.ref(),p=e.computed(()=>d.value?f.value?"delayed-open":"instant-open":"closed"),{start:v,stop:h}=or(()=>{f.value=!0,d.value=!0},u,{immediate:!1});function g(){h(),f.value=!1,d.value=!0}function y(){h(),d.value=!1}function b(){v()}return up({contentId:"",open:d,stateAttribute:p,trigger:m,onTriggerChange(w){m.value=w},onTriggerEnter(){o.isOpenDelayed.value?b():g()},onTriggerLeave(){l.value?y():h()},onOpen:g,onClose:y,disableHoverableContent:l,disableClosingTrigger:s,disabled:i,ignoreNonKeyboardFocus:c}),(w,_)=>(e.openBlock(),e.createBlock(e.unref(ft),null,{default:e.withCtx(()=>[e.renderSlot(w.$slots,"default",{open:e.unref(d)})]),_:3}))}}),dp=e.defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t,r=wn(),a=Kr();r.contentId||(r.contentId=ee(void 0,"radix-vue-tooltip-content"));const{forwardRef:o,currentElement:l}=E(),s=e.ref(!1),i=e.ref(!1),u=e.computed(()=>r.disabled.value?{}:{click:h,focus:p,pointermove:f,pointerleave:m,pointerdown:d,blur:v});e.onMounted(()=>{r.onTriggerChange(l.value)});function c(){setTimeout(()=>{s.value=!1},1)}function d(){s.value=!0,document.addEventListener("pointerup",c,{once:!0})}function f(g){g.pointerType!=="touch"&&!i.value&&!a.isPointerInTransitRef.value&&(r.onTriggerEnter(),i.value=!0)}function m(){r.onTriggerLeave(),i.value=!1}function p(g){var y,b;s.value||r.ignoreNonKeyboardFocus.value&&!((b=(y=g.target).matches)!=null&&b.call(y,":focus-visible"))||r.onOpen()}function v(){r.onClose()}function h(){r.disableClosingTrigger.value||r.onClose()}return(g,y)=>(e.openBlock(),e.createBlock(e.unref(Et),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(V),e.mergeProps({ref:e.unref(o),"aria-describedby":e.unref(r).open.value?e.unref(r).contentId:void 0,"data-state":e.unref(r).stateAttribute.value,as:g.as,"as-child":n.asChild,"data-grace-area-trigger":""},e.toHandlers(u.value)),{default:e.withCtx(()=>[e.renderSlot(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3}))}}),Qo=e.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{default:0},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=wn(),{forwardRef:l}=E(),s=e.useSlots(),i=e.computed(()=>{var d;return(d=s.default)==null?void 0:d.call(s)}),u=e.computed(()=>{var d;if(r.ariaLabel)return r.ariaLabel;let f="";function m(p){typeof p.children=="string"&&p.type!==e.Comment?f+=p.children:Array.isArray(p.children)&&p.children.forEach(v=>m(v))}return(d=i.value)==null||d.forEach(p=>m(p)),f}),c=e.computed(()=>{const{ariaLabel:d,...f}=r;return f});return e.onMounted(()=>{st(window,"scroll",d=>{const f=d.target;f!=null&&f.contains(o.trigger.value)&&o.onClose()}),st(window,Xo,o.onClose)}),(d,f)=>(e.openBlock(),e.createBlock(e.unref(dt),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:f[0]||(f[0]=m=>a("escapeKeyDown",m)),onPointerDownOutside:f[1]||(f[1]=m=>{var p;e.unref(o).disableClosingTrigger.value&&(p=e.unref(o).trigger.value)!=null&&p.contains(m.target)&&m.preventDefault(),a("pointerDownOutside",m)}),onFocusOutside:f[2]||(f[2]=e.withModifiers(()=>{},["prevent"])),onDismiss:f[3]||(f[3]=m=>e.unref(o).onClose())},{default:e.withCtx(()=>[e.createVNode(e.unref(pt),e.mergeProps({ref:e.unref(l),"data-state":e.unref(o).stateAttribute.value},{...d.$attrs,...c.value},{style:{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default"),e.createVNode(e.unref($t),{id:e.unref(o).contentId,role:"tooltip"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),fp=e.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},setup(t){const n=ae(t),{forwardRef:r,currentElement:a}=E(),{trigger:o,onClose:l}=wn(),s=Kr(),{isPointerInTransit:i,onPointerExit:u}=Ji(o,a);return s.isPointerInTransitRef=i,u(()=>{l()}),(c,d)=>(e.openBlock(),e.createBlock(Qo,e.mergeProps({ref:e.unref(r)},e.unref(n)),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16))}}),pp=e.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=wn(),l=z(r,a),{forwardRef:s}=E();return(i,u)=>(e.openBlock(),e.createBlock(e.unref(pe),{present:i.forceMount||e.unref(o).open.value},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o).disableHoverableContent.value?Qo:fp),e.mergeProps({ref:e.unref(s)},e.unref(l)),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),mp=e.defineComponent({__name:"TooltipPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ct),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),gt=(t,n)=>{const r=t.__vccOpts||t;for(const[a,o]of n)r[a]=o;return r},vp={},hp={class:"h-full bg-background dark:text-white"};function gp(t,n){return e.openBlock(),e.createElementBlock("div",hp,[e.renderSlot(t.$slots,"default")])}const yp=gt(vp,[["render",gp]]),bp={},wp={class:"sticky top-0 z-50 flex h-16 shrink-0 items-center gap-x-4 bg-background/60 px-4 backdrop-blur sm:gap-x-6 sm:px-6 lg:px-8"};function xp(t,n){return e.openBlock(),e.createElementBlock("header",wp,[e.renderSlot(t.$slots,"default")])}const Cp=gt(bp,[["render",xp]]),_p={},Bp={class:"px-4 py-10 sm:px-6 lg:px-8 lg:pl-72"};function kp(t,n){return e.openBlock(),e.createElementBlock("main",Bp,[e.renderSlot(t.$slots,"default")])}const Sp=gt(_p,[["render",kp]]),Pp={};function Ep(t,n){return e.renderSlot(t.$slots,"default")}const $p=gt(Pp,[["render",Ep]]),Tp={},Op={class:"hidden px-6 py-10 lg:fixed lg:inset-y-0 lg:top-16 lg:z-50 lg:flex lg:w-72 lg:flex-col"},Ap={class:"gap-y-5 overflow-y-auto"};function Dp(t,n){return e.openBlock(),e.createElementBlock("div",Op,[e.createElementVNode("div",Ap,[e.renderSlot(t.$slots,"default")])])}const Vp=gt(Tp,[["render",Dp]]),Mp={};function Ip(t,n){return e.renderSlot(t.$slots,"default")}const Rp=gt(Mp,[["render",Ip]]);function Fp(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})])}function zp(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Zo(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"})])}function Lp(t,n){return e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"})])}const jp={type:"button",class:"-m-2.5 p-2.5 lg:hidden"},Kp=e.defineComponent({__name:"TwoColumnLayoutSidebarTrigger",setup(t){return(n,r)=>(e.openBlock(),e.createElementBlock("button",jp,[r[0]||(r[0]=e.createElementVNode("span",{class:"sr-only"},"Open sidebar",-1)),e.createVNode(e.unref(Fp),{class:"h-6 w-6","aria-hidden":"true"})]))}}),Hp=3,Up=1e6,Oe={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let Hr=0;function Wp(){return Hr=(Hr+1)%Number.MAX_VALUE,Hr.toString()}const Ur=new Map;function Jo(t){if(Ur.has(t))return;const n=setTimeout(()=>{Ur.delete(t),At({type:Oe.REMOVE_TOAST,toastId:t})},Up);Ur.set(t,n)}const ye=e.ref({toasts:[]});function At(t){switch(t.type){case Oe.ADD_TOAST:ye.value.toasts=[t.toast,...ye.value.toasts].slice(0,Hp);break;case Oe.UPDATE_TOAST:ye.value.toasts=ye.value.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n);break;case Oe.DISMISS_TOAST:{const{toastId:n}=t;n?Jo(n):ye.value.toasts.forEach(r=>{Jo(r.id)}),ye.value.toasts=ye.value.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r);break}case Oe.REMOVE_TOAST:t.toastId===void 0?ye.value.toasts=[]:ye.value.toasts=ye.value.toasts.filter(n=>n.id!==t.toastId);break}}function Wr(){return{toasts:e.computed(()=>ye.value.toasts),toast:No,dismiss:t=>At({type:Oe.DISMISS_TOAST,toastId:t})}}function No(t){const n=t.id??Wp(),r=o=>At({type:Oe.UPDATE_TOAST,toast:{...o,id:n}}),a=()=>At({type:Oe.DISMISS_TOAST,toastId:n});return At({type:Oe.ADD_TOAST,toast:{...t,id:n,open:!0,onOpenChange:o=>{o||a()}}}),{id:n,dismiss:a,update:r}}const qp={class:"flex items-start space-x-3"},Gp=["src","alt"],Yp={class:"grid gap-1"},Xp={class:"font-bold"},el=e.defineComponent({__name:"Toaster",emits:["click"],setup(t){const{toasts:n}=Wr();return(r,a)=>(e.openBlock(),e.createBlock(e.unref(hl),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),o=>(e.openBlock(),e.createBlock(e.unref(cl),e.mergeProps({key:o.id,ref_for:!0},o,{class:"mt-1.5",onClick:l=>r.$emit("click",o)}),{default:e.withCtx(()=>[e.createElementVNode("div",qp,[o.icon?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[typeof o.icon=="string"?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.icon,class:e.normalizeClass(["size-16 rounded-sm object-cover",o.iconClasses]),alt:o.title},null,10,Gp)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.icon),{key:1,class:e.normalizeClass(["size-6",o.iconClasses])},null,8,["class"]))],64)):e.createCommentVNode("",!0),e.createElementVNode("div",Yp,[o.title?(e.openBlock(),e.createBlock(e.unref(vl),{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.title),1)]),_:2},1024)):e.createCommentVNode("",!0),o.description?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.isVNode(o.description)?(e.openBlock(),e.createBlock(e.unref(Xr),{key:0},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.description)))]),_:2},1024)):typeof o.description=="object"?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(o.description,(l,s)=>(e.openBlock(),e.createElementBlock("p",{key:s,class:"text-sm opacity-90"},[o.objectFormat==="key"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(s),1)],64)):o.objectFormat==="both"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Xp,e.toDisplayString(s),1),e.createTextVNode(": "+e.toDisplayString(l),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(l),1)],64))]))),128)):(e.openBlock(),e.createBlock(e.unref(Xr),{key:2},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.description),1)]),_:2},1024))],64)):e.createCommentVNode("",!0),e.createVNode(e.unref(ml))])]),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.action)))]),_:2},1040,["onClick"]))),128)),e.createVNode(e.unref(dl))]),_:1}))}});function tl(t){var n,r,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(n=0;n{const n=Jp(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=t;return{getClassGroupId:s=>{const i=s.split(qr);return i[0]===""&&i.length!==1&&i.shift(),rl(i,n)||Zp(s)},getConflictingClassGroupIds:(s,i)=>{const u=r[s]||[];return i&&a[s]?[...u,...a[s]]:u}}},rl=(t,n)=>{var s;if(t.length===0)return n.classGroupId;const r=t[0],a=n.nextPart.get(r),o=a?rl(t.slice(1),a):void 0;if(o)return o;if(n.validators.length===0)return;const l=t.join(qr);return(s=n.validators.find(({validator:i})=>i(l)))==null?void 0:s.classGroupId},al=/^\[(.+)\]$/,Zp=t=>{if(al.test(t)){const n=al.exec(t)[1],r=n==null?void 0:n.substring(0,n.indexOf(":"));if(r)return"arbitrary.."+r}},Jp=t=>{const{theme:n,prefix:r}=t,a={nextPart:new Map,validators:[]};return em(Object.entries(t.classGroups),r).forEach(([l,s])=>{Gr(s,a,l,n)}),a},Gr=(t,n,r,a)=>{t.forEach(o=>{if(typeof o=="string"){const l=o===""?n:ol(n,o);l.classGroupId=r;return}if(typeof o=="function"){if(Np(o)){Gr(o(a),n,r,a);return}n.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([l,s])=>{Gr(s,ol(n,l),r,a)})})},ol=(t,n)=>{let r=t;return n.split(qr).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Np=t=>t.isThemeGetter,em=(t,n)=>n?t.map(([r,a])=>{const o=a.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([s,i])=>[n+s,i])):l);return[r,o]}):t,tm=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,r=new Map,a=new Map;const o=(l,s)=>{r.set(l,s),n++,n>t&&(n=0,a=r,r=new Map)};return{get(l){let s=r.get(l);if(s!==void 0)return s;if((s=a.get(l))!==void 0)return o(l,s),s},set(l,s){r.has(l)?r.set(l,s):o(l,s)}}},ll="!",nm=t=>{const{separator:n,experimentalParseClassName:r}=t,a=n.length===1,o=n[0],l=n.length,s=i=>{const u=[];let c=0,d=0,f;for(let g=0;gd?f-d:void 0;return{modifiers:u,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:h}};return r?i=>r({className:i,parseClassName:s}):s},rm=t=>{if(t.length<=1)return t;const n=[];let r=[];return t.forEach(a=>{a[0]==="["?(n.push(...r.sort(),a),r=[]):r.push(a)}),n.push(...r.sort()),n},am=t=>({cache:tm(t.cacheSize),parseClassName:nm(t),...Qp(t)}),om=/\s+/,lm=(t,n)=>{const{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:o}=n,l=[],s=t.trim().split(om);let i="";for(let u=s.length-1;u>=0;u-=1){const c=s[u],{modifiers:d,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:p}=r(c);let v=!!p,h=a(v?m.substring(0,p):m);if(!h){if(!v){i=c+(i.length>0?" "+i:i);continue}if(h=a(m),!h){i=c+(i.length>0?" "+i:i);continue}v=!1}const g=rm(d).join(":"),y=f?g+ll:g,b=y+h;if(l.includes(b))continue;l.push(b);const w=o(h,v);for(let _=0;_0?" "+i:i)}return i};function sm(){let t=0,n,r,a="";for(;t{if(typeof t=="string")return t;let n,r="";for(let a=0;af(d),t());return r=am(c),a=r.cache.get,o=r.cache.set,l=i,i(u)}function i(u){const c=a(u);if(c)return c;const d=lm(u,r);return o(u,d),d}return function(){return l(sm.apply(null,arguments))}}const X=t=>{const n=r=>r[t]||[];return n.isThemeGetter=!0,n},il=/^\[(?:([a-z-]+):)?(.+)\]$/i,um=/^\d+\/\d+$/,cm=new Set(["px","full","screen"]),dm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,mm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ae=t=>yt(t)||cm.has(t)||um.test(t),Le=t=>bt(t,"length",_m),yt=t=>!!t&&!Number.isNaN(Number(t)),Yr=t=>bt(t,"number",yt),Dt=t=>!!t&&Number.isInteger(Number(t)),hm=t=>t.endsWith("%")&&yt(t.slice(0,-1)),j=t=>il.test(t),je=t=>dm.test(t),gm=new Set(["length","size","percentage"]),ym=t=>bt(t,gm,ul),bm=t=>bt(t,"position",ul),wm=new Set(["image","url"]),xm=t=>bt(t,wm,km),Cm=t=>bt(t,"",Bm),Vt=()=>!0,bt=(t,n,r)=>{const a=il.exec(t);return a?a[1]?typeof n=="string"?a[1]===n:n.has(a[1]):r(a[2]):!1},_m=t=>fm.test(t)&&!pm.test(t),ul=()=>!1,Bm=t=>mm.test(t),km=t=>vm.test(t),Sm=im(()=>{const t=X("colors"),n=X("spacing"),r=X("blur"),a=X("brightness"),o=X("borderColor"),l=X("borderRadius"),s=X("borderSpacing"),i=X("borderWidth"),u=X("contrast"),c=X("grayscale"),d=X("hueRotate"),f=X("invert"),m=X("gap"),p=X("gradientColorStops"),v=X("gradientColorStopPositions"),h=X("inset"),g=X("margin"),y=X("opacity"),b=X("padding"),w=X("saturate"),_=X("scale"),x=X("sepia"),S=X("skew"),B=X("space"),P=X("translate"),T=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",j,n],$=()=>[j,n],R=()=>["",Ae,Le],I=()=>["auto",yt,j],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",j],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[yt,j];return{cacheSize:500,separator:":",theme:{colors:[Vt],spacing:[Ae,Le],blur:["none","",je,j],brightness:K(),borderColor:[t],borderRadius:["none","","full",je,j],borderSpacing:$(),borderWidth:R(),contrast:K(),grayscale:D(),hueRotate:K(),invert:D(),gap:$(),gradientColorStops:[t],gradientColorStopPositions:[hm,Le],inset:O(),margin:O(),opacity:K(),padding:$(),saturate:K(),scale:K(),sepia:D(),skew:K(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",j]}],container:["container"],columns:[{columns:[je]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...L(),j]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Dt,j]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",j]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",Dt,j]}],"grid-cols":[{"grid-cols":[Vt]}],"col-start-end":[{col:["auto",{span:["full",Dt,j]},j]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[Vt]}],"row-start-end":[{row:["auto",{span:[Dt,j]},j]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",j]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",j]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-y":[{"gap-y":[m]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",j,n]}],"min-w":[{"min-w":[j,n,"min","max","fit"]}],"max-w":[{"max-w":[j,n,"none","full","min","max","fit","prose",{screen:[je]},je]}],h:[{h:[j,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[j,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[j,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[j,n,"auto","min","max","fit"]}],"font-size":[{text:["base",je,Le]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yr]}],"font-family":[{font:[Vt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",j]}],"line-clamp":[{"line-clamp":["none",yt,Yr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ae,j]}],"list-image":[{"list-image":["none",j]}],"list-style-type":[{list:["none","disc","decimal",j]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ae,Le]}],"underline-offset":[{"underline-offset":["auto",Ae,j]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),bm]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ym]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},xm]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[Ae,j]}],"outline-w":[{outline:[Ae,Le]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Ae,Le]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",je,Cm]}],"shadow-color":[{shadow:[Vt]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...Q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",je,j]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[w]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",j]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",j]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",j]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[Dt,j]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[S]}],"skew-y":[{"skew-y":[S]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",j]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",j]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",j]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Ae,Le,Yr]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function A(...t){return Sm(nl(t))}const cl=e.defineComponent({__name:"Toast",props:{class:{},variant:{},onOpenChange:{type:Function},defaultOpen:{type:Boolean},forceMount:{type:Boolean},type:{},open:{type:Boolean},duration:{},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(np),e.mergeProps(e.unref(l),{class:e.unref(A)(e.unref(bl)({variant:s.variant}),r.class),"onUpdate:open":s.onOpenChange}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class","onUpdate:open"]))}}),dl=e.defineComponent({__name:"ToastViewport",props:{hotkey:{},label:{type:[String,Function]},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(ap),e.mergeProps(r.value,{class:e.unref(A)("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",n.class)}),null,16,["class"]))}}),Pm=e.defineComponent({__name:"ToastAction",props:{altText:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(rp),e.mergeProps(r.value,{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 transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring 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",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}});function Em(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z",fill:"currentColor"})])}function $m(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z",fill:"currentColor"})])}function Tm(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor"})])}function fl(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor"})])}function pl(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor"})])}function Om(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:"currentColor"})])}function Am(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:"currentColor"})])}function xn(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor"})])}function Dm(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:"currentColor"})])}function Vm(t,n){return e.openBlock(),e.createElementBlock("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",fill:"currentColor"})])}const ml=e.defineComponent({__name:"ToastClose",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Go),e.mergeProps(r.value,{class:e.unref(A)("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",n.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(xn),{class:"h-4 w-4"})]),_:1},16,["class"]))}}),vl=e.defineComponent({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(op),e.mergeProps(r.value,{class:e.unref(A)("text-sm font-semibold [&+div]:text-xs",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Xr=e.defineComponent({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(lp),e.mergeProps({class:e.unref(A)("text-sm opacity-90",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),hl=e.defineComponent({__name:"ToastProvider",props:{label:{},duration:{},swipeDirection:{},swipeThreshold:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(qf),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),gl=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,yl=nl,Mt=(t,n)=>r=>{var a;if((n==null?void 0:n.variants)==null)return yl(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:l}=n,s=Object.keys(o).map(c=>{const d=r==null?void 0:r[c],f=l==null?void 0:l[c];if(d===null)return null;const m=gl(d)||gl(f);return o[c][m]}),i=r&&Object.entries(r).reduce((c,d)=>{let[f,m]=d;return m===void 0||(c[f]=m),c},{}),u=n==null||(a=n.compoundVariants)===null||a===void 0?void 0:a.reduce((c,d)=>{let{class:f,className:m,...p}=d;return Object.entries(p).every(v=>{let[h,g]=v;return Array.isArray(g)?g.includes({...l,...i}[h]):{...l,...i}[h]===g})?[...c,f,m]:c},[]);return yl(t,s,u,r==null?void 0:r.class,r==null?void 0:r.className)},bl=Mt("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),{toast:Cn}=Wr();function wl(){return{info:t=>{Cn({icon:Lp,iconClasses:"text-blue-400",title:"FYI",description:t})},success:t=>{Cn({icon:zp,iconClasses:"text-green-400",title:"Success",description:t})},warning:t=>{Cn({icon:Zo,iconClasses:"text-orange-400",title:"Warning",description:t})},error:(t,n="value")=>{Cn({icon:Zo,iconClasses:"text-red-400",title:"Oh snap! Some errors were encountered.",description:t,objectFormat:n})}}}const Mm=e.defineComponent({__name:"Flasher",props:{info:{},success:{},warning:{},errors:{},objectFormat:{default:"value"}},setup(t){const n=t,{info:r,success:a,warning:o,error:l}=wl();return e.watch(()=>n.info,s=>{s&&r(n.info)},{immediate:!0}),e.watch(()=>n.success,s=>{s&&a(n.success)},{immediate:!0}),e.watch(()=>n.warning,s=>{s&&o(n.warning)},{immediate:!0}),e.watch(()=>n.errors,()=>{n.errors!==void 0&&Object.keys(n.errors).length>0&&l(n.errors,n.objectFormat)}),(s,i)=>(e.openBlock(),e.createBlock(e.unref(el)))}}),Im={class:"flex items-center justify-between space-y-2"},Rm={class:"flex items-center space-x-2"},Fm=e.defineComponent({__name:"Heading",props:{as:{default:"h2"},class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",Im,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.as),{class:e.normalizeClass(e.unref(A)("text-3xl font-bold tracking-tight",n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"])),e.createElementVNode("div",Rm,[e.renderSlot(r.$slots,"actions")])]))}}),xl=e.defineComponent({__name:"Accordion",props:{collapsible:{type:Boolean},disabled:{type:Boolean},dir:{},orientation:{},asChild:{type:Boolean},as:{},type:{},modelValue:{},defaultValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(_u),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),zm=e.defineComponent({__name:"Accord",props:{content:{},collapsible:{type:Boolean,default:!0},disabled:{type:Boolean},dir:{},orientation:{},asChild:{type:Boolean},as:{},type:{default:"single"},modelValue:{},defaultValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(xl,e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.content,(i,u)=>(e.openBlock(),e.createBlock(e.unref(_l),{key:u,value:"item-"+u},{default:e.withCtx(()=>[e.createVNode(e.unref(Bl),null,{default:e.withCtx(()=>[e.renderSlot(l.$slots,u+".title",{item:i},()=>[e.createTextVNode(e.toDisplayString(i.title),1)])]),_:2},1024),e.createVNode(e.unref(Cl),null,{default:e.withCtx(()=>[e.renderSlot(l.$slots,u+".content",{item:i},()=>[e.createTextVNode(e.toDisplayString(i.content),1)])]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:3},16))}}),Cl=e.defineComponent({__name:"AccordionContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Su),e.mergeProps(r.value,{class:"accordion-content overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"}),{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(A)("pb-4 pt-0",n.class))},[e.renderSlot(a.$slots,"default")],2)]),_:3},16))}}),_l=e.defineComponent({__name:"AccordionItem",props:{disabled:{type:Boolean},value:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(ku),e.mergeProps(e.unref(a),{class:e.unref(A)("border-b",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),Bl=e.defineComponent({__name:"AccordionTrigger",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Pu),{class:"flex"},{default:e.withCtx(()=>[e.createVNode(e.unref(Eu),e.mergeProps(r.value,{class:e.unref(A)("accordion-trigger flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default"),e.renderSlot(a.$slots,"icon",{},()=>[e.createVNode(e.unref(pl),{class:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})])]),_:3},16,["class"])]),_:3}))}}),Lm=e.defineComponent({__name:"Tip",props:{tooltip:{},indicator:{type:Boolean},defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{default:300},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Pl),null,{default:e.withCtx(()=>[e.createVNode(e.unref(kl),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.createVNode(e.unref(El),{class:e.normalizeClass(l.indicator?"underline decoration-dotted underline-offset-4":"")},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["class"]),e.createVNode(e.unref(Sl),e.normalizeProps(e.guardReactiveProps(l.$attrs)),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip",{},()=>[e.createTextVNode(e.toDisplayString(l.tooltip),1)])]),_:3},16)]),_:3},16)]),_:3}))}}),kl=e.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(cp),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Sl=e.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(mp),null,{default:e.withCtx(()=>[e.createVNode(e.unref(pp),e.mergeProps({...e.unref(l),...s.$attrs},{class:e.unref(A)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Pl=e.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(ip),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),El=e.defineComponent({__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(dp),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),jm=e.defineComponent({__name:"AlertDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(ec),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Km=e.defineComponent({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(tc),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Hm=e.defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(nc),null,{default:e.withCtx(()=>[e.createVNode(e.unref(lc),{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(oc),e.mergeProps(e.unref(l),{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-lg 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(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Um=e.defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-2 text-center sm:text-left",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Wm=e.defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(ic),e.mergeProps(r.value,{class:e.unref(A)("text-lg font-semibold",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),qm=e.defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(uc),e.mergeProps(r.value,{class:e.unref(A)("text-sm text-muted-foreground",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Gm=e.defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Qr=e.defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(V),{as:r.as,"as-child":r.asChild,class:e.normalizeClass(e.unref(A)(e.unref(_n)({variant:r.variant,size:r.size}),n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),_n=Mt("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Ym=e.defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(cc),e.mergeProps(r.value,{class:e.unref(A)(e.unref(_n)(),n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Xm=e.defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(sc),e.mergeProps(r.value,{class:e.unref(A)(e.unref(_n)({variant:"outline"}),"mt-2 sm:mt-0",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}});function Zr(t){return t?t.flatMap(n=>n.type===e.Fragment?Zr(n.children):[n]):[]}const Jr=e.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:n,slots:r}){return()=>{var u,c;if(!r.default)return null;const a=Zr(r.default()),o=a.findIndex(d=>d.type!==e.Comment);if(o===-1)return a;const l=a[o];(u=l.props)==null||delete u.ref;const s=l.props?e.mergeProps(n,l.props):n;n.class&&((c=l.props)!=null&&c.class)&&delete l.props.class;const i=e.cloneVNode(l,s);for(const d in s)d.startsWith("on")&&(i.props||(i.props={}),i.props[d]=s[d]);return a.length===1?i:(a[o]=i,a)}}}),Qm=["area","img","input"],Ze=e.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:n,slots:r}){const a=t.asChild?"template":t.as;return typeof a=="string"&&Qm.includes(a)?()=>e.h(a,n):a!=="template"?()=>e.h(t.as,n,{default:r.default}):()=>e.h(Jr,n,{default:r.default})}}),Zm=e.defineComponent({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup(t){return(n,r)=>(e.openBlock(),e.createBlock(e.unref(Ze),{as:n.as,"as-child":n.asChild,"aria-hidden":n.feature==="focusable"?"true":void 0,"data-hidden":n.feature==="fully-hidden"?"":void 0,tabindex:n.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),$l=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Jm=t=>typeof t<"u",Nm=e.toValue,ev=$l?window:void 0;function Bn(t){var n;const r=e.toValue(t);return(n=r==null?void 0:r.$el)!=null?n:r}function tv(t){return JSON.parse(JSON.stringify(t))}function nv(t,n,r,a={}){var o,l,s;const{clone:i=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f,shouldEmit:m}=a,p=e.getCurrentInstance(),v=r||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(l=p==null?void 0:p.proxy)==null?void 0:l.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let h=c;h=h||`update:${n.toString()}`;const g=w=>i?typeof i=="function"?i(w):tv(w):w,y=()=>Jm(t[n])?g(t[n]):f,b=w=>{m?m(w)&&v(h,w):v(h,w)};if(u){const w=y(),_=e.ref(w);let x=!1;return e.watch(()=>t[n],S=>{x||(x=!0,_.value=g(S),e.nextTick(()=>x=!1))}),e.watch(_,S=>{!x&&(S!==t[n]||d)&&b(S)},{deep:d}),_}else return e.computed({get(){return y()},set(w){b(w)}})}function It(t,n){const r=typeof t=="string"?`${t}Context`:n,a=Symbol(r);return[s=>{const i=e.inject(a,s);if(i||i===null)return i;throw new Error(`Injection \`${a.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},s=>(e.provide(a,s),s)]}function Tl(t){return typeof t=="string"?`'${t}'`:new rv().serialize(t)}const rv=function(){var n;class t{constructor(){gs(this,n,new Map)}compare(a,o){const l=typeof a,s=typeof o;return l==="string"&&s==="string"?a.localeCompare(o):l==="number"&&s==="number"?a-o:String.prototype.localeCompare.call(this.serialize(a,!0),this.serialize(o,!0))}serialize(a,o){if(a===null)return"null";switch(typeof a){case"string":return o?a:`'${a}'`;case"bigint":return`${a}n`;case"object":return this.$object(a);case"function":return this.$function(a)}return String(a)}serializeObject(a){const o=Object.prototype.toString.call(a);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),a);const l=a.constructor,s=l===Object||l===void 0?"":l.name;if(s!==""&&globalThis[s]===l)return this.serializeBuiltInType(s,a);if(typeof a.toJSON=="function"){const i=a.toJSON();return s+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(s,Object.entries(a))}serializeBuiltInType(a,o){const l=this["$"+a];if(l)return l.call(this,o);if(typeof(o==null?void 0:o.entries)=="function")return this.serializeObjectEntries(a,o.entries());throw new Error(`Cannot serialize ${a}`)}serializeObjectEntries(a,o){const l=Array.from(o).sort((i,u)=>this.compare(i[0],u[0]));let s=`${a}{`;for(let i=0;ithis.compare(o,l)))}`}$Map(a){return this.serializeObjectEntries("Map",a.entries())}}n=new WeakMap;for(const r of["Error","RegExp","URL"])t.prototype["$"+r]=function(a){return`${r}(${a})`};for(const r of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+r]=function(a){return`${r}[${a.join(",")}]`};for(const r of["BigInt64Array","BigUint64Array"])t.prototype["$"+r]=function(a){return`${r}[${a.join("n,")}${a.length>0?"n":""}]`};return t}();function Nr(t,n){return t===n||Tl(t)===Tl(n)}function ea(t){return t==null}function Ol(t,n){return ea(t)?!1:Array.isArray(t)?t.some(r=>Nr(r,n)):Nr(t,n)}const[av,$0]=It("ConfigProvider");function Rt(){const t=e.getCurrentInstance(),n=e.ref(),r=e.computed(()=>{var s,i;return["#text","#comment"].includes((s=n.value)==null?void 0:s.$el.nodeName)?(i=n.value)==null?void 0:i.$el.nextElementSibling:Bn(n)}),a=Object.assign({},t.exposed),o={};for(const s in t.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>t.props[s]});if(Object.keys(a).length>0)for(const s in a)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=o;function l(s){n.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),t.exposed=o)}return{forwardRef:l,currentRef:n,currentElement:r}}let ov=0;function lv(t,n="reka"){const r=av({useId:void 0});return Gt.useId?`${n}-${Gt.useId()}`:r.useId?`${n}-${r.useId()}`:`${n}-${++ov}`}function sv(t,n){const r=e.ref(t);function a(l){return n[r.value][l]??r.value}return{state:r,dispatch:l=>{r.value=a(l)}}}function iv(t,n){var g;const r=e.ref({}),a=e.ref("none"),o=e.ref(t),l=t.value?"mounted":"unmounted";let s;const i=((g=n.value)==null?void 0:g.ownerDocument.defaultView)??ev,{state:u,dispatch:c}=sv(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),d=y=>{var b;if($l){const w=new CustomEvent(y,{bubbles:!1,cancelable:!1});(b=n.value)==null||b.dispatchEvent(w)}};e.watch(t,async(y,b)=>{var _;const w=b!==y;if(await e.nextTick(),w){const x=a.value,S=kn(n.value);y?(c("MOUNT"),d("enter"),S==="none"&&d("after-enter")):S==="none"||S==="undefined"||((_=r.value)==null?void 0:_.display)==="none"?(c("UNMOUNT"),d("leave"),d("after-leave")):b&&x!==S?(c("ANIMATION_OUT"),d("leave")):(c("UNMOUNT"),d("after-leave"))}},{immediate:!0});const f=y=>{const b=kn(n.value),w=b.includes(y.animationName),_=u.value==="mounted"?"enter":"leave";if(y.target===n.value&&w&&(d(`after-${_}`),c("ANIMATION_END"),!o.value)){const x=n.value.style.animationFillMode;n.value.style.animationFillMode="forwards",s=i==null?void 0:i.setTimeout(()=>{var S;((S=n.value)==null?void 0:S.style.animationFillMode)==="forwards"&&(n.value.style.animationFillMode=x)})}y.target===n.value&&b==="none"&&c("ANIMATION_END")},m=y=>{y.target===n.value&&(a.value=kn(n.value))},p=e.watch(n,(y,b)=>{y?(r.value=getComputedStyle(y),y.addEventListener("animationstart",m),y.addEventListener("animationcancel",f),y.addEventListener("animationend",f)):(c("ANIMATION_END"),s!==void 0&&(i==null||i.clearTimeout(s)),b==null||b.removeEventListener("animationstart",m),b==null||b.removeEventListener("animationcancel",f),b==null||b.removeEventListener("animationend",f))},{immediate:!0}),v=e.watch(u,()=>{const y=kn(n.value);a.value=u.value==="mounted"?y:"none"});return e.onUnmounted(()=>{p(),v()}),{isPresent:e.computed(()=>["mounted","unmountSuspended"].includes(u.value))}}function kn(t){return t&&getComputedStyle(t).animationName||"none"}const uv=e.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:n,expose:r}){var c;const{present:a,forceMount:o}=e.toRefs(t),l=e.ref(),{isPresent:s}=iv(a,l);r({present:s});let i=n.default({present:s.value});i=Zr(i||[]);const u=e.getCurrentInstance();if(i&&(i==null?void 0:i.length)>1){const d=(c=u==null?void 0:u.parent)!=null&&c.type.name?`<${u.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${d}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(` +`)].join(` +`))}return()=>o.value||a.value||s.value?e.h(n.default({present:s.value})[0],{ref:d=>{const f=Bn(d);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-reka-popper-content-wrapper")?l.value=f.firstElementChild:l.value=f),f}}):null}});function cv(t){const n=e.getCurrentInstance(),r=n==null?void 0:n.type.emits,a={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${n==null?void 0:n.type.__name}`),r==null||r.forEach(o=>{a[e.toHandlerKey(e.camelize(o))]=(...l)=>t(o,...l)}),a}function Al(){let t=document.activeElement;if(t==null)return null;for(;t!=null&&t.shadowRoot!=null&&t.shadowRoot.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function dv(t){const n=e.getCurrentInstance(),r=Object.keys((n==null?void 0:n.type.props)??{}).reduce((o,l)=>{const s=(n==null?void 0:n.type.props[l]).default;return s!==void 0&&(o[l]=s),o},{}),a=e.toRef(t);return e.computed(()=>{const o={},l=(n==null?void 0:n.vnode.props)??{};return Object.keys(l).forEach(s=>{o[e.camelize(s)]=l[s]}),Object.keys({...r,...o}).reduce((s,i)=>(a.value[i]!==void 0&&(s[i]=a.value[i]),s),{})})}function fv(t,n){const r=dv(t),a=n?cv(n):{};return e.computed(()=>({...r.value,...a}))}const[Dl,pv]=It("AvatarRoot"),mv=e.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return Rt(),pv({imageLoadingStatus:e.ref("loading")}),(n,r)=>(e.openBlock(),e.createBlock(e.unref(Ze),{"as-child":n.asChild,as:n.as},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as-child","as"]))}}),vv=e.defineComponent({__name:"AvatarFallback",props:{delayMs:{default:0},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=Dl();Rt();const a=e.ref(!1);let o;return e.watch(r.imageLoadingStatus,l=>{l==="loading"&&(a.value=!1,n.delayMs?o=setTimeout(()=>{a.value=!0,clearTimeout(o)},n.delayMs):a.value=!0)},{immediate:!0}),(l,s)=>a.value&&e.unref(r).imageLoadingStatus.value!=="loaded"?(e.openBlock(),e.createBlock(e.unref(Ze),{key:0,"as-child":l.asChild,as:l.as},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["as-child","as"])):e.createCommentVNode("",!0)}});function hv(t,n){const r=e.ref("idle"),a=e.ref(!1),o=l=>()=>{a.value&&(r.value=l)};return e.onMounted(()=>{a.value=!0,e.watch([()=>t.value,()=>n==null?void 0:n.value],([l,s])=>{if(!l)r.value="error";else{const i=new window.Image;r.value="loading",i.onload=o("loaded"),i.onerror=o("error"),i.src=l,s&&(i.referrerPolicy=s)}},{immediate:!0})}),e.onUnmounted(()=>{a.value=!1}),r}const gv=e.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{default:"img"}},emits:["loadingStatusChange"],setup(t,{emit:n}){const r=t,a=n,{src:o,referrerPolicy:l}=e.toRefs(r);Rt();const s=Dl(),i=hv(o,l);return e.watch(i,u=>{a("loadingStatusChange",u),u!=="idle"&&(s.imageLoadingStatus.value=u)},{immediate:!0}),(u,c)=>e.withDirectives((e.openBlock(),e.createBlock(e.unref(Ze),{role:"img","as-child":u.asChild,as:u.as,src:e.unref(o),"referrer-policy":e.unref(l)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as","src","referrer-policy"])),[[e.vShow,e.unref(i)==="loaded"]])}});function ta(){const t=e.ref(),n=e.computed(()=>{var r,a;return["#text","#comment"].includes((r=t.value)==null?void 0:r.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:Bn(t)});return{primitiveElement:t,currentElement:n}}function yv(t){return e.computed(()=>{var n;return Nm(t)?!!((n=Bn(t))!=null&&n.closest("form")):!0})}const Vl="data-reka-collection-item";function bv(t={}){const{key:n="",isProvider:r=!1}=t,a=`${n}CollectionProvider`;let o;if(r){const d=e.ref(new Map);o={collectionRef:e.ref(),itemMap:d},e.provide(a,o)}else o=e.inject(a);const l=(d=!1)=>{const f=o.collectionRef.value;if(!f)return[];const m=Array.from(f.querySelectorAll(`[${Vl}]`)),v=Array.from(o.itemMap.value.values()).sort((h,g)=>m.indexOf(h.ref)-m.indexOf(g.ref));return d?v:v.filter(h=>h.ref.dataset.disabled!=="")},s=e.defineComponent({name:"CollectionSlot",setup(d,{slots:f}){const{primitiveElement:m,currentElement:p}=ta();return e.watch(p,()=>{o.collectionRef.value=p.value}),()=>e.h(Jr,{ref:m},f)}}),i=e.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(d,{slots:f,attrs:m}){const{primitiveElement:p,currentElement:v}=ta();return e.watchEffect(h=>{if(v.value){const g=e.markRaw(v.value);o.itemMap.value.set(g,{ref:v.value,value:d.value}),h(()=>o.itemMap.value.delete(g))}}),()=>e.h(Jr,{...m,[Vl]:"",ref:p},f)}}),u=e.computed(()=>Array.from(o.itemMap.value.values())),c=e.computed(()=>o.itemMap.value.size);return{getItems:l,reactiveItems:u,itemMapSize:c,CollectionSlot:s,CollectionItem:i}}const wv={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function xv(t,n){return n!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Cv(t,n,r){const a=xv(t.key,r);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return wv[a]}function _v(t,n=!1){const r=Al();for(const a of t)if(a===r||(a.focus({preventScroll:n}),Al()!==r))return}function Bv(t,n){return t.map((r,a)=>t[(n+a)%t.length])}const[kv,T0]=It("RovingFocusGroup"),Ml=e.defineComponent({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const n=t,{primitiveElement:r,currentElement:a}=ta(),o=e.computed(()=>n.checked??n.value);return e.watch(o,(l,s)=>{if(!a.value)return;const i=a.value,u=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(u,"value").set;if(d&&l!==s){const f=new Event("input",{bubbles:!0}),m=new Event("change",{bubbles:!0});d.call(i,l),i.dispatchEvent(f),i.dispatchEvent(m)}}),(l,s)=>(e.openBlock(),e.createBlock(Zm,e.mergeProps({ref_key:"primitiveElement",ref:r},{...n,...l.$attrs},{as:"input"}),null,16))}}),Sv=e.defineComponent({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const n=t,r=e.computed(()=>typeof n.value=="object"&&Array.isArray(n.value)&&n.value.length===0&&n.required),a=e.computed(()=>typeof n.value=="string"||typeof n.value=="number"||typeof n.value=="boolean"?[{name:n.name,value:n.value}]:typeof n.value=="object"&&Array.isArray(n.value)?n.value.flatMap((o,l)=>typeof o=="object"?Object.entries(o).map(([s,i])=>({name:`[${n.name}][${l}][${s}]`,value:i})):{name:`[${n.name}][${l}]`,value:o}):n.value!==null&&typeof n.value=="object"&&!Array.isArray(n.value)?Object.entries(n.value).map(([o,l])=>({name:`[${n.name}][${o}]`,value:l})):[]);return(o,l)=>r.value?(e.openBlock(),e.createBlock(Ml,e.mergeProps({key:o.name},{...n,...o.$attrs},{name:o.name,value:o.value}),null,16,["name","value"])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.value,s=>(e.openBlock(),e.createBlock(Ml,e.mergeProps({key:s.name,ref_for:!0},{...n,...o.$attrs},{name:s.name,value:s.value}),null,16,["name","value"]))),128))}}),[Pv,O0]=It("CheckboxGroupRoot");function Sn(t){return t==="indeterminate"}function Il(t){return Sn(t)?"indeterminate":t?"checked":"unchecked"}const Ev=e.defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=kv(),a=lv(),o=e.computed(()=>n.tabStopId||a),l=e.computed(()=>r.currentTabStopId.value===o.value),{getItems:s,CollectionItem:i}=bv();e.onMounted(()=>{n.focusable&&r.onFocusableItemAdd()}),e.onUnmounted(()=>{n.focusable&&r.onFocusableItemRemove()});function u(c){if(c.key==="Tab"&&c.shiftKey){r.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const d=Cv(c,r.orientation.value,r.dir.value);if(d!==void 0){if(c.metaKey||c.ctrlKey||c.altKey||!n.allowShiftKey&&c.shiftKey)return;c.preventDefault();let f=[...s().map(m=>m.ref).filter(m=>m.dataset.disabled!=="")];if(d==="last")f.reverse();else if(d==="prev"||d==="next"){d==="prev"&&f.reverse();const m=f.indexOf(c.currentTarget);f=r.loop.value?Bv(f,m+1):f.slice(m+1)}e.nextTick(()=>_v(f))}}return(c,d)=>(e.openBlock(),e.createBlock(e.unref(i),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ze),{tabindex:l.value?0:-1,"data-orientation":e.unref(r).orientation.value,"data-active":c.active?"":void 0,"data-disabled":c.focusable?void 0:"",as:c.as,"as-child":c.asChild,onMousedown:d[0]||(d[0]=f=>{c.focusable?e.unref(r).onItemFocus(o.value):f.preventDefault()}),onFocus:d[1]||(d[1]=f=>e.unref(r).onItemFocus(o.value)),onKeydown:u},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[$v,Tv]=It("CheckboxRoot"),Ov=e.defineComponent({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultValue:{type:[Boolean,String]},modelValue:{type:[Boolean,String,null],default:void 0},disabled:{type:Boolean},value:{default:"on"},id:{},asChild:{type:Boolean},as:{default:"button"},name:{},required:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=Rt(),s=Pv(null),i=nv(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),u=e.computed(()=>(s==null?void 0:s.disabled.value)||r.disabled),c=e.computed(()=>ea(s==null?void 0:s.modelValue.value)?i.value==="indeterminate"?"indeterminate":i.value:Ol(s.modelValue.value,r.value));function d(){if(ea(s==null?void 0:s.modelValue.value))i.value=Sn(i.value)?!0:!i.value;else{const p=[...s.modelValue.value||[]];if(Ol(p,r.value)){const v=p.findIndex(h=>Nr(h,r.value));p.splice(v,1)}else p.push(r.value);s.modelValue.value=p}}const f=yv(l),m=e.computed(()=>{var p;return r.id&&l.value?(p=document.querySelector(`[for="${r.id}"]`))==null?void 0:p.innerText:void 0});return Tv({disabled:u,state:c}),(p,v)=>{var h,g;return e.openBlock(),e.createBlock(e.resolveDynamicComponent((h=e.unref(s))!=null&&h.rovingFocus.value?e.unref(Ev):e.unref(Ze)),e.mergeProps(p.$attrs,{id:p.id,ref:e.unref(o),role:"checkbox","as-child":p.asChild,as:p.as,type:p.as==="button"?"button":void 0,"aria-checked":e.unref(Sn)(c.value)?"mixed":c.value,"aria-required":p.required,"aria-label":p.$attrs["aria-label"]||m.value,"data-state":e.unref(Il)(c.value),"data-disabled":u.value?"":void 0,disabled:u.value,focusable:(g=e.unref(s))!=null&&g.rovingFocus.value?!u.value:void 0,onKeydown:e.withKeys(e.withModifiers(()=>{},["prevent"]),["enter"]),onClick:d}),{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default",{modelValue:e.unref(i),state:c.value}),e.unref(f)&&p.name&&!e.unref(s)?(e.openBlock(),e.createBlock(e.unref(Sv),{key:0,type:"checkbox",checked:!!c.value,name:p.name,value:p.value,disabled:u.value,required:p.required},null,8,["checked","name","value","disabled","required"])):e.createCommentVNode("",!0)]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","focusable","onKeydown"])}}}),Av=e.defineComponent({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const{forwardRef:n}=Rt(),r=$v();return(a,o)=>(e.openBlock(),e.createBlock(e.unref(uv),{present:a.forceMount||e.unref(Sn)(e.unref(r).state.value)||e.unref(r).state.value===!0},{default:e.withCtx(()=>[e.createVNode(e.unref(Ze),e.mergeProps({ref:e.unref(n),"data-state":e.unref(Il)(e.unref(r).state.value),"data-disabled":e.unref(r).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":a.asChild,as:a.as},a.$attrs),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),Dv=e.defineComponent({__name:"Avatar",props:{class:{},size:{default:"sm"},shape:{default:"circle"}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(mv),{class:e.normalizeClass(e.unref(A)(e.unref(Rl)({size:r.size,shape:r.shape}),n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),Vv=e.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(vv),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Mv=e.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(gv),e.mergeProps(n,{class:"h-full w-full object-cover"}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Rl=Mt("inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-secondary font-normal text-foreground",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),Iv=e.defineComponent({__name:"Badge",props:{variant:{},class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)(e.unref(Fl)({variant:r.variant}),n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Fl=Mt("inline-flex items-center rounded-md 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 hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),Rv=e.defineComponent({__name:"Card",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("rounded-xl border bg-card text-card-foreground shadow",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Fv=e.defineComponent({__name:"CardContent",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("p-6 pt-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),zv=e.defineComponent({__name:"CardDescription",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(A)("text-sm text-muted-foreground",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Lv=e.defineComponent({__name:"CardFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex items-center p-6 pt-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),jv=e.defineComponent({__name:"CardHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-1.5 p-6",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Kv=e.defineComponent({__name:"CardTitle",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("h3",{class:e.normalizeClass(e.unref(A)("font-semibold leading-none tracking-tight",n.class))},[e.renderSlot(r.$slots,"default")],2))}});var zl;const Hv=typeof window<"u",Uv=t=>typeof t<"u",Wv=t=>typeof t=="function";Hv&&((zl=window==null?void 0:window.navigator)!=null&&zl.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function qv(t){return t}function Gv(t){const n=Symbol("InjectionState");return[(...o)=>{const l=t(...o);return e.provide(n,l),l},()=>e.inject(n)]}function Yv(t){return JSON.parse(JSON.stringify(t))}const Ll=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},jl="__vueuse_ssr_handlers__";Ll[jl]=Ll[jl]||{};var Kl;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(Kl||(Kl={}));var Xv=Object.defineProperty,Hl=Object.getOwnPropertySymbols,Qv=Object.prototype.hasOwnProperty,Zv=Object.prototype.propertyIsEnumerable,Ul=(t,n,r)=>n in t?Xv(t,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[n]=r,Jv=(t,n)=>{for(var r in n||(n={}))Qv.call(n,r)&&Ul(t,r,n[r]);if(Hl)for(var r of Hl(n))Zv.call(n,r)&&Ul(t,r,n[r]);return t};Jv({linear:qv},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});function Wl(t,n,r,a={}){var o,l,s;const{clone:i=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f}=a,m=e.getCurrentInstance(),p=r||(m==null?void 0:m.emit)||((o=m==null?void 0:m.$emit)==null?void 0:o.bind(m))||((s=(l=m==null?void 0:m.proxy)==null?void 0:l.$emit)==null?void 0:s.bind(m==null?void 0:m.proxy));let v=c;v=c||v||`update:${n.toString()}`;const h=y=>i?Wv(i)?i(y):Yv(y):y,g=()=>Uv(t[n])?h(t[n]):f;if(u){const y=g(),b=e.ref(y);return e.watch(()=>t[n],w=>b.value=h(w)),e.watch(b,w=>{(w!==t[n]||d)&&p(v,w)},{deep:d}),b}else return e.computed({get(){return g()},set(y){p(v,y)}})}function Nv(t){return Object.prototype.toString.call(t)==="[object Object]"}function ql(t){return Nv(t)||Array.isArray(t)}function eh(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function na(t,n){const r=Object.keys(t),a=Object.keys(n);if(r.length!==a.length)return!1;const o=JSON.stringify(Object.keys(t.breakpoints||{})),l=JSON.stringify(Object.keys(n.breakpoints||{}));return o!==l?!1:r.every(s=>{const i=t[s],u=n[s];return typeof i=="function"?`${i}`==`${u}`:!ql(i)||!ql(u)?i===u:na(i,u)})}function Gl(t){return t.concat().sort((n,r)=>n.name>r.name?1:-1).map(n=>n.options)}function th(t,n){if(t.length!==n.length)return!1;const r=Gl(t),a=Gl(n);return r.every((o,l)=>{const s=a[l];return na(o,s)})}function ra(t){return typeof t=="number"}function aa(t){return typeof t=="string"}function Pn(t){return typeof t=="boolean"}function Yl(t){return Object.prototype.toString.call(t)==="[object Object]"}function J(t){return Math.abs(t)}function oa(t){return Math.sign(t)}function Ft(t,n){return J(t-n)}function nh(t,n){if(t===0||n===0||J(t)<=J(n))return 0;const r=Ft(J(t),J(n));return J(r/t)}function rh(t){return Math.round(t*100)/100}function zt(t){return jt(t).map(Number)}function be(t){return t[Lt(t)]}function Lt(t){return Math.max(0,t.length-1)}function la(t,n){return n===Lt(t)}function Xl(t,n=0){return Array.from(Array(t),(r,a)=>n+a)}function jt(t){return Object.keys(t)}function Ql(t,n){return[t,n].reduce((r,a)=>(jt(a).forEach(o=>{const l=r[o],s=a[o],i=Yl(l)&&Yl(s);r[o]=i?Ql(l,s):s}),r),{})}function sa(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function ah(t,n){const r={start:a,center:o,end:l};function a(){return 0}function o(u){return l(u)/2}function l(u){return n-u}function s(u,c){return aa(t)?r[t](u):t(n,u,c)}return{measure:s}}function Kt(){let t=[];function n(o,l,s,i={passive:!0}){let u;if("addEventListener"in o)o.addEventListener(l,s,i),u=()=>o.removeEventListener(l,s,i);else{const c=o;c.addListener(s),u=()=>c.removeListener(s)}return t.push(u),a}function r(){t=t.filter(o=>o())}const a={add:n,clear:r};return a}function oh(t,n,r,a){const o=Kt(),l=1e3/60;let s=null,i=0,u=0;function c(){o.add(t,"visibilitychange",()=>{t.hidden&&v()})}function d(){p(),o.clear()}function f(g){if(!u)return;s||(s=g,r(),r());const y=g-s;for(s=g,i+=y;i>=l;)r(),i-=l;const b=i/l;a(b),u&&(u=n.requestAnimationFrame(f))}function m(){u||(u=n.requestAnimationFrame(f))}function p(){n.cancelAnimationFrame(u),s=null,i=0,u=0}function v(){s=null,i=0}return{init:c,destroy:d,start:m,stop:p,update:r,render:a}}function lh(t,n){const r=n==="rtl",a=t==="y",o=a?"y":"x",l=a?"x":"y",s=!a&&r?-1:1,i=d(),u=f();function c(v){const{height:h,width:g}=v;return a?h:g}function d(){return a?"top":r?"right":"left"}function f(){return a?"bottom":r?"left":"right"}function m(v){return v*s}return{scroll:o,cross:l,startEdge:i,endEdge:u,measureSize:c,direction:m}}function Je(t=0,n=0){const r=J(t-n);function a(c){return cn}function l(c){return a(c)||o(c)}function s(c){return l(c)?a(c)?t:n:c}function i(c){return r?c-r*Math.ceil((c-n)/r):c}return{length:r,max:n,min:t,constrain:s,reachedAny:l,reachedMax:o,reachedMin:a,removeOffset:i}}function Zl(t,n,r){const{constrain:a}=Je(0,t),o=t+1;let l=s(n);function s(m){return r?J((o+m)%o):a(m)}function i(){return l}function u(m){return l=s(m),f}function c(m){return d().set(i()+m)}function d(){return Zl(t,i(),r)}const f={get:i,set:u,add:c,clone:d};return f}function sh(t,n,r,a,o,l,s,i,u,c,d,f,m,p,v,h,g,y,b){const{cross:w,direction:_}=t,x=["INPUT","SELECT","TEXTAREA"],S={passive:!1},B=Kt(),P=Kt(),T=Je(50,225).constrain(p.measure(20)),k={mouse:300,touch:400},O={mouse:500,touch:600},$=v?43:25;let R=!1,I=0,L=0,U=!1,Q=!1,q=!1,D=!1;function F(M){if(!b)return;function W(le){(Pn(b)||b(M,le))&&Ne(le)}const ne=n;B.add(ne,"dragstart",le=>le.preventDefault(),S).add(ne,"touchmove",()=>{},S).add(ne,"touchend",()=>{}).add(ne,"touchstart",W).add(ne,"mousedown",W).add(ne,"touchcancel",Z).add(ne,"contextmenu",Z).add(ne,"click",oe,!0)}function K(){B.clear(),P.clear()}function se(){const M=D?r:n;P.add(M,"touchmove",N,S).add(M,"touchend",Z).add(M,"mousemove",N,S).add(M,"mouseup",Z)}function de(M){const W=M.nodeName||"";return x.includes(W)}function ie(){return(v?O:k)[D?"mouse":"touch"]}function ke(M,W){const ne=f.add(oa(M)*-1),le=d.byDistance(M,!v).distance;return v||J(M)=2,!(W&&M.button!==0)&&(de(M.target)||(U=!0,l.pointerDown(M),c.useFriction(0).useDuration(0),o.set(s),se(),I=l.readPoint(M),L=l.readPoint(M,w),m.emit("pointerDown")))}function N(M){if(!sa(M,a)&&M.touches.length>=2)return Z(M);const ne=l.readPoint(M),le=l.readPoint(M,w),Se=Ft(ne,I),De=Ft(le,L);if(!Q&&!D&&(!M.cancelable||(Q=Se>De,!Q)))return Z(M);const et=l.pointerMove(M);Se>h&&(q=!0),c.useFriction(.3).useDuration(.75),i.start(),o.add(_(et)),M.preventDefault()}function Z(M){const ne=d.byDistance(0,!1).index!==f.get(),le=l.pointerUp(M)*ie(),Se=ke(_(le),ne),De=nh(le,Se),et=$-10*De,Ke=y+De/50;Q=!1,U=!1,P.clear(),c.useDuration(et).useFriction(Ke),u.distance(Se,!v),D=!1,m.emit("pointerUp")}function oe(M){q&&(M.stopPropagation(),M.preventDefault(),q=!1)}function te(){return U}return{init:F,destroy:K,pointerDown:te}}function ih(t,n){let a,o;function l(f){return f.timeStamp}function s(f,m){const v=`client${(m||t.scroll)==="x"?"X":"Y"}`;return(sa(f,n)?f:f.touches[0])[v]}function i(f){return a=f,o=f,s(f)}function u(f){const m=s(f)-s(o),p=l(f)-l(a)>170;return o=f,p&&(a=f),m}function c(f){if(!a||!o)return 0;const m=s(o)-s(a),p=l(f)-l(a),v=l(f)-l(o)>170,h=m/p;return p&&!v&&J(h)>.1?h:0}return{pointerDown:i,pointerMove:u,pointerUp:c,readPoint:s}}function uh(){function t(r){const{offsetTop:a,offsetLeft:o,offsetWidth:l,offsetHeight:s}=r;return{top:a,right:o+l,bottom:a+s,left:o,width:l,height:s}}return{measure:t}}function ch(t){function n(a){return t*(a/100)}return{measure:n}}function dh(t,n,r,a,o,l,s){const i=[t].concat(a);let u,c,d=[],f=!1;function m(g){return o.measureSize(s.measure(g))}function p(g){if(!l)return;c=m(t),d=a.map(m);function y(b){for(const w of b){if(f)return;const _=w.target===t,x=a.indexOf(w.target),S=_?c:d[x],B=m(_?t:a[x]);if(J(B-S)>=.5){g.reInit(),n.emit("resize");break}}}u=new ResizeObserver(b=>{(Pn(l)||l(g,b))&&y(b)}),r.requestAnimationFrame(()=>{i.forEach(b=>u.observe(b))})}function v(){f=!0,u&&u.disconnect()}return{init:p,destroy:v}}function fh(t,n,r,a,o,l){let s=0,i=0,u=o,c=l,d=t.get(),f=0;function m(){const S=a.get()-t.get(),B=!u;let P=0;return B?(s=0,r.set(a),t.set(a),P=S):(r.set(t),s+=S/u,s*=c,d+=s,t.add(s),P=d-f),i=oa(P),f=d,x}function p(){const S=a.get()-n.get();return J(S)<.001}function v(){return u}function h(){return i}function g(){return s}function y(){return w(o)}function b(){return _(l)}function w(S){return u=S,x}function _(S){return c=S,x}const x={direction:h,duration:v,velocity:g,seek:m,settled:p,useBaseFriction:b,useBaseDuration:y,useFriction:_,useDuration:w};return x}function ph(t,n,r,a,o){const l=o.measure(10),s=o.measure(50),i=Je(.1,.99);let u=!1;function c(){return!(u||!t.reachedAny(r.get())||!t.reachedAny(n.get()))}function d(p){if(!c())return;const v=t.reachedMin(n.get())?"min":"max",h=J(t[v]-n.get()),g=r.get()-n.get(),y=i.constrain(h/s);r.subtract(g*y),!p&&J(g){const{min:g,max:y}=l,b=l.constrain(v),w=!h,_=la(r,h);return w?y:_||c(g,b)?g:c(y,b)?y:b}).map(v=>parseFloat(v.toFixed(3)))}function m(){if(n<=t+o)return[l.max];if(a==="keepSnaps")return s;const{min:v,max:h}=i;return s.slice(v,h)}return{snapsContained:u,scrollContainLimit:i}}function vh(t,n,r){const a=n[0],o=r?a-t:be(n);return{limit:Je(o,a)}}function hh(t,n,r,a){const l=n.min+.1,s=n.max+.1,{reachedMin:i,reachedMax:u}=Je(l,s);function c(m){return m===1?u(r.get()):m===-1?i(r.get()):!1}function d(m){if(!c(m))return;const p=t*(m*-1);a.forEach(v=>v.add(p))}return{loop:d}}function gh(t){const{max:n,length:r}=t;function a(l){const s=l-n;return r?s/-r:0}return{get:a}}function yh(t,n,r,a,o){const{startEdge:l,endEdge:s}=t,{groupSlides:i}=o,u=f().map(n.measure),c=m(),d=p();function f(){return i(a).map(h=>be(h)[s]-h[0][l]).map(J)}function m(){return a.map(h=>r[l]-h[l]).map(h=>-J(h))}function p(){return i(c).map(h=>h[0]).map((h,g)=>h+u[g])}return{snaps:c,snapsAligned:d}}function bh(t,n,r,a,o,l){const{groupSlides:s}=o,{min:i,max:u}=a,c=d();function d(){const m=s(l),p=!t||n==="keepSnaps";return r.length===1?[l]:p?m:m.slice(i,u).map((v,h,g)=>{const y=!h,b=la(g,h);if(y){const w=be(g[0])+1;return Xl(w)}if(b){const w=Lt(l)-be(g)[0]+1;return Xl(w,be(g)[0])}return v})}return{slideRegistry:c}}function wh(t,n,r,a,o){const{reachedAny:l,removeOffset:s,constrain:i}=a;function u(v){return v.concat().sort((h,g)=>J(h)-J(g))[0]}function c(v){const h=t?s(v):i(v),g=n.map((b,w)=>({diff:d(b-h,0),index:w})).sort((b,w)=>J(b.diff)-J(w.diff)),{index:y}=g[0];return{index:y,distance:h}}function d(v,h){const g=[v,v+r,v-r];if(!t)return v;if(!h)return u(g);const y=g.filter(b=>oa(b)===h);return y.length?u(y):be(g)-r}function f(v,h){const g=n[v]-o.get(),y=d(g,h);return{index:v,distance:y}}function m(v,h){const g=o.get()+v,{index:y,distance:b}=c(g),w=!t&&l(g);if(!h||w)return{index:y,distance:v};const _=n[y]-b,x=v+d(_,0);return{index:y,distance:x}}return{byDistance:m,byIndex:f,shortcut:d}}function xh(t,n,r,a,o,l,s){function i(f){const m=f.distance,p=f.index!==n.get();l.add(m),m&&(a.duration()?t.start():(t.update(),t.render(1),t.update())),p&&(r.set(n.get()),n.set(f.index),s.emit("select"))}function u(f,m){const p=o.byDistance(f,m);i(p)}function c(f,m){const p=n.clone().set(f),v=o.byIndex(p.get(),m);i(v)}return{distance:u,index:c}}function Ch(t,n,r,a,o,l,s,i){const u={passive:!0,capture:!0};let c=0;function d(p){if(!i)return;function v(h){if(new Date().getTime()-c>10)return;s.emit("slideFocusStart"),t.scrollLeft=0;const b=r.findIndex(w=>w.includes(h));ra(b)&&(o.useDuration(0),a.index(b,0),s.emit("slideFocus"))}l.add(document,"keydown",f,!1),n.forEach((h,g)=>{l.add(h,"focus",y=>{(Pn(i)||i(p,y))&&v(g)},u)})}function f(p){p.code==="Tab"&&(c=new Date().getTime())}return{init:d}}function Ht(t){let n=t;function r(){return n}function a(u){n=s(u)}function o(u){n+=s(u)}function l(u){n-=s(u)}function s(u){return ra(u)?u:u.get()}return{get:r,set:a,add:o,subtract:l}}function Jl(t,n){const r=t.scroll==="x"?s:i,a=n.style;let o=null,l=!1;function s(m){return`translate3d(${m}px,0px,0px)`}function i(m){return`translate3d(0px,${m}px,0px)`}function u(m){if(l)return;const p=rh(t.direction(m));p!==o&&(a.transform=r(p),o=p)}function c(m){l=!m}function d(){l||(a.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:d,to:u,toggleActive:c}}function _h(t,n,r,a,o,l,s,i,u){const d=zt(o),f=zt(o).reverse(),m=y().concat(b());function p(B,P){return B.reduce((T,k)=>T-o[k],P)}function v(B,P){return B.reduce((T,k)=>p(T,P)>0?T.concat([k]):T,[])}function h(B){return l.map((P,T)=>({start:P-a[T]+.5+B,end:P+n-.5+B}))}function g(B,P,T){const k=h(P);return B.map(O=>{const $=T?0:-r,R=T?r:0,I=T?"end":"start",L=k[O][I];return{index:O,loopPoint:L,slideLocation:Ht(-1),translate:Jl(t,u[O]),target:()=>i.get()>L?$:R}})}function y(){const B=s[0],P=v(f,B);return g(P,r,!1)}function b(){const B=n-s[0]-1,P=v(d,B);return g(P,-r,!0)}function w(){return m.every(({index:B})=>{const P=d.filter(T=>T!==B);return p(P,n)<=.1})}function _(){m.forEach(B=>{const{target:P,translate:T,slideLocation:k}=B,O=P();O!==k.get()&&(T.to(O),k.set(O))})}function x(){m.forEach(B=>B.translate.clear())}return{canLoop:w,clear:x,loop:_,loopPoints:m}}function Bh(t,n,r){let a,o=!1;function l(u){if(!r)return;function c(d){for(const f of d)if(f.type==="childList"){u.reInit(),n.emit("slidesChanged");break}}a=new MutationObserver(d=>{o||(Pn(r)||r(u,d))&&c(d)}),a.observe(t,{childList:!0})}function s(){a&&a.disconnect(),o=!0}return{init:l,destroy:s}}function kh(t,n,r,a){const o={};let l=null,s=null,i,u=!1;function c(){i=new IntersectionObserver(v=>{u||(v.forEach(h=>{const g=n.indexOf(h.target);o[g]=h}),l=null,s=null,r.emit("slidesInView"))},{root:t.parentElement,threshold:a}),n.forEach(v=>i.observe(v))}function d(){i&&i.disconnect(),u=!0}function f(v){return jt(o).reduce((h,g)=>{const y=parseInt(g),{isIntersecting:b}=o[y];return(v&&b||!v&&!b)&&h.push(y),h},[])}function m(v=!0){if(v&&l)return l;if(!v&&s)return s;const h=f(v);return v&&(l=h),v||(s=h),h}return{init:c,destroy:d,get:m}}function Sh(t,n,r,a,o,l){const{measureSize:s,startEdge:i,endEdge:u}=t,c=r[0]&&o,d=v(),f=h(),m=r.map(s),p=g();function v(){if(!c)return 0;const b=r[0];return J(n[i]-b[i])}function h(){if(!c)return 0;const b=l.getComputedStyle(be(a));return parseFloat(b.getPropertyValue(`margin-${u}`))}function g(){return r.map((b,w,_)=>{const x=!w,S=la(_,w);return x?m[w]+d:S?m[w]+f:_[w+1][i]-b[i]}).map(J)}return{slideSizes:m,slideSizesWithGaps:p,startGap:d,endGap:f}}function Ph(t,n,r,a,o,l,s,i,u){const{startEdge:c,endEdge:d,direction:f}=t,m=ra(r);function p(y,b){return zt(y).filter(w=>w%b===0).map(w=>y.slice(w,w+b))}function v(y){return y.length?zt(y).reduce((b,w,_)=>{const x=be(b)||0,S=x===0,B=w===Lt(y),P=o[c]-l[x][c],T=o[c]-l[w][d],k=!a&&S?f(s):0,O=!a&&B?f(i):0,$=J(T-O-(P+k));return _&&$>n+u&&b.push(w),B&&b.push(y.length),b},[]).map((b,w,_)=>{const x=Math.max(_[w-1]||0);return y.slice(x,b)}):[]}function h(y){return m?p(y,r):v(y)}return{groupSlides:h}}function Eh(t,n,r,a,o,l,s){const{align:i,axis:u,direction:c,startIndex:d,loop:f,duration:m,dragFree:p,dragThreshold:v,inViewThreshold:h,slidesToScroll:g,skipSnaps:y,containScroll:b,watchResize:w,watchSlides:_,watchDrag:x,watchFocus:S}=l,B=2,P=uh(),T=P.measure(n),k=r.map(P.measure),O=lh(u,c),$=O.measureSize(T),R=ch($),I=ah(i,$),L=!f&&!!b,U=f||!!b,{slideSizes:Q,slideSizesWithGaps:q,startGap:D,endGap:F}=Sh(O,T,k,r,U,o),K=Ph(O,$,g,f,T,k,D,F,B),{snaps:se,snapsAligned:de}=yh(O,I,T,k,K),ie=-be(se)+be(q),{snapsContained:ke,scrollContainLimit:Ne}=mh($,ie,de,b,B),N=L?ke:de,{limit:Z}=vh(ie,N,f),oe=Zl(Lt(N),d,f),te=oe.clone(),G=zt(r),M=({dragHandler:wt,scrollBody:fa,scrollBounds:pa,options:{loop:Tn}})=>{Tn||pa.constrain(wt.pointerDown()),fa.seek()},W=({scrollBody:wt,translate:fa,location:pa,offsetLocation:Tn,previousLocation:m0,scrollLooper:v0,slideLooper:h0,dragHandler:g0,animation:y0,eventHandler:cs,scrollBounds:b0,options:{loop:ds}},fs)=>{const ps=wt.settled(),w0=!b0.shouldConstrain(),ms=ds?ps:ps&&w0,vs=ms&&!g0.pointerDown();vs&&y0.stop();const x0=pa.get()*fs+m0.get()*(1-fs);Tn.set(x0),ds&&(v0.loop(wt.direction()),h0.loop()),fa.to(Tn.get()),vs&&cs.emit("settle"),ms||cs.emit("scroll")},ne=oh(a,o,()=>M(da),wt=>W(da,wt)),le=.68,Se=N[oe.get()],De=Ht(Se),et=Ht(Se),Ke=Ht(Se),tt=Ht(Se),Wt=fh(De,Ke,et,tt,m,le),ua=wh(f,N,ie,Z,tt),ca=xh(ne,oe,te,Wt,ua,tt,s),ss=gh(Z),is=Kt(),f0=kh(n,r,s,h),{slideRegistry:us}=bh(L,b,N,Ne,K,G),p0=Ch(t,r,us,ca,Wt,is,s,S),da={ownerDocument:a,ownerWindow:o,eventHandler:s,containerRect:T,slideRects:k,animation:ne,axis:O,dragHandler:sh(O,t,a,o,tt,ih(O,o),De,ne,ca,Wt,ua,oe,s,R,p,v,y,le,x),eventStore:is,percentOfView:R,index:oe,indexPrevious:te,limit:Z,location:De,offsetLocation:Ke,previousLocation:et,options:l,resizeHandler:dh(n,s,o,r,O,w,P),scrollBody:Wt,scrollBounds:ph(Z,Ke,tt,Wt,R),scrollLooper:hh(ie,Z,Ke,[De,Ke,et,tt]),scrollProgress:ss,scrollSnapList:N.map(ss.get),scrollSnaps:N,scrollTarget:ua,scrollTo:ca,slideLooper:_h(O,$,ie,Q,q,se,N,Ke,r),slideFocus:p0,slidesHandler:Bh(n,s,_),slidesInView:f0,slideIndexes:G,slideRegistry:us,slidesToScroll:K,target:tt,translate:Jl(O,n)};return da}function $h(){let t={},n;function r(c){n=c}function a(c){return t[c]||[]}function o(c){return a(c).forEach(d=>d(n,c)),u}function l(c,d){return t[c]=a(c).concat([d]),u}function s(c,d){return t[c]=a(c).filter(f=>f!==d),u}function i(){t={}}const u={init:r,emit:o,off:s,on:l,clear:i};return u}const Th={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Oh(t){function n(l,s){return Ql(l,s||{})}function r(l){const s=l.breakpoints||{},i=jt(s).filter(u=>t.matchMedia(u).matches).map(u=>s[u]).reduce((u,c)=>n(u,c),{});return n(l,i)}function a(l){return l.map(s=>jt(s.breakpoints||{})).reduce((s,i)=>s.concat(i),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:r,optionsMediaQueries:a}}function Ah(t){let n=[];function r(l,s){return n=s.filter(({options:i})=>t.optionsAtMedia(i).active!==!1),n.forEach(i=>i.init(l,t)),s.reduce((i,u)=>Object.assign(i,{[u.name]:u}),{})}function a(){n=n.filter(l=>l.destroy())}return{init:r,destroy:a}}function En(t,n,r){const a=t.ownerDocument,o=a.defaultView,l=Oh(o),s=Ah(l),i=Kt(),u=$h(),{mergeOptions:c,optionsAtMedia:d,optionsMediaQueries:f}=l,{on:m,off:p,emit:v}=u,h=O;let g=!1,y,b=c(Th,En.globalOptions),w=c(b),_=[],x,S,B;function P(){const{container:G,slides:M}=w;S=(aa(G)?t.querySelector(G):G)||t.children[0];const ne=aa(M)?S.querySelectorAll(M):M;B=[].slice.call(ne||S.children)}function T(G){const M=Eh(t,S,B,a,o,G,u);if(G.loop&&!M.slideLooper.canLoop()){const W=Object.assign({},G,{loop:!1});return T(W)}return M}function k(G,M){g||(b=c(b,G),w=d(b),_=M||_,P(),y=T(w),f([b,..._.map(({options:W})=>W)]).forEach(W=>i.add(W,"change",O)),w.active&&(y.translate.to(y.location.get()),y.animation.init(),y.slidesInView.init(),y.slideFocus.init(te),y.eventHandler.init(te),y.resizeHandler.init(te),y.slidesHandler.init(te),y.options.loop&&y.slideLooper.loop(),S.offsetParent&&B.length&&y.dragHandler.init(te),x=s.init(te,_)))}function O(G,M){const W=K();$(),k(c({startIndex:W},G),M),u.emit("reInit")}function $(){y.dragHandler.destroy(),y.eventStore.clear(),y.translate.clear(),y.slideLooper.clear(),y.resizeHandler.destroy(),y.slidesHandler.destroy(),y.slidesInView.destroy(),y.animation.destroy(),s.destroy(),i.clear()}function R(){g||(g=!0,i.clear(),$(),u.emit("destroy"),u.clear())}function I(G,M,W){!w.active||g||(y.scrollBody.useBaseFriction().useDuration(M===!0?0:w.duration),y.scrollTo.index(G,W||0))}function L(G){const M=y.index.add(1).get();I(M,G,-1)}function U(G){const M=y.index.add(-1).get();I(M,G,1)}function Q(){return y.index.add(1).get()!==K()}function q(){return y.index.add(-1).get()!==K()}function D(){return y.scrollSnapList}function F(){return y.scrollProgress.get(y.offsetLocation.get())}function K(){return y.index.get()}function se(){return y.indexPrevious.get()}function de(){return y.slidesInView.get()}function ie(){return y.slidesInView.get(!1)}function ke(){return x}function Ne(){return y}function N(){return t}function Z(){return S}function oe(){return B}const te={canScrollNext:Q,canScrollPrev:q,containerNode:Z,internalEngine:Ne,destroy:R,off:p,on:m,emit:v,plugins:ke,previousScrollSnap:se,reInit:h,rootNode:N,scrollNext:L,scrollPrev:U,scrollProgress:F,scrollSnapList:D,scrollTo:I,selectedScrollSnap:K,slideNodes:oe,slidesInView:de,slidesNotInView:ie};return k(n,r),setTimeout(()=>u.emit("init"),0),te}En.globalOptions=void 0;function ia(t={},n=[]){const r=e.isRef(t),a=e.isRef(n);let o=r?t.value:t,l=a?n.value:n;const s=e.shallowRef(),i=e.shallowRef();function u(){i.value&&i.value.reInit(o,l)}return e.onMounted(()=>{!eh()||!s.value||(En.globalOptions=ia.globalOptions,i.value=En(s.value,o,l))}),e.onBeforeUnmount(()=>{i.value&&i.value.destroy()}),r&&e.watch(t,c=>{na(o,c)||(o=c,u())}),a&&e.watch(n,c=>{th(l,c)||(l=c,u())}),[s,i]}ia.globalOptions=void 0;const[Dh,Vh]=Gv(({opts:t,orientation:n,plugins:r},a)=>{const[o,l]=ia({...t,axis:n==="horizontal"?"x":"y"},r);function s(){var f;(f=l.value)==null||f.scrollPrev()}function i(){var f;(f=l.value)==null||f.scrollNext()}const u=e.ref(!1),c=e.ref(!1);function d(f){u.value=(f==null?void 0:f.canScrollNext())||!1,c.value=(f==null?void 0:f.canScrollPrev())||!1}return e.onMounted(()=>{var f,m,p;l.value&&((f=l.value)==null||f.on("init",d),(m=l.value)==null||m.on("reInit",d),(p=l.value)==null||p.on("select",d),a("init-api",l.value))}),{carouselRef:o,carouselApi:l,canScrollPrev:c,canScrollNext:u,scrollPrev:s,scrollNext:i,orientation:n}});function Ut(){const t=Vh();if(!t)throw new Error("useCarousel must be used within a ");return t}const Mh=e.defineComponent({__name:"Carousel",props:{opts:{},plugins:{},orientation:{default:"horizontal"},class:{}},emits:["init-api"],setup(t,{expose:n,emit:r}){const a=t,o=r,{canScrollNext:l,canScrollPrev:s,carouselApi:i,carouselRef:u,orientation:c,scrollNext:d,scrollPrev:f}=Dh(a,o);n({canScrollNext:l,canScrollPrev:s,carouselApi:i,carouselRef:u,orientation:c,scrollNext:d,scrollPrev:f});function m(p){const v=a.orientation==="vertical"?"ArrowUp":"ArrowLeft",h=a.orientation==="vertical"?"ArrowDown":"ArrowRight";if(p.key===v){p.preventDefault(),f();return}p.key===h&&(p.preventDefault(),d())}return(p,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("relative",a.class)),role:"region","aria-roledescription":"carousel",tabindex:"0",onKeydown:m},[e.renderSlot(p.$slots,"default",{canScrollNext:e.unref(l),canScrollPrev:e.unref(s),carouselApi:e.unref(i),carouselRef:e.unref(u),orientation:e.unref(c),scrollNext:e.unref(d),scrollPrev:e.unref(f)})],34))}}),Ih=e.defineComponent({inheritAttrs:!1,__name:"CarouselContent",props:{class:{}},setup(t){const n=t,{carouselRef:r,orientation:a}=Ut();return(o,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"carouselRef",ref:r,class:"overflow-hidden"},[e.createElementVNode("div",e.mergeProps({class:e.unref(A)("flex",e.unref(a)==="horizontal"?"-ml-4":"-mt-4 flex-col",n.class)},o.$attrs),[e.renderSlot(o.$slots,"default")],16)],512))}}),Rh=e.defineComponent({__name:"CarouselItem",props:{class:{}},setup(t){const n=t,{orientation:r}=Ut();return(a,o)=>(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(r)==="horizontal"?"pl-4":"pt-4",n.class))},[e.renderSlot(a.$slots,"default")],2))}}),Fh=e.defineComponent({__name:"CarouselPrevious",props:{class:{}},setup(t){const n=t,{orientation:r,canScrollPrev:a,scrollPrev:o}=Ut();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Qr),{disabled:!e.unref(a),class:e.normalizeClass(e.unref(A)("touch-manipulation absolute size-8 rounded-full p-0",e.unref(r)==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",n.class)),variant:"outline",onClick:e.unref(o)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(e.unref(Em),{class:"size-4 text-current"}),s[0]||(s[0]=e.createElementVNode("span",{class:"sr-only"},"Previous Slide",-1))])]),_:3},8,["disabled","class","onClick"]))}}),zh=e.defineComponent({__name:"CarouselNext",props:{class:{}},setup(t){const n=t,{orientation:r,canScrollNext:a,scrollNext:o}=Ut();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Qr),{disabled:!e.unref(a),class:e.normalizeClass(e.unref(A)("touch-manipulation absolute size-8 rounded-full p-0",e.unref(r)==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",n.class)),variant:"outline",onClick:e.unref(o)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(e.unref($m),{class:"size-4 text-current"}),s[0]||(s[0]=e.createElementVNode("span",{class:"sr-only"},"Next Slide",-1))])]),_:3},8,["disabled","class","onClick"]))}});/** * @license lucide-vue-next v0.439.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tg=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** + */const Lh=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** * @license lucide-vue-next v0.439.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */var Pn={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"};/** + */var $n={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"};/** * @license lucide-vue-next v0.439.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ng=({size:t,strokeWidth:n=2,absoluteStrokeWidth:r,color:a,iconNode:o,name:l,class:s,...i},{slots:u})=>e.h("svg",{...Pn,width:t||Pn.width,height:t||Pn.height,stroke:a||Pn.stroke,"stroke-width":r?Number(n)*24/Number(t):n,class:["lucide",`lucide-${tg(l??"icon")}`],...i},[...o.map(c=>e.h(...c)),...u.default?[u.default()]:[]]);/** + */const jh=({size:t,strokeWidth:n=2,absoluteStrokeWidth:r,color:a,iconNode:o,name:l,class:s,...i},{slots:u})=>e.h("svg",{...$n,width:t||$n.width,height:t||$n.height,stroke:a||$n.stroke,"stroke-width":r?Number(n)*24/Number(t):n,class:["lucide",`lucide-${Lh(l??"icon")}`],...i},[...o.map(c=>e.h(...c)),...u.default?[u.default()]:[]]);/** * @license lucide-vue-next v0.439.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rg=(t,n)=>(r,{slots:a})=>e.h(ng,{...r,iconNode:n,name:t},a);/** + */const Kh=(t,n)=>(r,{slots:a})=>e.h(jh,{...r,iconNode:n,name:t},a);/** * @license lucide-vue-next v0.439.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ag=rg("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);function ea(t){return t?t.flatMap(n=>n.type===e.Fragment?ea(n.children):[n]):[]}const ta=e.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:n,slots:r}){return()=>{var u,c;if(!r.default)return null;const a=ea(r.default()),o=a.findIndex(d=>d.type!==e.Comment);if(o===-1)return a;const l=a[o];(u=l.props)==null||delete u.ref;const s=l.props?e.mergeProps(n,l.props):n;n.class&&((c=l.props)!=null&&c.class)&&delete l.props.class;const i=e.cloneVNode(l,s);for(const d in s)d.startsWith("on")&&(i.props||(i.props={}),i.props[d]=s[d]);return a.length===1?i:(a[o]=i,a)}}}),og=["area","img","input"],En=e.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:n,slots:r}){const a=t.asChild?"template":t.as;return typeof a=="string"&&og.includes(a)?()=>e.h(a,n):a!=="template"?()=>e.h(t.as,n,{default:r.default}):()=>e.h(ta,n,{default:r.default})}}),lg=e.defineComponent({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup(t){return(n,r)=>(e.openBlock(),e.createBlock(e.unref(En),{as:n.as,"as-child":n.asChild,"aria-hidden":n.feature==="focusable"?"true":void 0,"data-hidden":n.feature==="fully-hidden"?"":void 0,tabindex:n.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),Fl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const sg=t=>typeof t<"u",ig=e.toValue,ug=Fl?window:void 0;function $n(t){var n;const r=e.toValue(t);return(n=r==null?void 0:r.$el)!=null?n:r}function cg(t){return JSON.parse(JSON.stringify(t))}function dg(t,n,r,a={}){var o,l,s;const{clone:i=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f,shouldEmit:m}=a,p=e.getCurrentInstance(),v=r||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(l=p==null?void 0:p.proxy)==null?void 0:l.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let g=c;g=g||`update:${n.toString()}`;const h=w=>i?typeof i=="function"?i(w):cg(w):w,y=()=>sg(t[n])?h(t[n]):f,b=w=>{m?m(w)&&v(g,w):v(g,w)};if(u){const w=y(),B=e.ref(w);let x=!1;return e.watch(()=>t[n],S=>{x||(x=!0,B.value=h(S),e.nextTick(()=>x=!1))}),e.watch(B,S=>{!x&&(S!==t[n]||d)&&b(S)},{deep:d}),B}else return e.computed({get(){return y()},set(w){b(w)}})}function Tn(t,n){const r=typeof t=="string"?`${t}Context`:n,a=Symbol(r);return[s=>{const i=e.inject(a,s);if(i||i===null)return i;throw new Error(`Injection \`${a.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},s=>(e.provide(a,s),s)]}function zl(t){return typeof t=="string"?`'${t}'`:new fg().serialize(t)}const fg=function(){var n;class t{constructor(){cs(this,n,new Map)}compare(a,o){const l=typeof a,s=typeof o;return l==="string"&&s==="string"?a.localeCompare(o):l==="number"&&s==="number"?a-o:String.prototype.localeCompare.call(this.serialize(a,!0),this.serialize(o,!0))}serialize(a,o){if(a===null)return"null";switch(typeof a){case"string":return o?a:`'${a}'`;case"bigint":return`${a}n`;case"object":return this.$object(a);case"function":return this.$function(a)}return String(a)}serializeObject(a){const o=Object.prototype.toString.call(a);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),a);const l=a.constructor,s=l===Object||l===void 0?"":l.name;if(s!==""&&globalThis[s]===l)return this.serializeBuiltInType(s,a);if(typeof a.toJSON=="function"){const i=a.toJSON();return s+(i!==null&&typeof i=="object"?this.$object(i):`(${this.serialize(i)})`)}return this.serializeObjectEntries(s,Object.entries(a))}serializeBuiltInType(a,o){const l=this["$"+a];if(l)return l.call(this,o);if(typeof(o==null?void 0:o.entries)=="function")return this.serializeObjectEntries(a,o.entries());throw new Error(`Cannot serialize ${a}`)}serializeObjectEntries(a,o){const l=Array.from(o).sort((i,u)=>this.compare(i[0],u[0]));let s=`${a}{`;for(let i=0;ithis.compare(o,l)))}`}$Map(a){return this.serializeObjectEntries("Map",a.entries())}}n=new WeakMap;for(const r of["Error","RegExp","URL"])t.prototype["$"+r]=function(a){return`${r}(${a})`};for(const r of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+r]=function(a){return`${r}[${a.join(",")}]`};for(const r of["BigInt64Array","BigUint64Array"])t.prototype["$"+r]=function(a){return`${r}[${a.join("n,")}${a.length>0?"n":""}]`};return t}();function na(t,n){return t===n||zl(t)===zl(n)}function ra(t){return t==null}function Ll(t,n){return ra(t)?!1:Array.isArray(t)?t.some(r=>na(r,n)):na(t,n)}const[pg,B0]=Tn("ConfigProvider");function jl(){const t=e.getCurrentInstance(),n=e.ref(),r=e.computed(()=>{var s,i;return["#text","#comment"].includes((s=n.value)==null?void 0:s.$el.nodeName)?(i=n.value)==null?void 0:i.$el.nextElementSibling:$n(n)}),a=Object.assign({},t.exposed),o={};for(const s in t.props)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>t.props[s]});if(Object.keys(a).length>0)for(const s in a)Object.defineProperty(o,s,{enumerable:!0,configurable:!0,get:()=>a[s]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=o;function l(s){n.value=s,s&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),t.exposed=o)}return{forwardRef:l,currentRef:n,currentElement:r}}let mg=0;function vg(t,n="reka"){const r=pg({useId:void 0});return Yt.useId?`${n}-${Yt.useId()}`:r.useId?`${n}-${r.useId()}`:`${n}-${++mg}`}function gg(t,n){const r=e.ref(t);function a(l){return n[r.value][l]??r.value}return{state:r,dispatch:l=>{r.value=a(l)}}}function hg(t,n){var h;const r=e.ref({}),a=e.ref("none"),o=e.ref(t),l=t.value?"mounted":"unmounted";let s;const i=((h=n.value)==null?void 0:h.ownerDocument.defaultView)??ug,{state:u,dispatch:c}=gg(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),d=y=>{var b;if(Fl){const w=new CustomEvent(y,{bubbles:!1,cancelable:!1});(b=n.value)==null||b.dispatchEvent(w)}};e.watch(t,async(y,b)=>{var B;const w=b!==y;if(await e.nextTick(),w){const x=a.value,S=On(n.value);y?(c("MOUNT"),d("enter"),S==="none"&&d("after-enter")):S==="none"||S==="undefined"||((B=r.value)==null?void 0:B.display)==="none"?(c("UNMOUNT"),d("leave"),d("after-leave")):b&&x!==S?(c("ANIMATION_OUT"),d("leave")):(c("UNMOUNT"),d("after-leave"))}},{immediate:!0});const f=y=>{const b=On(n.value),w=b.includes(y.animationName),B=u.value==="mounted"?"enter":"leave";if(y.target===n.value&&w&&(d(`after-${B}`),c("ANIMATION_END"),!o.value)){const x=n.value.style.animationFillMode;n.value.style.animationFillMode="forwards",s=i==null?void 0:i.setTimeout(()=>{var S;((S=n.value)==null?void 0:S.style.animationFillMode)==="forwards"&&(n.value.style.animationFillMode=x)})}y.target===n.value&&b==="none"&&c("ANIMATION_END")},m=y=>{y.target===n.value&&(a.value=On(n.value))},p=e.watch(n,(y,b)=>{y?(r.value=getComputedStyle(y),y.addEventListener("animationstart",m),y.addEventListener("animationcancel",f),y.addEventListener("animationend",f)):(c("ANIMATION_END"),s!==void 0&&(i==null||i.clearTimeout(s)),b==null||b.removeEventListener("animationstart",m),b==null||b.removeEventListener("animationcancel",f),b==null||b.removeEventListener("animationend",f))},{immediate:!0}),v=e.watch(u,()=>{const y=On(n.value);a.value=u.value==="mounted"?y:"none"});return e.onUnmounted(()=>{p(),v()}),{isPresent:e.computed(()=>["mounted","unmountSuspended"].includes(u.value))}}function On(t){return t&&getComputedStyle(t).animationName||"none"}const yg=e.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:n,expose:r}){var c;const{present:a,forceMount:o}=e.toRefs(t),l=e.ref(),{isPresent:s}=hg(a,l);r({present:s});let i=n.default({present:s.value});i=ea(i||[]);const u=e.getCurrentInstance();if(i&&(i==null?void 0:i.length)>1){const d=(c=u==null?void 0:u.parent)!=null&&c.type.name?`<${u.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${d}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(f=>` - ${f}`).join(` -`)].join(` -`))}return()=>o.value||a.value||s.value?e.h(n.default({present:s.value})[0],{ref:d=>{const f=$n(d);return typeof(f==null?void 0:f.hasAttribute)>"u"||(f!=null&&f.hasAttribute("data-reka-popper-content-wrapper")?l.value=f.firstElementChild:l.value=f),f}}):null}});function bg(t){const n=e.getCurrentInstance(),r=n==null?void 0:n.type.emits,a={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${n==null?void 0:n.type.__name}`),r==null||r.forEach(o=>{a[e.toHandlerKey(e.camelize(o))]=(...l)=>t(o,...l)}),a}function Kl(){let t=document.activeElement;if(t==null)return null;for(;t!=null&&t.shadowRoot!=null&&t.shadowRoot.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function wg(t){const n=e.getCurrentInstance(),r=Object.keys((n==null?void 0:n.type.props)??{}).reduce((o,l)=>{const s=(n==null?void 0:n.type.props[l]).default;return s!==void 0&&(o[l]=s),o},{}),a=e.toRef(t);return e.computed(()=>{const o={},l=(n==null?void 0:n.vnode.props)??{};return Object.keys(l).forEach(s=>{o[e.camelize(s)]=l[s]}),Object.keys({...r,...o}).reduce((s,i)=>(a.value[i]!==void 0&&(s[i]=a.value[i]),s),{})})}function xg(t,n){const r=wg(t),a=n?bg(n):{};return e.computed(()=>({...r.value,...a}))}function aa(){const t=e.ref(),n=e.computed(()=>{var r,a;return["#text","#comment"].includes((r=t.value)==null?void 0:r.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:$n(t)});return{primitiveElement:t,currentElement:n}}function Cg(t){return e.computed(()=>{var n;return ig(t)?!!((n=$n(t))!=null&&n.closest("form")):!0})}const Hl="data-reka-collection-item";function _g(t={}){const{key:n="",isProvider:r=!1}=t,a=`${n}CollectionProvider`;let o;if(r){const d=e.ref(new Map);o={collectionRef:e.ref(),itemMap:d},e.provide(a,o)}else o=e.inject(a);const l=(d=!1)=>{const f=o.collectionRef.value;if(!f)return[];const m=Array.from(f.querySelectorAll(`[${Hl}]`)),v=Array.from(o.itemMap.value.values()).sort((g,h)=>m.indexOf(g.ref)-m.indexOf(h.ref));return d?v:v.filter(g=>g.ref.dataset.disabled!=="")},s=e.defineComponent({name:"CollectionSlot",setup(d,{slots:f}){const{primitiveElement:m,currentElement:p}=aa();return e.watch(p,()=>{o.collectionRef.value=p.value}),()=>e.h(ta,{ref:m},f)}}),i=e.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(d,{slots:f,attrs:m}){const{primitiveElement:p,currentElement:v}=aa();return e.watchEffect(g=>{if(v.value){const h=e.markRaw(v.value);o.itemMap.value.set(h,{ref:v.value,value:d.value}),g(()=>o.itemMap.value.delete(h))}}),()=>e.h(ta,{...m,[Hl]:"",ref:p},f)}}),u=e.computed(()=>Array.from(o.itemMap.value.values())),c=e.computed(()=>o.itemMap.value.size);return{getItems:l,reactiveItems:u,itemMapSize:c,CollectionSlot:s,CollectionItem:i}}const Bg={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function kg(t,n){return n!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function Sg(t,n,r){const a=kg(t.key,r);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return Bg[a]}function Pg(t,n=!1){const r=Kl();for(const a of t)if(a===r||(a.focus({preventScroll:n}),Kl()!==r))return}function Eg(t,n){return t.map((r,a)=>t[(n+a)%t.length])}const[$g,k0]=Tn("RovingFocusGroup"),Ul=e.defineComponent({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const n=t,{primitiveElement:r,currentElement:a}=aa(),o=e.computed(()=>n.checked??n.value);return e.watch(o,(l,s)=>{if(!a.value)return;const i=a.value,u=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(u,"value").set;if(d&&l!==s){const f=new Event("input",{bubbles:!0}),m=new Event("change",{bubbles:!0});d.call(i,l),i.dispatchEvent(f),i.dispatchEvent(m)}}),(l,s)=>(e.openBlock(),e.createBlock(lg,e.mergeProps({ref_key:"primitiveElement",ref:r},{...n,...l.$attrs},{as:"input"}),null,16))}}),Tg=e.defineComponent({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const n=t,r=e.computed(()=>typeof n.value=="object"&&Array.isArray(n.value)&&n.value.length===0&&n.required),a=e.computed(()=>typeof n.value=="string"||typeof n.value=="number"||typeof n.value=="boolean"?[{name:n.name,value:n.value}]:typeof n.value=="object"&&Array.isArray(n.value)?n.value.flatMap((o,l)=>typeof o=="object"?Object.entries(o).map(([s,i])=>({name:`[${n.name}][${l}][${s}]`,value:i})):{name:`[${n.name}][${l}]`,value:o}):n.value!==null&&typeof n.value=="object"&&!Array.isArray(n.value)?Object.entries(n.value).map(([o,l])=>({name:`[${n.name}][${o}]`,value:l})):[]);return(o,l)=>r.value?(e.openBlock(),e.createBlock(Ul,e.mergeProps({key:o.name},{...n,...o.$attrs},{name:o.name,value:o.value}),null,16,["name","value"])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.value,s=>(e.openBlock(),e.createBlock(Ul,e.mergeProps({key:s.name,ref_for:!0},{...n,...o.$attrs},{name:s.name,value:s.value}),null,16,["name","value"]))),128))}}),[Og,S0]=Tn("CheckboxGroupRoot");function An(t){return t==="indeterminate"}function Wl(t){return An(t)?"indeterminate":t?"checked":"unchecked"}const Ag=e.defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const n=t,r=$g(),a=vg(),o=e.computed(()=>n.tabStopId||a),l=e.computed(()=>r.currentTabStopId.value===o.value),{getItems:s,CollectionItem:i}=_g();e.onMounted(()=>{n.focusable&&r.onFocusableItemAdd()}),e.onUnmounted(()=>{n.focusable&&r.onFocusableItemRemove()});function u(c){if(c.key==="Tab"&&c.shiftKey){r.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const d=Sg(c,r.orientation.value,r.dir.value);if(d!==void 0){if(c.metaKey||c.ctrlKey||c.altKey||!n.allowShiftKey&&c.shiftKey)return;c.preventDefault();let f=[...s().map(m=>m.ref).filter(m=>m.dataset.disabled!=="")];if(d==="last")f.reverse();else if(d==="prev"||d==="next"){d==="prev"&&f.reverse();const m=f.indexOf(c.currentTarget);f=r.loop.value?Eg(f,m+1):f.slice(m+1)}e.nextTick(()=>Pg(f))}}return(c,d)=>(e.openBlock(),e.createBlock(e.unref(i),null,{default:e.withCtx(()=>[e.createVNode(e.unref(En),{tabindex:l.value?0:-1,"data-orientation":e.unref(r).orientation.value,"data-active":c.active?"":void 0,"data-disabled":c.focusable?void 0:"",as:c.as,"as-child":c.asChild,onMousedown:d[0]||(d[0]=f=>{c.focusable?e.unref(r).onItemFocus(o.value):f.preventDefault()}),onFocus:d[1]||(d[1]=f=>e.unref(r).onItemFocus(o.value)),onKeydown:u},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[Dg,Vg]=Tn("CheckboxRoot"),Mg=e.defineComponent({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultValue:{type:[Boolean,String]},modelValue:{type:[Boolean,String,null],default:void 0},disabled:{type:Boolean},value:{default:"on"},id:{},asChild:{type:Boolean},as:{default:"button"},name:{},required:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,{forwardRef:o,currentElement:l}=jl(),s=Og(null),i=dg(r,"modelValue",a,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),u=e.computed(()=>(s==null?void 0:s.disabled.value)||r.disabled),c=e.computed(()=>ra(s==null?void 0:s.modelValue.value)?i.value==="indeterminate"?"indeterminate":i.value:Ll(s.modelValue.value,r.value));function d(){if(ra(s==null?void 0:s.modelValue.value))i.value=An(i.value)?!0:!i.value;else{const p=[...s.modelValue.value||[]];if(Ll(p,r.value)){const v=p.findIndex(g=>na(g,r.value));p.splice(v,1)}else p.push(r.value);s.modelValue.value=p}}const f=Cg(l),m=e.computed(()=>{var p;return r.id&&l.value?(p=document.querySelector(`[for="${r.id}"]`))==null?void 0:p.innerText:void 0});return Vg({disabled:u,state:c}),(p,v)=>{var g,h;return e.openBlock(),e.createBlock(e.resolveDynamicComponent((g=e.unref(s))!=null&&g.rovingFocus.value?e.unref(Ag):e.unref(En)),e.mergeProps(p.$attrs,{id:p.id,ref:e.unref(o),role:"checkbox","as-child":p.asChild,as:p.as,type:p.as==="button"?"button":void 0,"aria-checked":e.unref(An)(c.value)?"mixed":c.value,"aria-required":p.required,"aria-label":p.$attrs["aria-label"]||m.value,"data-state":e.unref(Wl)(c.value),"data-disabled":u.value?"":void 0,disabled:u.value,focusable:(h=e.unref(s))!=null&&h.rovingFocus.value?!u.value:void 0,onKeydown:e.withKeys(e.withModifiers(()=>{},["prevent"]),["enter"]),onClick:d}),{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default",{modelValue:e.unref(i),state:c.value}),e.unref(f)&&p.name&&!e.unref(s)?(e.openBlock(),e.createBlock(e.unref(Tg),{key:0,type:"checkbox",checked:!!c.value,name:p.name,value:p.value,disabled:u.value,required:p.required},null,8,["checked","name","value","disabled","required"])):e.createCommentVNode("",!0)]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","focusable","onKeydown"])}}}),Ig=e.defineComponent({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(t){const{forwardRef:n}=jl(),r=Dg();return(a,o)=>(e.openBlock(),e.createBlock(e.unref(yg),{present:a.forceMount||e.unref(An)(e.unref(r).state.value)||e.unref(r).state.value===!0},{default:e.withCtx(()=>[e.createVNode(e.unref(En),e.mergeProps({ref:e.unref(n),"data-state":e.unref(Wl)(e.unref(r).state.value),"data-disabled":e.unref(r).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":a.asChild,as:a.as},a.$attrs),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),Rg=e.defineComponent({__name:"Checkbox",props:{defaultValue:{type:[Boolean,String]},modelValue:{type:[Boolean,String,null]},disabled:{type:Boolean},value:{},id:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},class:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=xg(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Mg),e.mergeProps(e.unref(l),{class:e.unref(A)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(Ig),{class:"flex h-full w-full items-center justify-center text-current"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default",{},()=>[e.createVNode(e.unref(ag),{class:"h-4 w-4"})])]),_:3})]),_:3},16,["class"]))}}),Gl=e.defineComponent({__name:"Command",props:{modelValue:{default:""},defaultValue:{},open:{type:Boolean,default:!0},defaultOpen:{type:Boolean},searchTerm:{},selectedValue:{},multiple:{type:Boolean},disabled:{type:Boolean},name:{},dir:{},filterFunction:{},displayValue:{},resetSearchTermOnBlur:{type:Boolean},resetSearchTermOnSelect:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue","update:open","update:searchTerm","update:selectedValue"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(hc),e.mergeProps(e.unref(l),{class:e.unref(A)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),ql=e.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(fr),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Fg=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Qe),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),zg=e.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Lg=e.defineComponent({__name:"DialogHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-1.5 text-center sm:text-left",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),jg=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Cr),e.mergeProps(e.unref(a),{class:e.unref(A)("text-lg font-semibold leading-none tracking-tight",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),Kg=e.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(_r),e.mergeProps(e.unref(a),{class:e.unref(A)("text-sm text-muted-foreground",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),Yl=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus","close"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(mr),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gn),{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(vn),e.mergeProps(e.unref(l),{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-lg 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(s.$slots,"default"),e.createVNode(e.unref(Qe),{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",onClick:i[0]||(i[0]=u=>a("close",u))},{default:e.withCtx(()=>[e.createVNode(e.unref(Cn),{class:"size-4"}),i[1]||(i[1]=e.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1,__:[1]})]),_:3},16,["class"])]),_:3}))}}),Hg=e.defineComponent({__name:"DialogScrollContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(mr),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gn),{class:"fixed inset-0 z-50 grid place-items-center overflow-y-auto 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"},{default:e.withCtx(()=>[e.createVNode(e.unref(vn),e.mergeProps({class:e.unref(A)("relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",r.class)},e.unref(l),{onPointerDownOutside:i[0]||(i[0]=u=>{const c=u.detail.originalEvent,d=c.target;(c.offsetX>d.clientWidth||c.offsetY>d.clientHeight)&&u.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default"),e.createVNode(e.unref(Qe),{class:"absolute right-4 top-4 rounded-md p-0.5 transition-colors hover:bg-secondary"},{default:e.withCtx(()=>[e.createVNode(e.unref(Cn),{class:"h-4 w-4"}),i[1]||(i[1]=e.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1,__:[1]})]),_:3},16,["class"])]),_:3})]),_:3}))}}),Ug=e.defineComponent({__name:"DialogFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Wg=e.defineComponent({__name:"CommandDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(ql),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.createVNode(e.unref(Yl),{class:"overflow-hidden p-0 shadow-lg"},{default:e.withCtx(()=>[e.createVNode(Gl,{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-group]]:px-2 [&_[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(l.$slots,"default")]),_:3})]),_:3})]),_:3},16))}}),Gg=e.defineComponent({__name:"CommandEmpty",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(kc),e.mergeProps(r.value,{class:e.unref(A)("py-6 text-center text-sm",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),qg=e.defineComponent({__name:"CommandGroup",props:{asChild:{type:Boolean},as:{},class:{},heading:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(wc),e.mergeProps(r.value,{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",n.class)}),{default:e.withCtx(()=>[a.heading?(e.openBlock(),e.createBlock(e.unref(xc),{key:0,class:"px-2 py-1.5 text-xs font-medium text-muted-foreground"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.heading),1)]),_:1})):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Yg={class:"flex items-center border-b px-3","cmdk-input-wrapper":""},Xg=e.defineComponent({inheritAttrs:!1,__name:"CommandInput",props:{type:{},disabled:{type:Boolean},autoFocus:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createElementBlock("div",Yg,[e.createVNode(e.unref(Am),{class:"mr-2 h-4 w-4 shrink-0 opacity-50"}),e.createVNode(e.unref(yc),e.mergeProps({...e.unref(a),...o.$attrs},{"auto-focus":"",class:e.unref(A)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n.class)}),null,16,["class"])]))}}),Zg=e.defineComponent({__name:"CommandItem",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref($c),e.mergeProps(e.unref(l),{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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),Qg={role:"presentation"},Jg=e.defineComponent({__name:"CommandList",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},dismissable:{type:Boolean,default:!1},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Bc),e.mergeProps(e.unref(l),{class:e.unref(A)("max-h-[300px] overflow-y-auto overflow-x-hidden",r.class)}),{default:e.withCtx(()=>[e.createElementVNode("div",Qg,[e.renderSlot(s.$slots,"default")])]),_:3},16,["class"]))}}),Ng=e.defineComponent({__name:"CommandSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Tc),e.mergeProps(r.value,{class:e.unref(A)("-mx-1 h-px bg-border",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),eh=e.defineComponent({__name:"CommandShortcut",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(A)("ml-auto text-xs tracking-widest text-muted-foreground",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),th=e.defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(ud),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),nh=e.defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const r=oe(t);return(a,o)=>(e.openBlock(),e.createBlock(e.unref(cd),e.mergeProps({class:"outline-none"},e.unref(r)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),rh=e.defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(wo),null,{default:e.withCtx(()=>[e.createVNode(e.unref(dd),e.mergeProps(e.unref(l),{class:e.unref(A)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),ah=e.defineComponent({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pd),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),oh=e.defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(hd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),lh=e.defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(fd),e.mergeProps(e.unref(a),{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",o.inset&&"pl-8",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),sh={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},ih=e.defineComponent({__name:"DropdownMenuCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(vd),e.mergeProps(e.unref(l),{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",r.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",sh,[e.createVNode(e.unref(xo),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ol),{class:"h-4 w-4"})]),_:1})]),e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),uh={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},ch=e.defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(yd),e.mergeProps(e.unref(l),{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",r.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",uh,[e.createVNode(e.unref(xo),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Om),{class:"h-4 w-4 fill-current"})]),_:1})]),e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),dh=e.defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(A)("ml-auto text-xs tracking-widest opacity-60",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),fh=e.defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(md),e.mergeProps(r.value,{class:e.unref(A)("-mx-1 my-1 h-px bg-muted",n.class)}),null,16,["class"]))}}),ph=e.defineComponent({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(gd),e.mergeProps(e.unref(a),{class:e.unref(A)("px-2 py-1.5 text-sm font-semibold",o.inset&&"pl-8",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),mh=e.defineComponent({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(bd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),vh=e.defineComponent({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(xd),e.mergeProps(e.unref(a),{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",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default"),e.createVNode(e.unref($m),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),gh=e.defineComponent({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(wd),e.mergeProps(e.unref(l),{class:e.unref(A)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-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 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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),hh=e.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,o=Tl(r,"modelValue",n,{passive:!0,defaultValue:r.defaultValue});return(l,s)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=i=>e.isRef(o)?o.value=i:null),class:e.normalizeClass(e.unref(A)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r.class))},null,2)),[[e.vModelText,e.unref(o)]])}}),yh=e.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Cd),e.mergeProps(r.value,{class:e.unref(A)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),bh=e.defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Bd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),wh=e.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(kd),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),xh=e.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Sd),null,{default:e.withCtx(()=>[e.createVNode(e.unref($d),e.mergeProps({...e.unref(l),...s.$attrs},{class:e.unref(A)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md 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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Ch=e.defineComponent({__name:"Progress",props:{modelValue:{default:0},max:{},getValueLabel:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Md),e.mergeProps(r.value,{class:e.unref(A)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",n.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(Id),{class:"h-full w-full flex-1 bg-primary transition-all",style:e.normalizeStyle(`transform: translateX(-${100-(n.modelValue??0)}%);`)},null,8,["style"])]),_:1},16,["class"]))}}),_h=e.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Kd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Bh=e.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pf),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),kh=e.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Wd),e.mergeProps(e.unref(a),{class:e.unref(A)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default"),e.createVNode(e.unref(mf),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Em),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),Sh=e.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Gd),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ef),e.mergeProps({...e.unref(l),...s.$attrs},{class:e.unref(A)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",s.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",r.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(Xl)),e.createVNode(e.unref(cf),{class:e.normalizeClass(e.unref(A)("p-1",s.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["class"]),e.createVNode(e.unref(Zl))]),_:3},16,["class"])]),_:3}))}}),Ph=e.defineComponent({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(sf),e.mergeProps({class:e.unref(A)("p-1 w-full",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Eh={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},$h=e.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(rf),e.mergeProps(e.unref(a),{class:e.unref(A)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",Eh,[e.createVNode(e.unref(af),null,{default:e.withCtx(()=>[e.createVNode(e.unref(ol),{class:"h-4 w-4"})]),_:1})]),e.createVNode(e.unref(So),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),Th=e.defineComponent({__name:"SelectItemText",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(So),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Oh=e.defineComponent({__name:"SelectLabel",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(uf),{class:e.normalizeClass(e.unref(A)("px-2 py-1.5 text-sm font-semibold",n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),Ah=e.defineComponent({__name:"SelectSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(tf),e.mergeProps(r.value,{class:e.unref(A)("-mx-1 my-1 h-px bg-muted",n.class)}),null,16,["class"]))}}),Xl=e.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(df),e.mergeProps(e.unref(a),{class:e.unref(A)("flex cursor-default items-center justify-center py-1",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(e.unref(Tm))])]),_:3},16,["class"]))}}),Zl=e.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(ff),e.mergeProps(e.unref(a),{class:e.unref(A)("flex cursor-default items-center justify-center py-1",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(e.unref(ll))])]),_:3},16,["class"]))}}),Dh=e.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(fr),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Vh=e.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(pr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Mh=e.defineComponent({__name:"SheetClose",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Qe),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Ih=e.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{},side:{},forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,side:i,...u}=r;return u}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(mr),null,{default:e.withCtx(()=>[e.createVNode(e.unref(gn),{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(vn),e.mergeProps({class:e.unref(A)(e.unref(Ql)({side:s.side}),r.class)},{...e.unref(l),...s.$attrs}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default"),e.createVNode(e.unref(Qe),{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(()=>[e.createVNode(e.unref(Cn),{class:"h-4 w-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),Rh=e.defineComponent({__name:"SheetHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-2 text-center sm:text-left",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Fh=e.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Cr),e.mergeProps({class:e.unref(A)("text-lg font-semibold text-foreground",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),zh=e.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(_r),e.mergeProps({class:e.unref(A)("text-sm text-muted-foreground",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Lh=e.defineComponent({__name:"SheetFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ql=Ft("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{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 data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),jh=e.defineComponent({__name:"Skeleton",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("animate-pulse rounded-md bg-primary/10",n.class))},null,2))}}),Kh=e.defineComponent({__name:"Slider",props:{name:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},orientation:{},dir:{},inverted:{type:Boolean},min:{},max:{},step:{},minStepsBetweenThumbs:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue","valueCommit"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Pf),e.mergeProps({class:e.unref(A)("relative flex w-full touch-none select-none items-center",r.class)},e.unref(l)),{default:e.withCtx(()=>[e.createVNode(e.unref(Tf),{class:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},{default:e.withCtx(()=>[e.createVNode(e.unref(Of),{class:"absolute h-full bg-primary"})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.modelValue,(u,c)=>(e.openBlock(),e.createBlock(e.unref($f),{key:c,class:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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"}))),128))]),_:1},16,["class"]))}}),Hh=e.defineComponent({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(If),e.mergeProps(e.unref(l),{class:e.unref(A)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(Rf),{class:e.normalizeClass(e.unref(A)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"))},null,8,["class"])]),_:1},16,["class"]))}}),Uh={class:"relative w-full overflow-auto"},Wh=e.defineComponent({__name:"Table",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",Uh,[e.createElementVNode("table",{class:e.normalizeClass(e.unref(A)("w-full caption-bottom text-sm",n.class))},[e.renderSlot(r.$slots,"default")],2)]))}}),Gh=e.defineComponent({__name:"TableBody",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("tbody",{class:e.normalizeClass(e.unref(A)("[&_tr:last-child]:border-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Jl=e.defineComponent({__name:"TableCell",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass(e.unref(A)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),qh=e.defineComponent({__name:"TableHead",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(e.unref(A)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Yh=e.defineComponent({__name:"TableHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("thead",{class:e.normalizeClass(e.unref(A)("[&_tr]:border-b",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Xh=e.defineComponent({__name:"TableFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("tfoot",{class:e.normalizeClass(e.unref(A)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Nl=e.defineComponent({__name:"TableRow",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(e.unref(A)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Zh=e.defineComponent({__name:"TableCaption",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("caption",{class:e.normalizeClass(e.unref(A)("mt-4 text-sm text-muted-foreground",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Qh={class:"flex items-center justify-center py-10"},Jh=e.defineComponent({__name:"TableEmpty",props:{class:{},colspan:{default:1}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(Nl,null,{default:e.withCtx(()=>[e.createVNode(Jl,e.mergeProps({class:e.unref(A)("p-4 whitespace-nowrap align-middle text-sm text-foreground",n.class)},r.value),{default:e.withCtx(()=>[e.createElementVNode("div",Qh,[e.renderSlot(a.$slots,"default")])]),_:3},16,["class"])]),_:3}))}}),Nh=e.defineComponent({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(zf),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),e0=e.defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(jf),e.mergeProps({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",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),t0=e.defineComponent({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Lf),e.mergeProps(r.value,{class:e.unref(A)("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),n0={class:"truncate"},r0=e.defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=oe(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Kf),e.mergeProps(e.unref(a),{class:e.unref(A)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 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",n.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",n0,[e.renderSlot(o.$slots,"default")])]),_:3},16,["class"]))}}),a0=e.defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,o=Tl(r,"modelValue",n,{passive:!0,defaultValue:r.defaultValue});return(l,s)=>e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{"onUpdate:modelValue":s[0]||(s[0]=i=>e.isRef(o)?o.value=i:null),class:e.normalizeClass(e.unref(A)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r.class))},null,2)),[[e.vModelText,e.unref(o)]])}});C.Accord=Rm,C.Accordion=ml,C.AccordionContent=vl,C.AccordionItem=gl,C.AccordionTrigger=hl,C.AlertDialog=zm,C.AlertDialogAction=Gm,C.AlertDialogCancel=qm,C.AlertDialogContent=jm,C.AlertDialogDescription=Um,C.AlertDialogFooter=Wm,C.AlertDialogHeader=Km,C.AlertDialogTitle=Hm,C.AlertDialogTrigger=Lm,C.Avatar=Ym,C.AvatarFallback=Zm,C.AvatarImage=Xm,C.Badge=Qm,C.Button=Gr,C.Card=Jm,C.CardContent=Nm,C.CardDescription=ev,C.CardFooter=tv,C.CardHeader=nv,C.CardTitle=rv,C.Carousel=Zv,C.CarouselContent=Qv,C.CarouselItem=Jv,C.CarouselNext=eg,C.CarouselPrevious=Nv,C.Checkbox=Rg,C.Command=Gl,C.CommandDialog=Wg,C.CommandEmpty=Gg,C.CommandGroup=qg,C.CommandInput=Xg,C.CommandItem=Zg,C.CommandList=Jg,C.CommandSeparator=Ng,C.CommandShortcut=eh,C.Dialog=ql,C.DialogClose=Fg,C.DialogContent=Yl,C.DialogDescription=Kg,C.DialogFooter=Ug,C.DialogHeader=Lg,C.DialogScrollContent=Hg,C.DialogTitle=jg,C.DialogTrigger=zg,C.DropdownMenu=th,C.DropdownMenuCheckboxItem=ih,C.DropdownMenuContent=rh,C.DropdownMenuGroup=ah,C.DropdownMenuItem=lh,C.DropdownMenuLabel=ph,C.DropdownMenuPortal=wo,C.DropdownMenuRadioGroup=oh,C.DropdownMenuRadioItem=ch,C.DropdownMenuSeparator=fh,C.DropdownMenuShortcut=dh,C.DropdownMenuSub=mh,C.DropdownMenuSubContent=gh,C.DropdownMenuSubTrigger=vh,C.DropdownMenuTrigger=nh,C.Flasher=Dm,C.Header=wp,C.Heading=Im,C.Input=hh,C.Label=yh,C.Main=Bp,C.Popover=bh,C.PopoverAnchor=Td,C.PopoverContent=xh,C.PopoverTrigger=wh,C.Progress=Ch,C.Select=_h,C.SelectContent=Sh,C.SelectGroup=Ph,C.SelectItem=$h,C.SelectItemText=Th,C.SelectLabel=Oh,C.SelectScrollDownButton=Zl,C.SelectScrollUpButton=Xl,C.SelectSeparator=Ah,C.SelectTrigger=kh,C.SelectValue=Bh,C.Sheet=Dh,C.SheetClose=Mh,C.SheetContent=Ih,C.SheetDescription=zh,C.SheetFooter=Lh,C.SheetHeader=Rh,C.SheetTitle=Fh,C.SheetTrigger=Vh,C.Skeleton=jh,C.Slider=Kh,C.Switch=Hh,C.Table=Wh,C.TableBody=Gh,C.TableCaption=Zh,C.TableCell=Jl,C.TableEmpty=Jh,C.TableFooter=Xh,C.TableHead=qh,C.TableHeader=Yh,C.TableRow=Nl,C.Tabs=Nh,C.TabsContent=e0,C.TabsList=t0,C.TabsTrigger=r0,C.Textarea=a0,C.Tip=Fm,C.Toast=rl,C.ToastAction=km,C.ToastClose=sl,C.ToastDescription=Wr,C.ToastProvider=ul,C.ToastTitle=il,C.ToastViewport=al,C.Toaster=qo,C.Tooltip=yl,C.TooltipContent=bl,C.TooltipProvider=wl,C.TooltipTrigger=xl,C.TwoColumnLayout=gp,C.TwoColumnLayoutSidebar=Pp,C.TwoColumnLayoutSidebarDesktop=Ap,C.TwoColumnLayoutSidebarMobile=Mp,C.TwoColumnLayoutSidebarTrigger=Lp,C.avatarVariant=Cl,C.badgeVariants=_l,C.buttonVariants=Bn,C.preset=Es,C.sheetVariants=Ql,C.toast=Go,C.toastVariants=fl,C.useCarousel=Wt,C.useFlasher=pl,C.useToast=jr,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}); + */const Hh=Kh("CheckIcon",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),Uh=e.defineComponent({__name:"Checkbox",props:{defaultValue:{type:[Boolean,String]},modelValue:{type:[Boolean,String,null]},disabled:{type:Boolean},value:{},id:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},class:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=fv(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Ov),e.mergeProps(e.unref(l),{class:e.unref(A)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",r.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(Av),{class:"flex h-full w-full items-center justify-center text-current"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default",{},()=>[e.createVNode(e.unref(Hh),{class:"h-4 w-4"})])]),_:3})]),_:3},16,["class"]))}}),Nl=e.defineComponent({__name:"Command",props:{modelValue:{default:""},defaultValue:{},open:{type:Boolean,default:!0},defaultOpen:{type:Boolean},searchTerm:{},selectedValue:{},multiple:{type:Boolean},disabled:{type:Boolean},name:{},dir:{},filterFunction:{},displayValue:{},resetSearchTermOnBlur:{type:Boolean},resetSearchTermOnSelect:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue","update:open","update:searchTerm","update:selectedValue"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(bc),e.mergeProps(e.unref(l),{class:e.unref(A)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),es=e.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(hr),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Wh=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Ge),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),qh=e.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(gr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Gh=e.defineComponent({__name:"DialogHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-1.5 text-center sm:text-left",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Yh=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Sr),e.mergeProps(e.unref(a),{class:e.unref(A)("text-lg font-semibold leading-none tracking-tight",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),Xh=e.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Pr),e.mergeProps(e.unref(a),{class:e.unref(A)("text-sm text-muted-foreground",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),ts=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus","close"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(yr),null,{default:e.withCtx(()=>[e.createVNode(e.unref(vn),{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(mn),e.mergeProps(e.unref(l),{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-lg 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(s.$slots,"default"),e.createVNode(e.unref(Ge),{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",onClick:i[0]||(i[0]=u=>a("close",u))},{default:e.withCtx(()=>[e.createVNode(e.unref(xn),{class:"size-4"}),i[1]||(i[1]=e.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1,__:[1]})]),_:3},16,["class"])]),_:3}))}}),Qh=e.defineComponent({__name:"DialogScrollContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(yr),null,{default:e.withCtx(()=>[e.createVNode(e.unref(vn),{class:"fixed inset-0 z-50 grid place-items-center overflow-y-auto 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"},{default:e.withCtx(()=>[e.createVNode(e.unref(mn),e.mergeProps({class:e.unref(A)("relative z-50 grid w-full max-w-lg my-8 gap-4 border border-border bg-background p-6 shadow-lg duration-200 sm:rounded-lg md:w-full",r.class)},e.unref(l),{onPointerDownOutside:i[0]||(i[0]=u=>{const c=u.detail.originalEvent,d=c.target;(c.offsetX>d.clientWidth||c.offsetY>d.clientHeight)&&u.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default"),e.createVNode(e.unref(Ge),{class:"absolute right-4 top-4 rounded-md p-0.5 transition-colors hover:bg-secondary"},{default:e.withCtx(()=>[e.createVNode(e.unref(xn),{class:"h-4 w-4"}),i[1]||(i[1]=e.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1,__:[1]})]),_:3},16,["class"])]),_:3})]),_:3}))}}),Zh=e.defineComponent({__name:"DialogFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Jh=e.defineComponent({__name:"CommandDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(es),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.createVNode(e.unref(ts),{class:"overflow-hidden p-0 shadow-lg"},{default:e.withCtx(()=>[e.createVNode(Nl,{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-group]]:px-2 [&_[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(l.$slots,"default")]),_:3})]),_:3})]),_:3},16))}}),Nh=e.defineComponent({__name:"CommandEmpty",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Pc),e.mergeProps(r.value,{class:e.unref(A)("py-6 text-center text-sm",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),eg=e.defineComponent({__name:"CommandGroup",props:{asChild:{type:Boolean},as:{},class:{},heading:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Cc),e.mergeProps(r.value,{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",n.class)}),{default:e.withCtx(()=>[a.heading?(e.openBlock(),e.createBlock(e.unref(_c),{key:0,class:"px-2 py-1.5 text-xs font-medium text-muted-foreground"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.heading),1)]),_:1})):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),tg={class:"flex items-center border-b px-3","cmdk-input-wrapper":""},ng=e.defineComponent({inheritAttrs:!1,__name:"CommandInput",props:{type:{},disabled:{type:Boolean},autoFocus:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createElementBlock("div",tg,[e.createVNode(e.unref(Vm),{class:"mr-2 h-4 w-4 shrink-0 opacity-50"}),e.createVNode(e.unref(wc),e.mergeProps({...e.unref(a),...o.$attrs},{"auto-focus":"",class:e.unref(A)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n.class)}),null,16,["class"])]))}}),rg=e.defineComponent({__name:"CommandItem",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Oc),e.mergeProps(e.unref(l),{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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),ag={role:"presentation"},og=e.defineComponent({__name:"CommandList",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},dismissable:{type:Boolean,default:!1},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Sc),e.mergeProps(e.unref(l),{class:e.unref(A)("max-h-[300px] overflow-y-auto overflow-x-hidden",r.class)}),{default:e.withCtx(()=>[e.createElementVNode("div",ag,[e.renderSlot(s.$slots,"default")])]),_:3},16,["class"]))}}),lg=e.defineComponent({__name:"CommandSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Ac),e.mergeProps(r.value,{class:e.unref(A)("-mx-1 h-px bg-border",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),sg=e.defineComponent({__name:"CommandShortcut",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(A)("ml-auto text-xs tracking-widest text-muted-foreground",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),ig=e.defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(dd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),ug=e.defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const r=ae(t);return(a,o)=>(e.openBlock(),e.createBlock(e.unref(fd),e.mergeProps({class:"outline-none"},e.unref(r)),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16))}}),cg=e.defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Po),null,{default:e.withCtx(()=>[e.createVNode(e.unref(pd),e.mergeProps(e.unref(l),{class:e.unref(A)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),dg=e.defineComponent({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(vd),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),fg=e.defineComponent({__name:"DropdownMenuRadioGroup",props:{modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(bd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),pg=e.defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(md),e.mergeProps(e.unref(a),{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",o.inset&&"pl-8",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),mg={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},vg=e.defineComponent({__name:"DropdownMenuCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(gd),e.mergeProps(e.unref(l),{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",r.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",mg,[e.createVNode(e.unref(Eo),null,{default:e.withCtx(()=>[e.createVNode(e.unref(fl),{class:"h-4 w-4"})]),_:1})]),e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),hg={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},gg=e.defineComponent({__name:"DropdownMenuRadioItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(wd),e.mergeProps(e.unref(l),{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",r.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",hg,[e.createVNode(e.unref(Eo),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Dm),{class:"h-4 w-4 fill-current"})]),_:1})]),e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),yg=e.defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(A)("ml-auto text-xs tracking-widest opacity-60",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),bg=e.defineComponent({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(hd),e.mergeProps(r.value,{class:e.unref(A)("-mx-1 my-1 h-px bg-muted",n.class)}),null,16,["class"]))}}),wg=e.defineComponent({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(yd),e.mergeProps(e.unref(a),{class:e.unref(A)("px-2 py-1.5 text-sm font-semibold",o.inset&&"pl-8",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),xg=e.defineComponent({__name:"DropdownMenuSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(xd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Cg=e.defineComponent({__name:"DropdownMenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(_d),e.mergeProps(e.unref(a),{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",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default"),e.createVNode(e.unref(Om),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_g=e.defineComponent({__name:"DropdownMenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Cd),e.mergeProps(e.unref(l),{class:e.unref(A)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-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 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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"]))}}),Bg=e.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,o=Wl(r,"modelValue",n,{passive:!0,defaultValue:r.defaultValue});return(l,s)=>e.withDirectives((e.openBlock(),e.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=i=>e.isRef(o)?o.value=i:null),class:e.normalizeClass(e.unref(A)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r.class))},null,2)),[[e.vModelText,e.unref(o)]])}}),kg=e.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Bd),e.mergeProps(r.value,{class:e.unref(A)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Sg=e.defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Sd),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Pg=e.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Pd),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Eg=e.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Ed),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Od),e.mergeProps({...e.unref(l),...s.$attrs},{class:e.unref(A)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md 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",r.class)}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),$g=e.defineComponent({__name:"Progress",props:{modelValue:{default:0},max:{},getValueLabel:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Rd),e.mergeProps(r.value,{class:e.unref(A)("relative h-2 w-full overflow-hidden rounded-full bg-primary/20",n.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(Fd),{class:"h-full w-full flex-1 bg-primary transition-all",style:e.normalizeStyle(`transform: translateX(-${100-(n.modelValue??0)}%);`)},null,8,["style"])]),_:1},16,["class"]))}}),Tg=e.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Ud),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),Og=e.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(vf),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Ag=e.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Gd),e.mergeProps(e.unref(a),{class:e.unref(A)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default"),e.createVNode(e.unref(hf),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Tm),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),Dg=e.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Yd),null,{default:e.withCtx(()=>[e.createVNode(e.unref(nf),e.mergeProps({...e.unref(l),...s.$attrs},{class:e.unref(A)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",s.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",r.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(ns)),e.createVNode(e.unref(ff),{class:e.normalizeClass(e.unref(A)("p-1",s.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},8,["class"]),e.createVNode(e.unref(rs))]),_:3},16,["class"])]),_:3}))}}),Vg=e.defineComponent({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(cf),e.mergeProps({class:e.unref(A)("p-1 w-full",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Mg={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},Ig=e.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(of),e.mergeProps(e.unref(a),{class:e.unref(A)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",Mg,[e.createVNode(e.unref(lf),null,{default:e.withCtx(()=>[e.createVNode(e.unref(fl),{class:"h-4 w-4"})]),_:1})]),e.createVNode(e.unref(Do),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),Rg=e.defineComponent({__name:"SelectItemText",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Do),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Fg=e.defineComponent({__name:"SelectLabel",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(df),{class:e.normalizeClass(e.unref(A)("px-2 py-1.5 text-sm font-semibold",n.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"]))}}),zg=e.defineComponent({__name:"SelectSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(rf),e.mergeProps(r.value,{class:e.unref(A)("-mx-1 my-1 h-px bg-muted",n.class)}),null,16,["class"]))}}),ns=e.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(pf),e.mergeProps(e.unref(a),{class:e.unref(A)("flex cursor-default items-center justify-center py-1",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(e.unref(Am))])]),_:3},16,["class"]))}}),rs=e.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(mf),e.mergeProps(e.unref(a),{class:e.unref(A)("flex cursor-default items-center justify-center py-1",n.class)}),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(e.unref(pl))])]),_:3},16,["class"]))}}),Lg=e.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(hr),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),jg=e.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(gr),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Kg=e.defineComponent({__name:"SheetClose",props:{asChild:{type:Boolean},as:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createBlock(e.unref(Ge),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Hg=e.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{},side:{},forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,side:i,...u}=r;return u}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(yr),null,{default:e.withCtx(()=>[e.createVNode(e.unref(vn),{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(mn),e.mergeProps({class:e.unref(A)(e.unref(as)({side:s.side}),r.class)},{...e.unref(l),...s.$attrs}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default"),e.createVNode(e.unref(Ge),{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(()=>[e.createVNode(e.unref(xn),{class:"h-4 w-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),Ug=e.defineComponent({__name:"SheetHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col gap-y-2 text-center sm:text-left",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),Wg=e.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Sr),e.mergeProps({class:e.unref(A)("text-lg font-semibold text-foreground",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),qg=e.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Pr),e.mergeProps({class:e.unref(A)("text-sm text-muted-foreground",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),Gg=e.defineComponent({__name:"SheetFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),as=Mt("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{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 data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Yg=e.defineComponent({__name:"Skeleton",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(A)("animate-pulse rounded-md bg-primary/10",n.class))},null,2))}}),Xg=e.defineComponent({__name:"Slider",props:{name:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},orientation:{},dir:{},inverted:{type:Boolean},min:{},max:{},step:{},minStepsBetweenThumbs:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue","valueCommit"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref($f),e.mergeProps({class:e.unref(A)("relative flex w-full touch-none select-none items-center",r.class)},e.unref(l)),{default:e.withCtx(()=>[e.createVNode(e.unref(Af),{class:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20"},{default:e.withCtx(()=>[e.createVNode(e.unref(Df),{class:"absolute h-full bg-primary"})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.modelValue,(u,c)=>(e.openBlock(),e.createBlock(e.unref(Of),{key:c,class:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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"}))),128))]),_:1},16,["class"]))}}),Qg=e.defineComponent({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(t,{emit:n}){const r=t,a=n,o=e.computed(()=>{const{class:s,...i}=r;return i}),l=z(o,a);return(s,i)=>(e.openBlock(),e.createBlock(e.unref(Ff),e.mergeProps(e.unref(l),{class:e.unref(A)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(zf),{class:e.normalizeClass(e.unref(A)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"))},null,8,["class"])]),_:1},16,["class"]))}}),Zg={class:"relative w-full overflow-auto"},Jg=e.defineComponent({__name:"Table",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("div",Zg,[e.createElementVNode("table",{class:e.normalizeClass(e.unref(A)("w-full caption-bottom text-sm",n.class))},[e.renderSlot(r.$slots,"default")],2)]))}}),Ng=e.defineComponent({__name:"TableBody",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("tbody",{class:e.normalizeClass(e.unref(A)("[&_tr:last-child]:border-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),os=e.defineComponent({__name:"TableCell",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass(e.unref(A)("p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),e0=e.defineComponent({__name:"TableHead",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(e.unref(A)("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-0.5",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),t0=e.defineComponent({__name:"TableHeader",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("thead",{class:e.normalizeClass(e.unref(A)("[&_tr]:border-b",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),n0=e.defineComponent({__name:"TableFooter",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("tfoot",{class:e.normalizeClass(e.unref(A)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),ls=e.defineComponent({__name:"TableRow",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(e.unref(A)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),r0=e.defineComponent({__name:"TableCaption",props:{class:{}},setup(t){const n=t;return(r,a)=>(e.openBlock(),e.createElementBlock("caption",{class:e.normalizeClass(e.unref(A)("mt-4 text-sm text-muted-foreground",n.class))},[e.renderSlot(r.$slots,"default")],2))}}),a0={class:"flex items-center justify-center py-10"},o0=e.defineComponent({__name:"TableEmpty",props:{class:{},colspan:{default:1}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(ls,null,{default:e.withCtx(()=>[e.createVNode(os,e.mergeProps({class:e.unref(A)("p-4 whitespace-nowrap align-middle text-sm text-foreground",n.class)},r.value),{default:e.withCtx(()=>[e.createElementVNode("div",a0,[e.renderSlot(a.$slots,"default")])]),_:3},16,["class"])]),_:3}))}}),l0=e.defineComponent({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(t,{emit:n}){const o=z(t,n);return(l,s)=>(e.openBlock(),e.createBlock(e.unref(jf),e.normalizeProps(e.guardReactiveProps(e.unref(o))),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),s0=e.defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Hf),e.mergeProps({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",n.class)},r.value),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),i0=e.defineComponent({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:a,...o}=n;return o});return(a,o)=>(e.openBlock(),e.createBlock(e.unref(Kf),e.mergeProps(r.value,{class:e.unref(A)("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",n.class)}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["class"]))}}),u0={class:"truncate"},c0=e.defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const n=t,r=e.computed(()=>{const{class:o,...l}=n;return l}),a=ae(r);return(o,l)=>(e.openBlock(),e.createBlock(e.unref(Uf),e.mergeProps(e.unref(a),{class:e.unref(A)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 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",n.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",u0,[e.renderSlot(o.$slots,"default")])]),_:3},16,["class"]))}}),d0=e.defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:n}){const r=t,o=Wl(r,"modelValue",n,{passive:!0,defaultValue:r.defaultValue});return(l,s)=>e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{"onUpdate:modelValue":s[0]||(s[0]=i=>e.isRef(o)?o.value=i:null),class:e.normalizeClass(e.unref(A)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r.class))},null,2)),[[e.vModelText,e.unref(o)]])}});C.Accord=zm,C.Accordion=xl,C.AccordionContent=Cl,C.AccordionItem=_l,C.AccordionTrigger=Bl,C.AlertDialog=jm,C.AlertDialogAction=Ym,C.AlertDialogCancel=Xm,C.AlertDialogContent=Hm,C.AlertDialogDescription=qm,C.AlertDialogFooter=Gm,C.AlertDialogHeader=Um,C.AlertDialogTitle=Wm,C.AlertDialogTrigger=Km,C.Avatar=Dv,C.AvatarFallback=Vv,C.AvatarImage=Mv,C.Badge=Iv,C.Button=Qr,C.Card=Rv,C.CardContent=Fv,C.CardDescription=zv,C.CardFooter=Lv,C.CardHeader=jv,C.CardTitle=Kv,C.Carousel=Mh,C.CarouselContent=Ih,C.CarouselItem=Rh,C.CarouselNext=zh,C.CarouselPrevious=Fh,C.Checkbox=Uh,C.Command=Nl,C.CommandDialog=Jh,C.CommandEmpty=Nh,C.CommandGroup=eg,C.CommandInput=ng,C.CommandItem=rg,C.CommandList=og,C.CommandSeparator=lg,C.CommandShortcut=sg,C.Dialog=es,C.DialogClose=Wh,C.DialogContent=ts,C.DialogDescription=Xh,C.DialogFooter=Zh,C.DialogHeader=Gh,C.DialogScrollContent=Qh,C.DialogTitle=Yh,C.DialogTrigger=qh,C.DropdownMenu=ig,C.DropdownMenuCheckboxItem=vg,C.DropdownMenuContent=cg,C.DropdownMenuGroup=dg,C.DropdownMenuItem=pg,C.DropdownMenuLabel=wg,C.DropdownMenuPortal=Po,C.DropdownMenuRadioGroup=fg,C.DropdownMenuRadioItem=gg,C.DropdownMenuSeparator=bg,C.DropdownMenuShortcut=yg,C.DropdownMenuSub=xg,C.DropdownMenuSubContent=_g,C.DropdownMenuSubTrigger=Cg,C.DropdownMenuTrigger=ug,C.Flasher=Mm,C.Header=Cp,C.Heading=Fm,C.Input=Bg,C.Label=kg,C.Main=Sp,C.Popover=Sg,C.PopoverAnchor=Ad,C.PopoverContent=Eg,C.PopoverTrigger=Pg,C.Progress=$g,C.Select=Tg,C.SelectContent=Dg,C.SelectGroup=Vg,C.SelectItem=Ig,C.SelectItemText=Rg,C.SelectLabel=Fg,C.SelectScrollDownButton=rs,C.SelectScrollUpButton=ns,C.SelectSeparator=zg,C.SelectTrigger=Ag,C.SelectValue=Og,C.Sheet=Lg,C.SheetClose=Kg,C.SheetContent=Hg,C.SheetDescription=qg,C.SheetFooter=Gg,C.SheetHeader=Ug,C.SheetTitle=Wg,C.SheetTrigger=jg,C.Skeleton=Yg,C.Slider=Xg,C.Switch=Qg,C.Table=Jg,C.TableBody=Ng,C.TableCaption=r0,C.TableCell=os,C.TableEmpty=o0,C.TableFooter=n0,C.TableHead=e0,C.TableHeader=t0,C.TableRow=ls,C.Tabs=l0,C.TabsContent=s0,C.TabsList=i0,C.TabsTrigger=c0,C.Textarea=d0,C.Tip=Lm,C.Toast=cl,C.ToastAction=Pm,C.ToastClose=ml,C.ToastDescription=Xr,C.ToastProvider=hl,C.ToastTitle=vl,C.ToastViewport=dl,C.Toaster=el,C.Tooltip=kl,C.TooltipContent=Sl,C.TooltipProvider=Pl,C.TooltipTrigger=El,C.TwoColumnLayout=yp,C.TwoColumnLayoutSidebar=$p,C.TwoColumnLayoutSidebarDesktop=Vp,C.TwoColumnLayoutSidebarMobile=Rp,C.TwoColumnLayoutSidebarTrigger=Kp,C.avatarVariant=Rl,C.badgeVariants=Fl,C.buttonVariants=_n,C.preset=Ms,C.sheetVariants=as,C.toast=No,C.toastVariants=bl,C.useCarousel=Ut,C.useFlasher=wl,C.useToast=Wr,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})}); diff --git a/dist/types/components/accordion/Accord.vue.d.ts b/dist/types/components/accordion/Accord.vue.d.ts index 2aba6bc..8167f4c 100644 --- a/dist/types/components/accordion/Accord.vue.d.ts +++ b/dist/types/components/accordion/Accord.vue.d.ts @@ -6,43 +6,27 @@ interface Item { interface ExtendedAccordionRootProps extends AccordionRootProps { content?: Item[] | Record; } -declare const _default: __VLS_WithTemplateSlots, { - type: string; - collapsible: boolean; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: string | string[] | undefined) => void; -}, string, import("vue").PublicProps, Readonly, { - type: string; - collapsible: boolean; -}>>> & Readonly<{ - "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined; -}>, { - collapsible: boolean; - type: "single" | "multiple"; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial any>> & Partial any>>>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; }; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; +type __VLS_Slots = {} & { + [K in NonNullable]?: (props: typeof __VLS_15) => any; +} & { + [K in NonNullable]?: (props: typeof __VLS_23) => any; }; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ + "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined; +}>, { + type: "multiple" | "single"; + collapsible: boolean; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/accordion/Accordion.vue.d.ts b/dist/types/components/accordion/Accordion.vue.d.ts index 1ca513e..51db5bd 100644 --- a/dist/types/components/accordion/Accordion.vue.d.ts +++ b/dist/types/components/accordion/Accordion.vue.d.ts @@ -1,22 +1,17 @@ import { type AccordionRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: string | string[] | undefined) => void; -}, string, import("vue").PublicProps, Readonly>>> & Readonly<{ +type __VLS_Props = AccordionRootProps; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:modelValue": (value: string | string[] | undefined) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/accordion/AccordionContent.vue.d.ts b/dist/types/components/accordion/AccordionContent.vue.d.ts index 59dcc13..5aa9992 100644 --- a/dist/types/components/accordion/AccordionContent.vue.d.ts +++ b/dist/types/components/accordion/AccordionContent.vue.d.ts @@ -1,22 +1,16 @@ import { type AccordionContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import { type HTMLAttributes } from "vue"; +type __VLS_Props = AccordionContentProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/accordion/AccordionItem.vue.d.ts b/dist/types/components/accordion/AccordionItem.vue.d.ts index ec86321..4672298 100644 --- a/dist/types/components/accordion/AccordionItem.vue.d.ts +++ b/dist/types/components/accordion/AccordionItem.vue.d.ts @@ -1,22 +1,16 @@ import { type AccordionItemProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import { type HTMLAttributes } from "vue"; +type __VLS_Props = AccordionItemProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/accordion/AccordionTrigger.vue.d.ts b/dist/types/components/accordion/AccordionTrigger.vue.d.ts index c734991..0c7ed8a 100644 --- a/dist/types/components/accordion/AccordionTrigger.vue.d.ts +++ b/dist/types/components/accordion/AccordionTrigger.vue.d.ts @@ -1,23 +1,18 @@ import { type AccordionTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; - icon?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import { type HTMLAttributes } from "vue"; +type __VLS_Props = AccordionTriggerProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_10: {}, __VLS_12: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; +} & { + icon?: (props: typeof __VLS_12) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialog.vue.d.ts b/dist/types/components/alert-dialog/AlertDialog.vue.d.ts index dbc62d0..8769326 100644 --- a/dist/types/components/alert-dialog/AlertDialog.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialog.vue.d.ts @@ -1,22 +1,16 @@ import { type AlertDialogProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogAction.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogAction.vue.d.ts index bae2c90..a73d1b4 100644 --- a/dist/types/components/alert-dialog/AlertDialogAction.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogAction.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type AlertDialogActionProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = AlertDialogActionProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogCancel.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogCancel.vue.d.ts index ff66a51..fa6321c 100644 --- a/dist/types/components/alert-dialog/AlertDialogCancel.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogCancel.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type AlertDialogCancelProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = AlertDialogCancelProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogContent.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogContent.vue.d.ts index eea44a1..a6d177c 100644 --- a/dist/types/components/alert-dialog/AlertDialogContent.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogContent.vue.d.ts @@ -1,36 +1,30 @@ +import { type HTMLAttributes } from "vue"; import { type AlertDialogContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - openAutoFocus: (event: Event) => void; - closeAutoFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +type __VLS_Props = AlertDialogContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_14: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_14) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + openAutoFocus: (event: Event) => any; + closeAutoFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; onInteractOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; onOpenAutoFocus?: ((event: Event) => any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogDescription.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogDescription.vue.d.ts index 0847850..0ca4bad 100644 --- a/dist/types/components/alert-dialog/AlertDialogDescription.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogDescription.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type AlertDialogDescriptionProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = AlertDialogDescriptionProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogFooter.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogFooter.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/alert-dialog/AlertDialogFooter.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogFooter.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogHeader.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogHeader.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/alert-dialog/AlertDialogHeader.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogHeader.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogTitle.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogTitle.vue.d.ts index ec0fcc8..b577e55 100644 --- a/dist/types/components/alert-dialog/AlertDialogTitle.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogTitle.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type AlertDialogTitleProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = AlertDialogTitleProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/alert-dialog/AlertDialogTrigger.vue.d.ts b/dist/types/components/alert-dialog/AlertDialogTrigger.vue.d.ts index 93afcc1..7c8a274 100644 --- a/dist/types/components/alert-dialog/AlertDialogTrigger.vue.d.ts +++ b/dist/types/components/alert-dialog/AlertDialogTrigger.vue.d.ts @@ -1,18 +1,12 @@ import { type AlertDialogTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/avatar/Avatar.vue.d.ts b/dist/types/components/avatar/Avatar.vue.d.ts index f4d6a7c..bdc1c6a 100644 --- a/dist/types/components/avatar/Avatar.vue.d.ts +++ b/dist/types/components/avatar/Avatar.vue.d.ts @@ -1,42 +1,21 @@ -declare const _default: __VLS_WithTemplateSlots, { - size: string; - shape: string; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly, { - size: string; - shape: string; -}>>> & Readonly<{}>, { - size: "base" | "sm" | "lg" | null; - shape: "circle" | "square" | null; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +import { type AvatarVariants } from "."; +type __VLS_Props = { + class?: HTMLAttributes["class"]; + size?: AvatarVariants["size"]; + shape?: AvatarVariants["shape"]; }; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { + size: "base" | "sm" | "lg" | null; + shape: "square" | "circle" | null; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/avatar/AvatarFallback.vue.d.ts b/dist/types/components/avatar/AvatarFallback.vue.d.ts index 6fd96af..b3aed7b 100644 --- a/dist/types/components/avatar/AvatarFallback.vue.d.ts +++ b/dist/types/components/avatar/AvatarFallback.vue.d.ts @@ -1,18 +1,12 @@ import { type AvatarFallbackProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/avatar/AvatarImage.vue.d.ts b/dist/types/components/avatar/AvatarImage.vue.d.ts index 71f0292..6cac8ec 100644 --- a/dist/types/components/avatar/AvatarImage.vue.d.ts +++ b/dist/types/components/avatar/AvatarImage.vue.d.ts @@ -1,12 +1,3 @@ import { type AvatarImageProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; diff --git a/dist/types/components/avatar/index.d.ts b/dist/types/components/avatar/index.d.ts index 05ed6e3..5a47fa5 100644 --- a/dist/types/components/avatar/index.d.ts +++ b/dist/types/components/avatar/index.d.ts @@ -4,6 +4,6 @@ export { default as AvatarImage } from "./AvatarImage.vue"; export { default as AvatarFallback } from "./AvatarFallback.vue"; export declare const avatarVariant: (props?: ({ size?: "base" | "sm" | "lg" | null | undefined; - shape?: "circle" | "square" | null | undefined; -} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; + shape?: "square" | "circle" | null | undefined; +} & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string; export type AvatarVariants = VariantProps; diff --git a/dist/types/components/badge/Badge.vue.d.ts b/dist/types/components/badge/Badge.vue.d.ts index bce5b9d..5c182e2 100644 --- a/dist/types/components/badge/Badge.vue.d.ts +++ b/dist/types/components/badge/Badge.vue.d.ts @@ -1,23 +1,17 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +import { type BadgeVariants } from "."; +type __VLS_Props = { + variant?: BadgeVariants["variant"]; + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/badge/index.d.ts b/dist/types/components/badge/index.d.ts index f6cca8f..75b4793 100644 --- a/dist/types/components/badge/index.d.ts +++ b/dist/types/components/badge/index.d.ts @@ -1,6 +1,6 @@ import { type VariantProps } from "class-variance-authority"; export { default as Badge } from "./Badge.vue"; export declare const badgeVariants: (props?: ({ - variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined; -} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; + variant?: "default" | "outline" | "destructive" | "secondary" | null | undefined; +} & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string; export type BadgeVariants = VariantProps; diff --git a/dist/types/components/button/Button.vue.d.ts b/dist/types/components/button/Button.vue.d.ts index c610824..3cca226 100644 --- a/dist/types/components/button/Button.vue.d.ts +++ b/dist/types/components/button/Button.vue.d.ts @@ -6,34 +6,16 @@ interface Props extends PrimitiveProps { size?: ButtonVariants["size"]; class?: HTMLAttributes["class"]; } -declare const _default: __VLS_WithTemplateSlots, { - as: string; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly, { - as: string; -}>>> & Readonly<{}>, { - as: string | import("vue").Component; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, { + as: import("radix-vue").AsTag | import("vue").Component; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/button/index.d.ts b/dist/types/components/button/index.d.ts index d44fc14..adc55cf 100644 --- a/dist/types/components/button/index.d.ts +++ b/dist/types/components/button/index.d.ts @@ -1,7 +1,7 @@ import { type VariantProps } from "class-variance-authority"; export { default as Button } from "./Button.vue"; export declare const buttonVariants: (props?: ({ - variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined; - size?: "default" | "xs" | "sm" | "lg" | "icon" | null | undefined; -} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; + variant?: "link" | "default" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined; + size?: "default" | "icon" | "xs" | "sm" | "lg" | null | undefined; +} & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string; export type ButtonVariants = VariantProps; diff --git a/dist/types/components/card/Card.vue.d.ts b/dist/types/components/card/Card.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/card/Card.vue.d.ts +++ b/dist/types/components/card/Card.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/card/CardContent.vue.d.ts b/dist/types/components/card/CardContent.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/card/CardContent.vue.d.ts +++ b/dist/types/components/card/CardContent.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/card/CardDescription.vue.d.ts b/dist/types/components/card/CardDescription.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/card/CardDescription.vue.d.ts +++ b/dist/types/components/card/CardDescription.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/card/CardFooter.vue.d.ts b/dist/types/components/card/CardFooter.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/card/CardFooter.vue.d.ts +++ b/dist/types/components/card/CardFooter.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/card/CardHeader.vue.d.ts b/dist/types/components/card/CardHeader.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/card/CardHeader.vue.d.ts +++ b/dist/types/components/card/CardHeader.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/card/CardTitle.vue.d.ts b/dist/types/components/card/CardTitle.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/card/CardTitle.vue.d.ts +++ b/dist/types/components/card/CardTitle.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/carousel/Carousel.vue.d.ts b/dist/types/components/carousel/Carousel.vue.d.ts index de1900f..9b7cd7f 100644 --- a/dist/types/components/carousel/Carousel.vue.d.ts +++ b/dist/types/components/carousel/Carousel.vue.d.ts @@ -1,52 +1,35 @@ import type { CarouselProps, WithClassAsProps } from "./interface"; -declare const _default: __VLS_WithTemplateSlots, { - orientation: string; -}>>, { +type __VLS_Props = CarouselProps & WithClassAsProps; +declare var __VLS_1: { + canScrollNext: boolean; + canScrollPrev: boolean; + carouselApi: import("embla-carousel").EmblaCarouselType | undefined; + carouselRef: HTMLElement | undefined; + orientation: "horizontal" | "vertical"; + scrollNext: () => void; + scrollPrev: () => void; +}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, { canScrollNext: import("vue").Ref; canScrollPrev: import("vue").Ref; carouselApi: import("vue").Ref; carouselRef: import("vue").Ref; - orientation: "vertical" | "horizontal" | undefined; + orientation: "horizontal" | "vertical" | undefined; scrollNext: () => void; scrollPrev: () => void; -}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "init-api": (payload: import("embla-carousel").EmblaCarouselType | undefined) => void; -}, string, import("vue").PublicProps, Readonly, { - orientation: string; -}>>> & Readonly<{ +}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { + "init-api": (payload: import("embla-carousel").EmblaCarouselType | undefined) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onInit-api"?: ((payload: import("embla-carousel").EmblaCarouselType | undefined) => any) | undefined; }>, { - orientation: "vertical" | "horizontal"; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: { - canScrollNext: boolean; - canScrollPrev: boolean; - carouselApi: import("embla-carousel").EmblaCarouselType | undefined; - carouselRef: HTMLElement | undefined; - orientation: "vertical" | "horizontal"; - scrollNext: () => void; - scrollPrev: () => void; - }): any; -}>; + orientation: "horizontal" | "vertical"; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/carousel/CarouselContent.vue.d.ts b/dist/types/components/carousel/CarouselContent.vue.d.ts index ebca03b..fb30fca 100644 --- a/dist/types/components/carousel/CarouselContent.vue.d.ts +++ b/dist/types/components/carousel/CarouselContent.vue.d.ts @@ -1,18 +1,12 @@ import type { WithClassAsProps } from "./interface"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/carousel/CarouselItem.vue.d.ts b/dist/types/components/carousel/CarouselItem.vue.d.ts index ebca03b..fb30fca 100644 --- a/dist/types/components/carousel/CarouselItem.vue.d.ts +++ b/dist/types/components/carousel/CarouselItem.vue.d.ts @@ -1,18 +1,12 @@ import type { WithClassAsProps } from "./interface"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/carousel/CarouselNext.vue.d.ts b/dist/types/components/carousel/CarouselNext.vue.d.ts index ebca03b..fdad220 100644 --- a/dist/types/components/carousel/CarouselNext.vue.d.ts +++ b/dist/types/components/carousel/CarouselNext.vue.d.ts @@ -1,18 +1,12 @@ import type { WithClassAsProps } from "./interface"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/carousel/CarouselPrevious.vue.d.ts b/dist/types/components/carousel/CarouselPrevious.vue.d.ts index ebca03b..fdad220 100644 --- a/dist/types/components/carousel/CarouselPrevious.vue.d.ts +++ b/dist/types/components/carousel/CarouselPrevious.vue.d.ts @@ -1,18 +1,12 @@ import type { WithClassAsProps } from "./interface"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/carousel/useCarousel.d.ts b/dist/types/components/carousel/useCarousel.d.ts index 39f2d54..2e68236 100644 --- a/dist/types/components/carousel/useCarousel.d.ts +++ b/dist/types/components/carousel/useCarousel.d.ts @@ -1,12 +1,12 @@ import type { CarouselEmits, CarouselProps } from "./interface"; -declare const useProvideCarousel: (args_0: CarouselProps, args_1: CarouselEmits) => { +declare const useProvideCarousel: (args_0: CarouselProps, emits: CarouselEmits) => { carouselRef: import("vue").Ref; carouselApi: import("vue").Ref; canScrollPrev: import("vue").Ref; canScrollNext: import("vue").Ref; scrollPrev: () => void; scrollNext: () => void; - orientation: "vertical" | "horizontal" | undefined; + orientation: "horizontal" | "vertical" | undefined; }; declare function useCarousel(): { carouselRef: import("vue").Ref; @@ -15,6 +15,6 @@ declare function useCarousel(): { canScrollNext: import("vue").Ref; scrollPrev: () => void; scrollNext: () => void; - orientation: "vertical" | "horizontal" | undefined; + orientation: "horizontal" | "vertical" | undefined; }; export { useCarousel, useProvideCarousel }; diff --git a/dist/types/components/checkbox/Checkbox.vue.d.ts b/dist/types/components/checkbox/Checkbox.vue.d.ts index 21dfe09..53b93fe 100644 --- a/dist/types/components/checkbox/Checkbox.vue.d.ts +++ b/dist/types/components/checkbox/Checkbox.vue.d.ts @@ -1,26 +1,20 @@ import type { CheckboxRootProps } from "reka-ui"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: boolean | "indeterminate") => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +import { type HTMLAttributes } from "vue"; +type __VLS_Props = CheckboxRootProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:modelValue": (value: boolean | "indeterminate") => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/Command.vue.d.ts b/dist/types/components/command/Command.vue.d.ts index 2f0518f..ad01989 100644 --- a/dist/types/components/command/Command.vue.d.ts +++ b/dist/types/components/command/Command.vue.d.ts @@ -1,49 +1,29 @@ +import { type HTMLAttributes } from "vue"; import type { ComboboxRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots & { - class?: any; -}>, { - open: boolean; - modelValue: string; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue) => void; - "update:open": (value: boolean) => void; - "update:searchTerm": (value: string) => void; - "update:selectedValue": (value: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue | undefined) => void; -}, string, import("vue").PublicProps, Readonly & { - class?: any; -}>, { - open: boolean; - modelValue: string; -}>>> & Readonly<{ - "onUpdate:modelValue"?: ((value: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue) => any) | undefined; +type __VLS_Props = ComboboxRootProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:open": (value: boolean) => any; + "update:modelValue": (value: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue) => any; + "update:searchTerm": (value: string) => any; + "update:selectedValue": (value: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue | undefined) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; + "onUpdate:modelValue"?: ((value: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue) => any) | undefined; "onUpdate:searchTerm"?: ((value: string) => any) | undefined; "onUpdate:selectedValue"?: ((value: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue | undefined) => any) | undefined; }>, { - modelValue: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue | import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue[]; open: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; + modelValue: import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue | import("radix-vue/dist/Combobox/ComboboxRoot").AcceptableValue[]; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/CommandDialog.vue.d.ts b/dist/types/components/command/CommandDialog.vue.d.ts index 3ebb2f1..8819296 100644 --- a/dist/types/components/command/CommandDialog.vue.d.ts +++ b/dist/types/components/command/CommandDialog.vue.d.ts @@ -1,22 +1,16 @@ import type { DialogRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_13: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_13) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/CommandEmpty.vue.d.ts b/dist/types/components/command/CommandEmpty.vue.d.ts index 4ee0e97..d16a36b 100644 --- a/dist/types/components/command/CommandEmpty.vue.d.ts +++ b/dist/types/components/command/CommandEmpty.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import type { ComboboxEmptyProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = ComboboxEmptyProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/CommandGroup.vue.d.ts b/dist/types/components/command/CommandGroup.vue.d.ts index 61bc057..3def3db 100644 --- a/dist/types/components/command/CommandGroup.vue.d.ts +++ b/dist/types/components/command/CommandGroup.vue.d.ts @@ -1,24 +1,17 @@ +import { type HTMLAttributes } from "vue"; import type { ComboboxGroupProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = ComboboxGroupProps & { + class?: HTMLAttributes["class"]; + heading?: string; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/CommandInput.vue.d.ts b/dist/types/components/command/CommandInput.vue.d.ts index ac74582..5b735be 100644 --- a/dist/types/components/command/CommandInput.vue.d.ts +++ b/dist/types/components/command/CommandInput.vue.d.ts @@ -1,17 +1,7 @@ import { type HTMLAttributes } from "vue"; import { type ComboboxInputProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; }; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +export default _default; diff --git a/dist/types/components/command/CommandItem.vue.d.ts b/dist/types/components/command/CommandItem.vue.d.ts index d798c39..65c1f20 100644 --- a/dist/types/components/command/CommandItem.vue.d.ts +++ b/dist/types/components/command/CommandItem.vue.d.ts @@ -1,26 +1,20 @@ +import { type HTMLAttributes } from "vue"; import type { ComboboxItemProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots & { - class?: any; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - select: (event: import("radix-vue/dist/Combobox/ComboboxItem").SelectEvent) => void; -}, string, import("vue").PublicProps, Readonly & { - class?: any; -}>>> & Readonly<{ +type __VLS_Props = ComboboxItemProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + select: (event: import("radix-vue/dist/Combobox/ComboboxItem").SelectEvent) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onSelect?: ((event: import("radix-vue/dist/Combobox/ComboboxItem").SelectEvent) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/CommandList.vue.d.ts b/dist/types/components/command/CommandList.vue.d.ts index 3fc311b..7ccb4b6 100644 --- a/dist/types/components/command/CommandList.vue.d.ts +++ b/dist/types/components/command/CommandList.vue.d.ts @@ -1,46 +1,28 @@ +import { type HTMLAttributes } from "vue"; import type { ComboboxContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots, { - dismissable: boolean; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; -}, string, import("vue").PublicProps, Readonly, { - dismissable: boolean; -}>>> & Readonly<{ +type __VLS_Props = ComboboxContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; onInteractOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; }>, { dismissable: boolean; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/CommandSeparator.vue.d.ts b/dist/types/components/command/CommandSeparator.vue.d.ts index b6af48f..48b45e3 100644 --- a/dist/types/components/command/CommandSeparator.vue.d.ts +++ b/dist/types/components/command/CommandSeparator.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import type { ComboboxSeparatorProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = ComboboxSeparatorProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/command/CommandShortcut.vue.d.ts b/dist/types/components/command/CommandShortcut.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/command/CommandShortcut.vue.d.ts +++ b/dist/types/components/command/CommandShortcut.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/Dialog.vue.d.ts b/dist/types/components/dialog/Dialog.vue.d.ts index fa3871a..fc6d040 100644 --- a/dist/types/components/dialog/Dialog.vue.d.ts +++ b/dist/types/components/dialog/Dialog.vue.d.ts @@ -1,22 +1,16 @@ import { type DialogRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogClose.vue.d.ts b/dist/types/components/dialog/DialogClose.vue.d.ts index 2bcf188..db3a524 100644 --- a/dist/types/components/dialog/DialogClose.vue.d.ts +++ b/dist/types/components/dialog/DialogClose.vue.d.ts @@ -1,18 +1,12 @@ import { type DialogCloseProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogContent.vue.d.ts b/dist/types/components/dialog/DialogContent.vue.d.ts index e86b709..292cdcb 100644 --- a/dist/types/components/dialog/DialogContent.vue.d.ts +++ b/dist/types/components/dialog/DialogContent.vue.d.ts @@ -1,17 +1,21 @@ +import { type HTMLAttributes } from "vue"; import { type DialogContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - close: (event: Event) => void; - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - openAutoFocus: (event: Event) => void; - closeAutoFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +type __VLS_Props = DialogContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_14: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_14) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + close: (event: Event) => any; + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + openAutoFocus: (event: Event) => any; + closeAutoFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onClose?: ((event: Event) => any) | undefined; onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; @@ -19,20 +23,10 @@ declare const _default: __VLS_WithTemplateSlots any) | undefined; onOpenAutoFocus?: ((event: Event) => any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogDescription.vue.d.ts b/dist/types/components/dialog/DialogDescription.vue.d.ts index 899cf6e..cec81ba 100644 --- a/dist/types/components/dialog/DialogDescription.vue.d.ts +++ b/dist/types/components/dialog/DialogDescription.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type DialogDescriptionProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = DialogDescriptionProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogFooter.vue.d.ts b/dist/types/components/dialog/DialogFooter.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/dialog/DialogFooter.vue.d.ts +++ b/dist/types/components/dialog/DialogFooter.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogHeader.vue.d.ts b/dist/types/components/dialog/DialogHeader.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/dialog/DialogHeader.vue.d.ts +++ b/dist/types/components/dialog/DialogHeader.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogScrollContent.vue.d.ts b/dist/types/components/dialog/DialogScrollContent.vue.d.ts index 3e15c56..f7c32af 100644 --- a/dist/types/components/dialog/DialogScrollContent.vue.d.ts +++ b/dist/types/components/dialog/DialogScrollContent.vue.d.ts @@ -1,36 +1,30 @@ +import { type HTMLAttributes } from "vue"; import { type DialogContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - openAutoFocus: (event: Event) => void; - closeAutoFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +type __VLS_Props = DialogContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_18: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_18) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + openAutoFocus: (event: Event) => any; + closeAutoFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; onInteractOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; onOpenAutoFocus?: ((event: Event) => any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogTitle.vue.d.ts b/dist/types/components/dialog/DialogTitle.vue.d.ts index d7bdcb2..6debfeb 100644 --- a/dist/types/components/dialog/DialogTitle.vue.d.ts +++ b/dist/types/components/dialog/DialogTitle.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type DialogTitleProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = DialogTitleProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dialog/DialogTrigger.vue.d.ts b/dist/types/components/dialog/DialogTrigger.vue.d.ts index eb1ab3d..740913e 100644 --- a/dist/types/components/dialog/DialogTrigger.vue.d.ts +++ b/dist/types/components/dialog/DialogTrigger.vue.d.ts @@ -1,18 +1,12 @@ import { type DialogTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts index cd0c191..3980ab8 100644 --- a/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenu.vue.d.ts @@ -1,22 +1,16 @@ import { type DropdownMenuRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (payload: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((payload: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts index 7b0d36f..a5258ac 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts @@ -1,28 +1,22 @@ +import { type HTMLAttributes } from "vue"; import { type DropdownMenuCheckboxItemProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - select: (event: Event) => void; - "update:checked": (payload: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +type __VLS_Props = DropdownMenuCheckboxItemProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_14: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_14) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + select: (event: Event) => any; + "update:checked": (payload: boolean) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onSelect?: ((event: Event) => any) | undefined; "onUpdate:checked"?: ((payload: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuContent.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuContent.vue.d.ts index 908b13f..2ed23ce 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuContent.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuContent.vue.d.ts @@ -1,19 +1,19 @@ +import { type HTMLAttributes } from "vue"; import { type DropdownMenuContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots, { - sideOffset: number; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - closeAutoFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly, { - sideOffset: number; -}>>> & Readonly<{ +type __VLS_Props = DropdownMenuContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + closeAutoFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; @@ -21,28 +21,10 @@ declare const _default: __VLS_WithTemplateSlots any) | undefined; }>, { sideOffset: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuGroup.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuGroup.vue.d.ts index f06c98b..9e6f796 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuGroup.vue.d.ts @@ -1,18 +1,12 @@ import { type DropdownMenuGroupProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuItem.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuItem.vue.d.ts index ab2efdd..795261a 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuItem.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuItem.vue.d.ts @@ -1,24 +1,17 @@ +import { type HTMLAttributes } from "vue"; import { type DropdownMenuItemProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = DropdownMenuItemProps & { + class?: HTMLAttributes["class"]; + inset?: boolean; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuLabel.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuLabel.vue.d.ts index 21a1469..abf3247 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuLabel.vue.d.ts @@ -1,24 +1,17 @@ +import { type HTMLAttributes } from "vue"; import { type DropdownMenuLabelProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = DropdownMenuLabelProps & { + class?: HTMLAttributes["class"]; + inset?: boolean; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts index c02d7ce..f984a51 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts @@ -1,22 +1,16 @@ import { type DropdownMenuRadioGroupProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (payload: string) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((payload: string) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts index 4dbd81a..cf5b0c3 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts @@ -1,26 +1,20 @@ +import { type HTMLAttributes } from "vue"; import { type DropdownMenuRadioItemProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - select: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +type __VLS_Props = DropdownMenuRadioItemProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_14: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_14) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + select: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onSelect?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts index f541b14..ef9bac1 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts @@ -1,17 +1,7 @@ import { type HTMLAttributes } from "vue"; import { type DropdownMenuSeparatorProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; }; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +export default _default; diff --git a/dist/types/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuSub.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuSub.vue.d.ts index d3ec717..afee097 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuSub.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuSub.vue.d.ts @@ -1,22 +1,16 @@ import { type DropdownMenuSubProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (payload: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((payload: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts index 19ea710..24fe7a7 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts @@ -1,17 +1,21 @@ +import { type HTMLAttributes } from "vue"; import { type DropdownMenuSubContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - openAutoFocus: (event: Event) => void; - closeAutoFocus: (event: Event) => void; - entryFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +type __VLS_Props = DropdownMenuSubContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + openAutoFocus: (event: Event) => any; + closeAutoFocus: (event: Event) => any; + entryFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; @@ -19,20 +23,10 @@ declare const _default: __VLS_WithTemplateSlots any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; onEntryFocus?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts index 57bd450..9f8a040 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type DropdownMenuSubTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = DropdownMenuSubTriggerProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts b/dist/types/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts index c359b48..00319e1 100644 --- a/dist/types/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +++ b/dist/types/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts @@ -1,18 +1,12 @@ import { type DropdownMenuTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/flasher/Flasher.vue.d.ts b/dist/types/components/flasher/Flasher.vue.d.ts index 2f0e2f8..8e27cab 100644 --- a/dist/types/components/flasher/Flasher.vue.d.ts +++ b/dist/types/components/flasher/Flasher.vue.d.ts @@ -1,38 +1,12 @@ import { type ErrorBag, type ObjectFormat } from "./use-flasher"; -declare const _default: import("vue").DefineComponent, { - objectFormat: string; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly, { - objectFormat: string; -}>>> & Readonly<{}>, { +type __VLS_Props = { + info?: string; + success?: string; + warning?: string; + errors?: ErrorBag; + objectFormat?: ObjectFormat; +}; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { objectFormat: ObjectFormat; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; diff --git a/dist/types/components/heading/Heading.vue.d.ts b/dist/types/components/heading/Heading.vue.d.ts index d95093b..b08588e 100644 --- a/dist/types/components/heading/Heading.vue.d.ts +++ b/dist/types/components/heading/Heading.vue.d.ts @@ -1,38 +1,20 @@ -declare const _default: __VLS_WithTemplateSlots, { - as: string; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly, { - as: string; -}>>> & Readonly<{}>, { - as: string; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; - actions?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + as?: string; + class?: HTMLAttributes["class"]; }; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; +declare var __VLS_5: {}, __VLS_7: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_5) => any; +} & { + actions?: (props: typeof __VLS_7) => any; }; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { + as: string; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/input/Input.vue.d.ts b/dist/types/components/input/Input.vue.d.ts index 4a435cd..1a112d8 100644 --- a/dist/types/components/input/Input.vue.d.ts +++ b/dist/types/components/input/Input.vue.d.ts @@ -1,24 +1,12 @@ import type { HTMLAttributes } from "vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (payload: string | number) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +}; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { + "update:modelValue": (payload: string | number) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; diff --git a/dist/types/components/label/Label.vue.d.ts b/dist/types/components/label/Label.vue.d.ts index cad612a..1e68ae8 100644 --- a/dist/types/components/label/Label.vue.d.ts +++ b/dist/types/components/label/Label.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type LabelProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = LabelProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/layout/Header.vue.d.ts b/dist/types/components/layout/Header.vue.d.ts index 48482f7..93844bd 100644 --- a/dist/types/components/layout/Header.vue.d.ts +++ b/dist/types/components/layout/Header.vue.d.ts @@ -1,8 +1,11 @@ -declare const _default: __VLS_WithTemplateSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/layout/Main.vue.d.ts b/dist/types/components/layout/Main.vue.d.ts index 48482f7..93844bd 100644 --- a/dist/types/components/layout/Main.vue.d.ts +++ b/dist/types/components/layout/Main.vue.d.ts @@ -1,8 +1,11 @@ -declare const _default: __VLS_WithTemplateSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/layout/TwoColumnLayout.vue.d.ts b/dist/types/components/layout/TwoColumnLayout.vue.d.ts index 48482f7..93844bd 100644 --- a/dist/types/components/layout/TwoColumnLayout.vue.d.ts +++ b/dist/types/components/layout/TwoColumnLayout.vue.d.ts @@ -1,8 +1,11 @@ -declare const _default: __VLS_WithTemplateSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/layout/TwoColumnLayoutSidebar.vue.d.ts b/dist/types/components/layout/TwoColumnLayoutSidebar.vue.d.ts index 48482f7..93844bd 100644 --- a/dist/types/components/layout/TwoColumnLayoutSidebar.vue.d.ts +++ b/dist/types/components/layout/TwoColumnLayoutSidebar.vue.d.ts @@ -1,8 +1,11 @@ -declare const _default: __VLS_WithTemplateSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/layout/TwoColumnLayoutSidebarDesktop.vue.d.ts b/dist/types/components/layout/TwoColumnLayoutSidebarDesktop.vue.d.ts index 48482f7..93844bd 100644 --- a/dist/types/components/layout/TwoColumnLayoutSidebarDesktop.vue.d.ts +++ b/dist/types/components/layout/TwoColumnLayoutSidebarDesktop.vue.d.ts @@ -1,8 +1,11 @@ -declare const _default: __VLS_WithTemplateSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/layout/TwoColumnLayoutSidebarMobile.vue.d.ts b/dist/types/components/layout/TwoColumnLayoutSidebarMobile.vue.d.ts index 48482f7..93844bd 100644 --- a/dist/types/components/layout/TwoColumnLayoutSidebarMobile.vue.d.ts +++ b/dist/types/components/layout/TwoColumnLayoutSidebarMobile.vue.d.ts @@ -1,8 +1,11 @@ -declare const _default: __VLS_WithTemplateSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/popover/Popover.vue.d.ts b/dist/types/components/popover/Popover.vue.d.ts index 94522f1..9348b40 100644 --- a/dist/types/components/popover/Popover.vue.d.ts +++ b/dist/types/components/popover/Popover.vue.d.ts @@ -1,22 +1,16 @@ import type { PopoverRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/popover/PopoverContent.vue.d.ts b/dist/types/components/popover/PopoverContent.vue.d.ts index 8f11508..3841fdd 100644 --- a/dist/types/components/popover/PopoverContent.vue.d.ts +++ b/dist/types/components/popover/PopoverContent.vue.d.ts @@ -1,22 +1,20 @@ +import { type HTMLAttributes } from "vue"; import { type PopoverContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots, { - align: string; - sideOffset: number; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - openAutoFocus: (event: Event) => void; - closeAutoFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly, { - align: string; - sideOffset: number; -}>>> & Readonly<{ +type __VLS_Props = PopoverContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + openAutoFocus: (event: Event) => any; + closeAutoFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; @@ -24,30 +22,12 @@ declare const _default: __VLS_WithTemplateSlots any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; }>, { - align: "start" | "center" | "end"; + align: import("radix-vue/dist/Popper").Align; sideOffset: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/popover/PopoverTrigger.vue.d.ts b/dist/types/components/popover/PopoverTrigger.vue.d.ts index a55a4fc..403a4e0 100644 --- a/dist/types/components/popover/PopoverTrigger.vue.d.ts +++ b/dist/types/components/popover/PopoverTrigger.vue.d.ts @@ -1,18 +1,12 @@ import { type PopoverTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/progress/Progress.vue.d.ts b/dist/types/components/progress/Progress.vue.d.ts index 18aa527..fa6a66c 100644 --- a/dist/types/components/progress/Progress.vue.d.ts +++ b/dist/types/components/progress/Progress.vue.d.ts @@ -1,31 +1,9 @@ import { type HTMLAttributes } from "vue"; import { type ProgressRootProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent, { - modelValue: number; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly, { - modelValue: number; -}>>> & Readonly<{}>, { +}; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { modelValue: number | null; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; diff --git a/dist/types/components/select/Select.vue.d.ts b/dist/types/components/select/Select.vue.d.ts index 00d1e9d..8c3b1d0 100644 --- a/dist/types/components/select/Select.vue.d.ts +++ b/dist/types/components/select/Select.vue.d.ts @@ -1,24 +1,18 @@ import type { SelectRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (value: string) => void; - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ - "onUpdate:modelValue"?: ((value: string) => any) | undefined; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; + "update:modelValue": (value: string) => any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; + "onUpdate:modelValue"?: ((value: string) => any) | undefined; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectContent.vue.d.ts b/dist/types/components/select/SelectContent.vue.d.ts index a3f6921..f94fc2c 100644 --- a/dist/types/components/select/SelectContent.vue.d.ts +++ b/dist/types/components/select/SelectContent.vue.d.ts @@ -1,44 +1,26 @@ +import { type HTMLAttributes } from "vue"; import { type SelectContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots, { - position: string; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - closeAutoFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly, { - position: string; -}>>> & Readonly<{ +type __VLS_Props = SelectContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_18: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_18) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + closeAutoFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; }>, { - position: "popper" | "item-aligned"; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; + position: "item-aligned" | "popper"; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectGroup.vue.d.ts b/dist/types/components/select/SelectGroup.vue.d.ts index 607e3a6..96584ca 100644 --- a/dist/types/components/select/SelectGroup.vue.d.ts +++ b/dist/types/components/select/SelectGroup.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type SelectGroupProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = SelectGroupProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectItem.vue.d.ts b/dist/types/components/select/SelectItem.vue.d.ts index dfbf5a9..73c5bf5 100644 --- a/dist/types/components/select/SelectItem.vue.d.ts +++ b/dist/types/components/select/SelectItem.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type SelectItemProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = SelectItemProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_18: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_18) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectItemText.vue.d.ts b/dist/types/components/select/SelectItemText.vue.d.ts index 60710b1..837d48f 100644 --- a/dist/types/components/select/SelectItemText.vue.d.ts +++ b/dist/types/components/select/SelectItemText.vue.d.ts @@ -1,18 +1,12 @@ import { type SelectItemTextProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectLabel.vue.d.ts b/dist/types/components/select/SelectLabel.vue.d.ts index f3f499d..f521d17 100644 --- a/dist/types/components/select/SelectLabel.vue.d.ts +++ b/dist/types/components/select/SelectLabel.vue.d.ts @@ -1,22 +1,16 @@ +import type { HTMLAttributes } from "vue"; import { type SelectLabelProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = SelectLabelProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectScrollDownButton.vue.d.ts b/dist/types/components/select/SelectScrollDownButton.vue.d.ts index 4f93feb..05b8156 100644 --- a/dist/types/components/select/SelectScrollDownButton.vue.d.ts +++ b/dist/types/components/select/SelectScrollDownButton.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type SelectScrollDownButtonProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = SelectScrollDownButtonProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectScrollUpButton.vue.d.ts b/dist/types/components/select/SelectScrollUpButton.vue.d.ts index de10bad..a6b9fd0 100644 --- a/dist/types/components/select/SelectScrollUpButton.vue.d.ts +++ b/dist/types/components/select/SelectScrollUpButton.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type SelectScrollUpButtonProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = SelectScrollUpButtonProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectSeparator.vue.d.ts b/dist/types/components/select/SelectSeparator.vue.d.ts index 9e3ebd3..14b6e44 100644 --- a/dist/types/components/select/SelectSeparator.vue.d.ts +++ b/dist/types/components/select/SelectSeparator.vue.d.ts @@ -1,17 +1,7 @@ import { type HTMLAttributes } from "vue"; import { type SelectSeparatorProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; }; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +export default _default; diff --git a/dist/types/components/select/SelectTrigger.vue.d.ts b/dist/types/components/select/SelectTrigger.vue.d.ts index 740c596..9d90700 100644 --- a/dist/types/components/select/SelectTrigger.vue.d.ts +++ b/dist/types/components/select/SelectTrigger.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type SelectTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = SelectTriggerProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/select/SelectValue.vue.d.ts b/dist/types/components/select/SelectValue.vue.d.ts index e4a1bef..f093ad7 100644 --- a/dist/types/components/select/SelectValue.vue.d.ts +++ b/dist/types/components/select/SelectValue.vue.d.ts @@ -1,18 +1,12 @@ import { type SelectValueProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/Sheet.vue.d.ts b/dist/types/components/sheet/Sheet.vue.d.ts index fa3871a..fc6d040 100644 --- a/dist/types/components/sheet/Sheet.vue.d.ts +++ b/dist/types/components/sheet/Sheet.vue.d.ts @@ -1,22 +1,16 @@ import { type DialogRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/SheetClose.vue.d.ts b/dist/types/components/sheet/SheetClose.vue.d.ts index 2bcf188..db3a524 100644 --- a/dist/types/components/sheet/SheetClose.vue.d.ts +++ b/dist/types/components/sheet/SheetClose.vue.d.ts @@ -1,18 +1,12 @@ import { type DialogCloseProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/SheetContent.vue.d.ts b/dist/types/components/sheet/SheetContent.vue.d.ts index a57dae1..5a67831 100644 --- a/dist/types/components/sheet/SheetContent.vue.d.ts +++ b/dist/types/components/sheet/SheetContent.vue.d.ts @@ -5,34 +5,28 @@ interface SheetContentProps extends DialogContentProps { class?: HTMLAttributes["class"]; side?: SheetVariants["side"]; } -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => void; - focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => void; - openAutoFocus: (event: Event) => void; - closeAutoFocus: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_14: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_14) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; + pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any; + focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any; + openAutoFocus: (event: Event) => any; + closeAutoFocus: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined; onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; onInteractOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined; onOpenAutoFocus?: ((event: Event) => any) | undefined; onCloseAutoFocus?: ((event: Event) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/SheetDescription.vue.d.ts b/dist/types/components/sheet/SheetDescription.vue.d.ts index 899cf6e..cec81ba 100644 --- a/dist/types/components/sheet/SheetDescription.vue.d.ts +++ b/dist/types/components/sheet/SheetDescription.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type DialogDescriptionProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = DialogDescriptionProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/SheetFooter.vue.d.ts b/dist/types/components/sheet/SheetFooter.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/sheet/SheetFooter.vue.d.ts +++ b/dist/types/components/sheet/SheetFooter.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/SheetHeader.vue.d.ts b/dist/types/components/sheet/SheetHeader.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/sheet/SheetHeader.vue.d.ts +++ b/dist/types/components/sheet/SheetHeader.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/SheetTitle.vue.d.ts b/dist/types/components/sheet/SheetTitle.vue.d.ts index d7bdcb2..6debfeb 100644 --- a/dist/types/components/sheet/SheetTitle.vue.d.ts +++ b/dist/types/components/sheet/SheetTitle.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type DialogTitleProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = DialogTitleProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/SheetTrigger.vue.d.ts b/dist/types/components/sheet/SheetTrigger.vue.d.ts index eb1ab3d..740913e 100644 --- a/dist/types/components/sheet/SheetTrigger.vue.d.ts +++ b/dist/types/components/sheet/SheetTrigger.vue.d.ts @@ -1,18 +1,12 @@ import { type DialogTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/sheet/index.d.ts b/dist/types/components/sheet/index.d.ts index 9ab8397..4aa48a7 100644 --- a/dist/types/components/sheet/index.d.ts +++ b/dist/types/components/sheet/index.d.ts @@ -8,6 +8,6 @@ export { default as SheetTitle } from "./SheetTitle.vue"; export { default as SheetDescription } from "./SheetDescription.vue"; export { default as SheetFooter } from "./SheetFooter.vue"; export declare const sheetVariants: (props?: ({ - side?: "top" | "right" | "bottom" | "left" | null | undefined; -} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; + side?: "left" | "top" | "bottom" | "right" | null | undefined; +} & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string; export type SheetVariants = VariantProps; diff --git a/dist/types/components/skeleton/Skeleton.vue.d.ts b/dist/types/components/skeleton/Skeleton.vue.d.ts index 7e6754b..f85435f 100644 --- a/dist/types/components/skeleton/Skeleton.vue.d.ts +++ b/dist/types/components/skeleton/Skeleton.vue.d.ts @@ -2,14 +2,5 @@ import type { HTMLAttributes } from "vue"; interface SkeletonProps { class?: HTMLAttributes["class"]; } -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +declare const _default: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; diff --git a/dist/types/components/slider/Slider.vue.d.ts b/dist/types/components/slider/Slider.vue.d.ts index 4c8214f..3296ab9 100644 --- a/dist/types/components/slider/Slider.vue.d.ts +++ b/dist/types/components/slider/Slider.vue.d.ts @@ -1,23 +1,13 @@ import { type HTMLAttributes } from "vue"; import type { SliderRootProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (payload: number[] | undefined) => void; - valueCommit: (payload: number[]) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +}; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:modelValue": (payload: number[] | undefined) => any; + valueCommit: (payload: number[]) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:modelValue"?: ((payload: number[] | undefined) => any) | undefined; onValueCommit?: ((payload: number[]) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; diff --git a/dist/types/components/switch/Switch.vue.d.ts b/dist/types/components/switch/Switch.vue.d.ts index b617d59..c433692 100644 --- a/dist/types/components/switch/Switch.vue.d.ts +++ b/dist/types/components/switch/Switch.vue.d.ts @@ -1,21 +1,11 @@ import { type HTMLAttributes } from "vue"; import { type SwitchRootProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:checked": (payload: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +}; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:checked": (payload: boolean) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:checked"?: ((payload: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; diff --git a/dist/types/components/table/Table.vue.d.ts b/dist/types/components/table/Table.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/Table.vue.d.ts +++ b/dist/types/components/table/Table.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableBody.vue.d.ts b/dist/types/components/table/TableBody.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/TableBody.vue.d.ts +++ b/dist/types/components/table/TableBody.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableCaption.vue.d.ts b/dist/types/components/table/TableCaption.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/TableCaption.vue.d.ts +++ b/dist/types/components/table/TableCaption.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableCell.vue.d.ts b/dist/types/components/table/TableCell.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/TableCell.vue.d.ts +++ b/dist/types/components/table/TableCell.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableEmpty.vue.d.ts b/dist/types/components/table/TableEmpty.vue.d.ts index 316ffad..cbf1d16 100644 --- a/dist/types/components/table/TableEmpty.vue.d.ts +++ b/dist/types/components/table/TableEmpty.vue.d.ts @@ -1,37 +1,18 @@ -declare const _default: __VLS_WithTemplateSlots, { - colspan: number; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly, { - colspan: number; -}>>> & Readonly<{}>, { - colspan: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import { type HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; + colspan?: number; }; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; +declare var __VLS_8: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_8) => any; }; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, { + colspan: number; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableFooter.vue.d.ts b/dist/types/components/table/TableFooter.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/TableFooter.vue.d.ts +++ b/dist/types/components/table/TableFooter.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableHead.vue.d.ts b/dist/types/components/table/TableHead.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/TableHead.vue.d.ts +++ b/dist/types/components/table/TableHead.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableHeader.vue.d.ts b/dist/types/components/table/TableHeader.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/TableHeader.vue.d.ts +++ b/dist/types/components/table/TableHeader.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/table/TableRow.vue.d.ts b/dist/types/components/table/TableRow.vue.d.ts index de785bc..db5552f 100644 --- a/dist/types/components/table/TableRow.vue.d.ts +++ b/dist/types/components/table/TableRow.vue.d.ts @@ -1,21 +1,15 @@ -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import type { HTMLAttributes } from "vue"; +type __VLS_Props = { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_1: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_1) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tabs/Tabs.vue.d.ts b/dist/types/components/tabs/Tabs.vue.d.ts index 670a76f..4bcce1f 100644 --- a/dist/types/components/tabs/Tabs.vue.d.ts +++ b/dist/types/components/tabs/Tabs.vue.d.ts @@ -1,22 +1,17 @@ import type { TabsRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (payload: import("radix-vue/dist/shared/types").StringOrNumber) => void; -}, string, import("vue").PublicProps, Readonly>>> & Readonly<{ +type __VLS_Props = TabsRootProps; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + "update:modelValue": (payload: import("radix-vue/dist/shared/types").StringOrNumber) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:modelValue"?: ((payload: import("radix-vue/dist/shared/types").StringOrNumber) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tabs/TabsContent.vue.d.ts b/dist/types/components/tabs/TabsContent.vue.d.ts index 66f929b..1ccbacd 100644 --- a/dist/types/components/tabs/TabsContent.vue.d.ts +++ b/dist/types/components/tabs/TabsContent.vue.d.ts @@ -1,22 +1,16 @@ import { type TabsContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import { type HTMLAttributes } from "vue"; +type __VLS_Props = TabsContentProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tabs/TabsList.vue.d.ts b/dist/types/components/tabs/TabsList.vue.d.ts index ed49ea2..57d59f9 100644 --- a/dist/types/components/tabs/TabsList.vue.d.ts +++ b/dist/types/components/tabs/TabsList.vue.d.ts @@ -1,22 +1,16 @@ import { type TabsListProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import { type HTMLAttributes } from "vue"; +type __VLS_Props = TabsListProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tabs/TabsTrigger.vue.d.ts b/dist/types/components/tabs/TabsTrigger.vue.d.ts index e5c268d..3cc6236 100644 --- a/dist/types/components/tabs/TabsTrigger.vue.d.ts +++ b/dist/types/components/tabs/TabsTrigger.vue.d.ts @@ -1,22 +1,16 @@ import { type TabsTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +import { type HTMLAttributes } from "vue"; +type __VLS_Props = TabsTriggerProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/textarea/Textarea.vue.d.ts b/dist/types/components/textarea/Textarea.vue.d.ts index 09e73ae..a07ef18 100644 --- a/dist/types/components/textarea/Textarea.vue.d.ts +++ b/dist/types/components/textarea/Textarea.vue.d.ts @@ -1,24 +1,12 @@ import type { HTMLAttributes } from "vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:modelValue": (payload: string | number) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ + defaultValue?: string | number; + modelValue?: string | number; +}; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { + "update:modelValue": (payload: string | number) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:modelValue"?: ((payload: string | number) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; diff --git a/dist/types/components/toast/Toast.vue.d.ts b/dist/types/components/toast/Toast.vue.d.ts index 9aa0fd8..61f0ec4 100644 --- a/dist/types/components/toast/Toast.vue.d.ts +++ b/dist/types/components/toast/Toast.vue.d.ts @@ -1,36 +1,30 @@ import { type ToastProps } from "."; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - pause: () => void; - "update:open": (value: boolean) => void; - escapeKeyDown: (event: KeyboardEvent) => void; - resume: () => void; - swipeStart: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => void; - swipeMove: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => void; - swipeCancel: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => void; - swipeEnd: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; + resume: () => any; + "update:open": (value: boolean) => any; + escapeKeyDown: (event: KeyboardEvent) => any; + swipeStart: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any; + swipeMove: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any; + swipeCancel: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any; + swipeEnd: (event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ onPause?: (() => any) | undefined; + onResume?: (() => any) | undefined; "onUpdate:open"?: ((value: boolean) => any) | undefined; onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; - onResume?: (() => any) | undefined; onSwipeStart?: ((event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any) | undefined; onSwipeMove?: ((event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any) | undefined; onSwipeCancel?: ((event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any) | undefined; onSwipeEnd?: ((event: import("radix-vue/dist/Toast/utils").SwipeEvent) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/toast/ToastAction.vue.d.ts b/dist/types/components/toast/ToastAction.vue.d.ts index 05816ee..2d7c464 100644 --- a/dist/types/components/toast/ToastAction.vue.d.ts +++ b/dist/types/components/toast/ToastAction.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type ToastActionProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = ToastActionProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/toast/ToastClose.vue.d.ts b/dist/types/components/toast/ToastClose.vue.d.ts index 294b748..9da9bcb 100644 --- a/dist/types/components/toast/ToastClose.vue.d.ts +++ b/dist/types/components/toast/ToastClose.vue.d.ts @@ -1,17 +1,7 @@ import { type HTMLAttributes } from "vue"; import { type ToastCloseProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; }; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +export default _default; diff --git a/dist/types/components/toast/ToastDescription.vue.d.ts b/dist/types/components/toast/ToastDescription.vue.d.ts index 9e0b704..c40d99c 100644 --- a/dist/types/components/toast/ToastDescription.vue.d.ts +++ b/dist/types/components/toast/ToastDescription.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type ToastDescriptionProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = ToastDescriptionProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/toast/ToastProvider.vue.d.ts b/dist/types/components/toast/ToastProvider.vue.d.ts index 78e08c8..36c0fbd 100644 --- a/dist/types/components/toast/ToastProvider.vue.d.ts +++ b/dist/types/components/toast/ToastProvider.vue.d.ts @@ -1,18 +1,12 @@ import { type ToastProviderProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/toast/ToastTitle.vue.d.ts b/dist/types/components/toast/ToastTitle.vue.d.ts index 5191b5c..741172d 100644 --- a/dist/types/components/toast/ToastTitle.vue.d.ts +++ b/dist/types/components/toast/ToastTitle.vue.d.ts @@ -1,22 +1,16 @@ +import { type HTMLAttributes } from "vue"; import { type ToastTitleProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +type __VLS_Props = ToastTitleProps & { + class?: HTMLAttributes["class"]; }; -type __VLS_WithTemplateSlots = T & { +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/toast/ToastViewport.vue.d.ts b/dist/types/components/toast/ToastViewport.vue.d.ts index 10c00c3..3a0a16c 100644 --- a/dist/types/components/toast/ToastViewport.vue.d.ts +++ b/dist/types/components/toast/ToastViewport.vue.d.ts @@ -1,17 +1,7 @@ import { type HTMLAttributes } from "vue"; import { type ToastViewportProps } from "radix-vue"; -declare const _default: import("vue").DefineComponent>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; }; +declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +export default _default; diff --git a/dist/types/components/toast/Toaster.vue.d.ts b/dist/types/components/toast/Toaster.vue.d.ts index 5dc632f..dbcd287 100644 --- a/dist/types/components/toast/Toaster.vue.d.ts +++ b/dist/types/components/toast/Toaster.vue.d.ts @@ -1,5 +1,5 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - click: (value: object) => void; + click: (value: object) => any; }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{ onClick?: ((value: object) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; diff --git a/dist/types/components/toast/index.d.ts b/dist/types/components/toast/index.d.ts index 3c54953..ce4c590 100644 --- a/dist/types/components/toast/index.d.ts +++ b/dist/types/components/toast/index.d.ts @@ -12,7 +12,7 @@ export { toast, useToast } from "./use-toast"; import { type VariantProps } from "class-variance-authority"; export declare const toastVariants: (props?: ({ variant?: "default" | "destructive" | null | undefined; -} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; +} & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string; type ToastVariants = VariantProps; export interface ToastProps extends ToastRootProps { class?: HTMLAttributes["class"]; diff --git a/dist/types/components/toast/use-toast.d.ts b/dist/types/components/toast/use-toast.d.ts index c216118..70a33c2 100644 --- a/dist/types/components/toast/use-toast.d.ts +++ b/dist/types/components/toast/use-toast.d.ts @@ -14,21 +14,21 @@ type ToasterToast = ToastProps & { }; declare function useToast(): { toasts: import("vue").ComputedRef<{ - class?: any; + class?: import("vue").HTMLAttributes["class"]; variant?: "default" | "destructive" | null | undefined; - onOpenChange?: ((value: boolean) => void) | undefined; + onOpenChange?: ((value: boolean) => void) | undefined | undefined; defaultOpen?: boolean | undefined; forceMount?: boolean | undefined; type?: "foreground" | "background" | undefined; open?: boolean | undefined; duration?: number | undefined; asChild?: boolean | undefined; - as?: string | import("vue").FunctionalComponent | { + as?: import("vue").FunctionalComponent | { new (...args: any[]): any; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; - } | { + __isFragment?: never; + __isTeleport?: never; + __isSuspense?: never; + } | import("radix-vue").AsTag | { [x: string]: any; setup?: ((this: void, props: import("@vue/shared").LooseRequired, ctx: { attrs: { @@ -38,7 +38,7 @@ declare function useToast(): { [name: string]: import("vue").Slot | undefined; }>; emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void); - expose: = Record>(exposed?: Exposed | undefined) => void; + expose: = Record>(exposed?: Exposed) => void; }) => any) | undefined; name?: string | undefined; template?: string | object | undefined; @@ -57,9 +57,9 @@ declare function useToast(): { delimiters?: [string, string] | undefined; } | undefined; call?: ((this: unknown, ...args: unknown[]) => never) | undefined; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; + __isFragment?: never | undefined; + __isTeleport?: never | undefined; + __isSuspense?: never | undefined; __defaults?: {} | undefined; compatConfig?: { GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined; @@ -104,16 +104,16 @@ declare function useToast(): { RENDER_FUNCTION?: boolean | "suppress-warning" | undefined; FILTERS?: boolean | "suppress-warning" | undefined; PRIVATE_APIS?: boolean | "suppress-warning" | undefined; - MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined; + MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined; } | undefined; data?: ((this: any, vm: any) => any) | undefined; computed?: import("vue").ComputedOptions | undefined; methods?: import("vue").MethodOptions | undefined; watch?: { - [x: string]: (string | import("vue").WatchCallback | ({ - handler: string | import("vue").WatchCallback; - } & import("vue").WatchOptions)) | (string | import("vue").WatchCallback | ({ - handler: string | import("vue").WatchCallback; + [x: string]: (string | import("vue").WatchCallback | ({ + handler: import("vue").WatchCallback | string; + } & import("vue").WatchOptions)) | (string | import("vue").WatchCallback | ({ + handler: import("vue").WatchCallback | string; } & import("vue").WatchOptions))[]; } | undefined; provide?: import("vue").ComponentProvideOptions | undefined; @@ -135,7 +135,7 @@ declare function useToast(): { unmounted?: (() => any) | undefined; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined; - errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => boolean | void) | undefined; + errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | undefined; delimiters?: [string, string] | undefined; __differentiator?: string | number | symbol | undefined; __isBuiltIn?: boolean | undefined; @@ -145,9 +145,9 @@ declare function useToast(): { id: string; icon?: string | import("vue").FunctionalComponent | { new (...args: any[]): any; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; + __isFragment?: never; + __isTeleport?: never; + __isSuspense?: never; } | { [x: string]: any; setup?: ((this: void, props: import("@vue/shared").LooseRequired, ctx: { @@ -158,7 +158,7 @@ declare function useToast(): { [name: string]: import("vue").Slot | undefined; }>; emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void); - expose: = Record>(exposed?: Exposed | undefined) => void; + expose: = Record>(exposed?: Exposed) => void; }) => any) | undefined; name?: string | undefined; template?: string | object | undefined; @@ -177,9 +177,9 @@ declare function useToast(): { delimiters?: [string, string] | undefined; } | undefined; call?: ((this: unknown, ...args: unknown[]) => never) | undefined; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; + __isFragment?: never | undefined; + __isTeleport?: never | undefined; + __isSuspense?: never | undefined; __defaults?: {} | undefined; compatConfig?: { GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined; @@ -224,16 +224,16 @@ declare function useToast(): { RENDER_FUNCTION?: boolean | "suppress-warning" | undefined; FILTERS?: boolean | "suppress-warning" | undefined; PRIVATE_APIS?: boolean | "suppress-warning" | undefined; - MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined; + MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined; } | undefined; data?: ((this: any, vm: any) => any) | undefined; computed?: import("vue").ComputedOptions | undefined; methods?: import("vue").MethodOptions | undefined; watch?: { - [x: string]: (string | import("vue").WatchCallback | ({ - handler: string | import("vue").WatchCallback; - } & import("vue").WatchOptions)) | (string | import("vue").WatchCallback | ({ - handler: string | import("vue").WatchCallback; + [x: string]: (string | import("vue").WatchCallback | ({ + handler: import("vue").WatchCallback | string; + } & import("vue").WatchOptions)) | (string | import("vue").WatchCallback | ({ + handler: import("vue").WatchCallback | string; } & import("vue").WatchOptions))[]; } | undefined; provide?: import("vue").ComponentProvideOptions | undefined; @@ -255,7 +255,7 @@ declare function useToast(): { unmounted?: (() => any) | undefined; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined; - errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => boolean | void) | undefined; + errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | undefined; delimiters?: [string, string] | undefined; __differentiator?: string | number | symbol | undefined; __isBuiltIn?: boolean | undefined; @@ -267,9 +267,9 @@ declare function useToast(): { description?: StringOrObjectOrVNode | undefined; action?: import("vue").FunctionalComponent | { new (...args: any[]): any; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; + __isFragment?: never; + __isTeleport?: never; + __isSuspense?: never; } | { [x: string]: any; setup?: ((this: void, props: import("@vue/shared").LooseRequired, ctx: { @@ -280,7 +280,7 @@ declare function useToast(): { [name: string]: import("vue").Slot | undefined; }>; emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void); - expose: = Record>(exposed?: Exposed | undefined) => void; + expose: = Record>(exposed?: Exposed) => void; }) => any) | undefined; name?: string | undefined; template?: string | object | undefined; @@ -299,9 +299,9 @@ declare function useToast(): { delimiters?: [string, string] | undefined; } | undefined; call?: ((this: unknown, ...args: unknown[]) => never) | undefined; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; + __isFragment?: never | undefined; + __isTeleport?: never | undefined; + __isSuspense?: never | undefined; __defaults?: {} | undefined; compatConfig?: { GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined; @@ -346,16 +346,16 @@ declare function useToast(): { RENDER_FUNCTION?: boolean | "suppress-warning" | undefined; FILTERS?: boolean | "suppress-warning" | undefined; PRIVATE_APIS?: boolean | "suppress-warning" | undefined; - MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined; + MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3) | undefined; } | undefined; data?: ((this: any, vm: any) => any) | undefined; computed?: import("vue").ComputedOptions | undefined; methods?: import("vue").MethodOptions | undefined; watch?: { - [x: string]: (string | import("vue").WatchCallback | ({ - handler: string | import("vue").WatchCallback; - } & import("vue").WatchOptions)) | (string | import("vue").WatchCallback | ({ - handler: string | import("vue").WatchCallback; + [x: string]: (string | import("vue").WatchCallback | ({ + handler: import("vue").WatchCallback | string; + } & import("vue").WatchOptions)) | (string | import("vue").WatchCallback | ({ + handler: import("vue").WatchCallback | string; } & import("vue").WatchOptions))[]; } | undefined; provide?: import("vue").ComponentProvideOptions | undefined; @@ -377,7 +377,7 @@ declare function useToast(): { unmounted?: (() => any) | undefined; renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined; renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined; - errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase, {}, {}, "", {}, any> | null, info: string) => boolean | void) | undefined; + errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | undefined; delimiters?: [string, string] | undefined; __differentiator?: string | number | symbol | undefined; __isBuiltIn?: boolean | undefined; diff --git a/dist/types/components/tooltip/Tip.vue.d.ts b/dist/types/components/tooltip/Tip.vue.d.ts index ce618e2..ccc30a3 100644 --- a/dist/types/components/tooltip/Tip.vue.d.ts +++ b/dist/types/components/tooltip/Tip.vue.d.ts @@ -3,39 +3,22 @@ interface ExtendedTooltipRootProps extends TooltipRootProps { tooltip?: string; indicator?: boolean; } -declare const _default: __VLS_WithTemplateSlots, { - delayDuration: number; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly, { - delayDuration: number; -}>>> & Readonly<{ +declare var __VLS_14: {}, __VLS_20: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_14) => any; +} & { + tooltip?: (props: typeof __VLS_20) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; }>, { delayDuration: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; - tooltip?(_: {}): any; -}>; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tooltip/Tooltip.vue.d.ts b/dist/types/components/tooltip/Tooltip.vue.d.ts index 9206492..bc9cb04 100644 --- a/dist/types/components/tooltip/Tooltip.vue.d.ts +++ b/dist/types/components/tooltip/Tooltip.vue.d.ts @@ -1,22 +1,16 @@ import { type TooltipRootProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - "update:open": (value: boolean) => void; -}, string, import("vue").PublicProps, Readonly>> & Readonly<{ +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; +}; +declare const __VLS_component: import("vue").DefineComponent any; +}, string, import("vue").PublicProps, Readonly & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; -}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tooltip/TooltipContent.vue.d.ts b/dist/types/components/tooltip/TooltipContent.vue.d.ts index 0b2e98f..6e14163 100644 --- a/dist/types/components/tooltip/TooltipContent.vue.d.ts +++ b/dist/types/components/tooltip/TooltipContent.vue.d.ts @@ -1,42 +1,24 @@ import { type TooltipContentProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots, { - sideOffset: number; -}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - escapeKeyDown: (event: KeyboardEvent) => void; - pointerDownOutside: (event: Event) => void; -}, string, import("vue").PublicProps, Readonly, { - sideOffset: number; -}>>> & Readonly<{ +import { type HTMLAttributes } from "vue"; +type __VLS_Props = TooltipContentProps & { + class?: HTMLAttributes["class"]; +}; +declare var __VLS_10: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_10) => any; +}; +declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + escapeKeyDown: (event: KeyboardEvent) => any; + pointerDownOutside: (event: Event) => any; +}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined; onPointerDownOutside?: ((event: Event) => any) | undefined; }>, { sideOffset: number; -}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; +}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; -}; -type __VLS_WithDefaults = { - [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; -}; -type __VLS_Prettify = { - [K in keyof T]: T[K]; -} & {}; -type __VLS_WithTemplateSlots = T & { +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tooltip/TooltipProvider.vue.d.ts b/dist/types/components/tooltip/TooltipProvider.vue.d.ts index bea58c3..4802f7b 100644 --- a/dist/types/components/tooltip/TooltipProvider.vue.d.ts +++ b/dist/types/components/tooltip/TooltipProvider.vue.d.ts @@ -1,18 +1,12 @@ import { type TooltipProviderProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/components/tooltip/TooltipTrigger.vue.d.ts b/dist/types/components/tooltip/TooltipTrigger.vue.d.ts index 666753e..4edb6ac 100644 --- a/dist/types/components/tooltip/TooltipTrigger.vue.d.ts +++ b/dist/types/components/tooltip/TooltipTrigger.vue.d.ts @@ -1,18 +1,12 @@ import { type TooltipTriggerProps } from "radix-vue"; -declare const _default: __VLS_WithTemplateSlots>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { - default?(_: {}): any; -}>; -export default _default; -type __VLS_NonUndefinedable = T extends undefined ? never : T; -type __VLS_TypePropsToRuntimeProps = { - [K in keyof T]-?: {} extends Pick ? { - type: import('vue').PropType<__VLS_NonUndefinedable>; - } : { - type: import('vue').PropType; - required: true; - }; +declare var __VLS_6: {}; +type __VLS_Slots = {} & { + default?: (props: typeof __VLS_6) => any; }; -type __VLS_WithTemplateSlots = T & { +declare const __VLS_component: import("vue").DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; +declare const _default: __VLS_WithSlots; +export default _default; +type __VLS_WithSlots = T & { new (): { $slots: S; }; diff --git a/dist/types/presets/preset.d.ts b/dist/types/presets/preset.d.ts index d6a69bb..57bc3d2 100644 --- a/dist/types/presets/preset.d.ts +++ b/dist/types/presets/preset.d.ts @@ -86,8 +86,6 @@ declare const _default: { }; }; }; - plugins: { - handler: () => void; - }[]; + plugins: any[]; }; export default _default; diff --git a/package-lock.json b/package-lock.json index 2b5828c..4f2c427 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "embla-carousel-vue": "^8.3.0", "lucide-vue-next": "^0.439.0", "radix-vue": "^1.9.5", - "reka-ui": "^2.1.1", + "reka-ui": "^2.2.1", "tailwind-merge": "^2.6.0", "tailwindcss-animate": "^1.0.7" }, @@ -27,8 +27,8 @@ "@tailwindcss/typography": "^0.5.15", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.54.1", - "@vitejs/plugin-vue": "^5.0.0", - "@vue/tsconfig": "^0.1.3", + "@vitejs/plugin-vue": "^5.2.3", + "@vue/tsconfig": "^0.7.0", "autoprefixer": "^10.4.7", "cypress": "^14.2.1", "cypress-vite": "^1.5.0", @@ -42,13 +42,13 @@ "prettier": "^2.8.7", "relative-deps": "^1.0.7", "tailwindcss": "^3.3.0", - "typescript": "^4.9.5", + "typescript": "~5.8.3", "unplugin-vue-markdown": "^0.26.2", - "vite": "^5.0.0", - "vite-plugin-static-copy": "^1.0.6", + "vite": "^6.3.5", + "vite-plugin-static-copy": "^3.0.0", "vue": "^3.2.37", "vue-router": "^4.4.4", - "vue-tsc": "^1.2.0" + "vue-tsc": "^2.2.8" }, "peerDependencies": { "vue": "^3.2.0" @@ -179,9 +179,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", - "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz", + "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==", "cpu": [ "ppc64" ], @@ -192,13 +192,13 @@ "aix" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", - "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz", + "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==", "cpu": [ "arm" ], @@ -209,13 +209,13 @@ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", - "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz", + "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==", "cpu": [ "arm64" ], @@ -226,13 +226,13 @@ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", - "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz", + "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==", "cpu": [ "x64" ], @@ -243,13 +243,13 @@ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", - "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz", + "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==", "cpu": [ "arm64" ], @@ -260,13 +260,13 @@ "darwin" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", - "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz", + "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==", "cpu": [ "x64" ], @@ -277,13 +277,13 @@ "darwin" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", - "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz", + "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==", "cpu": [ "arm64" ], @@ -294,13 +294,13 @@ "freebsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", - "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz", + "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==", "cpu": [ "x64" ], @@ -311,13 +311,13 @@ "freebsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", - "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz", + "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==", "cpu": [ "arm" ], @@ -328,13 +328,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", - "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz", + "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==", "cpu": [ "arm64" ], @@ -345,13 +345,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", - "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz", + "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==", "cpu": [ "ia32" ], @@ -362,13 +362,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", - "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz", + "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==", "cpu": [ "loong64" ], @@ -379,13 +379,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", - "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz", + "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==", "cpu": [ "mips64el" ], @@ -396,13 +396,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", - "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz", + "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==", "cpu": [ "ppc64" ], @@ -413,13 +413,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", - "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz", + "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==", "cpu": [ "riscv64" ], @@ -430,13 +430,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", - "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz", + "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==", "cpu": [ "s390x" ], @@ -447,13 +447,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", - "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz", + "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==", "cpu": [ "x64" ], @@ -464,13 +464,30 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.4.tgz", + "integrity": "sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", - "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz", + "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==", "cpu": [ "x64" ], @@ -481,13 +498,30 @@ "netbsd" ], "engines": { - "node": ">=12" + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz", + "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", - "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz", + "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==", "cpu": [ "x64" ], @@ -498,13 +532,13 @@ "openbsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", - "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz", + "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==", "cpu": [ "x64" ], @@ -515,13 +549,13 @@ "sunos" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", - "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz", + "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==", "cpu": [ "arm64" ], @@ -532,13 +566,13 @@ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", - "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz", + "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==", "cpu": [ "ia32" ], @@ -549,13 +583,13 @@ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", - "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz", + "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==", "cpu": [ "x64" ], @@ -566,7 +600,7 @@ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@eslint-community/eslint-utils": { @@ -1772,34 +1806,32 @@ } }, "node_modules/@volar/language-core": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.11.1.tgz", - "integrity": "sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==", + "version": "2.4.14", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.14.tgz", + "integrity": "sha512-X6beusV0DvuVseaOEy7GoagS4rYHgDHnTrdOj5jeUb49fW5ceQyP9Ej5rBhqgz2wJggl+2fDbbojq1XKaxDi6w==", "dev": true, "license": "MIT", "dependencies": { - "@volar/source-map": "1.11.1" + "@volar/source-map": "2.4.14" } }, "node_modules/@volar/source-map": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.11.1.tgz", - "integrity": "sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==", + "version": "2.4.14", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.14.tgz", + "integrity": "sha512-5TeKKMh7Sfxo8021cJfmBzcjfY1SsXsPMMjMvjY7ivesdnybqqS+GxGAoXHAOUawQTwtdUxgP65Im+dEmvWtYQ==", "dev": true, - "license": "MIT", - "dependencies": { - "muggle-string": "^0.3.1" - } + "license": "MIT" }, "node_modules/@volar/typescript": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.11.1.tgz", - "integrity": "sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==", + "version": "2.4.14", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.14.tgz", + "integrity": "sha512-p8Z6f/bZM3/HyCdRNFZOEEzts51uV8WHeN8Tnfnm2EBv6FDB2TQLzfVx7aJvnl8ofKAOnS64B2O8bImBFaauRw==", "dev": true, "license": "MIT", "dependencies": { - "@volar/language-core": "1.11.1", - "path-browserify": "^1.0.1" + "@volar/language-core": "2.4.14", + "path-browserify": "^1.0.1", + "vscode-uri": "^3.0.8" } }, "node_modules/@vue/compiler-core": { @@ -1852,6 +1884,17 @@ "@vue/shared": "3.5.14" } }, + "node_modules/@vue/compiler-vue2": { + "version": "2.7.16", + "resolved": "https://registry.npmjs.org/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz", + "integrity": "sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==", + "dev": true, + "license": "MIT", + "dependencies": { + "de-indent": "^1.0.2", + "he": "^1.2.0" + } + }, "node_modules/@vue/devtools-api": { "version": "6.6.4", "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz", @@ -1860,21 +1903,20 @@ "license": "MIT" }, "node_modules/@vue/language-core": { - "version": "1.8.27", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.27.tgz", - "integrity": "sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==", + "version": "2.2.10", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.2.10.tgz", + "integrity": "sha512-+yNoYx6XIKuAO8Mqh1vGytu8jkFEOH5C8iOv3i8Z/65A7x9iAOXA97Q+PqZ3nlm2lxf5rOJuIGI/wDtx/riNYw==", "dev": true, "license": "MIT", "dependencies": { - "@volar/language-core": "~1.11.1", - "@volar/source-map": "~1.11.1", - "@vue/compiler-dom": "^3.3.0", - "@vue/shared": "^3.3.0", - "computeds": "^0.0.1", + "@volar/language-core": "~2.4.11", + "@vue/compiler-dom": "^3.5.0", + "@vue/compiler-vue2": "^2.7.16", + "@vue/shared": "^3.5.0", + "alien-signals": "^1.0.3", "minimatch": "^9.0.3", - "muggle-string": "^0.3.1", - "path-browserify": "^1.0.1", - "vue-template-compiler": "^2.7.14" + "muggle-string": "^0.4.1", + "path-browserify": "^1.0.1" }, "peerDependencies": { "typescript": "*" @@ -1962,16 +2004,20 @@ "license": "MIT" }, "node_modules/@vue/tsconfig": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.1.3.tgz", - "integrity": "sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.7.0.tgz", + "integrity": "sha512-ku2uNz5MaZ9IerPPUyOHzyjhXoX2kVJaVf7hL315DC17vS6IiZRmmCPfggNbU16QTvM80+uYYy3eYJB59WCtvg==", "dev": true, "license": "MIT", "peerDependencies": { - "@types/node": "*" + "typescript": "5.x", + "vue": "^3.4.0" }, "peerDependenciesMeta": { - "@types/node": { + "typescript": { + "optional": true + }, + "vue": { "optional": true } } @@ -2118,6 +2164,13 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/alien-signals": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/alien-signals/-/alien-signals-1.0.13.tgz", + "integrity": "sha512-OGj9yyTnJEttvzhTUWuscOvtqxq5vrhF7vL9oS0xJ2mK0ItPYP1/y+vCFebfxoEyAz0++1AIwJ5CMr+Fk3nDmg==", + "dev": true, + "license": "MIT" + }, "node_modules/ansi-colors": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", @@ -3196,13 +3249,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/computeds": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/computeds/-/computeds-0.0.1.tgz", - "integrity": "sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==", - "dev": true, - "license": "MIT" - }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -3832,9 +3878,9 @@ } }, "node_modules/esbuild": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", - "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz", + "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -3842,32 +3888,34 @@ "esbuild": "bin/esbuild" }, "engines": { - "node": ">=12" + "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.21.5", - "@esbuild/android-arm": "0.21.5", - "@esbuild/android-arm64": "0.21.5", - "@esbuild/android-x64": "0.21.5", - "@esbuild/darwin-arm64": "0.21.5", - "@esbuild/darwin-x64": "0.21.5", - "@esbuild/freebsd-arm64": "0.21.5", - "@esbuild/freebsd-x64": "0.21.5", - "@esbuild/linux-arm": "0.21.5", - "@esbuild/linux-arm64": "0.21.5", - "@esbuild/linux-ia32": "0.21.5", - "@esbuild/linux-loong64": "0.21.5", - "@esbuild/linux-mips64el": "0.21.5", - "@esbuild/linux-ppc64": "0.21.5", - "@esbuild/linux-riscv64": "0.21.5", - "@esbuild/linux-s390x": "0.21.5", - "@esbuild/linux-x64": "0.21.5", - "@esbuild/netbsd-x64": "0.21.5", - "@esbuild/openbsd-x64": "0.21.5", - "@esbuild/sunos-x64": "0.21.5", - "@esbuild/win32-arm64": "0.21.5", - "@esbuild/win32-ia32": "0.21.5", - "@esbuild/win32-x64": "0.21.5" + "@esbuild/aix-ppc64": "0.25.4", + "@esbuild/android-arm": "0.25.4", + "@esbuild/android-arm64": "0.25.4", + "@esbuild/android-x64": "0.25.4", + "@esbuild/darwin-arm64": "0.25.4", + "@esbuild/darwin-x64": "0.25.4", + "@esbuild/freebsd-arm64": "0.25.4", + "@esbuild/freebsd-x64": "0.25.4", + "@esbuild/linux-arm": "0.25.4", + "@esbuild/linux-arm64": "0.25.4", + "@esbuild/linux-ia32": "0.25.4", + "@esbuild/linux-loong64": "0.25.4", + "@esbuild/linux-mips64el": "0.25.4", + "@esbuild/linux-ppc64": "0.25.4", + "@esbuild/linux-riscv64": "0.25.4", + "@esbuild/linux-s390x": "0.25.4", + "@esbuild/linux-x64": "0.25.4", + "@esbuild/netbsd-arm64": "0.25.4", + "@esbuild/netbsd-x64": "0.25.4", + "@esbuild/openbsd-arm64": "0.25.4", + "@esbuild/openbsd-x64": "0.25.4", + "@esbuild/sunos-x64": "0.25.4", + "@esbuild/win32-arm64": "0.25.4", + "@esbuild/win32-ia32": "0.25.4", + "@esbuild/win32-x64": "0.25.4" } }, "node_modules/escalade": { @@ -6625,9 +6673,9 @@ "license": "MIT" }, "node_modules/muggle-string": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.3.1.tgz", - "integrity": "sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.4.1.tgz", + "integrity": "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==", "dev": true, "license": "MIT" }, @@ -9899,6 +9947,51 @@ "dev": true, "license": "MIT" }, + "node_modules/tinyglobby": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz", + "integrity": "sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.4.4", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.4.4", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz", + "integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/tldts": { "version": "6.1.86", "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz", @@ -10193,9 +10286,9 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "devOptional": true, "license": "Apache-2.0", "bin": { @@ -10203,7 +10296,7 @@ "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/uc.micro": { @@ -10472,21 +10565,24 @@ } }, "node_modules/vite": { - "version": "5.4.19", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.19.tgz", - "integrity": "sha512-qO3aKv3HoQC8QKiNSTuUM1l9o/XX3+c+VTgLHbJWHZGeTPVAg2XwazI9UWzoxjIJCGCV2zU60uqMzjeLZuULqA==", + "version": "6.3.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz", + "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==", "dev": true, "license": "MIT", "dependencies": { - "esbuild": "^0.21.3", - "postcss": "^8.4.43", - "rollup": "^4.20.0" + "esbuild": "^0.25.0", + "fdir": "^6.4.4", + "picomatch": "^4.0.2", + "postcss": "^8.5.3", + "rollup": "^4.34.9", + "tinyglobby": "^0.2.13" }, "bin": { "vite": "bin/vite.js" }, "engines": { - "node": "^18.0.0 || >=20.0.0" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" }, "funding": { "url": "https://github.com/vitejs/vite?sponsor=1" @@ -10495,19 +10591,25 @@ "fsevents": "~2.3.3" }, "peerDependencies": { - "@types/node": "^18.0.0 || >=20.0.0", + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", - "terser": "^5.4.0" + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" }, "peerDependenciesMeta": { "@types/node": { "optional": true }, + "jiti": { + "optional": true + }, "less": { "optional": true }, @@ -10528,26 +10630,33 @@ }, "terser": { "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true } } }, "node_modules/vite-plugin-static-copy": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-1.0.6.tgz", - "integrity": "sha512-3uSvsMwDVFZRitqoWHj0t4137Kz7UynnJeq1EZlRW7e25h2068fyIZX4ORCCOAkfp1FklGxJNVJBkBOD+PZIew==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-3.0.0.tgz", + "integrity": "sha512-Uki9pPUQ4ZnoMEdIFabvoh9h6Bh9Q1m3iF7BrZvoiF30reREpJh2gZb4jOnW1/uYFzyRiLCmFSkM+8hwiq1vWQ==", "dev": true, "license": "MIT", "dependencies": { "chokidar": "^3.5.3", - "fast-glob": "^3.2.11", - "fs-extra": "^11.1.0", - "picocolors": "^1.0.0" + "fs-extra": "^11.3.0", + "p-map": "^7.0.3", + "picocolors": "^1.1.1", + "tinyglobby": "^0.2.13" }, "engines": { "node": "^18.0.0 || >=20.0.0" }, "peerDependencies": { - "vite": "^5.0.0" + "vite": "^5.0.0 || ^6.0.0" } }, "node_modules/vite-plugin-static-copy/node_modules/fs-extra": { @@ -10565,6 +10674,54 @@ "node": ">=14.14" } }, + "node_modules/vite-plugin-static-copy/node_modules/p-map": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.3.tgz", + "integrity": "sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/vite/node_modules/fdir": { + "version": "6.4.4", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz", + "integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/vite/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/vscode-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.1.0.tgz", + "integrity": "sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==", + "dev": true, + "license": "MIT" + }, "node_modules/vue": { "version": "3.5.14", "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.14.tgz", @@ -10654,33 +10811,21 @@ "vue": "^3.2.0" } }, - "node_modules/vue-template-compiler": { - "version": "2.7.16", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.16.tgz", - "integrity": "sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "de-indent": "^1.0.2", - "he": "^1.2.0" - } - }, "node_modules/vue-tsc": { - "version": "1.8.27", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.27.tgz", - "integrity": "sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg==", + "version": "2.2.10", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.2.10.tgz", + "integrity": "sha512-jWZ1xSaNbabEV3whpIDMbjVSVawjAyW+x1n3JeGQo7S0uv2n9F/JMgWW90tGWNFRKya4YwKMZgCtr0vRAM7DeQ==", "dev": true, "license": "MIT", "dependencies": { - "@volar/typescript": "~1.11.1", - "@vue/language-core": "1.8.27", - "semver": "^7.5.4" + "@volar/typescript": "~2.4.11", + "@vue/language-core": "2.2.10" }, "bin": { "vue-tsc": "bin/vue-tsc.js" }, "peerDependencies": { - "typescript": "*" + "typescript": ">=5.0.0" } }, "node_modules/webpack-virtual-modules": { diff --git a/package.json b/package.json index f07e88b..ae7c0a2 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "embla-carousel-vue": "^8.3.0", "lucide-vue-next": "^0.439.0", "radix-vue": "^1.9.5", - "reka-ui": "^2.1.1", + "reka-ui": "^2.2.1", "tailwind-merge": "^2.6.0", "tailwindcss-animate": "^1.0.7" }, @@ -55,8 +55,8 @@ "@tailwindcss/typography": "^0.5.15", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.54.1", - "@vitejs/plugin-vue": "^5.0.0", - "@vue/tsconfig": "^0.1.3", + "@vitejs/plugin-vue": "^5.2.3", + "@vue/tsconfig": "^0.7.0", "autoprefixer": "^10.4.7", "cypress": "^14.2.1", "cypress-vite": "^1.5.0", @@ -70,12 +70,12 @@ "prettier": "^2.8.7", "relative-deps": "^1.0.7", "tailwindcss": "^3.3.0", - "typescript": "^4.9.5", + "typescript": "~5.8.3", "unplugin-vue-markdown": "^0.26.2", - "vite": "^5.0.0", - "vite-plugin-static-copy": "^1.0.6", + "vite": "^6.3.5", + "vite-plugin-static-copy": "^3.0.0", "vue": "^3.2.37", "vue-router": "^4.4.4", - "vue-tsc": "^1.2.0" + "vue-tsc": "^2.2.8" } } diff --git a/src/components/avatar/Avatar.vue b/src/components/avatar/Avatar.vue index 46bcf6f..8fee356 100644 --- a/src/components/avatar/Avatar.vue +++ b/src/components/avatar/Avatar.vue @@ -1,8 +1,8 @@ diff --git a/src/components/avatar/AvatarImage.vue b/src/components/avatar/AvatarImage.vue index 2f4eceb..390f224 100644 --- a/src/components/avatar/AvatarImage.vue +++ b/src/components/avatar/AvatarImage.vue @@ -1,9 +1,12 @@ diff --git a/src/components/avatar/index.ts b/src/components/avatar/index.ts index 72c4b0f..9ea657a 100644 --- a/src/components/avatar/index.ts +++ b/src/components/avatar/index.ts @@ -1,8 +1,8 @@ -import { type VariantProps, cva } from "class-variance-authority" +import { cva, type VariantProps } from "class-variance-authority" export { default as Avatar } from "./Avatar.vue" -export { default as AvatarImage } from "./AvatarImage.vue" export { default as AvatarFallback } from "./AvatarFallback.vue" +export { default as AvatarImage } from "./AvatarImage.vue" export const avatarVariant = cva( "inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-secondary font-normal text-foreground", diff --git a/src/components/badge/Badge.vue b/src/components/badge/Badge.vue index 5b19716..7ededc6 100644 --- a/src/components/badge/Badge.vue +++ b/src/components/badge/Badge.vue @@ -1,7 +1,7 @@ + + diff --git a/src/components/pagination/PaginationContent.vue b/src/components/pagination/PaginationContent.vue new file mode 100644 index 0000000..f11acbe --- /dev/null +++ b/src/components/pagination/PaginationContent.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/components/pagination/PaginationEllipsis.vue b/src/components/pagination/PaginationEllipsis.vue new file mode 100644 index 0000000..953b95d --- /dev/null +++ b/src/components/pagination/PaginationEllipsis.vue @@ -0,0 +1,25 @@ + + + diff --git a/src/components/pagination/PaginationFirst.vue b/src/components/pagination/PaginationFirst.vue new file mode 100644 index 0000000..3c65967 --- /dev/null +++ b/src/components/pagination/PaginationFirst.vue @@ -0,0 +1,38 @@ + + + diff --git a/src/components/pagination/PaginationItem.vue b/src/components/pagination/PaginationItem.vue new file mode 100644 index 0000000..d7e48a6 --- /dev/null +++ b/src/components/pagination/PaginationItem.vue @@ -0,0 +1,40 @@ + + + diff --git a/src/components/pagination/PaginationLast.vue b/src/components/pagination/PaginationLast.vue new file mode 100644 index 0000000..4c15151 --- /dev/null +++ b/src/components/pagination/PaginationLast.vue @@ -0,0 +1,38 @@ + + + diff --git a/src/components/pagination/PaginationNext.vue b/src/components/pagination/PaginationNext.vue new file mode 100644 index 0000000..0a99d9d --- /dev/null +++ b/src/components/pagination/PaginationNext.vue @@ -0,0 +1,38 @@ + + + diff --git a/src/components/pagination/PaginationPrevious.vue b/src/components/pagination/PaginationPrevious.vue new file mode 100644 index 0000000..016ee0e --- /dev/null +++ b/src/components/pagination/PaginationPrevious.vue @@ -0,0 +1,38 @@ + + + diff --git a/src/components/pagination/index.ts b/src/components/pagination/index.ts new file mode 100644 index 0000000..51ae7fd --- /dev/null +++ b/src/components/pagination/index.ts @@ -0,0 +1,8 @@ +export { default as Pagination } from "./Pagination.vue" +export { default as PaginationContent } from "./PaginationContent.vue" +export { default as PaginationEllipsis } from "./PaginationEllipsis.vue" +export { default as PaginationFirst } from "./PaginationFirst.vue" +export { default as PaginationItem } from "./PaginationItem.vue" +export { default as PaginationLast } from "./PaginationLast.vue" +export { default as PaginationNext } from "./PaginationNext.vue" +export { default as PaginationPrevious } from "./PaginationPrevious.vue" diff --git a/src/components/separator/Separator.vue b/src/components/separator/Separator.vue new file mode 100644 index 0000000..da6a2f4 --- /dev/null +++ b/src/components/separator/Separator.vue @@ -0,0 +1,34 @@ + + + diff --git a/src/components/separator/index.ts b/src/components/separator/index.ts new file mode 100644 index 0000000..4407287 --- /dev/null +++ b/src/components/separator/index.ts @@ -0,0 +1 @@ +export { default as Separator } from "./Separator.vue" diff --git a/src/index.ts b/src/index.ts index 634f4e1..16330b8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,6 +27,7 @@ export * from "@/components/label" export * from "@/components/popover" export * from "@/components/progress" export * from "@/components/select" +export * from "@/components/separator" export * from "@/components/sheet" export * from "@/components/skeleton" export * from "@/components/slider" diff --git a/tsconfig.json b/tsconfig.json index c11bdaf..7a23abf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,19 @@ { - "extends": "@vue/tsconfig/tsconfig.web.json", + "extends": "@vue/tsconfig/tsconfig.dom.json", "compilerOptions": { - "lib": [ - "ESNext", - "DOM", - "DOM.Iterable" - ], - "allowJs": true, - "strict": true, "baseUrl": ".", "paths": { - "@/*": [ - "src/*" - ] + "@/*": ["./src/*"] }, + + /* Linting */ + "strict": true, "outDir": "dist", "declaration": true, "declarationDir": "dist/types" }, "include": [ "src/**/*.ts", - "src/**/*.d.ts", "src/**/*.vue" ], "exclude": [