From 476f0dd1fdac31bf985c02d07cade0991d7f8673 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Wed, 6 Dec 2023 17:32:25 -0800 Subject: [PATCH] Build --- dist/plugin/VInlineCheckbox.vue.d.ts | 24 +- dist/plugin/VInlineCustomField.vue.d.ts | 32 +- dist/plugin/VInlineSelect.vue.d.ts | 24 +- dist/plugin/VInlineSwitch.vue.d.ts | 105 +- dist/plugin/VInlineTextField.vue.d.ts | 24 +- dist/plugin/VInlineTextarea.vue.d.ts | 24 +- dist/plugin/index.d.ts | 517 ++- dist/plugin/types/index.d.ts | 9 +- dist/plugin/utils/props.d.ts | 11 +- dist/vuetify-inline-fields.cjs.js | 10 +- dist/vuetify-inline-fields.es.js | 4596 ++++++++++++----------- 11 files changed, 2822 insertions(+), 2554 deletions(-) diff --git a/dist/plugin/VInlineCheckbox.vue.d.ts b/dist/plugin/VInlineCheckbox.vue.d.ts index 623cc0b..43d7d3f 100644 --- a/dist/plugin/VInlineCheckbox.vue.d.ts +++ b/dist/plugin/VInlineCheckbox.vue.d.ts @@ -138,7 +138,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -150,7 +150,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -162,7 +162,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -174,7 +174,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -399,7 +399,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -411,7 +411,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -423,7 +423,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -435,7 +435,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -551,16 +551,16 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -128,7 +128,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -140,7 +140,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -152,7 +152,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -355,7 +355,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -367,7 +367,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -379,7 +379,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -391,7 +391,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -500,16 +500,16 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -145,7 +145,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -157,7 +157,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -169,7 +169,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -389,7 +389,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -401,7 +401,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -413,7 +413,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -425,7 +425,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -539,16 +539,16 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -146,7 +146,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -158,7 +158,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -170,7 +170,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -193,10 +193,46 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideSaveIcon: { + type: globalThis.PropType; + default: boolean; + }; + loadingIcon: { + type: globalThis.PropType; + default: undefined; + }; + loadingIconColor: { + type: globalThis.PropType; + default: string; + }; loadingWait: { type: globalThis.PropType; default: boolean; }; + saveButtonColor: { + type: globalThis.PropType; + default: string; + }; + saveButtonSize: { + type: globalThis.PropType; + default: string; + }; + saveButtonTitle: { + type: globalThis.PropType; + default: string; + }; + saveButtonVariant: { + type: globalThis.PropType>; + default: "text"; + }; + saveIcon: { + type: globalThis.PropType; + default: undefined; + }; + saveIconColor: { + type: globalThis.PropType; + default: string; + }; tableField: { type: globalThis.PropType; default: boolean; @@ -355,7 +391,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -367,7 +403,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -379,7 +415,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -391,7 +427,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -414,10 +450,46 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideSaveIcon: { + type: globalThis.PropType; + default: boolean; + }; + loadingIcon: { + type: globalThis.PropType; + default: undefined; + }; + loadingIconColor: { + type: globalThis.PropType; + default: string; + }; loadingWait: { type: globalThis.PropType; default: boolean; }; + saveButtonColor: { + type: globalThis.PropType; + default: string; + }; + saveButtonSize: { + type: globalThis.PropType; + default: string; + }; + saveButtonTitle: { + type: globalThis.PropType; + default: string; + }; + saveButtonVariant: { + type: globalThis.PropType>; + default: "text"; + }; + saveIcon: { + type: globalThis.PropType; + default: undefined; + }; + saveIconColor: { + type: globalThis.PropType; + default: string; + }; tableField: { type: globalThis.PropType; default: boolean; @@ -470,22 +542,31 @@ declare const _default: __VLS_WithTemplateSlots; + saveIcon: string; + saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; diff --git a/dist/plugin/VInlineTextField.vue.d.ts b/dist/plugin/VInlineTextField.vue.d.ts index d749f58..25c56d7 100644 --- a/dist/plugin/VInlineTextField.vue.d.ts +++ b/dist/plugin/VInlineTextField.vue.d.ts @@ -116,7 +116,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -128,7 +128,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -140,7 +140,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -152,7 +152,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -355,7 +355,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -367,7 +367,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -379,7 +379,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -391,7 +391,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -500,16 +500,16 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -136,7 +136,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -148,7 +148,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -160,7 +160,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -371,7 +371,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -383,7 +383,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -395,7 +395,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -407,7 +407,7 @@ declare const _default: __VLS_WithTemplateSlots; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -518,16 +518,16 @@ declare const _default: __VLS_WithTemplateSlots void; +export declare function createVInlineFields(options?: Omit): (app: App) => void; declare const _default: { VInlineCheckbox: { new (...args: any[]): import("vue").CreateComponentPublicInstance; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -162,7 +162,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -174,7 +174,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -186,7 +186,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -411,7 +411,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -423,7 +423,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -435,7 +435,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -447,7 +447,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -563,16 +563,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -740,7 +740,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -752,7 +752,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -764,7 +764,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -776,7 +776,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -892,16 +892,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -1066,7 +1066,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -1078,7 +1078,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -1090,7 +1090,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -1102,7 +1102,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -1220,16 +1220,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -1372,7 +1372,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -1384,7 +1384,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -1396,7 +1396,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -1408,7 +1408,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -1611,7 +1611,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -1623,7 +1623,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -1635,7 +1635,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -1647,7 +1647,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -1756,16 +1756,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -1911,7 +1911,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -1923,7 +1923,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -1935,7 +1935,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -1947,7 +1947,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -2056,16 +2056,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -2208,7 +2208,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -2220,7 +2220,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -2232,7 +2232,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -2244,7 +2244,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -2355,16 +2355,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -2428,16 +2428,16 @@ declare const _default: { color: string; density: "default" | "comfortable" | "compact" | null; disabled: boolean; - displayAppendIcon: import("./types").VIconValue | undefined; + displayAppendIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; displayAppendIconColor: string | undefined; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue | undefined; + displayAppendInnerIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; displayAppendInnerIconColor: string | undefined; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue | undefined; + displayPrependIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; displayPrependIconColor: string | undefined; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue | undefined; + displayPrependInnerIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; displayPrependInnerIconColor: string | undefined; displayPrependInnerIconSize: string | number; emptyText: string; @@ -2591,7 +2591,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -2603,7 +2603,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -2615,7 +2615,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -2627,7 +2627,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -2847,7 +2847,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -2859,7 +2859,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -2871,7 +2871,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -2883,7 +2883,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -2997,16 +2997,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -3169,7 +3169,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -3181,7 +3181,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -3193,7 +3193,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -3205,7 +3205,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -3319,16 +3319,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -3488,7 +3488,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -3500,7 +3500,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -3512,7 +3512,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -3524,7 +3524,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -3640,16 +3640,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -3810,7 +3810,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -3822,7 +3822,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -3834,7 +3834,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -3846,7 +3846,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -3869,10 +3869,46 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideSaveIcon: { + type: globalThis.PropType; + default: boolean; + }; + loadingIcon: { + type: globalThis.PropType; + default: undefined; + }; + loadingIconColor: { + type: globalThis.PropType; + default: string; + }; loadingWait: { type: globalThis.PropType; default: boolean; }; + saveButtonColor: { + type: globalThis.PropType; + default: string; + }; + saveButtonSize: { + type: globalThis.PropType; + default: string; + }; + saveButtonTitle: { + type: globalThis.PropType; + default: string; + }; + saveButtonVariant: { + type: globalThis.PropType>; + default: "text"; + }; + saveIcon: { + type: globalThis.PropType; + default: undefined; + }; + saveIconColor: { + type: globalThis.PropType; + default: string; + }; tableField: { type: globalThis.PropType; default: boolean; @@ -4031,7 +4067,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -4043,7 +4079,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -4055,7 +4091,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -4067,7 +4103,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -4090,10 +4126,46 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideSaveIcon: { + type: globalThis.PropType; + default: boolean; + }; + loadingIcon: { + type: globalThis.PropType; + default: undefined; + }; + loadingIconColor: { + type: globalThis.PropType; + default: string; + }; loadingWait: { type: globalThis.PropType; default: boolean; }; + saveButtonColor: { + type: globalThis.PropType; + default: string; + }; + saveButtonSize: { + type: globalThis.PropType; + default: string; + }; + saveButtonTitle: { + type: globalThis.PropType; + default: string; + }; + saveButtonVariant: { + type: globalThis.PropType>; + default: "text"; + }; + saveIcon: { + type: globalThis.PropType; + default: undefined; + }; + saveIconColor: { + type: globalThis.PropType; + default: string; + }; tableField: { type: globalThis.PropType; default: boolean; @@ -4146,22 +4218,31 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; hideCancelIcon: boolean; + hideSaveIcon: boolean; + loadingIcon: string; + loadingIconColor: string; loadingWait: boolean; + saveButtonColor: string; + saveButtonSize: string | number; + saveButtonTitle: string; + saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + saveIcon: string; + saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; @@ -4310,7 +4391,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -4322,7 +4403,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -4334,7 +4415,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -4346,7 +4427,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -4369,10 +4450,46 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideSaveIcon: { + type: globalThis.PropType; + default: boolean; + }; + loadingIcon: { + type: globalThis.PropType; + default: undefined; + }; + loadingIconColor: { + type: globalThis.PropType; + default: string; + }; loadingWait: { type: globalThis.PropType; default: boolean; }; + saveButtonColor: { + type: globalThis.PropType; + default: string; + }; + saveButtonSize: { + type: globalThis.PropType; + default: string; + }; + saveButtonTitle: { + type: globalThis.PropType; + default: string; + }; + saveButtonVariant: { + type: globalThis.PropType>; + default: "text"; + }; + saveIcon: { + type: globalThis.PropType; + default: undefined; + }; + saveIconColor: { + type: globalThis.PropType; + default: string; + }; tableField: { type: globalThis.PropType; default: boolean; @@ -4425,22 +4542,31 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; hideCancelIcon: boolean; + hideSaveIcon: boolean; + loadingIcon: string; + loadingIconColor: string; loadingWait: boolean; + saveButtonColor: string; + saveButtonSize: string | number; + saveButtonTitle: string; + saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + saveIcon: string; + saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; @@ -4586,7 +4712,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -4598,7 +4724,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -4610,7 +4736,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -4622,7 +4748,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -4645,10 +4771,46 @@ declare const _default: { type: globalThis.PropType; default: boolean; }; + hideSaveIcon: { + type: globalThis.PropType; + default: boolean; + }; + loadingIcon: { + type: globalThis.PropType; + default: undefined; + }; + loadingIconColor: { + type: globalThis.PropType; + default: string; + }; loadingWait: { type: globalThis.PropType; default: boolean; }; + saveButtonColor: { + type: globalThis.PropType; + default: string; + }; + saveButtonSize: { + type: globalThis.PropType; + default: string; + }; + saveButtonTitle: { + type: globalThis.PropType; + default: string; + }; + saveButtonVariant: { + type: globalThis.PropType>; + default: "text"; + }; + saveIcon: { + type: globalThis.PropType; + default: undefined; + }; + saveIconColor: { + type: globalThis.PropType; + default: string; + }; tableField: { type: globalThis.PropType; default: boolean; @@ -4703,22 +4865,31 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; fieldOnly: boolean; hideCancelIcon: boolean; + hideSaveIcon: boolean; + loadingIcon: string; + loadingIconColor: string; loadingWait: boolean; + saveButtonColor: string; + saveButtonSize: string | number; + saveButtonTitle: string; + saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + saveIcon: string; + saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; @@ -4846,7 +5017,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -4858,7 +5029,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -4870,7 +5041,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -4882,7 +5053,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -5085,7 +5256,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -5097,7 +5268,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -5109,7 +5280,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -5121,7 +5292,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -5230,16 +5401,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -5385,7 +5556,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -5397,7 +5568,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -5409,7 +5580,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -5421,7 +5592,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -5530,16 +5701,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -5682,7 +5853,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -5694,7 +5865,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -5706,7 +5877,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -5718,7 +5889,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -5829,16 +6000,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -5989,7 +6160,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -6001,7 +6172,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -6013,7 +6184,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -6025,7 +6196,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -6236,7 +6407,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -6248,7 +6419,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -6260,7 +6431,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -6272,7 +6443,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -6383,16 +6554,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -6546,7 +6717,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -6558,7 +6729,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -6570,7 +6741,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -6582,7 +6753,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -6693,16 +6864,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; @@ -6853,7 +7024,7 @@ declare const _default: { default: boolean; }; displayAppendIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendIconColor: { @@ -6865,7 +7036,7 @@ declare const _default: { default: string; }; displayAppendInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayAppendInnerIconColor: { @@ -6877,7 +7048,7 @@ declare const _default: { default: string; }; displayPrependIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependIconColor: { @@ -6889,7 +7060,7 @@ declare const _default: { default: string; }; displayPrependInnerIcon: { - type: globalThis.PropType; + type: globalThis.PropType; default: undefined; }; displayPrependInnerIconColor: { @@ -7002,16 +7173,16 @@ declare const _default: { cell: boolean; cellUnderlineFullWidth: boolean; closeSiblings: boolean; - displayAppendIcon: import("./types").VIconValue; + displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendIconColor: string; displayAppendIconSize: string | number; - displayAppendInnerIcon: import("./types").VIconValue; + displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayAppendInnerIconColor: string; displayAppendInnerIconSize: string | number; - displayPrependIcon: import("./types").VIconValue; + displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependIconColor: string; displayPrependIconSize: string | number; - displayPrependInnerIcon: import("./types").VIconValue; + displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; displayPrependInnerIconColor: string; displayPrependInnerIconSize: string | number; emptyText: string; diff --git a/dist/plugin/types/index.d.ts b/dist/plugin/types/index.d.ts index 0254ba2..7877af8 100644 --- a/dist/plugin/types/index.d.ts +++ b/dist/plugin/types/index.d.ts @@ -1,4 +1,4 @@ -import type { CSSProperties, JSXComponent, MaybeRef, Ref } from 'vue'; +import type { CSSProperties, MaybeRef, Ref } from 'vue'; import type { VBtn, VCard, VCheckbox, VIcon, VSelect, VSwitch, VTextField, VTextarea } from 'vuetify/components'; import type { IconOptions, ThemeInstance } from 'vuetify'; import type { EventBusKey } from '@vueuse/core'; @@ -11,7 +11,7 @@ export type GlobalDensity = VCheckbox['$props']['density'] | VSelect['$props'][' export type GlobalVariant = VSelect['$props']['variant'] | VTextField['$props']['variant'] | VTextarea['$props']['variant']; export type VIconColor = VIcon['$props']['color']; export type VIconSize = VIcon['$props']['size']; -export type VIconValue = string | (string | [path: string, opacity: number])[] | JSXComponent; +export type VIconValue = VIcon['$props']['icon']; export type VBtnColor = VBtn['$props']['color']; export type VBtnSize = VBtn['$props']['size']; export type VBtnVariant = VBtn['$props']['variant']; @@ -114,7 +114,7 @@ export interface VInlineSelectProps extends Omit { +export interface VInlineSwitchProps extends Omit { density?: VSwitch['$props']['density']; falseIcon?: VSwitch['$props']['falseIcon']; } @@ -163,8 +163,9 @@ export interface DisplayValueProps { underlineStyle?: SharedProps['underlineStyle']; underlineWidth?: SharedProps['underlineWidth']; underlined?: SharedProps['underlined']; + valueColor?: SharedProps['valueColor']; } -export interface SaveFieldButtons extends Required>, Pick { +export interface SaveFieldButtons extends Required>, Pick { loading: boolean; } export interface UseCancelButtonClass { diff --git a/dist/plugin/utils/props.d.ts b/dist/plugin/utils/props.d.ts index 7c0c6ba..bf75fe5 100644 --- a/dist/plugin/utils/props.d.ts +++ b/dist/plugin/utils/props.d.ts @@ -175,6 +175,16 @@ declare const selectProps: { declare const switchProps: { falseIcon: string; icons: boolean; + hideCancelIcon: boolean; + hideSaveIcon: boolean; + loadingIcon: undefined; + loadingIconColor: string; + saveButtonColor: string; + saveButtonSize: string; + saveButtonTitle: string; + saveButtonVariant: "text"; + saveIcon: undefined; + saveIconColor: string; falseValue: boolean; iconFalse: undefined; iconFalseColor: string; @@ -213,7 +223,6 @@ declare const switchProps: { displayPrependInnerIconSize: string; emptyText: string; fieldOnly: boolean; - hideCancelIcon: boolean; hideDetails: boolean; label: string; loading: boolean; diff --git a/dist/vuetify-inline-fields.cjs.js b/dist/vuetify-inline-fields.cjs.js index 8b7501a..57f6844 100644 --- a/dist/vuetify-inline-fields.cjs.js +++ b/dist/vuetify-inline-fields.cjs.js @@ -1,12 +1,12 @@ -"use strict";var ua=Object.create;var eo=Object.defineProperty;var ca=Object.getOwnPropertyDescriptor;var da=Object.getOwnPropertyNames;var pa=Object.getPrototypeOf,va=Object.prototype.hasOwnProperty;var fa=(n,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of da(o))!va.call(n,a)&&a!==t&&eo(n,a,{get:()=>o[a],enumerable:!(l=ca(o,a))||l.enumerable});return n};var Te=(n,o,t)=>(t=n!=null?ua(pa(n)):{},fa(o||!n||!n.__esModule?eo(t,"default",{value:n,enumerable:!0}):t,n));/** +"use strict";var Ba=Object.create;var ho=Object.defineProperty;var wa=Object.getOwnPropertyDescriptor;var ka=Object.getOwnPropertyNames;var xa=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var Na=(n,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of ka(o))!Fa.call(n,a)&&a!==t&&ho(n,a,{get:()=>o[a],enumerable:!(l=wa(o,a))||l.enumerable});return n};var en=(n,o,t)=>(t=n!=null?Ba(xa(n)):{},Na(o||!n||!n.__esModule?ho(t,"default",{value:n,enumerable:!0}):t,n));/** * @name @wdns/vuetify-inline-fields - * @version 1.0.1 + * @version 1.0.2 * @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2023, WebDevNerdStuff * @homepage https://webdevnerdstuff.github.io/vuetify-inline-fields/ * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License - */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Ot=require("vuetify"),ma=require("@vueuse/core"),je=Symbol("identifier"),Ue={elevation:5,variant:"flat"},mn={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),cell:!1,cellUnderlineFullWidth:!0,closeSiblings:!1,color:"primary",density:"compact",disabled:!1,displayAppendIcon:void 0,displayAppendIconColor:void 0,displayAppendIconSize:"x-small",displayAppendInnerIcon:void 0,displayAppendInnerIconColor:void 0,displayAppendInnerIconSize:"x-small",displayPrependIcon:void 0,displayPrependIconColor:void 0,displayPrependIconSize:"x-small",displayPrependInnerIcon:void 0,displayPrependInnerIconColor:void 0,displayPrependInnerIconSize:"x-small",emptyText:"empty",fieldOnly:!1,hideCancelIcon:!0,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Et={autofocus:!0},Xn={hideCancelIcon:!1,hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},Ho={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},ya={...mn,...Ho,...Xn,falseIcon:void 0,icons:!0,trueIcon:void 0},ga={...mn,...Et,...Xn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},ha={...mn,...Ho,icons:!0,falseIcon:""},ba={...Et,...Xn,...mn,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},Yo={...mn,...Et,...Xn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},Ca={fa:{checkboxFalse:"$checkboxOff",checkboxTrue:"far fa-square-check",clear:"$clear",false:"$close",loading:"fa-circle-notch",save:"fa-floppy-disk",true:"$complete"},mdi:{checkboxFalse:"$checkboxOff",checkboxTrue:"mdi:mdi-checkbox-outline",clear:"$clear",false:"$close",loading:"mdi-loading",save:"mdi-content-save",true:"$complete"}},ve=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const a=Ca[t==null?void 0:t.defaultSet];if(!a)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const i=a[l];if(!i)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return i};function G(n,o){return t=>Object.keys(n).reduce((l,a)=>{const i=typeof n[a]=="object"&&n[a]!=null&&!Array.isArray(n[a])?n[a]:{type:n[a]};return l[a]=t&&a in t?{...i,default:t[a]}:i,o&&!l[a].source&&(l[a].source=o),l},{})}const Z=G({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),ue=typeof window<"u",zt=ue&&"IntersectionObserver"in window;function no(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let a=0;aGe(n[l],o[l]))}function he(n,o,t){if(o===!0)return n===void 0?t:n;if(o==null||typeof o=="boolean")return t;if(n!==Object(n)){if(typeof o!="function")return t;const a=o(n,t);return a===void 0?t:a}if(typeof o=="string")return function(a,i,d){return a!=null&&i&&typeof i=="string"?a[i]!==void 0?a[i]:no(a,(i=(i=i.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),d):d}(n,o,t);if(Array.isArray(o))return no(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function X(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return n==null||n===""?void 0:isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${o}`:void 0}function pt(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function $n(n){if(n&&"$el"in n){const o=n.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return n}const to=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function ot(n,o){return o.every(t=>n.hasOwnProperty(t))}function Xo(n,o){const t={},l=new Set(Object.keys(n));for(const a of o)l.has(a)&&(t[a]=n[a]);return t}function oo(n,o,t){const l=Object.create(null),a=Object.create(null);for(const i in n)o.some(d=>d instanceof RegExp?d.test(i):d===i)&&!(t!=null&&t.some(d=>d===i))?l[i]=n[i]:a[i]=n[i];return[l,a]}function _e(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const Ko=/^on[^a-z]/,vt=n=>Ko.test(n),Sa=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function yn(n){const[o,t]=oo(n,[Ko]),l=_e(o,Sa),[a,i]=oo(t,["class","style","id",/^data-/]);return Object.assign(a,o),Object.assign(i,l),[a,i]}function be(n){return n==null?[]:Array.isArray(n)?n:[n]}function Le(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(t,n))}function lo(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function Re(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const l={};for(const a in n)l[a]=n[a];for(const a in o){const i=n[a],d=o[a];pt(i)&&pt(d)?l[a]=Re(i,d,t):Array.isArray(i)&&Array.isArray(d)&&t?l[a]=t(i,d):l[a]=d}return l}function Jo(n){return n.map(o=>o.type===e.Fragment?Jo(o.children):o).flat()}function Fe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Fe.cache.has(n))return Fe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Fe.cache.set(n,o),o}function En(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>En(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>En(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return En(n,o.component.subTree).flat(1)}return[]}function Tt(n){const o=e.reactive({}),t=e.computed(n);return e.watchEffect(()=>{for(const l in t.value)o[l]=t.value[l]},{flush:"sync"}),e.toRefs(o)}function Rn(n,o){return n.includes(o)}function ao(n){return n[2].toLowerCase()+n.slice(3)}Fe.cache=new Map;const me=()=>[Function,Array];function ro(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function Zo(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l1&&arguments[1]!==void 0)||arguments[1];const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(l=>`${l}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(t)]}function Qo(n,o,t){let l,a=n.indexOf(document.activeElement);const i=o==="next"?1:-1;do a+=i,l=n[a];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&a=0);return l}function Dn(n,o){var l,a,i,d;const t=ft(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(a=t.at(-1))==null||a.focus();else if(typeof o=="number")(i=t[o])==null||i.focus();else{const c=Qo(t,o);c?c.focus():Dn(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((d=t[0])==null||d.focus())}function Ln(n,o){if(!(ue&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function el(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||el(o.children)))?n:null}const nl=["top","bottom"],Va=["start","end","left","right"];function mt(n,o){let[t,l]=n.split(" ");return l||(l=Rn(nl,t)?"start":Rn(Va,t)?"top":"center"),{side:io(t,o),align:io(l,o)}}function io(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function lt(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function at(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function so(n){return{side:n.align,align:n.side}}function uo(n){return Rn(nl,n.side)?"y":"x"}class Ne{constructor(o){let{x:t,y:l,width:a,height:i}=o;this.x=t,this.y=l,this.width=a,this.height=i}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function co(n,o){return{x:{before:Math.max(0,o.left-n.left),after:Math.max(0,n.right-o.right)},y:{before:Math.max(0,o.top-n.top),after:Math.max(0,n.bottom-o.bottom)}}}function tl(n){return Array.isArray(n)?new Ne({x:n[0],y:n[1],width:0,height:0}):n.getBoundingClientRect()}function $t(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let a,i,d,c,u;if(l.startsWith("matrix3d("))a=l.slice(9,-1).split(/, /),i=+a[0],d=+a[5],c=+a[12],u=+a[13];else{if(!l.startsWith("matrix("))return new Ne(o);a=l.slice(7,-1).split(/, /),i=+a[0],d=+a[3],c=+a[4],u=+a[5]}const r=t.transformOrigin,s=o.x-c-(1-i)*parseFloat(r),v=o.y-u-(1-d)*parseFloat(r.slice(r.indexOf(" ")+1)),p=i?o.width/i:n.offsetWidth+1,m=d?o.height/d:n.offsetHeight+1;return new Ne({x:s,y:v,width:p,height:m})}return new Ne(o)}function De(n,o,t){if(n.animate===void 0)return{finished:Promise.resolve()};let l;try{l=n.animate(o,t)}catch{return{finished:Promise.resolve()}}return l.finished===void 0&&(l.finished=new Promise(a=>{l.onfinish=()=>{a(l)}})),l}const An=new WeakMap,$e=2.4,po=.2126729,vo=.7151522,fo=.072175,Ia=.55,Ba=.58,wa=.57,ka=.62,Pn=.03,mo=1.45,xa=5e-4,Fa=1.25,Na=1.25,yo=.078,go=12.82051282051282,_n=.06,ho=.001;function bo(n,o){const t=(n.r/255)**$e,l=(n.g/255)**$e,a=(n.b/255)**$e,i=(o.r/255)**$e,d=(o.g/255)**$e,c=(o.b/255)**$e;let u,r=t*po+l*vo+a*fo,s=i*po+d*vo+c*fo;if(r<=Pn&&(r+=(Pn-r)**mo),s<=Pn&&(s+=(Pn-s)**mo),Math.abs(s-r)r){const v=(s**Ia-r**Ba)*Fa;u=v-ho?0:v>-yo?v-v*go*_n:v+_n}return 100*u}function un(n){e.warn(`Vuetify: ${n}`)}function rt(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const Co=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Aa={rgb:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),rgba:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),hsl:(n,o,t,l)=>So({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>So({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>cn({h:n,s:o,v:t,a:l})};function an(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&un(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&Co.test(n)){const{groups:o}=n.match(Co),{fn:t,values:l}=o,a=l.split(/,\s*/).map(i=>i.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(i)/100:parseFloat(i));return Aa[t](...a)}if(typeof n=="string"){let o=n.startsWith("#")?n.slice(1):n;[3,4].includes(o.length)?o=o.split("").map(l=>l+l).join(""):[6,8].includes(o.length)||un(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&un(`'${n}' is not a valid hex(a) color`),function(l){l=function(u){return u.startsWith("#")&&(u=u.slice(1)),u=u.replace(/([^0-9a-f])/gi,"F"),(u.length===3||u.length===4)&&(u=u.split("").map(r=>r+r).join("")),u.length!==6&&(u=lo(lo(u,6),8,"F")),u}(l);let[a,i,d,c]=function(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const s=[];let v=0;for(;vparseInt(u,16));return c=c===void 0?c:c/255,{r:a,g:i,b:d,a:c}}(o)}if(typeof n=="object"){if(ot(n,["r","g","b"]))return n;if(ot(n,["h","s","l"]))return cn(ol(n));if(ot(n,["h","s","v"]))return cn(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function cn(n){const{h:o,s:t,v:l,a}=n,i=c=>{const u=(c+o/60)%6;return l-l*t*Math.max(Math.min(u,4-u,1),0)},d=[i(5),i(3),i(1)].map(c=>Math.round(255*c));return{r:d[0],g:d[1],b:d[2],a}}function So(n){return cn(ol(n))}function ol(n){const{h:o,s:t,l,a}=n,i=l+t*Math.min(l,1-l);return{h:o,s:i===0?0:2-2*l/i,v:i,a}}const Mn=Symbol.for("vuetify:defaults");function Rt(){const n=e.inject(Mn);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function qe(n,o){const t=Rt(),l=e.ref(n),a=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const i=e.unref(o==null?void 0:o.scoped),d=e.unref(o==null?void 0:o.reset),c=e.unref(o==null?void 0:o.root);if(l.value==null&&!(i||d||c))return t.value;let u=Re(l.value,{prev:t.value});if(i)return u;if(d||c){const r=Number(d||1/0);for(let s=0;s<=r&&u&&"prev"in u;s++)u=u.prev;return u&&typeof c=="string"&&c in u&&(u=Re(Re(u,{prev:u}),u[c])),u}return u.prev?Re(u.prev,u):u});return e.provide(Mn,a),a}function Pa(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rt();const l=oe("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const a=e.computed(()=>{var c;return(c=t.value)==null?void 0:c[n._as??o]}),i=new Proxy(n,{get(c,u){var s,v,p,m;const r=Reflect.get(c,u);return u==="class"||u==="style"?[(s=a.value)==null?void 0:s[u],r].filter(f=>f!=null):typeof u!="string"||function(f,y){var g,b;return((g=f.props)==null?void 0:g[y])!==void 0||((b=f.props)==null?void 0:b[Fe(y)])!==void 0}(l.vnode,u)?r:((v=a.value)==null?void 0:v[u])??((m=(p=t.value)==null?void 0:p.global)==null?void 0:m[u])??r}}),d=e.shallowRef();return e.watchEffect(()=>{if(a.value){const c=Object.entries(a.value).filter(u=>{let[r]=u;return r.startsWith(r[0].toUpperCase())});d.value=c.length?Object.fromEntries(c):void 0}else d.value=void 0}),{props:i,provideSubDefaults:function(){const c=function(u){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe("injectSelf");const{provides:s}=r;if(s&&u in s)return s[u]}(Mn,l);e.provide(Mn,e.computed(()=>d.value?Re((c==null?void 0:c.value)??{},d.value):c==null?void 0:c.value))}}}function dn(n){if(n._setup=n._setup??n.setup,!n.name)return un("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=G(n.props??{},n.name)();const o=Object.keys(n.props).filter(t=>t!=="class"&&t!=="style");n.filterProps=function(t){return Xo(t,o)},n.props._as=String,n.setup=function(t,l){const a=Rt();if(!a.value)return n._setup(t,l);const{props:i,provideSubDefaults:d}=Pa(t,t._as??n.name,a),c=n._setup(i,l);return d(),c}}return n}function Y(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?dn:e.defineComponent)(o)}function gn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return Y()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...Z()},setup(l,a){let{slots:i}=a;return()=>{var d;return e.h(l.tag,{class:[n,l.class],style:l.style},(d=i.default)==null?void 0:d.call(i))}}})}function ll(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const Wn="cubic-bezier(0.4, 0, 0.2, 1)";function oe(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function ye(){const n=oe(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return Fe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let al=0,zn=new WeakMap;function fe(){const n=oe("getUid");if(zn.has(n))return zn.get(n);{const o=al++;return zn.set(n,o),o}}function rl(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?_a(n):Dt(n))return n;n=n.parentElement}return document.scrollingElement}function jn(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(Dt(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function Dt(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function _a(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function J(n){oe("useRender").render=n}function Lt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(ue){const a=new ResizeObserver(i=>{n==null||n(i,a),i.length&&(l.value=o==="content"?i[0].contentRect:i[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(i,d)=>{d&&(a.unobserve($n(d)),l.value=void 0),i&&a.observe($n(i))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Ae(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,a=>{a&&!t?l():a||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function te(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:s=>s,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:s=>s;const i=oe("useProxiedModel"),d=e.ref(n[o]!==void 0?n[o]:t),c=Fe(o),u=c!==o?e.computed(()=>{var s,v,p,m;return n[o],!(!((s=i.vnode.props)!=null&&s.hasOwnProperty(o))&&!((v=i.vnode.props)!=null&&v.hasOwnProperty(c))||!((p=i.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((m=i.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${c}`)))}):e.computed(()=>{var s,v;return n[o],!(!((s=i.vnode.props)!=null&&s.hasOwnProperty(o))||!((v=i.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Ae(()=>!u.value,()=>{e.watch(()=>n[o],s=>{d.value=s})});const r=e.computed({get(){const s=n[o];return l(u.value?s:d.value)},set(s){const v=a(s),p=e.toRaw(u.value?n[o]:d.value);p!==v&&l(p)!==s&&(d.value=v,i==null||i.emit(`update:${o}`,v))}});return Object.defineProperty(r,"externalValue",{get:()=>u.value?n[o]:d.value}),r}fe.reset=()=>{al=0,zn=new WeakMap};const il=Symbol.for("vuetify:locale");function Mt(){const n=e.inject(il);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function hn(){const n=e.inject(il);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Vo=Symbol.for("vuetify:theme"),le=G({theme:String},"theme");function se(n){oe("provideTheme");const o=e.inject(Vo,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),a=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),i={...o,name:t,current:l,themeClasses:a};return e.provide(Vo,i),i}const pe=G({tag:{type:String,default:"div"}},"tag"),Oa=G({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ce(n,o,t){return Y()({name:n,props:Oa({mode:t,origin:o}),setup(l,a){let{slots:i}=a;const d={onBeforeEnter(c){l.origin&&(c.style.transformOrigin=l.origin)},onLeave(c){if(l.leaveAbsolute){const{offsetTop:u,offsetLeft:r,offsetWidth:s,offsetHeight:v}=c;c._transitionInitialStyles={position:c.style.position,top:c.style.top,left:c.style.left,width:c.style.width,height:c.style.height},c.style.position="absolute",c.style.top=`${u}px`,c.style.left=`${r}px`,c.style.width=`${s}px`,c.style.height=`${v}px`}l.hideOnLeave&&c.style.setProperty("display","none","important")},onAfterLeave(c){if(l.leaveAbsolute&&(c!=null&&c._transitionInitialStyles)){const{position:u,top:r,left:s,width:v,height:p}=c._transitionInitialStyles;delete c._transitionInitialStyles,c.style.position=u||"",c.style.top=r||"",c.style.left=s||"",c.style.width=v||"",c.style.height=p||""}}};return()=>{const c=l.group?e.TransitionGroup:e.Transition;return e.h(c,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:d},i.default)}}})}function sl(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Y()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,a){let{slots:i}=a;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},i.default)}})}function ul(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(i){i._parent=i.parentNode,i._initialStyle={transition:i.style.transition,overflow:i.style.overflow,[o]:i.style[o]}},onEnter(i){const d=i._initialStyle;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const c=`${i[t]}px`;i.style[o]="0",i.offsetHeight,i.style.transition=d.transition,n&&i._parent&&i._parent.classList.add(n),requestAnimationFrame(()=>{i.style[o]=c})},onAfterEnter:a,onEnterCancelled:a,onLeave(i){i._initialStyle={transition:"",overflow:i.style.overflow,[o]:i.style[o]},i.style.overflow="hidden",i.style[o]=`${i[t]}px`,i.offsetHeight,requestAnimationFrame(()=>i.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(i){n&&i._parent&&i._parent.classList.remove(n),a(i)}function a(i){const d=i._initialStyle[o];i.style.overflow=i._initialStyle.overflow,d!=null&&(i.style[o]=d),delete i._initialStyle}}const Ea=G({target:[Object,Array]},"v-dialog-transition"),cl=Y()({name:"VDialogTransition",props:Ea(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,i){var p;await new Promise(m=>requestAnimationFrame(m)),await new Promise(m=>requestAnimationFrame(m)),a.style.visibility="";const{x:d,y:c,sx:u,sy:r,speed:s}=Bo(n.target,a),v=De(a,[{transform:`translate(${d}px, ${c}px) scale(${u}, ${r})`,opacity:0},{}],{duration:225*s,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=Io(a))==null||p.forEach(m=>{De(m,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*s,easing:Wn})}),v.finished.then(()=>i())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,i){var v;await new Promise(p=>requestAnimationFrame(p));const{x:d,y:c,sx:u,sy:r,speed:s}=Bo(n.target,a);De(a,[{},{transform:`translate(${d}px, ${c}px) scale(${u}, ${r})`,opacity:0}],{duration:125*s,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>i()),(v=Io(a))==null||v.forEach(p=>{De(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*s,easing:Wn})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function Io(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function Bo(n,o){const t=tl(n),l=$t(o),[a,i]=getComputedStyle(o).transformOrigin.split(" ").map(b=>parseFloat(b)),[d,c]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let u=t.left+t.width/2;d==="left"||c==="left"?u-=t.width/2:d!=="right"&&c!=="right"||(u+=t.width/2);let r=t.top+t.height/2;d==="top"||c==="top"?r-=t.height/2:d!=="bottom"&&c!=="bottom"||(r+=t.height/2);const s=t.width/l.width,v=t.height/l.height,p=Math.max(1,s,v),m=s/p||0,f=v/p||0,y=l.width*l.height/(window.innerWidth*window.innerHeight),g=y>.12?Math.min(1.5,10*(y-.12)+1):1;return{x:u-(a+l.left),y:r-(i+l.top),sx:m,sy:f,speed:g}}ce("fab-transition","center center","out-in"),ce("dialog-bottom-transition"),ce("dialog-top-transition"),ce("fade-transition");const za=ce("scale-transition");ce("scroll-x-transition"),ce("scroll-x-reverse-transition"),ce("scroll-y-transition"),ce("scroll-y-reverse-transition"),ce("slide-x-transition"),ce("slide-x-reverse-transition");const dl=ce("slide-y-transition");ce("slide-y-reverse-transition");const Ta=sl("expand-transition",ul()),pl=sl("expand-x-transition",ul("",!0)),$a=G({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),re=Y(!1)({name:"VDefaultsProvider",props:$a(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:a,reset:i,root:d,scoped:c}=e.toRefs(n);return qe(l,{reset:i,root:d,scoped:c,disabled:a}),()=>{var u;return(u=t.default)==null?void 0:u.call(t)}}}),Oe=G({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ee(n){return{dimensionStyles:e.computed(()=>({height:X(n.height),maxHeight:X(n.maxHeight),maxWidth:X(n.maxWidth),minHeight:X(n.minHeight),minWidth:X(n.minWidth),width:X(n.width)}))}}const vl=G({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Z(),...Oe()},"VResponsive"),wo=Y()({name:"VResponsive",props:vl(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(i){return{aspectStyles:e.computed(()=>{const d=Number(i.aspectRatio);return d?{paddingBottom:String(1/d*100)+"%"}:void 0})}}(n),{dimensionStyles:a}=Ee(n);return J(()=>{var i;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[a.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(i=t.additional)==null?void 0:i.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),bn=G({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),Be=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:a,...i}=n,{component:d=e.Transition,...c}=typeof l=="object"?l:{};return e.h(d,e.mergeProps(typeof l=="string"?{name:a?"":l}:c,i,{disabled:a}),t)};function ko(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const Wt={mounted:function(n,o){if(!zt)return;const t=o.modifiers||{},l=o.value,{handler:a,options:i}=typeof l=="object"?l:{handler:l,options:{}},d=new IntersectionObserver(function(){var v;let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1?arguments[1]:void 0;const r=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!r)return;const s=c.some(p=>p.isIntersecting);!a||t.quiet&&!r.init||t.once&&!s&&!r.init||a(s,c,u),s&&t.once?ko(n,o):r.init=!0},i);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:d},d.observe(n)},unmounted:ko},Ra=G({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...vl(),...Z(),...bn()},"VImg"),fl=Y()({name:"VImg",directives:{intersect:Wt},props:Ra(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const a=oe("VImg"),i=e.shallowRef(""),d=e.ref(),c=e.shallowRef(n.eager?"loading":"idle"),u=e.shallowRef(),r=e.shallowRef(),s=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),v=e.computed(()=>s.value.aspect||u.value/r.value||0);function p(S){if((!n.eager||!S)&&(!zt||S||n.eager)){if(c.value="loading",s.value.lazySrc){const F=new Image;F.src=s.value.lazySrc,b(F,null)}s.value.src&&e.nextTick(()=>{var F;t("loadstart",((F=d.value)==null?void 0:F.currentSrc)||s.value.src),setTimeout(()=>{var h;if(!a.isUnmounted)if((h=d.value)!=null&&h.complete){if(d.value.naturalWidth||f(),c.value==="error")return;v.value||b(d.value,null),c.value==="loading"&&m()}else v.value||b(d.value),y()})})}}function m(){var S;a.isUnmounted||(y(),b(d.value),c.value="loaded",t("load",((S=d.value)==null?void 0:S.currentSrc)||s.value.src))}function f(){var S;a.isUnmounted||(c.value="error",t("error",((S=d.value)==null?void 0:S.currentSrc)||s.value.src))}function y(){const S=d.value;S&&(i.value=S.currentSrc||S.src)}e.watch(()=>n.src,()=>{p(c.value!=="idle")}),e.watch(v,(S,F)=>{!S&&F&&d.value&&b(d.value)}),e.onBeforeMount(()=>p());let g=-1;function b(S){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const h=()=>{if(clearTimeout(g),a.isUnmounted)return;const{naturalHeight:B,naturalWidth:V}=S;B||V?(u.value=V,r.value=B):S.complete||c.value!=="loading"||F==null?(S.currentSrc.endsWith(".svg")||S.currentSrc.startsWith("data:image/svg+xml"))&&(u.value=1,r.value=1):g=window.setTimeout(h,F)};h()}e.onBeforeUnmount(()=>{clearTimeout(g)});const x=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),P=()=>{var h;if(!s.value.src||c.value==="idle")return null;const S=e.createVNode("img",{class:["v-img__img",x.value],style:{objectPosition:n.position},src:s.value.src,srcset:s.value.srcset,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable,sizes:n.sizes,ref:d,onLoad:m,onError:f},null),F=(h=l.sources)==null?void 0:h.call(l);return e.createVNode(Be,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(F?e.createVNode("picture",{class:"v-img__picture"},[F,S]):S,[[e.vShow,c.value==="loaded"]])]})},W=()=>e.createVNode(Be,{transition:n.transition},{default:()=>[s.value.lazySrc&&c.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",x.value],style:{objectPosition:n.position},src:s.value.lazySrc,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable},null)]}),E=()=>l.placeholder?e.createVNode(Be,{transition:n.transition,appear:!0},{default:()=>[(c.value==="loading"||c.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,O=()=>l.error?e.createVNode(Be,{transition:n.transition,appear:!0},{default:()=>[c.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,L=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,_=e.shallowRef(!1);{const S=e.watch(v,F=>{F&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{_.value=!0})}),S())})}return J(()=>{const S=wo.filterProps(n);return e.withDirectives(e.createVNode(wo,e.mergeProps({class:["v-img",{"v-img--booting":!_.value},n.class],style:[{width:X(n.width==="auto"?u.value:n.width)},n.style]},S,{aspectRatio:v.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(P,null,null),e.createVNode(W,null,null),e.createVNode(L,null,null),e.createVNode(E,null,null),e.createVNode(O,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:p,options:n.options},null,{once:!0}]])}),{currentSrc:i,image:d,state:c,naturalWidth:u,naturalHeight:r}}}),He=G({border:[Boolean,Number,String]},"border");function Ye(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`border-${a}`);return l})}}function jt(n){return Tt(()=>{const o=[],t={};if(n.value.background)if(rt(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&rt(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const a=an(n.value.background);if(a.a==null||a.a===1){const i=function(d){const c=Math.abs(bo(an(0),an(d)));return Math.abs(bo(an(16777215),an(d)))>Math.min(c,50)?"#fff":"#000"}(a);t.color=i,t.caretColor=i}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(rt(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function Ce(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=jt(t);return{textColorClasses:l,textColorStyles:a}}function Me(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=jt(t);return{backgroundColorClasses:l,backgroundColorStyles:a}}const Xe=G({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function Ke(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const Se=G({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Ve(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`rounded-${a}`);return l})}}const Da=[null,"default","comfortable","compact"],ge=G({density:{type:String,default:"default",validator:n=>Da.includes(n)}},"density");function Ie(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const La=["elevated","flat","tonal","outlined","text","plain"];function Cn(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const xe=G({color:String,variant:{type:String,default:"elevated",validator:n=>La.includes(n)}},"variant");function Sn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();const t=e.computed(()=>{const{variant:i}=e.unref(n);return`${o}--variant-${i}`}),{colorClasses:l,colorStyles:a}=jt(e.computed(()=>{const{variant:i,color:d}=e.unref(n);return{[["elevated","flat"].includes(i)?"background":"text"]:d}}));return{colorClasses:l,colorStyles:a,variantClasses:t}}const ml=G({divided:Boolean,...He(),...Z(),...ge(),...Xe(),...Se(),...pe(),...le(),...xe()},"VBtnGroup"),xo=Y()({name:"VBtnGroup",props:ml(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=se(n),{densityClasses:a}=Ie(n),{borderClasses:i}=Ye(n),{elevationClasses:d}=Ke(n),{roundedClasses:c}=Ve(n);qe({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),J(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,i.value,a.value,d.value,c.value,n.class],style:n.style},t))}}),yl=G({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),gl=G({value:null,disabled:Boolean,selectedClass:String},"group-item");function hl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=oe("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=fe();e.provide(Symbol.for(`${o.description}:id`),a);const i=e.inject(o,null);if(!i){if(!t)return i;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const d=e.toRef(n,"value"),c=e.computed(()=>!(!i.disabled.value&&!n.disabled));i.register({id:a,value:d,disabled:c},l),e.onBeforeUnmount(()=>{i.unregister(a)});const u=e.computed(()=>i.isSelected(a)),r=e.computed(()=>u.value&&[i.selectedClass.value,n.selectedClass]);return e.watch(u,s=>{l.emit("group:selected",{value:s})}),{id:a,isSelected:u,toggle:()=>i.select(a,!u.value),select:s=>i.select(a,s),selectedClass:r,value:d,disabled:c,group:i}}function bl(n,o){let t=!1;const l=e.reactive([]),a=te(n,"modelValue",[],r=>r==null?[]:Fo(l,be(r)),r=>{const s=function(v,p){const m=[];return p.forEach(f=>{const y=v.findIndex(g=>g.id===f);if(~y){const g=v[y];m.push(g.value!=null?g.value:y)}}),m}(l,r);return n.multiple?s:s[0]}),i=oe("useGroup");function d(){const r=l.find(s=>!s.disabled);r&&n.mandatory==="force"&&!a.value.length&&(a.value=[r.id])}function c(r){if(n.multiple&&un('This method is not supported when using "multiple" prop'),a.value.length){const s=a.value[0],v=l.findIndex(f=>f.id===s);let p=(v+r)%l.length,m=l[p];for(;m.disabled&&p!==v;)p=(p+r)%l.length,m=l[p];if(m.disabled)return;a.value=[l[p].id]}else{const s=l.find(v=>!v.disabled);s&&(a.value=[s.id])}}e.onMounted(()=>{d()}),e.onBeforeUnmount(()=>{t=!0});const u={register:function(r,s){const v=r,p=En(Symbol.for(`${o.description}:id`),i==null?void 0:i.vnode).indexOf(s);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(r){if(t)return;d();const s=l.findIndex(v=>v.id===r);l.splice(s,1)},selected:a,select:function(r,s){const v=l.find(p=>p.id===r);if(!s||!(v!=null&&v.disabled))if(n.multiple){const p=a.value.slice(),m=p.findIndex(y=>y===r),f=~m;if(s=s??!f,f&&n.mandatory&&p.length<=1||!f&&n.max!=null&&p.length+1>n.max)return;m<0&&s?p.push(r):m>=0&&!s&&p.splice(m,1),a.value=p}else{const p=a.value.includes(r);if(n.mandatory&&p)return;a.value=s??!p?[r]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>c(l.length-1),next:()=>c(1),isSelected:r=>a.value.includes(r),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:r=>function(s,v){const p=Fo(s,[v]);return p.length?s.findIndex(m=>m.id===p[0]):-1}(l,r)};return e.provide(o,u),u}function Fo(n,o){const t=[];return o.forEach(l=>{const a=n.find(d=>Ge(l,d.value)),i=n[l];(a==null?void 0:a.value)!=null?t.push(a.id):i!=null&&t.push(i.id)}),t}const Cl=Symbol.for("vuetify:v-btn-toggle"),Ma=G({...ml(),...yl()},"VBtnToggle");Y()({name:"VBtnToggle",props:Ma(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:a,prev:i,select:d,selected:c}=bl(n,Cl);return J(()=>{const u=xo.filterProps(n);return e.createVNode(xo,e.mergeProps({class:["v-btn-toggle",n.class]},u,{style:n.style}),{default:()=>{var r;return[(r=t.default)==null?void 0:r.call(t,{isSelected:l,next:a,prev:i,select:d,selected:c})]}})}),{next:a,prev:i,select:d}}});const Q=[String,Function,Object,Array],Wa=Symbol.for("vuetify:icons"),Un=G({icon:{type:Q},tag:{type:String,required:!0}},"icon"),No=Y()({name:"VComponentIcon",props:Un(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var a;return[n.icon?e.createVNode(l,null,null):(a=t.default)==null?void 0:a.call(t)]}})}}}),ja=dn({name:"VSvgIcon",inheritAttrs:!1,props:Un(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});dn({name:"VLigatureIcon",props:Un(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),dn({name:"VClassIcon",props:Un(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const Ua=["x-small","small","default","large","x-large"],Vn=G({size:{type:[String,Number],default:"default"}},"size");function In(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();return Tt(()=>{let t,l;return Rn(Ua,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:X(n.size),height:X(n.size)}),{sizeClasses:t,sizeStyles:l}})}const Ga=G({color:String,start:Boolean,end:Boolean,icon:Q,...Z(),...Vn(),...pe({tag:"i"}),...le()},"VIcon"),ee=Y()({name:"VIcon",props:Ga(),setup(n,o){let{attrs:t,slots:l}=o;const a=e.ref(),{themeClasses:i}=se(n),{iconData:d}=(s=>{const v=e.inject(Wa);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var g;const p=e.unref(s);if(!p)return{component:No};let m=p;if(typeof m=="string"&&(m=m.trim(),m.startsWith("$")&&(m=(g=v.aliases)==null?void 0:g[m.slice(1)])),!m)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(m))return{component:ja,icon:m};if(typeof m!="string")return{component:No,icon:m};const f=Object.keys(v.sets).find(b=>typeof m=="string"&&m.startsWith(`${b}:`)),y=f?m.slice(f.length+1):m;return{component:v.sets[f??v.defaultSet].component,icon:y}})}})(e.computed(()=>a.value||n.icon)),{sizeClasses:c}=In(n),{textColorClasses:u,textColorStyles:r}=Ce(e.toRef(n,"color"));return J(()=>{var v,p;const s=(v=l.default)==null?void 0:v.call(l);return s&&(a.value=(p=Jo(s).filter(m=>m.type===e.Text&&m.children&&typeof m.children=="string")[0])==null?void 0:p.children),e.createVNode(d.value.component,{tag:n.tag,icon:d.value.icon,class:["v-icon","notranslate",i.value,c.value,u.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[c.value?void 0:{fontSize:X(n.size),height:X(n.size),width:X(n.size)},r.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[s]})}),{}}});function Sl(n,o){const t=e.ref(),l=e.shallowRef(!1);if(zt){const a=new IntersectionObserver(i=>{n==null||n(i,a),l.value=!!i.find(d=>d.isIntersecting)},o);e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(i,d)=>{d&&(a.unobserve(d),l.value=!1),i&&a.observe(i)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const qa=G({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Z(),...Vn(),...pe({tag:"div"}),...le()},"VProgressCircular"),Vl=Y()({name:"VProgressCircular",props:qa(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,a=e.ref(),{themeClasses:i}=se(n),{sizeClasses:d,sizeStyles:c}=In(n),{textColorClasses:u,textColorStyles:r}=Ce(e.toRef(n,"color")),{textColorClasses:s,textColorStyles:v}=Ce(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:m}=Sl(),{resizeRef:f,contentRect:y}=Lt(),g=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),b=e.computed(()=>Number(n.width)),x=e.computed(()=>c.value?Number(n.size):y.value?y.value.width:Math.max(b.value,32)),P=e.computed(()=>20/(1-b.value/x.value)*2),W=e.computed(()=>b.value/x.value*P.value),E=e.computed(()=>X((100-g.value)/100*l));return e.watchEffect(()=>{p.value=a.value,f.value=a.value}),J(()=>e.createVNode(n.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":m.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},i.value,d.value,u.value,n.class],style:[c.value,r.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:g.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${P.value} ${P.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",s.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":W.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":W.value,"stroke-dasharray":l,"stroke-dashoffset":E.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:g.value})])]})),{}}}),Ao={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Ut=G({location:String},"location");function Gt(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=hn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:i,align:d}=mt(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function c(r){return t?t(r):0}const u={};return i!=="center"&&(o?u[Ao[i]]=`calc(100% - ${c(i)}px)`:u[i]=0),d!=="center"?o?u[Ao[d]]=`calc(100% - ${c(d)}px)`:u[d]=0:(i==="center"?u.top=u.left="50%":u[{top:"left",bottom:"left",left:"top",right:"top"}[i]]="50%",u.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[i]),u})}}const Ha=G({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Z(),...Ut({location:"top"}),...Se(),...pe(),...le()},"VProgressLinear"),Ya=Y()({name:"VProgressLinear",props:Ha(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=te(n,"modelValue"),{isRtl:a,rtlClasses:i}=hn(),{themeClasses:d}=se(n),{locationStyles:c}=Gt(n),{textColorClasses:u,textColorStyles:r}=Ce(n,"color"),{backgroundColorClasses:s,backgroundColorStyles:v}=Me(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:m}=Me(n,"color"),{roundedClasses:f}=Ve(n),{intersectionRef:y,isIntersecting:g}=Sl(),b=e.computed(()=>parseInt(n.max,10)),x=e.computed(()=>parseInt(n.height,10)),P=e.computed(()=>parseFloat(n.bufferValue)/b.value*100),W=e.computed(()=>parseFloat(l.value)/b.value*100),E=e.computed(()=>a.value!==n.reverse),O=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),L=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function _(S){if(!y.value)return;const{left:F,right:h,width:B}=y.value.getBoundingClientRect(),V=E.value?B-S.clientX+(h-B):S.clientX-F;l.value=Math.round(V/B*b.value)}return J(()=>e.createVNode(n.tag,{ref:y,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&g.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},f.value,d.value,i.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?X(x.value):0,"--v-progress-linear-height":X(x.value),...c.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:W.value,onClick:n.clickable&&_},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",u.value],style:{...r.value,[E.value?"left":"right"]:X(-x.value),borderTop:`${X(x.value/2)} dotted`,opacity:L.value,top:`calc(50% - ${X(x.value/4)})`,width:X(100-P.value,"%"),"--v-progress-linear-stream-to":X(x.value*(E.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",s.value],style:[v.value,{opacity:L.value,width:X(n.stream?P.value:100,"%")}]},null),e.createVNode(e.Transition,{name:O.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(S=>e.createVNode("div",{key:S,class:["v-progress-linear__indeterminate",S,p.value],style:m.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[m.value,{width:X(W.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:W.value,buffer:P.value})])]})),{}}}),qt=G({loading:[Boolean,String]},"loader");function Kn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function Ht(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(Ya,{absolute:n.absolute,active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const Xa=["static","relative","fixed","absolute","sticky"],Il=G({position:{type:String,validator:n=>Xa.includes(n)}},"position");function Bl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function Jn(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),a=e.computed(()=>(l==null?void 0:l.value)||ro(o,"click")||ro(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:a,href:e.toRef(n,"href")};const i=n.to?t.useLink(n):void 0,d=function(){const c=oe("useRoute");return e.computed(()=>{var u;return(u=c==null?void 0:c.proxy)==null?void 0:u.$route})}();return{isLink:l,isClickable:a,route:i==null?void 0:i.route,navigate:i==null?void 0:i.navigate,isActive:i&&e.computed(()=>{var c,u,r;return n.exact?d.value?((c=i.isExactActive)==null?void 0:c.value)&&Ge(i.route.value.query,d.value.query):(u=i.isExactActive)==null?void 0:u.value:(r=i.isActive)==null?void 0:r.value}),href:e.computed(()=>n.to?i==null?void 0:i.route.value.href:n.href)}}const Zn=G({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let it=!1;const yt=Symbol("rippleStop"),Ka=80;function Po(n,o){n.style.transform=o,n.style.webkitTransform=o}function gt(n){return n.constructor.name==="TouchEvent"}function wl(n){return n.constructor.name==="KeyboardEvent"}const Gn={show(n,o){var m;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((m=o==null?void 0:o._ripple)!=null&&m.enabled))return;const l=document.createElement("span"),a=document.createElement("span");l.appendChild(a),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:i,scale:d,x:c,y:u,centerX:r,centerY:s}=function(f,y){var L;let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,x=0;if(!wl(f)){const _=y.getBoundingClientRect(),S=gt(f)?f.touches[f.touches.length-1]:f;b=S.clientX-_.left,x=S.clientY-_.top}let P=0,W=.3;(L=y._ripple)!=null&&L.circle?(W=.15,P=y.clientWidth/2,P=g.center?P:P+Math.sqrt((b-P)**2+(x-P)**2)/4):P=Math.sqrt(y.clientWidth**2+y.clientHeight**2)/2;const E=(y.clientWidth-2*P)/2+"px",O=(y.clientHeight-2*P)/2+"px";return{radius:P,scale:W,x:g.center?E:b-P+"px",y:g.center?O:x-P+"px",centerX:E,centerY:O}}(n,o,t),v=2*i+"px";a.className="v-ripple__animation",a.style.width=v,a.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),Po(a,`translate(${c}, ${u}) scale3d(${d},${d},${d})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),Po(a,`translate(${r}, ${s}) scale3d(1,1,1)`)},0)},hide(n){var i;if(!((i=n==null?void 0:n._ripple)!=null&&i.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),a=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var d;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((d=t.parentNode)==null?void 0:d.parentNode)===n&&n.removeChild(t.parentNode)},300)},a)}};function kl(n){return n===void 0||!!n}function pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[yt]){if(n[yt]=!0,gt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||wl(n),t._ripple.class&&(o.class=t._ripple.class),gt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{Gn.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},Ka)}else Gn.show(n,t,o)}}function _o(n){n[yt]=!0}function de(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{de(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),Gn.hide(o)}}function xl(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let vn=!1;function Fl(n){vn||n.keyCode!==to.enter&&n.keyCode!==to.space||(vn=!0,pn(n))}function Nl(n){vn=!1,de(n)}function Al(n){vn&&(vn=!1,de(n))}function Oo(n,o,t){const{value:l,modifiers:a}=o,i=kl(l);if(i||Gn.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=i,n._ripple.centered=a.center,n._ripple.circle=a.circle,pt(l)&&l.class&&(n._ripple.class=l.class),i&&!t){if(a.stop)return n.addEventListener("touchstart",_o,{passive:!0}),void n.addEventListener("mousedown",_o);n.addEventListener("touchstart",pn,{passive:!0}),n.addEventListener("touchend",de,{passive:!0}),n.addEventListener("touchmove",xl,{passive:!0}),n.addEventListener("touchcancel",de),n.addEventListener("mousedown",pn),n.addEventListener("mouseup",de),n.addEventListener("mouseleave",de),n.addEventListener("keydown",Fl),n.addEventListener("keyup",Nl),n.addEventListener("blur",Al),n.addEventListener("dragstart",de,{passive:!0})}else!i&&t&&Pl(n)}function Pl(n){n.removeEventListener("mousedown",pn),n.removeEventListener("touchstart",pn),n.removeEventListener("touchend",de),n.removeEventListener("touchmove",xl),n.removeEventListener("touchcancel",de),n.removeEventListener("mouseup",de),n.removeEventListener("mouseleave",de),n.removeEventListener("keydown",Fl),n.removeEventListener("keyup",Nl),n.removeEventListener("dragstart",de),n.removeEventListener("blur",Al)}const Bn={mounted:function(n,o){Oo(n,o,!1)},unmounted:function(n){delete n._ripple,Pl(n)},updated:function(n,o){o.value!==o.oldValue&&Oo(n,o,kl(o.oldValue))}},Ja=G({active:{type:Boolean,default:void 0},symbol:{type:null,default:Cl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Q,appendIcon:Q,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...He(),...Z(),...ge(),...Oe(),...Xe(),...gl(),...qt(),...Ut(),...Il(),...Se(),...Zn(),...Vn(),...pe({tag:"button"}),...le(),...xe({variant:"elevated"})},"VBtn"),ht=Y()({name:"VBtn",directives:{Ripple:Bn},props:Ja(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=se(n),{borderClasses:i}=Ye(n),{colorClasses:d,colorStyles:c,variantClasses:u}=Sn(n),{densityClasses:r}=Ie(n),{dimensionStyles:s}=Ee(n),{elevationClasses:v}=Ke(n),{loaderClasses:p}=Kn(n),{locationStyles:m}=Gt(n),{positionClasses:f}=Bl(n),{roundedClasses:y}=Ve(n),{sizeClasses:g,sizeStyles:b}=In(n),x=hl(n,n.symbol,!1),P=Jn(n,t),W=e.computed(()=>{var S;return n.active!==void 0?n.active:P.isLink.value?(S=P.isActive)==null?void 0:S.value:x==null?void 0:x.isSelected.value}),E=e.computed(()=>(x==null?void 0:x.disabled.value)||n.disabled),O=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),L=e.computed(()=>{if(n.value!==void 0&&typeof n.value!="symbol")return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function _(S){var F;E.value||P.isLink.value&&(S.metaKey||S.ctrlKey||S.shiftKey||S.button!==0||t.target==="_blank")||((F=P.navigate)==null||F.call(P,S),x==null||x.toggle())}return function(S,F){e.watch(()=>{var h;return(h=S.isActive)==null?void 0:h.value},h=>{S.isLink.value&&h&&F&&e.nextTick(()=>{F(!0)})},{immediate:!0})}(P,x==null?void 0:x.select),J(()=>{var D,j;const S=P.isLink.value?"a":n.tag,F=!(!n.prependIcon&&!l.prepend),h=!(!n.appendIcon&&!l.append),B=!(!n.icon||n.icon===!0),V=(x==null?void 0:x.isSelected.value)&&(!P.isLink.value||((D=P.isActive)==null?void 0:D.value))||!x||((j=P.isActive)==null?void 0:j.value);return e.withDirectives(e.createVNode(S,{type:S==="a"?void 0:"button",class:["v-btn",x==null?void 0:x.selectedClass.value,{"v-btn--active":W.value,"v-btn--block":n.block,"v-btn--disabled":E.value,"v-btn--elevated":O.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--slim":n.slim,"v-btn--stacked":n.stacked},a.value,i.value,V?d.value:void 0,r.value,v.value,p.value,f.value,y.value,g.value,u.value,n.class],style:[V?c.value:void 0,s.value,m.value,b.value,n.style],disabled:E.value||void 0,href:P.href.value,onClick:_,value:L.value},{default:()=>{var T;return[Cn(!0,"v-btn"),!n.icon&&F&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(re,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&B?e.createVNode(ee,{key:"content-icon",icon:n.icon},null):e.createVNode(re,{key:"content-defaults",disabled:!B,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var C;return[((C=l.default)==null?void 0:C.call(l))??n.text]}})]),!n.icon&&h&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(re,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ee,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((T=l.loader)==null?void 0:T.call(l))??e.createVNode(Vl,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!E.value&&n.ripple,null]])}),{}}}),Za=G({text:String,clickable:Boolean,...Z(),...le()},"VLabel"),_l=Y()({name:"VLabel",props:Za(),setup(n,o){let{slots:t}=o;return J(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),Ol=Symbol.for("vuetify:selection-control-group"),El=G({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:Q,trueIcon:Q,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:Ge},...Z(),...ge(),...le()},"SelectionControlGroup"),Qa=G({...El({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");Y()({name:"VSelectionControlGroup",props:Qa(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=te(n,"modelValue"),a=fe(),i=e.computed(()=>n.id||`v-selection-control-group-${a}`),d=e.computed(()=>n.name||i.value),c=new Set;return e.provide(Ol,{modelValue:l,forceUpdate:()=>{c.forEach(u=>u())},onForceUpdate:u=>{c.add(u),e.onScopeDispose(()=>{c.delete(u)})}}),qe({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:d,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),J(()=>{var u;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(u=t.default)==null?void 0:u.call(t)])}),{}}});const Yt=G({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...Z(),...El()},"VSelectionControl"),qn=Y()({name:"VSelectionControl",directives:{Ripple:Bn},inheritAttrs:!1,props:Yt(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:a,densityClasses:i,icon:d,model:c,textColorClasses:u,textColorStyles:r,backgroundColorClasses:s,backgroundColorStyles:v,trueValue:p}=function(E){const O=e.inject(Ol,void 0),{densityClasses:L}=Ie(E),_=te(E,"modelValue"),S=e.computed(()=>E.trueValue!==void 0?E.trueValue:E.value===void 0||E.value),F=e.computed(()=>E.falseValue!==void 0&&E.falseValue),h=e.computed(()=>!!E.multiple||E.multiple==null&&Array.isArray(_.value)),B=e.computed({get(){const w=O?O.modelValue.value:_.value;return h.value?be(w).some(R=>E.valueComparator(R,S.value)):E.valueComparator(w,S.value)},set(w){if(E.readonly)return;const R=w?S.value:F.value;let $=R;h.value&&($=w?[...be(_.value),R]:be(_.value).filter(U=>!E.valueComparator(U,S.value))),O?O.modelValue.value=$:_.value=$}}),{textColorClasses:V,textColorStyles:D}=Ce(e.computed(()=>{if(!E.error&&!E.disabled)return B.value?E.color:E.baseColor})),{backgroundColorClasses:j,backgroundColorStyles:T}=Me(e.computed(()=>!B.value||E.error||E.disabled?void 0:E.color)),C=e.computed(()=>B.value?E.trueIcon:E.falseIcon);return{group:O,densityClasses:L,trueValue:S,falseValue:F,model:B,textColorClasses:V,textColorStyles:D,backgroundColorClasses:j,backgroundColorStyles:T,icon:C}}(n),m=fe(),f=e.computed(()=>n.id||`input-${m}`),y=e.shallowRef(!1),g=e.shallowRef(!1),b=e.ref();function x(E){y.value=!0,Ln(E.target,":focus-visible")!==!1&&(g.value=!0)}function P(){y.value=!1,g.value=!1}function W(E){n.readonly&&a&&e.nextTick(()=>a.forceUpdate()),c.value=E.target.checked}return a==null||a.onForceUpdate(()=>{b.value&&(b.value.checked=c.value)}),J(()=>{var S,F;const E=l.label?l.label({label:n.label,props:{for:f.value}}):n.label,[O,L]=yn(t),_=e.createVNode("input",e.mergeProps({ref:b,checked:c.value,disabled:!(!n.readonly&&!n.disabled),id:f.value,onBlur:P,onFocus:x,onInput:W,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?c.value:void 0},L),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":c.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":y.value,"v-selection-control--focus-visible":g.value,"v-selection-control--inline":n.inline},i.value,n.class]},O,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",u.value],style:r.value},[(S=l.default)==null?void 0:S.call(l,{backgroundColorClasses:s,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((F=l.input)==null?void 0:F.call(l,{model:c,textColorClasses:u,textColorStyles:r,backgroundColorClasses:s,backgroundColorStyles:v,inputNode:_,icon:d.value,props:{onFocus:x,onBlur:P,id:f.value}}))??e.createVNode(e.Fragment,null,[d.value&&e.createVNode(ee,{key:"icon",icon:d.value},null),_])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),E&&e.createVNode(_l,{for:f.value,clickable:!0,onClick:h=>h.stopPropagation()},{default:()=>[E]})])}),{isFocused:y,input:b}}}),zl=G({indeterminate:Boolean,indeterminateIcon:{type:Q,default:"$checkboxIndeterminate"},...Yt({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),bt=Y()({name:"VCheckboxBtn",props:zl(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=te(n,"indeterminate"),a=te(n,"modelValue");function i(u){l.value&&(l.value=!1)}const d=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),c=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return J(()=>{const u=_e(qn.filterProps(n),["modelValue"]);return e.createVNode(qn,e.mergeProps(u,{modelValue:a.value,"onUpdate:modelValue":[r=>a.value=r,i],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:d.value,trueIcon:c.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function Tl(n){const{t:o}=Mt();return{InputIcon:function(t){let{name:l}=t;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],i=n[`onClick:${l}`],d=i&&a?o(`$vuetify.input.${a}`,n.label??""):void 0;return e.createVNode(ee,{icon:n[`${l}Icon`],"aria-label":d,onClick:i},null)}}}const er=G({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Z(),...bn({transition:{component:dl,leaveAbsolute:!0,group:!0}})},"VMessages"),nr=Y()({name:"VMessages",props:er(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>be(n.messages)),{textColorClasses:a,textColorStyles:i}=Ce(e.computed(()=>n.color));return J(()=>e.createVNode(Be,{transition:n.transition,tag:"div",class:["v-messages",a.value,n.class],style:[i.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((d,c)=>e.createVNode("div",{class:"v-messages__message",key:`${c}-${l.value}`},[t.message?t.message({message:d}):d]))]})),{}}}),$l=G({focused:Boolean,"onUpdate:focused":me()},"focus");function wn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();const t=te(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const tr=Symbol.for("vuetify:form");function Rl(){return e.inject(tr,null)}const or=G({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...$l()},"validation"),kn=G({id:String,appendIcon:Q,centerAffix:{type:Boolean,default:!0},prependIcon:Q,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":me(),"onClick:append":me(),...Z(),...ge(),...or()},"VInput"),we=Y()({name:"VInput",props:{...kn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const{densityClasses:i}=Ie(n),{rtlClasses:d}=hn(),{InputIcon:c}=Tl(n),u=fe(),r=e.computed(()=>n.id||`input-${u}`),s=e.computed(()=>`${r.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:m,isReadonly:f,isPristine:y,isValid:g,isValidating:b,reset:x,resetValidation:P,validate:W,validationClasses:E}=function(_){let S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye(),F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe();const h=te(_,"modelValue"),B=e.computed(()=>_.validationValue===void 0?h.value:_.validationValue),V=Rl(),D=e.ref([]),j=e.shallowRef(!0),T=e.computed(()=>!(!be(h.value===""?null:h.value).length&&!be(B.value===""?null:B.value).length)),C=e.computed(()=>!!(_.disabled??(V==null?void 0:V.isDisabled.value))),w=e.computed(()=>!!(_.readonly??(V==null?void 0:V.isReadonly.value))),R=e.computed(()=>{var q;return(q=_.errorMessages)!=null&&q.length?be(_.errorMessages).concat(D.value).slice(0,Math.max(0,+_.maxErrors)):D.value}),$=e.computed(()=>{let q=(_.validateOn??(V==null?void 0:V.validateOn.value))||"input";q==="lazy"&&(q="input lazy");const H=new Set((q==null?void 0:q.split(" "))??[]);return{blur:H.has("blur")||H.has("input"),input:H.has("input"),submit:H.has("submit"),lazy:H.has("lazy")}}),U=e.computed(()=>{var q;return!_.error&&!((q=_.errorMessages)!=null&&q.length)&&(!_.rules.length||(j.value?!D.value.length&&!$.value.lazy||null:!D.value.length))}),A=e.shallowRef(!1),M=e.computed(()=>({[`${S}--error`]:U.value===!1,[`${S}--dirty`]:T.value,[`${S}--disabled`]:C.value,[`${S}--readonly`]:w.value})),N=e.computed(()=>_.name??e.unref(F));function I(){h.value=null,e.nextTick(k)}function k(){j.value=!0,$.value.lazy?D.value=[]:z(!0)}async function z(){let q=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const H=[];A.value=!0;for(const ne of _.rules){if(H.length>=+(_.maxErrors??1))break;const ie=typeof ne=="function"?ne:()=>ne,ae=await ie(B.value);ae!==!0&&(ae===!1||typeof ae=="string"?H.push(ae||""):console.warn(`${ae} is not a valid value. Rule functions must return boolean true or a string.`))}return D.value=H,A.value=!1,j.value=q,D.value}return e.onBeforeMount(()=>{V==null||V.register({id:N.value,validate:z,reset:I,resetValidation:k})}),e.onBeforeUnmount(()=>{V==null||V.unregister(N.value)}),e.onMounted(async()=>{$.value.lazy||await z(!0),V==null||V.update(N.value,U.value,R.value)}),Ae(()=>$.value.input,()=>{e.watch(B,()=>{if(B.value!=null)z();else if(_.focused){const q=e.watch(()=>_.focused,H=>{H||z(),q()})}})}),Ae(()=>$.value.blur,()=>{e.watch(()=>_.focused,q=>{q||z()})}),e.watch(U,()=>{V==null||V.update(N.value,U.value,R.value)}),{errorMessages:R,isDirty:T,isDisabled:C,isReadonly:w,isPristine:j,isValid:U,isValidating:A,reset:I,resetValidation:k,validate:z,validationClasses:M}}(n,"v-input",r),O=e.computed(()=>({id:r,messagesId:s,isDirty:p,isDisabled:m,isReadonly:f,isPristine:y,isValid:g,isValidating:b,reset:x,resetValidation:P,validate:W})),L=e.computed(()=>{var _;return(_=n.errorMessages)!=null&&_.length||!y.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return J(()=>{var B,V,D,j;const _=!(!l.prepend&&!n.prependIcon),S=!(!l.append&&!n.appendIcon),F=L.value.length>0,h=!n.hideDetails||n.hideDetails==="auto"&&(F||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix,"v-input--hide-spin-buttons":n.hideSpinButtons},i.value,d.value,E.value,n.class],style:n.style},[_&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(B=l.prepend)==null?void 0:B.call(l,O.value),n.prependIcon&&e.createVNode(c,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(V=l.default)==null?void 0:V.call(l,O.value)]),S&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(c,{key:"append-icon",name:"append"},null),(D=l.append)==null?void 0:D.call(l,O.value)]),h&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(nr,{id:s.value,active:F,messages:L.value},{message:l.message}),(j=l.details)==null?void 0:j.call(l,O.value)])])}),{reset:x,resetValidation:P,validate:W,isValid:g,errorMessages:v}}}),lr=G({...kn(),..._e(zl(),["inline"])},"VCheckbox"),ar=Y()({name:"VCheckbox",inheritAttrs:!1,props:lr(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=te(n,"modelValue"),{isFocused:i,focus:d,blur:c}=wn(n),u=fe(),r=e.computed(()=>n.id||`checkbox-${u}`);return J(()=>{const[s,v]=yn(t),p=we.filterProps(n),m=bt.filterProps(n);return e.createVNode(we,e.mergeProps({class:["v-checkbox",n.class]},s,p,{modelValue:a.value,"onUpdate:modelValue":f=>a.value=f,id:r.value,focused:i.value,style:n.style}),{...l,default:f=>{let{id:y,messagesId:g,isDisabled:b,isReadonly:x}=f;return e.createVNode(bt,e.mergeProps(m,{id:y.value,"aria-describedby":g.value,disabled:b.value,readonly:x.value},v,{modelValue:a.value,"onUpdate:modelValue":P=>a.value=P,onFocus:d,onBlur:c}),l)}})}),{}}}),rr=G({start:Boolean,end:Boolean,icon:Q,image:String,text:String,...Z(),...ge(),...Se(),...Vn(),...pe(),...le(),...xe({variant:"flat"})},"VAvatar"),We=Y()({name:"VAvatar",props:rr(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=se(n),{colorClasses:a,colorStyles:i,variantClasses:d}=Sn(n),{densityClasses:c}=Ie(n),{roundedClasses:u}=Ve(n),{sizeClasses:r,sizeStyles:s}=In(n);return J(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,a.value,c.value,u.value,r.value,d.value,n.class],style:[i.value,s.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(fl,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ee,{key:"icon",icon:n.icon},null):((v=t.default)==null?void 0:v.call(t))??n.text,Cn(!1,"v-avatar")]}})),{}}}),Dl=Symbol.for("vuetify:v-chip-group"),ir=G({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ge},...Z(),...yl({selectedClass:"v-chip--selected"}),...pe(),...le(),...xe({variant:"tonal"})},"VChipGroup");Y()({name:"VChipGroup",props:ir(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=se(n),{isSelected:a,select:i,next:d,prev:c,selected:u}=bl(n,Dl);return qe({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),J(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var r;return[(r=t.default)==null?void 0:r.call(t,{isSelected:a,select:i,next:d,prev:c,selected:u.value})]}})),{}}});const sr=G({activeClass:String,appendAvatar:String,appendIcon:Q,closable:Boolean,closeIcon:{type:Q,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:me(),onClickOnce:me(),...He(),...Z(),...ge(),...Xe(),...gl(),...Se(),...Zn(),...Vn(),...pe({tag:"span"}),...le(),...xe({variant:"tonal"})},"VChip"),ur=Y()({name:"VChip",directives:{Ripple:Bn},props:sr(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{t:i}=Mt(),{borderClasses:d}=Ye(n),{colorClasses:c,colorStyles:u,variantClasses:r}=Sn(n),{densityClasses:s}=Ie(n),{elevationClasses:v}=Ke(n),{roundedClasses:p}=Ve(n),{sizeClasses:m}=In(n),{themeClasses:f}=se(n),y=te(n,"modelValue"),g=hl(n,Dl,!1),b=Jn(n,t),x=e.computed(()=>n.link!==!1&&b.isLink.value),P=e.computed(()=>!n.disabled&&n.link!==!1&&(!!g||n.link||b.isClickable.value)),W=e.computed(()=>({"aria-label":i(n.closeLabel),onClick(L){L.stopPropagation(),y.value=!1,l("click:close",L)}}));function E(L){var _;l("click",L),P.value&&((_=b.navigate)==null||_.call(b,L),g==null||g.toggle())}function O(L){L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),E(L))}return()=>{const L=b.isLink.value?"a":n.tag,_=!(!n.appendIcon&&!n.appendAvatar),S=!(!_&&!a.append),F=!(!a.close&&!n.closable),h=!(!a.filter&&!n.filter)&&g,B=!(!n.prependIcon&&!n.prependAvatar),V=!(!B&&!a.prepend),D=!g||g.isSelected.value;return y.value&&e.withDirectives(e.createVNode(L,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":P.value,"v-chip--filter":h,"v-chip--pill":n.pill},f.value,d.value,D?c.value:void 0,s.value,v.value,p.value,m.value,r.value,g==null?void 0:g.selectedClass.value,n.class],style:[D?u.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:b.href.value,tabindex:P.value?0:void 0,onClick:E,onKeydown:P.value&&!x.value&&O},{default:()=>{var j;return[Cn(P.value,"v-chip"),h&&e.createVNode(pl,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[a.filter?e.createVNode(re,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},a.filter):e.createVNode(ee,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,g.isSelected.value]])]}),V&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?e.createVNode(re,{key:"prepend-defaults",disabled:!B,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},a.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(We,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[((j=a.default)==null?void 0:j.call(a,{isSelected:g==null?void 0:g.isSelected.value,selectedClass:g==null?void 0:g.selectedClass.value,select:g==null?void 0:g.select,toggle:g==null?void 0:g.toggle,value:g==null?void 0:g.value.value,disabled:n.disabled}))??n.text]),S&&e.createVNode("div",{key:"append",class:"v-chip__append"},[a.append?e.createVNode(re,{key:"append-defaults",disabled:!_,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},a.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(We,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),F&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},W.value),[a.close?e.createVNode(re,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},a.close):e.createVNode(ee,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),P.value&&n.ripple,null]])}}}),Ct=Symbol.for("vuetify:list");function Ll(){const n=e.inject(Ct,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide(Ct,o),n}function Ml(){return e.inject(Ct,null)}const cr={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){const i=new Set;i.add(o);let d=a.get(o);for(;d!=null;)i.add(d),d=a.get(d);return i}return l.delete(o),l},select:()=>null},Wl={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){let i=a.get(o);for(l.add(o);i!=null&&i!==o;)l.add(i),i=a.get(i);return l}return l.delete(o),l},select:()=>null},dr={open:Wl.open,select:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(!t)return l;const i=[];let d=a.get(o);for(;d!=null;)i.push(d),d=a.get(d);return new Set(i)}},St=n=>{const o={select:t=>{let{id:l,value:a,selected:i}=t;if(l=e.toRaw(l),n&&!a){const d=Array.from(i.entries()).reduce((c,u)=>{let[r,s]=u;return s==="on"?[...c,r]:c},[]);if(d.length===1&&d[0]===l)return i}return i.set(l,a?"on":"off"),i},in:(t,l,a)=>{let i=new Map;for(const d of t||[])i=o.select({id:d,value:!0,selected:new Map(i),children:l,parents:a});return i},out:t=>{const l=[];for(const[a,i]of t.entries())i==="on"&&l.push(a);return l}};return o},Eo=n=>{const o=St(n);return{select:t=>{let{selected:l,id:a,...i}=t;a=e.toRaw(a);const d=l.has(a)?new Map([[a,l.get(a)]]):new Map;return o.select({...i,id:a,selected:d})},in:(t,l,a)=>{let i=new Map;return t!=null&&t.length&&(i=o.in(t.slice(0,1),l,a)),i},out:(t,l,a)=>o.out(t,l,a)}},fn=Symbol.for("vuetify:nested"),jl={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},pr=G({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),vr=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),a=te(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),i=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=Eo(v);return{select:m=>{let{id:f,selected:y,children:g,...b}=m;return f=e.toRaw(f),g.has(f)?y:p.select({id:f,selected:y,children:g,...b})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=St(v);return{select:m=>{let{id:f,selected:y,children:g,...b}=m;return f=e.toRaw(f),g.has(f)?y:p.select({id:f,selected:y,children:g,...b})},in:p.in,out:p.out}})(n.mandatory);case"independent":return St(n.mandatory);case"single-independent":return Eo(n.mandatory);default:return(v=>{const p={select:m=>{let{id:f,value:y,selected:g,children:b,parents:x}=m;f=e.toRaw(f);const P=new Map(g),W=[f];for(;W.length;){const O=W.shift();g.set(O,y?"on":"off"),b.has(O)&&W.push(...b.get(O))}let E=x.get(f);for(;E;){const O=b.get(E),L=O.every(S=>g.get(S)==="on"),_=O.every(S=>!g.has(S)||g.get(S)==="off");g.set(E,L?"on":_?"off":"indeterminate"),E=x.get(E)}return v&&!y&&Array.from(g.entries()).reduce((L,_)=>{let[S,F]=_;return F==="on"?[...L,S]:L},[]).length===0?P:g},in:(m,f,y)=>{let g=new Map;for(const b of m||[])g=p.select({id:b,value:!0,selected:new Map(g),children:f,parents:y});return g},out:(m,f)=>{const y=[];for(const[g,b]of m.entries())b!=="on"||f.has(g)||y.push(g);return y}};return p})(n.mandatory)}}),d=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return dr;case"single":return cr;default:return Wl}}),c=te(n,"selected",n.selected,v=>i.value.in(v,t.value,l.value),v=>i.value.out(v,t.value,l.value));function u(v){const p=[];let m=v;for(;m!=null;)p.unshift(m),m=l.value.get(m);return p}e.onBeforeUnmount(()=>{o=!0});const r=oe("nested"),s={id:e.shallowRef(),root:{opened:a,selected:c,selectedValues:e.computed(()=>{const v=[];for(const[p,m]of c.value.entries())m==="on"&&v.push(p);return v}),register:(v,p,m)=>{p&&v!==p&&l.value.set(v,p),m&&t.value.set(v,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],v])},unregister:v=>{if(o)return;t.value.delete(v);const p=l.value.get(v);if(p){const m=t.value.get(p)??[];t.value.set(p,m.filter(f=>f!==v))}l.value.delete(v),a.value.delete(v)},open:(v,p,m)=>{r.emit("click:open",{id:v,value:p,path:u(v),event:m});const f=d.value.open({id:v,value:p,opened:new Set(a.value),children:t.value,parents:l.value,event:m});f&&(a.value=f)},openOnSelect:(v,p,m)=>{const f=d.value.select({id:v,value:p,selected:new Map(c.value),opened:new Set(a.value),children:t.value,parents:l.value,event:m});f&&(a.value=f)},select:(v,p,m)=>{r.emit("click:select",{id:v,value:p,path:u(v),event:m});const f=i.value.select({id:v,value:p,selected:new Map(c.value),children:t.value,parents:l.value,event:m});f&&(c.value=f),s.root.openOnSelect(v,p,m)},children:t,parents:l}};return e.provide(fn,s),s.root},Ul=(n,o)=>{const t=e.inject(fn,jl),l=Symbol(fe()),a=e.computed(()=>n.value!==void 0?n.value:l),i={...t,id:a,open:(d,c)=>t.root.open(a.value,d,c),openOnSelect:(d,c)=>t.root.openOnSelect(a.value,d,c),isOpen:e.computed(()=>t.root.opened.value.has(a.value)),parent:e.computed(()=>t.root.parents.value.get(a.value)),select:(d,c)=>t.root.select(a.value,d,c),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(a.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(a.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(a.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(a.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(a.value)}),o&&e.provide(fn,i),i},fr=dn({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(fn,jl);e.provide(fn,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),mr=G({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Q,default:"$collapse"},expandIcon:{type:Q,default:"$expand"},prependIcon:Q,appendIcon:Q,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Z(),...pe()},"VListGroup"),zo=Y()({name:"VListGroup",props:mr(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:a,id:i}=Ul(e.toRef(n,"value"),!0),d=e.computed(()=>`v-list-group--id-${String(i.value)}`),c=Ml(),{isBooted:u}=function(){const m=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{m.value=!0})}),{ssrBootStyles:e.computed(()=>m.value?void 0:{transition:"none !important"}),isBooted:e.readonly(m)}}();function r(m){a(!l.value,m)}const s=e.computed(()=>({onClick:r,class:"v-list-group__header",id:d.value})),v=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&v.value,appendIcon:n.appendIcon||!n.subgroup&&v.value,title:n.title,value:n.value}}));return J(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":c==null?void 0:c.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(re,{defaults:p.value},{default:()=>[e.createVNode(fr,null,{default:()=>[t.activator({props:s.value,isOpen:l.value})]})]}),e.createVNode(Be,{transition:{component:Ta},disabled:!u.value},{default:()=>{var m;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":d.value},[(m=t.default)==null?void 0:m.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),yr=gn("v-list-item-subtitle"),gr=gn("v-list-item-title"),hr=G({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Q,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:me(),onClickOnce:me(),...He(),...Z(),...ge(),...Oe(),...Xe(),...Se(),...Zn(),...pe(),...le(),...xe({variant:"text"})},"VListItem"),Hn=Y()({name:"VListItem",directives:{Ripple:Bn},props:hr(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const i=Jn(n,t),d=e.computed(()=>n.value===void 0?i.href.value:n.value),{select:c,isSelected:u,isIndeterminate:r,isGroupActivator:s,root:v,parent:p,openOnSelect:m}=Ul(d,!1),f=Ml(),y=e.computed(()=>{var w;return n.active!==!1&&(n.active||((w=i.isActive)==null?void 0:w.value)||u.value)}),g=e.computed(()=>n.link!==!1&&i.isLink.value),b=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||i.isClickable.value||n.value!=null&&!!f)),x=e.computed(()=>n.rounded||n.nav),P=e.computed(()=>n.color??n.activeColor),W=e.computed(()=>({color:y.value?P.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var w;return(w=i.isActive)==null?void 0:w.value},w=>{w&&p.value!=null&&v.open(p.value,!0),w&&m(w)},{immediate:!0});const{themeClasses:E}=se(n),{borderClasses:O}=Ye(n),{colorClasses:L,colorStyles:_,variantClasses:S}=Sn(W),{densityClasses:F}=Ie(n),{dimensionStyles:h}=Ee(n),{elevationClasses:B}=Ke(n),{roundedClasses:V}=Ve(x),D=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),j=e.computed(()=>({isActive:y.value,select:c,isSelected:u.value,isIndeterminate:r.value}));function T(w){var R;a("click",w),!s&&b.value&&((R=i.navigate)==null||R.call(i,w),n.value!=null&&c(!u.value,w))}function C(w){w.key!=="Enter"&&w.key!==" "||(w.preventDefault(),T(w))}return J(()=>{const w=g.value?"a":n.tag,R=l.title||n.title!=null,$=l.subtitle||n.subtitle!=null,U=!(!n.appendAvatar&&!n.appendIcon),A=!(!U&&!l.append),M=!(!n.prependAvatar&&!n.prependIcon),N=!(!M&&!l.prepend);var I,k;return f==null||f.updateHasPrepend(N),n.activeColor&&(I="active-color",k=["color","base-color"],k=Array.isArray(k)?k.slice(0,-1).map(z=>`'${z}'`).join(", ")+` or '${k.at(-1)}'`:`'${k}'`,e.warn(`[Vuetify UPGRADE] '${I}' is deprecated, use ${k} instead.`)),e.withDirectives(e.createVNode(w,{class:["v-list-item",{"v-list-item--active":y.value,"v-list-item--disabled":n.disabled,"v-list-item--link":b.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!N&&(f==null?void 0:f.hasPrepend.value),"v-list-item--slim":n.slim,[`${n.activeClass}`]:n.activeClass&&y.value},E.value,O.value,L.value,F.value,B.value,D.value,V.value,S.value,n.class],style:[_.value,h.value,n.style],href:i.href.value,tabindex:b.value?f?-2:0:void 0,onClick:T,onKeydown:b.value&&!g.value&&C},{default:()=>{var z;return[Cn(b.value||y.value,"v-list-item"),N&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(re,{key:"prepend-defaults",disabled:!M,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var q;return[(q=l.prepend)==null?void 0:q.call(l,j.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(We,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ee,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[R&&e.createVNode(gr,{key:"title"},{default:()=>{var q;return[((q=l.title)==null?void 0:q.call(l,{title:n.title}))??n.title]}}),$&&e.createVNode(yr,{key:"subtitle"},{default:()=>{var q;return[((q=l.subtitle)==null?void 0:q.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(z=l.default)==null?void 0:z.call(l,j.value)]),A&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(re,{key:"append-defaults",disabled:!U,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var q;return[(q=l.append)==null?void 0:q.call(l,j.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ee,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(We,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),b.value&&n.ripple]])}),{}}}),br=G({color:String,inset:Boolean,sticky:Boolean,title:String,...Z(),...pe()},"VListSubheader"),Cr=Y()({name:"VListSubheader",props:br(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:a}=Ce(e.toRef(n,"color"));return J(()=>{const i=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:a},n.style]},{default:()=>{var d;return[i&&e.createVNode("div",{class:"v-list-subheader__text"},[((d=t.default)==null?void 0:d.call(t))??n.title])]}})}),{}}}),Sr=G({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Z(),...le()},"VDivider"),Vr=Y()({name:"VDivider",props:Sr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=se(n),{textColorClasses:a,textColorStyles:i}=Ce(e.toRef(n,"color")),d=e.computed(()=>{const c={};return n.length&&(c[n.vertical?"maxHeight":"maxWidth"]=X(n.length)),n.thickness&&(c[n.vertical?"borderRightWidth":"borderTopWidth"]=X(n.thickness)),c});return J(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,a.value,n.class],style:[d.value,i.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),Ir=G({items:Array,returnObject:Boolean},"VListChildren"),Gl=Y()({name:"VListChildren",props:Ir(),setup(n,o){let{slots:t}=o;return Ll(),()=>{var l,a;return((l=t.default)==null?void 0:l.call(t))??((a=n.items)==null?void 0:a.map(i=>{var p,m;let{children:d,props:c,type:u,raw:r}=i;if(u==="divider")return((p=t.divider)==null?void 0:p.call(t,{props:c}))??e.createVNode(Vr,c,null);if(u==="subheader")return((m=t.subheader)==null?void 0:m.call(t,{props:c}))??e.createVNode(Cr,c,null);const s={subtitle:t.subtitle?f=>{var y;return(y=t.subtitle)==null?void 0:y.call(t,{...f,item:r})}:void 0,prepend:t.prepend?f=>{var y;return(y=t.prepend)==null?void 0:y.call(t,{...f,item:r})}:void 0,append:t.append?f=>{var y;return(y=t.append)==null?void 0:y.call(t,{...f,item:r})}:void 0,title:t.title?f=>{var y;return(y=t.title)==null?void 0:y.call(t,{...f,item:r})}:void 0},v=zo.filterProps(c);return d?e.createVNode(zo,e.mergeProps({value:c==null?void 0:c.value},v),{activator:f=>{let{props:y}=f;const g={...c,...y,value:n.returnObject?r:c.value};return t.header?t.header({props:g}):e.createVNode(Hn,g,s)},default:()=>e.createVNode(Gl,{items:d},t)}):t.item?t.item({props:c}):e.createVNode(Hn,e.mergeProps(c,{value:n.returnObject?r:c.value}),s)}))}}}),ql=G({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:Ge}},"list-items");function Vt(n,o){const t=he(o,n.itemTitle,o),l=he(o,n.itemValue,t),a=he(o,n.itemChildren),i={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?_e(o,["children"]):o:he(o,n.itemProps)};return{title:String(i.title??""),value:i.value,props:i,children:Array.isArray(a)?Hl(n,a):void 0,raw:o}}function Hl(n,o){const t=[];for(const l of o)t.push(Vt(n,l));return t}function Br(n,o){const t=he(o,n.itemType,"item"),l=function(c){return typeof c=="string"||typeof c=="number"||typeof c=="boolean"}(o)?o:he(o,n.itemTitle),a=he(o,n.itemValue,void 0),i=he(o,n.itemChildren),d={title:l,value:a,...n.itemProps===!0?_e(o,["children"]):he(o,n.itemProps)};return{type:t,title:d.title,value:d.value,props:d,children:t==="item"&&i?Yl(n,i):void 0,raw:o}}function Yl(n,o){const t=[];for(const l of o)t.push(Br(n,l));return t}const wr=G({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...pr({selectStrategy:"single-leaf",openStrategy:"list"}),...He(),...Z(),...ge(),...Oe(),...Xe(),itemType:{type:String,default:"type"},...ql(),...Se(),...pe(),...le(),...xe({variant:"text"})},"VList"),kr=Y()({name:"VList",props:wr(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(S){return{items:e.computed(()=>Yl(S,S.items))}}(n),{themeClasses:a}=se(n),{backgroundColorClasses:i,backgroundColorStyles:d}=Me(e.toRef(n,"bgColor")),{borderClasses:c}=Ye(n),{densityClasses:u}=Ie(n),{dimensionStyles:r}=Ee(n),{elevationClasses:s}=Ke(n),{roundedClasses:v}=Ve(n),{open:p,select:m}=vr(n),f=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),y=e.toRef(n,"activeColor"),g=e.toRef(n,"baseColor"),b=e.toRef(n,"color");Ll(),qe({VListGroup:{activeColor:y,baseColor:g,color:b},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:y,baseColor:g,color:b,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),slim:e.toRef(n,"slim"),variant:e.toRef(n,"variant")}});const x=e.shallowRef(!1),P=e.ref();function W(S){x.value=!0}function E(S){x.value=!1}function O(S){var F;x.value||S.relatedTarget&&((F=P.value)!=null&&F.contains(S.relatedTarget))||_()}function L(S){if(P.value){if(S.key==="ArrowDown")_("next");else if(S.key==="ArrowUp")_("prev");else if(S.key==="Home")_("first");else{if(S.key!=="End")return;_("last")}S.preventDefault()}}function _(S){if(P.value)return Dn(P.value,S)}return J(()=>e.createVNode(n.tag,{ref:P,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},a.value,i.value,c.value,u.value,s.value,f.value,v.value,n.class],style:[d.value,r.value,n.style],tabindex:n.disabled||x.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:W,onFocusout:E,onFocus:O,onKeydown:L},{default:()=>[e.createVNode(Gl,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:m,focus:_}}});function st(n,o){return{x:n.x+o.x,y:n.y+o.y}}function To(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return st({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return st({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return st({x:o.width/2,y:o.height/2},o)}const Xl={static:function(){},connected:function(n,o,t){(Array.isArray(n.target.value)||function(m){for(;m;){if(window.getComputedStyle(m).position==="fixed")return!0;m=m.offsetParent}return!1}(n.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:a}=Tt(()=>{const m=mt(o.location,n.isRtl.value),f=o.origin==="overlap"?m:o.origin==="auto"?lt(m):mt(o.origin,n.isRtl.value);return m.side===f.side&&m.align===at(f).align?{preferredAnchor:so(m),preferredOrigin:so(f)}:{preferredAnchor:m,preferredOrigin:f}}),[i,d,c,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(m=>e.computed(()=>{const f=parseFloat(o[m]);return isNaN(f)?1/0:f})),r=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const m=o.offset.split(" ").map(parseFloat);return m.length<2&&m.push(0),m}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let s=!1;const v=new ResizeObserver(()=>{s&&p()});function p(){if(s=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>s=!0)}),!n.target.value||!n.contentEl.value)return;const m=tl(n.target.value),f=function(F,h){h?F.style.removeProperty("left"):F.style.removeProperty("right");const B=$t(F);return h?B.x+=parseFloat(F.style.right||0):B.x-=parseFloat(F.style.left||0),B.y-=parseFloat(F.style.top||0),B}(n.contentEl.value,n.isRtl.value),y=jn(n.contentEl.value);y.length||(y.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(f.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),f.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const g=y.reduce((F,h)=>{const B=h.getBoundingClientRect(),V=new Ne({x:h===document.documentElement?0:B.x,y:h===document.documentElement?0:B.y,width:h.clientWidth,height:h.clientHeight});return F?new Ne({x:Math.max(F.left,V.left),y:Math.max(F.top,V.top),width:Math.min(F.right,V.right)-Math.max(F.left,V.left),height:Math.min(F.bottom,V.bottom)-Math.max(F.top,V.top)}):V},void 0);g.x+=12,g.y+=12,g.width-=24,g.height-=24;let b={anchor:l.value,origin:a.value};function x(F){const h=new Ne(f),B=To(F.anchor,m),V=To(F.origin,h);let{x:D,y:j}=(C=V,{x:(T=B).x-C.x,y:T.y-C.y});var T,C;switch(F.anchor.side){case"top":j-=r.value[0];break;case"bottom":j+=r.value[0];break;case"left":D-=r.value[0];break;case"right":D+=r.value[0]}switch(F.anchor.align){case"top":j-=r.value[1];break;case"bottom":j+=r.value[1];break;case"left":D-=r.value[1];break;case"right":D+=r.value[1]}return h.x+=D,h.y+=j,h.width=Math.min(h.width,c.value),h.height=Math.min(h.height,u.value),{overflows:co(h,g),x:D,y:j}}let P=0,W=0;const E={x:0,y:0},O={x:!1,y:!1};let L=-1;for(;;){if(L++>10){_="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${_}`);break}const{x:F,y:h,overflows:B}=x(b);P+=F,W+=h,f.x+=F,f.y+=h;{const V=uo(b.anchor),D=B.x.before||B.x.after,j=B.y.before||B.y.after;let T=!1;if(["x","y"].forEach(C=>{if(C==="x"&&D&&!O.x||C==="y"&&j&&!O.y){const w={anchor:{...b.anchor},origin:{...b.origin}},R=C==="x"?V==="y"?at:lt:V==="y"?lt:at;w.anchor=R(w.anchor),w.origin=R(w.origin);const{overflows:$}=x(w);($[C].before<=B[C].before&&$[C].after<=B[C].after||$[C].before+$[C].after<(B[C].before+B[C].after)/2)&&(b=w,T=O[C]=!0)}}),T)continue}B.x.before&&(P+=B.x.before,f.x+=B.x.before),B.x.after&&(P-=B.x.after,f.x-=B.x.after),B.y.before&&(W+=B.y.before,f.y+=B.y.before),B.y.after&&(W-=B.y.after,f.y-=B.y.after);{const V=co(f,g);E.x=g.width-V.x.before-V.x.after,E.y=g.height-V.y.before-V.y.after,P+=V.x.before,f.x+=V.x.before,W+=V.y.before,f.y+=V.y.before}break}var _;const S=uo(b.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:X(ut(W)),left:n.isRtl.value?void 0:X(ut(P)),right:n.isRtl.value?X(ut(-P)):void 0,minWidth:X(S==="y"?Math.min(i.value,m.width):i.value),maxWidth:X($o(Le(E.x,i.value===1/0?0:i.value,c.value))),maxHeight:X($o(Le(E.y,d.value===1/0?0:d.value,u.value)))}),{available:E,contentBox:f}}return e.watch([n.target,n.contentEl],(m,f)=>{let[y,g]=m,[b,x]=f;b&&!Array.isArray(b)&&v.unobserve(b),y&&!Array.isArray(y)&&v.observe(y),x&&v.unobserve(x),g&&v.observe(g)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,a.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const m=p();if(!m)return;const{available:f,contentBox:y}=m;y.height>f.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},xr=G({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in Xl},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function ut(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function $o(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let It=!0;const Yn=[];let Ro=-1;function Bt(){cancelAnimationFrame(Ro),Ro=requestAnimationFrame(()=>{const n=Yn.shift();n&&n(),Yn.length?Bt():It=!0})}const Tn={none:null,close:function(n){Do(n.targetEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var c;const t=(c=n.root.value)==null?void 0:c.offsetParent,l=[...new Set([...jn(n.targetEl.value,o.contained?t:void 0),...jn(n.contentEl.value,o.contained?t:void 0)])].filter(u=>!u.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,i=(d=t||document.documentElement,Dt(d)&&d);var d;i&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((u,r)=>{u.style.setProperty("--v-body-scroll-x",X(-u.scrollLeft)),u.style.setProperty("--v-body-scroll-y",X(-u.scrollTop)),u!==document.documentElement&&u.style.setProperty("--v-scrollbar-offset",X(a)),u.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((u,r)=>{const s=parseFloat(u.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(u.style.getPropertyValue("--v-body-scroll-y"));u.style.removeProperty("--v-body-scroll-x"),u.style.removeProperty("--v-body-scroll-y"),u.style.removeProperty("--v-scrollbar-offset"),u.classList.remove("v-overlay-scroll-blocked"),u.scrollLeft=-s,u.scrollTop=-v}),i&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,a=-1,i=-1;function d(c){var u;u=()=>{var v,p;const r=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,c),l=(performance.now()-r)/(1e3/60)>2},!It||Yn.length?(Yn.push(u),Bt()):(It=!1,u(),Bt())}i=(typeof requestIdleCallback>"u"?c=>c():requestIdleCallback)(()=>{t.run(()=>{Do(n.targetEl.value??n.contentEl.value,c=>{l?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{d(c)})})):d(c)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(i),cancelAnimationFrame(a)})}},Fr=G({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in Tn}},"VOverlay-scroll-strategies");function Do(n,o){const t=[document,...jn(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const wt=Symbol.for("vuetify:v-menu"),Nr=G({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),Ar=G({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Nr()},"VOverlay-activator");function Pr(n,o){let{isActive:t,isTop:l}=o;const a=oe("useActivator"),i=e.ref();let d=!1,c=!1,u=!0;const r=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),s=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!r.value),{runOpenDelay:v,runCloseDelay:p}=function(h,B){const V={},D=j=>()=>{if(!ue)return Promise.resolve(!0);const T=j==="openDelay";return V.closeDelay&&window.clearTimeout(V.closeDelay),delete V.closeDelay,V.openDelay&&window.clearTimeout(V.openDelay),delete V.openDelay,new Promise(C=>{const w=parseInt(h[j]??0,10);V[j]=window.setTimeout(()=>{B==null||B(T),C(T)},w)})};return{runCloseDelay:D("closeDelay"),runOpenDelay:D("openDelay")}}(n,h=>{h!==(n.openOnHover&&d||r.value&&c)||n.openOnHover&&t.value&&!l.value||(t.value!==h&&(u=!0),t.value=h)}),m=e.ref(),f=h=>{h.stopPropagation(),i.value=h.currentTarget||h.target,t.value||(m.value=[h.clientX,h.clientY]),t.value=!t.value},y=h=>{var B;(B=h.sourceCapabilities)!=null&&B.firesTouchEvents||(d=!0,i.value=h.currentTarget||h.target,v())},g=h=>{d=!1,p()},b=h=>{Ln(h.target,":focus-visible")!==!1&&(c=!0,h.stopPropagation(),i.value=h.currentTarget||h.target,v())},x=h=>{c=!1,h.stopPropagation(),p()},P=e.computed(()=>{const h={};return s.value&&(h.onClick=f),n.openOnHover&&(h.onMouseenter=y,h.onMouseleave=g),r.value&&(h.onFocus=b,h.onBlur=x),h}),W=e.computed(()=>{const h={};if(n.openOnHover&&(h.onMouseenter=()=>{d=!0,v()},h.onMouseleave=()=>{d=!1,p()}),r.value&&(h.onFocusin=()=>{c=!0,v()},h.onFocusout=()=>{c=!1,p()}),n.closeOnContentClick){const B=e.inject(wt,null);h.onClick=()=>{t.value=!1,B==null||B.closeParents()}}return h}),E=e.computed(()=>{const h={};return n.openOnHover&&(h.onMouseenter=()=>{u&&(d=!0,u=!1,v())},h.onMouseleave=()=>{d=!1,p()}),h});e.watch(l,h=>{!h||(!n.openOnHover||d||r.value&&c)&&(!r.value||c||n.openOnHover&&d)||(t.value=!1)}),e.watch(t,h=>{h||setTimeout(()=>{m.value=void 0})},{flush:"post"});const O=e.ref();e.watchEffect(()=>{O.value&&e.nextTick(()=>{i.value=$n(O.value)})});const L=e.ref(),_=e.computed(()=>n.target==="cursor"&&m.value?m.value:L.value?$n(L.value):Lo(n.target,a)||i.value),S=e.computed(()=>Array.isArray(_.value)?void 0:_.value);let F;return e.watch(()=>!!n.activator,h=>{h&&ue?(F=e.effectScope(),F.run(()=>{(function(B,V,D){let{activatorEl:j,activatorEvents:T}=D;function C(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:R(),U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B.activatorProps;$&&function(A,M){Object.keys(M).forEach(N=>{if(vt(N)){const I=ao(N),k=An.get(A);if(M[N]==null)k==null||k.forEach(z=>{const[q,H]=z;q===I&&(A.removeEventListener(I,H),k.delete(z))});else if(!k||![...k].some(z=>z[0]===I&&z[1]===M[N])){A.addEventListener(I,M[N]);const z=k||new Set;z.add([I,M[N]]),An.has(A)||An.set(A,z)}}else M[N]==null?A.removeAttribute(N):A.setAttribute(N,M[N])})}($,e.mergeProps(T.value,U))}function w(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:R(),U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B.activatorProps;$&&function(A,M){Object.keys(M).forEach(N=>{if(vt(N)){const I=ao(N),k=An.get(A);k==null||k.forEach(z=>{const[q,H]=z;q===I&&(A.removeEventListener(I,H),k.delete(z))})}else A.removeAttribute(N)})}($,e.mergeProps(T.value,U))}function R(){const $=Lo(arguments.length>0&&arguments[0]!==void 0?arguments[0]:B.activator,V);return j.value=($==null?void 0:$.nodeType)===Node.ELEMENT_NODE?$:void 0,j.value}e.watch(()=>B.activator,($,U)=>{if(U&&$!==U){const A=R(U);A&&w(A)}$&&e.nextTick(()=>C())},{immediate:!0}),e.watch(()=>B.activatorProps,()=>{C()}),e.onScopeDispose(()=>{w()})})(n,a,{activatorEl:i,activatorEvents:P})})):F&&F.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{F==null||F.stop()}),{activatorEl:i,activatorRef:O,target:_,targetEl:S,targetRef:L,activatorEvents:P,contentEvents:W,scrimEvents:E}}function Lo(n,o){var l,a;if(!n)return;let t;if(n==="parent"){let i=(a=(l=o==null?void 0:o.proxy)==null?void 0:l.$el)==null?void 0:a.parentNode;for(;i!=null&&i.hasAttribute("data-no-activator");)i=i.parentNode;t=i}else t=typeof n=="string"?document.querySelector(n):"$el"in n?n.$el:n;return t}const _r=Symbol.for("vuetify:display");function Kl(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye();const t=e.inject(_r);if(!t)throw new Error("Could not find Vuetify display injection");const l=e.computed(()=>{if(!n.mobileBreakpoint)return t.mobile.value;const i=typeof n.mobileBreakpoint=="number"?n.mobileBreakpoint:t.thresholds.value[n.mobileBreakpoint];return t.width.valueo?{[`${o}--mobile`]:l.value}:{});return{...t,displayClasses:a,mobile:l}}const Or=G({eager:Boolean},"lazy");function Jl(){const n=oe("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const Mo=Symbol.for("vuetify:stack"),rn=e.reactive([]);function Er(){return!0}function Wo(n,o,t){if(!n||Zl(n,t)===!1)return!1;const l=ll(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const a=(typeof t.value=="object"&&t.value.include||(()=>[]))();return a.push(o),!a.some(i=>i==null?void 0:i.contains(n.target))}function Zl(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Er)(n)}function jo(n,o){const t=ll(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const zr={mounted(n,o){const t=a=>function(i,d,c){const u=typeof c.value=="function"?c.value:c.value.handler;d._clickOutside.lastMousedownWasOutside&&Wo(i,d,c)&&setTimeout(()=>{Zl(i,c)&&u&&u(i)},0)}(a,n,o),l=a=>{n._clickOutside.lastMousedownWasOutside=Wo(a,n,o)};jo(n,a=>{a.addEventListener("click",t,!0),a.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&(jo(n,t=>{var i;if(!t||!((i=n._clickOutside)!=null&&i[o.instance.$.uid]))return;const{onClick:l,onMousedown:a}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",a,!0)}),delete n._clickOutside[o.instance.$.uid])}};function Tr(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const Ql=G({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Ar(),...Z(),...Oe(),...Or(),...xr(),...Fr(),...le(),...bn()},"VOverlay"),Uo=Y()({name:"VOverlay",directives:{ClickOutside:zr},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Ql()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var A,M;let{slots:t,attrs:l,emit:a}=o;const i=te(n,"modelValue"),d=e.computed({get:()=>i.value,set:N=>{N&&n.disabled||(i.value=N)}}),{teleportTarget:c}=function(N){return{teleportTarget:e.computed(()=>{const I=N.value;if(I===!0||!ue)return;const k=I===!1?document.body:typeof I=="string"?document.querySelector(I):I;if(k==null)return void e.warn(`Unable to locate target ${I}`);let z=k.querySelector(":scope > .v-overlay-container");return z||(z=document.createElement("div"),z.className="v-overlay-container",k.appendChild(z)),z})}}(e.computed(()=>n.attach||n.contained)),{themeClasses:u}=se(n),{rtlClasses:r,isRtl:s}=hn(),{hasContent:v,onAfterLeave:p}=function(N,I){const k=e.shallowRef(!1),z=e.computed(()=>k.value||N.eager||I.value);return e.watch(I,()=>k.value=!0),{isBooted:k,hasContent:z,onAfterLeave:function(){N.eager||(k.value=!1)}}}(n,d),m=Me(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:f,localTop:y,stackStyles:g}=function(N,I,k){const z=oe("useStack"),q=!k,H=e.inject(Mo,void 0),ne=e.reactive({activeChildren:new Set});e.provide(Mo,ne);const ie=e.shallowRef(+I.value);Ae(N,()=>{var ln;const Nn=(ln=rn.at(-1))==null?void 0:ln[1];ie.value=Nn?Nn+10:+I.value,q&&rn.push([z.uid,ie.value]),H==null||H.activeChildren.add(z.uid),e.onScopeDispose(()=>{if(q){const ia=e.toRaw(rn).findIndex(sa=>sa[0]===z.uid);rn.splice(ia,1)}H==null||H.activeChildren.delete(z.uid)})});const ae=e.shallowRef(!0);q&&e.watchEffect(()=>{var ln;const Nn=((ln=rn.at(-1))==null?void 0:ln[0])===z.uid;setTimeout(()=>ae.value=Nn)});const ra=e.computed(()=>!ne.activeChildren.size);return{globalTop:e.readonly(ae),localTop:ra,stackStyles:e.computed(()=>({zIndex:ie.value}))}}(d,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:b,activatorRef:x,target:P,targetEl:W,targetRef:E,activatorEvents:O,contentEvents:L,scrimEvents:_}=Pr(n,{isActive:d,isTop:y}),{dimensionStyles:S}=Ee(n),F=function(){if(!ue)return e.shallowRef(!1);const{ssr:N}=Kl();if(N){const I=e.shallowRef(!1);return e.onMounted(()=>{I.value=!0}),I}return e.shallowRef(!0)}(),{scopeId:h}=Jl();e.watch(()=>n.disabled,N=>{N&&(d.value=!1)});const B=e.ref(),V=e.ref(),{contentStyles:D,updateLocation:j}=function(N,I){const k=e.ref({}),z=e.ref();function q(H){var ne;(ne=z.value)==null||ne.call(z,H)}return ue&&Ae(()=>!(!I.isActive.value||!N.locationStrategy),H=>{var ne,ie;e.watch(()=>N.locationStrategy,H),e.onScopeDispose(()=>{window.removeEventListener("resize",q),z.value=void 0}),window.addEventListener("resize",q,{passive:!0}),typeof N.locationStrategy=="function"?z.value=(ne=N.locationStrategy(I,N,k))==null?void 0:ne.updateLocation:z.value=(ie=Xl[N.locationStrategy](I,N,k))==null?void 0:ie.updateLocation}),{contentStyles:k,updateLocation:z}}(n,{isRtl:s,contentEl:V,target:P,isActive:d});function T(N){a("click:outside",N),n.persistent?U():d.value=!1}function C(){return d.value&&f.value}function w(N){var I,k;N.key==="Escape"&&f.value&&(n.persistent?U():(d.value=!1,(I=V.value)!=null&&I.contains(document.activeElement)&&((k=b.value)==null||k.focus())))}(function(N,I){if(!ue)return;let k;e.watchEffect(async()=>{k==null||k.stop(),I.isActive.value&&N.scrollStrategy&&(k=e.effectScope(),await e.nextTick(),k.active&&k.run(()=>{var z;typeof N.scrollStrategy=="function"?N.scrollStrategy(I,N,k):(z=Tn[N.scrollStrategy])==null||z.call(Tn,I,N,k)}))}),e.onScopeDispose(()=>{k==null||k.stop()})})(n,{root:B,contentEl:V,targetEl:W,isActive:d,updateLocation:j}),ue&&e.watch(d,N=>{N?window.addEventListener("keydown",w):window.removeEventListener("keydown",w)},{immediate:!0});const R=(M=(A=oe("useRouter"))==null?void 0:A.proxy)==null?void 0:M.$router;Ae(()=>n.closeOnBack,()=>{(function(N,I){let k,z,q=!1;function H(ne){var ie;(ie=ne.state)!=null&&ie.replaced||(q=!0,setTimeout(()=>q=!1))}ue&&(e.nextTick(()=>{window.addEventListener("popstate",H),k=N==null?void 0:N.beforeEach((ne,ie,ae)=>{it?q?I(ae):ae():setTimeout(()=>q?I(ae):ae()),it=!0}),z=N==null?void 0:N.afterEach(()=>{it=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",H),k==null||k(),z==null||z()}))})(R,N=>{f.value&&d.value?(N(!1),n.persistent?U():d.value=!1):N()})});const $=e.ref();function U(){n.noClickAnimation||V.value&&De(V.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Wn})}return e.watch(()=>d.value&&(n.absolute||n.contained)&&c.value==null,N=>{if(N){const I=rl(B.value);I&&I!==document.scrollingElement&&($.value=I.scrollTop)}}),J(()=>{var N;return e.createVNode(e.Fragment,null,[(N=t.activator)==null?void 0:N.call(t,{isActive:d.value,props:e.mergeProps({ref:x,targetRef:E},O.value,n.activatorProps)}),F.value&&v.value&&e.createVNode(e.Teleport,{disabled:!c.value,to:c.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":d.value,"v-overlay--contained":n.contained},u.value,r.value,n.class],style:[g.value,{top:X($.value)},n.style],ref:B},h,l),[e.createVNode(Tr,e.mergeProps({color:m,modelValue:d.value&&!!n.scrim},_.value),null),e.createVNode(Be,{appear:!0,persisted:!0,transition:n.transition,target:P.value,onAfterLeave:()=>{p(),a("afterLeave")}},{default:()=>{var I;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:V,class:["v-overlay__content",n.contentClass],style:[S.value,D.value]},L.value,n.contentProps),[(I=t.default)==null?void 0:I.call(t,{isActive:d})]),[[e.vShow,d.value],[e.resolveDirective("click-outside"),{handler:T,closeConditional:C,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:P,animateClick:U,contentEl:V,globalTop:f,localTop:y,updateLocation:j}}}),ct=Symbol("Forwarded refs");function dt(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function Qn(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=te(n,"modelValue"),{scopeId:a}=Jl(),i=fe(),d=e.computed(()=>n.id||`v-menu-${i}`),c=e.ref(),u=e.inject(wt,null),r=e.shallowRef(0);async function s(y){var x,P,W;const g=y.relatedTarget,b=y.target;await e.nextTick(),l.value&&g!==b&&((x=c.value)!=null&&x.contentEl)&&((P=c.value)!=null&&P.globalTop)&&![document,c.value.contentEl].includes(b)&&!c.value.contentEl.contains(b)&&((W=ft(c.value.contentEl)[0])==null||W.focus())}function v(){u==null||u.closeParents()}function p(y){var g,b,x;!n.disabled&&y.key==="Tab"&&(Qo(ft((g=c.value)==null?void 0:g.contentEl,!1),y.shiftKey?"prev":"next",P=>P.tabIndex>=0)||(l.value=!1,(x=(b=c.value)==null?void 0:b.activatorEl)==null||x.focus()))}function m(y){var b;if(n.disabled)return;const g=(b=c.value)==null?void 0:b.contentEl;g&&l.value?y.key==="ArrowDown"?(y.preventDefault(),Dn(g,"next")):y.key==="ArrowUp"&&(y.preventDefault(),Dn(g,"prev")):["ArrowDown","ArrowUp"].includes(y.key)&&(l.value=!0,y.preventDefault(),setTimeout(()=>setTimeout(()=>m(y))))}e.provide(wt,{register(){++r.value},unregister(){--r.value},closeParents(){setTimeout(()=>{r.value||(l.value=!1,u==null||u.closeParents())},40)}}),e.watch(l,y=>{y?(u==null||u.register(),document.addEventListener("focusin",s,{once:!0})):(u==null||u.unregister(),document.removeEventListener("focusin",s))});const f=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":d.value,onKeydown:m},n.activatorProps));return J(()=>{const y=Uo.filterProps(n);return e.createVNode(Uo,e.mergeProps({ref:c,class:["v-menu",n.class],style:n.style},y,{modelValue:l.value,"onUpdate:modelValue":g=>l.value=g,absolute:!0,activatorProps:f.value,"onClick:outside":v,onKeydown:p},a),{activator:t.activator,default:function(){for(var g=arguments.length,b=new Array(g),x=0;x{var P;return[(P=t.default)==null?void 0:P.call(t,...b)]}})}})}),Qn({id:d,ΨopenChildren:r},c)}}),Dr=G({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Z(),...bn({transition:{component:dl}})},"VCounter"),ea=Y()({name:"VCounter",functional:!0,props:Dr(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return J(()=>e.createVNode(Be,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),Lr=G({floating:Boolean,...Z()},"VFieldLabel"),On=Y()({name:"VFieldLabel",props:Lr(),setup(n,o){let{slots:t}=o;return J(()=>e.createVNode(_l,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),Mr=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Xt=G({appendInnerIcon:Q,bgColor:String,clearable:Boolean,clearIcon:{type:Q,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Q,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>Mr.includes(n)},"onClick:clear":me(),"onClick:appendInner":me(),"onClick:prependInner":me(),...Z(),...qt(),...Se(),...le()},"VField"),Kt=Y()({name:"VField",inheritAttrs:!1,props:{id:String,...$l(),...Xt()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{themeClasses:i}=se(n),{loaderClasses:d}=Kn(n),{focusClasses:c,isFocused:u,focus:r,blur:s}=wn(n),{InputIcon:v}=Tl(n),{roundedClasses:p}=Ve(n),{rtlClasses:m}=hn(),f=e.computed(()=>n.dirty||n.active),y=e.computed(()=>!(n.singleLine||!n.label&&!a.label)),g=fe(),b=e.computed(()=>n.id||`input-${g}`),x=e.computed(()=>`${b.value}-messages`),P=e.ref(),W=e.ref(),E=e.ref(),O=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:L,backgroundColorStyles:_}=Me(e.toRef(n,"bgColor")),{textColorClasses:S,textColorStyles:F}=Ce(e.computed(()=>n.error||n.disabled?void 0:f.value&&u.value?n.color:n.baseColor));e.watch(f,V=>{if(y.value){const D=P.value.$el,j=W.value.$el;requestAnimationFrame(()=>{const T=$t(D),C=j.getBoundingClientRect(),w=C.x-T.x,R=C.y-T.y-(T.height/2-C.height/2),$=C.width/.75,U=Math.abs($-T.width)>1?{maxWidth:X($)}:void 0,A=getComputedStyle(D),M=getComputedStyle(j),N=1e3*parseFloat(A.transitionDuration)||150,I=parseFloat(M.getPropertyValue("--v-field-label-scale")),k=M.getPropertyValue("color");D.style.visibility="visible",j.style.visibility="hidden",De(D,{transform:`translate(${w}px, ${R}px) scale(${I})`,color:k,...U},{duration:N,easing:Wn,direction:V?"normal":"reverse"}).finished.then(()=>{D.style.removeProperty("visibility"),j.style.removeProperty("visibility")})})}},{flush:"post"});const h=e.computed(()=>({isActive:f,isFocused:u,controlRef:E,blur:s,focus:r}));function B(V){V.target!==document.activeElement&&V.preventDefault()}return J(()=>{var w,R,$;const V=n.variant==="outlined",D=a["prepend-inner"]||n.prependInnerIcon,j=!(!n.clearable&&!a.clear),T=!!(a["append-inner"]||n.appendInnerIcon||j),C=()=>a.label?a.label({...h.value,label:n.label,props:{for:b.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":f.value,"v-field--appended":T,"v-field--center-affix":n.centerAffix??!O.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":D,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!C(),[`v-field--variant-${n.variant}`]:!0},i.value,L.value,c.value,d.value,p.value,m.value,n.class],style:[_.value,n.style],onClick:B},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(Ht,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:a.loader}),D&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(w=a["prepend-inner"])==null?void 0:w.call(a,h.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&y.value&&e.createVNode(On,{key:"floating-label",ref:W,class:[S.value],floating:!0,for:b.value,style:F.value},{default:()=>[C()]}),e.createVNode(On,{ref:P,for:b.value},{default:()=>[C()]}),(R=a.default)==null?void 0:R.call(a,{...h.value,props:{id:b.value,class:"v-field__input","aria-describedby":x.value},focus:r,blur:s})]),j&&e.createVNode(pl,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:U=>{U.preventDefault(),U.stopPropagation()}},[a.clear?a.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),T&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[($=a["append-inner"])==null?void 0:$.call(a,h.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",S.value],style:F.value},[V&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),y.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(On,{ref:W,floating:!0,for:b.value},{default:()=>[C()]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),O.value&&y.value&&e.createVNode(On,{ref:W,floating:!0,for:b.value},{default:()=>[C()]})])])}),{controlRef:E}}});function na(n){return Xo(n,Object.keys(Kt.props).filter(o=>!vt(o)&&o!=="class"&&o!=="style"))}const Wr=["color","file","time","date","datetime-local","week","month"],ta=G({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...kn(),...Xt()},"VTextField"),kt=Y()({name:"VTextField",directives:{Intersect:Wt},inheritAttrs:!1,props:ta(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const i=te(n,"modelValue"),{isFocused:d,focus:c,blur:u}=wn(n),r=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):typeof n.counterValue=="number"?n.counterValue:(i.value??"").toString().length),s=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),v=e.computed(()=>["plain","underlined"].includes(n.variant));function p(O,L){var _,S;n.autofocus&&O&&((S=(_=L[0].target)==null?void 0:_.focus)==null||S.call(_))}const m=e.ref(),f=e.ref(),y=e.ref(),g=e.computed(()=>Wr.includes(n.type)||n.persistentPlaceholder||d.value||n.active);function b(){var O;y.value!==document.activeElement&&((O=y.value)==null||O.focus()),d.value||c()}function x(O){l("mousedown:control",O),O.target!==y.value&&(b(),O.preventDefault())}function P(O){b(),l("click:control",O)}function W(O){O.stopPropagation(),b(),e.nextTick(()=>{i.value=null,Zo(n["onClick:clear"],O)})}function E(O){var _;const L=O.target;if(i.value=L.value,((_=n.modelModifiers)==null?void 0:_.trim)&&["text","search","password","tel","url"].includes(n.type)){const S=[L.selectionStart,L.selectionEnd];e.nextTick(()=>{L.selectionStart=S[0],L.selectionEnd=S[1]})}}return J(()=>{const O=!!(a.counter||n.counter!==!1&&n.counter!=null),L=!(!O&&!a.details),[_,S]=yn(t),{modelValue:F,...h}=we.filterProps(n),B=na(n);return e.createVNode(we,e.mergeProps({ref:m,modelValue:i.value,"onUpdate:modelValue":V=>i.value=V,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-input--plain-underlined":v.value},n.class],style:n.style},_,h,{centerAffix:!v.value,focused:d.value}),{...a,default:V=>{let{id:D,isDisabled:j,isDirty:T,isReadonly:C,isValid:w}=V;return e.createVNode(Kt,e.mergeProps({ref:f,onMousedown:x,onClick:P,"onClick:clear":W,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},B,{id:D.value,active:g.value||T.value,dirty:T.value||n.dirty,disabled:j.value,focused:d.value,error:w.value===!1}),{...a,default:R=>{let{props:{class:$,...U}}=R;const A=e.withDirectives(e.createVNode("input",e.mergeProps({ref:y,value:i.value,onInput:E,autofocus:n.autofocus,readonly:C.value,disabled:j.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:b,onBlur:u},U,S),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),a.default?e.createVNode("div",{class:$,"data-no-activator":""},[a.default(),A]):e.cloneVNode(A,{class:$}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:L?V=>{var D;return e.createVNode(e.Fragment,null,[(D=a.details)==null?void 0:D.call(a,V),O&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ea,{active:n.persistentCounter||d.value,value:r.value,max:s.value},a.counter)])])}:void 0})}),Qn({},m,f,y)}}),jr=G({renderless:Boolean,...Z()},"VVirtualScrollItem"),Ur=Y()({name:"VVirtualScrollItem",inheritAttrs:!1,props:jr(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{resizeRef:i,contentRect:d}=Lt(void 0,"border");e.watch(()=>{var c;return(c=d.value)==null?void 0:c.height},c=>{c!=null&&l("update:height",c)}),J(()=>{var c,u;return n.renderless?e.createVNode(e.Fragment,null,[(c=a.default)==null?void 0:c.call(a,{itemRef:i})]):e.createVNode("div",e.mergeProps({ref:i,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(u=a.default)==null?void 0:u.call(a)])})}}),Gr=G({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function qr(n,o){const t=Kl(),l=e.shallowRef(0);e.watchEffect(()=>{l.value=parseFloat(n.itemHeight||0)});const a=e.shallowRef(0),i=e.shallowRef(Math.ceil((parseInt(n.height)||t.height.value)/(l.value||16))||1),d=e.shallowRef(0),c=e.shallowRef(0),u=e.ref(),r=e.ref();let s=0;const{resizeRef:v,contentRect:p}=Lt();e.watchEffect(()=>{v.value=u.value});const m=e.computed(()=>{var T;return u.value===document.documentElement?t.height.value:((T=p.value)==null?void 0:T.height)||parseInt(n.height)||0}),f=e.computed(()=>!!(u.value&&r.value&&m.value&&l.value));let y=Array.from({length:o.value.length}),g=Array.from({length:o.value.length});const b=e.shallowRef(0);let x=-1;function P(T){return y[T]||l.value}const W=function(T,C){let w=0;const R=function(){for(var $=arguments.length,U=new Array($),A=0;A<$;A++)U[A]=arguments[A];clearTimeout(w),w=setTimeout(()=>T(...U),e.unref(C))};return R.clear=()=>{clearTimeout(w)},R.immediate=T,R}(()=>{const T=performance.now();g[0]=0;const C=o.value.length;for(let w=1;w<=C-1;w++)g[w]=(g[w-1]||0)+P(w-1);b.value=Math.max(b.value,performance.now()-T)},b),E=e.watch(f,T=>{T&&(E(),s=r.value.offsetTop,W.immediate(),B(),~x&&e.nextTick(()=>{ue&&window.requestAnimationFrame(()=>{D(x),x=-1})}))});function O(T){return T=Le(T,0,o.value.length-1),g[T]||0}function L(T){return function(C,w){let R=C.length-1,$=0,U=0,A=null,M=-1;if(C[R]>1,A=C[U],A>w)R=U-1;else{if(!(A{C&&B()}),e.onScopeDispose(()=>{W.clear()});let _=0,S=0,F=0,h=-1;function B(){cancelAnimationFrame(h),h=requestAnimationFrame(V)}function V(){if(!u.value||!m.value)return;const T=_-s,C=Math.sign(S),w=Le(L(Math.max(0,T-100)),0,o.value.length),R=Le(L(T+m.value+100)+1,w+1,o.value.length);if((C!==-1||wi.value)){const $=O(a.value)-O(w),U=O(R)-O(i.value);Math.max($,U)>100?(a.value=w,i.value=R):(w<=0&&(a.value=w),R>=o.value.length&&(i.value=R))}d.value=O(a.value),c.value=O(o.value.length)-O(i.value)}function D(T){const C=O(T);!u.value||T&&!C?x=T:u.value.scrollTop=C}const j=e.computed(()=>o.value.slice(a.value,i.value).map((T,C)=>({raw:T,index:C+a.value})));return e.watch(o,()=>{y=Array.from({length:o.value.length}),g=Array.from({length:o.value.length}),W.immediate(),B()},{deep:!0}),{containerRef:u,markerRef:r,computedItems:j,paddingTop:d,paddingBottom:c,scrollToIndex:D,handleScroll:function(){if(!u.value||!r.value)return;const T=u.value.scrollTop,C=performance.now();C-F>500?(S=Math.sign(T-_),s=r.value.offsetTop):S=T-_,_=T,F=C,B()},handleScrollend:function(){u.value&&r.value&&(S=0,F=0,B())},handleItemResize:function(T,C){const w=y[T],R=l.value;l.value=R?Math.min(l.value,C):C,w===C&&R===l.value||(y[T]=C,W())}}}const Hr=G({items:{type:Array,default:()=>[]},renderless:Boolean,...Gr(),...Z(),...Oe()},"VVirtualScroll"),Yr=Y()({name:"VVirtualScroll",props:Hr(),setup(n,o){let{slots:t}=o;const l=oe("VVirtualScroll"),{dimensionStyles:a}=Ee(n),{containerRef:i,markerRef:d,handleScroll:c,handleScrollend:u,handleItemResize:r,scrollToIndex:s,paddingTop:v,paddingBottom:p,computedItems:m}=qr(n,e.toRef(n,"items"));return Ae(()=>n.renderless,()=>{function f(){var g,b;const y=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";i.value===document.documentElement?(document[y]("scroll",c,{passive:!0}),document[y]("scrollend",u)):((g=i.value)==null||g[y]("scroll",c,{passive:!0}),(b=i.value)==null||b[y]("scrollend",u))}e.onMounted(()=>{i.value=rl(l.vnode.el,!0),f(!0)}),e.onScopeDispose(f)}),J(()=>{const f=m.value.map(y=>e.createVNode(Ur,{key:y.index,renderless:n.renderless,"onUpdate:height":g=>r(y.index,g)},{default:g=>{var b;return(b=t.default)==null?void 0:b.call(t,{item:y.raw,index:y.index,...g})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:d,class:"v-virtual-scroll__spacer",style:{paddingTop:X(v.value)}},null),f,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:X(p.value)}},null)]):e.createVNode("div",{ref:i,class:["v-virtual-scroll",n.class],onScrollPassive:c,onScrollend:u,style:[a.value,n.style]},[e.createVNode("div",{ref:d,class:"v-virtual-scroll__container",style:{paddingTop:X(v.value),paddingBottom:X(p.value)}},[f])])}),{scrollToIndex:s}}});function Xr(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(a){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(a){var c,u;if(a.key==="Tab"&&((c=o.value)==null||c.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const i=(u=n.value)==null?void 0:u.$el;if(!i)return;a.key!=="Home"&&a.key!=="End"||i.scrollTo({top:a.key==="Home"?0:i.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(r=>requestAnimationFrame(r)),await new Promise(r=>requestAnimationFrame(r)),await new Promise(r=>requestAnimationFrame(r)),await new Promise(r=>{if(t.value){const s=e.watch(t,()=>{s(),r()})}else r()})}();const d=i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const r=i.getBoundingClientRect().top;for(const s of d)if(s.getBoundingClientRect().top>=r){s.focus();break}}else{const r=i.getBoundingClientRect().bottom;for(const s of[...d].reverse())if(s.getBoundingClientRect().bottom<=r){s.focus();break}}}}}const Kr=G({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:Q,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...ql({itemChildren:!1})},"Select"),Jr=G({...Kr(),..._e(ta({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...bn({transition:{component:cl}})},"VSelect"),Zr=Y()({name:"VSelect",props:Jr(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=Mt(),a=e.ref(),i=e.ref(),d=e.ref(),c=te(n,"menu"),u=e.computed({get:()=>c.value,set:C=>{var w;c.value&&!C&&((w=i.value)!=null&&w.ΨopenChildren)||(c.value=C)}}),{items:r,transformIn:s,transformOut:v}=function(C){const w=e.computed(()=>Hl(C,C.items)),R=e.computed(()=>w.value.some($=>$.value===null));return{items:w,transformIn:function($){return R.value||($=$.filter(U=>U!==null)),$.map(U=>C.returnObject&&typeof U=="string"?Vt(C,U):w.value.find(A=>C.valueComparator(U,A.value))||Vt(C,U))},transformOut:function($){return C.returnObject?$.map(U=>{let{raw:A}=U;return A}):$.map(U=>{let{value:A}=U;return A})}}}(n),p=te(n,"modelValue",[],C=>s(C===null?[null]:be(C)),C=>{const w=v(C);return n.multiple?w:w[0]??null}),m=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(p.value):typeof n.counterValue=="number"?n.counterValue:p.value.length),f=Rl(),y=e.computed(()=>p.value.map(C=>C.value)),g=e.shallowRef(!1),b=e.computed(()=>u.value?n.closeText:n.openText);let x,P="";const W=e.computed(()=>n.hideSelected?r.value.filter(C=>!p.value.some(w=>w===C)):r.value),E=e.computed(()=>n.hideNoData&&!r.value.length||n.readonly||(f==null?void 0:f.isReadonly.value)),O=e.ref(),{onListScroll:L,onListKeydown:_}=Xr(O,a);function S(C){n.openOnClear&&(u.value=!0)}function F(){E.value||(u.value=!u.value)}function h(C){var $,U;if(!C.key||n.readonly||f!=null&&f.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(C.key)&&C.preventDefault(),["Enter","ArrowDown"," "].includes(C.key)&&(u.value=!0),["Escape","Tab"].includes(C.key)&&(u.value=!1),C.key==="Home"?($=O.value)==null||$.focus("first"):C.key==="End"&&((U=O.value)==null||U.focus("last")),n.multiple||!function(A){const M=A.key.length===1,N=!A.ctrlKey&&!A.metaKey&&!A.altKey;return M&&N}(C)))return;const w=performance.now();w-x>1e3&&(P=""),P+=C.key.toLowerCase(),x=w;const R=r.value.find(A=>A.title.toLowerCase().startsWith(P));R!==void 0&&(p.value=[R])}function B(C){if(n.multiple){const w=p.value.findIndex(R=>n.valueComparator(R.value,C.value));if(w===-1)p.value=[...p.value,C];else{const R=[...p.value];R.splice(w,1),p.value=R}}else p.value=[C],u.value=!1}function V(C){var w;(w=O.value)!=null&&w.$el.contains(C.relatedTarget)||(u.value=!1)}function D(){var C;g.value&&((C=a.value)==null||C.focus())}function j(C){g.value=!0}function T(C){if(C==null)p.value=[];else if(Ln(a.value,":autofill")||Ln(a.value,":-webkit-autofill")){const w=r.value.find(R=>R.title===C);w&&B(w)}else a.value&&(a.value.value="")}return e.watch(u,()=>{if(!n.hideSelected&&u.value&&p.value.length){const C=W.value.findIndex(w=>p.value.some(R=>n.valueComparator(R.value,w.value)));ue&&window.requestAnimationFrame(()=>{var w;C>=0&&((w=d.value)==null||w.scrollToIndex(C))})}}),J(()=>{const C=!(!n.chips&&!t.chip),w=!!(!n.hideNoData||W.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),R=p.value.length>0,$=kt.filterProps(n),U=R||!g.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(kt,e.mergeProps({ref:a},$,{modelValue:p.value.map(A=>A.props.value).join(", "),"onUpdate:modelValue":T,focused:g.value,"onUpdate:focused":A=>g.value=A,validationValue:p.externalValue,counterValue:m.value,dirty:R,class:["v-select",{"v-select--active-menu":u.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:U,"onClick:clear":S,"onMousedown:control":F,onBlur:V,onKeydown:h,"aria-label":l(b.value),title:l(b.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(Rr,e.mergeProps({ref:i,modelValue:u.value,"onUpdate:modelValue":A=>u.value=A,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:D},n.menuProps),{default:()=>[w&&e.createVNode(kr,{ref:O,selected:y.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:A=>A.preventDefault(),onKeydown:_,onFocusin:j,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var A,M,N;return[(A=t["prepend-item"])==null?void 0:A.call(t),!W.value.length&&!n.hideNoData&&(((M=t["no-data"])==null?void 0:M.call(t))??e.createVNode(Hn,{title:l(n.noDataText)},null)),e.createVNode(Yr,{ref:d,renderless:!0,items:W.value},{default:I=>{var ne;let{item:k,index:z,itemRef:q}=I;const H=e.mergeProps(k.props,{ref:q,key:z,onClick:()=>B(k)});return((ne=t.item)==null?void 0:ne.call(t,{item:k,index:z,props:H}))??e.createVNode(Hn,e.mergeProps(H,{role:"option"}),{prepend:ie=>{let{isSelected:ae}=ie;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(bt,{key:k.value,modelValue:ae,ripple:!1,tabindex:"-1"},null):void 0,k.props.prependIcon&&e.createVNode(ee,{icon:k.props.prependIcon},null)])}})}}),(N=t["append-item"])==null?void 0:N.call(t)]}})]}),p.value.map((A,M)=>{const N={"onClick:close":function(z){z.stopPropagation(),z.preventDefault(),B(A)},onMousedown(z){z.preventDefault(),z.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},I=C?!!t.chip:!!t.selection,k=I?el(C?t.chip({item:A,index:M,props:N}):t.selection({item:A,index:M})):void 0;if(!I||k)return e.createVNode("div",{key:A.value,class:"v-select__selection"},[C?t.chip?e.createVNode(re,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:A.title}}},{default:()=>[k]}):e.createVNode(ur,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:A.title,disabled:A.props.disabled},N),null):k??e.createVNode("span",{class:"v-select__selection-text"},[A.title,n.multiple&&M{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),ei=gn("v-card-subtitle"),ni=gn("v-card-title"),ti=G({appendAvatar:String,appendIcon:Q,prependAvatar:String,prependIcon:Q,subtitle:[String,Number],title:[String,Number],...Z(),...ge()},"VCardItem"),oi=Y()({name:"VCardItem",props:ti(),setup(n,o){let{slots:t}=o;return J(()=>{var r;const l=!(!n.prependAvatar&&!n.prependIcon),a=!(!l&&!t.prepend),i=!(!n.appendAvatar&&!n.appendIcon),d=!(!i&&!t.append),c=!(n.title==null&&!t.title),u=!(n.subtitle==null&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[a&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(re,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(We,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[c&&e.createVNode(ni,{key:"title"},{default:()=>{var s;return[((s=t.title)==null?void 0:s.call(t))??n.title]}}),u&&e.createVNode(ei,{key:"subtitle"},{default:()=>{var s;return[((s=t.subtitle)==null?void 0:s.call(t))??n.subtitle]}}),(r=t.default)==null?void 0:r.call(t)]),d&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(re,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):i&&e.createVNode(We,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),ze=gn("v-card-text"),li=G({appendAvatar:String,appendIcon:Q,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Q,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...He(),...Z(),...ge(),...Oe(),...Xe(),...qt(),...Ut(),...Il(),...Se(),...Zn(),...pe(),...le(),...xe({variant:"elevated"})},"VCard"),Je=Y()({name:"VCard",directives:{Ripple:Bn},props:li(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=se(n),{borderClasses:i}=Ye(n),{colorClasses:d,colorStyles:c,variantClasses:u}=Sn(n),{densityClasses:r}=Ie(n),{dimensionStyles:s}=Ee(n),{elevationClasses:v}=Ke(n),{loaderClasses:p}=Kn(n),{locationStyles:m}=Gt(n),{positionClasses:f}=Bl(n),{roundedClasses:y}=Ve(n),g=Jn(n,t),b=e.computed(()=>n.link!==!1&&g.isLink.value),x=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||g.isClickable.value));return J(()=>{const P=b.value?"a":n.tag,W=!(!l.title&&n.title==null),E=!(!l.subtitle&&n.subtitle==null),O=W||E,L=!!(l.append||n.appendAvatar||n.appendIcon),_=!!(l.prepend||n.prependAvatar||n.prependIcon),S=!(!l.image&&!n.image),F=O||_||L,h=!(!l.text&&n.text==null);return e.withDirectives(e.createVNode(P,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":x.value},a.value,i.value,d.value,r.value,v.value,p.value,f.value,y.value,u.value,n.class],style:[c.value,s.value,m.value,n.style],href:g.href.value,onClick:x.value&&g.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var B;return[S&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(re,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(fl,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(Ht,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),F&&e.createVNode(oi,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),h&&e.createVNode(ze,{key:"text"},{default:()=>{var V;return[((V=l.text)==null?void 0:V.call(l))??n.text]}}),(B=l.default)==null?void 0:B.call(l),l.actions&&e.createVNode(Qr,null,{default:l.actions}),Cn(x.value,"v-card")]}}),[[e.resolveDirective("ripple"),x.value&&n.ripple]])}),{}}}),ai=G({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...kn(),...Yt()},"VSwitch"),ri=Y()({name:"VSwitch",inheritAttrs:!1,props:ai(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=te(n,"indeterminate"),i=te(n,"modelValue"),{loaderClasses:d}=Kn(n),{isFocused:c,focus:u,blur:r}=wn(n),s=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=fe(),m=e.computed(()=>n.id||`switch-${p}`);function f(){a.value&&(a.value=!1)}function y(g){var b,x;g.stopPropagation(),g.preventDefault(),(x=(b=s.value)==null?void 0:b.input)==null||x.click()}return J(()=>{const[g,b]=yn(t),x=we.filterProps(n),P=qn.filterProps(n);return e.createVNode(we,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":a.value},d.value,n.class]},g,x,{modelValue:i.value,"onUpdate:modelValue":W=>i.value=W,id:m.value,focused:c.value,style:n.style}),{...l,default:W=>{let{id:E,messagesId:O,isDisabled:L,isReadonly:_,isValid:S}=W;return e.createVNode(qn,e.mergeProps({ref:s},P,{modelValue:i.value,"onUpdate:modelValue":[F=>i.value=F,f],id:E.value,"aria-describedby":O.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:L.value,readonly:_.value,onFocus:u,onBlur:r},b),{...l,default:F=>{let{backgroundColorClasses:h,backgroundColorStyles:B}=F;return e.createVNode("div",{class:["v-switch__track",...h.value],style:B.value,onClick:y},null)},input:F=>{let{inputNode:h,icon:B,backgroundColorClasses:V,backgroundColorStyles:D}=F;return e.createVNode(e.Fragment,null,[h,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":B||n.loading},n.inset?void 0:V.value],style:n.inset?void 0:D.value},[e.createVNode(za,null,{default:()=>[n.loading?e.createVNode(Ht,{name:"v-switch",active:!0,color:S.value===!1?void 0:v.value},{default:j=>l.loader?l.loader(j):e.createVNode(Vl,{active:j.isActive,color:j.color,indeterminate:!0,size:"16",width:"2"},null)}):B&&e.createVNode(ee,{key:B,icon:B,size:"x-small"},null)]})])])}})}})}),{}}}),ii=G({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...kn(),...Xt()},"VTextarea"),si=Y()({name:"VTextarea",directives:{Intersect:Wt},inheritAttrs:!1,props:ii(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const i=te(n,"modelValue"),{isFocused:d,focus:c,blur:u}=wn(n),r=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(i.value):(i.value||"").toString().length),s=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(h,B){var V,D;n.autofocus&&h&&((D=(V=B[0].target)==null?void 0:V.focus)==null||D.call(V))}const p=e.ref(),m=e.ref(),f=e.shallowRef(""),y=e.ref(),g=e.computed(()=>n.persistentPlaceholder||d.value||n.active);function b(){var h;y.value!==document.activeElement&&((h=y.value)==null||h.focus()),d.value||c()}function x(h){b(),l("click:control",h)}function P(h){l("mousedown:control",h)}function W(h){h.stopPropagation(),b(),e.nextTick(()=>{i.value="",Zo(n["onClick:clear"],h)})}function E(h){var V;const B=h.target;if(i.value=B.value,(V=n.modelModifiers)==null?void 0:V.trim){const D=[B.selectionStart,B.selectionEnd];e.nextTick(()=>{B.selectionStart=D[0],B.selectionEnd=D[1]})}}const O=e.ref(),L=e.ref(+n.rows),_=e.computed(()=>["plain","underlined"].includes(n.variant));function S(){n.autoGrow&&e.nextTick(()=>{if(!O.value||!m.value)return;const h=getComputedStyle(O.value),B=getComputedStyle(m.value.$el),V=parseFloat(h.getPropertyValue("--v-field-padding-top"))+parseFloat(h.getPropertyValue("--v-input-padding-top"))+parseFloat(h.getPropertyValue("--v-field-padding-bottom")),D=O.value.scrollHeight,j=parseFloat(h.lineHeight),T=Le(D??0,Math.max(parseFloat(n.rows)*j+V,parseFloat(B.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*j+V||1/0);L.value=Math.floor((T-V)/j),f.value=X(T)})}let F;return e.watchEffect(()=>{n.autoGrow||(L.value=+n.rows)}),e.onMounted(S),e.watch(i,S),e.watch(()=>n.rows,S),e.watch(()=>n.maxRows,S),e.watch(()=>n.density,S),e.watch(O,h=>{h?(F=new ResizeObserver(S),F.observe(O.value)):F==null||F.disconnect()}),e.onBeforeUnmount(()=>{F==null||F.disconnect()}),J(()=>{const h=!!(a.counter||n.counter||n.counterValue),B=!(!h&&!a.details),[V,D]=yn(t),{modelValue:j,...T}=we.filterProps(n),C=na(n);return e.createVNode(we,e.mergeProps({ref:p,modelValue:i.value,"onUpdate:modelValue":w=>i.value=w,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-input--plain-underlined":_.value},n.class],style:n.style},V,T,{centerAffix:L.value===1&&!_.value,focused:d.value}),{...a,default:w=>{let{id:R,isDisabled:$,isDirty:U,isReadonly:A,isValid:M}=w;return e.createVNode(Kt,e.mergeProps({ref:m,style:{"--v-textarea-control-height":f.value},onClick:x,onMousedown:P,"onClick:clear":W,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},C,{id:R.value,active:g.value||U.value,centerAffix:L.value===1&&!_.value,dirty:U.value||n.dirty,disabled:$.value,focused:d.value,error:M.value===!1}),{...a,default:N=>{let{props:{class:I,...k}}=N;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:y,class:I,value:i.value,onInput:E,autofocus:n.autofocus,readonly:A.value,disabled:$.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:b,onBlur:u},k,D),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[I,"v-textarea__sizer"],id:`${k.id}-sizer`,"onUpdate:modelValue":z=>i.value=z,ref:O,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,i.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:B?w=>{var R;return e.createVNode(e.Fragment,null,[(R=a.details)==null?void 0:R.call(a,w),h&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ea,{active:n.persistentCounter||d.value,value:r.value,max:s.value},a.counter)])])}:void 0})}),Qn({},p,m,y)}}),oa=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),a=e.computed(()=>ve({icon:o.iconFalse,iconOptions:t,name:"false"})),i=e.computed(()=>ve({icon:o.iconTrue,iconOptions:t,name:"true"}));return(d,c)=>l.value?(e.openBlock(),e.createBlock(e.unref(ee),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:d.iconTrueColor,icon:e.unref(i),size:"x-small",title:d.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ee),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:d.iconFalseColor,icon:e.unref(a),size:"x-small",title:d.iconFalseTitle},null,8,["color","icon","title"]))}}),K="v-inline-fields",Ze=n=>{const{cell:o=!1,field:t="",density:l="",disabled:a=!1,iconSet:i="mdi",loading:d=!1,loadingWait:c,tableField:u=!1,variant:r}=n,s=l&&r;return{[`${K}`]:!0,[`${K}--container`]:!0,[`${K}--container-cell`]:o,[`${K}--container-disabled`]:e.unref(a),[`${K}--container-table`]:u,[`${K}--container-icon-set-${i}`]:!0,[`${K}--container-loading`]:d&&c,[`${K}--container-${t}`]:!0,[`${K}--container-${t}-${l}`]:!0,[`${K}--container-${t}-${l}-${r}`]:s,[`${K}--container-${t}-${r}`]:r,[`${K}--container-${t}-${r}-${l}`]:s,[`${K}--container-${l}`]:l,[`${K}--container-${l}-${t}`]:l,[`${K}--container-${l}-${r}`]:s,[`${K}--container-${r}`]:r,[`${K}--container-${r}-${l}`]:s,[`${K}--container-${r}-${t}`]:r}},Qe=n=>{const{cell:o=!1,cellUnderlineFullWidth:t=!0,field:l="",density:a=""}=n;return{[`${K}--display-container-cell`]:o,[`${K}--display-container-cell-underline-full-width`]:o&&t,[`${K}--display-container`]:!0,[`${K}--display-wrapper-value`]:!0,[`${l}`]:!0,"v-input":!0,[`v-input--density-${a}`]:!0,"v-input--horizontal":!0}},et=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},la=n=>{const{density:o=""}=n;return{[`${K}--selection-control`]:!0,[`v-selection-control--density-${o}`]:!0}},Jt=(n,o,t)=>{const{error:l=!1,empty:a=!1}=t;return{[`${K}`]:!0,[`${K}--display-value-${n}`]:!0,[`${K}--display-value`]:!0,[`${K}--display-value-empty`]:e.unref(a),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},en=n=>{const{name:o,active:t=!1}=n;return{[`${K}`]:!0,[`${K}--field`]:!0,[`${K}--field-${o}`]:!0,[`${K}--field-active`]:t}},nn=n=>{const{name:o,showField:t}=n;return{[`${K}--card-container`]:!0,[`${K}--card-container-${o}`]:!0,"d-none":!t}};function Go(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function qo(n){let o=function(v){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let m=v;return Object.entries(p).forEach(([f,y])=>{v.toLowerCase()!=f.toLowerCase()||(m=y)}),m}(n),t=0,l=0,a=0,i=100,d=0,c=0,u=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(b=>b+b).join(""));const m=parseInt(p.substring(0,2),16),f=parseInt(p.substring(2,4),16),y=parseInt(p.substring(4,6),16);return[m,f,y,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],a=o[2],i=Go(o[3]),`${t} ${l}% ${a}% / ${i}%`;[d,c,u,i]=o,d/=255,c/=255,u/=255,i=Go(i);const r=Math.max(d,c,u),s=Math.min(d,c,u);if(r===null||!s===null||isNaN(r)||isNaN(s)){const v="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(t=(r+s)/2,l=(r+s)/2,a=(r+s)/2,r==s)t=l=0;else{const v=r-s;switch(l=a>.5?v/(2-r-s):v/(r+s),r){case d:t=(c-u)/v+(c{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,a){const i=a.global.current.value.colors;return Object.entries(i).find(([d])=>d===l)}(n,o);return t?`hsl(${qo(t[1])})`:`hsl(${qo(n)})`},sn=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},aa=n=>{var a;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((a=l==null?void 0:l.toLowerCase)==null?void 0:a.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},Zt=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:a,theme:i,underlined:d}=n;let{underlineColor:c}=n;c=c||l;const u={"border-bottom-color":ui(c,i),"border-bottom-style":o,"border-bottom-width":t};return e.unref(a)&&(u["border-bottom-color"]="rgb(var(--v-theme-danger))"),d||(u["border-bottom"]="none"),u},Pe=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:a,field:i,name:d=""}=n,c=(s=>{const{cardOffsetX:v,cardOffsetY:p,field:m}=s;if(!m)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:f,y}=m.getBoundingClientRect(),{width:g,height:b}=m.getBoundingClientRect(),{right:x,bottom:P}=m.getBoundingClientRect();return{bottom:sn({str:P+Number(p)}),height:b,left:sn({str:0+Number(v)}),right:sn({str:x+Number(v)}),top:sn({str:2+Number(p)}),width:sn({str:g}),x:f,y}})({cardOffsetX:t,cardOffsetY:l,field:i});let u=o,r=a;return r||(r=d==="checkbox"?"fit-content":c.width),u||(u=d==="checkbox"?"fit-content":c.width),{left:c.left,top:c.top,width:r,zIndex:10}},nt=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,a=e.useSlots(),i=Ot.useTheme(),d={displayValue:l.displayValue,empty:l.empty,error:l.error},c=e.computed(()=>Jt(l.field,l.valueColor,{empty:l.empty,error:l.error})),u=e.computed(()=>Zt({color:l.color,error:l.error,theme:i,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),r=e.computed(()=>(p=>{const{underlineWidth:m}=p;return{borderBottom:`${m||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),s=(p,m=!1)=>(f=>{const{inner:y=!1,position:g}=f;return{[`${K}--display-icon`]:!y,[`${K}--display-${g}-icon`]:!y,[`${K}--display-${g}-inner-icon`]:y,"me-1":g==="prepend","ms-1":g==="append"}})({inner:m,position:p});function v(){t("toggleField")}return(p,m)=>(e.openBlock(),e.createElementBlock("div",{class:"v-inline-fields--display-wrapper",onClick:v},[p.displayPrependIcon||e.unref(a)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(s("prepend")),style:e.normalizeStyle(e.unref(r))},[e.unref(a)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},d))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(c)]),style:e.normalizeStyle(e.unref(u))},[p.displayPrependInnerIcon||e.unref(a)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(s("prepend",!0))},[e.unref(a)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},d))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(a)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(s("append",!0))},[e.unref(a)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},d))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(a)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(s("append")),style:e.normalizeStyle(e.unref(r))},[e.unref(a)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},d))):(e.openBlock(),e.createBlock(ee,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),xn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideSaveIcon:{type:Boolean},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},cancelIcon:{},loadingIcon:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,a=n,i=e.inject(Symbol.for("vuetify:icons")),d=e.computed(()=>a.error),c=e.computed(()=>({[`${K}--save-fields-container`]:!0})),u=e.computed(()=>a.loading),r=e.reactive({...t,...a}),s=e.computed(()=>(i==null?void 0:i.defaultSet)==="fa"?"fa-spin":(i==null?void 0:i.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(b=>{const{cancelButtonVariant:x}=b;return{"me-1":x==="elevated","ms-1":!0}})({cancelButtonVariant:r.cancelButtonVariant})),p=e.computed(()=>ve({icon:a.cancelIcon,iconOptions:i,name:"false"})),m=e.computed(()=>ve({icon:a.loadingIcon,iconOptions:i,name:"loading"})),f=e.computed(()=>ve({icon:a.saveIcon,iconOptions:i,name:"save"}));function y(){l("close")}function g(){l("save")}return(b,x)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(c)},b.$attrs),[e.unref(r).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-1",color:e.unref(r).saveButtonColor,disabled:e.unref(d),icon:"",size:e.unref(r).saveButtonSize,title:e.unref(u)?"Loading":e.unref(r).saveButtonTitle,variant:e.unref(r).saveButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(u)?(e.openBlock(),e.createBlock(ee,{key:1,class:e.normalizeClass(e.unref(s)),color:e.unref(r).loadingIconColor,icon:e.unref(m)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:0,color:e.unref(d)?"error":e.unref(r).saveIconColor,icon:e.unref(f)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.unref(r).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:1,class:e.normalizeClass(e.unref(v)),color:e.unref(r).cancelButtonColor,icon:"",size:e.unref(r).cancelButtonSize,title:e.unref(r).cancelButtonTitle,variant:e.unref(r).cancelButtonVariant,onClick:y},{default:e.withCtx(()=>[e.unref(r).hideSaveIcon&&e.unref(u)?(e.openBlock(),e.createBlock(ee,{key:0,class:e.normalizeClass(e.unref(s)),color:e.unref(r).loadingIconColor,icon:e.unref(m)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ee,{key:1,class:"text-default",color:e.unref(r).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"]))],16))}}),tt=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const a=[];let i=!1;if(o&&!l)return a.push("Field is required."),{errors:!0,results:a};if(t){for(const d of t){const c=(typeof d=="function"?d:()=>d)(l);c!==!0&&(typeof c=="string"?a.push(c):console.warn(`${c} is not a valid value. Rule functions must return boolean true or a string.`))}i=a.length>0}return{errors:i,results:a}},tn=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:a,showField:i,timeOpened:d}=n;let c=d;return t&&!l&&(c=new Date),{settings:{...o,...a},showField:!e.unref(i),timeOpened:c}},Qt=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l},on=["error","update","update:closeSiblingFields","update:model-value"],ci=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],Fn=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!ci.includes(t)),Object.fromEntries(o)},di={class:"v-selection-control__wrapper"},xt=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ya}),{modelValue:{}}),emits:e.mergeModels([...on],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),i=o,d=e.inject(ke,{}),c=e.inject(Symbol.for("vuetify:icons")),u=Ot.useTheme(),r=n;let s=e.reactive({...l,...r,...d});const v=e.computed(()=>r.loading),p=e.computed(()=>r.disabled),m=e.ref(!1),f=e.ref(!1),y=e.ref(null),g=e.computed(()=>Fn(s)),b=e.computed(()=>({...Ue,...r.cardProps}));e.watch(()=>v.value,(I,k)=>{!I&&k&&f.value&&$()});const x=e.computed(()=>ve({icon:r.trueIcon,iconOptions:c,name:"checkboxFalse"})),P=e.computed(()=>ve({icon:r.iconTrue,iconOptions:c,name:"checkboxTrue"})),W=e.computed(()=>t.value==s.trueValue),E=e.computed(()=>aa({modelValue:t,trueValue:s.trueValue})),O=e.computed(()=>Ze({cell:s.cell&&!f.value,density:s.density,disabled:p.value,field:"v-checkbox",loading:v.value,loadingWait:s.loadingWait,tableField:s.tableField})),L=e.computed(()=>Qe({cell:s.cell,cellUnderlineFullWidth:s.cellUnderlineFullWidth,density:s.density,field:"v-checkbox"})),_=la({density:s.density}),S=e.computed(()=>en({active:f.value,name:"checkbox"})),F=e.computed(()=>Jt("checkbox",s.valueColor,{error:m})),h=e.computed(()=>nn({name:"checkbox",showField:f.value})),B=e.computed(()=>({})),V=e.computed(()=>Zt({color:s.color,error:m,theme:u,underlineColor:s.underlineColor,underlineStyle:s.underlineStyle,underlineWidth:s.underlineWidth,underlined:s.underlined})),D=e.computed(()=>T.value);function j(){m.value=!1,$()}const T=e.ref(),C=e.ref(null),w=e.ref("body"),R=ma.useWindowSize();function $(){var k,z;if(p.value||s.loadingWait&&v.value)return;T.value=Pe({cardMinWidth:(k=s.cardProps)==null?void 0:k.minWidth,cardOffsetX:s.cardOffsetX,cardOffsetY:s.cardOffsetY,cardWidth:(z=s.cardProps)==null?void 0:z.width,field:C.value,name:"checkbox"});const I=tn({attrs:l,closeSiblings:s.closeSiblings,fieldOnly:s.fieldOnly,props:r,showField:f,timeOpened:y.value});s={...s,...I.settings},f.value=I.showField,y.value=I.timeOpened,A!==null&&s.closeSiblings&&f.value&&!s.fieldOnly&&A.emit(I.timeOpened)}function U(I){t.value=I,i("update",I),s.loadingWait||$()}let A,M;function N(I){i("update:closeSiblingFields",y),f.value&&y.value!==I&&$()}return e.watch(()=>R,()=>{var I,k;T.value=Pe({cardMinWidth:(I=s.cardProps)==null?void 0:I.minWidth,cardOffsetX:s.cardOffsetX,cardOffsetY:s.cardOffsetY,cardWidth:(k=s.cardProps)==null?void 0:k.width,field:C.value,name:"checkbox"})},{deep:!0}),s.closeSiblings&&import("@vueuse/core").then(({useEventBus:I})=>{A=I(je),M=A.on(N)}),e.onUnmounted(()=>{M!==void 0&&A.off(N)}),(I,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:C,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(B))},[!e.unref(f)&&!e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(L)),onClick:k[2]||(k[2]=z=>e.unref(s).cell?$():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(_)),onClick:k[1]||(k[1]=z=>e.unref(s).cell?void 0:$())},[e.createElementVNode("div",di,[I.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(F)]),style:e.normalizeStyle(e.unref(V))},[e.createVNode(e.unref(oa),{modelValue:e.unref(E),"onUpdate:modelValue":k[0]||(k[0]=z=>e.isRef(E)?E.value=z:null),"icon-false":e.unref(s).iconFalse,"icon-false-color":e.unref(s).iconFalseColor,"icon-false-title":e.unref(s).iconFalseTitle,"icon-true":e.unref(s).iconTrue,"icon-true-color":e.unref(s).iconTrueColor,"icon-true-title":e.unref(s).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(F)]),style:e.normalizeStyle(e.unref(V))},e.toDisplayString(e.unref(W)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(f)||e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(S))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(s).cardField,to:e.unref(w)},[e.createVNode(ar,e.mergeProps(e.unref(g),{color:e.unref(s).color,density:e.unref(s).density,disabled:e.unref(v)||e.unref(p),error:e.unref(m),"false-icon":e.unref(x),"false-value":e.unref(s).falseValue,"hide-details":e.unref(s).hideDetails,label:e.unref(s).label,"model-value":e.unref(E),"true-icon":e.unref(P),"true-value":e.unref(s).trueValue,"onUpdate:modelValue":U}),e.createSlots({_:2},[e.renderList(e.unref(a),(z,q)=>({name:q,fn:e.withCtx(H=>[e.renderSlot(I.$slots,q,e.normalizeProps(e.guardReactiveProps({...H})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(xn),{"cancel-button-color":e.unref(s).cancelButtonColor,"cancel-button-size":e.unref(s).cancelButtonSize,"cancel-button-title":e.unref(s).cancelButtonTitle,"cancel-button-variant":e.unref(s).cancelButtonVariant,"cancel-icon":e.unref(s).cancelIcon,"cancel-icon-color":e.unref(s).cancelIconColor,error:e.unref(m),"field-only":e.unref(s).fieldOnly,"hide-cancel-icon":e.unref(s).hideCancelIcon,"hide-save-icon":!0,loading:e.unref(v),"loading-icon":e.unref(s).loadingIcon,"loading-icon-color":e.unref(s).loadingIconColor,"save-button-color":e.unref(s).saveButtonColor,"save-button-size":e.unref(s).saveButtonSize,"save-button-title":e.unref(s).saveButtonTitle,"save-button-variant":e.unref(s).saveButtonVariant,"save-icon":e.unref(s).saveIcon,"save-icon-color":e.unref(s).saveIconColor,onClose:j,onSave:U},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(h)),style:e.normalizeStyle(e.unref(D))},[e.createVNode(Je,e.normalizeProps(e.guardReactiveProps(e.unref(b))),{default:e.withCtx(()=>[e.createVNode(ze,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:w},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Ft=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Yo}),{modelValue:{}}),emits:e.mergeModels([...on],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),i=o,d=e.inject(ke,{}),c=e.inject(Symbol.for("vuetify:icons")),u=n;let r=e.reactive({...l,...u,...d});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),p=e.ref(!1),m=e.ref(!1),f=e.ref(!1),y=e.ref(null);let g=t.value;e.watch(()=>s.value,(M,N)=>{!M&&N&&f.value&&T()});const b=e.computed(()=>t.value?(p.value=!1,r.truncateLength?Qt({length:r.truncateLength,suffix:r.truncateSuffix,text:t.value}):t.value):(p.value=!0,r.emptyText)),x=e.computed(()=>({...r,loading:s.value,modelValue:t.value,originalValue:g})),P=e.computed(()=>({color:r.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:b.value,empty:p.value,error:m.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:r.valueColor})),W=e.computed(()=>({...Ue,...u.cardProps})),E=e.computed(()=>Ze({cell:r.cell&&!f.value,density:r.density,disabled:v.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),O=e.computed(()=>Qe({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-text-field"})),L=et({density:r.density,variant:r.variant}),_=e.computed(()=>en({active:f.value,name:"text-field"})),S=e.computed(()=>nn({name:"custom-field",showField:f.value})),F=e.computed(()=>({})),h=e.computed(()=>V.value);function B(){m.value=!1,t.value=g,T()}const V=e.ref(),D=e.ref(null),j=e.ref("body");function T(){var N,I;if(v.value||r.loadingWait&&s.value)return;V.value=Pe({cardMinWidth:(N=r.cardProps)==null?void 0:N.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(I=r.cardProps)==null?void 0:I.width,field:D.value});const M=tn({attrs:l,closeSiblings:r.closeSiblings,fieldOnly:r.fieldOnly,props:u,showField:f,timeOpened:y.value});r={...r,...M.settings},f.value=M.showField,y.value=M.timeOpened,$!==null&&r.closeSiblings&&f.value&&!r.fieldOnly&&$.emit(M.timeOpened)}const C=e.ref();function w(){const M=tt({required:r.required,rules:r.rules,value:t});return m.value=M.errors,C.value=M.results,M.results}function R(){m.value?m.value=!0:(g=t.value,i("update",t.value),r.loadingWait||T())}let $,U;function A(M){i("update:closeSiblingFields",y),f.value&&y.value!==M&&B()}return e.watch(()=>f.value,()=>{f.value&&w()}),e.watch(()=>t.value,()=>{f.value&&w()}),r.closeSiblings&&import("@vueuse/core").then(({useEventBus:M})=>{$=M(je),U=$.on(A)}),e.onUnmounted(()=>{U!==void 0&&$.off(A)}),(M,N)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:D,class:e.normalizeClass(e.unref(E)),style:e.normalizeStyle(e.unref(F))},[!e.unref(f)&&!e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(O))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(L))},[e.createVNode(e.unref(nt),e.mergeProps(e.unref(P),{onToggleField:T}),e.createSlots({_:2},[e.renderList(e.unref(a),(I,k)=>({name:k,fn:e.withCtx(z=>[e.renderSlot(M.$slots,k,e.normalizeProps(e.guardReactiveProps({...z})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(f)||e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(_)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(r).cardField,to:e.unref(j)},[e.renderSlot(M.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(x)))),e.createVNode(e.unref(xn),{modelValue:t.value,"onUpdate:modelValue":N[0]||(N[0]=I=>t.value=I),"cancel-button-color":e.unref(r).cancelButtonColor,"cancel-button-size":e.unref(r).cancelButtonSize,"cancel-button-title":e.unref(r).cancelButtonTitle,"cancel-button-variant":e.unref(r).cancelButtonVariant,"cancel-icon":e.unref(r).cancelIcon,"cancel-icon-color":e.unref(r).cancelIconColor,error:e.unref(m),"field-only":e.unref(r).fieldOnly,"hide-cancel-icon":e.unref(r).hideCancelIcon,"hide-save-icon":e.unref(r).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(r).loadingIcon,"loading-icon-color":e.unref(r).loadingIconColor,required:e.unref(r).required,"save-button-color":e.unref(r).saveButtonColor,"save-button-size":e.unref(r).saveButtonSize,"save-button-title":e.unref(r).saveButtonTitle,"save-button-variant":e.unref(r).saveButtonVariant,"save-icon":e.unref(r).saveIcon,"save-icon-color":e.unref(r).saveIconColor,onClose:B,onSave:R},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(S)),style:e.normalizeStyle(e.unref(h))},[e.createVNode(Je,e.normalizeProps(e.guardReactiveProps(e.unref(W))),{default:e.withCtx(()=>[e.createVNode(ze,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:j},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Nt=((n,o)=>{const t=n.__vccOpts||n;for(const[l,a]of o)t[l]=a;return t})(e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ga}),{modelValue:{}}),emits:e.mergeModels([...on],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),i=o,d=e.inject(ke,{}),c=e.inject(Symbol.for("vuetify:icons")),u=n;let r=e.reactive({...l,...u,...d});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),p=e.ref(!1),m=e.ref(!1),f=e.ref(),y=e.ref(!1),g=e.ref(null);let b=t.value;e.watch(()=>s.value,(k,z)=>{!k&&z&&y.value&&w()});const x=e.computed(()=>ve({icon:u.clearIcon,iconOptions:c,name:"clear"})),P=e.computed(()=>t.value&&t.value[r.itemTitle]?(p.value=!1,t.value[r.itemTitle]):t.value?t.value:(p.value=!0,r.emptyText)),W=e.computed(()=>Fn(r)),E=e.computed(()=>({color:r.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:P.value,empty:p.value,error:m.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:r.valueColor})),O=e.computed(()=>({...Ue,...u.cardProps}));e.watchEffect(()=>{f.value=r.items||[]});const L=e.computed(()=>Ze({cell:r.cell&&!y.value,density:r.density,disabled:v.value,field:"v-select",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),_=e.computed(()=>Qe({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-select"})),S=et({density:r.density,variant:r.variant}),F=e.computed(()=>en({active:y.value,name:"select"})),h=e.computed(()=>nn({name:"select",showField:y.value})),B=e.computed(()=>({})),V=e.computed(()=>j.value);function D(){m.value=!1,t.value=b,w()}const j=e.ref(),T=e.ref(null),C=e.ref("body");function w(){var z,q;if(v.value||r.loadingWait&&s.value)return;j.value=Pe({cardMinWidth:(z=r.cardProps)==null?void 0:z.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(q=r.cardProps)==null?void 0:q.width,field:T.value});const k=tn({attrs:l,closeSiblings:r.closeSiblings,fieldOnly:r.fieldOnly,props:u,showField:y,timeOpened:g.value});r={...r,...k.settings},y.value=k.showField,g.value=k.timeOpened,M!==null&&r.closeSiblings&&y.value&&!r.fieldOnly&&M.emit(k.timeOpened)}const R=e.ref(),$=e.computed(()=>R.value);function U(){const k=tt({required:r.required,rules:r.rules,value:t});return m.value=k.errors,R.value=k.results,k.results}function A(){b=t.value,i("update",t.value),r.loadingWait||w()}let M,N;function I(k){i("update:closeSiblingFields",g),y.value&&g.value!==k&&D()}return e.watch(()=>y.value,()=>{y.value&&U()}),e.watch(()=>t.value,()=>{y.value&&U()}),r.closeSiblings&&import("@vueuse/core").then(({useEventBus:k})=>{M=k(je),N=M.on(I)}),e.onUnmounted(()=>{N!==void 0&&M.off(I)}),(k,z)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:T,class:e.normalizeClass(e.unref(L)),style:e.normalizeStyle(e.unref(B))},[!e.unref(y)&&!e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(_))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(S))},[e.createVNode(e.unref(nt),e.mergeProps(e.unref(E),{onToggleField:w}),e.createSlots({_:2},[e.renderList(e.unref(a),(q,H)=>({name:H,fn:e.withCtx(ne=>[e.renderSlot(k.$slots,H,e.normalizeProps(e.guardReactiveProps({...ne})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(y)||e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(F))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(r).cardField,to:e.unref(C)},[e.createVNode(Zr,e.mergeProps(e.unref(W),{modelValue:t.value,"onUpdate:modelValue":z[0]||(z[0]=q=>t.value=q),autofocus:!e.unref(r).fieldOnly||e.unref(r).autofocus,"clear-icon":e.unref(x),clearable:e.unref(r).clearable,color:e.unref(r).color,density:e.unref(r).density,disabled:e.unref(s)||e.unref(v),error:e.unref(m),"error-messages":e.unref($),"hide-details":e.unref(r).hideDetails,"hide-selected":e.unref(r).hideSelected,"item-title":e.unref(r).itemTitle,"item-value":e.unref(r).itemValue,items:e.unref(f),label:e.unref(r).label,loading:e.unref(s),menu:e.unref(r).menu&&!e.unref(r).fieldOnly&&e.unref(y),variant:e.unref(r).variant,width:"100%",onKeyup:e.withKeys(D,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(q,H)=>({name:H,fn:e.withCtx(ne=>[e.renderSlot(k.$slots,H,e.normalizeProps(e.guardReactiveProps({...ne})),void 0,!0)])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(xn),{"cancel-button-color":e.unref(r).cancelButtonColor,"cancel-button-size":e.unref(r).cancelButtonSize,"cancel-button-title":e.unref(r).cancelButtonTitle,"cancel-button-variant":e.unref(r).cancelButtonVariant,"cancel-icon":e.unref(r).cancelIcon,"cancel-icon-color":e.unref(r).cancelIconColor,error:e.unref(m),"field-only":e.unref(r).fieldOnly,"hide-cancel-icon":e.unref(r).hideCancelIcon,"hide-save-icon":e.unref(r).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(r).loadingIcon,"loading-icon-color":e.unref(r).loadingIconColor,"save-button-color":e.unref(r).saveButtonColor,"save-button-size":e.unref(r).saveButtonSize,"save-button-title":e.unref(r).saveButtonTitle,"save-button-variant":e.unref(r).saveButtonVariant,"save-icon":e.unref(r).saveIcon,"save-icon-color":e.unref(r).saveIconColor,onClose:D,onSave:A},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(h)),style:e.normalizeStyle(e.unref(V))},[e.createVNode(Je,e.normalizeProps(e.guardReactiveProps(e.unref(O))),{default:e.withCtx(()=>[e.createVNode(ze,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:C},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),[["__scopeId","data-v-04f69808"]]),pi={class:"v-selection-control__wrapper"},At=e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingWait:{type:Boolean},name:{},required:{type:Boolean},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ha}),{modelValue:{}}),emits:e.mergeModels([...on],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),i=o,d=e.inject(ke,{}),c=e.inject(Symbol.for("vuetify:icons")),u=Ot.useTheme(),r=n;let s=e.reactive({...l,...r,...d});const v=e.computed(()=>r.loading),p=e.computed(()=>r.disabled),m=e.ref(!1),f=e.ref(!1),y=e.ref(null),g=e.computed(()=>Fn(s)),b=e.computed(()=>({...Ue,...r.cardProps}));e.watch(()=>v.value,(A,M)=>{!A&&M&&f.value&&C()});const x=e.computed(()=>ve({icon:s.cancelIcon,iconOptions:c,name:"false"})),P=e.computed(()=>t.value==s.trueValue),W=e.computed(()=>aa({modelValue:t,trueValue:s.trueValue})),E=e.computed(()=>Ze({cell:s.cell&&!f.value,density:s.density,disabled:p.value,field:"v-switch",loading:v.value,loadingWait:s.loadingWait,tableField:s.tableField})),O=e.computed(()=>Qe({cell:s.cell,cellUnderlineFullWidth:s.cellUnderlineFullWidth,density:s.density,field:"v-switch"})),L=la({density:s.density}),_=e.computed(()=>en({active:f.value,name:"switch"})),S=e.computed(()=>Jt("switch",s.valueColor,{error:m})),F=e.computed(()=>nn({name:"switch",showField:f.value})),h=e.computed(()=>({})),B=e.computed(()=>Zt({color:s.color,error:m,theme:u,underlineColor:s.underlineColor,underlineStyle:s.underlineStyle,underlineWidth:s.underlineWidth,underlined:s.underlined})),V=e.computed(()=>D.value),D=e.ref(),j=e.ref(null),T=e.ref("body");function C(){var M,N;if(p.value||s.loadingWait&&v.value)return;D.value=Pe({cardMinWidth:(M=s.cardProps)==null?void 0:M.minWidth,cardOffsetX:s.cardOffsetX,cardOffsetY:s.cardOffsetY,cardWidth:(N=s.cardProps)==null?void 0:N.width,field:j.value});const A=tn({attrs:l,closeSiblings:s.closeSiblings,fieldOnly:s.fieldOnly,props:r,showField:f.value,timeOpened:y.value});s={...s,...A.settings},f.value=A.showField,y.value=A.timeOpened,R!==null&&s.closeSiblings&&f.value&&!s.fieldOnly&&R.emit(A.timeOpened)}function w(A){t.value=A,i("update",A),s.loadingWait||C()}let R,$;function U(A){i("update:closeSiblingFields",y),f.value&&y.value!==A&&C()}return s.closeSiblings&&import("@vueuse/core").then(({useEventBus:A})=>{R=A(je),$=R.on(U)}),e.onUnmounted(()=>{$!==void 0&&R.off(U)}),(A,M)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:j,class:e.normalizeClass(e.unref(E)),style:e.normalizeStyle(e.unref(h))},[!e.unref(f)&&!e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(O)),onClick:M[2]||(M[2]=N=>e.unref(s).cell?C():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(L)),onClick:M[1]||(M[1]=N=>e.unref(s).cell?void 0:C())},[e.createElementVNode("div",pi,[A.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(S)]),style:e.normalizeStyle(e.unref(B))},[e.createVNode(e.unref(oa),{modelValue:e.unref(W),"onUpdate:modelValue":M[0]||(M[0]=N=>e.isRef(W)?W.value=N:null),"icon-false":e.unref(s).iconFalse,"icon-false-color":e.unref(s).iconFalseColor,"icon-false-title":e.unref(s).iconFalseTitle,"icon-true":e.unref(s).iconTrue,"icon-true-color":e.unref(s).iconTrueColor,"icon-true-title":e.unref(s).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(S)]),style:e.normalizeStyle(e.unref(B))},e.toDisplayString(e.unref(P)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(f)||e.unref(s).fieldOnly||e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(_))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(s).cardField,to:e.unref(T)},[e.createVNode(ri,e.mergeProps(e.unref(g),{color:e.unref(s).color,density:e.unref(s).density,disabled:e.unref(v)||e.unref(p),error:e.unref(m),"false-icon":e.unref(s).falseIcon,"false-value":e.unref(s).falseValue,"hide-details":e.unref(s).hideDetails,label:e.unref(s).label,loading:e.unref(v),"model-value":e.unref(W),"true-value":e.unref(s).trueValue,"onUpdate:modelValue":w}),e.createSlots({_:2},[e.renderList(e.unref(a),(N,I)=>({name:I,fn:e.withCtx(k=>[e.renderSlot(A.$slots,I,e.normalizeProps(e.guardReactiveProps({...k})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.unref(s).fieldOnly&&!e.unref(s).cardField||e.unref(s).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ht,{key:0,class:"ms-3",color:e.unref(s).cancelButtonColor,icon:"",size:e.unref(s).cancelButtonSize,title:e.unref(s).cancelButtonTitle,variant:e.unref(s).cancelButtonVariant,onClick:C},{default:e.withCtx(()=>[e.createVNode(ee,{color:e.unref(s).cancelIconColor,icon:e.unref(x)},null,8,["color","icon"])]),_:1},8,["color","size","title","variant"]))]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(s).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(F)),style:e.normalizeStyle(e.unref(V))},[e.createVNode(Je,e.normalizeProps(e.guardReactiveProps(e.unref(b))),{default:e.withCtx(()=>[e.createVNode(ze,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:T},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Pt=e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Yo}),{modelValue:{}}),emits:e.mergeModels([...on],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),i=o,d=e.inject(ke,{}),c=e.inject(Symbol.for("vuetify:icons")),u=n;let r=e.reactive({...l,...u,...d});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),p=e.ref(!1),m=e.ref(!1),f=e.ref(!1),y=e.ref(null);let g=t.value;e.watch(()=>s.value,(I,k)=>{!I&&k&&f.value&&C()});const b=e.computed(()=>ve({icon:u.clearIcon,iconOptions:c,name:"clear"})),x=e.computed(()=>t.value?(p.value=!1,r.truncateLength?Qt({length:r.truncateLength,suffix:r.truncateSuffix,text:t.value}):t.value):(p.value=!0,r.emptyText)),P=e.computed(()=>Fn(r)),W=e.computed(()=>({color:r.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:x.value,empty:p.value,error:m.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:r.valueColor})),E=e.computed(()=>({...Ue,...u.cardProps})),O=e.computed(()=>Ze({cell:r.cell&&!f.value,density:r.density,disabled:v.value,field:"v-text-field",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),L=e.computed(()=>Qe({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-text-field"})),_=et({density:r.density,variant:r.variant}),S=e.computed(()=>en({active:f.value,name:"text-field"})),F=e.computed(()=>nn({name:"text-field",showField:f.value})),h=e.computed(()=>({})),B=e.computed(()=>D.value);function V(){m.value=!1,t.value=g,C()}const D=e.ref(),j=e.ref(null),T=e.ref("body");function C(){var k,z;if(v.value||r.loadingWait&&s.value)return;D.value=Pe({cardMinWidth:(k=r.cardProps)==null?void 0:k.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(z=r.cardProps)==null?void 0:z.width,field:j.value});const I=tn({attrs:l,closeSiblings:r.closeSiblings,fieldOnly:r.fieldOnly,props:u,showField:f,timeOpened:y.value});r={...r,...I.settings},f.value=I.showField,y.value=I.timeOpened,A!==null&&r.closeSiblings&&f.value&&!r.fieldOnly&&A.emit(I.timeOpened)}const w=e.ref(),R=e.computed(()=>w.value);function $(){const I=tt({required:r.required,rules:r.rules,value:t});return m.value=I.errors,w.value=I.results,I.results}function U(){m.value?m.value=!0:(g=t.value,i("update",t.value),r.loadingWait||C())}let A,M;function N(I){i("update:closeSiblingFields",y),f.value&&y.value!==I&&V()}return e.watch(()=>f.value,()=>{f.value&&$()}),e.watch(()=>t.value,()=>{f.value&&$()}),r.closeSiblings&&import("@vueuse/core").then(({useEventBus:I})=>{A=I(je),M=A.on(N)}),e.onUnmounted(()=>{M!==void 0&&A.off(N)}),(I,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:j,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(h))},[!e.unref(f)&&!e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(L))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(_))},[e.createVNode(e.unref(nt),e.mergeProps(e.unref(W),{onToggleField:C}),e.createSlots({_:2},[e.renderList(e.unref(a),(z,q)=>({name:q,fn:e.withCtx(H=>[e.renderSlot(I.$slots,q,e.normalizeProps(e.guardReactiveProps({...H})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(f)||e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(S))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(r).cardField,to:e.unref(T)},[e.createVNode(kt,e.mergeProps(e.unref(P),{modelValue:t.value,"onUpdate:modelValue":k[1]||(k[1]=z=>t.value=z),autofocus:!e.unref(r).fieldOnly||e.unref(r).autofocus,"clear-icon":e.unref(b),color:e.unref(r).color,density:e.unref(r).density,disabled:e.unref(s)||e.unref(v),error:e.unref(m),"error-messages":e.unref(R),"hide-details":e.unref(r).hideDetails,label:e.unref(r).label,loading:e.unref(s),variant:e.unref(r).variant,width:"100%",onKeyup:[e.withKeys(U,["enter"]),e.withKeys(V,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(a),(z,q)=>({name:q,fn:e.withCtx(H=>[e.renderSlot(I.$slots,q,e.normalizeProps(e.guardReactiveProps({...H})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(xn),{modelValue:t.value,"onUpdate:modelValue":k[0]||(k[0]=z=>t.value=z),"cancel-button-color":e.unref(r).cancelButtonColor,"cancel-button-size":e.unref(r).cancelButtonSize,"cancel-button-title":e.unref(r).cancelButtonTitle,"cancel-button-variant":e.unref(r).cancelButtonVariant,"cancel-icon":e.unref(r).cancelIcon,"cancel-icon-color":e.unref(r).cancelIconColor,error:e.unref(m),"field-only":e.unref(r).fieldOnly,"hide-cancel-icon":e.unref(r).hideCancelIcon,"hide-save-icon":e.unref(r).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(r).loadingIcon,"loading-icon-color":e.unref(r).loadingIconColor,required:e.unref(r).required,"save-button-color":e.unref(r).saveButtonColor,"save-button-size":e.unref(r).saveButtonSize,"save-button-title":e.unref(r).saveButtonTitle,"save-button-variant":e.unref(r).saveButtonVariant,"save-icon":e.unref(r).saveIcon,"save-icon-color":e.unref(r).saveIconColor,onClose:V,onSave:U},null,8,["modelValue","cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","required","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(F)),style:e.normalizeStyle(e.unref(B))},[e.createVNode(Je,e.normalizeProps(e.guardReactiveProps(e.unref(E))),{default:e.withCtx(()=>[e.createVNode(ze,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:T},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),_t=e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...ba}),{modelValue:{}}),emits:e.mergeModels([...on],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),i=o,d=e.inject(ke,{}),c=e.inject(Symbol.for("vuetify:icons")),u=n;let r=e.reactive({...l,...u,...d});const s=e.computed(()=>u.loading),v=e.computed(()=>u.disabled),p=e.ref(!1),m=e.ref(!1),f=e.ref(!1),y=e.ref(null);let g=t.value;e.watch(()=>s.value,(I,k)=>{!I&&k&&f.value&&C()});const b=e.computed(()=>ve({icon:u.clearIcon,iconOptions:c,name:"clear"})),x=e.computed(()=>t.value?(p.value=!1,r.truncateLength?Qt({length:r.truncateLength,suffix:r.truncateSuffix,text:t.value}):t.value):(p.value=!0,r.emptyText)),P=e.computed(()=>Fn(r)),W=e.computed(()=>({color:r.color,displayAppendIcon:u.displayAppendIcon,displayAppendIconColor:u.displayAppendIconColor,displayAppendIconSize:u.displayAppendIconSize,displayAppendInnerIcon:u.displayAppendInnerIcon,displayAppendInnerIconColor:u.displayAppendInnerIconColor,displayAppendInnerIconSize:u.displayAppendInnerIconSize,displayPrependIcon:u.displayPrependIcon,displayPrependIconColor:u.displayPrependIconColor,displayPrependIconSize:u.displayPrependIconSize,displayPrependInnerIcon:u.displayPrependInnerIcon,displayPrependInnerIconColor:u.displayPrependInnerIconColor,displayPrependInnerIconSize:u.displayPrependInnerIconSize,displayValue:x.value,empty:p.value,error:m.value,field:"v-text-field",underlineColor:r.underlineColor,underlineStyle:r.underlineStyle,underlineWidth:r.underlineWidth,underlined:r.underlined,valueColor:r.valueColor})),E=e.computed(()=>({...Ue,...u.cardProps})),O=e.computed(()=>Ze({cell:r.cell&&!f.value,density:r.density,disabled:v.value,field:"v-textarea",iconSet:c==null?void 0:c.defaultSet,loading:s.value,loadingWait:r.loadingWait,tableField:r.tableField,variant:r.variant})),L=e.computed(()=>Qe({cell:r.cell,cellUnderlineFullWidth:r.cellUnderlineFullWidth,density:r.density,field:"v-textarea"})),_=et({density:r.density,variant:r.variant}),S=e.computed(()=>en({active:f.value,name:"textarea"})),F=e.computed(()=>nn({name:"textarea",showField:f.value})),h=e.computed(()=>({})),B=e.computed(()=>D.value);function V(){m.value=!1,t.value=g,C()}const D=e.ref(),j=e.ref(null),T=e.ref("body");function C(){var k,z;if(v.value||r.loadingWait&&s.value)return;D.value=Pe({cardMinWidth:(k=r.cardProps)==null?void 0:k.minWidth,cardOffsetX:r.cardOffsetX,cardOffsetY:r.cardOffsetY,cardWidth:(z=r.cardProps)==null?void 0:z.width,field:j.value});const I=tn({attrs:l,closeSiblings:r.closeSiblings,fieldOnly:r.fieldOnly,props:u,showField:f,timeOpened:y.value});r={...r,...I.settings},f.value=I.showField,y.value=I.timeOpened,A!==null&&r.closeSiblings&&f.value&&!r.fieldOnly&&A.emit(I.timeOpened)}const w=e.ref(),R=e.computed(()=>w.value);function $(){const I=tt({required:r.required,rules:r.rules,value:t});return m.value=I.errors,w.value=I.results,I.results}function U(){g=t.value,i("update",t.value),r.loadingWait||C()}let A,M;function N(I){i("update:closeSiblingFields",y),f.value&&y.value!==I&&V()}return e.watch(()=>f.value,()=>{f.value&&$()}),e.watch(()=>t.value,()=>{f.value&&$()}),r.closeSiblings&&import("@vueuse/core").then(({useEventBus:I})=>{A=I(je),M=A.on(N)}),e.onUnmounted(()=>{M!==void 0&&A.off(N)}),(I,k)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:j,class:e.normalizeClass(e.unref(O)),style:e.normalizeStyle(e.unref(h))},[!e.unref(f)&&!e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(L))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(_))},[e.createVNode(e.unref(nt),e.mergeProps(e.unref(W),{onToggleField:C}),e.createSlots({_:2},[e.renderList(e.unref(a),(z,q)=>({name:q,fn:e.withCtx(H=>[e.renderSlot(I.$slots,q,e.normalizeProps(e.guardReactiveProps({...H})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(f)||e.unref(r).fieldOnly||e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(S))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(r).cardField,to:e.unref(T)},[e.createVNode(si,e.mergeProps(e.unref(P),{modelValue:t.value,"onUpdate:modelValue":k[0]||(k[0]=z=>t.value=z),"auto-grow":e.unref(r).autoGrow,autofocus:!e.unref(r).fieldOnly||e.unref(r).autofocus,"clear-icon":e.unref(b),color:e.unref(r).color,density:e.unref(r).density,disabled:e.unref(s)||e.unref(v),error:e.unref(m),"error-messages":e.unref(R),"hide-details":e.unref(r).hideDetails,label:e.unref(r).label,loading:e.unref(s),rows:e.unref(r).rows,variant:e.unref(r).variant,width:"100%",onKeyup:e.withKeys(V,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(z,q)=>({name:q,fn:e.withCtx(H=>[e.renderSlot(I.$slots,q,e.normalizeProps(e.guardReactiveProps({...H})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(xn),{"cancel-button-color":e.unref(r).cancelButtonColor,"cancel-button-size":e.unref(r).cancelButtonSize,"cancel-button-title":e.unref(r).cancelButtonTitle,"cancel-button-variant":e.unref(r).cancelButtonVariant,"cancel-icon":e.unref(r).cancelIcon,"cancel-icon-color":e.unref(r).cancelIconColor,error:e.unref(m),"field-only":e.unref(r).fieldOnly,"hide-cancel-icon":e.unref(r).hideCancelIcon,"hide-save-icon":e.unref(r).hideSaveIcon,loading:e.unref(s),"loading-icon":e.unref(r).loadingIcon,"loading-icon-color":e.unref(r).loadingIconColor,"save-button-color":e.unref(r).saveButtonColor,"save-button-size":e.unref(r).saveButtonSize,"save-button-title":e.unref(r).saveButtonTitle,"save-button-variant":e.unref(r).saveButtonVariant,"save-icon":e.unref(r).saveIcon,"save-icon-color":e.unref(r).saveIconColor,onClose:V,onSave:U},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(r).cardField?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(F)),style:e.normalizeStyle(e.unref(B))},[e.createVNode(Je,e.normalizeProps(e.guardReactiveProps(e.unref(E))),{default:e.withCtx(()=>[e.createVNode(ze,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:T},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),ke=Symbol(),vi={VInlineCheckbox:xt,VInlineCustomField:Ft,VInlineSelect:Nt,VInlineSwitch:At,VInlineTextField:Pt,VInlineTextarea:_t};exports.VInlineCheckbox=xt,exports.VInlineCustomField=Ft,exports.VInlineSelect=Nt,exports.VInlineSwitch=At,exports.VInlineTextField=Pt,exports.VInlineTextarea=_t,exports.createVInlineFields=function(n={}){return o=>{o.provide(ke,n),o.component("VInlineCheckbox",xt),o.component("VInlineCustomField",Ft),o.component("VInlineSelect",Nt),o.component("VInlineSwitch",At),o.component("VInlineTextField",Pt),o.component("VInlineTextarea",_t)}},exports.default=vi,exports.globalOptions=ke; -(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-04f69808] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); + */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Kt=require("vuetify"),Aa=require("@vueuse/core"),sn=Symbol("identifier"),un={elevation:5,variant:"flat"},On={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),cell:!1,cellUnderlineFullWidth:!0,closeSiblings:!1,color:"primary",density:"compact",disabled:!1,displayAppendIcon:void 0,displayAppendIconColor:void 0,displayAppendIconSize:"x-small",displayAppendInnerIcon:void 0,displayAppendInnerIconColor:void 0,displayAppendInnerIconSize:"x-small",displayPrependIcon:void 0,displayPrependIconColor:void 0,displayPrependIconSize:"x-small",displayPrependInnerIcon:void 0,displayPrependInnerIconColor:void 0,displayPrependInnerIconSize:"x-small",emptyText:"empty",fieldOnly:!1,hideCancelIcon:!1,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Jt={autofocus:!0},zn={hideCancelIcon:!1,hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},dl={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},Pa={...On,...dl,...zn,falseIcon:void 0,icons:!0,trueIcon:void 0},_a={...On,...Jt,...zn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},Ea={...On,...dl,...zn,icons:!0,falseIcon:""},Oa={...Jt,...zn,...On,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},pl={...On,...Jt,...zn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},za={fa:{checkboxFalse:"$checkboxOff",checkboxTrue:"far fa-square-check",clear:"$clear",false:"$close",loading:"fa-circle-notch",save:"fa-floppy-disk",true:"$complete"},mdi:{checkboxFalse:"$checkboxOff",checkboxTrue:"mdi:mdi-checkbox-outline",clear:"$clear",false:"$close",loading:"mdi-loading",save:"mdi-content-save",true:"$complete"}},_e=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const a=za[t==null?void 0:t.defaultSet];if(!a)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const r=a[l];if(!r)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return r};function U(n,o){return t=>Object.keys(n).reduce((l,a)=>{const r=typeof n[a]=="object"&&n[a]!=null&&!Array.isArray(n[a])?n[a]:{type:n[a]};return l[a]=t&&a in t?{...r,default:t[a]}:r,o&&!l[a].source&&(l[a].source=o),l},{})}const ae=U({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),xe=typeof window<"u",Zt=xe&&"IntersectionObserver"in window;function bo(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let a=0;acn(n[l],o[l]))}function Te(n,o,t){if(o===!0)return n===void 0?t:n;if(o==null||typeof o=="boolean")return t;if(n!==Object(n)){if(typeof o!="function")return t;const a=o(n,t);return a===void 0?t:a}if(typeof o=="string")return function(a,r,c){return a!=null&&r&&typeof r=="string"?a[r]!==void 0?a[r]:bo(a,(r=(r=r.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),c):c}(n,o,t);if(Array.isArray(o))return bo(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function J(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return n==null||n===""?void 0:isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${o}`:void 0}function At(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function nt(n){if(n&&"$el"in n){const o=n.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return n}const Co=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function St(n,o){return o.every(t=>n.hasOwnProperty(t))}function vl(n,o){const t={},l=new Set(Object.keys(n));for(const a of o)l.has(a)&&(t[a]=n[a]);return t}function So(n,o,t){const l=Object.create(null),a=Object.create(null);for(const r in n)o.some(c=>c instanceof RegExp?c.test(r):c===r)&&!(t!=null&&t.some(c=>c===r))?l[r]=n[r]:a[r]=n[r];return[l,a]}function Ke(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const fl=/^on[^a-z]/,Pt=n=>fl.test(n),Ta=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Tn(n){const[o,t]=So(n,[fl]),l=Ke(o,Ta),[a,r]=So(t,["class","style","id",/^data-/]);return Object.assign(a,o),Object.assign(r,l),[a,r]}function $e(n){return n==null?[]:Array.isArray(n)?n:[n]}function ln(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(t,n))}function Io(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function tn(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const l={};for(const a in n)l[a]=n[a];for(const a in o){const r=n[a],c=o[a];At(r)&&At(c)?l[a]=tn(r,c,t):Array.isArray(r)&&Array.isArray(c)&&t?l[a]=t(r,c):l[a]=c}return l}function ml(n){return n.map(o=>o.type===e.Fragment?ml(o.children):o).flat()}function qe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(qe.cache.has(n))return qe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return qe.cache.set(n,o),o}function Zn(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>Zn(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>Zn(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return Zn(n,o.component.subTree).flat(1)}return[]}function Qt(n){const o=e.reactive({}),t=e.computed(n);return e.watchEffect(()=>{for(const l in t.value)o[l]=t.value[l]},{flush:"sync"}),e.toRefs(o)}function tt(n,o){return n.includes(o)}function Vo(n){return n[2].toLowerCase()+n.slice(3)}qe.cache=new Map;const Ee=()=>[Function,Array];function Bo(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function yl(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l1&&arguments[1]!==void 0)||arguments[1];const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(l=>`${l}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(t)]}function gl(n,o,t){let l,a=n.indexOf(document.activeElement);const r=o==="next"?1:-1;do a+=r,l=n[a];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&a=0);return l}function ot(n,o){var l,a,r,c;const t=_t(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(a=t.at(-1))==null||a.focus();else if(typeof o=="number")(r=t[o])==null||r.focus();else{const u=gl(t,o);u?u.focus():ot(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((c=t[0])==null||c.focus())}function lt(n,o){if(!(xe&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function hl(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||hl(o.children)))?n:null}const bl=["top","bottom"],$a=["start","end","left","right"];function Et(n,o){let[t,l]=n.split(" ");return l||(l=tt(bl,t)?"start":tt($a,t)?"top":"center"),{side:wo(t,o),align:wo(l,o)}}function wo(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function It(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function Vt(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function ko(n){return{side:n.align,align:n.side}}function xo(n){return tt(bl,n.side)?"y":"x"}class He{constructor(o){let{x:t,y:l,width:a,height:r}=o;this.x=t,this.y=l,this.width=a,this.height=r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Fo(n,o){return{x:{before:Math.max(0,o.left-n.left),after:Math.max(0,n.right-o.right)},y:{before:Math.max(0,o.top-n.top),after:Math.max(0,n.bottom-o.bottom)}}}function Cl(n){return Array.isArray(n)?new He({x:n[0],y:n[1],width:0,height:0}):n.getBoundingClientRect()}function eo(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let a,r,c,u,s;if(l.startsWith("matrix3d("))a=l.slice(9,-1).split(/, /),r=+a[0],c=+a[5],u=+a[12],s=+a[13];else{if(!l.startsWith("matrix("))return new He(o);a=l.slice(7,-1).split(/, /),r=+a[0],c=+a[3],u=+a[4],s=+a[5]}const i=t.transformOrigin,d=o.x-u-(1-r)*parseFloat(i),v=o.y-s-(1-c)*parseFloat(i.slice(i.indexOf(" ")+1)),p=r?o.width/r:n.offsetWidth+1,f=c?o.height/c:n.offsetHeight+1;return new He({x:d,y:v,width:p,height:f})}return new He(o)}function on(n,o,t){if(n.animate===void 0)return{finished:Promise.resolve()};let l;try{l=n.animate(o,t)}catch{return{finished:Promise.resolve()}}return l.finished===void 0&&(l.finished=new Promise(a=>{l.onfinish=()=>{a(l)}})),l}const Yn=new WeakMap,nn=2.4,No=.2126729,Ao=.7151522,Po=.072175,Ra=.55,Da=.58,La=.57,Ma=.62,Xn=.03,_o=1.45,Wa=5e-4,ja=1.25,Ua=1.25,Eo=.078,Oo=12.82051282051282,Kn=.06,zo=.001;function To(n,o){const t=(n.r/255)**nn,l=(n.g/255)**nn,a=(n.b/255)**nn,r=(o.r/255)**nn,c=(o.g/255)**nn,u=(o.b/255)**nn;let s,i=t*No+l*Ao+a*Po,d=r*No+c*Ao+u*Po;if(i<=Xn&&(i+=(Xn-i)**_o),d<=Xn&&(d+=(Xn-d)**_o),Math.abs(d-i)i){const v=(d**Ra-i**Da)*ja;s=v-zo?0:v>-Eo?v-v*Oo*Kn:v+Kn}return 100*s}function Fn(n){e.warn(`Vuetify: ${n}`)}function Bt(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const $o=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Ga={rgb:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),rgba:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),hsl:(n,o,t,l)=>Ro({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>Ro({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l})};function wn(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&Fn(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&$o.test(n)){const{groups:o}=n.match($o),{fn:t,values:l}=o,a=l.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(r)/100:parseFloat(r));return Ga[t](...a)}if(typeof n=="string"){let o=n.startsWith("#")?n.slice(1):n;[3,4].includes(o.length)?o=o.split("").map(l=>l+l).join(""):[6,8].includes(o.length)||Fn(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&Fn(`'${n}' is not a valid hex(a) color`),function(l){l=function(s){return s.startsWith("#")&&(s=s.slice(1)),s=s.replace(/([^0-9a-f])/gi,"F"),(s.length===3||s.length===4)&&(s=s.split("").map(i=>i+i).join("")),s.length!==6&&(s=Io(Io(s,6),8,"F")),s}(l);let[a,r,c,u]=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const d=[];let v=0;for(;vparseInt(s,16));return u=u===void 0?u:u/255,{r:a,g:r,b:c,a:u}}(o)}if(typeof n=="object"){if(St(n,["r","g","b"]))return n;if(St(n,["h","s","l"]))return Nn(Sl(n));if(St(n,["h","s","v"]))return Nn(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Nn(n){const{h:o,s:t,v:l,a}=n,r=u=>{const s=(u+o/60)%6;return l-l*t*Math.max(Math.min(s,4-s,1),0)},c=[r(5),r(3),r(1)].map(u=>Math.round(255*u));return{r:c[0],g:c[1],b:c[2],a}}function Ro(n){return Nn(Sl(n))}function Sl(n){const{h:o,s:t,l,a}=n,r=l+t*Math.min(l,1-l);return{h:o,s:r===0?0:2-2*l/r,v:r,a}}const at=Symbol.for("vuetify:defaults");function no(){const n=e.inject(at);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function dn(n,o){const t=no(),l=e.ref(n),a=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const r=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),u=e.unref(o==null?void 0:o.root);if(l.value==null&&!(r||c||u))return t.value;let s=tn(l.value,{prev:t.value});if(r)return s;if(c||u){const i=Number(c||1/0);for(let d=0;d<=i&&s&&"prev"in s;d++)s=s.prev;return s&&typeof u=="string"&&u in s&&(s=tn(tn(s,{prev:s}),s[u])),s}return s.prev?tn(s.prev,s):s});return e.provide(at,a),a}function qa(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:no();const l=Se("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const a=e.computed(()=>{var u;return(u=t.value)==null?void 0:u[n._as??o]}),r=new Proxy(n,{get(u,s){var d,v,p,f;const i=Reflect.get(u,s);return s==="class"||s==="style"?[(d=a.value)==null?void 0:d[s],i].filter(y=>y!=null):typeof s!="string"||function(y,g){var m,b;return((m=y.props)==null?void 0:m[g])!==void 0||((b=y.props)==null?void 0:b[qe(g)])!==void 0}(l.vnode,s)?i:((v=a.value)==null?void 0:v[s])??((f=(p=t.value)==null?void 0:p.global)==null?void 0:f[s])??i}}),c=e.shallowRef();return e.watchEffect(()=>{if(a.value){const u=Object.entries(a.value).filter(s=>{let[i]=s;return i.startsWith(i[0].toUpperCase())});c.value=u.length?Object.fromEntries(u):void 0}else c.value=void 0}),{props:r,provideSubDefaults:function(){const u=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se("injectSelf");const{provides:d}=i;if(d&&s in d)return d[s]}(at,l);e.provide(at,e.computed(()=>c.value?tn((u==null?void 0:u.value)??{},c.value):u==null?void 0:u.value))}}}function An(n){if(n._setup=n._setup??n.setup,!n.name)return Fn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=U(n.props??{},n.name)();const o=Object.keys(n.props).filter(t=>t!=="class"&&t!=="style");n.filterProps=function(t){return vl(t,o)},n.props._as=String,n.setup=function(t,l){const a=no();if(!a.value)return n._setup(t,l);const{props:r,provideSubDefaults:c}=qa(t,t._as??n.name,a),u=n._setup(r,l);return c(),u}}return n}function X(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?An:e.defineComponent)(o)}function $n(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return X()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...ae()},setup(l,a){let{slots:r}=a;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=r.default)==null?void 0:c.call(r))}}})}function Il(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const rt="cubic-bezier(0.4, 0, 0.2, 1)";function Se(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function Oe(){const n=Se(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return qe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let Vl=0,Qn=new WeakMap;function Pe(){const n=Se("getUid");if(Qn.has(n))return Qn.get(n);{const o=Vl++;return Qn.set(n,o),o}}function Bl(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?Ha(n):to(n))return n;n=n.parentElement}return document.scrollingElement}function it(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(to(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function to(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function Ha(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function ee(n){Se("useRender").render=n}function oo(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(xe){const a=new ResizeObserver(r=>{n==null||n(r,a),r.length&&(l.value=o==="content"?r[0].contentRect:r[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(nt(c)),l.value=void 0),r&&a.observe(nt(r))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Ye(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,a=>{a&&!t?l():a||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function he(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const r=Se("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),u=qe(o),s=u!==o?e.computed(()=>{var d,v,p,f;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))&&!((v=r.vnode.props)!=null&&v.hasOwnProperty(u))||!((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${u}`)))}):e.computed(()=>{var d,v;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))||!((v=r.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Ye(()=>!s.value,()=>{e.watch(()=>n[o],d=>{c.value=d})});const i=e.computed({get(){const d=n[o];return l(s.value?d:c.value)},set(d){const v=a(d),p=e.toRaw(s.value?n[o]:c.value);p!==v&&l(p)!==d&&(c.value=v,r==null||r.emit(`update:${o}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>s.value?n[o]:c.value}),i}Pe.reset=()=>{Vl=0,Qn=new WeakMap};const wl=Symbol.for("vuetify:locale");function lo(){const n=e.inject(wl);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Rn(){const n=e.inject(wl);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Do=Symbol.for("vuetify:theme"),Ve=U({theme:String},"theme");function ke(n){Se("provideTheme");const o=e.inject(Do,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),a=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),r={...o,name:t,current:l,themeClasses:a};return e.provide(Do,r),r}const Ae=U({tag:{type:String,default:"div"}},"tag"),Ya=U({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Fe(n,o,t){return X()({name:n,props:Ya({mode:t,origin:o}),setup(l,a){let{slots:r}=a;const c={onBeforeEnter(u){l.origin&&(u.style.transformOrigin=l.origin)},onLeave(u){if(l.leaveAbsolute){const{offsetTop:s,offsetLeft:i,offsetWidth:d,offsetHeight:v}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${s}px`,u.style.left=`${i}px`,u.style.width=`${d}px`,u.style.height=`${v}px`}l.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(l.leaveAbsolute&&(u!=null&&u._transitionInitialStyles)){const{position:s,top:i,left:d,width:v,height:p}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=s||"",u.style.top=i||"",u.style.left=d||"",u.style.width=v||"",u.style.height=p||""}}};return()=>{const u=l.group?e.TransitionGroup:e.Transition;return e.h(u,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},r.default)}}})}function kl(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return X()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,a){let{slots:r}=a;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},r.default)}})}function xl(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(r){r._parent=r.parentNode,r._initialStyle={transition:r.style.transition,overflow:r.style.overflow,[o]:r.style[o]}},onEnter(r){const c=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const u=`${r[t]}px`;r.style[o]="0",r.offsetHeight,r.style.transition=c.transition,n&&r._parent&&r._parent.classList.add(n),requestAnimationFrame(()=>{r.style[o]=u})},onAfterEnter:a,onEnterCancelled:a,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,[o]:r.style[o]},r.style.overflow="hidden",r.style[o]=`${r[t]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(r){n&&r._parent&&r._parent.classList.remove(n),a(r)}function a(r){const c=r._initialStyle[o];r.style.overflow=r._initialStyle.overflow,c!=null&&(r.style[o]=c),delete r._initialStyle}}const Xa=U({target:[Object,Array]},"v-dialog-transition"),Fl=X()({name:"VDialogTransition",props:Xa(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),a.style.visibility="";const{x:c,y:u,sx:s,sy:i,speed:d}=Mo(n.target,a),v=on(a,[{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0},{}],{duration:225*d,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=Lo(a))==null||p.forEach(f=>{on(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*d,easing:rt})}),v.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var v;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:u,sx:s,sy:i,speed:d}=Mo(n.target,a);on(a,[{},{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0}],{duration:125*d,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>r()),(v=Lo(a))==null||v.forEach(p=>{on(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*d,easing:rt})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function Lo(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function Mo(n,o){const t=Cl(n),l=eo(o),[a,r]=getComputedStyle(o).transformOrigin.split(" ").map(b=>parseFloat(b)),[c,u]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let s=t.left+t.width/2;c==="left"||u==="left"?s-=t.width/2:c!=="right"&&u!=="right"||(s+=t.width/2);let i=t.top+t.height/2;c==="top"||u==="top"?i-=t.height/2:c!=="bottom"&&u!=="bottom"||(i+=t.height/2);const d=t.width/l.width,v=t.height/l.height,p=Math.max(1,d,v),f=d/p||0,y=v/p||0,g=l.width*l.height/(window.innerWidth*window.innerHeight),m=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:s-(a+l.left),y:i-(r+l.top),sx:f,sy:y,speed:m}}Fe("fab-transition","center center","out-in"),Fe("dialog-bottom-transition"),Fe("dialog-top-transition"),Fe("fade-transition");const Ka=Fe("scale-transition");Fe("scroll-x-transition"),Fe("scroll-x-reverse-transition"),Fe("scroll-y-transition"),Fe("scroll-y-reverse-transition"),Fe("slide-x-transition"),Fe("slide-x-reverse-transition");const Nl=Fe("slide-y-transition");Fe("slide-y-reverse-transition");const Ja=kl("expand-transition",xl()),Al=kl("expand-x-transition",xl("",!0)),Za=U({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Be=X(!1)({name:"VDefaultsProvider",props:Za(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:a,reset:r,root:c,scoped:u}=e.toRefs(n);return dn(l,{reset:r,root:c,scoped:u,disabled:a}),()=>{var s;return(s=t.default)==null?void 0:s.call(t)}}}),Je=U({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ze(n){return{dimensionStyles:e.computed(()=>({height:J(n.height),maxHeight:J(n.maxHeight),maxWidth:J(n.maxWidth),minHeight:J(n.minHeight),minWidth:J(n.minWidth),width:J(n.width)}))}}const Pl=U({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...ae(),...Je()},"VResponsive"),Wo=X()({name:"VResponsive",props:Pl(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(r){return{aspectStyles:e.computed(()=>{const c=Number(r.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:a}=Ze(n);return ee(()=>{var r;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[a.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(r=t.additional)==null?void 0:r.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Dn=U({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),We=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:a,...r}=n,{component:c=e.Transition,...u}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:a?"":l}:u,r,{disabled:a}),t)};function jo(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const ao={mounted:function(n,o){if(!Zt)return;const t=o.modifiers||{},l=o.value,{handler:a,options:r}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var v;let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1?arguments[1]:void 0;const i=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!i)return;const d=u.some(p=>p.isIntersecting);!a||t.quiet&&!i.init||t.once&&!d&&!i.init||a(d,u,s),d&&t.once?jo(n,o):i.init=!0},r);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:jo},Qa=U({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Pl(),...ae(),...Dn()},"VImg"),_l=X()({name:"VImg",directives:{intersect:ao},props:Qa(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const a=Se("VImg"),r=e.shallowRef(""),c=e.ref(),u=e.shallowRef(n.eager?"loading":"idle"),s=e.shallowRef(),i=e.shallowRef(),d=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),v=e.computed(()=>d.value.aspect||s.value/i.value||0);function p(I){if((!n.eager||!I)&&(!Zt||I||n.eager)){if(u.value="loading",d.value.lazySrc){const k=new Image;k.src=d.value.lazySrc,b(k,null)}d.value.src&&e.nextTick(()=>{var k;t("loadstart",((k=c.value)==null?void 0:k.currentSrc)||d.value.src),setTimeout(()=>{var C;if(!a.isUnmounted)if((C=c.value)!=null&&C.complete){if(c.value.naturalWidth||y(),u.value==="error")return;v.value||b(c.value,null),u.value==="loading"&&f()}else v.value||b(c.value),g()})})}}function f(){var I;a.isUnmounted||(g(),b(c.value),u.value="loaded",t("load",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function y(){var I;a.isUnmounted||(u.value="error",t("error",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function g(){const I=c.value;I&&(r.value=I.currentSrc||I.src)}e.watch(()=>n.src,()=>{p(u.value!=="idle")}),e.watch(v,(I,k)=>{!I&&k&&c.value&&b(c.value)}),e.onBeforeMount(()=>p());let m=-1;function b(I){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const C=()=>{if(clearTimeout(m),a.isUnmounted)return;const{naturalHeight:V,naturalWidth:B}=I;V||B?(s.value=B,i.value=V):I.complete||u.value!=="loading"||k==null?(I.currentSrc.endsWith(".svg")||I.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,i.value=1):m=window.setTimeout(C,k)};C()}e.onBeforeUnmount(()=>{clearTimeout(m)});const w=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),N=()=>{var C;if(!d.value.src||u.value==="idle")return null;const I=e.createVNode("img",{class:["v-img__img",w.value],style:{objectPosition:n.position},src:d.value.src,srcset:d.value.srcset,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable,sizes:n.sizes,ref:c,onLoad:f,onError:y},null),k=(C=l.sources)==null?void 0:C.call(l);return e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(k?e.createVNode("picture",{class:"v-img__picture"},[k,I]):I,[[e.vShow,u.value==="loaded"]])]})},M=()=>e.createVNode(We,{transition:n.transition},{default:()=>[d.value.lazySrc&&u.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:n.position},src:d.value.lazySrc,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable},null)]}),E=()=>l.placeholder?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,P=()=>l.error?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[u.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,L=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,A=e.shallowRef(!1);{const I=e.watch(v,k=>{k&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{A.value=!0})}),I())})}return ee(()=>{const I=Wo.filterProps(n);return e.withDirectives(e.createVNode(Wo,e.mergeProps({class:["v-img",{"v-img--booting":!A.value},n.class],style:[{width:J(n.width==="auto"?s.value:n.width)},n.style]},I,{aspectRatio:v.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(N,null,null),e.createVNode(M,null,null),e.createVNode(L,null,null),e.createVNode(E,null,null),e.createVNode(P,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:p,options:n.options},null,{once:!0}]])}),{currentSrc:r,image:c,state:u,naturalWidth:s,naturalHeight:i}}}),pn=U({border:[Boolean,Number,String]},"border");function vn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`border-${a}`);return l})}}function ro(n){return Qt(()=>{const o=[],t={};if(n.value.background)if(Bt(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&Bt(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const a=wn(n.value.background);if(a.a==null||a.a===1){const r=function(c){const u=Math.abs(To(wn(0),wn(c)));return Math.abs(To(wn(16777215),wn(c)))>Math.min(u,50)?"#fff":"#000"}(a);t.color=r,t.caretColor=r}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(Bt(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function Re(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=ro(t);return{textColorClasses:l,textColorStyles:a}}function an(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=ro(t);return{backgroundColorClasses:l,backgroundColorStyles:a}}const fn=U({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function mn(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const De=U({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Le(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`rounded-${a}`);return l})}}const er=[null,"default","comfortable","compact"],ze=U({density:{type:String,default:"default",validator:n=>er.includes(n)}},"density");function Me(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const nr=["elevated","flat","tonal","outlined","text","plain"];function Ln(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const Ge=U({color:String,variant:{type:String,default:"elevated",validator:n=>nr.includes(n)}},"variant");function Mn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.computed(()=>{const{variant:r}=e.unref(n);return`${o}--variant-${r}`}),{colorClasses:l,colorStyles:a}=ro(e.computed(()=>{const{variant:r,color:c}=e.unref(n);return{[["elevated","flat"].includes(r)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:a,variantClasses:t}}const El=U({divided:Boolean,...pn(),...ae(),...ze(),...fn(),...De(),...Ae(),...Ve(),...Ge()},"VBtnGroup"),Uo=X()({name:"VBtnGroup",props:El(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{densityClasses:a}=Me(n),{borderClasses:r}=vn(n),{elevationClasses:c}=mn(n),{roundedClasses:u}=Le(n);dn({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,r.value,a.value,c.value,u.value,n.class],style:n.style},t))}}),Ol=U({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),zl=U({value:null,disabled:Boolean,selectedClass:String},"group-item");function Tl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=Se("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Pe();e.provide(Symbol.for(`${o.description}:id`),a);const r=e.inject(o,null);if(!r){if(!t)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),u=e.computed(()=>!(!r.disabled.value&&!n.disabled));r.register({id:a,value:c,disabled:u},l),e.onBeforeUnmount(()=>{r.unregister(a)});const s=e.computed(()=>r.isSelected(a)),i=e.computed(()=>s.value&&[r.selectedClass.value,n.selectedClass]);return e.watch(s,d=>{l.emit("group:selected",{value:d})}),{id:a,isSelected:s,toggle:()=>r.select(a,!s.value),select:d=>r.select(a,d),selectedClass:i,value:c,disabled:u,group:r}}function $l(n,o){let t=!1;const l=e.reactive([]),a=he(n,"modelValue",[],i=>i==null?[]:Go(l,$e(i)),i=>{const d=function(v,p){const f=[];return p.forEach(y=>{const g=v.findIndex(m=>m.id===y);if(~g){const m=v[g];f.push(m.value!=null?m.value:g)}}),f}(l,i);return n.multiple?d:d[0]}),r=Se("useGroup");function c(){const i=l.find(d=>!d.disabled);i&&n.mandatory==="force"&&!a.value.length&&(a.value=[i.id])}function u(i){if(n.multiple&&Fn('This method is not supported when using "multiple" prop'),a.value.length){const d=a.value[0],v=l.findIndex(y=>y.id===d);let p=(v+i)%l.length,f=l[p];for(;f.disabled&&p!==v;)p=(p+i)%l.length,f=l[p];if(f.disabled)return;a.value=[l[p].id]}else{const d=l.find(v=>!v.disabled);d&&(a.value=[d.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const s={register:function(i,d){const v=i,p=Zn(Symbol.for(`${o.description}:id`),r==null?void 0:r.vnode).indexOf(d);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(i){if(t)return;c();const d=l.findIndex(v=>v.id===i);l.splice(d,1)},selected:a,select:function(i,d){const v=l.find(p=>p.id===i);if(!d||!(v!=null&&v.disabled))if(n.multiple){const p=a.value.slice(),f=p.findIndex(g=>g===i),y=~f;if(d=d??!y,y&&n.mandatory&&p.length<=1||!y&&n.max!=null&&p.length+1>n.max)return;f<0&&d?p.push(i):f>=0&&!d&&p.splice(f,1),a.value=p}else{const p=a.value.includes(i);if(n.mandatory&&p)return;a.value=d??!p?[i]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>u(l.length-1),next:()=>u(1),isSelected:i=>a.value.includes(i),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:i=>function(d,v){const p=Go(d,[v]);return p.length?d.findIndex(f=>f.id===p[0]):-1}(l,i)};return e.provide(o,s),s}function Go(n,o){const t=[];return o.forEach(l=>{const a=n.find(c=>cn(l,c.value)),r=n[l];(a==null?void 0:a.value)!=null?t.push(a.id):r!=null&&t.push(r.id)}),t}const Rl=Symbol.for("vuetify:v-btn-toggle"),tr=U({...El(),...Ol()},"VBtnToggle");X()({name:"VBtnToggle",props:tr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:a,prev:r,select:c,selected:u}=$l(n,Rl);return ee(()=>{const s=Uo.filterProps(n);return e.createVNode(Uo,e.mergeProps({class:["v-btn-toggle",n.class]},s,{style:n.style}),{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:l,next:a,prev:r,select:c,selected:u})]}})}),{next:a,prev:r,select:c}}});const se=[String,Function,Object,Array],or=Symbol.for("vuetify:icons"),st=U({icon:{type:se},tag:{type:String,required:!0}},"icon"),qo=X()({name:"VComponentIcon",props:st(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var a;return[n.icon?e.createVNode(l,null,null):(a=t.default)==null?void 0:a.call(t)]}})}}}),lr=An({name:"VSvgIcon",inheritAttrs:!1,props:st(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});An({name:"VLigatureIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),An({name:"VClassIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const ar=["x-small","small","default","large","x-large"],Wn=U({size:{type:[String,Number],default:"default"}},"size");function jn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return Qt(()=>{let t,l;return tt(ar,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:J(n.size),height:J(n.size)}),{sizeClasses:t,sizeStyles:l}})}const rr=U({color:String,start:Boolean,end:Boolean,icon:se,...ae(),...Wn(),...Ae({tag:"i"}),...Ve()},"VIcon"),ce=X()({name:"VIcon",props:rr(),setup(n,o){let{attrs:t,slots:l}=o;const a=e.ref(),{themeClasses:r}=ke(n),{iconData:c}=(d=>{const v=e.inject(or);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var m;const p=e.unref(d);if(!p)return{component:qo};let f=p;if(typeof f=="string"&&(f=f.trim(),f.startsWith("$")&&(f=(m=v.aliases)==null?void 0:m[f.slice(1)])),!f)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(f))return{component:lr,icon:f};if(typeof f!="string")return{component:qo,icon:f};const y=Object.keys(v.sets).find(b=>typeof f=="string"&&f.startsWith(`${b}:`)),g=y?f.slice(y.length+1):f;return{component:v.sets[y??v.defaultSet].component,icon:g}})}})(e.computed(()=>a.value||n.icon)),{sizeClasses:u}=jn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color"));return ee(()=>{var v,p;const d=(v=l.default)==null?void 0:v.call(l);return d&&(a.value=(p=ml(d).filter(f=>f.type===e.Text&&f.children&&typeof f.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",r.value,u.value,s.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[u.value?void 0:{fontSize:J(n.size),height:J(n.size),width:J(n.size)},i.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[d]})}),{}}});function Dl(n,o){const t=e.ref(),l=e.shallowRef(!1);if(Zt){const a=new IntersectionObserver(r=>{n==null||n(r,a),l.value=!!r.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(c),l.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const ir=U({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...ae(),...Wn(),...Ae({tag:"div"}),...Ve()},"VProgressCircular"),Ll=X()({name:"VProgressCircular",props:ir(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,a=e.ref(),{themeClasses:r}=ke(n),{sizeClasses:c,sizeStyles:u}=jn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color")),{textColorClasses:d,textColorStyles:v}=Re(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:f}=Dl(),{resizeRef:y,contentRect:g}=oo(),m=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),b=e.computed(()=>Number(n.width)),w=e.computed(()=>u.value?Number(n.size):g.value?g.value.width:Math.max(b.value,32)),N=e.computed(()=>20/(1-b.value/w.value)*2),M=e.computed(()=>b.value/w.value*N.value),E=e.computed(()=>J((100-m.value)/100*l));return e.watchEffect(()=>{p.value=a.value,y.value=a.value}),ee(()=>e.createVNode(n.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":f.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},r.value,c.value,s.value,n.class],style:[u.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:m.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${N.value} ${N.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",d.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":M.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":M.value,"stroke-dasharray":l,"stroke-dashoffset":E.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:m.value})])]})),{}}}),Ho={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},io=U({location:String},"location");function so(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Rn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:r,align:c}=Et(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function u(i){return t?t(i):0}const s={};return r!=="center"&&(o?s[Ho[r]]=`calc(100% - ${u(r)}px)`:s[r]=0),c!=="center"?o?s[Ho[c]]=`calc(100% - ${u(c)}px)`:s[c]=0:(r==="center"?s.top=s.left="50%":s[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",s.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),s})}}const sr=U({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...ae(),...io({location:"top"}),...De(),...Ae(),...Ve()},"VProgressLinear"),ur=X()({name:"VProgressLinear",props:sr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),{isRtl:a,rtlClasses:r}=Rn(),{themeClasses:c}=ke(n),{locationStyles:u}=so(n),{textColorClasses:s,textColorStyles:i}=Re(n,"color"),{backgroundColorClasses:d,backgroundColorStyles:v}=an(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:f}=an(n,"color"),{roundedClasses:y}=Le(n),{intersectionRef:g,isIntersecting:m}=Dl(),b=e.computed(()=>parseInt(n.max,10)),w=e.computed(()=>parseInt(n.height,10)),N=e.computed(()=>parseFloat(n.bufferValue)/b.value*100),M=e.computed(()=>parseFloat(l.value)/b.value*100),E=e.computed(()=>a.value!==n.reverse),P=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),L=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function A(I){if(!g.value)return;const{left:k,right:C,width:V}=g.value.getBoundingClientRect(),B=E.value?V-I.clientX+(C-V):I.clientX-k;l.value=Math.round(B/V*b.value)}return ee(()=>e.createVNode(n.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&m.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},y.value,c.value,r.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?J(w.value):0,"--v-progress-linear-height":J(w.value),...u.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:M.value,onClick:n.clickable&&A},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",s.value],style:{...i.value,[E.value?"left":"right"]:J(-w.value),borderTop:`${J(w.value/2)} dotted`,opacity:L.value,top:`calc(50% - ${J(w.value/4)})`,width:J(100-N.value,"%"),"--v-progress-linear-stream-to":J(w.value*(E.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",d.value],style:[v.value,{opacity:L.value,width:J(n.stream?N.value:100,"%")}]},null),e.createVNode(e.Transition,{name:P.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(I=>e.createVNode("div",{key:I,class:["v-progress-linear__indeterminate",I,p.value],style:f.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[f.value,{width:J(M.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:M.value,buffer:N.value})])]})),{}}}),uo=U({loading:[Boolean,String]},"loader");function vt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function co(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(ur,{absolute:n.absolute,active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const cr=["static","relative","fixed","absolute","sticky"],Ml=U({position:{type:String,validator:n=>cr.includes(n)}},"position");function Wl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function ft(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),a=e.computed(()=>(l==null?void 0:l.value)||Bo(o,"click")||Bo(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:a,href:e.toRef(n,"href")};const r=n.to?t.useLink(n):void 0,c=function(){const u=Se("useRoute");return e.computed(()=>{var s;return(s=u==null?void 0:u.proxy)==null?void 0:s.$route})}();return{isLink:l,isClickable:a,route:r==null?void 0:r.route,navigate:r==null?void 0:r.navigate,isActive:r&&e.computed(()=>{var u,s,i;return n.exact?c.value?((u=r.isExactActive)==null?void 0:u.value)&&cn(r.route.value.query,c.value.query):(s=r.isExactActive)==null?void 0:s.value:(i=r.isActive)==null?void 0:i.value}),href:e.computed(()=>n.to?r==null?void 0:r.route.value.href:n.href)}}const mt=U({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let wt=!1;const Ot=Symbol("rippleStop"),dr=80;function Yo(n,o){n.style.transform=o,n.style.webkitTransform=o}function zt(n){return n.constructor.name==="TouchEvent"}function jl(n){return n.constructor.name==="KeyboardEvent"}const ut={show(n,o){var f;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=o==null?void 0:o._ripple)!=null&&f.enabled))return;const l=document.createElement("span"),a=document.createElement("span");l.appendChild(a),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:r,scale:c,x:u,y:s,centerX:i,centerY:d}=function(y,g){var L;let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,w=0;if(!jl(y)){const A=g.getBoundingClientRect(),I=zt(y)?y.touches[y.touches.length-1]:y;b=I.clientX-A.left,w=I.clientY-A.top}let N=0,M=.3;(L=g._ripple)!=null&&L.circle?(M=.15,N=g.clientWidth/2,N=m.center?N:N+Math.sqrt((b-N)**2+(w-N)**2)/4):N=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const E=(g.clientWidth-2*N)/2+"px",P=(g.clientHeight-2*N)/2+"px";return{radius:N,scale:M,x:m.center?E:b-N+"px",y:m.center?P:w-N+"px",centerX:E,centerY:P}}(n,o,t),v=2*r+"px";a.className="v-ripple__animation",a.style.width=v,a.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),Yo(a,`translate(${u}, ${s}) scale3d(${c},${c},${c})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),Yo(a,`translate(${i}, ${d}) scale3d(1,1,1)`)},0)},hide(n){var r;if(!((r=n==null?void 0:n._ripple)!=null&&r.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),a=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var c;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((c=t.parentNode)==null?void 0:c.parentNode)===n&&n.removeChild(t.parentNode)},300)},a)}};function Ul(n){return n===void 0||!!n}function Pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[Ot]){if(n[Ot]=!0,zt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||jl(n),t._ripple.class&&(o.class=t._ripple.class),zt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{ut.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},dr)}else ut.show(n,t,o)}}function Xo(n){n[Ot]=!0}function Ne(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{Ne(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),ut.hide(o)}}function Gl(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let _n=!1;function ql(n){_n||n.keyCode!==Co.enter&&n.keyCode!==Co.space||(_n=!0,Pn(n))}function Hl(n){_n=!1,Ne(n)}function Yl(n){_n&&(_n=!1,Ne(n))}function Ko(n,o,t){const{value:l,modifiers:a}=o,r=Ul(l);if(r||ut.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=r,n._ripple.centered=a.center,n._ripple.circle=a.circle,At(l)&&l.class&&(n._ripple.class=l.class),r&&!t){if(a.stop)return n.addEventListener("touchstart",Xo,{passive:!0}),void n.addEventListener("mousedown",Xo);n.addEventListener("touchstart",Pn,{passive:!0}),n.addEventListener("touchend",Ne,{passive:!0}),n.addEventListener("touchmove",Gl,{passive:!0}),n.addEventListener("touchcancel",Ne),n.addEventListener("mousedown",Pn),n.addEventListener("mouseup",Ne),n.addEventListener("mouseleave",Ne),n.addEventListener("keydown",ql),n.addEventListener("keyup",Hl),n.addEventListener("blur",Yl),n.addEventListener("dragstart",Ne,{passive:!0})}else!r&&t&&Xl(n)}function Xl(n){n.removeEventListener("mousedown",Pn),n.removeEventListener("touchstart",Pn),n.removeEventListener("touchend",Ne),n.removeEventListener("touchmove",Gl),n.removeEventListener("touchcancel",Ne),n.removeEventListener("mouseup",Ne),n.removeEventListener("mouseleave",Ne),n.removeEventListener("keydown",ql),n.removeEventListener("keyup",Hl),n.removeEventListener("dragstart",Ne),n.removeEventListener("blur",Yl)}const Un={mounted:function(n,o){Ko(n,o,!1)},unmounted:function(n){delete n._ripple,Xl(n)},updated:function(n,o){o.value!==o.oldValue&&Ko(n,o,Ul(o.oldValue))}},pr=U({active:{type:Boolean,default:void 0},symbol:{type:null,default:Rl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:se,appendIcon:se,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...pn(),...ae(),...ze(),...Je(),...fn(),...zl(),...uo(),...io(),...Ml(),...De(),...mt(),...Wn(),...Ae({tag:"button"}),...Ve(),...Ge({variant:"elevated"})},"VBtn"),Jo=X()({name:"VBtn",directives:{Ripple:Un},props:pr(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=vn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Mn(n),{densityClasses:i}=Me(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=mn(n),{loaderClasses:p}=vt(n),{locationStyles:f}=so(n),{positionClasses:y}=Wl(n),{roundedClasses:g}=Le(n),{sizeClasses:m,sizeStyles:b}=jn(n),w=Tl(n,n.symbol,!1),N=ft(n,t),M=e.computed(()=>{var I;return n.active!==void 0?n.active:N.isLink.value?(I=N.isActive)==null?void 0:I.value:w==null?void 0:w.isSelected.value}),E=e.computed(()=>(w==null?void 0:w.disabled.value)||n.disabled),P=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),L=e.computed(()=>{if(n.value!==void 0&&typeof n.value!="symbol")return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function A(I){var k;E.value||N.isLink.value&&(I.metaKey||I.ctrlKey||I.shiftKey||I.button!==0||t.target==="_blank")||((k=N.navigate)==null||k.call(N,I),w==null||w.toggle())}return function(I,k){e.watch(()=>{var C;return(C=I.isActive)==null?void 0:C.value},C=>{I.isLink.value&&C&&k&&e.nextTick(()=>{k(!0)})},{immediate:!0})}(N,w==null?void 0:w.select),ee(()=>{var D,$;const I=N.isLink.value?"a":n.tag,k=!(!n.prependIcon&&!l.prepend),C=!(!n.appendIcon&&!l.append),V=!(!n.icon||n.icon===!0),B=(w==null?void 0:w.isSelected.value)&&(!N.isLink.value||((D=N.isActive)==null?void 0:D.value))||!w||(($=N.isActive)==null?void 0:$.value);return e.withDirectives(e.createVNode(I,{type:I==="a"?void 0:"button",class:["v-btn",w==null?void 0:w.selectedClass.value,{"v-btn--active":M.value,"v-btn--block":n.block,"v-btn--disabled":E.value,"v-btn--elevated":P.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--slim":n.slim,"v-btn--stacked":n.stacked},a.value,r.value,B?c.value:void 0,i.value,v.value,p.value,y.value,g.value,m.value,s.value,n.class],style:[B?u.value:void 0,d.value,f.value,b.value,n.style],disabled:E.value||void 0,href:N.href.value,onClick:A,value:L.value},{default:()=>{var F;return[Ln(!0,"v-btn"),!n.icon&&k&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&V?e.createVNode(ce,{key:"content-icon",icon:n.icon},null):e.createVNode(Be,{key:"content-defaults",disabled:!V,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var h;return[((h=l.default)==null?void 0:h.call(l))??n.text]}})]),!n.icon&&C&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ce,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((F=l.loader)==null?void 0:F.call(l))??e.createVNode(Ll,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!E.value&&n.ripple,null]])}),{}}}),vr=U({text:String,clickable:Boolean,...ae(),...Ve()},"VLabel"),Kl=X()({name:"VLabel",props:vr(),setup(n,o){let{slots:t}=o;return ee(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),Jl=Symbol.for("vuetify:selection-control-group"),Zl=U({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:se,trueIcon:se,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:cn},...ae(),...ze(),...Ve()},"SelectionControlGroup"),fr=U({...Zl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");X()({name:"VSelectionControlGroup",props:fr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),a=Pe(),r=e.computed(()=>n.id||`v-selection-control-group-${a}`),c=e.computed(()=>n.name||r.value),u=new Set;return e.provide(Jl,{modelValue:l,forceUpdate:()=>{u.forEach(s=>s())},onForceUpdate:s=>{u.add(s),e.onScopeDispose(()=>{u.delete(s)})}}),dn({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),ee(()=>{var s;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(s=t.default)==null?void 0:s.call(t)])}),{}}});const po=U({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...ae(),...Zl()},"VSelectionControl"),ct=X()({name:"VSelectionControl",directives:{Ripple:Un},inheritAttrs:!1,props:po(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:a,densityClasses:r,icon:c,model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,trueValue:p}=function(E){const P=e.inject(Jl,void 0),{densityClasses:L}=Me(E),A=he(E,"modelValue"),I=e.computed(()=>E.trueValue!==void 0?E.trueValue:E.value===void 0||E.value),k=e.computed(()=>E.falseValue!==void 0&&E.falseValue),C=e.computed(()=>!!E.multiple||E.multiple==null&&Array.isArray(A.value)),V=e.computed({get(){const S=P?P.modelValue.value:A.value;return C.value?$e(S).some(x=>E.valueComparator(x,I.value)):E.valueComparator(S,I.value)},set(S){if(E.readonly)return;const x=S?I.value:k.value;let z=x;C.value&&(z=S?[...$e(A.value),x]:$e(A.value).filter(T=>!E.valueComparator(T,I.value))),P?P.modelValue.value=z:A.value=z}}),{textColorClasses:B,textColorStyles:D}=Re(e.computed(()=>{if(!E.error&&!E.disabled)return V.value?E.color:E.baseColor})),{backgroundColorClasses:$,backgroundColorStyles:F}=an(e.computed(()=>!V.value||E.error||E.disabled?void 0:E.color)),h=e.computed(()=>V.value?E.trueIcon:E.falseIcon);return{group:P,densityClasses:L,trueValue:I,falseValue:k,model:V,textColorClasses:B,textColorStyles:D,backgroundColorClasses:$,backgroundColorStyles:F,icon:h}}(n),f=Pe(),y=e.computed(()=>n.id||`input-${f}`),g=e.shallowRef(!1),m=e.shallowRef(!1),b=e.ref();function w(E){g.value=!0,lt(E.target,":focus-visible")!==!1&&(m.value=!0)}function N(){g.value=!1,m.value=!1}function M(E){n.readonly&&a&&e.nextTick(()=>a.forceUpdate()),u.value=E.target.checked}return a==null||a.onForceUpdate(()=>{b.value&&(b.value.checked=u.value)}),ee(()=>{var I,k;const E=l.label?l.label({label:n.label,props:{for:y.value}}):n.label,[P,L]=Tn(t),A=e.createVNode("input",e.mergeProps({ref:b,checked:u.value,disabled:!(!n.readonly&&!n.disabled),id:y.value,onBlur:N,onFocus:w,onInput:M,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?u.value:void 0},L),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":n.inline},r.value,n.class]},P,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",s.value],style:i.value},[(I=l.default)==null?void 0:I.call(l,{backgroundColorClasses:d,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((k=l.input)==null?void 0:k.call(l,{model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,inputNode:A,icon:c.value,props:{onFocus:w,onBlur:N,id:y.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ce,{key:"icon",icon:c.value},null),A])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),E&&e.createVNode(Kl,{for:y.value,clickable:!0,onClick:C=>C.stopPropagation()},{default:()=>[E]})])}),{isFocused:g,input:b}}}),Ql=U({indeterminate:Boolean,indeterminateIcon:{type:se,default:"$checkboxIndeterminate"},...po({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Tt=X()({name:"VCheckboxBtn",props:Ql(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"indeterminate"),a=he(n,"modelValue");function r(s){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),u=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return ee(()=>{const s=Ke(ct.filterProps(n),["modelValue"]);return e.createVNode(ct,e.mergeProps(s,{modelValue:a.value,"onUpdate:modelValue":[i=>a.value=i,r],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:u.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function ea(n){const{t:o}=lo();return{InputIcon:function(t){let{name:l}=t;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],r=n[`onClick:${l}`],c=r&&a?o(`$vuetify.input.${a}`,n.label??""):void 0;return e.createVNode(ce,{icon:n[`${l}Icon`],"aria-label":c,onClick:r},null)}}}const mr=U({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...ae(),...Dn({transition:{component:Nl,leaveAbsolute:!0,group:!0}})},"VMessages"),yr=X()({name:"VMessages",props:mr(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>$e(n.messages)),{textColorClasses:a,textColorStyles:r}=Re(e.computed(()=>n.color));return ee(()=>e.createVNode(We,{transition:n.transition,tag:"div",class:["v-messages",a.value,n.class],style:[r.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,u)=>e.createVNode("div",{class:"v-messages__message",key:`${u}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),na=U({focused:Boolean,"onUpdate:focused":Ee()},"focus");function Gn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=he(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const gr=Symbol.for("vuetify:form");function ta(){return e.inject(gr,null)}const hr=U({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...na()},"validation"),qn=U({id:String,appendIcon:se,centerAffix:{type:Boolean,default:!0},prependIcon:se,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":Ee(),"onClick:append":Ee(),...ae(),...ze(),...hr()},"VInput"),je=X()({name:"VInput",props:{...qn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const{densityClasses:r}=Me(n),{rtlClasses:c}=Rn(),{InputIcon:u}=ea(n),s=Pe(),i=e.computed(()=>n.id||`input-${s}`),d=e.computed(()=>`${i.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:b,reset:w,resetValidation:N,validate:M,validationClasses:E}=function(A){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe(),k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe();const C=he(A,"modelValue"),V=e.computed(()=>A.validationValue===void 0?C.value:A.validationValue),B=ta(),D=e.ref([]),$=e.shallowRef(!0),F=e.computed(()=>!(!$e(C.value===""?null:C.value).length&&!$e(V.value===""?null:V.value).length)),h=e.computed(()=>!!(A.disabled??(B==null?void 0:B.isDisabled.value))),S=e.computed(()=>!!(A.readonly??(B==null?void 0:B.isReadonly.value))),x=e.computed(()=>{var G;return(G=A.errorMessages)!=null&&G.length?$e(A.errorMessages).concat(D.value).slice(0,Math.max(0,+A.maxErrors)):D.value}),z=e.computed(()=>{let G=(A.validateOn??(B==null?void 0:B.validateOn.value))||"input";G==="lazy"&&(G="input lazy");const Y=new Set((G==null?void 0:G.split(" "))??[]);return{blur:Y.has("blur")||Y.has("input"),input:Y.has("input"),submit:Y.has("submit"),lazy:Y.has("lazy")}}),T=e.computed(()=>{var G;return!A.error&&!((G=A.errorMessages)!=null&&G.length)&&(!A.rules.length||($.value?!D.value.length&&!z.value.lazy||null:!D.value.length))}),O=e.shallowRef(!1),H=e.computed(()=>({[`${I}--error`]:T.value===!1,[`${I}--dirty`]:F.value,[`${I}--disabled`]:h.value,[`${I}--readonly`]:S.value})),_=e.computed(()=>A.name??e.unref(k));function W(){C.value=null,e.nextTick(R)}function R(){$.value=!0,z.value.lazy?D.value=[]:j(!0)}async function j(){let G=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const Y=[];O.value=!0;for(const te of A.rules){if(Y.length>=+(A.maxErrors??1))break;const ie=typeof te=="function"?te:()=>te,re=await ie(V.value);re!==!0&&(re===!1||typeof re=="string"?Y.push(re||""):console.warn(`${re} is not a valid value. Rule functions must return boolean true or a string.`))}return D.value=Y,O.value=!1,$.value=G,D.value}return e.onBeforeMount(()=>{B==null||B.register({id:_.value,validate:j,reset:W,resetValidation:R})}),e.onBeforeUnmount(()=>{B==null||B.unregister(_.value)}),e.onMounted(async()=>{z.value.lazy||await j(!0),B==null||B.update(_.value,T.value,x.value)}),Ye(()=>z.value.input,()=>{e.watch(V,()=>{if(V.value!=null)j();else if(A.focused){const G=e.watch(()=>A.focused,Y=>{Y||j(),G()})}})}),Ye(()=>z.value.blur,()=>{e.watch(()=>A.focused,G=>{G||j()})}),e.watch(T,()=>{B==null||B.update(_.value,T.value,x.value)}),{errorMessages:x,isDirty:F,isDisabled:h,isReadonly:S,isPristine:$,isValid:T,isValidating:O,reset:W,resetValidation:R,validate:j,validationClasses:H}}(n,"v-input",i),P=e.computed(()=>({id:i,messagesId:d,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:b,reset:w,resetValidation:N,validate:M})),L=e.computed(()=>{var A;return(A=n.errorMessages)!=null&&A.length||!g.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return ee(()=>{var V,B,D,$;const A=!(!l.prepend&&!n.prependIcon),I=!(!l.append&&!n.appendIcon),k=L.value.length>0,C=!n.hideDetails||n.hideDetails==="auto"&&(k||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix,"v-input--hide-spin-buttons":n.hideSpinButtons},r.value,c.value,E.value,n.class],style:n.style},[A&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(V=l.prepend)==null?void 0:V.call(l,P.value),n.prependIcon&&e.createVNode(u,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(B=l.default)==null?void 0:B.call(l,P.value)]),I&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(u,{key:"append-icon",name:"append"},null),(D=l.append)==null?void 0:D.call(l,P.value)]),C&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(yr,{id:d.value,active:k,messages:L.value},{message:l.message}),($=l.details)==null?void 0:$.call(l,P.value)])])}),{reset:w,resetValidation:N,validate:M,isValid:m,errorMessages:v}}}),br=U({...qn(),...Ke(Ql(),["inline"])},"VCheckbox"),Cr=X()({name:"VCheckbox",inheritAttrs:!1,props:br(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"modelValue"),{isFocused:r,focus:c,blur:u}=Gn(n),s=Pe(),i=e.computed(()=>n.id||`checkbox-${s}`);return ee(()=>{const[d,v]=Tn(t),p=je.filterProps(n),f=Tt.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-checkbox",n.class]},d,p,{modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,id:i.value,focused:r.value,style:n.style}),{...l,default:y=>{let{id:g,messagesId:m,isDisabled:b,isReadonly:w}=y;return e.createVNode(Tt,e.mergeProps(f,{id:g.value,"aria-describedby":m.value,disabled:b.value,readonly:w.value},v,{modelValue:a.value,"onUpdate:modelValue":N=>a.value=N,onFocus:c,onBlur:u}),l)}})}),{}}}),Sr=U({start:Boolean,end:Boolean,icon:se,image:String,text:String,...ae(),...ze(),...De(),...Wn(),...Ae(),...Ve(),...Ge({variant:"flat"})},"VAvatar"),rn=X()({name:"VAvatar",props:Sr(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{colorClasses:a,colorStyles:r,variantClasses:c}=Mn(n),{densityClasses:u}=Me(n),{roundedClasses:s}=Le(n),{sizeClasses:i,sizeStyles:d}=jn(n);return ee(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,a.value,u.value,s.value,i.value,c.value,n.class],style:[r.value,d.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(_l,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ce,{key:"icon",icon:n.icon},null):((v=t.default)==null?void 0:v.call(t))??n.text,Ln(!1,"v-avatar")]}})),{}}}),oa=Symbol.for("vuetify:v-chip-group"),Ir=U({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:cn},...ae(),...Ol({selectedClass:"v-chip--selected"}),...Ae(),...Ve(),...Ge({variant:"tonal"})},"VChipGroup");X()({name:"VChipGroup",props:Ir(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{isSelected:a,select:r,next:c,prev:u,selected:s}=$l(n,oa);return dn({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:a,select:r,next:c,prev:u,selected:s.value})]}})),{}}});const Vr=U({activeClass:String,appendAvatar:String,appendIcon:se,closable:Boolean,closeIcon:{type:se,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:Ee(),onClickOnce:Ee(),...pn(),...ae(),...ze(),...fn(),...zl(),...De(),...mt(),...Wn(),...Ae({tag:"span"}),...Ve(),...Ge({variant:"tonal"})},"VChip"),Br=X()({name:"VChip",directives:{Ripple:Un},props:Vr(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{t:r}=lo(),{borderClasses:c}=vn(n),{colorClasses:u,colorStyles:s,variantClasses:i}=Mn(n),{densityClasses:d}=Me(n),{elevationClasses:v}=mn(n),{roundedClasses:p}=Le(n),{sizeClasses:f}=jn(n),{themeClasses:y}=ke(n),g=he(n,"modelValue"),m=Tl(n,oa,!1),b=ft(n,t),w=e.computed(()=>n.link!==!1&&b.isLink.value),N=e.computed(()=>!n.disabled&&n.link!==!1&&(!!m||n.link||b.isClickable.value)),M=e.computed(()=>({"aria-label":r(n.closeLabel),onClick(L){L.stopPropagation(),g.value=!1,l("click:close",L)}}));function E(L){var A;l("click",L),N.value&&((A=b.navigate)==null||A.call(b,L),m==null||m.toggle())}function P(L){L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),E(L))}return()=>{const L=b.isLink.value?"a":n.tag,A=!(!n.appendIcon&&!n.appendAvatar),I=!(!A&&!a.append),k=!(!a.close&&!n.closable),C=!(!a.filter&&!n.filter)&&m,V=!(!n.prependIcon&&!n.prependAvatar),B=!(!V&&!a.prepend),D=!m||m.isSelected.value;return g.value&&e.withDirectives(e.createVNode(L,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":N.value,"v-chip--filter":C,"v-chip--pill":n.pill},y.value,c.value,D?u.value:void 0,d.value,v.value,p.value,f.value,i.value,m==null?void 0:m.selectedClass.value,n.class],style:[D?s.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:b.href.value,tabindex:N.value?0:void 0,onClick:E,onKeydown:N.value&&!w.value&&P},{default:()=>{var $;return[Ln(N.value,"v-chip"),C&&e.createVNode(Al,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[a.filter?e.createVNode(Be,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},a.filter):e.createVNode(ce,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,m.isSelected.value]])]}),B&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!V,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},a.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[(($=a.default)==null?void 0:$.call(a,{isSelected:m==null?void 0:m.isSelected.value,selectedClass:m==null?void 0:m.selectedClass.value,select:m==null?void 0:m.select,toggle:m==null?void 0:m.toggle,value:m==null?void 0:m.value.value,disabled:n.disabled}))??n.text]),I&&e.createVNode("div",{key:"append",class:"v-chip__append"},[a.append?e.createVNode(Be,{key:"append-defaults",disabled:!A,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},a.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},M.value),[a.close?e.createVNode(Be,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},a.close):e.createVNode(ce,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),N.value&&n.ripple,null]])}}}),$t=Symbol.for("vuetify:list");function la(){const n=e.inject($t,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide($t,o),n}function aa(){return e.inject($t,null)}const wr={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){const r=new Set;r.add(o);let c=a.get(o);for(;c!=null;)r.add(c),c=a.get(c);return r}return l.delete(o),l},select:()=>null},ra={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){let r=a.get(o);for(l.add(o);r!=null&&r!==o;)l.add(r),r=a.get(r);return l}return l.delete(o),l},select:()=>null},kr={open:ra.open,select:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(!t)return l;const r=[];let c=a.get(o);for(;c!=null;)r.push(c),c=a.get(c);return new Set(r)}},Rt=n=>{const o={select:t=>{let{id:l,value:a,selected:r}=t;if(l=e.toRaw(l),n&&!a){const c=Array.from(r.entries()).reduce((u,s)=>{let[i,d]=s;return d==="on"?[...u,i]:u},[]);if(c.length===1&&c[0]===l)return r}return r.set(l,a?"on":"off"),r},in:(t,l,a)=>{let r=new Map;for(const c of t||[])r=o.select({id:c,value:!0,selected:new Map(r),children:l,parents:a});return r},out:t=>{const l=[];for(const[a,r]of t.entries())r==="on"&&l.push(a);return l}};return o},Zo=n=>{const o=Rt(n);return{select:t=>{let{selected:l,id:a,...r}=t;a=e.toRaw(a);const c=l.has(a)?new Map([[a,l.get(a)]]):new Map;return o.select({...r,id:a,selected:c})},in:(t,l,a)=>{let r=new Map;return t!=null&&t.length&&(r=o.in(t.slice(0,1),l,a)),r},out:(t,l,a)=>o.out(t,l,a)}},En=Symbol.for("vuetify:nested"),ia={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},xr=U({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Fr=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),a=he(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),r=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=Zo(v);return{select:f=>{let{id:y,selected:g,children:m,...b}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...b})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=Rt(v);return{select:f=>{let{id:y,selected:g,children:m,...b}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...b})},in:p.in,out:p.out}})(n.mandatory);case"independent":return Rt(n.mandatory);case"single-independent":return Zo(n.mandatory);default:return(v=>{const p={select:f=>{let{id:y,value:g,selected:m,children:b,parents:w}=f;y=e.toRaw(y);const N=new Map(m),M=[y];for(;M.length;){const P=M.shift();m.set(P,g?"on":"off"),b.has(P)&&M.push(...b.get(P))}let E=w.get(y);for(;E;){const P=b.get(E),L=P.every(I=>m.get(I)==="on"),A=P.every(I=>!m.has(I)||m.get(I)==="off");m.set(E,L?"on":A?"off":"indeterminate"),E=w.get(E)}return v&&!g&&Array.from(m.entries()).reduce((L,A)=>{let[I,k]=A;return k==="on"?[...L,I]:L},[]).length===0?N:m},in:(f,y,g)=>{let m=new Map;for(const b of f||[])m=p.select({id:b,value:!0,selected:new Map(m),children:y,parents:g});return m},out:(f,y)=>{const g=[];for(const[m,b]of f.entries())b!=="on"||y.has(m)||g.push(m);return g}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return kr;case"single":return wr;default:return ra}}),u=he(n,"selected",n.selected,v=>r.value.in(v,t.value,l.value),v=>r.value.out(v,t.value,l.value));function s(v){const p=[];let f=v;for(;f!=null;)p.unshift(f),f=l.value.get(f);return p}e.onBeforeUnmount(()=>{o=!0});const i=Se("nested"),d={id:e.shallowRef(),root:{opened:a,selected:u,selectedValues:e.computed(()=>{const v=[];for(const[p,f]of u.value.entries())f==="on"&&v.push(p);return v}),register:(v,p,f)=>{p&&v!==p&&l.value.set(v,p),f&&t.value.set(v,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],v])},unregister:v=>{if(o)return;t.value.delete(v);const p=l.value.get(v);if(p){const f=t.value.get(p)??[];t.value.set(p,f.filter(y=>y!==v))}l.value.delete(v),a.value.delete(v)},open:(v,p,f)=>{i.emit("click:open",{id:v,value:p,path:s(v),event:f});const y=c.value.open({id:v,value:p,opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},openOnSelect:(v,p,f)=>{const y=c.value.select({id:v,value:p,selected:new Map(u.value),opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},select:(v,p,f)=>{i.emit("click:select",{id:v,value:p,path:s(v),event:f});const y=r.value.select({id:v,value:p,selected:new Map(u.value),children:t.value,parents:l.value,event:f});y&&(u.value=y),d.root.openOnSelect(v,p,f)},children:t,parents:l}};return e.provide(En,d),d.root},sa=(n,o)=>{const t=e.inject(En,ia),l=Symbol(Pe()),a=e.computed(()=>n.value!==void 0?n.value:l),r={...t,id:a,open:(c,u)=>t.root.open(a.value,c,u),openOnSelect:(c,u)=>t.root.openOnSelect(a.value,c,u),isOpen:e.computed(()=>t.root.opened.value.has(a.value)),parent:e.computed(()=>t.root.parents.value.get(a.value)),select:(c,u)=>t.root.select(a.value,c,u),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(a.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(a.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(a.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(a.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(a.value)}),o&&e.provide(En,r),r},Nr=An({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(En,ia);e.provide(En,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),Ar=U({activeColor:String,baseColor:String,color:String,collapseIcon:{type:se,default:"$collapse"},expandIcon:{type:se,default:"$expand"},prependIcon:se,appendIcon:se,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ae(),...Ae()},"VListGroup"),Qo=X()({name:"VListGroup",props:Ar(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:a,id:r}=sa(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(r.value)}`),u=aa(),{isBooted:s}=function(){const f=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{f.value=!0})}),{ssrBootStyles:e.computed(()=>f.value?void 0:{transition:"none !important"}),isBooted:e.readonly(f)}}();function i(f){a(!l.value,f)}const d=e.computed(()=>({onClick:i,class:"v-list-group__header",id:c.value})),v=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&v.value,appendIcon:n.appendIcon||!n.subgroup&&v.value,title:n.title,value:n.value}}));return ee(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(Be,{defaults:p.value},{default:()=>[e.createVNode(Nr,null,{default:()=>[t.activator({props:d.value,isOpen:l.value})]})]}),e.createVNode(We,{transition:{component:Ja},disabled:!s.value},{default:()=>{var f;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(f=t.default)==null?void 0:f.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),Pr=$n("v-list-item-subtitle"),_r=$n("v-list-item-title"),Er=U({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:se,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:Ee(),onClickOnce:Ee(),...pn(),...ae(),...ze(),...Je(),...fn(),...De(),...mt(),...Ae(),...Ve(),...Ge({variant:"text"})},"VListItem"),dt=X()({name:"VListItem",directives:{Ripple:Un},props:Er(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const r=ft(n,t),c=e.computed(()=>n.value===void 0?r.href.value:n.value),{select:u,isSelected:s,isIndeterminate:i,isGroupActivator:d,root:v,parent:p,openOnSelect:f}=sa(c,!1),y=aa(),g=e.computed(()=>{var S;return n.active!==!1&&(n.active||((S=r.isActive)==null?void 0:S.value)||s.value)}),m=e.computed(()=>n.link!==!1&&r.isLink.value),b=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||r.isClickable.value||n.value!=null&&!!y)),w=e.computed(()=>n.rounded||n.nav),N=e.computed(()=>n.color??n.activeColor),M=e.computed(()=>({color:g.value?N.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var S;return(S=r.isActive)==null?void 0:S.value},S=>{S&&p.value!=null&&v.open(p.value,!0),S&&f(S)},{immediate:!0});const{themeClasses:E}=ke(n),{borderClasses:P}=vn(n),{colorClasses:L,colorStyles:A,variantClasses:I}=Mn(M),{densityClasses:k}=Me(n),{dimensionStyles:C}=Ze(n),{elevationClasses:V}=mn(n),{roundedClasses:B}=Le(w),D=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),$=e.computed(()=>({isActive:g.value,select:u,isSelected:s.value,isIndeterminate:i.value}));function F(S){var x;a("click",S),!d&&b.value&&((x=r.navigate)==null||x.call(r,S),n.value!=null&&u(!s.value,S))}function h(S){S.key!=="Enter"&&S.key!==" "||(S.preventDefault(),F(S))}return ee(()=>{const S=m.value?"a":n.tag,x=l.title||n.title!=null,z=l.subtitle||n.subtitle!=null,T=!(!n.appendAvatar&&!n.appendIcon),O=!(!T&&!l.append),H=!(!n.prependAvatar&&!n.prependIcon),_=!(!H&&!l.prepend);var W,R;return y==null||y.updateHasPrepend(_),n.activeColor&&(W="active-color",R=["color","base-color"],R=Array.isArray(R)?R.slice(0,-1).map(j=>`'${j}'`).join(", ")+` or '${R.at(-1)}'`:`'${R}'`,e.warn(`[Vuetify UPGRADE] '${W}' is deprecated, use ${R} instead.`)),e.withDirectives(e.createVNode(S,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":n.disabled,"v-list-item--link":b.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!_&&(y==null?void 0:y.hasPrepend.value),"v-list-item--slim":n.slim,[`${n.activeClass}`]:n.activeClass&&g.value},E.value,P.value,L.value,k.value,V.value,D.value,B.value,I.value,n.class],style:[A.value,C.value,n.style],href:r.href.value,tabindex:b.value?y?-2:0:void 0,onClick:F,onKeydown:b.value&&!m.value&&h},{default:()=>{var j;return[Ln(b.value||g.value,"v-list-item"),_&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!H,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var G;return[(G=l.prepend)==null?void 0:G.call(l,$.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ce,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[x&&e.createVNode(_r,{key:"title"},{default:()=>{var G;return[((G=l.title)==null?void 0:G.call(l,{title:n.title}))??n.title]}}),z&&e.createVNode(Pr,{key:"subtitle"},{default:()=>{var G;return[((G=l.subtitle)==null?void 0:G.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(j=l.default)==null?void 0:j.call(l,$.value)]),O&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var G;return[(G=l.append)==null?void 0:G.call(l,$.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),b.value&&n.ripple]])}),{}}}),Or=U({color:String,inset:Boolean,sticky:Boolean,title:String,...ae(),...Ae()},"VListSubheader"),zr=X()({name:"VListSubheader",props:Or(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:a}=Re(e.toRef(n,"color"));return ee(()=>{const r=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:a},n.style]},{default:()=>{var c;return[r&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),Tr=U({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...ae(),...Ve()},"VDivider"),$r=X()({name:"VDivider",props:Tr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ke(n),{textColorClasses:a,textColorStyles:r}=Re(e.toRef(n,"color")),c=e.computed(()=>{const u={};return n.length&&(u[n.vertical?"maxHeight":"maxWidth"]=J(n.length)),n.thickness&&(u[n.vertical?"borderRightWidth":"borderTopWidth"]=J(n.thickness)),u});return ee(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,a.value,n.class],style:[c.value,r.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),Rr=U({items:Array,returnObject:Boolean},"VListChildren"),ua=X()({name:"VListChildren",props:Rr(),setup(n,o){let{slots:t}=o;return la(),()=>{var l,a;return((l=t.default)==null?void 0:l.call(t))??((a=n.items)==null?void 0:a.map(r=>{var p,f;let{children:c,props:u,type:s,raw:i}=r;if(s==="divider")return((p=t.divider)==null?void 0:p.call(t,{props:u}))??e.createVNode($r,u,null);if(s==="subheader")return((f=t.subheader)==null?void 0:f.call(t,{props:u}))??e.createVNode(zr,u,null);const d={subtitle:t.subtitle?y=>{var g;return(g=t.subtitle)==null?void 0:g.call(t,{...y,item:i})}:void 0,prepend:t.prepend?y=>{var g;return(g=t.prepend)==null?void 0:g.call(t,{...y,item:i})}:void 0,append:t.append?y=>{var g;return(g=t.append)==null?void 0:g.call(t,{...y,item:i})}:void 0,title:t.title?y=>{var g;return(g=t.title)==null?void 0:g.call(t,{...y,item:i})}:void 0},v=Qo.filterProps(u);return c?e.createVNode(Qo,e.mergeProps({value:u==null?void 0:u.value},v),{activator:y=>{let{props:g}=y;const m={...u,...g,value:n.returnObject?i:u.value};return t.header?t.header({props:m}):e.createVNode(dt,m,d)},default:()=>e.createVNode(ua,{items:c},t)}):t.item?t.item({props:u}):e.createVNode(dt,e.mergeProps(u,{value:n.returnObject?i:u.value}),d)}))}}}),ca=U({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:cn}},"list-items");function Dt(n,o){const t=Te(o,n.itemTitle,o),l=Te(o,n.itemValue,t),a=Te(o,n.itemChildren),r={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Ke(o,["children"]):o:Te(o,n.itemProps)};return{title:String(r.title??""),value:r.value,props:r,children:Array.isArray(a)?da(n,a):void 0,raw:o}}function da(n,o){const t=[];for(const l of o)t.push(Dt(n,l));return t}function Dr(n,o){const t=Te(o,n.itemType,"item"),l=function(u){return typeof u=="string"||typeof u=="number"||typeof u=="boolean"}(o)?o:Te(o,n.itemTitle),a=Te(o,n.itemValue,void 0),r=Te(o,n.itemChildren),c={title:l,value:a,...n.itemProps===!0?Ke(o,["children"]):Te(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&r?pa(n,r):void 0,raw:o}}function pa(n,o){const t=[];for(const l of o)t.push(Dr(n,l));return t}const Lr=U({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...xr({selectStrategy:"single-leaf",openStrategy:"list"}),...pn(),...ae(),...ze(),...Je(),...fn(),itemType:{type:String,default:"type"},...ca(),...De(),...Ae(),...Ve(),...Ge({variant:"text"})},"VList"),Mr=X()({name:"VList",props:Lr(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(I){return{items:e.computed(()=>pa(I,I.items))}}(n),{themeClasses:a}=ke(n),{backgroundColorClasses:r,backgroundColorStyles:c}=an(e.toRef(n,"bgColor")),{borderClasses:u}=vn(n),{densityClasses:s}=Me(n),{dimensionStyles:i}=Ze(n),{elevationClasses:d}=mn(n),{roundedClasses:v}=Le(n),{open:p,select:f}=Fr(n),y=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),g=e.toRef(n,"activeColor"),m=e.toRef(n,"baseColor"),b=e.toRef(n,"color");la(),dn({VListGroup:{activeColor:g,baseColor:m,color:b},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:g,baseColor:m,color:b,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),slim:e.toRef(n,"slim"),variant:e.toRef(n,"variant")}});const w=e.shallowRef(!1),N=e.ref();function M(I){w.value=!0}function E(I){w.value=!1}function P(I){var k;w.value||I.relatedTarget&&((k=N.value)!=null&&k.contains(I.relatedTarget))||A()}function L(I){if(N.value){if(I.key==="ArrowDown")A("next");else if(I.key==="ArrowUp")A("prev");else if(I.key==="Home")A("first");else{if(I.key!=="End")return;A("last")}I.preventDefault()}}function A(I){if(N.value)return ot(N.value,I)}return ee(()=>e.createVNode(n.tag,{ref:N,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},a.value,r.value,u.value,s.value,d.value,y.value,v.value,n.class],style:[c.value,i.value,n.style],tabindex:n.disabled||w.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:M,onFocusout:E,onFocus:P,onKeydown:L},{default:()=>[e.createVNode(ua,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:f,focus:A}}});function kt(n,o){return{x:n.x+o.x,y:n.y+o.y}}function el(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return kt({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return kt({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return kt({x:o.width/2,y:o.height/2},o)}const va={static:function(){},connected:function(n,o,t){(Array.isArray(n.target.value)||function(f){for(;f;){if(window.getComputedStyle(f).position==="fixed")return!0;f=f.offsetParent}return!1}(n.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:a}=Qt(()=>{const f=Et(o.location,n.isRtl.value),y=o.origin==="overlap"?f:o.origin==="auto"?It(f):Et(o.origin,n.isRtl.value);return f.side===y.side&&f.align===Vt(y).align?{preferredAnchor:ko(f),preferredOrigin:ko(y)}:{preferredAnchor:f,preferredOrigin:y}}),[r,c,u,s]=["minWidth","minHeight","maxWidth","maxHeight"].map(f=>e.computed(()=>{const y=parseFloat(o[f]);return isNaN(y)?1/0:y})),i=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const f=o.offset.split(" ").map(parseFloat);return f.length<2&&f.push(0),f}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let d=!1;const v=new ResizeObserver(()=>{d&&p()});function p(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!n.target.value||!n.contentEl.value)return;const f=Cl(n.target.value),y=function(k,C){C?k.style.removeProperty("left"):k.style.removeProperty("right");const V=eo(k);return C?V.x+=parseFloat(k.style.right||0):V.x-=parseFloat(k.style.left||0),V.y-=parseFloat(k.style.top||0),V}(n.contentEl.value,n.isRtl.value),g=it(n.contentEl.value);g.length||(g.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(y.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),y.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const m=g.reduce((k,C)=>{const V=C.getBoundingClientRect(),B=new He({x:C===document.documentElement?0:V.x,y:C===document.documentElement?0:V.y,width:C.clientWidth,height:C.clientHeight});return k?new He({x:Math.max(k.left,B.left),y:Math.max(k.top,B.top),width:Math.min(k.right,B.right)-Math.max(k.left,B.left),height:Math.min(k.bottom,B.bottom)-Math.max(k.top,B.top)}):B},void 0);m.x+=12,m.y+=12,m.width-=24,m.height-=24;let b={anchor:l.value,origin:a.value};function w(k){const C=new He(y),V=el(k.anchor,f),B=el(k.origin,C);let{x:D,y:$}=(h=B,{x:(F=V).x-h.x,y:F.y-h.y});var F,h;switch(k.anchor.side){case"top":$-=i.value[0];break;case"bottom":$+=i.value[0];break;case"left":D-=i.value[0];break;case"right":D+=i.value[0]}switch(k.anchor.align){case"top":$-=i.value[1];break;case"bottom":$+=i.value[1];break;case"left":D-=i.value[1];break;case"right":D+=i.value[1]}return C.x+=D,C.y+=$,C.width=Math.min(C.width,u.value),C.height=Math.min(C.height,s.value),{overflows:Fo(C,m),x:D,y:$}}let N=0,M=0;const E={x:0,y:0},P={x:!1,y:!1};let L=-1;for(;;){if(L++>10){A="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${A}`);break}const{x:k,y:C,overflows:V}=w(b);N+=k,M+=C,y.x+=k,y.y+=C;{const B=xo(b.anchor),D=V.x.before||V.x.after,$=V.y.before||V.y.after;let F=!1;if(["x","y"].forEach(h=>{if(h==="x"&&D&&!P.x||h==="y"&&$&&!P.y){const S={anchor:{...b.anchor},origin:{...b.origin}},x=h==="x"?B==="y"?Vt:It:B==="y"?It:Vt;S.anchor=x(S.anchor),S.origin=x(S.origin);const{overflows:z}=w(S);(z[h].before<=V[h].before&&z[h].after<=V[h].after||z[h].before+z[h].after<(V[h].before+V[h].after)/2)&&(b=S,F=P[h]=!0)}}),F)continue}V.x.before&&(N+=V.x.before,y.x+=V.x.before),V.x.after&&(N-=V.x.after,y.x-=V.x.after),V.y.before&&(M+=V.y.before,y.y+=V.y.before),V.y.after&&(M-=V.y.after,y.y-=V.y.after);{const B=Fo(y,m);E.x=m.width-B.x.before-B.x.after,E.y=m.height-B.y.before-B.y.after,N+=B.x.before,y.x+=B.x.before,M+=B.y.before,y.y+=B.y.before}break}var A;const I=xo(b.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:J(xt(M)),left:n.isRtl.value?void 0:J(xt(N)),right:n.isRtl.value?J(xt(-N)):void 0,minWidth:J(I==="y"?Math.min(r.value,f.width):r.value),maxWidth:J(nl(ln(E.x,r.value===1/0?0:r.value,u.value))),maxHeight:J(nl(ln(E.y,c.value===1/0?0:c.value,s.value)))}),{available:E,contentBox:y}}return e.watch([n.target,n.contentEl],(f,y)=>{let[g,m]=f,[b,w]=y;b&&!Array.isArray(b)&&v.unobserve(b),g&&!Array.isArray(g)&&v.observe(g),w&&v.unobserve(w),m&&v.observe(m)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,a.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const f=p();if(!f)return;const{available:y,contentBox:g}=f;g.height>y.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},Wr=U({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in va},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function xt(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nl(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let Lt=!0;const pt=[];let tl=-1;function Mt(){cancelAnimationFrame(tl),tl=requestAnimationFrame(()=>{const n=pt.shift();n&&n(),pt.length?Mt():Lt=!0})}const et={none:null,close:function(n){ol(n.targetEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var u;const t=(u=n.root.value)==null?void 0:u.offsetParent,l=[...new Set([...it(n.targetEl.value,o.contained?t:void 0),...it(n.contentEl.value,o.contained?t:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(c=t||document.documentElement,to(c)&&c);var c;r&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((s,i)=>{s.style.setProperty("--v-body-scroll-x",J(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",J(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",J(a)),s.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((s,i)=>{const d=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(s.style.getPropertyValue("--v-body-scroll-y"));s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-d,s.scrollTop=-v}),r&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,a=-1,r=-1;function c(u){var s;s=()=>{var v,p;const i=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,u),l=(performance.now()-i)/(1e3/60)>2},!Lt||pt.length?(pt.push(s),Mt()):(Lt=!1,s(),Mt())}r=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{t.run(()=>{ol(n.targetEl.value??n.contentEl.value,u=>{l?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{c(u)})})):c(u)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}},jr=U({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in et}},"VOverlay-scroll-strategies");function ol(n,o){const t=[document,...it(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const Wt=Symbol.for("vuetify:v-menu"),Ur=U({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),Gr=U({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Ur()},"VOverlay-activator");function qr(n,o){let{isActive:t,isTop:l}=o;const a=Se("useActivator"),r=e.ref();let c=!1,u=!1,s=!0;const i=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),d=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!i.value),{runOpenDelay:v,runCloseDelay:p}=function(C,V){const B={},D=$=>()=>{if(!xe)return Promise.resolve(!0);const F=$==="openDelay";return B.closeDelay&&window.clearTimeout(B.closeDelay),delete B.closeDelay,B.openDelay&&window.clearTimeout(B.openDelay),delete B.openDelay,new Promise(h=>{const S=parseInt(C[$]??0,10);B[$]=window.setTimeout(()=>{V==null||V(F),h(F)},S)})};return{runCloseDelay:D("closeDelay"),runOpenDelay:D("openDelay")}}(n,C=>{C!==(n.openOnHover&&c||i.value&&u)||n.openOnHover&&t.value&&!l.value||(t.value!==C&&(s=!0),t.value=C)}),f=e.ref(),y=C=>{C.stopPropagation(),r.value=C.currentTarget||C.target,t.value||(f.value=[C.clientX,C.clientY]),t.value=!t.value},g=C=>{var V;(V=C.sourceCapabilities)!=null&&V.firesTouchEvents||(c=!0,r.value=C.currentTarget||C.target,v())},m=C=>{c=!1,p()},b=C=>{lt(C.target,":focus-visible")!==!1&&(u=!0,C.stopPropagation(),r.value=C.currentTarget||C.target,v())},w=C=>{u=!1,C.stopPropagation(),p()},N=e.computed(()=>{const C={};return d.value&&(C.onClick=y),n.openOnHover&&(C.onMouseenter=g,C.onMouseleave=m),i.value&&(C.onFocus=b,C.onBlur=w),C}),M=e.computed(()=>{const C={};if(n.openOnHover&&(C.onMouseenter=()=>{c=!0,v()},C.onMouseleave=()=>{c=!1,p()}),i.value&&(C.onFocusin=()=>{u=!0,v()},C.onFocusout=()=>{u=!1,p()}),n.closeOnContentClick){const V=e.inject(Wt,null);C.onClick=()=>{t.value=!1,V==null||V.closeParents()}}return C}),E=e.computed(()=>{const C={};return n.openOnHover&&(C.onMouseenter=()=>{s&&(c=!0,s=!1,v())},C.onMouseleave=()=>{c=!1,p()}),C});e.watch(l,C=>{!C||(!n.openOnHover||c||i.value&&u)&&(!i.value||u||n.openOnHover&&c)||(t.value=!1)}),e.watch(t,C=>{C||setTimeout(()=>{f.value=void 0})},{flush:"post"});const P=e.ref();e.watchEffect(()=>{P.value&&e.nextTick(()=>{r.value=nt(P.value)})});const L=e.ref(),A=e.computed(()=>n.target==="cursor"&&f.value?f.value:L.value?nt(L.value):ll(n.target,a)||r.value),I=e.computed(()=>Array.isArray(A.value)?void 0:A.value);let k;return e.watch(()=>!!n.activator,C=>{C&&xe?(k=e.effectScope(),k.run(()=>{(function(V,B,D){let{activatorEl:$,activatorEvents:F}=D;function h(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.activatorProps;z&&function(O,H){Object.keys(H).forEach(_=>{if(Pt(_)){const W=Vo(_),R=Yn.get(O);if(H[_]==null)R==null||R.forEach(j=>{const[G,Y]=j;G===W&&(O.removeEventListener(W,Y),R.delete(j))});else if(!R||![...R].some(j=>j[0]===W&&j[1]===H[_])){O.addEventListener(W,H[_]);const j=R||new Set;j.add([W,H[_]]),Yn.has(O)||Yn.set(O,j)}}else H[_]==null?O.removeAttribute(_):O.setAttribute(_,H[_])})}(z,e.mergeProps(F.value,T))}function S(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.activatorProps;z&&function(O,H){Object.keys(H).forEach(_=>{if(Pt(_)){const W=Vo(_),R=Yn.get(O);R==null||R.forEach(j=>{const[G,Y]=j;G===W&&(O.removeEventListener(W,Y),R.delete(j))})}else O.removeAttribute(_)})}(z,e.mergeProps(F.value,T))}function x(){const z=ll(arguments.length>0&&arguments[0]!==void 0?arguments[0]:V.activator,B);return $.value=(z==null?void 0:z.nodeType)===Node.ELEMENT_NODE?z:void 0,$.value}e.watch(()=>V.activator,(z,T)=>{if(T&&z!==T){const O=x(T);O&&S(O)}z&&e.nextTick(()=>h())},{immediate:!0}),e.watch(()=>V.activatorProps,()=>{h()}),e.onScopeDispose(()=>{S()})})(n,a,{activatorEl:r,activatorEvents:N})})):k&&k.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{k==null||k.stop()}),{activatorEl:r,activatorRef:P,target:A,targetEl:I,targetRef:L,activatorEvents:N,contentEvents:M,scrimEvents:E}}function ll(n,o){var l,a;if(!n)return;let t;if(n==="parent"){let r=(a=(l=o==null?void 0:o.proxy)==null?void 0:l.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;t=r}else t=typeof n=="string"?document.querySelector(n):"$el"in n?n.$el:n;return t}const Hr=Symbol.for("vuetify:display");function fa(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.inject(Hr);if(!t)throw new Error("Could not find Vuetify display injection");const l=e.computed(()=>{if(!n.mobileBreakpoint)return t.mobile.value;const r=typeof n.mobileBreakpoint=="number"?n.mobileBreakpoint:t.thresholds.value[n.mobileBreakpoint];return t.width.valueo?{[`${o}--mobile`]:l.value}:{});return{...t,displayClasses:a,mobile:l}}const Yr=U({eager:Boolean},"lazy");function ma(){const n=Se("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const al=Symbol.for("vuetify:stack"),kn=e.reactive([]);function Xr(){return!0}function rl(n,o,t){if(!n||ya(n,t)===!1)return!1;const l=Il(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const a=(typeof t.value=="object"&&t.value.include||(()=>[]))();return a.push(o),!a.some(r=>r==null?void 0:r.contains(n.target))}function ya(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Xr)(n)}function il(n,o){const t=Il(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Kr={mounted(n,o){const t=a=>function(r,c,u){const s=typeof u.value=="function"?u.value:u.value.handler;c._clickOutside.lastMousedownWasOutside&&rl(r,c,u)&&setTimeout(()=>{ya(r,u)&&s&&s(r)},0)}(a,n,o),l=a=>{n._clickOutside.lastMousedownWasOutside=rl(a,n,o)};il(n,a=>{a.addEventListener("click",t,!0),a.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&(il(n,t=>{var r;if(!t||!((r=n._clickOutside)!=null&&r[o.instance.$.uid]))return;const{onClick:l,onMousedown:a}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",a,!0)}),delete n._clickOutside[o.instance.$.uid])}};function Jr(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const ga=U({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Gr(),...ae(),...Je(),...Yr(),...Wr(),...jr(),...Ve(),...Dn()},"VOverlay"),sl=X()({name:"VOverlay",directives:{ClickOutside:Kr},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ga()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var O,H;let{slots:t,attrs:l,emit:a}=o;const r=he(n,"modelValue"),c=e.computed({get:()=>r.value,set:_=>{_&&n.disabled||(r.value=_)}}),{teleportTarget:u}=function(_){return{teleportTarget:e.computed(()=>{const W=_.value;if(W===!0||!xe)return;const R=W===!1?document.body:typeof W=="string"?document.querySelector(W):W;if(R==null)return void e.warn(`Unable to locate target ${W}`);let j=R.querySelector(":scope > .v-overlay-container");return j||(j=document.createElement("div"),j.className="v-overlay-container",R.appendChild(j)),j})}}(e.computed(()=>n.attach||n.contained)),{themeClasses:s}=ke(n),{rtlClasses:i,isRtl:d}=Rn(),{hasContent:v,onAfterLeave:p}=function(_,W){const R=e.shallowRef(!1),j=e.computed(()=>R.value||_.eager||W.value);return e.watch(W,()=>R.value=!0),{isBooted:R,hasContent:j,onAfterLeave:function(){_.eager||(R.value=!1)}}}(n,c),f=an(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:y,localTop:g,stackStyles:m}=function(_,W,R){const j=Se("useStack"),G=!R,Y=e.inject(al,void 0),te=e.reactive({activeChildren:new Set});e.provide(al,te);const ie=e.shallowRef(+W.value);Ye(_,()=>{var pe;const fe=(pe=kn.at(-1))==null?void 0:pe[1];ie.value=fe?fe+10:+W.value,G&&kn.push([j.uid,ie.value]),Y==null||Y.activeChildren.add(j.uid),e.onScopeDispose(()=>{if(G){const de=e.toRaw(kn).findIndex(ge=>ge[0]===j.uid);kn.splice(de,1)}Y==null||Y.activeChildren.delete(j.uid)})});const re=e.shallowRef(!0);G&&e.watchEffect(()=>{var pe;const fe=((pe=kn.at(-1))==null?void 0:pe[0])===j.uid;setTimeout(()=>re.value=fe)});const Ie=e.computed(()=>!te.activeChildren.size);return{globalTop:e.readonly(re),localTop:Ie,stackStyles:e.computed(()=>({zIndex:ie.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:b,activatorRef:w,target:N,targetEl:M,targetRef:E,activatorEvents:P,contentEvents:L,scrimEvents:A}=qr(n,{isActive:c,isTop:g}),{dimensionStyles:I}=Ze(n),k=function(){if(!xe)return e.shallowRef(!1);const{ssr:_}=fa();if(_){const W=e.shallowRef(!1);return e.onMounted(()=>{W.value=!0}),W}return e.shallowRef(!0)}(),{scopeId:C}=ma();e.watch(()=>n.disabled,_=>{_&&(c.value=!1)});const V=e.ref(),B=e.ref(),{contentStyles:D,updateLocation:$}=function(_,W){const R=e.ref({}),j=e.ref();function G(Y){var te;(te=j.value)==null||te.call(j,Y)}return xe&&Ye(()=>!(!W.isActive.value||!_.locationStrategy),Y=>{var te,ie;e.watch(()=>_.locationStrategy,Y),e.onScopeDispose(()=>{window.removeEventListener("resize",G),j.value=void 0}),window.addEventListener("resize",G,{passive:!0}),typeof _.locationStrategy=="function"?j.value=(te=_.locationStrategy(W,_,R))==null?void 0:te.updateLocation:j.value=(ie=va[_.locationStrategy](W,_,R))==null?void 0:ie.updateLocation}),{contentStyles:R,updateLocation:j}}(n,{isRtl:d,contentEl:B,target:N,isActive:c});function F(_){a("click:outside",_),n.persistent?T():c.value=!1}function h(){return c.value&&y.value}function S(_){var W,R;_.key==="Escape"&&y.value&&(n.persistent?T():(c.value=!1,(W=B.value)!=null&&W.contains(document.activeElement)&&((R=b.value)==null||R.focus())))}(function(_,W){if(!xe)return;let R;e.watchEffect(async()=>{R==null||R.stop(),W.isActive.value&&_.scrollStrategy&&(R=e.effectScope(),await e.nextTick(),R.active&&R.run(()=>{var j;typeof _.scrollStrategy=="function"?_.scrollStrategy(W,_,R):(j=et[_.scrollStrategy])==null||j.call(et,W,_,R)}))}),e.onScopeDispose(()=>{R==null||R.stop()})})(n,{root:V,contentEl:B,targetEl:M,isActive:c,updateLocation:$}),xe&&e.watch(c,_=>{_?window.addEventListener("keydown",S):window.removeEventListener("keydown",S)},{immediate:!0});const x=(H=(O=Se("useRouter"))==null?void 0:O.proxy)==null?void 0:H.$router;Ye(()=>n.closeOnBack,()=>{(function(_,W){let R,j,G=!1;function Y(te){var ie;(ie=te.state)!=null&&ie.replaced||(G=!0,setTimeout(()=>G=!1))}xe&&(e.nextTick(()=>{window.addEventListener("popstate",Y),R=_==null?void 0:_.beforeEach((te,ie,re)=>{wt?G?W(re):re():setTimeout(()=>G?W(re):re()),wt=!0}),j=_==null?void 0:_.afterEach(()=>{wt=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",Y),R==null||R(),j==null||j()}))})(x,_=>{y.value&&c.value?(_(!1),n.persistent?T():c.value=!1):_()})});const z=e.ref();function T(){n.noClickAnimation||B.value&&on(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:rt})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&u.value==null,_=>{if(_){const W=Bl(V.value);W&&W!==document.scrollingElement&&(z.value=W.scrollTop)}}),ee(()=>{var _;return e.createVNode(e.Fragment,null,[(_=t.activator)==null?void 0:_.call(t,{isActive:c.value,props:e.mergeProps({ref:w,targetRef:E},P.value,n.activatorProps)}),k.value&&v.value&&e.createVNode(e.Teleport,{disabled:!u.value,to:u.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":c.value,"v-overlay--contained":n.contained},s.value,i.value,n.class],style:[m.value,{top:J(z.value)},n.style],ref:V},C,l),[e.createVNode(Jr,e.mergeProps({color:f,modelValue:c.value&&!!n.scrim},A.value),null),e.createVNode(We,{appear:!0,persisted:!0,transition:n.transition,target:N.value,onAfterLeave:()=>{p(),a("afterLeave")}},{default:()=>{var W;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:B,class:["v-overlay__content",n.contentClass],style:[I.value,D.value]},L.value,n.contentProps),[(W=t.default)==null?void 0:W.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:F,closeConditional:h,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:N,animateClick:T,contentEl:B,globalTop:y,localTop:g,updateLocation:$}}}),Ft=Symbol("Forwarded refs");function Nt(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function yt(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),{scopeId:a}=ma(),r=Pe(),c=e.computed(()=>n.id||`v-menu-${r}`),u=e.ref(),s=e.inject(Wt,null),i=e.shallowRef(0);async function d(g){var w,N,M;const m=g.relatedTarget,b=g.target;await e.nextTick(),l.value&&m!==b&&((w=u.value)!=null&&w.contentEl)&&((N=u.value)!=null&&N.globalTop)&&![document,u.value.contentEl].includes(b)&&!u.value.contentEl.contains(b)&&((M=_t(u.value.contentEl)[0])==null||M.focus())}function v(){s==null||s.closeParents()}function p(g){var m,b,w;!n.disabled&&g.key==="Tab"&&(gl(_t((m=u.value)==null?void 0:m.contentEl,!1),g.shiftKey?"prev":"next",N=>N.tabIndex>=0)||(l.value=!1,(w=(b=u.value)==null?void 0:b.activatorEl)==null||w.focus()))}function f(g){var b;if(n.disabled)return;const m=(b=u.value)==null?void 0:b.contentEl;m&&l.value?g.key==="ArrowDown"?(g.preventDefault(),ot(m,"next")):g.key==="ArrowUp"&&(g.preventDefault(),ot(m,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(l.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>f(g))))}e.provide(Wt,{register(){++i.value},unregister(){--i.value},closeParents(){setTimeout(()=>{i.value||(l.value=!1,s==null||s.closeParents())},40)}}),e.watch(l,g=>{g?(s==null||s.register(),document.addEventListener("focusin",d,{once:!0})):(s==null||s.unregister(),document.removeEventListener("focusin",d))});const y=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:f},n.activatorProps));return ee(()=>{const g=sl.filterProps(n);return e.createVNode(sl,e.mergeProps({ref:u,class:["v-menu",n.class],style:n.style},g,{modelValue:l.value,"onUpdate:modelValue":m=>l.value=m,absolute:!0,activatorProps:y.value,"onClick:outside":v,onKeydown:p},a),{activator:t.activator,default:function(){for(var m=arguments.length,b=new Array(m),w=0;w{var N;return[(N=t.default)==null?void 0:N.call(t,...b)]}})}})}),yt({id:c,ΨopenChildren:i},u)}}),ei=U({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...ae(),...Dn({transition:{component:Nl}})},"VCounter"),ha=X()({name:"VCounter",functional:!0,props:ei(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return ee(()=>e.createVNode(We,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),ni=U({floating:Boolean,...ae()},"VFieldLabel"),Jn=X()({name:"VFieldLabel",props:ni(),setup(n,o){let{slots:t}=o;return ee(()=>e.createVNode(Kl,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),ti=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],vo=U({appendInnerIcon:se,bgColor:String,clearable:Boolean,clearIcon:{type:se,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:se,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>ti.includes(n)},"onClick:clear":Ee(),"onClick:appendInner":Ee(),"onClick:prependInner":Ee(),...ae(),...uo(),...De(),...Ve()},"VField"),fo=X()({name:"VField",inheritAttrs:!1,props:{id:String,...na(),...vo()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{themeClasses:r}=ke(n),{loaderClasses:c}=vt(n),{focusClasses:u,isFocused:s,focus:i,blur:d}=Gn(n),{InputIcon:v}=ea(n),{roundedClasses:p}=Le(n),{rtlClasses:f}=Rn(),y=e.computed(()=>n.dirty||n.active),g=e.computed(()=>!(n.singleLine||!n.label&&!a.label)),m=Pe(),b=e.computed(()=>n.id||`input-${m}`),w=e.computed(()=>`${b.value}-messages`),N=e.ref(),M=e.ref(),E=e.ref(),P=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:L,backgroundColorStyles:A}=an(e.toRef(n,"bgColor")),{textColorClasses:I,textColorStyles:k}=Re(e.computed(()=>n.error||n.disabled?void 0:y.value&&s.value?n.color:n.baseColor));e.watch(y,B=>{if(g.value){const D=N.value.$el,$=M.value.$el;requestAnimationFrame(()=>{const F=eo(D),h=$.getBoundingClientRect(),S=h.x-F.x,x=h.y-F.y-(F.height/2-h.height/2),z=h.width/.75,T=Math.abs(z-F.width)>1?{maxWidth:J(z)}:void 0,O=getComputedStyle(D),H=getComputedStyle($),_=1e3*parseFloat(O.transitionDuration)||150,W=parseFloat(H.getPropertyValue("--v-field-label-scale")),R=H.getPropertyValue("color");D.style.visibility="visible",$.style.visibility="hidden",on(D,{transform:`translate(${S}px, ${x}px) scale(${W})`,color:R,...T},{duration:_,easing:rt,direction:B?"normal":"reverse"}).finished.then(()=>{D.style.removeProperty("visibility"),$.style.removeProperty("visibility")})})}},{flush:"post"});const C=e.computed(()=>({isActive:y,isFocused:s,controlRef:E,blur:d,focus:i}));function V(B){B.target!==document.activeElement&&B.preventDefault()}return ee(()=>{var S,x,z;const B=n.variant==="outlined",D=a["prepend-inner"]||n.prependInnerIcon,$=!(!n.clearable&&!a.clear),F=!!(a["append-inner"]||n.appendInnerIcon||$),h=()=>a.label?a.label({...C.value,label:n.label,props:{for:b.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":y.value,"v-field--appended":F,"v-field--center-affix":n.centerAffix??!P.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":D,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!h(),[`v-field--variant-${n.variant}`]:!0},r.value,L.value,u.value,c.value,p.value,f.value,n.class],style:[A.value,n.style],onClick:V},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(co,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:a.loader}),D&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(S=a["prepend-inner"])==null?void 0:S.call(a,C.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&g.value&&e.createVNode(Jn,{key:"floating-label",ref:M,class:[I.value],floating:!0,for:b.value,style:k.value},{default:()=>[h()]}),e.createVNode(Jn,{ref:N,for:b.value},{default:()=>[h()]}),(x=a.default)==null?void 0:x.call(a,{...C.value,props:{id:b.value,class:"v-field__input","aria-describedby":w.value},focus:i,blur:d})]),$&&e.createVNode(Al,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:T=>{T.preventDefault(),T.stopPropagation()}},[a.clear?a.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),F&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(z=a["append-inner"])==null?void 0:z.call(a,C.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",I.value],style:k.value},[B&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),g.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(Jn,{ref:M,floating:!0,for:b.value},{default:()=>[h()]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),P.value&&g.value&&e.createVNode(Jn,{ref:M,floating:!0,for:b.value},{default:()=>[h()]})])])}),{controlRef:E}}});function ba(n){return vl(n,Object.keys(fo.props).filter(o=>!Pt(o)&&o!=="class"&&o!=="style"))}const oi=["color","file","time","date","datetime-local","week","month"],Ca=U({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...qn(),...vo()},"VTextField"),jt=X()({name:"VTextField",directives:{Intersect:ao},inheritAttrs:!1,props:Ca(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):typeof n.counterValue=="number"?n.counterValue:(r.value??"").toString().length),d=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),v=e.computed(()=>["plain","underlined"].includes(n.variant));function p(P,L){var A,I;n.autofocus&&P&&((I=(A=L[0].target)==null?void 0:A.focus)==null||I.call(A))}const f=e.ref(),y=e.ref(),g=e.ref(),m=e.computed(()=>oi.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function b(){var P;g.value!==document.activeElement&&((P=g.value)==null||P.focus()),c.value||u()}function w(P){l("mousedown:control",P),P.target!==g.value&&(b(),P.preventDefault())}function N(P){b(),l("click:control",P)}function M(P){P.stopPropagation(),b(),e.nextTick(()=>{r.value=null,yl(n["onClick:clear"],P)})}function E(P){var A;const L=P.target;if(r.value=L.value,((A=n.modelModifiers)==null?void 0:A.trim)&&["text","search","password","tel","url"].includes(n.type)){const I=[L.selectionStart,L.selectionEnd];e.nextTick(()=>{L.selectionStart=I[0],L.selectionEnd=I[1]})}}return ee(()=>{const P=!!(a.counter||n.counter!==!1&&n.counter!=null),L=!(!P&&!a.details),[A,I]=Tn(t),{modelValue:k,...C}=je.filterProps(n),V=ba(n);return e.createVNode(je,e.mergeProps({ref:f,modelValue:r.value,"onUpdate:modelValue":B=>r.value=B,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-input--plain-underlined":v.value},n.class],style:n.style},A,C,{centerAffix:!v.value,focused:c.value}),{...a,default:B=>{let{id:D,isDisabled:$,isDirty:F,isReadonly:h,isValid:S}=B;return e.createVNode(fo,e.mergeProps({ref:y,onMousedown:w,onClick:N,"onClick:clear":M,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},V,{id:D.value,active:m.value||F.value,dirty:F.value||n.dirty,disabled:$.value,focused:c.value,error:S.value===!1}),{...a,default:x=>{let{props:{class:z,...T}}=x;const O=e.withDirectives(e.createVNode("input",e.mergeProps({ref:g,value:r.value,onInput:E,autofocus:n.autofocus,readonly:h.value,disabled:$.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:b,onBlur:s},T,I),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),a.default?e.createVNode("div",{class:z,"data-no-activator":""},[a.default(),O]):e.cloneVNode(O,{class:z}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:L?B=>{var D;return e.createVNode(e.Fragment,null,[(D=a.details)==null?void 0:D.call(a,B),P&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ha,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),yt({},f,y,g)}}),li=U({renderless:Boolean,...ae()},"VVirtualScrollItem"),ai=X()({name:"VVirtualScrollItem",inheritAttrs:!1,props:li(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{resizeRef:r,contentRect:c}=oo(void 0,"border");e.watch(()=>{var u;return(u=c.value)==null?void 0:u.height},u=>{u!=null&&l("update:height",u)}),ee(()=>{var u,s;return n.renderless?e.createVNode(e.Fragment,null,[(u=a.default)==null?void 0:u.call(a,{itemRef:r})]):e.createVNode("div",e.mergeProps({ref:r,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(s=a.default)==null?void 0:s.call(a)])})}}),ri=U({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function ii(n,o){const t=fa(),l=e.shallowRef(0);e.watchEffect(()=>{l.value=parseFloat(n.itemHeight||0)});const a=e.shallowRef(0),r=e.shallowRef(Math.ceil((parseInt(n.height)||t.height.value)/(l.value||16))||1),c=e.shallowRef(0),u=e.shallowRef(0),s=e.ref(),i=e.ref();let d=0;const{resizeRef:v,contentRect:p}=oo();e.watchEffect(()=>{v.value=s.value});const f=e.computed(()=>{var F;return s.value===document.documentElement?t.height.value:((F=p.value)==null?void 0:F.height)||parseInt(n.height)||0}),y=e.computed(()=>!!(s.value&&i.value&&f.value&&l.value));let g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length});const b=e.shallowRef(0);let w=-1;function N(F){return g[F]||l.value}const M=function(F,h){let S=0;const x=function(){for(var z=arguments.length,T=new Array(z),O=0;OF(...T),e.unref(h))};return x.clear=()=>{clearTimeout(S)},x.immediate=F,x}(()=>{const F=performance.now();m[0]=0;const h=o.value.length;for(let S=1;S<=h-1;S++)m[S]=(m[S-1]||0)+N(S-1);b.value=Math.max(b.value,performance.now()-F)},b),E=e.watch(y,F=>{F&&(E(),d=i.value.offsetTop,M.immediate(),V(),~w&&e.nextTick(()=>{xe&&window.requestAnimationFrame(()=>{D(w),w=-1})}))});function P(F){return F=ln(F,0,o.value.length-1),m[F]||0}function L(F){return function(h,S){let x=h.length-1,z=0,T=0,O=null,H=-1;if(h[x]>1,O=h[T],O>S)x=T-1;else{if(!(O{h&&V()}),e.onScopeDispose(()=>{M.clear()});let A=0,I=0,k=0,C=-1;function V(){cancelAnimationFrame(C),C=requestAnimationFrame(B)}function B(){if(!s.value||!f.value)return;const F=A-d,h=Math.sign(I),S=ln(L(Math.max(0,F-100)),0,o.value.length),x=ln(L(F+f.value+100)+1,S+1,o.value.length);if((h!==-1||Sr.value)){const z=P(a.value)-P(S),T=P(x)-P(r.value);Math.max(z,T)>100?(a.value=S,r.value=x):(S<=0&&(a.value=S),x>=o.value.length&&(r.value=x))}c.value=P(a.value),u.value=P(o.value.length)-P(r.value)}function D(F){const h=P(F);!s.value||F&&!h?w=F:s.value.scrollTop=h}const $=e.computed(()=>o.value.slice(a.value,r.value).map((F,h)=>({raw:F,index:h+a.value})));return e.watch(o,()=>{g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length}),M.immediate(),V()},{deep:!0}),{containerRef:s,markerRef:i,computedItems:$,paddingTop:c,paddingBottom:u,scrollToIndex:D,handleScroll:function(){if(!s.value||!i.value)return;const F=s.value.scrollTop,h=performance.now();h-k>500?(I=Math.sign(F-A),d=i.value.offsetTop):I=F-A,A=F,k=h,V()},handleScrollend:function(){s.value&&i.value&&(I=0,k=0,V())},handleItemResize:function(F,h){const S=g[F],x=l.value;l.value=x?Math.min(l.value,h):h,S===h&&x===l.value||(g[F]=h,M())}}}const si=U({items:{type:Array,default:()=>[]},renderless:Boolean,...ri(),...ae(),...Je()},"VVirtualScroll"),ui=X()({name:"VVirtualScroll",props:si(),setup(n,o){let{slots:t}=o;const l=Se("VVirtualScroll"),{dimensionStyles:a}=Ze(n),{containerRef:r,markerRef:c,handleScroll:u,handleScrollend:s,handleItemResize:i,scrollToIndex:d,paddingTop:v,paddingBottom:p,computedItems:f}=ii(n,e.toRef(n,"items"));return Ye(()=>n.renderless,()=>{function y(){var m,b;const g=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";r.value===document.documentElement?(document[g]("scroll",u,{passive:!0}),document[g]("scrollend",s)):((m=r.value)==null||m[g]("scroll",u,{passive:!0}),(b=r.value)==null||b[g]("scrollend",s))}e.onMounted(()=>{r.value=Bl(l.vnode.el,!0),y(!0)}),e.onScopeDispose(y)}),ee(()=>{const y=f.value.map(g=>e.createVNode(ai,{key:g.index,renderless:n.renderless,"onUpdate:height":m=>i(g.index,m)},{default:m=>{var b;return(b=t.default)==null?void 0:b.call(t,{item:g.raw,index:g.index,...m})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:c,class:"v-virtual-scroll__spacer",style:{paddingTop:J(v.value)}},null),y,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:J(p.value)}},null)]):e.createVNode("div",{ref:r,class:["v-virtual-scroll",n.class],onScrollPassive:u,onScrollend:s,style:[a.value,n.style]},[e.createVNode("div",{ref:c,class:"v-virtual-scroll__container",style:{paddingTop:J(v.value),paddingBottom:J(p.value)}},[y])])}),{scrollToIndex:d}}});function ci(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(a){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(a){var u,s;if(a.key==="Tab"&&((u=o.value)==null||u.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const r=(s=n.value)==null?void 0:s.$el;if(!r)return;a.key!=="Home"&&a.key!=="End"||r.scrollTo({top:a.key==="Home"?0:r.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>{if(t.value){const d=e.watch(t,()=>{d(),i()})}else i()})}();const c=r.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const i=r.getBoundingClientRect().top;for(const d of c)if(d.getBoundingClientRect().top>=i){d.focus();break}}else{const i=r.getBoundingClientRect().bottom;for(const d of[...c].reverse())if(d.getBoundingClientRect().bottom<=i){d.focus();break}}}}}const di=U({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:se,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...ca({itemChildren:!1})},"Select"),pi=U({...di(),...Ke(Ca({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Dn({transition:{component:Fl}})},"VSelect"),vi=X()({name:"VSelect",props:pi(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=lo(),a=e.ref(),r=e.ref(),c=e.ref(),u=he(n,"menu"),s=e.computed({get:()=>u.value,set:h=>{var S;u.value&&!h&&((S=r.value)!=null&&S.ΨopenChildren)||(u.value=h)}}),{items:i,transformIn:d,transformOut:v}=function(h){const S=e.computed(()=>da(h,h.items)),x=e.computed(()=>S.value.some(z=>z.value===null));return{items:S,transformIn:function(z){return x.value||(z=z.filter(T=>T!==null)),z.map(T=>h.returnObject&&typeof T=="string"?Dt(h,T):S.value.find(O=>h.valueComparator(T,O.value))||Dt(h,T))},transformOut:function(z){return h.returnObject?z.map(T=>{let{raw:O}=T;return O}):z.map(T=>{let{value:O}=T;return O})}}}(n),p=he(n,"modelValue",[],h=>d(h===null?[null]:$e(h)),h=>{const S=v(h);return n.multiple?S:S[0]??null}),f=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(p.value):typeof n.counterValue=="number"?n.counterValue:p.value.length),y=ta(),g=e.computed(()=>p.value.map(h=>h.value)),m=e.shallowRef(!1),b=e.computed(()=>s.value?n.closeText:n.openText);let w,N="";const M=e.computed(()=>n.hideSelected?i.value.filter(h=>!p.value.some(S=>S===h)):i.value),E=e.computed(()=>n.hideNoData&&!i.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),P=e.ref(),{onListScroll:L,onListKeydown:A}=ci(P,a);function I(h){n.openOnClear&&(s.value=!0)}function k(){E.value||(s.value=!s.value)}function C(h){var z,T;if(!h.key||n.readonly||y!=null&&y.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(h.key)&&h.preventDefault(),["Enter","ArrowDown"," "].includes(h.key)&&(s.value=!0),["Escape","Tab"].includes(h.key)&&(s.value=!1),h.key==="Home"?(z=P.value)==null||z.focus("first"):h.key==="End"&&((T=P.value)==null||T.focus("last")),n.multiple||!function(O){const H=O.key.length===1,_=!O.ctrlKey&&!O.metaKey&&!O.altKey;return H&&_}(h)))return;const S=performance.now();S-w>1e3&&(N=""),N+=h.key.toLowerCase(),w=S;const x=i.value.find(O=>O.title.toLowerCase().startsWith(N));x!==void 0&&(p.value=[x])}function V(h){if(n.multiple){const S=p.value.findIndex(x=>n.valueComparator(x.value,h.value));if(S===-1)p.value=[...p.value,h];else{const x=[...p.value];x.splice(S,1),p.value=x}}else p.value=[h],s.value=!1}function B(h){var S;(S=P.value)!=null&&S.$el.contains(h.relatedTarget)||(s.value=!1)}function D(){var h;m.value&&((h=a.value)==null||h.focus())}function $(h){m.value=!0}function F(h){if(h==null)p.value=[];else if(lt(a.value,":autofill")||lt(a.value,":-webkit-autofill")){const S=i.value.find(x=>x.title===h);S&&V(S)}else a.value&&(a.value.value="")}return e.watch(s,()=>{if(!n.hideSelected&&s.value&&p.value.length){const h=M.value.findIndex(S=>p.value.some(x=>n.valueComparator(x.value,S.value)));xe&&window.requestAnimationFrame(()=>{var S;h>=0&&((S=c.value)==null||S.scrollToIndex(h))})}}),ee(()=>{const h=!(!n.chips&&!t.chip),S=!!(!n.hideNoData||M.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),x=p.value.length>0,z=jt.filterProps(n),T=x||!m.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(jt,e.mergeProps({ref:a},z,{modelValue:p.value.map(O=>O.props.value).join(", "),"onUpdate:modelValue":F,focused:m.value,"onUpdate:focused":O=>m.value=O,validationValue:p.externalValue,counterValue:f.value,dirty:x,class:["v-select",{"v-select--active-menu":s.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:T,"onClick:clear":I,"onMousedown:control":k,onBlur:B,onKeydown:C,"aria-label":l(b.value),title:l(b.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(Qr,e.mergeProps({ref:r,modelValue:s.value,"onUpdate:modelValue":O=>s.value=O,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:D},n.menuProps),{default:()=>[S&&e.createVNode(Mr,{ref:P,selected:g.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:O=>O.preventDefault(),onKeydown:A,onFocusin:$,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var O,H,_;return[(O=t["prepend-item"])==null?void 0:O.call(t),!M.value.length&&!n.hideNoData&&(((H=t["no-data"])==null?void 0:H.call(t))??e.createVNode(dt,{title:l(n.noDataText)},null)),e.createVNode(ui,{ref:c,renderless:!0,items:M.value},{default:W=>{var te;let{item:R,index:j,itemRef:G}=W;const Y=e.mergeProps(R.props,{ref:G,key:j,onClick:()=>V(R)});return((te=t.item)==null?void 0:te.call(t,{item:R,index:j,props:Y}))??e.createVNode(dt,e.mergeProps(Y,{role:"option"}),{prepend:ie=>{let{isSelected:re}=ie;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(Tt,{key:R.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,R.props.prependIcon&&e.createVNode(ce,{icon:R.props.prependIcon},null)])}})}}),(_=t["append-item"])==null?void 0:_.call(t)]}})]}),p.value.map((O,H)=>{const _={"onClick:close":function(j){j.stopPropagation(),j.preventDefault(),V(O)},onMousedown(j){j.preventDefault(),j.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},W=h?!!t.chip:!!t.selection,R=W?hl(h?t.chip({item:O,index:H,props:_}):t.selection({item:O,index:H})):void 0;if(!W||R)return e.createVNode("div",{key:O.value,class:"v-select__selection"},[h?t.chip?e.createVNode(Be,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:O.title}}},{default:()=>[R]}):e.createVNode(Br,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:O.title,disabled:O.props.disabled},_),null):R??e.createVNode("span",{class:"v-select__selection-text"},[O.title,n.multiple&&H{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),mi=$n("v-card-subtitle"),yi=$n("v-card-title"),gi=U({appendAvatar:String,appendIcon:se,prependAvatar:String,prependIcon:se,subtitle:[String,Number],title:[String,Number],...ae(),...ze()},"VCardItem"),hi=X()({name:"VCardItem",props:gi(),setup(n,o){let{slots:t}=o;return ee(()=>{var i;const l=!(!n.prependAvatar&&!n.prependIcon),a=!(!l&&!t.prepend),r=!(!n.appendAvatar&&!n.appendIcon),c=!(!r&&!t.append),u=!(n.title==null&&!t.title),s=!(n.subtitle==null&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[a&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[u&&e.createVNode(yi,{key:"title"},{default:()=>{var d;return[((d=t.title)==null?void 0:d.call(t))??n.title]}}),s&&e.createVNode(mi,{key:"subtitle"},{default:()=>{var d;return[((d=t.subtitle)==null?void 0:d.call(t))??n.subtitle]}}),(i=t.default)==null?void 0:i.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(Be,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):r&&e.createVNode(rn,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Qe=$n("v-card-text"),bi=U({appendAvatar:String,appendIcon:se,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...pn(),...ae(),...ze(),...Je(),...fn(),...uo(),...io(),...Ml(),...De(),...mt(),...Ae(),...Ve(),...Ge({variant:"elevated"})},"VCard"),yn=X()({name:"VCard",directives:{Ripple:Un},props:bi(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=vn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Mn(n),{densityClasses:i}=Me(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=mn(n),{loaderClasses:p}=vt(n),{locationStyles:f}=so(n),{positionClasses:y}=Wl(n),{roundedClasses:g}=Le(n),m=ft(n,t),b=e.computed(()=>n.link!==!1&&m.isLink.value),w=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||m.isClickable.value));return ee(()=>{const N=b.value?"a":n.tag,M=!(!l.title&&n.title==null),E=!(!l.subtitle&&n.subtitle==null),P=M||E,L=!!(l.append||n.appendAvatar||n.appendIcon),A=!!(l.prepend||n.prependAvatar||n.prependIcon),I=!(!l.image&&!n.image),k=P||A||L,C=!(!l.text&&n.text==null);return e.withDirectives(e.createVNode(N,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":w.value},a.value,r.value,c.value,i.value,v.value,p.value,y.value,g.value,s.value,n.class],style:[u.value,d.value,f.value,n.style],href:m.href.value,onClick:w.value&&m.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var V;return[I&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(Be,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(_l,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(co,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),k&&e.createVNode(hi,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),C&&e.createVNode(Qe,{key:"text"},{default:()=>{var B;return[((B=l.text)==null?void 0:B.call(l))??n.text]}}),(V=l.default)==null?void 0:V.call(l),l.actions&&e.createVNode(fi,null,{default:l.actions}),Ln(w.value,"v-card")]}}),[[e.resolveDirective("ripple"),w.value&&n.ripple]])}),{}}}),Ci=U({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...qn(),...po()},"VSwitch"),Si=X()({name:"VSwitch",inheritAttrs:!1,props:Ci(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"indeterminate"),r=he(n,"modelValue"),{loaderClasses:c}=vt(n),{isFocused:u,focus:s,blur:i}=Gn(n),d=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=Pe(),f=e.computed(()=>n.id||`switch-${p}`);function y(){a.value&&(a.value=!1)}function g(m){var b,w;m.stopPropagation(),m.preventDefault(),(w=(b=d.value)==null?void 0:b.input)==null||w.click()}return ee(()=>{const[m,b]=Tn(t),w=je.filterProps(n),N=ct.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":a.value},c.value,n.class]},m,w,{modelValue:r.value,"onUpdate:modelValue":M=>r.value=M,id:f.value,focused:u.value,style:n.style}),{...l,default:M=>{let{id:E,messagesId:P,isDisabled:L,isReadonly:A,isValid:I}=M;return e.createVNode(ct,e.mergeProps({ref:d},N,{modelValue:r.value,"onUpdate:modelValue":[k=>r.value=k,y],id:E.value,"aria-describedby":P.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:L.value,readonly:A.value,onFocus:s,onBlur:i},b),{...l,default:k=>{let{backgroundColorClasses:C,backgroundColorStyles:V}=k;return e.createVNode("div",{class:["v-switch__track",...C.value],style:V.value,onClick:g},null)},input:k=>{let{inputNode:C,icon:V,backgroundColorClasses:B,backgroundColorStyles:D}=k;return e.createVNode(e.Fragment,null,[C,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":V||n.loading},n.inset?void 0:B.value],style:n.inset?void 0:D.value},[e.createVNode(Ka,null,{default:()=>[n.loading?e.createVNode(co,{name:"v-switch",active:!0,color:I.value===!1?void 0:v.value},{default:$=>l.loader?l.loader($):e.createVNode(Ll,{active:$.isActive,color:$.color,indeterminate:!0,size:"16",width:"2"},null)}):V&&e.createVNode(ce,{key:V,icon:V,size:"x-small"},null)]})])])}})}})}),{}}}),Ii=U({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...qn(),...vo()},"VTextarea"),Vi=X()({name:"VTextarea",directives:{Intersect:ao},inheritAttrs:!1,props:Ii(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):(r.value||"").toString().length),d=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(C,V){var B,D;n.autofocus&&C&&((D=(B=V[0].target)==null?void 0:B.focus)==null||D.call(B))}const p=e.ref(),f=e.ref(),y=e.shallowRef(""),g=e.ref(),m=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function b(){var C;g.value!==document.activeElement&&((C=g.value)==null||C.focus()),c.value||u()}function w(C){b(),l("click:control",C)}function N(C){l("mousedown:control",C)}function M(C){C.stopPropagation(),b(),e.nextTick(()=>{r.value="",yl(n["onClick:clear"],C)})}function E(C){var B;const V=C.target;if(r.value=V.value,(B=n.modelModifiers)==null?void 0:B.trim){const D=[V.selectionStart,V.selectionEnd];e.nextTick(()=>{V.selectionStart=D[0],V.selectionEnd=D[1]})}}const P=e.ref(),L=e.ref(+n.rows),A=e.computed(()=>["plain","underlined"].includes(n.variant));function I(){n.autoGrow&&e.nextTick(()=>{if(!P.value||!f.value)return;const C=getComputedStyle(P.value),V=getComputedStyle(f.value.$el),B=parseFloat(C.getPropertyValue("--v-field-padding-top"))+parseFloat(C.getPropertyValue("--v-input-padding-top"))+parseFloat(C.getPropertyValue("--v-field-padding-bottom")),D=P.value.scrollHeight,$=parseFloat(C.lineHeight),F=ln(D??0,Math.max(parseFloat(n.rows)*$+B,parseFloat(V.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*$+B||1/0);L.value=Math.floor((F-B)/$),y.value=J(F)})}let k;return e.watchEffect(()=>{n.autoGrow||(L.value=+n.rows)}),e.onMounted(I),e.watch(r,I),e.watch(()=>n.rows,I),e.watch(()=>n.maxRows,I),e.watch(()=>n.density,I),e.watch(P,C=>{C?(k=new ResizeObserver(I),k.observe(P.value)):k==null||k.disconnect()}),e.onBeforeUnmount(()=>{k==null||k.disconnect()}),ee(()=>{const C=!!(a.counter||n.counter||n.counterValue),V=!(!C&&!a.details),[B,D]=Tn(t),{modelValue:$,...F}=je.filterProps(n),h=ba(n);return e.createVNode(je,e.mergeProps({ref:p,modelValue:r.value,"onUpdate:modelValue":S=>r.value=S,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-input--plain-underlined":A.value},n.class],style:n.style},B,F,{centerAffix:L.value===1&&!A.value,focused:c.value}),{...a,default:S=>{let{id:x,isDisabled:z,isDirty:T,isReadonly:O,isValid:H}=S;return e.createVNode(fo,e.mergeProps({ref:f,style:{"--v-textarea-control-height":y.value},onClick:w,onMousedown:N,"onClick:clear":M,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},h,{id:x.value,active:m.value||T.value,centerAffix:L.value===1&&!A.value,dirty:T.value||n.dirty,disabled:z.value,focused:c.value,error:H.value===!1}),{...a,default:_=>{let{props:{class:W,...R}}=_;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:g,class:W,value:r.value,onInput:E,autofocus:n.autofocus,readonly:O.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:b,onBlur:s},R,D),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[W,"v-textarea__sizer"],id:`${R.id}-sizer`,"onUpdate:modelValue":j=>r.value=j,ref:P,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,r.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:V?S=>{var x;return e.createVNode(e.Fragment,null,[(x=a.details)==null?void 0:x.call(a,S),C&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ha,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),yt({},p,f,g)}}),Sa=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),a=e.computed(()=>_e({icon:o.iconFalse,iconOptions:t,name:"false"})),r=e.computed(()=>_e({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,u)=>l.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(r),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(a),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),Z="v-inline-fields",gn=n=>{const{cell:o=!1,field:t="",density:l="",disabled:a=!1,iconSet:r="mdi",loading:c=!1,loadingWait:u,tableField:s=!1,variant:i}=n,d=l&&i;return{[`${Z}`]:!0,[`${Z}--container`]:!0,[`${Z}--container-cell`]:o,[`${Z}--container-disabled`]:e.unref(a),[`${Z}--container-table`]:s,[`${Z}--container-icon-set-${r}`]:!0,[`${Z}--container-loading`]:c&&u,[`${Z}--container-${t}`]:!0,[`${Z}--container-${t}-${l}`]:!0,[`${Z}--container-${t}-${l}-${i}`]:d,[`${Z}--container-${t}-${i}`]:i,[`${Z}--container-${t}-${i}-${l}`]:d,[`${Z}--container-${l}`]:l,[`${Z}--container-${l}-${t}`]:l,[`${Z}--container-${l}-${i}`]:d,[`${Z}--container-${i}`]:i,[`${Z}--container-${i}-${l}`]:d,[`${Z}--container-${i}-${t}`]:i}},hn=n=>{const{cell:o=!1,cellUnderlineFullWidth:t=!0,field:l="",density:a=""}=n;return{[`${Z}--display-container-cell`]:o,[`${Z}--display-container-cell-underline-full-width`]:o&&t,[`${Z}--display-container`]:!0,[`${Z}--display-wrapper-value`]:!0,[`${l}`]:!0,"v-input":!0,[`v-input--density-${a}`]:!0,"v-input--horizontal":!0}},gt=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},Ia=n=>{const{density:o=""}=n;return{[`${Z}--selection-control`]:!0,[`v-selection-control--density-${o}`]:!0}},mo=(n,o,t)=>{const{error:l=!1,empty:a=!1}=t;return{[`${Z}`]:!0,[`${Z}--display-value-${n}`]:!0,[`${Z}--display-value`]:!0,[`${Z}--display-value-empty`]:e.unref(a),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},bn=n=>{const{name:o,active:t=!1}=n;return{[`${Z}`]:!0,[`${Z}--field`]:!0,[`${Z}--field-${o}`]:!0,[`${Z}--field-active`]:t}},Cn=n=>{const{name:o,showField:t}=n;return{[`${Z}--card-container`]:!0,[`${Z}--card-container-${o}`]:!0,"d-none":!t}};function ul(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function cl(n){let o=function(v){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let f=v;return Object.entries(p).forEach(([y,g])=>{v.toLowerCase()!=y.toLowerCase()||(f=g)}),f}(n),t=0,l=0,a=0,r=100,c=0,u=0,s=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(b=>b+b).join(""));const f=parseInt(p.substring(0,2),16),y=parseInt(p.substring(2,4),16),g=parseInt(p.substring(4,6),16);return[f,y,g,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],a=o[2],r=ul(o[3]),`${t} ${l}% ${a}% / ${r}%`;[c,u,s,r]=o,c/=255,u/=255,s/=255,r=ul(r);const i=Math.max(c,u,s),d=Math.min(c,u,s);if(i===null||!d===null||isNaN(i)||isNaN(d)){const v="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(t=(i+d)/2,l=(i+d)/2,a=(i+d)/2,i==d)t=l=0;else{const v=i-d;switch(l=a>.5?v/(2-i-d):v/(i+d),i){case c:t=(u-s)/v+(u{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,a){const r=a.global.current.value.colors;return Object.entries(r).find(([c])=>c===l)}(n,o);return t?`hsl(${cl(t[1])})`:`hsl(${cl(n)})`},xn=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},Va=n=>{var a;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((a=l==null?void 0:l.toLowerCase)==null?void 0:a.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},yo=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:a,theme:r,underlined:c}=n;let{underlineColor:u}=n;u=u||l;const s={"border-bottom-color":Bi(u,r),"border-bottom-style":o,"border-bottom-width":t};return e.unref(a)&&(s["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(s["border-bottom"]="none"),s},Xe=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:a,field:r,name:c=""}=n,u=(d=>{const{cardOffsetX:v,cardOffsetY:p,field:f}=d;if(!f)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:y,y:g}=f.getBoundingClientRect(),{width:m,height:b}=f.getBoundingClientRect(),{right:w,bottom:N}=f.getBoundingClientRect();return{bottom:xn({str:N+Number(p)}),height:b,left:xn({str:0+Number(v)}),right:xn({str:w+Number(v)}),top:xn({str:2+Number(p)}),width:xn({str:m}),x:y,y:g}})({cardOffsetX:t,cardOffsetY:l,field:r});let s=o,i=a;return i||(i=c==="checkbox"?"fit-content":u.width),s||(s=c==="checkbox"?"fit-content":u.width),{left:u.left,top:u.top,width:i,zIndex:10}},ht=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,a=e.useSlots(),r=Kt.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},u=e.computed(()=>mo(l.field,l.valueColor,{empty:l.empty,error:l.error})),s=e.computed(()=>yo({color:l.color,error:l.error,theme:r,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),i=e.computed(()=>(p=>{const{underlineWidth:f}=p;return{borderBottom:`${f||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),d=(p,f=!1)=>(y=>{const{inner:g=!1,position:m}=y;return{[`${Z}--display-icon`]:!g,[`${Z}--display-${m}-icon`]:!g,[`${Z}--display-${m}-inner-icon`]:g,"me-1":m==="prepend","ms-1":m==="append"}})({inner:f,position:p});function v(){t("toggleField")}return(p,f)=>(e.openBlock(),e.createElementBlock("div",{class:"v-inline-fields--display-wrapper",onClick:v},[p.displayPrependIcon||e.unref(a)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(u)]),style:e.normalizeStyle(e.unref(s))},[p.displayPrependInnerIcon||e.unref(a)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend",!0))},[e.unref(a)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(a)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append",!0))},[e.unref(a)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(a)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),Sn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideSaveIcon:{type:Boolean},cancelIcon:{},loadingIcon:{},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,a=n,r=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>a.error),u=e.computed(()=>({[`${Z}--save-fields-container`]:!0})),s=e.computed(()=>a.loading),i=e.reactive({...t,...a});console.log({settings:i});const d=e.computed(()=>(r==null?void 0:r.defaultSet)==="fa"?"fa-spin":(r==null?void 0:r.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(b=>{const{cancelButtonVariant:w}=b;return{"me-1":w==="elevated","ms-1":!0}})({cancelButtonVariant:i.cancelButtonVariant})),p=e.computed(()=>_e({icon:a.cancelIcon,iconOptions:r,name:"false"})),f=e.computed(()=>_e({icon:a.loadingIcon,iconOptions:r,name:"loading"})),y=e.computed(()=>_e({icon:a.saveIcon,iconOptions:r,name:"save"}));function g(){l("close")}function m(){l("save")}return(b,w)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(u)},b.$attrs),[e.unref(i).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Jo,{key:0,class:"ms-1",color:e.unref(i).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(i).saveButtonSize,title:e.unref(s)?"Loading":e.unref(i).saveButtonTitle,variant:e.unref(i).saveButtonVariant,onClick:m},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:1,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:0,color:e.unref(c)?"error":e.unref(i).saveIconColor,icon:e.unref(y)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.unref(i).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Jo,{key:1,class:e.normalizeClass(e.unref(v)),color:e.unref(i).cancelButtonColor,icon:"",size:e.unref(i).cancelButtonSize,title:e.unref(i).cancelButtonTitle,variant:e.unref(i).cancelButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(i).hideSaveIcon&&e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:0,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:1,class:"text-default",color:e.unref(i).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"]))],16))}}),bt=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const a=[];let r=!1;if(o&&!l)return a.push("Field is required."),{errors:!0,results:a};if(t){for(const c of t){const u=(typeof c=="function"?c:()=>c)(l);u!==!0&&(typeof u=="string"?a.push(u):console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`))}r=a.length>0}return{errors:r,results:a}},In=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:a,showField:r,timeOpened:c}=n;let u=c;return t&&!l&&(u=new Date),{settings:{...o,...a},showField:!e.unref(r),timeOpened:u}},go=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l},Vn=["error","update","update:closeSiblingFields","update:model-value"],wi=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],Hn=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!wi.includes(t)),Object.fromEntries(o)},ki={class:"v-selection-control__wrapper"},Ut=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Pa}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=Kt.useTheme(),i=n;let d=e.reactive({...l,...i,...c});const{cancelButtonColor:v,cancelButtonSize:p,cancelButtonTitle:f,cancelButtonVariant:y,cancelIcon:g,cancelIconColor:m,cardField:b,closeSiblings:w,color:N,fieldOnly:M,hideCancelIcon:E,hideDetails:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(d),$=e.computed(()=>i.disabled),F=e.computed(()=>i.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(null),z=e.computed(()=>Hn(d)),T=e.computed(()=>({...un,...i.cardProps}));e.watch(()=>F.value,(Q,q)=>{!Q&&q&&S.value&&me()});const O=e.computed(()=>_e({icon:i.trueIcon,iconOptions:u,name:"checkboxFalse"})),H=e.computed(()=>_e({icon:i.iconTrue,iconOptions:u,name:"checkboxTrue"})),_=e.computed(()=>t.value==d.trueValue),W=e.computed(()=>Va({modelValue:t,trueValue:d.trueValue})),R=e.computed(()=>gn({cell:d.cell&&!S.value,density:d.density,disabled:$.value,field:"v-checkbox",loading:F.value,loadingWait:d.loadingWait,tableField:d.tableField})),j=e.computed(()=>hn({cell:d.cell,cellUnderlineFullWidth:d.cellUnderlineFullWidth,density:d.density,field:"v-checkbox"})),G=Ia({density:d.density}),Y=e.computed(()=>bn({active:S.value,name:"checkbox"})),te=e.computed(()=>mo("checkbox",d.valueColor,{error:h})),ie=e.computed(()=>Cn({name:"checkbox",showField:S.value})),re=e.computed(()=>({})),Ie=e.computed(()=>yo({color:d.color,error:h,theme:s,underlineColor:d.underlineColor,underlineStyle:d.underlineStyle,underlineWidth:d.underlineWidth,underlined:d.underlined})),fe=e.computed(()=>de.value);function pe(){h.value=!1,me()}const de=e.ref(),ge=e.ref(null),ve=e.ref("body"),be=Aa.useWindowSize();function me(){var q,ue;if($.value||d.loadingWait&&F.value)return;de.value=Xe({cardMinWidth:(q=d.cardProps)==null?void 0:q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(ue=d.cardProps)==null?void 0:ue.width,field:ge.value,name:"checkbox"});const Q=In({attrs:l,closeSiblings:w.value,fieldOnly:d.fieldOnly,props:i,showField:S,timeOpened:x.value});d={...d,...Q.settings},S.value=Q.showField,x.value=Q.timeOpened,K!==null&&w.value&&S.value&&!d.fieldOnly&&K.emit(Q.timeOpened)}function oe(Q){t.value=Q,r("update",Q),d.loadingWait||me()}let K,le;function Ce(Q){r("update:closeSiblingFields",x),S.value&&x.value!==Q&&me()}return e.watch(()=>be,()=>{var Q,q;de.value=Xe({cardMinWidth:(Q=d.cardProps)==null?void 0:Q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(q=d.cardProps)==null?void 0:q.width,field:ge.value,name:"checkbox"})},{deep:!0}),w.value&&import("@vueuse/core").then(({useEventBus:Q})=>{K=Q(sn),le=K.on(Ce)}),e.onUnmounted(()=>{le!==void 0&&K.off(Ce)}),(Q,q)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ge,class:e.normalizeClass(e.unref(R)),style:e.normalizeStyle(e.unref(re))},[!e.unref(S)&&!e.unref(d).fieldOnly||e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(j)),onClick:q[2]||(q[2]=ue=>e.unref(d).cell?me():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(G)),onClick:q[1]||(q[1]=ue=>e.unref(d).cell?void 0:me())},[e.createElementVNode("div",ki,[Q.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(te)]),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(e.unref(Sa),{modelValue:e.unref(W),"onUpdate:modelValue":q[0]||(q[0]=ue=>e.isRef(W)?W.value=ue:null),"icon-false":e.unref(d).iconFalse,"icon-false-color":e.unref(d).iconFalseColor,"icon-false-title":e.unref(d).iconFalseTitle,"icon-true":e.unref(d).iconTrue,"icon-true-color":e.unref(d).iconTrueColor,"icon-true-title":e.unref(d).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(te)]),style:e.normalizeStyle(e.unref(Ie))},e.toDisplayString(e.unref(_)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(S)||e.unref(M)||e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(Y))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(b),to:e.unref(ve)},[e.createVNode(Cr,e.mergeProps(e.unref(z),{color:e.unref(N),density:e.unref(d).density,disabled:e.unref(F)||e.unref($),error:e.unref(h),"false-icon":e.unref(O),"false-value":e.unref(d).falseValue,"hide-details":e.unref(P),label:e.unref(d).label,"model-value":e.unref(W),"true-icon":e.unref(H),"true-value":e.unref(d).trueValue,"onUpdate:modelValue":oe}),e.createSlots({_:2},[e.renderList(e.unref(a),(ue,ne)=>({name:ne,fn:e.withCtx(ye=>[e.renderSlot(Q.$slots,ne,e.normalizeProps(e.guardReactiveProps({...ye})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(v),"cancel-button-size":e.unref(p),"cancel-button-title":e.unref(f),"cancel-button-variant":e.unref(y),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(m),error:e.unref(h),"field-only":e.unref(M),"hide-cancel-icon":e.unref(E),"hide-save-icon":!0,loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:pe,onSave:oe},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(fe))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(T))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ve},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Gt=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...pl}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,fieldOnly:w,hideCancelIcon:N,hideSaveIcon:M,loadingIcon:E,loadingIconColor:P,saveButtonColor:L,saveButtonSize:A,saveButtonTitle:I,saveButtonVariant:k,saveIcon:C,saveIconColor:V}=e.toRefs(i),B=e.computed(()=>s.disabled),D=e.computed(()=>s.loading),$=e.ref(!1),F=e.ref(!1),h=e.ref(!1),S=e.ref(null);let x=t.value;e.watch(()=>D.value,(K,le)=>{!K&&le&&h.value&&pe()});const z=e.computed(()=>t.value?($.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):($.value=!0,i.emptyText)),T=e.computed(()=>({...i,loading:D.value,modelValue:t.value,originalValue:x})),O=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:z.value,empty:$.value,error:F.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),H=e.computed(()=>({...un,...s.cardProps})),_=e.computed(()=>gn({cell:i.cell&&!h.value,density:i.density,disabled:B.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:D.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),W=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),R=gt({density:i.density,variant:i.variant}),j=e.computed(()=>bn({active:h.value,name:"text-field"})),G=e.computed(()=>Cn({name:"custom-field",showField:h.value})),Y=e.computed(()=>({})),te=e.computed(()=>re.value);function ie(){F.value=!1,t.value=x,pe()}const re=e.ref(),Ie=e.ref(null),fe=e.ref("body");function pe(){var le,Ce;if(B.value||i.loadingWait&&D.value)return;re.value=Xe({cardMinWidth:(le=i.cardProps)==null?void 0:le.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(Ce=i.cardProps)==null?void 0:Ce.width,field:Ie.value});const K=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:h,timeOpened:S.value});i={...i,...K.settings},h.value=K.showField,S.value=K.timeOpened,be!==null&&b.value&&h.value&&!i.fieldOnly&&be.emit(K.timeOpened)}const de=e.ref();function ge(){const K=bt({required:i.required,rules:i.rules,value:t});return F.value=K.errors,de.value=K.results,K.results}function ve(){F.value?F.value=!0:(x=t.value,r("update",t.value),i.loadingWait||pe())}let be,me;function oe(K){r("update:closeSiblingFields",S),h.value&&S.value!==K&&ie()}return e.watch(()=>h.value,()=>{h.value&&ge()}),e.watch(()=>t.value,()=>{h.value&&ge()}),b.value&&import("@vueuse/core").then(({useEventBus:K})=>{be=K(sn),me=be.on(oe)}),e.onUnmounted(()=>{me!==void 0&&be.off(oe)}),(K,le)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:Ie,class:e.normalizeClass(e.unref(_)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(W))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(R))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(O),{onToggleField:pe}),e.createSlots({_:2},[e.renderList(e.unref(a),(Ce,Q)=>({name:Q,fn:e.withCtx(q=>[e.renderSlot(K.$slots,Q,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(j)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(fe)},[e.renderSlot(K.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(T)))),e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(F),"field-only":e.unref(w),"hide-cancel-icon":e.unref(N),"hide-save-icon":e.unref(M),loading:e.unref(D),"loading-icon":e.unref(E),"loading-icon-color":e.unref(P),"save-button-color":e.unref(L),"save-button-size":e.unref(A),"save-button-title":e.unref(I),"save-button-variant":e.unref(k),"save-icon":e.unref(C),"save-icon-color":e.unref(V),onClose:ie,onSave:ve},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(te))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(H))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:fe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),qt=((n,o)=>{const t=n.__vccOpts||n;for(const[l,a]of o)t[l]=a;return t})(e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{..._a}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D,valueColor:$}=e.toRefs(i),F=e.computed(()=>s.disabled),h=e.computed(()=>s.loading),S=e.ref(!1),x=e.ref(!1),z=e.ref(),T=e.ref(!1),O=e.ref(null);let H=t.value;e.watch(()=>h.value,(ne,ye)=>{!ne&&ye&&T.value&&me()});const _=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),W=e.computed(()=>t.value&&t.value[i.itemTitle]?(S.value=!1,t.value[i.itemTitle]):t.value?t.value:(S.value=!0,i.emptyText)),R=e.computed(()=>Hn(i)),j=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:W.value,empty:S.value,error:x.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:$.value})),G=e.computed(()=>({...un,...s.cardProps}));e.watchEffect(()=>{z.value=i.items||[]});const Y=e.computed(()=>gn({cell:i.cell&&!T.value,density:i.density,disabled:F.value,field:"v-select",iconSet:u==null?void 0:u.defaultSet,loading:h.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),te=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-select"})),ie=gt({density:i.density,variant:i.variant}),re=e.computed(()=>bn({active:T.value,name:"select"})),Ie=e.computed(()=>Cn({name:"select",showField:T.value})),fe=e.computed(()=>({})),pe=e.computed(()=>ge.value);function de(){x.value=!1,t.value=H,me()}const ge=e.ref(),ve=e.ref(null),be=e.ref("body");function me(){var ye,we;if(F.value||i.loadingWait&&h.value)return;ge.value=Xe({cardMinWidth:(ye=i.cardProps)==null?void 0:ye.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(we=i.cardProps)==null?void 0:we.width,field:ve.value});const ne=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:T,timeOpened:O.value});i={...i,...ne.settings},T.value=ne.showField,O.value=ne.timeOpened,Q!==null&&b.value&&T.value&&!i.fieldOnly&&Q.emit(ne.timeOpened)}const oe=e.ref(),K=e.computed(()=>oe.value);function le(){const ne=bt({required:i.required,rules:i.rules,value:t});return x.value=ne.errors,oe.value=ne.results,ne.results}function Ce(){H=t.value,r("update",t.value),i.loadingWait||me()}let Q,q;function ue(ne){r("update:closeSiblingFields",O),T.value&&O.value!==ne&&de()}return e.watch(()=>T.value,()=>{T.value&&le()}),e.watch(()=>t.value,()=>{T.value&&le()}),b.value&&import("@vueuse/core").then(({useEventBus:ne})=>{Q=ne(sn),q=Q.on(ue)}),e.onUnmounted(()=>{q!==void 0&&Q.off(ue)}),(ne,ye)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ve,class:e.normalizeClass(e.unref(Y)),style:e.normalizeStyle(e.unref(fe))},[!e.unref(T)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(te))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ie))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(j),{onToggleField:me}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(T)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(re))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(be)},[e.createVNode(vi,e.mergeProps(e.unref(R),{modelValue:t.value,"onUpdate:modelValue":ye[0]||(ye[0]=we=>t.value=we),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(_),clearable:e.unref(i).clearable,color:e.unref(w),density:e.unref(i).density,disabled:e.unref(h)||e.unref(F),error:e.unref(x),"error-messages":e.unref(K),"hide-details":e.unref(E),"hide-selected":e.unref(i).hideSelected,"item-title":e.unref(i).itemTitle,"item-value":e.unref(i).itemValue,items:e.unref(z),label:e.unref(i).label,loading:e.unref(h),menu:e.unref(i).menu&&!e.unref(i).fieldOnly&&e.unref(T),variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(de,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(x),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(h),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:de,onSave:Ce},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(Ie)),style:e.normalizeStyle(e.unref(pe))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(G))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:be},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),[["__scopeId","data-v-0716e076"]]),xi={class:"v-selection-control__wrapper"},Ht=e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Ea}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=Kt.useTheme(),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,loadingIcon:P,loadingIconColor:L,saveButtonColor:A,saveButtonSize:I,saveButtonTitle:k,saveButtonVariant:C,saveIcon:V,saveIconColor:B}=e.toRefs(i),D=e.computed(()=>s.disabled),$=e.computed(()=>s.loading),F=e.ref(!1),h=e.ref(!1),S=e.ref(null),x=e.computed(()=>Hn(i)),z=e.computed(()=>({...un,...s.cardProps}));e.watch(()=>$.value,(oe,K)=>{!oe&&K&&h.value&&de()});const T=e.computed(()=>t.value==i.trueValue),O=e.computed(()=>Va({modelValue:t,trueValue:i.trueValue})),H=e.computed(()=>gn({cell:i.cell&&!h.value,density:i.density,disabled:D.value,field:"v-switch",loading:$.value,loadingWait:i.loadingWait,tableField:i.tableField})),_=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-switch"})),W=Ia({density:i.density}),R=e.computed(()=>bn({active:h.value,name:"switch"})),j=e.computed(()=>mo("switch",i.valueColor,{error:F})),G=e.computed(()=>Cn({name:"switch",showField:h.value})),Y=e.computed(()=>({})),te=e.computed(()=>yo({color:i.color,error:F,theme:u,underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined})),ie=e.computed(()=>Ie.value);function re(){F.value=!1,de()}const Ie=e.ref(),fe=e.ref(null),pe=e.ref("body");function de(){var K,le;if(D.value||i.loadingWait&&$.value)return;Ie.value=Xe({cardMinWidth:(K=i.cardProps)==null?void 0:K.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(le=i.cardProps)==null?void 0:le.width,field:fe.value});const oe=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:h.value,timeOpened:S.value});i={...i,...oe.settings},h.value=oe.showField,S.value=oe.timeOpened,ve!==null&&b.value&&h.value&&!i.fieldOnly&&ve.emit(oe.timeOpened)}function ge(oe){t.value=oe,r("update",oe),i.loadingWait||de()}let ve,be;function me(oe){r("update:closeSiblingFields",S),h.value&&S.value!==oe&&de()}return b.value&&import("@vueuse/core").then(({useEventBus:oe})=>{ve=oe(sn),be=ve.on(me)}),e.onUnmounted(()=>{be!==void 0&&ve.off(me)}),(oe,K)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:fe,class:e.normalizeClass(e.unref(H)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(i).fieldOnly||e.unref(i).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(_)),onClick:K[2]||(K[2]=le=>e.unref(i).cell?de():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(W)),onClick:K[1]||(K[1]=le=>e.unref(i).cell?void 0:de())},[e.createElementVNode("div",xi,[oe.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(j)]),style:e.normalizeStyle(e.unref(te))},[e.createVNode(e.unref(Sa),{modelValue:e.unref(O),"onUpdate:modelValue":K[0]||(K[0]=le=>e.isRef(O)?O.value=le:null),"icon-false":e.unref(i).iconFalse,"icon-false-color":e.unref(i).iconFalseColor,"icon-false-title":e.unref(i).iconFalseTitle,"icon-true":e.unref(i).iconTrue,"icon-true-color":e.unref(i).iconTrueColor,"icon-true-title":e.unref(i).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(j)]),style:e.normalizeStyle(e.unref(te))},e.toDisplayString(e.unref(T)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(R))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(pe)},[e.createVNode(Si,e.mergeProps(e.unref(x),{color:e.unref(w),density:e.unref(i).density,disabled:e.unref($)||e.unref(D),error:e.unref(F),"false-icon":e.unref(i).falseIcon,"false-value":e.unref(i).falseValue,"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref($),"model-value":e.unref(O),"true-value":e.unref(i).trueValue,"onUpdate:modelValue":ge}),e.createSlots({_:2},[e.renderList(e.unref(a),(le,Ce)=>({name:Ce,fn:e.withCtx(Q=>[e.renderSlot(oe.$slots,Ce,e.normalizeProps(e.guardReactiveProps({...Q})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),class:"ms-3",error:e.unref(F),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":!0,loading:e.unref($),"loading-icon":e.unref(P),"loading-icon-color":e.unref(L),"save-button-color":e.unref(A),"save-button-size":e.unref(I),"save-button-title":e.unref(k),"save-button-variant":e.unref(C),"save-icon":e.unref(V),"save-icon-color":e.unref(B),onClose:re,onSave:ge},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(z))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:pe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Yt=e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...pl}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(i),$=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),z=e.ref(null);let T=t.value;e.watch(()=>F.value,(q,ue)=>{!q&&ue&&x.value&&ve()});const O=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(h.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(h.value=!0,i.emptyText)),_=e.computed(()=>Hn(i)),W=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:H.value,empty:h.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),R=e.computed(()=>({...un,...s.cardProps})),j=e.computed(()=>gn({cell:i.cell&&!x.value,density:i.density,disabled:$.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:F.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),Y=gt({density:i.density,variant:i.variant}),te=e.computed(()=>bn({active:x.value,name:"text-field"})),ie=e.computed(()=>Cn({name:"text-field",showField:x.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=T,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if($.value||i.loadingWait&&F.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:x,timeOpened:z.value});i={...i,...q.settings},x.value=q.showField,z.value=q.timeOpened,le!==null&&b.value&&x.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=bt({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){S.value?S.value=!0:(T=t.value,r("update",t.value),i.loadingWait||ve())}let le,Ce;function Q(q){r("update:closeSiblingFields",z),x.value&&z.value!==q&&fe()}return e.watch(()=>x.value,()=>{x.value&&oe()}),e.watch(()=>t.value,()=>{x.value&&oe()}),b.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(Q)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(Q)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(re))},[!e.unref(x)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(W),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(jt,e.mergeProps(e.unref(_),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(F)||e.unref($),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref(F),variant:e.unref(i).variant,width:"100%",onKeyup:[e.withKeys(K,["enter"]),e.withKeys(fe,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(R))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Xt=e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Oa}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(i),$=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),z=e.ref(null);let T=t.value;e.watch(()=>F.value,(q,ue)=>{!q&&ue&&x.value&&ve()});const O=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(h.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(h.value=!0,i.emptyText)),_=e.computed(()=>Hn(i)),W=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:H.value,empty:h.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),R=e.computed(()=>({...un,...s.cardProps})),j=e.computed(()=>gn({cell:i.cell&&!x.value,density:i.density,disabled:$.value,field:"v-textarea",iconSet:u==null?void 0:u.defaultSet,loading:F.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-textarea"})),Y=gt({density:i.density,variant:i.variant}),te=e.computed(()=>bn({active:x.value,name:"textarea"})),ie=e.computed(()=>Cn({name:"textarea",showField:x.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=T,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if($.value||i.loadingWait&&F.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:x,timeOpened:z.value});i={...i,...q.settings},x.value=q.showField,z.value=q.timeOpened,le!==null&&b.value&&x.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=bt({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){T=t.value,r("update",t.value),i.loadingWait||ve()}let le,Ce;function Q(q){r("update:closeSiblingFields",z),x.value&&z.value!==q&&fe()}return e.watch(()=>x.value,()=>{x.value&&oe()}),e.watch(()=>t.value,()=>{x.value&&oe()}),b.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(Q)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(Q)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(re))},[!e.unref(x)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(W),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(Vi,e.mergeProps(e.unref(_),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),"auto-grow":e.unref(i).autoGrow,autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(F)||e.unref($),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref(F),rows:e.unref(i).rows,variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(fe,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(R))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Ue=Symbol(),Fi={VInlineCheckbox:Ut,VInlineCustomField:Gt,VInlineSelect:qt,VInlineSwitch:Ht,VInlineTextField:Yt,VInlineTextarea:Xt};exports.VInlineCheckbox=Ut,exports.VInlineCustomField=Gt,exports.VInlineSelect=qt,exports.VInlineSwitch=Ht,exports.VInlineTextField=Yt,exports.VInlineTextarea=Xt,exports.createVInlineFields=function(n={}){return o=>{o.provide(Ue,n),o.component("VInlineCheckbox",Ut),o.component("VInlineCustomField",Gt),o.component("VInlineSelect",qt),o.component("VInlineSwitch",Ht),o.component("VInlineTextField",Yt),o.component("VInlineTextarea",Xt)}},exports.default=Fi,exports.globalOptions=Ue; +(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-0716e076] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); diff --git a/dist/vuetify-inline-fields.es.js b/dist/vuetify-inline-fields.es.js index 1dccf6a..0ce6f35 100644 --- a/dist/vuetify-inline-fields.es.js +++ b/dist/vuetify-inline-fields.es.js @@ -1,9 +1,9 @@ -import { Fragment as fe, reactive as Me, computed as v, watchEffect as Ne, toRefs as Eo, capitalize as To, isVNode as ri, Comment as si, unref as r, warn as Lt, inject as se, ref as W, provide as De, shallowRef as re, defineComponent as je, camelize as zo, h as Wt, getCurrentInstance as ui, onBeforeUnmount as Je, watch as K, readonly as hl, onScopeDispose as Ae, effectScope as bl, toRaw as ln, TransitionGroup as ci, Transition as cn, createVNode as p, mergeProps as Z, onBeforeMount as Do, nextTick as Ie, withDirectives as Fe, resolveDirective as Ze, vShow as Vn, isRef as pn, onMounted as An, toRef as te, Text as di, resolveDynamicComponent as pi, Teleport as vn, cloneVNode as vi, createTextVNode as Lo, vModelText as fi, mergeModels as Te, useModel as fn, openBlock as J, createBlock as he, useSlots as yn, createElementBlock as ie, normalizeClass as ne, normalizeStyle as be, renderSlot as _e, normalizeProps as me, createCommentVNode as ve, createElementVNode as we, toDisplayString as Cl, useAttrs as mn, withCtx as ce, mergeDefaults as _n, onUnmounted as On, createSlots as Ye, renderList as Xe, guardReactiveProps as Se, withKeys as kt } from "vue"; -import { useTheme as Il } from "vuetify"; -import { useWindowSize as yi } from "@vueuse/core"; +import { Fragment as Fe, reactive as ln, computed as v, watchEffect as rn, toRefs as xn, capitalize as Qo, isVNode as Si, Comment as Bi, unref as r, warn as ll, inject as me, ref as D, provide as nn, shallowRef as de, defineComponent as sn, camelize as ea, h as ol, getCurrentInstance as xi, onBeforeUnmount as mn, watch as K, readonly as zl, onScopeDispose as He, effectScope as Dl, toRaw as Sn, TransitionGroup as ki, Transition as An, createVNode as d, mergeProps as Z, onBeforeMount as na, nextTick as Me, withDirectives as Ue, resolveDirective as gn, vShow as Hn, isRef as On, onMounted as Yn, toRef as oe, Text as wi, resolveDynamicComponent as Fi, Teleport as Pn, cloneVNode as Vi, createTextVNode as ta, vModelText as Ai, mergeModels as Qe, useModel as $n, openBlock as J, createBlock as ze, useSlots as En, createElementBlock as ce, normalizeClass as le, normalizeStyle as Te, renderSlot as Ye, normalizeProps as Pe, createCommentVNode as xe, createElementVNode as Ge, toDisplayString as Ll, useAttrs as Tn, withCtx as he, mergeDefaults as Xn, onUnmounted as Kn, createSlots as vn, renderList as fn, guardReactiveProps as Re, withKeys as Gt } from "vue"; +import { useTheme as Wl } from "vuetify"; +import { useWindowSize as _i } from "@vueuse/core"; /** * @name @wdns/vuetify-inline-fields - * @version 1.0.1 + * @version 1.0.2 * @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications. * @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! (https://webdevnerdstuff.com) * @copyright Copyright 2023, WebDevNerdStuff @@ -11,45 +11,45 @@ import { useWindowSize as yi } from "@vueuse/core"; * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License */ -const Pn = Symbol("identifier"), $n = { elevation: 5, variant: "flat" }, lt = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), cell: !1, cellUnderlineFullWidth: !0, closeSiblings: !1, color: "primary", density: "compact", disabled: !1, displayAppendIcon: void 0, displayAppendIconColor: void 0, displayAppendIconSize: "x-small", displayAppendInnerIcon: void 0, displayAppendInnerIconColor: void 0, displayAppendInnerIconSize: "x-small", displayPrependIcon: void 0, displayPrependIconColor: void 0, displayPrependIconSize: "x-small", displayPrependInnerIcon: void 0, displayPrependInnerIconColor: void 0, displayPrependInnerIconSize: "x-small", emptyText: "empty", fieldOnly: !1, hideCancelIcon: !0, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, Sl = { autofocus: !0 }, Mt = { hideCancelIcon: !1, hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, Wo = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, mi = { ...lt, ...Wo, ...Mt, falseIcon: void 0, icons: !0, trueIcon: void 0 }, gi = { ...lt, ...Sl, ...Mt, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, hi = { ...lt, ...Wo, icons: !0, falseIcon: "" }, bi = { ...Sl, ...Mt, ...lt, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, Mo = { ...lt, ...Sl, ...Mt, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, Ci = { fa: { checkboxFalse: "$checkboxOff", checkboxTrue: "far fa-square-check", clear: "$clear", false: "$close", loading: "fa-circle-notch", save: "fa-floppy-disk", true: "$complete" }, mdi: { checkboxFalse: "$checkboxOff", checkboxTrue: "mdi:mdi-checkbox-outline", clear: "$clear", false: "$close", loading: "mdi-loading", save: "mdi-content-save", true: "$complete" } }, Le = (e) => { +const Jn = Symbol("identifier"), Zn = { elevation: 5, variant: "flat" }, Bt = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), cell: !1, cellUnderlineFullWidth: !0, closeSiblings: !1, color: "primary", density: "compact", disabled: !1, displayAppendIcon: void 0, displayAppendIconColor: void 0, displayAppendIconSize: "x-small", displayAppendInnerIcon: void 0, displayAppendInnerIconColor: void 0, displayAppendInnerIconSize: "x-small", displayPrependIcon: void 0, displayPrependIconColor: void 0, displayPrependIconSize: "x-small", displayPrependInnerIcon: void 0, displayPrependInnerIconColor: void 0, displayPrependInnerIconSize: "x-small", emptyText: "empty", fieldOnly: !1, hideCancelIcon: !1, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, Ml = { autofocus: !0 }, xt = { hideCancelIcon: !1, hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, la = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, Oi = { ...Bt, ...la, ...xt, falseIcon: void 0, icons: !0, trueIcon: void 0 }, Pi = { ...Bt, ...Ml, ...xt, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, $i = { ...Bt, ...la, ...xt, icons: !0, falseIcon: "" }, Ei = { ...Ml, ...xt, ...Bt, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, oa = { ...Bt, ...Ml, ...xt, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, Ti = { fa: { checkboxFalse: "$checkboxOff", checkboxTrue: "far fa-square-check", clear: "$clear", false: "$close", loading: "fa-circle-notch", save: "fa-floppy-disk", true: "$complete" }, mdi: { checkboxFalse: "$checkboxOff", checkboxTrue: "mdi:mdi-checkbox-outline", clear: "$clear", false: "$close", loading: "mdi-loading", save: "mdi-content-save", true: "$complete" } }, on = (e) => { const { icon: t, iconOptions: n, name: l } = e; if (t) return t; - const a = Ci[n == null ? void 0 : n.defaultSet]; - if (!a) + const o = Ti[n == null ? void 0 : n.defaultSet]; + if (!o) throw new Error(`VInlineFields: No VInlineFields default ${n == null ? void 0 : n.defaultSet} icon set found for ${l}. Please set the icon prop.`); - const i = a[l]; - if (!i) + const a = o[l]; + if (!a) throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`); - return i; + return a; }; -function Y(e, t) { - return (n) => Object.keys(e).reduce((l, a) => { - const i = typeof e[a] == "object" && e[a] != null && !Array.isArray(e[a]) ? e[a] : { type: e[a] }; - return l[a] = n && a in n ? { ...i, default: n[a] } : i, t && !l[a].source && (l[a].source = t), l; +function H(e, t) { + return (n) => Object.keys(e).reduce((l, o) => { + const a = typeof e[o] == "object" && e[o] != null && !Array.isArray(e[o]) ? e[o] : { type: e[o] }; + return l[o] = n && o in n ? { ...a, default: n[o] } : a, t && !l[o].source && (l[o].source = t), l; }, {}); } -const ue = Y({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Pe = typeof window < "u", Bl = Pe && "IntersectionObserver" in window; -function Nl(e, t, n) { +const ye = H({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Ke = typeof window < "u", Rl = Ke && "IntersectionObserver" in window; +function io(e, t, n) { const l = t.length - 1; if (l < 0) return e === void 0 ? n : e; - for (let a = 0; a < l; a++) { + for (let o = 0; o < l; o++) { if (e == null) return n; - e = e[t[a]]; + e = e[t[o]]; } return e == null || e[t[l]] === void 0 ? n : e[t[l]]; } -function En(e, t) { +function Qn(e, t) { if (e === t) return !0; if (e instanceof Date && t instanceof Date && e.getTime() !== t.getTime() || e !== Object(e) || t !== Object(t)) return !1; const n = Object.keys(e); - return n.length === Object.keys(t).length && n.every((l) => En(e[l], t[l])); + return n.length === Object.keys(t).length && n.every((l) => Qn(e[l], t[l])); } -function Ue(e, t, n) { +function dn(e, t, n) { if (t === !0) return e === void 0 ? n : e; if (t == null || typeof t == "boolean") @@ -57,164 +57,164 @@ function Ue(e, t, n) { if (e !== Object(e)) { if (typeof t != "function") return n; - const a = t(e, n); - return a === void 0 ? n : a; + const o = t(e, n); + return o === void 0 ? n : o; } if (typeof t == "string") - return function(a, i, d) { - return a != null && i && typeof i == "string" ? a[i] !== void 0 ? a[i] : Nl(a, (i = (i = i.replace(/\[(\w+)\]/g, ".$1")).replace(/^\./, "")).split("."), d) : d; + return function(o, a, c) { + return o != null && a && typeof a == "string" ? o[a] !== void 0 ? o[a] : io(o, (a = (a = a.replace(/\[(\w+)\]/g, ".$1")).replace(/^\./, "")).split("."), c) : c; }(e, t, n); if (Array.isArray(t)) - return Nl(e, t, n); + return io(e, t, n); if (typeof t != "function") return n; const l = t(e, n); return l === void 0 ? n : l; } -function le(e) { +function ae(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px"; return e == null || e === "" ? void 0 : isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${t}` : void 0; } -function ll(e) { +function Sl(e) { return e !== null && typeof e == "object" && !Array.isArray(e); } -function wt(e) { +function Ut(e) { if (e && "$el" in e) { const t = e.$el; return (t == null ? void 0 : t.nodeType) === Node.TEXT_NODE ? t.nextElementSibling : t; } return e; } -const jl = Object.freeze({ enter: 13, tab: 9, delete: 46, esc: 27, space: 32, up: 38, down: 40, left: 37, right: 39, end: 35, home: 36, del: 46, backspace: 8, insert: 45, pageup: 33, pagedown: 34, shift: 16 }); -function Yt(e, t) { +const ro = Object.freeze({ enter: 13, tab: 9, delete: 46, esc: 27, space: 32, up: 38, down: 40, left: 37, right: 39, end: 35, home: 36, del: 46, backspace: 8, insert: 45, pageup: 33, pagedown: 34, shift: 16 }); +function vl(e, t) { return t.every((n) => e.hasOwnProperty(n)); } -function Ro(e, t) { +function aa(e, t) { const n = {}, l = new Set(Object.keys(e)); - for (const a of t) - l.has(a) && (n[a] = e[a]); + for (const o of t) + l.has(o) && (n[o] = e[o]); return n; } -function Gl(e, t, n) { - const l = /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null); - for (const i in e) - t.some((d) => d instanceof RegExp ? d.test(i) : d === i) && !(n != null && n.some((d) => d === i)) ? l[i] = e[i] : a[i] = e[i]; - return [l, a]; +function so(e, t, n) { + const l = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null); + for (const a in e) + t.some((c) => c instanceof RegExp ? c.test(a) : c === a) && !(n != null && n.some((c) => c === a)) ? l[a] = e[a] : o[a] = e[a]; + return [l, o]; } -function gn(e, t) { +function zn(e, t) { const n = { ...e }; return t.forEach((l) => delete n[l]), n; } -const No = /^on[^a-z]/, ol = (e) => No.test(e), Ii = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"]; -function ot(e) { - const [t, n] = Gl(e, [No]), l = gn(t, Ii), [a, i] = Gl(n, ["class", "style", "id", /^data-/]); - return Object.assign(a, t), Object.assign(i, l), [a, i]; +const ia = /^on[^a-z]/, Bl = (e) => ia.test(e), zi = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"]; +function kt(e) { + const [t, n] = so(e, [ia]), l = zn(t, zi), [o, a] = so(n, ["class", "style", "id", /^data-/]); + return Object.assign(o, t), Object.assign(a, l), [o, a]; } -function He(e) { +function pn(e) { return e == null ? [] : Array.isArray(e) ? e : [e]; } -function kn(e) { +function Gn(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1; return Math.max(t, Math.min(n, e)); } -function ql(e, t) { +function uo(e, t) { return e + (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0").repeat(Math.max(0, t - e.length)); } -function Bn() { +function Nn() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0; const l = {}; - for (const a in e) - l[a] = e[a]; - for (const a in t) { - const i = e[a], d = t[a]; - ll(i) && ll(d) ? l[a] = Bn(i, d, n) : Array.isArray(i) && Array.isArray(d) && n ? l[a] = n(i, d) : l[a] = d; + for (const o in e) + l[o] = e[o]; + for (const o in t) { + const a = e[o], c = t[o]; + Sl(a) && Sl(c) ? l[o] = Nn(a, c, n) : Array.isArray(a) && Array.isArray(c) && n ? l[o] = n(a, c) : l[o] = c; } return l; } -function jo(e) { - return e.map((t) => t.type === fe ? jo(t.children) : t).flat(); +function ra(e) { + return e.map((t) => t.type === Fe ? ra(t.children) : t).flat(); } -function rn() { +function wn() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; - if (rn.cache.has(e)) - return rn.cache.get(e); + if (wn.cache.has(e)) + return wn.cache.get(e); const t = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); - return rn.cache.set(e, t), t; + return wn.cache.set(e, t), t; } -function St(e, t) { +function Rt(e, t) { if (!t || typeof t != "object") return []; if (Array.isArray(t)) - return t.map((n) => St(e, n)).flat(1); + return t.map((n) => Rt(e, n)).flat(1); if (Array.isArray(t.children)) - return t.children.map((n) => St(e, n)).flat(1); + return t.children.map((n) => Rt(e, n)).flat(1); if (t.component) { if (Object.getOwnPropertySymbols(t.component.provides).includes(e)) return [t.component]; if (t.component.subTree) - return St(e, t.component.subTree).flat(1); + return Rt(e, t.component.subTree).flat(1); } return []; } -function xl(e) { - const t = Me({}), n = v(e); - return Ne(() => { +function Nl(e) { + const t = ln({}), n = v(e); + return rn(() => { for (const l in n.value) t[l] = n.value[l]; - }, { flush: "sync" }), Eo(t); + }, { flush: "sync" }), xn(t); } -function Ft(e, t) { +function qt(e, t) { return e.includes(t); } -function Ul(e) { +function co(e) { return e[2].toLowerCase() + e.slice(3); } -rn.cache = /* @__PURE__ */ new Map(); -const Re = () => [Function, Array]; -function Hl(e, t) { - return !!(e[t = "on" + To(t)] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]); +wn.cache = /* @__PURE__ */ new Map(); +const an = () => [Function, Array]; +function po(e, t) { + return !!(e[t = "on" + Qo(t)] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]); } -function Go(e) { +function sa(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++) n[l - 1] = arguments[l]; if (Array.isArray(e)) - for (const a of e) - a(...n); + for (const o of e) + o(...n); else typeof e == "function" && e(...n); } -function al(e) { +function xl(e) { let t = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1]; const n = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((l) => `${l}${t ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", "); return [...e.querySelectorAll(n)]; } -function qo(e, t, n) { - let l, a = e.indexOf(document.activeElement); - const i = t === "next" ? 1 : -1; +function ua(e, t, n) { + let l, o = e.indexOf(document.activeElement); + const a = t === "next" ? 1 : -1; do - a += i, l = e[a]; - while ((!l || l.offsetParent == null || !((n == null ? void 0 : n(l)) ?? 1)) && a < e.length && a >= 0); + o += a, l = e[o]; + while ((!l || l.offsetParent == null || !((n == null ? void 0 : n(l)) ?? 1)) && o < e.length && o >= 0); return l; } -function Vt(e, t) { - var l, a, i, d; - const n = al(e); +function Ht(e, t) { + var l, o, a, c; + const n = xl(e); if (t) if (t === "first") (l = n[0]) == null || l.focus(); else if (t === "last") - (a = n.at(-1)) == null || a.focus(); + (o = n.at(-1)) == null || o.focus(); else if (typeof t == "number") - (i = n[t]) == null || i.focus(); + (a = n[t]) == null || a.focus(); else { - const c = qo(n, t); - c ? c.focus() : Vt(e, t === "next" ? "first" : "last"); + const u = ua(n, t); + u ? u.focus() : Ht(e, t === "next" ? "first" : "last"); } else - e !== document.activeElement && e.contains(document.activeElement) || ((d = n[0]) == null || d.focus()); + e !== document.activeElement && e.contains(document.activeElement) || ((c = n[0]) == null || c.focus()); } -function At(e, t) { - if (!(Pe && typeof CSS < "u" && CSS.supports !== void 0 && CSS.supports(`selector(${t})`))) +function Yt(e, t) { + if (!(Ke && typeof CSS < "u" && CSS.supports !== void 0 && CSS.supports(`selector(${t})`))) return null; try { return !!e && e.matches(t); @@ -222,33 +222,33 @@ function At(e, t) { return null; } } -function Uo(e) { - return e.some((t) => !ri(t) || t.type !== si && (t.type !== fe || Uo(t.children))) ? e : null; +function ca(e) { + return e.some((t) => !Si(t) || t.type !== Bi && (t.type !== Fe || ca(t.children))) ? e : null; } -const Ho = ["top", "bottom"], Si = ["start", "end", "left", "right"]; -function il(e, t) { +const da = ["top", "bottom"], Di = ["start", "end", "left", "right"]; +function kl(e, t) { let [n, l] = e.split(" "); - return l || (l = Ft(Ho, n) ? "start" : Ft(Si, n) ? "top" : "center"), { side: Yl(n, t), align: Yl(l, t) }; + return l || (l = qt(da, n) ? "start" : qt(Di, n) ? "top" : "center"), { side: vo(n, t), align: vo(l, t) }; } -function Yl(e, t) { +function vo(e, t) { return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e; } -function Xt(e) { +function fl(e) { return { side: { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }[e.side], align: e.align }; } -function Kt(e) { +function yl(e) { return { side: e.side, align: { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }[e.align] }; } -function Xl(e) { +function fo(e) { return { side: e.align, align: e.side }; } -function Kl(e) { - return Ft(Ho, e.side) ? "y" : "x"; +function yo(e) { + return qt(da, e.side) ? "y" : "x"; } -class sn { +class Fn { constructor(t) { - let { x: n, y: l, width: a, height: i } = t; - this.x = n, this.y = l, this.width = a, this.height = i; + let { x: n, y: l, width: o, height: a } = t; + this.x = n, this.y = l, this.width = o, this.height = a; } get top() { return this.y; @@ -263,29 +263,29 @@ class sn { return this.x + this.width; } } -function Jl(e, t) { +function mo(e, t) { return { x: { before: Math.max(0, t.left - e.left), after: Math.max(0, e.right - t.right) }, y: { before: Math.max(0, t.top - e.top), after: Math.max(0, e.bottom - t.bottom) } }; } -function Yo(e) { - return Array.isArray(e) ? new sn({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); +function pa(e) { + return Array.isArray(e) ? new Fn({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); } -function kl(e) { +function jl(e) { const t = e.getBoundingClientRect(), n = getComputedStyle(e), l = n.transform; if (l) { - let a, i, d, c, u; + let o, a, c, u, s; if (l.startsWith("matrix3d(")) - a = l.slice(9, -1).split(/, /), i = +a[0], d = +a[5], c = +a[12], u = +a[13]; + o = l.slice(9, -1).split(/, /), a = +o[0], c = +o[5], u = +o[12], s = +o[13]; else { if (!l.startsWith("matrix(")) - return new sn(t); - a = l.slice(7, -1).split(/, /), i = +a[0], d = +a[3], c = +a[4], u = +a[5]; + return new Fn(t); + o = l.slice(7, -1).split(/, /), a = +o[0], c = +o[3], u = +o[4], s = +o[5]; } - const o = n.transformOrigin, s = t.x - c - (1 - i) * parseFloat(o), y = t.y - u - (1 - d) * parseFloat(o.slice(o.indexOf(" ") + 1)), f = i ? t.width / i : e.offsetWidth + 1, g = d ? t.height / d : e.offsetHeight + 1; - return new sn({ x: s, y, width: f, height: g }); + const i = n.transformOrigin, p = t.x - u - (1 - a) * parseFloat(i), y = t.y - s - (1 - c) * parseFloat(i.slice(i.indexOf(" ") + 1)), f = a ? t.width / a : e.offsetWidth + 1, m = c ? t.height / c : e.offsetHeight + 1; + return new Fn({ x: p, y, width: f, height: m }); } - return new sn(t); + return new Fn(t); } -function xn(e, t, n) { +function jn(e, t, n) { if (e.animate === void 0) return { finished: Promise.resolve() }; let l; @@ -294,180 +294,180 @@ function xn(e, t, n) { } catch { return { finished: Promise.resolve() }; } - return l.finished === void 0 && (l.finished = new Promise((a) => { + return l.finished === void 0 && (l.finished = new Promise((o) => { l.onfinish = () => { - a(l); + o(l); }; })), l; } -const ht = /* @__PURE__ */ new WeakMap(), Sn = 2.4, Zl = 0.2126729, Ql = 0.7151522, eo = 0.072175, Bi = 0.55, xi = 0.58, ki = 0.57, wi = 0.62, bt = 0.03, no = 1.45, Fi = 5e-4, Vi = 1.25, Ai = 1.25, to = 0.078, lo = 12.82051282051282, Ct = 0.06, oo = 1e-3; -function ao(e, t) { - const n = (e.r / 255) ** Sn, l = (e.g / 255) ** Sn, a = (e.b / 255) ** Sn, i = (t.r / 255) ** Sn, d = (t.g / 255) ** Sn, c = (t.b / 255) ** Sn; - let u, o = n * Zl + l * Ql + a * eo, s = i * Zl + d * Ql + c * eo; - if (o <= bt && (o += (bt - o) ** no), s <= bt && (s += (bt - s) ** no), Math.abs(s - o) < Fi) +const Dt = /* @__PURE__ */ new WeakMap(), Rn = 2.4, go = 0.2126729, ho = 0.7151522, bo = 0.072175, Li = 0.55, Wi = 0.58, Mi = 0.57, Ri = 0.62, Lt = 0.03, Co = 1.45, Ni = 5e-4, ji = 1.25, Gi = 1.25, Io = 0.078, So = 12.82051282051282, Wt = 0.06, Bo = 1e-3; +function xo(e, t) { + const n = (e.r / 255) ** Rn, l = (e.g / 255) ** Rn, o = (e.b / 255) ** Rn, a = (t.r / 255) ** Rn, c = (t.g / 255) ** Rn, u = (t.b / 255) ** Rn; + let s, i = n * go + l * ho + o * bo, p = a * go + c * ho + u * bo; + if (i <= Lt && (i += (Lt - i) ** Co), p <= Lt && (p += (Lt - p) ** Co), Math.abs(p - i) < Ni) return 0; - if (s > o) { - const y = (s ** Bi - o ** xi) * Vi; - u = y < oo ? 0 : y < to ? y - y * lo * Ct : y - Ct; + if (p > i) { + const y = (p ** Li - i ** Wi) * ji; + s = y < Bo ? 0 : y < Io ? y - y * So * Wt : y - Wt; } else { - const y = (s ** wi - o ** ki) * Ai; - u = y > -oo ? 0 : y > -to ? y - y * lo * Ct : y + Ct; + const y = (p ** Ri - i ** Mi) * Gi; + s = y > -Bo ? 0 : y > -Io ? y - y * So * Wt : y + Wt; } - return 100 * u; + return 100 * s; } -function Jn(e) { - Lt(`Vuetify: ${e}`); +function gt(e) { + ll(`Vuetify: ${e}`); } -function Jt(e) { +function ml(e) { return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e); } -const io = /^(?(?:rgb|hsl)a?)\((?.+)\)/, _i = { rgb: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), rgba: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), hsl: (e, t, n, l) => ro({ h: e, s: t, l: n, a: l }), hsla: (e, t, n, l) => ro({ h: e, s: t, l: n, a: l }), hsv: (e, t, n, l) => Zn({ h: e, s: t, v: n, a: l }), hsva: (e, t, n, l) => Zn({ h: e, s: t, v: n, a: l }) }; -function Yn(e) { +const ko = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Ui = { rgb: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), rgba: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), hsl: (e, t, n, l) => wo({ h: e, s: t, l: n, a: l }), hsla: (e, t, n, l) => wo({ h: e, s: t, l: n, a: l }), hsv: (e, t, n, l) => ht({ h: e, s: t, v: n, a: l }), hsva: (e, t, n, l) => ht({ h: e, s: t, v: n, a: l }) }; +function ft(e) { if (typeof e == "number") - return (isNaN(e) || e < 0 || e > 16777215) && Jn(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; - if (typeof e == "string" && io.test(e)) { - const { groups: t } = e.match(io), { fn: n, values: l } = t, a = l.split(/,\s*/).map((i) => i.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(i) / 100 : parseFloat(i)); - return _i[n](...a); + return (isNaN(e) || e < 0 || e > 16777215) && gt(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; + if (typeof e == "string" && ko.test(e)) { + const { groups: t } = e.match(ko), { fn: n, values: l } = t, o = l.split(/,\s*/).map((a) => a.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(a) / 100 : parseFloat(a)); + return Ui[n](...o); } if (typeof e == "string") { let t = e.startsWith("#") ? e.slice(1) : e; - [3, 4].includes(t.length) ? t = t.split("").map((l) => l + l).join("") : [6, 8].includes(t.length) || Jn(`'${e}' is not a valid hex(a) color`); + [3, 4].includes(t.length) ? t = t.split("").map((l) => l + l).join("") : [6, 8].includes(t.length) || gt(`'${e}' is not a valid hex(a) color`); const n = parseInt(t, 16); - return (isNaN(n) || n < 0 || n > 4294967295) && Jn(`'${e}' is not a valid hex(a) color`), function(l) { - l = function(u) { - return u.startsWith("#") && (u = u.slice(1)), u = u.replace(/([^0-9a-f])/gi, "F"), (u.length === 3 || u.length === 4) && (u = u.split("").map((o) => o + o).join("")), u.length !== 6 && (u = ql(ql(u, 6), 8, "F")), u; + return (isNaN(n) || n < 0 || n > 4294967295) && gt(`'${e}' is not a valid hex(a) color`), function(l) { + l = function(s) { + return s.startsWith("#") && (s = s.slice(1)), s = s.replace(/([^0-9a-f])/gi, "F"), (s.length === 3 || s.length === 4) && (s = s.split("").map((i) => i + i).join("")), s.length !== 6 && (s = uo(uo(s, 6), 8, "F")), s; }(l); - let [a, i, d, c] = function(u) { - let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; - const s = []; + let [o, a, c, u] = function(s) { + let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1; + const p = []; let y = 0; - for (; y < u.length; ) - s.push(u.substr(y, o)), y += o; - return s; - }(l, 2).map((u) => parseInt(u, 16)); - return c = c === void 0 ? c : c / 255, { r: a, g: i, b: d, a: c }; + for (; y < s.length; ) + p.push(s.substr(y, i)), y += i; + return p; + }(l, 2).map((s) => parseInt(s, 16)); + return u = u === void 0 ? u : u / 255, { r: o, g: a, b: c, a: u }; }(t); } if (typeof e == "object") { - if (Yt(e, ["r", "g", "b"])) + if (vl(e, ["r", "g", "b"])) return e; - if (Yt(e, ["h", "s", "l"])) - return Zn(Xo(e)); - if (Yt(e, ["h", "s", "v"])) - return Zn(e); + if (vl(e, ["h", "s", "l"])) + return ht(va(e)); + if (vl(e, ["h", "s", "v"])) + return ht(e); } throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`); } -function Zn(e) { - const { h: t, s: n, v: l, a } = e, i = (c) => { - const u = (c + t / 60) % 6; - return l - l * n * Math.max(Math.min(u, 4 - u, 1), 0); - }, d = [i(5), i(3), i(1)].map((c) => Math.round(255 * c)); - return { r: d[0], g: d[1], b: d[2], a }; +function ht(e) { + const { h: t, s: n, v: l, a: o } = e, a = (u) => { + const s = (u + t / 60) % 6; + return l - l * n * Math.max(Math.min(s, 4 - s, 1), 0); + }, c = [a(5), a(3), a(1)].map((u) => Math.round(255 * u)); + return { r: c[0], g: c[1], b: c[2], a: o }; } -function ro(e) { - return Zn(Xo(e)); +function wo(e) { + return ht(va(e)); } -function Xo(e) { - const { h: t, s: n, l, a } = e, i = l + n * Math.min(l, 1 - l); - return { h: t, s: i === 0 ? 0 : 2 - 2 * l / i, v: i, a }; +function va(e) { + const { h: t, s: n, l, a: o } = e, a = l + n * Math.min(l, 1 - l); + return { h: t, s: a === 0 ? 0 : 2 - 2 * l / a, v: a, a: o }; } -const _t = Symbol.for("vuetify:defaults"); -function wl() { - const e = se(_t); +const Xt = Symbol.for("vuetify:defaults"); +function Gl() { + const e = me(Xt); if (!e) throw new Error("[Vuetify] Could not find defaults instance"); return e; } -function Tn(e, t) { - const n = wl(), l = W(e), a = v(() => { +function et(e, t) { + const n = Gl(), l = D(e), o = v(() => { if (r(t == null ? void 0 : t.disabled)) return n.value; - const i = r(t == null ? void 0 : t.scoped), d = r(t == null ? void 0 : t.reset), c = r(t == null ? void 0 : t.root); - if (l.value == null && !(i || d || c)) + const a = r(t == null ? void 0 : t.scoped), c = r(t == null ? void 0 : t.reset), u = r(t == null ? void 0 : t.root); + if (l.value == null && !(a || c || u)) return n.value; - let u = Bn(l.value, { prev: n.value }); - if (i) - return u; - if (d || c) { - const o = Number(d || 1 / 0); - for (let s = 0; s <= o && u && "prev" in u; s++) - u = u.prev; - return u && typeof c == "string" && c in u && (u = Bn(Bn(u, { prev: u }), u[c])), u; + let s = Nn(l.value, { prev: n.value }); + if (a) + return s; + if (c || u) { + const i = Number(c || 1 / 0); + for (let p = 0; p <= i && s && "prev" in s; p++) + s = s.prev; + return s && typeof u == "string" && u in s && (s = Nn(Nn(s, { prev: s }), s[u])), s; } - return u.prev ? Bn(u.prev, u) : u; + return s.prev ? Nn(s.prev, s) : s; }); - return De(_t, a), a; + return nn(Xt, o), o; } -function Oi() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : wl(); - const l = Ce("useDefaults"); +function qi() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Gl(); + const l = Le("useDefaults"); if (t = t ?? l.type.name ?? l.type.__name, !t) throw new Error("[Vuetify] Could not determine component name"); - const a = v(() => { - var c; - return (c = n.value) == null ? void 0 : c[e._as ?? t]; - }), i = new Proxy(e, { get(c, u) { - var s, y, f, g; - const o = Reflect.get(c, u); - return u === "class" || u === "style" ? [(s = a.value) == null ? void 0 : s[u], o].filter((m) => m != null) : typeof u != "string" || function(m, h) { - var b, S; - return ((b = m.props) == null ? void 0 : b[h]) !== void 0 || ((S = m.props) == null ? void 0 : S[rn(h)]) !== void 0; - }(l.vnode, u) ? o : ((y = a.value) == null ? void 0 : y[u]) ?? ((g = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : g[u]) ?? o; - } }), d = re(); - return Ne(() => { - if (a.value) { - const c = Object.entries(a.value).filter((u) => { - let [o] = u; - return o.startsWith(o[0].toUpperCase()); + const o = v(() => { + var u; + return (u = n.value) == null ? void 0 : u[e._as ?? t]; + }), a = new Proxy(e, { get(u, s) { + var p, y, f, m; + const i = Reflect.get(u, s); + return s === "class" || s === "style" ? [(p = o.value) == null ? void 0 : p[s], i].filter((h) => h != null) : typeof s != "string" || function(h, b) { + var g, C; + return ((g = h.props) == null ? void 0 : g[b]) !== void 0 || ((C = h.props) == null ? void 0 : C[wn(b)]) !== void 0; + }(l.vnode, s) ? i : ((y = o.value) == null ? void 0 : y[s]) ?? ((m = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : m[s]) ?? i; + } }), c = de(); + return rn(() => { + if (o.value) { + const u = Object.entries(o.value).filter((s) => { + let [i] = s; + return i.startsWith(i[0].toUpperCase()); }); - d.value = c.length ? Object.fromEntries(c) : void 0; + c.value = u.length ? Object.fromEntries(u) : void 0; } else - d.value = void 0; - }), { props: i, provideSubDefaults: function() { - const c = function(u) { - let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ce("injectSelf"); - const { provides: s } = o; - if (s && u in s) - return s[u]; - }(_t, l); - De(_t, v(() => d.value ? Bn((c == null ? void 0 : c.value) ?? {}, d.value) : c == null ? void 0 : c.value)); + c.value = void 0; + }), { props: a, provideSubDefaults: function() { + const u = function(s) { + let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Le("injectSelf"); + const { provides: p } = i; + if (p && s in p) + return p[s]; + }(Xt, l); + nn(Xt, v(() => c.value ? Nn((u == null ? void 0 : u.value) ?? {}, c.value) : u == null ? void 0 : u.value)); } }; } -function Qn(e) { +function bt(e) { if (e._setup = e._setup ?? e.setup, !e.name) - return Jn("The component is missing an explicit name, unable to generate default prop value"), e; + return gt("The component is missing an explicit name, unable to generate default prop value"), e; if (e._setup) { - e.props = Y(e.props ?? {}, e.name)(); + e.props = H(e.props ?? {}, e.name)(); const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style"); e.filterProps = function(n) { - return Ro(n, t); + return aa(n, t); }, e.props._as = String, e.setup = function(n, l) { - const a = wl(); - if (!a.value) + const o = Gl(); + if (!o.value) return e._setup(n, l); - const { props: i, provideSubDefaults: d } = Oi(n, n._as ?? e.name, a), c = e._setup(i, l); - return d(), c; + const { props: a, provideSubDefaults: c } = qi(n, n._as ?? e.name, o), u = e._setup(a, l); + return c(), u; }; } return e; } -function ee() { +function ne() { let e = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0]; - return (t) => (e ? Qn : je)(t); + return (t) => (e ? bt : sn)(t); } -function at(e) { +function wt(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0; - return ee()({ name: n ?? To(zo(e.replace(/__/g, "-"))), props: { tag: { type: String, default: t }, ...ue() }, setup(l, a) { - let { slots: i } = a; + return ne()({ name: n ?? Qo(ea(e.replace(/__/g, "-"))), props: { tag: { type: String, default: t }, ...ye() }, setup(l, o) { + let { slots: a } = o; return () => { - var d; - return Wt(l.tag, { class: [e, l.class], style: l.style }, (d = i.default) == null ? void 0 : d.call(i)); + var c; + return ol(l.tag, { class: [e, l.class], style: l.style }, (c = a.default) == null ? void 0 : c.call(a)); }; } }); } -function Ko(e) { +function fa(e) { if (typeof e.getRootNode != "function") { for (; e.parentNode; ) e = e.parentNode; @@ -476,720 +476,720 @@ function Ko(e) { const t = e.getRootNode(); return t !== document && t.getRootNode({ composed: !0 }) !== document ? null : t; } -const Ot = "cubic-bezier(0.4, 0, 0.2, 1)"; -function Ce(e, t) { - const n = ui(); +const Kt = "cubic-bezier(0.4, 0, 0.2, 1)"; +function Le(e, t) { + const n = xi(); if (!n) throw new Error(`[Vuetify] ${e} ${t || "must be called from inside a setup function"}`); return n; } -function Ge() { - const e = Ce(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; - return rn((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); +function un() { + const e = Le(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; + return wn((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); } -let Jo = 0, Bt = /* @__PURE__ */ new WeakMap(); -function We() { - const e = Ce("getUid"); - if (Bt.has(e)) - return Bt.get(e); +let ya = 0, Nt = /* @__PURE__ */ new WeakMap(); +function tn() { + const e = Le("getUid"); + if (Nt.has(e)) + return Nt.get(e); { - const t = Jo++; - return Bt.set(e, t), t; + const t = ya++; + return Nt.set(e, t), t; } } -function Zo(e) { +function ma(e) { let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; for (; e; ) { - if (t ? Pi(e) : Fl(e)) + if (t ? Hi(e) : Ul(e)) return e; e = e.parentElement; } return document.scrollingElement; } -function Pt(e, t) { +function Jt(e, t) { const n = []; if (t && e && !t.contains(e)) return n; - for (; e && (Fl(e) && n.push(e), e !== t); ) + for (; e && (Ul(e) && n.push(e), e !== t); ) e = e.parentElement; return n; } -function Fl(e) { +function Ul(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; const t = window.getComputedStyle(e); return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight; } -function Pi(e) { +function Hi(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; const t = window.getComputedStyle(e); return ["scroll", "auto"].includes(t.overflowY); } -function ae(e) { - Ce("useRender").render = e; +function se(e) { + Le("useRender").render = e; } -function Vl(e) { +function ql(e) { let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; - const n = W(), l = W(); - if (Pe) { - const a = new ResizeObserver((i) => { - e == null || e(i, a), i.length && (l.value = t === "content" ? i[0].contentRect : i[0].target.getBoundingClientRect()); + const n = D(), l = D(); + if (Ke) { + const o = new ResizeObserver((a) => { + e == null || e(a, o), a.length && (l.value = t === "content" ? a[0].contentRect : a[0].target.getBoundingClientRect()); }); - Je(() => { - a.disconnect(); - }), K(n, (i, d) => { - d && (a.unobserve(wt(d)), l.value = void 0), i && a.observe(wt(i)); + mn(() => { + o.disconnect(); + }), K(n, (a, c) => { + c && (o.unobserve(Ut(c)), l.value = void 0), a && o.observe(Ut(a)); }, { flush: "post" }); } - return { resizeRef: n, contentRect: hl(l) }; + return { resizeRef: n, contentRect: zl(l) }; } -function un(e, t) { +function Vn(e, t) { let n; function l() { - n = bl(), n.run(() => t.length ? t(() => { + n = Dl(), n.run(() => t.length ? t(() => { n == null || n.stop(), l(); }) : t()); } - K(e, (a) => { - a && !n ? l() : a || (n == null || n.stop(), n = void 0); - }, { immediate: !0 }), Ae(() => { + K(e, (o) => { + o && !n ? l() : o || (n == null || n.stop(), n = void 0); + }, { immediate: !0 }), He(() => { n == null || n.stop(); }); } -function ge(e, t, n) { - let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (s) => s, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (s) => s; - const i = Ce("useProxiedModel"), d = W(e[t] !== void 0 ? e[t] : n), c = rn(t), u = v(c !== t ? () => { - var s, y, f, g; - return e[t], !(!((s = i.vnode.props) != null && s.hasOwnProperty(t)) && !((y = i.vnode.props) != null && y.hasOwnProperty(c)) || !((f = i.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((g = i.vnode.props) != null && g.hasOwnProperty(`onUpdate:${c}`))); +function $e(e, t, n) { + let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (p) => p, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (p) => p; + const a = Le("useProxiedModel"), c = D(e[t] !== void 0 ? e[t] : n), u = wn(t), s = v(u !== t ? () => { + var p, y, f, m; + return e[t], !(!((p = a.vnode.props) != null && p.hasOwnProperty(t)) && !((y = a.vnode.props) != null && y.hasOwnProperty(u)) || !((f = a.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((m = a.vnode.props) != null && m.hasOwnProperty(`onUpdate:${u}`))); } : () => { - var s, y; - return e[t], !(!((s = i.vnode.props) != null && s.hasOwnProperty(t)) || !((y = i.vnode.props) != null && y.hasOwnProperty(`onUpdate:${t}`))); + var p, y; + return e[t], !(!((p = a.vnode.props) != null && p.hasOwnProperty(t)) || !((y = a.vnode.props) != null && y.hasOwnProperty(`onUpdate:${t}`))); }); - un(() => !u.value, () => { - K(() => e[t], (s) => { - d.value = s; + Vn(() => !s.value, () => { + K(() => e[t], (p) => { + c.value = p; }); }); - const o = v({ get() { - const s = e[t]; - return l(u.value ? s : d.value); - }, set(s) { - const y = a(s), f = ln(u.value ? e[t] : d.value); - f !== y && l(f) !== s && (d.value = y, i == null || i.emit(`update:${t}`, y)); + const i = v({ get() { + const p = e[t]; + return l(s.value ? p : c.value); + }, set(p) { + const y = o(p), f = Sn(s.value ? e[t] : c.value); + f !== y && l(f) !== p && (c.value = y, a == null || a.emit(`update:${t}`, y)); } }); - return Object.defineProperty(o, "externalValue", { get: () => u.value ? e[t] : d.value }), o; + return Object.defineProperty(i, "externalValue", { get: () => s.value ? e[t] : c.value }), i; } -We.reset = () => { - Jo = 0, Bt = /* @__PURE__ */ new WeakMap(); +tn.reset = () => { + ya = 0, Nt = /* @__PURE__ */ new WeakMap(); }; -const Qo = Symbol.for("vuetify:locale"); -function Al() { - const e = se(Qo); +const ga = Symbol.for("vuetify:locale"); +function Hl() { + const e = me(ga); if (!e) throw new Error("[Vuetify] Could not find injected locale instance"); return e; } -function it() { - const e = se(Qo); +function Ft() { + const e = me(ga); if (!e) throw new Error("[Vuetify] Could not find injected rtl instance"); return { isRtl: e.isRtl, rtlClasses: e.rtlClasses }; } -const so = Symbol.for("vuetify:theme"), Be = Y({ theme: String }, "theme"); -function Oe(e) { - Ce("provideTheme"); - const t = se(so, null); +const Fo = Symbol.for("vuetify:theme"), Ne = H({ theme: String }, "theme"); +function Xe(e) { + Le("provideTheme"); + const t = me(Fo, null); if (!t) throw new Error("Could not find Vuetify theme injection"); - const n = v(() => e.theme ?? t.name.value), l = v(() => t.themes.value[n.value]), a = v(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), i = { ...t, name: n, current: l, themeClasses: a }; - return De(so, i), i; -} -const ze = Y({ tag: { type: String, default: "div" } }, "tag"), $i = Y({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); -function $e(e, t, n) { - return ee()({ name: e, props: $i({ mode: n, origin: t }), setup(l, a) { - let { slots: i } = a; - const d = { onBeforeEnter(c) { - l.origin && (c.style.transformOrigin = l.origin); - }, onLeave(c) { + const n = v(() => e.theme ?? t.name.value), l = v(() => t.themes.value[n.value]), o = v(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), a = { ...t, name: n, current: l, themeClasses: o }; + return nn(Fo, a), a; +} +const en = H({ tag: { type: String, default: "div" } }, "tag"), Yi = H({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); +function Je(e, t, n) { + return ne()({ name: e, props: Yi({ mode: n, origin: t }), setup(l, o) { + let { slots: a } = o; + const c = { onBeforeEnter(u) { + l.origin && (u.style.transformOrigin = l.origin); + }, onLeave(u) { if (l.leaveAbsolute) { - const { offsetTop: u, offsetLeft: o, offsetWidth: s, offsetHeight: y } = c; - c._transitionInitialStyles = { position: c.style.position, top: c.style.top, left: c.style.left, width: c.style.width, height: c.style.height }, c.style.position = "absolute", c.style.top = `${u}px`, c.style.left = `${o}px`, c.style.width = `${s}px`, c.style.height = `${y}px`; + const { offsetTop: s, offsetLeft: i, offsetWidth: p, offsetHeight: y } = u; + u._transitionInitialStyles = { position: u.style.position, top: u.style.top, left: u.style.left, width: u.style.width, height: u.style.height }, u.style.position = "absolute", u.style.top = `${s}px`, u.style.left = `${i}px`, u.style.width = `${p}px`, u.style.height = `${y}px`; } - l.hideOnLeave && c.style.setProperty("display", "none", "important"); - }, onAfterLeave(c) { - if (l.leaveAbsolute && (c != null && c._transitionInitialStyles)) { - const { position: u, top: o, left: s, width: y, height: f } = c._transitionInitialStyles; - delete c._transitionInitialStyles, c.style.position = u || "", c.style.top = o || "", c.style.left = s || "", c.style.width = y || "", c.style.height = f || ""; + l.hideOnLeave && u.style.setProperty("display", "none", "important"); + }, onAfterLeave(u) { + if (l.leaveAbsolute && (u != null && u._transitionInitialStyles)) { + const { position: s, top: i, left: p, width: y, height: f } = u._transitionInitialStyles; + delete u._transitionInitialStyles, u.style.position = s || "", u.style.top = i || "", u.style.left = p || "", u.style.width = y || "", u.style.height = f || ""; } } }; return () => { - const c = l.group ? ci : cn; - return Wt(c, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : d }, i.default); + const u = l.group ? ki : An; + return ol(u, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : c }, a.default); }; } }); } -function ea(e, t) { +function ha(e, t) { let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; - return ee()({ name: e, props: { mode: { type: String, default: n }, disabled: Boolean }, setup(l, a) { - let { slots: i } = a; - return () => Wt(cn, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : t }, i.default); + return ne()({ name: e, props: { mode: { type: String, default: n }, disabled: Boolean }, setup(l, o) { + let { slots: a } = o; + return () => ol(An, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : t }, a.default); } }); } -function na() { +function ba() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; - const t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", n = zo(`offset-${t}`); - return { onBeforeEnter(i) { - i._parent = i.parentNode, i._initialStyle = { transition: i.style.transition, overflow: i.style.overflow, [t]: i.style[t] }; - }, onEnter(i) { - const d = i._initialStyle; - i.style.setProperty("transition", "none", "important"), i.style.overflow = "hidden"; - const c = `${i[n]}px`; - i.style[t] = "0", i.offsetHeight, i.style.transition = d.transition, e && i._parent && i._parent.classList.add(e), requestAnimationFrame(() => { - i.style[t] = c; + const t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", n = ea(`offset-${t}`); + return { onBeforeEnter(a) { + a._parent = a.parentNode, a._initialStyle = { transition: a.style.transition, overflow: a.style.overflow, [t]: a.style[t] }; + }, onEnter(a) { + const c = a._initialStyle; + a.style.setProperty("transition", "none", "important"), a.style.overflow = "hidden"; + const u = `${a[n]}px`; + a.style[t] = "0", a.offsetHeight, a.style.transition = c.transition, e && a._parent && a._parent.classList.add(e), requestAnimationFrame(() => { + a.style[t] = u; }); - }, onAfterEnter: a, onEnterCancelled: a, onLeave(i) { - i._initialStyle = { transition: "", overflow: i.style.overflow, [t]: i.style[t] }, i.style.overflow = "hidden", i.style[t] = `${i[n]}px`, i.offsetHeight, requestAnimationFrame(() => i.style[t] = "0"); + }, onAfterEnter: o, onEnterCancelled: o, onLeave(a) { + a._initialStyle = { transition: "", overflow: a.style.overflow, [t]: a.style[t] }, a.style.overflow = "hidden", a.style[t] = `${a[n]}px`, a.offsetHeight, requestAnimationFrame(() => a.style[t] = "0"); }, onAfterLeave: l, onLeaveCancelled: l }; - function l(i) { - e && i._parent && i._parent.classList.remove(e), a(i); + function l(a) { + e && a._parent && a._parent.classList.remove(e), o(a); } - function a(i) { - const d = i._initialStyle[t]; - i.style.overflow = i._initialStyle.overflow, d != null && (i.style[t] = d), delete i._initialStyle; + function o(a) { + const c = a._initialStyle[t]; + a.style.overflow = a._initialStyle.overflow, c != null && (a.style[t] = c), delete a._initialStyle; } } -const Ei = Y({ target: [Object, Array] }, "v-dialog-transition"), ta = ee()({ name: "VDialogTransition", props: Ei(), setup(e, t) { +const Xi = H({ target: [Object, Array] }, "v-dialog-transition"), Ca = ne()({ name: "VDialogTransition", props: Xi(), setup(e, t) { let { slots: n } = t; - const l = { onBeforeEnter(a) { - a.style.pointerEvents = "none", a.style.visibility = "hidden"; - }, async onEnter(a, i) { + const l = { onBeforeEnter(o) { + o.style.pointerEvents = "none", o.style.visibility = "hidden"; + }, async onEnter(o, a) { var f; - await new Promise((g) => requestAnimationFrame(g)), await new Promise((g) => requestAnimationFrame(g)), a.style.visibility = ""; - const { x: d, y: c, sx: u, sy: o, speed: s } = co(e.target, a), y = xn(a, [{ transform: `translate(${d}px, ${c}px) scale(${u}, ${o})`, opacity: 0 }, {}], { duration: 225 * s, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); - (f = uo(a)) == null || f.forEach((g) => { - xn(g, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * s, easing: Ot }); - }), y.finished.then(() => i()); - }, onAfterEnter(a) { - a.style.removeProperty("pointer-events"); - }, onBeforeLeave(a) { - a.style.pointerEvents = "none"; - }, async onLeave(a, i) { + await new Promise((m) => requestAnimationFrame(m)), await new Promise((m) => requestAnimationFrame(m)), o.style.visibility = ""; + const { x: c, y: u, sx: s, sy: i, speed: p } = Ao(e.target, o), y = jn(o, [{ transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }, {}], { duration: 225 * p, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); + (f = Vo(o)) == null || f.forEach((m) => { + jn(m, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * p, easing: Kt }); + }), y.finished.then(() => a()); + }, onAfterEnter(o) { + o.style.removeProperty("pointer-events"); + }, onBeforeLeave(o) { + o.style.pointerEvents = "none"; + }, async onLeave(o, a) { var y; await new Promise((f) => requestAnimationFrame(f)); - const { x: d, y: c, sx: u, sy: o, speed: s } = co(e.target, a); - xn(a, [{}, { transform: `translate(${d}px, ${c}px) scale(${u}, ${o})`, opacity: 0 }], { duration: 125 * s, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => i()), (y = uo(a)) == null || y.forEach((f) => { - xn(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * s, easing: Ot }); + const { x: c, y: u, sx: s, sy: i, speed: p } = Ao(e.target, o); + jn(o, [{}, { transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }], { duration: 125 * p, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => a()), (y = Vo(o)) == null || y.forEach((f) => { + jn(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * p, easing: Kt }); }); - }, onAfterLeave(a) { - a.style.removeProperty("pointer-events"); + }, onAfterLeave(o) { + o.style.removeProperty("pointer-events"); } }; - return () => e.target ? p(cn, Z({ name: "dialog-transition" }, l, { css: !1 }), n) : p(cn, { name: "dialog-transition" }, n); + return () => e.target ? d(An, Z({ name: "dialog-transition" }, l, { css: !1 }), n) : d(An, { name: "dialog-transition" }, n); } }); -function uo(e) { +function Vo(e) { var n; const t = (n = e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : n.children; return t && [...t]; } -function co(e, t) { - const n = Yo(e), l = kl(t), [a, i] = getComputedStyle(t).transformOrigin.split(" ").map((S) => parseFloat(S)), [d, c] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); - let u = n.left + n.width / 2; - d === "left" || c === "left" ? u -= n.width / 2 : d !== "right" && c !== "right" || (u += n.width / 2); - let o = n.top + n.height / 2; - d === "top" || c === "top" ? o -= n.height / 2 : d !== "bottom" && c !== "bottom" || (o += n.height / 2); - const s = n.width / l.width, y = n.height / l.height, f = Math.max(1, s, y), g = s / f || 0, m = y / f || 0, h = l.width * l.height / (window.innerWidth * window.innerHeight), b = h > 0.12 ? Math.min(1.5, 10 * (h - 0.12) + 1) : 1; - return { x: u - (a + l.left), y: o - (i + l.top), sx: g, sy: m, speed: b }; -} -$e("fab-transition", "center center", "out-in"), $e("dialog-bottom-transition"), $e("dialog-top-transition"), $e("fade-transition"); -const Ti = $e("scale-transition"); -$e("scroll-x-transition"), $e("scroll-x-reverse-transition"), $e("scroll-y-transition"), $e("scroll-y-reverse-transition"), $e("slide-x-transition"), $e("slide-x-reverse-transition"); -const la = $e("slide-y-transition"); -$e("slide-y-reverse-transition"); -const zi = ea("expand-transition", na()), oa = ea("expand-x-transition", na("", !0)), Di = Y({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), ke = ee(!1)({ name: "VDefaultsProvider", props: Di(), setup(e, t) { +function Ao(e, t) { + const n = pa(e), l = jl(t), [o, a] = getComputedStyle(t).transformOrigin.split(" ").map((C) => parseFloat(C)), [c, u] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); + let s = n.left + n.width / 2; + c === "left" || u === "left" ? s -= n.width / 2 : c !== "right" && u !== "right" || (s += n.width / 2); + let i = n.top + n.height / 2; + c === "top" || u === "top" ? i -= n.height / 2 : c !== "bottom" && u !== "bottom" || (i += n.height / 2); + const p = n.width / l.width, y = n.height / l.height, f = Math.max(1, p, y), m = p / f || 0, h = y / f || 0, b = l.width * l.height / (window.innerWidth * window.innerHeight), g = b > 0.12 ? Math.min(1.5, 10 * (b - 0.12) + 1) : 1; + return { x: s - (o + l.left), y: i - (a + l.top), sx: m, sy: h, speed: g }; +} +Je("fab-transition", "center center", "out-in"), Je("dialog-bottom-transition"), Je("dialog-top-transition"), Je("fade-transition"); +const Ki = Je("scale-transition"); +Je("scroll-x-transition"), Je("scroll-x-reverse-transition"), Je("scroll-y-transition"), Je("scroll-y-reverse-transition"), Je("slide-x-transition"), Je("slide-x-reverse-transition"); +const Ia = Je("slide-y-transition"); +Je("slide-y-reverse-transition"); +const Ji = ha("expand-transition", ba()), Sa = ha("expand-x-transition", ba("", !0)), Zi = H({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), je = ne(!1)({ name: "VDefaultsProvider", props: Zi(), setup(e, t) { let { slots: n } = t; - const { defaults: l, disabled: a, reset: i, root: d, scoped: c } = Eo(e); - return Tn(l, { reset: i, root: d, scoped: c, disabled: a }), () => { - var u; - return (u = n.default) == null ? void 0 : u.call(n); + const { defaults: l, disabled: o, reset: a, root: c, scoped: u } = xn(e); + return et(l, { reset: a, root: c, scoped: u, disabled: o }), () => { + var s; + return (s = n.default) == null ? void 0 : s.call(n); }; -} }), hn = Y({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); -function bn(e) { - return { dimensionStyles: v(() => ({ height: le(e.height), maxHeight: le(e.maxHeight), maxWidth: le(e.maxWidth), minHeight: le(e.minHeight), minWidth: le(e.minWidth), width: le(e.width) })) }; +} }), Dn = H({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); +function Ln(e) { + return { dimensionStyles: v(() => ({ height: ae(e.height), maxHeight: ae(e.maxHeight), maxWidth: ae(e.maxWidth), minHeight: ae(e.minHeight), minWidth: ae(e.minWidth), width: ae(e.width) })) }; } -const aa = Y({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ue(), ...hn() }, "VResponsive"), po = ee()({ name: "VResponsive", props: aa(), setup(e, t) { +const Ba = H({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ye(), ...Dn() }, "VResponsive"), _o = ne()({ name: "VResponsive", props: Ba(), setup(e, t) { let { slots: n } = t; - const { aspectStyles: l } = function(i) { + const { aspectStyles: l } = function(a) { return { aspectStyles: v(() => { - const d = Number(i.aspectRatio); - return d ? { paddingBottom: String(1 / d * 100) + "%" } : void 0; + const c = Number(a.aspectRatio); + return c ? { paddingBottom: String(1 / c * 100) + "%" } : void 0; }) }; - }(e), { dimensionStyles: a } = bn(e); - return ae(() => { - var i; - return p("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [a.value, e.style] }, [p("div", { class: "v-responsive__sizer", style: l.value }, null), (i = n.additional) == null ? void 0 : i.call(n), n.default && p("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); + }(e), { dimensionStyles: o } = Ln(e); + return se(() => { + var a; + return d("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [o.value, e.style] }, [d("div", { class: "v-responsive__sizer", style: l.value }, null), (a = n.additional) == null ? void 0 : a.call(n), n.default && d("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); }), {}; -} }), rt = Y({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), tn = (e, t) => { +} }), Vt = H({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), In = (e, t) => { let { slots: n } = t; - const { transition: l, disabled: a, ...i } = e, { component: d = cn, ...c } = typeof l == "object" ? l : {}; - return Wt(d, Z(typeof l == "string" ? { name: a ? "" : l } : c, i, { disabled: a }), n); + const { transition: l, disabled: o, ...a } = e, { component: c = An, ...u } = typeof l == "object" ? l : {}; + return ol(c, Z(typeof l == "string" ? { name: o ? "" : l } : u, a, { disabled: o }), n); }; -function vo(e, t) { +function Oo(e, t) { var l; const n = (l = e._observe) == null ? void 0 : l[t.instance.$.uid]; n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]); } -const _l = { mounted: function(e, t) { - if (!Bl) +const Yl = { mounted: function(e, t) { + if (!Rl) return; - const n = t.modifiers || {}, l = t.value, { handler: a, options: i } = typeof l == "object" ? l : { handler: l, options: {} }, d = new IntersectionObserver(function() { + const n = t.modifiers || {}, l = t.value, { handler: o, options: a } = typeof l == "object" ? l : { handler: l, options: {} }, c = new IntersectionObserver(function() { var y; - let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], u = arguments.length > 1 ? arguments[1] : void 0; - const o = (y = e._observe) == null ? void 0 : y[t.instance.$.uid]; - if (!o) + let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], s = arguments.length > 1 ? arguments[1] : void 0; + const i = (y = e._observe) == null ? void 0 : y[t.instance.$.uid]; + if (!i) return; - const s = c.some((f) => f.isIntersecting); - !a || n.quiet && !o.init || n.once && !s && !o.init || a(s, c, u), s && n.once ? vo(e, t) : o.init = !0; - }, i); - e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: d }, d.observe(e); -}, unmounted: vo }, Li = Y({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...aa(), ...ue(), ...rt() }, "VImg"), ia = ee()({ name: "VImg", directives: { intersect: _l }, props: Li(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { + const p = u.some((f) => f.isIntersecting); + !o || n.quiet && !i.init || n.once && !p && !i.init || o(p, u, s), p && n.once ? Oo(e, t) : i.init = !0; + }, a); + e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: c }, c.observe(e); +}, unmounted: Oo }, Qi = H({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...Ba(), ...ye(), ...Vt() }, "VImg"), xa = ne()({ name: "VImg", directives: { intersect: Yl }, props: Qi(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { let { emit: n, slots: l } = t; - const a = Ce("VImg"), i = re(""), d = W(), c = re(e.eager ? "loading" : "idle"), u = re(), o = re(), s = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), y = v(() => s.value.aspect || u.value / o.value || 0); - function f(I) { - if ((!e.eager || !I) && (!Bl || I || e.eager)) { - if (c.value = "loading", s.value.lazySrc) { - const O = new Image(); - O.src = s.value.lazySrc, S(O, null); + const o = Le("VImg"), a = de(""), c = D(), u = de(e.eager ? "loading" : "idle"), s = de(), i = de(), p = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), y = v(() => p.value.aspect || s.value / i.value || 0); + function f(S) { + if ((!e.eager || !S) && (!Rl || S || e.eager)) { + if (u.value = "loading", p.value.lazySrc) { + const A = new Image(); + A.src = p.value.lazySrc, C(A, null); } - s.value.src && Ie(() => { - var O; - n("loadstart", ((O = d.value) == null ? void 0 : O.currentSrc) || s.value.src), setTimeout(() => { - var C; - if (!a.isUnmounted) - if ((C = d.value) != null && C.complete) { - if (d.value.naturalWidth || m(), c.value === "error") + p.value.src && Me(() => { + var A; + n("loadstart", ((A = c.value) == null ? void 0 : A.currentSrc) || p.value.src), setTimeout(() => { + var I; + if (!o.isUnmounted) + if ((I = c.value) != null && I.complete) { + if (c.value.naturalWidth || h(), u.value === "error") return; - y.value || S(d.value, null), c.value === "loading" && g(); + y.value || C(c.value, null), u.value === "loading" && m(); } else - y.value || S(d.value), h(); + y.value || C(c.value), b(); }); }); } } - function g() { - var I; - a.isUnmounted || (h(), S(d.value), c.value = "loaded", n("load", ((I = d.value) == null ? void 0 : I.currentSrc) || s.value.src)); - } function m() { - var I; - a.isUnmounted || (c.value = "error", n("error", ((I = d.value) == null ? void 0 : I.currentSrc) || s.value.src)); + var S; + o.isUnmounted || (b(), C(c.value), u.value = "loaded", n("load", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); } function h() { - const I = d.value; - I && (i.value = I.currentSrc || I.src); + var S; + o.isUnmounted || (u.value = "error", n("error", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); + } + function b() { + const S = c.value; + S && (a.value = S.currentSrc || S.src); } K(() => e.src, () => { - f(c.value !== "idle"); - }), K(y, (I, O) => { - !I && O && d.value && S(d.value); - }), Do(() => f()); - let b = -1; - function S(I) { - let O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; - const C = () => { - if (clearTimeout(b), a.isUnmounted) + f(u.value !== "idle"); + }), K(y, (S, A) => { + !S && A && c.value && C(c.value); + }), na(() => f()); + let g = -1; + function C(S) { + let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; + const I = () => { + if (clearTimeout(g), o.isUnmounted) return; - const { naturalHeight: F, naturalWidth: V } = I; - F || V ? (u.value = V, o.value = F) : I.complete || c.value !== "loading" || O == null ? (I.currentSrc.endsWith(".svg") || I.currentSrc.startsWith("data:image/svg+xml")) && (u.value = 1, o.value = 1) : b = window.setTimeout(C, O); + const { naturalHeight: F, naturalWidth: _ } = S; + F || _ ? (s.value = _, i.value = F) : S.complete || u.value !== "loading" || A == null ? (S.currentSrc.endsWith(".svg") || S.currentSrc.startsWith("data:image/svg+xml")) && (s.value = 1, i.value = 1) : g = window.setTimeout(I, A); }; - C(); + I(); } - Je(() => { - clearTimeout(b); + mn(() => { + clearTimeout(g); }); - const A = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), $ = () => { - var C; - if (!s.value.src || c.value === "idle") + const w = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), O = () => { + var I; + if (!p.value.src || u.value === "idle") return null; - const I = p("img", { class: ["v-img__img", A.value], style: { objectPosition: e.position }, src: s.value.src, srcset: s.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: d, onLoad: g, onError: m }, null), O = (C = l.sources) == null ? void 0 : C.call(l); - return p(tn, { transition: e.transition, appear: !0 }, { default: () => [Fe(O ? p("picture", { class: "v-img__picture" }, [O, I]) : I, [[Vn, c.value === "loaded"]])] }); - }, q = () => p(tn, { transition: e.transition }, { default: () => [s.value.lazySrc && c.value !== "loaded" && p("img", { class: ["v-img__img", "v-img__img--preload", A.value], style: { objectPosition: e.position }, src: s.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), D = () => l.placeholder ? p(tn, { transition: e.transition, appear: !0 }, { default: () => [(c.value === "loading" || c.value === "error" && !l.error) && p("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, z = () => l.error ? p(tn, { transition: e.transition, appear: !0 }, { default: () => [c.value === "error" && p("div", { class: "v-img__error" }, [l.error()])] }) : null, j = () => e.gradient ? p("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, T = re(!1); + const S = d("img", { class: ["v-img__img", w.value], style: { objectPosition: e.position }, src: p.value.src, srcset: p.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: c, onLoad: m, onError: h }, null), A = (I = l.sources) == null ? void 0 : I.call(l); + return d(In, { transition: e.transition, appear: !0 }, { default: () => [Ue(A ? d("picture", { class: "v-img__picture" }, [A, S]) : S, [[Hn, u.value === "loaded"]])] }); + }, G = () => d(In, { transition: e.transition }, { default: () => [p.value.lazySrc && u.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", w.value], style: { objectPosition: e.position }, src: p.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), T = () => l.placeholder ? d(In, { transition: e.transition, appear: !0 }, { default: () => [(u.value === "loading" || u.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, $ = () => l.error ? d(In, { transition: e.transition, appear: !0 }, { default: () => [u.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, R = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, P = de(!1); { - const I = K(y, (O) => { - O && (requestAnimationFrame(() => { + const S = K(y, (A) => { + A && (requestAnimationFrame(() => { requestAnimationFrame(() => { - T.value = !0; + P.value = !0; }); - }), I()); + }), S()); }); } - return ae(() => { - const I = po.filterProps(e); - return Fe(p(po, Z({ class: ["v-img", { "v-img--booting": !T.value }, e.class], style: [{ width: le(e.width === "auto" ? u.value : e.width) }, e.style] }, I, { aspectRatio: y.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => p(fe, null, [p($, null, null), p(q, null, null), p(j, null, null), p(D, null, null), p(z, null, null)]), default: l.default }), [[Ze("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); - }), { currentSrc: i, image: d, state: c, naturalWidth: u, naturalHeight: o }; -} }), zn = Y({ border: [Boolean, Number, String] }, "border"); -function Dn(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); + return se(() => { + const S = _o.filterProps(e); + return Ue(d(_o, Z({ class: ["v-img", { "v-img--booting": !P.value }, e.class], style: [{ width: ae(e.width === "auto" ? s.value : e.width) }, e.style] }, S, { aspectRatio: y.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(Fe, null, [d(O, null, null), d(G, null, null), d(R, null, null), d(T, null, null), d($, null, null)]), default: l.default }), [[gn("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); + }), { currentSrc: a, image: c, state: u, naturalWidth: s, naturalHeight: i }; +} }), nt = H({ border: [Boolean, Number, String] }, "border"); +function tt(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); return { borderClasses: v(() => { - const n = pn(e) ? e.value : e.border, l = []; + const n = On(e) ? e.value : e.border, l = []; if (n === !0 || n === "") l.push(`${t}--border`); else if (typeof n == "string" || n === 0) - for (const a of String(n).split(" ")) - l.push(`border-${a}`); + for (const o of String(n).split(" ")) + l.push(`border-${o}`); return l; }) }; } -function Ol(e) { - return xl(() => { +function Xl(e) { + return Nl(() => { const t = [], n = {}; if (e.value.background) - if (Jt(e.value.background)) { - if (n.backgroundColor = e.value.background, !e.value.text && Jt(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { - const a = Yn(e.value.background); - if (a.a == null || a.a === 1) { - const i = function(d) { - const c = Math.abs(ao(Yn(0), Yn(d))); - return Math.abs(ao(Yn(16777215), Yn(d))) > Math.min(c, 50) ? "#fff" : "#000"; - }(a); - n.color = i, n.caretColor = i; + if (ml(e.value.background)) { + if (n.backgroundColor = e.value.background, !e.value.text && ml(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { + const o = ft(e.value.background); + if (o.a == null || o.a === 1) { + const a = function(c) { + const u = Math.abs(xo(ft(0), ft(c))); + return Math.abs(xo(ft(16777215), ft(c))) > Math.min(u, 50) ? "#fff" : "#000"; + }(o); + n.color = a, n.caretColor = a; } } } else t.push(`bg-${e.value.background}`); var l; - return e.value.text && (Jt(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), { colorClasses: t, colorStyles: n }; + return e.value.text && (ml(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), { colorClasses: t, colorStyles: n }; }); } -function Ke(e, t) { - const n = v(() => ({ text: pn(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: a } = Ol(n); - return { textColorClasses: l, textColorStyles: a }; +function yn(e, t) { + const n = v(() => ({ text: On(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = Xl(n); + return { textColorClasses: l, textColorStyles: o }; } -function wn(e, t) { - const n = v(() => ({ background: pn(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: a } = Ol(n); - return { backgroundColorClasses: l, backgroundColorStyles: a }; +function Un(e, t) { + const n = v(() => ({ background: On(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = Xl(n); + return { backgroundColorClasses: l, backgroundColorStyles: o }; } -const Ln = Y({ elevation: { type: [Number, String], validator(e) { +const lt = H({ elevation: { type: [Number, String], validator(e) { const t = parseInt(e); return !isNaN(t) && t >= 0 && t <= 24; } } }, "elevation"); -function Wn(e) { +function ot(e) { return { elevationClasses: v(() => { - const t = pn(e) ? e.value : e.elevation, n = []; + const t = On(e) ? e.value : e.elevation, n = []; return t == null || n.push(`elevation-${t}`), n; }) }; } -const Qe = Y({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); -function en(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); +const hn = H({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); +function bn(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); return { roundedClasses: v(() => { - const n = pn(e) ? e.value : e.rounded, l = []; + const n = On(e) ? e.value : e.rounded, l = []; if (n === !0 || n === "") l.push(`${t}--rounded`); else if (typeof n == "string" || n === 0) - for (const a of String(n).split(" ")) - l.push(`rounded-${a}`); + for (const o of String(n).split(" ")) + l.push(`rounded-${o}`); return l; }) }; } -const Wi = [null, "default", "comfortable", "compact"], qe = Y({ density: { type: String, default: "default", validator: (e) => Wi.includes(e) } }, "density"); -function nn(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); +const er = [null, "default", "comfortable", "compact"], cn = H({ density: { type: String, default: "default", validator: (e) => er.includes(e) } }, "density"); +function Cn(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); return { densityClasses: v(() => `${t}--density-${e.density}`) }; } -const Mi = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; -function st(e, t) { - return p(fe, null, [e && p("span", { key: "overlay", class: `${t}__overlay` }, null), p("span", { key: "underlay", class: `${t}__underlay` }, null)]); +const nr = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; +function At(e, t) { + return d(Fe, null, [e && d("span", { key: "overlay", class: `${t}__overlay` }, null), d("span", { key: "underlay", class: `${t}__underlay` }, null)]); } -const an = Y({ color: String, variant: { type: String, default: "elevated", validator: (e) => Mi.includes(e) } }, "variant"); -function ut(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); +const kn = H({ color: String, variant: { type: String, default: "elevated", validator: (e) => nr.includes(e) } }, "variant"); +function _t(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); const n = v(() => { - const { variant: i } = r(e); - return `${t}--variant-${i}`; - }), { colorClasses: l, colorStyles: a } = Ol(v(() => { - const { variant: i, color: d } = r(e); - return { [["elevated", "flat"].includes(i) ? "background" : "text"]: d }; + const { variant: a } = r(e); + return `${t}--variant-${a}`; + }), { colorClasses: l, colorStyles: o } = Xl(v(() => { + const { variant: a, color: c } = r(e); + return { [["elevated", "flat"].includes(a) ? "background" : "text"]: c }; })); - return { colorClasses: l, colorStyles: a, variantClasses: n }; + return { colorClasses: l, colorStyles: o, variantClasses: n }; } -const ra = Y({ divided: Boolean, ...zn(), ...ue(), ...qe(), ...Ln(), ...Qe(), ...ze(), ...Be(), ...an() }, "VBtnGroup"), fo = ee()({ name: "VBtnGroup", props: ra(), setup(e, t) { +const ka = H({ divided: Boolean, ...nt(), ...ye(), ...cn(), ...lt(), ...hn(), ...en(), ...Ne(), ...kn() }, "VBtnGroup"), Po = ne()({ name: "VBtnGroup", props: ka(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = Oe(e), { densityClasses: a } = nn(e), { borderClasses: i } = Dn(e), { elevationClasses: d } = Wn(e), { roundedClasses: c } = en(e); - Tn({ VBtn: { height: "auto", color: te(e, "color"), density: te(e, "density"), flat: !0, variant: te(e, "variant") } }), ae(() => p(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, i.value, a.value, d.value, c.value, e.class], style: e.style }, n)); -} }), sa = Y({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), ua = Y({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); -function ca(e, t) { + const { themeClasses: l } = Xe(e), { densityClasses: o } = Cn(e), { borderClasses: a } = tt(e), { elevationClasses: c } = ot(e), { roundedClasses: u } = bn(e); + et({ VBtn: { height: "auto", color: oe(e, "color"), density: oe(e, "density"), flat: !0, variant: oe(e, "variant") } }), se(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, a.value, o.value, c.value, u.value, e.class], style: e.style }, n)); +} }), wa = H({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), Fa = H({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); +function Va(e, t) { let n = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; - const l = Ce("useGroupItem"); + const l = Le("useGroupItem"); if (!l) throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function"); - const a = We(); - De(Symbol.for(`${t.description}:id`), a); - const i = se(t, null); - if (!i) { + const o = tn(); + nn(Symbol.for(`${t.description}:id`), o); + const a = me(t, null); + if (!a) { if (!n) - return i; + return a; throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`); } - const d = te(e, "value"), c = v(() => !(!i.disabled.value && !e.disabled)); - i.register({ id: a, value: d, disabled: c }, l), Je(() => { - i.unregister(a); + const c = oe(e, "value"), u = v(() => !(!a.disabled.value && !e.disabled)); + a.register({ id: o, value: c, disabled: u }, l), mn(() => { + a.unregister(o); }); - const u = v(() => i.isSelected(a)), o = v(() => u.value && [i.selectedClass.value, e.selectedClass]); - return K(u, (s) => { - l.emit("group:selected", { value: s }); - }), { id: a, isSelected: u, toggle: () => i.select(a, !u.value), select: (s) => i.select(a, s), selectedClass: o, value: d, disabled: c, group: i }; + const s = v(() => a.isSelected(o)), i = v(() => s.value && [a.selectedClass.value, e.selectedClass]); + return K(s, (p) => { + l.emit("group:selected", { value: p }); + }), { id: o, isSelected: s, toggle: () => a.select(o, !s.value), select: (p) => a.select(o, p), selectedClass: i, value: c, disabled: u, group: a }; } -function da(e, t) { +function Aa(e, t) { let n = !1; - const l = Me([]), a = ge(e, "modelValue", [], (o) => o == null ? [] : yo(l, He(o)), (o) => { - const s = function(y, f) { - const g = []; - return f.forEach((m) => { - const h = y.findIndex((b) => b.id === m); - if (~h) { - const b = y[h]; - g.push(b.value != null ? b.value : h); + const l = ln([]), o = $e(e, "modelValue", [], (i) => i == null ? [] : $o(l, pn(i)), (i) => { + const p = function(y, f) { + const m = []; + return f.forEach((h) => { + const b = y.findIndex((g) => g.id === h); + if (~b) { + const g = y[b]; + m.push(g.value != null ? g.value : b); } - }), g; - }(l, o); - return e.multiple ? s : s[0]; - }), i = Ce("useGroup"); - function d() { - const o = l.find((s) => !s.disabled); - o && e.mandatory === "force" && !a.value.length && (a.value = [o.id]); - } - function c(o) { - if (e.multiple && Jn('This method is not supported when using "multiple" prop'), a.value.length) { - const s = a.value[0], y = l.findIndex((m) => m.id === s); - let f = (y + o) % l.length, g = l[f]; - for (; g.disabled && f !== y; ) - f = (f + o) % l.length, g = l[f]; - if (g.disabled) + }), m; + }(l, i); + return e.multiple ? p : p[0]; + }), a = Le("useGroup"); + function c() { + const i = l.find((p) => !p.disabled); + i && e.mandatory === "force" && !o.value.length && (o.value = [i.id]); + } + function u(i) { + if (e.multiple && gt('This method is not supported when using "multiple" prop'), o.value.length) { + const p = o.value[0], y = l.findIndex((h) => h.id === p); + let f = (y + i) % l.length, m = l[f]; + for (; m.disabled && f !== y; ) + f = (f + i) % l.length, m = l[f]; + if (m.disabled) return; - a.value = [l[f].id]; + o.value = [l[f].id]; } else { - const s = l.find((y) => !y.disabled); - s && (a.value = [s.id]); + const p = l.find((y) => !y.disabled); + p && (o.value = [p.id]); } } - An(() => { - d(); - }), Je(() => { + Yn(() => { + c(); + }), mn(() => { n = !0; }); - const u = { register: function(o, s) { - const y = o, f = St(Symbol.for(`${t.description}:id`), i == null ? void 0 : i.vnode).indexOf(s); + const s = { register: function(i, p) { + const y = i, f = Rt(Symbol.for(`${t.description}:id`), a == null ? void 0 : a.vnode).indexOf(p); f > -1 ? l.splice(f, 0, y) : l.push(y); - }, unregister: function(o) { + }, unregister: function(i) { if (n) return; - d(); - const s = l.findIndex((y) => y.id === o); - l.splice(s, 1); - }, selected: a, select: function(o, s) { - const y = l.find((f) => f.id === o); - if (!s || !(y != null && y.disabled)) + c(); + const p = l.findIndex((y) => y.id === i); + l.splice(p, 1); + }, selected: o, select: function(i, p) { + const y = l.find((f) => f.id === i); + if (!p || !(y != null && y.disabled)) if (e.multiple) { - const f = a.value.slice(), g = f.findIndex((h) => h === o), m = ~g; - if (s = s ?? !m, m && e.mandatory && f.length <= 1 || !m && e.max != null && f.length + 1 > e.max) + const f = o.value.slice(), m = f.findIndex((b) => b === i), h = ~m; + if (p = p ?? !h, h && e.mandatory && f.length <= 1 || !h && e.max != null && f.length + 1 > e.max) return; - g < 0 && s ? f.push(o) : g >= 0 && !s && f.splice(g, 1), a.value = f; + m < 0 && p ? f.push(i) : m >= 0 && !p && f.splice(m, 1), o.value = f; } else { - const f = a.value.includes(o); + const f = o.value.includes(i); if (e.mandatory && f) return; - a.value = s ?? !f ? [o] : []; + o.value = p ?? !f ? [i] : []; } - }, disabled: te(e, "disabled"), prev: () => c(l.length - 1), next: () => c(1), isSelected: (o) => a.value.includes(o), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (o) => function(s, y) { - const f = yo(s, [y]); - return f.length ? s.findIndex((g) => g.id === f[0]) : -1; - }(l, o) }; - return De(t, u), u; + }, disabled: oe(e, "disabled"), prev: () => u(l.length - 1), next: () => u(1), isSelected: (i) => o.value.includes(i), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (i) => function(p, y) { + const f = $o(p, [y]); + return f.length ? p.findIndex((m) => m.id === f[0]) : -1; + }(l, i) }; + return nn(t, s), s; } -function yo(e, t) { +function $o(e, t) { const n = []; return t.forEach((l) => { - const a = e.find((d) => En(l, d.value)), i = e[l]; - (a == null ? void 0 : a.value) != null ? n.push(a.id) : i != null && n.push(i.id); + const o = e.find((c) => Qn(l, c.value)), a = e[l]; + (o == null ? void 0 : o.value) != null ? n.push(o.id) : a != null && n.push(a.id); }), n; } -const pa = Symbol.for("vuetify:v-btn-toggle"), Ri = Y({ ...ra(), ...sa() }, "VBtnToggle"); -ee()({ name: "VBtnToggle", props: Ri(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const _a = Symbol.for("vuetify:v-btn-toggle"), tr = H({ ...ka(), ...wa() }, "VBtnToggle"); +ne()({ name: "VBtnToggle", props: tr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { isSelected: l, next: a, prev: i, select: d, selected: c } = da(e, pa); - return ae(() => { - const u = fo.filterProps(e); - return p(fo, Z({ class: ["v-btn-toggle", e.class] }, u, { style: e.style }), { default: () => { - var o; - return [(o = n.default) == null ? void 0 : o.call(n, { isSelected: l, next: a, prev: i, select: d, selected: c })]; + const { isSelected: l, next: o, prev: a, select: c, selected: u } = Aa(e, _a); + return se(() => { + const s = Po.filterProps(e); + return d(Po, Z({ class: ["v-btn-toggle", e.class] }, s, { style: e.style }), { default: () => { + var i; + return [(i = n.default) == null ? void 0 : i.call(n, { isSelected: l, next: o, prev: a, select: c, selected: u })]; } }); - }), { next: a, prev: i, select: d }; + }), { next: o, prev: a, select: c }; } }); -const de = [String, Function, Object, Array], Ni = Symbol.for("vuetify:icons"), $t = Y({ icon: { type: de }, tag: { type: String, required: !0 } }, "icon"), mo = ee()({ name: "VComponentIcon", props: $t(), setup(e, t) { +const Ce = [String, Function, Object, Array], lr = Symbol.for("vuetify:icons"), Zt = H({ icon: { type: Ce }, tag: { type: String, required: !0 } }, "icon"), Eo = ne()({ name: "VComponentIcon", props: Zt(), setup(e, t) { let { slots: n } = t; return () => { const l = e.icon; - return p(e.tag, null, { default: () => { - var a; - return [e.icon ? p(l, null, null) : (a = n.default) == null ? void 0 : a.call(n)]; + return d(e.tag, null, { default: () => { + var o; + return [e.icon ? d(l, null, null) : (o = n.default) == null ? void 0 : o.call(n)]; } }); }; -} }), ji = Qn({ name: "VSvgIcon", inheritAttrs: !1, props: $t(), setup(e, t) { +} }), or = bt({ name: "VSvgIcon", inheritAttrs: !1, props: Zt(), setup(e, t) { let { attrs: n } = t; - return () => p(e.tag, Z(n, { style: null }), { default: () => [p("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? p("path", { d: l[0], "fill-opacity": l[1] }, null) : p("path", { d: l }, null)) : p("path", { d: e.icon }, null)])] }); + return () => d(e.tag, Z(n, { style: null }), { default: () => [d("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? d("path", { d: l[0], "fill-opacity": l[1] }, null) : d("path", { d: l }, null)) : d("path", { d: e.icon }, null)])] }); } }); -Qn({ name: "VLigatureIcon", props: $t(), setup: (e) => () => p(e.tag, null, { default: () => [e.icon] }) }), Qn({ name: "VClassIcon", props: $t(), setup: (e) => () => p(e.tag, { class: e.icon }, null) }); -const Gi = ["x-small", "small", "default", "large", "x-large"], ct = Y({ size: { type: [String, Number], default: "default" } }, "size"); -function dt(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); - return xl(() => { +bt({ name: "VLigatureIcon", props: Zt(), setup: (e) => () => d(e.tag, null, { default: () => [e.icon] }) }), bt({ name: "VClassIcon", props: Zt(), setup: (e) => () => d(e.tag, { class: e.icon }, null) }); +const ar = ["x-small", "small", "default", "large", "x-large"], Ot = H({ size: { type: [String, Number], default: "default" } }, "size"); +function Pt(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + return Nl(() => { let n, l; - return Ft(Gi, e.size) ? n = `${t}--size-${e.size}` : e.size && (l = { width: le(e.size), height: le(e.size) }), { sizeClasses: n, sizeStyles: l }; + return qt(ar, e.size) ? n = `${t}--size-${e.size}` : e.size && (l = { width: ae(e.size), height: ae(e.size) }), { sizeClasses: n, sizeStyles: l }; }); } -const qi = Y({ color: String, start: Boolean, end: Boolean, icon: de, ...ue(), ...ct(), ...ze({ tag: "i" }), ...Be() }, "VIcon"), pe = ee()({ name: "VIcon", props: qi(), setup(e, t) { +const ir = H({ color: String, start: Boolean, end: Boolean, icon: Ce, ...ye(), ...Ot(), ...en({ tag: "i" }), ...Ne() }, "VIcon"), Se = ne()({ name: "VIcon", props: ir(), setup(e, t) { let { attrs: n, slots: l } = t; - const a = W(), { themeClasses: i } = Oe(e), { iconData: d } = ((s) => { - const y = se(Ni); + const o = D(), { themeClasses: a } = Xe(e), { iconData: c } = ((p) => { + const y = me(lr); if (!y) throw new Error("Missing Vuetify Icons provide!"); return { iconData: v(() => { - var b; - const f = r(s); + var g; + const f = r(p); if (!f) - return { component: mo }; - let g = f; - if (typeof g == "string" && (g = g.trim(), g.startsWith("$") && (g = (b = y.aliases) == null ? void 0 : b[g.slice(1)])), !g) + return { component: Eo }; + let m = f; + if (typeof m == "string" && (m = m.trim(), m.startsWith("$") && (m = (g = y.aliases) == null ? void 0 : g[m.slice(1)])), !m) throw new Error(`Could not find aliased icon "${f}"`); - if (Array.isArray(g)) - return { component: ji, icon: g }; - if (typeof g != "string") - return { component: mo, icon: g }; - const m = Object.keys(y.sets).find((S) => typeof g == "string" && g.startsWith(`${S}:`)), h = m ? g.slice(m.length + 1) : g; - return { component: y.sets[m ?? y.defaultSet].component, icon: h }; + if (Array.isArray(m)) + return { component: or, icon: m }; + if (typeof m != "string") + return { component: Eo, icon: m }; + const h = Object.keys(y.sets).find((C) => typeof m == "string" && m.startsWith(`${C}:`)), b = h ? m.slice(h.length + 1) : m; + return { component: y.sets[h ?? y.defaultSet].component, icon: b }; }) }; - })(v(() => a.value || e.icon)), { sizeClasses: c } = dt(e), { textColorClasses: u, textColorStyles: o } = Ke(te(e, "color")); - return ae(() => { + })(v(() => o.value || e.icon)), { sizeClasses: u } = Pt(e), { textColorClasses: s, textColorStyles: i } = yn(oe(e, "color")); + return se(() => { var y, f; - const s = (y = l.default) == null ? void 0 : y.call(l); - return s && (a.value = (f = jo(s).filter((g) => g.type === di && g.children && typeof g.children == "string")[0]) == null ? void 0 : f.children), p(d.value.component, { tag: e.tag, icon: d.value.icon, class: ["v-icon", "notranslate", i.value, c.value, u.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [c.value ? void 0 : { fontSize: le(e.size), height: le(e.size), width: le(e.size) }, o.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [s] }); + const p = (y = l.default) == null ? void 0 : y.call(l); + return p && (o.value = (f = ra(p).filter((m) => m.type === wi && m.children && typeof m.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", a.value, u.value, s.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [u.value ? void 0 : { fontSize: ae(e.size), height: ae(e.size), width: ae(e.size) }, i.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [p] }); }), {}; } }); -function va(e, t) { - const n = W(), l = re(!1); - if (Bl) { - const a = new IntersectionObserver((i) => { - e == null || e(i, a), l.value = !!i.find((d) => d.isIntersecting); +function Oa(e, t) { + const n = D(), l = de(!1); + if (Rl) { + const o = new IntersectionObserver((a) => { + e == null || e(a, o), l.value = !!a.find((c) => c.isIntersecting); }, t); - Je(() => { - a.disconnect(); - }), K(n, (i, d) => { - d && (a.unobserve(d), l.value = !1), i && a.observe(i); + mn(() => { + o.disconnect(); + }), K(n, (a, c) => { + c && (o.unobserve(c), l.value = !1), a && o.observe(a); }, { flush: "post" }); } return { intersectionRef: n, isIntersecting: l }; } -const Ui = Y({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...ue(), ...ct(), ...ze({ tag: "div" }), ...Be() }, "VProgressCircular"), fa = ee()({ name: "VProgressCircular", props: Ui(), setup(e, t) { +const rr = H({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...ye(), ...Ot(), ...en({ tag: "div" }), ...Ne() }, "VProgressCircular"), Pa = ne()({ name: "VProgressCircular", props: rr(), setup(e, t) { let { slots: n } = t; - const l = 2 * Math.PI * 20, a = W(), { themeClasses: i } = Oe(e), { sizeClasses: d, sizeStyles: c } = dt(e), { textColorClasses: u, textColorStyles: o } = Ke(te(e, "color")), { textColorClasses: s, textColorStyles: y } = Ke(te(e, "bgColor")), { intersectionRef: f, isIntersecting: g } = va(), { resizeRef: m, contentRect: h } = Vl(), b = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), S = v(() => Number(e.width)), A = v(() => c.value ? Number(e.size) : h.value ? h.value.width : Math.max(S.value, 32)), $ = v(() => 20 / (1 - S.value / A.value) * 2), q = v(() => S.value / A.value * $.value), D = v(() => le((100 - b.value) / 100 * l)); - return Ne(() => { - f.value = a.value, m.value = a.value; - }), ae(() => p(e.tag, { ref: a, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": g.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, i.value, d.value, u.value, e.class], style: [c.value, o.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : b.value }, { default: () => [p("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${$.value} ${$.value}` }, [p("circle", { class: ["v-progress-circular__underlay", s.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": q.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), p("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": q.value, "stroke-dasharray": l, "stroke-dashoffset": D.value }, null)]), n.default && p("div", { class: "v-progress-circular__content" }, [n.default({ value: b.value })])] })), {}; -} }), go = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Pl = Y({ location: String }, "location"); -function $l(e) { + const l = 2 * Math.PI * 20, o = D(), { themeClasses: a } = Xe(e), { sizeClasses: c, sizeStyles: u } = Pt(e), { textColorClasses: s, textColorStyles: i } = yn(oe(e, "color")), { textColorClasses: p, textColorStyles: y } = yn(oe(e, "bgColor")), { intersectionRef: f, isIntersecting: m } = Oa(), { resizeRef: h, contentRect: b } = ql(), g = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), C = v(() => Number(e.width)), w = v(() => u.value ? Number(e.size) : b.value ? b.value.width : Math.max(C.value, 32)), O = v(() => 20 / (1 - C.value / w.value) * 2), G = v(() => C.value / w.value * O.value), T = v(() => ae((100 - g.value) / 100 * l)); + return rn(() => { + f.value = o.value, h.value = o.value; + }), se(() => d(e.tag, { ref: o, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": m.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, a.value, c.value, s.value, e.class], style: [u.value, i.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : g.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${O.value} ${O.value}` }, [d("circle", { class: ["v-progress-circular__underlay", p.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": G.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": G.value, "stroke-dasharray": l, "stroke-dashoffset": T.value }, null)]), n.default && d("div", { class: "v-progress-circular__content" }, [n.default({ value: g.value })])] })), {}; +} }), To = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Kl = H({ location: String }, "location"); +function Jl(e) { let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = arguments.length > 2 ? arguments[2] : void 0; - const { isRtl: l } = it(); + const { isRtl: l } = Ft(); return { locationStyles: v(() => { if (!e.location) return {}; - const { side: i, align: d } = il(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); - function c(o) { - return n ? n(o) : 0; + const { side: a, align: c } = kl(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); + function u(i) { + return n ? n(i) : 0; } - const u = {}; - return i !== "center" && (t ? u[go[i]] = `calc(100% - ${c(i)}px)` : u[i] = 0), d !== "center" ? t ? u[go[d]] = `calc(100% - ${c(d)}px)` : u[d] = 0 : (i === "center" ? u.top = u.left = "50%" : u[{ top: "left", bottom: "left", left: "top", right: "top" }[i]] = "50%", u.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[i]), u; + const s = {}; + return a !== "center" && (t ? s[To[a]] = `calc(100% - ${u(a)}px)` : s[a] = 0), c !== "center" ? t ? s[To[c]] = `calc(100% - ${u(c)}px)` : s[c] = 0 : (a === "center" ? s.top = s.left = "50%" : s[{ top: "left", bottom: "left", left: "top", right: "top" }[a]] = "50%", s.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[a]), s; }) }; } -const Hi = Y({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...ue(), ...Pl({ location: "top" }), ...Qe(), ...ze(), ...Be() }, "VProgressLinear"), Yi = ee()({ name: "VProgressLinear", props: Hi(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const sr = H({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...ye(), ...Kl({ location: "top" }), ...hn(), ...en(), ...Ne() }, "VProgressLinear"), ur = ne()({ name: "VProgressLinear", props: sr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = ge(e, "modelValue"), { isRtl: a, rtlClasses: i } = it(), { themeClasses: d } = Oe(e), { locationStyles: c } = $l(e), { textColorClasses: u, textColorStyles: o } = Ke(e, "color"), { backgroundColorClasses: s, backgroundColorStyles: y } = wn(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: g } = wn(e, "color"), { roundedClasses: m } = en(e), { intersectionRef: h, isIntersecting: b } = va(), S = v(() => parseInt(e.max, 10)), A = v(() => parseInt(e.height, 10)), $ = v(() => parseFloat(e.bufferValue) / S.value * 100), q = v(() => parseFloat(l.value) / S.value * 100), D = v(() => a.value !== e.reverse), z = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), j = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); - function T(I) { - if (!h.value) + const l = $e(e, "modelValue"), { isRtl: o, rtlClasses: a } = Ft(), { themeClasses: c } = Xe(e), { locationStyles: u } = Jl(e), { textColorClasses: s, textColorStyles: i } = yn(e, "color"), { backgroundColorClasses: p, backgroundColorStyles: y } = Un(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: m } = Un(e, "color"), { roundedClasses: h } = bn(e), { intersectionRef: b, isIntersecting: g } = Oa(), C = v(() => parseInt(e.max, 10)), w = v(() => parseInt(e.height, 10)), O = v(() => parseFloat(e.bufferValue) / C.value * 100), G = v(() => parseFloat(l.value) / C.value * 100), T = v(() => o.value !== e.reverse), $ = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), R = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); + function P(S) { + if (!b.value) return; - const { left: O, right: C, width: F } = h.value.getBoundingClientRect(), V = D.value ? F - I.clientX + (C - F) : I.clientX - O; - l.value = Math.round(V / F * S.value); + const { left: A, right: I, width: F } = b.value.getBoundingClientRect(), _ = T.value ? F - S.clientX + (I - F) : S.clientX - A; + l.value = Math.round(_ / F * C.value); } - return ae(() => p(e.tag, { ref: h, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && b.value, "v-progress-linear--reverse": D.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, m.value, d.value, i.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? le(A.value) : 0, "--v-progress-linear-height": le(A.value), ...c.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : q.value, onClick: e.clickable && T }, { default: () => [e.stream && p("div", { key: "stream", class: ["v-progress-linear__stream", u.value], style: { ...o.value, [D.value ? "left" : "right"]: le(-A.value), borderTop: `${le(A.value / 2)} dotted`, opacity: j.value, top: `calc(50% - ${le(A.value / 4)})`, width: le(100 - $.value, "%"), "--v-progress-linear-stream-to": le(A.value * (D.value ? 1 : -1)) } }, null), p("div", { class: ["v-progress-linear__background", s.value], style: [y.value, { opacity: j.value, width: le(e.stream ? $.value : 100, "%") }] }, null), p(cn, { name: z.value }, { default: () => [e.indeterminate ? p("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((I) => p("div", { key: I, class: ["v-progress-linear__indeterminate", I, f.value], style: g.value }, null))]) : p("div", { class: ["v-progress-linear__determinate", f.value], style: [g.value, { width: le(q.value, "%") }] }, null)] }), n.default && p("div", { class: "v-progress-linear__content" }, [n.default({ value: q.value, buffer: $.value })])] })), {}; -} }), El = Y({ loading: [Boolean, String] }, "loader"); -function Rt(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); + return se(() => d(e.tag, { ref: b, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && g.value, "v-progress-linear--reverse": T.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, h.value, c.value, a.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? ae(w.value) : 0, "--v-progress-linear-height": ae(w.value), ...u.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : G.value, onClick: e.clickable && P }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", s.value], style: { ...i.value, [T.value ? "left" : "right"]: ae(-w.value), borderTop: `${ae(w.value / 2)} dotted`, opacity: R.value, top: `calc(50% - ${ae(w.value / 4)})`, width: ae(100 - O.value, "%"), "--v-progress-linear-stream-to": ae(w.value * (T.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", p.value], style: [y.value, { opacity: R.value, width: ae(e.stream ? O.value : 100, "%") }] }, null), d(An, { name: $.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((S) => d("div", { key: S, class: ["v-progress-linear__indeterminate", S, f.value], style: m.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [m.value, { width: ae(G.value, "%") }] }, null)] }), n.default && d("div", { class: "v-progress-linear__content" }, [n.default({ value: G.value, buffer: O.value })])] })), {}; +} }), Zl = H({ loading: [Boolean, String] }, "loader"); +function al(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); return { loaderClasses: v(() => ({ [`${t}--loading`]: e.loading })) }; } -function Tl(e, t) { +function Ql(e, t) { var l; let { slots: n } = t; - return p("div", { class: `${e.name}__loader` }, [((l = n.default) == null ? void 0 : l.call(n, { color: e.color, isActive: e.active })) || p(Yi, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); + return d("div", { class: `${e.name}__loader` }, [((l = n.default) == null ? void 0 : l.call(n, { color: e.color, isActive: e.active })) || d(ur, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); } -const Xi = ["static", "relative", "fixed", "absolute", "sticky"], ya = Y({ position: { type: String, validator: (e) => Xi.includes(e) } }, "position"); -function ma(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); +const cr = ["static", "relative", "fixed", "absolute", "sticky"], $a = H({ position: { type: String, validator: (e) => cr.includes(e) } }, "position"); +function Ea(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); return { positionClasses: v(() => e.position ? `${t}--${e.position}` : void 0) }; } -function Nt(e, t) { - const n = pi("RouterLink"), l = v(() => !(!e.href && !e.to)), a = v(() => (l == null ? void 0 : l.value) || Hl(t, "click") || Hl(e, "click")); +function il(e, t) { + const n = Fi("RouterLink"), l = v(() => !(!e.href && !e.to)), o = v(() => (l == null ? void 0 : l.value) || po(t, "click") || po(e, "click")); if (typeof n == "string") - return { isLink: l, isClickable: a, href: te(e, "href") }; - const i = e.to ? n.useLink(e) : void 0, d = function() { - const c = Ce("useRoute"); + return { isLink: l, isClickable: o, href: oe(e, "href") }; + const a = e.to ? n.useLink(e) : void 0, c = function() { + const u = Le("useRoute"); return v(() => { - var u; - return (u = c == null ? void 0 : c.proxy) == null ? void 0 : u.$route; + var s; + return (s = u == null ? void 0 : u.proxy) == null ? void 0 : s.$route; }); }(); - return { isLink: l, isClickable: a, route: i == null ? void 0 : i.route, navigate: i == null ? void 0 : i.navigate, isActive: i && v(() => { - var c, u, o; - return e.exact ? d.value ? ((c = i.isExactActive) == null ? void 0 : c.value) && En(i.route.value.query, d.value.query) : (u = i.isExactActive) == null ? void 0 : u.value : (o = i.isActive) == null ? void 0 : o.value; - }), href: v(() => e.to ? i == null ? void 0 : i.route.value.href : e.href) }; -} -const jt = Y({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); -let Zt = !1; -const rl = Symbol("rippleStop"), Ki = 80; -function ho(e, t) { + return { isLink: l, isClickable: o, route: a == null ? void 0 : a.route, navigate: a == null ? void 0 : a.navigate, isActive: a && v(() => { + var u, s, i; + return e.exact ? c.value ? ((u = a.isExactActive) == null ? void 0 : u.value) && Qn(a.route.value.query, c.value.query) : (s = a.isExactActive) == null ? void 0 : s.value : (i = a.isActive) == null ? void 0 : i.value; + }), href: v(() => e.to ? a == null ? void 0 : a.route.value.href : e.href) }; +} +const rl = H({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); +let gl = !1; +const wl = Symbol("rippleStop"), dr = 80; +function zo(e, t) { e.style.transform = t, e.style.webkitTransform = t; } -function sl(e) { +function Fl(e) { return e.constructor.name === "TouchEvent"; } -function ga(e) { +function Ta(e) { return e.constructor.name === "KeyboardEvent"; } -const Et = { show(e, t) { - var g; +const Qt = { show(e, t) { + var m; let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - if (!((g = t == null ? void 0 : t._ripple) != null && g.enabled)) + if (!((m = t == null ? void 0 : t._ripple) != null && m.enabled)) return; - const l = document.createElement("span"), a = document.createElement("span"); - l.appendChild(a), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); - const { radius: i, scale: d, x: c, y: u, centerX: o, centerY: s } = function(m, h) { - var j; - let b = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, S = 0, A = 0; - if (!ga(m)) { - const T = h.getBoundingClientRect(), I = sl(m) ? m.touches[m.touches.length - 1] : m; - S = I.clientX - T.left, A = I.clientY - T.top; + const l = document.createElement("span"), o = document.createElement("span"); + l.appendChild(o), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); + const { radius: a, scale: c, x: u, y: s, centerX: i, centerY: p } = function(h, b) { + var R; + let g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, C = 0, w = 0; + if (!Ta(h)) { + const P = b.getBoundingClientRect(), S = Fl(h) ? h.touches[h.touches.length - 1] : h; + C = S.clientX - P.left, w = S.clientY - P.top; } - let $ = 0, q = 0.3; - (j = h._ripple) != null && j.circle ? (q = 0.15, $ = h.clientWidth / 2, $ = b.center ? $ : $ + Math.sqrt((S - $) ** 2 + (A - $) ** 2) / 4) : $ = Math.sqrt(h.clientWidth ** 2 + h.clientHeight ** 2) / 2; - const D = (h.clientWidth - 2 * $) / 2 + "px", z = (h.clientHeight - 2 * $) / 2 + "px"; - return { radius: $, scale: q, x: b.center ? D : S - $ + "px", y: b.center ? z : A - $ + "px", centerX: D, centerY: z }; - }(e, t, n), y = 2 * i + "px"; - a.className = "v-ripple__animation", a.style.width = y, a.style.height = y, t.appendChild(l); + let O = 0, G = 0.3; + (R = b._ripple) != null && R.circle ? (G = 0.15, O = b.clientWidth / 2, O = g.center ? O : O + Math.sqrt((C - O) ** 2 + (w - O) ** 2) / 4) : O = Math.sqrt(b.clientWidth ** 2 + b.clientHeight ** 2) / 2; + const T = (b.clientWidth - 2 * O) / 2 + "px", $ = (b.clientHeight - 2 * O) / 2 + "px"; + return { radius: O, scale: G, x: g.center ? T : C - O + "px", y: g.center ? $ : w - O + "px", centerX: T, centerY: $ }; + }(e, t, n), y = 2 * a + "px"; + o.className = "v-ripple__animation", o.style.width = y, o.style.height = y, t.appendChild(l); const f = window.getComputedStyle(t); - f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), a.classList.add("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--visible"), ho(a, `translate(${c}, ${u}) scale3d(${d},${d},${d})`), a.dataset.activated = String(performance.now()), setTimeout(() => { - a.classList.remove("v-ripple__animation--enter"), a.classList.add("v-ripple__animation--in"), ho(a, `translate(${o}, ${s}) scale3d(1,1,1)`); + f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), o.classList.add("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--visible"), zo(o, `translate(${u}, ${s}) scale3d(${c},${c},${c})`), o.dataset.activated = String(performance.now()), setTimeout(() => { + o.classList.remove("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--in"), zo(o, `translate(${i}, ${p}) scale3d(1,1,1)`); }, 0); }, hide(e) { - var i; - if (!((i = e == null ? void 0 : e._ripple) != null && i.enabled)) + var a; + if (!((a = e == null ? void 0 : e._ripple) != null && a.enabled)) return; const t = e.getElementsByClassName("v-ripple__animation"); if (t.length === 0) @@ -1198,1246 +1198,1246 @@ const Et = { show(e, t) { if (n.dataset.isHiding) return; n.dataset.isHiding = "true"; - const l = performance.now() - Number(n.dataset.activated), a = Math.max(250 - l, 0); + const l = performance.now() - Number(n.dataset.activated), o = Math.max(250 - l, 0); setTimeout(() => { n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => { - var d; - e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((d = n.parentNode) == null ? void 0 : d.parentNode) === e && e.removeChild(n.parentNode); + var c; + e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((c = n.parentNode) == null ? void 0 : c.parentNode) === e && e.removeChild(n.parentNode); }, 300); - }, a); + }, o); } }; -function ha(e) { +function za(e) { return e === void 0 || !!e; } -function et(e) { +function Ct(e) { const t = {}, n = e.currentTarget; - if (n != null && n._ripple && !n._ripple.touched && !e[rl]) { - if (e[rl] = !0, sl(e)) + if (n != null && n._ripple && !n._ripple.touched && !e[wl]) { + if (e[wl] = !0, Fl(e)) n._ripple.touched = !0, n._ripple.isTouch = !0; else if (n._ripple.isTouch) return; - if (t.center = n._ripple.centered || ga(e), n._ripple.class && (t.class = n._ripple.class), sl(e)) { + if (t.center = n._ripple.centered || Ta(e), n._ripple.class && (t.class = n._ripple.class), Fl(e)) { if (n._ripple.showTimerCommit) return; n._ripple.showTimerCommit = () => { - Et.show(e, n, t); + Qt.show(e, n, t); }, n._ripple.showTimer = window.setTimeout(() => { var l; (l = n == null ? void 0 : n._ripple) != null && l.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null); - }, Ki); + }, dr); } else - Et.show(e, n, t); + Qt.show(e, n, t); } } -function bo(e) { - e[rl] = !0; +function Do(e) { + e[wl] = !0; } -function Ee(e) { +function Ze(e) { const t = e.currentTarget; if (t != null && t._ripple) { if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) return t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, void (t._ripple.showTimer = window.setTimeout(() => { - Ee(e); + Ze(e); })); window.setTimeout(() => { t._ripple && (t._ripple.touched = !1); - }), Et.hide(t); + }), Qt.hide(t); } } -function ba(e) { +function Da(e) { const t = e.currentTarget; t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer)); } -let nt = !1; -function Ca(e) { - nt || e.keyCode !== jl.enter && e.keyCode !== jl.space || (nt = !0, et(e)); +let It = !1; +function La(e) { + It || e.keyCode !== ro.enter && e.keyCode !== ro.space || (It = !0, Ct(e)); } -function Ia(e) { - nt = !1, Ee(e); +function Wa(e) { + It = !1, Ze(e); } -function Sa(e) { - nt && (nt = !1, Ee(e)); +function Ma(e) { + It && (It = !1, Ze(e)); } -function Co(e, t, n) { - const { value: l, modifiers: a } = t, i = ha(l); - if (i || Et.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = i, e._ripple.centered = a.center, e._ripple.circle = a.circle, ll(l) && l.class && (e._ripple.class = l.class), i && !n) { - if (a.stop) - return e.addEventListener("touchstart", bo, { passive: !0 }), void e.addEventListener("mousedown", bo); - e.addEventListener("touchstart", et, { passive: !0 }), e.addEventListener("touchend", Ee, { passive: !0 }), e.addEventListener("touchmove", ba, { passive: !0 }), e.addEventListener("touchcancel", Ee), e.addEventListener("mousedown", et), e.addEventListener("mouseup", Ee), e.addEventListener("mouseleave", Ee), e.addEventListener("keydown", Ca), e.addEventListener("keyup", Ia), e.addEventListener("blur", Sa), e.addEventListener("dragstart", Ee, { passive: !0 }); +function Lo(e, t, n) { + const { value: l, modifiers: o } = t, a = za(l); + if (a || Qt.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = o.center, e._ripple.circle = o.circle, Sl(l) && l.class && (e._ripple.class = l.class), a && !n) { + if (o.stop) + return e.addEventListener("touchstart", Do, { passive: !0 }), void e.addEventListener("mousedown", Do); + e.addEventListener("touchstart", Ct, { passive: !0 }), e.addEventListener("touchend", Ze, { passive: !0 }), e.addEventListener("touchmove", Da, { passive: !0 }), e.addEventListener("touchcancel", Ze), e.addEventListener("mousedown", Ct), e.addEventListener("mouseup", Ze), e.addEventListener("mouseleave", Ze), e.addEventListener("keydown", La), e.addEventListener("keyup", Wa), e.addEventListener("blur", Ma), e.addEventListener("dragstart", Ze, { passive: !0 }); } else - !i && n && Ba(e); + !a && n && Ra(e); } -function Ba(e) { - e.removeEventListener("mousedown", et), e.removeEventListener("touchstart", et), e.removeEventListener("touchend", Ee), e.removeEventListener("touchmove", ba), e.removeEventListener("touchcancel", Ee), e.removeEventListener("mouseup", Ee), e.removeEventListener("mouseleave", Ee), e.removeEventListener("keydown", Ca), e.removeEventListener("keyup", Ia), e.removeEventListener("dragstart", Ee), e.removeEventListener("blur", Sa); +function Ra(e) { + e.removeEventListener("mousedown", Ct), e.removeEventListener("touchstart", Ct), e.removeEventListener("touchend", Ze), e.removeEventListener("touchmove", Da), e.removeEventListener("touchcancel", Ze), e.removeEventListener("mouseup", Ze), e.removeEventListener("mouseleave", Ze), e.removeEventListener("keydown", La), e.removeEventListener("keyup", Wa), e.removeEventListener("dragstart", Ze), e.removeEventListener("blur", Ma); } -const pt = { mounted: function(e, t) { - Co(e, t, !1); +const $t = { mounted: function(e, t) { + Lo(e, t, !1); }, unmounted: function(e) { - delete e._ripple, Ba(e); + delete e._ripple, Ra(e); }, updated: function(e, t) { - t.value !== t.oldValue && Co(e, t, ha(t.oldValue)); -} }, Ji = Y({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: pa }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: de, appendIcon: de, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...zn(), ...ue(), ...qe(), ...hn(), ...Ln(), ...ua(), ...El(), ...Pl(), ...ya(), ...Qe(), ...jt(), ...ct(), ...ze({ tag: "button" }), ...Be(), ...an({ variant: "elevated" }) }, "VBtn"), ul = ee()({ name: "VBtn", directives: { Ripple: pt }, props: Ji(), emits: { "group:selected": (e) => !0 }, setup(e, t) { + t.value !== t.oldValue && Lo(e, t, za(t.oldValue)); +} }, pr = H({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: _a }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: Ce, appendIcon: Ce, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...Fa(), ...Zl(), ...Kl(), ...$a(), ...hn(), ...rl(), ...Ot(), ...en({ tag: "button" }), ...Ne(), ...kn({ variant: "elevated" }) }, "VBtn"), Wo = ne()({ name: "VBtn", directives: { Ripple: $t }, props: pr(), emits: { "group:selected": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: a } = Oe(e), { borderClasses: i } = Dn(e), { colorClasses: d, colorStyles: c, variantClasses: u } = ut(e), { densityClasses: o } = nn(e), { dimensionStyles: s } = bn(e), { elevationClasses: y } = Wn(e), { loaderClasses: f } = Rt(e), { locationStyles: g } = $l(e), { positionClasses: m } = ma(e), { roundedClasses: h } = en(e), { sizeClasses: b, sizeStyles: S } = dt(e), A = ca(e, e.symbol, !1), $ = Nt(e, n), q = v(() => { - var I; - return e.active !== void 0 ? e.active : $.isLink.value ? (I = $.isActive) == null ? void 0 : I.value : A == null ? void 0 : A.isSelected.value; - }), D = v(() => (A == null ? void 0 : A.disabled.value) || e.disabled), z = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), j = v(() => { + const { themeClasses: o } = Xe(e), { borderClasses: a } = tt(e), { colorClasses: c, colorStyles: u, variantClasses: s } = _t(e), { densityClasses: i } = Cn(e), { dimensionStyles: p } = Ln(e), { elevationClasses: y } = ot(e), { loaderClasses: f } = al(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Ea(e), { roundedClasses: b } = bn(e), { sizeClasses: g, sizeStyles: C } = Pt(e), w = Va(e, e.symbol, !1), O = il(e, n), G = v(() => { + var S; + return e.active !== void 0 ? e.active : O.isLink.value ? (S = O.isActive) == null ? void 0 : S.value : w == null ? void 0 : w.isSelected.value; + }), T = v(() => (w == null ? void 0 : w.disabled.value) || e.disabled), $ = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), R = v(() => { if (e.value !== void 0 && typeof e.value != "symbol") return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value; }); - function T(I) { - var O; - D.value || $.isLink.value && (I.metaKey || I.ctrlKey || I.shiftKey || I.button !== 0 || n.target === "_blank") || ((O = $.navigate) == null || O.call($, I), A == null || A.toggle()); + function P(S) { + var A; + T.value || O.isLink.value && (S.metaKey || S.ctrlKey || S.shiftKey || S.button !== 0 || n.target === "_blank") || ((A = O.navigate) == null || A.call(O, S), w == null || w.toggle()); } - return function(I, O) { + return function(S, A) { K(() => { - var C; - return (C = I.isActive) == null ? void 0 : C.value; - }, (C) => { - I.isLink.value && C && O && Ie(() => { - O(!0); + var I; + return (I = S.isActive) == null ? void 0 : I.value; + }, (I) => { + S.isLink.value && I && A && Me(() => { + A(!0); }); }, { immediate: !0 }); - }($, A == null ? void 0 : A.select), ae(() => { - var N, H; - const I = $.isLink.value ? "a" : e.tag, O = !(!e.prependIcon && !l.prepend), C = !(!e.appendIcon && !l.append), F = !(!e.icon || e.icon === !0), V = (A == null ? void 0 : A.isSelected.value) && (!$.isLink.value || ((N = $.isActive) == null ? void 0 : N.value)) || !A || ((H = $.isActive) == null ? void 0 : H.value); - return Fe(p(I, { type: I === "a" ? void 0 : "button", class: ["v-btn", A == null ? void 0 : A.selectedClass.value, { "v-btn--active": q.value, "v-btn--block": e.block, "v-btn--disabled": D.value, "v-btn--elevated": z.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, a.value, i.value, V ? d.value : void 0, o.value, y.value, f.value, m.value, h.value, b.value, u.value, e.class], style: [V ? c.value : void 0, s.value, g.value, S.value, e.style], disabled: D.value || void 0, href: $.href.value, onClick: T, value: j.value }, { default: () => { - var E; - return [st(!0, "v-btn"), !e.icon && O && p("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? p(ke, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : p(pe, { key: "prepend-icon", icon: e.prependIcon }, null)]), p("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && F ? p(pe, { key: "content-icon", icon: e.icon }, null) : p(ke, { key: "content-defaults", disabled: !F, defaults: { VIcon: { icon: e.icon } } }, { default: () => { + }(O, w == null ? void 0 : w.select), se(() => { + var M, N; + const S = O.isLink.value ? "a" : e.tag, A = !(!e.prependIcon && !l.prepend), I = !(!e.appendIcon && !l.append), F = !(!e.icon || e.icon === !0), _ = (w == null ? void 0 : w.isSelected.value) && (!O.isLink.value || ((M = O.isActive) == null ? void 0 : M.value)) || !w || ((N = O.isActive) == null ? void 0 : N.value); + return Ue(d(S, { type: S === "a" ? void 0 : "button", class: ["v-btn", w == null ? void 0 : w.selectedClass.value, { "v-btn--active": G.value, "v-btn--block": e.block, "v-btn--disabled": T.value, "v-btn--elevated": $.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, o.value, a.value, _ ? c.value : void 0, i.value, y.value, f.value, h.value, b.value, g.value, s.value, e.class], style: [_ ? u.value : void 0, p.value, m.value, C.value, e.style], disabled: T.value || void 0, href: O.href.value, onClick: P, value: R.value }, { default: () => { + var k; + return [At(!0, "v-btn"), !e.icon && A && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(Se, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && F ? d(Se, { key: "content-icon", icon: e.icon }, null) : d(je, { key: "content-defaults", disabled: !F, defaults: { VIcon: { icon: e.icon } } }, { default: () => { var B; return [((B = l.default) == null ? void 0 : B.call(l)) ?? e.text]; - } })]), !e.icon && C && p("span", { key: "append", class: "v-btn__append" }, [l.append ? p(ke, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : p(pe, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && p("span", { key: "loader", class: "v-btn__loader" }, [((E = l.loader) == null ? void 0 : E.call(l)) ?? p(fa, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; - } }), [[Ze("ripple"), !D.value && e.ripple, null]]); + } })]), !e.icon && I && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(Se, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((k = l.loader) == null ? void 0 : k.call(l)) ?? d(Pa, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; + } }), [[gn("ripple"), !T.value && e.ripple, null]]); }), {}; -} }), Zi = Y({ text: String, clickable: Boolean, ...ue(), ...Be() }, "VLabel"), xa = ee()({ name: "VLabel", props: Zi(), setup(e, t) { +} }), vr = H({ text: String, clickable: Boolean, ...ye(), ...Ne() }, "VLabel"), Na = ne()({ name: "VLabel", props: vr(), setup(e, t) { let { slots: n } = t; - return ae(() => { + return se(() => { var l; - return p("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = n.default) == null ? void 0 : l.call(n)]); + return d("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), ka = Symbol.for("vuetify:selection-control-group"), wa = Y({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: de, trueIcon: de, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: En }, ...ue(), ...qe(), ...Be() }, "SelectionControlGroup"), Qi = Y({ ...wa({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); -ee()({ name: "VSelectionControlGroup", props: Qi(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +} }), ja = Symbol.for("vuetify:selection-control-group"), Ga = H({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: Ce, trueIcon: Ce, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: Qn }, ...ye(), ...cn(), ...Ne() }, "SelectionControlGroup"), fr = H({ ...Ga({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); +ne()({ name: "VSelectionControlGroup", props: fr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = ge(e, "modelValue"), a = We(), i = v(() => e.id || `v-selection-control-group-${a}`), d = v(() => e.name || i.value), c = /* @__PURE__ */ new Set(); - return De(ka, { modelValue: l, forceUpdate: () => { - c.forEach((u) => u()); - }, onForceUpdate: (u) => { - c.add(u), Ae(() => { - c.delete(u); + const l = $e(e, "modelValue"), o = tn(), a = v(() => e.id || `v-selection-control-group-${o}`), c = v(() => e.name || a.value), u = /* @__PURE__ */ new Set(); + return nn(ja, { modelValue: l, forceUpdate: () => { + u.forEach((s) => s()); + }, onForceUpdate: (s) => { + u.add(s), He(() => { + u.delete(s); }); - } }), Tn({ [e.defaultsTarget]: { color: te(e, "color"), disabled: te(e, "disabled"), density: te(e, "density"), error: te(e, "error"), inline: te(e, "inline"), modelValue: l, multiple: v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: d, falseIcon: te(e, "falseIcon"), trueIcon: te(e, "trueIcon"), readonly: te(e, "readonly"), ripple: te(e, "ripple"), type: te(e, "type"), valueComparator: te(e, "valueComparator") } }), ae(() => { - var u; - return p("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(u = n.default) == null ? void 0 : u.call(n)]); + } }), et({ [e.defaultsTarget]: { color: oe(e, "color"), disabled: oe(e, "disabled"), density: oe(e, "density"), error: oe(e, "error"), inline: oe(e, "inline"), modelValue: l, multiple: v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: c, falseIcon: oe(e, "falseIcon"), trueIcon: oe(e, "trueIcon"), readonly: oe(e, "readonly"), ripple: oe(e, "ripple"), type: oe(e, "type"), valueComparator: oe(e, "valueComparator") } }), se(() => { + var s; + return d("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(s = n.default) == null ? void 0 : s.call(n)]); }), {}; } }); -const zl = Y({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ue(), ...wa() }, "VSelectionControl"), Tt = ee()({ name: "VSelectionControl", directives: { Ripple: pt }, inheritAttrs: !1, props: zl(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const eo = H({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ye(), ...Ga() }, "VSelectionControl"), el = ne()({ name: "VSelectionControl", directives: { Ripple: $t }, inheritAttrs: !1, props: eo(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const { group: a, densityClasses: i, icon: d, model: c, textColorClasses: u, textColorStyles: o, backgroundColorClasses: s, backgroundColorStyles: y, trueValue: f } = function(D) { - const z = se(ka, void 0), { densityClasses: j } = nn(D), T = ge(D, "modelValue"), I = v(() => D.trueValue !== void 0 ? D.trueValue : D.value === void 0 || D.value), O = v(() => D.falseValue !== void 0 && D.falseValue), C = v(() => !!D.multiple || D.multiple == null && Array.isArray(T.value)), F = v({ get() { - const w = z ? z.modelValue.value : T.value; - return C.value ? He(w).some((M) => D.valueComparator(M, I.value)) : D.valueComparator(w, I.value); - }, set(w) { - if (D.readonly) + const { group: o, densityClasses: a, icon: c, model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, trueValue: f } = function(T) { + const $ = me(ja, void 0), { densityClasses: R } = Cn(T), P = $e(T, "modelValue"), S = v(() => T.trueValue !== void 0 ? T.trueValue : T.value === void 0 || T.value), A = v(() => T.falseValue !== void 0 && T.falseValue), I = v(() => !!T.multiple || T.multiple == null && Array.isArray(P.value)), F = v({ get() { + const x = $ ? $.modelValue.value : P.value; + return I.value ? pn(x).some((V) => T.valueComparator(V, S.value)) : T.valueComparator(x, S.value); + }, set(x) { + if (T.readonly) return; - const M = w ? I.value : O.value; - let R = M; - C.value && (R = w ? [...He(T.value), M] : He(T.value).filter((U) => !D.valueComparator(U, I.value))), z ? z.modelValue.value = R : T.value = R; - } }), { textColorClasses: V, textColorStyles: N } = Ke(v(() => { - if (!D.error && !D.disabled) - return F.value ? D.color : D.baseColor; - })), { backgroundColorClasses: H, backgroundColorStyles: E } = wn(v(() => !F.value || D.error || D.disabled ? void 0 : D.color)), B = v(() => F.value ? D.trueIcon : D.falseIcon); - return { group: z, densityClasses: j, trueValue: I, falseValue: O, model: F, textColorClasses: V, textColorStyles: N, backgroundColorClasses: H, backgroundColorStyles: E, icon: B }; - }(e), g = We(), m = v(() => e.id || `input-${g}`), h = re(!1), b = re(!1), S = W(); - function A(D) { - h.value = !0, At(D.target, ":focus-visible") !== !1 && (b.value = !0); - } - function $() { - h.value = !1, b.value = !1; - } - function q(D) { - e.readonly && a && Ie(() => a.forceUpdate()), c.value = D.target.checked; - } - return a == null || a.onForceUpdate(() => { - S.value && (S.value.checked = c.value); - }), ae(() => { - var I, O; - const D = l.label ? l.label({ label: e.label, props: { for: m.value } }) : e.label, [z, j] = ot(n), T = p("input", Z({ ref: S, checked: c.value, disabled: !(!e.readonly && !e.disabled), id: m.value, onBlur: $, onFocus: A, onInput: q, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? c.value : void 0 }, j), null); - return p("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": c.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": h.value, "v-selection-control--focus-visible": b.value, "v-selection-control--inline": e.inline }, i.value, e.class] }, z, { style: e.style }), [p("div", { class: ["v-selection-control__wrapper", u.value], style: o.value }, [(I = l.default) == null ? void 0 : I.call(l, { backgroundColorClasses: s, backgroundColorStyles: y }), Fe(p("div", { class: ["v-selection-control__input"] }, [((O = l.input) == null ? void 0 : O.call(l, { model: c, textColorClasses: u, textColorStyles: o, backgroundColorClasses: s, backgroundColorStyles: y, inputNode: T, icon: d.value, props: { onFocus: A, onBlur: $, id: m.value } })) ?? p(fe, null, [d.value && p(pe, { key: "icon", icon: d.value }, null), T])]), [[Ze("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), D && p(xa, { for: m.value, clickable: !0, onClick: (C) => C.stopPropagation() }, { default: () => [D] })]); - }), { isFocused: h, input: S }; -} }), Fa = Y({ indeterminate: Boolean, indeterminateIcon: { type: de, default: "$checkboxIndeterminate" }, ...zl({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), cl = ee()({ name: "VCheckboxBtn", props: Fa(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { + const V = x ? S.value : A.value; + let j = V; + I.value && (j = x ? [...pn(P.value), V] : pn(P.value).filter((L) => !T.valueComparator(L, S.value))), $ ? $.modelValue.value = j : P.value = j; + } }), { textColorClasses: _, textColorStyles: M } = yn(v(() => { + if (!T.error && !T.disabled) + return F.value ? T.color : T.baseColor; + })), { backgroundColorClasses: N, backgroundColorStyles: k } = Un(v(() => !F.value || T.error || T.disabled ? void 0 : T.color)), B = v(() => F.value ? T.trueIcon : T.falseIcon); + return { group: $, densityClasses: R, trueValue: S, falseValue: A, model: F, textColorClasses: _, textColorStyles: M, backgroundColorClasses: N, backgroundColorStyles: k, icon: B }; + }(e), m = tn(), h = v(() => e.id || `input-${m}`), b = de(!1), g = de(!1), C = D(); + function w(T) { + b.value = !0, Yt(T.target, ":focus-visible") !== !1 && (g.value = !0); + } + function O() { + b.value = !1, g.value = !1; + } + function G(T) { + e.readonly && o && Me(() => o.forceUpdate()), u.value = T.target.checked; + } + return o == null || o.onForceUpdate(() => { + C.value && (C.value.checked = u.value); + }), se(() => { + var S, A; + const T = l.label ? l.label({ label: e.label, props: { for: h.value } }) : e.label, [$, R] = kt(n), P = d("input", Z({ ref: C, checked: u.value, disabled: !(!e.readonly && !e.disabled), id: h.value, onBlur: O, onFocus: w, onInput: G, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? u.value : void 0 }, R), null); + return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": u.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": b.value, "v-selection-control--focus-visible": g.value, "v-selection-control--inline": e.inline }, a.value, e.class] }, $, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", s.value], style: i.value }, [(S = l.default) == null ? void 0 : S.call(l, { backgroundColorClasses: p, backgroundColorStyles: y }), Ue(d("div", { class: ["v-selection-control__input"] }, [((A = l.input) == null ? void 0 : A.call(l, { model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, inputNode: P, icon: c.value, props: { onFocus: w, onBlur: O, id: h.value } })) ?? d(Fe, null, [c.value && d(Se, { key: "icon", icon: c.value }, null), P])]), [[gn("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), T && d(Na, { for: h.value, clickable: !0, onClick: (I) => I.stopPropagation() }, { default: () => [T] })]); + }), { isFocused: b, input: C }; +} }), Ua = H({ indeterminate: Boolean, indeterminateIcon: { type: Ce, default: "$checkboxIndeterminate" }, ...eo({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), Vl = ne()({ name: "VCheckboxBtn", props: Ua(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = ge(e, "indeterminate"), a = ge(e, "modelValue"); - function i(u) { + const l = $e(e, "indeterminate"), o = $e(e, "modelValue"); + function a(s) { l.value && (l.value = !1); } - const d = v(() => l.value ? e.indeterminateIcon : e.falseIcon), c = v(() => l.value ? e.indeterminateIcon : e.trueIcon); - return ae(() => { - const u = gn(Tt.filterProps(e), ["modelValue"]); - return p(Tt, Z(u, { modelValue: a.value, "onUpdate:modelValue": [(o) => a.value = o, i], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: d.value, trueIcon: c.value, "aria-checked": l.value ? "mixed" : void 0 }), n); + const c = v(() => l.value ? e.indeterminateIcon : e.falseIcon), u = v(() => l.value ? e.indeterminateIcon : e.trueIcon); + return se(() => { + const s = zn(el.filterProps(e), ["modelValue"]); + return d(el, Z(s, { modelValue: o.value, "onUpdate:modelValue": [(i) => o.value = i, a], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: u.value, "aria-checked": l.value ? "mixed" : void 0 }), n); }), {}; } }); -function Va(e) { - const { t } = Al(); +function qa(e) { + const { t } = Hl(); return { InputIcon: function(n) { let { name: l } = n; - const a = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], i = e[`onClick:${l}`], d = i && a ? t(`$vuetify.input.${a}`, e.label ?? "") : void 0; - return p(pe, { icon: e[`${l}Icon`], "aria-label": d, onClick: i }, null); + const o = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], a = e[`onClick:${l}`], c = a && o ? t(`$vuetify.input.${o}`, e.label ?? "") : void 0; + return d(Se, { icon: e[`${l}Icon`], "aria-label": c, onClick: a }, null); } }; } -const er = Y({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ue(), ...rt({ transition: { component: la, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), nr = ee()({ name: "VMessages", props: er(), setup(e, t) { +const yr = H({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ye(), ...Vt({ transition: { component: Ia, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), mr = ne()({ name: "VMessages", props: yr(), setup(e, t) { let { slots: n } = t; - const l = v(() => He(e.messages)), { textColorClasses: a, textColorStyles: i } = Ke(v(() => e.color)); - return ae(() => p(tn, { transition: e.transition, tag: "div", class: ["v-messages", a.value, e.class], style: [i.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((d, c) => p("div", { class: "v-messages__message", key: `${c}-${l.value}` }, [n.message ? n.message({ message: d }) : d]))] })), {}; -} }), Aa = Y({ focused: Boolean, "onUpdate:focused": Re() }, "focus"); -function vt(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); - const n = ge(e, "focused"); + const l = v(() => pn(e.messages)), { textColorClasses: o, textColorStyles: a } = yn(v(() => e.color)); + return se(() => d(In, { transition: e.transition, tag: "div", class: ["v-messages", o.value, e.class], style: [a.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((c, u) => d("div", { class: "v-messages__message", key: `${u}-${l.value}` }, [n.message ? n.message({ message: c }) : c]))] })), {}; +} }), Ha = H({ focused: Boolean, "onUpdate:focused": an() }, "focus"); +function Et(e) { + let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + const n = $e(e, "focused"); return { focusClasses: v(() => ({ [`${t}--focused`]: n.value })), isFocused: n, focus: function() { n.value = !0; }, blur: function() { n.value = !1; } }; } -const tr = Symbol.for("vuetify:form"); -function _a() { - return se(tr, null); -} -const lr = Y({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...Aa() }, "validation"), ft = Y({ id: String, appendIcon: de, centerAffix: { type: Boolean, default: !0 }, prependIcon: de, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": Re(), "onClick:append": Re(), ...ue(), ...qe(), ...lr() }, "VInput"), on = ee()({ name: "VInput", props: { ...ft() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l, emit: a } = t; - const { densityClasses: i } = nn(e), { rtlClasses: d } = it(), { InputIcon: c } = Va(e), u = We(), o = v(() => e.id || `input-${u}`), s = v(() => `${o.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: g, isReadonly: m, isPristine: h, isValid: b, isValidating: S, reset: A, resetValidation: $, validate: q, validationClasses: D } = function(T) { - let I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(), O = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : We(); - const C = ge(T, "modelValue"), F = v(() => T.validationValue === void 0 ? C.value : T.validationValue), V = _a(), N = W([]), H = re(!0), E = v(() => !(!He(C.value === "" ? null : C.value).length && !He(F.value === "" ? null : F.value).length)), B = v(() => !!(T.disabled ?? (V == null ? void 0 : V.isDisabled.value))), w = v(() => !!(T.readonly ?? (V == null ? void 0 : V.isReadonly.value))), M = v(() => { - var X; - return (X = T.errorMessages) != null && X.length ? He(T.errorMessages).concat(N.value).slice(0, Math.max(0, +T.maxErrors)) : N.value; - }), R = v(() => { - let X = (T.validateOn ?? (V == null ? void 0 : V.validateOn.value)) || "input"; - X === "lazy" && (X = "input lazy"); - const Q = new Set((X == null ? void 0 : X.split(" ")) ?? []); - return { blur: Q.has("blur") || Q.has("input"), input: Q.has("input"), submit: Q.has("submit"), lazy: Q.has("lazy") }; - }), U = v(() => { - var X; - return !T.error && !((X = T.errorMessages) != null && X.length) && (!T.rules.length || (H.value ? !N.value.length && !R.value.lazy || null : !N.value.length)); - }), P = re(!1), G = v(() => ({ [`${I}--error`]: U.value === !1, [`${I}--dirty`]: E.value, [`${I}--disabled`]: B.value, [`${I}--readonly`]: w.value })), _ = v(() => T.name ?? r(O)); - function x() { - C.value = null, Ie(k); +const gr = Symbol.for("vuetify:form"); +function Ya() { + return me(gr, null); +} +const hr = H({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...Ha() }, "validation"), Tt = H({ id: String, appendIcon: Ce, centerAffix: { type: Boolean, default: !0 }, prependIcon: Ce, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": an(), "onClick:append": an(), ...ye(), ...cn(), ...hr() }, "VInput"), Bn = ne()({ name: "VInput", props: { ...Tt() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l, emit: o } = t; + const { densityClasses: a } = Cn(e), { rtlClasses: c } = Ft(), { InputIcon: u } = qa(e), s = tn(), i = v(() => e.id || `input-${s}`), p = v(() => `${i.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: C, reset: w, resetValidation: O, validate: G, validationClasses: T } = function(P) { + let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(), A = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : tn(); + const I = $e(P, "modelValue"), F = v(() => P.validationValue === void 0 ? I.value : P.validationValue), _ = Ya(), M = D([]), N = de(!0), k = v(() => !(!pn(I.value === "" ? null : I.value).length && !pn(F.value === "" ? null : F.value).length)), B = v(() => !!(P.disabled ?? (_ == null ? void 0 : _.isDisabled.value))), x = v(() => !!(P.readonly ?? (_ == null ? void 0 : _.isReadonly.value))), V = v(() => { + var Y; + return (Y = P.errorMessages) != null && Y.length ? pn(P.errorMessages).concat(M.value).slice(0, Math.max(0, +P.maxErrors)) : M.value; + }), j = v(() => { + let Y = (P.validateOn ?? (_ == null ? void 0 : _.validateOn.value)) || "input"; + Y === "lazy" && (Y = "input lazy"); + const ee = new Set((Y == null ? void 0 : Y.split(" ")) ?? []); + return { blur: ee.has("blur") || ee.has("input"), input: ee.has("input"), submit: ee.has("submit"), lazy: ee.has("lazy") }; + }), L = v(() => { + var Y; + return !P.error && !((Y = P.errorMessages) != null && Y.length) && (!P.rules.length || (N.value ? !M.value.length && !j.value.lazy || null : !M.value.length)); + }), z = de(!1), Q = v(() => ({ [`${S}--error`]: L.value === !1, [`${S}--dirty`]: k.value, [`${S}--disabled`]: B.value, [`${S}--readonly`]: x.value })), E = v(() => P.name ?? r(A)); + function U() { + I.value = null, Me(W); } - function k() { - H.value = !0, R.value.lazy ? N.value = [] : L(!0); + function W() { + N.value = !0, j.value.lazy ? M.value = [] : q(!0); } - async function L() { - let X = arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; - const Q = []; - P.value = !0; - for (const ye of T.rules) { - if (Q.length >= +(T.maxErrors ?? 1)) + async function q() { + let Y = arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; + const ee = []; + z.value = !0; + for (const pe of P.rules) { + if (ee.length >= +(P.maxErrors ?? 1)) break; - const Ve = typeof ye == "function" ? ye : () => ye, xe = await Ve(F.value); - xe !== !0 && (xe === !1 || typeof xe == "string" ? Q.push(xe || "") : console.warn(`${xe} is not a valid value. Rule functions must return boolean true or a string.`)); + const be = typeof pe == "function" ? pe : () => pe, ge = await be(F.value); + ge !== !0 && (ge === !1 || typeof ge == "string" ? ee.push(ge || "") : console.warn(`${ge} is not a valid value. Rule functions must return boolean true or a string.`)); } - return N.value = Q, P.value = !1, H.value = X, N.value; + return M.value = ee, z.value = !1, N.value = Y, M.value; } - return Do(() => { - V == null || V.register({ id: _.value, validate: L, reset: x, resetValidation: k }); - }), Je(() => { - V == null || V.unregister(_.value); - }), An(async () => { - R.value.lazy || await L(!0), V == null || V.update(_.value, U.value, M.value); - }), un(() => R.value.input, () => { + return na(() => { + _ == null || _.register({ id: E.value, validate: q, reset: U, resetValidation: W }); + }), mn(() => { + _ == null || _.unregister(E.value); + }), Yn(async () => { + j.value.lazy || await q(!0), _ == null || _.update(E.value, L.value, V.value); + }), Vn(() => j.value.input, () => { K(F, () => { if (F.value != null) - L(); - else if (T.focused) { - const X = K(() => T.focused, (Q) => { - Q || L(), X(); + q(); + else if (P.focused) { + const Y = K(() => P.focused, (ee) => { + ee || q(), Y(); }); } }); - }), un(() => R.value.blur, () => { - K(() => T.focused, (X) => { - X || L(); + }), Vn(() => j.value.blur, () => { + K(() => P.focused, (Y) => { + Y || q(); }); - }), K(U, () => { - V == null || V.update(_.value, U.value, M.value); - }), { errorMessages: M, isDirty: E, isDisabled: B, isReadonly: w, isPristine: H, isValid: U, isValidating: P, reset: x, resetValidation: k, validate: L, validationClasses: G }; - }(e, "v-input", o), z = v(() => ({ id: o, messagesId: s, isDirty: f, isDisabled: g, isReadonly: m, isPristine: h, isValid: b, isValidating: S, reset: A, resetValidation: $, validate: q })), j = v(() => { - var T; - return (T = e.errorMessages) != null && T.length || !h.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; + }), K(L, () => { + _ == null || _.update(E.value, L.value, V.value); + }), { errorMessages: V, isDirty: k, isDisabled: B, isReadonly: x, isPristine: N, isValid: L, isValidating: z, reset: U, resetValidation: W, validate: q, validationClasses: Q }; + }(e, "v-input", i), $ = v(() => ({ id: i, messagesId: p, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: C, reset: w, resetValidation: O, validate: G })), R = v(() => { + var P; + return (P = e.errorMessages) != null && P.length || !b.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); - return ae(() => { - var F, V, N, H; - const T = !(!l.prepend && !e.prependIcon), I = !(!l.append && !e.appendIcon), O = j.value.length > 0, C = !e.hideDetails || e.hideDetails === "auto" && (O || !!l.details); - return p("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, i.value, d.value, D.value, e.class], style: e.style }, [T && p("div", { key: "prepend", class: "v-input__prepend" }, [(F = l.prepend) == null ? void 0 : F.call(l, z.value), e.prependIcon && p(c, { key: "prepend-icon", name: "prepend" }, null)]), l.default && p("div", { class: "v-input__control" }, [(V = l.default) == null ? void 0 : V.call(l, z.value)]), I && p("div", { key: "append", class: "v-input__append" }, [e.appendIcon && p(c, { key: "append-icon", name: "append" }, null), (N = l.append) == null ? void 0 : N.call(l, z.value)]), C && p("div", { class: "v-input__details" }, [p(nr, { id: s.value, active: O, messages: j.value }, { message: l.message }), (H = l.details) == null ? void 0 : H.call(l, z.value)])]); - }), { reset: A, resetValidation: $, validate: q, isValid: b, errorMessages: y }; -} }), or = Y({ ...ft(), ...gn(Fa(), ["inline"]) }, "VCheckbox"), ar = ee()({ name: "VCheckbox", inheritAttrs: !1, props: or(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, t) { + return se(() => { + var F, _, M, N; + const P = !(!l.prepend && !e.prependIcon), S = !(!l.append && !e.appendIcon), A = R.value.length > 0, I = !e.hideDetails || e.hideDetails === "auto" && (A || !!l.details); + return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, a.value, c.value, T.value, e.class], style: e.style }, [P && d("div", { key: "prepend", class: "v-input__prepend" }, [(F = l.prepend) == null ? void 0 : F.call(l, $.value), e.prependIcon && d(u, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(_ = l.default) == null ? void 0 : _.call(l, $.value)]), S && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(u, { key: "append-icon", name: "append" }, null), (M = l.append) == null ? void 0 : M.call(l, $.value)]), I && d("div", { class: "v-input__details" }, [d(mr, { id: p.value, active: A, messages: R.value }, { message: l.message }), (N = l.details) == null ? void 0 : N.call(l, $.value)])]); + }), { reset: w, resetValidation: O, validate: G, isValid: g, errorMessages: y }; +} }), br = H({ ...Tt(), ...zn(Ua(), ["inline"]) }, "VCheckbox"), Cr = ne()({ name: "VCheckbox", inheritAttrs: !1, props: br(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const a = ge(e, "modelValue"), { isFocused: i, focus: d, blur: c } = vt(e), u = We(), o = v(() => e.id || `checkbox-${u}`); - return ae(() => { - const [s, y] = ot(n), f = on.filterProps(e), g = cl.filterProps(e); - return p(on, Z({ class: ["v-checkbox", e.class] }, s, f, { modelValue: a.value, "onUpdate:modelValue": (m) => a.value = m, id: o.value, focused: i.value, style: e.style }), { ...l, default: (m) => { - let { id: h, messagesId: b, isDisabled: S, isReadonly: A } = m; - return p(cl, Z(g, { id: h.value, "aria-describedby": b.value, disabled: S.value, readonly: A.value }, y, { modelValue: a.value, "onUpdate:modelValue": ($) => a.value = $, onFocus: d, onBlur: c }), l); + const o = $e(e, "modelValue"), { isFocused: a, focus: c, blur: u } = Et(e), s = tn(), i = v(() => e.id || `checkbox-${s}`); + return se(() => { + const [p, y] = kt(n), f = Bn.filterProps(e), m = Vl.filterProps(e); + return d(Bn, Z({ class: ["v-checkbox", e.class] }, p, f, { modelValue: o.value, "onUpdate:modelValue": (h) => o.value = h, id: i.value, focused: a.value, style: e.style }), { ...l, default: (h) => { + let { id: b, messagesId: g, isDisabled: C, isReadonly: w } = h; + return d(Vl, Z(m, { id: b.value, "aria-describedby": g.value, disabled: C.value, readonly: w.value }, y, { modelValue: o.value, "onUpdate:modelValue": (O) => o.value = O, onFocus: c, onBlur: u }), l); } }); }), {}; -} }), ir = Y({ start: Boolean, end: Boolean, icon: de, image: String, text: String, ...ue(), ...qe(), ...Qe(), ...ct(), ...ze(), ...Be(), ...an({ variant: "flat" }) }, "VAvatar"), Fn = ee()({ name: "VAvatar", props: ir(), setup(e, t) { +} }), Ir = H({ start: Boolean, end: Boolean, icon: Ce, image: String, text: String, ...ye(), ...cn(), ...hn(), ...Ot(), ...en(), ...Ne(), ...kn({ variant: "flat" }) }, "VAvatar"), qn = ne()({ name: "VAvatar", props: Ir(), setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = Oe(e), { colorClasses: a, colorStyles: i, variantClasses: d } = ut(e), { densityClasses: c } = nn(e), { roundedClasses: u } = en(e), { sizeClasses: o, sizeStyles: s } = dt(e); - return ae(() => p(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, a.value, c.value, u.value, o.value, d.value, e.class], style: [i.value, s.value, e.style] }, { default: () => { + const { themeClasses: l } = Xe(e), { colorClasses: o, colorStyles: a, variantClasses: c } = _t(e), { densityClasses: u } = Cn(e), { roundedClasses: s } = bn(e), { sizeClasses: i, sizeStyles: p } = Pt(e); + return se(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, o.value, u.value, s.value, i.value, c.value, e.class], style: [a.value, p.value, e.style] }, { default: () => { var y; - return [e.image ? p(ia, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? p(pe, { key: "icon", icon: e.icon }, null) : ((y = n.default) == null ? void 0 : y.call(n)) ?? e.text, st(!1, "v-avatar")]; + return [e.image ? d(xa, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(Se, { key: "icon", icon: e.icon }, null) : ((y = n.default) == null ? void 0 : y.call(n)) ?? e.text, At(!1, "v-avatar")]; } })), {}; -} }), Oa = Symbol.for("vuetify:v-chip-group"), rr = Y({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: En }, ...ue(), ...sa({ selectedClass: "v-chip--selected" }), ...ze(), ...Be(), ...an({ variant: "tonal" }) }, "VChipGroup"); -ee()({ name: "VChipGroup", props: rr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +} }), Xa = Symbol.for("vuetify:v-chip-group"), Sr = H({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: Qn }, ...ye(), ...wa({ selectedClass: "v-chip--selected" }), ...en(), ...Ne(), ...kn({ variant: "tonal" }) }, "VChipGroup"); +ne()({ name: "VChipGroup", props: Sr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { themeClasses: l } = Oe(e), { isSelected: a, select: i, next: d, prev: c, selected: u } = da(e, Oa); - return Tn({ VChip: { color: te(e, "color"), disabled: te(e, "disabled"), filter: te(e, "filter"), variant: te(e, "variant") } }), ae(() => p(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { - var o; - return [(o = n.default) == null ? void 0 : o.call(n, { isSelected: a, select: i, next: d, prev: c, selected: u.value })]; + const { themeClasses: l } = Xe(e), { isSelected: o, select: a, next: c, prev: u, selected: s } = Aa(e, Xa); + return et({ VChip: { color: oe(e, "color"), disabled: oe(e, "disabled"), filter: oe(e, "filter"), variant: oe(e, "variant") } }), se(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { + var i; + return [(i = n.default) == null ? void 0 : i.call(n, { isSelected: o, select: a, next: c, prev: u, selected: s.value })]; } })), {}; } }); -const sr = Y({ activeClass: String, appendAvatar: String, appendIcon: de, closable: Boolean, closeIcon: { type: de, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: de, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: Re(), onClickOnce: Re(), ...zn(), ...ue(), ...qe(), ...Ln(), ...ua(), ...Qe(), ...jt(), ...ct(), ...ze({ tag: "span" }), ...Be(), ...an({ variant: "tonal" }) }, "VChip"), ur = ee()({ name: "VChip", directives: { Ripple: pt }, props: sr(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: a } = t; - const { t: i } = Al(), { borderClasses: d } = Dn(e), { colorClasses: c, colorStyles: u, variantClasses: o } = ut(e), { densityClasses: s } = nn(e), { elevationClasses: y } = Wn(e), { roundedClasses: f } = en(e), { sizeClasses: g } = dt(e), { themeClasses: m } = Oe(e), h = ge(e, "modelValue"), b = ca(e, Oa, !1), S = Nt(e, n), A = v(() => e.link !== !1 && S.isLink.value), $ = v(() => !e.disabled && e.link !== !1 && (!!b || e.link || S.isClickable.value)), q = v(() => ({ "aria-label": i(e.closeLabel), onClick(j) { - j.stopPropagation(), h.value = !1, l("click:close", j); +const Br = H({ activeClass: String, appendAvatar: String, appendIcon: Ce, closable: Boolean, closeIcon: { type: Ce, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: an(), onClickOnce: an(), ...nt(), ...ye(), ...cn(), ...lt(), ...Fa(), ...hn(), ...rl(), ...Ot(), ...en({ tag: "span" }), ...Ne(), ...kn({ variant: "tonal" }) }, "VChip"), xr = ne()({ name: "VChip", directives: { Ripple: $t }, props: Br(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: o } = t; + const { t: a } = Hl(), { borderClasses: c } = tt(e), { colorClasses: u, colorStyles: s, variantClasses: i } = _t(e), { densityClasses: p } = Cn(e), { elevationClasses: y } = ot(e), { roundedClasses: f } = bn(e), { sizeClasses: m } = Pt(e), { themeClasses: h } = Xe(e), b = $e(e, "modelValue"), g = Va(e, Xa, !1), C = il(e, n), w = v(() => e.link !== !1 && C.isLink.value), O = v(() => !e.disabled && e.link !== !1 && (!!g || e.link || C.isClickable.value)), G = v(() => ({ "aria-label": a(e.closeLabel), onClick(R) { + R.stopPropagation(), b.value = !1, l("click:close", R); } })); - function D(j) { - var T; - l("click", j), $.value && ((T = S.navigate) == null || T.call(S, j), b == null || b.toggle()); + function T(R) { + var P; + l("click", R), O.value && ((P = C.navigate) == null || P.call(C, R), g == null || g.toggle()); } - function z(j) { - j.key !== "Enter" && j.key !== " " || (j.preventDefault(), D(j)); + function $(R) { + R.key !== "Enter" && R.key !== " " || (R.preventDefault(), T(R)); } return () => { - const j = S.isLink.value ? "a" : e.tag, T = !(!e.appendIcon && !e.appendAvatar), I = !(!T && !a.append), O = !(!a.close && !e.closable), C = !(!a.filter && !e.filter) && b, F = !(!e.prependIcon && !e.prependAvatar), V = !(!F && !a.prepend), N = !b || b.isSelected.value; - return h.value && Fe(p(j, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": $.value, "v-chip--filter": C, "v-chip--pill": e.pill }, m.value, d.value, N ? c.value : void 0, s.value, y.value, f.value, g.value, o.value, b == null ? void 0 : b.selectedClass.value, e.class], style: [N ? u.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: S.href.value, tabindex: $.value ? 0 : void 0, onClick: D, onKeydown: $.value && !A.value && z }, { default: () => { - var H; - return [st($.value, "v-chip"), C && p(oa, { key: "filter" }, { default: () => [Fe(p("div", { class: "v-chip__filter" }, [a.filter ? p(ke, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, a.filter) : p(pe, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Vn, b.isSelected.value]])] }), V && p("div", { key: "prepend", class: "v-chip__prepend" }, [a.prepend ? p(ke, { key: "prepend-defaults", disabled: !F, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, a.prepend) : p(fe, null, [e.prependIcon && p(pe, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && p(Fn, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), p("div", { class: "v-chip__content" }, [((H = a.default) == null ? void 0 : H.call(a, { isSelected: b == null ? void 0 : b.isSelected.value, selectedClass: b == null ? void 0 : b.selectedClass.value, select: b == null ? void 0 : b.select, toggle: b == null ? void 0 : b.toggle, value: b == null ? void 0 : b.value.value, disabled: e.disabled })) ?? e.text]), I && p("div", { key: "append", class: "v-chip__append" }, [a.append ? p(ke, { key: "append-defaults", disabled: !T, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, a.append) : p(fe, null, [e.appendIcon && p(pe, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && p(Fn, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), O && p("div", Z({ key: "close", class: "v-chip__close" }, q.value), [a.close ? p(ke, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, a.close) : p(pe, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; - } }), [[Ze("ripple"), $.value && e.ripple, null]]); + const R = C.isLink.value ? "a" : e.tag, P = !(!e.appendIcon && !e.appendAvatar), S = !(!P && !o.append), A = !(!o.close && !e.closable), I = !(!o.filter && !e.filter) && g, F = !(!e.prependIcon && !e.prependAvatar), _ = !(!F && !o.prepend), M = !g || g.isSelected.value; + return b.value && Ue(d(R, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": O.value, "v-chip--filter": I, "v-chip--pill": e.pill }, h.value, c.value, M ? u.value : void 0, p.value, y.value, f.value, m.value, i.value, g == null ? void 0 : g.selectedClass.value, e.class], style: [M ? s.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: C.href.value, tabindex: O.value ? 0 : void 0, onClick: T, onKeydown: O.value && !w.value && $ }, { default: () => { + var N; + return [At(O.value, "v-chip"), I && d(Sa, { key: "filter" }, { default: () => [Ue(d("div", { class: "v-chip__filter" }, [o.filter ? d(je, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, o.filter) : d(Se, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Hn, g.isSelected.value]])] }), _ && d("div", { key: "prepend", class: "v-chip__prepend" }, [o.prepend ? d(je, { key: "prepend-defaults", disabled: !F, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, o.prepend) : d(Fe, null, [e.prependIcon && d(Se, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(qn, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((N = o.default) == null ? void 0 : N.call(o, { isSelected: g == null ? void 0 : g.isSelected.value, selectedClass: g == null ? void 0 : g.selectedClass.value, select: g == null ? void 0 : g.select, toggle: g == null ? void 0 : g.toggle, value: g == null ? void 0 : g.value.value, disabled: e.disabled })) ?? e.text]), S && d("div", { key: "append", class: "v-chip__append" }, [o.append ? d(je, { key: "append-defaults", disabled: !P, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, o.append) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(qn, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), A && d("div", Z({ key: "close", class: "v-chip__close" }, G.value), [o.close ? d(je, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, o.close) : d(Se, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; + } }), [[gn("ripple"), O.value && e.ripple, null]]); }; -} }), dl = Symbol.for("vuetify:list"); -function Pa() { - const e = se(dl, { hasPrepend: re(!1), updateHasPrepend: () => null }), t = { hasPrepend: re(!1), updateHasPrepend: (n) => { +} }), Al = Symbol.for("vuetify:list"); +function Ka() { + const e = me(Al, { hasPrepend: de(!1), updateHasPrepend: () => null }), t = { hasPrepend: de(!1), updateHasPrepend: (n) => { n && (t.hasPrepend.value = n); } }; - return De(dl, t), e; + return nn(Al, t), e; } -function $a() { - return se(dl, null); +function Ja() { + return me(Al, null); } -const cr = { open: (e) => { - let { id: t, value: n, opened: l, parents: a } = e; +const kr = { open: (e) => { + let { id: t, value: n, opened: l, parents: o } = e; if (n) { - const i = /* @__PURE__ */ new Set(); - i.add(t); - let d = a.get(t); - for (; d != null; ) - i.add(d), d = a.get(d); - return i; + const a = /* @__PURE__ */ new Set(); + a.add(t); + let c = o.get(t); + for (; c != null; ) + a.add(c), c = o.get(c); + return a; } return l.delete(t), l; -}, select: () => null }, Ea = { open: (e) => { - let { id: t, value: n, opened: l, parents: a } = e; +}, select: () => null }, Za = { open: (e) => { + let { id: t, value: n, opened: l, parents: o } = e; if (n) { - let i = a.get(t); - for (l.add(t); i != null && i !== t; ) - l.add(i), i = a.get(i); + let a = o.get(t); + for (l.add(t); a != null && a !== t; ) + l.add(a), a = o.get(a); return l; } return l.delete(t), l; -}, select: () => null }, dr = { open: Ea.open, select: (e) => { - let { id: t, value: n, opened: l, parents: a } = e; +}, select: () => null }, wr = { open: Za.open, select: (e) => { + let { id: t, value: n, opened: l, parents: o } = e; if (!n) return l; - const i = []; - let d = a.get(t); - for (; d != null; ) - i.push(d), d = a.get(d); - return new Set(i); -} }, pl = (e) => { + const a = []; + let c = o.get(t); + for (; c != null; ) + a.push(c), c = o.get(c); + return new Set(a); +} }, _l = (e) => { const t = { select: (n) => { - let { id: l, value: a, selected: i } = n; - if (l = ln(l), e && !a) { - const d = Array.from(i.entries()).reduce((c, u) => { - let [o, s] = u; - return s === "on" ? [...c, o] : c; + let { id: l, value: o, selected: a } = n; + if (l = Sn(l), e && !o) { + const c = Array.from(a.entries()).reduce((u, s) => { + let [i, p] = s; + return p === "on" ? [...u, i] : u; }, []); - if (d.length === 1 && d[0] === l) - return i; + if (c.length === 1 && c[0] === l) + return a; } - return i.set(l, a ? "on" : "off"), i; - }, in: (n, l, a) => { - let i = /* @__PURE__ */ new Map(); - for (const d of n || []) - i = t.select({ id: d, value: !0, selected: new Map(i), children: l, parents: a }); - return i; + return a.set(l, o ? "on" : "off"), a; + }, in: (n, l, o) => { + let a = /* @__PURE__ */ new Map(); + for (const c of n || []) + a = t.select({ id: c, value: !0, selected: new Map(a), children: l, parents: o }); + return a; }, out: (n) => { const l = []; - for (const [a, i] of n.entries()) - i === "on" && l.push(a); + for (const [o, a] of n.entries()) + a === "on" && l.push(o); return l; } }; return t; -}, Io = (e) => { - const t = pl(e); +}, Mo = (e) => { + const t = _l(e); return { select: (n) => { - let { selected: l, id: a, ...i } = n; - a = ln(a); - const d = l.has(a) ? /* @__PURE__ */ new Map([[a, l.get(a)]]) : /* @__PURE__ */ new Map(); - return t.select({ ...i, id: a, selected: d }); - }, in: (n, l, a) => { - let i = /* @__PURE__ */ new Map(); - return n != null && n.length && (i = t.in(n.slice(0, 1), l, a)), i; - }, out: (n, l, a) => t.out(n, l, a) }; -}, tt = Symbol.for("vuetify:nested"), Ta = { id: re(), root: { register: () => null, unregister: () => null, parents: W(/* @__PURE__ */ new Map()), children: W(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: W(/* @__PURE__ */ new Set()), selected: W(/* @__PURE__ */ new Map()), selectedValues: W([]) } }, pr = Y({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), vr = (e) => { + let { selected: l, id: o, ...a } = n; + o = Sn(o); + const c = l.has(o) ? /* @__PURE__ */ new Map([[o, l.get(o)]]) : /* @__PURE__ */ new Map(); + return t.select({ ...a, id: o, selected: c }); + }, in: (n, l, o) => { + let a = /* @__PURE__ */ new Map(); + return n != null && n.length && (a = t.in(n.slice(0, 1), l, o)), a; + }, out: (n, l, o) => t.out(n, l, o) }; +}, St = Symbol.for("vuetify:nested"), Qa = { id: de(), root: { register: () => null, unregister: () => null, parents: D(/* @__PURE__ */ new Map()), children: D(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: D(/* @__PURE__ */ new Set()), selected: D(/* @__PURE__ */ new Map()), selectedValues: D([]) } }, Fr = H({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), Vr = (e) => { let t = !1; - const n = W(/* @__PURE__ */ new Map()), l = W(/* @__PURE__ */ new Map()), a = ge(e, "opened", e.opened, (y) => new Set(y), (y) => [...y.values()]), i = v(() => { + const n = D(/* @__PURE__ */ new Map()), l = D(/* @__PURE__ */ new Map()), o = $e(e, "opened", e.opened, (y) => new Set(y), (y) => [...y.values()]), a = v(() => { if (typeof e.selectStrategy == "object") return e.selectStrategy; switch (e.selectStrategy) { case "single-leaf": return ((y) => { - const f = Io(y); - return { select: (g) => { - let { id: m, selected: h, children: b, ...S } = g; - return m = ln(m), b.has(m) ? h : f.select({ id: m, selected: h, children: b, ...S }); + const f = Mo(y); + return { select: (m) => { + let { id: h, selected: b, children: g, ...C } = m; + return h = Sn(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...C }); }, in: f.in, out: f.out }; })(e.mandatory); case "leaf": return ((y) => { - const f = pl(y); - return { select: (g) => { - let { id: m, selected: h, children: b, ...S } = g; - return m = ln(m), b.has(m) ? h : f.select({ id: m, selected: h, children: b, ...S }); + const f = _l(y); + return { select: (m) => { + let { id: h, selected: b, children: g, ...C } = m; + return h = Sn(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...C }); }, in: f.in, out: f.out }; })(e.mandatory); case "independent": - return pl(e.mandatory); + return _l(e.mandatory); case "single-independent": - return Io(e.mandatory); + return Mo(e.mandatory); default: return ((y) => { - const f = { select: (g) => { - let { id: m, value: h, selected: b, children: S, parents: A } = g; - m = ln(m); - const $ = new Map(b), q = [m]; - for (; q.length; ) { - const z = q.shift(); - b.set(z, h ? "on" : "off"), S.has(z) && q.push(...S.get(z)); + const f = { select: (m) => { + let { id: h, value: b, selected: g, children: C, parents: w } = m; + h = Sn(h); + const O = new Map(g), G = [h]; + for (; G.length; ) { + const $ = G.shift(); + g.set($, b ? "on" : "off"), C.has($) && G.push(...C.get($)); } - let D = A.get(m); - for (; D; ) { - const z = S.get(D), j = z.every((I) => b.get(I) === "on"), T = z.every((I) => !b.has(I) || b.get(I) === "off"); - b.set(D, j ? "on" : T ? "off" : "indeterminate"), D = A.get(D); + let T = w.get(h); + for (; T; ) { + const $ = C.get(T), R = $.every((S) => g.get(S) === "on"), P = $.every((S) => !g.has(S) || g.get(S) === "off"); + g.set(T, R ? "on" : P ? "off" : "indeterminate"), T = w.get(T); } - return y && !h && Array.from(b.entries()).reduce((j, T) => { - let [I, O] = T; - return O === "on" ? [...j, I] : j; - }, []).length === 0 ? $ : b; - }, in: (g, m, h) => { - let b = /* @__PURE__ */ new Map(); - for (const S of g || []) - b = f.select({ id: S, value: !0, selected: new Map(b), children: m, parents: h }); + return y && !b && Array.from(g.entries()).reduce((R, P) => { + let [S, A] = P; + return A === "on" ? [...R, S] : R; + }, []).length === 0 ? O : g; + }, in: (m, h, b) => { + let g = /* @__PURE__ */ new Map(); + for (const C of m || []) + g = f.select({ id: C, value: !0, selected: new Map(g), children: h, parents: b }); + return g; + }, out: (m, h) => { + const b = []; + for (const [g, C] of m.entries()) + C !== "on" || h.has(g) || b.push(g); return b; - }, out: (g, m) => { - const h = []; - for (const [b, S] of g.entries()) - S !== "on" || m.has(b) || h.push(b); - return h; } }; return f; })(e.mandatory); } - }), d = v(() => { + }), c = v(() => { if (typeof e.openStrategy == "object") return e.openStrategy; switch (e.openStrategy) { case "list": - return dr; + return wr; case "single": - return cr; + return kr; default: - return Ea; + return Za; } - }), c = ge(e, "selected", e.selected, (y) => i.value.in(y, n.value, l.value), (y) => i.value.out(y, n.value, l.value)); - function u(y) { + }), u = $e(e, "selected", e.selected, (y) => a.value.in(y, n.value, l.value), (y) => a.value.out(y, n.value, l.value)); + function s(y) { const f = []; - let g = y; - for (; g != null; ) - f.unshift(g), g = l.value.get(g); + let m = y; + for (; m != null; ) + f.unshift(m), m = l.value.get(m); return f; } - Je(() => { + mn(() => { t = !0; }); - const o = Ce("nested"), s = { id: re(), root: { opened: a, selected: c, selectedValues: v(() => { + const i = Le("nested"), p = { id: de(), root: { opened: o, selected: u, selectedValues: v(() => { const y = []; - for (const [f, g] of c.value.entries()) - g === "on" && y.push(f); + for (const [f, m] of u.value.entries()) + m === "on" && y.push(f); return y; - }), register: (y, f, g) => { - f && y !== f && l.value.set(y, f), g && n.value.set(y, []), f != null && n.value.set(f, [...n.value.get(f) || [], y]); + }), register: (y, f, m) => { + f && y !== f && l.value.set(y, f), m && n.value.set(y, []), f != null && n.value.set(f, [...n.value.get(f) || [], y]); }, unregister: (y) => { if (t) return; n.value.delete(y); const f = l.value.get(y); if (f) { - const g = n.value.get(f) ?? []; - n.value.set(f, g.filter((m) => m !== y)); + const m = n.value.get(f) ?? []; + n.value.set(f, m.filter((h) => h !== y)); } - l.value.delete(y), a.value.delete(y); - }, open: (y, f, g) => { - o.emit("click:open", { id: y, value: f, path: u(y), event: g }); - const m = d.value.open({ id: y, value: f, opened: new Set(a.value), children: n.value, parents: l.value, event: g }); - m && (a.value = m); - }, openOnSelect: (y, f, g) => { - const m = d.value.select({ id: y, value: f, selected: new Map(c.value), opened: new Set(a.value), children: n.value, parents: l.value, event: g }); - m && (a.value = m); - }, select: (y, f, g) => { - o.emit("click:select", { id: y, value: f, path: u(y), event: g }); - const m = i.value.select({ id: y, value: f, selected: new Map(c.value), children: n.value, parents: l.value, event: g }); - m && (c.value = m), s.root.openOnSelect(y, f, g); + l.value.delete(y), o.value.delete(y); + }, open: (y, f, m) => { + i.emit("click:open", { id: y, value: f, path: s(y), event: m }); + const h = c.value.open({ id: y, value: f, opened: new Set(o.value), children: n.value, parents: l.value, event: m }); + h && (o.value = h); + }, openOnSelect: (y, f, m) => { + const h = c.value.select({ id: y, value: f, selected: new Map(u.value), opened: new Set(o.value), children: n.value, parents: l.value, event: m }); + h && (o.value = h); + }, select: (y, f, m) => { + i.emit("click:select", { id: y, value: f, path: s(y), event: m }); + const h = a.value.select({ id: y, value: f, selected: new Map(u.value), children: n.value, parents: l.value, event: m }); + h && (u.value = h), p.root.openOnSelect(y, f, m); }, children: n, parents: l } }; - return De(tt, s), s.root; -}, za = (e, t) => { - const n = se(tt, Ta), l = Symbol(We()), a = v(() => e.value !== void 0 ? e.value : l), i = { ...n, id: a, open: (d, c) => n.root.open(a.value, d, c), openOnSelect: (d, c) => n.root.openOnSelect(a.value, d, c), isOpen: v(() => n.root.opened.value.has(a.value)), parent: v(() => n.root.parents.value.get(a.value)), select: (d, c) => n.root.select(a.value, d, c), isSelected: v(() => n.root.selected.value.get(ln(a.value)) === "on"), isIndeterminate: v(() => n.root.selected.value.get(a.value) === "indeterminate"), isLeaf: v(() => !n.root.children.value.get(a.value)), isGroupActivator: n.isGroupActivator }; - return !n.isGroupActivator && n.root.register(a.value, n.id.value, t), Je(() => { - !n.isGroupActivator && n.root.unregister(a.value); - }), t && De(tt, i), i; -}, fr = Qn({ name: "VListGroupActivator", setup(e, t) { + return nn(St, p), p.root; +}, ei = (e, t) => { + const n = me(St, Qa), l = Symbol(tn()), o = v(() => e.value !== void 0 ? e.value : l), a = { ...n, id: o, open: (c, u) => n.root.open(o.value, c, u), openOnSelect: (c, u) => n.root.openOnSelect(o.value, c, u), isOpen: v(() => n.root.opened.value.has(o.value)), parent: v(() => n.root.parents.value.get(o.value)), select: (c, u) => n.root.select(o.value, c, u), isSelected: v(() => n.root.selected.value.get(Sn(o.value)) === "on"), isIndeterminate: v(() => n.root.selected.value.get(o.value) === "indeterminate"), isLeaf: v(() => !n.root.children.value.get(o.value)), isGroupActivator: n.isGroupActivator }; + return !n.isGroupActivator && n.root.register(o.value, n.id.value, t), mn(() => { + !n.isGroupActivator && n.root.unregister(o.value); + }), t && nn(St, a), a; +}, Ar = bt({ name: "VListGroupActivator", setup(e, t) { let { slots: n } = t; return (() => { - const l = se(tt, Ta); - De(tt, { ...l, isGroupActivator: !0 }); + const l = me(St, Qa); + nn(St, { ...l, isGroupActivator: !0 }); })(), () => { var l; return (l = n.default) == null ? void 0 : l.call(n); }; -} }), yr = Y({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: de, default: "$collapse" }, expandIcon: { type: de, default: "$expand" }, prependIcon: de, appendIcon: de, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ue(), ...ze() }, "VListGroup"), So = ee()({ name: "VListGroup", props: yr(), setup(e, t) { +} }), _r = H({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: Ce, default: "$collapse" }, expandIcon: { type: Ce, default: "$expand" }, prependIcon: Ce, appendIcon: Ce, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ye(), ...en() }, "VListGroup"), Ro = ne()({ name: "VListGroup", props: _r(), setup(e, t) { let { slots: n } = t; - const { isOpen: l, open: a, id: i } = za(te(e, "value"), !0), d = v(() => `v-list-group--id-${String(i.value)}`), c = $a(), { isBooted: u } = function() { - const g = re(!1); - return An(() => { + const { isOpen: l, open: o, id: a } = ei(oe(e, "value"), !0), c = v(() => `v-list-group--id-${String(a.value)}`), u = Ja(), { isBooted: s } = function() { + const m = de(!1); + return Yn(() => { window.requestAnimationFrame(() => { - g.value = !0; + m.value = !0; }); - }), { ssrBootStyles: v(() => g.value ? void 0 : { transition: "none !important" }), isBooted: hl(g) }; + }), { ssrBootStyles: v(() => m.value ? void 0 : { transition: "none !important" }), isBooted: zl(m) }; }(); - function o(g) { - a(!l.value, g); + function i(m) { + o(!l.value, m); } - const s = v(() => ({ onClick: o, class: "v-list-group__header", id: d.value })), y = v(() => l.value ? e.collapseIcon : e.expandIcon), f = v(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && y.value, appendIcon: e.appendIcon || !e.subgroup && y.value, title: e.title, value: e.value } })); - return ae(() => p(e.tag, { class: ["v-list-group", { "v-list-group--prepend": c == null ? void 0 : c.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [n.activator && p(ke, { defaults: f.value }, { default: () => [p(fr, null, { default: () => [n.activator({ props: s.value, isOpen: l.value })] })] }), p(tn, { transition: { component: zi }, disabled: !u.value }, { default: () => { - var g; - return [Fe(p("div", { class: "v-list-group__items", role: "group", "aria-labelledby": d.value }, [(g = n.default) == null ? void 0 : g.call(n)]), [[Vn, l.value]])]; + const p = v(() => ({ onClick: i, class: "v-list-group__header", id: c.value })), y = v(() => l.value ? e.collapseIcon : e.expandIcon), f = v(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && y.value, appendIcon: e.appendIcon || !e.subgroup && y.value, title: e.title, value: e.value } })); + return se(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": u == null ? void 0 : u.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [n.activator && d(je, { defaults: f.value }, { default: () => [d(Ar, null, { default: () => [n.activator({ props: p.value, isOpen: l.value })] })] }), d(In, { transition: { component: Ji }, disabled: !s.value }, { default: () => { + var m; + return [Ue(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(m = n.default) == null ? void 0 : m.call(n)]), [[Hn, l.value]])]; } })] })), {}; -} }), mr = at("v-list-item-subtitle"), gr = at("v-list-item-title"), hr = Y({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: de, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: de, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: Re(), onClickOnce: Re(), ...zn(), ...ue(), ...qe(), ...hn(), ...Ln(), ...Qe(), ...jt(), ...ze(), ...Be(), ...an({ variant: "text" }) }, "VListItem"), zt = ee()({ name: "VListItem", directives: { Ripple: pt }, props: hr(), emits: { click: (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l, emit: a } = t; - const i = Nt(e, n), d = v(() => e.value === void 0 ? i.href.value : e.value), { select: c, isSelected: u, isIndeterminate: o, isGroupActivator: s, root: y, parent: f, openOnSelect: g } = za(d, !1), m = $a(), h = v(() => { - var w; - return e.active !== !1 && (e.active || ((w = i.isActive) == null ? void 0 : w.value) || u.value); - }), b = v(() => e.link !== !1 && i.isLink.value), S = v(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || e.value != null && !!m)), A = v(() => e.rounded || e.nav), $ = v(() => e.color ?? e.activeColor), q = v(() => ({ color: h.value ? $.value ?? e.baseColor : e.baseColor, variant: e.variant })); +} }), Or = wt("v-list-item-subtitle"), Pr = wt("v-list-item-title"), $r = H({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: Ce, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: an(), onClickOnce: an(), ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...hn(), ...rl(), ...en(), ...Ne(), ...kn({ variant: "text" }) }, "VListItem"), nl = ne()({ name: "VListItem", directives: { Ripple: $t }, props: $r(), emits: { click: (e) => !0 }, setup(e, t) { + let { attrs: n, slots: l, emit: o } = t; + const a = il(e, n), c = v(() => e.value === void 0 ? a.href.value : e.value), { select: u, isSelected: s, isIndeterminate: i, isGroupActivator: p, root: y, parent: f, openOnSelect: m } = ei(c, !1), h = Ja(), b = v(() => { + var x; + return e.active !== !1 && (e.active || ((x = a.isActive) == null ? void 0 : x.value) || s.value); + }), g = v(() => e.link !== !1 && a.isLink.value), C = v(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || e.value != null && !!h)), w = v(() => e.rounded || e.nav), O = v(() => e.color ?? e.activeColor), G = v(() => ({ color: b.value ? O.value ?? e.baseColor : e.baseColor, variant: e.variant })); K(() => { - var w; - return (w = i.isActive) == null ? void 0 : w.value; - }, (w) => { - w && f.value != null && y.open(f.value, !0), w && g(w); + var x; + return (x = a.isActive) == null ? void 0 : x.value; + }, (x) => { + x && f.value != null && y.open(f.value, !0), x && m(x); }, { immediate: !0 }); - const { themeClasses: D } = Oe(e), { borderClasses: z } = Dn(e), { colorClasses: j, colorStyles: T, variantClasses: I } = ut(q), { densityClasses: O } = nn(e), { dimensionStyles: C } = bn(e), { elevationClasses: F } = Wn(e), { roundedClasses: V } = en(A), N = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), H = v(() => ({ isActive: h.value, select: c, isSelected: u.value, isIndeterminate: o.value })); - function E(w) { - var M; - a("click", w), !s && S.value && ((M = i.navigate) == null || M.call(i, w), e.value != null && c(!u.value, w)); - } - function B(w) { - w.key !== "Enter" && w.key !== " " || (w.preventDefault(), E(w)); - } - return ae(() => { - const w = b.value ? "a" : e.tag, M = l.title || e.title != null, R = l.subtitle || e.subtitle != null, U = !(!e.appendAvatar && !e.appendIcon), P = !(!U && !l.append), G = !(!e.prependAvatar && !e.prependIcon), _ = !(!G && !l.prepend); - var x, k; - return m == null || m.updateHasPrepend(_), e.activeColor && (x = "active-color", k = ["color", "base-color"], k = Array.isArray(k) ? k.slice(0, -1).map((L) => `'${L}'`).join(", ") + ` or '${k.at(-1)}'` : `'${k}'`, Lt(`[Vuetify UPGRADE] '${x}' is deprecated, use ${k} instead.`)), Fe(p(w, { class: ["v-list-item", { "v-list-item--active": h.value, "v-list-item--disabled": e.disabled, "v-list-item--link": S.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !_ && (m == null ? void 0 : m.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && h.value }, D.value, z.value, j.value, O.value, F.value, N.value, V.value, I.value, e.class], style: [T.value, C.value, e.style], href: i.href.value, tabindex: S.value ? m ? -2 : 0 : void 0, onClick: E, onKeydown: S.value && !b.value && B }, { default: () => { - var L; - return [st(S.value || h.value, "v-list-item"), _ && p("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? p(ke, { key: "prepend-defaults", disabled: !G, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { - var X; - return [(X = l.prepend) == null ? void 0 : X.call(l, H.value)]; - } }) : p(fe, null, [e.prependAvatar && p(Fn, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && p(pe, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), p("div", { class: "v-list-item__spacer" }, null)]), p("div", { class: "v-list-item__content", "data-no-activator": "" }, [M && p(gr, { key: "title" }, { default: () => { - var X; - return [((X = l.title) == null ? void 0 : X.call(l, { title: e.title })) ?? e.title]; - } }), R && p(mr, { key: "subtitle" }, { default: () => { - var X; - return [((X = l.subtitle) == null ? void 0 : X.call(l, { subtitle: e.subtitle })) ?? e.subtitle]; - } }), (L = l.default) == null ? void 0 : L.call(l, H.value)]), P && p("div", { key: "append", class: "v-list-item__append" }, [l.append ? p(ke, { key: "append-defaults", disabled: !U, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { - var X; - return [(X = l.append) == null ? void 0 : X.call(l, H.value)]; - } }) : p(fe, null, [e.appendIcon && p(pe, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && p(Fn, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), p("div", { class: "v-list-item__spacer" }, null)])]; - } }), [[Ze("ripple"), S.value && e.ripple]]); + const { themeClasses: T } = Xe(e), { borderClasses: $ } = tt(e), { colorClasses: R, colorStyles: P, variantClasses: S } = _t(G), { densityClasses: A } = Cn(e), { dimensionStyles: I } = Ln(e), { elevationClasses: F } = ot(e), { roundedClasses: _ } = bn(w), M = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), N = v(() => ({ isActive: b.value, select: u, isSelected: s.value, isIndeterminate: i.value })); + function k(x) { + var V; + o("click", x), !p && C.value && ((V = a.navigate) == null || V.call(a, x), e.value != null && u(!s.value, x)); + } + function B(x) { + x.key !== "Enter" && x.key !== " " || (x.preventDefault(), k(x)); + } + return se(() => { + const x = g.value ? "a" : e.tag, V = l.title || e.title != null, j = l.subtitle || e.subtitle != null, L = !(!e.appendAvatar && !e.appendIcon), z = !(!L && !l.append), Q = !(!e.prependAvatar && !e.prependIcon), E = !(!Q && !l.prepend); + var U, W; + return h == null || h.updateHasPrepend(E), e.activeColor && (U = "active-color", W = ["color", "base-color"], W = Array.isArray(W) ? W.slice(0, -1).map((q) => `'${q}'`).join(", ") + ` or '${W.at(-1)}'` : `'${W}'`, ll(`[Vuetify UPGRADE] '${U}' is deprecated, use ${W} instead.`)), Ue(d(x, { class: ["v-list-item", { "v-list-item--active": b.value, "v-list-item--disabled": e.disabled, "v-list-item--link": C.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !E && (h == null ? void 0 : h.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && b.value }, T.value, $.value, R.value, A.value, F.value, M.value, _.value, S.value, e.class], style: [P.value, I.value, e.style], href: a.href.value, tabindex: C.value ? h ? -2 : 0 : void 0, onClick: k, onKeydown: C.value && !g.value && B }, { default: () => { + var q; + return [At(C.value || b.value, "v-list-item"), E && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !Q, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { + var Y; + return [(Y = l.prepend) == null ? void 0 : Y.call(l, N.value)]; + } }) : d(Fe, null, [e.prependAvatar && d(qn, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(Se, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [V && d(Pr, { key: "title" }, { default: () => { + var Y; + return [((Y = l.title) == null ? void 0 : Y.call(l, { title: e.title })) ?? e.title]; + } }), j && d(Or, { key: "subtitle" }, { default: () => { + var Y; + return [((Y = l.subtitle) == null ? void 0 : Y.call(l, { subtitle: e.subtitle })) ?? e.subtitle]; + } }), (q = l.default) == null ? void 0 : q.call(l, N.value)]), z && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !L, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { + var Y; + return [(Y = l.append) == null ? void 0 : Y.call(l, N.value)]; + } }) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && d(qn, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), d("div", { class: "v-list-item__spacer" }, null)])]; + } }), [[gn("ripple"), C.value && e.ripple]]); }), {}; -} }), br = Y({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ue(), ...ze() }, "VListSubheader"), Cr = ee()({ name: "VListSubheader", props: br(), setup(e, t) { +} }), Er = H({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ye(), ...en() }, "VListSubheader"), Tr = ne()({ name: "VListSubheader", props: Er(), setup(e, t) { let { slots: n } = t; - const { textColorClasses: l, textColorStyles: a } = Ke(te(e, "color")); - return ae(() => { - const i = !(!n.default && !e.title); - return p(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: a }, e.style] }, { default: () => { - var d; - return [i && p("div", { class: "v-list-subheader__text" }, [((d = n.default) == null ? void 0 : d.call(n)) ?? e.title])]; + const { textColorClasses: l, textColorStyles: o } = yn(oe(e, "color")); + return se(() => { + const a = !(!n.default && !e.title); + return d(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: o }, e.style] }, { default: () => { + var c; + return [a && d("div", { class: "v-list-subheader__text" }, [((c = n.default) == null ? void 0 : c.call(n)) ?? e.title])]; } }); }), {}; -} }), Ir = Y({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ue(), ...Be() }, "VDivider"), Sr = ee()({ name: "VDivider", props: Ir(), setup(e, t) { +} }), zr = H({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ye(), ...Ne() }, "VDivider"), Dr = ne()({ name: "VDivider", props: zr(), setup(e, t) { let { attrs: n } = t; - const { themeClasses: l } = Oe(e), { textColorClasses: a, textColorStyles: i } = Ke(te(e, "color")), d = v(() => { - const c = {}; - return e.length && (c[e.vertical ? "maxHeight" : "maxWidth"] = le(e.length)), e.thickness && (c[e.vertical ? "borderRightWidth" : "borderTopWidth"] = le(e.thickness)), c; + const { themeClasses: l } = Xe(e), { textColorClasses: o, textColorStyles: a } = yn(oe(e, "color")), c = v(() => { + const u = {}; + return e.length && (u[e.vertical ? "maxHeight" : "maxWidth"] = ae(e.length)), e.thickness && (u[e.vertical ? "borderRightWidth" : "borderTopWidth"] = ae(e.thickness)), u; }); - return ae(() => p("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, a.value, e.class], style: [d.value, i.value, e.style], "aria-orientation": n.role && n.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${n.role || "separator"}` }, null)), {}; -} }), Br = Y({ items: Array, returnObject: Boolean }, "VListChildren"), Da = ee()({ name: "VListChildren", props: Br(), setup(e, t) { + return se(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, o.value, e.class], style: [c.value, a.value, e.style], "aria-orientation": n.role && n.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${n.role || "separator"}` }, null)), {}; +} }), Lr = H({ items: Array, returnObject: Boolean }, "VListChildren"), ni = ne()({ name: "VListChildren", props: Lr(), setup(e, t) { let { slots: n } = t; - return Pa(), () => { - var l, a; - return ((l = n.default) == null ? void 0 : l.call(n)) ?? ((a = e.items) == null ? void 0 : a.map((i) => { - var f, g; - let { children: d, props: c, type: u, raw: o } = i; - if (u === "divider") - return ((f = n.divider) == null ? void 0 : f.call(n, { props: c })) ?? p(Sr, c, null); - if (u === "subheader") - return ((g = n.subheader) == null ? void 0 : g.call(n, { props: c })) ?? p(Cr, c, null); - const s = { subtitle: n.subtitle ? (m) => { - var h; - return (h = n.subtitle) == null ? void 0 : h.call(n, { ...m, item: o }); - } : void 0, prepend: n.prepend ? (m) => { - var h; - return (h = n.prepend) == null ? void 0 : h.call(n, { ...m, item: o }); - } : void 0, append: n.append ? (m) => { - var h; - return (h = n.append) == null ? void 0 : h.call(n, { ...m, item: o }); - } : void 0, title: n.title ? (m) => { - var h; - return (h = n.title) == null ? void 0 : h.call(n, { ...m, item: o }); - } : void 0 }, y = So.filterProps(c); - return d ? p(So, Z({ value: c == null ? void 0 : c.value }, y), { activator: (m) => { - let { props: h } = m; - const b = { ...c, ...h, value: e.returnObject ? o : c.value }; - return n.header ? n.header({ props: b }) : p(zt, b, s); - }, default: () => p(Da, { items: d }, n) }) : n.item ? n.item({ props: c }) : p(zt, Z(c, { value: e.returnObject ? o : c.value }), s); + return Ka(), () => { + var l, o; + return ((l = n.default) == null ? void 0 : l.call(n)) ?? ((o = e.items) == null ? void 0 : o.map((a) => { + var f, m; + let { children: c, props: u, type: s, raw: i } = a; + if (s === "divider") + return ((f = n.divider) == null ? void 0 : f.call(n, { props: u })) ?? d(Dr, u, null); + if (s === "subheader") + return ((m = n.subheader) == null ? void 0 : m.call(n, { props: u })) ?? d(Tr, u, null); + const p = { subtitle: n.subtitle ? (h) => { + var b; + return (b = n.subtitle) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0, prepend: n.prepend ? (h) => { + var b; + return (b = n.prepend) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0, append: n.append ? (h) => { + var b; + return (b = n.append) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0, title: n.title ? (h) => { + var b; + return (b = n.title) == null ? void 0 : b.call(n, { ...h, item: i }); + } : void 0 }, y = Ro.filterProps(u); + return c ? d(Ro, Z({ value: u == null ? void 0 : u.value }, y), { activator: (h) => { + let { props: b } = h; + const g = { ...u, ...b, value: e.returnObject ? i : u.value }; + return n.header ? n.header({ props: g }) : d(nl, g, p); + }, default: () => d(ni, { items: c }, n) }) : n.item ? n.item({ props: u }) : d(nl, Z(u, { value: e.returnObject ? i : u.value }), p); })); }; -} }), La = Y({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: En } }, "list-items"); -function vl(e, t) { - const n = Ue(t, e.itemTitle, t), l = Ue(t, e.itemValue, n), a = Ue(t, e.itemChildren), i = { title: n, value: l, ...e.itemProps === !0 ? typeof t != "object" || t == null || Array.isArray(t) ? void 0 : "children" in t ? gn(t, ["children"]) : t : Ue(t, e.itemProps) }; - return { title: String(i.title ?? ""), value: i.value, props: i, children: Array.isArray(a) ? Wa(e, a) : void 0, raw: t }; +} }), ti = H({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: Qn } }, "list-items"); +function Ol(e, t) { + const n = dn(t, e.itemTitle, t), l = dn(t, e.itemValue, n), o = dn(t, e.itemChildren), a = { title: n, value: l, ...e.itemProps === !0 ? typeof t != "object" || t == null || Array.isArray(t) ? void 0 : "children" in t ? zn(t, ["children"]) : t : dn(t, e.itemProps) }; + return { title: String(a.title ?? ""), value: a.value, props: a, children: Array.isArray(o) ? li(e, o) : void 0, raw: t }; } -function Wa(e, t) { +function li(e, t) { const n = []; for (const l of t) - n.push(vl(e, l)); + n.push(Ol(e, l)); return n; } -function xr(e, t) { - const n = Ue(t, e.itemType, "item"), l = function(c) { - return typeof c == "string" || typeof c == "number" || typeof c == "boolean"; - }(t) ? t : Ue(t, e.itemTitle), a = Ue(t, e.itemValue, void 0), i = Ue(t, e.itemChildren), d = { title: l, value: a, ...e.itemProps === !0 ? gn(t, ["children"]) : Ue(t, e.itemProps) }; - return { type: n, title: d.title, value: d.value, props: d, children: n === "item" && i ? Ma(e, i) : void 0, raw: t }; +function Wr(e, t) { + const n = dn(t, e.itemType, "item"), l = function(u) { + return typeof u == "string" || typeof u == "number" || typeof u == "boolean"; + }(t) ? t : dn(t, e.itemTitle), o = dn(t, e.itemValue, void 0), a = dn(t, e.itemChildren), c = { title: l, value: o, ...e.itemProps === !0 ? zn(t, ["children"]) : dn(t, e.itemProps) }; + return { type: n, title: c.title, value: c.value, props: c, children: n === "item" && a ? oi(e, a) : void 0, raw: t }; } -function Ma(e, t) { +function oi(e, t) { const n = []; for (const l of t) - n.push(xr(e, l)); + n.push(Wr(e, l)); return n; } -const kr = Y({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...pr({ selectStrategy: "single-leaf", openStrategy: "list" }), ...zn(), ...ue(), ...qe(), ...hn(), ...Ln(), itemType: { type: String, default: "type" }, ...La(), ...Qe(), ...ze(), ...Be(), ...an({ variant: "text" }) }, "VList"), wr = ee()({ name: "VList", props: kr(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, t) { +const Mr = H({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...Fr({ selectStrategy: "single-leaf", openStrategy: "list" }), ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), itemType: { type: String, default: "type" }, ...ti(), ...hn(), ...en(), ...Ne(), ...kn({ variant: "text" }) }, "VList"), Rr = ne()({ name: "VList", props: Mr(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { items: l } = function(I) { - return { items: v(() => Ma(I, I.items)) }; - }(e), { themeClasses: a } = Oe(e), { backgroundColorClasses: i, backgroundColorStyles: d } = wn(te(e, "bgColor")), { borderClasses: c } = Dn(e), { densityClasses: u } = nn(e), { dimensionStyles: o } = bn(e), { elevationClasses: s } = Wn(e), { roundedClasses: y } = en(e), { open: f, select: g } = vr(e), m = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), h = te(e, "activeColor"), b = te(e, "baseColor"), S = te(e, "color"); - Pa(), Tn({ VListGroup: { activeColor: h, baseColor: b, color: S }, VListItem: { activeClass: te(e, "activeClass"), activeColor: h, baseColor: b, color: S, density: te(e, "density"), disabled: te(e, "disabled"), lines: te(e, "lines"), nav: te(e, "nav"), slim: te(e, "slim"), variant: te(e, "variant") } }); - const A = re(!1), $ = W(); - function q(I) { - A.value = !0; - } - function D(I) { - A.value = !1; - } - function z(I) { - var O; - A.value || I.relatedTarget && ((O = $.value) != null && O.contains(I.relatedTarget)) || T(); - } - function j(I) { - if ($.value) { - if (I.key === "ArrowDown") - T("next"); - else if (I.key === "ArrowUp") - T("prev"); - else if (I.key === "Home") - T("first"); + const { items: l } = function(S) { + return { items: v(() => oi(S, S.items)) }; + }(e), { themeClasses: o } = Xe(e), { backgroundColorClasses: a, backgroundColorStyles: c } = Un(oe(e, "bgColor")), { borderClasses: u } = tt(e), { densityClasses: s } = Cn(e), { dimensionStyles: i } = Ln(e), { elevationClasses: p } = ot(e), { roundedClasses: y } = bn(e), { open: f, select: m } = Vr(e), h = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = oe(e, "activeColor"), g = oe(e, "baseColor"), C = oe(e, "color"); + Ka(), et({ VListGroup: { activeColor: b, baseColor: g, color: C }, VListItem: { activeClass: oe(e, "activeClass"), activeColor: b, baseColor: g, color: C, density: oe(e, "density"), disabled: oe(e, "disabled"), lines: oe(e, "lines"), nav: oe(e, "nav"), slim: oe(e, "slim"), variant: oe(e, "variant") } }); + const w = de(!1), O = D(); + function G(S) { + w.value = !0; + } + function T(S) { + w.value = !1; + } + function $(S) { + var A; + w.value || S.relatedTarget && ((A = O.value) != null && A.contains(S.relatedTarget)) || P(); + } + function R(S) { + if (O.value) { + if (S.key === "ArrowDown") + P("next"); + else if (S.key === "ArrowUp") + P("prev"); + else if (S.key === "Home") + P("first"); else { - if (I.key !== "End") + if (S.key !== "End") return; - T("last"); + P("last"); } - I.preventDefault(); + S.preventDefault(); } } - function T(I) { - if ($.value) - return Vt($.value, I); + function P(S) { + if (O.value) + return Ht(O.value, S); } - return ae(() => p(e.tag, { ref: $, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, a.value, i.value, c.value, u.value, s.value, m.value, y.value, e.class], style: [d.value, o.value, e.style], tabindex: e.disabled || A.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: q, onFocusout: D, onFocus: z, onKeydown: j }, { default: () => [p(Da, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: g, focus: T }; + return se(() => d(e.tag, { ref: O, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, o.value, a.value, u.value, s.value, p.value, h.value, y.value, e.class], style: [c.value, i.value, e.style], tabindex: e.disabled || w.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: G, onFocusout: T, onFocus: $, onKeydown: R }, { default: () => [d(ni, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: m, focus: P }; } }); -function Qt(e, t) { +function hl(e, t) { return { x: e.x + t.x, y: e.y + t.y }; } -function Bo(e, t) { +function No(e, t) { if (e.side === "top" || e.side === "bottom") { const { side: n, align: l } = e; - return Qt({ x: l === "left" ? 0 : l === "center" ? t.width / 2 : l === "right" ? t.width : l, y: n === "top" ? 0 : n === "bottom" ? t.height : n }, t); + return hl({ x: l === "left" ? 0 : l === "center" ? t.width / 2 : l === "right" ? t.width : l, y: n === "top" ? 0 : n === "bottom" ? t.height : n }, t); } if (e.side === "left" || e.side === "right") { const { side: n, align: l } = e; - return Qt({ x: n === "left" ? 0 : n === "right" ? t.width : n, y: l === "top" ? 0 : l === "center" ? t.height / 2 : l === "bottom" ? t.height : l }, t); + return hl({ x: n === "left" ? 0 : n === "right" ? t.width : n, y: l === "top" ? 0 : l === "center" ? t.height / 2 : l === "bottom" ? t.height : l }, t); } - return Qt({ x: t.width / 2, y: t.height / 2 }, t); + return hl({ x: t.width / 2, y: t.height / 2 }, t); } -const Ra = { static: function() { +const ai = { static: function() { }, connected: function(e, t, n) { - (Array.isArray(e.target.value) || function(g) { - for (; g; ) { - if (window.getComputedStyle(g).position === "fixed") + (Array.isArray(e.target.value) || function(m) { + for (; m; ) { + if (window.getComputedStyle(m).position === "fixed") return !0; - g = g.offsetParent; + m = m.offsetParent; } return !1; }(e.target.value)) && Object.assign(n.value, { position: "fixed", top: 0, [e.isRtl.value ? "right" : "left"]: 0 }); - const { preferredAnchor: l, preferredOrigin: a } = xl(() => { - const g = il(t.location, e.isRtl.value), m = t.origin === "overlap" ? g : t.origin === "auto" ? Xt(g) : il(t.origin, e.isRtl.value); - return g.side === m.side && g.align === Kt(m).align ? { preferredAnchor: Xl(g), preferredOrigin: Xl(m) } : { preferredAnchor: g, preferredOrigin: m }; - }), [i, d, c, u] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((g) => v(() => { - const m = parseFloat(t[g]); - return isNaN(m) ? 1 / 0 : m; - })), o = v(() => { + const { preferredAnchor: l, preferredOrigin: o } = Nl(() => { + const m = kl(t.location, e.isRtl.value), h = t.origin === "overlap" ? m : t.origin === "auto" ? fl(m) : kl(t.origin, e.isRtl.value); + return m.side === h.side && m.align === yl(h).align ? { preferredAnchor: fo(m), preferredOrigin: fo(h) } : { preferredAnchor: m, preferredOrigin: h }; + }), [a, c, u, s] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((m) => v(() => { + const h = parseFloat(t[m]); + return isNaN(h) ? 1 / 0 : h; + })), i = v(() => { if (Array.isArray(t.offset)) return t.offset; if (typeof t.offset == "string") { - const g = t.offset.split(" ").map(parseFloat); - return g.length < 2 && g.push(0), g; + const m = t.offset.split(" ").map(parseFloat); + return m.length < 2 && m.push(0), m; } return typeof t.offset == "number" ? [t.offset, 0] : [0, 0]; }); - let s = !1; + let p = !1; const y = new ResizeObserver(() => { - s && f(); + p && f(); }); function f() { - if (s = !1, requestAnimationFrame(() => { - requestAnimationFrame(() => s = !0); + if (p = !1, requestAnimationFrame(() => { + requestAnimationFrame(() => p = !0); }), !e.target.value || !e.contentEl.value) return; - const g = Yo(e.target.value), m = function(I, O) { - O ? I.style.removeProperty("left") : I.style.removeProperty("right"); - const C = kl(I); - return O ? C.x += parseFloat(I.style.right || 0) : C.x -= parseFloat(I.style.left || 0), C.y -= parseFloat(I.style.top || 0), C; - }(e.contentEl.value, e.isRtl.value), h = Pt(e.contentEl.value); - h.length || (h.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (m.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), m.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); - const b = h.reduce((I, O) => { - const C = O.getBoundingClientRect(), F = new sn({ x: O === document.documentElement ? 0 : C.x, y: O === document.documentElement ? 0 : C.y, width: O.clientWidth, height: O.clientHeight }); - return I ? new sn({ x: Math.max(I.left, F.left), y: Math.max(I.top, F.top), width: Math.min(I.right, F.right) - Math.max(I.left, F.left), height: Math.min(I.bottom, F.bottom) - Math.max(I.top, F.top) }) : F; + const m = pa(e.target.value), h = function(S, A) { + A ? S.style.removeProperty("left") : S.style.removeProperty("right"); + const I = jl(S); + return A ? I.x += parseFloat(S.style.right || 0) : I.x -= parseFloat(S.style.left || 0), I.y -= parseFloat(S.style.top || 0), I; + }(e.contentEl.value, e.isRtl.value), b = Jt(e.contentEl.value); + b.length || (b.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (h.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), h.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); + const g = b.reduce((S, A) => { + const I = A.getBoundingClientRect(), F = new Fn({ x: A === document.documentElement ? 0 : I.x, y: A === document.documentElement ? 0 : I.y, width: A.clientWidth, height: A.clientHeight }); + return S ? new Fn({ x: Math.max(S.left, F.left), y: Math.max(S.top, F.top), width: Math.min(S.right, F.right) - Math.max(S.left, F.left), height: Math.min(S.bottom, F.bottom) - Math.max(S.top, F.top) }) : F; }, void 0); - b.x += 12, b.y += 12, b.width -= 24, b.height -= 24; - let S = { anchor: l.value, origin: a.value }; - function A(I) { - const O = new sn(m), C = Bo(I.anchor, g), F = Bo(I.origin, O); - let { x: V, y: N } = (E = F, { x: (H = C).x - E.x, y: H.y - E.y }); - var H, E; - switch (I.anchor.side) { + g.x += 12, g.y += 12, g.width -= 24, g.height -= 24; + let C = { anchor: l.value, origin: o.value }; + function w(S) { + const A = new Fn(h), I = No(S.anchor, m), F = No(S.origin, A); + let { x: _, y: M } = (k = F, { x: (N = I).x - k.x, y: N.y - k.y }); + var N, k; + switch (S.anchor.side) { case "top": - N -= o.value[0]; + M -= i.value[0]; break; case "bottom": - N += o.value[0]; + M += i.value[0]; break; case "left": - V -= o.value[0]; + _ -= i.value[0]; break; case "right": - V += o.value[0]; + _ += i.value[0]; } - switch (I.anchor.align) { + switch (S.anchor.align) { case "top": - N -= o.value[1]; + M -= i.value[1]; break; case "bottom": - N += o.value[1]; + M += i.value[1]; break; case "left": - V -= o.value[1]; + _ -= i.value[1]; break; case "right": - V += o.value[1]; + _ += i.value[1]; } - return O.x += V, O.y += N, O.width = Math.min(O.width, c.value), O.height = Math.min(O.height, u.value), { overflows: Jl(O, b), x: V, y: N }; + return A.x += _, A.y += M, A.width = Math.min(A.width, u.value), A.height = Math.min(A.height, s.value), { overflows: mo(A, g), x: _, y: M }; } - let $ = 0, q = 0; - const D = { x: 0, y: 0 }, z = { x: !1, y: !1 }; - let j = -1; + let O = 0, G = 0; + const T = { x: 0, y: 0 }, $ = { x: !1, y: !1 }; + let R = -1; for (; ; ) { - if (j++ > 10) { - Lt("Vuetify error: Infinite loop detected in connectedLocationStrategy"); + if (R++ > 10) { + ll("Vuetify error: Infinite loop detected in connectedLocationStrategy"); break; } - const { x: I, y: O, overflows: C } = A(S); - $ += I, q += O, m.x += I, m.y += O; + const { x: S, y: A, overflows: I } = w(C); + O += S, G += A, h.x += S, h.y += A; { - const F = Kl(S.anchor), V = C.x.before || C.x.after, N = C.y.before || C.y.after; - let H = !1; - if (["x", "y"].forEach((E) => { - if (E === "x" && V && !z.x || E === "y" && N && !z.y) { - const B = { anchor: { ...S.anchor }, origin: { ...S.origin } }, w = E === "x" ? F === "y" ? Kt : Xt : F === "y" ? Xt : Kt; - B.anchor = w(B.anchor), B.origin = w(B.origin); - const { overflows: M } = A(B); - (M[E].before <= C[E].before && M[E].after <= C[E].after || M[E].before + M[E].after < (C[E].before + C[E].after) / 2) && (S = B, H = z[E] = !0); + const F = yo(C.anchor), _ = I.x.before || I.x.after, M = I.y.before || I.y.after; + let N = !1; + if (["x", "y"].forEach((k) => { + if (k === "x" && _ && !$.x || k === "y" && M && !$.y) { + const B = { anchor: { ...C.anchor }, origin: { ...C.origin } }, x = k === "x" ? F === "y" ? yl : fl : F === "y" ? fl : yl; + B.anchor = x(B.anchor), B.origin = x(B.origin); + const { overflows: V } = w(B); + (V[k].before <= I[k].before && V[k].after <= I[k].after || V[k].before + V[k].after < (I[k].before + I[k].after) / 2) && (C = B, N = $[k] = !0); } - }), H) + }), N) continue; } - C.x.before && ($ += C.x.before, m.x += C.x.before), C.x.after && ($ -= C.x.after, m.x -= C.x.after), C.y.before && (q += C.y.before, m.y += C.y.before), C.y.after && (q -= C.y.after, m.y -= C.y.after); + I.x.before && (O += I.x.before, h.x += I.x.before), I.x.after && (O -= I.x.after, h.x -= I.x.after), I.y.before && (G += I.y.before, h.y += I.y.before), I.y.after && (G -= I.y.after, h.y -= I.y.after); { - const F = Jl(m, b); - D.x = b.width - F.x.before - F.x.after, D.y = b.height - F.y.before - F.y.after, $ += F.x.before, m.x += F.x.before, q += F.y.before, m.y += F.y.before; + const F = mo(h, g); + T.x = g.width - F.x.before - F.x.after, T.y = g.height - F.y.before - F.y.after, O += F.x.before, h.x += F.x.before, G += F.y.before, h.y += F.y.before; } break; } - const T = Kl(S.anchor); - return Object.assign(n.value, { "--v-overlay-anchor-origin": `${S.anchor.side} ${S.anchor.align}`, transformOrigin: `${S.origin.side} ${S.origin.align}`, top: le(el(q)), left: e.isRtl.value ? void 0 : le(el($)), right: e.isRtl.value ? le(el(-$)) : void 0, minWidth: le(T === "y" ? Math.min(i.value, g.width) : i.value), maxWidth: le(xo(kn(D.x, i.value === 1 / 0 ? 0 : i.value, c.value))), maxHeight: le(xo(kn(D.y, d.value === 1 / 0 ? 0 : d.value, u.value))) }), { available: D, contentBox: m }; + const P = yo(C.anchor); + return Object.assign(n.value, { "--v-overlay-anchor-origin": `${C.anchor.side} ${C.anchor.align}`, transformOrigin: `${C.origin.side} ${C.origin.align}`, top: ae(bl(G)), left: e.isRtl.value ? void 0 : ae(bl(O)), right: e.isRtl.value ? ae(bl(-O)) : void 0, minWidth: ae(P === "y" ? Math.min(a.value, m.width) : a.value), maxWidth: ae(jo(Gn(T.x, a.value === 1 / 0 ? 0 : a.value, u.value))), maxHeight: ae(jo(Gn(T.y, c.value === 1 / 0 ? 0 : c.value, s.value))) }), { available: T, contentBox: h }; } - return K([e.target, e.contentEl], (g, m) => { - let [h, b] = g, [S, A] = m; - S && !Array.isArray(S) && y.unobserve(S), h && !Array.isArray(h) && y.observe(h), A && y.unobserve(A), b && y.observe(b); - }, { immediate: !0 }), Ae(() => { + return K([e.target, e.contentEl], (m, h) => { + let [b, g] = m, [C, w] = h; + C && !Array.isArray(C) && y.unobserve(C), b && !Array.isArray(b) && y.observe(b), w && y.unobserve(w), g && y.observe(g); + }, { immediate: !0 }), He(() => { y.disconnect(); - }), K(() => [l.value, a.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => f()), Ie(() => { - const g = f(); - if (!g) + }), K(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => f()), Me(() => { + const m = f(); + if (!m) return; - const { available: m, contentBox: h } = g; - h.height > m.y && requestAnimationFrame(() => { + const { available: h, contentBox: b } = m; + b.height > h.y && requestAnimationFrame(() => { f(), requestAnimationFrame(() => { f(); }); }); }), { updateLocation: f }; -} }, Fr = Y({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in Ra }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); -function el(e) { +} }, Nr = H({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in ai }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); +function bl(e) { return Math.round(e * devicePixelRatio) / devicePixelRatio; } -function xo(e) { +function jo(e) { return Math.ceil(e * devicePixelRatio) / devicePixelRatio; } -let fl = !0; -const Dt = []; -let ko = -1; -function yl() { - cancelAnimationFrame(ko), ko = requestAnimationFrame(() => { - const e = Dt.shift(); - e && e(), Dt.length ? yl() : fl = !0; +let Pl = !0; +const tl = []; +let Go = -1; +function $l() { + cancelAnimationFrame(Go), Go = requestAnimationFrame(() => { + const e = tl.shift(); + e && e(), tl.length ? $l() : Pl = !0; }); } -const xt = { none: null, close: function(e) { - wo(e.targetEl.value ?? e.contentEl.value, function(t) { +const jt = { none: null, close: function(e) { + Uo(e.targetEl.value ?? e.contentEl.value, function(t) { e.isActive.value = !1; }); }, block: function(e, t) { + var u; + const n = (u = e.root.value) == null ? void 0 : u.offsetParent, l = [.../* @__PURE__ */ new Set([...Jt(e.targetEl.value, t.contained ? n : void 0), ...Jt(e.contentEl.value, t.contained ? n : void 0)])].filter((s) => !s.classList.contains("v-overlay-scroll-blocked")), o = window.innerWidth - document.documentElement.offsetWidth, a = (c = n || document.documentElement, Ul(c) && c); var c; - const n = (c = e.root.value) == null ? void 0 : c.offsetParent, l = [.../* @__PURE__ */ new Set([...Pt(e.targetEl.value, t.contained ? n : void 0), ...Pt(e.contentEl.value, t.contained ? n : void 0)])].filter((u) => !u.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, i = (d = n || document.documentElement, Fl(d) && d); - var d; - i && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((u, o) => { - u.style.setProperty("--v-body-scroll-x", le(-u.scrollLeft)), u.style.setProperty("--v-body-scroll-y", le(-u.scrollTop)), u !== document.documentElement && u.style.setProperty("--v-scrollbar-offset", le(a)), u.classList.add("v-overlay-scroll-blocked"); - }), Ae(() => { - l.forEach((u, o) => { - const s = parseFloat(u.style.getPropertyValue("--v-body-scroll-x")), y = parseFloat(u.style.getPropertyValue("--v-body-scroll-y")); - u.style.removeProperty("--v-body-scroll-x"), u.style.removeProperty("--v-body-scroll-y"), u.style.removeProperty("--v-scrollbar-offset"), u.classList.remove("v-overlay-scroll-blocked"), u.scrollLeft = -s, u.scrollTop = -y; - }), i && e.root.value.classList.remove("v-overlay--scroll-blocked"); + a && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((s, i) => { + s.style.setProperty("--v-body-scroll-x", ae(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", ae(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", ae(o)), s.classList.add("v-overlay-scroll-blocked"); + }), He(() => { + l.forEach((s, i) => { + const p = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), y = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")); + s.style.removeProperty("--v-body-scroll-x"), s.style.removeProperty("--v-body-scroll-y"), s.style.removeProperty("--v-scrollbar-offset"), s.classList.remove("v-overlay-scroll-blocked"), s.scrollLeft = -p, s.scrollTop = -y; + }), a && e.root.value.classList.remove("v-overlay--scroll-blocked"); }); }, reposition: function(e, t, n) { - let l = !1, a = -1, i = -1; - function d(c) { - var u; - u = () => { + let l = !1, o = -1, a = -1; + function c(u) { + var s; + s = () => { var y, f; - const o = performance.now(); - (f = (y = e.updateLocation).value) == null || f.call(y, c), l = (performance.now() - o) / (1e3 / 60) > 2; - }, !fl || Dt.length ? (Dt.push(u), yl()) : (fl = !1, u(), yl()); + const i = performance.now(); + (f = (y = e.updateLocation).value) == null || f.call(y, u), l = (performance.now() - i) / (1e3 / 60) > 2; + }, !Pl || tl.length ? (tl.push(s), $l()) : (Pl = !1, s(), $l()); } - i = (typeof requestIdleCallback > "u" ? (c) => c() : requestIdleCallback)(() => { + a = (typeof requestIdleCallback > "u" ? (u) => u() : requestIdleCallback)(() => { n.run(() => { - wo(e.targetEl.value ?? e.contentEl.value, (c) => { - l ? (cancelAnimationFrame(a), a = requestAnimationFrame(() => { - a = requestAnimationFrame(() => { - d(c); + Uo(e.targetEl.value ?? e.contentEl.value, (u) => { + l ? (cancelAnimationFrame(o), o = requestAnimationFrame(() => { + o = requestAnimationFrame(() => { + c(u); }); - })) : d(c); + })) : c(u); }); }); - }), Ae(() => { - typeof cancelIdleCallback < "u" && cancelIdleCallback(i), cancelAnimationFrame(a); + }), He(() => { + typeof cancelIdleCallback < "u" && cancelIdleCallback(a), cancelAnimationFrame(o); }); -} }, Vr = Y({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in xt } }, "VOverlay-scroll-strategies"); -function wo(e, t) { - const n = [document, ...Pt(e)]; +} }, jr = H({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in jt } }, "VOverlay-scroll-strategies"); +function Uo(e, t) { + const n = [document, ...Jt(e)]; n.forEach((l) => { l.addEventListener("scroll", t, { passive: !0 }); - }), Ae(() => { + }), He(() => { n.forEach((l) => { l.removeEventListener("scroll", t); }); }); } -const ml = Symbol.for("vuetify:v-menu"), Ar = Y({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), _r = Y({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...Ar() }, "VOverlay-activator"); -function Or(e, t) { +const El = Symbol.for("vuetify:v-menu"), Gr = H({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), Ur = H({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...Gr() }, "VOverlay-activator"); +function qr(e, t) { let { isActive: n, isTop: l } = t; - const a = Ce("useActivator"), i = W(); - let d = !1, c = !1, u = !0; - const o = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), s = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !o.value), { runOpenDelay: y, runCloseDelay: f } = function(C, F) { - const V = {}, N = (H) => () => { - if (!Pe) + const o = Le("useActivator"), a = D(); + let c = !1, u = !1, s = !0; + const i = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), p = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !i.value), { runOpenDelay: y, runCloseDelay: f } = function(I, F) { + const _ = {}, M = (N) => () => { + if (!Ke) return Promise.resolve(!0); - const E = H === "openDelay"; - return V.closeDelay && window.clearTimeout(V.closeDelay), delete V.closeDelay, V.openDelay && window.clearTimeout(V.openDelay), delete V.openDelay, new Promise((B) => { - const w = parseInt(C[H] ?? 0, 10); - V[H] = window.setTimeout(() => { - F == null || F(E), B(E); - }, w); + const k = N === "openDelay"; + return _.closeDelay && window.clearTimeout(_.closeDelay), delete _.closeDelay, _.openDelay && window.clearTimeout(_.openDelay), delete _.openDelay, new Promise((B) => { + const x = parseInt(I[N] ?? 0, 10); + _[N] = window.setTimeout(() => { + F == null || F(k), B(k); + }, x); }); }; - return { runCloseDelay: N("closeDelay"), runOpenDelay: N("openDelay") }; - }(e, (C) => { - C !== (e.openOnHover && d || o.value && c) || e.openOnHover && n.value && !l.value || (n.value !== C && (u = !0), n.value = C); - }), g = W(), m = (C) => { - C.stopPropagation(), i.value = C.currentTarget || C.target, n.value || (g.value = [C.clientX, C.clientY]), n.value = !n.value; - }, h = (C) => { + return { runCloseDelay: M("closeDelay"), runOpenDelay: M("openDelay") }; + }(e, (I) => { + I !== (e.openOnHover && c || i.value && u) || e.openOnHover && n.value && !l.value || (n.value !== I && (s = !0), n.value = I); + }), m = D(), h = (I) => { + I.stopPropagation(), a.value = I.currentTarget || I.target, n.value || (m.value = [I.clientX, I.clientY]), n.value = !n.value; + }, b = (I) => { var F; - (F = C.sourceCapabilities) != null && F.firesTouchEvents || (d = !0, i.value = C.currentTarget || C.target, y()); - }, b = (C) => { - d = !1, f(); - }, S = (C) => { - At(C.target, ":focus-visible") !== !1 && (c = !0, C.stopPropagation(), i.value = C.currentTarget || C.target, y()); - }, A = (C) => { - c = !1, C.stopPropagation(), f(); - }, $ = v(() => { - const C = {}; - return s.value && (C.onClick = m), e.openOnHover && (C.onMouseenter = h, C.onMouseleave = b), o.value && (C.onFocus = S, C.onBlur = A), C; - }), q = v(() => { - const C = {}; - if (e.openOnHover && (C.onMouseenter = () => { - d = !0, y(); - }, C.onMouseleave = () => { - d = !1, f(); - }), o.value && (C.onFocusin = () => { + (F = I.sourceCapabilities) != null && F.firesTouchEvents || (c = !0, a.value = I.currentTarget || I.target, y()); + }, g = (I) => { + c = !1, f(); + }, C = (I) => { + Yt(I.target, ":focus-visible") !== !1 && (u = !0, I.stopPropagation(), a.value = I.currentTarget || I.target, y()); + }, w = (I) => { + u = !1, I.stopPropagation(), f(); + }, O = v(() => { + const I = {}; + return p.value && (I.onClick = h), e.openOnHover && (I.onMouseenter = b, I.onMouseleave = g), i.value && (I.onFocus = C, I.onBlur = w), I; + }), G = v(() => { + const I = {}; + if (e.openOnHover && (I.onMouseenter = () => { c = !0, y(); - }, C.onFocusout = () => { + }, I.onMouseleave = () => { c = !1, f(); + }), i.value && (I.onFocusin = () => { + u = !0, y(); + }, I.onFocusout = () => { + u = !1, f(); }), e.closeOnContentClick) { - const F = se(ml, null); - C.onClick = () => { + const F = me(El, null); + I.onClick = () => { n.value = !1, F == null || F.closeParents(); }; } - return C; - }), D = v(() => { - const C = {}; - return e.openOnHover && (C.onMouseenter = () => { - u && (d = !0, u = !1, y()); - }, C.onMouseleave = () => { - d = !1, f(); - }), C; + return I; + }), T = v(() => { + const I = {}; + return e.openOnHover && (I.onMouseenter = () => { + s && (c = !0, s = !1, y()); + }, I.onMouseleave = () => { + c = !1, f(); + }), I; }); - K(l, (C) => { - !C || (!e.openOnHover || d || o.value && c) && (!o.value || c || e.openOnHover && d) || (n.value = !1); - }), K(n, (C) => { - C || setTimeout(() => { - g.value = void 0; + K(l, (I) => { + !I || (!e.openOnHover || c || i.value && u) && (!i.value || u || e.openOnHover && c) || (n.value = !1); + }), K(n, (I) => { + I || setTimeout(() => { + m.value = void 0; }); }, { flush: "post" }); - const z = W(); - Ne(() => { - z.value && Ie(() => { - i.value = wt(z.value); + const $ = D(); + rn(() => { + $.value && Me(() => { + a.value = Ut($.value); }); }); - const j = W(), T = v(() => e.target === "cursor" && g.value ? g.value : j.value ? wt(j.value) : Fo(e.target, a) || i.value), I = v(() => Array.isArray(T.value) ? void 0 : T.value); - let O; - return K(() => !!e.activator, (C) => { - C && Pe ? (O = bl(), O.run(() => { - (function(F, V, N) { - let { activatorEl: H, activatorEvents: E } = N; + const R = D(), P = v(() => e.target === "cursor" && m.value ? m.value : R.value ? Ut(R.value) : qo(e.target, o) || a.value), S = v(() => Array.isArray(P.value) ? void 0 : P.value); + let A; + return K(() => !!e.activator, (I) => { + I && Ke ? (A = Dl(), A.run(() => { + (function(F, _, M) { + let { activatorEl: N, activatorEvents: k } = M; function B() { - let R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : M(), U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; - R && function(P, G) { - Object.keys(G).forEach((_) => { - if (ol(_)) { - const x = Ul(_), k = ht.get(P); - if (G[_] == null) - k == null || k.forEach((L) => { - const [X, Q] = L; - X === x && (P.removeEventListener(x, Q), k.delete(L)); + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : V(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; + j && function(z, Q) { + Object.keys(Q).forEach((E) => { + if (Bl(E)) { + const U = co(E), W = Dt.get(z); + if (Q[E] == null) + W == null || W.forEach((q) => { + const [Y, ee] = q; + Y === U && (z.removeEventListener(U, ee), W.delete(q)); }); - else if (!k || ![...k].some((L) => L[0] === x && L[1] === G[_])) { - P.addEventListener(x, G[_]); - const L = k || /* @__PURE__ */ new Set(); - L.add([x, G[_]]), ht.has(P) || ht.set(P, L); + else if (!W || ![...W].some((q) => q[0] === U && q[1] === Q[E])) { + z.addEventListener(U, Q[E]); + const q = W || /* @__PURE__ */ new Set(); + q.add([U, Q[E]]), Dt.has(z) || Dt.set(z, q); } } else - G[_] == null ? P.removeAttribute(_) : P.setAttribute(_, G[_]); + Q[E] == null ? z.removeAttribute(E) : z.setAttribute(E, Q[E]); }); - }(R, Z(E.value, U)); + }(j, Z(k.value, L)); } - function w() { - let R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : M(), U = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; - R && function(P, G) { - Object.keys(G).forEach((_) => { - if (ol(_)) { - const x = Ul(_), k = ht.get(P); - k == null || k.forEach((L) => { - const [X, Q] = L; - X === x && (P.removeEventListener(x, Q), k.delete(L)); + function x() { + let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : V(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; + j && function(z, Q) { + Object.keys(Q).forEach((E) => { + if (Bl(E)) { + const U = co(E), W = Dt.get(z); + W == null || W.forEach((q) => { + const [Y, ee] = q; + Y === U && (z.removeEventListener(U, ee), W.delete(q)); }); } else - P.removeAttribute(_); + z.removeAttribute(E); }); - }(R, Z(E.value, U)); + }(j, Z(k.value, L)); } - function M() { - const R = Fo(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : F.activator, V); - return H.value = (R == null ? void 0 : R.nodeType) === Node.ELEMENT_NODE ? R : void 0, H.value; + function V() { + const j = qo(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : F.activator, _); + return N.value = (j == null ? void 0 : j.nodeType) === Node.ELEMENT_NODE ? j : void 0, N.value; } - K(() => F.activator, (R, U) => { - if (U && R !== U) { - const P = M(U); - P && w(P); + K(() => F.activator, (j, L) => { + if (L && j !== L) { + const z = V(L); + z && x(z); } - R && Ie(() => B()); + j && Me(() => B()); }, { immediate: !0 }), K(() => F.activatorProps, () => { B(); - }), Ae(() => { - w(); + }), He(() => { + x(); }); - })(e, a, { activatorEl: i, activatorEvents: $ }); - })) : O && O.stop(); - }, { flush: "post", immediate: !0 }), Ae(() => { - O == null || O.stop(); - }), { activatorEl: i, activatorRef: z, target: T, targetEl: I, targetRef: j, activatorEvents: $, contentEvents: q, scrimEvents: D }; -} -function Fo(e, t) { - var l, a; + })(e, o, { activatorEl: a, activatorEvents: O }); + })) : A && A.stop(); + }, { flush: "post", immediate: !0 }), He(() => { + A == null || A.stop(); + }), { activatorEl: a, activatorRef: $, target: P, targetEl: S, targetRef: R, activatorEvents: O, contentEvents: G, scrimEvents: T }; +} +function qo(e, t) { + var l, o; if (!e) return; let n; if (e === "parent") { - let i = (a = (l = t == null ? void 0 : t.proxy) == null ? void 0 : l.$el) == null ? void 0 : a.parentNode; - for (; i != null && i.hasAttribute("data-no-activator"); ) - i = i.parentNode; - n = i; + let a = (o = (l = t == null ? void 0 : t.proxy) == null ? void 0 : l.$el) == null ? void 0 : o.parentNode; + for (; a != null && a.hasAttribute("data-no-activator"); ) + a = a.parentNode; + n = a; } else n = typeof e == "string" ? document.querySelector(e) : "$el" in e ? e.$el : e; return n; } -const Pr = Symbol.for("vuetify:display"); -function Na() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ge(); - const n = se(Pr); +const Hr = Symbol.for("vuetify:display"); +function ii() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); + const n = me(Hr); if (!n) throw new Error("Could not find Vuetify display injection"); const l = v(() => { if (!e.mobileBreakpoint) return n.mobile.value; - const i = typeof e.mobileBreakpoint == "number" ? e.mobileBreakpoint : n.thresholds.value[e.mobileBreakpoint]; - return n.width.value < i; - }), a = v(() => t ? { [`${t}--mobile`]: l.value } : {}); - return { ...n, displayClasses: a, mobile: l }; -} -const $r = Y({ eager: Boolean }, "lazy"); -function ja() { - const e = Ce("useScopeId").vnode.scopeId; + const a = typeof e.mobileBreakpoint == "number" ? e.mobileBreakpoint : n.thresholds.value[e.mobileBreakpoint]; + return n.width.value < a; + }), o = v(() => t ? { [`${t}--mobile`]: l.value } : {}); + return { ...n, displayClasses: o, mobile: l }; +} +const Yr = H({ eager: Boolean }, "lazy"); +function ri() { + const e = Le("useScopeId").vnode.scopeId; return { scopeId: e ? { [e]: "" } : void 0 }; } -const Vo = Symbol.for("vuetify:stack"), Xn = Me([]); -function Er() { +const Ho = Symbol.for("vuetify:stack"), yt = ln([]); +function Xr() { return !0; } -function Ao(e, t, n) { - if (!e || Ga(e, n) === !1) +function Yo(e, t, n) { + if (!e || si(e, n) === !1) return !1; - const l = Ko(t); + const l = fa(t); if (typeof ShadowRoot < "u" && l instanceof ShadowRoot && l.host === e.target) return !1; - const a = (typeof n.value == "object" && n.value.include || (() => []))(); - return a.push(t), !a.some((i) => i == null ? void 0 : i.contains(e.target)); + const o = (typeof n.value == "object" && n.value.include || (() => []))(); + return o.push(t), !o.some((a) => a == null ? void 0 : a.contains(e.target)); } -function Ga(e, t) { - return (typeof t.value == "object" && t.value.closeConditional || Er)(e); +function si(e, t) { + return (typeof t.value == "object" && t.value.closeConditional || Xr)(e); } -function _o(e, t) { - const n = Ko(e); +function Xo(e, t) { + const n = fa(e); t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n); } -const Tr = { mounted(e, t) { - const n = (a) => function(i, d, c) { - const u = typeof c.value == "function" ? c.value : c.value.handler; - d._clickOutside.lastMousedownWasOutside && Ao(i, d, c) && setTimeout(() => { - Ga(i, c) && u && u(i); +const Kr = { mounted(e, t) { + const n = (o) => function(a, c, u) { + const s = typeof u.value == "function" ? u.value : u.value.handler; + c._clickOutside.lastMousedownWasOutside && Yo(a, c, u) && setTimeout(() => { + si(a, u) && s && s(a); }, 0); - }(a, e, t), l = (a) => { - e._clickOutside.lastMousedownWasOutside = Ao(a, e, t); + }(o, e, t), l = (o) => { + e._clickOutside.lastMousedownWasOutside = Yo(o, e, t); }; - _o(e, (a) => { - a.addEventListener("click", n, !0), a.addEventListener("mousedown", l, !0); + Xo(e, (o) => { + o.addEventListener("click", n, !0), o.addEventListener("mousedown", l, !0); }), e._clickOutside || (e._clickOutside = { lastMousedownWasOutside: !1 }), e._clickOutside[t.instance.$.uid] = { onClick: n, onMousedown: l }; }, unmounted(e, t) { - e._clickOutside && (_o(e, (n) => { - var i; - if (!n || !((i = e._clickOutside) != null && i[t.instance.$.uid])) + e._clickOutside && (Xo(e, (n) => { + var a; + if (!n || !((a = e._clickOutside) != null && a[t.instance.$.uid])) return; - const { onClick: l, onMousedown: a } = e._clickOutside[t.instance.$.uid]; - n.removeEventListener("click", l, !0), n.removeEventListener("mousedown", a, !0); + const { onClick: l, onMousedown: o } = e._clickOutside[t.instance.$.uid]; + n.removeEventListener("click", l, !0), n.removeEventListener("mousedown", o, !0); }), delete e._clickOutside[t.instance.$.uid]); } }; -function zr(e) { +function Jr(e) { const { modelValue: t, color: n, ...l } = e; - return p(cn, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && p("div", Z({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); -} -const qa = Y({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ..._r(), ...ue(), ...hn(), ...$r(), ...Fr(), ...Vr(), ...Be(), ...rt() }, "VOverlay"), Oo = ee()({ name: "VOverlay", directives: { ClickOutside: Tr }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...qa() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, t) { - var P, G; - let { slots: n, attrs: l, emit: a } = t; - const i = ge(e, "modelValue"), d = v({ get: () => i.value, set: (_) => { - _ && e.disabled || (i.value = _); - } }), { teleportTarget: c } = function(_) { + return d(An, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && d("div", Z({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); +} +const ui = H({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...Ur(), ...ye(), ...Dn(), ...Yr(), ...Nr(), ...jr(), ...Ne(), ...Vt() }, "VOverlay"), Ko = ne()({ name: "VOverlay", directives: { ClickOutside: Kr }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...ui() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, t) { + var z, Q; + let { slots: n, attrs: l, emit: o } = t; + const a = $e(e, "modelValue"), c = v({ get: () => a.value, set: (E) => { + E && e.disabled || (a.value = E); + } }), { teleportTarget: u } = function(E) { return { teleportTarget: v(() => { - const x = _.value; - if (x === !0 || !Pe) + const U = E.value; + if (U === !0 || !Ke) return; - const k = x === !1 ? document.body : typeof x == "string" ? document.querySelector(x) : x; - if (k == null) - return void Lt(`Unable to locate target ${x}`); - let L = k.querySelector(":scope > .v-overlay-container"); - return L || (L = document.createElement("div"), L.className = "v-overlay-container", k.appendChild(L)), L; + const W = U === !1 ? document.body : typeof U == "string" ? document.querySelector(U) : U; + if (W == null) + return void ll(`Unable to locate target ${U}`); + let q = W.querySelector(":scope > .v-overlay-container"); + return q || (q = document.createElement("div"), q.className = "v-overlay-container", W.appendChild(q)), q; }) }; - }(v(() => e.attach || e.contained)), { themeClasses: u } = Oe(e), { rtlClasses: o, isRtl: s } = it(), { hasContent: y, onAfterLeave: f } = function(_, x) { - const k = re(!1), L = v(() => k.value || _.eager || x.value); - return K(x, () => k.value = !0), { isBooted: k, hasContent: L, onAfterLeave: function() { - _.eager || (k.value = !1); + }(v(() => e.attach || e.contained)), { themeClasses: s } = Xe(e), { rtlClasses: i, isRtl: p } = Ft(), { hasContent: y, onAfterLeave: f } = function(E, U) { + const W = de(!1), q = v(() => W.value || E.eager || U.value); + return K(U, () => W.value = !0), { isBooted: W, hasContent: q, onAfterLeave: function() { + E.eager || (W.value = !1); } }; - }(e, d), g = wn(v(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: m, localTop: h, stackStyles: b } = function(_, x, k) { - const L = Ce("useStack"), X = !k, Q = se(Vo, void 0), ye = Me({ activeChildren: /* @__PURE__ */ new Set() }); - De(Vo, ye); - const Ve = re(+x.value); - un(_, () => { - var Hn; - const gt = (Hn = Xn.at(-1)) == null ? void 0 : Hn[1]; - Ve.value = gt ? gt + 10 : +x.value, X && Xn.push([L.uid, Ve.value]), Q == null || Q.activeChildren.add(L.uid), Ae(() => { - if (X) { - const ai = ln(Xn).findIndex((ii) => ii[0] === L.uid); - Xn.splice(ai, 1); + }(e, c), m = Un(v(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: h, localTop: b, stackStyles: g } = function(E, U, W) { + const q = Le("useStack"), Y = !W, ee = me(Ho, void 0), pe = ln({ activeChildren: /* @__PURE__ */ new Set() }); + nn(Ho, pe); + const be = de(+U.value); + Vn(E, () => { + var ke; + const Ve = (ke = yt.at(-1)) == null ? void 0 : ke[1]; + be.value = Ve ? Ve + 10 : +U.value, Y && yt.push([q.uid, be.value]), ee == null || ee.activeChildren.add(q.uid), He(() => { + if (Y) { + const Be = Sn(yt).findIndex((Oe) => Oe[0] === q.uid); + yt.splice(Be, 1); } - Q == null || Q.activeChildren.delete(L.uid); + ee == null || ee.activeChildren.delete(q.uid); }); }); - const xe = re(!0); - X && Ne(() => { - var Hn; - const gt = ((Hn = Xn.at(-1)) == null ? void 0 : Hn[0]) === L.uid; - setTimeout(() => xe.value = gt); + const ge = de(!0); + Y && rn(() => { + var ke; + const Ve = ((ke = yt.at(-1)) == null ? void 0 : ke[0]) === q.uid; + setTimeout(() => ge.value = Ve); }); - const oi = v(() => !ye.activeChildren.size); - return { globalTop: hl(xe), localTop: oi, stackStyles: v(() => ({ zIndex: Ve.value })) }; - }(d, te(e, "zIndex"), e._disableGlobalStack), { activatorEl: S, activatorRef: A, target: $, targetEl: q, targetRef: D, activatorEvents: z, contentEvents: j, scrimEvents: T } = Or(e, { isActive: d, isTop: h }), { dimensionStyles: I } = bn(e), O = function() { - if (!Pe) - return re(!1); - const { ssr: _ } = Na(); - if (_) { - const x = re(!1); - return An(() => { - x.value = !0; - }), x; + const We = v(() => !pe.activeChildren.size); + return { globalTop: zl(ge), localTop: We, stackStyles: v(() => ({ zIndex: be.value })) }; + }(c, oe(e, "zIndex"), e._disableGlobalStack), { activatorEl: C, activatorRef: w, target: O, targetEl: G, targetRef: T, activatorEvents: $, contentEvents: R, scrimEvents: P } = qr(e, { isActive: c, isTop: b }), { dimensionStyles: S } = Ln(e), A = function() { + if (!Ke) + return de(!1); + const { ssr: E } = ii(); + if (E) { + const U = de(!1); + return Yn(() => { + U.value = !0; + }), U; } - return re(!0); - }(), { scopeId: C } = ja(); - K(() => e.disabled, (_) => { - _ && (d.value = !1); + return de(!0); + }(), { scopeId: I } = ri(); + K(() => e.disabled, (E) => { + E && (c.value = !1); }); - const F = W(), V = W(), { contentStyles: N, updateLocation: H } = function(_, x) { - const k = W({}), L = W(); - function X(Q) { - var ye; - (ye = L.value) == null || ye.call(L, Q); + const F = D(), _ = D(), { contentStyles: M, updateLocation: N } = function(E, U) { + const W = D({}), q = D(); + function Y(ee) { + var pe; + (pe = q.value) == null || pe.call(q, ee); } - return Pe && un(() => !(!x.isActive.value || !_.locationStrategy), (Q) => { - var ye, Ve; - K(() => _.locationStrategy, Q), Ae(() => { - window.removeEventListener("resize", X), L.value = void 0; - }), window.addEventListener("resize", X, { passive: !0 }), typeof _.locationStrategy == "function" ? L.value = (ye = _.locationStrategy(x, _, k)) == null ? void 0 : ye.updateLocation : L.value = (Ve = Ra[_.locationStrategy](x, _, k)) == null ? void 0 : Ve.updateLocation; - }), { contentStyles: k, updateLocation: L }; - }(e, { isRtl: s, contentEl: V, target: $, isActive: d }); - function E(_) { - a("click:outside", _), e.persistent ? U() : d.value = !1; + return Ke && Vn(() => !(!U.isActive.value || !E.locationStrategy), (ee) => { + var pe, be; + K(() => E.locationStrategy, ee), He(() => { + window.removeEventListener("resize", Y), q.value = void 0; + }), window.addEventListener("resize", Y, { passive: !0 }), typeof E.locationStrategy == "function" ? q.value = (pe = E.locationStrategy(U, E, W)) == null ? void 0 : pe.updateLocation : q.value = (be = ai[E.locationStrategy](U, E, W)) == null ? void 0 : be.updateLocation; + }), { contentStyles: W, updateLocation: q }; + }(e, { isRtl: p, contentEl: _, target: O, isActive: c }); + function k(E) { + o("click:outside", E), e.persistent ? L() : c.value = !1; } function B() { - return d.value && m.value; + return c.value && h.value; } - function w(_) { - var x, k; - _.key === "Escape" && m.value && (e.persistent ? U() : (d.value = !1, (x = V.value) != null && x.contains(document.activeElement) && ((k = S.value) == null || k.focus()))); + function x(E) { + var U, W; + E.key === "Escape" && h.value && (e.persistent ? L() : (c.value = !1, (U = _.value) != null && U.contains(document.activeElement) && ((W = C.value) == null || W.focus()))); } - (function(_, x) { - if (!Pe) + (function(E, U) { + if (!Ke) return; - let k; - Ne(async () => { - k == null || k.stop(), x.isActive.value && _.scrollStrategy && (k = bl(), await Ie(), k.active && k.run(() => { - var L; - typeof _.scrollStrategy == "function" ? _.scrollStrategy(x, _, k) : (L = xt[_.scrollStrategy]) == null || L.call(xt, x, _, k); + let W; + rn(async () => { + W == null || W.stop(), U.isActive.value && E.scrollStrategy && (W = Dl(), await Me(), W.active && W.run(() => { + var q; + typeof E.scrollStrategy == "function" ? E.scrollStrategy(U, E, W) : (q = jt[E.scrollStrategy]) == null || q.call(jt, U, E, W); })); - }), Ae(() => { - k == null || k.stop(); + }), He(() => { + W == null || W.stop(); }); - })(e, { root: F, contentEl: V, targetEl: q, isActive: d, updateLocation: H }), Pe && K(d, (_) => { - _ ? window.addEventListener("keydown", w) : window.removeEventListener("keydown", w); + })(e, { root: F, contentEl: _, targetEl: G, isActive: c, updateLocation: N }), Ke && K(c, (E) => { + E ? window.addEventListener("keydown", x) : window.removeEventListener("keydown", x); }, { immediate: !0 }); - const M = (G = (P = Ce("useRouter")) == null ? void 0 : P.proxy) == null ? void 0 : G.$router; - un(() => e.closeOnBack, () => { - (function(_, x) { - let k, L, X = !1; - function Q(ye) { - var Ve; - (Ve = ye.state) != null && Ve.replaced || (X = !0, setTimeout(() => X = !1)); + const V = (Q = (z = Le("useRouter")) == null ? void 0 : z.proxy) == null ? void 0 : Q.$router; + Vn(() => e.closeOnBack, () => { + (function(E, U) { + let W, q, Y = !1; + function ee(pe) { + var be; + (be = pe.state) != null && be.replaced || (Y = !0, setTimeout(() => Y = !1)); } - Pe && (Ie(() => { - window.addEventListener("popstate", Q), k = _ == null ? void 0 : _.beforeEach((ye, Ve, xe) => { - Zt ? X ? x(xe) : xe() : setTimeout(() => X ? x(xe) : xe()), Zt = !0; - }), L = _ == null ? void 0 : _.afterEach(() => { - Zt = !1; + Ke && (Me(() => { + window.addEventListener("popstate", ee), W = E == null ? void 0 : E.beforeEach((pe, be, ge) => { + gl ? Y ? U(ge) : ge() : setTimeout(() => Y ? U(ge) : ge()), gl = !0; + }), q = E == null ? void 0 : E.afterEach(() => { + gl = !1; }); - }), Ae(() => { - window.removeEventListener("popstate", Q), k == null || k(), L == null || L(); + }), He(() => { + window.removeEventListener("popstate", ee), W == null || W(), q == null || q(); })); - })(M, (_) => { - m.value && d.value ? (_(!1), e.persistent ? U() : d.value = !1) : _(); + })(V, (E) => { + h.value && c.value ? (E(!1), e.persistent ? L() : c.value = !1) : E(); }); }); - const R = W(); - function U() { - e.noClickAnimation || V.value && xn(V.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Ot }); - } - return K(() => d.value && (e.absolute || e.contained) && c.value == null, (_) => { - if (_) { - const x = Zo(F.value); - x && x !== document.scrollingElement && (R.value = x.scrollTop); + const j = D(); + function L() { + e.noClickAnimation || _.value && jn(_.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Kt }); + } + return K(() => c.value && (e.absolute || e.contained) && u.value == null, (E) => { + if (E) { + const U = ma(F.value); + U && U !== document.scrollingElement && (j.value = U.scrollTop); } - }), ae(() => { - var _; - return p(fe, null, [(_ = n.activator) == null ? void 0 : _.call(n, { isActive: d.value, props: Z({ ref: A, targetRef: D }, z.value, e.activatorProps) }), O.value && y.value && p(vn, { disabled: !c.value, to: c.value }, { default: () => [p("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": d.value, "v-overlay--contained": e.contained }, u.value, o.value, e.class], style: [b.value, { top: le(R.value) }, e.style], ref: F }, C, l), [p(zr, Z({ color: g, modelValue: d.value && !!e.scrim }, T.value), null), p(tn, { appear: !0, persisted: !0, transition: e.transition, target: $.value, onAfterLeave: () => { - f(), a("afterLeave"); + }), se(() => { + var E; + return d(Fe, null, [(E = n.activator) == null ? void 0 : E.call(n, { isActive: c.value, props: Z({ ref: w, targetRef: T }, $.value, e.activatorProps) }), A.value && y.value && d(Pn, { disabled: !u.value, to: u.value }, { default: () => [d("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": c.value, "v-overlay--contained": e.contained }, s.value, i.value, e.class], style: [g.value, { top: ae(j.value) }, e.style], ref: F }, I, l), [d(Jr, Z({ color: m, modelValue: c.value && !!e.scrim }, P.value), null), d(In, { appear: !0, persisted: !0, transition: e.transition, target: O.value, onAfterLeave: () => { + f(), o("afterLeave"); } }, { default: () => { - var x; - return [Fe(p("div", Z({ ref: V, class: ["v-overlay__content", e.contentClass], style: [I.value, N.value] }, j.value, e.contentProps), [(x = n.default) == null ? void 0 : x.call(n, { isActive: d })]), [[Vn, d.value], [Ze("click-outside"), { handler: E, closeConditional: B, include: () => [S.value] }]])]; + var U; + return [Ue(d("div", Z({ ref: _, class: ["v-overlay__content", e.contentClass], style: [S.value, M.value] }, R.value, e.contentProps), [(U = n.default) == null ? void 0 : U.call(n, { isActive: c })]), [[Hn, c.value], [gn("click-outside"), { handler: k, closeConditional: B, include: () => [C.value] }]])]; } })])] })]); - }), { activatorEl: S, target: $, animateClick: U, contentEl: V, globalTop: m, localTop: h, updateLocation: H }; -} }), nl = Symbol("Forwarded refs"); -function tl(e, t) { + }), { activatorEl: C, target: O, animateClick: L, contentEl: _, globalTop: h, localTop: b, updateLocation: N }; +} }), Cl = Symbol("Forwarded refs"); +function Il(e, t) { let n = e; for (; n; ) { const l = Reflect.getOwnPropertyDescriptor(n, t); @@ -2446,626 +2446,626 @@ function tl(e, t) { n = Object.getPrototypeOf(n); } } -function Gt(e) { +function sl(e) { for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++) n[l - 1] = arguments[l]; - return e[nl] = n, new Proxy(e, { get(a, i) { - if (Reflect.has(a, i)) - return Reflect.get(a, i); - if (typeof i != "symbol" && !i.startsWith("$") && !i.startsWith("__")) { - for (const d of n) - if (d.value && Reflect.has(d.value, i)) { - const c = Reflect.get(d.value, i); - return typeof c == "function" ? c.bind(d.value) : c; + return e[Cl] = n, new Proxy(e, { get(o, a) { + if (Reflect.has(o, a)) + return Reflect.get(o, a); + if (typeof a != "symbol" && !a.startsWith("$") && !a.startsWith("__")) { + for (const c of n) + if (c.value && Reflect.has(c.value, a)) { + const u = Reflect.get(c.value, a); + return typeof u == "function" ? u.bind(c.value) : u; } } - }, has(a, i) { - if (Reflect.has(a, i)) + }, has(o, a) { + if (Reflect.has(o, a)) return !0; - if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) + if (typeof a == "symbol" || a.startsWith("$") || a.startsWith("__")) return !1; - for (const d of n) - if (d.value && Reflect.has(d.value, i)) + for (const c of n) + if (c.value && Reflect.has(c.value, a)) return !0; return !1; - }, set(a, i, d) { - if (Reflect.has(a, i)) - return Reflect.set(a, i, d); - if (typeof i == "symbol" || i.startsWith("$") || i.startsWith("__")) + }, set(o, a, c) { + if (Reflect.has(o, a)) + return Reflect.set(o, a, c); + if (typeof a == "symbol" || a.startsWith("$") || a.startsWith("__")) return !1; - for (const c of n) - if (c.value && Reflect.has(c.value, i)) - return Reflect.set(c.value, i, d); + for (const u of n) + if (u.value && Reflect.has(u.value, a)) + return Reflect.set(u.value, a, c); return !1; - }, getOwnPropertyDescriptor(a, i) { - var c; - const d = Reflect.getOwnPropertyDescriptor(a, i); - if (d) - return d; - if (typeof i != "symbol" && !i.startsWith("$") && !i.startsWith("__")) { - for (const u of n) { - if (!u.value) + }, getOwnPropertyDescriptor(o, a) { + var u; + const c = Reflect.getOwnPropertyDescriptor(o, a); + if (c) + return c; + if (typeof a != "symbol" && !a.startsWith("$") && !a.startsWith("__")) { + for (const s of n) { + if (!s.value) continue; - const o = tl(u.value, i) ?? ("_" in u.value ? tl((c = u.value._) == null ? void 0 : c.setupState, i) : void 0); - if (o) - return o; + const i = Il(s.value, a) ?? ("_" in s.value ? Il((u = s.value._) == null ? void 0 : u.setupState, a) : void 0); + if (i) + return i; } - for (const u of n) { - const o = u.value && u.value[nl]; - if (!o) + for (const s of n) { + const i = s.value && s.value[Cl]; + if (!i) continue; - const s = o.slice(); - for (; s.length; ) { - const y = s.shift(), f = tl(y.value, i); + const p = i.slice(); + for (; p.length; ) { + const y = p.shift(), f = Il(y.value, a); if (f) return f; - const g = y.value && y.value[nl]; - g && s.push(...g); + const m = y.value && y.value[Cl]; + m && p.push(...m); } } } } }); } -const Dr = Y({ id: String, ...gn(qa({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: ta } }), ["absolute"]) }, "VMenu"), Lr = ee()({ name: "VMenu", props: Dr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { +const Zr = H({ id: String, ...zn(ui({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: Ca } }), ["absolute"]) }, "VMenu"), Qr = ne()({ name: "VMenu", props: Zr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const l = ge(e, "modelValue"), { scopeId: a } = ja(), i = We(), d = v(() => e.id || `v-menu-${i}`), c = W(), u = se(ml, null), o = re(0); - async function s(h) { - var A, $, q; - const b = h.relatedTarget, S = h.target; - await Ie(), l.value && b !== S && ((A = c.value) != null && A.contentEl) && (($ = c.value) != null && $.globalTop) && ![document, c.value.contentEl].includes(S) && !c.value.contentEl.contains(S) && ((q = al(c.value.contentEl)[0]) == null || q.focus()); + const l = $e(e, "modelValue"), { scopeId: o } = ri(), a = tn(), c = v(() => e.id || `v-menu-${a}`), u = D(), s = me(El, null), i = de(0); + async function p(b) { + var w, O, G; + const g = b.relatedTarget, C = b.target; + await Me(), l.value && g !== C && ((w = u.value) != null && w.contentEl) && ((O = u.value) != null && O.globalTop) && ![document, u.value.contentEl].includes(C) && !u.value.contentEl.contains(C) && ((G = xl(u.value.contentEl)[0]) == null || G.focus()); } function y() { - u == null || u.closeParents(); + s == null || s.closeParents(); } - function f(h) { - var b, S, A; - !e.disabled && h.key === "Tab" && (qo(al((b = c.value) == null ? void 0 : b.contentEl, !1), h.shiftKey ? "prev" : "next", ($) => $.tabIndex >= 0) || (l.value = !1, (A = (S = c.value) == null ? void 0 : S.activatorEl) == null || A.focus())); + function f(b) { + var g, C, w; + !e.disabled && b.key === "Tab" && (ua(xl((g = u.value) == null ? void 0 : g.contentEl, !1), b.shiftKey ? "prev" : "next", (O) => O.tabIndex >= 0) || (l.value = !1, (w = (C = u.value) == null ? void 0 : C.activatorEl) == null || w.focus())); } - function g(h) { - var S; + function m(b) { + var C; if (e.disabled) return; - const b = (S = c.value) == null ? void 0 : S.contentEl; - b && l.value ? h.key === "ArrowDown" ? (h.preventDefault(), Vt(b, "next")) : h.key === "ArrowUp" && (h.preventDefault(), Vt(b, "prev")) : ["ArrowDown", "ArrowUp"].includes(h.key) && (l.value = !0, h.preventDefault(), setTimeout(() => setTimeout(() => g(h)))); + const g = (C = u.value) == null ? void 0 : C.contentEl; + g && l.value ? b.key === "ArrowDown" ? (b.preventDefault(), Ht(g, "next")) : b.key === "ArrowUp" && (b.preventDefault(), Ht(g, "prev")) : ["ArrowDown", "ArrowUp"].includes(b.key) && (l.value = !0, b.preventDefault(), setTimeout(() => setTimeout(() => m(b)))); } - De(ml, { register() { - ++o.value; + nn(El, { register() { + ++i.value; }, unregister() { - --o.value; + --i.value; }, closeParents() { setTimeout(() => { - o.value || (l.value = !1, u == null || u.closeParents()); + i.value || (l.value = !1, s == null || s.closeParents()); }, 40); - } }), K(l, (h) => { - h ? (u == null || u.register(), document.addEventListener("focusin", s, { once: !0 })) : (u == null || u.unregister(), document.removeEventListener("focusin", s)); + } }), K(l, (b) => { + b ? (s == null || s.register(), document.addEventListener("focusin", p, { once: !0 })) : (s == null || s.unregister(), document.removeEventListener("focusin", p)); }); - const m = v(() => Z({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": d.value, onKeydown: g }, e.activatorProps)); - return ae(() => { - const h = Oo.filterProps(e); - return p(Oo, Z({ ref: c, class: ["v-menu", e.class], style: e.style }, h, { modelValue: l.value, "onUpdate:modelValue": (b) => l.value = b, absolute: !0, activatorProps: m.value, "onClick:outside": y, onKeydown: f }, a), { activator: n.activator, default: function() { - for (var b = arguments.length, S = new Array(b), A = 0; A < b; A++) - S[A] = arguments[A]; - return p(ke, { root: "VMenu" }, { default: () => { - var $; - return [($ = n.default) == null ? void 0 : $.call(n, ...S)]; + const h = v(() => Z({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": c.value, onKeydown: m }, e.activatorProps)); + return se(() => { + const b = Ko.filterProps(e); + return d(Ko, Z({ ref: u, class: ["v-menu", e.class], style: e.style }, b, { modelValue: l.value, "onUpdate:modelValue": (g) => l.value = g, absolute: !0, activatorProps: h.value, "onClick:outside": y, onKeydown: f }, o), { activator: n.activator, default: function() { + for (var g = arguments.length, C = new Array(g), w = 0; w < g; w++) + C[w] = arguments[w]; + return d(je, { root: "VMenu" }, { default: () => { + var O; + return [(O = n.default) == null ? void 0 : O.call(n, ...C)]; } }); } }); - }), Gt({ id: d, ΨopenChildren: o }, c); -} }), Wr = Y({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ue(), ...rt({ transition: { component: la } }) }, "VCounter"), Ua = ee()({ name: "VCounter", functional: !0, props: Wr(), setup(e, t) { + }), sl({ id: c, ΨopenChildren: i }, u); +} }), es = H({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ye(), ...Vt({ transition: { component: Ia } }) }, "VCounter"), ci = ne()({ name: "VCounter", functional: !0, props: es(), setup(e, t) { let { slots: n } = t; const l = v(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); - return ae(() => p(tn, { transition: e.transition }, { default: () => [Fe(p("div", { class: ["v-counter", e.class], style: e.style }, [n.default ? n.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Vn, e.active]])] })), {}; -} }), Mr = Y({ floating: Boolean, ...ue() }, "VFieldLabel"), It = ee()({ name: "VFieldLabel", props: Mr(), setup(e, t) { + return se(() => d(In, { transition: e.transition }, { default: () => [Ue(d("div", { class: ["v-counter", e.class], style: e.style }, [n.default ? n.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Hn, e.active]])] })), {}; +} }), ns = H({ floating: Boolean, ...ye() }, "VFieldLabel"), Mt = ne()({ name: "VFieldLabel", props: ns(), setup(e, t) { let { slots: n } = t; - return ae(() => p(xa, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; -} }), Rr = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Dl = Y({ appendInnerIcon: de, bgColor: String, clearable: Boolean, clearIcon: { type: de, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: de, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => Rr.includes(e) }, "onClick:clear": Re(), "onClick:appendInner": Re(), "onClick:prependInner": Re(), ...ue(), ...El(), ...Qe(), ...Be() }, "VField"), Ll = ee()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Aa(), ...Dl() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: a } = t; - const { themeClasses: i } = Oe(e), { loaderClasses: d } = Rt(e), { focusClasses: c, isFocused: u, focus: o, blur: s } = vt(e), { InputIcon: y } = Va(e), { roundedClasses: f } = en(e), { rtlClasses: g } = it(), m = v(() => e.dirty || e.active), h = v(() => !(e.singleLine || !e.label && !a.label)), b = We(), S = v(() => e.id || `input-${b}`), A = v(() => `${S.value}-messages`), $ = W(), q = W(), D = W(), z = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: j, backgroundColorStyles: T } = wn(te(e, "bgColor")), { textColorClasses: I, textColorStyles: O } = Ke(v(() => e.error || e.disabled ? void 0 : m.value && u.value ? e.color : e.baseColor)); - K(m, (V) => { - if (h.value) { - const N = $.value.$el, H = q.value.$el; + return se(() => d(Na, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; +} }), ts = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], no = H({ appendInnerIcon: Ce, bgColor: String, clearable: Boolean, clearIcon: { type: Ce, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: Ce, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => ts.includes(e) }, "onClick:clear": an(), "onClick:appendInner": an(), "onClick:prependInner": an(), ...ye(), ...Zl(), ...hn(), ...Ne() }, "VField"), to = ne()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Ha(), ...no() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: o } = t; + const { themeClasses: a } = Xe(e), { loaderClasses: c } = al(e), { focusClasses: u, isFocused: s, focus: i, blur: p } = Et(e), { InputIcon: y } = qa(e), { roundedClasses: f } = bn(e), { rtlClasses: m } = Ft(), h = v(() => e.dirty || e.active), b = v(() => !(e.singleLine || !e.label && !o.label)), g = tn(), C = v(() => e.id || `input-${g}`), w = v(() => `${C.value}-messages`), O = D(), G = D(), T = D(), $ = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: R, backgroundColorStyles: P } = Un(oe(e, "bgColor")), { textColorClasses: S, textColorStyles: A } = yn(v(() => e.error || e.disabled ? void 0 : h.value && s.value ? e.color : e.baseColor)); + K(h, (_) => { + if (b.value) { + const M = O.value.$el, N = G.value.$el; requestAnimationFrame(() => { - const E = kl(N), B = H.getBoundingClientRect(), w = B.x - E.x, M = B.y - E.y - (E.height / 2 - B.height / 2), R = B.width / 0.75, U = Math.abs(R - E.width) > 1 ? { maxWidth: le(R) } : void 0, P = getComputedStyle(N), G = getComputedStyle(H), _ = 1e3 * parseFloat(P.transitionDuration) || 150, x = parseFloat(G.getPropertyValue("--v-field-label-scale")), k = G.getPropertyValue("color"); - N.style.visibility = "visible", H.style.visibility = "hidden", xn(N, { transform: `translate(${w}px, ${M}px) scale(${x})`, color: k, ...U }, { duration: _, easing: Ot, direction: V ? "normal" : "reverse" }).finished.then(() => { - N.style.removeProperty("visibility"), H.style.removeProperty("visibility"); + const k = jl(M), B = N.getBoundingClientRect(), x = B.x - k.x, V = B.y - k.y - (k.height / 2 - B.height / 2), j = B.width / 0.75, L = Math.abs(j - k.width) > 1 ? { maxWidth: ae(j) } : void 0, z = getComputedStyle(M), Q = getComputedStyle(N), E = 1e3 * parseFloat(z.transitionDuration) || 150, U = parseFloat(Q.getPropertyValue("--v-field-label-scale")), W = Q.getPropertyValue("color"); + M.style.visibility = "visible", N.style.visibility = "hidden", jn(M, { transform: `translate(${x}px, ${V}px) scale(${U})`, color: W, ...L }, { duration: E, easing: Kt, direction: _ ? "normal" : "reverse" }).finished.then(() => { + M.style.removeProperty("visibility"), N.style.removeProperty("visibility"); }); }); } }, { flush: "post" }); - const C = v(() => ({ isActive: m, isFocused: u, controlRef: D, blur: s, focus: o })); - function F(V) { - V.target !== document.activeElement && V.preventDefault(); - } - return ae(() => { - var w, M, R; - const V = e.variant === "outlined", N = a["prepend-inner"] || e.prependInnerIcon, H = !(!e.clearable && !a.clear), E = !!(a["append-inner"] || e.appendInnerIcon || H), B = () => a.label ? a.label({ ...C.value, label: e.label, props: { for: S.value } }) : e.label; - return p("div", Z({ class: ["v-field", { "v-field--active": m.value, "v-field--appended": E, "v-field--center-affix": e.centerAffix ?? !z.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": N, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !B(), [`v-field--variant-${e.variant}`]: !0 }, i.value, j.value, c.value, d.value, f.value, g.value, e.class], style: [T.value, e.style], onClick: F }, n), [p("div", { class: "v-field__overlay" }, null), p(Tl, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: a.loader }), N && p("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && p(y, { key: "prepend-icon", name: "prependInner" }, null), (w = a["prepend-inner"]) == null ? void 0 : w.call(a, C.value)]), p("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && h.value && p(It, { key: "floating-label", ref: q, class: [I.value], floating: !0, for: S.value, style: O.value }, { default: () => [B()] }), p(It, { ref: $, for: S.value }, { default: () => [B()] }), (M = a.default) == null ? void 0 : M.call(a, { ...C.value, props: { id: S.value, class: "v-field__input", "aria-describedby": A.value }, focus: o, blur: s })]), H && p(oa, { key: "clear" }, { default: () => [Fe(p("div", { class: "v-field__clearable", onMousedown: (U) => { - U.preventDefault(), U.stopPropagation(); - } }, [a.clear ? a.clear() : p(y, { name: "clear" }, null)]), [[Vn, e.dirty]])] }), E && p("div", { key: "append", class: "v-field__append-inner" }, [(R = a["append-inner"]) == null ? void 0 : R.call(a, C.value), e.appendInnerIcon && p(y, { key: "append-icon", name: "appendInner" }, null)]), p("div", { class: ["v-field__outline", I.value], style: O.value }, [V && p(fe, null, [p("div", { class: "v-field__outline__start" }, null), h.value && p("div", { class: "v-field__outline__notch" }, [p(It, { ref: q, floating: !0, for: S.value }, { default: () => [B()] })]), p("div", { class: "v-field__outline__end" }, null)]), z.value && h.value && p(It, { ref: q, floating: !0, for: S.value }, { default: () => [B()] })])]); - }), { controlRef: D }; + const I = v(() => ({ isActive: h, isFocused: s, controlRef: T, blur: p, focus: i })); + function F(_) { + _.target !== document.activeElement && _.preventDefault(); + } + return se(() => { + var x, V, j; + const _ = e.variant === "outlined", M = o["prepend-inner"] || e.prependInnerIcon, N = !(!e.clearable && !o.clear), k = !!(o["append-inner"] || e.appendInnerIcon || N), B = () => o.label ? o.label({ ...I.value, label: e.label, props: { for: C.value } }) : e.label; + return d("div", Z({ class: ["v-field", { "v-field--active": h.value, "v-field--appended": k, "v-field--center-affix": e.centerAffix ?? !$.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": M, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !B(), [`v-field--variant-${e.variant}`]: !0 }, a.value, R.value, u.value, c.value, f.value, m.value, e.class], style: [P.value, e.style], onClick: F }, n), [d("div", { class: "v-field__overlay" }, null), d(Ql, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: o.loader }), M && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (x = o["prepend-inner"]) == null ? void 0 : x.call(o, I.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && b.value && d(Mt, { key: "floating-label", ref: G, class: [S.value], floating: !0, for: C.value, style: A.value }, { default: () => [B()] }), d(Mt, { ref: O, for: C.value }, { default: () => [B()] }), (V = o.default) == null ? void 0 : V.call(o, { ...I.value, props: { id: C.value, class: "v-field__input", "aria-describedby": w.value }, focus: i, blur: p })]), N && d(Sa, { key: "clear" }, { default: () => [Ue(d("div", { class: "v-field__clearable", onMousedown: (L) => { + L.preventDefault(), L.stopPropagation(); + } }, [o.clear ? o.clear() : d(y, { name: "clear" }, null)]), [[Hn, e.dirty]])] }), k && d("div", { key: "append", class: "v-field__append-inner" }, [(j = o["append-inner"]) == null ? void 0 : j.call(o, I.value), e.appendInnerIcon && d(y, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", S.value], style: A.value }, [_ && d(Fe, null, [d("div", { class: "v-field__outline__start" }, null), b.value && d("div", { class: "v-field__outline__notch" }, [d(Mt, { ref: G, floating: !0, for: C.value }, { default: () => [B()] })]), d("div", { class: "v-field__outline__end" }, null)]), $.value && b.value && d(Mt, { ref: G, floating: !0, for: C.value }, { default: () => [B()] })])]); + }), { controlRef: T }; } }); -function Ha(e) { - return Ro(e, Object.keys(Ll.props).filter((t) => !ol(t) && t !== "class" && t !== "style")); -} -const Nr = ["color", "file", "time", "date", "datetime-local", "week", "month"], Ya = Y({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...ft(), ...Dl() }, "VTextField"), gl = ee()({ name: "VTextField", directives: { Intersect: _l }, inheritAttrs: !1, props: Ya(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: a } = t; - const i = ge(e, "modelValue"), { isFocused: d, focus: c, blur: u } = vt(e), o = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), s = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = v(() => ["plain", "underlined"].includes(e.variant)); - function f(z, j) { - var T, I; - e.autofocus && z && ((I = (T = j[0].target) == null ? void 0 : T.focus) == null || I.call(T)); - } - const g = W(), m = W(), h = W(), b = v(() => Nr.includes(e.type) || e.persistentPlaceholder || d.value || e.active); - function S() { - var z; - h.value !== document.activeElement && ((z = h.value) == null || z.focus()), d.value || c(); - } - function A(z) { - l("mousedown:control", z), z.target !== h.value && (S(), z.preventDefault()); - } - function $(z) { - S(), l("click:control", z); - } - function q(z) { - z.stopPropagation(), S(), Ie(() => { - i.value = null, Go(e["onClick:clear"], z); +function di(e) { + return aa(e, Object.keys(to.props).filter((t) => !Bl(t) && t !== "class" && t !== "style")); +} +const ls = ["color", "file", "time", "date", "datetime-local", "week", "month"], pi = H({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...Tt(), ...no() }, "VTextField"), Tl = ne()({ name: "VTextField", directives: { Intersect: Yl }, inheritAttrs: !1, props: pi(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: o } = t; + const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = Et(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : typeof e.counterValue == "number" ? e.counterValue : (a.value ?? "").toString().length), p = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = v(() => ["plain", "underlined"].includes(e.variant)); + function f($, R) { + var P, S; + e.autofocus && $ && ((S = (P = R[0].target) == null ? void 0 : P.focus) == null || S.call(P)); + } + const m = D(), h = D(), b = D(), g = v(() => ls.includes(e.type) || e.persistentPlaceholder || c.value || e.active); + function C() { + var $; + b.value !== document.activeElement && (($ = b.value) == null || $.focus()), c.value || u(); + } + function w($) { + l("mousedown:control", $), $.target !== b.value && (C(), $.preventDefault()); + } + function O($) { + C(), l("click:control", $); + } + function G($) { + $.stopPropagation(), C(), Me(() => { + a.value = null, sa(e["onClick:clear"], $); }); } - function D(z) { - var T; - const j = z.target; - if (i.value = j.value, ((T = e.modelModifiers) == null ? void 0 : T.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { - const I = [j.selectionStart, j.selectionEnd]; - Ie(() => { - j.selectionStart = I[0], j.selectionEnd = I[1]; + function T($) { + var P; + const R = $.target; + if (a.value = R.value, ((P = e.modelModifiers) == null ? void 0 : P.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { + const S = [R.selectionStart, R.selectionEnd]; + Me(() => { + R.selectionStart = S[0], R.selectionEnd = S[1]; }); } } - return ae(() => { - const z = !!(a.counter || e.counter !== !1 && e.counter != null), j = !(!z && !a.details), [T, I] = ot(n), { modelValue: O, ...C } = on.filterProps(e), F = Ha(e); - return p(on, Z({ ref: g, modelValue: i.value, "onUpdate:modelValue": (V) => i.value = V, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": y.value }, e.class], style: e.style }, T, C, { centerAffix: !y.value, focused: d.value }), { ...a, default: (V) => { - let { id: N, isDisabled: H, isDirty: E, isReadonly: B, isValid: w } = V; - return p(Ll, Z({ ref: m, onMousedown: A, onClick: $, "onClick:clear": q, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, F, { id: N.value, active: b.value || E.value, dirty: E.value || e.dirty, disabled: H.value, focused: d.value, error: w.value === !1 }), { ...a, default: (M) => { - let { props: { class: R, ...U } } = M; - const P = Fe(p("input", Z({ ref: h, value: i.value, onInput: D, autofocus: e.autofocus, readonly: B.value, disabled: H.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: S, onBlur: u }, U, I), null), [[Ze("intersect"), { handler: f }, null, { once: !0 }]]); - return p(fe, null, [e.prefix && p("span", { class: "v-text-field__prefix" }, [p("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), a.default ? p("div", { class: R, "data-no-activator": "" }, [a.default(), P]) : vi(P, { class: R }), e.suffix && p("span", { class: "v-text-field__suffix" }, [p("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); + return se(() => { + const $ = !!(o.counter || e.counter !== !1 && e.counter != null), R = !(!$ && !o.details), [P, S] = kt(n), { modelValue: A, ...I } = Bn.filterProps(e), F = di(e); + return d(Bn, Z({ ref: m, modelValue: a.value, "onUpdate:modelValue": (_) => a.value = _, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": y.value }, e.class], style: e.style }, P, I, { centerAffix: !y.value, focused: c.value }), { ...o, default: (_) => { + let { id: M, isDisabled: N, isDirty: k, isReadonly: B, isValid: x } = _; + return d(to, Z({ ref: h, onMousedown: w, onClick: O, "onClick:clear": G, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, F, { id: M.value, active: g.value || k.value, dirty: k.value || e.dirty, disabled: N.value, focused: c.value, error: x.value === !1 }), { ...o, default: (V) => { + let { props: { class: j, ...L } } = V; + const z = Ue(d("input", Z({ ref: b, value: a.value, onInput: T, autofocus: e.autofocus, readonly: B.value, disabled: N.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: C, onBlur: s }, L, S), null), [[gn("intersect"), { handler: f }, null, { once: !0 }]]); + return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), o.default ? d("div", { class: j, "data-no-activator": "" }, [o.default(), z]) : Vi(z, { class: j }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); } }); - }, details: j ? (V) => { - var N; - return p(fe, null, [(N = a.details) == null ? void 0 : N.call(a, V), z && p(fe, null, [p("span", null, null), p(Ua, { active: e.persistentCounter || d.value, value: o.value, max: s.value }, a.counter)])]); + }, details: R ? (_) => { + var M; + return d(Fe, null, [(M = o.details) == null ? void 0 : M.call(o, _), $ && d(Fe, null, [d("span", null, null), d(ci, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); } : void 0 }); - }), Gt({}, g, m, h); -} }), jr = Y({ renderless: Boolean, ...ue() }, "VVirtualScrollItem"), Gr = ee()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: jr(), emits: { "update:height": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: a } = t; - const { resizeRef: i, contentRect: d } = Vl(void 0, "border"); + }), sl({}, m, h, b); +} }), os = H({ renderless: Boolean, ...ye() }, "VVirtualScrollItem"), as = ne()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: os(), emits: { "update:height": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: o } = t; + const { resizeRef: a, contentRect: c } = ql(void 0, "border"); K(() => { - var c; - return (c = d.value) == null ? void 0 : c.height; - }, (c) => { - c != null && l("update:height", c); - }), ae(() => { - var c, u; - return e.renderless ? p(fe, null, [(c = a.default) == null ? void 0 : c.call(a, { itemRef: i })]) : p("div", Z({ ref: i, class: ["v-virtual-scroll__item", e.class], style: e.style }, n), [(u = a.default) == null ? void 0 : u.call(a)]); + var u; + return (u = c.value) == null ? void 0 : u.height; + }, (u) => { + u != null && l("update:height", u); + }), se(() => { + var u, s; + return e.renderless ? d(Fe, null, [(u = o.default) == null ? void 0 : u.call(o, { itemRef: a })]) : d("div", Z({ ref: a, class: ["v-virtual-scroll__item", e.class], style: e.style }, n), [(s = o.default) == null ? void 0 : s.call(o)]); }); -} }), qr = Y({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); -function Ur(e, t) { - const n = Na(), l = re(0); - Ne(() => { +} }), is = H({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); +function rs(e, t) { + const n = ii(), l = de(0); + rn(() => { l.value = parseFloat(e.itemHeight || 0); }); - const a = re(0), i = re(Math.ceil((parseInt(e.height) || n.height.value) / (l.value || 16)) || 1), d = re(0), c = re(0), u = W(), o = W(); - let s = 0; - const { resizeRef: y, contentRect: f } = Vl(); - Ne(() => { - y.value = u.value; + const o = de(0), a = de(Math.ceil((parseInt(e.height) || n.height.value) / (l.value || 16)) || 1), c = de(0), u = de(0), s = D(), i = D(); + let p = 0; + const { resizeRef: y, contentRect: f } = ql(); + rn(() => { + y.value = s.value; }); - const g = v(() => { - var E; - return u.value === document.documentElement ? n.height.value : ((E = f.value) == null ? void 0 : E.height) || parseInt(e.height) || 0; - }), m = v(() => !!(u.value && o.value && g.value && l.value)); - let h = Array.from({ length: t.value.length }), b = Array.from({ length: t.value.length }); - const S = re(0); - let A = -1; - function $(E) { - return h[E] || l.value; - } - const q = function(E, B) { - let w = 0; - const M = function() { - for (var R = arguments.length, U = new Array(R), P = 0; P < R; P++) - U[P] = arguments[P]; - clearTimeout(w), w = setTimeout(() => E(...U), r(B)); + const m = v(() => { + var k; + return s.value === document.documentElement ? n.height.value : ((k = f.value) == null ? void 0 : k.height) || parseInt(e.height) || 0; + }), h = v(() => !!(s.value && i.value && m.value && l.value)); + let b = Array.from({ length: t.value.length }), g = Array.from({ length: t.value.length }); + const C = de(0); + let w = -1; + function O(k) { + return b[k] || l.value; + } + const G = function(k, B) { + let x = 0; + const V = function() { + for (var j = arguments.length, L = new Array(j), z = 0; z < j; z++) + L[z] = arguments[z]; + clearTimeout(x), x = setTimeout(() => k(...L), r(B)); }; - return M.clear = () => { - clearTimeout(w); - }, M.immediate = E, M; + return V.clear = () => { + clearTimeout(x); + }, V.immediate = k, V; }(() => { - const E = performance.now(); - b[0] = 0; + const k = performance.now(); + g[0] = 0; const B = t.value.length; - for (let w = 1; w <= B - 1; w++) - b[w] = (b[w - 1] || 0) + $(w - 1); - S.value = Math.max(S.value, performance.now() - E); - }, S), D = K(m, (E) => { - E && (D(), s = o.value.offsetTop, q.immediate(), F(), ~A && Ie(() => { - Pe && window.requestAnimationFrame(() => { - N(A), A = -1; + for (let x = 1; x <= B - 1; x++) + g[x] = (g[x - 1] || 0) + O(x - 1); + C.value = Math.max(C.value, performance.now() - k); + }, C), T = K(h, (k) => { + k && (T(), p = i.value.offsetTop, G.immediate(), F(), ~w && Me(() => { + Ke && window.requestAnimationFrame(() => { + M(w), w = -1; }); })); }); - function z(E) { - return E = kn(E, 0, t.value.length - 1), b[E] || 0; - } - function j(E) { - return function(B, w) { - let M = B.length - 1, R = 0, U = 0, P = null, G = -1; - if (B[M] < w) - return M; - for (; R <= M; ) - if (U = R + M >> 1, P = B[U], P > w) - M = U - 1; + function $(k) { + return k = Gn(k, 0, t.value.length - 1), g[k] || 0; + } + function R(k) { + return function(B, x) { + let V = B.length - 1, j = 0, L = 0, z = null, Q = -1; + if (B[V] < x) + return V; + for (; j <= V; ) + if (L = j + V >> 1, z = B[L], z > x) + V = L - 1; else { - if (!(P < w)) - return P === w ? U : R; - G = U, R = U + 1; + if (!(z < x)) + return z === x ? L : j; + Q = L, j = L + 1; } - return G; - }(b, E); + return Q; + }(g, k); } - K(g, (E, B) => { + K(m, (k, B) => { B && F(); - }), Ae(() => { - q.clear(); + }), He(() => { + G.clear(); }); - let T = 0, I = 0, O = 0, C = -1; + let P = 0, S = 0, A = 0, I = -1; function F() { - cancelAnimationFrame(C), C = requestAnimationFrame(V); + cancelAnimationFrame(I), I = requestAnimationFrame(_); } - function V() { - if (!u.value || !g.value) + function _() { + if (!s.value || !m.value) return; - const E = T - s, B = Math.sign(I), w = kn(j(Math.max(0, E - 100)), 0, t.value.length), M = kn(j(E + g.value + 100) + 1, w + 1, t.value.length); - if ((B !== -1 || w < a.value) && (B !== 1 || M > i.value)) { - const R = z(a.value) - z(w), U = z(M) - z(i.value); - Math.max(R, U) > 100 ? (a.value = w, i.value = M) : (w <= 0 && (a.value = w), M >= t.value.length && (i.value = M)); + const k = P - p, B = Math.sign(S), x = Gn(R(Math.max(0, k - 100)), 0, t.value.length), V = Gn(R(k + m.value + 100) + 1, x + 1, t.value.length); + if ((B !== -1 || x < o.value) && (B !== 1 || V > a.value)) { + const j = $(o.value) - $(x), L = $(V) - $(a.value); + Math.max(j, L) > 100 ? (o.value = x, a.value = V) : (x <= 0 && (o.value = x), V >= t.value.length && (a.value = V)); } - d.value = z(a.value), c.value = z(t.value.length) - z(i.value); + c.value = $(o.value), u.value = $(t.value.length) - $(a.value); } - function N(E) { - const B = z(E); - !u.value || E && !B ? A = E : u.value.scrollTop = B; + function M(k) { + const B = $(k); + !s.value || k && !B ? w = k : s.value.scrollTop = B; } - const H = v(() => t.value.slice(a.value, i.value).map((E, B) => ({ raw: E, index: B + a.value }))); + const N = v(() => t.value.slice(o.value, a.value).map((k, B) => ({ raw: k, index: B + o.value }))); return K(t, () => { - h = Array.from({ length: t.value.length }), b = Array.from({ length: t.value.length }), q.immediate(), F(); - }, { deep: !0 }), { containerRef: u, markerRef: o, computedItems: H, paddingTop: d, paddingBottom: c, scrollToIndex: N, handleScroll: function() { - if (!u.value || !o.value) + b = Array.from({ length: t.value.length }), g = Array.from({ length: t.value.length }), G.immediate(), F(); + }, { deep: !0 }), { containerRef: s, markerRef: i, computedItems: N, paddingTop: c, paddingBottom: u, scrollToIndex: M, handleScroll: function() { + if (!s.value || !i.value) return; - const E = u.value.scrollTop, B = performance.now(); - B - O > 500 ? (I = Math.sign(E - T), s = o.value.offsetTop) : I = E - T, T = E, O = B, F(); + const k = s.value.scrollTop, B = performance.now(); + B - A > 500 ? (S = Math.sign(k - P), p = i.value.offsetTop) : S = k - P, P = k, A = B, F(); }, handleScrollend: function() { - u.value && o.value && (I = 0, O = 0, F()); - }, handleItemResize: function(E, B) { - const w = h[E], M = l.value; - l.value = M ? Math.min(l.value, B) : B, w === B && M === l.value || (h[E] = B, q()); + s.value && i.value && (S = 0, A = 0, F()); + }, handleItemResize: function(k, B) { + const x = b[k], V = l.value; + l.value = V ? Math.min(l.value, B) : B, x === B && V === l.value || (b[k] = B, G()); } }; } -const Hr = Y({ items: { type: Array, default: () => [] }, renderless: Boolean, ...qr(), ...ue(), ...hn() }, "VVirtualScroll"), Yr = ee()({ name: "VVirtualScroll", props: Hr(), setup(e, t) { +const ss = H({ items: { type: Array, default: () => [] }, renderless: Boolean, ...is(), ...ye(), ...Dn() }, "VVirtualScroll"), us = ne()({ name: "VVirtualScroll", props: ss(), setup(e, t) { let { slots: n } = t; - const l = Ce("VVirtualScroll"), { dimensionStyles: a } = bn(e), { containerRef: i, markerRef: d, handleScroll: c, handleScrollend: u, handleItemResize: o, scrollToIndex: s, paddingTop: y, paddingBottom: f, computedItems: g } = Ur(e, te(e, "items")); - return un(() => e.renderless, () => { - function m() { - var b, S; - const h = arguments.length > 0 && arguments[0] !== void 0 && arguments[0] ? "addEventListener" : "removeEventListener"; - i.value === document.documentElement ? (document[h]("scroll", c, { passive: !0 }), document[h]("scrollend", u)) : ((b = i.value) == null || b[h]("scroll", c, { passive: !0 }), (S = i.value) == null || S[h]("scrollend", u)); + const l = Le("VVirtualScroll"), { dimensionStyles: o } = Ln(e), { containerRef: a, markerRef: c, handleScroll: u, handleScrollend: s, handleItemResize: i, scrollToIndex: p, paddingTop: y, paddingBottom: f, computedItems: m } = rs(e, oe(e, "items")); + return Vn(() => e.renderless, () => { + function h() { + var g, C; + const b = arguments.length > 0 && arguments[0] !== void 0 && arguments[0] ? "addEventListener" : "removeEventListener"; + a.value === document.documentElement ? (document[b]("scroll", u, { passive: !0 }), document[b]("scrollend", s)) : ((g = a.value) == null || g[b]("scroll", u, { passive: !0 }), (C = a.value) == null || C[b]("scrollend", s)); } - An(() => { - i.value = Zo(l.vnode.el, !0), m(!0); - }), Ae(m); - }), ae(() => { - const m = g.value.map((h) => p(Gr, { key: h.index, renderless: e.renderless, "onUpdate:height": (b) => o(h.index, b) }, { default: (b) => { - var S; - return (S = n.default) == null ? void 0 : S.call(n, { item: h.raw, index: h.index, ...b }); + Yn(() => { + a.value = ma(l.vnode.el, !0), h(!0); + }), He(h); + }), se(() => { + const h = m.value.map((b) => d(as, { key: b.index, renderless: e.renderless, "onUpdate:height": (g) => i(b.index, g) }, { default: (g) => { + var C; + return (C = n.default) == null ? void 0 : C.call(n, { item: b.raw, index: b.index, ...g }); } })); - return e.renderless ? p(fe, null, [p("div", { ref: d, class: "v-virtual-scroll__spacer", style: { paddingTop: le(y.value) } }, null), m, p("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: le(f.value) } }, null)]) : p("div", { ref: i, class: ["v-virtual-scroll", e.class], onScrollPassive: c, onScrollend: u, style: [a.value, e.style] }, [p("div", { ref: d, class: "v-virtual-scroll__container", style: { paddingTop: le(y.value), paddingBottom: le(f.value) } }, [m])]); - }), { scrollToIndex: s }; + return e.renderless ? d(Fe, null, [d("div", { ref: c, class: "v-virtual-scroll__spacer", style: { paddingTop: ae(y.value) } }, null), h, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: ae(f.value) } }, null)]) : d("div", { ref: a, class: ["v-virtual-scroll", e.class], onScrollPassive: u, onScrollend: s, style: [o.value, e.style] }, [d("div", { ref: c, class: "v-virtual-scroll__container", style: { paddingTop: ae(y.value), paddingBottom: ae(f.value) } }, [h])]); + }), { scrollToIndex: p }; } }); -function Xr(e, t) { - const n = re(!1); +function cs(e, t) { + const n = de(!1); let l; - return { onListScroll: function(a) { + return { onListScroll: function(o) { cancelAnimationFrame(l), n.value = !0, l = requestAnimationFrame(() => { l = requestAnimationFrame(() => { n.value = !1; }); }); - }, onListKeydown: async function(a) { - var c, u; - if (a.key === "Tab" && ((c = t.value) == null || c.focus()), !["PageDown", "PageUp", "Home", "End"].includes(a.key)) + }, onListKeydown: async function(o) { + var u, s; + if (o.key === "Tab" && ((u = t.value) == null || u.focus()), !["PageDown", "PageUp", "Home", "End"].includes(o.key)) return; - const i = (u = e.value) == null ? void 0 : u.$el; - if (!i) + const a = (s = e.value) == null ? void 0 : s.$el; + if (!a) return; - a.key !== "Home" && a.key !== "End" || i.scrollTo({ top: a.key === "Home" ? 0 : i.scrollHeight, behavior: "smooth" }), await async function() { - await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => requestAnimationFrame(o)), await new Promise((o) => { + o.key !== "Home" && o.key !== "End" || a.scrollTo({ top: o.key === "Home" ? 0 : a.scrollHeight, behavior: "smooth" }), await async function() { + await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => { if (n.value) { - const s = K(n, () => { - s(), o(); + const p = K(n, () => { + p(), i(); }); } else - o(); + i(); }); }(); - const d = i.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"); - if (a.key === "PageDown" || a.key === "Home") { - const o = i.getBoundingClientRect().top; - for (const s of d) - if (s.getBoundingClientRect().top >= o) { - s.focus(); + const c = a.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)"); + if (o.key === "PageDown" || o.key === "Home") { + const i = a.getBoundingClientRect().top; + for (const p of c) + if (p.getBoundingClientRect().top >= i) { + p.focus(); break; } } else { - const o = i.getBoundingClientRect().bottom; - for (const s of [...d].reverse()) - if (s.getBoundingClientRect().bottom <= o) { - s.focus(); + const i = a.getBoundingClientRect().bottom; + for (const p of [...c].reverse()) + if (p.getBoundingClientRect().bottom <= i) { + p.focus(); break; } } } }; } -const Kr = Y({ chips: Boolean, closableChips: Boolean, closeText: { type: String, default: "$vuetify.close" }, openText: { type: String, default: "$vuetify.open" }, eager: Boolean, hideNoData: Boolean, hideSelected: Boolean, menu: Boolean, menuIcon: { type: de, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...La({ itemChildren: !1 }) }, "Select"), Jr = Y({ ...Kr(), ...gn(Ya({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...rt({ transition: { component: ta } }) }, "VSelect"), Zr = ee()({ name: "VSelect", props: Jr(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, t) { +const ds = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String, default: "$vuetify.close" }, openText: { type: String, default: "$vuetify.open" }, eager: Boolean, hideNoData: Boolean, hideSelected: Boolean, menu: Boolean, menuIcon: { type: Ce, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...ti({ itemChildren: !1 }) }, "Select"), ps = H({ ...ds(), ...zn(pi({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...Vt({ transition: { component: Ca } }) }, "VSelect"), vs = ne()({ name: "VSelect", props: ps(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, t) { let { slots: n } = t; - const { t: l } = Al(), a = W(), i = W(), d = W(), c = ge(e, "menu"), u = v({ get: () => c.value, set: (B) => { - var w; - c.value && !B && ((w = i.value) != null && w.ΨopenChildren) || (c.value = B); - } }), { items: o, transformIn: s, transformOut: y } = function(B) { - const w = v(() => Wa(B, B.items)), M = v(() => w.value.some((R) => R.value === null)); - return { items: w, transformIn: function(R) { - return M.value || (R = R.filter((U) => U !== null)), R.map((U) => B.returnObject && typeof U == "string" ? vl(B, U) : w.value.find((P) => B.valueComparator(U, P.value)) || vl(B, U)); - }, transformOut: function(R) { - return B.returnObject ? R.map((U) => { - let { raw: P } = U; - return P; - }) : R.map((U) => { - let { value: P } = U; - return P; + const { t: l } = Hl(), o = D(), a = D(), c = D(), u = $e(e, "menu"), s = v({ get: () => u.value, set: (B) => { + var x; + u.value && !B && ((x = a.value) != null && x.ΨopenChildren) || (u.value = B); + } }), { items: i, transformIn: p, transformOut: y } = function(B) { + const x = v(() => li(B, B.items)), V = v(() => x.value.some((j) => j.value === null)); + return { items: x, transformIn: function(j) { + return V.value || (j = j.filter((L) => L !== null)), j.map((L) => B.returnObject && typeof L == "string" ? Ol(B, L) : x.value.find((z) => B.valueComparator(L, z.value)) || Ol(B, L)); + }, transformOut: function(j) { + return B.returnObject ? j.map((L) => { + let { raw: z } = L; + return z; + }) : j.map((L) => { + let { value: z } = L; + return z; }); } }; - }(e), f = ge(e, "modelValue", [], (B) => s(B === null ? [null] : He(B)), (B) => { - const w = y(B); - return e.multiple ? w : w[0] ?? null; - }), g = v(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length), m = _a(), h = v(() => f.value.map((B) => B.value)), b = re(!1), S = v(() => u.value ? e.closeText : e.openText); - let A, $ = ""; - const q = v(() => e.hideSelected ? o.value.filter((B) => !f.value.some((w) => w === B)) : o.value), D = v(() => e.hideNoData && !o.value.length || e.readonly || (m == null ? void 0 : m.isReadonly.value)), z = W(), { onListScroll: j, onListKeydown: T } = Xr(z, a); - function I(B) { - e.openOnClear && (u.value = !0); - } - function O() { - D.value || (u.value = !u.value); + }(e), f = $e(e, "modelValue", [], (B) => p(B === null ? [null] : pn(B)), (B) => { + const x = y(B); + return e.multiple ? x : x[0] ?? null; + }), m = v(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length), h = Ya(), b = v(() => f.value.map((B) => B.value)), g = de(!1), C = v(() => s.value ? e.closeText : e.openText); + let w, O = ""; + const G = v(() => e.hideSelected ? i.value.filter((B) => !f.value.some((x) => x === B)) : i.value), T = v(() => e.hideNoData && !i.value.length || e.readonly || (h == null ? void 0 : h.isReadonly.value)), $ = D(), { onListScroll: R, onListKeydown: P } = cs($, o); + function S(B) { + e.openOnClear && (s.value = !0); + } + function A() { + T.value || (s.value = !s.value); } - function C(B) { - var R, U; - if (!B.key || e.readonly || m != null && m.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(B.key) && B.preventDefault(), ["Enter", "ArrowDown", " "].includes(B.key) && (u.value = !0), ["Escape", "Tab"].includes(B.key) && (u.value = !1), B.key === "Home" ? (R = z.value) == null || R.focus("first") : B.key === "End" && ((U = z.value) == null || U.focus("last")), e.multiple || !function(P) { - const G = P.key.length === 1, _ = !P.ctrlKey && !P.metaKey && !P.altKey; - return G && _; + function I(B) { + var j, L; + if (!B.key || e.readonly || h != null && h.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(B.key) && B.preventDefault(), ["Enter", "ArrowDown", " "].includes(B.key) && (s.value = !0), ["Escape", "Tab"].includes(B.key) && (s.value = !1), B.key === "Home" ? (j = $.value) == null || j.focus("first") : B.key === "End" && ((L = $.value) == null || L.focus("last")), e.multiple || !function(z) { + const Q = z.key.length === 1, E = !z.ctrlKey && !z.metaKey && !z.altKey; + return Q && E; }(B))) return; - const w = performance.now(); - w - A > 1e3 && ($ = ""), $ += B.key.toLowerCase(), A = w; - const M = o.value.find((P) => P.title.toLowerCase().startsWith($)); - M !== void 0 && (f.value = [M]); + const x = performance.now(); + x - w > 1e3 && (O = ""), O += B.key.toLowerCase(), w = x; + const V = i.value.find((z) => z.title.toLowerCase().startsWith(O)); + V !== void 0 && (f.value = [V]); } function F(B) { if (e.multiple) { - const w = f.value.findIndex((M) => e.valueComparator(M.value, B.value)); - if (w === -1) + const x = f.value.findIndex((V) => e.valueComparator(V.value, B.value)); + if (x === -1) f.value = [...f.value, B]; else { - const M = [...f.value]; - M.splice(w, 1), f.value = M; + const V = [...f.value]; + V.splice(x, 1), f.value = V; } } else - f.value = [B], u.value = !1; + f.value = [B], s.value = !1; } - function V(B) { - var w; - (w = z.value) != null && w.$el.contains(B.relatedTarget) || (u.value = !1); + function _(B) { + var x; + (x = $.value) != null && x.$el.contains(B.relatedTarget) || (s.value = !1); } - function N() { + function M() { var B; - b.value && ((B = a.value) == null || B.focus()); + g.value && ((B = o.value) == null || B.focus()); } - function H(B) { - b.value = !0; + function N(B) { + g.value = !0; } - function E(B) { + function k(B) { if (B == null) f.value = []; - else if (At(a.value, ":autofill") || At(a.value, ":-webkit-autofill")) { - const w = o.value.find((M) => M.title === B); - w && F(w); + else if (Yt(o.value, ":autofill") || Yt(o.value, ":-webkit-autofill")) { + const x = i.value.find((V) => V.title === B); + x && F(x); } else - a.value && (a.value.value = ""); - } - return K(u, () => { - if (!e.hideSelected && u.value && f.value.length) { - const B = q.value.findIndex((w) => f.value.some((M) => e.valueComparator(M.value, w.value))); - Pe && window.requestAnimationFrame(() => { - var w; - B >= 0 && ((w = d.value) == null || w.scrollToIndex(B)); + o.value && (o.value.value = ""); + } + return K(s, () => { + if (!e.hideSelected && s.value && f.value.length) { + const B = G.value.findIndex((x) => f.value.some((V) => e.valueComparator(V.value, x.value))); + Ke && window.requestAnimationFrame(() => { + var x; + B >= 0 && ((x = c.value) == null || x.scrollToIndex(B)); }); } - }), ae(() => { - const B = !(!e.chips && !n.chip), w = !!(!e.hideNoData || q.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), M = f.value.length > 0, R = gl.filterProps(e), U = M || !b.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; - return p(gl, Z({ ref: a }, R, { modelValue: f.value.map((P) => P.props.value).join(", "), "onUpdate:modelValue": E, focused: b.value, "onUpdate:focused": (P) => b.value = P, validationValue: f.externalValue, counterValue: g.value, dirty: M, class: ["v-select", { "v-select--active-menu": u.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": f.value.length, "v-select--selection-slot": !!n.selection }, e.class], style: e.style, inputmode: "none", placeholder: U, "onClick:clear": I, "onMousedown:control": O, onBlur: V, onKeydown: C, "aria-label": l(S.value), title: l(S.value) }), { ...n, default: () => p(fe, null, [p(Lr, Z({ ref: i, modelValue: u.value, "onUpdate:modelValue": (P) => u.value = P, activator: "parent", contentClass: "v-select__content", disabled: D.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: N }, e.menuProps), { default: () => [w && p(wr, { ref: z, selected: h.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (P) => P.preventDefault(), onKeydown: T, onFocusin: H, onScrollPassive: j, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { - var P, G, _; - return [(P = n["prepend-item"]) == null ? void 0 : P.call(n), !q.value.length && !e.hideNoData && (((G = n["no-data"]) == null ? void 0 : G.call(n)) ?? p(zt, { title: l(e.noDataText) }, null)), p(Yr, { ref: d, renderless: !0, items: q.value }, { default: (x) => { - var ye; - let { item: k, index: L, itemRef: X } = x; - const Q = Z(k.props, { ref: X, key: L, onClick: () => F(k) }); - return ((ye = n.item) == null ? void 0 : ye.call(n, { item: k, index: L, props: Q })) ?? p(zt, Z(Q, { role: "option" }), { prepend: (Ve) => { - let { isSelected: xe } = Ve; - return p(fe, null, [e.multiple && !e.hideSelected ? p(cl, { key: k.value, modelValue: xe, ripple: !1, tabindex: "-1" }, null) : void 0, k.props.prependIcon && p(pe, { icon: k.props.prependIcon }, null)]); + }), se(() => { + const B = !(!e.chips && !n.chip), x = !!(!e.hideNoData || G.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), V = f.value.length > 0, j = Tl.filterProps(e), L = V || !g.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; + return d(Tl, Z({ ref: o }, j, { modelValue: f.value.map((z) => z.props.value).join(", "), "onUpdate:modelValue": k, focused: g.value, "onUpdate:focused": (z) => g.value = z, validationValue: f.externalValue, counterValue: m.value, dirty: V, class: ["v-select", { "v-select--active-menu": s.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": f.value.length, "v-select--selection-slot": !!n.selection }, e.class], style: e.style, inputmode: "none", placeholder: L, "onClick:clear": S, "onMousedown:control": A, onBlur: _, onKeydown: I, "aria-label": l(C.value), title: l(C.value) }), { ...n, default: () => d(Fe, null, [d(Qr, Z({ ref: a, modelValue: s.value, "onUpdate:modelValue": (z) => s.value = z, activator: "parent", contentClass: "v-select__content", disabled: T.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: M }, e.menuProps), { default: () => [x && d(Rr, { ref: $, selected: b.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (z) => z.preventDefault(), onKeydown: P, onFocusin: N, onScrollPassive: R, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { + var z, Q, E; + return [(z = n["prepend-item"]) == null ? void 0 : z.call(n), !G.value.length && !e.hideNoData && (((Q = n["no-data"]) == null ? void 0 : Q.call(n)) ?? d(nl, { title: l(e.noDataText) }, null)), d(us, { ref: c, renderless: !0, items: G.value }, { default: (U) => { + var pe; + let { item: W, index: q, itemRef: Y } = U; + const ee = Z(W.props, { ref: Y, key: q, onClick: () => F(W) }); + return ((pe = n.item) == null ? void 0 : pe.call(n, { item: W, index: q, props: ee })) ?? d(nl, Z(ee, { role: "option" }), { prepend: (be) => { + let { isSelected: ge } = be; + return d(Fe, null, [e.multiple && !e.hideSelected ? d(Vl, { key: W.value, modelValue: ge, ripple: !1, tabindex: "-1" }, null) : void 0, W.props.prependIcon && d(Se, { icon: W.props.prependIcon }, null)]); } }); - } }), (_ = n["append-item"]) == null ? void 0 : _.call(n)]; - } })] }), f.value.map((P, G) => { - const _ = { "onClick:close": function(L) { - L.stopPropagation(), L.preventDefault(), F(P); - }, onMousedown(L) { - L.preventDefault(), L.stopPropagation(); - }, modelValue: !0, "onUpdate:modelValue": void 0 }, x = B ? !!n.chip : !!n.selection, k = x ? Uo(B ? n.chip({ item: P, index: G, props: _ }) : n.selection({ item: P, index: G })) : void 0; - if (!x || k) - return p("div", { key: P.value, class: "v-select__selection" }, [B ? n.chip ? p(ke, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: P.title } } }, { default: () => [k] }) : p(ur, Z({ key: "chip", closable: e.closableChips, size: "small", text: P.title, disabled: P.props.disabled }, _), null) : k ?? p("span", { class: "v-select__selection-text" }, [P.title, e.multiple && G < f.value.length - 1 && p("span", { class: "v-select__selection-comma" }, [Lo(",")])])]); + } }), (E = n["append-item"]) == null ? void 0 : E.call(n)]; + } })] }), f.value.map((z, Q) => { + const E = { "onClick:close": function(q) { + q.stopPropagation(), q.preventDefault(), F(z); + }, onMousedown(q) { + q.preventDefault(), q.stopPropagation(); + }, modelValue: !0, "onUpdate:modelValue": void 0 }, U = B ? !!n.chip : !!n.selection, W = U ? ca(B ? n.chip({ item: z, index: Q, props: E }) : n.selection({ item: z, index: Q })) : void 0; + if (!U || W) + return d("div", { key: z.value, class: "v-select__selection" }, [B ? n.chip ? d(je, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: z.title } } }, { default: () => [W] }) : d(xr, Z({ key: "chip", closable: e.closableChips, size: "small", text: z.title, disabled: z.props.disabled }, E), null) : W ?? d("span", { class: "v-select__selection-text" }, [z.title, e.multiple && Q < f.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [ta(",")])])]); })]), "append-inner": function() { - var x; - for (var P = arguments.length, G = new Array(P), _ = 0; _ < P; _++) - G[_] = arguments[_]; - return p(fe, null, [(x = n["append-inner"]) == null ? void 0 : x.call(n, ...G), e.menuIcon ? p(pe, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); + var U; + for (var z = arguments.length, Q = new Array(z), E = 0; E < z; E++) + Q[E] = arguments[E]; + return d(Fe, null, [(U = n["append-inner"]) == null ? void 0 : U.call(n, ...Q), e.menuIcon ? d(Se, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); } }); - }), Gt({ isFocused: b, menu: u, select: F }, a); -} }), Qr = ee()({ name: "VCardActions", props: ue(), setup(e, t) { + }), sl({ isFocused: g, menu: s, select: F }, o); +} }), fs = ne()({ name: "VCardActions", props: ye(), setup(e, t) { let { slots: n } = t; - return Tn({ VBtn: { slim: !0, variant: "text" } }), ae(() => { + return et({ VBtn: { slim: !0, variant: "text" } }), se(() => { var l; - return p("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = n.default) == null ? void 0 : l.call(n)]); + return d("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = n.default) == null ? void 0 : l.call(n)]); }), {}; -} }), es = at("v-card-subtitle"), ns = at("v-card-title"), ts = Y({ appendAvatar: String, appendIcon: de, prependAvatar: String, prependIcon: de, subtitle: [String, Number], title: [String, Number], ...ue(), ...qe() }, "VCardItem"), ls = ee()({ name: "VCardItem", props: ts(), setup(e, t) { +} }), ys = wt("v-card-subtitle"), ms = wt("v-card-title"), gs = H({ appendAvatar: String, appendIcon: Ce, prependAvatar: String, prependIcon: Ce, subtitle: [String, Number], title: [String, Number], ...ye(), ...cn() }, "VCardItem"), hs = ne()({ name: "VCardItem", props: gs(), setup(e, t) { let { slots: n } = t; - return ae(() => { - var o; - const l = !(!e.prependAvatar && !e.prependIcon), a = !(!l && !n.prepend), i = !(!e.appendAvatar && !e.appendIcon), d = !(!i && !n.append), c = !(e.title == null && !n.title), u = !(e.subtitle == null && !n.subtitle); - return p("div", { class: ["v-card-item", e.class], style: e.style }, [a && p("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? p(ke, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && p(Fn, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), p("div", { class: "v-card-item__content" }, [c && p(ns, { key: "title" }, { default: () => { - var s; - return [((s = n.title) == null ? void 0 : s.call(n)) ?? e.title]; - } }), u && p(es, { key: "subtitle" }, { default: () => { - var s; - return [((s = n.subtitle) == null ? void 0 : s.call(n)) ?? e.subtitle]; - } }), (o = n.default) == null ? void 0 : o.call(n)]), d && p("div", { key: "append", class: "v-card-item__append" }, [n.append ? p(ke, { key: "append-defaults", disabled: !i, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : i && p(Fn, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); + return se(() => { + var i; + const l = !(!e.prependAvatar && !e.prependIcon), o = !(!l && !n.prepend), a = !(!e.appendAvatar && !e.appendIcon), c = !(!a && !n.append), u = !(e.title == null && !n.title), s = !(e.subtitle == null && !n.subtitle); + return d("div", { class: ["v-card-item", e.class], style: e.style }, [o && d("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? d(je, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && d(qn, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [u && d(ms, { key: "title" }, { default: () => { + var p; + return [((p = n.title) == null ? void 0 : p.call(n)) ?? e.title]; + } }), s && d(ys, { key: "subtitle" }, { default: () => { + var p; + return [((p = n.subtitle) == null ? void 0 : p.call(n)) ?? e.subtitle]; + } }), (i = n.default) == null ? void 0 : i.call(n)]), c && d("div", { key: "append", class: "v-card-item__append" }, [n.append ? d(je, { key: "append-defaults", disabled: !a, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : a && d(qn, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); }), {}; -} }), Cn = at("v-card-text"), os = Y({ appendAvatar: String, appendIcon: de, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: de, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number], text: [String, Number], title: [String, Number], ...zn(), ...ue(), ...qe(), ...hn(), ...Ln(), ...El(), ...Pl(), ...ya(), ...Qe(), ...jt(), ...ze(), ...Be(), ...an({ variant: "elevated" }) }, "VCard"), Mn = ee()({ name: "VCard", directives: { Ripple: pt }, props: os(), setup(e, t) { +} }), Wn = wt("v-card-text"), bs = H({ appendAvatar: String, appendIcon: Ce, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number], text: [String, Number], title: [String, Number], ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...Zl(), ...Kl(), ...$a(), ...hn(), ...rl(), ...en(), ...Ne(), ...kn({ variant: "elevated" }) }, "VCard"), at = ne()({ name: "VCard", directives: { Ripple: $t }, props: bs(), setup(e, t) { let { attrs: n, slots: l } = t; - const { themeClasses: a } = Oe(e), { borderClasses: i } = Dn(e), { colorClasses: d, colorStyles: c, variantClasses: u } = ut(e), { densityClasses: o } = nn(e), { dimensionStyles: s } = bn(e), { elevationClasses: y } = Wn(e), { loaderClasses: f } = Rt(e), { locationStyles: g } = $l(e), { positionClasses: m } = ma(e), { roundedClasses: h } = en(e), b = Nt(e, n), S = v(() => e.link !== !1 && b.isLink.value), A = v(() => !e.disabled && e.link !== !1 && (e.link || b.isClickable.value)); - return ae(() => { - const $ = S.value ? "a" : e.tag, q = !(!l.title && e.title == null), D = !(!l.subtitle && e.subtitle == null), z = q || D, j = !!(l.append || e.appendAvatar || e.appendIcon), T = !!(l.prepend || e.prependAvatar || e.prependIcon), I = !(!l.image && !e.image), O = z || T || j, C = !(!l.text && e.text == null); - return Fe(p($, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": A.value }, a.value, i.value, d.value, o.value, y.value, f.value, m.value, h.value, u.value, e.class], style: [c.value, s.value, g.value, e.style], href: b.href.value, onClick: A.value && b.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { + const { themeClasses: o } = Xe(e), { borderClasses: a } = tt(e), { colorClasses: c, colorStyles: u, variantClasses: s } = _t(e), { densityClasses: i } = Cn(e), { dimensionStyles: p } = Ln(e), { elevationClasses: y } = ot(e), { loaderClasses: f } = al(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Ea(e), { roundedClasses: b } = bn(e), g = il(e, n), C = v(() => e.link !== !1 && g.isLink.value), w = v(() => !e.disabled && e.link !== !1 && (e.link || g.isClickable.value)); + return se(() => { + const O = C.value ? "a" : e.tag, G = !(!l.title && e.title == null), T = !(!l.subtitle && e.subtitle == null), $ = G || T, R = !!(l.append || e.appendAvatar || e.appendIcon), P = !!(l.prepend || e.prependAvatar || e.prependIcon), S = !(!l.image && !e.image), A = $ || P || R, I = !(!l.text && e.text == null); + return Ue(d(O, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": w.value }, o.value, a.value, c.value, i.value, y.value, f.value, h.value, b.value, s.value, e.class], style: [u.value, p.value, m.value, e.style], href: g.href.value, onClick: w.value && g.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { var F; - return [I && p("div", { key: "image", class: "v-card__image" }, [l.image ? p(ke, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : p(ia, { key: "image-img", cover: !0, src: e.image }, null)]), p(Tl, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), O && p(ls, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), C && p(Cn, { key: "text" }, { default: () => { - var V; - return [((V = l.text) == null ? void 0 : V.call(l)) ?? e.text]; - } }), (F = l.default) == null ? void 0 : F.call(l), l.actions && p(Qr, null, { default: l.actions }), st(A.value, "v-card")]; - } }), [[Ze("ripple"), A.value && e.ripple]]); + return [S && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(je, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(xa, { key: "image-img", cover: !0, src: e.image }, null)]), d(Ql, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), A && d(hs, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), I && d(Wn, { key: "text" }, { default: () => { + var _; + return [((_ = l.text) == null ? void 0 : _.call(l)) ?? e.text]; + } }), (F = l.default) == null ? void 0 : F.call(l), l.actions && d(fs, null, { default: l.actions }), At(w.value, "v-card")]; + } }), [[gn("ripple"), w.value && e.ripple]]); }), {}; -} }), as = Y({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...ft(), ...zl() }, "VSwitch"), is = ee()({ name: "VSwitch", inheritAttrs: !1, props: as(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { +} }), Cs = H({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...Tt(), ...eo() }, "VSwitch"), Is = ne()({ name: "VSwitch", inheritAttrs: !1, props: Cs(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { let { attrs: n, slots: l } = t; - const a = ge(e, "indeterminate"), i = ge(e, "modelValue"), { loaderClasses: d } = Rt(e), { isFocused: c, focus: u, blur: o } = vt(e), s = W(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = We(), g = v(() => e.id || `switch-${f}`); - function m() { - a.value && (a.value = !1); - } - function h(b) { - var S, A; - b.stopPropagation(), b.preventDefault(), (A = (S = s.value) == null ? void 0 : S.input) == null || A.click(); - } - return ae(() => { - const [b, S] = ot(n), A = on.filterProps(e), $ = Tt.filterProps(e); - return p(on, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": a.value }, d.value, e.class] }, b, A, { modelValue: i.value, "onUpdate:modelValue": (q) => i.value = q, id: g.value, focused: c.value, style: e.style }), { ...l, default: (q) => { - let { id: D, messagesId: z, isDisabled: j, isReadonly: T, isValid: I } = q; - return p(Tt, Z({ ref: s }, $, { modelValue: i.value, "onUpdate:modelValue": [(O) => i.value = O, m], id: D.value, "aria-describedby": z.value, type: "checkbox", "aria-checked": a.value ? "mixed" : void 0, disabled: j.value, readonly: T.value, onFocus: u, onBlur: o }, S), { ...l, default: (O) => { - let { backgroundColorClasses: C, backgroundColorStyles: F } = O; - return p("div", { class: ["v-switch__track", ...C.value], style: F.value, onClick: h }, null); - }, input: (O) => { - let { inputNode: C, icon: F, backgroundColorClasses: V, backgroundColorStyles: N } = O; - return p(fe, null, [C, p("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": F || e.loading }, e.inset ? void 0 : V.value], style: e.inset ? void 0 : N.value }, [p(Ti, null, { default: () => [e.loading ? p(Tl, { name: "v-switch", active: !0, color: I.value === !1 ? void 0 : y.value }, { default: (H) => l.loader ? l.loader(H) : p(fa, { active: H.isActive, color: H.color, indeterminate: !0, size: "16", width: "2" }, null) }) : F && p(pe, { key: F, icon: F, size: "x-small" }, null)] })])]); + const o = $e(e, "indeterminate"), a = $e(e, "modelValue"), { loaderClasses: c } = al(e), { isFocused: u, focus: s, blur: i } = Et(e), p = D(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = tn(), m = v(() => e.id || `switch-${f}`); + function h() { + o.value && (o.value = !1); + } + function b(g) { + var C, w; + g.stopPropagation(), g.preventDefault(), (w = (C = p.value) == null ? void 0 : C.input) == null || w.click(); + } + return se(() => { + const [g, C] = kt(n), w = Bn.filterProps(e), O = el.filterProps(e); + return d(Bn, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": o.value }, c.value, e.class] }, g, w, { modelValue: a.value, "onUpdate:modelValue": (G) => a.value = G, id: m.value, focused: u.value, style: e.style }), { ...l, default: (G) => { + let { id: T, messagesId: $, isDisabled: R, isReadonly: P, isValid: S } = G; + return d(el, Z({ ref: p }, O, { modelValue: a.value, "onUpdate:modelValue": [(A) => a.value = A, h], id: T.value, "aria-describedby": $.value, type: "checkbox", "aria-checked": o.value ? "mixed" : void 0, disabled: R.value, readonly: P.value, onFocus: s, onBlur: i }, C), { ...l, default: (A) => { + let { backgroundColorClasses: I, backgroundColorStyles: F } = A; + return d("div", { class: ["v-switch__track", ...I.value], style: F.value, onClick: b }, null); + }, input: (A) => { + let { inputNode: I, icon: F, backgroundColorClasses: _, backgroundColorStyles: M } = A; + return d(Fe, null, [I, d("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": F || e.loading }, e.inset ? void 0 : _.value], style: e.inset ? void 0 : M.value }, [d(Ki, null, { default: () => [e.loading ? d(Ql, { name: "v-switch", active: !0, color: S.value === !1 ? void 0 : y.value }, { default: (N) => l.loader ? l.loader(N) : d(Pa, { active: N.isActive, color: N.color, indeterminate: !0, size: "16", width: "2" }, null) }) : F && d(Se, { key: F, icon: F, size: "x-small" }, null)] })])]); } }); } }); }), {}; -} }), rs = Y({ autoGrow: Boolean, autofocus: Boolean, counter: [Boolean, Number, String], counterValue: Function, prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, noResize: Boolean, rows: { type: [Number, String], default: 5, validator: (e) => !isNaN(parseFloat(e)) }, maxRows: { type: [Number, String], validator: (e) => !isNaN(parseFloat(e)) }, suffix: String, modelModifiers: Object, ...ft(), ...Dl() }, "VTextarea"), ss = ee()({ name: "VTextarea", directives: { Intersect: _l }, inheritAttrs: !1, props: rs(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: a } = t; - const i = ge(e, "modelValue"), { isFocused: d, focus: c, blur: u } = vt(e), o = v(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : (i.value || "").toString().length), s = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); - function y(C, F) { - var V, N; - e.autofocus && C && ((N = (V = F[0].target) == null ? void 0 : V.focus) == null || N.call(V)); - } - const f = W(), g = W(), m = re(""), h = W(), b = v(() => e.persistentPlaceholder || d.value || e.active); - function S() { - var C; - h.value !== document.activeElement && ((C = h.value) == null || C.focus()), d.value || c(); +} }), Ss = H({ autoGrow: Boolean, autofocus: Boolean, counter: [Boolean, Number, String], counterValue: Function, prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, noResize: Boolean, rows: { type: [Number, String], default: 5, validator: (e) => !isNaN(parseFloat(e)) }, maxRows: { type: [Number, String], validator: (e) => !isNaN(parseFloat(e)) }, suffix: String, modelModifiers: Object, ...Tt(), ...no() }, "VTextarea"), Bs = ne()({ name: "VTextarea", directives: { Intersect: Yl }, inheritAttrs: !1, props: Ss(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { + let { attrs: n, emit: l, slots: o } = t; + const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = Et(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : (a.value || "").toString().length), p = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); + function y(I, F) { + var _, M; + e.autofocus && I && ((M = (_ = F[0].target) == null ? void 0 : _.focus) == null || M.call(_)); + } + const f = D(), m = D(), h = de(""), b = D(), g = v(() => e.persistentPlaceholder || c.value || e.active); + function C() { + var I; + b.value !== document.activeElement && ((I = b.value) == null || I.focus()), c.value || u(); } - function A(C) { - S(), l("click:control", C); + function w(I) { + C(), l("click:control", I); } - function $(C) { - l("mousedown:control", C); + function O(I) { + l("mousedown:control", I); } - function q(C) { - C.stopPropagation(), S(), Ie(() => { - i.value = "", Go(e["onClick:clear"], C); + function G(I) { + I.stopPropagation(), C(), Me(() => { + a.value = "", sa(e["onClick:clear"], I); }); } - function D(C) { - var V; - const F = C.target; - if (i.value = F.value, (V = e.modelModifiers) == null ? void 0 : V.trim) { - const N = [F.selectionStart, F.selectionEnd]; - Ie(() => { - F.selectionStart = N[0], F.selectionEnd = N[1]; + function T(I) { + var _; + const F = I.target; + if (a.value = F.value, (_ = e.modelModifiers) == null ? void 0 : _.trim) { + const M = [F.selectionStart, F.selectionEnd]; + Me(() => { + F.selectionStart = M[0], F.selectionEnd = M[1]; }); } } - const z = W(), j = W(+e.rows), T = v(() => ["plain", "underlined"].includes(e.variant)); - function I() { - e.autoGrow && Ie(() => { - if (!z.value || !g.value) + const $ = D(), R = D(+e.rows), P = v(() => ["plain", "underlined"].includes(e.variant)); + function S() { + e.autoGrow && Me(() => { + if (!$.value || !m.value) return; - const C = getComputedStyle(z.value), F = getComputedStyle(g.value.$el), V = parseFloat(C.getPropertyValue("--v-field-padding-top")) + parseFloat(C.getPropertyValue("--v-input-padding-top")) + parseFloat(C.getPropertyValue("--v-field-padding-bottom")), N = z.value.scrollHeight, H = parseFloat(C.lineHeight), E = kn(N ?? 0, Math.max(parseFloat(e.rows) * H + V, parseFloat(F.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * H + V || 1 / 0); - j.value = Math.floor((E - V) / H), m.value = le(E); + const I = getComputedStyle($.value), F = getComputedStyle(m.value.$el), _ = parseFloat(I.getPropertyValue("--v-field-padding-top")) + parseFloat(I.getPropertyValue("--v-input-padding-top")) + parseFloat(I.getPropertyValue("--v-field-padding-bottom")), M = $.value.scrollHeight, N = parseFloat(I.lineHeight), k = Gn(M ?? 0, Math.max(parseFloat(e.rows) * N + _, parseFloat(F.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * N + _ || 1 / 0); + R.value = Math.floor((k - _) / N), h.value = ae(k); }); } - let O; - return Ne(() => { - e.autoGrow || (j.value = +e.rows); - }), An(I), K(i, I), K(() => e.rows, I), K(() => e.maxRows, I), K(() => e.density, I), K(z, (C) => { - C ? (O = new ResizeObserver(I), O.observe(z.value)) : O == null || O.disconnect(); - }), Je(() => { - O == null || O.disconnect(); - }), ae(() => { - const C = !!(a.counter || e.counter || e.counterValue), F = !(!C && !a.details), [V, N] = ot(n), { modelValue: H, ...E } = on.filterProps(e), B = Ha(e); - return p(on, Z({ ref: f, modelValue: i.value, "onUpdate:modelValue": (w) => i.value = w, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": T.value }, e.class], style: e.style }, V, E, { centerAffix: j.value === 1 && !T.value, focused: d.value }), { ...a, default: (w) => { - let { id: M, isDisabled: R, isDirty: U, isReadonly: P, isValid: G } = w; - return p(Ll, Z({ ref: g, style: { "--v-textarea-control-height": m.value }, onClick: A, onMousedown: $, "onClick:clear": q, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, B, { id: M.value, active: b.value || U.value, centerAffix: j.value === 1 && !T.value, dirty: U.value || e.dirty, disabled: R.value, focused: d.value, error: G.value === !1 }), { ...a, default: (_) => { - let { props: { class: x, ...k } } = _; - return p(fe, null, [e.prefix && p("span", { class: "v-text-field__prefix" }, [e.prefix]), Fe(p("textarea", Z({ ref: h, class: x, value: i.value, onInput: D, autofocus: e.autofocus, readonly: P.value, disabled: R.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: S, onBlur: u }, k, N), null), [[Ze("intersect"), { handler: y }, null, { once: !0 }]]), e.autoGrow && Fe(p("textarea", { class: [x, "v-textarea__sizer"], id: `${k.id}-sizer`, "onUpdate:modelValue": (L) => i.value = L, ref: z, readonly: !0, "aria-hidden": "true" }, null), [[fi, i.value]]), e.suffix && p("span", { class: "v-text-field__suffix" }, [e.suffix])]); + let A; + return rn(() => { + e.autoGrow || (R.value = +e.rows); + }), Yn(S), K(a, S), K(() => e.rows, S), K(() => e.maxRows, S), K(() => e.density, S), K($, (I) => { + I ? (A = new ResizeObserver(S), A.observe($.value)) : A == null || A.disconnect(); + }), mn(() => { + A == null || A.disconnect(); + }), se(() => { + const I = !!(o.counter || e.counter || e.counterValue), F = !(!I && !o.details), [_, M] = kt(n), { modelValue: N, ...k } = Bn.filterProps(e), B = di(e); + return d(Bn, Z({ ref: f, modelValue: a.value, "onUpdate:modelValue": (x) => a.value = x, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": P.value }, e.class], style: e.style }, _, k, { centerAffix: R.value === 1 && !P.value, focused: c.value }), { ...o, default: (x) => { + let { id: V, isDisabled: j, isDirty: L, isReadonly: z, isValid: Q } = x; + return d(to, Z({ ref: m, style: { "--v-textarea-control-height": h.value }, onClick: w, onMousedown: O, "onClick:clear": G, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, B, { id: V.value, active: g.value || L.value, centerAffix: R.value === 1 && !P.value, dirty: L.value || e.dirty, disabled: j.value, focused: c.value, error: Q.value === !1 }), { ...o, default: (E) => { + let { props: { class: U, ...W } } = E; + return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [e.prefix]), Ue(d("textarea", Z({ ref: b, class: U, value: a.value, onInput: T, autofocus: e.autofocus, readonly: z.value, disabled: j.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: C, onBlur: s }, W, M), null), [[gn("intersect"), { handler: y }, null, { once: !0 }]]), e.autoGrow && Ue(d("textarea", { class: [U, "v-textarea__sizer"], id: `${W.id}-sizer`, "onUpdate:modelValue": (q) => a.value = q, ref: $, readonly: !0, "aria-hidden": "true" }, null), [[Ai, a.value]]), e.suffix && d("span", { class: "v-text-field__suffix" }, [e.suffix])]); } }); - }, details: F ? (w) => { - var M; - return p(fe, null, [(M = a.details) == null ? void 0 : M.call(a, w), C && p(fe, null, [p("span", null, null), p(Ua, { active: e.persistentCounter || d.value, value: o.value, max: s.value }, a.counter)])]); + }, details: F ? (x) => { + var V; + return d(Fe, null, [(V = o.details) == null ? void 0 : V.call(o, x), I && d(Fe, null, [d("span", null, null), d(ci, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); } : void 0 }); - }), Gt({}, f, g, h); -} }), Xa = je({ __name: "BooleanIcons", props: Te({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { - const t = e, n = se(Symbol.for("vuetify:icons")), l = fn(e, "modelValue"), a = v(() => Le({ icon: t.iconFalse, iconOptions: n, name: "false" })), i = v(() => Le({ icon: t.iconTrue, iconOptions: n, name: "true" })); - return (d, c) => l.value ? (J(), he(r(pe), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: d.iconTrueColor, icon: r(i), size: "x-small", title: d.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (J(), he(r(pe), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: d.iconFalseColor, icon: r(a), size: "x-small", title: d.iconFalseTitle }, null, 8, ["color", "icon", "title"])); -} }), oe = "v-inline-fields", Rn = (e) => { - const { cell: t = !1, field: n = "", density: l = "", disabled: a = !1, iconSet: i = "mdi", loading: d = !1, loadingWait: c, tableField: u = !1, variant: o } = e, s = l && o; - return { [`${oe}`]: !0, [`${oe}--container`]: !0, [`${oe}--container-cell`]: t, [`${oe}--container-disabled`]: r(a), [`${oe}--container-table`]: u, [`${oe}--container-icon-set-${i}`]: !0, [`${oe}--container-loading`]: d && c, [`${oe}--container-${n}`]: !0, [`${oe}--container-${n}-${l}`]: !0, [`${oe}--container-${n}-${l}-${o}`]: s, [`${oe}--container-${n}-${o}`]: o, [`${oe}--container-${n}-${o}-${l}`]: s, [`${oe}--container-${l}`]: l, [`${oe}--container-${l}-${n}`]: l, [`${oe}--container-${l}-${o}`]: s, [`${oe}--container-${o}`]: o, [`${oe}--container-${o}-${l}`]: s, [`${oe}--container-${o}-${n}`]: o }; -}, Nn = (e) => { - const { cell: t = !1, cellUnderlineFullWidth: n = !0, field: l = "", density: a = "" } = e; - return { [`${oe}--display-container-cell`]: t, [`${oe}--display-container-cell-underline-full-width`]: t && n, [`${oe}--display-container`]: !0, [`${oe}--display-wrapper-value`]: !0, [`${l}`]: !0, "v-input": !0, [`v-input--density-${a}`]: !0, "v-input--horizontal": !0 }; -}, qt = (e) => { + }), sl({}, f, m, b); +} }), vi = sn({ __name: "BooleanIcons", props: Qe({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { + const t = e, n = me(Symbol.for("vuetify:icons")), l = $n(e, "modelValue"), o = v(() => on({ icon: t.iconFalse, iconOptions: n, name: "false" })), a = v(() => on({ icon: t.iconTrue, iconOptions: n, name: "true" })); + return (c, u) => l.value ? (J(), ze(r(Se), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: r(a), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (J(), ze(r(Se), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: r(o), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); +} }), ie = "v-inline-fields", it = (e) => { + const { cell: t = !1, field: n = "", density: l = "", disabled: o = !1, iconSet: a = "mdi", loading: c = !1, loadingWait: u, tableField: s = !1, variant: i } = e, p = l && i; + return { [`${ie}`]: !0, [`${ie}--container`]: !0, [`${ie}--container-cell`]: t, [`${ie}--container-disabled`]: r(o), [`${ie}--container-table`]: s, [`${ie}--container-icon-set-${a}`]: !0, [`${ie}--container-loading`]: c && u, [`${ie}--container-${n}`]: !0, [`${ie}--container-${n}-${l}`]: !0, [`${ie}--container-${n}-${l}-${i}`]: p, [`${ie}--container-${n}-${i}`]: i, [`${ie}--container-${n}-${i}-${l}`]: p, [`${ie}--container-${l}`]: l, [`${ie}--container-${l}-${n}`]: l, [`${ie}--container-${l}-${i}`]: p, [`${ie}--container-${i}`]: i, [`${ie}--container-${i}-${l}`]: p, [`${ie}--container-${i}-${n}`]: i }; +}, rt = (e) => { + const { cell: t = !1, cellUnderlineFullWidth: n = !0, field: l = "", density: o = "" } = e; + return { [`${ie}--display-container-cell`]: t, [`${ie}--display-container-cell-underline-full-width`]: t && n, [`${ie}--display-container`]: !0, [`${ie}--display-wrapper-value`]: !0, [`${l}`]: !0, "v-input": !0, [`v-input--density-${o}`]: !0, "v-input--horizontal": !0 }; +}, ul = (e) => { const { density: t = "", variant: n = "" } = e; return { "v-input": !0, "v-input--dirty": !0, "v-input--horizontal": !0, "v-text-field": !0, [`v-input--density-${t}`]: !0, [`v-text-field--plain-${n}`]: !0 }; -}, Ka = (e) => { +}, fi = (e) => { const { density: t = "" } = e; - return { [`${oe}--selection-control`]: !0, [`v-selection-control--density-${t}`]: !0 }; -}, Wl = (e, t, n) => { - const { error: l = !1, empty: a = !1 } = n; - return { [`${oe}`]: !0, [`${oe}--display-value-${e}`]: !0, [`${oe}--display-value`]: !0, [`${oe}--display-value-empty`]: r(a), [`text-${t}`]: !r(l), "text-danger": r(l) }; -}, jn = (e) => { + return { [`${ie}--selection-control`]: !0, [`v-selection-control--density-${t}`]: !0 }; +}, lo = (e, t, n) => { + const { error: l = !1, empty: o = !1 } = n; + return { [`${ie}`]: !0, [`${ie}--display-value-${e}`]: !0, [`${ie}--display-value`]: !0, [`${ie}--display-value-empty`]: r(o), [`text-${t}`]: !r(l), "text-danger": r(l) }; +}, st = (e) => { const { name: t, active: n = !1 } = e; - return { [`${oe}`]: !0, [`${oe}--field`]: !0, [`${oe}--field-${t}`]: !0, [`${oe}--field-active`]: n }; -}, Gn = (e) => { + return { [`${ie}`]: !0, [`${ie}--field`]: !0, [`${ie}--field-${t}`]: !0, [`${ie}--field-active`]: n }; +}, ut = (e) => { const { name: t, showField: n } = e; - return { [`${oe}--card-container`]: !0, [`${oe}--card-container-${t}`]: !0, "d-none": !n }; + return { [`${ie}--card-container`]: !0, [`${ie}--card-container-${t}`]: !0, "d-none": !n }; }; -function Po(e) { +function Jo(e) { if (!e) return 100; if (e.toString().includes(".")) { @@ -3074,50 +3074,50 @@ function Po(e) { } return Number(e) >= 100 ? 100 : Number(e); } -function $o(e) { +function Zo(e) { let t = function(y) { const f = { AliceBlue: "#F0F8FF", AntiqueWhite: "#FAEBD7", Aqua: "#00FFFF", Aquamarine: "#7FFFD4", Azure: "#F0FFFF", Beige: "#F5F5DC", Bisque: "#FFE4C4", Black: "#000000", BlanchedAlmond: "#FFEBCD", Blue: "#0000FF", BlueViolet: "#8A2BE2", Brown: "#A52A2A", BurlyWood: "#DEB887", CadetBlue: "#5F9EA0", Chartreuse: "#7FFF00", Chocolate: "#D2691E", Coral: "#FF7F50", CornflowerBlue: "#6495ED", Cornsilk: "#FFF8DC", Crimson: "#DC143C", Cyan: "#00FFFF", DarkBlue: "#00008B", DarkCyan: "#008B8B", DarkGoldenRod: "#B8860B", DarkGray: "#A9A9A9", DarkGreen: "#006400", DarkGrey: "#A9A9A9", DarkKhaki: "#BDB76B", DarkMagenta: "#8B008B", DarkOliveGreen: "#556B2F", DarkOrange: "#FF8C00", DarkOrchid: "#9932CC", DarkRed: "#8B0000", DarkSalmon: "#E9967A", DarkSeaGreen: "#8FBC8F", DarkSlateBlue: "#483D8B", DarkSlateGray: "#2F4F4F", DarkSlateGrey: "#2F4F4F", DarkTurquoise: "#00CED1", DarkViolet: "#9400D3", DeepPink: "#FF1493", DeepSkyBlue: "#00BFFF", DimGray: "#696969", DimGrey: "#696969", DodgerBlue: "#1E90FF", FireBrick: "#B22222", FloralWhite: "#FFFAF0", ForestGreen: "#228B22", Fuchsia: "#FF00FF", Gainsboro: "#DCDCDC", GhostWhite: "#F8F8FF", Gold: "#FFD700", GoldenRod: "#DAA520", Gray: "#808080", Green: "#008000", GreenYellow: "#ADFF2F", Grey: "#808080", HoneyDew: "#F0FFF0", HotPink: "#FF69B4", IndianRed: "#CD5C5C", Indigo: "#4B0082", Ivory: "#FFFFF0", Khaki: "#F0E68C", Lavender: "#E6E6FA", LavenderBlush: "#FFF0F5", LawnGreen: "#7CFC00", LemonChiffon: "#FFFACD", LightBlue: "#ADD8E6", LightCoral: "#F08080", LightCyan: "#E0FFFF", LightGoldenRodYellow: "#FAFAD2", LightGray: "#D3D3D3", LightGreen: "#90EE90", LightGrey: "#D3D3D3", LightPink: "#FFB6C1", LightSalmon: "#FFA07A", LightSeaGreen: "#20B2AA", LightSkyBlue: "#87CEFA", LightSlateGray: "#778899", LightSlateGrey: "#778899", LightSteelBlue: "#B0C4DE", LightYellow: "#FFFFE0", Lime: "#00FF00", LimeGreen: "#32CD32", Linen: "#FAF0E6", Magenta: "#FF00FF", Maroon: "#800000", MediumAquaMarine: "#66CDAA", MediumBlue: "#0000CD", MediumOrchid: "#BA55D3", MediumPurple: "#9370DB", MediumSeaGreen: "#3CB371", MediumSlateBlue: "#7B68EE", MediumSpringGreen: "#00FA9A", MediumTurquoise: "#48D1CC", MediumVioletRed: "#C71585", MidnightBlue: "#191970", MintCream: "#F5FFFA", MistyRose: "#FFE4E1", Moccasin: "#FFE4B5", NavajoWhite: "#FFDEAD", Navy: "#000080", OldLace: "#FDF5E6", Olive: "#808000", OliveDrab: "#6B8E23", Orange: "#FFA500", OrangeRed: "#FF4500", Orchid: "#DA70D6", PaleGoldenRod: "#EEE8AA", PaleGreen: "#98FB98", PaleTurquoise: "#AFEEEE", PaleVioletRed: "#DB7093", PapayaWhip: "#FFEFD5", PeachPuff: "#FFDAB9", Peru: "#CD853F", Pink: "#FFC0CB", Plum: "#DDA0DD", PowderBlue: "#B0E0E6", Purple: "#800080", RebeccaPurple: "#663399", Red: "#FF0000", RosyBrown: "#BC8F8F", RoyalBlue: "#4169E1", SaddleBrown: "#8B4513", Salmon: "#FA8072", SandyBrown: "#F4A460", SeaGreen: "#2E8B57", SeaShell: "#FFF5EE", Sienna: "#A0522D", Silver: "#C0C0C0", SkyBlue: "#87CEEB", SlateBlue: "#6A5ACD", SlateGray: "#708090", SlateGrey: "#708090", Snow: "#FFFAFA", SpringGreen: "#00FF7F", SteelBlue: "#4682B4", Tan: "#D2B48C", Teal: "#008080", Thistle: "#D8BFD8", Tomato: "#FF6347", Turquoise: "#40E0D0", Violet: "#EE82EE", Wheat: "#F5DEB3", White: "#FFFFFF", WhiteSmoke: "#F5F5F5", Yellow: "#FFFF00", YellowGreen: "#9ACD32" }; - let g = y; - return Object.entries(f).forEach(([m, h]) => { - y.toLowerCase() != m.toLowerCase() || (g = h); - }), g; - }(e), n = 0, l = 0, a = 0, i = 100, d = 0, c = 0, u = 0; + let m = y; + return Object.entries(f).forEach(([h, b]) => { + y.toLowerCase() != h.toLowerCase() || (m = b); + }), m; + }(e), n = 0, l = 0, o = 0, a = 100, c = 0, u = 0, s = 0; if (t.substring(0, 1) === "#") t = function(y) { let f = y.replace("#", ""); - f.length === 3 && (f = f.split("").map((S) => S + S).join("")); - const g = parseInt(f.substring(0, 2), 16), m = parseInt(f.substring(2, 4), 16), h = parseInt(f.substring(4, 6), 16); - return [g, m, h, 100]; + f.length === 3 && (f = f.split("").map((C) => C + C).join("")); + const m = parseInt(f.substring(0, 2), 16), h = parseInt(f.substring(2, 4), 16), b = parseInt(f.substring(4, 6), 16); + return [m, h, b, 100]; }(t); else if (t.includes("rgb")) t = [...t.matchAll(/[\d+.\d+]+/g)].map(Number); else if (t.includes("hsl")) - return t = [...t.matchAll(/[\d+.\d+]+/g)].map(String), n = t[0], l = t[1], a = t[2], i = Po(t[3]), `${n} ${l}% ${a}% / ${i}%`; - [d, c, u, i] = t, d /= 255, c /= 255, u /= 255, i = Po(i); - const o = Math.max(d, c, u), s = Math.min(d, c, u); - if (o === null || !s === null || isNaN(o) || isNaN(s)) { + return t = [...t.matchAll(/[\d+.\d+]+/g)].map(String), n = t[0], l = t[1], o = t[2], a = Jo(t[3]), `${n} ${l}% ${o}% / ${a}%`; + [c, u, s, a] = t, c /= 255, u /= 255, s /= 255, a = Jo(a); + const i = Math.max(c, u, s), p = Math.min(c, u, s); + if (i === null || !p === null || isNaN(i) || isNaN(p)) { const y = "0 0% 100% / 12%"; return console.warn(`[VuetifyInlineFields: The "color" prop value using "${t}" doesn't exist. Using the value "hsl(${y})" in it's place.`), y; } - if (n = (o + s) / 2, l = (o + s) / 2, a = (o + s) / 2, o == s) + if (n = (i + p) / 2, l = (i + p) / 2, o = (i + p) / 2, i == p) n = l = 0; else { - const y = o - s; - switch (l = a > 0.5 ? y / (2 - o - s) : y / (o + s), o) { - case d: - n = (c - u) / y + (c < u ? 6 : 0); - break; + const y = i - p; + switch (l = o > 0.5 ? y / (2 - i - p) : y / (i + p), i) { case c: - n = (u - d) / y + 2; + n = (u - s) / y + (u < s ? 6 : 0); break; case u: - n = (d - c) / y + 4; + n = (s - c) / y + 2; + break; + case s: + n = (c - u) / y + 4; } n /= 6; } - return n = Math.round(360 * n), l = Math.round(100 * l), a = Math.round(100 * a), `${n} ${l}% ${a}% / ${i}%`; + return n = Math.round(360 * n), l = Math.round(100 * l), o = Math.round(100 * o), `${n} ${l}% ${o}% / ${a}%`; } -const us = (e, t) => { +const xs = (e, t) => { if (function(l) { return l === "transparent" || l === "none" || l === "inherit" || l === "currentColor" || l === "initial" || l === "unset"; }(e)) @@ -3126,342 +3126,348 @@ const us = (e, t) => { return l.includes("--v-theme"); }(e)) return `rgb(var(${e}))`; - const n = function(l, a) { - const i = a.global.current.value.colors; - return Object.entries(i).find(([d]) => d === l); + const n = function(l, o) { + const a = o.global.current.value.colors; + return Object.entries(a).find(([c]) => c === l); }(e, t); - return n ? `hsl(${$o(n[1])})` : `hsl(${$o(e)})`; -}, Kn = (e) => { + return n ? `hsl(${Zo(n[1])})` : `hsl(${Zo(e)})`; +}, mt = (e) => { const { str: t, unit: n = "px" } = e; if (t != null && t !== "") return +t ? `${Number(t)}${n}` : String(t); -}, Ja = (e) => { - var a; +}, yi = (e) => { + var o; const { modelValue: t, trueValue: n } = e, l = r(t); - return ((a = l == null ? void 0 : l.toLowerCase) == null ? void 0 : a.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == n || l === n; -}, Ml = (e) => { - const { underlineStyle: t, underlineWidth: n, color: l, error: a, theme: i, underlined: d } = e; - let { underlineColor: c } = e; - c = c || l; - const u = { "border-bottom-color": us(c, i), "border-bottom-style": t, "border-bottom-width": n }; - return r(a) && (u["border-bottom-color"] = "rgb(var(--v-theme-danger))"), d || (u["border-bottom"] = "none"), u; -}, dn = (e) => { - const { cardMinWidth: t, cardOffsetX: n, cardOffsetY: l, cardWidth: a, field: i, name: d = "" } = e, c = ((s) => { - const { cardOffsetX: y, cardOffsetY: f, field: g } = s; - if (!g) + return ((o = l == null ? void 0 : l.toLowerCase) == null ? void 0 : o.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == n || l === n; +}, oo = (e) => { + const { underlineStyle: t, underlineWidth: n, color: l, error: o, theme: a, underlined: c } = e; + let { underlineColor: u } = e; + u = u || l; + const s = { "border-bottom-color": xs(u, a), "border-bottom-style": t, "border-bottom-width": n }; + return r(o) && (s["border-bottom-color"] = "rgb(var(--v-theme-danger))"), c || (s["border-bottom"] = "none"), s; +}, _n = (e) => { + const { cardMinWidth: t, cardOffsetX: n, cardOffsetY: l, cardWidth: o, field: a, name: c = "" } = e, u = ((p) => { + const { cardOffsetX: y, cardOffsetY: f, field: m } = p; + if (!m) return { bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0, x: 0, y: 0 }; - const { x: m, y: h } = g.getBoundingClientRect(), { width: b, height: S } = g.getBoundingClientRect(), { right: A, bottom: $ } = g.getBoundingClientRect(); - return { bottom: Kn({ str: $ + Number(f) }), height: S, left: Kn({ str: 0 + Number(y) }), right: Kn({ str: A + Number(y) }), top: Kn({ str: 2 + Number(f) }), width: Kn({ str: b }), x: m, y: h }; - })({ cardOffsetX: n, cardOffsetY: l, field: i }); - let u = t, o = a; - return o || (o = d === "checkbox" ? "fit-content" : c.width), u || (u = d === "checkbox" ? "fit-content" : c.width), { left: c.left, top: c.top, width: o, zIndex: 10 }; -}, Ut = je({ __name: "DisplayedValue", props: { color: {}, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayValue: {}, empty: { type: Boolean }, error: { type: Boolean }, field: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean } }, emits: ["toggleField"], setup(e, { emit: t }) { - const n = t, l = e, a = yn(), i = Il(), d = { displayValue: l.displayValue, empty: l.empty, error: l.error }, c = v(() => Wl(l.field, l.valueColor, { empty: l.empty, error: l.error })), u = v(() => Ml({ color: l.color, error: l.error, theme: i, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), o = v(() => ((f) => { - const { underlineWidth: g } = f; - return { borderBottom: `${g || "0px"} solid transparent` }; - })({ underlineWidth: l.underlineWidth })), s = (f, g = !1) => ((m) => { - const { inner: h = !1, position: b } = m; - return { [`${oe}--display-icon`]: !h, [`${oe}--display-${b}-icon`]: !h, [`${oe}--display-${b}-inner-icon`]: h, "me-1": b === "prepend", "ms-1": b === "append" }; - })({ inner: g, position: f }); + const { x: h, y: b } = m.getBoundingClientRect(), { width: g, height: C } = m.getBoundingClientRect(), { right: w, bottom: O } = m.getBoundingClientRect(); + return { bottom: mt({ str: O + Number(f) }), height: C, left: mt({ str: 0 + Number(y) }), right: mt({ str: w + Number(y) }), top: mt({ str: 2 + Number(f) }), width: mt({ str: g }), x: h, y: b }; + })({ cardOffsetX: n, cardOffsetY: l, field: a }); + let s = t, i = o; + return i || (i = c === "checkbox" ? "fit-content" : u.width), s || (s = c === "checkbox" ? "fit-content" : u.width), { left: u.left, top: u.top, width: i, zIndex: 10 }; +}, cl = sn({ __name: "DisplayedValue", props: { color: {}, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayValue: {}, empty: { type: Boolean }, error: { type: Boolean }, field: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, emits: ["toggleField"], setup(e, { emit: t }) { + const n = t, l = e, o = En(), a = Wl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, u = v(() => lo(l.field, l.valueColor, { empty: l.empty, error: l.error })), s = v(() => oo({ color: l.color, error: l.error, theme: a, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), i = v(() => ((f) => { + const { underlineWidth: m } = f; + return { borderBottom: `${m || "0px"} solid transparent` }; + })({ underlineWidth: l.underlineWidth })), p = (f, m = !1) => ((h) => { + const { inner: b = !1, position: g } = h; + return { [`${ie}--display-icon`]: !b, [`${ie}--display-${g}-icon`]: !b, [`${ie}--display-${g}-inner-icon`]: b, "me-1": g === "prepend", "ms-1": g === "append" }; + })({ inner: m, position: f }); function y() { n("toggleField"); } - return (f, g) => (J(), ie("div", { class: "v-inline-fields--display-wrapper", onClick: y }, [f.displayPrependIcon || r(a)["display.prepend"] ? (J(), ie("div", { key: 0, class: ne(s("prepend")), style: be(r(o)) }, [r(a)["display.prepend"] ? _e(f.$slots, "display.prepend", me(Z({ key: 0 }, d))) : (J(), he(pe, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : ve("", !0), we("div", { class: ne(["d-inline-flex", r(c)]), style: be(r(u)) }, [f.displayPrependInnerIcon || r(a)["display.prependInner"] ? (J(), ie("div", { key: 0, class: ne(s("prepend", !0)) }, [r(a)["display.prependInner"] ? _e(f.$slots, "display.prependInner", me(Z({ key: 0 }, d))) : (J(), he(pe, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : ve("", !0), Lo(" " + Cl(f.displayValue) + " ", 1), f.displayAppendInnerIcon || r(a)["display.appendInner"] ? (J(), ie("div", { key: 1, class: ne(s("append", !0)) }, [r(a)["display.appendInner"] ? _e(f.$slots, "display.appendInner", me(Z({ key: 0 }, d))) : (J(), he(pe, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : ve("", !0)], 6), f.displayAppendIcon || r(a)["display.append"] ? (J(), ie("div", { key: 1, class: ne(s("append")), style: be(r(o)) }, [r(a)["display.append"] ? _e(f.$slots, "display.append", me(Z({ key: 0 }, d))) : (J(), he(pe, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : ve("", !0)])); -} }), yt = je({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, cancelIcon: {}, loadingIcon: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) { - const n = mn(), l = t, a = e, i = se(Symbol.for("vuetify:icons")), d = v(() => a.error), c = v(() => ({ [`${oe}--save-fields-container`]: !0 })), u = v(() => a.loading), o = Me({ ...n, ...a }), s = v(() => (i == null ? void 0 : i.defaultSet) === "fa" ? "fa-spin" : (i == null ? void 0 : i.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((S) => { - const { cancelButtonVariant: A } = S; - return { "me-1": A === "elevated", "ms-1": !0 }; - })({ cancelButtonVariant: o.cancelButtonVariant })), f = v(() => Le({ icon: a.cancelIcon, iconOptions: i, name: "false" })), g = v(() => Le({ icon: a.loadingIcon, iconOptions: i, name: "loading" })), m = v(() => Le({ icon: a.saveIcon, iconOptions: i, name: "save" })); - function h() { + return (f, m) => (J(), ce("div", { class: "v-inline-fields--display-wrapper", onClick: y }, [f.displayPrependIcon || r(o)["display.prepend"] ? (J(), ce("div", { key: 0, class: le(p("prepend")), style: Te(r(i)) }, [r(o)["display.prepend"] ? Ye(f.$slots, "display.prepend", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0), Ge("div", { class: le(["d-inline-flex", r(u)]), style: Te(r(s)) }, [f.displayPrependInnerIcon || r(o)["display.prependInner"] ? (J(), ce("div", { key: 0, class: le(p("prepend", !0)) }, [r(o)["display.prependInner"] ? Ye(f.$slots, "display.prependInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0), ta(" " + Ll(f.displayValue) + " ", 1), f.displayAppendInnerIcon || r(o)["display.appendInner"] ? (J(), ce("div", { key: 1, class: le(p("append", !0)) }, [r(o)["display.appendInner"] ? Ye(f.$slots, "display.appendInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0)], 6), f.displayAppendIcon || r(o)["display.append"] ? (J(), ce("div", { key: 1, class: le(p("append")), style: Te(r(i)) }, [r(o)["display.append"] ? Ye(f.$slots, "display.append", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0)])); +} }), ct = sn({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, cancelIcon: {}, loadingIcon: {}, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) { + const n = Tn(), l = t, o = e, a = me(Symbol.for("vuetify:icons")), c = v(() => o.error), u = v(() => ({ [`${ie}--save-fields-container`]: !0 })), s = v(() => o.loading), i = ln({ ...n, ...o }); + console.log({ settings: i }); + const p = v(() => (a == null ? void 0 : a.defaultSet) === "fa" ? "fa-spin" : (a == null ? void 0 : a.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((C) => { + const { cancelButtonVariant: w } = C; + return { "me-1": w === "elevated", "ms-1": !0 }; + })({ cancelButtonVariant: i.cancelButtonVariant })), f = v(() => on({ icon: o.cancelIcon, iconOptions: a, name: "false" })), m = v(() => on({ icon: o.loadingIcon, iconOptions: a, name: "loading" })), h = v(() => on({ icon: o.saveIcon, iconOptions: a, name: "save" })); + function b() { l("close"); } - function b() { + function g() { l("save"); } - return (S, A) => (J(), ie("div", Z({ class: r(c) }, S.$attrs), [r(o).hideSaveIcon ? ve("", !0) : (J(), he(ul, { key: 0, class: "ms-1", color: r(o).saveButtonColor, disabled: r(d), icon: "", size: r(o).saveButtonSize, title: r(u) ? "Loading" : r(o).saveButtonTitle, variant: r(o).saveButtonVariant, onClick: b }, { default: ce(() => [r(u) ? (J(), he(pe, { key: 1, class: ne(r(s)), color: r(o).loadingIconColor, icon: r(g) }, null, 8, ["class", "color", "icon"])) : (J(), he(pe, { key: 0, color: r(d) ? "error" : r(o).saveIconColor, icon: r(m) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), r(o).hideCancelIcon ? ve("", !0) : (J(), he(ul, { key: 1, class: ne(r(y)), color: r(o).cancelButtonColor, icon: "", size: r(o).cancelButtonSize, title: r(o).cancelButtonTitle, variant: r(o).cancelButtonVariant, onClick: h }, { default: ce(() => [r(o).hideSaveIcon && r(u) ? (J(), he(pe, { key: 0, class: ne(r(s)), color: r(o).loadingIconColor, icon: r(g) }, null, 8, ["class", "color", "icon"])) : (J(), he(pe, { key: 1, class: "text-default", color: r(o).cancelIconColor, icon: r(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"]))], 16)); -} }), Ht = (e) => { + return (C, w) => (J(), ce("div", Z({ class: r(u) }, C.$attrs), [r(i).hideSaveIcon ? xe("", !0) : (J(), ze(Wo, { key: 0, class: "ms-1", color: r(i).saveButtonColor, disabled: r(c), icon: "", size: r(i).saveButtonSize, title: r(s) ? "Loading" : r(i).saveButtonTitle, variant: r(i).saveButtonVariant, onClick: g }, { default: he(() => [r(s) ? (J(), ze(Se, { key: 1, class: le(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 0, color: r(c) ? "error" : r(i).saveIconColor, icon: r(h) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), r(i).hideCancelIcon ? xe("", !0) : (J(), ze(Wo, { key: 1, class: le(r(y)), color: r(i).cancelButtonColor, icon: "", size: r(i).cancelButtonSize, title: r(i).cancelButtonTitle, variant: r(i).cancelButtonVariant, onClick: b }, { default: he(() => [r(i).hideSaveIcon && r(s) ? (J(), ze(Se, { key: 0, class: le(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 1, class: "text-default", color: r(i).cancelIconColor, icon: r(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"]))], 16)); +} }), dl = (e) => { const { required: t, rules: n } = e; let { value: l } = e; l = r(l); - const a = []; - let i = !1; + const o = []; + let a = !1; if (t && !l) - return a.push("Field is required."), { errors: !0, results: a }; + return o.push("Field is required."), { errors: !0, results: o }; if (n) { - for (const d of n) { - const c = (typeof d == "function" ? d : () => d)(l); - c !== !0 && (typeof c == "string" ? a.push(c) : console.warn(`${c} is not a valid value. Rule functions must return boolean true or a string.`)); + for (const c of n) { + const u = (typeof c == "function" ? c : () => c)(l); + u !== !0 && (typeof u == "string" ? o.push(u) : console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`)); } - i = a.length > 0; - } - return { errors: i, results: a }; -}, qn = (e) => { - const { attrs: t, closeSiblings: n, fieldOnly: l, props: a, showField: i, timeOpened: d } = e; - let c = d; - return n && !l && (c = /* @__PURE__ */ new Date()), { settings: { ...t, ...a }, showField: !r(i), timeOpened: c }; -}, Rl = (e) => { + a = o.length > 0; + } + return { errors: a, results: o }; +}, dt = (e) => { + const { attrs: t, closeSiblings: n, fieldOnly: l, props: o, showField: a, timeOpened: c } = e; + let u = c; + return n && !l && (u = /* @__PURE__ */ new Date()), { settings: { ...t, ...o }, showField: !r(a), timeOpened: u }; +}, ao = (e) => { const { length: t = 0 } = e; let { suffix: n, text: l } = e; return l = l.toString(), n = n || "...", l.length > t ? `${l.substring(0, t)}${n}` : l; -}, Un = ["error", "update", "update:closeSiblingFields", "update:model-value"], cs = ["cancelButtonColor", "cancelButtonSize", "cancelButtonTitle", "cancelButtonVariant", "cancelIcon", "cancelIconColor", "closeSiblings", "displayAppendIcon", "displayAppendIconColor", "displayAppendIconSize", "displayAppendInnerIcon", "displayAppendInnerIconColor", "displayAppendInnerIconSize", "displayPrependIcon", "displayPrependIconColor", "displayPrependIconSize", "displayPrependInnerIcon", "displayPrependInnerIconColor", "displayPrependInnerIconSize", "emptyText", "fieldOnly", "hideSaveIcon", "item", "loadingIcon", "loadingIconColor", "loadingWait", "saveButtonColor", "saveButtonSize", "saveButtonTitle", "saveButtonVariant", "saveIcon", "saveIconColor", "tableField", "truncateLength", "truncateSuffix", "underlineColor", "underlineStyle", "underlineWidth", "underlined", "valueColor"], mt = (e) => { +}, pt = ["error", "update", "update:closeSiblingFields", "update:model-value"], ks = ["cancelButtonColor", "cancelButtonSize", "cancelButtonTitle", "cancelButtonVariant", "cancelIcon", "cancelIconColor", "closeSiblings", "displayAppendIcon", "displayAppendIconColor", "displayAppendIconSize", "displayAppendInnerIcon", "displayAppendInnerIconColor", "displayAppendInnerIconSize", "displayPrependIcon", "displayPrependIconColor", "displayPrependIconSize", "displayPrependInnerIcon", "displayPrependInnerIconColor", "displayPrependInnerIconSize", "emptyText", "fieldOnly", "hideSaveIcon", "item", "loadingIcon", "loadingIconColor", "loadingWait", "saveButtonColor", "saveButtonSize", "saveButtonTitle", "saveButtonVariant", "saveIcon", "saveIconColor", "tableField", "truncateLength", "truncateSuffix", "underlineColor", "underlineStyle", "underlineWidth", "underlined", "valueColor"], zt = (e) => { let t = e; - return t = Object.entries(t).filter(([n]) => !cs.includes(n)), Object.fromEntries(t); -}, ds = { class: "v-selection-control__wrapper" }, Za = je({ __name: "VInlineCheckbox", props: Te(_n({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...mi }), { modelValue: {} }), emits: Te([...Un], ["update:modelValue"]), setup(e, { emit: t }) { - const n = fn(e, "modelValue"), l = mn(), a = yn(), i = t, d = se(In, {}), c = se(Symbol.for("vuetify:icons")), u = Il(), o = e; - let s = Me({ ...l, ...o, ...d }); - const y = v(() => o.loading), f = v(() => o.disabled), g = W(!1), m = W(!1), h = W(null), b = v(() => mt(s)), S = v(() => ({ ...$n, ...o.cardProps })); - K(() => y.value, (x, k) => { - !x && k && m.value && R(); + return t = Object.entries(t).filter(([n]) => !ks.includes(n)), Object.fromEntries(t); +}, ws = { class: "v-selection-control__wrapper" }, mi = sn({ __name: "VInlineCheckbox", props: Qe(Xn({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Oi }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = Wl(), i = e; + let p = ln({ ...l, ...i, ...c }); + const { cancelButtonColor: y, cancelButtonSize: f, cancelButtonTitle: m, cancelButtonVariant: h, cancelIcon: b, cancelIconColor: g, cardField: C, closeSiblings: w, color: O, fieldOnly: G, hideCancelIcon: T, hideDetails: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(p), N = v(() => i.disabled), k = v(() => i.loading), B = D(!1), x = D(!1), V = D(null), j = v(() => zt(p)), L = v(() => ({ ...Zn, ...i.cardProps })); + K(() => k.value, (re, X) => { + !re && X && x.value && Ae(); }); - const A = v(() => Le({ icon: o.trueIcon, iconOptions: c, name: "checkboxFalse" })), $ = v(() => Le({ icon: o.iconTrue, iconOptions: c, name: "checkboxTrue" })), q = v(() => n.value == s.trueValue), D = v(() => Ja({ modelValue: n, trueValue: s.trueValue })), z = v(() => Rn({ cell: s.cell && !m.value, density: s.density, disabled: f.value, field: "v-checkbox", loading: y.value, loadingWait: s.loadingWait, tableField: s.tableField })), j = v(() => Nn({ cell: s.cell, cellUnderlineFullWidth: s.cellUnderlineFullWidth, density: s.density, field: "v-checkbox" })), T = Ka({ density: s.density }), I = v(() => jn({ active: m.value, name: "checkbox" })), O = v(() => Wl("checkbox", s.valueColor, { error: g })), C = v(() => Gn({ name: "checkbox", showField: m.value })), F = v(() => ({})), V = v(() => Ml({ color: s.color, error: g, theme: u, underlineColor: s.underlineColor, underlineStyle: s.underlineStyle, underlineWidth: s.underlineWidth, underlined: s.underlined })), N = v(() => E.value); - function H() { - g.value = !1, R(); - } - const E = W(), B = W(null), w = W("body"), M = yi(); - function R() { - var k, L; - if (f.value || s.loadingWait && y.value) + const z = v(() => on({ icon: i.trueIcon, iconOptions: u, name: "checkboxFalse" })), Q = v(() => on({ icon: i.iconTrue, iconOptions: u, name: "checkboxTrue" })), E = v(() => n.value == p.trueValue), U = v(() => yi({ modelValue: n, trueValue: p.trueValue })), W = v(() => it({ cell: p.cell && !x.value, density: p.density, disabled: N.value, field: "v-checkbox", loading: k.value, loadingWait: p.loadingWait, tableField: p.tableField })), q = v(() => rt({ cell: p.cell, cellUnderlineFullWidth: p.cellUnderlineFullWidth, density: p.density, field: "v-checkbox" })), Y = fi({ density: p.density }), ee = v(() => st({ active: x.value, name: "checkbox" })), pe = v(() => lo("checkbox", p.valueColor, { error: B })), be = v(() => ut({ name: "checkbox", showField: x.value })), ge = v(() => ({})), We = v(() => oo({ color: p.color, error: B, theme: s, underlineColor: p.underlineColor, underlineStyle: p.underlineStyle, underlineWidth: p.underlineWidth, underlined: p.underlined })), Ve = v(() => Be.value); + function ke() { + B.value = !1, Ae(); + } + const Be = D(), Oe = D(null), we = D("body"), Ee = _i(); + function Ae() { + var X, Ie; + if (N.value || p.loadingWait && k.value) return; - E.value = dn({ cardMinWidth: (k = s.cardProps) == null ? void 0 : k.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (L = s.cardProps) == null ? void 0 : L.width, field: B.value, name: "checkbox" }); - const x = qn({ attrs: l, closeSiblings: s.closeSiblings, fieldOnly: s.fieldOnly, props: o, showField: m, timeOpened: h.value }); - s = { ...s, ...x.settings }, m.value = x.showField, h.value = x.timeOpened, P !== null && s.closeSiblings && m.value && !s.fieldOnly && P.emit(x.timeOpened); - } - function U(x) { - n.value = x, i("update", x), s.loadingWait || R(); - } - let P, G; - function _(x) { - i("update:closeSiblingFields", h), m.value && h.value !== x && R(); - } - return K(() => M, () => { - var x, k; - E.value = dn({ cardMinWidth: (x = s.cardProps) == null ? void 0 : x.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (k = s.cardProps) == null ? void 0 : k.width, field: B.value, name: "checkbox" }); - }, { deep: !0 }), s.closeSiblings && import("@vueuse/core").then(({ useEventBus: x }) => { - P = x(Pn), G = P.on(_); - }), On(() => { - G !== void 0 && P.off(_); - }), (x, k) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: B, class: ne(r(z)), style: be(r(F)) }, [!r(m) && !r(s).fieldOnly || r(s).cardField ? (J(), ie("div", { key: 0, class: ne(r(j)), onClick: k[2] || (k[2] = (L) => r(s).cell ? R() : void 0) }, [we("div", { class: ne(r(T)), onClick: k[1] || (k[1] = (L) => r(s).cell ? void 0 : R()) }, [we("div", ds, [x.icons ? (J(), ie("div", { key: 0, class: ne(["v-inline-fields--boolean-icons-container", r(O)]), style: be(r(V)) }, [p(r(Xa), { modelValue: r(D), "onUpdate:modelValue": k[0] || (k[0] = (L) => pn(D) ? D.value = L : null), "icon-false": r(s).iconFalse, "icon-false-color": r(s).iconFalseColor, "icon-false-title": r(s).iconFalseTitle, "icon-true": r(s).iconTrue, "icon-true-color": r(s).iconTrueColor, "icon-true-title": r(s).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ie("div", { key: 1, class: ne(["d-inline-flex align-center justify-center", r(O)]), style: be(r(V)) }, Cl(r(q)), 7))])], 2)], 2)) : ve("", !0), r(m) || r(s).fieldOnly || r(s).cardField ? (J(), ie("div", { key: 1, class: ne(r(I)) }, [(J(), he(vn, { disabled: !r(s).cardField, to: r(w) }, [p(ar, Z(r(b), { color: r(s).color, density: r(s).density, disabled: r(y) || r(f), error: r(g), "false-icon": r(A), "false-value": r(s).falseValue, "hide-details": r(s).hideDetails, label: r(s).label, "model-value": r(D), "true-icon": r($), "true-value": r(s).trueValue, "onUpdate:modelValue": U }), Ye({ _: 2 }, [Xe(r(a), (L, X) => ({ name: X, fn: ce((Q) => [_e(x.$slots, X, me(Se({ ...Q })))]) })), r(a).append ? void 0 : { name: "append", fn: ce(() => [p(r(yt), { "cancel-button-color": r(s).cancelButtonColor, "cancel-button-size": r(s).cancelButtonSize, "cancel-button-title": r(s).cancelButtonTitle, "cancel-button-variant": r(s).cancelButtonVariant, "cancel-icon": r(s).cancelIcon, "cancel-icon-color": r(s).cancelIconColor, error: r(g), "field-only": r(s).fieldOnly, "hide-cancel-icon": r(s).hideCancelIcon, "hide-save-icon": !0, loading: r(y), "loading-icon": r(s).loadingIcon, "loading-icon-color": r(s).loadingIconColor, "save-button-color": r(s).saveButtonColor, "save-button-size": r(s).saveButtonSize, "save-button-title": r(s).saveButtonTitle, "save-button-variant": r(s).saveButtonVariant, "save-icon": r(s).saveIcon, "save-icon-color": r(s).saveIconColor, onClose: H, onSave: U }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : ve("", !0), r(s).cardField ? (J(), ie("div", { key: 2, class: ne(r(C)), style: be(r(N)) }, [p(Mn, me(Se(r(S))), { default: ce(() => [p(Cn, null, { default: ce(() => [we("div", { ref_key: "cardFieldRef", ref: w }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : ve("", !0)], 6)); -} }), Qa = je({ __name: "VInlineCustomField", props: Te(_n({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Mo }), { modelValue: {} }), emits: Te([...Un], ["update:modelValue"]), setup(e, { emit: t }) { - const n = fn(e, "modelValue"), l = mn(), a = yn(), i = t, d = se(In, {}), c = se(Symbol.for("vuetify:icons")), u = e; - let o = Me({ ...l, ...u, ...d }); - const s = v(() => u.loading), y = v(() => u.disabled), f = W(!1), g = W(!1), m = W(!1), h = W(null); - let b = n.value; - K(() => s.value, (G, _) => { - !G && _ && m.value && E(); + Be.value = _n({ cardMinWidth: (X = p.cardProps) == null ? void 0 : X.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (Ie = p.cardProps) == null ? void 0 : Ie.width, field: Oe.value, name: "checkbox" }); + const re = dt({ attrs: l, closeSiblings: w.value, fieldOnly: p.fieldOnly, props: i, showField: x, timeOpened: V.value }); + p = { ...p, ...re.settings }, x.value = re.showField, V.value = re.timeOpened, te !== null && w.value && x.value && !p.fieldOnly && te.emit(re.timeOpened); + } + function ve(re) { + n.value = re, a("update", re), p.loadingWait || Ae(); + } + let te, fe; + function De(re) { + a("update:closeSiblingFields", V), x.value && V.value !== re && Ae(); + } + return K(() => Ee, () => { + var re, X; + Be.value = _n({ cardMinWidth: (re = p.cardProps) == null ? void 0 : re.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (X = p.cardProps) == null ? void 0 : X.width, field: Oe.value, name: "checkbox" }); + }, { deep: !0 }), w.value && import("@vueuse/core").then(({ useEventBus: re }) => { + te = re(Jn), fe = te.on(De); + }), Kn(() => { + fe !== void 0 && te.off(De); + }), (re, X) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Oe, class: le(r(W)), style: Te(r(ge)) }, [!r(x) && !r(p).fieldOnly || r(C) ? (J(), ce("div", { key: 0, class: le(r(q)), onClick: X[2] || (X[2] = (Ie) => r(p).cell ? Ae() : void 0) }, [Ge("div", { class: le(r(Y)), onClick: X[1] || (X[1] = (Ie) => r(p).cell ? void 0 : Ae()) }, [Ge("div", ws, [re.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(pe)]), style: Te(r(We)) }, [d(r(vi), { modelValue: r(U), "onUpdate:modelValue": X[0] || (X[0] = (Ie) => On(U) ? U.value = Ie : null), "icon-false": r(p).iconFalse, "icon-false-color": r(p).iconFalseColor, "icon-false-title": r(p).iconFalseTitle, "icon-true": r(p).iconTrue, "icon-true-color": r(p).iconTrueColor, "icon-true-title": r(p).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(pe)]), style: Te(r(We)) }, Ll(r(E)), 7))])], 2)], 2)) : xe("", !0), r(x) || r(G) || r(C) ? (J(), ce("div", { key: 1, class: le(r(ee)) }, [(J(), ze(Pn, { disabled: !r(C), to: r(we) }, [d(Cr, Z(r(j), { color: r(O), density: r(p).density, disabled: r(k) || r(N), error: r(B), "false-icon": r(z), "false-value": r(p).falseValue, "hide-details": r($), label: r(p).label, "model-value": r(U), "true-icon": r(Q), "true-value": r(p).trueValue, "onUpdate:modelValue": ve }), vn({ _: 2 }, [fn(r(o), (Ie, ue) => ({ name: ue, fn: he((_e) => [Ye(re.$slots, ue, Pe(Re({ ..._e })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(y), "cancel-button-size": r(f), "cancel-button-title": r(m), "cancel-button-variant": r(h), "cancel-icon": r(b), "cancel-icon-color": r(g), error: r(B), "field-only": r(G), "hide-cancel-icon": r(T), "hide-save-icon": !0, loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: ke, onSave: ve }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(C) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(Ve)) }, [d(at, Pe(Re(r(L))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: we }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), gi = sn({ __name: "VInlineCustomField", props: Qe(Xn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...oa }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, fieldOnly: w, hideCancelIcon: O, hideSaveIcon: G, loadingIcon: T, loadingIconColor: $, saveButtonColor: R, saveButtonSize: P, saveButtonTitle: S, saveButtonVariant: A, saveIcon: I, saveIconColor: F } = xn(i), _ = v(() => s.disabled), M = v(() => s.loading), N = D(!1), k = D(!1), B = D(!1), x = D(null); + let V = n.value; + K(() => M.value, (te, fe) => { + !te && fe && B.value && ke(); }); - const S = v(() => n.value ? (f.value = !1, o.truncateLength ? Rl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (f.value = !0, o.emptyText)), A = v(() => ({ ...o, loading: s.value, modelValue: n.value, originalValue: b })), $ = v(() => ({ color: o.color, displayAppendIcon: u.displayAppendIcon, displayAppendIconColor: u.displayAppendIconColor, displayAppendIconSize: u.displayAppendIconSize, displayAppendInnerIcon: u.displayAppendInnerIcon, displayAppendInnerIconColor: u.displayAppendInnerIconColor, displayAppendInnerIconSize: u.displayAppendInnerIconSize, displayPrependIcon: u.displayPrependIcon, displayPrependIconColor: u.displayPrependIconColor, displayPrependIconSize: u.displayPrependIconSize, displayPrependInnerIcon: u.displayPrependInnerIcon, displayPrependInnerIconColor: u.displayPrependInnerIconColor, displayPrependInnerIconSize: u.displayPrependInnerIconSize, displayValue: S.value, empty: f.value, error: g.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), q = v(() => ({ ...$n, ...u.cardProps })), D = v(() => Rn({ cell: o.cell && !m.value, density: o.density, disabled: y.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), z = v(() => Nn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-text-field" })), j = qt({ density: o.density, variant: o.variant }), T = v(() => jn({ active: m.value, name: "text-field" })), I = v(() => Gn({ name: "custom-field", showField: m.value })), O = v(() => ({})), C = v(() => V.value); - function F() { - g.value = !1, n.value = b, E(); - } - const V = W(), N = W(null), H = W("body"); - function E() { - var _, x; - if (y.value || o.loadingWait && s.value) + const j = v(() => n.value ? (N.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (N.value = !0, i.emptyText)), L = v(() => ({ ...i, loading: M.value, modelValue: n.value, originalValue: V })), z = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: j.value, empty: N.value, error: k.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), Q = v(() => ({ ...Zn, ...s.cardProps })), E = v(() => it({ cell: i.cell && !B.value, density: i.density, disabled: _.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: M.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), U = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), W = ul({ density: i.density, variant: i.variant }), q = v(() => st({ active: B.value, name: "text-field" })), Y = v(() => ut({ name: "custom-field", showField: B.value })), ee = v(() => ({})), pe = v(() => ge.value); + function be() { + k.value = !1, n.value = V, ke(); + } + const ge = D(), We = D(null), Ve = D("body"); + function ke() { + var fe, De; + if (_.value || i.loadingWait && M.value) return; - V.value = dn({ cardMinWidth: (_ = o.cardProps) == null ? void 0 : _.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (x = o.cardProps) == null ? void 0 : x.width, field: N.value }); - const G = qn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: u, showField: m, timeOpened: h.value }); - o = { ...o, ...G.settings }, m.value = G.showField, h.value = G.timeOpened, R !== null && o.closeSiblings && m.value && !o.fieldOnly && R.emit(G.timeOpened); + ge.value = _n({ cardMinWidth: (fe = i.cardProps) == null ? void 0 : fe.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (De = i.cardProps) == null ? void 0 : De.width, field: We.value }); + const te = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: B, timeOpened: x.value }); + i = { ...i, ...te.settings }, B.value = te.showField, x.value = te.timeOpened, Ee !== null && C.value && B.value && !i.fieldOnly && Ee.emit(te.timeOpened); } - const B = W(); - function w() { - const G = Ht({ required: o.required, rules: o.rules, value: n }); - return g.value = G.errors, B.value = G.results, G.results; + const Be = D(); + function Oe() { + const te = dl({ required: i.required, rules: i.rules, value: n }); + return k.value = te.errors, Be.value = te.results, te.results; } - function M() { - g.value ? g.value = !0 : (b = n.value, i("update", n.value), o.loadingWait || E()); + function we() { + k.value ? k.value = !0 : (V = n.value, a("update", n.value), i.loadingWait || ke()); } - let R, U; - function P(G) { - i("update:closeSiblingFields", h), m.value && h.value !== G && F(); + let Ee, Ae; + function ve(te) { + a("update:closeSiblingFields", x), B.value && x.value !== te && be(); } - return K(() => m.value, () => { - m.value && w(); + return K(() => B.value, () => { + B.value && Oe(); }), K(() => n.value, () => { - m.value && w(); - }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: G }) => { - R = G(Pn), U = R.on(P); - }), On(() => { - U !== void 0 && R.off(P); - }), (G, _) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: N, class: ne(r(D)), style: be(r(O)) }, [!r(m) && !r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 0, class: ne(r(z)) }, [we("div", { class: ne(r(j)) }, [p(r(Ut), Z(r($), { onToggleField: E }), Ye({ _: 2 }, [Xe(r(a), (x, k) => ({ name: k, fn: ce((L) => [_e(G.$slots, k, me(Se({ ...L })))]) }))]), 1040)], 2)], 2)) : ve("", !0), r(m) || r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 1, class: ne(["d-flex align-center py-2", r(T)]) }, [(J(), he(vn, { disabled: !r(o).cardField, to: r(H) }, [_e(G.$slots, "default", me(Se(r(A)))), p(r(yt), { modelValue: n.value, "onUpdate:modelValue": _[0] || (_[0] = (x) => n.value = x), "cancel-button-color": r(o).cancelButtonColor, "cancel-button-size": r(o).cancelButtonSize, "cancel-button-title": r(o).cancelButtonTitle, "cancel-button-variant": r(o).cancelButtonVariant, "cancel-icon": r(o).cancelIcon, "cancel-icon-color": r(o).cancelIconColor, error: r(g), "field-only": r(o).fieldOnly, "hide-cancel-icon": r(o).hideCancelIcon, "hide-save-icon": r(o).hideSaveIcon, loading: r(s), "loading-icon": r(o).loadingIcon, "loading-icon-color": r(o).loadingIconColor, required: r(o).required, "save-button-color": r(o).saveButtonColor, "save-button-size": r(o).saveButtonSize, "save-button-title": r(o).saveButtonTitle, "save-button-variant": r(o).saveButtonVariant, "save-icon": r(o).saveIcon, "save-icon-color": r(o).saveIconColor, onClose: F, onSave: M }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : ve("", !0), r(o).cardField ? (J(), ie("div", { key: 2, class: ne(r(I)), style: be(r(C)) }, [p(Mn, me(Se(r(q))), { default: ce(() => [p(Cn, null, { default: ce(() => [we("div", { ref_key: "cardFieldRef", ref: H }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : ve("", !0)], 6)); -} }), ei = ((e, t) => { + B.value && Oe(); + }), C.value && import("@vueuse/core").then(({ useEventBus: te }) => { + Ee = te(Jn), Ae = Ee.on(ve); + }), Kn(() => { + Ae !== void 0 && Ee.off(ve); + }), (te, fe) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: We, class: le(r(E)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(U)) }, [Ge("div", { class: le(r(W)) }, [d(r(cl), Z(r(z), { onToggleField: ke }), vn({ _: 2 }, [fn(r(o), (De, re) => ({ name: re, fn: he((X) => [Ye(te.$slots, re, Pe(Re({ ...X })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(["d-flex align-center py-2", r(q)]) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Ve) }, [Ye(te.$slots, "default", Pe(Re(r(L)))), d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(k), "field-only": r(w), "hide-cancel-icon": r(O), "hide-save-icon": r(G), loading: r(M), "loading-icon": r(T), "loading-icon-color": r($), "save-button-color": r(R), "save-button-size": r(P), "save-button-title": r(S), "save-button-variant": r(A), "save-icon": r(I), "save-icon-color": r(F), onClose: be, onSave: we }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: Te(r(pe)) }, [d(at, Pe(Re(r(Q))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ve }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), hi = ((e, t) => { const n = e.__vccOpts || e; - for (const [l, a] of t) - n[l] = a; + for (const [l, o] of t) + n[l] = o; return n; -})(je({ __name: "VInlineSelect", props: Te(_n({ clearIcon: {}, clearable: {}, density: {}, hideSelected: {}, itemTitle: {}, itemValue: {}, items: {}, menu: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...gi }), { modelValue: {} }), emits: Te([...Un], ["update:modelValue"]), setup(e, { emit: t }) { - const n = fn(e, "modelValue"), l = mn(), a = yn(), i = t, d = se(In, {}), c = se(Symbol.for("vuetify:icons")), u = e; - let o = Me({ ...l, ...u, ...d }); - const s = v(() => u.loading), y = v(() => u.disabled), f = W(!1), g = W(!1), m = W(), h = W(!1), b = W(null); - let S = n.value; - K(() => s.value, (k, L) => { - !k && L && h.value && w(); +})(sn({ __name: "VInlineSelect", props: Qe(Xn({ clearIcon: {}, clearable: {}, density: {}, hideSelected: {}, itemTitle: {}, itemValue: {}, items: {}, menu: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Pi }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M, valueColor: N } = xn(i), k = v(() => s.disabled), B = v(() => s.loading), x = D(!1), V = D(!1), j = D(), L = D(!1), z = D(null); + let Q = n.value; + K(() => B.value, (ue, _e) => { + !ue && _e && L.value && Ae(); }); - const A = v(() => Le({ icon: u.clearIcon, iconOptions: c, name: "clear" })), $ = v(() => n.value && n.value[o.itemTitle] ? (f.value = !1, n.value[o.itemTitle]) : n.value ? n.value : (f.value = !0, o.emptyText)), q = v(() => mt(o)), D = v(() => ({ color: o.color, displayAppendIcon: u.displayAppendIcon, displayAppendIconColor: u.displayAppendIconColor, displayAppendIconSize: u.displayAppendIconSize, displayAppendInnerIcon: u.displayAppendInnerIcon, displayAppendInnerIconColor: u.displayAppendInnerIconColor, displayAppendInnerIconSize: u.displayAppendInnerIconSize, displayPrependIcon: u.displayPrependIcon, displayPrependIconColor: u.displayPrependIconColor, displayPrependIconSize: u.displayPrependIconSize, displayPrependInnerIcon: u.displayPrependInnerIcon, displayPrependInnerIconColor: u.displayPrependInnerIconColor, displayPrependInnerIconSize: u.displayPrependInnerIconSize, displayValue: $.value, empty: f.value, error: g.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), z = v(() => ({ ...$n, ...u.cardProps })); - Ne(() => { - m.value = o.items || []; + const E = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), U = v(() => n.value && n.value[i.itemTitle] ? (x.value = !1, n.value[i.itemTitle]) : n.value ? n.value : (x.value = !0, i.emptyText)), W = v(() => zt(i)), q = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: U.value, empty: x.value, error: V.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: N.value })), Y = v(() => ({ ...Zn, ...s.cardProps })); + rn(() => { + j.value = i.items || []; }); - const j = v(() => Rn({ cell: o.cell && !h.value, density: o.density, disabled: y.value, field: "v-select", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), T = v(() => Nn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-select" })), I = qt({ density: o.density, variant: o.variant }), O = v(() => jn({ active: h.value, name: "select" })), C = v(() => Gn({ name: "select", showField: h.value })), F = v(() => ({})), V = v(() => H.value); - function N() { - g.value = !1, n.value = S, w(); - } - const H = W(), E = W(null), B = W("body"); - function w() { - var L, X; - if (y.value || o.loadingWait && s.value) + const ee = v(() => it({ cell: i.cell && !L.value, density: i.density, disabled: k.value, field: "v-select", iconSet: u == null ? void 0 : u.defaultSet, loading: B.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), pe = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-select" })), be = ul({ density: i.density, variant: i.variant }), ge = v(() => st({ active: L.value, name: "select" })), We = v(() => ut({ name: "select", showField: L.value })), Ve = v(() => ({})), ke = v(() => Oe.value); + function Be() { + V.value = !1, n.value = Q, Ae(); + } + const Oe = D(), we = D(null), Ee = D("body"); + function Ae() { + var _e, qe; + if (k.value || i.loadingWait && B.value) return; - H.value = dn({ cardMinWidth: (L = o.cardProps) == null ? void 0 : L.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (X = o.cardProps) == null ? void 0 : X.width, field: E.value }); - const k = qn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: u, showField: h, timeOpened: b.value }); - o = { ...o, ...k.settings }, h.value = k.showField, b.value = k.timeOpened, G !== null && o.closeSiblings && h.value && !o.fieldOnly && G.emit(k.timeOpened); + Oe.value = _n({ cardMinWidth: (_e = i.cardProps) == null ? void 0 : _e.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (qe = i.cardProps) == null ? void 0 : qe.width, field: we.value }); + const ue = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: L, timeOpened: z.value }); + i = { ...i, ...ue.settings }, L.value = ue.showField, z.value = ue.timeOpened, re !== null && C.value && L.value && !i.fieldOnly && re.emit(ue.timeOpened); } - const M = W(), R = v(() => M.value); - function U() { - const k = Ht({ required: o.required, rules: o.rules, value: n }); - return g.value = k.errors, M.value = k.results, k.results; + const ve = D(), te = v(() => ve.value); + function fe() { + const ue = dl({ required: i.required, rules: i.rules, value: n }); + return V.value = ue.errors, ve.value = ue.results, ue.results; } - function P() { - S = n.value, i("update", n.value), o.loadingWait || w(); + function De() { + Q = n.value, a("update", n.value), i.loadingWait || Ae(); } - let G, _; - function x(k) { - i("update:closeSiblingFields", b), h.value && b.value !== k && N(); + let re, X; + function Ie(ue) { + a("update:closeSiblingFields", z), L.value && z.value !== ue && Be(); } - return K(() => h.value, () => { - h.value && U(); + return K(() => L.value, () => { + L.value && fe(); }), K(() => n.value, () => { - h.value && U(); - }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: k }) => { - G = k(Pn), _ = G.on(x); - }), On(() => { - _ !== void 0 && G.off(x); - }), (k, L) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: E, class: ne(r(j)), style: be(r(F)) }, [!r(h) && !r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 0, class: ne(r(T)) }, [we("div", { class: ne(r(I)) }, [p(r(Ut), Z(r(D), { onToggleField: w }), Ye({ _: 2 }, [Xe(r(a), (X, Q) => ({ name: Q, fn: ce((ye) => [_e(k.$slots, Q, me(Se({ ...ye })), void 0, !0)]) }))]), 1040)], 2)], 2)) : ve("", !0), r(h) || r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 1, class: ne(r(O)) }, [(J(), he(vn, { disabled: !r(o).cardField, to: r(B) }, [p(Zr, Z(r(q), { modelValue: n.value, "onUpdate:modelValue": L[0] || (L[0] = (X) => n.value = X), autofocus: !r(o).fieldOnly || r(o).autofocus, "clear-icon": r(A), clearable: r(o).clearable, color: r(o).color, density: r(o).density, disabled: r(s) || r(y), error: r(g), "error-messages": r(R), "hide-details": r(o).hideDetails, "hide-selected": r(o).hideSelected, "item-title": r(o).itemTitle, "item-value": r(o).itemValue, items: r(m), label: r(o).label, loading: r(s), menu: r(o).menu && !r(o).fieldOnly && r(h), variant: r(o).variant, width: "100%", onKeyup: kt(N, ["esc"]) }), Ye({ _: 2 }, [Xe(r(a), (X, Q) => ({ name: Q, fn: ce((ye) => [_e(k.$slots, Q, me(Se({ ...ye })), void 0, !0)]) })), r(a).append ? void 0 : { name: "append", fn: ce(() => [p(r(yt), { "cancel-button-color": r(o).cancelButtonColor, "cancel-button-size": r(o).cancelButtonSize, "cancel-button-title": r(o).cancelButtonTitle, "cancel-button-variant": r(o).cancelButtonVariant, "cancel-icon": r(o).cancelIcon, "cancel-icon-color": r(o).cancelIconColor, error: r(g), "field-only": r(o).fieldOnly, "hide-cancel-icon": r(o).hideCancelIcon, "hide-save-icon": r(o).hideSaveIcon, loading: r(s), "loading-icon": r(o).loadingIcon, "loading-icon-color": r(o).loadingIconColor, "save-button-color": r(o).saveButtonColor, "save-button-size": r(o).saveButtonSize, "save-button-title": r(o).saveButtonTitle, "save-button-variant": r(o).saveButtonVariant, "save-icon": r(o).saveIcon, "save-icon-color": r(o).saveIconColor, onClose: N, onSave: P }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant"])], 8, ["disabled", "to"]))], 2)) : ve("", !0), r(o).cardField ? (J(), ie("div", { key: 2, class: ne(r(C)), style: be(r(V)) }, [p(Mn, me(Se(r(z))), { default: ce(() => [p(Cn, null, { default: ce(() => [we("div", { ref_key: "cardFieldRef", ref: B }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : ve("", !0)], 6)); -} }), [["__scopeId", "data-v-04f69808"]]), ps = { class: "v-selection-control__wrapper" }, ni = je({ __name: "VInlineSwitch", props: Te(_n({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...hi }), { modelValue: {} }), emits: Te([...Un], ["update:modelValue"]), setup(e, { emit: t }) { - const n = fn(e, "modelValue"), l = mn(), a = yn(), i = t, d = se(In, {}), c = se(Symbol.for("vuetify:icons")), u = Il(), o = e; - let s = Me({ ...l, ...o, ...d }); - const y = v(() => o.loading), f = v(() => o.disabled), g = W(!1), m = W(!1), h = W(null), b = v(() => mt(s)), S = v(() => ({ ...$n, ...o.cardProps })); - K(() => y.value, (P, G) => { - !P && G && m.value && B(); + L.value && fe(); + }), C.value && import("@vueuse/core").then(({ useEventBus: ue }) => { + re = ue(Jn), X = re.on(Ie); + }), Kn(() => { + X !== void 0 && re.off(Ie); + }), (ue, _e) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: we, class: le(r(ee)), style: Te(r(Ve)) }, [!r(L) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(pe)) }, [Ge("div", { class: le(r(be)) }, [d(r(cl), Z(r(q), { onToggleField: Ae }), vn({ _: 2 }, [fn(r(o), (qe, vt) => ({ name: vt, fn: he((pl) => [Ye(ue.$slots, vt, Pe(Re({ ...pl })), void 0, !0)]) }))]), 1040)], 2)], 2)) : xe("", !0), r(L) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(ge)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Ee) }, [d(vs, Z(r(W), { modelValue: n.value, "onUpdate:modelValue": _e[0] || (_e[0] = (qe) => n.value = qe), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(E), clearable: r(i).clearable, color: r(w), density: r(i).density, disabled: r(B) || r(k), error: r(V), "error-messages": r(te), "hide-details": r(T), "hide-selected": r(i).hideSelected, "item-title": r(i).itemTitle, "item-value": r(i).itemValue, items: r(j), label: r(i).label, loading: r(B), menu: r(i).menu && !r(i).fieldOnly && r(L), variant: r(i).variant, width: "100%", onKeyup: Gt(Be, ["esc"]) }), vn({ _: 2 }, [fn(r(o), (qe, vt) => ({ name: vt, fn: he((pl) => [Ye(ue.$slots, vt, Pe(Re({ ...pl })), void 0, !0)]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(V), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(B), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Be, onSave: De }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(We)), style: Te(r(ke)) }, [d(at, Pe(Re(r(Y))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ee }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), [["__scopeId", "data-v-0716e076"]]), Fs = { class: "v-selection-control__wrapper" }, bi = sn({ __name: "VInlineSwitch", props: Qe(Xn({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...$i }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = Wl(), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, loadingIcon: $, loadingIconColor: R, saveButtonColor: P, saveButtonSize: S, saveButtonTitle: A, saveButtonVariant: I, saveIcon: F, saveIconColor: _ } = xn(i), M = v(() => s.disabled), N = v(() => s.loading), k = D(!1), B = D(!1), x = D(null), V = v(() => zt(i)), j = v(() => ({ ...Zn, ...s.cardProps })); + K(() => N.value, (ve, te) => { + !ve && te && B.value && Be(); }); - const A = v(() => Le({ icon: s.cancelIcon, iconOptions: c, name: "false" })), $ = v(() => n.value == s.trueValue), q = v(() => Ja({ modelValue: n, trueValue: s.trueValue })), D = v(() => Rn({ cell: s.cell && !m.value, density: s.density, disabled: f.value, field: "v-switch", loading: y.value, loadingWait: s.loadingWait, tableField: s.tableField })), z = v(() => Nn({ cell: s.cell, cellUnderlineFullWidth: s.cellUnderlineFullWidth, density: s.density, field: "v-switch" })), j = Ka({ density: s.density }), T = v(() => jn({ active: m.value, name: "switch" })), I = v(() => Wl("switch", s.valueColor, { error: g })), O = v(() => Gn({ name: "switch", showField: m.value })), C = v(() => ({})), F = v(() => Ml({ color: s.color, error: g, theme: u, underlineColor: s.underlineColor, underlineStyle: s.underlineStyle, underlineWidth: s.underlineWidth, underlined: s.underlined })), V = v(() => N.value), N = W(), H = W(null), E = W("body"); - function B() { - var G, _; - if (f.value || s.loadingWait && y.value) + const L = v(() => n.value == i.trueValue), z = v(() => yi({ modelValue: n, trueValue: i.trueValue })), Q = v(() => it({ cell: i.cell && !B.value, density: i.density, disabled: M.value, field: "v-switch", loading: N.value, loadingWait: i.loadingWait, tableField: i.tableField })), E = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-switch" })), U = fi({ density: i.density }), W = v(() => st({ active: B.value, name: "switch" })), q = v(() => lo("switch", i.valueColor, { error: k })), Y = v(() => ut({ name: "switch", showField: B.value })), ee = v(() => ({})), pe = v(() => oo({ color: i.color, error: k, theme: u, underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined })), be = v(() => We.value); + function ge() { + k.value = !1, Be(); + } + const We = D(), Ve = D(null), ke = D("body"); + function Be() { + var te, fe; + if (M.value || i.loadingWait && N.value) return; - N.value = dn({ cardMinWidth: (G = s.cardProps) == null ? void 0 : G.minWidth, cardOffsetX: s.cardOffsetX, cardOffsetY: s.cardOffsetY, cardWidth: (_ = s.cardProps) == null ? void 0 : _.width, field: H.value }); - const P = qn({ attrs: l, closeSiblings: s.closeSiblings, fieldOnly: s.fieldOnly, props: o, showField: m.value, timeOpened: h.value }); - s = { ...s, ...P.settings }, m.value = P.showField, h.value = P.timeOpened, M !== null && s.closeSiblings && m.value && !s.fieldOnly && M.emit(P.timeOpened); - } - function w(P) { - n.value = P, i("update", P), s.loadingWait || B(); - } - let M, R; - function U(P) { - i("update:closeSiblingFields", h), m.value && h.value !== P && B(); - } - return s.closeSiblings && import("@vueuse/core").then(({ useEventBus: P }) => { - M = P(Pn), R = M.on(U); - }), On(() => { - R !== void 0 && M.off(U); - }), (P, G) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: H, class: ne(r(D)), style: be(r(C)) }, [!r(m) && !r(s).fieldOnly || r(s).cardField ? (J(), ie("div", { key: 0, class: ne(r(z)), onClick: G[2] || (G[2] = (_) => r(s).cell ? B() : void 0) }, [we("div", { class: ne(r(j)), onClick: G[1] || (G[1] = (_) => r(s).cell ? void 0 : B()) }, [we("div", ps, [P.icons ? (J(), ie("div", { key: 0, class: ne(["v-inline-fields--boolean-icons-container", r(I)]), style: be(r(F)) }, [p(r(Xa), { modelValue: r(q), "onUpdate:modelValue": G[0] || (G[0] = (_) => pn(q) ? q.value = _ : null), "icon-false": r(s).iconFalse, "icon-false-color": r(s).iconFalseColor, "icon-false-title": r(s).iconFalseTitle, "icon-true": r(s).iconTrue, "icon-true-color": r(s).iconTrueColor, "icon-true-title": r(s).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ie("div", { key: 1, class: ne(["d-inline-flex align-center justify-center", r(I)]), style: be(r(F)) }, Cl(r($)), 7))])], 2)], 2)) : ve("", !0), r(m) || r(s).fieldOnly || r(s).cardField ? (J(), ie("div", { key: 1, class: ne(r(T)) }, [(J(), he(vn, { disabled: !r(s).cardField, to: r(E) }, [p(is, Z(r(b), { color: r(s).color, density: r(s).density, disabled: r(y) || r(f), error: r(g), "false-icon": r(s).falseIcon, "false-value": r(s).falseValue, "hide-details": r(s).hideDetails, label: r(s).label, loading: r(y), "model-value": r(q), "true-value": r(s).trueValue, "onUpdate:modelValue": w }), Ye({ _: 2 }, [Xe(r(a), (_, x) => ({ name: x, fn: ce((k) => [_e(P.$slots, x, me(Se({ ...k })))]) })), r(a).append ? void 0 : { name: "append", fn: ce(() => [r(s).fieldOnly && !r(s).cardField || r(s).hideCancelIcon ? ve("", !0) : (J(), he(ul, { key: 0, class: "ms-3", color: r(s).cancelButtonColor, icon: "", size: r(s).cancelButtonSize, title: r(s).cancelButtonTitle, variant: r(s).cancelButtonVariant, onClick: B }, { default: ce(() => [p(pe, { color: r(s).cancelIconColor, icon: r(A) }, null, 8, ["color", "icon"])]), _: 1 }, 8, ["color", "size", "title", "variant"]))]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : ve("", !0), r(s).cardField ? (J(), ie("div", { key: 2, class: ne(r(O)), style: be(r(V)) }, [p(Mn, me(Se(r(S))), { default: ce(() => [p(Cn, null, { default: ce(() => [we("div", { ref_key: "cardFieldRef", ref: E }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : ve("", !0)], 6)); -} }), ti = je({ __name: "VInlineTextField", props: Te(_n({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Mo }), { modelValue: {} }), emits: Te([...Un], ["update:modelValue"]), setup(e, { emit: t }) { - const n = fn(e, "modelValue"), l = mn(), a = yn(), i = t, d = se(In, {}), c = se(Symbol.for("vuetify:icons")), u = e; - let o = Me({ ...l, ...u, ...d }); - const s = v(() => u.loading), y = v(() => u.disabled), f = W(!1), g = W(!1), m = W(!1), h = W(null); - let b = n.value; - K(() => s.value, (x, k) => { - !x && k && m.value && B(); + We.value = _n({ cardMinWidth: (te = i.cardProps) == null ? void 0 : te.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (fe = i.cardProps) == null ? void 0 : fe.width, field: Ve.value }); + const ve = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: B.value, timeOpened: x.value }); + i = { ...i, ...ve.settings }, B.value = ve.showField, x.value = ve.timeOpened, we !== null && C.value && B.value && !i.fieldOnly && we.emit(ve.timeOpened); + } + function Oe(ve) { + n.value = ve, a("update", ve), i.loadingWait || Be(); + } + let we, Ee; + function Ae(ve) { + a("update:closeSiblingFields", x), B.value && x.value !== ve && Be(); + } + return C.value && import("@vueuse/core").then(({ useEventBus: ve }) => { + we = ve(Jn), Ee = we.on(Ae); + }), Kn(() => { + Ee !== void 0 && we.off(Ae); + }), (ve, te) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Ve, class: le(r(Q)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(i).cardField ? (J(), ce("div", { key: 0, class: le(r(E)), onClick: te[2] || (te[2] = (fe) => r(i).cell ? Be() : void 0) }, [Ge("div", { class: le(r(U)), onClick: te[1] || (te[1] = (fe) => r(i).cell ? void 0 : Be()) }, [Ge("div", Fs, [ve.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(q)]), style: Te(r(pe)) }, [d(r(vi), { modelValue: r(z), "onUpdate:modelValue": te[0] || (te[0] = (fe) => On(z) ? z.value = fe : null), "icon-false": r(i).iconFalse, "icon-false-color": r(i).iconFalseColor, "icon-false-title": r(i).iconFalseTitle, "icon-true": r(i).iconTrue, "icon-true-color": r(i).iconTrueColor, "icon-true-title": r(i).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(q)]), style: Te(r(pe)) }, Ll(r(L)), 7))])], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(W)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(ke) }, [d(Is, Z(r(V), { color: r(w), density: r(i).density, disabled: r(N) || r(M), error: r(k), "false-icon": r(i).falseIcon, "false-value": r(i).falseValue, "hide-details": r(T), label: r(i).label, loading: r(N), "model-value": r(z), "true-value": r(i).trueValue, "onUpdate:modelValue": Oe }), vn({ _: 2 }, [fn(r(o), (fe, De) => ({ name: De, fn: he((re) => [Ye(ve.$slots, De, Pe(Re({ ...re })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), class: "ms-3", error: r(k), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": !0, loading: r(N), "loading-icon": r($), "loading-icon-color": r(R), "save-button-color": r(P), "save-button-size": r(S), "save-button-title": r(A), "save-button-variant": r(I), "save-icon": r(F), "save-icon-color": r(_), onClose: ge, onSave: Oe }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: Te(r(be)) }, [d(at, Pe(Re(r(j))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: ke }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Ci = sn({ __name: "VInlineTextField", props: Qe(Xn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...oa }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(i), N = v(() => s.disabled), k = v(() => s.loading), B = D(!1), x = D(!1), V = D(!1), j = D(null); + let L = n.value; + K(() => k.value, (X, Ie) => { + !X && Ie && V.value && we(); }); - const S = v(() => Le({ icon: u.clearIcon, iconOptions: c, name: "clear" })), A = v(() => n.value ? (f.value = !1, o.truncateLength ? Rl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (f.value = !0, o.emptyText)), $ = v(() => mt(o)), q = v(() => ({ color: o.color, displayAppendIcon: u.displayAppendIcon, displayAppendIconColor: u.displayAppendIconColor, displayAppendIconSize: u.displayAppendIconSize, displayAppendInnerIcon: u.displayAppendInnerIcon, displayAppendInnerIconColor: u.displayAppendInnerIconColor, displayAppendInnerIconSize: u.displayAppendInnerIconSize, displayPrependIcon: u.displayPrependIcon, displayPrependIconColor: u.displayPrependIconColor, displayPrependIconSize: u.displayPrependIconSize, displayPrependInnerIcon: u.displayPrependInnerIcon, displayPrependInnerIconColor: u.displayPrependInnerIconColor, displayPrependInnerIconSize: u.displayPrependInnerIconSize, displayValue: A.value, empty: f.value, error: g.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), D = v(() => ({ ...$n, ...u.cardProps })), z = v(() => Rn({ cell: o.cell && !m.value, density: o.density, disabled: y.value, field: "v-text-field", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), j = v(() => Nn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-text-field" })), T = qt({ density: o.density, variant: o.variant }), I = v(() => jn({ active: m.value, name: "text-field" })), O = v(() => Gn({ name: "text-field", showField: m.value })), C = v(() => ({})), F = v(() => N.value); - function V() { - g.value = !1, n.value = b, B(); - } - const N = W(), H = W(null), E = W("body"); - function B() { - var k, L; - if (y.value || o.loadingWait && s.value) + const z = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => n.value ? (B.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (B.value = !0, i.emptyText)), E = v(() => zt(i)), U = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Zn, ...s.cardProps })), q = v(() => it({ cell: i.cell && !V.value, density: i.density, disabled: N.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), ee = ul({ density: i.density, variant: i.variant }), pe = v(() => st({ active: V.value, name: "text-field" })), be = v(() => ut({ name: "text-field", showField: V.value })), ge = v(() => ({})), We = v(() => ke.value); + function Ve() { + x.value = !1, n.value = L, we(); + } + const ke = D(), Be = D(null), Oe = D("body"); + function we() { + var Ie, ue; + if (N.value || i.loadingWait && k.value) return; - N.value = dn({ cardMinWidth: (k = o.cardProps) == null ? void 0 : k.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (L = o.cardProps) == null ? void 0 : L.width, field: H.value }); - const x = qn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: u, showField: m, timeOpened: h.value }); - o = { ...o, ...x.settings }, m.value = x.showField, h.value = x.timeOpened, P !== null && o.closeSiblings && m.value && !o.fieldOnly && P.emit(x.timeOpened); + ke.value = _n({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); + const X = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: V, timeOpened: j.value }); + i = { ...i, ...X.settings }, V.value = X.showField, j.value = X.timeOpened, fe !== null && C.value && V.value && !i.fieldOnly && fe.emit(X.timeOpened); } - const w = W(), M = v(() => w.value); - function R() { - const x = Ht({ required: o.required, rules: o.rules, value: n }); - return g.value = x.errors, w.value = x.results, x.results; + const Ee = D(), Ae = v(() => Ee.value); + function ve() { + const X = dl({ required: i.required, rules: i.rules, value: n }); + return x.value = X.errors, Ee.value = X.results, X.results; } - function U() { - g.value ? g.value = !0 : (b = n.value, i("update", n.value), o.loadingWait || B()); + function te() { + x.value ? x.value = !0 : (L = n.value, a("update", n.value), i.loadingWait || we()); } - let P, G; - function _(x) { - i("update:closeSiblingFields", h), m.value && h.value !== x && V(); + let fe, De; + function re(X) { + a("update:closeSiblingFields", j), V.value && j.value !== X && Ve(); } - return K(() => m.value, () => { - m.value && R(); + return K(() => V.value, () => { + V.value && ve(); }), K(() => n.value, () => { - m.value && R(); - }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: x }) => { - P = x(Pn), G = P.on(_); - }), On(() => { - G !== void 0 && P.off(_); - }), (x, k) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: H, class: ne(r(z)), style: be(r(C)) }, [!r(m) && !r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 0, class: ne(r(j)) }, [we("div", { class: ne(r(T)) }, [p(r(Ut), Z(r(q), { onToggleField: B }), Ye({ _: 2 }, [Xe(r(a), (L, X) => ({ name: X, fn: ce((Q) => [_e(x.$slots, X, me(Se({ ...Q })))]) }))]), 1040)], 2)], 2)) : ve("", !0), r(m) || r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 1, class: ne(r(I)) }, [(J(), he(vn, { disabled: !r(o).cardField, to: r(E) }, [p(gl, Z(r($), { modelValue: n.value, "onUpdate:modelValue": k[1] || (k[1] = (L) => n.value = L), autofocus: !r(o).fieldOnly || r(o).autofocus, "clear-icon": r(S), color: r(o).color, density: r(o).density, disabled: r(s) || r(y), error: r(g), "error-messages": r(M), "hide-details": r(o).hideDetails, label: r(o).label, loading: r(s), variant: r(o).variant, width: "100%", onKeyup: [kt(U, ["enter"]), kt(V, ["esc"])] }), Ye({ _: 2 }, [Xe(r(a), (L, X) => ({ name: X, fn: ce((Q) => [_e(x.$slots, X, me(Se({ ...Q })))]) })), r(a).append ? void 0 : { name: "append", fn: ce(() => [p(r(yt), { modelValue: n.value, "onUpdate:modelValue": k[0] || (k[0] = (L) => n.value = L), "cancel-button-color": r(o).cancelButtonColor, "cancel-button-size": r(o).cancelButtonSize, "cancel-button-title": r(o).cancelButtonTitle, "cancel-button-variant": r(o).cancelButtonVariant, "cancel-icon": r(o).cancelIcon, "cancel-icon-color": r(o).cancelIconColor, error: r(g), "field-only": r(o).fieldOnly, "hide-cancel-icon": r(o).hideCancelIcon, "hide-save-icon": r(o).hideSaveIcon, loading: r(s), "loading-icon": r(o).loadingIcon, "loading-icon-color": r(o).loadingIconColor, required: r(o).required, "save-button-color": r(o).saveButtonColor, "save-button-size": r(o).saveButtonSize, "save-button-title": r(o).saveButtonTitle, "save-button-variant": r(o).saveButtonVariant, "save-icon": r(o).saveIcon, "save-icon-color": r(o).saveIconColor, onClose: V, onSave: U }, null, 8, ["modelValue", "cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "required", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant"])], 8, ["disabled", "to"]))], 2)) : ve("", !0), r(o).cardField ? (J(), ie("div", { key: 2, class: ne(r(O)), style: be(r(F)) }, [p(Mn, me(Se(r(D))), { default: ce(() => [p(Cn, null, { default: ce(() => [we("div", { ref_key: "cardFieldRef", ref: E }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : ve("", !0)], 6)); -} }), li = je({ __name: "VInlineTextarea", props: Te(_n({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...bi }), { modelValue: {} }), emits: Te([...Un], ["update:modelValue"]), setup(e, { emit: t }) { - const n = fn(e, "modelValue"), l = mn(), a = yn(), i = t, d = se(In, {}), c = se(Symbol.for("vuetify:icons")), u = e; - let o = Me({ ...l, ...u, ...d }); - const s = v(() => u.loading), y = v(() => u.disabled), f = W(!1), g = W(!1), m = W(!1), h = W(null); - let b = n.value; - K(() => s.value, (x, k) => { - !x && k && m.value && B(); + V.value && ve(); + }), C.value && import("@vueuse/core").then(({ useEventBus: X }) => { + fe = X(Jn), De = fe.on(re); + }), Kn(() => { + De !== void 0 && fe.off(re); + }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(q)), style: Te(r(ge)) }, [!r(V) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [Ge("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: we }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(V) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(pe)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Oe) }, [d(Tl, Z(r(E), { modelValue: n.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => n.value = ue), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(z), color: r(w), density: r(i).density, disabled: r(k) || r(N), error: r(x), "error-messages": r(Ae), "hide-details": r(T), label: r(i).label, loading: r(k), variant: r(i).variant, width: "100%", onKeyup: [Gt(te, ["enter"]), Gt(Ve, ["esc"])] }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Ve, onSave: te }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(We)) }, [d(at, Pe(Re(r(W))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Ii = sn({ __name: "VInlineTextarea", props: Qe(Xn({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Ei }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { + const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = ln({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(i), N = v(() => s.disabled), k = v(() => s.loading), B = D(!1), x = D(!1), V = D(!1), j = D(null); + let L = n.value; + K(() => k.value, (X, Ie) => { + !X && Ie && V.value && we(); }); - const S = v(() => Le({ icon: u.clearIcon, iconOptions: c, name: "clear" })), A = v(() => n.value ? (f.value = !1, o.truncateLength ? Rl({ length: o.truncateLength, suffix: o.truncateSuffix, text: n.value }) : n.value) : (f.value = !0, o.emptyText)), $ = v(() => mt(o)), q = v(() => ({ color: o.color, displayAppendIcon: u.displayAppendIcon, displayAppendIconColor: u.displayAppendIconColor, displayAppendIconSize: u.displayAppendIconSize, displayAppendInnerIcon: u.displayAppendInnerIcon, displayAppendInnerIconColor: u.displayAppendInnerIconColor, displayAppendInnerIconSize: u.displayAppendInnerIconSize, displayPrependIcon: u.displayPrependIcon, displayPrependIconColor: u.displayPrependIconColor, displayPrependIconSize: u.displayPrependIconSize, displayPrependInnerIcon: u.displayPrependInnerIcon, displayPrependInnerIconColor: u.displayPrependInnerIconColor, displayPrependInnerIconSize: u.displayPrependInnerIconSize, displayValue: A.value, empty: f.value, error: g.value, field: "v-text-field", underlineColor: o.underlineColor, underlineStyle: o.underlineStyle, underlineWidth: o.underlineWidth, underlined: o.underlined, valueColor: o.valueColor })), D = v(() => ({ ...$n, ...u.cardProps })), z = v(() => Rn({ cell: o.cell && !m.value, density: o.density, disabled: y.value, field: "v-textarea", iconSet: c == null ? void 0 : c.defaultSet, loading: s.value, loadingWait: o.loadingWait, tableField: o.tableField, variant: o.variant })), j = v(() => Nn({ cell: o.cell, cellUnderlineFullWidth: o.cellUnderlineFullWidth, density: o.density, field: "v-textarea" })), T = qt({ density: o.density, variant: o.variant }), I = v(() => jn({ active: m.value, name: "textarea" })), O = v(() => Gn({ name: "textarea", showField: m.value })), C = v(() => ({})), F = v(() => N.value); - function V() { - g.value = !1, n.value = b, B(); - } - const N = W(), H = W(null), E = W("body"); - function B() { - var k, L; - if (y.value || o.loadingWait && s.value) + const z = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => n.value ? (B.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (B.value = !0, i.emptyText)), E = v(() => zt(i)), U = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Zn, ...s.cardProps })), q = v(() => it({ cell: i.cell && !V.value, density: i.density, disabled: N.value, field: "v-textarea", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-textarea" })), ee = ul({ density: i.density, variant: i.variant }), pe = v(() => st({ active: V.value, name: "textarea" })), be = v(() => ut({ name: "textarea", showField: V.value })), ge = v(() => ({})), We = v(() => ke.value); + function Ve() { + x.value = !1, n.value = L, we(); + } + const ke = D(), Be = D(null), Oe = D("body"); + function we() { + var Ie, ue; + if (N.value || i.loadingWait && k.value) return; - N.value = dn({ cardMinWidth: (k = o.cardProps) == null ? void 0 : k.minWidth, cardOffsetX: o.cardOffsetX, cardOffsetY: o.cardOffsetY, cardWidth: (L = o.cardProps) == null ? void 0 : L.width, field: H.value }); - const x = qn({ attrs: l, closeSiblings: o.closeSiblings, fieldOnly: o.fieldOnly, props: u, showField: m, timeOpened: h.value }); - o = { ...o, ...x.settings }, m.value = x.showField, h.value = x.timeOpened, P !== null && o.closeSiblings && m.value && !o.fieldOnly && P.emit(x.timeOpened); + ke.value = _n({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); + const X = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: V, timeOpened: j.value }); + i = { ...i, ...X.settings }, V.value = X.showField, j.value = X.timeOpened, fe !== null && C.value && V.value && !i.fieldOnly && fe.emit(X.timeOpened); } - const w = W(), M = v(() => w.value); - function R() { - const x = Ht({ required: o.required, rules: o.rules, value: n }); - return g.value = x.errors, w.value = x.results, x.results; + const Ee = D(), Ae = v(() => Ee.value); + function ve() { + const X = dl({ required: i.required, rules: i.rules, value: n }); + return x.value = X.errors, Ee.value = X.results, X.results; } - function U() { - b = n.value, i("update", n.value), o.loadingWait || B(); + function te() { + L = n.value, a("update", n.value), i.loadingWait || we(); } - let P, G; - function _(x) { - i("update:closeSiblingFields", h), m.value && h.value !== x && V(); + let fe, De; + function re(X) { + a("update:closeSiblingFields", j), V.value && j.value !== X && Ve(); } - return K(() => m.value, () => { - m.value && R(); + return K(() => V.value, () => { + V.value && ve(); }), K(() => n.value, () => { - m.value && R(); - }), o.closeSiblings && import("@vueuse/core").then(({ useEventBus: x }) => { - P = x(Pn), G = P.on(_); - }), On(() => { - G !== void 0 && P.off(_); - }), (x, k) => (J(), ie("div", { ref_key: "inlineFieldsContainer", ref: H, class: ne(r(z)), style: be(r(C)) }, [!r(m) && !r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 0, class: ne(r(j)) }, [we("div", { class: ne(r(T)) }, [p(r(Ut), Z(r(q), { onToggleField: B }), Ye({ _: 2 }, [Xe(r(a), (L, X) => ({ name: X, fn: ce((Q) => [_e(x.$slots, X, me(Se({ ...Q })))]) }))]), 1040)], 2)], 2)) : ve("", !0), r(m) || r(o).fieldOnly || r(o).cardField ? (J(), ie("div", { key: 1, class: ne(r(I)) }, [(J(), he(vn, { disabled: !r(o).cardField, to: r(E) }, [p(ss, Z(r($), { modelValue: n.value, "onUpdate:modelValue": k[0] || (k[0] = (L) => n.value = L), "auto-grow": r(o).autoGrow, autofocus: !r(o).fieldOnly || r(o).autofocus, "clear-icon": r(S), color: r(o).color, density: r(o).density, disabled: r(s) || r(y), error: r(g), "error-messages": r(M), "hide-details": r(o).hideDetails, label: r(o).label, loading: r(s), rows: r(o).rows, variant: r(o).variant, width: "100%", onKeyup: kt(V, ["esc"]) }), Ye({ _: 2 }, [Xe(r(a), (L, X) => ({ name: X, fn: ce((Q) => [_e(x.$slots, X, me(Se({ ...Q })))]) })), r(a).append ? void 0 : { name: "append", fn: ce(() => [p(r(yt), { "cancel-button-color": r(o).cancelButtonColor, "cancel-button-size": r(o).cancelButtonSize, "cancel-button-title": r(o).cancelButtonTitle, "cancel-button-variant": r(o).cancelButtonVariant, "cancel-icon": r(o).cancelIcon, "cancel-icon-color": r(o).cancelIconColor, error: r(g), "field-only": r(o).fieldOnly, "hide-cancel-icon": r(o).hideCancelIcon, "hide-save-icon": r(o).hideSaveIcon, loading: r(s), "loading-icon": r(o).loadingIcon, "loading-icon-color": r(o).loadingIconColor, "save-button-color": r(o).saveButtonColor, "save-button-size": r(o).saveButtonSize, "save-button-title": r(o).saveButtonTitle, "save-button-variant": r(o).saveButtonVariant, "save-icon": r(o).saveIcon, "save-icon-color": r(o).saveIconColor, onClose: V, onSave: U }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant"])], 8, ["disabled", "to"]))], 2)) : ve("", !0), r(o).cardField ? (J(), ie("div", { key: 2, class: ne(r(O)), style: be(r(F)) }, [p(Mn, me(Se(r(D))), { default: ce(() => [p(Cn, null, { default: ce(() => [we("div", { ref_key: "cardFieldRef", ref: E }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : ve("", !0)], 6)); -} }), In = Symbol(); -function ms(e = {}) { + V.value && ve(); + }), C.value && import("@vueuse/core").then(({ useEventBus: X }) => { + fe = X(Jn), De = fe.on(re); + }), Kn(() => { + De !== void 0 && fe.off(re); + }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(q)), style: Te(r(ge)) }, [!r(V) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [Ge("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: we }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(V) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(pe)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Oe) }, [d(Bs, Z(r(E), { modelValue: n.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => n.value = ue), "auto-grow": r(i).autoGrow, autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(z), color: r(w), density: r(i).density, disabled: r(k) || r(N), error: r(x), "error-messages": r(Ae), "hide-details": r(T), label: r(i).label, loading: r(k), rows: r(i).rows, variant: r(i).variant, width: "100%", onKeyup: Gt(Ve, ["esc"]) }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Ve, onSave: te }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(We)) }, [d(at, Pe(Re(r(W))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Mn = Symbol(); +function Os(e = {}) { return (t) => { - t.provide(In, e), t.component("VInlineCheckbox", Za), t.component("VInlineCustomField", Qa), t.component("VInlineSelect", ei), t.component("VInlineSwitch", ni), t.component("VInlineTextField", ti), t.component("VInlineTextarea", li); + t.provide(Mn, e), t.component("VInlineCheckbox", mi), t.component("VInlineCustomField", gi), t.component("VInlineSelect", hi), t.component("VInlineSwitch", bi), t.component("VInlineTextField", Ci), t.component("VInlineTextarea", Ii); }; } -const gs = { VInlineCheckbox: Za, VInlineCustomField: Qa, VInlineSelect: ei, VInlineSwitch: ni, VInlineTextField: ti, VInlineTextarea: li }; +const Ps = { VInlineCheckbox: mi, VInlineCustomField: gi, VInlineSelect: hi, VInlineSwitch: bi, VInlineTextField: Ci, VInlineTextarea: Ii }; export { - Za as VInlineCheckbox, - Qa as VInlineCustomField, - ei as VInlineSelect, - ni as VInlineSwitch, - ti as VInlineTextField, - li as VInlineTextarea, - ms as createVInlineFields, - gs as default, - In as globalOptions + mi as VInlineCheckbox, + gi as VInlineCustomField, + hi as VInlineSelect, + bi as VInlineSwitch, + Ci as VInlineTextField, + Ii as VInlineTextarea, + Os as createVInlineFields, + Ps as default, + Mn as globalOptions }; -(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-04f69808] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); +(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-0716e076] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();