@madgex/design-system-ce 7.0.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/combobox/Combobox.ce.vue +106 -114
- package/components/combobox/ComboboxPill.vue +8 -5
- package/components/combobox/use-combobox-api.js +59 -0
- package/custom-elements/mds-combobox.js +32 -3
- package/dist/custom-elements/mds-combobox.js +1 -1
- package/dist/runtime-dom.esm-bundler.js +2 -2
- package/package.json +1 -1
|
@@ -14,10 +14,8 @@
|
|
|
14
14
|
<div class="mds-form-control" @click="handleClickInputWrapper">
|
|
15
15
|
<span class="mds-visually-hidden" v-if="multiple && vModel?.length">{{ i18nText.selectedOptionsLabel }}</span>
|
|
16
16
|
<ul class="mds-combobox__pills" v-if="multiple && vModel?.length">
|
|
17
|
-
<li v-for="option in vModel" :key="
|
|
18
|
-
<ComboboxPill :
|
|
19
|
-
{{ getOptionLabel(option) }}
|
|
20
|
-
</ComboboxPill>
|
|
17
|
+
<li v-for="option in vModel" :key="option.value">
|
|
18
|
+
<ComboboxPill :option="option" @remove="handleClickPill(option)" />
|
|
21
19
|
</li>
|
|
22
20
|
</ul>
|
|
23
21
|
<!-- no name so search input is not included in the <form> -->
|
|
@@ -49,7 +47,7 @@
|
|
|
49
47
|
v-for="(option, index) in visibleOptions"
|
|
50
48
|
:id="getOptionIdByIndex(index)"
|
|
51
49
|
:key="index"
|
|
52
|
-
:option-label="
|
|
50
|
+
:option-label="option.label"
|
|
53
51
|
:focused="selectedIndex === index"
|
|
54
52
|
:search-text="searchTextVModel"
|
|
55
53
|
@mousedown="handleMouseDownOption(option)"
|
|
@@ -61,30 +59,40 @@
|
|
|
61
59
|
:results-message="i18nText.resultsMessage"
|
|
62
60
|
:results-message_plural="i18nText.resultsMessage_plural"
|
|
63
61
|
/>
|
|
64
|
-
<!--
|
|
62
|
+
<!-- no `<slot>` usage. `<option>` children are parsed in connectedCallback (mds-combobox.js) before Vue clears light DOM, fallback child content is destroyed on mount -->
|
|
65
63
|
</div>
|
|
66
64
|
</template>
|
|
67
65
|
|
|
68
66
|
<script setup>
|
|
69
67
|
import { computed, provide, ref, useHost, useTemplateRef, watch } from 'vue';
|
|
70
|
-
import safeGet from 'just-safe-get';
|
|
71
|
-
import { useDebounceFn } from '@vueuse/core';
|
|
72
68
|
import Bourne from '@hapi/bourne';
|
|
73
69
|
import ComboboxClear from './ComboboxClear.vue';
|
|
74
70
|
import ListBox from './ListBox.vue';
|
|
71
|
+
import { useComboboxApi } from './use-combobox-api.js';
|
|
75
72
|
import ListBoxOption from './ListBoxOption.vue';
|
|
76
73
|
import ComboboxAriaLive from './ComboboxAriaLive.vue';
|
|
77
74
|
import ComboboxPill from './ComboboxPill.vue';
|
|
78
75
|
|
|
76
|
+
/** @typedef ComboboxOption
|
|
77
|
+
* @type {object}
|
|
78
|
+
* @property {string} label
|
|
79
|
+
* @property {string} value
|
|
80
|
+
*/
|
|
81
|
+
|
|
79
82
|
/*
|
|
80
|
-
* as this is a Web Component, all props are string-ish types
|
|
83
|
+
* as this is a Web Component, all props are string-ish types.
|
|
84
|
+
* Options/initial selected value(s) are provided as child <option value selected> elements (like a native <select>), parsed in connectedCallback.
|
|
81
85
|
* https://vuejs.org/guide/extras/web-components.html#props
|
|
82
86
|
*/
|
|
83
87
|
const props = defineProps({
|
|
88
|
+
/** only used in vue environment - not standalone HTML component */
|
|
89
|
+
value: { type: [Array, Object] },
|
|
90
|
+
/** only used in vue environment - not standalone HTML component */
|
|
91
|
+
options: { type: Array },
|
|
84
92
|
comboboxId: { type: String, required: true },
|
|
85
93
|
placeholder: { type: String, default: '' },
|
|
86
94
|
name: { type: String, required: true },
|
|
87
|
-
|
|
95
|
+
searchText: { type: String, default: '' },
|
|
88
96
|
iconpath: { type: String, default: '/assets/icons.svg' },
|
|
89
97
|
dataAriaInvalid: { type: String, default: '' },
|
|
90
98
|
i18n: { type: String, default: '' },
|
|
@@ -96,54 +104,99 @@ const props = defineProps({
|
|
|
96
104
|
apiQueryKey: { type: String, default: 'searchText' },
|
|
97
105
|
/** where to grab an array of options on api response, e.g. `data.options` would be an array of options, empty to use api response as array */
|
|
98
106
|
apiOptionsPath: { type: String, default: undefined },
|
|
99
|
-
/**
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
|
|
107
|
+
/** relative to options object returned from API response, e.g. 'label' or 'title' or 'nested.object.label' */
|
|
108
|
+
apiOptionLabelPath: { type: String, default: 'label' },
|
|
109
|
+
/** relative to options object returned from API response, e.g. 'value' or 'score' or 'nested.object.value' */
|
|
110
|
+
apiOptionValuePath: { type: String, default: 'value' },
|
|
103
111
|
multiple: { type: Boolean, default: false },
|
|
104
112
|
});
|
|
105
113
|
|
|
106
|
-
|
|
114
|
+
const emit = defineEmits(['update:value', 'change']);
|
|
115
|
+
|
|
116
|
+
// host is the element in the DOM. In a Vue environment (not custom element), host may be null
|
|
107
117
|
const host = useHost();
|
|
108
118
|
// combobox reports its value to the nearest `<form>` element https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals
|
|
109
|
-
// see
|
|
119
|
+
// see mds-combobox.js setting `formAssociated`
|
|
110
120
|
const internals = host?.attachInternals();
|
|
111
121
|
|
|
122
|
+
/** @type {import('vue').Ref<Array<ComboboxOption>|ComboboxOption>}
|
|
123
|
+
* internal selected option(s) state */
|
|
124
|
+
const vModel = ref(props.multiple ? [] : null);
|
|
125
|
+
/** @type {import('vue').Ref<Array<ComboboxOption>>}
|
|
126
|
+
* Options derived from <option> children or `prop.options` */
|
|
127
|
+
const _options = ref([]);
|
|
128
|
+
|
|
112
129
|
/**
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
130
|
+
* Initialise options and value.
|
|
131
|
+
* In a Vue environment, `options` and `value` props take precedence.
|
|
132
|
+
* In a web component environment, options are parsed from <option> children
|
|
133
|
+
* of the host element (stored on `host._initialOptions` by connectedCallback).
|
|
134
|
+
*/
|
|
135
|
+
if (props.options) {
|
|
136
|
+
// Vue environment: use options prop directly
|
|
137
|
+
_options.value = Array.isArray(props.options) ? props.options : [];
|
|
138
|
+
} else {
|
|
139
|
+
// Web component environment: parse from <option> children
|
|
140
|
+
/** @type {Array<ComboboxOption & {_selected:boolean}>} */
|
|
141
|
+
const initialOptions = (host?._initialOptions || []).map((raw) => ({
|
|
142
|
+
label: raw.text,
|
|
143
|
+
value: raw.value,
|
|
144
|
+
_selected: raw._selected,
|
|
145
|
+
}));
|
|
146
|
+
_options.value = initialOptions;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
if (props.value !== undefined && props.value !== null) {
|
|
150
|
+
// Vue environment: use value prop directly
|
|
151
|
+
vModel.value = props.value;
|
|
152
|
+
} else {
|
|
153
|
+
// Web component environment: derive initial value from <option selected>
|
|
154
|
+
const initialSelectedOptions = _options.value.filter((opt) => opt._selected);
|
|
155
|
+
if (props.multiple) {
|
|
156
|
+
vModel.value = initialSelectedOptions;
|
|
157
|
+
} else {
|
|
158
|
+
vModel.value = initialSelectedOptions[0] || null;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/** Watch `props.options` for changes (Vue environment) */
|
|
163
|
+
watch(
|
|
164
|
+
() => props.options,
|
|
165
|
+
(newOptions) => {
|
|
166
|
+
if (newOptions) {
|
|
167
|
+
_options.value = Array.isArray(newOptions) ? newOptions : [];
|
|
168
|
+
}
|
|
127
169
|
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
170
|
+
);
|
|
171
|
+
|
|
172
|
+
/** Watch `value` prop for external changes (Vue environment) */
|
|
173
|
+
watch(
|
|
174
|
+
() => props.value,
|
|
175
|
+
(newValue) => {
|
|
176
|
+
if (newValue !== undefined) {
|
|
177
|
+
vModel.value = newValue;
|
|
178
|
+
}
|
|
131
179
|
},
|
|
132
|
-
|
|
133
|
-
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
/** synchronise vModel with formValue and emit for Vue v-model support */
|
|
134
183
|
watch(
|
|
135
184
|
vModel,
|
|
136
185
|
(val) => {
|
|
186
|
+
// Emit for Vue v-model support
|
|
187
|
+
emit('update:value', val);
|
|
188
|
+
emit('change', val);
|
|
189
|
+
|
|
190
|
+
// Set form value for web component form association
|
|
137
191
|
let formValue;
|
|
138
192
|
if (props.multiple) {
|
|
139
193
|
// if multiple, we can use `FormData` to populate multiple values of the same name
|
|
140
194
|
formValue = new FormData();
|
|
141
195
|
for (const option of val || []) {
|
|
142
|
-
|
|
143
|
-
if (optVal) formValue.append(props.name, optVal);
|
|
196
|
+
if (option.value) formValue.append(props.name, option.value);
|
|
144
197
|
}
|
|
145
198
|
} else {
|
|
146
|
-
formValue =
|
|
199
|
+
formValue = val?.value;
|
|
147
200
|
}
|
|
148
201
|
internals?.setFormValue(formValue || '');
|
|
149
202
|
},
|
|
@@ -151,21 +204,11 @@ watch(
|
|
|
151
204
|
);
|
|
152
205
|
|
|
153
206
|
/** `search-text` is defined with `defineModel` instead of `defineProps` for greater control */
|
|
154
|
-
const searchTextVModel =
|
|
155
|
-
|
|
156
|
-
default: '',
|
|
157
|
-
get(val) {
|
|
158
|
-
return val;
|
|
159
|
-
},
|
|
160
|
-
set(val) {
|
|
161
|
-
// use attribute as source of truth
|
|
162
|
-
host?.setAttribute('search-text', val);
|
|
163
|
-
return val;
|
|
164
|
-
},
|
|
165
|
-
});
|
|
207
|
+
const searchTextVModel = ref(props.searchText);
|
|
208
|
+
|
|
166
209
|
// initial prefill searchText if we are not multiple and vModel is set
|
|
167
210
|
if (!props.multiple && vModel.value && !searchTextVModel.value) {
|
|
168
|
-
searchTextVModel.value =
|
|
211
|
+
searchTextVModel.value = vModel.value?.label;
|
|
169
212
|
}
|
|
170
213
|
|
|
171
214
|
const $comboInput = useTemplateRef('$comboInput');
|
|
@@ -174,13 +217,8 @@ const expanded = ref(false);
|
|
|
174
217
|
/** `selectedIndex` aka "highlighted option", set by using keyboard controls */
|
|
175
218
|
const selectedIndex = ref(null);
|
|
176
219
|
|
|
177
|
-
const isLoading =
|
|
178
|
-
/**
|
|
179
|
-
const apiOptions = ref([]);
|
|
180
|
-
|
|
181
|
-
// as props must be string-ish types, we parse the `options` into a real array
|
|
182
|
-
const parsedPropOptions = computed(() => Bourne.safeParse(props.options) || []);
|
|
183
|
-
|
|
220
|
+
const { isLoading, debouncedFetchApiOptions } = useComboboxApi({ props, searchTextVModel, _options });
|
|
221
|
+
/** @type {import('vue').ComputedRef<{[key:string]:string}>} */
|
|
184
222
|
const i18nText = computed(() => {
|
|
185
223
|
const defaults = {
|
|
186
224
|
loadingText: 'Loading',
|
|
@@ -193,14 +231,14 @@ const i18nText = computed(() => {
|
|
|
193
231
|
const overrides = props.i18n ? Bourne.safeParse(props.i18n) : {};
|
|
194
232
|
return { ...defaults, ...overrides };
|
|
195
233
|
});
|
|
196
|
-
/** filtered
|
|
234
|
+
/** @type {import('vue').ComputedRef<Array<ComboboxOption>>} filtered options by searchTextVModel */
|
|
197
235
|
const visibleOptions = computed(() => {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
);
|
|
236
|
+
// `apiUrl` exists, so we rely on api endpoint to do filtering
|
|
237
|
+
if (props.apiUrl) return _options.value;
|
|
238
|
+
// we are not using apiUrl, we are filtering `options` instead
|
|
239
|
+
return _options.value.filter((opt) => opt?.label?.toLowerCase().includes(searchTextVModel.value.toLowerCase()));
|
|
203
240
|
});
|
|
241
|
+
|
|
204
242
|
const listBoxId = computed(() => `${props.comboboxId}-listbox`);
|
|
205
243
|
|
|
206
244
|
/** generate an DOM `id` for a option, based on index number */
|
|
@@ -233,9 +271,9 @@ function chooseOption(newOption) {
|
|
|
233
271
|
// set value and searchText
|
|
234
272
|
if (!props.multiple) {
|
|
235
273
|
vModel.value = newOption;
|
|
236
|
-
searchTextVModel.value =
|
|
274
|
+
searchTextVModel.value = newOption.label;
|
|
237
275
|
} else {
|
|
238
|
-
const existingOption = vModel.value?.find((_option) =>
|
|
276
|
+
const existingOption = vModel.value?.find((_option) => _option.value === newOption.value);
|
|
239
277
|
if (!existingOption) vModel.value = [...vModel.value, newOption];
|
|
240
278
|
searchTextVModel.value = '';
|
|
241
279
|
}
|
|
@@ -255,53 +293,6 @@ function clearField() {
|
|
|
255
293
|
if (!props.multiple) vModel.value = null;
|
|
256
294
|
}
|
|
257
295
|
|
|
258
|
-
/**
|
|
259
|
-
* if props.apiUrl is set, we fetch options from the API.
|
|
260
|
-
* `apiOptions` should always be populated with an array of objects.
|
|
261
|
-
*/
|
|
262
|
-
const debouncedFetchApiOptions = useDebounceFn(async function fetchApiOptions() {
|
|
263
|
-
if (!props.apiUrl) return;
|
|
264
|
-
const searchQuery = searchTextVModel?.value?.trim();
|
|
265
|
-
try {
|
|
266
|
-
isLoading.value = true;
|
|
267
|
-
let res = await fetch(`${props.apiUrl}?${props.apiQueryKey}=${encodeURIComponent(searchQuery)}`);
|
|
268
|
-
if (!res.ok) return;
|
|
269
|
-
res = await res.json();
|
|
270
|
-
|
|
271
|
-
//where is the array of options on the api response?
|
|
272
|
-
// default to root if props.apiOptionsPath is not set
|
|
273
|
-
const data = props.apiOptionsPath ? safeGet(res, props.apiOptionsPath) : res;
|
|
274
|
-
apiOptions.value = data || [];
|
|
275
|
-
} finally {
|
|
276
|
-
isLoading.value = false;
|
|
277
|
-
}
|
|
278
|
-
}, 350);
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* where do we grab the label from the option object?
|
|
282
|
-
* option.label or option['nested.object.label.path']
|
|
283
|
-
* @param {object} option
|
|
284
|
-
* @returns {string} label
|
|
285
|
-
*/
|
|
286
|
-
function getOptionLabel(option) {
|
|
287
|
-
const label = safeGet(option, props.optionLabelPath);
|
|
288
|
-
return String(label);
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
* where do we grab the value from the option object?
|
|
292
|
-
* option.value or option['nested.object.value.path']
|
|
293
|
-
* @param {object} option
|
|
294
|
-
* @returns {string} value
|
|
295
|
-
*/
|
|
296
|
-
function getOptionValue(option) {
|
|
297
|
-
const val = safeGet(option, props.optionValuePath);
|
|
298
|
-
return String(val ?? '');
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
function getPillAriaLabel(option) {
|
|
302
|
-
return i18nText.value.removePill.replace('{label}', getOptionLabel(option));
|
|
303
|
-
}
|
|
304
|
-
|
|
305
296
|
/**
|
|
306
297
|
* - reset selectedIndex
|
|
307
298
|
* - copies the existing value into `searchTextVModel` (because we manually handle input/change events)
|
|
@@ -333,7 +324,7 @@ function handleClickInputWrapper() {
|
|
|
333
324
|
$comboInput.value?.focus();
|
|
334
325
|
}
|
|
335
326
|
function handleClickPill(option) {
|
|
336
|
-
vModel.value = vModel.value.filter((opt) =>
|
|
327
|
+
vModel.value = vModel.value.filter((opt) => opt.value !== option.value);
|
|
337
328
|
}
|
|
338
329
|
/**
|
|
339
330
|
* As the `Enter` key is handled seperately (see `handleKeyDownEnter`),
|
|
@@ -400,6 +391,7 @@ function handleKeyEsc() {
|
|
|
400
391
|
}
|
|
401
392
|
|
|
402
393
|
provide('iconPath', props.iconpath);
|
|
394
|
+
provide('i18nText', i18nText);
|
|
403
395
|
provide('loadingText', i18nText.value.loadingText);
|
|
404
396
|
provide('clearInput', i18nText.value.clearInput);
|
|
405
397
|
</script>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="mds-combobox__pill mds-border">
|
|
3
|
-
<span class="mds-combobox__pill-text"
|
|
4
|
-
<button class="mds-combobox__pill-icon" type="button" :aria-label="
|
|
3
|
+
<span class="mds-combobox__pill-text">{{ option.label }}</span>
|
|
4
|
+
<button class="mds-combobox__pill-icon" type="button" :aria-label="ariaLabel" @click="handleClickPill">
|
|
5
5
|
<svg aria-hidden="true" focusable="false" class="mds-icon mds-icon--close mds-icon--sm">
|
|
6
6
|
<use :href="`${iconPath}#icon-close`" />
|
|
7
7
|
</svg>
|
|
@@ -10,14 +10,17 @@
|
|
|
10
10
|
</template>
|
|
11
11
|
|
|
12
12
|
<script setup>
|
|
13
|
-
import { inject } from 'vue';
|
|
13
|
+
import { computed, inject } from 'vue';
|
|
14
14
|
|
|
15
|
-
defineProps({
|
|
16
|
-
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
option: { type: Object, required: true },
|
|
17
17
|
});
|
|
18
18
|
const emit = defineEmits(['remove']);
|
|
19
19
|
const iconPath = inject('iconPath');
|
|
20
|
+
const i18nText = inject('i18nText');
|
|
20
21
|
function handleClickPill() {
|
|
21
22
|
emit('remove');
|
|
22
23
|
}
|
|
24
|
+
|
|
25
|
+
const ariaLabel = computed(() => i18nText.value.removePill.replace('{label}', props.option.label));
|
|
23
26
|
</script>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ref } from 'vue';
|
|
2
|
+
import safeGet from 'just-safe-get';
|
|
3
|
+
import { useDebounceFn } from '@vueuse/core';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Composable for combobox API fetching logic.
|
|
7
|
+
* Manages debounced fetching, response mapping, and loading state.
|
|
8
|
+
*
|
|
9
|
+
* @param {object} params
|
|
10
|
+
* @param {object} params.props - component props (apiUrl, apiQueryKey, apiOptionsPath, apiOptionLabelPath, apiOptionValuePath)
|
|
11
|
+
* @param {import('vue').Ref<string>} params.searchTextVModel - the current search text
|
|
12
|
+
* @param {import('vue').Ref<Array>} params._options - the options ref to populate from API response
|
|
13
|
+
*/
|
|
14
|
+
export function useComboboxApi({ props, searchTextVModel, _options }) {
|
|
15
|
+
const isLoading = ref(false);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Create standard ComboboxOption from api response option object.
|
|
19
|
+
* @param {object} rawOption
|
|
20
|
+
* @return {import('./Combobox.ce.vue').ComboboxOption|null}
|
|
21
|
+
*/
|
|
22
|
+
function getOptionFromRawApiOption(rawOption) {
|
|
23
|
+
const label = safeGet(rawOption, props.apiOptionLabelPath);
|
|
24
|
+
const value = safeGet(rawOption, props.apiOptionValuePath);
|
|
25
|
+
if (value === null || value === undefined || label === null || label === undefined) return null;
|
|
26
|
+
return {
|
|
27
|
+
label: String(label),
|
|
28
|
+
value: String(value),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* If props.apiUrl is set, fetch options from the API.
|
|
34
|
+
*/
|
|
35
|
+
const debouncedFetchApiOptions = useDebounceFn(async function fetchApiOptions() {
|
|
36
|
+
if (!props.apiUrl) return;
|
|
37
|
+
const searchQuery = searchTextVModel?.value?.trim();
|
|
38
|
+
try {
|
|
39
|
+
isLoading.value = true;
|
|
40
|
+
let res = await fetch(`${props.apiUrl}?${props.apiQueryKey}=${encodeURIComponent(searchQuery)}`);
|
|
41
|
+
if (!res.ok) return;
|
|
42
|
+
res = await res.json();
|
|
43
|
+
|
|
44
|
+
//where is the array of options on the api response?
|
|
45
|
+
// default to root if props.apiOptionsPath is not set
|
|
46
|
+
const data = props.apiOptionsPath ? safeGet(res, props.apiOptionsPath) : res;
|
|
47
|
+
// ensure options from api are transformed into standard `ComboboxOption`
|
|
48
|
+
// eslint-disable-next-line no-param-reassign
|
|
49
|
+
_options.value = (data || []).map(getOptionFromRawApiOption).filter((item) => item !== null);
|
|
50
|
+
} finally {
|
|
51
|
+
isLoading.value = false;
|
|
52
|
+
}
|
|
53
|
+
}, 350);
|
|
54
|
+
|
|
55
|
+
return {
|
|
56
|
+
isLoading,
|
|
57
|
+
debouncedFetchApiOptions,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -3,9 +3,38 @@ import { defineCustomElement } from 'vue';
|
|
|
3
3
|
// --- Components ---
|
|
4
4
|
import Combobox from '../components/combobox/Combobox.ce.vue';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const MdsComboboxBase = defineCustomElement(Combobox, { shadowRoot: false });
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* extended to collect `<option>` children before Vue initialises
|
|
10
|
+
*/
|
|
11
|
+
class MdsCombobox extends MdsComboboxBase {
|
|
12
|
+
/**
|
|
13
|
+
* we capture `<option>` children in connectedCallback *before* Vue clears the light DOM.
|
|
14
|
+
* The parsed options are stored on `this._initialOptions` and read by Combobox.ce.vue via `useHost()._initialOptions`.
|
|
15
|
+
*/
|
|
16
|
+
connectedCallback() {
|
|
17
|
+
// direct descendant option (e.g. not the ones inside <select> fallback)
|
|
18
|
+
const initialOptions = Array.from(this.querySelectorAll(':scope > option')).map((optionEl) => ({
|
|
19
|
+
value: optionEl.value,
|
|
20
|
+
text: optionEl.textContent.trim(),
|
|
21
|
+
_selected: optionEl.hasAttribute('selected'),
|
|
22
|
+
}));
|
|
23
|
+
|
|
24
|
+
// connectedCallback can run more than once for the same custom element.
|
|
25
|
+
// After Vue has mounted, the light DOM <option> children have been cleared,
|
|
26
|
+
// so a later reconnect overwrites _initialOptions with an empty array and a remount loses the declared options/selection
|
|
27
|
+
// Preserve the first parsed value unless new direct <option> children are actually present.
|
|
28
|
+
if (initialOptions.length > 0 || !Array.isArray(this._initialOptions)) {
|
|
29
|
+
this._initialOptions = initialOptions;
|
|
30
|
+
}
|
|
31
|
+
super.connectedCallback();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* we must set `formAssociated` manually as combobox uses elementInternals and currently vue does not support this
|
|
36
|
+
* https://github.com/vuejs/core/issues/10948#issuecomment-2877323232
|
|
37
|
+
*/
|
|
9
38
|
Object.defineProperty(MdsCombobox, 'formAssociated', { value: true, writable: false });
|
|
10
39
|
|
|
11
40
|
export default MdsCombobox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{v as H,x as w,a as f,b as m,f as b,u as C,q as g,t as L,i as M,y as X,z as Y,A as k,e as Z,r as O,B as _e,C as N,D as B,F as U,l as W,p as G,k as R,E as Q,G as ge,H as _,I as xe,s as Se}from"../runtime-dom.esm-bundler.js";function $e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var A=Ie;function Ie(t,e,o){if(!t)return o;var a,l;if(Array.isArray(e)&&(a=e.slice(0)),typeof e=="string"&&(a=e.split(".")),typeof e=="symbol"&&(a=[e]),!Array.isArray(a))throw new Error("props arg must be an array, a string or a symbol");for(;a.length;)if(l=a.shift(),!t||(t=t[l],t===void 0))return o;return t}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const z=()=>{};function Ce(t,e){function o(...a){return new Promise((l,s)=>{Promise.resolve(t(()=>e.apply(this,a),{fn:e,thisArg:this,args:a})).then(l).catch(s)})}return o}function Pe(t,e={}){let o,a,l=z;const s=r=>{clearTimeout(r),l(),l=z};let i;return r=>{const c=H(t),h=H(e.maxWait);return o&&s(o),c<=0||h!==void 0&&h<=0?(a&&(s(a),a=void 0),Promise.resolve(r())):new Promise((x,T)=>{l=e.rejectOnCancel?T:x,i=r,h&&!a&&(a=setTimeout(()=>{o&&s(o),a=void 0,x(i())},h)),o=setTimeout(()=>{a&&s(a),a=void 0,x(r())},c)})}}function ee(t,e=200,o={}){return Ce(Pe(e,o),t)}var E={},J;function Oe(){return J||(J=1,(function(t){const e={suspectRx:/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*\:/};t.parse=function(o,...a){const l=typeof a[0]=="object"&&a[0],s=a.length>1||!l?a[0]:void 0,i=a.length>1&&a[1]||l||{},p=JSON.parse(o,s);return i.protoAction==="ignore"||!p||typeof p!="object"||!o.match(e.suspectRx)||t.scan(p,i),p},t.scan=function(o,a={}){let l=[o];for(;l.length;){const s=l;l=[];for(const i of s){if(Object.prototype.hasOwnProperty.call(i,"__proto__")){if(a.protoAction!=="remove")throw new SyntaxError("Object contains forbidden prototype property");delete i.__proto__}for(const p in i){const r=i[p];r&&typeof r=="object"&&l.push(i[p])}}}},t.safeParse=function(o,a){try{return t.parse(o,a)}catch{return null}}})(E)),E}var we=Oe();const V=$e(we),Me=["aria-label","title"],Le={"aria-hidden":"true",focusable:"false",class:"mds-icon mds-icon--close mds-icon--sm"},ke=["href"],Te={__name:"ComboboxClear",setup(t){const e=w("iconPath"),o=w("clearInput");return(a,l)=>(f(),m("button",{class:"mds-combobox__clear mds-button mds-button--plain",type:"button",onClick:l[0]||(l[0]=s=>a.$emit("clear",s)),onKeydown:l[1]||(l[1]=g(s=>a.$emit("clear",s),["enter"])),"aria-label":C(o),title:C(o)},[(f(),m("svg",Le,[b("use",{href:`${C(e)}#icon-close`},null,8,ke)]))],40,Me))}},Fe=["hidden"],Be={key:0,class:"mds-combobox-loading"},Re={"aria-hidden":"true",focusable:"true",class:"mds-icon mds-icon--spinner mds-icon--after"},Ae=["href"],Ee={class:"mds-visually-hidden"},Ve={__name:"ListBox",props:{hidden:{type:Boolean,default:!0},isLoading:{type:Boolean,default:!0}},setup(t){const e=w("iconPath"),o=w("loadingText");return(a,l)=>(f(),m("ul",{class:"mds-combobox__listbox",role:"listbox",hidden:t.hidden},[t.isLoading?(f(),m("li",Be,[(f(),m("svg",Re,[b("use",{href:`${C(e)}#icon-spinner`},null,8,Ae)])),b("span",Ee,L(C(o)),1)])):M("",!0),X(a.$slots,"default")],8,Fe))}},Ke=["aria-selected","innerHTML"],De={__name:"ListBoxOption",props:{optionLabel:{type:String,required:!0},focused:{type:Boolean,default:!1},searchText:{type:String,default:""}},setup(t){const e=t,o=Y("$listItem");k(()=>e.focused,l=>{l&&o.value?.scrollIntoView({block:"nearest",inline:"nearest"})});function a(){return e.optionLabel.replace(new RegExp(e.searchText,"gi"),s=>`<span class="mds-combobox__option--marked">${s}</span>`)}return(l,s)=>(f(),m("li",{ref_key:"$listItem",ref:o,class:Z(["mds-combobox__option",{"mds-combobox__option--focused":t.focused}]),role:"option","aria-selected":t.focused.toString(),innerHTML:a()},null,10,Ke))}},je={role:"status",class:"mds-visually-hidden"},qe={__name:"ComboboxAriaLive",props:{visibleOptions:{type:Array,default:()=>[]},expanded:{type:Boolean,default:!1},resultsMessage:{type:String},resultsMessage_plural:{type:String}},setup(t){const e=t;k([()=>e.expanded,()=>e.visibleOptions],()=>{l()},{deep:!0});const o=O(null),a=ee(function(){const i=e.visibleOptions.length===1?e.resultsMessage:e.resultsMessage_plural;o.value=i.replace("{count}",e.visibleOptions.length)},1400);function l(){o.value=null,e.expanded&&a()}return(s,i)=>(f(),m("div",je,L(o.value),1))}},He={class:"mds-combobox__pill mds-border"},Ne={class:"mds-combobox__pill-text"},Ue=["aria-label"],We={"aria-hidden":"true",focusable:"false",class:"mds-icon mds-icon--close mds-icon--sm"},Ge=["href"],Qe={__name:"ComboboxPill",props:{ariaLabelRemove:{type:String,required:!0}},emits:["remove"],setup(t,{emit:e}){const o=e,a=w("iconPath");function l(){o("remove")}return(s,i)=>(f(),m("div",He,[b("span",Ne,[X(s.$slots,"default")]),b("button",{class:"mds-combobox__pill-icon",type:"button","aria-label":t.ariaLabelRemove,onClick:l},[(f(),m("svg",We,[b("use",{href:`${C(a)}#icon-close`},null,8,Ge)]))],8,Ue)]))}},ze={key:0,class:"mds-visually-hidden"},Je={key:1,class:"mds-combobox__pills"},Xe=["id","value","placeholder","aria-controls","aria-expanded","aria-describedby","aria-activedescendant","aria-invalid"],Ye={__name:"Combobox.ce",props:ge({comboboxId:{type:String,required:!0},placeholder:{type:String,default:""},name:{type:String,required:!0},options:{type:String,default:"[]"},iconpath:{type:String,default:"/assets/icons.svg"},dataAriaInvalid:{type:String,default:""},i18n:{type:String,default:""},describedbyId:{type:String,default:""},minSearchCharacters:{type:Number,default:2},apiUrl:{type:String,default:void 0},apiQueryKey:{type:String,default:"searchText"},apiOptionsPath:{type:String,default:void 0},optionLabelPath:{type:String,default:"label"},optionValuePath:{type:String,default:"value"},multiple:{type:Boolean,default:!1}},{value:{type:String,default:""},valueModifiers:{},"search-text":{type:String,default:""},"search-textModifiers":{}}),emits:["update:value","update:search-text"],setup(t){const e=t,o=_e(),a=o?.attachInternals(),l=N(t,"value");k(l,n=>o?.setAttribute("value",n),{immediate:!0});const s=_({get(){const n=e.multiple?[]:null;return V.safeParse(l.value)||n},set(n){n?l.value=JSON.stringify(n):l.value=""}});k(s,n=>{let u;if(e.multiple){u=new FormData;for(const d of n||[]){const v=y(d);v&&u.append(e.name,v)}}else u=y(n);a?.setFormValue(u||"")},{immediate:!0});const i=N(t,"search-text",{get(n){return n},set(n){return o?.setAttribute("search-text",n),n}});!e.multiple&&s.value&&!i.value&&(i.value=I(s.value));const p=Y("$comboInput"),r=O(!1),c=O(null),h=O(!1),x=O([]),T=_(()=>V.safeParse(e.options)||[]),S=_(()=>{const n={loadingText:"Loading",resultsMessage:"{count} result available",resultsMessage_plural:"{count} results available",clearInput:"clear input",removePill:"Remove {label}",selectedOptionsLabel:"Selected options:"},u=e.i18n?V.safeParse(e.i18n):{};return{...n,...u}}),$=_(()=>e.apiUrl?x.value:T.value.filter(n=>I(n).toLowerCase().includes(i.value.toLowerCase()))),K=_(()=>`${e.comboboxId}-listbox`);function D(n){if(typeof n=="number"&&n>-1)return`${e.comboboxId}-option-${n}`}const te=_(()=>r.value?"true":"false"),ne=_(()=>e.dataAriaInvalid?"true":"false");function j(n){if(!n){console.error("attempted to choose an option, but option was falsy");return}e.multiple?(s.value?.find(d=>y(d)===y(n))||(s.value=[...s.value,n]),i.value=""):(s.value=n,i.value=I(n)),P(),c.value=null}function ae(){r.value=!0}function P(){r.value=!1}function q(){i.value="",e.multiple||(s.value=null)}const oe=ee(async function(){if(!e.apiUrl)return;const u=i?.value?.trim();try{h.value=!0;let d=await fetch(`${e.apiUrl}?${e.apiQueryKey}=${encodeURIComponent(u)}`);if(!d.ok)return;d=await d.json();const v=e.apiOptionsPath?A(d,e.apiOptionsPath):d;x.value=v||[]}finally{h.value=!1}},350);function I(n){const u=A(n,e.optionLabelPath);return String(u)}function y(n){const u=A(n,e.optionValuePath);return String(u??"")}function le(n){return S.value.removePill.replace("{label}",I(n))}function se(n){c.value=null,i.value=n.target?n.target.value:"",F(),oe()}function F(){i.value.length===0&&q(),i.value.length>=e.minSearchCharacters?ae():P()}function ie(){F()}function re(){q(),p.value?.focus()}function ue(){p.value?.focus()}function ce(n){s.value=s.value.filter(u=>y(u)!==y(n))}function de(n){j(n)}function fe(n){if(r.value){n.preventDefault();const u=$.value?.[c.value];u?j(u):P()}}function pe(){P()}function me(){r.value&&(c.value!==null?c.value=Math.min(c.value+1,$.value.length-1):c.value=0)}function ve(){r.value&&(c.value!==null?c.value=Math.max(c.value-1,0):c.value=$.value.length-1)}function he(){r.value&&(c.value=0)}function be(){r.value&&(c.value=$.value.length-1)}function ye(){P()}return B("iconPath",e.iconpath),B("loadingText",S.value.loadingText),B("clearInput",S.value.clearInput),(n,u)=>(f(),m("div",{class:Z(["mds-combobox",{"mds-combobox--active":r.value}]),onKeydown:[g(me,["down"]),g(ve,["up"]),g(he,["home"]),g(be,["end"]),g(ye,["esc"]),g(fe,["enter"])]},[b("div",{class:"mds-form-control",onClick:ue},[t.multiple&&s.value?.length?(f(),m("span",ze,L(S.value.selectedOptionsLabel),1)):M("",!0),t.multiple&&s.value?.length?(f(),m("ul",Je,[(f(!0),m(U,null,W(s.value,d=>(f(),m("li",{key:y(d)},[R(Qe,{"aria-label-remove":le(d),onRemove:v=>ce(d)},{default:Q(()=>[xe(L(I(d)),1)]),_:2},1032,["aria-label-remove","onRemove"])]))),128))])):M("",!0),b("input",{id:t.comboboxId,class:"mds-combobox__search-input",ref_key:"$comboInput",ref:p,value:i.value,autocomplete:"off",type:"text",role:"combobox",placeholder:t.placeholder,"aria-controls":K.value,"aria-expanded":te.value,"aria-autocomplete":"list","aria-describedby":t.describedbyId,"aria-activedescendant":D(c.value),"aria-invalid":ne.value,onInput:se,onChange:F,onBlur:pe,onFocus:ie},null,40,Xe),i.value.length>0?(f(),G(Te,{key:2,onClear:re})):M("",!0)]),R(Ve,{id:K.value,hidden:!r.value,"aria-labelledby":`${t.comboboxId}-label`,"is-loading":h.value},{default:Q(()=>[(f(!0),m(U,null,W($.value,(d,v)=>(f(),G(De,{id:D(v),key:v,"option-label":I(d),focused:c.value===v,"search-text":i.value,onMousedown:et=>de(d)},null,8,["id","option-label","focused","search-text","onMousedown"]))),128))]),_:1},8,["id","hidden","aria-labelledby","is-loading"]),R(qe,{"visible-options":$.value,expanded:r.value,"results-message":S.value.resultsMessage,"results-message_plural":S.value.resultsMessage_plural},null,8,["visible-options","expanded","results-message","results-message_plural"])],34))}},Ze=Se(Ye,{shadowRoot:!1});Object.defineProperty(Ze,"formAssociated",{value:!0,writable:!1});export{Ze as default};
|
|
1
|
+
import{v as $,a as f,b as m,f as h,u as g,q as y,t as T,i as A,x as pe,y as D,r as _,z as W,A as S,e as G,B as C,C as fe,D as k,F as q,l as U,p as V,k as M,E as me,s as ve}from"../runtime-dom.esm-bundler.js";function be(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var F={},H;function he(){return H||(H=1,(function(t){const a={suspectRx:/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*\:/};t.parse=function(e,...n){const i=typeof n[0]=="object"&&n[0],r=n.length>1||!i?n[0]:void 0,o=n.length>1&&n[1]||i||{},u=JSON.parse(e,r);return o.protoAction==="ignore"||!u||typeof u!="object"||!e.match(a.suspectRx)||t.scan(u,o),u},t.scan=function(e,n={}){let i=[e];for(;i.length;){const r=i;i=[];for(const o of r){if(Object.prototype.hasOwnProperty.call(o,"__proto__")){if(n.protoAction!=="remove")throw new SyntaxError("Object contains forbidden prototype property");delete o.__proto__}for(const u in o){const s=o[u];s&&typeof s=="object"&&i.push(o[u])}}}},t.safeParse=function(e,n){try{return t.parse(e,n)}catch{return null}}})(F)),F}var ye=he();const _e=be(ye),ge=["aria-label","title"],xe={"aria-hidden":"true",focusable:"false",class:"mds-icon mds-icon--close mds-icon--sm"},Oe=["href"],Ce={__name:"ComboboxClear",setup(t){const a=$("iconPath"),e=$("clearInput");return(n,i)=>(f(),m("button",{class:"mds-combobox__clear mds-button mds-button--plain",type:"button",onClick:i[0]||(i[0]=r=>n.$emit("clear",r)),onKeydown:i[1]||(i[1]=y(r=>n.$emit("clear",r),["enter"])),"aria-label":g(e),title:g(e)},[(f(),m("svg",xe,[h("use",{href:`${g(a)}#icon-close`},null,8,Oe)]))],40,ge))}},$e=["hidden"],Ie={key:0,class:"mds-combobox-loading"},Se={"aria-hidden":"true",focusable:"true",class:"mds-icon mds-icon--spinner mds-icon--after"},Pe=["href"],ke={class:"mds-visually-hidden"},Ae={__name:"ListBox",props:{hidden:{type:Boolean,default:!0},isLoading:{type:Boolean,default:!0}},setup(t){const a=$("iconPath"),e=$("loadingText");return(n,i)=>(f(),m("ul",{class:"mds-combobox__listbox",role:"listbox",hidden:t.hidden},[t.isLoading?(f(),m("li",Ie,[(f(),m("svg",Se,[h("use",{href:`${g(a)}#icon-spinner`},null,8,Pe)])),h("span",ke,T(g(e)),1)])):A("",!0),pe(n.$slots,"default")],8,$e))}};var B=Te;function Te(t,a,e){if(!t)return e;var n,i;if(Array.isArray(a)&&(n=a.slice(0)),typeof a=="string"&&(n=a.split(".")),typeof a=="symbol"&&(n=[a]),!Array.isArray(n))throw new Error("props arg must be an array, a string or a symbol");for(;n.length;)if(i=n.shift(),!t||(t=t[i],t===void 0))return e;return t}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const N=()=>{};function Le(t,a){function e(...n){return new Promise((i,r)=>{Promise.resolve(t(()=>a.apply(this,n),{fn:a,thisArg:this,args:n})).then(i).catch(r)})}return e}function we(t,a={}){let e,n,i=N;const r=s=>{clearTimeout(s),i(),i=N};let o;return s=>{const b=D(t),p=D(a.maxWait);return e&&r(e),b<=0||p!==void 0&&p<=0?(n&&(r(n),n=void 0),Promise.resolve(s())):new Promise((c,L)=>{i=a.rejectOnCancel?L:c,o=s,p&&!n&&(n=setTimeout(()=>{e&&r(e),n=void 0,c(o())},p)),e=setTimeout(()=>{n&&r(n),n=void 0,c(s())},b)})}}function Q(t,a=200,e={}){return Le(we(a,e),t)}function Me({props:t,searchTextVModel:a,_options:e}){const n=_(!1);function i(o){const u=B(o,t.apiOptionLabelPath),s=B(o,t.apiOptionValuePath);return s==null||u===null||u===void 0?null:{label:String(u),value:String(s)}}return{isLoading:n,debouncedFetchApiOptions:Q(async function(){if(!t.apiUrl)return;const u=a?.value?.trim();try{n.value=!0;let s=await fetch(`${t.apiUrl}?${t.apiQueryKey}=${encodeURIComponent(u)}`);if(!s.ok)return;s=await s.json();const b=t.apiOptionsPath?B(s,t.apiOptionsPath):s;e.value=(b||[]).map(i).filter(p=>p!==null)}finally{n.value=!1}},350)}}const Fe=["aria-selected","innerHTML"],Be={__name:"ListBoxOption",props:{optionLabel:{type:String,required:!0},focused:{type:Boolean,default:!1},searchText:{type:String,default:""}},setup(t){const a=t,e=W("$listItem");S(()=>a.focused,i=>{i&&e.value?.scrollIntoView({block:"nearest",inline:"nearest"})});function n(){return a.optionLabel.replace(new RegExp(a.searchText,"gi"),r=>`<span class="mds-combobox__option--marked">${r}</span>`)}return(i,r)=>(f(),m("li",{ref_key:"$listItem",ref:e,class:G(["mds-combobox__option",{"mds-combobox__option--focused":t.focused}]),role:"option","aria-selected":t.focused.toString(),innerHTML:n()},null,10,Fe))}},Re={role:"status",class:"mds-visually-hidden"},je={__name:"ComboboxAriaLive",props:{visibleOptions:{type:Array,default:()=>[]},expanded:{type:Boolean,default:!1},resultsMessage:{type:String},resultsMessage_plural:{type:String}},setup(t){const a=t;S([()=>a.expanded,()=>a.visibleOptions],()=>{i()},{deep:!0});const e=_(null),n=Q(function(){const o=a.visibleOptions.length===1?a.resultsMessage:a.resultsMessage_plural;e.value=o.replace("{count}",a.visibleOptions.length)},1400);function i(){e.value=null,a.expanded&&n()}return(r,o)=>(f(),m("div",Re,T(e.value),1))}},Ee={class:"mds-combobox__pill mds-border"},Ke={class:"mds-combobox__pill-text"},De=["aria-label"],qe={"aria-hidden":"true",focusable:"false",class:"mds-icon mds-icon--close mds-icon--sm"},Ue=["href"],Ve={__name:"ComboboxPill",props:{option:{type:Object,required:!0}},emits:["remove"],setup(t,{emit:a}){const e=t,n=a,i=$("iconPath"),r=$("i18nText");function o(){n("remove")}const u=C(()=>r.value.removePill.replace("{label}",e.option.label));return(s,b)=>(f(),m("div",Ee,[h("span",Ke,T(t.option.label),1),h("button",{class:"mds-combobox__pill-icon",type:"button","aria-label":u.value,onClick:o},[(f(),m("svg",qe,[h("use",{href:`${g(i)}#icon-close`},null,8,Ue)]))],8,De)]))}},He={key:0,class:"mds-visually-hidden"},Ne={key:1,class:"mds-combobox__pills"},We=["id","value","placeholder","aria-controls","aria-expanded","aria-describedby","aria-activedescendant","aria-invalid"],Ge={__name:"Combobox.ce",props:{value:{type:[Array,Object]},options:{type:Array},comboboxId:{type:String,required:!0},placeholder:{type:String,default:""},name:{type:String,required:!0},searchText:{type:String,default:""},iconpath:{type:String,default:"/assets/icons.svg"},dataAriaInvalid:{type:String,default:""},i18n:{type:String,default:""},describedbyId:{type:String,default:""},minSearchCharacters:{type:Number,default:2},apiUrl:{type:String,default:void 0},apiQueryKey:{type:String,default:"searchText"},apiOptionsPath:{type:String,default:void 0},apiOptionLabelPath:{type:String,default:"label"},apiOptionValuePath:{type:String,default:"value"},multiple:{type:Boolean,default:!1}},emits:["update:value","change"],setup(t,{emit:a}){const e=t,n=a,i=fe(),r=i?.attachInternals(),o=_(e.multiple?[]:null),u=_([]);if(e.options)u.value=Array.isArray(e.options)?e.options:[];else{const l=(i?._initialOptions||[]).map(d=>({label:d.text,value:d.value,_selected:d._selected}));u.value=l}if(e.value!==void 0&&e.value!==null)o.value=e.value;else{const l=u.value.filter(d=>d._selected);e.multiple?o.value=l:o.value=l[0]||null}S(()=>e.options,l=>{l&&(u.value=Array.isArray(l)?l:[])}),S(()=>e.value,l=>{l!==void 0&&(o.value=l)}),S(o,l=>{n("update:value",l),n("change",l);let d;if(e.multiple){d=new FormData;for(const v of l||[])v.value&&d.append(e.name,v.value)}else d=l?.value;r?.setFormValue(d||"")},{immediate:!0});const s=_(e.searchText);!e.multiple&&o.value&&!s.value&&(s.value=o.value?.label);const b=W("$comboInput"),p=_(!1),c=_(null),{isLoading:L,debouncedFetchApiOptions:z}=Me({props:e,searchTextVModel:s,_options:u}),x=C(()=>{const l={loadingText:"Loading",resultsMessage:"{count} result available",resultsMessage_plural:"{count} results available",clearInput:"clear input",removePill:"Remove {label}",selectedOptionsLabel:"Selected options:"},d=e.i18n?_e.safeParse(e.i18n):{};return{...l,...d}}),O=C(()=>e.apiUrl?u.value:u.value.filter(l=>l?.label?.toLowerCase().includes(s.value.toLowerCase()))),R=C(()=>`${e.comboboxId}-listbox`);function j(l){if(typeof l=="number"&&l>-1)return`${e.comboboxId}-option-${l}`}const J=C(()=>p.value?"true":"false"),X=C(()=>e.dataAriaInvalid?"true":"false");function E(l){if(!l){console.error("attempted to choose an option, but option was falsy");return}e.multiple?(o.value?.find(v=>v.value===l.value)||(o.value=[...o.value,l]),s.value=""):(o.value=l,s.value=l.label),I(),c.value=null}function Y(){p.value=!0}function I(){p.value=!1}function K(){s.value="",e.multiple||(o.value=null)}function Z(l){c.value=null,s.value=l.target?l.target.value:"",w(),z()}function w(){s.value.length===0&&K(),s.value.length>=e.minSearchCharacters?Y():I()}function ee(){w()}function te(){K(),b.value?.focus()}function ne(){b.value?.focus()}function ae(l){o.value=o.value.filter(d=>d.value!==l.value)}function le(l){E(l)}function oe(l){if(p.value){l.preventDefault();const d=O.value?.[c.value];d?E(d):I()}}function ie(){I()}function se(){p.value&&(c.value!==null?c.value=Math.min(c.value+1,O.value.length-1):c.value=0)}function ue(){p.value&&(c.value!==null?c.value=Math.max(c.value-1,0):c.value=O.value.length-1)}function re(){p.value&&(c.value=0)}function ce(){p.value&&(c.value=O.value.length-1)}function de(){I()}return k("iconPath",e.iconpath),k("i18nText",x),k("loadingText",x.value.loadingText),k("clearInput",x.value.clearInput),(l,d)=>(f(),m("div",{class:G(["mds-combobox",{"mds-combobox--active":p.value}]),onKeydown:[y(se,["down"]),y(ue,["up"]),y(re,["home"]),y(ce,["end"]),y(de,["esc"]),y(oe,["enter"])]},[h("div",{class:"mds-form-control",onClick:ne},[t.multiple&&o.value?.length?(f(),m("span",He,T(x.value.selectedOptionsLabel),1)):A("",!0),t.multiple&&o.value?.length?(f(),m("ul",Ne,[(f(!0),m(q,null,U(o.value,v=>(f(),m("li",{key:v.value},[M(Ve,{option:v,onRemove:P=>ae(v)},null,8,["option","onRemove"])]))),128))])):A("",!0),h("input",{id:t.comboboxId,class:"mds-combobox__search-input",ref_key:"$comboInput",ref:b,value:s.value,autocomplete:"off",type:"text",role:"combobox",placeholder:t.placeholder,"aria-controls":R.value,"aria-expanded":J.value,"aria-autocomplete":"list","aria-describedby":t.describedbyId,"aria-activedescendant":j(c.value),"aria-invalid":X.value,onInput:Z,onChange:w,onBlur:ie,onFocus:ee},null,40,We),s.value.length>0?(f(),V(Ce,{key:2,onClear:te})):A("",!0)]),M(Ae,{id:R.value,hidden:!p.value,"aria-labelledby":`${t.comboboxId}-label`,"is-loading":g(L)},{default:me(()=>[(f(!0),m(q,null,U(O.value,(v,P)=>(f(),V(Be,{id:j(P),key:P,"option-label":v.label,focused:c.value===P,"search-text":s.value,onMousedown:Je=>le(v)},null,8,["id","option-label","focused","search-text","onMousedown"]))),128))]),_:1},8,["id","hidden","aria-labelledby","is-loading"]),M(je,{"visible-options":O.value,expanded:p.value,"results-message":x.value.resultsMessage,"results-message_plural":x.value.resultsMessage_plural},null,8,["visible-options","expanded","results-message","results-message_plural"])],34))}},Qe=ve(Ge,{shadowRoot:!1});class ze extends Qe{connectedCallback(){const a=Array.from(this.querySelectorAll(":scope > option")).map(e=>({value:e.value,text:e.textContent.trim(),_selected:e.hasAttribute("selected")}));(a.length>0||!Array.isArray(this._initialOptions))&&(this._initialOptions=a),super.connectedCallback()}}Object.defineProperty(ze,"formAssociated",{value:!0,writable:!1});export{ze as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z=!0,$=!1,J;return{s:function(){S=S.call(w)},n:function(){var ft=S.next();return z=ft.done,ft},e:function(ft){$=!0,J=ft},f:function(){try{!z&&S.return!=null&&S.return()}finally{if($)throw J}}}}var r=!0,i=!1,o="querySelectorAll",l=function(b){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],z=function ft(le,fe,wt,V,it,ct){var It=n(le),Ee;try{for(It.s();!(Ee=It.n()).done;){var dt=Ee.value;(ct||o in dt)&&(it?wt.has(dt)||(wt.add(dt),V.delete(dt),b(dt,it)):V.has(dt)||(V.add(dt),wt.delete(dt),b(dt,it)),ct||ft(dt[o](fe),fe,wt,V,it,r))}}catch($s){It.e($s)}finally{It.f()}},$=new D(function(ft){if(j.length){var le=j.join(","),fe=new Set,wt=new Set,V=n(ft),it;try{for(V.s();!(it=V.n()).done;){var ct=it.value,It=ct.addedNodes,Ee=ct.removedNodes;z(Ee,le,fe,wt,i,i),z(It,le,fe,wt,r,i)}}catch(dt){V.e(dt)}finally{V.f()}}}),J=$.observe;return($.observe=function(ft){return J.call($,ft,{subtree:r,childList:r})})(S),$},c="querySelectorAll",h=self,a=h.document,p=h.Element,E=h.MutationObserver,T=h.Set,K=h.WeakMap,P=function(b){return c in b},st=[].filter,X=(function(w){var b=new K,S=function(V){for(var it=0,ct=V.length;it<ct;it++)b.delete(V[it])},D=function(){for(var V=le.takeRecords(),it=0,ct=V.length;it<ct;it++)$(st.call(V[it].removedNodes,P),!1),$(st.call(V[it].addedNodes,P),!0)},j=function(V){return V.matches||V.webkitMatchesSelector||V.msMatchesSelector},z=function(V,it){var ct;if(it)for(var It,Ee=j(V),dt=0,$s=J.length;dt<$s;dt++)Ee.call(V,It=J[dt])&&(b.has(V)||b.set(V,new T),ct=b.get(V),ct.has(It)||(ct.add(It),w.handle(V,it,It)));else b.has(V)&&(ct=b.get(V),b.delete(V),ct.forEach(function(Si){w.handle(V,it,Si)}))},$=function(V){for(var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ct=0,It=V.length;ct<It;ct++)z(V[ct],it)},J=w.query,ft=w.root||a,le=l(z,ft,E,J),fe=p.prototype.attachShadow;return fe&&(p.prototype.attachShadow=function(wt){var V=fe.call(this,wt);return le.observe(V),V}),J.length&&$(ft[c](J)),{drop:S,flush:D,observer:le,parse:$}}),F=self,L=F.document,M=F.Map,nt=F.MutationObserver,Tt=F.Object,Ot=F.Set,Ut=F.WeakMap,ae=F.Element,Yt=F.HTMLElement,ie=F.Node,he=F.Error,de=F.TypeError,je=F.Reflect,pe=Tt.defineProperty,at=Tt.keys,tt=Tt.getOwnPropertyNames,W=Tt.setPrototypeOf,Pt=!self.customElements,ge=function(b){for(var S=at(b),D=[],j=new Ot,z=S.length,$=0;$<z;$++){D[$]=b[S[$]];try{delete b[S[$]]}catch{j.add($)}}return function(){for(var J=0;J<z;J++)j.has(J)||(b[S[J]]=D[J])}};if(Pt){var Ht=function(){var b=this.constructor;if(!Ae.has(b))throw new de("Illegal constructor");var S=Ae.get(b);if($e)return u($e,S);var D=Mt.call(L,S);return u(W(D,b.prototype),S)},Mt=L.createElement,Ae=new M,Ce=new M,rs=new M,$t=new M,_e=[],He=function(b,S,D){var j=rs.get(D);if(S&&!j.isPrototypeOf(b)){var z=ge(b);$e=W(b,j);try{new j.constructor}finally{$e=null,z()}}var $="".concat(S?"":"dis","connectedCallback");$ in j&&b[$]()},is=X({query:_e,handle:He}),me=is.parse,$e=null,f=function(b){if(!Ce.has(b)){var S,D=new Promise(function(j){S=j});Ce.set(b,{$:D,_:S})}return Ce.get(b).$},u=t(f,nt);self.customElements={define:function(b,S){if($t.has(b))throw new he('the name "'.concat(b,'" has already been used with this registry'));Ae.set(S,b),rs.set(b,S.prototype),$t.set(b,S),_e.push(b),f(b).then(function(){me(L.querySelectorAll(b))}),Ce.get(b)._(S)},get:function(b){return $t.get(b)},whenDefined:f},pe(Ht.prototype=Yt.prototype,"constructor",{value:Ht}),self.HTMLElement=Ht,L.createElement=function(w,b){var S=b&&b.is,D=S?$t.get(S):$t.get(w);return D?new D:Mt.call(L,w)},"isConnected"in ie.prototype||pe(ie.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else if(Pt=!self.customElements.get("extends-br"),Pt)try{var d=function w(){return self.Reflect.construct(HTMLBRElement,[],w)};d.prototype=HTMLLIElement.prototype;var v="extends-br";self.customElements.define("extends-br",d,{extends:"br"}),Pt=L.createElement("br",{is:v}).outerHTML.indexOf(v)<0;var g=self.customElements,m=g.get,A=g.whenDefined;self.customElements.whenDefined=function(w){var b=this;return A.call(this,w).then(function(S){return S||m.call(b,w)})}}catch{}if(Pt){var x=function(b){var S=B.get(b);Le(S.querySelectorAll(this),b.isConnected)},y=self.customElements,_=L.createElement,R=y.define,C=y.get,O=y.upgrade,N=je||{construct:function(b){return b.call(this)}},U=N.construct,B=new Ut,G=new Ot,et=new M,rt=new M,Rt=new M,bt=new M,oe=[],be=[],ht=function(b){return bt.get(b)||C.call(y,b)},Ft=function(b,S,D){var j=Rt.get(D);if(S&&!j.isPrototypeOf(b)){var z=ge(b);ls=W(b,j);try{new j.constructor}finally{ls=null,z()}}var $="".concat(S?"":"dis","connectedCallback");$ in j&&b[$]()},os=X({query:be,handle:Ft}),Le=os.parse,yi=X({query:oe,handle:function(b,S){B.has(b)&&(S?G.add(b):G.delete(b),be.length&&x.call(be,b))}}),xi=yi.parse,In=ae.prototype.attachShadow;In&&(ae.prototype.attachShadow=function(w){var b=In.call(this,w);return B.set(this,b),b});var js=function(b){if(!rt.has(b)){var S,D=new Promise(function(j){S=j});rt.set(b,{$:D,_:S})}return rt.get(b).$},Hs=t(js,nt),ls=null;tt(self).filter(function(w){return/^HTML.*Element$/.test(w)}).forEach(function(w){var b=self[w];function S(){var D=this.constructor;if(!et.has(D))throw new de("Illegal constructor");var j=et.get(D),z=j.is,$=j.tag;if(z){if(ls)return Hs(ls,z);var J=_.call(L,$);return J.setAttribute("is",z),Hs(W(J,D.prototype),z)}else return U.call(this,b,[],D)}pe(S.prototype=b.prototype,"constructor",{value:S}),pe(self,w,{value:S})}),L.createElement=function(w,b){var S=b&&b.is;if(S){var D=bt.get(S);if(D&&et.get(D).tag===w)return new D}var j=_.call(L,w);return S&&j.setAttribute("is",S),j},y.get=ht,y.whenDefined=js,y.upgrade=function(w){var b=w.getAttribute("is");if(b){var S=bt.get(b);if(S){Hs(W(w,S.prototype),b);return}}O.call(y,w)},y.define=function(w,b,S){if(ht(w))throw new he("'".concat(w,"' has already been defined as a custom element"));var D,j=S&&S.extends;et.set(b,j?{is:w,tag:j}:{is:"",tag:w}),j?(D="".concat(j,'[is="').concat(w,'"]'),Rt.set(D,b.prototype),bt.set(w,b),be.push(D)):(R.apply(y,arguments),oe.push(D=w)),js(w).then(function(){j?(Le(L.querySelectorAll(D)),G.forEach(x,[D])):xi(L.querySelectorAll(D))}),rt.get(w)._(b)}}})()),Nn}wi();function an(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const k={},Pe=[],Gt=()=>{},dr=()=>!1,Ss=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ws=t=>t.startsWith("onUpdate:"),ot=Object.assign,hn=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},Ai=Object.prototype.hasOwnProperty,q=(t,e)=>Ai.call(t,e),I=Array.isArray,Me=t=>es(t)==="[object Map]",pr=t=>es(t)==="[object Set]",Dn=t=>es(t)==="[object Date]",H=t=>typeof t=="function",lt=t=>typeof t=="string",Vt=t=>typeof t=="symbol",Q=t=>t!==null&&typeof t=="object",gr=t=>(Q(t)||H(t))&&H(t.then)&&H(t.catch),_r=Object.prototype.toString,es=t=>_r.call(t),Ci=t=>es(t).slice(8,-1),As=t=>es(t)==="[object Object]",dn=t=>lt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,We=an(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cs=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},Ei=/-\w/g,ut=Cs(t=>t.replace(Ei,e=>e.slice(1).toUpperCase())),Ti=/\B([A-Z])/g,Et=Cs(t=>t.replace(Ti,"-$1").toLowerCase()),Es=Cs(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ls=Cs(t=>t?`on${Es(t)}`:""),pt=(t,e)=>!Object.is(t,e),Vs=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},mr=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Oi=t=>{const e=parseFloat(t);return isNaN(e)?t:e},jn=t=>{const e=lt(t)?Number(t):NaN;return isNaN(e)?t:e};let Hn;const Ts=()=>Hn||(Hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pn(t){if(I(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],r=lt(n)?Ii(n):pn(n);if(r)for(const i in r)e[i]=r[i]}return e}else if(lt(t)||Q(t))return t}const Pi=/;(?![^(]*\))/g,Mi=/:([^]+)/,Ri=/\/\*[^]*?\*\//g;function Ii(t){const e={};return t.replace(Ri,"").split(Pi).forEach(s=>{if(s){const n=s.split(Mi);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function gn(t){let e="";if(lt(t))e=t;else if(I(t))for(let s=0;s<t.length;s++){const n=gn(t[s]);n&&(e+=n+" ")}else if(Q(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Ni="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fi=an(Ni);function br(t){return!!t||t===""}function Di(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=_n(t[n],e[n]);return s}function _n(t,e){if(t===e)return!0;let s=Dn(t),n=Dn(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Vt(t),n=Vt(e),s||n)return t===e;if(s=I(t),n=I(e),s||n)return s&&n?Di(t,e):!1;if(s=Q(t),n=Q(e),s||n){if(!s||!n)return!1;const r=Object.keys(t).length,i=Object.keys(e).length;if(r!==i)return!1;for(const o in t){const l=t.hasOwnProperty(o),c=e.hasOwnProperty(o);if(l&&!c||!l&&c||!_n(t[o],e[o]))return!1}}return String(t)===String(e)}const vr=t=>!!(t&&t.__v_isRef===!0),ji=t=>lt(t)?t:t==null?"":I(t)||Q(t)&&(t.toString===_r||!H(t.toString))?vr(t)?ji(t.value):JSON.stringify(t,yr,2):String(t),yr=(t,e)=>vr(e)?yr(t,e.value):Me(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,r],i)=>(s[Ks(n,i)+" =>"]=r,s),{})}:pr(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Ks(s))}:Vt(e)?Ks(e):Q(e)&&!I(e)&&!As(e)?String(e):e,Ks=(t,e="")=>{var s;return Vt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};let Ct;class Hi{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ct,!e&&Ct&&(this.index=(Ct.scopes||(Ct.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Ct;try{return Ct=this,e()}finally{Ct=s}}}on(){++this._on===1&&(this.prevScope=Ct,Ct=this)}off(){this._on>0&&--this._on===0&&(Ct=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function $i(){return Ct}let Z;const Us=new WeakSet;class xr{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ct&&Ct.active&&Ct.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Us.has(this)&&(Us.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$n(this),Ar(this);const e=Z,s=Lt;Z=this,Lt=!0;try{return this.fn()}finally{Cr(this),Z=e,Lt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)vn(e);this.deps=this.depsTail=void 0,$n(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Us.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qs(this)&&this.run()}get dirty(){return Qs(this)}}let Sr=0,Be,qe;function wr(t,e=!1){if(t.flags|=8,e){t.next=qe,qe=t;return}t.next=Be,Be=t}function mn(){Sr++}function bn(){if(--Sr>0)return;if(qe){let e=qe;for(qe=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Be;){let e=Be;for(Be=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function Ar(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Cr(t){let e,s=t.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),vn(n),Li(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}t.deps=e,t.depsTail=s}function Qs(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Er(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Er(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ye)||(t.globalVersion=Ye,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Qs(t))))return;t.flags|=2;const e=t.dep,s=Z,n=Lt;Z=t,Lt=!0;try{Ar(t);const r=t.fn(t._value);(e.version===0||pt(r,t._value))&&(t.flags|=128,t._value=r,e.version++)}catch(r){throw e.version++,r}finally{Z=s,Lt=n,Cr(t),t.flags&=-3}}function vn(t,e=!1){const{dep:s,prevSub:n,nextSub:r}=t;if(n&&(n.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)vn(i,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Li(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Lt=!0;const Tr=[];function te(){Tr.push(Lt),Lt=!1}function ee(){const t=Tr.pop();Lt=t===void 0?!0:t}function $n(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=Z;Z=void 0;try{e()}finally{Z=s}}}let Ye=0;class Vi{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Os{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Z||!Lt||Z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Z)s=this.activeLink=new Vi(Z,this),Z.deps?(s.prevDep=Z.depsTail,Z.depsTail.nextDep=s,Z.depsTail=s):Z.deps=Z.depsTail=s,Or(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=Z.depsTail,s.nextDep=void 0,Z.depsTail.nextDep=s,Z.depsTail=s,Z.deps===s&&(Z.deps=n)}return s}trigger(e){this.version++,Ye++,this.notify(e)}notify(e){mn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{bn()}}}function Or(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Or(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Xs=new WeakMap,Se=Symbol(""),Zs=Symbol(""),ze=Symbol("");function gt(t,e,s){if(Lt&&Z){let n=Xs.get(t);n||Xs.set(t,n=new Map);let r=n.get(s);r||(n.set(s,r=new Os),r.map=n,r.key=s),r.track()}}function Zt(t,e,s,n,r,i){const o=Xs.get(t);if(!o){Ye++;return}const l=c=>{c&&c.trigger()};if(mn(),e==="clear")o.forEach(l);else{const c=I(t),h=c&&dn(s);if(c&&s==="length"){const a=Number(n);o.forEach((p,E)=>{(E==="length"||E===ze||!Vt(E)&&E>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),h&&l(o.get(ze)),e){case"add":c?h&&l(o.get("length")):(l(o.get(Se)),Me(t)&&l(o.get(Zs)));break;case"delete":c||(l(o.get(Se)),Me(t)&&l(o.get(Zs)));break;case"set":Me(t)&&l(o.get(Se));break}}bn()}function Te(t){const e=Y(t);return e===t?e:(gt(e,"iterate",ze),jt(t)?e:e.map(Kt))}function Ps(t){return gt(t=Y(t),"iterate",ze),t}function qt(t,e){return se(t)?Fe(we(t)?Kt(e):e):Kt(e)}const Ki={__proto__:null,[Symbol.iterator](){return Ws(this,Symbol.iterator,t=>qt(this,t))},concat(...t){return Te(this).concat(...t.map(e=>I(e)?Te(e):e))},entries(){return Ws(this,"entries",t=>(t[1]=qt(this,t[1]),t))},every(t,e){return zt(this,"every",t,e,void 0,arguments)},filter(t,e){return zt(this,"filter",t,e,s=>s.map(n=>qt(this,n)),arguments)},find(t,e){return zt(this,"find",t,e,s=>qt(this,s),arguments)},findIndex(t,e){return zt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return zt(this,"findLast",t,e,s=>qt(this,s),arguments)},findLastIndex(t,e){return zt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return zt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Bs(this,"includes",t)},indexOf(...t){return Bs(this,"indexOf",t)},join(t){return Te(this).join(t)},lastIndexOf(...t){return Bs(this,"lastIndexOf",t)},map(t,e){return zt(this,"map",t,e,void 0,arguments)},pop(){return Ve(this,"pop")},push(...t){return Ve(this,"push",t)},reduce(t,...e){return Ln(this,"reduce",t,e)},reduceRight(t,...e){return Ln(this,"reduceRight",t,e)},shift(){return Ve(this,"shift")},some(t,e){return zt(this,"some",t,e,void 0,arguments)},splice(...t){return Ve(this,"splice",t)},toReversed(){return Te(this).toReversed()},toSorted(t){return Te(this).toSorted(t)},toSpliced(...t){return Te(this).toSpliced(...t)},unshift(...t){return Ve(this,"unshift",t)},values(){return Ws(this,"values",t=>qt(this,t))}};function Ws(t,e,s){const n=Ps(t),r=n[e]();return n!==t&&!jt(t)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const Ui=Array.prototype;function zt(t,e,s,n,r,i){const o=Ps(t),l=o!==t&&!jt(t),c=o[e];if(c!==Ui[e]){const p=c.apply(t,i);return l?Kt(p):p}let h=s;o!==t&&(l?h=function(p,E){return s.call(this,qt(t,p),E,t)}:s.length>2&&(h=function(p,E){return s.call(this,p,E,t)}));const a=c.call(o,h,n);return l&&r?r(a):a}function Ln(t,e,s,n){const r=Ps(t),i=r!==t&&!jt(t);let o=s,l=!1;r!==t&&(i?(l=n.length===0,o=function(h,a,p){return l&&(l=!1,h=qt(t,h)),s.call(this,h,qt(t,a),p,t)}):s.length>3&&(o=function(h,a,p){return s.call(this,h,a,p,t)}));const c=r[e](o,...n);return l?qt(t,c):c}function Bs(t,e,s){const n=Y(t);gt(n,"iterate",ze);const r=n[e](...s);return(r===-1||r===!1)&&wn(s[0])?(s[0]=Y(s[0]),n[e](...s)):r}function Ve(t,e,s=[]){te(),mn();const n=Y(t)[e].apply(t,s);return bn(),ee(),n}const Wi=an("__proto__,__v_isRef,__isVue"),Pr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Vt));function Bi(t){Vt(t)||(t=String(t));const e=Y(this);return gt(e,"has",t),e.hasOwnProperty(t)}class Mr{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?to:Fr:i?Nr:Ir).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=I(e);if(!r){let c;if(o&&(c=Ki[s]))return c;if(s==="hasOwnProperty")return Bi}const l=Reflect.get(e,s,mt(e)?e:n);if((Vt(s)?Pr.has(s):Wi(s))||(r||gt(e,"get",s),i))return l;if(mt(l)){const c=o&&dn(s)?l:l.value;return r&&Q(c)?en(c):c}return Q(l)?r?en(l):xn(l):l}}class Rr extends Mr{constructor(e=!1){super(!1,e)}set(e,s,n,r){let i=e[s];const o=I(e)&&dn(s);if(!this._isShallow){const h=se(i);if(!jt(n)&&!se(n)&&(i=Y(i),n=Y(n)),!o&&mt(i)&&!mt(n))return h||(i.value=n),!0}const l=o?Number(s)<e.length:q(e,s),c=Reflect.set(e,s,n,mt(e)?e:r);return e===Y(r)&&(l?pt(n,i)&&Zt(e,"set",s,n):Zt(e,"add",s,n)),c}deleteProperty(e,s){const n=q(e,s);e[s];const r=Reflect.deleteProperty(e,s);return r&&n&&Zt(e,"delete",s,void 0),r}has(e,s){const n=Reflect.has(e,s);return(!Vt(s)||!Pr.has(s))&>(e,"has",s),n}ownKeys(e){return gt(e,"iterate",I(e)?"length":Se),Reflect.ownKeys(e)}}class qi extends Mr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const ki=new Rr,Gi=new qi,Ji=new Rr(!0);const tn=t=>t,fs=t=>Reflect.getPrototypeOf(t);function Yi(t,e,s){return function(...n){const r=this.__v_raw,i=Y(r),o=Me(i),l=t==="entries"||t===Symbol.iterator&&o,c=t==="keys"&&o,h=r[t](...n),a=s?tn:e?Fe:Kt;return!e&>(i,"iterate",c?Zs:Se),ot(Object.create(h),{next(){const{value:p,done:E}=h.next();return E?{value:p,done:E}:{value:l?[a(p[0]),a(p[1])]:a(p),done:E}}})}}function cs(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function zi(t,e){const s={get(r){const i=this.__v_raw,o=Y(i),l=Y(r);t||(pt(r,l)&>(o,"get",r),gt(o,"get",l));const{has:c}=fs(o),h=e?tn:t?Fe:Kt;if(c.call(o,r))return h(i.get(r));if(c.call(o,l))return h(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!t&>(Y(r),"iterate",Se),r.size},has(r){const i=this.__v_raw,o=Y(i),l=Y(r);return t||(pt(r,l)&>(o,"has",r),gt(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Y(l),h=e?tn:t?Fe:Kt;return!t&>(c,"iterate",Se),l.forEach((a,p)=>r.call(i,h(a),h(p),o))}};return ot(s,t?{add:cs("add"),set:cs("set"),delete:cs("delete"),clear:cs("clear")}:{add(r){const i=Y(this),o=fs(i),l=Y(r),c=!e&&!jt(r)&&!se(r)?l:r;return o.has.call(i,c)||pt(r,c)&&o.has.call(i,r)||pt(l,c)&&o.has.call(i,l)||(i.add(c),Zt(i,"add",c,c)),this},set(r,i){!e&&!jt(i)&&!se(i)&&(i=Y(i));const o=Y(this),{has:l,get:c}=fs(o);let h=l.call(o,r);h||(r=Y(r),h=l.call(o,r));const a=c.call(o,r);return o.set(r,i),h?pt(i,a)&&Zt(o,"set",r,i):Zt(o,"add",r,i),this},delete(r){const i=Y(this),{has:o,get:l}=fs(i);let c=o.call(i,r);c||(r=Y(r),c=o.call(i,r)),l&&l.call(i,r);const h=i.delete(r);return c&&Zt(i,"delete",r,void 0),h},clear(){const r=Y(this),i=r.size!==0,o=r.clear();return i&&Zt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Yi(r,t,e)}),s}function yn(t,e){const s=zi(t,e);return(n,r,i)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?n:Reflect.get(q(s,r)&&r in n?s:n,r,i)}const Qi={get:yn(!1,!1)},Xi={get:yn(!1,!0)},Zi={get:yn(!0,!1)};const Ir=new WeakMap,Nr=new WeakMap,Fr=new WeakMap,to=new WeakMap;function eo(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function so(t){return t.__v_skip||!Object.isExtensible(t)?0:eo(Ci(t))}function xn(t){return se(t)?t:Sn(t,!1,ki,Qi,Ir)}function no(t){return Sn(t,!1,Ji,Xi,Nr)}function en(t){return Sn(t,!0,Gi,Zi,Fr)}function Sn(t,e,s,n,r){if(!Q(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=so(t);if(i===0)return t;const o=r.get(t);if(o)return o;const l=new Proxy(t,i===2?n:s);return r.set(t,l),l}function we(t){return se(t)?we(t.__v_raw):!!(t&&t.__v_isReactive)}function se(t){return!!(t&&t.__v_isReadonly)}function jt(t){return!!(t&&t.__v_isShallow)}function wn(t){return t?!!t.__v_raw:!1}function Y(t){const e=t&&t.__v_raw;return e?Y(e):t}function ro(t){return!q(t,"__v_skip")&&Object.isExtensible(t)&&mr(t,"__v_skip",!0),t}const Kt=t=>Q(t)?xn(t):t,Fe=t=>Q(t)?en(t):t;function mt(t){return t?t.__v_isRef===!0:!1}function nf(t){return Dr(t,!1)}function io(t){return Dr(t,!0)}function Dr(t,e){return mt(t)?t:new oo(t,e)}class oo{constructor(e,s){this.dep=new Os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Y(e),this._value=s?e:Kt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||jt(e)||se(e);e=n?e:Y(e),pt(e,s)&&(this._rawValue=e,this._value=n?e:Kt(e),this.dep.trigger())}}function An(t){return mt(t)?t.value:t}function rf(t){return H(t)?t():An(t)}const lo={get:(t,e,s)=>e==="__v_raw"?t:An(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const r=t[e];return mt(r)&&!mt(s)?(r.value=s,!0):Reflect.set(t,e,s,n)}};function jr(t){return we(t)?t:new Proxy(t,lo)}class fo{constructor(e){this.__v_isRef=!0,this._value=void 0;const s=this.dep=new Os,{get:n,set:r}=e(s.track.bind(s),s.trigger.bind(s));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function co(t){return new fo(t)}class uo{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ye-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return wr(this,!0),!0}get value(){const e=this.dep.track();return Er(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function ao(t,e,s=!1){let n,r;return H(t)?n=t:(n=t.get,r=t.set),new uo(n,r,s)}const us={},ps=new WeakMap;let xe;function ho(t,e=!1,s=xe){if(s){let n=ps.get(s);n||ps.set(s,n=[]),n.push(t)}}function po(t,e,s=k){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=s,h=M=>r?M:jt(M)||r===!1||r===0?ue(M,1):ue(M);let a,p,E,T,K=!1,P=!1;if(mt(t)?(p=()=>t.value,K=jt(t)):we(t)?(p=()=>h(t),K=!0):I(t)?(P=!0,K=t.some(M=>we(M)||jt(M)),p=()=>t.map(M=>{if(mt(M))return M.value;if(we(M))return h(M);if(H(M))return c?c(M,2):M()})):H(t)?e?p=c?()=>c(t,2):t:p=()=>{if(E){te();try{E()}finally{ee()}}const M=xe;xe=a;try{return c?c(t,3,[T]):t(T)}finally{xe=M}}:p=Gt,e&&r){const M=p,nt=r===!0?1/0:r;p=()=>ue(M(),nt)}const st=$i(),X=()=>{a.stop(),st&&st.active&&hn(st.effects,a)};if(i&&e){const M=e;e=(...nt)=>{M(...nt),X()}}let F=P?new Array(t.length).fill(us):us;const L=M=>{if(!(!(a.flags&1)||!a.dirty&&!M))if(e){const nt=a.run();if(r||K||(P?nt.some((Tt,Ot)=>pt(Tt,F[Ot])):pt(nt,F))){E&&E();const Tt=xe;xe=a;try{const Ot=[nt,F===us?void 0:P&&F[0]===us?[]:F,T];F=nt,c?c(e,3,Ot):e(...Ot)}finally{xe=Tt}}}else a.run()};return l&&l(L),a=new xr(p),a.scheduler=o?()=>o(L,!1):L,T=M=>ho(M,!1,a),E=a.onStop=()=>{const M=ps.get(a);if(M){if(c)c(M,4);else for(const nt of M)nt();ps.delete(a)}},e?n?L(!0):F=a.run():o?o(L.bind(null,!0),!0):a.run(),X.pause=a.pause.bind(a),X.resume=a.resume.bind(a),X.stop=X,X}function ue(t,e=1/0,s){if(e<=0||!Q(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,mt(t))ue(t.value,e,s);else if(I(t))for(let n=0;n<t.length;n++)ue(t[n],e,s);else if(pr(t)||Me(t))t.forEach(n=>{ue(n,e,s)});else if(As(t)){for(const n in t)ue(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&ue(t[n],e,s)}return t}function ss(t,e,s,n){try{return n?t(...n):t()}catch(r){Ms(r,e,s)}}function Jt(t,e,s,n){if(H(t)){const r=ss(t,e,s,n);return r&&gr(r)&&r.catch(i=>{Ms(i,e,s)}),r}if(I(t)){const r=[];for(let i=0;i<t.length;i++)r.push(Jt(t[i],e,s,n));return r}}function Ms(t,e,s,n=!0){const r=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||k;if(e){let l=e.parent;const c=e.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](t,c,h)===!1)return}l=l.parent}if(i){te(),ss(i,null,10,[t,c,h]),ee();return}}go(t,s,r,n,o)}function go(t,e,s,n=!0,r=!1){if(r)throw t;console.error(t)}const yt=[];let Bt=-1;const Re=[];let ce=null,Oe=0;const Hr=Promise.resolve();let gs=null;function $r(t){const e=gs||Hr;return t?e.then(this?t.bind(this):t):e}function _o(t){let e=Bt+1,s=yt.length;for(;e<s;){const n=e+s>>>1,r=yt[n],i=Qe(r);i<t||i===t&&r.flags&2?e=n+1:s=n}return e}function Cn(t){if(!(t.flags&1)){const e=Qe(t),s=yt[yt.length-1];!s||!(t.flags&2)&&e>=Qe(s)?yt.push(t):yt.splice(_o(e),0,t),t.flags|=1,Lr()}}function Lr(){gs||(gs=Hr.then(Kr))}function mo(t){I(t)?Re.push(...t):ce&&t.id===-1?ce.splice(Oe+1,0,t):t.flags&1||(Re.push(t),t.flags|=1),Lr()}function Vn(t,e,s=Bt+1){for(;s<yt.length;s++){const n=yt[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;yt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Vr(t){if(Re.length){const e=[...new Set(Re)].sort((s,n)=>Qe(s)-Qe(n));if(Re.length=0,ce){ce.push(...e);return}for(ce=e,Oe=0;Oe<ce.length;Oe++){const s=ce[Oe];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ce=null,Oe=0}}const Qe=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Kr(t){try{for(Bt=0;Bt<yt.length;Bt++){const e=yt[Bt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ss(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Bt<yt.length;Bt++){const e=yt[Bt];e&&(e.flags&=-2)}Bt=-1,yt.length=0,Vr(),gs=null,(yt.length||Re.length)&&Kr()}}let xt=null,Ur=null;function _s(t){const e=xt;return xt=t,Ur=t&&t.type.__scopeId||null,e}function bo(t,e=xt,s){if(!e||t._n)return t;const n=(...r)=>{n._d&&ys(-1);const i=_s(e);let o;try{o=t(...r)}finally{_s(i),n._d&&ys(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function ve(t,e,s,n){const r=t.dirs,i=e&&e.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[n];c&&(te(),Jt(c,s,8,[t.el,l,t,e]),ee())}}function vo(t,e){if(_t){let s=_t.provides;const n=_t.parent&&_t.parent.provides;n===s&&(s=_t.provides=Object.create(n)),s[t]=e}}function as(t,e,s=!1){const n=Ds();if(n||Ne){let r=Ne?Ne._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return s&&H(e)?e.call(n&&n.proxy):e}}const yo=Symbol.for("v-scx"),xo=()=>as(yo);function of(t,e){return Rs(t,null,e)}function So(t,e){return Rs(t,null,{flush:"sync"})}function qs(t,e,s){return Rs(t,e,s)}function Rs(t,e,s=k){const{immediate:n,deep:r,flush:i,once:o}=s,l=ot({},s),c=e&&n||!e&&i!=="post";let h;if(ts){if(i==="sync"){const T=xo();h=T.__watcherHandles||(T.__watcherHandles=[])}else if(!c){const T=()=>{};return T.stop=Gt,T.resume=Gt,T.pause=Gt,T}}const a=_t;l.call=(T,K,P)=>Jt(T,a,K,P);let p=!1;i==="post"?l.scheduler=T=>{At(T,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(T,K)=>{K?T():Cn(T)}),l.augmentJob=T=>{e&&(T.flags|=4),p&&(T.flags|=2,a&&(T.id=a.uid,T.i=a))};const E=po(t,e,l);return ts&&(h?h.push(E):c&&E()),E}function wo(t,e,s){const n=this.proxy,r=lt(t)?t.includes(".")?Wr(n,t):()=>n[t]:t.bind(n,n);let i;H(e)?i=e:(i=e.handler,s=e);const o=ns(this),l=Rs(r,i.bind(n),s);return o(),l}function Wr(t,e){const s=e.split(".");return()=>{let n=t;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Ao=Symbol("_vte"),Co=t=>t.__isTeleport,Eo=Symbol("_leaveCb");function En(t,e){t.shapeFlag&6&&t.component?(t.transition=e,En(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function To(t,e){return H(t)?ot({name:t.name},e,{setup:t}):t}function Br(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function lf(t){const e=Ds(),s=io(null);if(e){const r=e.refs===k?e.refs={}:e.refs;Object.defineProperty(r,t,{enumerable:!0,get:()=>s.value,set:i=>s.value=i})}return s}function Kn(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const ms=new WeakMap;function ke(t,e,s,n,r=!1){if(I(t)){t.forEach((P,st)=>ke(P,e&&(I(e)?e[st]:e),s,n,r));return}if(Ie(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ke(t,e,s,n.component.subTree);return}const i=n.shapeFlag&4?Mn(n.component):n.el,o=r?null:i,{i:l,r:c}=t,h=e&&e.r,a=l.refs===k?l.refs={}:l.refs,p=l.setupState,E=Y(p),T=p===k?dr:P=>Kn(a,P)?!1:q(E,P),K=(P,st)=>!(st&&Kn(a,st));if(h!=null&&h!==c){if(Un(e),lt(h))a[h]=null,T(h)&&(p[h]=null);else if(mt(h)){const P=e;K(h,P.k)&&(h.value=null),P.k&&(a[P.k]=null)}}if(H(c))ss(c,l,12,[o,a]);else{const P=lt(c),st=mt(c);if(P||st){const X=()=>{if(t.f){const F=P?T(c)?p[c]:a[c]:K()||!t.k?c.value:a[t.k];if(r)I(F)&&hn(F,i);else if(I(F))F.includes(i)||F.push(i);else if(P)a[c]=[i],T(c)&&(p[c]=a[c]);else{const L=[i];K(c,t.k)&&(c.value=L),t.k&&(a[t.k]=L)}}else P?(a[c]=o,T(c)&&(p[c]=o)):st&&(K(c,t.k)&&(c.value=o),t.k&&(a[t.k]=o))};if(o){const F=()=>{X(),ms.delete(t)};F.id=-1,ms.set(t,F),At(F,s)}else Un(t),X()}}}function Un(t){const e=ms.get(t);e&&(e.flags|=8,ms.delete(t))}Ts().requestIdleCallback;Ts().cancelIdleCallback;const Ie=t=>!!t.type.__asyncLoader,qr=t=>t.type.__isKeepAlive;function Oo(t,e){kr(t,"a",e)}function Po(t,e){kr(t,"da",e)}function kr(t,e,s=_t){const n=t.__wdc||(t.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(Is(e,n,s),s){let r=s.parent;for(;r&&r.parent;)qr(r.parent.vnode)&&Mo(n,e,s,r),r=r.parent}}function Mo(t,e,s,n){const r=Is(e,t,n,!0);Gr(()=>{hn(n[e],r)},s)}function Is(t,e,s=_t,n=!1){if(s){const r=s[t]||(s[t]=[]),i=e.__weh||(e.__weh=(...o)=>{te();const l=ns(s),c=Jt(e,s,t,o);return l(),ee(),c});return n?r.unshift(i):r.push(i),i}}const re=t=>(e,s=_t)=>{(!ts||t==="sp")&&Is(t,(...n)=>e(...n),s)},Ro=re("bm"),Io=re("m"),No=re("bu"),Fo=re("u"),Do=re("bum"),Gr=re("um"),jo=re("sp"),Ho=re("rtg"),$o=re("rtc");function Lo(t,e=_t){Is("ec",t,e)}const Vo="components";function ff(t,e){return Uo(Vo,t,!0,e)||t}const Ko=Symbol.for("v-ndc");function Uo(t,e,s=!0,n=!1){const r=xt||_t;if(r){const i=r.type;{const l=El(i,!1);if(l&&(l===e||l===ut(e)||l===Es(ut(e))))return i}const o=Wn(r[t]||i[t],e)||Wn(r.appContext[t],e);return!o&&n?i:o}}function Wn(t,e){return t&&(t[e]||t[ut(e)]||t[Es(ut(e))])}function cf(t,e,s,n){let r;const i=s,o=I(t);if(o||lt(t)){const l=o&&we(t);let c=!1,h=!1;l&&(c=!jt(t),h=se(t),t=Ps(t)),r=new Array(t.length);for(let a=0,p=t.length;a<p;a++)r[a]=e(c?h?Fe(Kt(t[a])):Kt(t[a]):t[a],a,void 0,i)}else if(typeof t=="number"){r=new Array(t);for(let l=0;l<t;l++)r[l]=e(l+1,l,void 0,i)}else if(Q(t))if(t[Symbol.iterator])r=Array.from(t,(l,c)=>e(l,c,void 0,i));else{const l=Object.keys(t);r=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const a=l[c];r[c]=e(t[a],a,c,i)}}else r=[];return r}function uf(t,e,s={},n,r){if(xt.ce||xt.parent&&Ie(xt.parent)&&xt.parent.ce){const h=Object.keys(s).length>0;return ln(),fn(Dt,null,[St("slot",s,n)],h?-2:64)}let i=t[e];i&&i._c&&(i._d=!1),ln();const o=i&&Jr(i(s)),l=s.key||o&&o.key,c=fn(Dt,{key:(l&&!Vt(l)?l:`_${e}`)+(!o&&n?"_fb":"")},o||[],o&&t._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Jr(t){return t.some(e=>Ze(e)?!(e.type===ne||e.type===Dt&&!Jr(e.children)):!0)?t:null}const sn=t=>t?_i(t)?Mn(t):sn(t.parent):null,Ge=ot(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>sn(t.parent),$root:t=>sn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>zr(t),$forceUpdate:t=>t.f||(t.f=()=>{Cn(t.update)}),$nextTick:t=>t.n||(t.n=$r.bind(t.proxy)),$watch:t=>wo.bind(t)}),ks=(t,e)=>t!==k&&!t.__isScriptSetup&&q(t,e),Wo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:c}=t;if(e[0]!=="$"){const E=o[e];if(E!==void 0)switch(E){case 1:return n[e];case 2:return r[e];case 4:return s[e];case 3:return i[e]}else{if(ks(n,e))return o[e]=1,n[e];if(r!==k&&q(r,e))return o[e]=2,r[e];if(q(i,e))return o[e]=3,i[e];if(s!==k&&q(s,e))return o[e]=4,s[e];nn&&(o[e]=0)}}const h=Ge[e];let a,p;if(h)return e==="$attrs"&>(t.attrs,"get",""),h(t);if((a=l.__cssModules)&&(a=a[e]))return a;if(s!==k&&q(s,e))return o[e]=4,s[e];if(p=c.config.globalProperties,q(p,e))return p[e]},set({_:t},e,s){const{data:n,setupState:r,ctx:i}=t;return ks(r,e)?(r[e]=s,!0):n!==k&&q(n,e)?(n[e]=s,!0):q(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let c;return!!(s[l]||t!==k&&l[0]!=="$"&&q(t,l)||ks(e,l)||q(i,l)||q(n,l)||q(Ge,l)||q(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:q(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function bs(t){return I(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}function af(t,e){return!t||!e?t||e:I(t)&&I(e)?t.concat(e):ot({},bs(t),bs(e))}let nn=!0;function Bo(t){const e=zr(t),s=t.proxy,n=t.ctx;nn=!1,e.beforeCreate&&Bn(e.beforeCreate,t,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:h,created:a,beforeMount:p,mounted:E,beforeUpdate:T,updated:K,activated:P,deactivated:st,beforeDestroy:X,beforeUnmount:F,destroyed:L,unmounted:M,render:nt,renderTracked:Tt,renderTriggered:Ot,errorCaptured:Ut,serverPrefetch:ae,expose:Yt,inheritAttrs:ie,components:he,directives:de,filters:je}=e;if(h&&qo(h,n,null),o)for(const tt in o){const W=o[tt];H(W)&&(n[tt]=W.bind(s))}if(r){const tt=r.call(s,s);Q(tt)&&(t.data=xn(tt))}if(nn=!0,i)for(const tt in i){const W=i[tt],Pt=H(W)?W.bind(s,s):H(W.get)?W.get.bind(s,s):Gt,ge=!H(W)&&H(W.set)?W.set.bind(s):Gt,Ht=Ol({get:Pt,set:ge});Object.defineProperty(n,tt,{enumerable:!0,configurable:!0,get:()=>Ht.value,set:Mt=>Ht.value=Mt})}if(l)for(const tt in l)Yr(l[tt],n,s,tt);if(c){const tt=H(c)?c.call(s):c;Reflect.ownKeys(tt).forEach(W=>{vo(W,tt[W])})}a&&Bn(a,t,"c");function at(tt,W){I(W)?W.forEach(Pt=>tt(Pt.bind(s))):W&&tt(W.bind(s))}if(at(Ro,p),at(Io,E),at(No,T),at(Fo,K),at(Oo,P),at(Po,st),at(Lo,Ut),at($o,Tt),at(Ho,Ot),at(Do,F),at(Gr,M),at(jo,ae),I(Yt))if(Yt.length){const tt=t.exposed||(t.exposed={});Yt.forEach(W=>{Object.defineProperty(tt,W,{get:()=>s[W],set:Pt=>s[W]=Pt,enumerable:!0})})}else t.exposed||(t.exposed={});nt&&t.render===Gt&&(t.render=nt),ie!=null&&(t.inheritAttrs=ie),he&&(t.components=he),de&&(t.directives=de),ae&&Br(t)}function qo(t,e,s=Gt){I(t)&&(t=rn(t));for(const n in t){const r=t[n];let i;Q(r)?"default"in r?i=as(r.from||n,r.default,!0):i=as(r.from||n):i=as(r),mt(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):e[n]=i}}function Bn(t,e,s){Jt(I(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Yr(t,e,s,n){let r=n.includes(".")?Wr(s,n):()=>s[n];if(lt(t)){const i=e[t];H(i)&&qs(r,i)}else if(H(t))qs(r,t.bind(s));else if(Q(t))if(I(t))t.forEach(i=>Yr(i,e,s,n));else{const i=H(t.handler)?t.handler.bind(s):e[t.handler];H(i)&&qs(r,i,t)}}function zr(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=t.appContext,l=i.get(e);let c;return l?c=l:!r.length&&!s&&!n?c=e:(c={},r.length&&r.forEach(h=>vs(c,h,o,!0)),vs(c,e,o)),Q(e)&&i.set(e,c),c}function vs(t,e,s,n=!1){const{mixins:r,extends:i}=e;i&&vs(t,i,s,!0),r&&r.forEach(o=>vs(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=ko[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const ko={data:qn,props:kn,emits:kn,methods:Ue,computed:Ue,beforeCreate:vt,created:vt,beforeMount:vt,mounted:vt,beforeUpdate:vt,updated:vt,beforeDestroy:vt,beforeUnmount:vt,destroyed:vt,unmounted:vt,activated:vt,deactivated:vt,errorCaptured:vt,serverPrefetch:vt,components:Ue,directives:Ue,watch:Jo,provide:qn,inject:Go};function qn(t,e){return e?t?function(){return ot(H(t)?t.call(this,this):t,H(e)?e.call(this,this):e)}:e:t}function Go(t,e){return Ue(rn(t),rn(e))}function rn(t){if(I(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function vt(t,e){return t?[...new Set([].concat(t,e))]:e}function Ue(t,e){return t?ot(Object.create(null),t,e):e}function kn(t,e){return t?I(t)&&I(e)?[...new Set([...t,...e])]:ot(Object.create(null),bs(t),bs(e??{})):e}function Jo(t,e){if(!t)return e;if(!e)return t;const s=ot(Object.create(null),t);for(const n in e)s[n]=vt(t[n],e[n]);return s}function Qr(){return{app:null,config:{isNativeTag:dr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Yo=0;function zo(t,e){return function(n,r=null){H(n)||(n=ot({},n)),r!=null&&!Q(r)&&(r=null);const i=Qr(),o=new WeakSet,l=[];let c=!1;const h=i.app={_uid:Yo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Pl,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&H(a.install)?(o.add(a),a.install(h,...p)):H(a)&&(o.add(a),a(h,...p))),h},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),h},component(a,p){return p?(i.components[a]=p,h):i.components[a]},directive(a,p){return p?(i.directives[a]=p,h):i.directives[a]},mount(a,p,E){if(!c){const T=h._ceVNode||St(n,r);return T.appContext=i,E===!0?E="svg":E===!1&&(E=void 0),t(T,a,E),c=!0,h._container=a,a.__vue_app__=h,Mn(T.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Jt(l,h._instance,16),t(null,h._container),delete h._container.__vue_app__)},provide(a,p){return i.provides[a]=p,h},runWithContext(a){const p=Ne;Ne=h;try{return a()}finally{Ne=p}}};return h}}let Ne=null;function hf(t,e,s=k){const n=Ds(),r=ut(e),i=Et(e),o=Xr(t,r),l=co((c,h)=>{let a,p=k,E;return So(()=>{const T=t[r];pt(a,T)&&(a=T,h())}),{get(){return c(),s.get?s.get(a):a},set(T){const K=s.set?s.set(T):T;if(!pt(K,a)&&!(p!==k&&pt(T,p)))return;const P=n.vnode.props;P&&(e in P||r in P||i in P)&&(`onUpdate:${e}`in P||`onUpdate:${r}`in P||`onUpdate:${i}`in P)||(a=T,h()),n.emit(`update:${e}`,K),pt(T,K)&&pt(T,p)&&!pt(K,E)&&h(),p=T,E=K}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||k:l,done:!1}:{done:!0}}}},l}const Xr=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${ut(e)}Modifiers`]||t[`${Et(e)}Modifiers`];function Qo(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||k;let r=s;const i=e.startsWith("update:"),o=i&&Xr(n,e.slice(7));o&&(o.trim&&(r=s.map(a=>lt(a)?a.trim():a)),o.number&&(r=s.map(Oi)));let l,c=n[l=Ls(e)]||n[l=Ls(ut(e))];!c&&i&&(c=n[l=Ls(Et(e))]),c&&Jt(c,t,6,r);const h=n[l+"Once"];if(h){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,Jt(h,t,6,r)}}const Xo=new WeakMap;function Zr(t,e,s=!1){const n=s?Xo:e.emitsCache,r=n.get(t);if(r!==void 0)return r;const i=t.emits;let o={},l=!1;if(!H(t)){const c=h=>{const a=Zr(h,e,!0);a&&(l=!0,ot(o,a))};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!l?(Q(t)&&n.set(t,null),null):(I(i)?i.forEach(c=>o[c]=null):ot(o,i),Q(t)&&n.set(t,o),o)}function Ns(t,e){return!t||!Ss(e)?!1:(e=e.slice(2).replace(/Once$/,""),q(t,e[0].toLowerCase()+e.slice(1))||q(t,Et(e))||q(t,e))}function Gn(t){const{type:e,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:h,renderCache:a,props:p,data:E,setupState:T,ctx:K,inheritAttrs:P}=t,st=_s(t);let X,F;try{if(s.shapeFlag&4){const M=r||n,nt=M;X=kt(h.call(nt,M,a,p,T,E,K)),F=l}else{const M=e;X=kt(M.length>1?M(p,{attrs:l,slots:o,emit:c}):M(p,null)),F=e.props?l:Zo(l)}}catch(M){Je.length=0,Ms(M,t,1),X=St(ne)}let L=X;if(F&&P!==!1){const M=Object.keys(F),{shapeFlag:nt}=L;M.length&&nt&7&&(i&&M.some(ws)&&(F=tl(F,i)),L=De(L,F,!1,!0))}return s.dirs&&(L=De(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(s.dirs):s.dirs),s.transition&&En(L,s.transition),X=L,_s(st),X}const Zo=t=>{let e;for(const s in t)(s==="class"||s==="style"||Ss(s))&&((e||(e={}))[s]=t[s]);return e},tl=(t,e)=>{const s={};for(const n in t)(!ws(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function el(t,e,s){const{props:n,children:r,component:i}=t,{props:o,children:l,patchFlag:c}=e,h=i.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Jn(n,o,h):!!o;if(c&8){const a=e.dynamicProps;for(let p=0;p<a.length;p++){const E=a[p];if(ti(o,n,E)&&!Ns(h,E))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Jn(n,o,h):!0:!!o;return!1}function Jn(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(ti(e,t,i)&&!Ns(s,i))return!0}return!1}function ti(t,e,s){const n=t[s],r=e[s];return s==="style"&&Q(n)&&Q(r)?!_n(n,r):n!==r}function sl({vnode:t,parent:e,suspense:s},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.suspense.vnode.el=r.el=n,t=r),r===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const ei={},si=()=>Object.create(ei),ni=t=>Object.getPrototypeOf(t)===ei;function nl(t,e,s,n=!1){const r={},i=si();t.propsDefaults=Object.create(null),ri(t,e,r,i);for(const o in t.propsOptions[0])o in r||(r[o]=void 0);s?t.props=n?r:no(r):t.type.props?t.props=r:t.props=i,t.attrs=i}function rl(t,e,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=t,l=Y(r),[c]=t.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=t.vnode.dynamicProps;for(let p=0;p<a.length;p++){let E=a[p];if(Ns(t.emitsOptions,E))continue;const T=e[E];if(c)if(q(i,E))T!==i[E]&&(i[E]=T,h=!0);else{const K=ut(E);r[K]=on(c,l,K,T,t,!1)}else T!==i[E]&&(i[E]=T,h=!0)}}}else{ri(t,e,r,i)&&(h=!0);let a;for(const p in l)(!e||!q(e,p)&&((a=Et(p))===p||!q(e,a)))&&(c?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=on(c,l,p,void 0,t,!0)):delete r[p]);if(i!==l)for(const p in i)(!e||!q(e,p))&&(delete i[p],h=!0)}h&&Zt(t.attrs,"set","")}function ri(t,e,s,n){const[r,i]=t.propsOptions;let o=!1,l;if(e)for(let c in e){if(We(c))continue;const h=e[c];let a;r&&q(r,a=ut(c))?!i||!i.includes(a)?s[a]=h:(l||(l={}))[a]=h:Ns(t.emitsOptions,c)||(!(c in n)||h!==n[c])&&(n[c]=h,o=!0)}if(i){const c=Y(s),h=l||k;for(let a=0;a<i.length;a++){const p=i[a];s[p]=on(r,c,p,h[p],t,!q(h,p))}}return o}function on(t,e,s,n,r,i){const o=t[s];if(o!=null){const l=q(o,"default");if(l&&n===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&H(c)){const{propsDefaults:h}=r;if(s in h)n=h[s];else{const a=ns(r);n=h[s]=c.call(null,e),a()}}else n=c;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===Et(s))&&(n=!0))}return n}const il=new WeakMap;function ii(t,e,s=!1){const n=s?il:e.propsCache,r=n.get(t);if(r)return r;const i=t.props,o={},l=[];let c=!1;if(!H(t)){const a=p=>{c=!0;const[E,T]=ii(p,e,!0);ot(o,E),T&&l.push(...T)};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}if(!i&&!c)return Q(t)&&n.set(t,Pe),Pe;if(I(i))for(let a=0;a<i.length;a++){const p=ut(i[a]);Yn(p)&&(o[p]=k)}else if(i)for(const a in i){const p=ut(a);if(Yn(p)){const E=i[a],T=o[p]=I(E)||H(E)?{type:E}:ot({},E),K=T.type;let P=!1,st=!0;if(I(K))for(let X=0;X<K.length;++X){const F=K[X],L=H(F)&&F.name;if(L==="Boolean"){P=!0;break}else L==="String"&&(st=!1)}else P=H(K)&&K.name==="Boolean";T[0]=P,T[1]=st,(P||q(T,"default"))&&l.push(p)}}const h=[o,l];return Q(t)&&n.set(t,h),h}function Yn(t){return t[0]!=="$"&&!We(t)}const Tn=t=>t==="_"||t==="_ctx"||t==="$stable",On=t=>I(t)?t.map(kt):[kt(t)],ol=(t,e,s)=>{if(e._n)return e;const n=bo((...r)=>On(e(...r)),s);return n._c=!1,n},oi=(t,e,s)=>{const n=t._ctx;for(const r in t){if(Tn(r))continue;const i=t[r];if(H(i))e[r]=ol(r,i,n);else if(i!=null){const o=On(i);e[r]=()=>o}}},li=(t,e)=>{const s=On(e);t.slots.default=()=>s},fi=(t,e,s)=>{for(const n in e)(s||!Tn(n))&&(t[n]=e[n])},ll=(t,e,s)=>{const n=t.slots=si();if(t.vnode.shapeFlag&32){const r=e._;r?(fi(n,e,s),s&&mr(n,"_",r,!0)):oi(e,n)}else e&&li(t,e)},fl=(t,e,s)=>{const{vnode:n,slots:r}=t;let i=!0,o=k;if(n.shapeFlag&32){const l=e._;l?s&&l===1?i=!1:fi(r,e,s):(i=!e.$stable,oi(e,r)),o=e}else e&&(li(t,e),o={default:1});if(i)for(const l in r)!Tn(l)&&o[l]==null&&delete r[l]},At=dl;function cl(t){return ul(t)}function ul(t,e){const s=Ts();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:h,setElementText:a,parentNode:p,nextSibling:E,setScopeId:T=Gt,insertStaticContent:K}=t,P=(f,u,d,v=null,g=null,m=null,A=void 0,x=null,y=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ke(f,u)&&(v=_e(f),Mt(f,g,m,!0),f=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:R,shapeFlag:C}=u;switch(_){case Fs:st(f,u,d,v);break;case ne:X(f,u,d,v);break;case Js:f==null&&F(u,d,v,A);break;case Dt:he(f,u,d,v,g,m,A,x,y);break;default:C&1?nt(f,u,d,v,g,m,A,x,y):C&6?de(f,u,d,v,g,m,A,x,y):(C&64||C&128)&&_.process(f,u,d,v,g,m,A,x,y,me)}R!=null&&g?ke(R,f&&f.ref,m,u||f,!u):R==null&&f&&f.ref!=null&&ke(f.ref,null,m,f,!0)},st=(f,u,d,v)=>{if(f==null)n(u.el=l(u.children),d,v);else{const g=u.el=f.el;u.children!==f.children&&h(g,u.children)}},X=(f,u,d,v)=>{f==null?n(u.el=c(u.children||""),d,v):u.el=f.el},F=(f,u,d,v)=>{[f.el,f.anchor]=K(f.children,u,d,v,f.el,f.anchor)},L=({el:f,anchor:u},d,v)=>{let g;for(;f&&f!==u;)g=E(f),n(f,d,v),f=g;n(u,d,v)},M=({el:f,anchor:u})=>{let d;for(;f&&f!==u;)d=E(f),r(f),f=d;r(u)},nt=(f,u,d,v,g,m,A,x,y)=>{if(u.type==="svg"?A="svg":u.type==="math"&&(A="mathml"),f==null)Tt(u,d,v,g,m,A,x,y);else{const _=f.el&&f.el._isVueCE?f.el:null;try{_&&_._beginPatch(),ae(f,u,g,m,A,x,y)}finally{_&&_._endPatch()}}},Tt=(f,u,d,v,g,m,A,x)=>{let y,_;const{props:R,shapeFlag:C,transition:O,dirs:N}=f;if(y=f.el=o(f.type,m,R&&R.is,R),C&8?a(y,f.children):C&16&&Ut(f.children,y,null,v,g,Gs(f,m),A,x),N&&ve(f,null,v,"created"),Ot(y,f,f.scopeId,A,v),R){for(const B in R)B!=="value"&&!We(B)&&i(y,B,null,R[B],m,v);"value"in R&&i(y,"value",null,R.value,m),(_=R.onVnodeBeforeMount)&&Wt(_,v,f)}N&&ve(f,null,v,"beforeMount");const U=al(g,O);U&&O.beforeEnter(y),n(y,u,d),((_=R&&R.onVnodeMounted)||U||N)&&At(()=>{_&&Wt(_,v,f),U&&O.enter(y),N&&ve(f,null,v,"mounted")},g)},Ot=(f,u,d,v,g)=>{if(d&&T(f,d),v)for(let m=0;m<v.length;m++)T(f,v[m]);if(g){let m=g.subTree;if(u===m||hi(m.type)&&(m.ssContent===u||m.ssFallback===u)){const A=g.vnode;Ot(f,A,A.scopeId,A.slotScopeIds,g.parent)}}},Ut=(f,u,d,v,g,m,A,x,y=0)=>{for(let _=y;_<f.length;_++){const R=f[_]=x?Xt(f[_]):kt(f[_]);P(null,R,u,d,v,g,m,A,x)}},ae=(f,u,d,v,g,m,A)=>{const x=u.el=f.el;let{patchFlag:y,dynamicChildren:_,dirs:R}=u;y|=f.patchFlag&16;const C=f.props||k,O=u.props||k;let N;if(d&&ye(d,!1),(N=O.onVnodeBeforeUpdate)&&Wt(N,d,u,f),R&&ve(u,f,d,"beforeUpdate"),d&&ye(d,!0),(C.innerHTML&&O.innerHTML==null||C.textContent&&O.textContent==null)&&a(x,""),_?Yt(f.dynamicChildren,_,x,d,v,Gs(u,g),m):A||W(f,u,x,null,d,v,Gs(u,g),m,!1),y>0){if(y&16)ie(x,C,O,d,g);else if(y&2&&C.class!==O.class&&i(x,"class",null,O.class,g),y&4&&i(x,"style",C.style,O.style,g),y&8){const U=u.dynamicProps;for(let B=0;B<U.length;B++){const G=U[B],et=C[G],rt=O[G];(rt!==et||G==="value")&&i(x,G,et,rt,g,d)}}y&1&&f.children!==u.children&&a(x,u.children)}else!A&&_==null&&ie(x,C,O,d,g);((N=O.onVnodeUpdated)||R)&&At(()=>{N&&Wt(N,d,u,f),R&&ve(u,f,d,"updated")},v)},Yt=(f,u,d,v,g,m,A)=>{for(let x=0;x<u.length;x++){const y=f[x],_=u[x],R=y.el&&(y.type===Dt||!Ke(y,_)||y.shapeFlag&198)?p(y.el):d;P(y,_,R,null,v,g,m,A,!0)}},ie=(f,u,d,v,g)=>{if(u!==d){if(u!==k)for(const m in u)!We(m)&&!(m in d)&&i(f,m,u[m],null,g,v);for(const m in d){if(We(m))continue;const A=d[m],x=u[m];A!==x&&m!=="value"&&i(f,m,x,A,g,v)}"value"in d&&i(f,"value",u.value,d.value,g)}},he=(f,u,d,v,g,m,A,x,y)=>{const _=u.el=f?f.el:l(""),R=u.anchor=f?f.anchor:l("");let{patchFlag:C,dynamicChildren:O,slotScopeIds:N}=u;N&&(x=x?x.concat(N):N),f==null?(n(_,d,v),n(R,d,v),Ut(u.children||[],d,R,g,m,A,x,y)):C>0&&C&64&&O&&f.dynamicChildren&&f.dynamicChildren.length===O.length?(Yt(f.dynamicChildren,O,d,g,m,A,x),(u.key!=null||g&&u===g.subTree)&&ci(f,u,!0)):W(f,u,d,R,g,m,A,x,y)},de=(f,u,d,v,g,m,A,x,y)=>{u.slotScopeIds=x,f==null?u.shapeFlag&512?g.ctx.activate(u,d,v,A,y):je(u,d,v,g,m,A,y):pe(f,u,y)},je=(f,u,d,v,g,m,A)=>{const x=f.component=xl(f,v,g);if(qr(f)&&(x.ctx.renderer=me),Sl(x,!1,A),x.asyncDep){if(g&&g.registerDep(x,at,A),!f.el){const y=x.subTree=St(ne);X(null,y,u,d),f.placeholder=y.el}}else at(x,f,u,d,g,m,A)},pe=(f,u,d)=>{const v=u.component=f.component;if(el(f,u,d))if(v.asyncDep&&!v.asyncResolved){tt(v,u,d);return}else v.next=u,v.update();else u.el=f.el,v.vnode=u},at=(f,u,d,v,g,m,A)=>{const x=()=>{if(f.isMounted){let{next:C,bu:O,u:N,parent:U,vnode:B}=f;{const bt=ui(f);if(bt){C&&(C.el=B.el,tt(f,C,A)),bt.asyncDep.then(()=>{At(()=>{f.isUnmounted||_()},g)});return}}let G=C,et;ye(f,!1),C?(C.el=B.el,tt(f,C,A)):C=B,O&&Vs(O),(et=C.props&&C.props.onVnodeBeforeUpdate)&&Wt(et,U,C,B),ye(f,!0);const rt=Gn(f),Rt=f.subTree;f.subTree=rt,P(Rt,rt,p(Rt.el),_e(Rt),f,g,m),C.el=rt.el,G===null&&sl(f,rt.el),N&&At(N,g),(et=C.props&&C.props.onVnodeUpdated)&&At(()=>Wt(et,U,C,B),g)}else{let C;const{el:O,props:N}=u,{bm:U,m:B,parent:G,root:et,type:rt}=f,Rt=Ie(u);ye(f,!1),U&&Vs(U),!Rt&&(C=N&&N.onVnodeBeforeMount)&&Wt(C,G,u),ye(f,!0);{et.ce&&et.ce._hasShadowRoot()&&et.ce._injectChildStyle(rt,f.parent?f.parent.type:void 0);const bt=f.subTree=Gn(f);P(null,bt,d,v,f,g,m),u.el=bt.el}if(B&&At(B,g),!Rt&&(C=N&&N.onVnodeMounted)){const bt=u;At(()=>Wt(C,G,bt),g)}(u.shapeFlag&256||G&&Ie(G.vnode)&&G.vnode.shapeFlag&256)&&f.a&&At(f.a,g),f.isMounted=!0,u=d=v=null}};f.scope.on();const y=f.effect=new xr(x);f.scope.off();const _=f.update=y.run.bind(y),R=f.job=y.runIfDirty.bind(y);R.i=f,R.id=f.uid,y.scheduler=()=>Cn(R),ye(f,!0),_()},tt=(f,u,d)=>{u.component=f;const v=f.vnode.props;f.vnode=u,f.next=null,rl(f,u.props,v,d),fl(f,u.children,d),te(),Vn(f),ee()},W=(f,u,d,v,g,m,A,x,y=!1)=>{const _=f&&f.children,R=f?f.shapeFlag:0,C=u.children,{patchFlag:O,shapeFlag:N}=u;if(O>0){if(O&128){ge(_,C,d,v,g,m,A,x,y);return}else if(O&256){Pt(_,C,d,v,g,m,A,x,y);return}}N&8?(R&16&&$t(_,g,m),C!==_&&a(d,C)):R&16?N&16?ge(_,C,d,v,g,m,A,x,y):$t(_,g,m,!0):(R&8&&a(d,""),N&16&&Ut(C,d,v,g,m,A,x,y))},Pt=(f,u,d,v,g,m,A,x,y)=>{f=f||Pe,u=u||Pe;const _=f.length,R=u.length,C=Math.min(_,R);let O;for(O=0;O<C;O++){const N=u[O]=y?Xt(u[O]):kt(u[O]);P(f[O],N,d,null,g,m,A,x,y)}_>R?$t(f,g,m,!0,!1,C):Ut(u,d,v,g,m,A,x,y,C)},ge=(f,u,d,v,g,m,A,x,y)=>{let _=0;const R=u.length;let C=f.length-1,O=R-1;for(;_<=C&&_<=O;){const N=f[_],U=u[_]=y?Xt(u[_]):kt(u[_]);if(Ke(N,U))P(N,U,d,null,g,m,A,x,y);else break;_++}for(;_<=C&&_<=O;){const N=f[C],U=u[O]=y?Xt(u[O]):kt(u[O]);if(Ke(N,U))P(N,U,d,null,g,m,A,x,y);else break;C--,O--}if(_>C){if(_<=O){const N=O+1,U=N<R?u[N].el:v;for(;_<=O;)P(null,u[_]=y?Xt(u[_]):kt(u[_]),d,U,g,m,A,x,y),_++}}else if(_>O)for(;_<=C;)Mt(f[_],g,m,!0),_++;else{const N=_,U=_,B=new Map;for(_=U;_<=O;_++){const ht=u[_]=y?Xt(u[_]):kt(u[_]);ht.key!=null&&B.set(ht.key,_)}let G,et=0;const rt=O-U+1;let Rt=!1,bt=0;const oe=new Array(rt);for(_=0;_<rt;_++)oe[_]=0;for(_=N;_<=C;_++){const ht=f[_];if(et>=rt){Mt(ht,g,m,!0);continue}let Ft;if(ht.key!=null)Ft=B.get(ht.key);else for(G=U;G<=O;G++)if(oe[G-U]===0&&Ke(ht,u[G])){Ft=G;break}Ft===void 0?Mt(ht,g,m,!0):(oe[Ft-U]=_+1,Ft>=bt?bt=Ft:Rt=!0,P(ht,u[Ft],d,null,g,m,A,x,y),et++)}const be=Rt?hl(oe):Pe;for(G=be.length-1,_=rt-1;_>=0;_--){const ht=U+_,Ft=u[ht],os=u[ht+1],Le=ht+1<R?os.el||ai(os):v;oe[_]===0?P(null,Ft,d,Le,g,m,A,x,y):Rt&&(G<0||_!==be[G]?Ht(Ft,d,Le,2):G--)}}},Ht=(f,u,d,v,g=null)=>{const{el:m,type:A,transition:x,children:y,shapeFlag:_}=f;if(_&6){Ht(f.component.subTree,u,d,v);return}if(_&128){f.suspense.move(u,d,v);return}if(_&64){A.move(f,u,d,me);return}if(A===Dt){n(m,u,d);for(let C=0;C<y.length;C++)Ht(y[C],u,d,v);n(f.anchor,u,d);return}if(A===Js){L(f,u,d);return}if(v!==2&&_&1&&x)if(v===0)x.beforeEnter(m),n(m,u,d),At(()=>x.enter(m),g);else{const{leave:C,delayLeave:O,afterLeave:N}=x,U=()=>{f.ctx.isUnmounted?r(m):n(m,u,d)},B=()=>{m._isLeaving&&m[Eo](!0),C(m,()=>{U(),N&&N()})};O?O(m,U,B):B()}else n(m,u,d)},Mt=(f,u,d,v=!1,g=!1)=>{const{type:m,props:A,ref:x,children:y,dynamicChildren:_,shapeFlag:R,patchFlag:C,dirs:O,cacheIndex:N,memo:U}=f;if(C===-2&&(g=!1),x!=null&&(te(),ke(x,null,d,f,!0),ee()),N!=null&&(u.renderCache[N]=void 0),R&256){u.ctx.deactivate(f);return}const B=R&1&&O,G=!Ie(f);let et;if(G&&(et=A&&A.onVnodeBeforeUnmount)&&Wt(et,u,f),R&6)rs(f.component,d,v);else{if(R&128){f.suspense.unmount(d,v);return}B&&ve(f,null,u,"beforeUnmount"),R&64?f.type.remove(f,u,d,me,v):_&&!_.hasOnce&&(m!==Dt||C>0&&C&64)?$t(_,u,d,!1,!0):(m===Dt&&C&384||!g&&R&16)&&$t(y,u,d),v&&Ae(f)}const rt=U!=null&&N==null;(G&&(et=A&&A.onVnodeUnmounted)||B||rt)&&At(()=>{et&&Wt(et,u,f),B&&ve(f,null,u,"unmounted"),rt&&(f.el=null)},d)},Ae=f=>{const{type:u,el:d,anchor:v,transition:g}=f;if(u===Dt){Ce(d,v);return}if(u===Js){M(f);return}const m=()=>{r(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:A,delayLeave:x}=g,y=()=>A(d,m);x?x(f.el,m,y):y()}else m()},Ce=(f,u)=>{let d;for(;f!==u;)d=E(f),r(f),f=d;r(u)},rs=(f,u,d)=>{const{bum:v,scope:g,job:m,subTree:A,um:x,m:y,a:_}=f;zn(y),zn(_),v&&Vs(v),g.stop(),m&&(m.flags|=8,Mt(A,f,u,d)),x&&At(x,u),At(()=>{f.isUnmounted=!0},u)},$t=(f,u,d,v=!1,g=!1,m=0)=>{for(let A=m;A<f.length;A++)Mt(f[A],u,d,v,g)},_e=f=>{if(f.shapeFlag&6)return _e(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=E(f.anchor||f.el),d=u&&u[Ao];return d?E(d):u};let He=!1;const is=(f,u,d)=>{let v;f==null?u._vnode&&(Mt(u._vnode,null,null,!0),v=u._vnode.component):P(u._vnode||null,f,u,null,null,null,d),u._vnode=f,He||(He=!0,Vn(v),Vr(),He=!1)},me={p:P,um:Mt,m:Ht,r:Ae,mt:je,mc:Ut,pc:W,pbc:Yt,n:_e,o:t};return{render:is,hydrate:void 0,createApp:zo(is)}}function Gs({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function ye({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function al(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function ci(t,e,s=!1){const n=t.children,r=e.children;if(I(n)&&I(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Xt(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&ci(o,l)),l.type===Fs&&(l.patchFlag===-1&&(l=r[i]=Xt(l)),l.el=o.el),l.type===ne&&!l.el&&(l.el=o.el)}}function hl(t){const e=t.slice(),s=[0];let n,r,i,o,l;const c=t.length;for(n=0;n<c;n++){const h=t[n];if(h!==0){if(r=s[s.length-1],t[r]<h){e[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,t[s[l]]<h?i=l+1:o=l;h<t[s[i]]&&(i>0&&(e[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=e[o];return s}function ui(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ui(e)}function zn(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function ai(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?ai(e.subTree):null}const hi=t=>t.__isSuspense;function dl(t,e){e&&e.pendingBranch?I(t)?e.effects.push(...t):e.effects.push(t):mo(t)}const Dt=Symbol.for("v-fgt"),Fs=Symbol.for("v-txt"),ne=Symbol.for("v-cmt"),Js=Symbol.for("v-stc"),Je=[];let Nt=null;function ln(t=!1){Je.push(Nt=t?null:[])}function pl(){Je.pop(),Nt=Je[Je.length-1]||null}let Xe=1;function ys(t,e=!1){Xe+=t,t<0&&Nt&&e&&(Nt.hasOnce=!0)}function di(t){return t.dynamicChildren=Xe>0?Nt||Pe:null,pl(),Xe>0&&Nt&&Nt.push(t),t}function df(t,e,s,n,r,i){return di(gi(t,e,s,n,r,i,!0))}function fn(t,e,s,n,r){return di(St(t,e,s,n,r,!0))}function Ze(t){return t?t.__v_isVNode===!0:!1}function Ke(t,e){return t.type===e.type&&t.key===e.key}const pi=({key:t})=>t??null,hs=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?lt(t)||mt(t)||H(t)?{i:xt,r:t,k:e,f:!!s}:t:null);function gi(t,e=null,s=null,n=0,r=null,i=t===Dt?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&pi(e),ref:e&&hs(e),scopeId:Ur,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xt};return l?(Pn(c,s),i&128&&t.normalize(c)):s&&(c.shapeFlag|=lt(s)?8:16),Xe>0&&!o&&Nt&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Nt.push(c),c}const St=gl;function gl(t,e=null,s=null,n=0,r=null,i=!1){if((!t||t===Ko)&&(t=ne),Ze(t)){const l=De(t,e,!0);return s&&Pn(l,s),Xe>0&&!i&&Nt&&(l.shapeFlag&6?Nt[Nt.indexOf(t)]=l:Nt.push(l)),l.patchFlag=-2,l}if(Tl(t)&&(t=t.__vccOpts),e){e=_l(e);let{class:l,style:c}=e;l&&!lt(l)&&(e.class=gn(l)),Q(c)&&(wn(c)&&!I(c)&&(c=ot({},c)),e.style=pn(c))}const o=lt(t)?1:hi(t)?128:Co(t)?64:Q(t)?4:H(t)?2:0;return gi(t,e,s,n,r,o,i,!0)}function _l(t){return t?wn(t)||ni(t)?ot({},t):t:null}function De(t,e,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=t,h=e?bl(r||{},e):r,a={__v_isVNode:!0,__v_skip:!0,type:t.type,props:h,key:h&&pi(h),ref:e&&e.ref?s&&i?I(i)?i.concat(hs(e)):[i,hs(e)]:hs(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Dt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&De(t.ssContent),ssFallback:t.ssFallback&&De(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&n&&En(a,c.clone(a)),a}function ml(t=" ",e=0){return St(Fs,null,t,e)}function pf(t="",e=!1){return e?(ln(),fn(ne,null,t)):St(ne,null,t)}function kt(t){return t==null||typeof t=="boolean"?St(ne):I(t)?St(Dt,null,t.slice()):Ze(t)?Xt(t):St(Fs,null,String(t))}function Xt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:De(t)}function Pn(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(I(e))s=16;else if(typeof e=="object")if(n&65){const r=e.default;r&&(r._c&&(r._d=!1),Pn(t,r()),r._c&&(r._d=!0));return}else{s=32;const r=e._;!r&&!ni(e)?e._ctx=xt:r===3&&xt&&(xt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else H(e)?(e={default:e,_ctx:xt},s=32):(e=String(e),n&64?(s=16,e=[ml(e)]):s=8);t.children=e,t.shapeFlag|=s}function bl(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const r in n)if(r==="class")e.class!==n.class&&(e.class=gn([e.class,n.class]));else if(r==="style")e.style=pn([e.style,n.style]);else if(Ss(r)){const i=e[r],o=n[r];o&&i!==o&&!(I(i)&&i.includes(o))?e[r]=i?[].concat(i,o):o:o==null&&i==null&&!ws(r)&&(e[r]=o)}else r!==""&&(e[r]=n[r])}return e}function Wt(t,e,s,n=null){Jt(t,e,7,[s,n])}const vl=Qr();let yl=0;function xl(t,e,s){const n=t.type,r=(e?e.appContext:t.appContext)||vl,i={uid:yl++,vnode:t,type:n,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Hi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ii(n,r),emitsOptions:Zr(n,r),emit:null,emitted:null,propsDefaults:k,inheritAttrs:n.inheritAttrs,ctx:k,data:k,props:k,attrs:k,slots:k,refs:k,setupState:k,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=e?e.root:i,i.emit=Qo.bind(null,i),t.ce&&t.ce(i),i}let _t=null;const Ds=()=>_t||xt;let xs,cn;{const t=Ts(),e=(s,n)=>{let r;return(r=t[s])||(r=t[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};xs=e("__VUE_INSTANCE_SETTERS__",s=>_t=s),cn=e("__VUE_SSR_SETTERS__",s=>ts=s)}const ns=t=>{const e=_t;return xs(t),t.scope.on(),()=>{t.scope.off(),xs(e)}},Qn=()=>{_t&&_t.scope.off(),xs(null)};function _i(t){return t.vnode.shapeFlag&4}let ts=!1;function Sl(t,e=!1,s=!1){e&&cn(e);const{props:n,children:r}=t.vnode,i=_i(t);nl(t,n,i,e),ll(t,r,s||e);const o=i?wl(t,e):void 0;return e&&cn(!1),o}function wl(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Wo);const{setup:n}=s;if(n){te();const r=t.setupContext=n.length>1?Cl(t):null,i=ns(t),o=ss(n,t,0,[t.props,r]),l=gr(o);if(ee(),i(),(l||t.sp)&&!Ie(t)&&Br(t),l){if(o.then(Qn,Qn),e)return o.then(c=>{Xn(t,c)}).catch(c=>{Ms(c,t,0)});t.asyncDep=o}else Xn(t,o)}else mi(t)}function Xn(t,e,s){H(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Q(e)&&(t.setupState=jr(e)),mi(t)}function mi(t,e,s){const n=t.type;t.render||(t.render=n.render||Gt);{const r=ns(t);te();try{Bo(t)}finally{ee(),r()}}}const Al={get(t,e){return gt(t,"get",""),t[e]}};function Cl(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Al),slots:t.slots,emit:t.emit,expose:e}}function Mn(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(jr(ro(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ge)return Ge[s](t)},has(e,s){return s in e||s in Ge}})):t.proxy}function El(t,e=!0){return H(t)?t.displayName||t.name:t.name||e&&t.__name}function Tl(t){return H(t)&&"__vccOpts"in t}const Ol=(t,e)=>ao(t,e,ts);function gf(t,e,s){try{ys(-1);const n=arguments.length;return n===2?Q(e)&&!I(e)?Ze(e)?St(t,null,[e]):St(t,e):St(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ze(s)&&(s=[s]),St(t,e,s))}finally{ys(1)}}const Pl="3.5.32";let un;const Zn=typeof window<"u"&&window.trustedTypes;if(Zn)try{un=Zn.createPolicy("vue",{createHTML:t=>t})}catch{}const bi=un?t=>un.createHTML(t):t=>t,Ml="http://www.w3.org/2000/svg",Rl="http://www.w3.org/1998/Math/MathML",Qt=typeof document<"u"?document:null,tr=Qt&&Qt.createElement("template"),Il={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const r=e==="svg"?Qt.createElementNS(Ml,t):e==="mathml"?Qt.createElementNS(Rl,t):s?Qt.createElement(t,{is:s}):Qt.createElement(t);return t==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:t=>Qt.createTextNode(t),createComment:t=>Qt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Qt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,r,i){const o=s?s.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{tr.innerHTML=bi(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=tr.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Nl=Symbol("_vtc");function Fl(t,e,s){const n=t[Nl];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const er=Symbol("_vod"),Dl=Symbol("_vsh"),jl=Symbol(""),Hl=/(?:^|;)\s*display\s*:/;function $l(t,e,s){const n=t.style,r=lt(s);let i=!1;if(s&&!r){if(e)if(lt(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&ds(n,l,"")}else for(const o in e)s[o]==null&&ds(n,o,"");for(const o in s)o==="display"&&(i=!0),ds(n,o,s[o])}else if(r){if(e!==s){const o=n[jl];o&&(s+=";"+o),n.cssText=s,i=Hl.test(s)}}else e&&t.removeAttribute("style");er in t&&(t[er]=i?n.display:"",t[Dl]&&(n.display="none"))}const sr=/\s*!important$/;function ds(t,e,s){if(I(s))s.forEach(n=>ds(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Ll(t,e);sr.test(s)?t.setProperty(Et(n),s.replace(sr,""),"important"):t[n]=s}}const nr=["Webkit","Moz","ms"],Ys={};function Ll(t,e){const s=Ys[e];if(s)return s;let n=ut(e);if(n!=="filter"&&n in t)return Ys[e]=n;n=Es(n);for(let r=0;r<nr.length;r++){const i=nr[r]+n;if(i in t)return Ys[e]=i}return e}const rr="http://www.w3.org/1999/xlink";function ir(t,e,s,n,r,i=Fi(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(rr,e.slice(6,e.length)):t.setAttributeNS(rr,e,s):s==null||i&&!br(s)?t.removeAttribute(e):t.setAttribute(e,i?"":Vt(s)?String(s):s)}function or(t,e,s,n,r){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?bi(s):s);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?t.getAttribute("value")||"":t.value,c=s==null?t.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in t))&&(t.value=c),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=br(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(r||e)}function Vl(t,e,s,n){t.addEventListener(e,s,n)}function Kl(t,e,s,n){t.removeEventListener(e,s,n)}const lr=Symbol("_vei");function Ul(t,e,s,n,r=null){const i=t[lr]||(t[lr]={}),o=i[e];if(n&&o)o.value=n;else{const[l,c]=Wl(e);if(n){const h=i[e]=kl(n,r);Vl(t,l,h,c)}else o&&(Kl(t,l,o,c),i[e]=void 0)}}const fr=/(?:Once|Passive|Capture)$/;function Wl(t){let e;if(fr.test(t)){e={};let n;for(;n=t.match(fr);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Et(t.slice(2)),e]}let zs=0;const Bl=Promise.resolve(),ql=()=>zs||(Bl.then(()=>zs=0),zs=Date.now());function kl(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Jt(Gl(n,s.value),e,5,[n])};return s.value=t,s.attached=ql(),s}function Gl(t,e){if(I(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>r=>!r._stopped&&n&&n(r))}else return e}const cr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Jl=(t,e,s,n,r,i)=>{const o=r==="svg";e==="class"?Fl(t,n,o):e==="style"?$l(t,s,n):Ss(e)?ws(e)||Ul(t,e,s,n,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Yl(t,e,n,o))?(or(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ir(t,e,n,o,i,e!=="value")):t._isVueCE&&(zl(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!lt(n)))?or(t,ut(e),n,i,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),ir(t,e,n,o))};function Yl(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&cr(e)&&H(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return cr(e)&<(s)?!1:e in t}function zl(t,e){const s=t._def.props;if(!s)return!1;const n=ut(e);return Array.isArray(s)?s.some(r=>ut(r)===n):Object.keys(s).some(r=>ut(r)===n)}const ur={};function _f(t,e,s){let n=To(t,e);As(n)&&(n=ot({},n,e));class r extends Rn{constructor(o){super(n,o,s)}}return r.def=n,r}const Ql=typeof HTMLElement<"u"?HTMLElement:class{};class Rn extends Ql{constructor(e,s={},n=hr){super(),this._def=e,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==hr?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(ot({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof Rn){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,$r(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const s of e)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(n,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=n;let l;if(i&&!I(i))for(const c in i){const h=i[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=jn(this._props[c])),(l||(l=Object.create(null)))[ut(c)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,e(this._def=n,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)q(this,n)||Object.defineProperty(this,n,{get:()=>An(s[n])})}_resolveProps(e){const{props:s}=e,n=I(s)?s:Object.keys(s||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(ut))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const s=this.hasAttribute(e);let n=s?this.getAttribute(e):ur;const r=ut(e);s&&this._numberProps&&this._numberProps[r]&&(n=jn(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,s,n=!0,r=!1){if(s!==this._props[e]&&(this._dirty=!0,s===ur?delete this._props[e]:(this._props[e]=s,e==="key"&&this._app&&(this._app._ceVNode.key=s)),r&&this._instance&&this._update(),n)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),s===!0?this.setAttribute(Et(e),""):typeof s=="string"||typeof s=="number"?this.setAttribute(Et(e),s+""):s||this.removeAttribute(Et(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),tf(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const s=St(this._def,ot(e,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,As(o[0])?ot({detail:o},o[0]):{detail:o}))};n.emit=(i,...o)=>{r(i,o),Et(i)!==i&&r(Et(i),o)},this._setParent()}),s}_applyStyles(e,s,n){if(!e)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const r=this._nonce,i=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let l=null;for(let c=e.length-1;c>=0;c--){const h=document.createElement("style");r&&h.setAttribute("nonce",r),h.textContent=e[c],i.insertBefore(h,l||o),l=h,c===0&&(n||this._styleAnchors.set(this._def,h),s&&this._styleAnchors.set(s,h))}}_getStyleAnchor(e){if(!e)return null;const s=this._styleAnchors.get(e);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let s=0;s<e.childNodes.length;s++){const n=e.childNodes[s];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const e=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const e=this._getSlots(),s=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const r=e[n],i=r.getAttribute("name")||"default",o=this._slots[i],l=r.parentNode;if(o)for(const c of o){if(s&&c.nodeType===1){const h=s+"-s",a=document.createTreeWalker(c,1);c.setAttribute(h,"");let p;for(;p=a.nextNode();)p.setAttribute(h,"")}l.insertBefore(c,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const s=new Set;for(const n of e){const r=n.querySelectorAll("slot");for(let i=0;i<r.length;i++)s.add(r[i])}return Array.from(s)}_injectChildStyle(e,s){this._applyStyles(e.styles,e,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}}function mf(t){const e=Ds(),s=e&&e.ce;return s||null}const Xl={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},bf=(t,e)=>{const s=t._withKeys||(t._withKeys={}),n=e.join(".");return s[n]||(s[n]=(r=>{if(!("key"in r))return;const i=Et(r.key);if(e.some(o=>o===i||Xl[o]===i))return t(r)}))},Zl=ot({patchProp:Jl},Il);let ar;function vi(){return ar||(ar=cl(Zl))}const tf=((...t)=>{vi().render(...t)}),hr=((...t)=>{const e=vi().createApp(...t),{mount:s}=e;return e.mount=n=>{const r=sf(n);if(!r)return;const i=e._component;!H(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,ef(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e});function ef(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function sf(t){return lt(t)?document.querySelector(t):t}export{qs as A,mf as B,hf as C,vo as D,bo as E,Dt as F,af as G,Ol as H,ml as I,ln as a,df as b,co as c,To as d,gn as e,gi as f,Ds as g,gf as h,pf as i,ff as j,St as k,cf as l,ro as m,$r as n,Do as o,fn as p,bf as q,nf as r,_f as s,ji as t,An as u,rf as v,of as w,as as x,uf as y,lf as z};
|
|
1
|
+
var In={};var Nn;function Si(){return Nn||(Nn=1,(function(){var t=(function(w,m){var S=function(Y){for(var $=0,G=Y.length;$<G;$++)D(Y[$])},D=function(Y){var $=Y.target,G=Y.attributeName,ft=Y.oldValue;$.attributeChangedCallback(G,ft,$.getAttribute(G))};return function(j,Y){var $=j.constructor.observedAttributes;return $&&w(Y).then(function(){new m(S).observe(j,{attributes:!0,attributeOldValue:!0,attributeFilter:$});for(var G=0,ft=$.length;G<ft;G++)j.hasAttribute($[G])&&D({target:j,attributeName:$[G],oldValue:null})}),j}});function e(w,m){if(w){if(typeof w=="string")return s(w,m);var S=Object.prototype.toString.call(w).slice(8,-1);if(S==="Object"&&w.constructor&&(S=w.constructor.name),S==="Map"||S==="Set")return Array.from(w);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return s(w,m)}}function s(w,m){(m==null||m>w.length)&&(m=w.length);for(var S=0,D=new Array(m);S<m;S++)D[S]=w[S];return D}function n(w,m){var S=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!S){if(Array.isArray(w)||(S=e(w))||m){S&&(w=S);var D=0,j=function(){};return{s:j,n:function(){return D>=w.length?{done:!0}:{done:!1,value:w[D++]}},e:function(ft){throw ft},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Y=!0,$=!1,G;return{s:function(){S=S.call(w)},n:function(){var ft=S.next();return Y=ft.done,ft},e:function(ft){$=!0,G=ft},f:function(){try{!Y&&S.return!=null&&S.return()}finally{if($)throw G}}}}var r=!0,i=!1,o="querySelectorAll",l=function(m){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document,D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:MutationObserver,j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:["*"],Y=function ft(le,fe,St,V,it,ct){var Mt=n(le),Te;try{for(Mt.s();!(Te=Mt.n()).done;){var dt=Te.value;(ct||o in dt)&&(it?St.has(dt)||(St.add(dt),V.delete(dt),m(dt,it)):V.has(dt)||(V.add(dt),St.delete(dt),m(dt,it)),ct||ft(dt[o](fe),fe,St,V,it,r))}}catch(Ds){Mt.e(Ds)}finally{Mt.f()}},$=new D(function(ft){if(j.length){var le=j.join(","),fe=new Set,St=new Set,V=n(ft),it;try{for(V.s();!(it=V.n()).done;){var ct=it.value,Mt=ct.addedNodes,Te=ct.removedNodes;Y(Te,le,fe,St,i,i),Y(Mt,le,fe,St,r,i)}}catch(dt){V.e(dt)}finally{V.f()}}}),G=$.observe;return($.observe=function(ft){return G.call($,ft,{subtree:r,childList:r})})(S),$},c="querySelectorAll",h=self,a=h.document,p=h.Element,T=h.MutationObserver,E=h.Set,q=h.WeakMap,N=function(m){return c in m},st=[].filter,Q=(function(w){var m=new q,S=function(V){for(var it=0,ct=V.length;it<ct;it++)m.delete(V[it])},D=function(){for(var V=le.takeRecords(),it=0,ct=V.length;it<ct;it++)$(st.call(V[it].removedNodes,N),!1),$(st.call(V[it].addedNodes,N),!0)},j=function(V){return V.matches||V.webkitMatchesSelector||V.msMatchesSelector},Y=function(V,it){var ct;if(it)for(var Mt,Te=j(V),dt=0,Ds=G.length;dt<Ds;dt++)Te.call(V,Mt=G[dt])&&(m.has(V)||m.set(V,new E),ct=m.get(V),ct.has(Mt)||(ct.add(Mt),w.handle(V,it,Mt)));else m.has(V)&&(ct=m.get(V),m.delete(V),ct.forEach(function(xi){w.handle(V,it,xi)}))},$=function(V){for(var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ct=0,Mt=V.length;ct<Mt;ct++)Y(V[ct],it)},G=w.query,ft=w.root||a,le=l(Y,ft,T,G),fe=p.prototype.attachShadow;return fe&&(p.prototype.attachShadow=function(St){var V=fe.call(this,St);return le.observe(V),V}),G.length&&$(ft[c](G)),{drop:S,flush:D,observer:le,parse:$}}),F=self,L=F.document,P=F.Map,nt=F.MutationObserver,Ct=F.Object,Tt=F.Set,Kt=F.WeakMap,ae=F.Element,Yt=F.HTMLElement,ie=F.Node,he=F.Error,de=F.TypeError,je=F.Reflect,pe=Ct.defineProperty,at=Ct.keys,tt=Ct.getOwnPropertyNames,W=Ct.setPrototypeOf,Et=!self.customElements,ge=function(m){for(var S=at(m),D=[],j=new Tt,Y=S.length,$=0;$<Y;$++){D[$]=m[S[$]];try{delete m[S[$]]}catch{j.add($)}}return function(){for(var G=0;G<Y;G++)j.has(G)||(m[S[G]]=D[G])}};if(Et){var jt=function(){var m=this.constructor;if(!Ae.has(m))throw new de("Illegal constructor");var S=Ae.get(m);if($e)return u($e,S);var D=Ot.call(L,S);return u(W(D,m.prototype),S)},Ot=L.createElement,Ae=new P,Ce=new P,rs=new P,Ht=new P,_e=[],He=function(m,S,D){var j=rs.get(D);if(S&&!j.isPrototypeOf(m)){var Y=ge(m);$e=W(m,j);try{new j.constructor}finally{$e=null,Y()}}var $="".concat(S?"":"dis","connectedCallback");$ in j&&m[$]()},is=Q({query:_e,handle:He}),be=is.parse,$e=null,f=function(m){if(!Ce.has(m)){var S,D=new Promise(function(j){S=j});Ce.set(m,{$:D,_:S})}return Ce.get(m).$},u=t(f,nt);self.customElements={define:function(m,S){if(Ht.has(m))throw new he('the name "'.concat(m,'" has already been used with this registry'));Ae.set(S,m),rs.set(m,S.prototype),Ht.set(m,S),_e.push(m),f(m).then(function(){be(L.querySelectorAll(m))}),Ce.get(m)._(S)},get:function(m){return Ht.get(m)},whenDefined:f},pe(jt.prototype=Yt.prototype,"constructor",{value:jt}),self.HTMLElement=jt,L.createElement=function(w,m){var S=m&&m.is,D=S?Ht.get(S):Ht.get(w);return D?new D:Ot.call(L,w)},"isConnected"in ie.prototype||pe(ie.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else if(Et=!self.customElements.get("extends-br"),Et)try{var d=function w(){return self.Reflect.construct(HTMLBRElement,[],w)};d.prototype=HTMLLIElement.prototype;var v="extends-br";self.customElements.define("extends-br",d,{extends:"br"}),Et=L.createElement("br",{is:v}).outerHTML.indexOf(v)<0;var g=self.customElements,b=g.get,A=g.whenDefined;self.customElements.whenDefined=function(w){var m=this;return A.call(this,w).then(function(S){return S||b.call(m,w)})}}catch{}if(Et){var x=function(m){var S=U.get(m);Le(S.querySelectorAll(this),m.isConnected)},y=self.customElements,_=L.createElement,M=y.define,C=y.get,O=y.upgrade,R=je||{construct:function(m){return m.call(this)}},K=R.construct,U=new Kt,k=new Tt,et=new P,rt=new P,Pt=new P,bt=new P,oe=[],me=[],ht=function(m){return bt.get(m)||C.call(y,m)},Nt=function(m,S,D){var j=Pt.get(D);if(S&&!j.isPrototypeOf(m)){var Y=ge(m);ls=W(m,j);try{new j.constructor}finally{ls=null,Y()}}var $="".concat(S?"":"dis","connectedCallback");$ in j&&m[$]()},os=Q({query:me,handle:Nt}),Le=os.parse,vi=Q({query:oe,handle:function(m,S){U.has(m)&&(S?k.add(m):k.delete(m),me.length&&x.call(me,m))}}),yi=vi.parse,Rn=ae.prototype.attachShadow;Rn&&(ae.prototype.attachShadow=function(w){var m=Rn.call(this,w);return U.set(this,m),m});var Ns=function(m){if(!rt.has(m)){var S,D=new Promise(function(j){S=j});rt.set(m,{$:D,_:S})}return rt.get(m).$},Fs=t(Ns,nt),ls=null;tt(self).filter(function(w){return/^HTML.*Element$/.test(w)}).forEach(function(w){var m=self[w];function S(){var D=this.constructor;if(!et.has(D))throw new de("Illegal constructor");var j=et.get(D),Y=j.is,$=j.tag;if(Y){if(ls)return Fs(ls,Y);var G=_.call(L,$);return G.setAttribute("is",Y),Fs(W(G,D.prototype),Y)}else return K.call(this,m,[],D)}pe(S.prototype=m.prototype,"constructor",{value:S}),pe(self,w,{value:S})}),L.createElement=function(w,m){var S=m&&m.is;if(S){var D=bt.get(S);if(D&&et.get(D).tag===w)return new D}var j=_.call(L,w);return S&&j.setAttribute("is",S),j},y.get=ht,y.whenDefined=Ns,y.upgrade=function(w){var m=w.getAttribute("is");if(m){var S=bt.get(m);if(S){Fs(W(w,S.prototype),m);return}}O.call(y,w)},y.define=function(w,m,S){if(ht(w))throw new he("'".concat(w,"' has already been defined as a custom element"));var D,j=S&&S.extends;et.set(m,j?{is:w,tag:j}:{is:"",tag:w}),j?(D="".concat(j,'[is="').concat(w,'"]'),Pt.set(D,m.prototype),bt.set(w,m),me.push(D)):(M.apply(y,arguments),oe.push(D=w)),Ns(w).then(function(){j?(Le(L.querySelectorAll(D)),k.forEach(x,[D])):yi(L.querySelectorAll(D))}),rt.get(w)._(m)}}})()),In}Si();function fn(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const X={},Pe=[],Gt=()=>{},dr=()=>!1,xs=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ss=t=>t.startsWith("onUpdate:"),ot=Object.assign,cn=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},wi=Object.prototype.hasOwnProperty,B=(t,e)=>wi.call(t,e),I=Array.isArray,Me=t=>es(t)==="[object Map]",pr=t=>es(t)==="[object Set]",Fn=t=>es(t)==="[object Date]",H=t=>typeof t=="function",lt=t=>typeof t=="string",Lt=t=>typeof t=="symbol",z=t=>t!==null&&typeof t=="object",gr=t=>(z(t)||H(t))&&H(t.then)&&H(t.catch),_r=Object.prototype.toString,es=t=>_r.call(t),Ai=t=>es(t).slice(8,-1),ws=t=>es(t)==="[object Object]",un=t=>lt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ue=fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),As=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},Ci=/-\w/g,ut=As(t=>t.replace(Ci,e=>e.slice(1).toUpperCase())),Ti=/\B([A-Z])/g,Rt=As(t=>t.replace(Ti,"-$1").toLowerCase()),Cs=As(t=>t.charAt(0).toUpperCase()+t.slice(1)),js=As(t=>t?`on${Cs(t)}`:""),kt=(t,e)=>!Object.is(t,e),Hs=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},br=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Ei=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Dn=t=>{const e=lt(t)?Number(t):NaN;return isNaN(e)?t:e};let jn;const Ts=()=>jn||(jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function an(t){if(I(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],r=lt(n)?Ri(n):an(n);if(r)for(const i in r)e[i]=r[i]}return e}else if(lt(t)||z(t))return t}const Oi=/;(?![^(]*\))/g,Pi=/:([^]+)/,Mi=/\/\*[^]*?\*\//g;function Ri(t){const e={};return t.replace(Mi,"").split(Oi).forEach(s=>{if(s){const n=s.split(Pi);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function hn(t){let e="";if(lt(t))e=t;else if(I(t))for(let s=0;s<t.length;s++){const n=hn(t[s]);n&&(e+=n+" ")}else if(z(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Ii="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ni=fn(Ii);function mr(t){return!!t||t===""}function Fi(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=dn(t[n],e[n]);return s}function dn(t,e){if(t===e)return!0;let s=Fn(t),n=Fn(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Lt(t),n=Lt(e),s||n)return t===e;if(s=I(t),n=I(e),s||n)return s&&n?Fi(t,e):!1;if(s=z(t),n=z(e),s||n){if(!s||!n)return!1;const r=Object.keys(t).length,i=Object.keys(e).length;if(r!==i)return!1;for(const o in t){const l=t.hasOwnProperty(o),c=e.hasOwnProperty(o);if(l&&!c||!l&&c||!dn(t[o],e[o]))return!1}}return String(t)===String(e)}const vr=t=>!!(t&&t.__v_isRef===!0),Di=t=>lt(t)?t:t==null?"":I(t)||z(t)&&(t.toString===_r||!H(t.toString))?vr(t)?Di(t.value):JSON.stringify(t,yr,2):String(t),yr=(t,e)=>vr(e)?yr(t,e.value):Me(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,r],i)=>(s[$s(n,i)+" =>"]=r,s),{})}:pr(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>$s(s))}:Lt(e)?$s(e):z(e)&&!I(e)&&!ws(e)?String(e):e,$s=(t,e="")=>{var s;return Lt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};let At;class ji{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=At,!e&&At&&(this.index=(At.scopes||(At.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=At;try{return At=this,e()}finally{At=s}}}on(){++this._on===1&&(this.prevScope=At,At=this)}off(){this._on>0&&--this._on===0&&(At=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Hi(){return At}let Z;const Ls=new WeakSet;class xr{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,At&&At.active&&At.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ls.has(this)&&(Ls.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||wr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Hn(this),Ar(this);const e=Z,s=$t;Z=this,$t=!0;try{return this.fn()}finally{Cr(this),Z=e,$t=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)_n(e);this.deps=this.depsTail=void 0,Hn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ls.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Js(this)&&this.run()}get dirty(){return Js(this)}}let Sr=0,Be,qe;function wr(t,e=!1){if(t.flags|=8,e){t.next=qe,qe=t;return}t.next=Be,Be=t}function pn(){Sr++}function gn(){if(--Sr>0)return;if(qe){let e=qe;for(qe=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Be;){let e=Be;for(Be=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function Ar(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Cr(t){let e,s=t.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),_n(n),$i(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}t.deps=e,t.depsTail=s}function Js(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Tr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Tr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ye)||(t.globalVersion=Ye,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Js(t))))return;t.flags|=2;const e=t.dep,s=Z,n=$t;Z=t,$t=!0;try{Ar(t);const r=t.fn(t._value);(e.version===0||kt(r,t._value))&&(t.flags|=128,t._value=r,e.version++)}catch(r){throw e.version++,r}finally{Z=s,$t=n,Cr(t),t.flags&=-3}}function _n(t,e=!1){const{dep:s,prevSub:n,nextSub:r}=t;if(n&&(n.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)_n(i,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function $i(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let $t=!0;const Er=[];function te(){Er.push($t),$t=!1}function ee(){const t=Er.pop();$t=t===void 0?!0:t}function Hn(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=Z;Z=void 0;try{e()}finally{Z=s}}}let Ye=0;class Li{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Es{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!Z||!$t||Z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Z)s=this.activeLink=new Li(Z,this),Z.deps?(s.prevDep=Z.depsTail,Z.depsTail.nextDep=s,Z.depsTail=s):Z.deps=Z.depsTail=s,Or(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=Z.depsTail,s.nextDep=void 0,Z.depsTail.nextDep=s,Z.depsTail=s,Z.deps===s&&(Z.deps=n)}return s}trigger(e){this.version++,Ye++,this.notify(e)}notify(e){pn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{gn()}}}function Or(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Or(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Ys=new WeakMap,Se=Symbol(""),zs=Symbol(""),ze=Symbol("");function pt(t,e,s){if($t&&Z){let n=Ys.get(t);n||Ys.set(t,n=new Map);let r=n.get(s);r||(n.set(s,r=new Es),r.map=n,r.key=s),r.track()}}function Zt(t,e,s,n,r,i){const o=Ys.get(t);if(!o){Ye++;return}const l=c=>{c&&c.trigger()};if(pn(),e==="clear")o.forEach(l);else{const c=I(t),h=c&&un(s);if(c&&s==="length"){const a=Number(n);o.forEach((p,T)=>{(T==="length"||T===ze||!Lt(T)&&T>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),h&&l(o.get(ze)),e){case"add":c?h&&l(o.get("length")):(l(o.get(Se)),Me(t)&&l(o.get(zs)));break;case"delete":c||(l(o.get(Se)),Me(t)&&l(o.get(zs)));break;case"set":Me(t)&&l(o.get(Se));break}}gn()}function Ee(t){const e=J(t);return e===t?e:(pt(e,"iterate",ze),Dt(t)?e:e.map(Vt))}function Os(t){return pt(t=J(t),"iterate",ze),t}function Bt(t,e){return se(t)?Fe(we(t)?Vt(e):e):Vt(e)}const Vi={__proto__:null,[Symbol.iterator](){return Vs(this,Symbol.iterator,t=>Bt(this,t))},concat(...t){return Ee(this).concat(...t.map(e=>I(e)?Ee(e):e))},entries(){return Vs(this,"entries",t=>(t[1]=Bt(this,t[1]),t))},every(t,e){return zt(this,"every",t,e,void 0,arguments)},filter(t,e){return zt(this,"filter",t,e,s=>s.map(n=>Bt(this,n)),arguments)},find(t,e){return zt(this,"find",t,e,s=>Bt(this,s),arguments)},findIndex(t,e){return zt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return zt(this,"findLast",t,e,s=>Bt(this,s),arguments)},findLastIndex(t,e){return zt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return zt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ks(this,"includes",t)},indexOf(...t){return Ks(this,"indexOf",t)},join(t){return Ee(this).join(t)},lastIndexOf(...t){return Ks(this,"lastIndexOf",t)},map(t,e){return zt(this,"map",t,e,void 0,arguments)},pop(){return Ve(this,"pop")},push(...t){return Ve(this,"push",t)},reduce(t,...e){return $n(this,"reduce",t,e)},reduceRight(t,...e){return $n(this,"reduceRight",t,e)},shift(){return Ve(this,"shift")},some(t,e){return zt(this,"some",t,e,void 0,arguments)},splice(...t){return Ve(this,"splice",t)},toReversed(){return Ee(this).toReversed()},toSorted(t){return Ee(this).toSorted(t)},toSpliced(...t){return Ee(this).toSpliced(...t)},unshift(...t){return Ve(this,"unshift",t)},values(){return Vs(this,"values",t=>Bt(this,t))}};function Vs(t,e,s){const n=Os(t),r=n[e]();return n!==t&&!Dt(t)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const Ki=Array.prototype;function zt(t,e,s,n,r,i){const o=Os(t),l=o!==t&&!Dt(t),c=o[e];if(c!==Ki[e]){const p=c.apply(t,i);return l?Vt(p):p}let h=s;o!==t&&(l?h=function(p,T){return s.call(this,Bt(t,p),T,t)}:s.length>2&&(h=function(p,T){return s.call(this,p,T,t)}));const a=c.call(o,h,n);return l&&r?r(a):a}function $n(t,e,s,n){const r=Os(t),i=r!==t&&!Dt(t);let o=s,l=!1;r!==t&&(i?(l=n.length===0,o=function(h,a,p){return l&&(l=!1,h=Bt(t,h)),s.call(this,h,Bt(t,a),p,t)}):s.length>3&&(o=function(h,a,p){return s.call(this,h,a,p,t)}));const c=r[e](o,...n);return l?Bt(t,c):c}function Ks(t,e,s){const n=J(t);pt(n,"iterate",ze);const r=n[e](...s);return(r===-1||r===!1)&&yn(s[0])?(s[0]=J(s[0]),n[e](...s)):r}function Ve(t,e,s=[]){te(),pn();const n=J(t)[e].apply(t,s);return gn(),ee(),n}const Wi=fn("__proto__,__v_isRef,__isVue"),Pr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Lt));function Ui(t){Lt(t)||(t=String(t));const e=J(this);return pt(e,"has",t),e.hasOwnProperty(t)}class Mr{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Zi:Fr:i?Nr:Ir).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=I(e);if(!r){let c;if(o&&(c=Vi[s]))return c;if(s==="hasOwnProperty")return Ui}const l=Reflect.get(e,s,_t(e)?e:n);if((Lt(s)?Pr.has(s):Wi(s))||(r||pt(e,"get",s),i))return l;if(_t(l)){const c=o&&un(s)?l:l.value;return r&&z(c)?Xs(c):c}return z(l)?r?Xs(l):mn(l):l}}class Rr extends Mr{constructor(e=!1){super(!1,e)}set(e,s,n,r){let i=e[s];const o=I(e)&&un(s);if(!this._isShallow){const h=se(i);if(!Dt(n)&&!se(n)&&(i=J(i),n=J(n)),!o&&_t(i)&&!_t(n))return h||(i.value=n),!0}const l=o?Number(s)<e.length:B(e,s),c=Reflect.set(e,s,n,_t(e)?e:r);return e===J(r)&&(l?kt(n,i)&&Zt(e,"set",s,n):Zt(e,"add",s,n)),c}deleteProperty(e,s){const n=B(e,s);e[s];const r=Reflect.deleteProperty(e,s);return r&&n&&Zt(e,"delete",s,void 0),r}has(e,s){const n=Reflect.has(e,s);return(!Lt(s)||!Pr.has(s))&&pt(e,"has",s),n}ownKeys(e){return pt(e,"iterate",I(e)?"length":Se),Reflect.ownKeys(e)}}class Bi extends Mr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const qi=new Rr,ki=new Bi,Gi=new Rr(!0);const Qs=t=>t,fs=t=>Reflect.getPrototypeOf(t);function Ji(t,e,s){return function(...n){const r=this.__v_raw,i=J(r),o=Me(i),l=t==="entries"||t===Symbol.iterator&&o,c=t==="keys"&&o,h=r[t](...n),a=s?Qs:e?Fe:Vt;return!e&&pt(i,"iterate",c?zs:Se),ot(Object.create(h),{next(){const{value:p,done:T}=h.next();return T?{value:p,done:T}:{value:l?[a(p[0]),a(p[1])]:a(p),done:T}}})}}function cs(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Yi(t,e){const s={get(r){const i=this.__v_raw,o=J(i),l=J(r);t||(kt(r,l)&&pt(o,"get",r),pt(o,"get",l));const{has:c}=fs(o),h=e?Qs:t?Fe:Vt;if(c.call(o,r))return h(i.get(r));if(c.call(o,l))return h(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!t&&pt(J(r),"iterate",Se),r.size},has(r){const i=this.__v_raw,o=J(i),l=J(r);return t||(kt(r,l)&&pt(o,"has",r),pt(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),h=e?Qs:t?Fe:Vt;return!t&&pt(c,"iterate",Se),l.forEach((a,p)=>r.call(i,h(a),h(p),o))}};return ot(s,t?{add:cs("add"),set:cs("set"),delete:cs("delete"),clear:cs("clear")}:{add(r){const i=J(this),o=fs(i),l=J(r),c=!e&&!Dt(r)&&!se(r)?l:r;return o.has.call(i,c)||kt(r,c)&&o.has.call(i,r)||kt(l,c)&&o.has.call(i,l)||(i.add(c),Zt(i,"add",c,c)),this},set(r,i){!e&&!Dt(i)&&!se(i)&&(i=J(i));const o=J(this),{has:l,get:c}=fs(o);let h=l.call(o,r);h||(r=J(r),h=l.call(o,r));const a=c.call(o,r);return o.set(r,i),h?kt(i,a)&&Zt(o,"set",r,i):Zt(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=fs(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const h=i.delete(r);return c&&Zt(i,"delete",r,void 0),h},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&Zt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Ji(r,t,e)}),s}function bn(t,e){const s=Yi(t,e);return(n,r,i)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?n:Reflect.get(B(s,r)&&r in n?s:n,r,i)}const zi={get:bn(!1,!1)},Qi={get:bn(!1,!0)},Xi={get:bn(!0,!1)};const Ir=new WeakMap,Nr=new WeakMap,Fr=new WeakMap,Zi=new WeakMap;function to(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eo(t){return t.__v_skip||!Object.isExtensible(t)?0:to(Ai(t))}function mn(t){return se(t)?t:vn(t,!1,qi,zi,Ir)}function so(t){return vn(t,!1,Gi,Qi,Nr)}function Xs(t){return vn(t,!0,ki,Xi,Fr)}function vn(t,e,s,n,r){if(!z(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=eo(t);if(i===0)return t;const o=r.get(t);if(o)return o;const l=new Proxy(t,i===2?n:s);return r.set(t,l),l}function we(t){return se(t)?we(t.__v_raw):!!(t&&t.__v_isReactive)}function se(t){return!!(t&&t.__v_isReadonly)}function Dt(t){return!!(t&&t.__v_isShallow)}function yn(t){return t?!!t.__v_raw:!1}function J(t){const e=t&&t.__v_raw;return e?J(e):t}function no(t){return!B(t,"__v_skip")&&Object.isExtensible(t)&&br(t,"__v_skip",!0),t}const Vt=t=>z(t)?mn(t):t,Fe=t=>z(t)?Xs(t):t;function _t(t){return t?t.__v_isRef===!0:!1}function ef(t){return Dr(t,!1)}function ro(t){return Dr(t,!0)}function Dr(t,e){return _t(t)?t:new io(t,e)}class io{constructor(e,s){this.dep=new Es,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:J(e),this._value=s?e:Vt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Dt(e)||se(e);e=n?e:J(e),kt(e,s)&&(this._rawValue=e,this._value=n?e:Vt(e),this.dep.trigger())}}function xn(t){return _t(t)?t.value:t}function sf(t){return H(t)?t():xn(t)}const oo={get:(t,e,s)=>e==="__v_raw"?t:xn(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const r=t[e];return _t(r)&&!_t(s)?(r.value=s,!0):Reflect.set(t,e,s,n)}};function jr(t){return we(t)?t:new Proxy(t,oo)}class lo{constructor(e){this.__v_isRef=!0,this._value=void 0;const s=this.dep=new Es,{get:n,set:r}=e(s.track.bind(s),s.trigger.bind(s));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}}function nf(t){return new lo(t)}class fo{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Es(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ye-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return wr(this,!0),!0}get value(){const e=this.dep.track();return Tr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function co(t,e,s=!1){let n,r;return H(t)?n=t:(n=t.get,r=t.set),new fo(n,r,s)}const us={},ps=new WeakMap;let xe;function uo(t,e=!1,s=xe){if(s){let n=ps.get(s);n||ps.set(s,n=[]),n.push(t)}}function ao(t,e,s=X){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=s,h=P=>r?P:Dt(P)||r===!1||r===0?ue(P,1):ue(P);let a,p,T,E,q=!1,N=!1;if(_t(t)?(p=()=>t.value,q=Dt(t)):we(t)?(p=()=>h(t),q=!0):I(t)?(N=!0,q=t.some(P=>we(P)||Dt(P)),p=()=>t.map(P=>{if(_t(P))return P.value;if(we(P))return h(P);if(H(P))return c?c(P,2):P()})):H(t)?e?p=c?()=>c(t,2):t:p=()=>{if(T){te();try{T()}finally{ee()}}const P=xe;xe=a;try{return c?c(t,3,[E]):t(E)}finally{xe=P}}:p=Gt,e&&r){const P=p,nt=r===!0?1/0:r;p=()=>ue(P(),nt)}const st=Hi(),Q=()=>{a.stop(),st&&st.active&&cn(st.effects,a)};if(i&&e){const P=e;e=(...nt)=>{P(...nt),Q()}}let F=N?new Array(t.length).fill(us):us;const L=P=>{if(!(!(a.flags&1)||!a.dirty&&!P))if(e){const nt=a.run();if(r||q||(N?nt.some((Ct,Tt)=>kt(Ct,F[Tt])):kt(nt,F))){T&&T();const Ct=xe;xe=a;try{const Tt=[nt,F===us?void 0:N&&F[0]===us?[]:F,E];F=nt,c?c(e,3,Tt):e(...Tt)}finally{xe=Ct}}}else a.run()};return l&&l(L),a=new xr(p),a.scheduler=o?()=>o(L,!1):L,E=P=>uo(P,!1,a),T=a.onStop=()=>{const P=ps.get(a);if(P){if(c)c(P,4);else for(const nt of P)nt();ps.delete(a)}},e?n?L(!0):F=a.run():o?o(L.bind(null,!0),!0):a.run(),Q.pause=a.pause.bind(a),Q.resume=a.resume.bind(a),Q.stop=Q,Q}function ue(t,e=1/0,s){if(e<=0||!z(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,_t(t))ue(t.value,e,s);else if(I(t))for(let n=0;n<t.length;n++)ue(t[n],e,s);else if(pr(t)||Me(t))t.forEach(n=>{ue(n,e,s)});else if(ws(t)){for(const n in t)ue(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&ue(t[n],e,s)}return t}function ss(t,e,s,n){try{return n?t(...n):t()}catch(r){Ps(r,e,s)}}function Jt(t,e,s,n){if(H(t)){const r=ss(t,e,s,n);return r&&gr(r)&&r.catch(i=>{Ps(i,e,s)}),r}if(I(t)){const r=[];for(let i=0;i<t.length;i++)r.push(Jt(t[i],e,s,n));return r}}function Ps(t,e,s,n=!0){const r=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||X;if(e){let l=e.parent;const c=e.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](t,c,h)===!1)return}l=l.parent}if(i){te(),ss(i,null,10,[t,c,h]),ee();return}}ho(t,s,r,n,o)}function ho(t,e,s,n=!0,r=!1){if(r)throw t;console.error(t)}const vt=[];let Ut=-1;const Re=[];let ce=null,Oe=0;const Hr=Promise.resolve();let gs=null;function $r(t){const e=gs||Hr;return t?e.then(this?t.bind(this):t):e}function po(t){let e=Ut+1,s=vt.length;for(;e<s;){const n=e+s>>>1,r=vt[n],i=Qe(r);i<t||i===t&&r.flags&2?e=n+1:s=n}return e}function Sn(t){if(!(t.flags&1)){const e=Qe(t),s=vt[vt.length-1];!s||!(t.flags&2)&&e>=Qe(s)?vt.push(t):vt.splice(po(e),0,t),t.flags|=1,Lr()}}function Lr(){gs||(gs=Hr.then(Kr))}function go(t){I(t)?Re.push(...t):ce&&t.id===-1?ce.splice(Oe+1,0,t):t.flags&1||(Re.push(t),t.flags|=1),Lr()}function Ln(t,e,s=Ut+1){for(;s<vt.length;s++){const n=vt[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;vt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Vr(t){if(Re.length){const e=[...new Set(Re)].sort((s,n)=>Qe(s)-Qe(n));if(Re.length=0,ce){ce.push(...e);return}for(ce=e,Oe=0;Oe<ce.length;Oe++){const s=ce[Oe];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ce=null,Oe=0}}const Qe=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Kr(t){try{for(Ut=0;Ut<vt.length;Ut++){const e=vt[Ut];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ss(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Ut<vt.length;Ut++){const e=vt[Ut];e&&(e.flags&=-2)}Ut=-1,vt.length=0,Vr(),gs=null,(vt.length||Re.length)&&Kr()}}let yt=null,Wr=null;function _s(t){const e=yt;return yt=t,Wr=t&&t.type.__scopeId||null,e}function _o(t,e=yt,s){if(!e||t._n)return t;const n=(...r)=>{n._d&&vs(-1);const i=_s(e);let o;try{o=t(...r)}finally{_s(i),n._d&&vs(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function ve(t,e,s,n){const r=t.dirs,i=e&&e.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[n];c&&(te(),Jt(c,s,8,[t.el,l,t,e]),ee())}}function bo(t,e){if(gt){let s=gt.provides;const n=gt.parent&>.parent.provides;n===s&&(s=gt.provides=Object.create(n)),s[t]=e}}function as(t,e,s=!1){const n=On();if(n||Ne){let r=Ne?Ne._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return s&&H(e)?e.call(n&&n.proxy):e}}const mo=Symbol.for("v-scx"),vo=()=>as(mo);function rf(t,e){return wn(t,null,e)}function Ws(t,e,s){return wn(t,e,s)}function wn(t,e,s=X){const{immediate:n,deep:r,flush:i,once:o}=s,l=ot({},s),c=e&&n||!e&&i!=="post";let h;if(ts){if(i==="sync"){const E=vo();h=E.__watcherHandles||(E.__watcherHandles=[])}else if(!c){const E=()=>{};return E.stop=Gt,E.resume=Gt,E.pause=Gt,E}}const a=gt;l.call=(E,q,N)=>Jt(E,a,q,N);let p=!1;i==="post"?l.scheduler=E=>{wt(E,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(E,q)=>{q?E():Sn(E)}),l.augmentJob=E=>{e&&(E.flags|=4),p&&(E.flags|=2,a&&(E.id=a.uid,E.i=a))};const T=ao(t,e,l);return ts&&(h?h.push(T):c&&T()),T}function yo(t,e,s){const n=this.proxy,r=lt(t)?t.includes(".")?Ur(n,t):()=>n[t]:t.bind(n,n);let i;H(e)?i=e:(i=e.handler,s=e);const o=ns(this),l=wn(r,i.bind(n),s);return o(),l}function Ur(t,e){const s=e.split(".");return()=>{let n=t;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const xo=Symbol("_vte"),So=t=>t.__isTeleport,wo=Symbol("_leaveCb");function An(t,e){t.shapeFlag&6&&t.component?(t.transition=e,An(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ao(t,e){return H(t)?ot({name:t.name},e,{setup:t}):t}function Br(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function of(t){const e=On(),s=ro(null);if(e){const r=e.refs===X?e.refs={}:e.refs;Object.defineProperty(r,t,{enumerable:!0,get:()=>s.value,set:i=>s.value=i})}return s}function Vn(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const bs=new WeakMap;function ke(t,e,s,n,r=!1){if(I(t)){t.forEach((N,st)=>ke(N,e&&(I(e)?e[st]:e),s,n,r));return}if(Ie(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ke(t,e,s,n.component.subTree);return}const i=n.shapeFlag&4?Pn(n.component):n.el,o=r?null:i,{i:l,r:c}=t,h=e&&e.r,a=l.refs===X?l.refs={}:l.refs,p=l.setupState,T=J(p),E=p===X?dr:N=>Vn(a,N)?!1:B(T,N),q=(N,st)=>!(st&&Vn(a,st));if(h!=null&&h!==c){if(Kn(e),lt(h))a[h]=null,E(h)&&(p[h]=null);else if(_t(h)){const N=e;q(h,N.k)&&(h.value=null),N.k&&(a[N.k]=null)}}if(H(c))ss(c,l,12,[o,a]);else{const N=lt(c),st=_t(c);if(N||st){const Q=()=>{if(t.f){const F=N?E(c)?p[c]:a[c]:q()||!t.k?c.value:a[t.k];if(r)I(F)&&cn(F,i);else if(I(F))F.includes(i)||F.push(i);else if(N)a[c]=[i],E(c)&&(p[c]=a[c]);else{const L=[i];q(c,t.k)&&(c.value=L),t.k&&(a[t.k]=L)}}else N?(a[c]=o,E(c)&&(p[c]=o)):st&&(q(c,t.k)&&(c.value=o),t.k&&(a[t.k]=o))};if(o){const F=()=>{Q(),bs.delete(t)};F.id=-1,bs.set(t,F),wt(F,s)}else Kn(t),Q()}}}function Kn(t){const e=bs.get(t);e&&(e.flags|=8,bs.delete(t))}Ts().requestIdleCallback;Ts().cancelIdleCallback;const Ie=t=>!!t.type.__asyncLoader,qr=t=>t.type.__isKeepAlive;function Co(t,e){kr(t,"a",e)}function To(t,e){kr(t,"da",e)}function kr(t,e,s=gt){const n=t.__wdc||(t.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(Ms(e,n,s),s){let r=s.parent;for(;r&&r.parent;)qr(r.parent.vnode)&&Eo(n,e,s,r),r=r.parent}}function Eo(t,e,s,n){const r=Ms(e,t,n,!0);Gr(()=>{cn(n[e],r)},s)}function Ms(t,e,s=gt,n=!1){if(s){const r=s[t]||(s[t]=[]),i=e.__weh||(e.__weh=(...o)=>{te();const l=ns(s),c=Jt(e,s,t,o);return l(),ee(),c});return n?r.unshift(i):r.push(i),i}}const re=t=>(e,s=gt)=>{(!ts||t==="sp")&&Ms(t,(...n)=>e(...n),s)},Oo=re("bm"),Po=re("m"),Mo=re("bu"),Ro=re("u"),Io=re("bum"),Gr=re("um"),No=re("sp"),Fo=re("rtg"),Do=re("rtc");function jo(t,e=gt){Ms("ec",t,e)}const Ho="components";function lf(t,e){return Lo(Ho,t,!0,e)||t}const $o=Symbol.for("v-ndc");function Lo(t,e,s=!0,n=!1){const r=yt||gt;if(r){const i=r.type;{const l=Al(i,!1);if(l&&(l===e||l===ut(e)||l===Cs(ut(e))))return i}const o=Wn(r[t]||i[t],e)||Wn(r.appContext[t],e);return!o&&n?i:o}}function Wn(t,e){return t&&(t[e]||t[ut(e)]||t[Cs(ut(e))])}function ff(t,e,s,n){let r;const i=s,o=I(t);if(o||lt(t)){const l=o&&we(t);let c=!1,h=!1;l&&(c=!Dt(t),h=se(t),t=Os(t)),r=new Array(t.length);for(let a=0,p=t.length;a<p;a++)r[a]=e(c?h?Fe(Vt(t[a])):Vt(t[a]):t[a],a,void 0,i)}else if(typeof t=="number"){r=new Array(t);for(let l=0;l<t;l++)r[l]=e(l+1,l,void 0,i)}else if(z(t))if(t[Symbol.iterator])r=Array.from(t,(l,c)=>e(l,c,void 0,i));else{const l=Object.keys(t);r=new Array(l.length);for(let c=0,h=l.length;c<h;c++){const a=l[c];r[c]=e(t[a],a,c,i)}}else r=[];return r}function cf(t,e,s={},n,r){if(yt.ce||yt.parent&&Ie(yt.parent)&&yt.parent.ce){const h=Object.keys(s).length>0;return nn(),rn(Ft,null,[xt("slot",s,n)],h?-2:64)}let i=t[e];i&&i._c&&(i._d=!1),nn();const o=i&&Jr(i(s)),l=s.key||o&&o.key,c=rn(Ft,{key:(l&&!Lt(l)?l:`_${e}`)+(!o&&n?"_fb":"")},o||[],o&&t._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Jr(t){return t.some(e=>Ze(e)?!(e.type===ne||e.type===Ft&&!Jr(e.children)):!0)?t:null}const Zs=t=>t?gi(t)?Pn(t):Zs(t.parent):null,Ge=ot(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Zs(t.parent),$root:t=>Zs(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>zr(t),$forceUpdate:t=>t.f||(t.f=()=>{Sn(t.update)}),$nextTick:t=>t.n||(t.n=$r.bind(t.proxy)),$watch:t=>yo.bind(t)}),Us=(t,e)=>t!==X&&!t.__isScriptSetup&&B(t,e),Vo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:c}=t;if(e[0]!=="$"){const T=o[e];if(T!==void 0)switch(T){case 1:return n[e];case 2:return r[e];case 4:return s[e];case 3:return i[e]}else{if(Us(n,e))return o[e]=1,n[e];if(r!==X&&B(r,e))return o[e]=2,r[e];if(B(i,e))return o[e]=3,i[e];if(s!==X&&B(s,e))return o[e]=4,s[e];tn&&(o[e]=0)}}const h=Ge[e];let a,p;if(h)return e==="$attrs"&&pt(t.attrs,"get",""),h(t);if((a=l.__cssModules)&&(a=a[e]))return a;if(s!==X&&B(s,e))return o[e]=4,s[e];if(p=c.config.globalProperties,B(p,e))return p[e]},set({_:t},e,s){const{data:n,setupState:r,ctx:i}=t;return Us(r,e)?(r[e]=s,!0):n!==X&&B(n,e)?(n[e]=s,!0):B(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let c;return!!(s[l]||t!==X&&l[0]!=="$"&&B(t,l)||Us(e,l)||B(i,l)||B(n,l)||B(Ge,l)||B(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:B(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Un(t){return I(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let tn=!0;function Ko(t){const e=zr(t),s=t.proxy,n=t.ctx;tn=!1,e.beforeCreate&&Bn(e.beforeCreate,t,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:h,created:a,beforeMount:p,mounted:T,beforeUpdate:E,updated:q,activated:N,deactivated:st,beforeDestroy:Q,beforeUnmount:F,destroyed:L,unmounted:P,render:nt,renderTracked:Ct,renderTriggered:Tt,errorCaptured:Kt,serverPrefetch:ae,expose:Yt,inheritAttrs:ie,components:he,directives:de,filters:je}=e;if(h&&Wo(h,n,null),o)for(const tt in o){const W=o[tt];H(W)&&(n[tt]=W.bind(s))}if(r){const tt=r.call(s,s);z(tt)&&(t.data=mn(tt))}if(tn=!0,i)for(const tt in i){const W=i[tt],Et=H(W)?W.bind(s,s):H(W.get)?W.get.bind(s,s):Gt,ge=!H(W)&&H(W.set)?W.set.bind(s):Gt,jt=Tl({get:Et,set:ge});Object.defineProperty(n,tt,{enumerable:!0,configurable:!0,get:()=>jt.value,set:Ot=>jt.value=Ot})}if(l)for(const tt in l)Yr(l[tt],n,s,tt);if(c){const tt=H(c)?c.call(s):c;Reflect.ownKeys(tt).forEach(W=>{bo(W,tt[W])})}a&&Bn(a,t,"c");function at(tt,W){I(W)?W.forEach(Et=>tt(Et.bind(s))):W&&tt(W.bind(s))}if(at(Oo,p),at(Po,T),at(Mo,E),at(Ro,q),at(Co,N),at(To,st),at(jo,Kt),at(Do,Ct),at(Fo,Tt),at(Io,F),at(Gr,P),at(No,ae),I(Yt))if(Yt.length){const tt=t.exposed||(t.exposed={});Yt.forEach(W=>{Object.defineProperty(tt,W,{get:()=>s[W],set:Et=>s[W]=Et,enumerable:!0})})}else t.exposed||(t.exposed={});nt&&t.render===Gt&&(t.render=nt),ie!=null&&(t.inheritAttrs=ie),he&&(t.components=he),de&&(t.directives=de),ae&&Br(t)}function Wo(t,e,s=Gt){I(t)&&(t=en(t));for(const n in t){const r=t[n];let i;z(r)?"default"in r?i=as(r.from||n,r.default,!0):i=as(r.from||n):i=as(r),_t(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):e[n]=i}}function Bn(t,e,s){Jt(I(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Yr(t,e,s,n){let r=n.includes(".")?Ur(s,n):()=>s[n];if(lt(t)){const i=e[t];H(i)&&Ws(r,i)}else if(H(t))Ws(r,t.bind(s));else if(z(t))if(I(t))t.forEach(i=>Yr(i,e,s,n));else{const i=H(t.handler)?t.handler.bind(s):e[t.handler];H(i)&&Ws(r,i,t)}}function zr(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=t.appContext,l=i.get(e);let c;return l?c=l:!r.length&&!s&&!n?c=e:(c={},r.length&&r.forEach(h=>ms(c,h,o,!0)),ms(c,e,o)),z(e)&&i.set(e,c),c}function ms(t,e,s,n=!1){const{mixins:r,extends:i}=e;i&&ms(t,i,s,!0),r&&r.forEach(o=>ms(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=Uo[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const Uo={data:qn,props:kn,emits:kn,methods:We,computed:We,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:We,directives:We,watch:qo,provide:qn,inject:Bo};function qn(t,e){return e?t?function(){return ot(H(t)?t.call(this,this):t,H(e)?e.call(this,this):e)}:e:t}function Bo(t,e){return We(en(t),en(e))}function en(t){if(I(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function mt(t,e){return t?[...new Set([].concat(t,e))]:e}function We(t,e){return t?ot(Object.create(null),t,e):e}function kn(t,e){return t?I(t)&&I(e)?[...new Set([...t,...e])]:ot(Object.create(null),Un(t),Un(e??{})):e}function qo(t,e){if(!t)return e;if(!e)return t;const s=ot(Object.create(null),t);for(const n in e)s[n]=mt(t[n],e[n]);return s}function Qr(){return{app:null,config:{isNativeTag:dr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ko=0;function Go(t,e){return function(n,r=null){H(n)||(n=ot({},n)),r!=null&&!z(r)&&(r=null);const i=Qr(),o=new WeakSet,l=[];let c=!1;const h=i.app={_uid:ko++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:El,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&H(a.install)?(o.add(a),a.install(h,...p)):H(a)&&(o.add(a),a(h,...p))),h},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),h},component(a,p){return p?(i.components[a]=p,h):i.components[a]},directive(a,p){return p?(i.directives[a]=p,h):i.directives[a]},mount(a,p,T){if(!c){const E=h._ceVNode||xt(n,r);return E.appContext=i,T===!0?T="svg":T===!1&&(T=void 0),t(E,a,T),c=!0,h._container=a,a.__vue_app__=h,Pn(E.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Jt(l,h._instance,16),t(null,h._container),delete h._container.__vue_app__)},provide(a,p){return i.provides[a]=p,h},runWithContext(a){const p=Ne;Ne=h;try{return a()}finally{Ne=p}}};return h}}let Ne=null;const Jo=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${ut(e)}Modifiers`]||t[`${Rt(e)}Modifiers`];function Yo(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||X;let r=s;const i=e.startsWith("update:"),o=i&&Jo(n,e.slice(7));o&&(o.trim&&(r=s.map(a=>lt(a)?a.trim():a)),o.number&&(r=s.map(Ei)));let l,c=n[l=js(e)]||n[l=js(ut(e))];!c&&i&&(c=n[l=js(Rt(e))]),c&&Jt(c,t,6,r);const h=n[l+"Once"];if(h){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,Jt(h,t,6,r)}}const zo=new WeakMap;function Xr(t,e,s=!1){const n=s?zo:e.emitsCache,r=n.get(t);if(r!==void 0)return r;const i=t.emits;let o={},l=!1;if(!H(t)){const c=h=>{const a=Xr(h,e,!0);a&&(l=!0,ot(o,a))};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!l?(z(t)&&n.set(t,null),null):(I(i)?i.forEach(c=>o[c]=null):ot(o,i),z(t)&&n.set(t,o),o)}function Rs(t,e){return!t||!xs(e)?!1:(e=e.slice(2).replace(/Once$/,""),B(t,e[0].toLowerCase()+e.slice(1))||B(t,Rt(e))||B(t,e))}function Gn(t){const{type:e,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:h,renderCache:a,props:p,data:T,setupState:E,ctx:q,inheritAttrs:N}=t,st=_s(t);let Q,F;try{if(s.shapeFlag&4){const P=r||n,nt=P;Q=qt(h.call(nt,P,a,p,E,T,q)),F=l}else{const P=e;Q=qt(P.length>1?P(p,{attrs:l,slots:o,emit:c}):P(p,null)),F=e.props?l:Qo(l)}}catch(P){Je.length=0,Ps(P,t,1),Q=xt(ne)}let L=Q;if(F&&N!==!1){const P=Object.keys(F),{shapeFlag:nt}=L;P.length&&nt&7&&(i&&P.some(Ss)&&(F=Xo(F,i)),L=De(L,F,!1,!0))}return s.dirs&&(L=De(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(s.dirs):s.dirs),s.transition&&An(L,s.transition),Q=L,_s(st),Q}const Qo=t=>{let e;for(const s in t)(s==="class"||s==="style"||xs(s))&&((e||(e={}))[s]=t[s]);return e},Xo=(t,e)=>{const s={};for(const n in t)(!Ss(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Zo(t,e,s){const{props:n,children:r,component:i}=t,{props:o,children:l,patchFlag:c}=e,h=i.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Jn(n,o,h):!!o;if(c&8){const a=e.dynamicProps;for(let p=0;p<a.length;p++){const T=a[p];if(Zr(o,n,T)&&!Rs(h,T))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Jn(n,o,h):!0:!!o;return!1}function Jn(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(Zr(e,t,i)&&!Rs(s,i))return!0}return!1}function Zr(t,e,s){const n=t[s],r=e[s];return s==="style"&&z(n)&&z(r)?!dn(n,r):n!==r}function tl({vnode:t,parent:e,suspense:s},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.suspense.vnode.el=r.el=n,t=r),r===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const ti={},ei=()=>Object.create(ti),si=t=>Object.getPrototypeOf(t)===ti;function el(t,e,s,n=!1){const r={},i=ei();t.propsDefaults=Object.create(null),ni(t,e,r,i);for(const o in t.propsOptions[0])o in r||(r[o]=void 0);s?t.props=n?r:so(r):t.type.props?t.props=r:t.props=i,t.attrs=i}function sl(t,e,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=t,l=J(r),[c]=t.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=t.vnode.dynamicProps;for(let p=0;p<a.length;p++){let T=a[p];if(Rs(t.emitsOptions,T))continue;const E=e[T];if(c)if(B(i,T))E!==i[T]&&(i[T]=E,h=!0);else{const q=ut(T);r[q]=sn(c,l,q,E,t,!1)}else E!==i[T]&&(i[T]=E,h=!0)}}}else{ni(t,e,r,i)&&(h=!0);let a;for(const p in l)(!e||!B(e,p)&&((a=Rt(p))===p||!B(e,a)))&&(c?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=sn(c,l,p,void 0,t,!0)):delete r[p]);if(i!==l)for(const p in i)(!e||!B(e,p))&&(delete i[p],h=!0)}h&&Zt(t.attrs,"set","")}function ni(t,e,s,n){const[r,i]=t.propsOptions;let o=!1,l;if(e)for(let c in e){if(Ue(c))continue;const h=e[c];let a;r&&B(r,a=ut(c))?!i||!i.includes(a)?s[a]=h:(l||(l={}))[a]=h:Rs(t.emitsOptions,c)||(!(c in n)||h!==n[c])&&(n[c]=h,o=!0)}if(i){const c=J(s),h=l||X;for(let a=0;a<i.length;a++){const p=i[a];s[p]=sn(r,c,p,h[p],t,!B(h,p))}}return o}function sn(t,e,s,n,r,i){const o=t[s];if(o!=null){const l=B(o,"default");if(l&&n===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&H(c)){const{propsDefaults:h}=r;if(s in h)n=h[s];else{const a=ns(r);n=h[s]=c.call(null,e),a()}}else n=c;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===Rt(s))&&(n=!0))}return n}const nl=new WeakMap;function ri(t,e,s=!1){const n=s?nl:e.propsCache,r=n.get(t);if(r)return r;const i=t.props,o={},l=[];let c=!1;if(!H(t)){const a=p=>{c=!0;const[T,E]=ri(p,e,!0);ot(o,T),E&&l.push(...E)};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}if(!i&&!c)return z(t)&&n.set(t,Pe),Pe;if(I(i))for(let a=0;a<i.length;a++){const p=ut(i[a]);Yn(p)&&(o[p]=X)}else if(i)for(const a in i){const p=ut(a);if(Yn(p)){const T=i[a],E=o[p]=I(T)||H(T)?{type:T}:ot({},T),q=E.type;let N=!1,st=!0;if(I(q))for(let Q=0;Q<q.length;++Q){const F=q[Q],L=H(F)&&F.name;if(L==="Boolean"){N=!0;break}else L==="String"&&(st=!1)}else N=H(q)&&q.name==="Boolean";E[0]=N,E[1]=st,(N||B(E,"default"))&&l.push(p)}}const h=[o,l];return z(t)&&n.set(t,h),h}function Yn(t){return t[0]!=="$"&&!Ue(t)}const Cn=t=>t==="_"||t==="_ctx"||t==="$stable",Tn=t=>I(t)?t.map(qt):[qt(t)],rl=(t,e,s)=>{if(e._n)return e;const n=_o((...r)=>Tn(e(...r)),s);return n._c=!1,n},ii=(t,e,s)=>{const n=t._ctx;for(const r in t){if(Cn(r))continue;const i=t[r];if(H(i))e[r]=rl(r,i,n);else if(i!=null){const o=Tn(i);e[r]=()=>o}}},oi=(t,e)=>{const s=Tn(e);t.slots.default=()=>s},li=(t,e,s)=>{for(const n in e)(s||!Cn(n))&&(t[n]=e[n])},il=(t,e,s)=>{const n=t.slots=ei();if(t.vnode.shapeFlag&32){const r=e._;r?(li(n,e,s),s&&br(n,"_",r,!0)):ii(e,n)}else e&&oi(t,e)},ol=(t,e,s)=>{const{vnode:n,slots:r}=t;let i=!0,o=X;if(n.shapeFlag&32){const l=e._;l?s&&l===1?i=!1:li(r,e,s):(i=!e.$stable,ii(e,r)),o=e}else e&&(oi(t,e),o={default:1});if(i)for(const l in r)!Cn(l)&&o[l]==null&&delete r[l]},wt=al;function ll(t){return fl(t)}function fl(t,e){const s=Ts();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:h,setElementText:a,parentNode:p,nextSibling:T,setScopeId:E=Gt,insertStaticContent:q}=t,N=(f,u,d,v=null,g=null,b=null,A=void 0,x=null,y=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ke(f,u)&&(v=_e(f),Ot(f,g,b,!0),f=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:M,shapeFlag:C}=u;switch(_){case Is:st(f,u,d,v);break;case ne:Q(f,u,d,v);break;case qs:f==null&&F(u,d,v,A);break;case Ft:he(f,u,d,v,g,b,A,x,y);break;default:C&1?nt(f,u,d,v,g,b,A,x,y):C&6?de(f,u,d,v,g,b,A,x,y):(C&64||C&128)&&_.process(f,u,d,v,g,b,A,x,y,be)}M!=null&&g?ke(M,f&&f.ref,b,u||f,!u):M==null&&f&&f.ref!=null&&ke(f.ref,null,b,f,!0)},st=(f,u,d,v)=>{if(f==null)n(u.el=l(u.children),d,v);else{const g=u.el=f.el;u.children!==f.children&&h(g,u.children)}},Q=(f,u,d,v)=>{f==null?n(u.el=c(u.children||""),d,v):u.el=f.el},F=(f,u,d,v)=>{[f.el,f.anchor]=q(f.children,u,d,v,f.el,f.anchor)},L=({el:f,anchor:u},d,v)=>{let g;for(;f&&f!==u;)g=T(f),n(f,d,v),f=g;n(u,d,v)},P=({el:f,anchor:u})=>{let d;for(;f&&f!==u;)d=T(f),r(f),f=d;r(u)},nt=(f,u,d,v,g,b,A,x,y)=>{if(u.type==="svg"?A="svg":u.type==="math"&&(A="mathml"),f==null)Ct(u,d,v,g,b,A,x,y);else{const _=f.el&&f.el._isVueCE?f.el:null;try{_&&_._beginPatch(),ae(f,u,g,b,A,x,y)}finally{_&&_._endPatch()}}},Ct=(f,u,d,v,g,b,A,x)=>{let y,_;const{props:M,shapeFlag:C,transition:O,dirs:R}=f;if(y=f.el=o(f.type,b,M&&M.is,M),C&8?a(y,f.children):C&16&&Kt(f.children,y,null,v,g,Bs(f,b),A,x),R&&ve(f,null,v,"created"),Tt(y,f,f.scopeId,A,v),M){for(const U in M)U!=="value"&&!Ue(U)&&i(y,U,null,M[U],b,v);"value"in M&&i(y,"value",null,M.value,b),(_=M.onVnodeBeforeMount)&&Wt(_,v,f)}R&&ve(f,null,v,"beforeMount");const K=cl(g,O);K&&O.beforeEnter(y),n(y,u,d),((_=M&&M.onVnodeMounted)||K||R)&&wt(()=>{_&&Wt(_,v,f),K&&O.enter(y),R&&ve(f,null,v,"mounted")},g)},Tt=(f,u,d,v,g)=>{if(d&&E(f,d),v)for(let b=0;b<v.length;b++)E(f,v[b]);if(g){let b=g.subTree;if(u===b||ai(b.type)&&(b.ssContent===u||b.ssFallback===u)){const A=g.vnode;Tt(f,A,A.scopeId,A.slotScopeIds,g.parent)}}},Kt=(f,u,d,v,g,b,A,x,y=0)=>{for(let _=y;_<f.length;_++){const M=f[_]=x?Xt(f[_]):qt(f[_]);N(null,M,u,d,v,g,b,A,x)}},ae=(f,u,d,v,g,b,A)=>{const x=u.el=f.el;let{patchFlag:y,dynamicChildren:_,dirs:M}=u;y|=f.patchFlag&16;const C=f.props||X,O=u.props||X;let R;if(d&&ye(d,!1),(R=O.onVnodeBeforeUpdate)&&Wt(R,d,u,f),M&&ve(u,f,d,"beforeUpdate"),d&&ye(d,!0),(C.innerHTML&&O.innerHTML==null||C.textContent&&O.textContent==null)&&a(x,""),_?Yt(f.dynamicChildren,_,x,d,v,Bs(u,g),b):A||W(f,u,x,null,d,v,Bs(u,g),b,!1),y>0){if(y&16)ie(x,C,O,d,g);else if(y&2&&C.class!==O.class&&i(x,"class",null,O.class,g),y&4&&i(x,"style",C.style,O.style,g),y&8){const K=u.dynamicProps;for(let U=0;U<K.length;U++){const k=K[U],et=C[k],rt=O[k];(rt!==et||k==="value")&&i(x,k,et,rt,g,d)}}y&1&&f.children!==u.children&&a(x,u.children)}else!A&&_==null&&ie(x,C,O,d,g);((R=O.onVnodeUpdated)||M)&&wt(()=>{R&&Wt(R,d,u,f),M&&ve(u,f,d,"updated")},v)},Yt=(f,u,d,v,g,b,A)=>{for(let x=0;x<u.length;x++){const y=f[x],_=u[x],M=y.el&&(y.type===Ft||!Ke(y,_)||y.shapeFlag&198)?p(y.el):d;N(y,_,M,null,v,g,b,A,!0)}},ie=(f,u,d,v,g)=>{if(u!==d){if(u!==X)for(const b in u)!Ue(b)&&!(b in d)&&i(f,b,u[b],null,g,v);for(const b in d){if(Ue(b))continue;const A=d[b],x=u[b];A!==x&&b!=="value"&&i(f,b,x,A,g,v)}"value"in d&&i(f,"value",u.value,d.value,g)}},he=(f,u,d,v,g,b,A,x,y)=>{const _=u.el=f?f.el:l(""),M=u.anchor=f?f.anchor:l("");let{patchFlag:C,dynamicChildren:O,slotScopeIds:R}=u;R&&(x=x?x.concat(R):R),f==null?(n(_,d,v),n(M,d,v),Kt(u.children||[],d,M,g,b,A,x,y)):C>0&&C&64&&O&&f.dynamicChildren&&f.dynamicChildren.length===O.length?(Yt(f.dynamicChildren,O,d,g,b,A,x),(u.key!=null||g&&u===g.subTree)&&fi(f,u,!0)):W(f,u,d,M,g,b,A,x,y)},de=(f,u,d,v,g,b,A,x,y)=>{u.slotScopeIds=x,f==null?u.shapeFlag&512?g.ctx.activate(u,d,v,A,y):je(u,d,v,g,b,A,y):pe(f,u,y)},je=(f,u,d,v,g,b,A)=>{const x=f.component=vl(f,v,g);if(qr(f)&&(x.ctx.renderer=be),yl(x,!1,A),x.asyncDep){if(g&&g.registerDep(x,at,A),!f.el){const y=x.subTree=xt(ne);Q(null,y,u,d),f.placeholder=y.el}}else at(x,f,u,d,g,b,A)},pe=(f,u,d)=>{const v=u.component=f.component;if(Zo(f,u,d))if(v.asyncDep&&!v.asyncResolved){tt(v,u,d);return}else v.next=u,v.update();else u.el=f.el,v.vnode=u},at=(f,u,d,v,g,b,A)=>{const x=()=>{if(f.isMounted){let{next:C,bu:O,u:R,parent:K,vnode:U}=f;{const bt=ci(f);if(bt){C&&(C.el=U.el,tt(f,C,A)),bt.asyncDep.then(()=>{wt(()=>{f.isUnmounted||_()},g)});return}}let k=C,et;ye(f,!1),C?(C.el=U.el,tt(f,C,A)):C=U,O&&Hs(O),(et=C.props&&C.props.onVnodeBeforeUpdate)&&Wt(et,K,C,U),ye(f,!0);const rt=Gn(f),Pt=f.subTree;f.subTree=rt,N(Pt,rt,p(Pt.el),_e(Pt),f,g,b),C.el=rt.el,k===null&&tl(f,rt.el),R&&wt(R,g),(et=C.props&&C.props.onVnodeUpdated)&&wt(()=>Wt(et,K,C,U),g)}else{let C;const{el:O,props:R}=u,{bm:K,m:U,parent:k,root:et,type:rt}=f,Pt=Ie(u);ye(f,!1),K&&Hs(K),!Pt&&(C=R&&R.onVnodeBeforeMount)&&Wt(C,k,u),ye(f,!0);{et.ce&&et.ce._hasShadowRoot()&&et.ce._injectChildStyle(rt,f.parent?f.parent.type:void 0);const bt=f.subTree=Gn(f);N(null,bt,d,v,f,g,b),u.el=bt.el}if(U&&wt(U,g),!Pt&&(C=R&&R.onVnodeMounted)){const bt=u;wt(()=>Wt(C,k,bt),g)}(u.shapeFlag&256||k&&Ie(k.vnode)&&k.vnode.shapeFlag&256)&&f.a&&wt(f.a,g),f.isMounted=!0,u=d=v=null}};f.scope.on();const y=f.effect=new xr(x);f.scope.off();const _=f.update=y.run.bind(y),M=f.job=y.runIfDirty.bind(y);M.i=f,M.id=f.uid,y.scheduler=()=>Sn(M),ye(f,!0),_()},tt=(f,u,d)=>{u.component=f;const v=f.vnode.props;f.vnode=u,f.next=null,sl(f,u.props,v,d),ol(f,u.children,d),te(),Ln(f),ee()},W=(f,u,d,v,g,b,A,x,y=!1)=>{const _=f&&f.children,M=f?f.shapeFlag:0,C=u.children,{patchFlag:O,shapeFlag:R}=u;if(O>0){if(O&128){ge(_,C,d,v,g,b,A,x,y);return}else if(O&256){Et(_,C,d,v,g,b,A,x,y);return}}R&8?(M&16&&Ht(_,g,b),C!==_&&a(d,C)):M&16?R&16?ge(_,C,d,v,g,b,A,x,y):Ht(_,g,b,!0):(M&8&&a(d,""),R&16&&Kt(C,d,v,g,b,A,x,y))},Et=(f,u,d,v,g,b,A,x,y)=>{f=f||Pe,u=u||Pe;const _=f.length,M=u.length,C=Math.min(_,M);let O;for(O=0;O<C;O++){const R=u[O]=y?Xt(u[O]):qt(u[O]);N(f[O],R,d,null,g,b,A,x,y)}_>M?Ht(f,g,b,!0,!1,C):Kt(u,d,v,g,b,A,x,y,C)},ge=(f,u,d,v,g,b,A,x,y)=>{let _=0;const M=u.length;let C=f.length-1,O=M-1;for(;_<=C&&_<=O;){const R=f[_],K=u[_]=y?Xt(u[_]):qt(u[_]);if(Ke(R,K))N(R,K,d,null,g,b,A,x,y);else break;_++}for(;_<=C&&_<=O;){const R=f[C],K=u[O]=y?Xt(u[O]):qt(u[O]);if(Ke(R,K))N(R,K,d,null,g,b,A,x,y);else break;C--,O--}if(_>C){if(_<=O){const R=O+1,K=R<M?u[R].el:v;for(;_<=O;)N(null,u[_]=y?Xt(u[_]):qt(u[_]),d,K,g,b,A,x,y),_++}}else if(_>O)for(;_<=C;)Ot(f[_],g,b,!0),_++;else{const R=_,K=_,U=new Map;for(_=K;_<=O;_++){const ht=u[_]=y?Xt(u[_]):qt(u[_]);ht.key!=null&&U.set(ht.key,_)}let k,et=0;const rt=O-K+1;let Pt=!1,bt=0;const oe=new Array(rt);for(_=0;_<rt;_++)oe[_]=0;for(_=R;_<=C;_++){const ht=f[_];if(et>=rt){Ot(ht,g,b,!0);continue}let Nt;if(ht.key!=null)Nt=U.get(ht.key);else for(k=K;k<=O;k++)if(oe[k-K]===0&&Ke(ht,u[k])){Nt=k;break}Nt===void 0?Ot(ht,g,b,!0):(oe[Nt-K]=_+1,Nt>=bt?bt=Nt:Pt=!0,N(ht,u[Nt],d,null,g,b,A,x,y),et++)}const me=Pt?ul(oe):Pe;for(k=me.length-1,_=rt-1;_>=0;_--){const ht=K+_,Nt=u[ht],os=u[ht+1],Le=ht+1<M?os.el||ui(os):v;oe[_]===0?N(null,Nt,d,Le,g,b,A,x,y):Pt&&(k<0||_!==me[k]?jt(Nt,d,Le,2):k--)}}},jt=(f,u,d,v,g=null)=>{const{el:b,type:A,transition:x,children:y,shapeFlag:_}=f;if(_&6){jt(f.component.subTree,u,d,v);return}if(_&128){f.suspense.move(u,d,v);return}if(_&64){A.move(f,u,d,be);return}if(A===Ft){n(b,u,d);for(let C=0;C<y.length;C++)jt(y[C],u,d,v);n(f.anchor,u,d);return}if(A===qs){L(f,u,d);return}if(v!==2&&_&1&&x)if(v===0)x.beforeEnter(b),n(b,u,d),wt(()=>x.enter(b),g);else{const{leave:C,delayLeave:O,afterLeave:R}=x,K=()=>{f.ctx.isUnmounted?r(b):n(b,u,d)},U=()=>{b._isLeaving&&b[wo](!0),C(b,()=>{K(),R&&R()})};O?O(b,K,U):U()}else n(b,u,d)},Ot=(f,u,d,v=!1,g=!1)=>{const{type:b,props:A,ref:x,children:y,dynamicChildren:_,shapeFlag:M,patchFlag:C,dirs:O,cacheIndex:R,memo:K}=f;if(C===-2&&(g=!1),x!=null&&(te(),ke(x,null,d,f,!0),ee()),R!=null&&(u.renderCache[R]=void 0),M&256){u.ctx.deactivate(f);return}const U=M&1&&O,k=!Ie(f);let et;if(k&&(et=A&&A.onVnodeBeforeUnmount)&&Wt(et,u,f),M&6)rs(f.component,d,v);else{if(M&128){f.suspense.unmount(d,v);return}U&&ve(f,null,u,"beforeUnmount"),M&64?f.type.remove(f,u,d,be,v):_&&!_.hasOnce&&(b!==Ft||C>0&&C&64)?Ht(_,u,d,!1,!0):(b===Ft&&C&384||!g&&M&16)&&Ht(y,u,d),v&&Ae(f)}const rt=K!=null&&R==null;(k&&(et=A&&A.onVnodeUnmounted)||U||rt)&&wt(()=>{et&&Wt(et,u,f),U&&ve(f,null,u,"unmounted"),rt&&(f.el=null)},d)},Ae=f=>{const{type:u,el:d,anchor:v,transition:g}=f;if(u===Ft){Ce(d,v);return}if(u===qs){P(f);return}const b=()=>{r(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:A,delayLeave:x}=g,y=()=>A(d,b);x?x(f.el,b,y):y()}else b()},Ce=(f,u)=>{let d;for(;f!==u;)d=T(f),r(f),f=d;r(u)},rs=(f,u,d)=>{const{bum:v,scope:g,job:b,subTree:A,um:x,m:y,a:_}=f;zn(y),zn(_),v&&Hs(v),g.stop(),b&&(b.flags|=8,Ot(A,f,u,d)),x&&wt(x,u),wt(()=>{f.isUnmounted=!0},u)},Ht=(f,u,d,v=!1,g=!1,b=0)=>{for(let A=b;A<f.length;A++)Ot(f[A],u,d,v,g)},_e=f=>{if(f.shapeFlag&6)return _e(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=T(f.anchor||f.el),d=u&&u[xo];return d?T(d):u};let He=!1;const is=(f,u,d)=>{let v;f==null?u._vnode&&(Ot(u._vnode,null,null,!0),v=u._vnode.component):N(u._vnode||null,f,u,null,null,null,d),u._vnode=f,He||(He=!0,Ln(v),Vr(),He=!1)},be={p:N,um:Ot,m:jt,r:Ae,mt:je,mc:Kt,pc:W,pbc:Yt,n:_e,o:t};return{render:is,hydrate:void 0,createApp:Go(is)}}function Bs({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function ye({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function cl(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function fi(t,e,s=!1){const n=t.children,r=e.children;if(I(n)&&I(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Xt(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&fi(o,l)),l.type===Is&&(l.patchFlag===-1&&(l=r[i]=Xt(l)),l.el=o.el),l.type===ne&&!l.el&&(l.el=o.el)}}function ul(t){const e=t.slice(),s=[0];let n,r,i,o,l;const c=t.length;for(n=0;n<c;n++){const h=t[n];if(h!==0){if(r=s[s.length-1],t[r]<h){e[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,t[s[l]]<h?i=l+1:o=l;h<t[s[i]]&&(i>0&&(e[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=e[o];return s}function ci(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:ci(e)}function zn(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function ui(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?ui(e.subTree):null}const ai=t=>t.__isSuspense;function al(t,e){e&&e.pendingBranch?I(t)?e.effects.push(...t):e.effects.push(t):go(t)}const Ft=Symbol.for("v-fgt"),Is=Symbol.for("v-txt"),ne=Symbol.for("v-cmt"),qs=Symbol.for("v-stc"),Je=[];let It=null;function nn(t=!1){Je.push(It=t?null:[])}function hl(){Je.pop(),It=Je[Je.length-1]||null}let Xe=1;function vs(t,e=!1){Xe+=t,t<0&&It&&e&&(It.hasOnce=!0)}function hi(t){return t.dynamicChildren=Xe>0?It||Pe:null,hl(),Xe>0&&It&&It.push(t),t}function uf(t,e,s,n,r,i){return hi(pi(t,e,s,n,r,i,!0))}function rn(t,e,s,n,r){return hi(xt(t,e,s,n,r,!0))}function Ze(t){return t?t.__v_isVNode===!0:!1}function Ke(t,e){return t.type===e.type&&t.key===e.key}const di=({key:t})=>t??null,hs=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?lt(t)||_t(t)||H(t)?{i:yt,r:t,k:e,f:!!s}:t:null);function pi(t,e=null,s=null,n=0,r=null,i=t===Ft?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&di(e),ref:e&&hs(e),scopeId:Wr,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:yt};return l?(En(c,s),i&128&&t.normalize(c)):s&&(c.shapeFlag|=lt(s)?8:16),Xe>0&&!o&&It&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&It.push(c),c}const xt=dl;function dl(t,e=null,s=null,n=0,r=null,i=!1){if((!t||t===$o)&&(t=ne),Ze(t)){const l=De(t,e,!0);return s&&En(l,s),Xe>0&&!i&&It&&(l.shapeFlag&6?It[It.indexOf(t)]=l:It.push(l)),l.patchFlag=-2,l}if(Cl(t)&&(t=t.__vccOpts),e){e=pl(e);let{class:l,style:c}=e;l&&!lt(l)&&(e.class=hn(l)),z(c)&&(yn(c)&&!I(c)&&(c=ot({},c)),e.style=an(c))}const o=lt(t)?1:ai(t)?128:So(t)?64:z(t)?4:H(t)?2:0;return pi(t,e,s,n,r,o,i,!0)}function pl(t){return t?yn(t)||si(t)?ot({},t):t:null}function De(t,e,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=t,h=e?_l(r||{},e):r,a={__v_isVNode:!0,__v_skip:!0,type:t.type,props:h,key:h&&di(h),ref:e&&e.ref?s&&i?I(i)?i.concat(hs(e)):[i,hs(e)]:hs(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ft?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&De(t.ssContent),ssFallback:t.ssFallback&&De(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&n&&An(a,c.clone(a)),a}function gl(t=" ",e=0){return xt(Is,null,t,e)}function af(t="",e=!1){return e?(nn(),rn(ne,null,t)):xt(ne,null,t)}function qt(t){return t==null||typeof t=="boolean"?xt(ne):I(t)?xt(Ft,null,t.slice()):Ze(t)?Xt(t):xt(Is,null,String(t))}function Xt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:De(t)}function En(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(I(e))s=16;else if(typeof e=="object")if(n&65){const r=e.default;r&&(r._c&&(r._d=!1),En(t,r()),r._c&&(r._d=!0));return}else{s=32;const r=e._;!r&&!si(e)?e._ctx=yt:r===3&&yt&&(yt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else H(e)?(e={default:e,_ctx:yt},s=32):(e=String(e),n&64?(s=16,e=[gl(e)]):s=8);t.children=e,t.shapeFlag|=s}function _l(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const r in n)if(r==="class")e.class!==n.class&&(e.class=hn([e.class,n.class]));else if(r==="style")e.style=an([e.style,n.style]);else if(xs(r)){const i=e[r],o=n[r];o&&i!==o&&!(I(i)&&i.includes(o))?e[r]=i?[].concat(i,o):o:o==null&&i==null&&!Ss(r)&&(e[r]=o)}else r!==""&&(e[r]=n[r])}return e}function Wt(t,e,s,n=null){Jt(t,e,7,[s,n])}const bl=Qr();let ml=0;function vl(t,e,s){const n=t.type,r=(e?e.appContext:t.appContext)||bl,i={uid:ml++,vnode:t,type:n,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ji(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ri(n,r),emitsOptions:Xr(n,r),emit:null,emitted:null,propsDefaults:X,inheritAttrs:n.inheritAttrs,ctx:X,data:X,props:X,attrs:X,slots:X,refs:X,setupState:X,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=e?e.root:i,i.emit=Yo.bind(null,i),t.ce&&t.ce(i),i}let gt=null;const On=()=>gt||yt;let ys,on;{const t=Ts(),e=(s,n)=>{let r;return(r=t[s])||(r=t[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};ys=e("__VUE_INSTANCE_SETTERS__",s=>gt=s),on=e("__VUE_SSR_SETTERS__",s=>ts=s)}const ns=t=>{const e=gt;return ys(t),t.scope.on(),()=>{t.scope.off(),ys(e)}},Qn=()=>{gt&>.scope.off(),ys(null)};function gi(t){return t.vnode.shapeFlag&4}let ts=!1;function yl(t,e=!1,s=!1){e&&on(e);const{props:n,children:r}=t.vnode,i=gi(t);el(t,n,i,e),il(t,r,s||e);const o=i?xl(t,e):void 0;return e&&on(!1),o}function xl(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Vo);const{setup:n}=s;if(n){te();const r=t.setupContext=n.length>1?wl(t):null,i=ns(t),o=ss(n,t,0,[t.props,r]),l=gr(o);if(ee(),i(),(l||t.sp)&&!Ie(t)&&Br(t),l){if(o.then(Qn,Qn),e)return o.then(c=>{Xn(t,c)}).catch(c=>{Ps(c,t,0)});t.asyncDep=o}else Xn(t,o)}else _i(t)}function Xn(t,e,s){H(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:z(e)&&(t.setupState=jr(e)),_i(t)}function _i(t,e,s){const n=t.type;t.render||(t.render=n.render||Gt);{const r=ns(t);te();try{Ko(t)}finally{ee(),r()}}}const Sl={get(t,e){return pt(t,"get",""),t[e]}};function wl(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Sl),slots:t.slots,emit:t.emit,expose:e}}function Pn(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(jr(no(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ge)return Ge[s](t)},has(e,s){return s in e||s in Ge}})):t.proxy}function Al(t,e=!0){return H(t)?t.displayName||t.name:t.name||e&&t.__name}function Cl(t){return H(t)&&"__vccOpts"in t}const Tl=(t,e)=>co(t,e,ts);function hf(t,e,s){try{vs(-1);const n=arguments.length;return n===2?z(e)&&!I(e)?Ze(e)?xt(t,null,[e]):xt(t,e):xt(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ze(s)&&(s=[s]),xt(t,e,s))}finally{vs(1)}}const El="3.5.32";let ln;const Zn=typeof window<"u"&&window.trustedTypes;if(Zn)try{ln=Zn.createPolicy("vue",{createHTML:t=>t})}catch{}const bi=ln?t=>ln.createHTML(t):t=>t,Ol="http://www.w3.org/2000/svg",Pl="http://www.w3.org/1998/Math/MathML",Qt=typeof document<"u"?document:null,tr=Qt&&Qt.createElement("template"),Ml={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const r=e==="svg"?Qt.createElementNS(Ol,t):e==="mathml"?Qt.createElementNS(Pl,t):s?Qt.createElement(t,{is:s}):Qt.createElement(t);return t==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:t=>Qt.createTextNode(t),createComment:t=>Qt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Qt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,r,i){const o=s?s.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{tr.innerHTML=bi(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=tr.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Rl=Symbol("_vtc");function Il(t,e,s){const n=t[Rl];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const er=Symbol("_vod"),Nl=Symbol("_vsh"),Fl=Symbol(""),Dl=/(?:^|;)\s*display\s*:/;function jl(t,e,s){const n=t.style,r=lt(s);let i=!1;if(s&&!r){if(e)if(lt(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&ds(n,l,"")}else for(const o in e)s[o]==null&&ds(n,o,"");for(const o in s)o==="display"&&(i=!0),ds(n,o,s[o])}else if(r){if(e!==s){const o=n[Fl];o&&(s+=";"+o),n.cssText=s,i=Dl.test(s)}}else e&&t.removeAttribute("style");er in t&&(t[er]=i?n.display:"",t[Nl]&&(n.display="none"))}const sr=/\s*!important$/;function ds(t,e,s){if(I(s))s.forEach(n=>ds(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Hl(t,e);sr.test(s)?t.setProperty(Rt(n),s.replace(sr,""),"important"):t[n]=s}}const nr=["Webkit","Moz","ms"],ks={};function Hl(t,e){const s=ks[e];if(s)return s;let n=ut(e);if(n!=="filter"&&n in t)return ks[e]=n;n=Cs(n);for(let r=0;r<nr.length;r++){const i=nr[r]+n;if(i in t)return ks[e]=i}return e}const rr="http://www.w3.org/1999/xlink";function ir(t,e,s,n,r,i=Ni(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(rr,e.slice(6,e.length)):t.setAttributeNS(rr,e,s):s==null||i&&!mr(s)?t.removeAttribute(e):t.setAttribute(e,i?"":Lt(s)?String(s):s)}function or(t,e,s,n,r){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?bi(s):s);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?t.getAttribute("value")||"":t.value,c=s==null?t.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in t))&&(t.value=c),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=mr(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(r||e)}function $l(t,e,s,n){t.addEventListener(e,s,n)}function Ll(t,e,s,n){t.removeEventListener(e,s,n)}const lr=Symbol("_vei");function Vl(t,e,s,n,r=null){const i=t[lr]||(t[lr]={}),o=i[e];if(n&&o)o.value=n;else{const[l,c]=Kl(e);if(n){const h=i[e]=Bl(n,r);$l(t,l,h,c)}else o&&(Ll(t,l,o,c),i[e]=void 0)}}const fr=/(?:Once|Passive|Capture)$/;function Kl(t){let e;if(fr.test(t)){e={};let n;for(;n=t.match(fr);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Rt(t.slice(2)),e]}let Gs=0;const Wl=Promise.resolve(),Ul=()=>Gs||(Wl.then(()=>Gs=0),Gs=Date.now());function Bl(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Jt(ql(n,s.value),e,5,[n])};return s.value=t,s.attached=Ul(),s}function ql(t,e){if(I(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>r=>!r._stopped&&n&&n(r))}else return e}const cr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,kl=(t,e,s,n,r,i)=>{const o=r==="svg";e==="class"?Il(t,n,o):e==="style"?jl(t,s,n):xs(e)?Ss(e)||Vl(t,e,s,n,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Gl(t,e,n,o))?(or(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ir(t,e,n,o,i,e!=="value")):t._isVueCE&&(Jl(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!lt(n)))?or(t,ut(e),n,i,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),ir(t,e,n,o))};function Gl(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&cr(e)&&H(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return cr(e)&<(s)?!1:e in t}function Jl(t,e){const s=t._def.props;if(!s)return!1;const n=ut(e);return Array.isArray(s)?s.some(r=>ut(r)===n):Object.keys(s).some(r=>ut(r)===n)}const ur={};function df(t,e,s){let n=Ao(t,e);ws(n)&&(n=ot({},n,e));class r extends Mn{constructor(o){super(n,o,s)}}return r.def=n,r}const Yl=typeof HTMLElement<"u"?HTMLElement:class{};class Mn extends Yl{constructor(e,s={},n=hr){super(),this._def=e,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==hr?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(ot({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.assignedSlot||e.parentNode||e.host);)if(e instanceof Mn){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,$r(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const s of e)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const e=(n,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=n;let l;if(i&&!I(i))for(const c in i){const h=i[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Dn(this._props[c])),(l||(l=Object.create(null)))[ut(c)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,e(this._def=n,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)B(this,n)||Object.defineProperty(this,n,{get:()=>xn(s[n])})}_resolveProps(e){const{props:s}=e,n=I(s)?s:Object.keys(s||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(ut))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!this._patching)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const s=this.hasAttribute(e);let n=s?this.getAttribute(e):ur;const r=ut(e);s&&this._numberProps&&this._numberProps[r]&&(n=Dn(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,s,n=!0,r=!1){if(s!==this._props[e]&&(this._dirty=!0,s===ur?delete this._props[e]:(this._props[e]=s,e==="key"&&this._app&&(this._app._ceVNode.key=s)),r&&this._instance&&this._update(),n)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),s===!0?this.setAttribute(Rt(e),""):typeof s=="string"||typeof s=="number"?this.setAttribute(Rt(e),s+""):s||this.removeAttribute(Rt(e)),i&&i.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Xl(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const s=xt(this._def,ot(e,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,ws(o[0])?ot({detail:o},o[0]):{detail:o}))};n.emit=(i,...o)=>{r(i,o),Rt(i)!==i&&r(Rt(i),o)},this._setParent()}),s}_applyStyles(e,s,n){if(!e)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const r=this._nonce,i=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let l=null;for(let c=e.length-1;c>=0;c--){const h=document.createElement("style");r&&h.setAttribute("nonce",r),h.textContent=e[c],i.insertBefore(h,l||o),l=h,c===0&&(n||this._styleAnchors.set(this._def,h),s&&this._styleAnchors.set(s,h))}}_getStyleAnchor(e){if(!e)return null;const s=this._styleAnchors.get(e);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(e),null)}_getRootStyleInsertionAnchor(e){for(let s=0;s<e.childNodes.length;s++){const n=e.childNodes[s];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const e=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(e[n]||(e[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const e=this._getSlots(),s=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){const r=e[n],i=r.getAttribute("name")||"default",o=this._slots[i],l=r.parentNode;if(o)for(const c of o){if(s&&c.nodeType===1){const h=s+"-s",a=document.createTreeWalker(c,1);c.setAttribute(h,"");let p;for(;p=a.nextNode();)p.setAttribute(h,"")}l.insertBefore(c,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_getSlots(){const e=[this];this._teleportTargets&&e.push(...this._teleportTargets);const s=new Set;for(const n of e){const r=n.querySelectorAll("slot");for(let i=0;i<r.length;i++)s.add(r[i])}return Array.from(s)}_injectChildStyle(e,s){this._applyStyles(e.styles,e,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(e){}}function pf(t){const e=On(),s=e&&e.ce;return s||null}const zl={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},gf=(t,e)=>{const s=t._withKeys||(t._withKeys={}),n=e.join(".");return s[n]||(s[n]=(r=>{if(!("key"in r))return;const i=Rt(r.key);if(e.some(o=>o===i||zl[o]===i))return t(r)}))},Ql=ot({patchProp:kl},Ml);let ar;function mi(){return ar||(ar=ll(Ql))}const Xl=((...t)=>{mi().render(...t)}),hr=((...t)=>{const e=mi().createApp(...t),{mount:s}=e;return e.mount=n=>{const r=tf(n);if(!r)return;const i=e._component;!H(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,Zl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e});function Zl(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function tf(t){return lt(t)?document.querySelector(t):t}export{Ws as A,Tl as B,pf as C,bo as D,_o as E,Ft as F,nn as a,uf as b,nf as c,Ao as d,hn as e,pi as f,On as g,hf as h,af as i,lf as j,xt as k,ff as l,no as m,$r as n,Io as o,rn as p,gf as q,ef as r,df as s,Di as t,xn as u,as as v,rf as w,cf as x,sf as y,of as z};
|