@vue/compiler-dom 3.3.0-alpha.4 → 3.3.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compiler-dom.cjs.js +2 -2
- package/dist/compiler-dom.cjs.prod.js +2 -2
- package/dist/compiler-dom.d.ts +19 -20
- package/dist/compiler-dom.esm-browser.js +87 -58
- package/dist/compiler-dom.esm-browser.prod.js +1 -1
- package/dist/compiler-dom.global.js +91 -58
- package/dist/compiler-dom.global.prod.js +1 -1
- package/package.json +3 -3
package/dist/compiler-dom.cjs.js
CHANGED
|
@@ -3039,6 +3039,6 @@ exports.createDOMCompilerError = createDOMCompilerError;
|
|
|
3039
3039
|
exports.parse = parse;
|
|
3040
3040
|
exports.parserOptions = parserOptions;
|
|
3041
3041
|
exports.transformStyle = transformStyle;
|
|
3042
|
-
Object.keys(compilerCore).forEach(function(k) {
|
|
3043
|
-
if (k !== 'default') exports[k] = compilerCore[k];
|
|
3042
|
+
Object.keys(compilerCore).forEach(function (k) {
|
|
3043
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = compilerCore[k];
|
|
3044
3044
|
});
|
|
@@ -2976,6 +2976,6 @@ exports.createDOMCompilerError = createDOMCompilerError;
|
|
|
2976
2976
|
exports.parse = parse;
|
|
2977
2977
|
exports.parserOptions = parserOptions;
|
|
2978
2978
|
exports.transformStyle = transformStyle;
|
|
2979
|
-
Object.keys(compilerCore).forEach(function(k) {
|
|
2980
|
-
if (k !== 'default') exports[k] = compilerCore[k];
|
|
2979
|
+
Object.keys(compilerCore).forEach(function (k) {
|
|
2980
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = compilerCore[k];
|
|
2981
2981
|
});
|
package/dist/compiler-dom.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { ParserOptions, NodeTransform, SourceLocation, CompilerError, DirectiveTransform, CompilerOptions, CodegenResult, RootNode } from '@vue/compiler-core';
|
|
2
2
|
export * from '@vue/compiler-core';
|
|
3
3
|
|
|
4
|
-
declare const parserOptions: ParserOptions;
|
|
4
|
+
export declare const parserOptions: ParserOptions;
|
|
5
5
|
|
|
6
|
-
declare const V_MODEL_RADIO: unique symbol;
|
|
7
|
-
declare const V_MODEL_CHECKBOX: unique symbol;
|
|
8
|
-
declare const V_MODEL_TEXT: unique symbol;
|
|
9
|
-
declare const V_MODEL_SELECT: unique symbol;
|
|
10
|
-
declare const V_MODEL_DYNAMIC: unique symbol;
|
|
11
|
-
declare const V_ON_WITH_MODIFIERS: unique symbol;
|
|
12
|
-
declare const V_ON_WITH_KEYS: unique symbol;
|
|
13
|
-
declare const V_SHOW: unique symbol;
|
|
14
|
-
declare const TRANSITION: unique symbol;
|
|
15
|
-
declare const TRANSITION_GROUP: unique symbol;
|
|
6
|
+
export declare const V_MODEL_RADIO: unique symbol;
|
|
7
|
+
export declare const V_MODEL_CHECKBOX: unique symbol;
|
|
8
|
+
export declare const V_MODEL_TEXT: unique symbol;
|
|
9
|
+
export declare const V_MODEL_SELECT: unique symbol;
|
|
10
|
+
export declare const V_MODEL_DYNAMIC: unique symbol;
|
|
11
|
+
export declare const V_ON_WITH_MODIFIERS: unique symbol;
|
|
12
|
+
export declare const V_ON_WITH_KEYS: unique symbol;
|
|
13
|
+
export declare const V_SHOW: unique symbol;
|
|
14
|
+
export declare const TRANSITION: unique symbol;
|
|
15
|
+
export declare const TRANSITION_GROUP: unique symbol;
|
|
16
16
|
|
|
17
|
-
declare const transformStyle: NodeTransform;
|
|
17
|
+
export declare const transformStyle: NodeTransform;
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
interface DOMCompilerError extends CompilerError {
|
|
20
20
|
code: DOMErrorCodes;
|
|
21
21
|
}
|
|
22
|
-
declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
|
|
23
|
-
declare const enum DOMErrorCodes {
|
|
22
|
+
export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
|
|
23
|
+
export declare const enum DOMErrorCodes {
|
|
24
24
|
X_V_HTML_NO_EXPRESSION = 51,
|
|
25
25
|
X_V_HTML_WITH_CHILDREN = 52,
|
|
26
26
|
X_V_TEXT_NO_EXPRESSION = 53,
|
|
@@ -35,9 +35,8 @@ declare const enum DOMErrorCodes {
|
|
|
35
35
|
__EXTEND_POINT__ = 62
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
declare const DOMNodeTransforms: NodeTransform[];
|
|
39
|
-
declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
|
|
40
|
-
declare function compile(template: string, options?: CompilerOptions): CodegenResult;
|
|
41
|
-
declare function parse(template: string, options?: ParserOptions): RootNode;
|
|
38
|
+
export declare const DOMNodeTransforms: NodeTransform[];
|
|
39
|
+
export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
|
|
40
|
+
export declare function compile(template: string, options?: CompilerOptions): CodegenResult;
|
|
41
|
+
export declare function parse(template: string, options?: ParserOptions): RootNode;
|
|
42
42
|
|
|
43
|
-
export { DOMDirectiveTransforms, DOMErrorCodes, DOMNodeTransforms, TRANSITION, TRANSITION_GROUP, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, compile, createDOMCompilerError, parse, parserOptions, transformStyle };
|
|
@@ -7,6 +7,46 @@ function makeMap(str, expectsLowerCase) {
|
|
|
7
7
|
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
const EMPTY_OBJ = Object.freeze({}) ;
|
|
11
|
+
const NOOP = () => {
|
|
12
|
+
};
|
|
13
|
+
const NO = () => false;
|
|
14
|
+
const onRE = /^on[^a-z]/;
|
|
15
|
+
const isOn = (key) => onRE.test(key);
|
|
16
|
+
const extend = Object.assign;
|
|
17
|
+
const isArray = Array.isArray;
|
|
18
|
+
const isString = (val) => typeof val === "string";
|
|
19
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
20
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
21
|
+
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
22
|
+
// the leading comma is intentional so empty string "" is also included
|
|
23
|
+
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
24
|
+
);
|
|
25
|
+
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
26
|
+
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
27
|
+
);
|
|
28
|
+
const cacheStringFunction = (fn) => {
|
|
29
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
30
|
+
return (str) => {
|
|
31
|
+
const hit = cache[str];
|
|
32
|
+
return hit || (cache[str] = fn(str));
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
const camelizeRE = /-(\w)/g;
|
|
36
|
+
const camelize = cacheStringFunction((str) => {
|
|
37
|
+
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
38
|
+
});
|
|
39
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
40
|
+
const hyphenate = cacheStringFunction(
|
|
41
|
+
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
42
|
+
);
|
|
43
|
+
const capitalize = cacheStringFunction(
|
|
44
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
45
|
+
);
|
|
46
|
+
const toHandlerKey = cacheStringFunction(
|
|
47
|
+
(str) => str ? `on${capitalize(str)}` : ``
|
|
48
|
+
);
|
|
49
|
+
|
|
10
50
|
const PatchFlagNames = {
|
|
11
51
|
[1]: `TEXT`,
|
|
12
52
|
[2]: `CLASS`,
|
|
@@ -91,46 +131,6 @@ const isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);
|
|
|
91
131
|
const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
|
|
92
132
|
const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
|
|
93
133
|
|
|
94
|
-
const EMPTY_OBJ = Object.freeze({}) ;
|
|
95
|
-
const NOOP = () => {
|
|
96
|
-
};
|
|
97
|
-
const NO = () => false;
|
|
98
|
-
const onRE = /^on[^a-z]/;
|
|
99
|
-
const isOn = (key) => onRE.test(key);
|
|
100
|
-
const extend = Object.assign;
|
|
101
|
-
const isArray = Array.isArray;
|
|
102
|
-
const isString = (val) => typeof val === "string";
|
|
103
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
104
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
105
|
-
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
106
|
-
// the leading comma is intentional so empty string "" is also included
|
|
107
|
-
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
108
|
-
);
|
|
109
|
-
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
110
|
-
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
111
|
-
);
|
|
112
|
-
const cacheStringFunction = (fn) => {
|
|
113
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
114
|
-
return (str) => {
|
|
115
|
-
const hit = cache[str];
|
|
116
|
-
return hit || (cache[str] = fn(str));
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
const camelizeRE = /-(\w)/g;
|
|
120
|
-
const camelize = cacheStringFunction((str) => {
|
|
121
|
-
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
122
|
-
});
|
|
123
|
-
const hyphenateRE = /\B([A-Z])/g;
|
|
124
|
-
const hyphenate = cacheStringFunction(
|
|
125
|
-
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
126
|
-
);
|
|
127
|
-
const capitalize = cacheStringFunction(
|
|
128
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
129
|
-
);
|
|
130
|
-
const toHandlerKey = cacheStringFunction(
|
|
131
|
-
(str) => str ? `on${capitalize(str)}` : ``
|
|
132
|
-
);
|
|
133
|
-
|
|
134
134
|
function defaultOnError(error) {
|
|
135
135
|
throw error;
|
|
136
136
|
}
|
|
@@ -466,6 +466,20 @@ function createReturnStatement(returns) {
|
|
|
466
466
|
loc: locStub
|
|
467
467
|
};
|
|
468
468
|
}
|
|
469
|
+
function getVNodeHelper(ssr, isComponent) {
|
|
470
|
+
return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;
|
|
471
|
+
}
|
|
472
|
+
function getVNodeBlockHelper(ssr, isComponent) {
|
|
473
|
+
return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;
|
|
474
|
+
}
|
|
475
|
+
function convertToBlock(node, { helper, removeHelper, inSSR }) {
|
|
476
|
+
if (!node.isBlock) {
|
|
477
|
+
node.isBlock = true;
|
|
478
|
+
removeHelper(getVNodeHelper(inSSR, node.isComponent));
|
|
479
|
+
helper(OPEN_BLOCK);
|
|
480
|
+
helper(getVNodeBlockHelper(inSSR, node.isComponent));
|
|
481
|
+
}
|
|
482
|
+
}
|
|
469
483
|
|
|
470
484
|
const isStaticExp = (p) => p.type === 4 && p.isStatic;
|
|
471
485
|
const isBuiltInType = (tag, expected) => tag === expected || tag === hyphenate(expected);
|
|
@@ -636,12 +650,6 @@ function isTemplateNode(node) {
|
|
|
636
650
|
function isSlotOutlet(node) {
|
|
637
651
|
return node.type === 1 && node.tagType === 2;
|
|
638
652
|
}
|
|
639
|
-
function getVNodeHelper(ssr, isComponent) {
|
|
640
|
-
return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;
|
|
641
|
-
}
|
|
642
|
-
function getVNodeBlockHelper(ssr, isComponent) {
|
|
643
|
-
return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;
|
|
644
|
-
}
|
|
645
653
|
const propsHelperSet = /* @__PURE__ */ new Set([NORMALIZE_PROPS, GUARD_REACTIVE_PROPS]);
|
|
646
654
|
function getUnnormalizedProps(props, callPath = []) {
|
|
647
655
|
if (props && !isString(props) && props.type === 14) {
|
|
@@ -774,14 +782,6 @@ function getMemoedVNodeCall(node) {
|
|
|
774
782
|
return node;
|
|
775
783
|
}
|
|
776
784
|
}
|
|
777
|
-
function makeBlock(node, { helper, removeHelper, inSSR }) {
|
|
778
|
-
if (!node.isBlock) {
|
|
779
|
-
node.isBlock = true;
|
|
780
|
-
removeHelper(getVNodeHelper(inSSR, node.isComponent));
|
|
781
|
-
helper(OPEN_BLOCK);
|
|
782
|
-
helper(getVNodeBlockHelper(inSSR, node.isComponent));
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
785
|
|
|
786
786
|
const deprecationData = {
|
|
787
787
|
["COMPILER_IS_ON_ELEMENT"]: {
|
|
@@ -2043,7 +2043,7 @@ function createRootCodegen(root, context) {
|
|
|
2043
2043
|
if (isSingleElementRoot(root, child) && child.codegenNode) {
|
|
2044
2044
|
const codegenNode = child.codegenNode;
|
|
2045
2045
|
if (codegenNode.type === 13) {
|
|
2046
|
-
|
|
2046
|
+
convertToBlock(codegenNode, context);
|
|
2047
2047
|
}
|
|
2048
2048
|
root.codegenNode = codegenNode;
|
|
2049
2049
|
} else {
|
|
@@ -2804,6 +2804,35 @@ const isFunctionType = (node) => {
|
|
|
2804
2804
|
};
|
|
2805
2805
|
const isStaticProperty = (node) => node && (node.type === "ObjectProperty" || node.type === "ObjectMethod") && !node.computed;
|
|
2806
2806
|
const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
|
|
2807
|
+
function getImportedName(specifier) {
|
|
2808
|
+
if (specifier.type === "ImportSpecifier")
|
|
2809
|
+
return specifier.imported.type === "Identifier" ? specifier.imported.name : specifier.imported.value;
|
|
2810
|
+
else if (specifier.type === "ImportNamespaceSpecifier")
|
|
2811
|
+
return "*";
|
|
2812
|
+
return "default";
|
|
2813
|
+
}
|
|
2814
|
+
const TS_NODE_TYPES = [
|
|
2815
|
+
"TSAsExpression",
|
|
2816
|
+
// foo as number
|
|
2817
|
+
"TSTypeAssertion",
|
|
2818
|
+
// (<number>foo)
|
|
2819
|
+
"TSNonNullExpression",
|
|
2820
|
+
// foo!
|
|
2821
|
+
"TSInstantiationExpression",
|
|
2822
|
+
// foo<string>
|
|
2823
|
+
"TSSatisfiesExpression"
|
|
2824
|
+
// foo satisfies T
|
|
2825
|
+
];
|
|
2826
|
+
function unwrapTSNode(node) {
|
|
2827
|
+
if (TS_NODE_TYPES.includes(node.type)) {
|
|
2828
|
+
return unwrapTSNode(node.expression);
|
|
2829
|
+
} else {
|
|
2830
|
+
return node;
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
function isCallOf(node, test) {
|
|
2834
|
+
return !!(node && test && node.type === "CallExpression" && node.callee.type === "Identifier" && (typeof test === "string" ? node.callee.name === test : test(node.callee.name)));
|
|
2835
|
+
}
|
|
2807
2836
|
|
|
2808
2837
|
const prohibitedKeywordRE = new RegExp(
|
|
2809
2838
|
"\\b" + "arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b") + "\\b"
|
|
@@ -3062,7 +3091,7 @@ function createChildrenCodegenNode(branch, keyIndex, context) {
|
|
|
3062
3091
|
const ret = firstChild.codegenNode;
|
|
3063
3092
|
const vnodeCall = getMemoedVNodeCall(ret);
|
|
3064
3093
|
if (vnodeCall.type === 13) {
|
|
3065
|
-
|
|
3094
|
+
convertToBlock(vnodeCall, context);
|
|
3066
3095
|
}
|
|
3067
3096
|
injectProp(vnodeCall, keyProperty, context);
|
|
3068
3097
|
return ret;
|
|
@@ -4713,7 +4742,7 @@ const transformMemo = (node, context) => {
|
|
|
4713
4742
|
const codegenNode = node.codegenNode || context.currentNode.codegenNode;
|
|
4714
4743
|
if (codegenNode && codegenNode.type === 13) {
|
|
4715
4744
|
if (node.tagType !== 1) {
|
|
4716
|
-
|
|
4745
|
+
convertToBlock(codegenNode, context);
|
|
4717
4746
|
}
|
|
4718
4747
|
node.codegenNode = createCallExpression(context.helper(WITH_MEMO), [
|
|
4719
4748
|
dir.exp,
|
|
@@ -5274,4 +5303,4 @@ function parse(template, options = {}) {
|
|
|
5274
5303
|
return baseParse(template, extend({}, parserOptions, options));
|
|
5275
5304
|
}
|
|
5276
5305
|
|
|
5277
|
-
export { BASE_TRANSITION, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, DOMDirectiveTransforms, DOMNodeTransforms, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TRANSITION, TRANSITION_GROUP, UNREF, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, compile, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createDOMCompilerError, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, extractIdentifiers, findDir, findProp, generate, generateCodeFrame, getBaseTransformPreset, getConstantType, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBuiltInType, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVSlot, locStub,
|
|
5306
|
+
export { BASE_TRANSITION, CAMELIZE, CAPITALIZE, CREATE_BLOCK, CREATE_COMMENT, CREATE_ELEMENT_BLOCK, CREATE_ELEMENT_VNODE, CREATE_SLOTS, CREATE_STATIC, CREATE_TEXT, CREATE_VNODE, DOMDirectiveTransforms, DOMNodeTransforms, FRAGMENT, GUARD_REACTIVE_PROPS, IS_MEMO_SAME, IS_REF, KEEP_ALIVE, MERGE_PROPS, NORMALIZE_CLASS, NORMALIZE_PROPS, NORMALIZE_STYLE, OPEN_BLOCK, POP_SCOPE_ID, PUSH_SCOPE_ID, RENDER_LIST, RENDER_SLOT, RESOLVE_COMPONENT, RESOLVE_DIRECTIVE, RESOLVE_DYNAMIC_COMPONENT, RESOLVE_FILTER, SET_BLOCK_TRACKING, SUSPENSE, TELEPORT, TO_DISPLAY_STRING, TO_HANDLERS, TO_HANDLER_KEY, TRANSITION, TRANSITION_GROUP, TS_NODE_TYPES, UNREF, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, WITH_CTX, WITH_DIRECTIVES, WITH_MEMO, advancePositionWithClone, advancePositionWithMutation, assert, baseCompile, baseParse, buildDirectiveArgs, buildProps, buildSlots, checkCompatEnabled, compile, convertToBlock, createArrayExpression, createAssignmentExpression, createBlockStatement, createCacheExpression, createCallExpression, createCompilerError, createCompoundExpression, createConditionalExpression, createDOMCompilerError, createForLoopParams, createFunctionExpression, createIfStatement, createInterpolation, createObjectExpression, createObjectProperty, createReturnStatement, createRoot, createSequenceExpression, createSimpleExpression, createStructuralDirectiveTransform, createTemplateLiteral, createTransformContext, createVNodeCall, extractIdentifiers, findDir, findProp, generate, generateCodeFrame, getBaseTransformPreset, getConstantType, getImportedName, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBuiltInType, isCallOf, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText$1 as isText, isVSlot, locStub, noopDirectiveTransform, parse, parserOptions, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, stringifyExpression, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel$1 as transformModel, transformOn$1 as transformOn, transformStyle, traverseNode, unwrapTSNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function t(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")}const n=/;(?![^(]*\))/g,o=/:([^]+)/,r=new RegExp("\\/\\*.*?\\*\\/","gs");const s=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),i=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"),c=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),l={},a=()=>{},p=()=>!1,u=/^on[^a-z]/,f=e=>u.test(e),d=Object.assign,h=Array.isArray,m=e=>"string"==typeof e,g=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,v=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),b=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},x=/-(\w)/g,k=S((e=>e.replace(x,((e,t)=>t?t.toUpperCase():"")))),N=/\B([A-Z])/g,E=S((e=>e.replace(N,"-$1").toLowerCase())),_=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=S((e=>e?`on${_(e)}`:""));function w(e){throw e}function O(e){}function $(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const C=Symbol(""),M=Symbol(""),I=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),j=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Z=Symbol(""),Y=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de=Symbol(""),he=Symbol(""),me={[C]:"Fragment",[M]:"Teleport",[I]:"Suspense",[P]:"KeepAlive",[R]:"BaseTransition",[V]:"openBlock",[L]:"createBlock",[A]:"createElementBlock",[B]:"createVNode",[j]:"createElementVNode",[F]:"createCommentVNode",[D]:"createTextVNode",[H]:"createStaticVNode",[W]:"resolveComponent",[J]:"resolveDynamicComponent",[U]:"resolveDirective",[z]:"resolveFilter",[G]:"withDirectives",[K]:"renderList",[q]:"renderSlot",[Z]:"createSlots",[Y]:"toDisplayString",[Q]:"mergeProps",[X]:"normalizeClass",[ee]:"normalizeStyle",[te]:"normalizeProps",[ne]:"guardReactiveProps",[oe]:"toHandlers",[re]:"camelize",[se]:"capitalize",[ie]:"toHandlerKey",[ce]:"setBlockTracking",[le]:"pushScopeId",[ae]:"popScopeId",[pe]:"withCtx",[ue]:"unref",[fe]:"isRef",[de]:"withMemo",[he]:"isMemoSame"};function ge(e){Object.getOwnPropertySymbols(e).forEach((t=>{me[t]=e[t]}))}const ye={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ve(e,t=ye){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function be(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ye){return e&&(c?(e.helper(V),e.helper(it(e.inSSR,a))):e.helper(st(e.inSSR,a)),i&&e.helper(G)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function Se(e,t=ye){return{type:17,loc:t,elements:e}}function xe(e,t=ye){return{type:15,loc:t,properties:e}}function ke(e,t){return{type:16,loc:ye,key:m(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ye,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ee(e,t){return{type:5,loc:t,content:m(e)?Ne(e,!1,t):e}}function _e(e,t=ye){return{type:8,loc:t,children:e}}function Te(e,t=[],n=ye){return{type:14,loc:n,callee:e,arguments:t}}function we(e,t,n=!1,o=!1,r=ye){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Oe(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ye}}function $e(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ye}}function Ce(e){return{type:21,body:e,loc:ye}}function Me(e){return{type:22,elements:e,loc:ye}}function Ie(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ye}}function Pe(e,t){return{type:24,left:e,right:t,loc:ye}}function Re(e){return{type:25,expressions:e,loc:ye}}function Ve(e){return{type:26,returns:e,loc:ye}}const Le=e=>4===e.type&&e.isStatic,Ae=(e,t)=>e===t||e===E(t);function Be(e){return Ae(e,"Teleport")?M:Ae(e,"Suspense")?I:Ae(e,"KeepAlive")?P:Ae(e,"BaseTransition")?R:void 0}const je=/^\d|[^\$\w]/,Fe=e=>!je.test(e),De=/[A-Za-z_$\xA0-\uFFFF]/,He=/[\.\?\w$\xA0-\uFFFF]/,We=/\s+[.[]\s*|\s*[.[]\s+/g,Je=e=>{e=e.trim().replace(We,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?De:He).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r},Ue=a,ze=Je;function Ge(e,t,n){const o={source:e.source.slice(t,t+n),start:Ke(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ke(e.start,e.source,t+n)),o}function Ke(e,t,n=t.length){return qe(d({},e),t,n)}function qe(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ze(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ye(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(m(t)?r.name===t:t.test(r.name)))return r}}function Qe(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Xe(s.arg,t))return s}}function Xe(e,t){return!(!e||!Le(e)||e.content!==t)}function et(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function tt(e){return 5===e.type||2===e.type}function nt(e){return 7===e.type&&"slot"===e.name}function ot(e){return 1===e.type&&3===e.tagType}function rt(e){return 1===e.type&&2===e.tagType}function st(e,t){return e||t?B:j}function it(e,t){return e||t?L:A}const ct=new Set([te,ne]);function lt(e,t=[]){if(e&&!m(e)&&14===e.type){const n=e.callee;if(!m(n)&&ct.has(n))return lt(e.arguments[0],t.concat(e))}return[e,t]}function at(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!m(s)&&14===s.type){const e=lt(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||m(s))o=xe([t]);else if(14===s.type){const e=s.arguments[0];m(e)||15!==e.type?s.callee===oe?o=Te(n.helper(Q),[xe([t]),s]):s.arguments.unshift(xe([t])):pt(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(pt(t,s)||s.properties.unshift(t),o=s):(o=Te(n.helper(Q),[xe([t]),s]),r&&r.callee===ne&&(r=i[i.length-2]));13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function pt(e,t){let n=!1;if(4===e.key.type){const o=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===o))}return n}function ut(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ft(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(ft(o.arg,t)||ft(o.exp,t)))return!0}return e.children.some((e=>ft(e,t)));case 11:return!!ft(e.source,t)||e.children.some((e=>ft(e,t)));case 9:return e.branches.some((e=>ft(e,t)));case 10:return!!ft(e.condition,t)||e.children.some((e=>ft(e,t)));case 4:return!e.isStatic&&Fe(e.content)&&!!t[e.content];case 8:return e.children.some((e=>y(e)&&ft(e,t)));case 5:case 12:return ft(e.content,t);default:return!1}}function dt(e){return 14===e.type&&e.callee===de?e.arguments[1].returns:e}function ht(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(st(o,e.isComponent)),t(V),t(it(o,e.isComponent)))}const mt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function gt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function yt(e,t){const n=gt("MODE",t),o=gt(e,t);return 3===n?!0===o:!1!==o}function vt(e,t,n,...o){return yt(e,t)}function bt(e,t,n,...o){if("suppress-warning"===gt(e,t))return;const{message:r,link:s}=mt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const St=/&(gt|lt|amp|apos|quot);/g,xt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},kt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:p,isPreTag:p,isCustomElement:p,decodeEntities:e=>e.replace(St,((e,t)=>xt[t])),onError:w,onWarn:O,comments:!1};function Nt(e,t={}){const n=function(e,t){const n=d({},kt);let o;for(o in t)n[o]=void 0===t[o]?kt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Bt(n);return ve(Et(n,0,[]),jt(n,o))}function Et(e,t,n){const o=Ft(n),r=o?o.ns:0,s=[];for(;!zt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Dt(i,e.options.delimiters[0]))c=Vt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Dt(i,"\x3c!--")?wt(e):Dt(i,"<!DOCTYPE")?Ot(e):Dt(i,"<![CDATA[")&&0!==r?Tt(e,n):Ot(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Ht(e,3);continue}if(/[a-z]/i.test(i[2])){It(e,Ct.End,o);continue}Ut(e,12,2),c=Ot(e)}else/[a-z]/i.test(i[1])?(c=$t(e,n),yt("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&Mt(e.name)))&&(c=c.children)):"?"===i[1]&&(Ut(e,21,1),c=Ot(e));if(c||(c=Lt(e,t)),h(c))for(let e=0;e<c.length;e++)_t(s,c[e]);else _t(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(2===o.type)if(e.inPre)o.content=o.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type&&3===r.type||3===e.type&&1===r.type||1===e.type&&3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}else 3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function _t(e,t){if(2===t.type){const n=Ft(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Tt(e,t){Ht(e,9);const n=Et(e,3,t);return 0===e.source.length||Ht(e,3),n}function wt(e){const t=Bt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Ht(e,s-r+1),r=s+1;Ht(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Ht(e,e.source.length);return{type:3,content:n,loc:jt(e,t)}}function Ot(e){const t=Bt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Ht(e,e.source.length)):(o=e.source.slice(n,r),Ht(e,r+1)),{type:3,content:o,loc:jt(e,t)}}function $t(e,t){const n=e.inPre,o=e.inVPre,r=Ft(t),s=It(e,Ct.Start,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=Et(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&vt("COMPILER_INLINE_TEMPLATE",e)){const n=jt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Gt(e.source,s.tag))It(e,Ct.End,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Dt(e.loc.source,"\x3c!--")}return s.loc=jt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}var Ct=(e=>(e[e.Start=0]="Start",e[e.End=1]="End",e))(Ct||{});const Mt=e("if,else,else-if,for,slot");function It(e,t,n){const o=Bt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Ht(e,r[0].length),Wt(e);const c=Bt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Pt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,d(e,c),e.source=l,a=Pt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Dt(e.source,"/>"),Ht(e,p?2:1)),1===t)return;let u=0;return e.inVPre||("slot"===s?u=2:"template"===s?a.some((e=>7===e.type&&Mt(e.name)))&&(u=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Be(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(vt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Xe(e.arg,"is")&&vt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(u=1)),{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:jt(e,o),codegenNode:void 0}}function Pt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Dt(e.source,">")&&!Dt(e.source,"/>");){if(Dt(e.source,"/")){Ht(e,1),Wt(e);continue}const r=Rt(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Wt(e)}return n}function Rt(e,t){const n=Bt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const t=/["'<]/g;let n;for(;n=t.exec(o);)Ut(e,17,n.index)}let r;Ht(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Wt(e),Ht(e,1),Wt(e),r=function(e){const t=Bt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Ht(e,1);const t=e.source.indexOf(o);-1===t?n=At(e,e.source.length,4):(n=At(e,t,4),Ht(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)Ut(e,18,r.index);n=At(e,t[0].length,4)}return{content:n,isQuoted:r,loc:jt(e,t)}}(e));const s=jt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Dt(o,"."),l=t[1]||(c||Dt(o,":")?"bind":Dt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=jt(e,Jt(e,n,s),Jt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]")?a=a.slice(1,a.length-1):(Ut(e,27),a=a.slice(1))):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ke(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].slice(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&vt("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return!e.inVPre&&Dt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Vt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Bt(e);Ht(e,n.length);const i=Bt(e),c=Bt(e),l=r-n.length,a=e.source.slice(0,l),p=At(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&qe(i,a,f);return qe(c,a,l-(p.length-u.length-f)),Ht(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:jt(e,i,c)},loc:jt(e,s)}}function Lt(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=Bt(e);return{type:2,content:At(e,o,t),loc:jt(e,r)}}function At(e,t,n){const o=e.source.slice(0,t);return Ht(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Bt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function jt(e,t,n){return{start:t,end:n=n||Bt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ft(e){return e[e.length-1]}function Dt(e,t){return e.startsWith(t)}function Ht(e,t){const{source:n}=e;qe(e,n,t),e.source=n.slice(t)}function Wt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ht(e,t[0].length)}function Jt(e,t,n){return Ke(t,e.originalSource.slice(t.offset,n),n)}function Ut(e,t,n,o=Bt(e)){n&&(o.offset+=n,o.column+=n),e.options.onError($(t,{start:o,end:o,source:""}))}function zt(e,t,n){const o=e.source;switch(t){case 0:if(Dt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Gt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ft(n);if(e&&Gt(o,e.tag))return!0;break}case 3:if(Dt(o,"]]>"))return!0}return!o}function Gt(e,t){return Dt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Kt(e,t){Zt(e,t,qt(e,e.children[0]))}function qt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!rt(t)}function Zt(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Yt(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=nn(n);if((!o||512===o||1===o)&&en(e,t)>=2){const o=tn(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Zt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Zt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Zt(e.branches[n],t,1===e.branches[n].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&h(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Se(e.codegenNode.children)))}function Yt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(nn(r))return n.set(e,0),0;{let o=3;const s=en(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Yt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Yt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(V),t.removeHelper(it(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(st(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Yt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(m(o)||g(o))continue;const r=Yt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Qt=new Set([X,ee,te,ne]);function Xt(e,t){if(14===e.type&&!m(e.callee)&&Qt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Yt(n,t);if(14===n.type)return Xt(n,t)}return 0}function en(e,t){let n=3;const o=tn(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Yt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Yt(s,t):14===s.type?Xt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function tn(e){const t=e.codegenNode;if(13===t.type)return t.props}function nn(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function on(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:c=null,isBuiltInComponent:p=a,isCustomElement:u=a,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=l,inline:S=!1,isTS:x=!1,onError:N=w,onWarn:E=O,compatConfig:T}){const $=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:$&&_(k($[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:c,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:S,isTS:x,onError:N,onWarn:E,compatConfig:T,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${me[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){m(e)&&(e=Ne(e)),C.hoists.push(e);const t=Ne(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>$e(C.cached++,e,t)};return C.filters=new Set,C}function rn(e,t){const n=on(e,t);sn(e,n),t.hoistStatic&&Kt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(qt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ht(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=be(t,n(C),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function sn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(h(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(F);break;case 5:t.ssr||t.helper(Y);break;case 9:for(let n=0;n<e.branches.length;n++)sn(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];m(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,sn(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function cn(e,t){const n=m(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(nt))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const ln="/*#__PURE__*/",an=e=>`${me[e]}: _${me[e]}`;function pn(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:p=!1,isTS:u=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:p,isTS:u,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${me[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}function un(e,t={}){const n=pn(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=Array.from(e.helpers),u=p.length>0,f=!s&&"module"!==o,d=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[B,j,F,D,H].filter((e=>i.includes(e))).map(an).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),mn(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,d);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),f&&(r("with (_ctx) {"),i(),u&&(r(`const { ${p.map(an).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(fn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(fn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),fn(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?mn(e.codegenNode,n):r("null"),f&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function fn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?z:"component"===t?W:U);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${ut(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function dn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),hn(e,t,n),n&&t.deindent(),t.push("]")}function hn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];m(c)?r(c):h(c)?dn(c,t):mn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function mn(e,t){if(m(e))t.push(e);else if(g(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:mn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:gn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(Y)}(`),mn(e.content,t),n(")")}(e,t);break;case 8:yn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(F)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(G)+"(");u&&n(`(${o(V)}(${f?"true":""}), `);r&&n(ln);const h=u?it(t.inSSR,d):st(t.inSSR,d);n(o(h)+"(",e),hn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),mn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=m(e.callee)?e.callee:o(e.callee);r&&n(ln);n(s+"(",e),hn(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];vn(e,t),n(": "),mn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){dn(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${me[pe]}(`);n("(",e),h(s)?hn(s,t):s&&mn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),h(i)?dn(i,t):mn(i,t)):c&&mn(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Fe(n.content);e&&i("("),gn(n,t),e&&i(")")}else i("("),mn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),mn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;mn(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(ce)}(-1),`),i());n(`_cache[${e.index}] = `),mn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ce)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:hn(e.body,t,!0,!1)}}function gn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function yn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];m(o)?t.push(o):mn(o,t)}}function vn(e,t){const{push:n}=t;if(8===e.type)n("["),yn(e,t),n("]");else if(e.isStatic){n(Fe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function bn(e,t,n=!1,o=[],r=Object.create(null)){}function Sn(e,t,n){return!1}function xn(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function kn(e,t){for(const n of e.params)for(const e of En(n))t(e)}function Nn(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of En(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function En(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)En("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&En(e,t)}));break;case"RestElement":En(e.argument,t);break;case"AssignmentPattern":En(e.left,t)}return t}const _n=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Tn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,wn=(e,t)=>Tn(t)&&t.key===e,On=(e,t)=>{if(5===e.type)e.content=$n(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=$n(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=$n(n,t))}}};function $n(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}function Cn(e){return m(e)?e:4===e.type?e.content:e.children.map(Cn).join("")}const Mn=cn(/^(if|else|else-if)$/,((e,t,n)=>In(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Rn(t,i,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=Rn(t,i+e.branches.length-1,n)}}}))));function In(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError($(28,t.loc)),t.exp=Ne("true",!1,o)}if("if"===t.name){const r=Pn(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError($(30,e.loc)),n.removeNode();const r=Pn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);sn(r,n),s&&s(),n.currentNode=null}else n.onError($(30,e.loc));break}n.removeNode(i)}}}}function Pn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Ye(e,"for")?e.children:[e],userKey:Qe(e,"key"),isTemplateIf:n}}function Rn(e,t,n){return e.condition?Oe(e.condition,Vn(e,t,n),Te(n.helper(F),['""',"true"])):Vn(e,t,n)}function Vn(e,t,n){const{helper:o}=n,r=ke("key",Ne(`${t}`,!1,ye,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return at(e,r,n),e}{let t=64;return be(n,o(C),xe([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=dt(e);return 13===t.type&&ht(t,n),at(t,r,n),e}}const Ln=cn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return An(e,t,n,(t=>{const s=Te(o(K),[t.source]),i=ot(e),c=Ye(e,"memo"),l=Qe(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?ke("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=be(n,o(C),void 0,s,f+"",void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:f}=t,d=1!==f.length||1!==f[0].type,h=rt(e)?e:i&&1===e.children.length&&rt(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&at(l,p,n)):d?l=be(n,o(C),p?xe([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&at(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(V),r(it(n.inSSR,l.isComponent))):r(st(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(V),o(it(n.inSSR,l.isComponent))):o(st(n.inSSR,l.isComponent))),c){const e=we(Wn(t.parseResult,[Ne("_cached")]));e.body=Ce([_e(["const _memo = (",c.exp,")"]),_e(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(he)}(_cached, _memo)) return _cached`]),_e(["const _item = ",l]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(we(Wn(t.parseResult),l,!0))}}))}));function An(e,t,n,o){if(!t.exp)return void n.onError($(31,t.loc));const r=Dn(t.exp);if(!r)return void n.onError($(32,t.loc));const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:ot(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Bn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,jn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Fn=/^\(|\)$/g;function Dn(e,t){const n=e.loc,o=e.content,r=o.match(Bn);if(!r)return;const[,s,i]=r,c={source:Hn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Fn,"").trim();const a=s.indexOf(l),p=l.match(jn);if(p){l=l.replace(jn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Hn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Hn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Hn(n,l,a)),c}function Hn(e,t,n){return Ne(t,!1,Ge(e,n,t.length))}function Wn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const Jn=Ne("undefined",!1),Un=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ye(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},zn=(e,t)=>{let n;if(ot(e)&&e.props.some(nt)&&(n=Ye(e,"for"))){const e=n.parseResult=Dn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},Gn=(e,t,n)=>we(e,t,!1,!0,t.length?t[0].loc:n);function Kn(e,t,n=Gn){t.helper(pe);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ye(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Le(e)&&(c=!0),s.push(ke(e||Ne("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;let d=0;for(let g=0;g<o.length;g++){const e=o[g];let r;if(!ot(e)||!(r=Ye(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l){t.onError($(37,r.loc));break}a=!0;const{children:h,loc:m}=e,{arg:y=Ne("default",!0),exp:v,loc:b}=r;let S;Le(y)?S=y?y.content:"default":c=!0;const x=n(v,h,m);let k,N,E;if(k=Ye(e,"if"))c=!0,i.push(Oe(k.exp,qn(y,x,d++),Jn));else if(N=Ye(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=o[n],3===e.type););if(e&&ot(e)&&Ye(e,"if")){o.splice(g,1),g--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=N.exp?Oe(N.exp,qn(y,x,d++),Jn):qn(y,x,d++)}else t.onError($(30,N.loc))}else if(E=Ye(e,"for")){c=!0;const e=E.parseResult||Dn(E.exp);e?i.push(Te(t.helper(K),[e.source,we(Wn(e),qn(y,x),!0)])):t.onError($(32,E.loc))}else{if(S){if(f.has(S)){t.onError($(38,b));continue}f.add(S),"default"===S&&(p=!0)}s.push(ke(y,x))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),ke("default",s)};a?u.length&&u.some((e=>Yn(e)))&&(p?t.onError($(39,u[0].loc)):s.push(e(void 0,u))):s.push(e(void 0,o))}const h=c?2:Zn(e.children)?3:1;let m=xe(s.concat(ke("_",Ne(h+"",!1))),r);return i.length&&(m=Te(t.helper(Z),[m,Se(i)])),{slots:m,hasDynamicSlots:c}}function qn(e,t,n){const o=[ke("name",e),ke("fn",t)];return null!=n&&o.push(ke("key",Ne(String(n),!0))),xe(o)}function Zn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Zn(n.children))return!0;break;case 9:if(Zn(n.branches))return!0;break;case 10:case 11:if(Zn(n.children))return!0}}return!1}function Yn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Yn(e.content))}const Qn=new WeakMap,Xn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?eo(e,t):`"${n}"`;const i=y(s)&&s.callee===J;let c,l,a,p,u,f,d=0,h=i||s===M||s===I||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=to(e,t,void 0,r,i);c=n.props,d=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;f=o&&o.length?Se(o.map((e=>ro(e,t)))):void 0,n.shouldUseBlock&&(h=!0)}if(e.children.length>0){s===P&&(h=!0,d|=1024);if(r&&s!==M&&s!==P){const{slots:n,hasDynamicSlots:o}=Kn(e,t);l=n,o&&(d|=1024)}else if(1===e.children.length&&s!==M){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Yt(n,t)&&(d|=1),l=r||2===o?n:e.children}else l=e.children}0!==d&&(a=String(d),u&&u.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(u))),e.codegenNode=be(t,s,c,l,a,p,f,!!h,!1,r,e.loc)};function eo(e,t,n=!1){let{tag:o}=e;const r=so(o),s=Qe(e,"is");if(s)if(r||yt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return Te(t.helper(J),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Ye(e,"is");if(i&&i.exp)return Te(t.helper(J),[i.exp]);const c=Be(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(W),t.components.add(o),ut(o,"component"))}function to(e,t,n=e.props,o,r,s=!1){const{tag:i,loc:c,children:l}=e;let a=[];const p=[],u=[],d=l.length>0;let h=!1,m=0,y=!1,S=!1,x=!1,k=!1,N=!1,E=!1;const _=[],T=e=>{a.length&&(p.push(xe(no(a),c)),a=[]),e&&p.push(e)},w=({key:e,value:n})=>{if(Le(e)){const s=e.content,i=f(s);if(!i||o&&!r||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||v(s)||(k=!0),i&&v(s)&&(E=!0),20===n.type||(4===n.type||8===n.type)&&Yt(n,t)>0)return;"ref"===s?y=!0:"class"===s?S=!0:"style"===s?x=!0:"key"===s||_.includes(s)||_.push(s),!o||"class"!==s&&"style"!==s||_.includes(s)||_.push(s)}else N=!0};for(let f=0;f<n.length;f++){const r=n[f];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(y=!0,t.scopes.vFor>0&&a.push(ke(Ne("ref_for",!0),Ne("true")))),"is"===n&&(so(i)||o&&o.content.startsWith("vue:")||yt("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(ke(Ne(n,!0,Ge(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:l,exp:f,loc:m}=r,y="bind"===n,v="on"===n;if("slot"===n){o||t.onError($(40,m));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&Xe(l,"is")&&(so(i)||yt("COMPILER_IS_ON_ELEMENT",t)))continue;if(v&&s)continue;if((y&&Xe(l,"key")||v&&d&&Xe(l,"vue:before-update"))&&(h=!0),y&&Xe(l,"ref")&&t.scopes.vFor>0&&a.push(ke(Ne("ref_for",!0),Ne("true"))),!l&&(y||v)){if(N=!0,f)if(y){if(T(),yt("COMPILER_V_BIND_OBJECT_ORDER",t)){p.unshift(f);continue}p.push(f)}else T({type:14,loc:m,callee:t.helper(oe),arguments:o?[f]:[f,"true"]});else t.onError($(y?34:35,m));continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:o}=S(r,e,t);!s&&n.forEach(w),v&&l&&!Le(l)?T(xe(n,c)):a.push(...n),o&&(u.push(r),g(o)&&Qn.set(r,o))}else b(n)||(u.push(r),d&&(h=!0))}}let O;if(p.length?(T(),O=p.length>1?Te(t.helper(Q),p,c):p[0]):a.length&&(O=xe(no(a),c)),N?m|=16:(S&&!o&&(m|=2),x&&!o&&(m|=4),_.length&&(m|=8),k&&(m|=32)),h||0!==m&&32!==m||!(y||E||u.length>0)||(m|=512),!t.inSSR&&O)switch(O.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<O.properties.length;t++){const r=O.properties[t].key;Le(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=O.properties[e],s=O.properties[n];o?O=Te(t.helper(te),[O]):(r&&!Le(r.value)&&(r.value=Te(t.helper(X),[r.value])),s&&(x||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=Te(t.helper(ee),[s.value])));break;case 14:break;default:O=Te(t.helper(te),[Te(t.helper(ne),[O])])}return{props:O,directives:u,patchFlag:m,dynamicPropNames:_,shouldUseBlock:h}}function no(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||f(s))&&oo(i,r):(t.set(s,r),n.push(r))}return n}function oo(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Se([e.value,t.value],e.loc)}function ro(e,t){const n=[],o=Qn.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(ut(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Ne("true",!1,r);n.push(xe(e.modifiers.map((e=>ke(e,t))),r))}return Se(n,e.loc)}function so(e){return"component"===e||"Component"===e}const io=(e,t)=>{if(rt(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=co(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=we([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=Te(t.helper(q),i,o)}};function co(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=k(t.name),r.push(t))):"bind"===t.name&&Xe(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Le(t.arg)&&(t.arg.content=k(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=to(e,t,r,!1,!1);n=o,s.length&&t.onError($(36,s[0].loc))}return{slotName:o,slotProps:n}}const lo=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,ao=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=Ne(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?T(k(e)):`on:${e}`,!0,i.loc)}else c=_e([`${n.helperString(ie)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(ie)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=ze(l.content),t=!(e||lo.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ke(c,l||Ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},po=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?k(i.content):`${n.helperString(re)}(${i.content})`:(i.children.unshift(`${n.helperString(re)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&uo(i,"."),r.includes("attr")&&uo(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[ke(i,Ne("",!0,s))]}:{props:[ke(i,o)]}},uo=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},fo=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(tt(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!tt(s)){o=void 0;break}o||(o=n[e]=_e([t],t.loc)),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(tt(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Yt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Te(t.helper(D),r)}}}}},ho=new WeakSet,mo=(e,t)=>{if(1===e.type&&Ye(e,"once",!0)){if(ho.has(e)||t.inVOnce)return;return ho.add(e),t.inVOnce=!0,t.helper(ce),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},go=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError($(41,e.loc)),yo();const s=o.loc.source,i=4===o.type?o.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return yo();if(!i.trim()||!ze(i))return n.onError($(42,o.loc)),yo();const l=r||Ne("modelValue",!0),a=r?Le(r)?`onUpdate:${k(r.content)}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let p;p=_e([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[ke(l,e.exp),ke(a,p)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Fe(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Le(r)?`${r.content}Modifiers`:_e([r,' + "Modifiers"']):"modelModifiers";u.push(ke(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return yo(u)};function yo(e=[]){return{props:e}}const vo=/[\w).+\-_$\]]/,bo=(e,t)=>{yt("COMPILER_FILTER",t)&&(5===e.type&&So(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&So(e.exp,t)})))};function So(e,t){if(4===e.type)xo(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?xo(o,t):8===o.type?So(e,t):5===o.type&&So(o.content,t))}}function xo(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&vo.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=ko(i,m[s],t);e.content=i}}function ko(e,t,n){n.helper(z);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${ut(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${ut(r,"filter")}(${e}${")"!==s?","+s:s}`}}const No=new WeakSet,Eo=(e,t)=>{if(1===e.type){const n=Ye(e,"memo");if(!n||No.has(e))return;return No.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ht(o,t),e.codegenNode=Te(t.helper(de),[n.exp,we(void 0,o),"_cache",String(t.cached++)]))}}};function _o(e){return[[mo,Mn,Eo,Ln,bo,io,Xn,Un,fo],{on:ao,bind:po,model:go}]}function To(e,t={}){const n=t.onError||w,o="module"===t.mode;!0===t.prefixIdentifiers?n($(47)):o&&n($(48));t.cacheHandlers&&n($(49)),t.scopeId&&!o&&n($(50));const r=m(e)?Nt(e,t):e,[s,i]=_o();return rn(r,d({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:d({},i,t.directiveTransforms||{})})),un(r,d({},t,{prefixIdentifiers:false}))}const wo=()=>({props:[]}),Oo=Symbol(""),$o=Symbol(""),Co=Symbol(""),Mo=Symbol(""),Io=Symbol(""),Po=Symbol(""),Ro=Symbol(""),Vo=Symbol(""),Lo=Symbol(""),Ao=Symbol("");let Bo;ge({[Oo]:"vModelRadio",[$o]:"vModelCheckbox",[Co]:"vModelText",[Mo]:"vModelSelect",[Io]:"vModelDynamic",[Po]:"withModifiers",[Ro]:"withKeys",[Vo]:"vShow",[Lo]:"Transition",[Ao]:"TransitionGroup"});const jo=e("style,iframe,script,noscript",!0),Fo={isVoidTag:c,isNativeTag:e=>s(e)||i(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Bo||(Bo=document.createElement("div")),t?(Bo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Bo.children[0].getAttribute("foo")):(Bo.innerHTML=e,Bo.textContent)},isBuiltInComponent:e=>Ae(e,"Transition")?Lo:Ae(e,"TransitionGroup")?Ao:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(jo(e))return 2}return 0}},Do=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ne("style",!0,t.loc),exp:Ho(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Ho=(e,t)=>{const s=function(e){const t={};return e.replace(r,"").split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(s),!1,t,3)};function Wo(e,t){return $(e,t)}const Jo=e("passive,once,capture"),Uo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),zo=e("left,right"),Go=e("onkeyup,onkeydown,onkeypress",!0),Ko=(e,t)=>Le(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,qo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(Wo(61,e.loc)),t.removeNode())},Zo=[Do],Yo={cloak:wo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Wo(51,r)),t.children.length&&(n.onError(Wo(52,r)),t.children.length=0),{props:[ke(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Wo(53,r)),t.children.length&&(n.onError(Wo(54,r)),t.children.length=0),{props:[ke(Ne("textContent",!0),o?Yt(o,n)>0?o:Te(n.helperString(Y),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=go(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(Wo(56,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let i=Co,c=!1;if("input"===r||s){const o=Qe(t,"type");if(o){if(7===o.type)i=Io;else if(o.value)switch(o.value.content){case"radio":i=Oo;break;case"checkbox":i=$o;break;case"file":c=!0,n.onError(Wo(57,e.loc))}}else et(t)&&(i=Io)}else"select"===r&&(i=Mo);c||(o.needRuntime=n.helper(i))}else n.onError(Wo(55,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>ao(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&vt("COMPILER_V_ON_NATIVE",n)||Jo(o)?i.push(o):zo(o)?Le(e)?Go(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Uo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Ko(r,"onContextmenu")),c.includes("middle")&&(r=Ko(r,"onMouseup")),c.length&&(s=Te(n.helper(Po),[s,JSON.stringify(c)])),!i.length||Le(r)&&!Go(r.content)||(s=Te(n.helper(Ro),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=Le(r)?Ne(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[ke(r,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Wo(59,r)),{props:[],needRuntime:n.helper(Vo)}}};function Qo(e,t={}){return To(e,d({},Fo,t,{nodeTransforms:[qo,...Zo,...t.nodeTransforms||[]],directiveTransforms:d({},Yo,t.directiveTransforms||{}),transformHoist:null}))}function Xo(e,t={}){return Nt(e,d({},Fo,t))}export{R as BASE_TRANSITION,re as CAMELIZE,se as CAPITALIZE,L as CREATE_BLOCK,F as CREATE_COMMENT,A as CREATE_ELEMENT_BLOCK,j as CREATE_ELEMENT_VNODE,Z as CREATE_SLOTS,H as CREATE_STATIC,D as CREATE_TEXT,B as CREATE_VNODE,Yo as DOMDirectiveTransforms,Zo as DOMNodeTransforms,C as FRAGMENT,ne as GUARD_REACTIVE_PROPS,he as IS_MEMO_SAME,fe as IS_REF,P as KEEP_ALIVE,Q as MERGE_PROPS,X as NORMALIZE_CLASS,te as NORMALIZE_PROPS,ee as NORMALIZE_STYLE,V as OPEN_BLOCK,ae as POP_SCOPE_ID,le as PUSH_SCOPE_ID,K as RENDER_LIST,q as RENDER_SLOT,W as RESOLVE_COMPONENT,U as RESOLVE_DIRECTIVE,J as RESOLVE_DYNAMIC_COMPONENT,z as RESOLVE_FILTER,ce as SET_BLOCK_TRACKING,I as SUSPENSE,M as TELEPORT,Y as TO_DISPLAY_STRING,oe as TO_HANDLERS,ie as TO_HANDLER_KEY,Lo as TRANSITION,Ao as TRANSITION_GROUP,ue as UNREF,$o as V_MODEL_CHECKBOX,Io as V_MODEL_DYNAMIC,Oo as V_MODEL_RADIO,Mo as V_MODEL_SELECT,Co as V_MODEL_TEXT,Ro as V_ON_WITH_KEYS,Po as V_ON_WITH_MODIFIERS,Vo as V_SHOW,pe as WITH_CTX,G as WITH_DIRECTIVES,de as WITH_MEMO,Ke as advancePositionWithClone,qe as advancePositionWithMutation,Ze as assert,To as baseCompile,Nt as baseParse,ro as buildDirectiveArgs,to as buildProps,Kn as buildSlots,vt as checkCompatEnabled,Qo as compile,Se as createArrayExpression,Pe as createAssignmentExpression,Ce as createBlockStatement,$e as createCacheExpression,Te as createCallExpression,$ as createCompilerError,_e as createCompoundExpression,Oe as createConditionalExpression,Wo as createDOMCompilerError,Wn as createForLoopParams,we as createFunctionExpression,Ie as createIfStatement,Ee as createInterpolation,xe as createObjectExpression,ke as createObjectProperty,Ve as createReturnStatement,ve as createRoot,Re as createSequenceExpression,Ne as createSimpleExpression,cn as createStructuralDirectiveTransform,Me as createTemplateLiteral,on as createTransformContext,be as createVNodeCall,En as extractIdentifiers,Ye as findDir,Qe as findProp,un as generate,t as generateCodeFrame,_o as getBaseTransformPreset,Yt as getConstantType,Ge as getInnerRange,dt as getMemoedVNodeCall,it as getVNodeBlockHelper,st as getVNodeHelper,et as hasDynamicKeyVBind,ft as hasScopeRef,me as helperNameMap,at as injectProp,Ae as isBuiltInType,Be as isCoreComponent,_n as isFunctionType,xn as isInDestructureAssignment,ze as isMemberExpression,Je as isMemberExpressionBrowser,Ue as isMemberExpressionNode,Sn as isReferencedIdentifier,Fe as isSimpleIdentifier,rt as isSlotOutlet,Xe as isStaticArgOf,Le as isStaticExp,Tn as isStaticProperty,wn as isStaticPropertyKey,ot as isTemplateNode,tt as isText,nt as isVSlot,ye as locStub,ht as makeBlock,wo as noopDirectiveTransform,Xo as parse,Fo as parserOptions,$n as processExpression,An as processFor,In as processIf,co as processSlotOutlet,ge as registerRuntimeHelpers,eo as resolveComponentType,Cn as stringifyExpression,ut as toValidAssetId,Un as trackSlotScopes,zn as trackVForSlotScopes,rn as transform,po as transformBind,Xn as transformElement,On as transformExpression,go as transformModel,ao as transformOn,Do as transformStyle,sn as traverseNode,Nn as walkBlockDeclarations,kn as walkFunctionParams,bn as walkIdentifiers,bt as warnDeprecation};
|
|
1
|
+
function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={},n=()=>{},o=()=>!1,r=/^on[^a-z]/,s=e=>r.test(e),i=Object.assign,c=Array.isArray,l=e=>"string"==typeof e,a=e=>"symbol"==typeof e,p=e=>null!==e&&"object"==typeof e,u=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),f=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),d=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},h=/-(\w)/g,m=d((e=>e.replace(h,((e,t)=>t?t.toUpperCase():"")))),g=/\B([A-Z])/g,y=d((e=>e.replace(g,"-$1").toLowerCase())),v=d((e=>e.charAt(0).toUpperCase()+e.slice(1))),b=d((e=>e?`on${v(e)}`:""));function S(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")}const x=/;(?![^(]*\))/g,k=/:([^]+)/,N=new RegExp("\\/\\*.*?\\*\\/","gs");const E=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),T=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"),_=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function w(e){throw e}function O(e){}function $(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const C=Symbol(""),I=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),j=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Z=Symbol(""),Y=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de=Symbol(""),he=Symbol(""),me={[C]:"Fragment",[I]:"Teleport",[M]:"Suspense",[P]:"KeepAlive",[R]:"BaseTransition",[V]:"openBlock",[L]:"createBlock",[A]:"createElementBlock",[B]:"createVNode",[j]:"createElementVNode",[F]:"createCommentVNode",[D]:"createTextVNode",[H]:"createStaticVNode",[W]:"resolveComponent",[J]:"resolveDynamicComponent",[U]:"resolveDirective",[z]:"resolveFilter",[G]:"withDirectives",[K]:"renderList",[q]:"renderSlot",[Z]:"createSlots",[Y]:"toDisplayString",[Q]:"mergeProps",[X]:"normalizeClass",[ee]:"normalizeStyle",[te]:"normalizeProps",[ne]:"guardReactiveProps",[oe]:"toHandlers",[re]:"camelize",[se]:"capitalize",[ie]:"toHandlerKey",[ce]:"setBlockTracking",[le]:"pushScopeId",[ae]:"popScopeId",[pe]:"withCtx",[ue]:"unref",[fe]:"isRef",[de]:"withMemo",[he]:"isMemoSame"};function ge(e){Object.getOwnPropertySymbols(e).forEach((t=>{me[t]=e[t]}))}const ye={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ve(e,t=ye){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function be(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ye){return e&&(c?(e.helper(V),e.helper(Ae(e.inSSR,a))):e.helper(Le(e.inSSR,a)),i&&e.helper(G)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function Se(e,t=ye){return{type:17,loc:t,elements:e}}function xe(e,t=ye){return{type:15,loc:t,properties:e}}function ke(e,t){return{type:16,loc:ye,key:l(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ye,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ee(e,t){return{type:5,loc:t,content:l(e)?Ne(e,!1,t):e}}function Te(e,t=ye){return{type:8,loc:t,children:e}}function _e(e,t=[],n=ye){return{type:14,loc:n,callee:e,arguments:t}}function we(e,t,n=!1,o=!1,r=ye){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Oe(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ye}}function $e(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ye}}function Ce(e){return{type:21,body:e,loc:ye}}function Ie(e){return{type:22,elements:e,loc:ye}}function Me(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ye}}function Pe(e,t){return{type:24,left:e,right:t,loc:ye}}function Re(e){return{type:25,expressions:e,loc:ye}}function Ve(e){return{type:26,returns:e,loc:ye}}function Le(e,t){return e||t?B:j}function Ae(e,t){return e||t?L:A}function Be(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Le(o,e.isComponent)),t(V),t(Ae(o,e.isComponent)))}const je=e=>4===e.type&&e.isStatic,Fe=(e,t)=>e===t||e===y(t);function De(e){return Fe(e,"Teleport")?I:Fe(e,"Suspense")?M:Fe(e,"KeepAlive")?P:Fe(e,"BaseTransition")?R:void 0}const He=/^\d|[^\$\w]/,We=e=>!He.test(e),Je=/[A-Za-z_$\xA0-\uFFFF]/,Ue=/[\.\?\w$\xA0-\uFFFF]/,ze=/\s+[.[]\s*|\s*[.[]\s+/g,Ge=e=>{e=e.trim().replace(ze,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?Je:Ue).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r},Ke=n,qe=Ge;function Ze(e,t,n){const o={source:e.source.slice(t,t+n),start:Ye(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ye(e.start,e.source,t+n)),o}function Ye(e,t,n=t.length){return Qe(i({},e),t,n)}function Qe(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Xe(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function et(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(l(t)?r.name===t:t.test(r.name)))return r}}function tt(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&nt(s.arg,t))return s}}function nt(e,t){return!(!e||!je(e)||e.content!==t)}function ot(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function rt(e){return 5===e.type||2===e.type}function st(e){return 7===e.type&&"slot"===e.name}function it(e){return 1===e.type&&3===e.tagType}function ct(e){return 1===e.type&&2===e.tagType}const lt=new Set([te,ne]);function at(e,t=[]){if(e&&!l(e)&&14===e.type){const n=e.callee;if(!l(n)&<.has(n))return at(e.arguments[0],t.concat(e))}return[e,t]}function pt(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!l(s)&&14===s.type){const e=at(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||l(s))o=xe([t]);else if(14===s.type){const e=s.arguments[0];l(e)||15!==e.type?s.callee===oe?o=_e(n.helper(Q),[xe([t]),s]):s.arguments.unshift(xe([t])):ut(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(ut(t,s)||s.properties.unshift(t),o=s):(o=_e(n.helper(Q),[xe([t]),s]),r&&r.callee===ne&&(r=i[i.length-2]));13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function ut(e,t){let n=!1;if(4===e.key.type){const o=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===o))}return n}function ft(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function dt(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(dt(o.arg,t)||dt(o.exp,t)))return!0}return e.children.some((e=>dt(e,t)));case 11:return!!dt(e.source,t)||e.children.some((e=>dt(e,t)));case 9:return e.branches.some((e=>dt(e,t)));case 10:return!!dt(e.condition,t)||e.children.some((e=>dt(e,t)));case 4:return!e.isStatic&&We(e.content)&&!!t[e.content];case 8:return e.children.some((e=>p(e)&&dt(e,t)));case 5:case 12:return dt(e.content,t);default:return!1}}function ht(e){return 14===e.type&&e.callee===de?e.arguments[1].returns:e}const mt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function gt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function yt(e,t){const n=gt("MODE",t),o=gt(e,t);return 3===n?!0===o:!1!==o}function vt(e,t,n,...o){return yt(e,t)}function bt(e,t,n,...o){if("suppress-warning"===gt(e,t))return;const{message:r,link:s}=mt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const St=/&(gt|lt|amp|apos|quot);/g,xt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},kt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:o,isPreTag:o,isCustomElement:o,decodeEntities:e=>e.replace(St,((e,t)=>xt[t])),onError:w,onWarn:O,comments:!1};function Nt(e,t={}){const n=function(e,t){const n=i({},kt);let o;for(o in t)n[o]=void 0===t[o]?kt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Bt(n);return ve(Et(n,0,[]),jt(n,o))}function Et(e,t,n){const o=Ft(n),r=o?o.ns:0,s=[];for(;!zt(e,t,n);){const i=e.source;let l;if(0===t||1===t)if(!e.inVPre&&Dt(i,e.options.delimiters[0]))l=Vt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])l=Dt(i,"\x3c!--")?wt(e):Dt(i,"<!DOCTYPE")?Ot(e):Dt(i,"<![CDATA[")&&0!==r?_t(e,n):Ot(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Ht(e,3);continue}if(/[a-z]/i.test(i[2])){Mt(e,Ct.End,o);continue}Ut(e,12,2),l=Ot(e)}else/[a-z]/i.test(i[1])?(l=$t(e,n),yt("COMPILER_NATIVE_TEMPLATE",e)&&l&&"template"===l.tag&&!l.props.some((e=>7===e.type&&It(e.name)))&&(l=l.children)):"?"===i[1]&&(Ut(e,21,1),l=Ot(e));if(l||(l=Lt(e,t)),c(l))for(let e=0;e<l.length;e++)Tt(s,l[e]);else Tt(s,l)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(2===o.type)if(e.inPre)o.content=o.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type&&3===r.type||3===e.type&&1===r.type||1===e.type&&3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}else 3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function Tt(e,t){if(2===t.type){const n=Ft(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function _t(e,t){Ht(e,9);const n=Et(e,3,t);return 0===e.source.length||Ht(e,3),n}function wt(e){const t=Bt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)Ht(e,s-r+1),r=s+1;Ht(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Ht(e,e.source.length);return{type:3,content:n,loc:jt(e,t)}}function Ot(e){const t=Bt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Ht(e,e.source.length)):(o=e.source.slice(n,r),Ht(e,r+1)),{type:3,content:o,loc:jt(e,t)}}function $t(e,t){const n=e.inPre,o=e.inVPre,r=Ft(t),s=Mt(e,Ct.Start,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=Et(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&vt("COMPILER_INLINE_TEMPLATE",e)){const n=jt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Gt(e.source,s.tag))Mt(e,Ct.End,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Dt(e.loc.source,"\x3c!--")}return s.loc=jt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}var Ct=(e=>(e[e.Start=0]="Start",e[e.End=1]="End",e))(Ct||{});const It=e("if,else,else-if,for,slot");function Mt(e,t,n){const o=Bt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],c=e.options.getNamespace(s,n);Ht(e,r[0].length),Wt(e);const l=Bt(e),a=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let p=Pt(e,t);0===t&&!e.inVPre&&p.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,i(e,l),e.source=a,p=Pt(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length||(u=Dt(e.source,"/>"),Ht(e,u?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?p.some((e=>7===e.type&&It(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||De(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(vt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&nt(e.arg,"is")&&vt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,p,e)&&(f=1)),{type:1,ns:c,tag:s,tagType:f,props:p,isSelfClosing:u,children:[],loc:jt(e,o),codegenNode:void 0}}function Pt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Dt(e.source,">")&&!Dt(e.source,"/>");){if(Dt(e.source,"/")){Ht(e,1),Wt(e);continue}const r=Rt(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Wt(e)}return n}function Rt(e,t){const n=Bt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const t=/["'<]/g;let n;for(;n=t.exec(o);)Ut(e,17,n.index)}let r;Ht(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Wt(e),Ht(e,1),Wt(e),r=function(e){const t=Bt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Ht(e,1);const t=e.source.indexOf(o);-1===t?n=At(e,e.source.length,4):(n=At(e,t,4),Ht(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)Ut(e,18,r.index);n=At(e,t[0].length,4)}return{content:n,isQuoted:r,loc:jt(e,t)}}(e));const s=jt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Dt(o,"."),l=t[1]||(c||Dt(o,":")?"bind":Dt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=jt(e,Jt(e,n,s),Jt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]")?a=a.slice(1,a.length-1):(Ut(e,27),a=a.slice(1))):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ye(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].slice(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&vt("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return!e.inVPre&&Dt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Vt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Bt(e);Ht(e,n.length);const i=Bt(e),c=Bt(e),l=r-n.length,a=e.source.slice(0,l),p=At(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Qe(i,a,f);return Qe(c,a,l-(p.length-u.length-f)),Ht(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:jt(e,i,c)},loc:jt(e,s)}}function Lt(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=Bt(e);return{type:2,content:At(e,o,t),loc:jt(e,r)}}function At(e,t,n){const o=e.source.slice(0,t);return Ht(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Bt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function jt(e,t,n){return{start:t,end:n=n||Bt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ft(e){return e[e.length-1]}function Dt(e,t){return e.startsWith(t)}function Ht(e,t){const{source:n}=e;Qe(e,n,t),e.source=n.slice(t)}function Wt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ht(e,t[0].length)}function Jt(e,t,n){return Ye(t,e.originalSource.slice(t.offset,n),n)}function Ut(e,t,n,o=Bt(e)){n&&(o.offset+=n,o.column+=n),e.options.onError($(t,{start:o,end:o,source:""}))}function zt(e,t,n){const o=e.source;switch(t){case 0:if(Dt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Gt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ft(n);if(e&&Gt(o,e.tag))return!0;break}case 3:if(Dt(o,"]]>"))return!0}return!o}function Gt(e,t){return Dt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Kt(e,t){Zt(e,t,qt(e,e.children[0]))}function qt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!ct(t)}function Zt(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Yt(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=nn(n);if((!o||512===o||1===o)&&en(e,t)>=2){const o=tn(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Zt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Zt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Zt(e.branches[n],t,1===e.branches[n].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&c(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Se(e.codegenNode.children)))}function Yt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(nn(r))return n.set(e,0),0;{let o=3;const s=en(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Yt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Yt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(V),t.removeHelper(Ae(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Le(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Yt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(l(o)||a(o))continue;const r=Yt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Qt=new Set([X,ee,te,ne]);function Xt(e,t){if(14===e.type&&!l(e.callee)&&Qt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Yt(n,t);if(14===n.type)return Xt(n,t)}return 0}function en(e,t){let n=3;const o=tn(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Yt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Yt(s,t):14===s.type?Xt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function tn(e){const t=e.codegenNode;if(13===t.type)return t.props}function nn(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function on(e,{filename:o="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:i=!1,nodeTransforms:c=[],directiveTransforms:a={},transformHoist:p=null,isBuiltInComponent:u=n,isCustomElement:f=n,expressionPlugins:d=[],scopeId:h=null,slotted:g=!0,ssr:y=!1,inSSR:b=!1,ssrCssVars:S="",bindingMetadata:x=t,inline:k=!1,isTS:N=!1,onError:E=w,onWarn:T=O,compatConfig:_}){const $=o.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:$&&v(m($[1])),prefixIdentifiers:r,hoistStatic:s,cacheHandlers:i,nodeTransforms:c,directiveTransforms:a,transformHoist:p,isBuiltInComponent:u,isCustomElement:f,expressionPlugins:d,scopeId:h,slotted:g,ssr:y,inSSR:b,ssrCssVars:S,bindingMetadata:x,inline:k,isTS:N,onError:E,onWarn:T,compatConfig:_,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${me[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){l(e)&&(e=Ne(e)),C.hoists.push(e);const t=Ne(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>$e(C.cached++,e,t)};return C.filters=new Set,C}function rn(e,t){const n=on(e,t);sn(e,n),t.hoistStatic&&Kt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(qt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&Be(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=be(t,n(C),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function sn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(c(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(F);break;case 5:t.ssr||t.helper(Y);break;case 9:for(let n=0;n<e.branches.length;n++)sn(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];l(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,sn(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function cn(e,t){const n=l(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(st))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const ln="/*#__PURE__*/",an=e=>`${me[e]}: _${me[e]}`;function pn(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:p=!1,isTS:u=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:p,isTS:u,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${me[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}function un(e,t={}){const n=pn(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=Array.from(e.helpers),u=p.length>0,f=!s&&"module"!==o,d=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[B,j,F,D,H].filter((e=>i.includes(e))).map(an).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),mn(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,d);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),f&&(r("with (_ctx) {"),i(),u&&(r(`const { ${p.map(an).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(fn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(fn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),fn(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?mn(e.codegenNode,n):r("null"),f&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function fn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?z:"component"===t?W:U);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${ft(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function dn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),hn(e,t,n),n&&t.deindent(),t.push("]")}function hn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const a=e[i];l(a)?r(a):c(a)?dn(a,t):mn(a,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function mn(e,t){if(l(e))t.push(e);else if(a(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:mn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:gn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(Y)}(`),mn(e.content,t),n(")")}(e,t);break;case 8:yn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(ln);n(`${o(F)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(G)+"(");u&&n(`(${o(V)}(${f?"true":""}), `);r&&n(ln);const h=u?Ae(t.inSSR,d):Le(t.inSSR,d);n(o(h)+"(",e),hn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),mn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=l(e.callee)?e.callee:o(e.callee);r&&n(ln);n(s+"(",e),hn(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];vn(e,t),n(": "),mn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){dn(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:l,newline:a,isSlot:p}=e;p&&n(`_${me[pe]}(`);n("(",e),c(s)?hn(s,t):s&&mn(s,t);n(") => "),(a||l)&&(n("{"),o());i?(a&&n("return "),c(i)?dn(i,t):mn(i,t)):l&&mn(l,t);(a||l)&&(r(),n("}"));p&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!We(n.content);e&&i("("),gn(n,t),e&&i(")")}else i("("),mn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),mn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;mn(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(ce)}(-1),`),i());n(`_cache[${e.index}] = `),mn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ce)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:hn(e.body,t,!0,!1)}}function gn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function yn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];l(o)?t.push(o):mn(o,t)}}function vn(e,t){const{push:n}=t;if(8===e.type)n("["),yn(e,t),n("]");else if(e.isStatic){n(We(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function bn(e,t,n=!1,o=[],r=Object.create(null)){}function Sn(e,t,n){return!1}function xn(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function kn(e,t){for(const n of e.params)for(const e of En(n))t(e)}function Nn(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of En(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function En(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)En("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&En(e,t)}));break;case"RestElement":En(e.argument,t);break;case"AssignmentPattern":En(e.left,t)}return t}const Tn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),_n=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,wn=(e,t)=>_n(t)&&t.key===e;function On(e){return"ImportSpecifier"===e.type?"Identifier"===e.imported.type?e.imported.name:e.imported.value:"ImportNamespaceSpecifier"===e.type?"*":"default"}const $n=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Cn(e){return $n.includes(e.type)?Cn(e.expression):e}function In(e,t){return!!(e&&t&&"CallExpression"===e.type&&"Identifier"===e.callee.type&&("string"==typeof t?e.callee.name===t:t(e.callee.name)))}const Mn=(e,t)=>{if(5===e.type)e.content=Pn(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Pn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Pn(n,t))}}};function Pn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}function Rn(e){return l(e)?e:4===e.type?e.content:e.children.map(Rn).join("")}const Vn=cn(/^(if|else|else-if)$/,((e,t,n)=>Ln(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Bn(t,i,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=Bn(t,i+e.branches.length-1,n)}}}))));function Ln(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError($(28,t.loc)),t.exp=Ne("true",!1,o)}if("if"===t.name){const r=An(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError($(30,e.loc)),n.removeNode();const r=An(e,t);i.branches.push(r);const s=o&&o(i,r,!1);sn(r,n),s&&s(),n.currentNode=null}else n.onError($(30,e.loc));break}n.removeNode(i)}}}}function An(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!et(e,"for")?e.children:[e],userKey:tt(e,"key"),isTemplateIf:n}}function Bn(e,t,n){return e.condition?Oe(e.condition,jn(e,t,n),_e(n.helper(F),['""',"true"])):jn(e,t,n)}function jn(e,t,n){const{helper:o}=n,r=ke("key",Ne(`${t}`,!1,ye,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return pt(e,r,n),e}{let t=64;return be(n,o(C),xe([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=ht(e);return 13===t.type&&Be(t,n),pt(t,r,n),e}}const Fn=cn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Dn(e,t,n,(t=>{const s=_e(o(K),[t.source]),i=it(e),c=et(e,"memo"),l=tt(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?ke("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=be(n,o(C),void 0,s,f+"",void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:f}=t,d=1!==f.length||1!==f[0].type,h=ct(e)?e:i&&1===e.children.length&&ct(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&pt(l,p,n)):d?l=be(n,o(C),p?xe([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&pt(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(V),r(Ae(n.inSSR,l.isComponent))):r(Le(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(V),o(Ae(n.inSSR,l.isComponent))):o(Le(n.inSSR,l.isComponent))),c){const e=we(Gn(t.parseResult,[Ne("_cached")]));e.body=Ce([Te(["const _memo = (",c.exp,")"]),Te(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(he)}(_cached, _memo)) return _cached`]),Te(["const _item = ",l]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(we(Gn(t.parseResult),l,!0))}}))}));function Dn(e,t,n,o){if(!t.exp)return void n.onError($(31,t.loc));const r=Un(t.exp);if(!r)return void n.onError($(32,t.loc));const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:it(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Hn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Wn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Jn=/^\(|\)$/g;function Un(e,t){const n=e.loc,o=e.content,r=o.match(Hn);if(!r)return;const[,s,i]=r,c={source:zn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Jn,"").trim();const a=s.indexOf(l),p=l.match(Wn);if(p){l=l.replace(Wn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=zn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=zn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=zn(n,l,a)),c}function zn(e,t,n){return Ne(t,!1,Ze(e,n,t.length))}function Gn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const Kn=Ne("undefined",!1),qn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=et(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Zn=(e,t)=>{let n;if(it(e)&&e.props.some(st)&&(n=et(e,"for"))){const e=n.parseResult=Un(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},Yn=(e,t,n)=>we(e,t,!1,!0,t.length?t[0].loc:n);function Qn(e,t,n=Yn){t.helper(pe);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=et(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!je(e)&&(c=!0),s.push(ke(e||Ne("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;let d=0;for(let g=0;g<o.length;g++){const e=o[g];let r;if(!it(e)||!(r=et(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l){t.onError($(37,r.loc));break}a=!0;const{children:h,loc:m}=e,{arg:y=Ne("default",!0),exp:v,loc:b}=r;let S;je(y)?S=y?y.content:"default":c=!0;const x=n(v,h,m);let k,N,E;if(k=et(e,"if"))c=!0,i.push(Oe(k.exp,Xn(y,x,d++),Kn));else if(N=et(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=o[n],3===e.type););if(e&&it(e)&&et(e,"if")){o.splice(g,1),g--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=N.exp?Oe(N.exp,Xn(y,x,d++),Kn):Xn(y,x,d++)}else t.onError($(30,N.loc))}else if(E=et(e,"for")){c=!0;const e=E.parseResult||Un(E.exp);e?i.push(_e(t.helper(K),[e.source,we(Gn(e),Xn(y,x),!0)])):t.onError($(32,E.loc))}else{if(S){if(f.has(S)){t.onError($(38,b));continue}f.add(S),"default"===S&&(p=!0)}s.push(ke(y,x))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),ke("default",s)};a?u.length&&u.some((e=>to(e)))&&(p?t.onError($(39,u[0].loc)):s.push(e(void 0,u))):s.push(e(void 0,o))}const h=c?2:eo(e.children)?3:1;let m=xe(s.concat(ke("_",Ne(h+"",!1))),r);return i.length&&(m=_e(t.helper(Z),[m,Se(i)])),{slots:m,hasDynamicSlots:c}}function Xn(e,t,n){const o=[ke("name",e),ke("fn",t)];return null!=n&&o.push(ke("key",Ne(String(n),!0))),xe(o)}function eo(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||eo(n.children))return!0;break;case 9:if(eo(n.branches))return!0;break;case 10:case 11:if(eo(n.children))return!0}}return!1}function to(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():to(e.content))}const no=new WeakMap,oo=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?ro(e,t):`"${n}"`;const i=p(s)&&s.callee===J;let c,l,a,u,f,d,h=0,m=i||s===I||s===M||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=so(e,t,void 0,r,i);c=n.props,h=n.patchFlag,f=n.dynamicPropNames;const o=n.directives;d=o&&o.length?Se(o.map((e=>lo(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){s===P&&(m=!0,h|=1024);if(r&&s!==I&&s!==P){const{slots:n,hasDynamicSlots:o}=Qn(e,t);l=n,o&&(h|=1024)}else if(1===e.children.length&&s!==I){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Yt(n,t)&&(h|=1),l=r||2===o?n:e.children}else l=e.children}0!==h&&(a=String(h),f&&f.length&&(u=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(f))),e.codegenNode=be(t,s,c,l,a,u,d,!!m,!1,r,e.loc)};function ro(e,t,n=!1){let{tag:o}=e;const r=ao(o),s=tt(e,"is");if(s)if(r||yt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return _e(t.helper(J),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&et(e,"is");if(i&&i.exp)return _e(t.helper(J),[i.exp]);const c=De(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(W),t.components.add(o),ft(o,"component"))}function so(e,t,n=e.props,o,r,i=!1){const{tag:c,loc:l,children:p}=e;let d=[];const h=[],m=[],g=p.length>0;let y=!1,v=0,b=!1,S=!1,x=!1,k=!1,N=!1,E=!1;const T=[],_=e=>{d.length&&(h.push(xe(io(d),l)),d=[]),e&&h.push(e)},w=({key:e,value:n})=>{if(je(e)){const i=e.content,c=s(i);if(!c||o&&!r||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||u(i)||(k=!0),c&&u(i)&&(E=!0),20===n.type||(4===n.type||8===n.type)&&Yt(n,t)>0)return;"ref"===i?b=!0:"class"===i?S=!0:"style"===i?x=!0:"key"===i||T.includes(i)||T.push(i),!o||"class"!==i&&"style"!==i||T.includes(i)||T.push(i)}else N=!0};for(let s=0;s<n.length;s++){const r=n[s];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(b=!0,t.scopes.vFor>0&&d.push(ke(Ne("ref_for",!0),Ne("true")))),"is"===n&&(ao(c)||o&&o.content.startsWith("vue:")||yt("COMPILER_IS_ON_ELEMENT",t)))continue;d.push(ke(Ne(n,!0,Ze(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:s,exp:p,loc:u}=r,v="bind"===n,b="on"===n;if("slot"===n){o||t.onError($(40,u));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&nt(s,"is")&&(ao(c)||yt("COMPILER_IS_ON_ELEMENT",t)))continue;if(b&&i)continue;if((v&&nt(s,"key")||b&&g&&nt(s,"vue:before-update"))&&(y=!0),v&&nt(s,"ref")&&t.scopes.vFor>0&&d.push(ke(Ne("ref_for",!0),Ne("true"))),!s&&(v||b)){if(N=!0,p)if(v){if(_(),yt("COMPILER_V_BIND_OBJECT_ORDER",t)){h.unshift(p);continue}h.push(p)}else _({type:14,loc:u,callee:t.helper(oe),arguments:o?[p]:[p,"true"]});else t.onError($(v?34:35,u));continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:o}=S(r,e,t);!i&&n.forEach(w),b&&s&&!je(s)?_(xe(n,l)):d.push(...n),o&&(m.push(r),a(o)&&no.set(r,o))}else f(n)||(m.push(r),g&&(y=!0))}}let O;if(h.length?(_(),O=h.length>1?_e(t.helper(Q),h,l):h[0]):d.length&&(O=xe(io(d),l)),N?v|=16:(S&&!o&&(v|=2),x&&!o&&(v|=4),T.length&&(v|=8),k&&(v|=32)),y||0!==v&&32!==v||!(b||E||m.length>0)||(v|=512),!t.inSSR&&O)switch(O.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<O.properties.length;t++){const r=O.properties[t].key;je(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=O.properties[e],s=O.properties[n];o?O=_e(t.helper(te),[O]):(r&&!je(r.value)&&(r.value=_e(t.helper(X),[r.value])),s&&(x||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=_e(t.helper(ee),[s.value])));break;case 14:break;default:O=_e(t.helper(te),[_e(t.helper(ne),[O])])}return{props:O,directives:m,patchFlag:v,dynamicPropNames:T,shouldUseBlock:y}}function io(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const i=r.key.content,c=t.get(i);c?("style"===i||"class"===i||s(i))&&co(c,r):(t.set(i,r),n.push(r))}return n}function co(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Se([e.value,t.value],e.loc)}function lo(e,t){const n=[],o=no.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(ft(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Ne("true",!1,r);n.push(xe(e.modifiers.map((e=>ke(e,t))),r))}return Se(n,e.loc)}function ao(e){return"component"===e||"Component"===e}const po=(e,t)=>{if(ct(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=uo(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=we([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=_e(t.helper(q),i,o)}};function uo(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=m(t.name),r.push(t))):"bind"===t.name&&nt(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&je(t.arg)&&(t.arg.content=m(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=so(e,t,r,!1,!1);n=o,s.length&&t.onError($(36,s[0].loc))}return{slotName:o,slotProps:n}}const fo=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,ho=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=Ne(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?b(m(e)):`on:${e}`,!0,i.loc)}else c=Te([`${n.helperString(ie)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(ie)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=qe(l.content),t=!(e||fo.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Te([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ke(c,l||Ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},mo=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?m(i.content):`${n.helperString(re)}(${i.content})`:(i.children.unshift(`${n.helperString(re)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&go(i,"."),r.includes("attr")&&go(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[ke(i,Ne("",!0,s))]}:{props:[ke(i,o)]}},go=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},yo=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(rt(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!rt(s)){o=void 0;break}o||(o=n[e]=Te([t],t.loc)),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(rt(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Yt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(D),r)}}}}},vo=new WeakSet,bo=(e,t)=>{if(1===e.type&&et(e,"once",!0)){if(vo.has(e)||t.inVOnce)return;return vo.add(e),t.inVOnce=!0,t.helper(ce),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},So=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError($(41,e.loc)),xo();const s=o.loc.source,i=4===o.type?o.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return xo();if(!i.trim()||!qe(i))return n.onError($(42,o.loc)),xo();const l=r||Ne("modelValue",!0),a=r?je(r)?`onUpdate:${m(r.content)}`:Te(['"onUpdate:" + ',r]):"onUpdate:modelValue";let p;p=Te([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[ke(l,e.exp),ke(a,p)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(We(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?je(r)?`${r.content}Modifiers`:Te([r,' + "Modifiers"']):"modelModifiers";u.push(ke(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return xo(u)};function xo(e=[]){return{props:e}}const ko=/[\w).+\-_$\]]/,No=(e,t)=>{yt("COMPILER_FILTER",t)&&(5===e.type&&Eo(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Eo(e.exp,t)})))};function Eo(e,t){if(4===e.type)To(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?To(o,t):8===o.type?Eo(e,t):5===o.type&&Eo(o.content,t))}}function To(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&ko.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=_o(i,m[s],t);e.content=i}}function _o(e,t,n){n.helper(z);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${ft(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${ft(r,"filter")}(${e}${")"!==s?","+s:s}`}}const wo=new WeakSet,Oo=(e,t)=>{if(1===e.type){const n=et(e,"memo");if(!n||wo.has(e))return;return wo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&Be(o,t),e.codegenNode=_e(t.helper(de),[n.exp,we(void 0,o),"_cache",String(t.cached++)]))}}};function $o(e){return[[bo,Vn,Oo,Fn,No,po,oo,qn,yo],{on:ho,bind:mo,model:So}]}function Co(e,t={}){const n=t.onError||w,o="module"===t.mode;!0===t.prefixIdentifiers?n($(47)):o&&n($(48));t.cacheHandlers&&n($(49)),t.scopeId&&!o&&n($(50));const r=l(e)?Nt(e,t):e,[s,c]=$o();return rn(r,i({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:i({},c,t.directiveTransforms||{})})),un(r,i({},t,{prefixIdentifiers:false}))}const Io=()=>({props:[]}),Mo=Symbol(""),Po=Symbol(""),Ro=Symbol(""),Vo=Symbol(""),Lo=Symbol(""),Ao=Symbol(""),Bo=Symbol(""),jo=Symbol(""),Fo=Symbol(""),Do=Symbol("");let Ho;ge({[Mo]:"vModelRadio",[Po]:"vModelCheckbox",[Ro]:"vModelText",[Vo]:"vModelSelect",[Lo]:"vModelDynamic",[Ao]:"withModifiers",[Bo]:"withKeys",[jo]:"vShow",[Fo]:"Transition",[Do]:"TransitionGroup"});const Wo=e("style,iframe,script,noscript",!0),Jo={isVoidTag:_,isNativeTag:e=>E(e)||T(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Ho||(Ho=document.createElement("div")),t?(Ho.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Ho.children[0].getAttribute("foo")):(Ho.innerHTML=e,Ho.textContent)},isBuiltInComponent:e=>Fe(e,"Transition")?Fo:Fe(e,"TransitionGroup")?Do:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Wo(e))return 2}return 0}},Uo=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ne("style",!0,t.loc),exp:zo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},zo=(e,t)=>{const n=function(e){const t={};return e.replace(N,"").split(x).forEach((e=>{if(e){const n=e.split(k);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(n),!1,t,3)};function Go(e,t){return $(e,t)}const Ko=e("passive,once,capture"),qo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Zo=e("left,right"),Yo=e("onkeyup,onkeydown,onkeypress",!0),Qo=(e,t)=>je(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?Te(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Xo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(Go(61,e.loc)),t.removeNode())},er=[Uo],tr={cloak:Io,html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Go(51,r)),t.children.length&&(n.onError(Go(52,r)),t.children.length=0),{props:[ke(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Go(53,r)),t.children.length&&(n.onError(Go(54,r)),t.children.length=0),{props:[ke(Ne("textContent",!0),o?Yt(o,n)>0?o:_e(n.helperString(Y),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=So(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(Go(56,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let i=Ro,c=!1;if("input"===r||s){const o=tt(t,"type");if(o){if(7===o.type)i=Lo;else if(o.value)switch(o.value.content){case"radio":i=Mo;break;case"checkbox":i=Po;break;case"file":c=!0,n.onError(Go(57,e.loc))}}else ot(t)&&(i=Lo)}else"select"===r&&(i=Vo);c||(o.needRuntime=n.helper(i))}else n.onError(Go(55,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>ho(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&vt("COMPILER_V_ON_NATIVE",n)||Ko(o)?i.push(o):Zo(o)?je(e)?Yo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):qo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Qo(r,"onContextmenu")),c.includes("middle")&&(r=Qo(r,"onMouseup")),c.length&&(s=_e(n.helper(Ao),[s,JSON.stringify(c)])),!i.length||je(r)&&!Yo(r.content)||(s=_e(n.helper(Bo),[s,JSON.stringify(i)])),l.length){const e=l.map(v).join("");r=je(r)?Ne(`${r.content}${e}`,!0):Te(["(",r,`) + "${e}"`])}return{props:[ke(r,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Go(59,r)),{props:[],needRuntime:n.helper(jo)}}};function nr(e,t={}){return Co(e,i({},Jo,t,{nodeTransforms:[Xo,...er,...t.nodeTransforms||[]],directiveTransforms:i({},tr,t.directiveTransforms||{}),transformHoist:null}))}function or(e,t={}){return Nt(e,i({},Jo,t))}export{R as BASE_TRANSITION,re as CAMELIZE,se as CAPITALIZE,L as CREATE_BLOCK,F as CREATE_COMMENT,A as CREATE_ELEMENT_BLOCK,j as CREATE_ELEMENT_VNODE,Z as CREATE_SLOTS,H as CREATE_STATIC,D as CREATE_TEXT,B as CREATE_VNODE,tr as DOMDirectiveTransforms,er as DOMNodeTransforms,C as FRAGMENT,ne as GUARD_REACTIVE_PROPS,he as IS_MEMO_SAME,fe as IS_REF,P as KEEP_ALIVE,Q as MERGE_PROPS,X as NORMALIZE_CLASS,te as NORMALIZE_PROPS,ee as NORMALIZE_STYLE,V as OPEN_BLOCK,ae as POP_SCOPE_ID,le as PUSH_SCOPE_ID,K as RENDER_LIST,q as RENDER_SLOT,W as RESOLVE_COMPONENT,U as RESOLVE_DIRECTIVE,J as RESOLVE_DYNAMIC_COMPONENT,z as RESOLVE_FILTER,ce as SET_BLOCK_TRACKING,M as SUSPENSE,I as TELEPORT,Y as TO_DISPLAY_STRING,oe as TO_HANDLERS,ie as TO_HANDLER_KEY,Fo as TRANSITION,Do as TRANSITION_GROUP,$n as TS_NODE_TYPES,ue as UNREF,Po as V_MODEL_CHECKBOX,Lo as V_MODEL_DYNAMIC,Mo as V_MODEL_RADIO,Vo as V_MODEL_SELECT,Ro as V_MODEL_TEXT,Bo as V_ON_WITH_KEYS,Ao as V_ON_WITH_MODIFIERS,jo as V_SHOW,pe as WITH_CTX,G as WITH_DIRECTIVES,de as WITH_MEMO,Ye as advancePositionWithClone,Qe as advancePositionWithMutation,Xe as assert,Co as baseCompile,Nt as baseParse,lo as buildDirectiveArgs,so as buildProps,Qn as buildSlots,vt as checkCompatEnabled,nr as compile,Be as convertToBlock,Se as createArrayExpression,Pe as createAssignmentExpression,Ce as createBlockStatement,$e as createCacheExpression,_e as createCallExpression,$ as createCompilerError,Te as createCompoundExpression,Oe as createConditionalExpression,Go as createDOMCompilerError,Gn as createForLoopParams,we as createFunctionExpression,Me as createIfStatement,Ee as createInterpolation,xe as createObjectExpression,ke as createObjectProperty,Ve as createReturnStatement,ve as createRoot,Re as createSequenceExpression,Ne as createSimpleExpression,cn as createStructuralDirectiveTransform,Ie as createTemplateLiteral,on as createTransformContext,be as createVNodeCall,En as extractIdentifiers,et as findDir,tt as findProp,un as generate,S as generateCodeFrame,$o as getBaseTransformPreset,Yt as getConstantType,On as getImportedName,Ze as getInnerRange,ht as getMemoedVNodeCall,Ae as getVNodeBlockHelper,Le as getVNodeHelper,ot as hasDynamicKeyVBind,dt as hasScopeRef,me as helperNameMap,pt as injectProp,Fe as isBuiltInType,In as isCallOf,De as isCoreComponent,Tn as isFunctionType,xn as isInDestructureAssignment,qe as isMemberExpression,Ge as isMemberExpressionBrowser,Ke as isMemberExpressionNode,Sn as isReferencedIdentifier,We as isSimpleIdentifier,ct as isSlotOutlet,nt as isStaticArgOf,je as isStaticExp,_n as isStaticProperty,wn as isStaticPropertyKey,it as isTemplateNode,rt as isText,st as isVSlot,ye as locStub,Io as noopDirectiveTransform,or as parse,Jo as parserOptions,Pn as processExpression,Dn as processFor,Ln as processIf,uo as processSlotOutlet,ge as registerRuntimeHelpers,ro as resolveComponentType,Rn as stringifyExpression,ft as toValidAssetId,qn as trackSlotScopes,Zn as trackVForSlotScopes,rn as transform,mo as transformBind,oo as transformElement,Mn as transformExpression,So as transformModel,ho as transformOn,Uo as transformStyle,sn as traverseNode,Cn as unwrapTSNode,Nn as walkBlockDeclarations,kn as walkFunctionParams,bn as walkIdentifiers,bt as warnDeprecation};
|
|
@@ -10,6 +10,46 @@ var VueCompilerDOM = (function (exports) {
|
|
|
10
10
|
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
const EMPTY_OBJ = Object.freeze({}) ;
|
|
14
|
+
const NOOP = () => {
|
|
15
|
+
};
|
|
16
|
+
const NO = () => false;
|
|
17
|
+
const onRE = /^on[^a-z]/;
|
|
18
|
+
const isOn = (key) => onRE.test(key);
|
|
19
|
+
const extend = Object.assign;
|
|
20
|
+
const isArray = Array.isArray;
|
|
21
|
+
const isString = (val) => typeof val === "string";
|
|
22
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
23
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
24
|
+
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
25
|
+
// the leading comma is intentional so empty string "" is also included
|
|
26
|
+
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
27
|
+
);
|
|
28
|
+
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
29
|
+
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
30
|
+
);
|
|
31
|
+
const cacheStringFunction = (fn) => {
|
|
32
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
33
|
+
return (str) => {
|
|
34
|
+
const hit = cache[str];
|
|
35
|
+
return hit || (cache[str] = fn(str));
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
const camelizeRE = /-(\w)/g;
|
|
39
|
+
const camelize = cacheStringFunction((str) => {
|
|
40
|
+
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
41
|
+
});
|
|
42
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
43
|
+
const hyphenate = cacheStringFunction(
|
|
44
|
+
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
45
|
+
);
|
|
46
|
+
const capitalize = cacheStringFunction(
|
|
47
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
48
|
+
);
|
|
49
|
+
const toHandlerKey = cacheStringFunction(
|
|
50
|
+
(str) => str ? `on${capitalize(str)}` : ``
|
|
51
|
+
);
|
|
52
|
+
|
|
13
53
|
const PatchFlagNames = {
|
|
14
54
|
[1]: `TEXT`,
|
|
15
55
|
[2]: `CLASS`,
|
|
@@ -94,46 +134,6 @@ var VueCompilerDOM = (function (exports) {
|
|
|
94
134
|
const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
|
|
95
135
|
const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
|
|
96
136
|
|
|
97
|
-
const EMPTY_OBJ = Object.freeze({}) ;
|
|
98
|
-
const NOOP = () => {
|
|
99
|
-
};
|
|
100
|
-
const NO = () => false;
|
|
101
|
-
const onRE = /^on[^a-z]/;
|
|
102
|
-
const isOn = (key) => onRE.test(key);
|
|
103
|
-
const extend = Object.assign;
|
|
104
|
-
const isArray = Array.isArray;
|
|
105
|
-
const isString = (val) => typeof val === "string";
|
|
106
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
107
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
108
|
-
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
109
|
-
// the leading comma is intentional so empty string "" is also included
|
|
110
|
-
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
111
|
-
);
|
|
112
|
-
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
113
|
-
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
114
|
-
);
|
|
115
|
-
const cacheStringFunction = (fn) => {
|
|
116
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
117
|
-
return (str) => {
|
|
118
|
-
const hit = cache[str];
|
|
119
|
-
return hit || (cache[str] = fn(str));
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
const camelizeRE = /-(\w)/g;
|
|
123
|
-
const camelize = cacheStringFunction((str) => {
|
|
124
|
-
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
125
|
-
});
|
|
126
|
-
const hyphenateRE = /\B([A-Z])/g;
|
|
127
|
-
const hyphenate = cacheStringFunction(
|
|
128
|
-
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
129
|
-
);
|
|
130
|
-
const capitalize = cacheStringFunction(
|
|
131
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
132
|
-
);
|
|
133
|
-
const toHandlerKey = cacheStringFunction(
|
|
134
|
-
(str) => str ? `on${capitalize(str)}` : ``
|
|
135
|
-
);
|
|
136
|
-
|
|
137
137
|
function defaultOnError(error) {
|
|
138
138
|
throw error;
|
|
139
139
|
}
|
|
@@ -469,6 +469,20 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
469
469
|
loc: locStub
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
|
+
function getVNodeHelper(ssr, isComponent) {
|
|
473
|
+
return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;
|
|
474
|
+
}
|
|
475
|
+
function getVNodeBlockHelper(ssr, isComponent) {
|
|
476
|
+
return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;
|
|
477
|
+
}
|
|
478
|
+
function convertToBlock(node, { helper, removeHelper, inSSR }) {
|
|
479
|
+
if (!node.isBlock) {
|
|
480
|
+
node.isBlock = true;
|
|
481
|
+
removeHelper(getVNodeHelper(inSSR, node.isComponent));
|
|
482
|
+
helper(OPEN_BLOCK);
|
|
483
|
+
helper(getVNodeBlockHelper(inSSR, node.isComponent));
|
|
484
|
+
}
|
|
485
|
+
}
|
|
472
486
|
|
|
473
487
|
const isStaticExp = (p) => p.type === 4 && p.isStatic;
|
|
474
488
|
const isBuiltInType = (tag, expected) => tag === expected || tag === hyphenate(expected);
|
|
@@ -639,12 +653,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
639
653
|
function isSlotOutlet(node) {
|
|
640
654
|
return node.type === 1 && node.tagType === 2;
|
|
641
655
|
}
|
|
642
|
-
function getVNodeHelper(ssr, isComponent) {
|
|
643
|
-
return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;
|
|
644
|
-
}
|
|
645
|
-
function getVNodeBlockHelper(ssr, isComponent) {
|
|
646
|
-
return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;
|
|
647
|
-
}
|
|
648
656
|
const propsHelperSet = /* @__PURE__ */ new Set([NORMALIZE_PROPS, GUARD_REACTIVE_PROPS]);
|
|
649
657
|
function getUnnormalizedProps(props, callPath = []) {
|
|
650
658
|
if (props && !isString(props) && props.type === 14) {
|
|
@@ -777,14 +785,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
777
785
|
return node;
|
|
778
786
|
}
|
|
779
787
|
}
|
|
780
|
-
function makeBlock(node, { helper, removeHelper, inSSR }) {
|
|
781
|
-
if (!node.isBlock) {
|
|
782
|
-
node.isBlock = true;
|
|
783
|
-
removeHelper(getVNodeHelper(inSSR, node.isComponent));
|
|
784
|
-
helper(OPEN_BLOCK);
|
|
785
|
-
helper(getVNodeBlockHelper(inSSR, node.isComponent));
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
788
|
|
|
789
789
|
const deprecationData = {
|
|
790
790
|
["COMPILER_IS_ON_ELEMENT"]: {
|
|
@@ -2046,7 +2046,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
2046
2046
|
if (isSingleElementRoot(root, child) && child.codegenNode) {
|
|
2047
2047
|
const codegenNode = child.codegenNode;
|
|
2048
2048
|
if (codegenNode.type === 13) {
|
|
2049
|
-
|
|
2049
|
+
convertToBlock(codegenNode, context);
|
|
2050
2050
|
}
|
|
2051
2051
|
root.codegenNode = codegenNode;
|
|
2052
2052
|
} else {
|
|
@@ -2807,6 +2807,35 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
2807
2807
|
};
|
|
2808
2808
|
const isStaticProperty = (node) => node && (node.type === "ObjectProperty" || node.type === "ObjectMethod") && !node.computed;
|
|
2809
2809
|
const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
|
|
2810
|
+
function getImportedName(specifier) {
|
|
2811
|
+
if (specifier.type === "ImportSpecifier")
|
|
2812
|
+
return specifier.imported.type === "Identifier" ? specifier.imported.name : specifier.imported.value;
|
|
2813
|
+
else if (specifier.type === "ImportNamespaceSpecifier")
|
|
2814
|
+
return "*";
|
|
2815
|
+
return "default";
|
|
2816
|
+
}
|
|
2817
|
+
const TS_NODE_TYPES = [
|
|
2818
|
+
"TSAsExpression",
|
|
2819
|
+
// foo as number
|
|
2820
|
+
"TSTypeAssertion",
|
|
2821
|
+
// (<number>foo)
|
|
2822
|
+
"TSNonNullExpression",
|
|
2823
|
+
// foo!
|
|
2824
|
+
"TSInstantiationExpression",
|
|
2825
|
+
// foo<string>
|
|
2826
|
+
"TSSatisfiesExpression"
|
|
2827
|
+
// foo satisfies T
|
|
2828
|
+
];
|
|
2829
|
+
function unwrapTSNode(node) {
|
|
2830
|
+
if (TS_NODE_TYPES.includes(node.type)) {
|
|
2831
|
+
return unwrapTSNode(node.expression);
|
|
2832
|
+
} else {
|
|
2833
|
+
return node;
|
|
2834
|
+
}
|
|
2835
|
+
}
|
|
2836
|
+
function isCallOf(node, test) {
|
|
2837
|
+
return !!(node && test && node.type === "CallExpression" && node.callee.type === "Identifier" && (typeof test === "string" ? node.callee.name === test : test(node.callee.name)));
|
|
2838
|
+
}
|
|
2810
2839
|
|
|
2811
2840
|
const prohibitedKeywordRE = new RegExp(
|
|
2812
2841
|
"\\b" + "arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b") + "\\b"
|
|
@@ -3065,7 +3094,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
3065
3094
|
const ret = firstChild.codegenNode;
|
|
3066
3095
|
const vnodeCall = getMemoedVNodeCall(ret);
|
|
3067
3096
|
if (vnodeCall.type === 13) {
|
|
3068
|
-
|
|
3097
|
+
convertToBlock(vnodeCall, context);
|
|
3069
3098
|
}
|
|
3070
3099
|
injectProp(vnodeCall, keyProperty, context);
|
|
3071
3100
|
return ret;
|
|
@@ -4716,7 +4745,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
4716
4745
|
const codegenNode = node.codegenNode || context.currentNode.codegenNode;
|
|
4717
4746
|
if (codegenNode && codegenNode.type === 13) {
|
|
4718
4747
|
if (node.tagType !== 1) {
|
|
4719
|
-
|
|
4748
|
+
convertToBlock(codegenNode, context);
|
|
4720
4749
|
}
|
|
4721
4750
|
node.codegenNode = createCallExpression(context.helper(WITH_MEMO), [
|
|
4722
4751
|
dir.exp,
|
|
@@ -5316,6 +5345,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5316
5345
|
exports.TO_HANDLER_KEY = TO_HANDLER_KEY;
|
|
5317
5346
|
exports.TRANSITION = TRANSITION;
|
|
5318
5347
|
exports.TRANSITION_GROUP = TRANSITION_GROUP;
|
|
5348
|
+
exports.TS_NODE_TYPES = TS_NODE_TYPES;
|
|
5319
5349
|
exports.UNREF = UNREF;
|
|
5320
5350
|
exports.V_MODEL_CHECKBOX = V_MODEL_CHECKBOX;
|
|
5321
5351
|
exports.V_MODEL_DYNAMIC = V_MODEL_DYNAMIC;
|
|
@@ -5338,6 +5368,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5338
5368
|
exports.buildSlots = buildSlots;
|
|
5339
5369
|
exports.checkCompatEnabled = checkCompatEnabled;
|
|
5340
5370
|
exports.compile = compile;
|
|
5371
|
+
exports.convertToBlock = convertToBlock;
|
|
5341
5372
|
exports.createArrayExpression = createArrayExpression;
|
|
5342
5373
|
exports.createAssignmentExpression = createAssignmentExpression;
|
|
5343
5374
|
exports.createBlockStatement = createBlockStatement;
|
|
@@ -5368,6 +5399,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5368
5399
|
exports.generateCodeFrame = generateCodeFrame;
|
|
5369
5400
|
exports.getBaseTransformPreset = getBaseTransformPreset;
|
|
5370
5401
|
exports.getConstantType = getConstantType;
|
|
5402
|
+
exports.getImportedName = getImportedName;
|
|
5371
5403
|
exports.getInnerRange = getInnerRange;
|
|
5372
5404
|
exports.getMemoedVNodeCall = getMemoedVNodeCall;
|
|
5373
5405
|
exports.getVNodeBlockHelper = getVNodeBlockHelper;
|
|
@@ -5377,6 +5409,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5377
5409
|
exports.helperNameMap = helperNameMap;
|
|
5378
5410
|
exports.injectProp = injectProp;
|
|
5379
5411
|
exports.isBuiltInType = isBuiltInType;
|
|
5412
|
+
exports.isCallOf = isCallOf;
|
|
5380
5413
|
exports.isCoreComponent = isCoreComponent;
|
|
5381
5414
|
exports.isFunctionType = isFunctionType;
|
|
5382
5415
|
exports.isInDestructureAssignment = isInDestructureAssignment;
|
|
@@ -5394,7 +5427,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5394
5427
|
exports.isText = isText$1;
|
|
5395
5428
|
exports.isVSlot = isVSlot;
|
|
5396
5429
|
exports.locStub = locStub;
|
|
5397
|
-
exports.makeBlock = makeBlock;
|
|
5398
5430
|
exports.noopDirectiveTransform = noopDirectiveTransform;
|
|
5399
5431
|
exports.parse = parse;
|
|
5400
5432
|
exports.parserOptions = parserOptions;
|
|
@@ -5416,6 +5448,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
5416
5448
|
exports.transformOn = transformOn$1;
|
|
5417
5449
|
exports.transformStyle = transformStyle;
|
|
5418
5450
|
exports.traverseNode = traverseNode;
|
|
5451
|
+
exports.unwrapTSNode = unwrapTSNode;
|
|
5419
5452
|
exports.walkBlockDeclarations = walkBlockDeclarations;
|
|
5420
5453
|
exports.walkFunctionParams = walkFunctionParams;
|
|
5421
5454
|
exports.walkIdentifiers = walkIdentifiers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n=/;(?![^(]*\))/g,o=/:([^]+)/,r=new RegExp("\\/\\*.*?\\*\\/","gs");const s=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),i=t("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"),c=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),l={},a=()=>{},p=()=>!1,u=/^on[^a-z]/,f=e=>u.test(e),d=Object.assign,h=Array.isArray,m=e=>"string"==typeof e,g=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,v=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),b=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E=/-(\w)/g,x=b((e=>e.replace(E,((e,t)=>t?t.toUpperCase():"")))),N=/\B([A-Z])/g,T=b((e=>e.replace(N,"-$1").toLowerCase())),_=b((e=>e.charAt(0).toUpperCase()+e.slice(1))),k=b((e=>e?`on${_(e)}`:""));function O(e){throw e}function C(e){}function I(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const M=Symbol(""),R=Symbol(""),P=Symbol(""),w=Symbol(""),$=Symbol(""),L=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),Y=Symbol(""),Z=Symbol(""),q=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de=Symbol(""),he=Symbol(""),me={[M]:"Fragment",[R]:"Teleport",[P]:"Suspense",[w]:"KeepAlive",[$]:"BaseTransition",[L]:"openBlock",[V]:"createBlock",[A]:"createElementBlock",[D]:"createVNode",[B]:"createElementVNode",[F]:"createCommentVNode",[j]:"createTextVNode",[H]:"createStaticVNode",[W]:"resolveComponent",[K]:"resolveDynamicComponent",[U]:"resolveDirective",[J]:"resolveFilter",[G]:"withDirectives",[z]:"renderList",[Y]:"renderSlot",[Z]:"createSlots",[q]:"toDisplayString",[X]:"mergeProps",[Q]:"normalizeClass",[ee]:"normalizeStyle",[te]:"normalizeProps",[ne]:"guardReactiveProps",[oe]:"toHandlers",[re]:"camelize",[se]:"capitalize",[ie]:"toHandlerKey",[ce]:"setBlockTracking",[le]:"pushScopeId",[ae]:"popScopeId",[pe]:"withCtx",[ue]:"unref",[fe]:"isRef",[de]:"withMemo",[he]:"isMemoSame"};function ge(e){Object.getOwnPropertySymbols(e).forEach((t=>{me[t]=e[t]}))}const ye={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ve(e,t=ye){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Se(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ye){return e&&(c?(e.helper(L),e.helper(Qe(e.inSSR,a))):e.helper(Xe(e.inSSR,a)),i&&e.helper(G)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function be(e,t=ye){return{type:17,loc:t,elements:e}}function Ee(e,t=ye){return{type:15,loc:t,properties:e}}function xe(e,t){return{type:16,loc:ye,key:m(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ye,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Te(e,t=ye){return{type:8,loc:t,children:e}}function _e(e,t=[],n=ye){return{type:14,loc:n,callee:e,arguments:t}}function ke(e,t,n=!1,o=!1,r=ye){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Oe(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ye}}function Ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ye}}function Ie(e){return{type:21,body:e,loc:ye}}const Me=e=>4===e.type&&e.isStatic,Re=(e,t)=>e===t||e===T(t);function Pe(e){return Re(e,"Teleport")?R:Re(e,"Suspense")?P:Re(e,"KeepAlive")?w:Re(e,"BaseTransition")?$:void 0}const we=/^\d|[^\$\w]/,$e=e=>!we.test(e),Le=/[A-Za-z_$\xA0-\uFFFF]/,Ve=/[\.\?\w$\xA0-\uFFFF]/,Ae=/\s+[.[]\s*|\s*[.[]\s+/g,De=e=>{e=e.trim().replace(Ae,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?Le:Ve).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r},Be=a,Fe=De;function je(e,t,n){const o={source:e.source.slice(t,t+n),start:He(e.start,e.source,t),end:e.end};return null!=n&&(o.end=He(e.start,e.source,t+n)),o}function He(e,t,n=t.length){return We(d({},e),t,n)}function We(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ke(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(m(t)?r.name===t:t.test(r.name)))return r}}function Ue(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Je(s.arg,t))return s}}function Je(e,t){return!(!e||!Me(e)||e.content!==t)}function Ge(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function ze(e){return 5===e.type||2===e.type}function Ye(e){return 7===e.type&&"slot"===e.name}function Ze(e){return 1===e.type&&3===e.tagType}function qe(e){return 1===e.type&&2===e.tagType}function Xe(e,t){return e||t?D:B}function Qe(e,t){return e||t?V:A}const et=new Set([te,ne]);function tt(e,t=[]){if(e&&!m(e)&&14===e.type){const n=e.callee;if(!m(n)&&et.has(n))return tt(e.arguments[0],t.concat(e))}return[e,t]}function nt(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!m(s)&&14===s.type){const e=tt(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||m(s))o=Ee([t]);else if(14===s.type){const e=s.arguments[0];m(e)||15!==e.type?s.callee===oe?o=_e(n.helper(X),[Ee([t]),s]):s.arguments.unshift(Ee([t])):ot(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(ot(t,s)||s.properties.unshift(t),o=s):(o=_e(n.helper(X),[Ee([t]),s]),r&&r.callee===ne&&(r=i[i.length-2]));13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function ot(e,t){let n=!1;if(4===e.key.type){const o=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===o))}return n}function rt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function st(e){return 14===e.type&&e.callee===de?e.arguments[1].returns:e}function it(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Xe(o,e.isComponent)),t(L),t(Qe(o,e.isComponent)))}const ct={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function lt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function at(e,t){const n=lt("MODE",t),o=lt(e,t);return 3===n?!0===o:!1!==o}function pt(e,t,n,...o){return at(e,t)}const ut=/&(gt|lt|amp|apos|quot);/g,ft={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},dt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:p,isPreTag:p,isCustomElement:p,decodeEntities:e=>e.replace(ut,((e,t)=>ft[t])),onError:O,onWarn:C,comments:!1};function ht(e,t={}){const n=function(e,t){const n=d({},dt);let o;for(o in t)n[o]=void 0===t[o]?dt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=It(n);return ve(mt(n,0,[]),Mt(n,o))}function mt(e,t,n){const o=Rt(n),r=o?o.ns:0,s=[];for(;!At(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Pt(i,e.options.delimiters[0]))c=kt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Pt(i,"\x3c!--")?vt(e):Pt(i,"<!DOCTYPE")?St(e):Pt(i,"<![CDATA[")&&0!==r?yt(e,n):St(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){wt(e,3);continue}if(/[a-z]/i.test(i[2])){Nt(e,Et.End,o);continue}Vt(e,12,2),c=St(e)}else/[a-z]/i.test(i[1])?(c=bt(e,n),at("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&xt(e.name)))&&(c=c.children)):"?"===i[1]&&(Vt(e,21,1),c=St(e));if(c||(c=Ot(e,t)),h(c))for(let e=0;e<c.length;e++)gt(s,c[e]);else gt(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(2===o.type)if(e.inPre)o.content=o.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type&&3===r.type||3===e.type&&1===r.type||1===e.type&&3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}else 3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function gt(e,t){if(2===t.type){const n=Rt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function yt(e,t){wt(e,9);const n=mt(e,3,t);return 0===e.source.length||wt(e,3),n}function vt(e){const t=It(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)wt(e,s-r+1),r=s+1;wt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),wt(e,e.source.length);return{type:3,content:n,loc:Mt(e,t)}}function St(e){const t=It(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),wt(e,e.source.length)):(o=e.source.slice(n,r),wt(e,r+1)),{type:3,content:o,loc:Mt(e,t)}}function bt(e,t){const n=e.inPre,o=e.inVPre,r=Rt(t),s=Nt(e,Et.Start,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=mt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&pt("COMPILER_INLINE_TEMPLATE",e)){const n=Mt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Dt(e.source,s.tag))Nt(e,Et.End,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Pt(e.loc.source,"\x3c!--")}return s.loc=Mt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}var Et=(e=>(e[e.Start=0]="Start",e[e.End=1]="End",e))(Et||{});const xt=t("if,else,else-if,for,slot");function Nt(e,t,n){const o=It(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);wt(e,r[0].length),$t(e);const c=It(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Tt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,d(e,c),e.source=l,a=Tt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Pt(e.source,"/>"),wt(e,p?2:1)),1===t)return;let u=0;return e.inVPre||("slot"===s?u=2:"template"===s?a.some((e=>7===e.type&&xt(e.name)))&&(u=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Pe(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(pt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Je(e.arg,"is")&&pt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(u=1)),{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Mt(e,o),codegenNode:void 0}}function Tt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Pt(e.source,">")&&!Pt(e.source,"/>");){if(Pt(e.source,"/")){wt(e,1),$t(e);continue}const r=_t(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),$t(e)}return n}function _t(e,t){const n=It(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const t=/["'<]/g;let n;for(;n=t.exec(o);)Vt(e,17,n.index)}let r;wt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&($t(e),wt(e,1),$t(e),r=function(e){const t=It(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){wt(e,1);const t=e.source.indexOf(o);-1===t?n=Ct(e,e.source.length,4):(n=Ct(e,t,4),wt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)Vt(e,18,r.index);n=Ct(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Mt(e,t)}}(e));const s=Mt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Pt(o,"."),l=t[1]||(c||Pt(o,":")?"bind":Pt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Mt(e,Lt(e,n,s),Lt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]")?a=a.slice(1,a.length-1):(Vt(e,27),a=a.slice(1))):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=He(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].slice(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&pt("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return!e.inVPre&&Pt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function kt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=It(e);wt(e,n.length);const i=It(e),c=It(e),l=r-n.length,a=e.source.slice(0,l),p=Ct(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&We(i,a,f);return We(c,a,l-(p.length-u.length-f)),wt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Mt(e,i,c)},loc:Mt(e,s)}}function Ot(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=It(e);return{type:2,content:Ct(e,o,t),loc:Mt(e,r)}}function Ct(e,t,n){const o=e.source.slice(0,t);return wt(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function It(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Mt(e,t,n){return{start:t,end:n=n||It(e),source:e.originalSource.slice(t.offset,n.offset)}}function Rt(e){return e[e.length-1]}function Pt(e,t){return e.startsWith(t)}function wt(e,t){const{source:n}=e;We(e,n,t),e.source=n.slice(t)}function $t(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&wt(e,t[0].length)}function Lt(e,t,n){return He(t,e.originalSource.slice(t.offset,n),n)}function Vt(e,t,n,o=It(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(I(t,{start:o,end:o,source:""}))}function At(e,t,n){const o=e.source;switch(t){case 0:if(Pt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Dt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Rt(n);if(e&&Dt(o,e.tag))return!0;break}case 3:if(Pt(o,"]]>"))return!0}return!o}function Dt(e,t){return Pt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Bt(e,t){jt(e,t,Ft(e,e.children[0]))}function Ft(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!qe(t)}function jt(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Ht(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Gt(n);if((!o||512===o||1===o)&&Ut(e,t)>=2){const o=Jt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,jt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)jt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)jt(e.branches[n],t,1===e.branches[n].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&h(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(be(e.codegenNode.children)))}function Ht(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Gt(r))return n.set(e,0),0;{let o=3;const s=Ut(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Ht(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Ht(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(L),t.removeHelper(Qe(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Xe(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Ht(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(m(o)||g(o))continue;const r=Ht(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Wt=new Set([Q,ee,te,ne]);function Kt(e,t){if(14===e.type&&!m(e.callee)&&Wt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Ht(n,t);if(14===n.type)return Kt(n,t)}return 0}function Ut(e,t){let n=3;const o=Jt(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Ht(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Ht(s,t):14===s.type?Kt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Jt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Gt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function zt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:c=null,isBuiltInComponent:p=a,isCustomElement:u=a,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=l,inline:b=!1,isTS:E=!1,onError:N=O,onWarn:T=C,compatConfig:k}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),M={selfName:I&&_(x(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:c,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:b,isTS:E,onError:N,onWarn:T,compatConfig:k,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=M.helpers.get(e)||0;return M.helpers.set(e,t+1),e},removeHelper(e){const t=M.helpers.get(e);if(t){const n=t-1;n?M.helpers.set(e,n):M.helpers.delete(e)}},helperString:e=>`_${me[M.helper(e)]}`,replaceNode(e){M.parent.children[M.childIndex]=M.currentNode=e},removeNode(e){const t=e?M.parent.children.indexOf(e):M.currentNode?M.childIndex:-1;e&&e!==M.currentNode?M.childIndex>t&&(M.childIndex--,M.onNodeRemoved()):(M.currentNode=null,M.onNodeRemoved()),M.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){m(e)&&(e=Ne(e)),M.hoists.push(e);const t=Ne(`_hoisted_${M.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Ce(M.cached++,e,t)};return M.filters=new Set,M}function Yt(e,t){const n=zt(e,t);Zt(e,n),t.hoistStatic&&Bt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Ft(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&it(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=Se(t,n(M),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Zt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(h(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(F);break;case 5:t.ssr||t.helper(q);break;case 9:for(let n=0;n<e.branches.length;n++)Zt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];m(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Zt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function qt(e,t){const n=m(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Ye))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const Xt="/*#__PURE__*/",Qt=e=>`${me[e]}: _${me[e]}`;function en(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:p=!1,isTS:u=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:p,isTS:u,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${me[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}function tn(e,t={}){const n=en(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=Array.from(e.helpers),u=p.length>0,f=!s&&"module"!==o,d=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[D,B,F,j,H].filter((e=>i.includes(e))).map(Qt).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),sn(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,d);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),f&&(r("with (_ctx) {"),i(),u&&(r(`const { ${p.map(Qt).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(nn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(nn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),nn(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?sn(e.codegenNode,n):r("null"),f&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function nn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?J:"component"===t?W:U);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${rt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function on(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),rn(e,t,n),n&&t.deindent(),t.push("]")}function rn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];m(c)?r(c):h(c)?on(c,t):sn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function sn(e,t){if(m(e))t.push(e);else if(g(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:sn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:cn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Xt);n(`${o(q)}(`),sn(e.content,t),n(")")}(e,t);break;case 8:ln(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Xt);n(`${o(F)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(G)+"(");u&&n(`(${o(L)}(${f?"true":""}), `);r&&n(Xt);const h=u?Qe(t.inSSR,d):Xe(t.inSSR,d);n(o(h)+"(",e),rn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),sn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=m(e.callee)?e.callee:o(e.callee);r&&n(Xt);n(s+"(",e),rn(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];an(e,t),n(": "),sn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){on(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${me[pe]}(`);n("(",e),h(s)?rn(s,t):s&&sn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),h(i)?on(i,t):sn(i,t)):c&&sn(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!$e(n.content);e&&i("("),cn(n,t),e&&i(")")}else i("("),sn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),sn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;sn(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(ce)}(-1),`),i());n(`_cache[${e.index}] = `),sn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ce)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:rn(e.body,t,!0,!1)}}function cn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function ln(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];m(o)?t.push(o):sn(o,t)}}function an(e,t){const{push:n}=t;if(8===e.type)n("["),ln(e,t),n("]");else if(e.isStatic){n($e(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function pn(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)pn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&pn(e,t)}));break;case"RestElement":pn(e.argument,t);break;case"AssignmentPattern":pn(e.left,t)}return t}const un=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function fn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const dn=qt(/^(if|else|else-if)$/,((e,t,n)=>hn(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=gn(t,i,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=gn(t,i+e.branches.length-1,n)}}}))));function hn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(I(28,t.loc)),t.exp=Ne("true",!1,o)}if("if"===t.name){const r=mn(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError(I(30,e.loc)),n.removeNode();const r=mn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Zt(r,n),s&&s(),n.currentNode=null}else n.onError(I(30,e.loc));break}n.removeNode(i)}}}}function mn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Ke(e,"for")?e.children:[e],userKey:Ue(e,"key"),isTemplateIf:n}}function gn(e,t,n){return e.condition?Oe(e.condition,yn(e,t,n),_e(n.helper(F),['""',"true"])):yn(e,t,n)}function yn(e,t,n){const{helper:o}=n,r=xe("key",Ne(`${t}`,!1,ye,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return nt(e,r,n),e}{let t=64;return Se(n,o(M),Ee([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=st(e);return 13===t.type&&it(t,n),nt(t,r,n),e}}const vn=qt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Sn(e,t,n,(t=>{const s=_e(o(z),[t.source]),i=Ze(e),c=Ke(e,"memo"),l=Ue(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?xe("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=Se(n,o(M),void 0,s,f+"",void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:f}=t,d=1!==f.length||1!==f[0].type,h=qe(e)?e:i&&1===e.children.length&&qe(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&nt(l,p,n)):d?l=Se(n,o(M),p?Ee([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&nt(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(L),r(Qe(n.inSSR,l.isComponent))):r(Xe(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(L),o(Qe(n.inSSR,l.isComponent))):o(Xe(n.inSSR,l.isComponent))),c){const e=ke(_n(t.parseResult,[Ne("_cached")]));e.body=Ie([Te(["const _memo = (",c.exp,")"]),Te(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(he)}(_cached, _memo)) return _cached`]),Te(["const _item = ",l]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(ke(_n(t.parseResult),l,!0))}}))}));function Sn(e,t,n,o){if(!t.exp)return void n.onError(I(31,t.loc));const r=Nn(t.exp);if(!r)return void n.onError(I(32,t.loc));const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:Ze(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const bn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,En=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,xn=/^\(|\)$/g;function Nn(e,t){const n=e.loc,o=e.content,r=o.match(bn);if(!r)return;const[,s,i]=r,c={source:Tn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(xn,"").trim();const a=s.indexOf(l),p=l.match(En);if(p){l=l.replace(En,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Tn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Tn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Tn(n,l,a)),c}function Tn(e,t,n){return Ne(t,!1,je(e,n,t.length))}function _n({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const kn=Ne("undefined",!1),On=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ke(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Cn=(e,t,n)=>ke(e,t,!1,!0,t.length?t[0].loc:n);function In(e,t,n=Cn){t.helper(pe);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ke(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Me(e)&&(c=!0),s.push(xe(e||Ne("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;let d=0;for(let g=0;g<o.length;g++){const e=o[g];let r;if(!Ze(e)||!(r=Ke(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l){t.onError(I(37,r.loc));break}a=!0;const{children:h,loc:m}=e,{arg:y=Ne("default",!0),exp:v,loc:S}=r;let b;Me(y)?b=y?y.content:"default":c=!0;const E=n(v,h,m);let x,N,T;if(x=Ke(e,"if"))c=!0,i.push(Oe(x.exp,Mn(y,E,d++),kn));else if(N=Ke(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=o[n],3===e.type););if(e&&Ze(e)&&Ke(e,"if")){o.splice(g,1),g--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=N.exp?Oe(N.exp,Mn(y,E,d++),kn):Mn(y,E,d++)}else t.onError(I(30,N.loc))}else if(T=Ke(e,"for")){c=!0;const e=T.parseResult||Nn(T.exp);e?i.push(_e(t.helper(z),[e.source,ke(_n(e),Mn(y,E),!0)])):t.onError(I(32,T.loc))}else{if(b){if(f.has(b)){t.onError(I(38,S));continue}f.add(b),"default"===b&&(p=!0)}s.push(xe(y,E))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),xe("default",s)};a?u.length&&u.some((e=>Pn(e)))&&(p?t.onError(I(39,u[0].loc)):s.push(e(void 0,u))):s.push(e(void 0,o))}const h=c?2:Rn(e.children)?3:1;let m=Ee(s.concat(xe("_",Ne(h+"",!1))),r);return i.length&&(m=_e(t.helper(Z),[m,be(i)])),{slots:m,hasDynamicSlots:c}}function Mn(e,t,n){const o=[xe("name",e),xe("fn",t)];return null!=n&&o.push(xe("key",Ne(String(n),!0))),Ee(o)}function Rn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Rn(n.children))return!0;break;case 9:if(Rn(n.branches))return!0;break;case 10:case 11:if(Rn(n.children))return!0}}return!1}function Pn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Pn(e.content))}const wn=new WeakMap,$n=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?Ln(e,t):`"${n}"`;const i=y(s)&&s.callee===K;let c,l,a,p,u,f,d=0,h=i||s===R||s===P||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=Vn(e,t,void 0,r,i);c=n.props,d=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;f=o&&o.length?be(o.map((e=>Bn(e,t)))):void 0,n.shouldUseBlock&&(h=!0)}if(e.children.length>0){s===w&&(h=!0,d|=1024);if(r&&s!==R&&s!==w){const{slots:n,hasDynamicSlots:o}=In(e,t);l=n,o&&(d|=1024)}else if(1===e.children.length&&s!==R){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ht(n,t)&&(d|=1),l=r||2===o?n:e.children}else l=e.children}0!==d&&(a=String(d),u&&u.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(u))),e.codegenNode=Se(t,s,c,l,a,p,f,!!h,!1,r,e.loc)};function Ln(e,t,n=!1){let{tag:o}=e;const r=Fn(o),s=Ue(e,"is");if(s)if(r||at("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return _e(t.helper(K),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Ke(e,"is");if(i&&i.exp)return _e(t.helper(K),[i.exp]);const c=Pe(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(W),t.components.add(o),rt(o,"component"))}function Vn(e,t,n=e.props,o,r,s=!1){const{tag:i,loc:c,children:l}=e;let a=[];const p=[],u=[],d=l.length>0;let h=!1,m=0,y=!1,b=!1,E=!1,x=!1,N=!1,T=!1;const _=[],k=e=>{a.length&&(p.push(Ee(An(a),c)),a=[]),e&&p.push(e)},O=({key:e,value:n})=>{if(Me(e)){const s=e.content,i=f(s);if(!i||o&&!r||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||v(s)||(x=!0),i&&v(s)&&(T=!0),20===n.type||(4===n.type||8===n.type)&&Ht(n,t)>0)return;"ref"===s?y=!0:"class"===s?b=!0:"style"===s?E=!0:"key"===s||_.includes(s)||_.push(s),!o||"class"!==s&&"style"!==s||_.includes(s)||_.push(s)}else N=!0};for(let f=0;f<n.length;f++){const r=n[f];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(y=!0,t.scopes.vFor>0&&a.push(xe(Ne("ref_for",!0),Ne("true")))),"is"===n&&(Fn(i)||o&&o.content.startsWith("vue:")||at("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(xe(Ne(n,!0,je(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:l,exp:f,loc:m}=r,y="bind"===n,v="on"===n;if("slot"===n){o||t.onError(I(40,m));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&Je(l,"is")&&(Fn(i)||at("COMPILER_IS_ON_ELEMENT",t)))continue;if(v&&s)continue;if((y&&Je(l,"key")||v&&d&&Je(l,"vue:before-update"))&&(h=!0),y&&Je(l,"ref")&&t.scopes.vFor>0&&a.push(xe(Ne("ref_for",!0),Ne("true"))),!l&&(y||v)){if(N=!0,f)if(y){if(k(),at("COMPILER_V_BIND_OBJECT_ORDER",t)){p.unshift(f);continue}p.push(f)}else k({type:14,loc:m,callee:t.helper(oe),arguments:o?[f]:[f,"true"]});else t.onError(I(y?34:35,m));continue}const b=t.directiveTransforms[n];if(b){const{props:n,needRuntime:o}=b(r,e,t);!s&&n.forEach(O),v&&l&&!Me(l)?k(Ee(n,c)):a.push(...n),o&&(u.push(r),g(o)&&wn.set(r,o))}else S(n)||(u.push(r),d&&(h=!0))}}let C;if(p.length?(k(),C=p.length>1?_e(t.helper(X),p,c):p[0]):a.length&&(C=Ee(An(a),c)),N?m|=16:(b&&!o&&(m|=2),E&&!o&&(m|=4),_.length&&(m|=8),x&&(m|=32)),h||0!==m&&32!==m||!(y||T||u.length>0)||(m|=512),!t.inSSR&&C)switch(C.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<C.properties.length;t++){const r=C.properties[t].key;Me(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=C.properties[e],s=C.properties[n];o?C=_e(t.helper(te),[C]):(r&&!Me(r.value)&&(r.value=_e(t.helper(Q),[r.value])),s&&(E||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=_e(t.helper(ee),[s.value])));break;case 14:break;default:C=_e(t.helper(te),[_e(t.helper(ne),[C])])}return{props:C,directives:u,patchFlag:m,dynamicPropNames:_,shouldUseBlock:h}}function An(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||f(s))&&Dn(i,r):(t.set(s,r),n.push(r))}return n}function Dn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=be([e.value,t.value],e.loc)}function Bn(e,t){const n=[],o=wn.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(rt(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Ne("true",!1,r);n.push(Ee(e.modifiers.map((e=>xe(e,t))),r))}return be(n,e.loc)}function Fn(e){return"component"===e||"Component"===e}const jn=(e,t)=>{if(qe(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Hn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=ke([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=_e(t.helper(Y),i,o)}};function Hn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=x(t.name),r.push(t))):"bind"===t.name&&Je(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Me(t.arg)&&(t.arg.content=x(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Vn(e,t,r,!1,!1);n=o,s.length&&t.onError(I(36,s[0].loc))}return{slotName:o,slotProps:n}}const Wn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Kn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=Ne(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?k(x(e)):`on:${e}`,!0,i.loc)}else c=Te([`${n.helperString(ie)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(ie)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=Fe(l.content),t=!(e||Wn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Te([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[xe(c,l||Ne("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},Un=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?x(i.content):`${n.helperString(re)}(${i.content})`:(i.children.unshift(`${n.helperString(re)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Jn(i,"."),r.includes("attr")&&Jn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[xe(i,Ne("",!0,s))]}:{props:[xe(i,o)]}},Jn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Gn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(ze(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!ze(s)){o=void 0;break}o||(o=n[e]=Te([t],t.loc)),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(ze(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Ht(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(j),r)}}}}},zn=new WeakSet,Yn=(e,t)=>{if(1===e.type&&Ke(e,"once",!0)){if(zn.has(e)||t.inVOnce)return;return zn.add(e),t.inVOnce=!0,t.helper(ce),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Zn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(I(41,e.loc)),qn();const s=o.loc.source,i=4===o.type?o.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return qn();if(!i.trim()||!Fe(i))return n.onError(I(42,o.loc)),qn();const l=r||Ne("modelValue",!0),a=r?Me(r)?`onUpdate:${x(r.content)}`:Te(['"onUpdate:" + ',r]):"onUpdate:modelValue";let p;p=Te([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[xe(l,e.exp),xe(a,p)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>($e(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Me(r)?`${r.content}Modifiers`:Te([r,' + "Modifiers"']):"modelModifiers";u.push(xe(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return qn(u)};function qn(e=[]){return{props:e}}const Xn=/[\w).+\-_$\]]/,Qn=(e,t)=>{at("COMPILER_FILTER",t)&&(5===e.type&&eo(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&eo(e.exp,t)})))};function eo(e,t){if(4===e.type)to(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?to(o,t):8===o.type?eo(e,t):5===o.type&&eo(o.content,t))}}function to(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Xn.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=no(i,m[s],t);e.content=i}}function no(e,t,n){n.helper(J);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${rt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${rt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const oo=new WeakSet,ro=(e,t)=>{if(1===e.type){const n=Ke(e,"memo");if(!n||oo.has(e))return;return oo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&it(o,t),e.codegenNode=_e(t.helper(de),[n.exp,ke(void 0,o),"_cache",String(t.cached++)]))}}};function so(e){return[[Yn,dn,ro,vn,Qn,jn,$n,On,Gn],{on:Kn,bind:Un,model:Zn}]}function io(e,t={}){const n=t.onError||O,o="module"===t.mode;!0===t.prefixIdentifiers?n(I(47)):o&&n(I(48));t.cacheHandlers&&n(I(49)),t.scopeId&&!o&&n(I(50));const r=m(e)?ht(e,t):e,[s,i]=so();return Yt(r,d({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:d({},i,t.directiveTransforms||{})})),tn(r,d({},t,{prefixIdentifiers:false}))}const co=()=>({props:[]}),lo=Symbol(""),ao=Symbol(""),po=Symbol(""),uo=Symbol(""),fo=Symbol(""),ho=Symbol(""),mo=Symbol(""),go=Symbol(""),yo=Symbol(""),vo=Symbol("");let So;ge({[lo]:"vModelRadio",[ao]:"vModelCheckbox",[po]:"vModelText",[uo]:"vModelSelect",[fo]:"vModelDynamic",[ho]:"withModifiers",[mo]:"withKeys",[go]:"vShow",[yo]:"Transition",[vo]:"TransitionGroup"});const bo=t("style,iframe,script,noscript",!0),Eo={isVoidTag:c,isNativeTag:e=>s(e)||i(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return So||(So=document.createElement("div")),t?(So.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,So.children[0].getAttribute("foo")):(So.innerHTML=e,So.textContent)},isBuiltInComponent:e=>Re(e,"Transition")?yo:Re(e,"TransitionGroup")?vo:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(bo(e))return 2}return 0}},xo=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ne("style",!0,t.loc),exp:No(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},No=(e,t)=>{const s=function(e){const t={};return e.replace(r,"").split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ne(JSON.stringify(s),!1,t,3)};function To(e,t){return I(e,t)}const _o=t("passive,once,capture"),ko=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Oo=t("left,right"),Co=t("onkeyup,onkeydown,onkeypress",!0),Io=(e,t)=>Me(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?Te(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Mo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(To(61,e.loc)),t.removeNode())},Ro=[xo],Po={cloak:co,html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(To(51,r)),t.children.length&&(n.onError(To(52,r)),t.children.length=0),{props:[xe(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(To(53,r)),t.children.length&&(n.onError(To(54,r)),t.children.length=0),{props:[xe(Ne("textContent",!0),o?Ht(o,n)>0?o:_e(n.helperString(q),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=Zn(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(To(56,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let i=po,c=!1;if("input"===r||s){const o=Ue(t,"type");if(o){if(7===o.type)i=fo;else if(o.value)switch(o.value.content){case"radio":i=lo;break;case"checkbox":i=ao;break;case"file":c=!0,n.onError(To(57,e.loc))}}else Ge(t)&&(i=fo)}else"select"===r&&(i=uo);c||(o.needRuntime=n.helper(i))}else n.onError(To(55,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Kn(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&pt("COMPILER_V_ON_NATIVE",n)||_o(o)?i.push(o):Oo(o)?Me(e)?Co(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):ko(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Io(r,"onContextmenu")),c.includes("middle")&&(r=Io(r,"onMouseup")),c.length&&(s=_e(n.helper(ho),[s,JSON.stringify(c)])),!i.length||Me(r)&&!Co(r.content)||(s=_e(n.helper(mo),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=Me(r)?Ne(`${r.content}${e}`,!0):Te(["(",r,`) + "${e}"`])}return{props:[xe(r,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(To(59,r)),{props:[],needRuntime:n.helper(go)}}};return e.BASE_TRANSITION=$,e.CAMELIZE=re,e.CAPITALIZE=se,e.CREATE_BLOCK=V,e.CREATE_COMMENT=F,e.CREATE_ELEMENT_BLOCK=A,e.CREATE_ELEMENT_VNODE=B,e.CREATE_SLOTS=Z,e.CREATE_STATIC=H,e.CREATE_TEXT=j,e.CREATE_VNODE=D,e.DOMDirectiveTransforms=Po,e.DOMNodeTransforms=Ro,e.FRAGMENT=M,e.GUARD_REACTIVE_PROPS=ne,e.IS_MEMO_SAME=he,e.IS_REF=fe,e.KEEP_ALIVE=w,e.MERGE_PROPS=X,e.NORMALIZE_CLASS=Q,e.NORMALIZE_PROPS=te,e.NORMALIZE_STYLE=ee,e.OPEN_BLOCK=L,e.POP_SCOPE_ID=ae,e.PUSH_SCOPE_ID=le,e.RENDER_LIST=z,e.RENDER_SLOT=Y,e.RESOLVE_COMPONENT=W,e.RESOLVE_DIRECTIVE=U,e.RESOLVE_DYNAMIC_COMPONENT=K,e.RESOLVE_FILTER=J,e.SET_BLOCK_TRACKING=ce,e.SUSPENSE=P,e.TELEPORT=R,e.TO_DISPLAY_STRING=q,e.TO_HANDLERS=oe,e.TO_HANDLER_KEY=ie,e.TRANSITION=yo,e.TRANSITION_GROUP=vo,e.UNREF=ue,e.V_MODEL_CHECKBOX=ao,e.V_MODEL_DYNAMIC=fo,e.V_MODEL_RADIO=lo,e.V_MODEL_SELECT=uo,e.V_MODEL_TEXT=po,e.V_ON_WITH_KEYS=mo,e.V_ON_WITH_MODIFIERS=ho,e.V_SHOW=go,e.WITH_CTX=pe,e.WITH_DIRECTIVES=G,e.WITH_MEMO=de,e.advancePositionWithClone=He,e.advancePositionWithMutation=We,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=io,e.baseParse=ht,e.buildDirectiveArgs=Bn,e.buildProps=Vn,e.buildSlots=In,e.checkCompatEnabled=pt,e.compile=function(e,t={}){return io(e,d({},Eo,t,{nodeTransforms:[Mo,...Ro,...t.nodeTransforms||[]],directiveTransforms:d({},Po,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=be,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ye}},e.createBlockStatement=Ie,e.createCacheExpression=Ce,e.createCallExpression=_e,e.createCompilerError=I,e.createCompoundExpression=Te,e.createConditionalExpression=Oe,e.createDOMCompilerError=To,e.createForLoopParams=_n,e.createFunctionExpression=ke,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ye}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:m(e)?Ne(e,!1,t):e}},e.createObjectExpression=Ee,e.createObjectProperty=xe,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ye}},e.createRoot=ve,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ye}},e.createSimpleExpression=Ne,e.createStructuralDirectiveTransform=qt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ye}},e.createTransformContext=zt,e.createVNodeCall=Se,e.extractIdentifiers=pn,e.findDir=Ke,e.findProp=Ue,e.generate=tn,e.generateCodeFrame=function(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")},e.getBaseTransformPreset=so,e.getConstantType=Ht,e.getInnerRange=je,e.getMemoedVNodeCall=st,e.getVNodeBlockHelper=Qe,e.getVNodeHelper=Xe,e.hasDynamicKeyVBind=Ge,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some((t=>e(t,n)));case 11:return!!e(t.source,n)||t.children.some((t=>e(t,n)));case 9:return t.branches.some((t=>e(t,n)));case 10:return!!e(t.condition,n)||t.children.some((t=>e(t,n)));case 4:return!t.isStatic&&$e(t.content)&&!!n[t.content];case 8:return t.children.some((t=>y(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=me,e.injectProp=nt,e.isBuiltInType=Re,e.isCoreComponent=Pe,e.isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),e.isInDestructureAssignment=function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},e.isMemberExpression=Fe,e.isMemberExpressionBrowser=De,e.isMemberExpressionNode=Be,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=$e,e.isSlotOutlet=qe,e.isStaticArgOf=Je,e.isStaticExp=Me,e.isStaticProperty=un,e.isStaticPropertyKey=(e,t)=>un(t)&&t.key===e,e.isTemplateNode=Ze,e.isText=ze,e.isVSlot=Ye,e.locStub=ye,e.makeBlock=it,e.noopDirectiveTransform=co,e.parse=function(e,t={}){return ht(e,d({},Eo,t))},e.parserOptions=Eo,e.processExpression=fn,e.processFor=Sn,e.processIf=hn,e.processSlotOutlet=Hn,e.registerRuntimeHelpers=ge,e.resolveComponentType=Ln,e.stringifyExpression=function e(t){return m(t)?t:4===t.type?t.content:t.children.map(e).join("")},e.toValidAssetId=rt,e.trackSlotScopes=On,e.trackVForSlotScopes=(e,t)=>{let n;if(Ze(e)&&e.props.some(Ye)&&(n=Ke(e,"for"))){const e=n.parseResult=Nn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=Yt,e.transformBind=Un,e.transformElement=$n,e.transformExpression=(e,t)=>{if(5===e.type)e.content=fn(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=fn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=fn(n,t))}}},e.transformModel=Zn,e.transformOn=Kn,e.transformStyle=xo,e.traverseNode=Zt,e.walkBlockDeclarations=function(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of pn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}},e.walkFunctionParams=function(e,t){for(const n of e.params)for(const e of pn(n))t(e)},e.walkIdentifiers=function(e,t,n=!1,o=[],r=Object.create(null)){},e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===lt(e,t))return;const{message:r,link:s}=ct[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)},e}({});
|
|
1
|
+
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={},o=()=>{},r=()=>!1,s=/^on[^a-z]/,i=e=>s.test(e),c=Object.assign,l=Array.isArray,a=e=>"string"==typeof e,p=e=>"symbol"==typeof e,u=e=>null!==e&&"object"==typeof e,f=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),d=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),h=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},m=/-(\w)/g,g=h((e=>e.replace(m,((e,t)=>t?t.toUpperCase():"")))),y=/\B([A-Z])/g,v=h((e=>e.replace(y,"-$1").toLowerCase())),S=h((e=>e.charAt(0).toUpperCase()+e.slice(1))),E=h((e=>e?`on${S(e)}`:""));const b=/;(?![^(]*\))/g,x=/:([^]+)/,T=new RegExp("\\/\\*.*?\\*\\/","gs");const N=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),_=t("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"),k=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");function O(e){throw e}function C(e){}function I(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const M=Symbol(""),R=Symbol(""),P=Symbol(""),w=Symbol(""),$=Symbol(""),L=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),Y=Symbol(""),Z=Symbol(""),q=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de=Symbol(""),he=Symbol(""),me={[M]:"Fragment",[R]:"Teleport",[P]:"Suspense",[w]:"KeepAlive",[$]:"BaseTransition",[L]:"openBlock",[V]:"createBlock",[A]:"createElementBlock",[D]:"createVNode",[B]:"createElementVNode",[F]:"createCommentVNode",[j]:"createTextVNode",[H]:"createStaticVNode",[W]:"resolveComponent",[K]:"resolveDynamicComponent",[U]:"resolveDirective",[J]:"resolveFilter",[G]:"withDirectives",[z]:"renderList",[Y]:"renderSlot",[Z]:"createSlots",[q]:"toDisplayString",[X]:"mergeProps",[Q]:"normalizeClass",[ee]:"normalizeStyle",[te]:"normalizeProps",[ne]:"guardReactiveProps",[oe]:"toHandlers",[re]:"camelize",[se]:"capitalize",[ie]:"toHandlerKey",[ce]:"setBlockTracking",[le]:"pushScopeId",[ae]:"popScopeId",[pe]:"withCtx",[ue]:"unref",[fe]:"isRef",[de]:"withMemo",[he]:"isMemoSame"};function ge(e){Object.getOwnPropertySymbols(e).forEach((t=>{me[t]=e[t]}))}const ye={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ve(e,t=ye){return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Se(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ye){return e&&(c?(e.helper(L),e.helper(Re(e.inSSR,a))):e.helper(Me(e.inSSR,a)),i&&e.helper(G)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function Ee(e,t=ye){return{type:17,loc:t,elements:e}}function be(e,t=ye){return{type:15,loc:t,properties:e}}function xe(e,t){return{type:16,loc:ye,key:a(e)?Te(e,!0):e,value:t}}function Te(e,t=!1,n=ye,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ne(e,t=ye){return{type:8,loc:t,children:e}}function _e(e,t=[],n=ye){return{type:14,loc:n,callee:e,arguments:t}}function ke(e,t,n=!1,o=!1,r=ye){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Oe(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ye}}function Ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ye}}function Ie(e){return{type:21,body:e,loc:ye}}function Me(e,t){return e||t?D:B}function Re(e,t){return e||t?V:A}function Pe(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Me(o,e.isComponent)),t(L),t(Re(o,e.isComponent)))}const we=e=>4===e.type&&e.isStatic,$e=(e,t)=>e===t||e===v(t);function Le(e){return $e(e,"Teleport")?R:$e(e,"Suspense")?P:$e(e,"KeepAlive")?w:$e(e,"BaseTransition")?$:void 0}const Ve=/^\d|[^\$\w]/,Ae=e=>!Ve.test(e),De=/[A-Za-z_$\xA0-\uFFFF]/,Be=/[\.\?\w$\xA0-\uFFFF]/,Fe=/\s+[.[]\s*|\s*[.[]\s+/g,je=e=>{e=e.trim().replace(Fe,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?De:Be).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r},He=o,We=je;function Ke(e,t,n){const o={source:e.source.slice(t,t+n),start:Ue(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ue(e.start,e.source,t+n)),o}function Ue(e,t,n=t.length){return Je(c({},e),t,n)}function Je(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ge(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(a(t)?r.name===t:t.test(r.name)))return r}}function ze(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Ye(s.arg,t))return s}}function Ye(e,t){return!(!e||!we(e)||e.content!==t)}function Ze(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function qe(e){return 5===e.type||2===e.type}function Xe(e){return 7===e.type&&"slot"===e.name}function Qe(e){return 1===e.type&&3===e.tagType}function et(e){return 1===e.type&&2===e.tagType}const tt=new Set([te,ne]);function nt(e,t=[]){if(e&&!a(e)&&14===e.type){const n=e.callee;if(!a(n)&&tt.has(n))return nt(e.arguments[0],t.concat(e))}return[e,t]}function ot(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!a(s)&&14===s.type){const e=nt(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||a(s))o=be([t]);else if(14===s.type){const e=s.arguments[0];a(e)||15!==e.type?s.callee===oe?o=_e(n.helper(X),[be([t]),s]):s.arguments.unshift(be([t])):rt(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(rt(t,s)||s.properties.unshift(t),o=s):(o=_e(n.helper(X),[be([t]),s]),r&&r.callee===ne&&(r=i[i.length-2]));13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function rt(e,t){let n=!1;if(4===e.key.type){const o=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===o))}return n}function st(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function it(e){return 14===e.type&&e.callee===de?e.arguments[1].returns:e}const ct={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function lt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function at(e,t){const n=lt("MODE",t),o=lt(e,t);return 3===n?!0===o:!1!==o}function pt(e,t,n,...o){return at(e,t)}const ut=/&(gt|lt|amp|apos|quot);/g,ft={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},dt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:r,isPreTag:r,isCustomElement:r,decodeEntities:e=>e.replace(ut,((e,t)=>ft[t])),onError:O,onWarn:C,comments:!1};function ht(e,t={}){const n=function(e,t){const n=c({},dt);let o;for(o in t)n[o]=void 0===t[o]?dt[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=It(n);return ve(mt(n,0,[]),Mt(n,o))}function mt(e,t,n){const o=Rt(n),r=o?o.ns:0,s=[];for(;!At(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Pt(i,e.options.delimiters[0]))c=kt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Pt(i,"\x3c!--")?vt(e):Pt(i,"<!DOCTYPE")?St(e):Pt(i,"<![CDATA[")&&0!==r?yt(e,n):St(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){wt(e,3);continue}if(/[a-z]/i.test(i[2])){Tt(e,bt.End,o);continue}Vt(e,12,2),c=St(e)}else/[a-z]/i.test(i[1])?(c=Et(e,n),at("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&xt(e.name)))&&(c=c.children)):"?"===i[1]&&(Vt(e,21,1),c=St(e));if(c||(c=Ot(e,t)),l(c))for(let e=0;e<c.length;e++)gt(s,c[e]);else gt(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(2===o.type)if(e.inPre)o.content=o.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type&&3===r.type||3===e.type&&1===r.type||1===e.type&&3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}else 3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function gt(e,t){if(2===t.type){const n=Rt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function yt(e,t){wt(e,9);const n=mt(e,3,t);return 0===e.source.length||wt(e,3),n}function vt(e){const t=It(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)wt(e,s-r+1),r=s+1;wt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),wt(e,e.source.length);return{type:3,content:n,loc:Mt(e,t)}}function St(e){const t=It(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),wt(e,e.source.length)):(o=e.source.slice(n,r),wt(e,r+1)),{type:3,content:o,loc:Mt(e,t)}}function Et(e,t){const n=e.inPre,o=e.inVPre,r=Rt(t),s=Tt(e,bt.Start,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=mt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&pt("COMPILER_INLINE_TEMPLATE",e)){const n=Mt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Dt(e.source,s.tag))Tt(e,bt.End,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Pt(e.loc.source,"\x3c!--")}return s.loc=Mt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}var bt=(e=>(e[e.Start=0]="Start",e[e.End=1]="End",e))(bt||{});const xt=t("if,else,else-if,for,slot");function Tt(e,t,n){const o=It(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);wt(e,r[0].length),$t(e);const l=It(e),a=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let p=Nt(e,t);0===t&&!e.inVPre&&p.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,c(e,l),e.source=a,p=Nt(e,t).filter((e=>"v-pre"!==e.name)));let u=!1;if(0===e.source.length||(u=Pt(e.source,"/>"),wt(e,u?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?p.some((e=>7===e.type&&xt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Le(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(pt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ye(e.arg,"is")&&pt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,p,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:p,isSelfClosing:u,children:[],loc:Mt(e,o),codegenNode:void 0}}function Nt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Pt(e.source,">")&&!Pt(e.source,"/>");){if(Pt(e.source,"/")){wt(e,1),$t(e);continue}const r=_t(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),$t(e)}return n}function _t(e,t){const n=It(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const t=/["'<]/g;let n;for(;n=t.exec(o);)Vt(e,17,n.index)}let r;wt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&($t(e),wt(e,1),$t(e),r=function(e){const t=It(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){wt(e,1);const t=e.source.indexOf(o);-1===t?n=Ct(e,e.source.length,4):(n=Ct(e,t,4),wt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)Vt(e,18,r.index);n=Ct(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Mt(e,t)}}(e));const s=Mt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Pt(o,"."),l=t[1]||(c||Pt(o,":")?"bind":Pt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Mt(e,Lt(e,n,s),Lt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]")?a=a.slice(1,a.length-1):(Vt(e,27),a=a.slice(1))):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ue(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].slice(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&pt("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return!e.inVPre&&Pt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function kt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=It(e);wt(e,n.length);const i=It(e),c=It(e),l=r-n.length,a=e.source.slice(0,l),p=Ct(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Je(i,a,f);return Je(c,a,l-(p.length-u.length-f)),wt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Mt(e,i,c)},loc:Mt(e,s)}}function Ot(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=It(e);return{type:2,content:Ct(e,o,t),loc:Mt(e,r)}}function Ct(e,t,n){const o=e.source.slice(0,t);return wt(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function It(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Mt(e,t,n){return{start:t,end:n=n||It(e),source:e.originalSource.slice(t.offset,n.offset)}}function Rt(e){return e[e.length-1]}function Pt(e,t){return e.startsWith(t)}function wt(e,t){const{source:n}=e;Je(e,n,t),e.source=n.slice(t)}function $t(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&wt(e,t[0].length)}function Lt(e,t,n){return Ue(t,e.originalSource.slice(t.offset,n),n)}function Vt(e,t,n,o=It(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(I(t,{start:o,end:o,source:""}))}function At(e,t,n){const o=e.source;switch(t){case 0:if(Pt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Dt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Rt(n);if(e&&Dt(o,e.tag))return!0;break}case 3:if(Pt(o,"]]>"))return!0}return!o}function Dt(e,t){return Pt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Bt(e,t){jt(e,t,Ft(e,e.children[0]))}function Ft(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!et(t)}function jt(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Ht(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Gt(n);if((!o||512===o||1===o)&&Ut(e,t)>=2){const o=Jt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,jt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)jt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)jt(e.branches[n],t,1===e.branches[n].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&l(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Ee(e.codegenNode.children)))}function Ht(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Gt(r))return n.set(e,0),0;{let o=3;const s=Ut(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Ht(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Ht(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper(L),t.removeHelper(Re(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Me(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Ht(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(a(o)||p(o))continue;const r=Ht(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Wt=new Set([Q,ee,te,ne]);function Kt(e,t){if(14===e.type&&!a(e.callee)&&Wt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Ht(n,t);if(14===n.type)return Kt(n,t)}return 0}function Ut(e,t){let n=3;const o=Jt(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Ht(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Ht(s,t):14===s.type?Kt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Jt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Gt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function zt(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:i=!1,nodeTransforms:c=[],directiveTransforms:l={},transformHoist:p=null,isBuiltInComponent:u=o,isCustomElement:f=o,expressionPlugins:d=[],scopeId:h=null,slotted:m=!0,ssr:y=!1,inSSR:v=!1,ssrCssVars:E="",bindingMetadata:b=n,inline:x=!1,isTS:T=!1,onError:N=O,onWarn:_=C,compatConfig:k}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),M={selfName:I&&S(g(I[1])),prefixIdentifiers:r,hoistStatic:s,cacheHandlers:i,nodeTransforms:c,directiveTransforms:l,transformHoist:p,isBuiltInComponent:u,isCustomElement:f,expressionPlugins:d,scopeId:h,slotted:m,ssr:y,inSSR:v,ssrCssVars:E,bindingMetadata:b,inline:x,isTS:T,onError:N,onWarn:_,compatConfig:k,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=M.helpers.get(e)||0;return M.helpers.set(e,t+1),e},removeHelper(e){const t=M.helpers.get(e);if(t){const n=t-1;n?M.helpers.set(e,n):M.helpers.delete(e)}},helperString:e=>`_${me[M.helper(e)]}`,replaceNode(e){M.parent.children[M.childIndex]=M.currentNode=e},removeNode(e){const t=e?M.parent.children.indexOf(e):M.currentNode?M.childIndex:-1;e&&e!==M.currentNode?M.childIndex>t&&(M.childIndex--,M.onNodeRemoved()):(M.currentNode=null,M.onNodeRemoved()),M.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){a(e)&&(e=Te(e)),M.hoists.push(e);const t=Te(`_hoisted_${M.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Ce(M.cached++,e,t)};return M.filters=new Set,M}function Yt(e,t){const n=zt(e,t);Zt(e,n),t.hoistStatic&&Bt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Ft(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&Pe(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=Se(t,n(M),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Zt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(l(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(F);break;case 5:t.ssr||t.helper(q);break;case 9:for(let n=0;n<e.branches.length;n++)Zt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];a(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Zt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function qt(e,t){const n=a(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Xe))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const Xt="/*#__PURE__*/",Qt=e=>`${me[e]}: _${me[e]}`;function en(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:a="vue/server-renderer",ssr:p=!1,isTS:u=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:p,isTS:u,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${me[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}function tn(e,t={}){const n=en(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=Array.from(e.helpers),u=p.length>0,f=!s&&"module"!==o,d=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[D,B,F,j,H].filter((e=>i.includes(e))).map(Qt).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),sn(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,d);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),f&&(r("with (_ctx) {"),i(),u&&(r(`const { ${p.map(Qt).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(nn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(nn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),nn(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?sn(e.codegenNode,n):r("null"),f&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function nn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?J:"component"===t?W:U);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${st(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function on(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),rn(e,t,n),n&&t.deindent(),t.push("]")}function rn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];a(c)?r(c):l(c)?on(c,t):sn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function sn(e,t){if(a(e))t.push(e);else if(p(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:sn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:cn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Xt);n(`${o(q)}(`),sn(e.content,t),n(")")}(e,t);break;case 8:ln(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Xt);n(`${o(F)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(G)+"(");u&&n(`(${o(L)}(${f?"true":""}), `);r&&n(Xt);const h=u?Re(t.inSSR,d):Me(t.inSSR,d);n(o(h)+"(",e),rn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),sn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=a(e.callee)?e.callee:o(e.callee);r&&n(Xt);n(s+"(",e),rn(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];an(e,t),n(": "),sn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){on(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:a,isSlot:p}=e;p&&n(`_${me[pe]}(`);n("(",e),l(s)?rn(s,t):s&&sn(s,t);n(") => "),(a||c)&&(n("{"),o());i?(a&&n("return "),l(i)?on(i,t):sn(i,t)):c&&sn(c,t);(a||c)&&(r(),n("}"));p&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Ae(n.content);e&&i("("),cn(n,t),e&&i(")")}else i("("),sn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),sn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;sn(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(ce)}(-1),`),i());n(`_cache[${e.index}] = `),sn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ce)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:rn(e.body,t,!0,!1)}}function cn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function ln(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):sn(o,t)}}function an(e,t){const{push:n}=t;if(8===e.type)n("["),ln(e,t),n("]");else if(e.isStatic){n(Ae(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function pn(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)pn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&pn(e,t)}));break;case"RestElement":pn(e.argument,t);break;case"AssignmentPattern":pn(e.left,t)}return t}const un=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;const fn=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function dn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const hn=qt(/^(if|else|else-if)$/,((e,t,n)=>mn(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=yn(t,i,n);else{const o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=yn(t,i+e.branches.length-1,n)}}}))));function mn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(I(28,t.loc)),t.exp=Te("true",!1,o)}if("if"===t.name){const r=gn(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError(I(30,e.loc)),n.removeNode();const r=gn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Zt(r,n),s&&s(),n.currentNode=null}else n.onError(I(30,e.loc));break}n.removeNode(i)}}}}function gn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Ge(e,"for")?e.children:[e],userKey:ze(e,"key"),isTemplateIf:n}}function yn(e,t,n){return e.condition?Oe(e.condition,vn(e,t,n),_e(n.helper(F),['""',"true"])):vn(e,t,n)}function vn(e,t,n){const{helper:o}=n,r=xe("key",Te(`${t}`,!1,ye,2)),{children:s}=e,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const e=i.codegenNode;return ot(e,r,n),e}{let t=64;return Se(n,o(M),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=it(e);return 13===t.type&&Pe(t,n),ot(t,r,n),e}}const Sn=qt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return En(e,t,n,(t=>{const s=_e(o(z),[t.source]),i=Qe(e),c=Ge(e,"memo"),l=ze(e,"key"),a=l&&(6===l.type?Te(l.value.content,!0):l.exp),p=l?xe("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=Se(n,o(M),void 0,s,f+"",void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:f}=t,d=1!==f.length||1!==f[0].type,h=et(e)?e:i&&1===e.children.length&&et(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&ot(l,p,n)):d?l=Se(n,o(M),p?be([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&ot(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(L),r(Re(n.inSSR,l.isComponent))):r(Me(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(L),o(Re(n.inSSR,l.isComponent))):o(Me(n.inSSR,l.isComponent))),c){const e=ke(kn(t.parseResult,[Te("_cached")]));e.body=Ie([Ne(["const _memo = (",c.exp,")"]),Ne(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(he)}(_cached, _memo)) return _cached`]),Ne(["const _item = ",l]),Te("_item.memo = _memo"),Te("return _item")]),s.arguments.push(e,Te("_cache"),Te(String(n.cached++)))}else s.arguments.push(ke(kn(t.parseResult),l,!0))}}))}));function En(e,t,n,o){if(!t.exp)return void n.onError(I(31,t.loc));const r=Nn(t.exp);if(!r)return void n.onError(I(32,t.loc));const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:Qe(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const bn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,xn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Tn=/^\(|\)$/g;function Nn(e,t){const n=e.loc,o=e.content,r=o.match(bn);if(!r)return;const[,s,i]=r,c={source:_n(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Tn,"").trim();const a=s.indexOf(l),p=l.match(xn);if(p){l=l.replace(xn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=_n(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=_n(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=_n(n,l,a)),c}function _n(e,t,n){return Te(t,!1,Ke(e,n,t.length))}function kn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Te("_".repeat(t+1),!1)))}([e,t,n,...o])}const On=Te("undefined",!1),Cn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ge(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},In=(e,t,n)=>ke(e,t,!1,!0,t.length?t[0].loc:n);function Mn(e,t,n=In){t.helper(pe);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ge(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!we(e)&&(c=!0),s.push(xe(e||Te("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;let d=0;for(let g=0;g<o.length;g++){const e=o[g];let r;if(!Qe(e)||!(r=Ge(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l){t.onError(I(37,r.loc));break}a=!0;const{children:h,loc:m}=e,{arg:y=Te("default",!0),exp:v,loc:S}=r;let E;we(y)?E=y?y.content:"default":c=!0;const b=n(v,h,m);let x,T,N;if(x=Ge(e,"if"))c=!0,i.push(Oe(x.exp,Rn(y,b,d++),On));else if(T=Ge(e,/^else(-if)?$/,!0)){let e,n=g;for(;n--&&(e=o[n],3===e.type););if(e&&Qe(e)&&Ge(e,"if")){o.splice(g,1),g--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=T.exp?Oe(T.exp,Rn(y,b,d++),On):Rn(y,b,d++)}else t.onError(I(30,T.loc))}else if(N=Ge(e,"for")){c=!0;const e=N.parseResult||Nn(N.exp);e?i.push(_e(t.helper(z),[e.source,ke(kn(e),Rn(y,b),!0)])):t.onError(I(32,N.loc))}else{if(E){if(f.has(E)){t.onError(I(38,S));continue}f.add(E),"default"===E&&(p=!0)}s.push(xe(y,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),xe("default",s)};a?u.length&&u.some((e=>wn(e)))&&(p?t.onError(I(39,u[0].loc)):s.push(e(void 0,u))):s.push(e(void 0,o))}const h=c?2:Pn(e.children)?3:1;let m=be(s.concat(xe("_",Te(h+"",!1))),r);return i.length&&(m=_e(t.helper(Z),[m,Ee(i)])),{slots:m,hasDynamicSlots:c}}function Rn(e,t,n){const o=[xe("name",e),xe("fn",t)];return null!=n&&o.push(xe("key",Te(String(n),!0))),be(o)}function Pn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Pn(n.children))return!0;break;case 9:if(Pn(n.branches))return!0;break;case 10:case 11:if(Pn(n.children))return!0}}return!1}function wn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():wn(e.content))}const $n=new WeakMap,Ln=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?Vn(e,t):`"${n}"`;const i=u(s)&&s.callee===K;let c,l,a,p,f,d,h=0,m=i||s===R||s===P||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=An(e,t,void 0,r,i);c=n.props,h=n.patchFlag,f=n.dynamicPropNames;const o=n.directives;d=o&&o.length?Ee(o.map((e=>Fn(e,t)))):void 0,n.shouldUseBlock&&(m=!0)}if(e.children.length>0){s===w&&(m=!0,h|=1024);if(r&&s!==R&&s!==w){const{slots:n,hasDynamicSlots:o}=Mn(e,t);l=n,o&&(h|=1024)}else if(1===e.children.length&&s!==R){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ht(n,t)&&(h|=1),l=r||2===o?n:e.children}else l=e.children}0!==h&&(a=String(h),f&&f.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(f))),e.codegenNode=Se(t,s,c,l,a,p,d,!!m,!1,r,e.loc)};function Vn(e,t,n=!1){let{tag:o}=e;const r=jn(o),s=ze(e,"is");if(s)if(r||at("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Te(s.value.content,!0):s.exp;if(e)return _e(t.helper(K),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Ge(e,"is");if(i&&i.exp)return _e(t.helper(K),[i.exp]);const c=Le(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(W),t.components.add(o),st(o,"component"))}function An(e,t,n=e.props,o,r,s=!1){const{tag:c,loc:l,children:a}=e;let u=[];const h=[],m=[],g=a.length>0;let y=!1,v=0,S=!1,E=!1,b=!1,x=!1,T=!1,N=!1;const _=[],k=e=>{u.length&&(h.push(be(Dn(u),l)),u=[]),e&&h.push(e)},O=({key:e,value:n})=>{if(we(e)){const s=e.content,c=i(s);if(!c||o&&!r||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||f(s)||(x=!0),c&&f(s)&&(N=!0),20===n.type||(4===n.type||8===n.type)&&Ht(n,t)>0)return;"ref"===s?S=!0:"class"===s?E=!0:"style"===s?b=!0:"key"===s||_.includes(s)||_.push(s),!o||"class"!==s&&"style"!==s||_.includes(s)||_.push(s)}else T=!0};for(let i=0;i<n.length;i++){const r=n[i];if(6===r.type){const{loc:e,name:n,value:o}=r;let s=!0;if("ref"===n&&(S=!0,t.scopes.vFor>0&&u.push(xe(Te("ref_for",!0),Te("true")))),"is"===n&&(jn(c)||o&&o.content.startsWith("vue:")||at("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(xe(Te(n,!0,Ke(e,0,n.length)),Te(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:i,exp:a,loc:f}=r,v="bind"===n,S="on"===n;if("slot"===n){o||t.onError(I(40,f));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&Ye(i,"is")&&(jn(c)||at("COMPILER_IS_ON_ELEMENT",t)))continue;if(S&&s)continue;if((v&&Ye(i,"key")||S&&g&&Ye(i,"vue:before-update"))&&(y=!0),v&&Ye(i,"ref")&&t.scopes.vFor>0&&u.push(xe(Te("ref_for",!0),Te("true"))),!i&&(v||S)){if(T=!0,a)if(v){if(k(),at("COMPILER_V_BIND_OBJECT_ORDER",t)){h.unshift(a);continue}h.push(a)}else k({type:14,loc:f,callee:t.helper(oe),arguments:o?[a]:[a,"true"]});else t.onError(I(v?34:35,f));continue}const E=t.directiveTransforms[n];if(E){const{props:n,needRuntime:o}=E(r,e,t);!s&&n.forEach(O),S&&i&&!we(i)?k(be(n,l)):u.push(...n),o&&(m.push(r),p(o)&&$n.set(r,o))}else d(n)||(m.push(r),g&&(y=!0))}}let C;if(h.length?(k(),C=h.length>1?_e(t.helper(X),h,l):h[0]):u.length&&(C=be(Dn(u),l)),T?v|=16:(E&&!o&&(v|=2),b&&!o&&(v|=4),_.length&&(v|=8),x&&(v|=32)),y||0!==v&&32!==v||!(S||N||m.length>0)||(v|=512),!t.inSSR&&C)switch(C.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<C.properties.length;t++){const r=C.properties[t].key;we(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=C.properties[e],s=C.properties[n];o?C=_e(t.helper(te),[C]):(r&&!we(r.value)&&(r.value=_e(t.helper(Q),[r.value])),s&&(b||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=_e(t.helper(ee),[s.value])));break;case 14:break;default:C=_e(t.helper(te),[_e(t.helper(ne),[C])])}return{props:C,directives:m,patchFlag:v,dynamicPropNames:_,shouldUseBlock:y}}function Dn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,c=t.get(s);c?("style"===s||"class"===s||i(s))&&Bn(c,r):(t.set(s,r),n.push(r))}return n}function Bn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Ee([e.value,t.value],e.loc)}function Fn(e,t){const n=[],o=$n.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(st(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Te("true",!1,r);n.push(be(e.modifiers.map((e=>xe(e,t))),r))}return Ee(n,e.loc)}function jn(e){return"component"===e||"Component"===e}const Hn=(e,t)=>{if(et(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Wn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=ke([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=_e(t.helper(Y),i,o)}};function Wn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=g(t.name),r.push(t))):"bind"===t.name&&Ye(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&we(t.arg)&&(t.arg.content=g(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=An(e,t,r,!1,!1);n=o,s.length&&t.onError(I(36,s[0].loc))}return{slotName:o,slotProps:n}}const Kn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Un=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);c=Te(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?E(g(e)):`on:${e}`,!0,i.loc)}else c=Ne([`${n.helperString(ie)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(ie)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=We(l.content),t=!(e||Kn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Ne([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[xe(c,l||Te("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},Jn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?g(i.content):`${n.helperString(re)}(${i.content})`:(i.children.unshift(`${n.helperString(re)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Gn(i,"."),r.includes("attr")&&Gn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[xe(i,Te("",!0,s))]}:{props:[xe(i,o)]}},Gn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},zn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(qe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!qe(s)){o=void 0;break}o||(o=n[e]=Ne([t],t.loc)),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(qe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Ht(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(j),r)}}}}},Yn=new WeakSet,Zn=(e,t)=>{if(1===e.type&&Ge(e,"once",!0)){if(Yn.has(e)||t.inVOnce)return;return Yn.add(e),t.inVOnce=!0,t.helper(ce),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},qn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(I(41,e.loc)),Xn();const s=o.loc.source,i=4===o.type?o.content:s,c=n.bindingMetadata[s];if("props"===c||"props-aliased"===c)return Xn();if(!i.trim()||!We(i))return n.onError(I(42,o.loc)),Xn();const l=r||Te("modelValue",!0),a=r?we(r)?`onUpdate:${g(r.content)}`:Ne(['"onUpdate:" + ',r]):"onUpdate:modelValue";let p;p=Ne([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const u=[xe(l,e.exp),xe(a,p)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Ae(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?we(r)?`${r.content}Modifiers`:Ne([r,' + "Modifiers"']):"modelModifiers";u.push(xe(n,Te(`{ ${t} }`,!1,e.loc,2)))}return Xn(u)};function Xn(e=[]){return{props:e}}const Qn=/[\w).+\-_$\]]/,eo=(e,t)=>{at("COMPILER_FILTER",t)&&(5===e.type&&to(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&to(e.exp,t)})))};function to(e,t){if(4===e.type)no(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?no(o,t):8===o.type?to(e,t):5===o.type&&to(o.content,t))}}function no(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Qn.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=oo(i,m[s],t);e.content=i}}function oo(e,t,n){n.helper(J);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${st(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${st(r,"filter")}(${e}${")"!==s?","+s:s}`}}const ro=new WeakSet,so=(e,t)=>{if(1===e.type){const n=Ge(e,"memo");if(!n||ro.has(e))return;return ro.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&Pe(o,t),e.codegenNode=_e(t.helper(de),[n.exp,ke(void 0,o),"_cache",String(t.cached++)]))}}};function io(e){return[[Zn,hn,so,Sn,eo,Hn,Ln,Cn,zn],{on:Un,bind:Jn,model:qn}]}function co(e,t={}){const n=t.onError||O,o="module"===t.mode;!0===t.prefixIdentifiers?n(I(47)):o&&n(I(48));t.cacheHandlers&&n(I(49)),t.scopeId&&!o&&n(I(50));const r=a(e)?ht(e,t):e,[s,i]=io();return Yt(r,c({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:c({},i,t.directiveTransforms||{})})),tn(r,c({},t,{prefixIdentifiers:false}))}const lo=()=>({props:[]}),ao=Symbol(""),po=Symbol(""),uo=Symbol(""),fo=Symbol(""),ho=Symbol(""),mo=Symbol(""),go=Symbol(""),yo=Symbol(""),vo=Symbol(""),So=Symbol("");let Eo;ge({[ao]:"vModelRadio",[po]:"vModelCheckbox",[uo]:"vModelText",[fo]:"vModelSelect",[ho]:"vModelDynamic",[mo]:"withModifiers",[go]:"withKeys",[yo]:"vShow",[vo]:"Transition",[So]:"TransitionGroup"});const bo=t("style,iframe,script,noscript",!0),xo={isVoidTag:k,isNativeTag:e=>N(e)||_(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Eo||(Eo=document.createElement("div")),t?(Eo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Eo.children[0].getAttribute("foo")):(Eo.innerHTML=e,Eo.textContent)},isBuiltInComponent:e=>$e(e,"Transition")?vo:$e(e,"TransitionGroup")?So:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(bo(e))return 2}return 0}},To=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Te("style",!0,t.loc),exp:No(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},No=(e,t)=>{const n=function(e){const t={};return e.replace(T,"").split(b).forEach((e=>{if(e){const n=e.split(x);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Te(JSON.stringify(n),!1,t,3)};function _o(e,t){return I(e,t)}const ko=t("passive,once,capture"),Oo=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Co=t("left,right"),Io=t("onkeyup,onkeydown,onkeypress",!0),Mo=(e,t)=>we(e)&&"onclick"===e.content.toLowerCase()?Te(t,!0):4!==e.type?Ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ro=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(_o(61,e.loc)),t.removeNode())},Po=[To],wo={cloak:lo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(_o(51,r)),t.children.length&&(n.onError(_o(52,r)),t.children.length=0),{props:[xe(Te("innerHTML",!0,r),o||Te("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(_o(53,r)),t.children.length&&(n.onError(_o(54,r)),t.children.length=0),{props:[xe(Te("textContent",!0),o?Ht(o,n)>0?o:_e(n.helperString(q),[o],r):Te("",!0))]}},model:(e,t,n)=>{const o=qn(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(_o(56,e.arg.loc));const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let i=uo,c=!1;if("input"===r||s){const o=ze(t,"type");if(o){if(7===o.type)i=ho;else if(o.value)switch(o.value.content){case"radio":i=ao;break;case"checkbox":i=po;break;case"file":c=!0,n.onError(_o(57,e.loc))}}else Ze(t)&&(i=ho)}else"select"===r&&(i=fo);c||(o.needRuntime=n.helper(i))}else n.onError(_o(55,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Un(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&pt("COMPILER_V_ON_NATIVE",n)||ko(o)?i.push(o):Co(o)?we(e)?Io(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Oo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Mo(r,"onContextmenu")),c.includes("middle")&&(r=Mo(r,"onMouseup")),c.length&&(s=_e(n.helper(mo),[s,JSON.stringify(c)])),!i.length||we(r)&&!Io(r.content)||(s=_e(n.helper(go),[s,JSON.stringify(i)])),l.length){const e=l.map(S).join("");r=we(r)?Te(`${r.content}${e}`,!0):Ne(["(",r,`) + "${e}"`])}return{props:[xe(r,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(_o(59,r)),{props:[],needRuntime:n.helper(yo)}}};return e.BASE_TRANSITION=$,e.CAMELIZE=re,e.CAPITALIZE=se,e.CREATE_BLOCK=V,e.CREATE_COMMENT=F,e.CREATE_ELEMENT_BLOCK=A,e.CREATE_ELEMENT_VNODE=B,e.CREATE_SLOTS=Z,e.CREATE_STATIC=H,e.CREATE_TEXT=j,e.CREATE_VNODE=D,e.DOMDirectiveTransforms=wo,e.DOMNodeTransforms=Po,e.FRAGMENT=M,e.GUARD_REACTIVE_PROPS=ne,e.IS_MEMO_SAME=he,e.IS_REF=fe,e.KEEP_ALIVE=w,e.MERGE_PROPS=X,e.NORMALIZE_CLASS=Q,e.NORMALIZE_PROPS=te,e.NORMALIZE_STYLE=ee,e.OPEN_BLOCK=L,e.POP_SCOPE_ID=ae,e.PUSH_SCOPE_ID=le,e.RENDER_LIST=z,e.RENDER_SLOT=Y,e.RESOLVE_COMPONENT=W,e.RESOLVE_DIRECTIVE=U,e.RESOLVE_DYNAMIC_COMPONENT=K,e.RESOLVE_FILTER=J,e.SET_BLOCK_TRACKING=ce,e.SUSPENSE=P,e.TELEPORT=R,e.TO_DISPLAY_STRING=q,e.TO_HANDLERS=oe,e.TO_HANDLER_KEY=ie,e.TRANSITION=vo,e.TRANSITION_GROUP=So,e.TS_NODE_TYPES=fn,e.UNREF=ue,e.V_MODEL_CHECKBOX=po,e.V_MODEL_DYNAMIC=ho,e.V_MODEL_RADIO=ao,e.V_MODEL_SELECT=fo,e.V_MODEL_TEXT=uo,e.V_ON_WITH_KEYS=go,e.V_ON_WITH_MODIFIERS=mo,e.V_SHOW=yo,e.WITH_CTX=pe,e.WITH_DIRECTIVES=G,e.WITH_MEMO=de,e.advancePositionWithClone=Ue,e.advancePositionWithMutation=Je,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=co,e.baseParse=ht,e.buildDirectiveArgs=Fn,e.buildProps=An,e.buildSlots=Mn,e.checkCompatEnabled=pt,e.compile=function(e,t={}){return co(e,c({},xo,t,{nodeTransforms:[Ro,...Po,...t.nodeTransforms||[]],directiveTransforms:c({},wo,t.directiveTransforms||{}),transformHoist:null}))},e.convertToBlock=Pe,e.createArrayExpression=Ee,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ye}},e.createBlockStatement=Ie,e.createCacheExpression=Ce,e.createCallExpression=_e,e.createCompilerError=I,e.createCompoundExpression=Ne,e.createConditionalExpression=Oe,e.createDOMCompilerError=_o,e.createForLoopParams=kn,e.createFunctionExpression=ke,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ye}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:a(e)?Te(e,!1,t):e}},e.createObjectExpression=be,e.createObjectProperty=xe,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ye}},e.createRoot=ve,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ye}},e.createSimpleExpression=Te,e.createStructuralDirectiveTransform=qt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ye}},e.createTransformContext=zt,e.createVNodeCall=Se,e.extractIdentifiers=pn,e.findDir=Ge,e.findProp=ze,e.generate=tn,e.generateCodeFrame=function(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")},e.getBaseTransformPreset=io,e.getConstantType=Ht,e.getImportedName=function(e){return"ImportSpecifier"===e.type?"Identifier"===e.imported.type?e.imported.name:e.imported.value:"ImportNamespaceSpecifier"===e.type?"*":"default"},e.getInnerRange=Ke,e.getMemoedVNodeCall=it,e.getVNodeBlockHelper=Re,e.getVNodeHelper=Me,e.hasDynamicKeyVBind=Ze,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some((t=>e(t,n)));case 11:return!!e(t.source,n)||t.children.some((t=>e(t,n)));case 9:return t.branches.some((t=>e(t,n)));case 10:return!!e(t.condition,n)||t.children.some((t=>e(t,n)));case 4:return!t.isStatic&&Ae(t.content)&&!!n[t.content];case 8:return t.children.some((t=>u(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=me,e.injectProp=ot,e.isBuiltInType=$e,e.isCallOf=function(e,t){return!!(e&&t&&"CallExpression"===e.type&&"Identifier"===e.callee.type&&("string"==typeof t?e.callee.name===t:t(e.callee.name)))},e.isCoreComponent=Le,e.isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),e.isInDestructureAssignment=function(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1},e.isMemberExpression=We,e.isMemberExpressionBrowser=je,e.isMemberExpressionNode=He,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=Ae,e.isSlotOutlet=et,e.isStaticArgOf=Ye,e.isStaticExp=we,e.isStaticProperty=un,e.isStaticPropertyKey=(e,t)=>un(t)&&t.key===e,e.isTemplateNode=Qe,e.isText=qe,e.isVSlot=Xe,e.locStub=ye,e.noopDirectiveTransform=lo,e.parse=function(e,t={}){return ht(e,c({},xo,t))},e.parserOptions=xo,e.processExpression=dn,e.processFor=En,e.processIf=mn,e.processSlotOutlet=Wn,e.registerRuntimeHelpers=ge,e.resolveComponentType=Vn,e.stringifyExpression=function e(t){return a(t)?t:4===t.type?t.content:t.children.map(e).join("")},e.toValidAssetId=st,e.trackSlotScopes=Cn,e.trackVForSlotScopes=(e,t)=>{let n;if(Qe(e)&&e.props.some(Xe)&&(n=Ge(e,"for"))){const e=n.parseResult=Nn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=Yt,e.transformBind=Jn,e.transformElement=Ln,e.transformExpression=(e,t)=>{if(5===e.type)e.content=dn(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=dn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=dn(n,t))}}},e.transformModel=qn,e.transformOn=Un,e.transformStyle=To,e.traverseNode=Zt,e.unwrapTSNode=function e(t){return fn.includes(t.type)?e(t.expression):t},e.walkBlockDeclarations=function(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of pn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}},e.walkFunctionParams=function(e,t){for(const n of e.params)for(const e of pn(n))t(e)},e.walkIdentifiers=function(e,t,n=!1,o=[],r=Object.create(null)){},e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===lt(e,t))return;const{message:r,link:s}=ct[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)},e}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.3.0-alpha.
|
|
3
|
+
"version": "3.3.0-alpha.6",
|
|
4
4
|
"description": "@vue/compiler-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/compiler-dom.esm-bundler.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@vue/shared": "3.3.0-alpha.
|
|
41
|
-
"@vue/compiler-core": "3.3.0-alpha.
|
|
40
|
+
"@vue/shared": "3.3.0-alpha.6",
|
|
41
|
+
"@vue/compiler-core": "3.3.0-alpha.6"
|
|
42
42
|
}
|
|
43
43
|
}
|