@vue/server-renderer 3.4.0-beta.4 → 3.4.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -205,7 +205,7 @@ function pushWarningContext(vnode) {
|
|
|
205
205
|
function popWarningContext() {
|
|
206
206
|
stack.pop();
|
|
207
207
|
}
|
|
208
|
-
function warn(msg, ...args) {
|
|
208
|
+
function warn$1(msg, ...args) {
|
|
209
209
|
pauseTracking();
|
|
210
210
|
const instance = stack.length ? stack[stack.length - 1].component : null;
|
|
211
211
|
const appWarnHandler = instance && instance.appContext.config.warnHandler;
|
|
@@ -379,7 +379,7 @@ function logError(err, type, contextVNode, throwInDev = true) {
|
|
|
379
379
|
if (contextVNode) {
|
|
380
380
|
pushWarningContext(contextVNode);
|
|
381
381
|
}
|
|
382
|
-
warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
382
|
+
warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
383
383
|
if (contextVNode) {
|
|
384
384
|
popWarningContext();
|
|
385
385
|
}
|
|
@@ -442,6 +442,8 @@ function formatComponentName(instance, Component, isRoot = false) {
|
|
|
442
442
|
return name ? classify(name) : isRoot ? `App` : `Anonymous`;
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
+
const warn = warn$1 ;
|
|
446
|
+
|
|
445
447
|
function ssrRenderList(source, renderItem) {
|
|
446
448
|
if (shared.isArray(source) || shared.isString(source)) {
|
|
447
449
|
for (let i = 0, l = source.length; i < l; i++) {
|
|
@@ -318,7 +318,7 @@ const stringifySymbol = (v, i = "") => {
|
|
|
318
318
|
return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
|
|
319
319
|
};
|
|
320
320
|
|
|
321
|
-
function warn$
|
|
321
|
+
function warn$2(msg, ...args) {
|
|
322
322
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
323
323
|
}
|
|
324
324
|
|
|
@@ -358,7 +358,7 @@ class EffectScope {
|
|
|
358
358
|
activeEffectScope = currentEffectScope;
|
|
359
359
|
}
|
|
360
360
|
} else {
|
|
361
|
-
warn$
|
|
361
|
+
warn$2(`cannot run an inactive effect scope.`);
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
/**
|
|
@@ -824,7 +824,7 @@ class ReadonlyReactiveHandler extends BaseReactiveHandler {
|
|
|
824
824
|
}
|
|
825
825
|
set(target, key) {
|
|
826
826
|
{
|
|
827
|
-
warn$
|
|
827
|
+
warn$2(
|
|
828
828
|
`Set operation on key "${String(key)}" failed: target is readonly.`,
|
|
829
829
|
target
|
|
830
830
|
);
|
|
@@ -833,7 +833,7 @@ class ReadonlyReactiveHandler extends BaseReactiveHandler {
|
|
|
833
833
|
}
|
|
834
834
|
deleteProperty(target, key) {
|
|
835
835
|
{
|
|
836
|
-
warn$
|
|
836
|
+
warn$2(
|
|
837
837
|
`Delete operation on key "${String(key)}" failed: target is readonly.`,
|
|
838
838
|
target
|
|
839
839
|
);
|
|
@@ -1365,7 +1365,7 @@ function pushWarningContext(vnode) {
|
|
|
1365
1365
|
function popWarningContext() {
|
|
1366
1366
|
stack.pop();
|
|
1367
1367
|
}
|
|
1368
|
-
function warn(msg, ...args) {
|
|
1368
|
+
function warn$1(msg, ...args) {
|
|
1369
1369
|
pauseTracking();
|
|
1370
1370
|
const instance = stack.length ? stack[stack.length - 1].component : null;
|
|
1371
1371
|
const appWarnHandler = instance && instance.appContext.config.warnHandler;
|
|
@@ -1555,7 +1555,7 @@ function logError(err, type, contextVNode, throwInDev = true) {
|
|
|
1555
1555
|
if (contextVNode) {
|
|
1556
1556
|
pushWarningContext(contextVNode);
|
|
1557
1557
|
}
|
|
1558
|
-
warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
1558
|
+
warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
1559
1559
|
if (contextVNode) {
|
|
1560
1560
|
popWarningContext();
|
|
1561
1561
|
}
|
|
@@ -1962,7 +1962,7 @@ function emit(instance, event, ...rawArgs) {
|
|
|
1962
1962
|
if (emitsOptions) {
|
|
1963
1963
|
if (!(event in emitsOptions) && true) {
|
|
1964
1964
|
if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {
|
|
1965
|
-
warn(
|
|
1965
|
+
warn$1(
|
|
1966
1966
|
`Component emitted event "${event}" but it is neither declared in the emits option nor as an "${toHandlerKey(event)}" prop.`
|
|
1967
1967
|
);
|
|
1968
1968
|
}
|
|
@@ -1971,7 +1971,7 @@ function emit(instance, event, ...rawArgs) {
|
|
|
1971
1971
|
if (isFunction(validator)) {
|
|
1972
1972
|
const isValid = validator(...rawArgs);
|
|
1973
1973
|
if (!isValid) {
|
|
1974
|
-
warn(
|
|
1974
|
+
warn$1(
|
|
1975
1975
|
`Invalid event arguments: event validation failed for event "${event}".`
|
|
1976
1976
|
);
|
|
1977
1977
|
}
|
|
@@ -1998,7 +1998,7 @@ function emit(instance, event, ...rawArgs) {
|
|
|
1998
1998
|
{
|
|
1999
1999
|
const lowerCaseEvent = event.toLowerCase();
|
|
2000
2000
|
if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {
|
|
2001
|
-
warn(
|
|
2001
|
+
warn$1(
|
|
2002
2002
|
`Event "${lowerCaseEvent}" is emitted in component ${formatComponentName(
|
|
2003
2003
|
instance,
|
|
2004
2004
|
instance.type
|
|
@@ -2159,7 +2159,7 @@ function renderComponentRoot$1(instance) {
|
|
|
2159
2159
|
const proxyToUse = withProxy || proxy;
|
|
2160
2160
|
const thisProxy = setupState.__isScriptSetup ? new Proxy(proxyToUse, {
|
|
2161
2161
|
get(target, key, receiver) {
|
|
2162
|
-
warn(
|
|
2162
|
+
warn$1(
|
|
2163
2163
|
`Property '${String(
|
|
2164
2164
|
key
|
|
2165
2165
|
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
@@ -2239,12 +2239,12 @@ function renderComponentRoot$1(instance) {
|
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
2241
|
if (extraAttrs.length) {
|
|
2242
|
-
warn(
|
|
2242
|
+
warn$1(
|
|
2243
2243
|
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
|
|
2244
2244
|
);
|
|
2245
2245
|
}
|
|
2246
2246
|
if (eventAttrs.length) {
|
|
2247
|
-
warn(
|
|
2247
|
+
warn$1(
|
|
2248
2248
|
`Extraneous non-emits event listeners (${eventAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`
|
|
2249
2249
|
);
|
|
2250
2250
|
}
|
|
@@ -2253,7 +2253,7 @@ function renderComponentRoot$1(instance) {
|
|
|
2253
2253
|
}
|
|
2254
2254
|
if (vnode.dirs) {
|
|
2255
2255
|
if (!isElementRoot(root)) {
|
|
2256
|
-
warn(
|
|
2256
|
+
warn$1(
|
|
2257
2257
|
`Runtime directive used on component with non-element root node. The directives will not function as intended.`
|
|
2258
2258
|
);
|
|
2259
2259
|
}
|
|
@@ -2262,7 +2262,7 @@ function renderComponentRoot$1(instance) {
|
|
|
2262
2262
|
}
|
|
2263
2263
|
if (vnode.transition) {
|
|
2264
2264
|
if (!isElementRoot(root)) {
|
|
2265
|
-
warn(
|
|
2265
|
+
warn$1(
|
|
2266
2266
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
2267
2267
|
);
|
|
2268
2268
|
}
|
|
@@ -2431,7 +2431,7 @@ function queueEffectWithSuspense(fn, suspense) {
|
|
|
2431
2431
|
const INITIAL_WATCHER_VALUE = {};
|
|
2432
2432
|
function watch(source, cb, options) {
|
|
2433
2433
|
if (!isFunction(cb)) {
|
|
2434
|
-
warn(
|
|
2434
|
+
warn$1(
|
|
2435
2435
|
`\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`
|
|
2436
2436
|
);
|
|
2437
2437
|
}
|
|
@@ -2448,23 +2448,23 @@ function doWatch(source, cb, { immediate, deep, flush, once, onTrack, onTrigger
|
|
|
2448
2448
|
}
|
|
2449
2449
|
if (!cb) {
|
|
2450
2450
|
if (immediate !== void 0) {
|
|
2451
|
-
warn(
|
|
2451
|
+
warn$1(
|
|
2452
2452
|
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
2453
2453
|
);
|
|
2454
2454
|
}
|
|
2455
2455
|
if (deep !== void 0) {
|
|
2456
|
-
warn(
|
|
2456
|
+
warn$1(
|
|
2457
2457
|
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
2458
2458
|
);
|
|
2459
2459
|
}
|
|
2460
2460
|
if (once !== void 0) {
|
|
2461
|
-
warn(
|
|
2461
|
+
warn$1(
|
|
2462
2462
|
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
2463
2463
|
);
|
|
2464
2464
|
}
|
|
2465
2465
|
}
|
|
2466
2466
|
const warnInvalidSource = (s) => {
|
|
2467
|
-
warn(
|
|
2467
|
+
warn$1(
|
|
2468
2468
|
`Invalid watch source: `,
|
|
2469
2469
|
s,
|
|
2470
2470
|
`A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`
|
|
@@ -2670,7 +2670,7 @@ function traverse(value, seen) {
|
|
|
2670
2670
|
|
|
2671
2671
|
function validateDirectiveName(name) {
|
|
2672
2672
|
if (isBuiltInDirective(name)) {
|
|
2673
|
-
warn("Do not use built-in directive ids as custom directive id: " + name);
|
|
2673
|
+
warn$1("Do not use built-in directive ids as custom directive id: " + name);
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
2676
|
function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
@@ -2761,7 +2761,7 @@ function injectHook(type, hook, target = currentInstance, prepend = false) {
|
|
|
2761
2761
|
return wrappedHook;
|
|
2762
2762
|
} else {
|
|
2763
2763
|
const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, ""));
|
|
2764
|
-
warn(
|
|
2764
|
+
warn$1(
|
|
2765
2765
|
`${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )
|
|
2766
2766
|
);
|
|
2767
2767
|
}
|
|
@@ -2888,13 +2888,13 @@ const PublicInstanceProxyHandlers = {
|
|
|
2888
2888
|
// to infinite warning loop
|
|
2889
2889
|
key.indexOf("__v") !== 0)) {
|
|
2890
2890
|
if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {
|
|
2891
|
-
warn(
|
|
2891
|
+
warn$1(
|
|
2892
2892
|
`Property ${JSON.stringify(
|
|
2893
2893
|
key
|
|
2894
2894
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
2895
2895
|
);
|
|
2896
2896
|
} else if (instance === currentRenderingInstance) {
|
|
2897
|
-
warn(
|
|
2897
|
+
warn$1(
|
|
2898
2898
|
`Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`
|
|
2899
2899
|
);
|
|
2900
2900
|
}
|
|
@@ -2906,17 +2906,17 @@ const PublicInstanceProxyHandlers = {
|
|
|
2906
2906
|
setupState[key] = value;
|
|
2907
2907
|
return true;
|
|
2908
2908
|
} else if (setupState.__isScriptSetup && hasOwn(setupState, key)) {
|
|
2909
|
-
warn(`Cannot mutate <script setup> binding "${key}" from Options API.`);
|
|
2909
|
+
warn$1(`Cannot mutate <script setup> binding "${key}" from Options API.`);
|
|
2910
2910
|
return false;
|
|
2911
2911
|
} else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
|
|
2912
2912
|
data[key] = value;
|
|
2913
2913
|
return true;
|
|
2914
2914
|
} else if (hasOwn(instance.props, key)) {
|
|
2915
|
-
warn(`Attempting to mutate prop "${key}". Props are readonly.`);
|
|
2915
|
+
warn$1(`Attempting to mutate prop "${key}". Props are readonly.`);
|
|
2916
2916
|
return false;
|
|
2917
2917
|
}
|
|
2918
2918
|
if (key[0] === "$" && key.slice(1) in instance) {
|
|
2919
|
-
warn(
|
|
2919
|
+
warn$1(
|
|
2920
2920
|
`Attempting to mutate public property "${key}". Properties starting with $ are reserved and readonly.`
|
|
2921
2921
|
);
|
|
2922
2922
|
return false;
|
|
@@ -2950,7 +2950,7 @@ const PublicInstanceProxyHandlers = {
|
|
|
2950
2950
|
};
|
|
2951
2951
|
{
|
|
2952
2952
|
PublicInstanceProxyHandlers.ownKeys = (target) => {
|
|
2953
|
-
warn(
|
|
2953
|
+
warn$1(
|
|
2954
2954
|
`Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`
|
|
2955
2955
|
);
|
|
2956
2956
|
return Reflect.ownKeys(target);
|
|
@@ -2996,7 +2996,7 @@ function exposeSetupStateOnRenderContext(instance) {
|
|
|
2996
2996
|
Object.keys(toRaw(setupState)).forEach((key) => {
|
|
2997
2997
|
if (!setupState.__isScriptSetup) {
|
|
2998
2998
|
if (isReservedPrefix(key[0])) {
|
|
2999
|
-
warn(
|
|
2999
|
+
warn$1(
|
|
3000
3000
|
`setup() return property ${JSON.stringify(
|
|
3001
3001
|
key
|
|
3002
3002
|
)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`
|
|
@@ -3024,7 +3024,7 @@ function createDuplicateChecker() {
|
|
|
3024
3024
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
3025
3025
|
return (type, key) => {
|
|
3026
3026
|
if (cache[key]) {
|
|
3027
|
-
warn(`${type} property "${key}" is already defined in ${cache[key]}.`);
|
|
3027
|
+
warn$1(`${type} property "${key}" is already defined in ${cache[key]}.`);
|
|
3028
3028
|
} else {
|
|
3029
3029
|
cache[key] = type;
|
|
3030
3030
|
}
|
|
@@ -3100,7 +3100,7 @@ function applyOptions(instance) {
|
|
|
3100
3100
|
checkDuplicateProperties("Methods" /* METHODS */, key);
|
|
3101
3101
|
}
|
|
3102
3102
|
} else {
|
|
3103
|
-
warn(
|
|
3103
|
+
warn$1(
|
|
3104
3104
|
`Method "${key}" has type "${typeof methodHandler}" in the component definition. Did you reference the function correctly?`
|
|
3105
3105
|
);
|
|
3106
3106
|
}
|
|
@@ -3108,18 +3108,18 @@ function applyOptions(instance) {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
if (dataOptions) {
|
|
3110
3110
|
if (!isFunction(dataOptions)) {
|
|
3111
|
-
warn(
|
|
3111
|
+
warn$1(
|
|
3112
3112
|
`The data option must be a function. Plain object usage is no longer supported.`
|
|
3113
3113
|
);
|
|
3114
3114
|
}
|
|
3115
3115
|
const data = dataOptions.call(publicThis, publicThis);
|
|
3116
3116
|
if (isPromise(data)) {
|
|
3117
|
-
warn(
|
|
3117
|
+
warn$1(
|
|
3118
3118
|
`data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`
|
|
3119
3119
|
);
|
|
3120
3120
|
}
|
|
3121
3121
|
if (!isObject(data)) {
|
|
3122
|
-
warn(`data() should return an object.`);
|
|
3122
|
+
warn$1(`data() should return an object.`);
|
|
3123
3123
|
} else {
|
|
3124
3124
|
instance.data = reactive(data);
|
|
3125
3125
|
{
|
|
@@ -3143,10 +3143,10 @@ function applyOptions(instance) {
|
|
|
3143
3143
|
const opt = computedOptions[key];
|
|
3144
3144
|
const get = isFunction(opt) ? opt.bind(publicThis, publicThis) : isFunction(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP;
|
|
3145
3145
|
if (get === NOOP) {
|
|
3146
|
-
warn(`Computed property "${key}" has no getter.`);
|
|
3146
|
+
warn$1(`Computed property "${key}" has no getter.`);
|
|
3147
3147
|
}
|
|
3148
3148
|
const set = !isFunction(opt) && isFunction(opt.set) ? opt.set.bind(publicThis) : () => {
|
|
3149
|
-
warn(
|
|
3149
|
+
warn$1(
|
|
3150
3150
|
`Write operation failed: computed property "${key}" is readonly.`
|
|
3151
3151
|
);
|
|
3152
3152
|
} ;
|
|
@@ -3272,7 +3272,7 @@ function createWatcher(raw, ctx, publicThis, key) {
|
|
|
3272
3272
|
if (isFunction(handler)) {
|
|
3273
3273
|
watch(getter, handler);
|
|
3274
3274
|
} else {
|
|
3275
|
-
warn(`Invalid watch handler specified by key "${raw}"`, handler);
|
|
3275
|
+
warn$1(`Invalid watch handler specified by key "${raw}"`, handler);
|
|
3276
3276
|
}
|
|
3277
3277
|
} else if (isFunction(raw)) {
|
|
3278
3278
|
watch(getter, raw.bind(publicThis));
|
|
@@ -3284,11 +3284,11 @@ function createWatcher(raw, ctx, publicThis, key) {
|
|
|
3284
3284
|
if (isFunction(handler)) {
|
|
3285
3285
|
watch(getter, handler, raw);
|
|
3286
3286
|
} else {
|
|
3287
|
-
warn(`Invalid watch handler specified by key "${raw.handler}"`, handler);
|
|
3287
|
+
warn$1(`Invalid watch handler specified by key "${raw.handler}"`, handler);
|
|
3288
3288
|
}
|
|
3289
3289
|
}
|
|
3290
3290
|
} else {
|
|
3291
|
-
warn(`Invalid watch option: "${key}"`, raw);
|
|
3291
|
+
warn$1(`Invalid watch option: "${key}"`, raw);
|
|
3292
3292
|
}
|
|
3293
3293
|
}
|
|
3294
3294
|
function resolveMergedOptions(instance) {
|
|
@@ -3333,7 +3333,7 @@ function mergeOptions(to, from, strats, asMixin = false) {
|
|
|
3333
3333
|
}
|
|
3334
3334
|
for (const key in from) {
|
|
3335
3335
|
if (asMixin && key === "expose") {
|
|
3336
|
-
warn(
|
|
3336
|
+
warn$1(
|
|
3337
3337
|
`"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.`
|
|
3338
3338
|
);
|
|
3339
3339
|
} else {
|
|
@@ -3461,7 +3461,7 @@ function createAppAPI(render, hydrate) {
|
|
|
3461
3461
|
rootComponent = extend({}, rootComponent);
|
|
3462
3462
|
}
|
|
3463
3463
|
if (rootProps != null && !isObject(rootProps)) {
|
|
3464
|
-
warn(`root props passed to app.mount() must be an object.`);
|
|
3464
|
+
warn$1(`root props passed to app.mount() must be an object.`);
|
|
3465
3465
|
rootProps = null;
|
|
3466
3466
|
}
|
|
3467
3467
|
const context = createAppContext();
|
|
@@ -3480,14 +3480,14 @@ function createAppAPI(render, hydrate) {
|
|
|
3480
3480
|
},
|
|
3481
3481
|
set config(v) {
|
|
3482
3482
|
{
|
|
3483
|
-
warn(
|
|
3483
|
+
warn$1(
|
|
3484
3484
|
`app.config cannot be replaced. Modify individual options instead.`
|
|
3485
3485
|
);
|
|
3486
3486
|
}
|
|
3487
3487
|
},
|
|
3488
3488
|
use(plugin, ...options) {
|
|
3489
3489
|
if (installedPlugins.has(plugin)) {
|
|
3490
|
-
warn(`Plugin has already been applied to target app.`);
|
|
3490
|
+
warn$1(`Plugin has already been applied to target app.`);
|
|
3491
3491
|
} else if (plugin && isFunction(plugin.install)) {
|
|
3492
3492
|
installedPlugins.add(plugin);
|
|
3493
3493
|
plugin.install(app, ...options);
|
|
@@ -3495,7 +3495,7 @@ function createAppAPI(render, hydrate) {
|
|
|
3495
3495
|
installedPlugins.add(plugin);
|
|
3496
3496
|
plugin(app, ...options);
|
|
3497
3497
|
} else {
|
|
3498
|
-
warn(
|
|
3498
|
+
warn$1(
|
|
3499
3499
|
`A plugin must either be a function or an object with an "install" function.`
|
|
3500
3500
|
);
|
|
3501
3501
|
}
|
|
@@ -3506,7 +3506,7 @@ function createAppAPI(render, hydrate) {
|
|
|
3506
3506
|
if (!context.mixins.includes(mixin)) {
|
|
3507
3507
|
context.mixins.push(mixin);
|
|
3508
3508
|
} else {
|
|
3509
|
-
warn(
|
|
3509
|
+
warn$1(
|
|
3510
3510
|
"Mixin has already been applied to target app" + (mixin.name ? `: ${mixin.name}` : "")
|
|
3511
3511
|
);
|
|
3512
3512
|
}
|
|
@@ -3521,7 +3521,7 @@ function createAppAPI(render, hydrate) {
|
|
|
3521
3521
|
return context.components[name];
|
|
3522
3522
|
}
|
|
3523
3523
|
if (context.components[name]) {
|
|
3524
|
-
warn(`Component "${name}" has already been registered in target app.`);
|
|
3524
|
+
warn$1(`Component "${name}" has already been registered in target app.`);
|
|
3525
3525
|
}
|
|
3526
3526
|
context.components[name] = component;
|
|
3527
3527
|
return app;
|
|
@@ -3534,7 +3534,7 @@ function createAppAPI(render, hydrate) {
|
|
|
3534
3534
|
return context.directives[name];
|
|
3535
3535
|
}
|
|
3536
3536
|
if (context.directives[name]) {
|
|
3537
|
-
warn(`Directive "${name}" has already been registered in target app.`);
|
|
3537
|
+
warn$1(`Directive "${name}" has already been registered in target app.`);
|
|
3538
3538
|
}
|
|
3539
3539
|
context.directives[name] = directive;
|
|
3540
3540
|
return app;
|
|
@@ -3542,7 +3542,7 @@ function createAppAPI(render, hydrate) {
|
|
|
3542
3542
|
mount(rootContainer, isHydrate, namespace) {
|
|
3543
3543
|
if (!isMounted) {
|
|
3544
3544
|
if (rootContainer.__vue_app__) {
|
|
3545
|
-
warn(
|
|
3545
|
+
warn$1(
|
|
3546
3546
|
`There is already an app instance mounted on the host container.
|
|
3547
3547
|
If you want to mount another app on the same host container, you need to unmount the previous app by calling \`app.unmount()\` first.`
|
|
3548
3548
|
);
|
|
@@ -3577,7 +3577,7 @@ function createAppAPI(render, hydrate) {
|
|
|
3577
3577
|
}
|
|
3578
3578
|
return getExposeProxy(vnode.component) || vnode.component.proxy;
|
|
3579
3579
|
} else {
|
|
3580
|
-
warn(
|
|
3580
|
+
warn$1(
|
|
3581
3581
|
`App has already been mounted.
|
|
3582
3582
|
If you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. \`const createMyApp = () => createApp(App)\``
|
|
3583
3583
|
);
|
|
@@ -3592,12 +3592,12 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
3592
3592
|
}
|
|
3593
3593
|
delete app._container.__vue_app__;
|
|
3594
3594
|
} else {
|
|
3595
|
-
warn(`Cannot unmount an app that is not mounted.`);
|
|
3595
|
+
warn$1(`Cannot unmount an app that is not mounted.`);
|
|
3596
3596
|
}
|
|
3597
3597
|
},
|
|
3598
3598
|
provide(key, value) {
|
|
3599
3599
|
if (key in context.provides) {
|
|
3600
|
-
warn(
|
|
3600
|
+
warn$1(
|
|
3601
3601
|
`App already provides property with key "${String(key)}". It will be overwritten with the new value.`
|
|
3602
3602
|
);
|
|
3603
3603
|
}
|
|
@@ -3621,7 +3621,7 @@ let currentApp = null;
|
|
|
3621
3621
|
function provide(key, value) {
|
|
3622
3622
|
if (!currentInstance) {
|
|
3623
3623
|
{
|
|
3624
|
-
warn(`provide() can only be used inside setup().`);
|
|
3624
|
+
warn$1(`provide() can only be used inside setup().`);
|
|
3625
3625
|
}
|
|
3626
3626
|
} else {
|
|
3627
3627
|
let provides = currentInstance.provides;
|
|
@@ -3641,10 +3641,10 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
|
3641
3641
|
} else if (arguments.length > 1) {
|
|
3642
3642
|
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
3643
3643
|
} else {
|
|
3644
|
-
warn(`injection "${String(key)}" not found.`);
|
|
3644
|
+
warn$1(`injection "${String(key)}" not found.`);
|
|
3645
3645
|
}
|
|
3646
3646
|
} else {
|
|
3647
|
-
warn(`inject() can only be used inside setup() or functional components.`);
|
|
3647
|
+
warn$1(`inject() can only be used inside setup() or functional components.`);
|
|
3648
3648
|
}
|
|
3649
3649
|
}
|
|
3650
3650
|
|
|
@@ -3885,7 +3885,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
|
|
|
3885
3885
|
if (isArray(raw)) {
|
|
3886
3886
|
for (let i = 0; i < raw.length; i++) {
|
|
3887
3887
|
if (!isString(raw[i])) {
|
|
3888
|
-
warn(`props must be strings when using array syntax.`, raw[i]);
|
|
3888
|
+
warn$1(`props must be strings when using array syntax.`, raw[i]);
|
|
3889
3889
|
}
|
|
3890
3890
|
const normalizedKey = camelize(raw[i]);
|
|
3891
3891
|
if (validatePropName(normalizedKey)) {
|
|
@@ -3894,7 +3894,7 @@ function normalizePropsOptions(comp, appContext, asMixin = false) {
|
|
|
3894
3894
|
}
|
|
3895
3895
|
} else if (raw) {
|
|
3896
3896
|
if (!isObject(raw)) {
|
|
3897
|
-
warn(`invalid props options`, raw);
|
|
3897
|
+
warn$1(`invalid props options`, raw);
|
|
3898
3898
|
}
|
|
3899
3899
|
for (const key in raw) {
|
|
3900
3900
|
const normalizedKey = camelize(key);
|
|
@@ -3923,7 +3923,7 @@ function validatePropName(key) {
|
|
|
3923
3923
|
if (key[0] !== "$") {
|
|
3924
3924
|
return true;
|
|
3925
3925
|
} else {
|
|
3926
|
-
warn(`Invalid prop name: "${key}" is a reserved property.`);
|
|
3926
|
+
warn$1(`Invalid prop name: "${key}" is a reserved property.`);
|
|
3927
3927
|
}
|
|
3928
3928
|
return false;
|
|
3929
3929
|
}
|
|
@@ -3961,7 +3961,7 @@ function validateProps(rawProps, props, instance) {
|
|
|
3961
3961
|
function validateProp(name, value, prop, props, isAbsent) {
|
|
3962
3962
|
const { type, required, validator, skipCheck } = prop;
|
|
3963
3963
|
if (required && isAbsent) {
|
|
3964
|
-
warn('Missing required prop: "' + name + '"');
|
|
3964
|
+
warn$1('Missing required prop: "' + name + '"');
|
|
3965
3965
|
return;
|
|
3966
3966
|
}
|
|
3967
3967
|
if (value == null && !required) {
|
|
@@ -3977,12 +3977,12 @@ function validateProp(name, value, prop, props, isAbsent) {
|
|
|
3977
3977
|
isValid = valid;
|
|
3978
3978
|
}
|
|
3979
3979
|
if (!isValid) {
|
|
3980
|
-
warn(getInvalidTypeMessage(name, value, expectedTypes));
|
|
3980
|
+
warn$1(getInvalidTypeMessage(name, value, expectedTypes));
|
|
3981
3981
|
return;
|
|
3982
3982
|
}
|
|
3983
3983
|
}
|
|
3984
3984
|
if (validator && !validator(value, props)) {
|
|
3985
|
-
warn('Invalid prop: custom validator check failed for prop "' + name + '".');
|
|
3985
|
+
warn$1('Invalid prop: custom validator check failed for prop "' + name + '".');
|
|
3986
3986
|
}
|
|
3987
3987
|
}
|
|
3988
3988
|
const isSimpleType = /* @__PURE__ */ makeMap(
|
|
@@ -4054,7 +4054,7 @@ const normalizeSlot = (key, rawSlot, ctx) => {
|
|
|
4054
4054
|
}
|
|
4055
4055
|
const normalized = withCtx((...args) => {
|
|
4056
4056
|
if (currentInstance) {
|
|
4057
|
-
warn(
|
|
4057
|
+
warn$1(
|
|
4058
4058
|
`Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
|
4059
4059
|
);
|
|
4060
4060
|
}
|
|
@@ -4073,7 +4073,7 @@ const normalizeObjectSlots = (rawSlots, slots, instance) => {
|
|
|
4073
4073
|
slots[key] = normalizeSlot(key, value, ctx);
|
|
4074
4074
|
} else if (value != null) {
|
|
4075
4075
|
{
|
|
4076
|
-
warn(
|
|
4076
|
+
warn$1(
|
|
4077
4077
|
`Non-function value encountered for slot "${key}". Prefer function slots for better performance.`
|
|
4078
4078
|
);
|
|
4079
4079
|
}
|
|
@@ -4084,7 +4084,7 @@ const normalizeObjectSlots = (rawSlots, slots, instance) => {
|
|
|
4084
4084
|
};
|
|
4085
4085
|
const normalizeVNodeSlots = (instance, children) => {
|
|
4086
4086
|
if (!isKeepAlive(instance.vnode) && true) {
|
|
4087
|
-
warn(
|
|
4087
|
+
warn$1(
|
|
4088
4088
|
`Non-function value encountered for default slot. Prefer function slots for better performance.`
|
|
4089
4089
|
);
|
|
4090
4090
|
}
|
|
@@ -4166,7 +4166,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4166
4166
|
const value = isUnmount ? null : refValue;
|
|
4167
4167
|
const { i: owner, r: ref } = rawRef;
|
|
4168
4168
|
if (!owner) {
|
|
4169
|
-
warn(
|
|
4169
|
+
warn$1(
|
|
4170
4170
|
`Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`
|
|
4171
4171
|
);
|
|
4172
4172
|
return;
|
|
@@ -4221,7 +4221,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4221
4221
|
if (rawRef.k)
|
|
4222
4222
|
refs[rawRef.k] = value;
|
|
4223
4223
|
} else {
|
|
4224
|
-
warn("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
4224
|
+
warn$1("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
4225
4225
|
}
|
|
4226
4226
|
};
|
|
4227
4227
|
if (value) {
|
|
@@ -4231,7 +4231,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4231
4231
|
doSet();
|
|
4232
4232
|
}
|
|
4233
4233
|
} else {
|
|
4234
|
-
warn("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
4234
|
+
warn$1("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
4235
4235
|
}
|
|
4236
4236
|
}
|
|
4237
4237
|
}
|
|
@@ -4393,7 +4393,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
4393
4393
|
internals
|
|
4394
4394
|
);
|
|
4395
4395
|
} else {
|
|
4396
|
-
warn("Invalid VNode type:", type, `(${typeof type})`);
|
|
4396
|
+
warn$1("Invalid VNode type:", type, `(${typeof type})`);
|
|
4397
4397
|
}
|
|
4398
4398
|
}
|
|
4399
4399
|
if (ref != null && parentComponent) {
|
|
@@ -5362,7 +5362,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
5362
5362
|
const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode$1(c2[i]);
|
|
5363
5363
|
if (nextChild.key != null) {
|
|
5364
5364
|
if (keyToNewIndexMap.has(nextChild.key)) {
|
|
5365
|
-
warn(
|
|
5365
|
+
warn$1(
|
|
5366
5366
|
`Duplicate keys found during update:`,
|
|
5367
5367
|
JSON.stringify(nextChild.key),
|
|
5368
5368
|
`Make sure keys are unique.`
|
|
@@ -5860,7 +5860,7 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
|
|
|
5860
5860
|
vnode.shapeFlag |= isString(children) ? 8 : 16;
|
|
5861
5861
|
}
|
|
5862
5862
|
if (vnode.key !== vnode.key) {
|
|
5863
|
-
warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
|
|
5863
|
+
warn$1(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
|
|
5864
5864
|
}
|
|
5865
5865
|
if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
|
|
5866
5866
|
!isBlockNode && // has current parent block
|
|
@@ -5879,7 +5879,7 @@ const createVNode = createVNodeWithArgsTransform ;
|
|
|
5879
5879
|
function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
|
|
5880
5880
|
if (!type || type === NULL_DYNAMIC_COMPONENT) {
|
|
5881
5881
|
if (!type) {
|
|
5882
|
-
warn(`Invalid vnode type when creating vnode: ${type}.`);
|
|
5882
|
+
warn$1(`Invalid vnode type when creating vnode: ${type}.`);
|
|
5883
5883
|
}
|
|
5884
5884
|
type = Comment;
|
|
5885
5885
|
}
|
|
@@ -5922,7 +5922,7 @@ function _createVNode(type, props = null, children = null, patchFlag = 0, dynami
|
|
|
5922
5922
|
const shapeFlag = isString(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : isObject(type) ? 4 : isFunction(type) ? 2 : 0;
|
|
5923
5923
|
if (shapeFlag & 4 && isProxy(type)) {
|
|
5924
5924
|
type = toRaw(type);
|
|
5925
|
-
warn(
|
|
5925
|
+
warn$1(
|
|
5926
5926
|
`Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with \`markRaw\` or using \`shallowRef\` instead of \`ref\`.`,
|
|
5927
5927
|
`
|
|
5928
5928
|
Component that was made reactive: `,
|
|
@@ -6226,7 +6226,7 @@ const isBuiltInTag = /* @__PURE__ */ makeMap("slot,component");
|
|
|
6226
6226
|
function validateComponentName(name, config) {
|
|
6227
6227
|
const appIsNativeTag = config.isNativeTag || NO;
|
|
6228
6228
|
if (isBuiltInTag(name) || appIsNativeTag(name)) {
|
|
6229
|
-
warn(
|
|
6229
|
+
warn$1(
|
|
6230
6230
|
"Do not use built-in or reserved HTML elements as component id: " + name
|
|
6231
6231
|
);
|
|
6232
6232
|
}
|
|
@@ -6265,7 +6265,7 @@ function setupStatefulComponent(instance, isSSR) {
|
|
|
6265
6265
|
}
|
|
6266
6266
|
}
|
|
6267
6267
|
if (Component.compilerOptions && isRuntimeOnly()) {
|
|
6268
|
-
warn(
|
|
6268
|
+
warn$1(
|
|
6269
6269
|
`"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.`
|
|
6270
6270
|
);
|
|
6271
6271
|
}
|
|
@@ -6300,7 +6300,7 @@ function setupStatefulComponent(instance, isSSR) {
|
|
|
6300
6300
|
instance.asyncDep = setupResult;
|
|
6301
6301
|
if (!instance.suspense) {
|
|
6302
6302
|
const name = (_a = Component.name) != null ? _a : "Anonymous";
|
|
6303
|
-
warn(
|
|
6303
|
+
warn$1(
|
|
6304
6304
|
`Component <${name}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`
|
|
6305
6305
|
);
|
|
6306
6306
|
}
|
|
@@ -6321,7 +6321,7 @@ function handleSetupResult(instance, setupResult, isSSR) {
|
|
|
6321
6321
|
}
|
|
6322
6322
|
} else if (isObject(setupResult)) {
|
|
6323
6323
|
if (isVNode$2(setupResult)) {
|
|
6324
|
-
warn(
|
|
6324
|
+
warn$1(
|
|
6325
6325
|
`setup() should not return VNodes directly - return a render function instead.`
|
|
6326
6326
|
);
|
|
6327
6327
|
}
|
|
@@ -6333,7 +6333,7 @@ function handleSetupResult(instance, setupResult, isSSR) {
|
|
|
6333
6333
|
exposeSetupStateOnRenderContext(instance);
|
|
6334
6334
|
}
|
|
6335
6335
|
} else if (setupResult !== void 0) {
|
|
6336
|
-
warn(
|
|
6336
|
+
warn$1(
|
|
6337
6337
|
`setup() should return an object. Received: ${setupResult === null ? "null" : typeof setupResult}`
|
|
6338
6338
|
);
|
|
6339
6339
|
}
|
|
@@ -6382,12 +6382,12 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
|
|
|
6382
6382
|
}
|
|
6383
6383
|
if (!Component.render && instance.render === NOOP && !isSSR) {
|
|
6384
6384
|
if (Component.template) {
|
|
6385
|
-
warn(
|
|
6385
|
+
warn$1(
|
|
6386
6386
|
`Component provided template option but runtime compilation is not supported in this build of Vue.` + (` Use "vue.esm-browser.js" instead.` )
|
|
6387
6387
|
/* should not happen */
|
|
6388
6388
|
);
|
|
6389
6389
|
} else {
|
|
6390
|
-
warn(`Component is missing template or render function.`);
|
|
6390
|
+
warn$1(`Component is missing template or render function.`);
|
|
6391
6391
|
}
|
|
6392
6392
|
}
|
|
6393
6393
|
}
|
|
@@ -6401,11 +6401,11 @@ function getAttrsProxy(instance) {
|
|
|
6401
6401
|
return target[key];
|
|
6402
6402
|
},
|
|
6403
6403
|
set() {
|
|
6404
|
-
warn(`setupContext.attrs is readonly.`);
|
|
6404
|
+
warn$1(`setupContext.attrs is readonly.`);
|
|
6405
6405
|
return false;
|
|
6406
6406
|
},
|
|
6407
6407
|
deleteProperty() {
|
|
6408
|
-
warn(`setupContext.attrs is readonly.`);
|
|
6408
|
+
warn$1(`setupContext.attrs is readonly.`);
|
|
6409
6409
|
return false;
|
|
6410
6410
|
}
|
|
6411
6411
|
}
|
|
@@ -6423,7 +6423,7 @@ function createSetupContext(instance) {
|
|
|
6423
6423
|
const expose = (exposed) => {
|
|
6424
6424
|
{
|
|
6425
6425
|
if (instance.exposed) {
|
|
6426
|
-
warn(`expose() should be called only once per setup().`);
|
|
6426
|
+
warn$1(`expose() should be called only once per setup().`);
|
|
6427
6427
|
}
|
|
6428
6428
|
if (exposed != null) {
|
|
6429
6429
|
let exposedType = typeof exposed;
|
|
@@ -6435,7 +6435,7 @@ function createSetupContext(instance) {
|
|
|
6435
6435
|
}
|
|
6436
6436
|
}
|
|
6437
6437
|
if (exposedType !== "object") {
|
|
6438
|
-
warn(
|
|
6438
|
+
warn$1(
|
|
6439
6439
|
`expose() should be passed a plain object, received ${exposedType}.`
|
|
6440
6440
|
);
|
|
6441
6441
|
}
|
|
@@ -6514,7 +6514,7 @@ const useSSRContext = () => {
|
|
|
6514
6514
|
{
|
|
6515
6515
|
const ctx = inject(ssrContextKey);
|
|
6516
6516
|
if (!ctx) {
|
|
6517
|
-
warn(
|
|
6517
|
+
warn$1(
|
|
6518
6518
|
`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
|
|
6519
6519
|
);
|
|
6520
6520
|
}
|
|
@@ -6522,7 +6522,8 @@ const useSSRContext = () => {
|
|
|
6522
6522
|
}
|
|
6523
6523
|
};
|
|
6524
6524
|
|
|
6525
|
-
const version = "3.4.0-
|
|
6525
|
+
const version = "3.4.0-rc.2";
|
|
6526
|
+
const warn = warn$1 ;
|
|
6526
6527
|
const _ssrUtils = {
|
|
6527
6528
|
createComponentInstance: createComponentInstance$1,
|
|
6528
6529
|
setupComponent: setupComponent$1,
|
|
@@ -7067,7 +7068,7 @@ function injectNativeTagCheck(app) {
|
|
|
7067
7068
|
});
|
|
7068
7069
|
}
|
|
7069
7070
|
function injectCompilerOptionsCheck(app) {
|
|
7070
|
-
{
|
|
7071
|
+
if (isRuntimeOnly()) {
|
|
7071
7072
|
const isCustomElement = app.config.isCustomElement;
|
|
7072
7073
|
Object.defineProperty(app.config, "isCustomElement", {
|
|
7073
7074
|
get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t={},n=[],r=()=>{},o=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),l=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,a=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>"[object Map]"===x(e),d=e=>"[object Set]"===x(e),h=e=>"[object Date]"===x(e),m=e=>"function"==typeof e,g=e=>"string"==typeof e,v=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,_=e=>(y(e)||m(e))&&m(e.then)&&m(e.catch),b=Object.prototype.toString,x=e=>b.call(e),w=e=>x(e).slice(8,-1),S=e=>"[object Object]"===x(e),C=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,P=O((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),R=/\B([A-Z])/g,T=O((e=>e.replace(R,"-$1").toLowerCase())),F=O((e=>e.charAt(0).toUpperCase()+e.slice(1))),M=O((e=>e?`on${F(e)}`:"")),A=(e,t)=>!Object.is(e,t),$=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},I=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},L=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let j;const N=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function V(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=g(r)?D(r):V(r);if(o)for(const e in o)t[e]=o[e]}return t}if(g(e)||y(e))return e}const U=/;(?![^(]*\))/g,B=/:([^]+)/,W=/\/\*[^]*?\*\//g;function D(e){const t={};return e.replace(W,"").split(U).forEach((e=>{if(e){const n=e.split(B);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function H(e){let t="";if(g(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const r=H(e[n]);r&&(t+=r+" ")}else if(y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),q=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),G="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",K=e(G),J=e(G+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function X(e){return!!e||""===e}const Z=/[>/="'\u0009\u000a\u000c\u0020]/,Q={};const Y={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},ee=/["'&<>]/;function te(e){const t=""+e,n=ee.exec(t);if(!n)return t;let r,o,s="",i=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}i!==o&&(s+=t.slice(i,o)),i=o+1,s+=r}return i!==o?s+t.slice(i,o):s}const ne=/^-?>|<!--|-->|--!>|<!-$/g;function re(e,t){if(e===t)return!0;let n=h(e),r=h(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=v(e),r=v(t),n||r)return e===t;if(n=f(e),r=f(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=re(e[r],t[r]);return n}(e,t);if(n=y(e),r=y(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!re(e[n],t[n]))return!1}}return String(e)===String(t)}const oe=(e,t)=>t&&t.__v_isRef?oe(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[se(t,r)+" =>"]=n,e)),{})}:d(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>se(e)))}:v(t)?se(t):!y(t)||f(t)||S(t)?t:String(t),se=(e,t="")=>{var n;return v(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let ie,le;class ce{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ie,!e&&ie&&(this.index=(ie.scopes||(ie.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ie;try{return ie=this,e()}finally{ie=t}}}on(){ie=this}off(){ie=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}class ue{constructor(e,t,n,r){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,function(e,t=ie){t&&t.active&&t.effects.push(e)}(this,r)}get dirty(){if(1===this._dirtyLevel){this._dirtyLevel=0,this._queryings++,ve();for(const e of this.deps)if(e.computed&&(ae(e.computed),this._dirtyLevel>=2))break;ye(),this._queryings--}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=he,t=le;try{return he=!0,le=this,this._runnings++,fe(this),this.fn()}finally{pe(this),this._runnings--,le=t,he=e}}stop(){var e;this.active&&(fe(this),pe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function ae(e){return e.value}function fe(e){e._trackId++,e._depsLength=0}function pe(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)de(e.deps[t],e);e.deps.length=e._depsLength}}function de(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let he=!0,me=0;const ge=[];function ve(){ge.push(he),he=!1}function ye(){const e=ge.pop();he=void 0===e||e}function _e(){me++}function be(){for(me--;!me&&we.length;)we.shift()()}function xe(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&de(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const we=[];function Se(e,t,n){_e();for(const r of e.keys())if((r.allowRecurse||!r._runnings)&&r._dirtyLevel<t&&(!r._runnings||2!==t)){const e=r._dirtyLevel;r._dirtyLevel=t,0!==e||r._queryings&&2===t||(r.trigger(),r.scheduler&&we.push(r.scheduler))}be()}const Ce=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ke=new WeakMap,Oe=Symbol(""),Ee=Symbol("");function Pe(e,t,n){if(he&&le){let t=ke.get(e);t||ke.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=Ce((()=>t.delete(n)))),xe(le,r)}}function Re(e,t,n,r,o,s){const i=ke.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&f(e)){const e=Number(r);i.forEach(((t,n)=>{("length"===n||!v(n)&&n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(i.get(n)),t){case"add":f(e)?C(n)&&l.push(i.get("length")):(l.push(i.get(Oe)),p(e)&&l.push(i.get(Ee)));break;case"delete":f(e)||(l.push(i.get(Oe)),p(e)&&l.push(i.get(Ee)));break;case"set":p(e)&&l.push(i.get(Oe))}_e();for(const c of l)c&&Se(c,3);be()}const Te=e("__proto__,__v_isRef,__isVue"),Fe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(v)),Me=Ae();function Ae(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=_t(this);for(let t=0,o=this.length;t<o;t++)Pe(n,0,t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(_t)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ve(),_e();const n=_t(this)[t].apply(this,e);return be(),ye(),n}})),e}function $e(e){const t=_t(this);return Pe(t,0,e),t.hasOwnProperty(e)}class Ie{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const r=this._isReadonly,o=this._shallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?ft:at:o?ut:ct).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=f(e);if(!r){if(s&&a(Me,t))return Reflect.get(Me,t,n);if("hasOwnProperty"===t)return $e}const i=Reflect.get(e,t,n);return(v(t)?Fe.has(t):Te(t))?i:(r||Pe(e,0,t),o?i:kt(i)?s&&C(t)?i:i.value:y(i)?r?dt(i):pt(i):i)}}class Le extends Ie{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._shallow){const t=gt(o);if(vt(n)||gt(n)||(o=_t(o),n=_t(n)),!f(e)&&kt(o)&&!kt(n))return!t&&(o.value=n,!0)}const s=f(e)&&C(t)?Number(t)<e.length:a(e,t),i=Reflect.set(e,t,n,r);return e===_t(r)&&(s?A(n,o)&&Re(e,"set",t,n):Re(e,"add",t,n)),i}deleteProperty(e,t){const n=a(e,t),r=Reflect.deleteProperty(e,t);return r&&n&&Re(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return v(t)&&Fe.has(t)||Pe(e,0,t),n}ownKeys(e){return Pe(e,0,f(e)?"length":Oe),Reflect.ownKeys(e)}}class je extends Ie{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ne=new Le,Ve=new je,Ue=new Le(!0),Be=e=>e,We=e=>Reflect.getPrototypeOf(e);function De(e,t,n=!1,r=!1){const o=_t(e=e.__v_raw),s=_t(t);n||(A(t,s)&&Pe(o,0,t),Pe(o,0,s));const{has:i}=We(o),l=r?Be:n?wt:xt;return i.call(o,t)?l(e.get(t)):i.call(o,s)?l(e.get(s)):void(e!==o&&e.get(t))}function He(e,t=!1){const n=this.__v_raw,r=_t(n),o=_t(e);return t||(A(e,o)&&Pe(r,0,e),Pe(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function ze(e,t=!1){return e=e.__v_raw,!t&&Pe(_t(e),0,Oe),Reflect.get(e,"size",e)}function qe(e){e=_t(e);const t=_t(this);return We(t).has.call(t,e)||(t.add(e),Re(t,"add",e,e)),this}function Ge(e,t){t=_t(t);const n=_t(this),{has:r,get:o}=We(n);let s=r.call(n,e);s||(e=_t(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?A(t,i)&&Re(n,"set",e,t):Re(n,"add",e,t),this}function Ke(e){const t=_t(this),{has:n,get:r}=We(t);let o=n.call(t,e);o||(e=_t(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Re(t,"delete",e,void 0),s}function Je(){const e=_t(this),t=0!==e.size,n=e.clear();return t&&Re(e,"clear",void 0,void 0),n}function Xe(e,t){return function(n,r){const o=this,s=o.__v_raw,i=_t(s),l=t?Be:e?wt:xt;return!e&&Pe(i,0,Oe),s.forEach(((e,t)=>n.call(r,l(e),l(t),o)))}}function Ze(e,t,n){return function(...r){const o=this.__v_raw,s=_t(o),i=p(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,u=o[e](...r),a=n?Be:t?wt:xt;return!t&&Pe(s,0,c?Ee:Oe),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[a(e[0]),a(e[1])]:a(e),done:t}},[Symbol.iterator](){return this}}}}function Qe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ye(){const e={get(e){return De(this,e)},get size(){return ze(this)},has:He,add:qe,set:Ge,delete:Ke,clear:Je,forEach:Xe(!1,!1)},t={get(e){return De(this,e,!1,!0)},get size(){return ze(this)},has:He,add:qe,set:Ge,delete:Ke,clear:Je,forEach:Xe(!1,!0)},n={get(e){return De(this,e,!0)},get size(){return ze(this,!0)},has(e){return He.call(this,e,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:Xe(!0,!1)},r={get(e){return De(this,e,!0,!0)},get size(){return ze(this,!0)},has(e){return He.call(this,e,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:Xe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Ze(o,!1,!1),n[o]=Ze(o,!0,!1),t[o]=Ze(o,!1,!0),r[o]=Ze(o,!0,!0)})),[e,n,t,r]}const[et,tt,nt,rt]=Ye();function ot(e,t){const n=t?e?rt:nt:e?tt:et;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(a(n,r)&&r in t?n:t,r,o)}const st={get:ot(!1,!1)},it={get:ot(!1,!0)},lt={get:ot(!0,!1)},ct=new WeakMap,ut=new WeakMap,at=new WeakMap,ft=new WeakMap;function pt(e){return gt(e)?e:ht(e,!1,Ne,st,ct)}function dt(e){return ht(e,!0,Ve,lt,at)}function ht(e,t,n,r,o){if(!y(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(w(l));var l;if(0===i)return e;const c=new Proxy(e,2===i?r:n);return o.set(e,c),c}function mt(e){return gt(e)?mt(e.__v_raw):!(!e||!e.__v_isReactive)}function gt(e){return!(!e||!e.__v_isReadonly)}function vt(e){return!(!e||!e.__v_isShallow)}function yt(e){return mt(e)||gt(e)}function _t(e){const t=e&&e.__v_raw;return t?_t(t):e}function bt(e){return I(e,"__v_skip",!0),e}const xt=e=>y(e)?pt(e):e,wt=e=>y(e)?dt(e):e;class St{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ue((()=>e(this._value)),(()=>Ct(this,1))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=_t(this);var t;return t=e,he&&le&&(t=_t(t),xe(le,t.dep||(t.dep=Ce((()=>t.dep=void 0),t instanceof St?t:void 0)))),e._cacheable&&!e.effect.dirty||A(e._value,e._value=e.effect.run())&&Ct(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Ct(e,t=3,n){const r=(e=_t(e)).dep;r&&Se(r,t)}function kt(e){return!(!e||!0!==e.__v_isRef)}const Ot={get:(e,t,n)=>{return kt(r=Reflect.get(e,t,n))?r.value:r;var r},set:(e,t,n,r)=>{const o=e[t];return kt(o)&&!kt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Et(e){return mt(e)?e:new Proxy(e,Ot)}function Pt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Tt(s,t,n)}return o}function Rt(e,t,n,r){if(m(e)){const o=Pt(e,t,n,r);return o&&_(o)&&o.catch((e=>{Tt(e,t,n)})),o}const o=[];for(let s=0;s<e.length;s++)o.push(Rt(e[s],t,n,r));return o}function Tt(e,t,n,r=!0){if(t){let r=t.parent;const o=t.proxy,s=`https://vuejs.org/errors/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,s))return;r=r.parent}const i=t.appContext.config.errorHandler;if(i)return void Pt(i,null,10,[e,o,s])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let Ft=!1,Mt=!1;const At=[];let $t=0;const It=[];let Lt=null,jt=0;const Nt=Promise.resolve();let Vt=null;function Ut(e){const t=Vt||Nt;return e?t.then(this?e.bind(this):e):t}function Bt(e){At.length&&At.includes(e,Ft&&e.allowRecurse?$t+1:$t)||(null==e.id?At.push(e):At.splice(function(e){let t=$t+1,n=At.length;for(;t<n;){const r=t+n>>>1,o=At[r],s=zt(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}(e.id),0,e),Wt())}function Wt(){Ft||Mt||(Mt=!0,Vt=Nt.then(Gt))}function Dt(e,t,n=(Ft?$t+1:0)){for(;n<At.length;n++){const t=At[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;At.splice(n,1),n--,t()}}}function Ht(e){if(It.length){const e=[...new Set(It)];if(It.length=0,Lt)return void Lt.push(...e);for(Lt=e,Lt.sort(((e,t)=>zt(e)-zt(t))),jt=0;jt<Lt.length;jt++)Lt[jt]();Lt=null,jt=0}}const zt=e=>null==e.id?1/0:e.id,qt=(e,t)=>{const n=zt(e)-zt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Gt(e){Mt=!1,Ft=!0,At.sort(qt);try{for($t=0;$t<At.length;$t++){const e=At[$t];e&&!1!==e.active&&Pt(e,null,14)}}finally{$t=0,At.length=0,Ht(),Ft=!1,Vt=null,(At.length||It.length)&&Gt()}}function Kt(e,n,...r){if(e.isUnmounted)return;const o=e.vnode.props||t;let s=r;const i=n.startsWith("update:"),l=i&&n.slice(7);if(l&&l in o){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:n,trim:i}=o[e]||t;i&&(s=r.map((e=>g(e)?e.trim():e))),n&&(s=r.map(L))}let c,u=o[c=M(n)]||o[c=M(P(n))];!u&&i&&(u=o[c=M(T(n))]),u&&Rt(u,e,6,s);const a=o[c+"Once"];if(a){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,Rt(a,e,6,s)}}function Jt(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const s=e.emits;let i={},c=!1;if(!m(e)){const r=e=>{const n=Jt(e,t,!0);n&&(c=!0,l(i,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||c?(f(s)?s.forEach((e=>i[e]=null)):l(i,s),y(e)&&r.set(e,i),i):(y(e)&&r.set(e,null),null)}function Xt(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),a(e,t[0].toLowerCase()+t.slice(1))||a(e,T(t))||a(e,t))}let Zt=null,Qt=null;function Yt(e){const t=Zt;return Zt=e,Qt=e&&e.type.__scopeId||null,t}function en(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:c,attrs:u,emit:a,render:f,renderCache:p,data:d,setupState:h,ctx:m,inheritAttrs:g}=e;let v,y;const _=Yt(e);try{if(4&n.shapeFlag){const e=o||r;v=Lr(f.call(e,e,p,s,h,d,m)),y=u}else{const e=t;0,v=Lr(e(s,e.length>1?{attrs:u,slots:c,emit:a}:null)),y=t.props?u:tn(u)}}catch(x){Tt(x,e,1),v=Ar(Sr)}let b=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(l&&e.some(i)&&(y=nn(y,l)),b=$r(b,y))}return n.dirs&&(b=$r(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,Yt(_),v}const tn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},nn=(e,t)=>{const n={};for(const r in e)i(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function rn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Xt(n,s))return!0}return!1}const on=Symbol.for("v-ndc");const sn={};function ln(e,t,n){return cn(e,t,n)}function cn(e,n,{immediate:o,deep:s,flush:i,once:l}=t){var u;if(n&&l){const e=n;n=(...t)=>{e(...t),S()}}const a=ie===(null==(u=qr)?void 0:u.scope)?qr:null;let p,d,h=!1,g=!1;if(kt(e)?(p=()=>e.value,h=vt(e)):mt(e)?(p=()=>e,s=!0):f(e)?(g=!0,h=e.some((e=>mt(e)||vt(e))),p=()=>e.map((e=>kt(e)?e.value:mt(e)?fn(e):m(e)?Pt(e,a,2):void 0))):p=m(e)?n?()=>Pt(e,a,2):()=>{if(!a||!a.isUnmounted)return d&&d(),Rt(e,a,3,[y])}:r,n&&s){const e=p;p=()=>fn(e())}let v,y=e=>{d=w.onStop=()=>{Pt(e,a,4),d=w.onStop=void 0}};if(Zr){if(y=r,n?o&&Rt(n,a,3,[p(),g?[]:void 0,y]):p(),"sync"!==i)return r;{const e=oo();v=e.__watcherHandles||(e.__watcherHandles=[])}}let _=g?new Array(e.length).fill(sn):sn;const b=()=>{if(w.active&&w.dirty)if(n){const e=w.run();(s||h||(g?e.some(((e,t)=>A(e,_[t]))):A(e,_)))&&(d&&d(),Rt(n,a,3,[e,_===sn?void 0:g&&_[0]===sn?[]:_,y]),_=e)}else w.run()};let x;b.allowRecurse=!!n,"sync"===i?x=b:"post"===i?x=()=>mr(b,a&&a.suspense):(b.pre=!0,a&&(b.id=a.uid),x=()=>Bt(b));const w=new ue(p,r,x),S=()=>{w.stop(),a&&a.scope&&c(a.scope.effects,w)};return n?o?b():_=w.run():"post"===i?mr(w.run.bind(w),a&&a.suspense):w.run(),v&&v.push(S),S}function un(e,t,n){const r=this.proxy,o=g(e)?e.includes(".")?an(r,e):()=>r[e]:e.bind(r,r);let s;m(t)?s=t:(s=t.handler,n=t);const i=qr;Gr(this);const l=cn(o,s.bind(r),n);return i?Gr(i):Kr(),l}function an(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function fn(e,t){if(!y(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),kt(e))fn(e.value,t);else if(f(e))for(let n=0;n<e.length;n++)fn(e[n],t);else if(d(e)||p(e))e.forEach((e=>{fn(e,t)}));else if(S(e))for(const n in e)fn(e[n],t);return e}function pn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let c=l.dir[r];c&&(ve(),Rt(c,n,8,[e.el,l,e,t]),ye())}}const dn=e=>!!e.type.__asyncLoader,hn=e=>e.type.__isKeepAlive;function mn(e,t){vn(e,"a",t)}function gn(e,t){vn(e,"da",t)}function vn(e,t,n=qr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(_n(t,r,n),n){let e=n.parent;for(;e&&e.parent;)hn(e.parent.vnode)&&yn(r,t,n,e),e=e.parent}}function yn(e,t,n,r){const o=_n(t,e,r,!0);On((()=>{c(r[t],o)}),n)}function _n(e,t,n=qr,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;ve(),Gr(n);const o=Rt(t,n,e,r);return Kr(),ye(),o});return r?o.unshift(s):o.push(s),s}}const bn=e=>(t,n=qr)=>(!Zr||"sp"===e)&&_n(e,((...e)=>t(...e)),n),xn=bn("bm"),wn=bn("m"),Sn=bn("bu"),Cn=bn("u"),kn=bn("bum"),On=bn("um"),En=bn("sp"),Pn=bn("rtg"),Rn=bn("rtc");function Tn(e,t=qr){_n("ec",e,t)}const Fn=e=>e?Jr(e)?to(e)||e.proxy:Fn(e.parent):null,Mn=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fn(e.parent),$root:e=>Fn(e.root),$emit:e=>e.emit,$options:e=>Un(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Bt(e.update)}),$nextTick:e=>e.n||(e.n=Ut.bind(e.proxy)),$watch:e=>un.bind(e)}),An=(e,n)=>e!==t&&!e.__isScriptSetup&&a(e,n),$n={get({_:e},n){const{ctx:r,setupState:o,data:s,props:i,accessCache:l,type:c,appContext:u}=e;let f;if("$"!==n[0]){const c=l[n];if(void 0!==c)switch(c){case 1:return o[n];case 2:return s[n];case 4:return r[n];case 3:return i[n]}else{if(An(o,n))return l[n]=1,o[n];if(s!==t&&a(s,n))return l[n]=2,s[n];if((f=e.propsOptions[0])&&a(f,n))return l[n]=3,i[n];if(r!==t&&a(r,n))return l[n]=4,r[n];Ln&&(l[n]=0)}}const p=Mn[n];let d,h;return p?("$attrs"===n&&Pe(e,0,n),p(e)):(d=c.__cssModules)&&(d=d[n])?d:r!==t&&a(r,n)?(l[n]=4,r[n]):(h=u.config.globalProperties,a(h,n)?h[n]:void 0)},set({_:e},n,r){const{data:o,setupState:s,ctx:i}=e;return An(s,n)?(s[n]=r,!0):o!==t&&a(o,n)?(o[n]=r,!0):!a(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(i[n]=r,!0))},has({_:{data:e,setupState:n,accessCache:r,ctx:o,appContext:s,propsOptions:i}},l){let c;return!!r[l]||e!==t&&a(e,l)||An(n,l)||(c=i[0])&&a(c,l)||a(o,l)||a(Mn,l)||a(s.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:a(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function In(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Ln=!0;function jn(e){const t=Un(e),n=e.proxy,o=e.ctx;Ln=!1,t.beforeCreate&&Nn(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:l,watch:c,provide:u,inject:a,created:p,beforeMount:d,mounted:h,beforeUpdate:g,updated:v,activated:_,deactivated:b,beforeUnmount:x,unmounted:w,render:S,renderTracked:C,renderTriggered:k,errorCaptured:O,serverPrefetch:E,expose:P,inheritAttrs:R,components:T,directives:F}=t;if(a&&function(e,t,n=r){f(e)&&(e=Hn(e));for(const r in e){const n=e[r];let o;o=y(n)?"default"in n?Qn(n.from||r,n.default,!0):Qn(n.from||r):Qn(n),kt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[r]=o}}(a,o,null),l)for(const r in l){const e=l[r];m(e)&&(o[r]=e.bind(n))}if(s){const t=s.call(n,n);y(t)&&(e.data=pt(t))}if(Ln=!0,i)for(const f in i){const e=i[f],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):r,s=!m(e)&&m(e.set)?e.set.bind(n):r,l=no({get:t,set:s});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const r in c)Vn(c[r],o,n,r);if(u){const e=m(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{!function(e,t){if(qr){let n=qr.provides;const r=qr.parent&&qr.parent.provides;r===n&&(n=qr.provides=Object.create(r)),n[e]=t}else;}(t,e[t])}))}function M(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&Nn(p,e,"c"),M(xn,d),M(wn,h),M(Sn,g),M(Cn,v),M(mn,_),M(gn,b),M(Tn,O),M(Rn,C),M(Pn,k),M(kn,x),M(On,w),M(En,E),f(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===r&&(e.render=S),null!=R&&(e.inheritAttrs=R),T&&(e.components=T),F&&(e.directives=F)}function Nn(e,t,n){Rt(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Vn(e,t,n,r){const o=r.includes(".")?an(n,r):()=>n[r];if(g(e)){const n=t[e];m(n)&&ln(o,n)}else if(m(e))ln(o,e.bind(n));else if(y(e))if(f(e))e.forEach((e=>Vn(e,t,n,r)));else{const r=m(e.handler)?e.handler.bind(n):t[e.handler];m(r)&&ln(o,r,e)}}function Un(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:o.length||n||r?(c={},o.length&&o.forEach((e=>Bn(c,e,i,!0))),Bn(c,t,i)):c=t,y(t)&&s.set(t,c),c}function Bn(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Bn(e,s,n,!0),o&&o.forEach((t=>Bn(e,t,n,!0)));for(const i in t)if(r&&"expose"===i);else{const r=Wn[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Wn={data:Dn,props:Gn,emits:Gn,methods:qn,computed:qn,beforeCreate:zn,created:zn,beforeMount:zn,mounted:zn,beforeUpdate:zn,updated:zn,beforeDestroy:zn,beforeUnmount:zn,destroyed:zn,unmounted:zn,activated:zn,deactivated:zn,errorCaptured:zn,serverPrefetch:zn,components:qn,directives:qn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=l(Object.create(null),e);for(const r in t)n[r]=zn(e[r],t[r]);return n},provide:Dn,inject:function(e,t){return qn(Hn(e),Hn(t))}};function Dn(e,t){return t?e?function(){return l(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Hn(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function zn(e,t){return e?[...new Set([].concat(e,t))]:t}function qn(e,t){return e?l(Object.create(null),e,t):t}function Gn(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:l(Object.create(null),In(e),In(null!=t?t:{})):t}function Kn(){return{app:null,config:{isNativeTag:o,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 Jn=0;function Xn(e,t){return function(n,r=null){m(n)||(n=l({},n)),null==r||y(r)||(r=null);const o=Kn(),s=new WeakSet;let i=!1;const c=o.app={_uid:Jn++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:so,get config(){return o.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&m(e.install)?(s.add(e),e.install(c,...t)):m(e)&&(s.add(e),e(c,...t))),c),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),c),component:(e,t)=>t?(o.components[e]=t,c):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,c):o.directives[e],mount(s,l,u){if(!i){const a=Ar(n,r);return a.appContext=o,!0===u?u="svg":!1===u&&(u=void 0),l&&t?t(a,s):e(a,s,u),i=!0,c._container=s,s.__vue_app__=c,to(a.component)||a.component.proxy}},unmount(){i&&(e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,c),runWithContext(e){Zn=c;try{return e()}finally{Zn=null}}};return c}}let Zn=null;function Qn(e,t,n=!1){const r=qr||Zt;if(r||Zn){const o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Zn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&m(t)?t.call(r&&r.proxy):t}}function Yn(e,t,n,r=!1){const o={},s={};I(s,Tr,1),e.propsDefaults=Object.create(null),er(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);e.props=n?r?o:ht(o,!1,Ue,it,ut):e.type.props?o:s,e.attrs=s}function er(e,n,r,o){const[s,i]=e.propsOptions;let l,c=!1;if(n)for(let t in n){if(k(t))continue;const u=n[t];let f;s&&a(s,f=P(t))?i&&i.includes(f)?(l||(l={}))[f]=u:r[f]=u:Xt(e.emitsOptions,t)||t in o&&u===o[t]||(o[t]=u,c=!0)}if(i){const n=_t(r),o=l||t;for(let t=0;t<i.length;t++){const l=i[t];r[l]=tr(s,n,l,o[l],e,!a(o,l))}}return c}function tr(e,t,n,r,o,s){const i=e[n];if(null!=i){const e=a(i,"default");if(e&&void 0===r){const e=i.default;if(i.type!==Function&&!i.skipFactory&&m(e)){const{propsDefaults:s}=o;n in s?r=s[n]:(Gr(o),r=s[n]=e.call(null,t),Kr())}else r=e}i[0]&&(s&&!e?r=!1:!i[1]||""!==r&&r!==T(n)||(r=!0))}return r}function nr(e,r,o=!1){const s=r.propsCache,i=s.get(e);if(i)return i;const c=e.props,u={},p=[];let d=!1;if(!m(e)){const t=e=>{d=!0;const[t,n]=nr(e,r,!0);l(u,t),n&&p.push(...n)};!o&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!d)return y(e)&&s.set(e,n),n;if(f(c))for(let n=0;n<c.length;n++){const e=P(c[n]);rr(e)&&(u[e]=t)}else if(c)for(const t in c){const e=P(t);if(rr(e)){const n=c[t],r=u[e]=f(n)||m(n)?{type:n}:l({},n);if(r){const t=ir(Boolean,r.type),n=ir(String,r.type);r[0]=t>-1,r[1]=n<0||t<n,(t>-1||a(r,"default"))&&p.push(e)}}}const h=[u,p];return y(e)&&s.set(e,h),h}function rr(e){return"$"!==e[0]}function or(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function sr(e,t){return or(e)===or(t)}function ir(e,t){return f(t)?t.findIndex((t=>sr(t,e))):m(t)&&sr(t,e)?0:-1}const lr=e=>"_"===e[0]||"$stable"===e,cr=e=>f(e)?e.map(Lr):[Lr(e)],ur=(e,t,n)=>{if(t._n)return t;const r=function(e,t=Zt,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Er(-1);const o=Yt(t);let s;try{s=e(...n)}finally{Yt(o),r._d&&Er(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}(((...e)=>cr(t(...e))),n);return r._c=!1,r},ar=(e,t,n)=>{const r=e._ctx;for(const o in e){if(lr(o))continue;const n=e[o];if(m(n))t[o]=ur(0,n,r);else if(null!=n){const e=cr(n);t[o]=()=>e}}},fr=(e,t)=>{const n=cr(t);e.slots.default=()=>n},pr=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=_t(t),I(t,"_",n)):ar(t,e.slots={})}else e.slots={},t&&fr(e,t);I(e.slots,Tr,1)},dr=(e,n,r)=>{const{vnode:o,slots:s}=e;let i=!0,c=t;if(32&o.shapeFlag){const e=n._;e?r&&1===e?i=!1:(l(s,n),r||1!==e||delete s._):(i=!n.$stable,ar(n,s)),c=n}else n&&(fr(e,n),c={default:1});if(i)for(const t in s)lr(t)||null!=c[t]||delete s[t]};function hr(e,n,r,o,s=!1){if(f(e))return void e.forEach(((e,t)=>hr(e,n&&(f(n)?n[t]:n),r,o,s)));if(dn(o)&&!s)return;const i=4&o.shapeFlag?to(o.component)||o.component.proxy:o.el,l=s?null:i,{i:u,r:p}=e,d=n&&n.r,h=u.refs===t?u.refs={}:u.refs,v=u.setupState;if(null!=d&&d!==p&&(g(d)?(h[d]=null,a(v,d)&&(v[d]=null)):kt(d)&&(d.value=null)),m(p))Pt(p,u,12,[l,h]);else{const t=g(p),n=kt(p);if(t||n){const o=()=>{if(e.f){const n=t?a(v,p)?v[p]:h[p]:p.value;s?f(n)&&c(n,i):f(n)?n.includes(i)||n.push(i):t?(h[p]=[i],a(v,p)&&(v[p]=h[p])):(p.value=[i],e.k&&(h[e.k]=p.value))}else t?(h[p]=l,a(v,p)&&(v[p]=l)):n&&(p.value=l,e.k&&(h[e.k]=l))};l?(o.id=-1,mr(o,r)):o()}}}const mr=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?It.push(...n):Lt&&Lt.includes(n,n.allowRecurse?jt+1:jt)||It.push(n),Wt())};function gr(e){return function(e,o){N().__VUE__=!0;const{insert:s,remove:i,patchProp:l,createElement:c,createText:u,createComment:f,setText:p,setElementText:d,parentNode:h,nextSibling:m,setScopeId:g=r,insertStaticContent:v}=e,y=(e,t,n,r=null,o=null,s=null,i=void 0,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Rr(e,t)&&(r=Z(e),q(e,o,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:a,shapeFlag:f}=t;switch(u){case wr:_(e,t,n,r);break;case Sr:b(e,t,n,r);break;case Cr:null==e&&x(t,n,r,i);break;case xr:I(e,t,n,r,o,s,i,l,c);break;default:1&f?C(e,t,n,r,o,s,i,l,c):6&f?L(e,t,n,r,o,s,i,l,c):(64&f||128&f)&&u.process(e,t,n,r,o,s,i,l,c,Y)}null!=a&&o&&hr(a,e&&e.ref,s,t||e,!t)},_=(e,t,n,r)=>{if(null==e)s(t.el=u(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},b=(e,t,n,r)=>{null==e?s(t.el=f(t.children||""),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r,e.el,e.anchor)},w=({el:e,anchor:t},n,r)=>{let o;for(;e&&e!==t;)o=m(e),s(e,n,r),e=o;s(t,n,r)},S=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),i(e),e=n;i(t)},C=(e,t,n,r,o,s,i,l,c)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?O(t,n,r,o,s,i,l,c):F(e,t,o,s,i,l,c)},O=(e,t,n,r,o,i,u,a)=>{let f,p;const{props:h,shapeFlag:m,transition:g,dirs:v}=e;if(f=e.el=c(e.type,i,h&&h.is,h),8&m?d(f,e.children):16&m&&R(e.children,f,null,r,o,vr(e,i),u,a),v&&pn(e,null,r,"created"),E(f,e,e.scopeId,u,r),h){for(const t in h)"value"===t||k(t)||l(f,t,null,h[t],i,e.children,r,o,X);"value"in h&&l(f,"value",null,h.value,i),(p=h.onVnodeBeforeMount)&&Ur(p,r,e)}v&&pn(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(o,g);y&&g.beforeEnter(f),s(f,t,n),((p=h&&h.onVnodeMounted)||y||v)&&mr((()=>{p&&Ur(p,r,e),y&&g.enter(f),v&&pn(e,null,r,"mounted")}),o)},E=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let s=0;s<r.length;s++)g(e,r[s]);if(o){if(t===o.subTree){const t=o.vnode;E(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},R=(e,t,n,r,o,s,i,l,c=0)=>{for(let u=c;u<e.length;u++){const c=e[u]=l?jr(e[u]):Lr(e[u]);y(null,c,t,n,r,o,s,i,l)}},F=(e,n,r,o,s,i,c)=>{const u=n.el=e.el;let{patchFlag:a,dynamicChildren:f,dirs:p}=n;a|=16&e.patchFlag;const h=e.props||t,m=n.props||t;let g;if(r&&yr(r,!1),(g=m.onVnodeBeforeUpdate)&&Ur(g,r,n,e),p&&pn(n,e,r,"beforeUpdate"),r&&yr(r,!0),f?M(e.dynamicChildren,f,u,r,o,vr(n,s),i):c||W(e,n,u,null,r,o,vr(n,s),i,!1),a>0){if(16&a)A(u,n,h,m,r,o,s);else if(2&a&&h.class!==m.class&&l(u,"class",null,m.class,s),4&a&&l(u,"style",h.style,m.style,s),8&a){const t=n.dynamicProps;for(let n=0;n<t.length;n++){const i=t[n],c=h[i],a=m[i];a===c&&"value"!==i||l(u,i,c,a,s,e.children,r,o,X)}}1&a&&e.children!==n.children&&d(u,n.children)}else c||null!=f||A(u,n,h,m,r,o,s);((g=m.onVnodeUpdated)||p)&&mr((()=>{g&&Ur(g,r,n,e),p&&pn(n,e,r,"updated")}),o)},M=(e,t,n,r,o,s,i)=>{for(let l=0;l<t.length;l++){const c=e[l],u=t[l],a=c.el&&(c.type===xr||!Rr(c,u)||70&c.shapeFlag)?h(c.el):n;y(c,u,a,null,r,o,s,i,!0)}},A=(e,n,r,o,s,i,c)=>{if(r!==o){if(r!==t)for(const t in r)k(t)||t in o||l(e,t,r[t],null,c,n.children,s,i,X);for(const t in o){if(k(t))continue;const u=o[t],a=r[t];u!==a&&"value"!==t&&l(e,t,a,u,c,n.children,s,i,X)}"value"in o&&l(e,"value",r.value,o.value,c)}},I=(e,t,n,r,o,i,l,c,a)=>{const f=t.el=e?e.el:u(""),p=t.anchor=e?e.anchor:u("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(s(f,n,r),s(p,n,r),R(t.children,n,p,o,i,l,c,a)):d>0&&64&d&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,n,o,i,l,c),(null!=t.key||o&&t===o.subTree)&&_r(e,t,!0)):W(e,t,n,p,o,i,l,c,a)},L=(e,t,n,r,o,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,c):j(t,n,r,o,s,i,c):V(e,t,c)},j=(e,t,n,r,o,s,i)=>{const l=e.component=Dr(e,r,o);if(hn(e)&&(l.ctx.renderer=Y),Qr(l),l.asyncDep){if(o&&o.registerDep(l,U),!e.el){const e=l.subTree=Ar(Sr);b(null,e,t,n)}}else U(l,e,t,n,o,s,i)},V=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:c}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!l||l&&l.$stable)||r!==i&&(r?!i||rn(r,i,u):!!i);if(1024&c)return!0;if(16&c)return r?rn(r,i,u):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==r[n]&&!Xt(u,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void B(r,t,n);r.next=t,function(e){const t=At.indexOf(e);t>$t&&At.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},U=(e,t,n,o,s,i,l)=>{const c=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:o,vnode:u}=e;{const n=br(e);if(n)return t&&(t.el=u.el,B(e,t,l)),void n.asyncDep.then((()=>{e.isUnmounted||c()}))}let a,f=t;yr(e,!1),t?(t.el=u.el,B(e,t,l)):t=u,n&&$(n),(a=t.props&&t.props.onVnodeBeforeUpdate)&&Ur(a,o,t,u),yr(e,!0);const p=en(e),d=e.subTree;e.subTree=p,y(d,p,h(d.el),Z(d),e,s,i),t.el=p.el,null===f&&function({vnode:e,parent:t},n){if(n)for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),r&&mr(r,s),(a=t.props&&t.props.onVnodeUpdated)&&mr((()=>Ur(a,o,t,u)),s)}else{let r;const{el:l,props:c}=t,{bm:u,m:a,parent:f}=e,p=dn(t);if(yr(e,!1),u&&$(u),!p&&(r=c&&c.onVnodeBeforeMount)&&Ur(r,f,t),yr(e,!0),l&&te){const n=()=>{e.subTree=en(e),te(l,e.subTree,e,s,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const r=e.subTree=en(e);y(null,r,n,o,e,s,i),t.el=r.el}if(a&&mr(a,s),!p&&(r=c&&c.onVnodeMounted)){const e=t;mr((()=>Ur(r,f,e)),s)}(256&t.shapeFlag||f&&dn(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&mr(e.a,s),e.isMounted=!0,t=n=o=null}},u=e.effect=new ue(c,r,(()=>Bt(a)),e.scope),a=e.update=()=>{u.dirty&&u.run()};a.id=e.uid,yr(e,!0),a()},B=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=_t(o),[c]=e.propsOptions;let u=!1;if(!(r||i>0)||16&i){let r;er(e,t,o,s)&&(u=!0);for(const s in l)t&&(a(t,s)||(r=T(s))!==s&&a(t,r))||(c?!n||void 0===n[s]&&void 0===n[r]||(o[s]=tr(c,l,s,void 0,e,!0)):delete o[s]);if(s!==l)for(const e in s)t&&a(t,e)||(delete s[e],u=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r];if(Xt(e.emitsOptions,i))continue;const f=t[i];if(c)if(a(s,i))f!==s[i]&&(s[i]=f,u=!0);else{const t=P(i);o[t]=tr(c,l,t,f,e,!1)}else f!==s[i]&&(s[i]=f,u=!0)}}u&&Re(e,"set","$attrs")}(e,t.props,r,n),dr(e,t.children,n),ve(),Dt(e),ye()},W=(e,t,n,r,o,s,i,l,c=!1)=>{const u=e&&e.children,a=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void H(u,f,n,r,o,s,i,l,c);if(256&p)return void D(u,f,n,r,o,s,i,l,c)}8&h?(16&a&&X(u,o,s),f!==u&&d(n,f)):16&a?16&h?H(u,f,n,r,o,s,i,l,c):X(u,o,s,!0):(8&a&&d(n,""),16&h&&R(f,n,r,o,s,i,l,c))},D=(e,t,r,o,s,i,l,c,u)=>{const a=(e=e||n).length,f=(t=t||n).length,p=Math.min(a,f);let d;for(d=0;d<p;d++){const n=t[d]=u?jr(t[d]):Lr(t[d]);y(e[d],n,r,null,s,i,l,c,u)}a>f?X(e,s,i,!0,!1,p):R(t,r,o,s,i,l,c,u,p)},H=(e,t,r,o,s,i,l,c,u)=>{let a=0;const f=t.length;let p=e.length-1,d=f-1;for(;a<=p&&a<=d;){const n=e[a],o=t[a]=u?jr(t[a]):Lr(t[a]);if(!Rr(n,o))break;y(n,o,r,null,s,i,l,c,u),a++}for(;a<=p&&a<=d;){const n=e[p],o=t[d]=u?jr(t[d]):Lr(t[d]);if(!Rr(n,o))break;y(n,o,r,null,s,i,l,c,u),p--,d--}if(a>p){if(a<=d){const e=d+1,n=e<f?t[e].el:o;for(;a<=d;)y(null,t[a]=u?jr(t[a]):Lr(t[a]),r,n,s,i,l,c,u),a++}}else if(a>d)for(;a<=p;)q(e[a],s,i,!0),a++;else{const h=a,m=a,g=new Map;for(a=m;a<=d;a++){const e=t[a]=u?jr(t[a]):Lr(t[a]);null!=e.key&&g.set(e.key,a)}let v,_=0;const b=d-m+1;let x=!1,w=0;const S=new Array(b);for(a=0;a<b;a++)S[a]=0;for(a=h;a<=p;a++){const n=e[a];if(_>=b){q(n,s,i,!0);continue}let o;if(null!=n.key)o=g.get(n.key);else for(v=m;v<=d;v++)if(0===S[v-m]&&Rr(n,t[v])){o=v;break}void 0===o?q(n,s,i,!0):(S[o-m]=a+1,o>=w?w=o:x=!0,y(n,t[o],r,null,s,i,l,c,u),_++)}const C=x?function(e){const t=e.slice(),n=[0];let r,o,s,i,l;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(S):n;for(v=C.length-1,a=b-1;a>=0;a--){const e=m+a,n=t[e],p=e+1<f?t[e+1].el:o;0===S[a]?y(null,n,r,p,s,i,l,c,u):x&&(v<0||a!==C[v]?z(n,r,p,2):v--)}}},z=(e,t,n,r,o=null)=>{const{el:i,type:l,transition:c,children:u,shapeFlag:a}=e;if(6&a)return void z(e.component.subTree,t,n,r);if(128&a)return void e.suspense.move(t,n,r);if(64&a)return void l.move(e,t,n,Y);if(l===xr){s(i,t,n);for(let e=0;e<u.length;e++)z(u[e],t,n,r);return void s(e.anchor,t,n)}if(l===Cr)return void w(e,t,n);if(2!==r&&1&a&&c)if(0===r)c.beforeEnter(i),s(i,t,n),mr((()=>c.enter(i)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=c,l=()=>s(i,t,n),u=()=>{e(i,(()=>{l(),o&&o()}))};r?r(i,l,u):u()}else s(i,t,n)},q=(e,t,n,r=!1,o=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:p}=e;if(null!=l&&hr(l,null,n,e,!0),256&a)return void t.ctx.deactivate(e);const d=1&a&&p,h=!dn(e);let m;if(h&&(m=i&&i.onVnodeBeforeUnmount)&&Ur(m,t,e),6&a)J(e.component,n,r);else{if(128&a)return void e.suspense.unmount(n,r);d&&pn(e,null,t,"beforeUnmount"),64&a?e.type.remove(e,t,n,o,Y,r):u&&(s!==xr||f>0&&64&f)?X(u,t,n,!1,!0):(s===xr&&384&f||!o&&16&a)&&X(c,t,n),r&&G(e)}(h&&(m=i&&i.onVnodeUnmounted)||d)&&mr((()=>{m&&Ur(m,t,e),d&&pn(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===xr)return void K(n,r);if(t===Cr)return void S(e);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=m(e),i(e),e=n;i(t)},J=(e,t,n)=>{const{bum:r,scope:o,update:s,subTree:i,um:l}=e;r&&$(r),o.stop(),s&&(s.active=!1,q(i,e,t,n)),l&&mr(l,t),mr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,s=0)=>{for(let i=s;i<e.length;i++)q(e[i],t,n,r,o)},Z=e=>6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&q(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),Dt(),Ht(),t._vnode=e},Y={p:y,um:q,m:z,r:G,mt:j,mc:R,pc:W,pbc:M,n:Z,o:e};let ee,te;o&&([ee,te]=o(Y));return{render:Q,hydrate:ee,createApp:Xn(Q,ee)}}(e)}function vr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _r(e,t,n=!1){const r=e.children,o=t.children;if(f(r)&&f(o))for(let s=0;s<r.length;s++){const e=r[s];let t=o[s];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[s]=jr(o[s]),t.el=e.el),n||_r(e,t)),t.type===wr&&(t.el=e.el)}}function br(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:br(t)}const xr=Symbol.for("v-fgt"),wr=Symbol.for("v-txt"),Sr=Symbol.for("v-cmt"),Cr=Symbol.for("v-stc");let kr=null,Or=1;function Er(e){Or+=e}function Pr(e){return!!e&&!0===e.__v_isVNode}function Rr(e,t){return e.type===t.type&&e.key===t.key}const Tr="__vInternal",Fr=({key:e})=>null!=e?e:null,Mr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||kt(e)||m(e)?{i:Zt,r:e,k:t,f:!!n}:e:null);const Ar=function(e,t=null,n=null,r=0,o=null,s=!1){e&&e!==on||(e=Sr);if(Pr(e)){const r=$r(e,t,!0);return n&&Nr(r,n),Or>0&&!s&&kr&&(6&r.shapeFlag?kr[kr.indexOf(e)]=r:kr.push(r)),r.patchFlag|=-2,r}i=e,m(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(e){return e?yt(e)||Tr in e?l({},e):e:null}(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=H(e)),y(n)&&(yt(n)&&!f(n)&&(n=l({},n)),t.style=V(n))}const c=g(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:y(e)?4:m(e)?2:0;return function(e,t=null,n=null,r=0,o=null,s=(e===xr?0:1),i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fr(t),ref:t&&Mr(t),scopeId:Qt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Zt};return l?(Nr(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),Or>0&&!i&&kr&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&kr.push(c),c}(e,t,n,r,o,c,s,!0)};function $r(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,l=t?Vr(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Fr(l),ref:t&&t.ref?n&&o?f(o)?o.concat(Mr(t)):[o,Mr(t)]:Mr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xr?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$r(e.ssContent),ssFallback:e.ssFallback&&$r(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ir(e=" ",t=0){return Ar(wr,null,e,t)}function Lr(e){return null==e||"boolean"==typeof e?Ar(Sr):f(e)?Ar(xr,null,e.slice()):"object"==typeof e?jr(e):Ar(wr,null,String(e))}function jr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:$r(e)}function Nr(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Nr(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Tr in t?3===r&&Zt&&(1===Zt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Zt}}else m(t)?(t={default:t,_ctx:Zt},n=32):(t=String(t),64&r?(n=16,t=[Ir(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=H([t.class,r.class]));else if("style"===e)t.style=V([t.style,r.style]);else if(s(e)){const n=t[e],o=r[e];!o||n===o||f(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function Ur(e,t,n,r=null){Rt(e,t,7,[n,r])}const Br=Kn();let Wr=0;function Dr(e,n,r){const o=e.type,s=(n?n.appContext:e.appContext)||Br,i={uid:Wr++,vnode:e,type:o,parent:n,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new ce(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:nr(o,s),emitsOptions:Jt(o,s),emit:null,emitted:null,propsDefaults:t,inheritAttrs:o.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.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=n?n.root:i,i.emit=Kt.bind(null,i),e.ce&&e.ce(i),i}let Hr,zr,qr=null;{const e=N(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Hr=t("__VUE_INSTANCE_SETTERS__",(e=>qr=e)),zr=t("__VUE_SSR_SETTERS__",(e=>Zr=e))}const Gr=e=>{Hr(e),e.scope.on()},Kr=()=>{qr&&qr.scope.off(),Hr(null)};function Jr(e){return 4&e.vnode.shapeFlag}let Xr,Zr=!1;function Qr(e,t=!1){t&&zr(t);const{props:n,children:r}=e.vnode,o=Jr(e);Yn(e,n,o,t),pr(e,r);const s=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=bt(new Proxy(e.ctx,$n));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Pe(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null;Gr(e),ve();const o=Pt(r,e,0,[e.props,n]);if(ye(),Kr(),_(o)){if(o.then(Kr,Kr),t)return o.then((n=>{Yr(e,n,t)})).catch((t=>{Tt(t,e,0)}));e.asyncDep=o}else Yr(e,o,t)}else eo(e,t)}(e,t):void 0;return t&&zr(!1),s}function Yr(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=Et(t)),eo(e,n)}function eo(e,t,n){const o=e.type;if(!e.render){if(!t&&Xr&&!o.render){const t=o.template||Un(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:i}=o,c=l(l({isCustomElement:n,delimiters:s},r),i);o.render=Xr(t,c)}}e.render=o.render||r}Gr(e),ve();try{jn(e)}finally{ye(),Kr()}}function to(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Et(bt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Mn?Mn[n](e):void 0,has:(e,t)=>t in e||t in Mn}))}const no=(e,t)=>function(e,t,n=!1){let o,s;const i=m(e);return i?(o=e,s=r):(o=e.get,s=e.set),new St(o,s,i||!s,n)}(e,0,Zr),ro=Symbol.for("v-scx"),oo=()=>Qn(ro),so="3.4.0-beta.4",io={createComponentInstance:Dr,setupComponent:Qr,renderComponentRoot:en,setCurrentRenderingInstance:Yt,isVNode:Pr,normalizeVNode:Lr},lo="undefined"!=typeof document?document:null,co=lo&&lo.createElement("template"),uo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?lo.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?lo.createElementNS("http://www.w3.org/1998/Math/MathML",e):lo.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>lo.createTextNode(e),createComment:e=>lo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==s&&(o=o.nextSibling););else{co.innerHTML="svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e;const o=co.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ao=Symbol("_vtc");const fo=Symbol("_vod"),po={beforeMount(e,{value:t},{transition:n}){e[fo]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ho(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ho(e,!0),r.enter(e)):r.leave(e,(()=>{ho(e,!1)})):ho(e,t))},beforeUnmount(e,{value:t}){ho(e,t)}};function ho(e,t){e.style.display=t?e[fo]:"none"}const mo=Symbol("");const go=/\s*!important$/;function vo(e,t,n){if(f(n))n.forEach((n=>vo(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=_o[t];if(n)return n;let r=P(t);if("filter"!==r&&r in e)return _o[t]=r;r=F(r);for(let o=0;o<yo.length;o++){const n=yo[o]+r;if(n in e)return _o[t]=n}return t}(e,t);go.test(n)?e.setProperty(T(r),n.replace(go,""),"important"):e[r]=n}}const yo=["Webkit","Moz","ms"],_o={};const bo="http://www.w3.org/1999/xlink";function xo(e,t,n,r){e.addEventListener(t,n,r)}const wo=Symbol("_vei");function So(e,t,n,r,o=null){const s=e[wo]||(e[wo]={}),i=s[t];if(r&&i)i.value=r;else{const[n,l]=function(e){let t;if(Co.test(e)){let n;for(t={};n=e.match(Co);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):T(e.slice(2));return[n,t]}(t);if(r){const i=s[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Rt(function(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Eo(),n}(r,o);xo(e,n,i,l)}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,l),s[t]=void 0)}}const Co=/(?:Once|Passive|Capture)$/;let ko=0;const Oo=Promise.resolve(),Eo=()=>ko||(Oo.then((()=>ko=0)),ko=Date.now());const Po=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ro=e=>{const t=e.props["onUpdate:modelValue"]||!1;return f(t)?e=>$(t,e):t};function To(e){e.target.composing=!0}function Fo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mo=Symbol("_assign"),Ao={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Mo]=Ro(o);const s=r||o.props&&"number"===o.props.type;xo(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),s&&(r=L(r)),e[Mo](r)})),n&&xo(e,"change",(()=>{e.value=e.value.trim()})),t||(xo(e,"compositionstart",To),xo(e,"compositionend",Fo),xo(e,"change",Fo))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[Mo]=Ro(s),e.composing)return;const i=null==t?"":t;if((o||"number"===e.type?L(e.value):e.value)!==i){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(r&&e.value.trim()===i)return}e.value=i}}};const $o=l({patchProp:(e,t,n,r,o,l,c,u,a)=>{const f="svg"===o;"class"===t?function(e,t,n){const r=e[ao];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,f):"style"===t?function(e,t,n){const r=e.style,o=g(n);if(n&&!o){if(t&&!g(t))for(const e in t)null==n[e]&&vo(r,e,"");for(const e in n)vo(r,e,n[e])}else{const s=r.display;if(o){if(t!==n){const e=r[mo];e&&(n+=";"+e),r.cssText=n}}else t&&e.removeAttribute("style");fo in e&&(r.display=s)}}(e,n,r):s(t)?i(t)||So(e,t,0,r,c):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Po(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Po(t)&&g(n))return!1;return t in e}(e,t,r,f))?function(e,t,n,r,o,s,i){if("innerHTML"===t||"textContent"===t)return r&&i(r,o,s),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){e._value=n;const r=null==n?"":n;return("OPTION"===l?e.getAttribute("value"):e.value)!==r&&(e.value=r),void(null==n&&e.removeAttribute(t))}let c=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=X(n):null==n&&"string"===r?(n="",c=!0):"number"===r&&(n=0,c=!0)}try{e[t]=n}catch(u){}c&&e.removeAttribute(t)}(e,t,r,l,c,u,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(bo,t.slice(6,t.length)):e.setAttributeNS(bo,t,n);else{const r=K(t);null==n||r&&!X(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,f))}},uo);let Io;const Lo=(...e)=>{const t=(Io||(Io=gr($o))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(g(e)){return document.querySelector(e)}return e}(e);if(!r)return;const o=t._component;m(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};let jo=!1;const No=e(",key,ref,innerHTML,textContent,ref_key,ref_for");function Vo(e,t){let n="";for(const r in e){if(No(r)||s(r)||"textarea"===t&&"value"===r)continue;const o=e[r];n+="class"===r?` class="${Do(o)}"`:"style"===r?` style="${Ho(o)}"`:Uo(r,o,t)}return n}function Uo(e,t,n){if(!Wo(t))return"";const r=n&&(n.indexOf("-")>0||z(n))?e:Y[e]||e.toLowerCase();return J(r)?X(t)?` ${r}`:"":function(e){if(Q.hasOwnProperty(e))return Q[e];const t=Z.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Q[e]=!t}(r)?""===t?` ${r}`:` ${r}="${te(t)}"`:(console.warn(`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${r}`),"")}function Bo(e,t){return Wo(t)?` ${e}="${te(t)}"`:""}function Wo(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}function Do(e){return te(H(e))}function Ho(e){if(!e)return"";if(g(e))return te(e);return te(function(e){let t="";if(!e||g(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:T(n);(g(r)||"number"==typeof r)&&(t+=`${o}:${r};`)}return t}(V(e)))}function zo(e,t=null,n=null,r=null,o){return ps(Ar(e,t,n),r,o)}function qo(e,t,n,r,o,s,i){o("\x3c!--[--\x3e"),Go(e,t,n,r,o,s,i),o("\x3c!--]--\x3e")}function Go(e,t,n,r,o,s,i,l){const c=e[t];if(c){const e=[],t=c(n,(t=>{e.push(t)}),s,i?" "+i:"");if(f(t))ms(o,t,s,i);else{let t=!0;if(l)t=!1;else for(let n=0;n<e.length;n++)if(!Xo(e[n])){t=!1;break}if(t)r&&r();else for(let n=0;n<e.length;n++)o(e[n])}}else r&&r()}const Ko=/^<!--.*-->$/s,Jo=/<!--[^]*?-->/gm;function Xo(e){return!("string"!=typeof e||!Ko.test(e))&&(e.length<=8||!e.replace(Jo,"").trim())}function Zo(e,t,n,r,o){e("\x3c!--teleport start--\x3e");const s=o.appContext.provides[ro],i=s.__teleportBuffers||(s.__teleportBuffers={}),l=i[n]||(i[n]=[]),c=l.length;let u;if(r)t(e),u="\x3c!--teleport anchor--\x3e";else{const{getBuffer:e,push:n}=fs();t(n),n("\x3c!--teleport anchor--\x3e"),u=e()}l.splice(c,0,u),e("\x3c!--teleport end--\x3e")}function Qo(e){return te(g(t=e)?t:null==t?"":f(t)||y(t)&&(t.toString===b||!m(t.toString))?JSON.stringify(t,oe,2):String(t));var t}function Yo(e,t){if(f(e)||g(e))for(let n=0,r=e.length;n<r;n++)t(e[n],n);else if("number"==typeof e)for(let n=0;n<e;n++)t(n+1,n);else if(y(e))if(e[Symbol.iterator]){const n=Array.from(e);for(let e=0,r=n.length;e<r;e++)t(n[e],e)}else{const n=Object.keys(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o,r)}}}async function es(e,{default:t}){t?t():e("\x3c!----\x3e")}function ts(e,t,n,r,o={}){return"function"!=typeof t&&t.getSSRProps&&t.getSSRProps({dir:t,instance:e,value:n,oldValue:void 0,arg:r,modifiers:o},null)||{}}const ns=re;function rs(e,t){return function(e,t){return e.findIndex((e=>re(e,t)))}(e,t)>-1}function os(e,t,n){switch(e){case"radio":return re(t,n)?" checked":"";case"checkbox":return(f(t)?rs(t,n):t)?" checked":"";default:return Bo("value",t)}}function ss(e={},t){const{type:n,value:r}=e;switch(n){case"radio":return re(t,r)?{checked:!0}:null;case"checkbox":return(f(t)?rs(t,r):t)?{checked:!0}:null;default:return{value:t}}}const{createComponentInstance:is,setCurrentRenderingInstance:ls,setupComponent:cs,renderComponentRoot:us,normalizeVNode:as}=io;function fs(){let e=!1;const t=[];return{getBuffer:()=>t,push(n){const r=g(n);e&&r?t[t.length-1]+=n:t.push(n),e=r,(_(n)||f(n)&&n.hasAsync)&&(t.hasAsync=!0)}}}function ps(e,t=null,n){const r=is(e,t,null),o=cs(r,!0),s=_(o),i=r.sp;if(s||i){let e=s?o:Promise.resolve();return i&&(e=e.then((()=>Promise.all(i.map((e=>e.call(r.proxy)))))).catch((()=>{}))),e.then((()=>ds(r,n)))}return ds(r,n)}function ds(e,t){const n=e.type,{getBuffer:o,push:s}=fs();if(m(n)){let r=us(e);if(!n.props)for(const t in e.attrs)t.startsWith("data-v-")&&((r.props||(r.props={}))[t]="");hs(s,e.subTree=r,e,t)}else{e.render&&e.render!==r||e.ssrRender||n.ssrRender||!g(n.template)||(n.ssrRender=function(e,t){throw new Error("On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.")}());for(const t of e.scope.effects)t.computed&&(t.computed._dirty=!0,t.computed._cacheable=!0);const o=e.ssrRender||n.ssrRender;if(o){let n=!1!==e.inheritAttrs?e.attrs:void 0,r=!1,i=e;for(;;){const e=i.vnode.scopeId;e&&(r||(n={...n},r=!0),n[e]="");const t=i.parent;if(!t||!t.subTree||t.subTree!==i.vnode)break;i=t}t&&(r||(n={...n}),n[t.trim()]="");const l=ls(e);try{o(e.proxy,s,e,n,e.props,e.setupState,e.data,e.ctx)}finally{ls(l)}}else e.render&&e.render!==r?hs(s,e.subTree=us(e),e,t):s("\x3c!----\x3e")}return o()}function hs(e,t,n,r){const{type:o,shapeFlag:s,children:i}=t;switch(o){case wr:e(te(i));break;case Sr:e(i?`\x3c!--${l=i,l.replace(ne,"")}--\x3e`:"\x3c!----\x3e");break;case Cr:e(i);break;case xr:t.slotScopeIds&&(r=(r?r+" ":"")+t.slotScopeIds.join(" ")),e("\x3c!--[--\x3e"),ms(e,i,n,r),e("\x3c!--]--\x3e");break;default:1&s?function(e,t,n,r){const o=t.type;let{props:s,children:i,shapeFlag:l,scopeId:c,dirs:u}=t,a=`<${o}`;u&&(s=function(e,t,n){const r=[];for(let o=0;o<n.length;o++){const t=n[o],{dir:{getSSRProps:s}}=t;if(s){const n=s(t,e);n&&r.push(n)}}return Vr(t||{},...r)}(t,s,u));s&&(a+=Vo(s,o));c&&(a+=` ${c}`);let f=n,p=t;for(;f&&p===f.subTree;)p=f.vnode,p.scopeId&&(a+=` ${p.scopeId}`),f=f.parent;r&&(a+=` ${r}`);if(e(a+">"),!q(o)){let t=!1;s&&(s.innerHTML?(t=!0,e(s.innerHTML)):s.textContent?(t=!0,e(te(s.textContent))):"textarea"===o&&s.value&&(t=!0,e(te(s.value)))),t||(8&l?e(te(i)):16&l&&ms(e,i,n,r)),e(`</${o}>`)}}(e,t,n,r):6&s?e(ps(t,n,r)):64&s?function(e,t,n,r){const o=t.props&&t.props.to,s=t.props&&t.props.disabled;if(!o)return[];if(!g(o))return[];Zo(e,(e=>{ms(e,t.children,n,r)}),o,s||""===s,n)}(e,t,n,r):128&s&&hs(e,t.ssContent,n,r)}var l}function ms(e,t,n,r){for(let o=0;o<t.length;o++)hs(e,as(t[o]),n,r)}const{isVNode:gs}=io;async function vs(e){if(e.hasAsync){let t="";for(let n=0;n<e.length;n++){let r=e[n];_(r)&&(r=await r),g(r)?t+=r:t+=await vs(r)}return t}return ys(e)}function ys(e){let t="";for(let n=0;n<e.length;n++){let r=e[n];g(r)?t+=r:t+=ys(r)}return t}async function _s(e,t={}){if(gs(e))return _s(Lo({render:()=>e}),t);const n=Ar(e._component,e._props);n.appContext=e._context,e.provide(ro,t);const r=await ps(n),o=await vs(r);if(await bs(t),t.__watcherHandles)for(const s of t.__watcherHandles)s();return o}async function bs(e){if(e.__teleportBuffers){e.teleports=e.teleports||{};for(const t in e.__teleportBuffers)e.teleports[t]=await vs(await Promise.all([e.__teleportBuffers[t]]))}}const{isVNode:xs}=io;async function ws(e,t){if(e.hasAsync)for(let n=0;n<e.length;n++){let r=e[n];_(r)&&(r=await r),g(r)?t.push(r):await ws(r,t)}else Ss(e,t)}function Ss(e,t){for(let n=0;n<e.length;n++){let r=e[n];g(r)?t.push(r):Ss(r,t)}}function Cs(e,t,n){if(xs(e))return Cs(Lo({render:()=>e}),t,n);const r=Ar(e._component,e._props);return r.appContext=e._context,e.provide(ro,t),Promise.resolve(ps(r)).then((e=>ws(e,n))).then((()=>bs(t))).then((()=>{if(t.__watcherHandles)for(const e of t.__watcherHandles)e()})).then((()=>n.push(null))).catch((e=>{n.destroy(e)})),n}function ks(e,t={}){return console.warn("[@vue/server-renderer] renderToStream is deprecated - use renderToNodeStream instead."),Os(e,t)}function Os(e,t={}){throw new Error("ESM build of renderToStream() does not support renderToNodeStream(). Use pipeToNodeWritable() with an existing Node.js Writable stream instance instead.")}function Es(e,t={},n){Cs(e,t,{push(e){null!=e?n.write(e):n.end()},destroy(e){n.destroy(e)}})}function Ps(e,t={}){if("function"!=typeof ReadableStream)throw new Error("ReadableStream constructor is not available in the global scope. If the target environment does support web streams, consider using pipeToWebWritable() with an existing WritableStream instance instead.");const n=new TextEncoder;let r=!1;return new ReadableStream({start(o){Cs(e,t,{push(e){r||(null!=e?o.enqueue(n.encode(e)):o.close())},destroy(e){o.error(e)}})},cancel(){r=!0}})}function Rs(e,t={},n){const r=n.getWriter(),o=new TextEncoder;let s=!1;try{s=_(r.ready)}catch(i){}Cs(e,t,{push:async e=>(s&&await r.ready,null!=e?r.write(o.encode(e)):r.close()),destroy(e){console.log(e),r.close()}})}jo||(jo=!0,Ao.getSSRProps=({value:e})=>({value:e}),po.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}});export{Es as pipeToNodeWritable,Rs as pipeToWebWritable,Os as renderToNodeStream,Cs as renderToSimpleStream,ks as renderToStream,_s as renderToString,Ps as renderToWebStream,ts as ssrGetDirectiveProps,ss as ssrGetDynamicModelProps,X as ssrIncludeBooleanAttr,Qo as ssrInterpolate,rs as ssrLooseContain,ns as ssrLooseEqual,Bo as ssrRenderAttr,Vo as ssrRenderAttrs,Do as ssrRenderClass,zo as ssrRenderComponent,Uo as ssrRenderDynamicAttr,os as ssrRenderDynamicModel,Yo as ssrRenderList,qo as ssrRenderSlot,Go as ssrRenderSlotInner,Ho as ssrRenderStyle,es as ssrRenderSuspense,Zo as ssrRenderTeleport,hs as ssrRenderVNode};
|
|
1
|
+
function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const t={},n=[],r=()=>{},o=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),i=e=>e.startsWith("onUpdate:"),l=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,a=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>"[object Map]"===x(e),d=e=>"[object Set]"===x(e),h=e=>"[object Date]"===x(e),m=e=>"function"==typeof e,g=e=>"string"==typeof e,v=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,_=e=>(y(e)||m(e))&&m(e.then)&&m(e.catch),b=Object.prototype.toString,x=e=>b.call(e),w=e=>x(e).slice(8,-1),S=e=>"[object Object]"===x(e),C=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),O=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,P=O((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),R=/\B([A-Z])/g,T=O((e=>e.replace(R,"-$1").toLowerCase())),F=O((e=>e.charAt(0).toUpperCase()+e.slice(1))),M=O((e=>e?`on${F(e)}`:"")),A=(e,t)=>!Object.is(e,t),$=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},I=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},L=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let j;const N=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function V(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=g(r)?D(r):V(r);if(o)for(const e in o)t[e]=o[e]}return t}if(g(e)||y(e))return e}const U=/;(?![^(]*\))/g,B=/:([^]+)/,W=/\/\*[^]*?\*\//g;function D(e){const t={};return e.replace(W,"").split(U).forEach((e=>{if(e){const n=e.split(B);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function H(e){let t="";if(g(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const r=H(e[n]);r&&(t+=r+" ")}else if(y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const z=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),q=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),G="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",K=e(G),J=e(G+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function X(e){return!!e||""===e}const Z=/[>/="'\u0009\u000a\u000c\u0020]/,Q={};const Y={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},ee=/["'&<>]/;function te(e){const t=""+e,n=ee.exec(t);if(!n)return t;let r,o,s="",i=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}i!==o&&(s+=t.slice(i,o)),i=o+1,s+=r}return i!==o?s+t.slice(i,o):s}const ne=/^-?>|<!--|-->|--!>|<!-$/g;function re(e,t){if(e===t)return!0;let n=h(e),r=h(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=v(e),r=v(t),n||r)return e===t;if(n=f(e),r=f(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=re(e[r],t[r]);return n}(e,t);if(n=y(e),r=y(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!re(e[n],t[n]))return!1}}return String(e)===String(t)}const oe=(e,t)=>t&&t.__v_isRef?oe(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[se(t,r)+" =>"]=n,e)),{})}:d(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>se(e)))}:v(t)?se(t):!y(t)||f(t)||S(t)?t:String(t),se=(e,t="")=>{var n;return v(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let ie,le;class ce{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ie,!e&&ie&&(this.index=(ie.scopes||(ie.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=ie;try{return ie=this,e()}finally{ie=t}}}on(){ie=this}off(){ie=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}class ue{constructor(e,t,n,r){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=3,this._trackId=0,this._runnings=0,this._queryings=0,this._depsLength=0,function(e,t=ie){t&&t.active&&t.effects.push(e)}(this,r)}get dirty(){if(1===this._dirtyLevel){this._dirtyLevel=0,this._queryings++,ve();for(const e of this.deps)if(e.computed&&(ae(e.computed),this._dirtyLevel>=2))break;ye(),this._queryings--}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=he,t=le;try{return he=!0,le=this,this._runnings++,fe(this),this.fn()}finally{pe(this),this._runnings--,le=t,he=e}}stop(){var e;this.active&&(fe(this),pe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function ae(e){return e.value}function fe(e){e._trackId++,e._depsLength=0}function pe(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)de(e.deps[t],e);e.deps.length=e._depsLength}}function de(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let he=!0,me=0;const ge=[];function ve(){ge.push(he),he=!1}function ye(){const e=ge.pop();he=void 0===e||e}function _e(){me++}function be(){for(me--;!me&&we.length;)we.shift()()}function xe(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&de(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const we=[];function Se(e,t,n){_e();for(const r of e.keys())if((r.allowRecurse||!r._runnings)&&r._dirtyLevel<t&&(!r._runnings||2!==t)){const e=r._dirtyLevel;r._dirtyLevel=t,0!==e||r._queryings&&2===t||(r.trigger(),r.scheduler&&we.push(r.scheduler))}be()}const Ce=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ke=new WeakMap,Oe=Symbol(""),Ee=Symbol("");function Pe(e,t,n){if(he&&le){let t=ke.get(e);t||ke.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=Ce((()=>t.delete(n)))),xe(le,r)}}function Re(e,t,n,r,o,s){const i=ke.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&f(e)){const e=Number(r);i.forEach(((t,n)=>{("length"===n||!v(n)&&n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(i.get(n)),t){case"add":f(e)?C(n)&&l.push(i.get("length")):(l.push(i.get(Oe)),p(e)&&l.push(i.get(Ee)));break;case"delete":f(e)||(l.push(i.get(Oe)),p(e)&&l.push(i.get(Ee)));break;case"set":p(e)&&l.push(i.get(Oe))}_e();for(const c of l)c&&Se(c,3);be()}const Te=e("__proto__,__v_isRef,__isVue"),Fe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(v)),Me=Ae();function Ae(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=_t(this);for(let t=0,o=this.length;t<o;t++)Pe(n,0,t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(_t)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ve(),_e();const n=_t(this)[t].apply(this,e);return be(),ye(),n}})),e}function $e(e){const t=_t(this);return Pe(t,0,e),t.hasOwnProperty(e)}class Ie{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const r=this._isReadonly,o=this._shallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?ft:at:o?ut:ct).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=f(e);if(!r){if(s&&a(Me,t))return Reflect.get(Me,t,n);if("hasOwnProperty"===t)return $e}const i=Reflect.get(e,t,n);return(v(t)?Fe.has(t):Te(t))?i:(r||Pe(e,0,t),o?i:kt(i)?s&&C(t)?i:i.value:y(i)?r?dt(i):pt(i):i)}}class Le extends Ie{constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._shallow){const t=gt(o);if(vt(n)||gt(n)||(o=_t(o),n=_t(n)),!f(e)&&kt(o)&&!kt(n))return!t&&(o.value=n,!0)}const s=f(e)&&C(t)?Number(t)<e.length:a(e,t),i=Reflect.set(e,t,n,r);return e===_t(r)&&(s?A(n,o)&&Re(e,"set",t,n):Re(e,"add",t,n)),i}deleteProperty(e,t){const n=a(e,t),r=Reflect.deleteProperty(e,t);return r&&n&&Re(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return v(t)&&Fe.has(t)||Pe(e,0,t),n}ownKeys(e){return Pe(e,0,f(e)?"length":Oe),Reflect.ownKeys(e)}}class je extends Ie{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ne=new Le,Ve=new je,Ue=new Le(!0),Be=e=>e,We=e=>Reflect.getPrototypeOf(e);function De(e,t,n=!1,r=!1){const o=_t(e=e.__v_raw),s=_t(t);n||(A(t,s)&&Pe(o,0,t),Pe(o,0,s));const{has:i}=We(o),l=r?Be:n?wt:xt;return i.call(o,t)?l(e.get(t)):i.call(o,s)?l(e.get(s)):void(e!==o&&e.get(t))}function He(e,t=!1){const n=this.__v_raw,r=_t(n),o=_t(e);return t||(A(e,o)&&Pe(r,0,e),Pe(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function ze(e,t=!1){return e=e.__v_raw,!t&&Pe(_t(e),0,Oe),Reflect.get(e,"size",e)}function qe(e){e=_t(e);const t=_t(this);return We(t).has.call(t,e)||(t.add(e),Re(t,"add",e,e)),this}function Ge(e,t){t=_t(t);const n=_t(this),{has:r,get:o}=We(n);let s=r.call(n,e);s||(e=_t(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?A(t,i)&&Re(n,"set",e,t):Re(n,"add",e,t),this}function Ke(e){const t=_t(this),{has:n,get:r}=We(t);let o=n.call(t,e);o||(e=_t(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Re(t,"delete",e,void 0),s}function Je(){const e=_t(this),t=0!==e.size,n=e.clear();return t&&Re(e,"clear",void 0,void 0),n}function Xe(e,t){return function(n,r){const o=this,s=o.__v_raw,i=_t(s),l=t?Be:e?wt:xt;return!e&&Pe(i,0,Oe),s.forEach(((e,t)=>n.call(r,l(e),l(t),o)))}}function Ze(e,t,n){return function(...r){const o=this.__v_raw,s=_t(o),i=p(s),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,u=o[e](...r),a=n?Be:t?wt:xt;return!t&&Pe(s,0,c?Ee:Oe),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[a(e[0]),a(e[1])]:a(e),done:t}},[Symbol.iterator](){return this}}}}function Qe(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ye(){const e={get(e){return De(this,e)},get size(){return ze(this)},has:He,add:qe,set:Ge,delete:Ke,clear:Je,forEach:Xe(!1,!1)},t={get(e){return De(this,e,!1,!0)},get size(){return ze(this)},has:He,add:qe,set:Ge,delete:Ke,clear:Je,forEach:Xe(!1,!0)},n={get(e){return De(this,e,!0)},get size(){return ze(this,!0)},has(e){return He.call(this,e,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:Xe(!0,!1)},r={get(e){return De(this,e,!0,!0)},get size(){return ze(this,!0)},has(e){return He.call(this,e,!0)},add:Qe("add"),set:Qe("set"),delete:Qe("delete"),clear:Qe("clear"),forEach:Xe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=Ze(o,!1,!1),n[o]=Ze(o,!0,!1),t[o]=Ze(o,!1,!0),r[o]=Ze(o,!0,!0)})),[e,n,t,r]}const[et,tt,nt,rt]=Ye();function ot(e,t){const n=t?e?rt:nt:e?tt:et;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(a(n,r)&&r in t?n:t,r,o)}const st={get:ot(!1,!1)},it={get:ot(!1,!0)},lt={get:ot(!0,!1)},ct=new WeakMap,ut=new WeakMap,at=new WeakMap,ft=new WeakMap;function pt(e){return gt(e)?e:ht(e,!1,Ne,st,ct)}function dt(e){return ht(e,!0,Ve,lt,at)}function ht(e,t,n,r,o){if(!y(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(w(l));var l;if(0===i)return e;const c=new Proxy(e,2===i?r:n);return o.set(e,c),c}function mt(e){return gt(e)?mt(e.__v_raw):!(!e||!e.__v_isReactive)}function gt(e){return!(!e||!e.__v_isReadonly)}function vt(e){return!(!e||!e.__v_isShallow)}function yt(e){return mt(e)||gt(e)}function _t(e){const t=e&&e.__v_raw;return t?_t(t):e}function bt(e){return I(e,"__v_skip",!0),e}const xt=e=>y(e)?pt(e):e,wt=e=>y(e)?dt(e):e;class St{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ue((()=>e(this._value)),(()=>Ct(this,1))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=_t(this);var t;return t=e,he&&le&&(t=_t(t),xe(le,t.dep||(t.dep=Ce((()=>t.dep=void 0),t instanceof St?t:void 0)))),e._cacheable&&!e.effect.dirty||A(e._value,e._value=e.effect.run())&&Ct(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Ct(e,t=3,n){const r=(e=_t(e)).dep;r&&Se(r,t)}function kt(e){return!(!e||!0!==e.__v_isRef)}const Ot={get:(e,t,n)=>{return kt(r=Reflect.get(e,t,n))?r.value:r;var r},set:(e,t,n,r)=>{const o=e[t];return kt(o)&&!kt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Et(e){return mt(e)?e:new Proxy(e,Ot)}function Pt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Tt(s,t,n)}return o}function Rt(e,t,n,r){if(m(e)){const o=Pt(e,t,n,r);return o&&_(o)&&o.catch((e=>{Tt(e,t,n)})),o}const o=[];for(let s=0;s<e.length;s++)o.push(Rt(e[s],t,n,r));return o}function Tt(e,t,n,r=!0){if(t){let r=t.parent;const o=t.proxy,s=`https://vuejs.org/errors/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,s))return;r=r.parent}const i=t.appContext.config.errorHandler;if(i)return void Pt(i,null,10,[e,o,s])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let Ft=!1,Mt=!1;const At=[];let $t=0;const It=[];let Lt=null,jt=0;const Nt=Promise.resolve();let Vt=null;function Ut(e){const t=Vt||Nt;return e?t.then(this?e.bind(this):e):t}function Bt(e){At.length&&At.includes(e,Ft&&e.allowRecurse?$t+1:$t)||(null==e.id?At.push(e):At.splice(function(e){let t=$t+1,n=At.length;for(;t<n;){const r=t+n>>>1,o=At[r],s=zt(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}(e.id),0,e),Wt())}function Wt(){Ft||Mt||(Mt=!0,Vt=Nt.then(Gt))}function Dt(e,t,n=(Ft?$t+1:0)){for(;n<At.length;n++){const t=At[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;At.splice(n,1),n--,t()}}}function Ht(e){if(It.length){const e=[...new Set(It)];if(It.length=0,Lt)return void Lt.push(...e);for(Lt=e,Lt.sort(((e,t)=>zt(e)-zt(t))),jt=0;jt<Lt.length;jt++)Lt[jt]();Lt=null,jt=0}}const zt=e=>null==e.id?1/0:e.id,qt=(e,t)=>{const n=zt(e)-zt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Gt(e){Mt=!1,Ft=!0,At.sort(qt);try{for($t=0;$t<At.length;$t++){const e=At[$t];e&&!1!==e.active&&Pt(e,null,14)}}finally{$t=0,At.length=0,Ht(),Ft=!1,Vt=null,(At.length||It.length)&&Gt()}}function Kt(e,n,...r){if(e.isUnmounted)return;const o=e.vnode.props||t;let s=r;const i=n.startsWith("update:"),l=i&&n.slice(7);if(l&&l in o){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:n,trim:i}=o[e]||t;i&&(s=r.map((e=>g(e)?e.trim():e))),n&&(s=r.map(L))}let c,u=o[c=M(n)]||o[c=M(P(n))];!u&&i&&(u=o[c=M(T(n))]),u&&Rt(u,e,6,s);const a=o[c+"Once"];if(a){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,Rt(a,e,6,s)}}function Jt(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const s=e.emits;let i={},c=!1;if(!m(e)){const r=e=>{const n=Jt(e,t,!0);n&&(c=!0,l(i,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||c?(f(s)?s.forEach((e=>i[e]=null)):l(i,s),y(e)&&r.set(e,i),i):(y(e)&&r.set(e,null),null)}function Xt(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),a(e,t[0].toLowerCase()+t.slice(1))||a(e,T(t))||a(e,t))}let Zt=null,Qt=null;function Yt(e){const t=Zt;return Zt=e,Qt=e&&e.type.__scopeId||null,t}function en(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:c,attrs:u,emit:a,render:f,renderCache:p,data:d,setupState:h,ctx:m,inheritAttrs:g}=e;let v,y;const _=Yt(e);try{if(4&n.shapeFlag){const e=o||r;v=Lr(f.call(e,e,p,s,h,d,m)),y=u}else{const e=t;0,v=Lr(e(s,e.length>1?{attrs:u,slots:c,emit:a}:null)),y=t.props?u:tn(u)}}catch(x){Tt(x,e,1),v=Ar(Sr)}let b=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(l&&e.some(i)&&(y=nn(y,l)),b=$r(b,y))}return n.dirs&&(b=$r(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,Yt(_),v}const tn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},nn=(e,t)=>{const n={};for(const r in e)i(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function rn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Xt(n,s))return!0}return!1}const on=Symbol.for("v-ndc");const sn={};function ln(e,t,n){return cn(e,t,n)}function cn(e,n,{immediate:o,deep:s,flush:i,once:l}=t){var u;if(n&&l){const e=n;n=(...t)=>{e(...t),S()}}const a=ie===(null==(u=qr)?void 0:u.scope)?qr:null;let p,d,h=!1,g=!1;if(kt(e)?(p=()=>e.value,h=vt(e)):mt(e)?(p=()=>e,s=!0):f(e)?(g=!0,h=e.some((e=>mt(e)||vt(e))),p=()=>e.map((e=>kt(e)?e.value:mt(e)?fn(e):m(e)?Pt(e,a,2):void 0))):p=m(e)?n?()=>Pt(e,a,2):()=>{if(!a||!a.isUnmounted)return d&&d(),Rt(e,a,3,[y])}:r,n&&s){const e=p;p=()=>fn(e())}let v,y=e=>{d=w.onStop=()=>{Pt(e,a,4),d=w.onStop=void 0}};if(Zr){if(y=r,n?o&&Rt(n,a,3,[p(),g?[]:void 0,y]):p(),"sync"!==i)return r;{const e=oo();v=e.__watcherHandles||(e.__watcherHandles=[])}}let _=g?new Array(e.length).fill(sn):sn;const b=()=>{if(w.active&&w.dirty)if(n){const e=w.run();(s||h||(g?e.some(((e,t)=>A(e,_[t]))):A(e,_)))&&(d&&d(),Rt(n,a,3,[e,_===sn?void 0:g&&_[0]===sn?[]:_,y]),_=e)}else w.run()};let x;b.allowRecurse=!!n,"sync"===i?x=b:"post"===i?x=()=>mr(b,a&&a.suspense):(b.pre=!0,a&&(b.id=a.uid),x=()=>Bt(b));const w=new ue(p,r,x),S=()=>{w.stop(),a&&a.scope&&c(a.scope.effects,w)};return n?o?b():_=w.run():"post"===i?mr(w.run.bind(w),a&&a.suspense):w.run(),v&&v.push(S),S}function un(e,t,n){const r=this.proxy,o=g(e)?e.includes(".")?an(r,e):()=>r[e]:e.bind(r,r);let s;m(t)?s=t:(s=t.handler,n=t);const i=qr;Gr(this);const l=cn(o,s.bind(r),n);return i?Gr(i):Kr(),l}function an(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function fn(e,t){if(!y(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),kt(e))fn(e.value,t);else if(f(e))for(let n=0;n<e.length;n++)fn(e[n],t);else if(d(e)||p(e))e.forEach((e=>{fn(e,t)}));else if(S(e))for(const n in e)fn(e[n],t);return e}function pn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let c=l.dir[r];c&&(ve(),Rt(c,n,8,[e.el,l,e,t]),ye())}}const dn=e=>!!e.type.__asyncLoader,hn=e=>e.type.__isKeepAlive;function mn(e,t){vn(e,"a",t)}function gn(e,t){vn(e,"da",t)}function vn(e,t,n=qr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(_n(t,r,n),n){let e=n.parent;for(;e&&e.parent;)hn(e.parent.vnode)&&yn(r,t,n,e),e=e.parent}}function yn(e,t,n,r){const o=_n(t,e,r,!0);On((()=>{c(r[t],o)}),n)}function _n(e,t,n=qr,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;ve(),Gr(n);const o=Rt(t,n,e,r);return Kr(),ye(),o});return r?o.unshift(s):o.push(s),s}}const bn=e=>(t,n=qr)=>(!Zr||"sp"===e)&&_n(e,((...e)=>t(...e)),n),xn=bn("bm"),wn=bn("m"),Sn=bn("bu"),Cn=bn("u"),kn=bn("bum"),On=bn("um"),En=bn("sp"),Pn=bn("rtg"),Rn=bn("rtc");function Tn(e,t=qr){_n("ec",e,t)}const Fn=e=>e?Jr(e)?to(e)||e.proxy:Fn(e.parent):null,Mn=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fn(e.parent),$root:e=>Fn(e.root),$emit:e=>e.emit,$options:e=>Un(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Bt(e.update)}),$nextTick:e=>e.n||(e.n=Ut.bind(e.proxy)),$watch:e=>un.bind(e)}),An=(e,n)=>e!==t&&!e.__isScriptSetup&&a(e,n),$n={get({_:e},n){const{ctx:r,setupState:o,data:s,props:i,accessCache:l,type:c,appContext:u}=e;let f;if("$"!==n[0]){const c=l[n];if(void 0!==c)switch(c){case 1:return o[n];case 2:return s[n];case 4:return r[n];case 3:return i[n]}else{if(An(o,n))return l[n]=1,o[n];if(s!==t&&a(s,n))return l[n]=2,s[n];if((f=e.propsOptions[0])&&a(f,n))return l[n]=3,i[n];if(r!==t&&a(r,n))return l[n]=4,r[n];Ln&&(l[n]=0)}}const p=Mn[n];let d,h;return p?("$attrs"===n&&Pe(e,0,n),p(e)):(d=c.__cssModules)&&(d=d[n])?d:r!==t&&a(r,n)?(l[n]=4,r[n]):(h=u.config.globalProperties,a(h,n)?h[n]:void 0)},set({_:e},n,r){const{data:o,setupState:s,ctx:i}=e;return An(s,n)?(s[n]=r,!0):o!==t&&a(o,n)?(o[n]=r,!0):!a(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(i[n]=r,!0))},has({_:{data:e,setupState:n,accessCache:r,ctx:o,appContext:s,propsOptions:i}},l){let c;return!!r[l]||e!==t&&a(e,l)||An(n,l)||(c=i[0])&&a(c,l)||a(o,l)||a(Mn,l)||a(s.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:a(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function In(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Ln=!0;function jn(e){const t=Un(e),n=e.proxy,o=e.ctx;Ln=!1,t.beforeCreate&&Nn(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:l,watch:c,provide:u,inject:a,created:p,beforeMount:d,mounted:h,beforeUpdate:g,updated:v,activated:_,deactivated:b,beforeUnmount:x,unmounted:w,render:S,renderTracked:C,renderTriggered:k,errorCaptured:O,serverPrefetch:E,expose:P,inheritAttrs:R,components:T,directives:F}=t;if(a&&function(e,t,n=r){f(e)&&(e=Hn(e));for(const r in e){const n=e[r];let o;o=y(n)?"default"in n?Qn(n.from||r,n.default,!0):Qn(n.from||r):Qn(n),kt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[r]=o}}(a,o,null),l)for(const r in l){const e=l[r];m(e)&&(o[r]=e.bind(n))}if(s){const t=s.call(n,n);y(t)&&(e.data=pt(t))}if(Ln=!0,i)for(const f in i){const e=i[f],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):r,s=!m(e)&&m(e.set)?e.set.bind(n):r,l=no({get:t,set:s});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const r in c)Vn(c[r],o,n,r);if(u){const e=m(u)?u.call(n):u;Reflect.ownKeys(e).forEach((t=>{!function(e,t){if(qr){let n=qr.provides;const r=qr.parent&&qr.parent.provides;r===n&&(n=qr.provides=Object.create(r)),n[e]=t}else;}(t,e[t])}))}function M(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&Nn(p,e,"c"),M(xn,d),M(wn,h),M(Sn,g),M(Cn,v),M(mn,_),M(gn,b),M(Tn,O),M(Rn,C),M(Pn,k),M(kn,x),M(On,w),M(En,E),f(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===r&&(e.render=S),null!=R&&(e.inheritAttrs=R),T&&(e.components=T),F&&(e.directives=F)}function Nn(e,t,n){Rt(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Vn(e,t,n,r){const o=r.includes(".")?an(n,r):()=>n[r];if(g(e)){const n=t[e];m(n)&&ln(o,n)}else if(m(e))ln(o,e.bind(n));else if(y(e))if(f(e))e.forEach((e=>Vn(e,t,n,r)));else{const r=m(e.handler)?e.handler.bind(n):t[e.handler];m(r)&&ln(o,r,e)}}function Un(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:o.length||n||r?(c={},o.length&&o.forEach((e=>Bn(c,e,i,!0))),Bn(c,t,i)):c=t,y(t)&&s.set(t,c),c}function Bn(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Bn(e,s,n,!0),o&&o.forEach((t=>Bn(e,t,n,!0)));for(const i in t)if(r&&"expose"===i);else{const r=Wn[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const Wn={data:Dn,props:Gn,emits:Gn,methods:qn,computed:qn,beforeCreate:zn,created:zn,beforeMount:zn,mounted:zn,beforeUpdate:zn,updated:zn,beforeDestroy:zn,beforeUnmount:zn,destroyed:zn,unmounted:zn,activated:zn,deactivated:zn,errorCaptured:zn,serverPrefetch:zn,components:qn,directives:qn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=l(Object.create(null),e);for(const r in t)n[r]=zn(e[r],t[r]);return n},provide:Dn,inject:function(e,t){return qn(Hn(e),Hn(t))}};function Dn(e,t){return t?e?function(){return l(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Hn(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function zn(e,t){return e?[...new Set([].concat(e,t))]:t}function qn(e,t){return e?l(Object.create(null),e,t):t}function Gn(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:l(Object.create(null),In(e),In(null!=t?t:{})):t}function Kn(){return{app:null,config:{isNativeTag:o,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 Jn=0;function Xn(e,t){return function(n,r=null){m(n)||(n=l({},n)),null==r||y(r)||(r=null);const o=Kn(),s=new WeakSet;let i=!1;const c=o.app={_uid:Jn++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:so,get config(){return o.config},set config(e){},use:(e,...t)=>(s.has(e)||(e&&m(e.install)?(s.add(e),e.install(c,...t)):m(e)&&(s.add(e),e(c,...t))),c),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),c),component:(e,t)=>t?(o.components[e]=t,c):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,c):o.directives[e],mount(s,l,u){if(!i){const a=Ar(n,r);return a.appContext=o,!0===u?u="svg":!1===u&&(u=void 0),l&&t?t(a,s):e(a,s,u),i=!0,c._container=s,s.__vue_app__=c,to(a.component)||a.component.proxy}},unmount(){i&&(e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,c),runWithContext(e){Zn=c;try{return e()}finally{Zn=null}}};return c}}let Zn=null;function Qn(e,t,n=!1){const r=qr||Zt;if(r||Zn){const o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Zn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&m(t)?t.call(r&&r.proxy):t}}function Yn(e,t,n,r=!1){const o={},s={};I(s,Tr,1),e.propsDefaults=Object.create(null),er(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);e.props=n?r?o:ht(o,!1,Ue,it,ut):e.type.props?o:s,e.attrs=s}function er(e,n,r,o){const[s,i]=e.propsOptions;let l,c=!1;if(n)for(let t in n){if(k(t))continue;const u=n[t];let f;s&&a(s,f=P(t))?i&&i.includes(f)?(l||(l={}))[f]=u:r[f]=u:Xt(e.emitsOptions,t)||t in o&&u===o[t]||(o[t]=u,c=!0)}if(i){const n=_t(r),o=l||t;for(let t=0;t<i.length;t++){const l=i[t];r[l]=tr(s,n,l,o[l],e,!a(o,l))}}return c}function tr(e,t,n,r,o,s){const i=e[n];if(null!=i){const e=a(i,"default");if(e&&void 0===r){const e=i.default;if(i.type!==Function&&!i.skipFactory&&m(e)){const{propsDefaults:s}=o;n in s?r=s[n]:(Gr(o),r=s[n]=e.call(null,t),Kr())}else r=e}i[0]&&(s&&!e?r=!1:!i[1]||""!==r&&r!==T(n)||(r=!0))}return r}function nr(e,r,o=!1){const s=r.propsCache,i=s.get(e);if(i)return i;const c=e.props,u={},p=[];let d=!1;if(!m(e)){const t=e=>{d=!0;const[t,n]=nr(e,r,!0);l(u,t),n&&p.push(...n)};!o&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!d)return y(e)&&s.set(e,n),n;if(f(c))for(let n=0;n<c.length;n++){const e=P(c[n]);rr(e)&&(u[e]=t)}else if(c)for(const t in c){const e=P(t);if(rr(e)){const n=c[t],r=u[e]=f(n)||m(n)?{type:n}:l({},n);if(r){const t=ir(Boolean,r.type),n=ir(String,r.type);r[0]=t>-1,r[1]=n<0||t<n,(t>-1||a(r,"default"))&&p.push(e)}}}const h=[u,p];return y(e)&&s.set(e,h),h}function rr(e){return"$"!==e[0]}function or(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function sr(e,t){return or(e)===or(t)}function ir(e,t){return f(t)?t.findIndex((t=>sr(t,e))):m(t)&&sr(t,e)?0:-1}const lr=e=>"_"===e[0]||"$stable"===e,cr=e=>f(e)?e.map(Lr):[Lr(e)],ur=(e,t,n)=>{if(t._n)return t;const r=function(e,t=Zt,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Er(-1);const o=Yt(t);let s;try{s=e(...n)}finally{Yt(o),r._d&&Er(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}(((...e)=>cr(t(...e))),n);return r._c=!1,r},ar=(e,t,n)=>{const r=e._ctx;for(const o in e){if(lr(o))continue;const n=e[o];if(m(n))t[o]=ur(0,n,r);else if(null!=n){const e=cr(n);t[o]=()=>e}}},fr=(e,t)=>{const n=cr(t);e.slots.default=()=>n},pr=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=_t(t),I(t,"_",n)):ar(t,e.slots={})}else e.slots={},t&&fr(e,t);I(e.slots,Tr,1)},dr=(e,n,r)=>{const{vnode:o,slots:s}=e;let i=!0,c=t;if(32&o.shapeFlag){const e=n._;e?r&&1===e?i=!1:(l(s,n),r||1!==e||delete s._):(i=!n.$stable,ar(n,s)),c=n}else n&&(fr(e,n),c={default:1});if(i)for(const t in s)lr(t)||null!=c[t]||delete s[t]};function hr(e,n,r,o,s=!1){if(f(e))return void e.forEach(((e,t)=>hr(e,n&&(f(n)?n[t]:n),r,o,s)));if(dn(o)&&!s)return;const i=4&o.shapeFlag?to(o.component)||o.component.proxy:o.el,l=s?null:i,{i:u,r:p}=e,d=n&&n.r,h=u.refs===t?u.refs={}:u.refs,v=u.setupState;if(null!=d&&d!==p&&(g(d)?(h[d]=null,a(v,d)&&(v[d]=null)):kt(d)&&(d.value=null)),m(p))Pt(p,u,12,[l,h]);else{const t=g(p),n=kt(p);if(t||n){const o=()=>{if(e.f){const n=t?a(v,p)?v[p]:h[p]:p.value;s?f(n)&&c(n,i):f(n)?n.includes(i)||n.push(i):t?(h[p]=[i],a(v,p)&&(v[p]=h[p])):(p.value=[i],e.k&&(h[e.k]=p.value))}else t?(h[p]=l,a(v,p)&&(v[p]=l)):n&&(p.value=l,e.k&&(h[e.k]=l))};l?(o.id=-1,mr(o,r)):o()}}}const mr=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?It.push(...n):Lt&&Lt.includes(n,n.allowRecurse?jt+1:jt)||It.push(n),Wt())};function gr(e){return function(e,o){N().__VUE__=!0;const{insert:s,remove:i,patchProp:l,createElement:c,createText:u,createComment:f,setText:p,setElementText:d,parentNode:h,nextSibling:m,setScopeId:g=r,insertStaticContent:v}=e,y=(e,t,n,r=null,o=null,s=null,i=void 0,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Rr(e,t)&&(r=Z(e),q(e,o,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:u,ref:a,shapeFlag:f}=t;switch(u){case wr:_(e,t,n,r);break;case Sr:b(e,t,n,r);break;case Cr:null==e&&x(t,n,r,i);break;case xr:I(e,t,n,r,o,s,i,l,c);break;default:1&f?C(e,t,n,r,o,s,i,l,c):6&f?L(e,t,n,r,o,s,i,l,c):(64&f||128&f)&&u.process(e,t,n,r,o,s,i,l,c,Y)}null!=a&&o&&hr(a,e&&e.ref,s,t||e,!t)},_=(e,t,n,r)=>{if(null==e)s(t.el=u(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},b=(e,t,n,r)=>{null==e?s(t.el=f(t.children||""),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r,e.el,e.anchor)},w=({el:e,anchor:t},n,r)=>{let o;for(;e&&e!==t;)o=m(e),s(e,n,r),e=o;s(t,n,r)},S=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),i(e),e=n;i(t)},C=(e,t,n,r,o,s,i,l,c)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?O(t,n,r,o,s,i,l,c):F(e,t,o,s,i,l,c)},O=(e,t,n,r,o,i,u,a)=>{let f,p;const{props:h,shapeFlag:m,transition:g,dirs:v}=e;if(f=e.el=c(e.type,i,h&&h.is,h),8&m?d(f,e.children):16&m&&R(e.children,f,null,r,o,vr(e,i),u,a),v&&pn(e,null,r,"created"),E(f,e,e.scopeId,u,r),h){for(const t in h)"value"===t||k(t)||l(f,t,null,h[t],i,e.children,r,o,X);"value"in h&&l(f,"value",null,h.value,i),(p=h.onVnodeBeforeMount)&&Ur(p,r,e)}v&&pn(e,null,r,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(o,g);y&&g.beforeEnter(f),s(f,t,n),((p=h&&h.onVnodeMounted)||y||v)&&mr((()=>{p&&Ur(p,r,e),y&&g.enter(f),v&&pn(e,null,r,"mounted")}),o)},E=(e,t,n,r,o)=>{if(n&&g(e,n),r)for(let s=0;s<r.length;s++)g(e,r[s]);if(o){if(t===o.subTree){const t=o.vnode;E(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},R=(e,t,n,r,o,s,i,l,c=0)=>{for(let u=c;u<e.length;u++){const c=e[u]=l?jr(e[u]):Lr(e[u]);y(null,c,t,n,r,o,s,i,l)}},F=(e,n,r,o,s,i,c)=>{const u=n.el=e.el;let{patchFlag:a,dynamicChildren:f,dirs:p}=n;a|=16&e.patchFlag;const h=e.props||t,m=n.props||t;let g;if(r&&yr(r,!1),(g=m.onVnodeBeforeUpdate)&&Ur(g,r,n,e),p&&pn(n,e,r,"beforeUpdate"),r&&yr(r,!0),f?M(e.dynamicChildren,f,u,r,o,vr(n,s),i):c||W(e,n,u,null,r,o,vr(n,s),i,!1),a>0){if(16&a)A(u,n,h,m,r,o,s);else if(2&a&&h.class!==m.class&&l(u,"class",null,m.class,s),4&a&&l(u,"style",h.style,m.style,s),8&a){const t=n.dynamicProps;for(let n=0;n<t.length;n++){const i=t[n],c=h[i],a=m[i];a===c&&"value"!==i||l(u,i,c,a,s,e.children,r,o,X)}}1&a&&e.children!==n.children&&d(u,n.children)}else c||null!=f||A(u,n,h,m,r,o,s);((g=m.onVnodeUpdated)||p)&&mr((()=>{g&&Ur(g,r,n,e),p&&pn(n,e,r,"updated")}),o)},M=(e,t,n,r,o,s,i)=>{for(let l=0;l<t.length;l++){const c=e[l],u=t[l],a=c.el&&(c.type===xr||!Rr(c,u)||70&c.shapeFlag)?h(c.el):n;y(c,u,a,null,r,o,s,i,!0)}},A=(e,n,r,o,s,i,c)=>{if(r!==o){if(r!==t)for(const t in r)k(t)||t in o||l(e,t,r[t],null,c,n.children,s,i,X);for(const t in o){if(k(t))continue;const u=o[t],a=r[t];u!==a&&"value"!==t&&l(e,t,a,u,c,n.children,s,i,X)}"value"in o&&l(e,"value",r.value,o.value,c)}},I=(e,t,n,r,o,i,l,c,a)=>{const f=t.el=e?e.el:u(""),p=t.anchor=e?e.anchor:u("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(s(f,n,r),s(p,n,r),R(t.children,n,p,o,i,l,c,a)):d>0&&64&d&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,n,o,i,l,c),(null!=t.key||o&&t===o.subTree)&&_r(e,t,!0)):W(e,t,n,p,o,i,l,c,a)},L=(e,t,n,r,o,s,i,l,c)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,c):j(t,n,r,o,s,i,c):V(e,t,c)},j=(e,t,n,r,o,s,i)=>{const l=e.component=Dr(e,r,o);if(hn(e)&&(l.ctx.renderer=Y),Qr(l),l.asyncDep){if(o&&o.registerDep(l,U),!e.el){const e=l.subTree=Ar(Sr);b(null,e,t,n)}}else U(l,e,t,n,o,s,i)},V=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:c}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!l||l&&l.$stable)||r!==i&&(r?!i||rn(r,i,u):!!i);if(1024&c)return!0;if(16&c)return r?rn(r,i,u):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==r[n]&&!Xt(u,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void B(r,t,n);r.next=t,function(e){const t=At.indexOf(e);t>$t&&At.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},U=(e,t,n,o,s,i,l)=>{const c=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:o,vnode:u}=e;{const n=br(e);if(n)return t&&(t.el=u.el,B(e,t,l)),void n.asyncDep.then((()=>{e.isUnmounted||c()}))}let a,f=t;yr(e,!1),t?(t.el=u.el,B(e,t,l)):t=u,n&&$(n),(a=t.props&&t.props.onVnodeBeforeUpdate)&&Ur(a,o,t,u),yr(e,!0);const p=en(e),d=e.subTree;e.subTree=p,y(d,p,h(d.el),Z(d),e,s,i),t.el=p.el,null===f&&function({vnode:e,parent:t},n){if(n)for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),r&&mr(r,s),(a=t.props&&t.props.onVnodeUpdated)&&mr((()=>Ur(a,o,t,u)),s)}else{let r;const{el:l,props:c}=t,{bm:u,m:a,parent:f}=e,p=dn(t);if(yr(e,!1),u&&$(u),!p&&(r=c&&c.onVnodeBeforeMount)&&Ur(r,f,t),yr(e,!0),l&&te){const n=()=>{e.subTree=en(e),te(l,e.subTree,e,s,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const r=e.subTree=en(e);y(null,r,n,o,e,s,i),t.el=r.el}if(a&&mr(a,s),!p&&(r=c&&c.onVnodeMounted)){const e=t;mr((()=>Ur(r,f,e)),s)}(256&t.shapeFlag||f&&dn(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&mr(e.a,s),e.isMounted=!0,t=n=o=null}},u=e.effect=new ue(c,r,(()=>Bt(a)),e.scope),a=e.update=()=>{u.dirty&&u.run()};a.id=e.uid,yr(e,!0),a()},B=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=_t(o),[c]=e.propsOptions;let u=!1;if(!(r||i>0)||16&i){let r;er(e,t,o,s)&&(u=!0);for(const s in l)t&&(a(t,s)||(r=T(s))!==s&&a(t,r))||(c?!n||void 0===n[s]&&void 0===n[r]||(o[s]=tr(c,l,s,void 0,e,!0)):delete o[s]);if(s!==l)for(const e in s)t&&a(t,e)||(delete s[e],u=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r];if(Xt(e.emitsOptions,i))continue;const f=t[i];if(c)if(a(s,i))f!==s[i]&&(s[i]=f,u=!0);else{const t=P(i);o[t]=tr(c,l,t,f,e,!1)}else f!==s[i]&&(s[i]=f,u=!0)}}u&&Re(e,"set","$attrs")}(e,t.props,r,n),dr(e,t.children,n),ve(),Dt(e),ye()},W=(e,t,n,r,o,s,i,l,c=!1)=>{const u=e&&e.children,a=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void H(u,f,n,r,o,s,i,l,c);if(256&p)return void D(u,f,n,r,o,s,i,l,c)}8&h?(16&a&&X(u,o,s),f!==u&&d(n,f)):16&a?16&h?H(u,f,n,r,o,s,i,l,c):X(u,o,s,!0):(8&a&&d(n,""),16&h&&R(f,n,r,o,s,i,l,c))},D=(e,t,r,o,s,i,l,c,u)=>{const a=(e=e||n).length,f=(t=t||n).length,p=Math.min(a,f);let d;for(d=0;d<p;d++){const n=t[d]=u?jr(t[d]):Lr(t[d]);y(e[d],n,r,null,s,i,l,c,u)}a>f?X(e,s,i,!0,!1,p):R(t,r,o,s,i,l,c,u,p)},H=(e,t,r,o,s,i,l,c,u)=>{let a=0;const f=t.length;let p=e.length-1,d=f-1;for(;a<=p&&a<=d;){const n=e[a],o=t[a]=u?jr(t[a]):Lr(t[a]);if(!Rr(n,o))break;y(n,o,r,null,s,i,l,c,u),a++}for(;a<=p&&a<=d;){const n=e[p],o=t[d]=u?jr(t[d]):Lr(t[d]);if(!Rr(n,o))break;y(n,o,r,null,s,i,l,c,u),p--,d--}if(a>p){if(a<=d){const e=d+1,n=e<f?t[e].el:o;for(;a<=d;)y(null,t[a]=u?jr(t[a]):Lr(t[a]),r,n,s,i,l,c,u),a++}}else if(a>d)for(;a<=p;)q(e[a],s,i,!0),a++;else{const h=a,m=a,g=new Map;for(a=m;a<=d;a++){const e=t[a]=u?jr(t[a]):Lr(t[a]);null!=e.key&&g.set(e.key,a)}let v,_=0;const b=d-m+1;let x=!1,w=0;const S=new Array(b);for(a=0;a<b;a++)S[a]=0;for(a=h;a<=p;a++){const n=e[a];if(_>=b){q(n,s,i,!0);continue}let o;if(null!=n.key)o=g.get(n.key);else for(v=m;v<=d;v++)if(0===S[v-m]&&Rr(n,t[v])){o=v;break}void 0===o?q(n,s,i,!0):(S[o-m]=a+1,o>=w?w=o:x=!0,y(n,t[o],r,null,s,i,l,c,u),_++)}const C=x?function(e){const t=e.slice(),n=[0];let r,o,s,i,l;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(S):n;for(v=C.length-1,a=b-1;a>=0;a--){const e=m+a,n=t[e],p=e+1<f?t[e+1].el:o;0===S[a]?y(null,n,r,p,s,i,l,c,u):x&&(v<0||a!==C[v]?z(n,r,p,2):v--)}}},z=(e,t,n,r,o=null)=>{const{el:i,type:l,transition:c,children:u,shapeFlag:a}=e;if(6&a)return void z(e.component.subTree,t,n,r);if(128&a)return void e.suspense.move(t,n,r);if(64&a)return void l.move(e,t,n,Y);if(l===xr){s(i,t,n);for(let e=0;e<u.length;e++)z(u[e],t,n,r);return void s(e.anchor,t,n)}if(l===Cr)return void w(e,t,n);if(2!==r&&1&a&&c)if(0===r)c.beforeEnter(i),s(i,t,n),mr((()=>c.enter(i)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=c,l=()=>s(i,t,n),u=()=>{e(i,(()=>{l(),o&&o()}))};r?r(i,l,u):u()}else s(i,t,n)},q=(e,t,n,r=!1,o=!1)=>{const{type:s,props:i,ref:l,children:c,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:p}=e;if(null!=l&&hr(l,null,n,e,!0),256&a)return void t.ctx.deactivate(e);const d=1&a&&p,h=!dn(e);let m;if(h&&(m=i&&i.onVnodeBeforeUnmount)&&Ur(m,t,e),6&a)J(e.component,n,r);else{if(128&a)return void e.suspense.unmount(n,r);d&&pn(e,null,t,"beforeUnmount"),64&a?e.type.remove(e,t,n,o,Y,r):u&&(s!==xr||f>0&&64&f)?X(u,t,n,!1,!0):(s===xr&&384&f||!o&&16&a)&&X(c,t,n),r&&G(e)}(h&&(m=i&&i.onVnodeUnmounted)||d)&&mr((()=>{m&&Ur(m,t,e),d&&pn(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===xr)return void K(n,r);if(t===Cr)return void S(e);const s=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,s);r?r(e.el,s,i):i()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=m(e),i(e),e=n;i(t)},J=(e,t,n)=>{const{bum:r,scope:o,update:s,subTree:i,um:l}=e;r&&$(r),o.stop(),s&&(s.active=!1,q(i,e,t,n)),l&&mr(l,t),mr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,s=0)=>{for(let i=s;i<e.length;i++)q(e[i],t,n,r,o)},Z=e=>6&e.shapeFlag?Z(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&q(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,n),Dt(),Ht(),t._vnode=e},Y={p:y,um:q,m:z,r:G,mt:j,mc:R,pc:W,pbc:M,n:Z,o:e};let ee,te;o&&([ee,te]=o(Y));return{render:Q,hydrate:ee,createApp:Xn(Q,ee)}}(e)}function vr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _r(e,t,n=!1){const r=e.children,o=t.children;if(f(r)&&f(o))for(let s=0;s<r.length;s++){const e=r[s];let t=o[s];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[s]=jr(o[s]),t.el=e.el),n||_r(e,t)),t.type===wr&&(t.el=e.el)}}function br(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:br(t)}const xr=Symbol.for("v-fgt"),wr=Symbol.for("v-txt"),Sr=Symbol.for("v-cmt"),Cr=Symbol.for("v-stc");let kr=null,Or=1;function Er(e){Or+=e}function Pr(e){return!!e&&!0===e.__v_isVNode}function Rr(e,t){return e.type===t.type&&e.key===t.key}const Tr="__vInternal",Fr=({key:e})=>null!=e?e:null,Mr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||kt(e)||m(e)?{i:Zt,r:e,k:t,f:!!n}:e:null);const Ar=function(e,t=null,n=null,r=0,o=null,s=!1){e&&e!==on||(e=Sr);if(Pr(e)){const r=$r(e,t,!0);return n&&Nr(r,n),Or>0&&!s&&kr&&(6&r.shapeFlag?kr[kr.indexOf(e)]=r:kr.push(r)),r.patchFlag|=-2,r}i=e,m(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(e){return e?yt(e)||Tr in e?l({},e):e:null}(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=H(e)),y(n)&&(yt(n)&&!f(n)&&(n=l({},n)),t.style=V(n))}const c=g(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:y(e)?4:m(e)?2:0;return function(e,t=null,n=null,r=0,o=null,s=(e===xr?0:1),i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fr(t),ref:t&&Mr(t),scopeId:Qt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Zt};return l?(Nr(c,n),128&s&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),Or>0&&!i&&kr&&(c.patchFlag>0||6&s)&&32!==c.patchFlag&&kr.push(c),c}(e,t,n,r,o,c,s,!0)};function $r(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,l=t?Vr(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Fr(l),ref:t&&t.ref?n&&o?f(o)?o.concat(Mr(t)):[o,Mr(t)]:Mr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xr?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$r(e.ssContent),ssFallback:e.ssFallback&&$r(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ir(e=" ",t=0){return Ar(wr,null,e,t)}function Lr(e){return null==e||"boolean"==typeof e?Ar(Sr):f(e)?Ar(xr,null,e.slice()):"object"==typeof e?jr(e):Ar(wr,null,String(e))}function jr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:$r(e)}function Nr(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Nr(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Tr in t?3===r&&Zt&&(1===Zt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Zt}}else m(t)?(t={default:t,_ctx:Zt},n=32):(t=String(t),64&r?(n=16,t=[Ir(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=H([t.class,r.class]));else if("style"===e)t.style=V([t.style,r.style]);else if(s(e)){const n=t[e],o=r[e];!o||n===o||f(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=r[e])}return t}function Ur(e,t,n,r=null){Rt(e,t,7,[n,r])}const Br=Kn();let Wr=0;function Dr(e,n,r){const o=e.type,s=(n?n.appContext:e.appContext)||Br,i={uid:Wr++,vnode:e,type:o,parent:n,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new ce(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:nr(o,s),emitsOptions:Jt(o,s),emit:null,emitted:null,propsDefaults:t,inheritAttrs:o.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.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=n?n.root:i,i.emit=Kt.bind(null,i),e.ce&&e.ce(i),i}let Hr,zr,qr=null;{const e=N(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};Hr=t("__VUE_INSTANCE_SETTERS__",(e=>qr=e)),zr=t("__VUE_SSR_SETTERS__",(e=>Zr=e))}const Gr=e=>{Hr(e),e.scope.on()},Kr=()=>{qr&&qr.scope.off(),Hr(null)};function Jr(e){return 4&e.vnode.shapeFlag}let Xr,Zr=!1;function Qr(e,t=!1){t&&zr(t);const{props:n,children:r}=e.vnode,o=Jr(e);Yn(e,n,o,t),pr(e,r);const s=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=bt(new Proxy(e.ctx,$n));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Pe(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null;Gr(e),ve();const o=Pt(r,e,0,[e.props,n]);if(ye(),Kr(),_(o)){if(o.then(Kr,Kr),t)return o.then((n=>{Yr(e,n,t)})).catch((t=>{Tt(t,e,0)}));e.asyncDep=o}else Yr(e,o,t)}else eo(e,t)}(e,t):void 0;return t&&zr(!1),s}function Yr(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=Et(t)),eo(e,n)}function eo(e,t,n){const o=e.type;if(!e.render){if(!t&&Xr&&!o.render){const t=o.template||Un(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:i}=o,c=l(l({isCustomElement:n,delimiters:s},r),i);o.render=Xr(t,c)}}e.render=o.render||r}Gr(e),ve();try{jn(e)}finally{ye(),Kr()}}function to(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Et(bt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Mn?Mn[n](e):void 0,has:(e,t)=>t in e||t in Mn}))}const no=(e,t)=>function(e,t,n=!1){let o,s;const i=m(e);return i?(o=e,s=r):(o=e.get,s=e.set),new St(o,s,i||!s,n)}(e,0,Zr),ro=Symbol.for("v-scx"),oo=()=>Qn(ro),so="3.4.0-rc.2",io={createComponentInstance:Dr,setupComponent:Qr,renderComponentRoot:en,setCurrentRenderingInstance:Yt,isVNode:Pr,normalizeVNode:Lr},lo="undefined"!=typeof document?document:null,co=lo&&lo.createElement("template"),uo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o="svg"===t?lo.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?lo.createElementNS("http://www.w3.org/1998/Math/MathML",e):lo.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>lo.createTextNode(e),createComment:e=>lo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==s&&(o=o.nextSibling););else{co.innerHTML="svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e;const o=co.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ao=Symbol("_vtc");const fo=Symbol("_vod"),po={beforeMount(e,{value:t},{transition:n}){e[fo]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ho(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ho(e,!0),r.enter(e)):r.leave(e,(()=>{ho(e,!1)})):ho(e,t))},beforeUnmount(e,{value:t}){ho(e,t)}};function ho(e,t){e.style.display=t?e[fo]:"none"}const mo=Symbol("");const go=/\s*!important$/;function vo(e,t,n){if(f(n))n.forEach((n=>vo(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=_o[t];if(n)return n;let r=P(t);if("filter"!==r&&r in e)return _o[t]=r;r=F(r);for(let o=0;o<yo.length;o++){const n=yo[o]+r;if(n in e)return _o[t]=n}return t}(e,t);go.test(n)?e.setProperty(T(r),n.replace(go,""),"important"):e[r]=n}}const yo=["Webkit","Moz","ms"],_o={};const bo="http://www.w3.org/1999/xlink";function xo(e,t,n,r){e.addEventListener(t,n,r)}const wo=Symbol("_vei");function So(e,t,n,r,o=null){const s=e[wo]||(e[wo]={}),i=s[t];if(r&&i)i.value=r;else{const[n,l]=function(e){let t;if(Co.test(e)){let n;for(t={};n=e.match(Co);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):T(e.slice(2));return[n,t]}(t);if(r){const i=s[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Rt(function(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Eo(),n}(r,o);xo(e,n,i,l)}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,l),s[t]=void 0)}}const Co=/(?:Once|Passive|Capture)$/;let ko=0;const Oo=Promise.resolve(),Eo=()=>ko||(Oo.then((()=>ko=0)),ko=Date.now());const Po=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Ro=e=>{const t=e.props["onUpdate:modelValue"]||!1;return f(t)?e=>$(t,e):t};function To(e){e.target.composing=!0}function Fo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mo=Symbol("_assign"),Ao={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Mo]=Ro(o);const s=r||o.props&&"number"===o.props.type;xo(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),s&&(r=L(r)),e[Mo](r)})),n&&xo(e,"change",(()=>{e.value=e.value.trim()})),t||(xo(e,"compositionstart",To),xo(e,"compositionend",Fo),xo(e,"change",Fo))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[Mo]=Ro(s),e.composing)return;const i=null==t?"":t;if((o||"number"===e.type?L(e.value):e.value)!==i){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(r&&e.value.trim()===i)return}e.value=i}}};const $o=l({patchProp:(e,t,n,r,o,l,c,u,a)=>{const f="svg"===o;"class"===t?function(e,t,n){const r=e[ao];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,f):"style"===t?function(e,t,n){const r=e.style,o=g(n);if(n&&!o){if(t&&!g(t))for(const e in t)null==n[e]&&vo(r,e,"");for(const e in n)vo(r,e,n[e])}else{const s=r.display;if(o){if(t!==n){const e=r[mo];e&&(n+=";"+e),r.cssText=n}}else t&&e.removeAttribute("style");fo in e&&(r.display=s)}}(e,n,r):s(t)?i(t)||So(e,t,0,r,c):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Po(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Po(t)&&g(n))return!1;return t in e}(e,t,r,f))?function(e,t,n,r,o,s,i){if("innerHTML"===t||"textContent"===t)return r&&i(r,o,s),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){e._value=n;const r=null==n?"":n;return("OPTION"===l?e.getAttribute("value"):e.value)!==r&&(e.value=r),void(null==n&&e.removeAttribute(t))}let c=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=X(n):null==n&&"string"===r?(n="",c=!0):"number"===r&&(n=0,c=!0)}try{e[t]=n}catch(u){}c&&e.removeAttribute(t)}(e,t,r,l,c,u,a):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(bo,t.slice(6,t.length)):e.setAttributeNS(bo,t,n);else{const r=K(t);null==n||r&&!X(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}(e,t,r,f))}},uo);let Io;const Lo=(...e)=>{const t=(Io||(Io=gr($o))).createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(g(e)){return document.querySelector(e)}return e}(e);if(!r)return;const o=t._component;m(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};let jo=!1;const No=e(",key,ref,innerHTML,textContent,ref_key,ref_for");function Vo(e,t){let n="";for(const r in e){if(No(r)||s(r)||"textarea"===t&&"value"===r)continue;const o=e[r];n+="class"===r?` class="${Do(o)}"`:"style"===r?` style="${Ho(o)}"`:Uo(r,o,t)}return n}function Uo(e,t,n){if(!Wo(t))return"";const r=n&&(n.indexOf("-")>0||z(n))?e:Y[e]||e.toLowerCase();return J(r)?X(t)?` ${r}`:"":function(e){if(Q.hasOwnProperty(e))return Q[e];const t=Z.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Q[e]=!t}(r)?""===t?` ${r}`:` ${r}="${te(t)}"`:(console.warn(`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${r}`),"")}function Bo(e,t){return Wo(t)?` ${e}="${te(t)}"`:""}function Wo(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}function Do(e){return te(H(e))}function Ho(e){if(!e)return"";if(g(e))return te(e);return te(function(e){let t="";if(!e||g(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:T(n);(g(r)||"number"==typeof r)&&(t+=`${o}:${r};`)}return t}(V(e)))}function zo(e,t=null,n=null,r=null,o){return ps(Ar(e,t,n),r,o)}function qo(e,t,n,r,o,s,i){o("\x3c!--[--\x3e"),Go(e,t,n,r,o,s,i),o("\x3c!--]--\x3e")}function Go(e,t,n,r,o,s,i,l){const c=e[t];if(c){const e=[],t=c(n,(t=>{e.push(t)}),s,i?" "+i:"");if(f(t))ms(o,t,s,i);else{let t=!0;if(l)t=!1;else for(let n=0;n<e.length;n++)if(!Xo(e[n])){t=!1;break}if(t)r&&r();else for(let n=0;n<e.length;n++)o(e[n])}}else r&&r()}const Ko=/^<!--.*-->$/s,Jo=/<!--[^]*?-->/gm;function Xo(e){return!("string"!=typeof e||!Ko.test(e))&&(e.length<=8||!e.replace(Jo,"").trim())}function Zo(e,t,n,r,o){e("\x3c!--teleport start--\x3e");const s=o.appContext.provides[ro],i=s.__teleportBuffers||(s.__teleportBuffers={}),l=i[n]||(i[n]=[]),c=l.length;let u;if(r)t(e),u="\x3c!--teleport anchor--\x3e";else{const{getBuffer:e,push:n}=fs();t(n),n("\x3c!--teleport anchor--\x3e"),u=e()}l.splice(c,0,u),e("\x3c!--teleport end--\x3e")}function Qo(e){return te(g(t=e)?t:null==t?"":f(t)||y(t)&&(t.toString===b||!m(t.toString))?JSON.stringify(t,oe,2):String(t));var t}function Yo(e,t){if(f(e)||g(e))for(let n=0,r=e.length;n<r;n++)t(e[n],n);else if("number"==typeof e)for(let n=0;n<e;n++)t(n+1,n);else if(y(e))if(e[Symbol.iterator]){const n=Array.from(e);for(let e=0,r=n.length;e<r;e++)t(n[e],e)}else{const n=Object.keys(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o,r)}}}async function es(e,{default:t}){t?t():e("\x3c!----\x3e")}function ts(e,t,n,r,o={}){return"function"!=typeof t&&t.getSSRProps&&t.getSSRProps({dir:t,instance:e,value:n,oldValue:void 0,arg:r,modifiers:o},null)||{}}const ns=re;function rs(e,t){return function(e,t){return e.findIndex((e=>re(e,t)))}(e,t)>-1}function os(e,t,n){switch(e){case"radio":return re(t,n)?" checked":"";case"checkbox":return(f(t)?rs(t,n):t)?" checked":"";default:return Bo("value",t)}}function ss(e={},t){const{type:n,value:r}=e;switch(n){case"radio":return re(t,r)?{checked:!0}:null;case"checkbox":return(f(t)?rs(t,r):t)?{checked:!0}:null;default:return{value:t}}}const{createComponentInstance:is,setCurrentRenderingInstance:ls,setupComponent:cs,renderComponentRoot:us,normalizeVNode:as}=io;function fs(){let e=!1;const t=[];return{getBuffer:()=>t,push(n){const r=g(n);e&&r?t[t.length-1]+=n:t.push(n),e=r,(_(n)||f(n)&&n.hasAsync)&&(t.hasAsync=!0)}}}function ps(e,t=null,n){const r=is(e,t,null),o=cs(r,!0),s=_(o),i=r.sp;if(s||i){let e=s?o:Promise.resolve();return i&&(e=e.then((()=>Promise.all(i.map((e=>e.call(r.proxy)))))).catch((()=>{}))),e.then((()=>ds(r,n)))}return ds(r,n)}function ds(e,t){const n=e.type,{getBuffer:o,push:s}=fs();if(m(n)){let r=us(e);if(!n.props)for(const t in e.attrs)t.startsWith("data-v-")&&((r.props||(r.props={}))[t]="");hs(s,e.subTree=r,e,t)}else{e.render&&e.render!==r||e.ssrRender||n.ssrRender||!g(n.template)||(n.ssrRender=function(e,t){throw new Error("On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.")}());for(const t of e.scope.effects)t.computed&&(t.computed._dirty=!0,t.computed._cacheable=!0);const o=e.ssrRender||n.ssrRender;if(o){let n=!1!==e.inheritAttrs?e.attrs:void 0,r=!1,i=e;for(;;){const e=i.vnode.scopeId;e&&(r||(n={...n},r=!0),n[e]="");const t=i.parent;if(!t||!t.subTree||t.subTree!==i.vnode)break;i=t}t&&(r||(n={...n}),n[t.trim()]="");const l=ls(e);try{o(e.proxy,s,e,n,e.props,e.setupState,e.data,e.ctx)}finally{ls(l)}}else e.render&&e.render!==r?hs(s,e.subTree=us(e),e,t):s("\x3c!----\x3e")}return o()}function hs(e,t,n,r){const{type:o,shapeFlag:s,children:i}=t;switch(o){case wr:e(te(i));break;case Sr:e(i?`\x3c!--${l=i,l.replace(ne,"")}--\x3e`:"\x3c!----\x3e");break;case Cr:e(i);break;case xr:t.slotScopeIds&&(r=(r?r+" ":"")+t.slotScopeIds.join(" ")),e("\x3c!--[--\x3e"),ms(e,i,n,r),e("\x3c!--]--\x3e");break;default:1&s?function(e,t,n,r){const o=t.type;let{props:s,children:i,shapeFlag:l,scopeId:c,dirs:u}=t,a=`<${o}`;u&&(s=function(e,t,n){const r=[];for(let o=0;o<n.length;o++){const t=n[o],{dir:{getSSRProps:s}}=t;if(s){const n=s(t,e);n&&r.push(n)}}return Vr(t||{},...r)}(t,s,u));s&&(a+=Vo(s,o));c&&(a+=` ${c}`);let f=n,p=t;for(;f&&p===f.subTree;)p=f.vnode,p.scopeId&&(a+=` ${p.scopeId}`),f=f.parent;r&&(a+=` ${r}`);if(e(a+">"),!q(o)){let t=!1;s&&(s.innerHTML?(t=!0,e(s.innerHTML)):s.textContent?(t=!0,e(te(s.textContent))):"textarea"===o&&s.value&&(t=!0,e(te(s.value)))),t||(8&l?e(te(i)):16&l&&ms(e,i,n,r)),e(`</${o}>`)}}(e,t,n,r):6&s?e(ps(t,n,r)):64&s?function(e,t,n,r){const o=t.props&&t.props.to,s=t.props&&t.props.disabled;if(!o)return[];if(!g(o))return[];Zo(e,(e=>{ms(e,t.children,n,r)}),o,s||""===s,n)}(e,t,n,r):128&s&&hs(e,t.ssContent,n,r)}var l}function ms(e,t,n,r){for(let o=0;o<t.length;o++)hs(e,as(t[o]),n,r)}const{isVNode:gs}=io;async function vs(e){if(e.hasAsync){let t="";for(let n=0;n<e.length;n++){let r=e[n];_(r)&&(r=await r),g(r)?t+=r:t+=await vs(r)}return t}return ys(e)}function ys(e){let t="";for(let n=0;n<e.length;n++){let r=e[n];g(r)?t+=r:t+=ys(r)}return t}async function _s(e,t={}){if(gs(e))return _s(Lo({render:()=>e}),t);const n=Ar(e._component,e._props);n.appContext=e._context,e.provide(ro,t);const r=await ps(n),o=await vs(r);if(await bs(t),t.__watcherHandles)for(const s of t.__watcherHandles)s();return o}async function bs(e){if(e.__teleportBuffers){e.teleports=e.teleports||{};for(const t in e.__teleportBuffers)e.teleports[t]=await vs(await Promise.all([e.__teleportBuffers[t]]))}}const{isVNode:xs}=io;async function ws(e,t){if(e.hasAsync)for(let n=0;n<e.length;n++){let r=e[n];_(r)&&(r=await r),g(r)?t.push(r):await ws(r,t)}else Ss(e,t)}function Ss(e,t){for(let n=0;n<e.length;n++){let r=e[n];g(r)?t.push(r):Ss(r,t)}}function Cs(e,t,n){if(xs(e))return Cs(Lo({render:()=>e}),t,n);const r=Ar(e._component,e._props);return r.appContext=e._context,e.provide(ro,t),Promise.resolve(ps(r)).then((e=>ws(e,n))).then((()=>bs(t))).then((()=>{if(t.__watcherHandles)for(const e of t.__watcherHandles)e()})).then((()=>n.push(null))).catch((e=>{n.destroy(e)})),n}function ks(e,t={}){return console.warn("[@vue/server-renderer] renderToStream is deprecated - use renderToNodeStream instead."),Os(e,t)}function Os(e,t={}){throw new Error("ESM build of renderToStream() does not support renderToNodeStream(). Use pipeToNodeWritable() with an existing Node.js Writable stream instance instead.")}function Es(e,t={},n){Cs(e,t,{push(e){null!=e?n.write(e):n.end()},destroy(e){n.destroy(e)}})}function Ps(e,t={}){if("function"!=typeof ReadableStream)throw new Error("ReadableStream constructor is not available in the global scope. If the target environment does support web streams, consider using pipeToWebWritable() with an existing WritableStream instance instead.");const n=new TextEncoder;let r=!1;return new ReadableStream({start(o){Cs(e,t,{push(e){r||(null!=e?o.enqueue(n.encode(e)):o.close())},destroy(e){o.error(e)}})},cancel(){r=!0}})}function Rs(e,t={},n){const r=n.getWriter(),o=new TextEncoder;let s=!1;try{s=_(r.ready)}catch(i){}Cs(e,t,{push:async e=>(s&&await r.ready,null!=e?r.write(o.encode(e)):r.close()),destroy(e){console.log(e),r.close()}})}jo||(jo=!0,Ao.getSSRProps=({value:e})=>({value:e}),po.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}});export{Es as pipeToNodeWritable,Rs as pipeToWebWritable,Os as renderToNodeStream,Cs as renderToSimpleStream,ks as renderToStream,_s as renderToString,Ps as renderToWebStream,ts as ssrGetDirectiveProps,ss as ssrGetDynamicModelProps,X as ssrIncludeBooleanAttr,Qo as ssrInterpolate,rs as ssrLooseContain,ns as ssrLooseEqual,Bo as ssrRenderAttr,Vo as ssrRenderAttrs,Do as ssrRenderClass,zo as ssrRenderComponent,Uo as ssrRenderDynamicAttr,os as ssrRenderDynamicModel,Yo as ssrRenderList,qo as ssrRenderSlot,Go as ssrRenderSlotInner,Ho as ssrRenderStyle,es as ssrRenderSuspense,Zo as ssrRenderTeleport,hs as ssrRenderVNode};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createVNode, ssrContextKey, warn as warn$
|
|
2
|
-
import { makeMap, isOn, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, escapeHtml, normalizeClass, isString, normalizeStyle, stringifyStyle, isArray, toDisplayString, isFunction, getGlobalThis, isObject, looseEqual, looseIndexOf, isPromise,
|
|
1
|
+
import { createVNode, ssrContextKey, warn as warn$2, Fragment, Static, Comment, Text, mergeProps, ssrUtils, createApp, initDirectivesForSSR } from 'vue';
|
|
2
|
+
import { makeMap, isOn, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, escapeHtml, normalizeClass, isString, normalizeStyle, stringifyStyle, isArray, toDisplayString, isFunction, getGlobalThis, NOOP, isObject, looseEqual, looseIndexOf, isPromise, escapeHtmlComment, isVoidTag } from '@vue/shared';
|
|
3
3
|
export { includeBooleanAttr as ssrIncludeBooleanAttr } from '@vue/shared';
|
|
4
4
|
|
|
5
5
|
const shouldIgnoreProp = makeMap(
|
|
@@ -188,9 +188,7 @@ function pushWarningContext(vnode) {
|
|
|
188
188
|
function popWarningContext() {
|
|
189
189
|
stack.pop();
|
|
190
190
|
}
|
|
191
|
-
function warn(msg, ...args) {
|
|
192
|
-
if (!!!(process.env.NODE_ENV !== "production"))
|
|
193
|
-
return;
|
|
191
|
+
function warn$1(msg, ...args) {
|
|
194
192
|
pauseTracking();
|
|
195
193
|
const instance = stack.length ? stack[stack.length - 1].component : null;
|
|
196
194
|
const appWarnHandler = instance && instance.appContext.config.warnHandler;
|
|
@@ -364,7 +362,7 @@ function logError(err, type, contextVNode, throwInDev = true) {
|
|
|
364
362
|
if (contextVNode) {
|
|
365
363
|
pushWarningContext(contextVNode);
|
|
366
364
|
}
|
|
367
|
-
warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
365
|
+
warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
368
366
|
if (contextVNode) {
|
|
369
367
|
popWarningContext();
|
|
370
368
|
}
|
|
@@ -378,6 +376,38 @@ function logError(err, type, contextVNode, throwInDev = true) {
|
|
|
378
376
|
}
|
|
379
377
|
}
|
|
380
378
|
|
|
379
|
+
let devtools;
|
|
380
|
+
let buffer = [];
|
|
381
|
+
function setDevtoolsHook(hook, target) {
|
|
382
|
+
var _a, _b;
|
|
383
|
+
devtools = hook;
|
|
384
|
+
if (devtools) {
|
|
385
|
+
devtools.enabled = true;
|
|
386
|
+
buffer.forEach(({ event, args }) => devtools.emit(event, ...args));
|
|
387
|
+
buffer = [];
|
|
388
|
+
} else if (
|
|
389
|
+
// handle late devtools injection - only do this if we are in an actual
|
|
390
|
+
// browser environment to avoid the timer handle stalling test runner exit
|
|
391
|
+
// (#4815)
|
|
392
|
+
typeof window !== "undefined" && // some envs mock window but not fully
|
|
393
|
+
window.HTMLElement && // also exclude jsdom
|
|
394
|
+
!((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes("jsdom"))
|
|
395
|
+
) {
|
|
396
|
+
const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];
|
|
397
|
+
replay.push((newHook) => {
|
|
398
|
+
setDevtoolsHook(newHook, target);
|
|
399
|
+
});
|
|
400
|
+
setTimeout(() => {
|
|
401
|
+
if (!devtools) {
|
|
402
|
+
target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;
|
|
403
|
+
buffer = [];
|
|
404
|
+
}
|
|
405
|
+
}, 3e3);
|
|
406
|
+
} else {
|
|
407
|
+
buffer = [];
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
|
|
381
411
|
{
|
|
382
412
|
const g = getGlobalThis();
|
|
383
413
|
const registerGlobalSetter = (key, setter) => {
|
|
@@ -429,6 +459,10 @@ function formatComponentName(instance, Component, isRoot = false) {
|
|
|
429
459
|
return name ? classify(name) : isRoot ? `App` : `Anonymous`;
|
|
430
460
|
}
|
|
431
461
|
|
|
462
|
+
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
463
|
+
!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__ ? devtools : void 0;
|
|
464
|
+
!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__ ? setDevtoolsHook : NOOP;
|
|
465
|
+
|
|
432
466
|
function ssrRenderList(source, renderItem) {
|
|
433
467
|
if (isArray(source) || isString(source)) {
|
|
434
468
|
for (let i = 0, l = source.length; i < l; i++) {
|
|
@@ -641,7 +675,7 @@ function renderComponentSubTree(instance, slotScopeId) {
|
|
|
641
675
|
);
|
|
642
676
|
} else {
|
|
643
677
|
const componentName = comp.name || comp.__file || `<Anonymous>`;
|
|
644
|
-
warn$
|
|
678
|
+
warn$2(`Component ${componentName} is missing template or render function.`);
|
|
645
679
|
push(`<!---->`);
|
|
646
680
|
}
|
|
647
681
|
}
|
|
@@ -684,7 +718,7 @@ function renderVNode(push, vnode, parentComponent, slotScopeId) {
|
|
|
684
718
|
} else if (shapeFlag & 128) {
|
|
685
719
|
renderVNode(push, vnode.ssContent, parentComponent, slotScopeId);
|
|
686
720
|
} else {
|
|
687
|
-
warn$
|
|
721
|
+
warn$2(
|
|
688
722
|
"[@vue/server-renderer] Invalid VNode type:",
|
|
689
723
|
type,
|
|
690
724
|
`(${typeof type})`
|
|
@@ -772,12 +806,12 @@ function renderTeleportVNode(push, vnode, parentComponent, slotScopeId) {
|
|
|
772
806
|
const disabled = vnode.props && vnode.props.disabled;
|
|
773
807
|
if (!target) {
|
|
774
808
|
if (!disabled) {
|
|
775
|
-
warn$
|
|
809
|
+
warn$2(`[@vue/server-renderer] Teleport is missing target prop.`);
|
|
776
810
|
}
|
|
777
811
|
return [];
|
|
778
812
|
}
|
|
779
813
|
if (!isString(target)) {
|
|
780
|
-
warn$
|
|
814
|
+
warn$2(
|
|
781
815
|
`[@vue/server-renderer] Teleport target must be a query selector string.`
|
|
782
816
|
);
|
|
783
817
|
return [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/server-renderer",
|
|
3
|
-
"version": "3.4.0-
|
|
3
|
+
"version": "3.4.0-rc.2",
|
|
4
4
|
"description": "@vue/server-renderer",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/server-renderer.esm-bundler.js",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"vue": "3.4.0-
|
|
35
|
+
"vue": "3.4.0-rc.2"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@vue/shared": "3.4.0-
|
|
39
|
-
"@vue/compiler-ssr": "3.4.0-
|
|
38
|
+
"@vue/shared": "3.4.0-rc.2",
|
|
39
|
+
"@vue/compiler-ssr": "3.4.0-rc.2"
|
|
40
40
|
}
|
|
41
41
|
}
|