@vue/compiler-dom 3.2.29 → 3.2.30
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.
|
@@ -160,6 +160,7 @@ const isReservedProp = /*#__PURE__*/ makeMap(
|
|
|
160
160
|
'onVnodeBeforeMount,onVnodeMounted,' +
|
|
161
161
|
'onVnodeBeforeUpdate,onVnodeUpdated,' +
|
|
162
162
|
'onVnodeBeforeUnmount,onVnodeUnmounted');
|
|
163
|
+
const isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo');
|
|
163
164
|
const cacheStringFunction = (fn) => {
|
|
164
165
|
const cache = Object.create(null);
|
|
165
166
|
return ((str) => {
|
|
@@ -904,13 +905,13 @@ const deprecationData = {
|
|
|
904
905
|
message: `Platform-native elements with "is" prop will no longer be ` +
|
|
905
906
|
`treated as components in Vue 3 unless the "is" value is explicitly ` +
|
|
906
907
|
`prefixed with "vue:".`,
|
|
907
|
-
link: `https://v3.vuejs.org/
|
|
908
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`
|
|
908
909
|
},
|
|
909
910
|
["COMPILER_V_BIND_SYNC" /* COMPILER_V_BIND_SYNC */]: {
|
|
910
911
|
message: key => `.sync modifier for v-bind has been removed. Use v-model with ` +
|
|
911
912
|
`argument instead. \`v-bind:${key}.sync\` should be changed to ` +
|
|
912
913
|
`\`v-model:${key}\`.`,
|
|
913
|
-
link: `https://v3.vuejs.org/
|
|
914
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-model.html`
|
|
914
915
|
},
|
|
915
916
|
["COMPILER_V_BIND_PROP" /* COMPILER_V_BIND_PROP */]: {
|
|
916
917
|
message: `.prop modifier for v-bind has been removed and no longer necessary. ` +
|
|
@@ -922,11 +923,11 @@ const deprecationData = {
|
|
|
922
923
|
`that appears before v-bind in the case of conflict. ` +
|
|
923
924
|
`To retain 2.x behavior, move v-bind to make it the first attribute. ` +
|
|
924
925
|
`You can also suppress this warning if the usage is intended.`,
|
|
925
|
-
link: `https://v3.vuejs.org/
|
|
926
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-bind.html`
|
|
926
927
|
},
|
|
927
928
|
["COMPILER_V_ON_NATIVE" /* COMPILER_V_ON_NATIVE */]: {
|
|
928
929
|
message: `.native modifier for v-on has been removed as is no longer necessary.`,
|
|
929
|
-
link: `https://v3.vuejs.org/
|
|
930
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`
|
|
930
931
|
},
|
|
931
932
|
["COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */]: {
|
|
932
933
|
message: `v-if / v-for precedence when used on the same element has changed ` +
|
|
@@ -934,7 +935,7 @@ const deprecationData = {
|
|
|
934
935
|
`access to v-for scope variables. It is best to avoid the ambiguity ` +
|
|
935
936
|
`with <template> tags or use a computed property that filters v-for ` +
|
|
936
937
|
`data source.`,
|
|
937
|
-
link: `https://v3.vuejs.org/
|
|
938
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`
|
|
938
939
|
},
|
|
939
940
|
["COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */]: {
|
|
940
941
|
message: `<template> with no special directives will render as a native template ` +
|
|
@@ -942,13 +943,13 @@ const deprecationData = {
|
|
|
942
943
|
},
|
|
943
944
|
["COMPILER_INLINE_TEMPLATE" /* COMPILER_INLINE_TEMPLATE */]: {
|
|
944
945
|
message: `"inline-template" has been removed in Vue 3.`,
|
|
945
|
-
link: `https://v3.vuejs.org/
|
|
946
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
|
|
946
947
|
},
|
|
947
948
|
["COMPILER_FILTER" /* COMPILER_FILTERS */]: {
|
|
948
949
|
message: `filters have been removed in Vue 3. ` +
|
|
949
950
|
`The "|" symbol will be treated as native JavaScript bitwise OR operator. ` +
|
|
950
951
|
`Use method calls or computed properties instead.`,
|
|
951
|
-
link: `https://v3.vuejs.org/
|
|
952
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
|
|
952
953
|
}
|
|
953
954
|
};
|
|
954
955
|
function getCompatValue(key, context) {
|
|
@@ -4175,7 +4176,7 @@ function buildProps(node, context, props = node.props, ssr = false) {
|
|
|
4175
4176
|
}
|
|
4176
4177
|
}
|
|
4177
4178
|
}
|
|
4178
|
-
else {
|
|
4179
|
+
else if (!isBuiltInDirective(name)) {
|
|
4179
4180
|
// no built-in transform, this is a user custom directive.
|
|
4180
4181
|
runtimeDirectives.push(prop);
|
|
4181
4182
|
// custom dirs may use beforeUpdate so they need to force blocks
|
|
@@ -5464,4 +5465,4 @@ function parse(template, options = {}) {
|
|
|
5464
5465
|
return baseParse(template, extend({}, parserOptions, options));
|
|
5465
5466
|
}
|
|
5466
5467
|
|
|
5467
|
-
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, 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, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBuiltInType, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText, isVSlot, locStub, makeBlock, noopDirectiveTransform, parse, parserOptions, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, transformStyle, traverseNode, walkBlockDeclarations, walkFunctionParams, walkIdentifiers, warnDeprecation };
|
|
5468
|
+
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, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBuiltInType, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isMemberExpressionBrowser, isMemberExpressionNode, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, isStaticArgOf, isStaticExp, isStaticProperty, isStaticPropertyKey, isTemplateNode, isText, isVSlot, locStub, makeBlock, noopDirectiveTransform, parse, parserOptions, processExpression, processFor, processIf, processSlotOutlet, registerRuntimeHelpers, resolveComponentType, toValidAssetId, trackSlotScopes, trackVForSlotScopes, transform, transformBind, transformElement, transformExpression, transformModel, transformOn, transformStyle, traverseNode, 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=/:(.+)/;const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,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"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=e=>p.test(e),f=Object.assign,d=Array.isArray,h=e=>"string"==typeof e,m=e=>"symbol"==typeof e,g=e=>null!==e&&"object"==typeof e,y=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b=/-(\w)/g,S=v((e=>e.replace(b,((e,t)=>t?t.toUpperCase():"")))),x=/\B([A-Z])/g,k=v((e=>e.replace(x,"-$1").toLowerCase())),N=v((e=>e.charAt(0).toUpperCase()+e.slice(1))),_=v((e=>e?`on${N(e)}`:""));function T(e){throw e}function E(e){}function $(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const w=Symbol(""),O=Symbol(""),C=Symbol(""),M=Symbol(""),I=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),B=Symbol(""),j=Symbol(""),A=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),U=Symbol(""),W=Symbol(""),J=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=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={[w]:"Fragment",[O]:"Teleport",[C]:"Suspense",[M]:"KeepAlive",[I]:"BaseTransition",[P]:"openBlock",[R]:"createBlock",[V]:"createElementBlock",[L]:"createVNode",[B]:"createElementVNode",[j]:"createCommentVNode",[A]:"createTextVNode",[F]:"createStaticVNode",[D]:"resolveComponent",[H]:"resolveDynamicComponent",[U]:"resolveDirective",[W]:"resolveFilter",[J]:"withDirectives",[z]:"renderList",[G]:"renderSlot",[K]:"createSlots",[q]:"toDisplayString",[Y]:"mergeProps",[Z]:"normalizeClass",[Q]:"normalizeStyle",[X]:"normalizeProps",[ee]:"guardReactiveProps",[te]:"toHandlers",[ne]:"camelize",[oe]:"capitalize",[re]:"toHandlerKey",[se]:"setBlockTracking",[ie]:"pushScopeId",[ce]:"popScopeId",[le]:"withCtx",[ae]:"unref",[pe]:"isRef",[ue]:"withMemo",[fe]:"isMemoSame"};function he(e){Object.getOwnPropertySymbols(e).forEach((t=>{de[t]=e[t]}))}const me={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ge(e,t=me){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ye(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=me){return e&&(c?(e.helper(P),e.helper(rt(e.inSSR,a))):e.helper(ot(e.inSSR,a)),i&&e.helper(J)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function ve(e,t=me){return{type:17,loc:t,elements:e}}function be(e,t=me){return{type:15,loc:t,properties:e}}function Se(e,t){return{type:16,loc:me,key:h(e)?xe(e,!0):e,value:t}}function xe(e,t=!1,n=me,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function ke(e,t){return{type:5,loc:t,content:h(e)?xe(e,!1,t):e}}function Ne(e,t=me){return{type:8,loc:t,children:e}}function _e(e,t=[],n=me){return{type:14,loc:n,callee:e,arguments:t}}function Te(e,t,n=!1,o=!1,r=me){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ee(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:me}}function $e(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:me}}function we(e){return{type:21,body:e,loc:me}}function Oe(e){return{type:22,elements:e,loc:me}}function Ce(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}}function Me(e,t){return{type:24,left:e,right:t,loc:me}}function Ie(e){return{type:25,expressions:e,loc:me}}function Pe(e){return{type:26,returns:e,loc:me}}const Re=e=>4===e.type&&e.isStatic,Ve=(e,t)=>e===t||e===k(t);function Le(e){return Ve(e,"Teleport")?O:Ve(e,"Suspense")?C:Ve(e,"KeepAlive")?M:Ve(e,"BaseTransition")?I:void 0}const Be=/^\d|[^\$\w]/,je=e=>!Be.test(e),Ae=/[A-Za-z_$\xA0-\uFFFF]/,Fe=/[\.\?\w$\xA0-\uFFFF]/,De=/\s+[.[]\s*|\s*[.[]\s+/g,He=e=>{e=e.trim().replace(De,(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?Ae:Fe).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=l,We=He;function Je(e,t,n){const o={source:e.source.slice(t,t+n),start:ze(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ze(e.start,e.source,t+n)),o}function ze(e,t,n=t.length){return Ge(f({},e),t,n)}function Ge(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){if(!e)throw new Error(t||"unexpected compiler condition")}function qe(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)&&(h(t)?r.name===t:t.test(r.name)))return r}}function Ye(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)&&Ze(s.arg,t))return s}}function Ze(e,t){return!(!e||!Re(e)||e.content!==t)}function Qe(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Xe(e){return 5===e.type||2===e.type}function et(e){return 7===e.type&&"slot"===e.name}function tt(e){return 1===e.type&&3===e.tagType}function nt(e){return 1===e.type&&2===e.tagType}function ot(e,t){return e||t?L:B}function rt(e,t){return e||t?R:V}const st=new Set([X,ee]);function it(e,t=[]){if(e&&!h(e)&&14===e.type){const n=e.callee;if(!h(n)&&st.has(n))return it(e.arguments[0],t.concat(e))}return[e,t]}function ct(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!h(s)&&14===s.type){const e=it(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||h(s))o=be([t]);else if(14===s.type){const e=s.arguments[0];h(e)||15!==e.type?s.callee===te?o=_e(n.helper(Y),[be([t]),s]):s.arguments.unshift(be([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=_e(n.helper(Y),[be([t]),s]),r&&r.callee===ee&&(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 lt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function at(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&&(at(o.arg,t)||at(o.exp,t)))return!0}return e.children.some((e=>at(e,t)));case 11:return!!at(e.source,t)||e.children.some((e=>at(e,t)));case 9:return e.branches.some((e=>at(e,t)));case 10:return!!at(e.condition,t)||e.children.some((e=>at(e,t)));case 4:return!e.isStatic&&je(e.content)&&!!t[e.content];case 8:return e.children.some((e=>g(e)&&at(e,t)));case 5:case 12:return at(e.content,t);default:return!1}}function pt(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function ut(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ot(o,e.isComponent)),t(P),t(rt(o,e.isComponent)))}const ft={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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/filters.html"}};function dt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ht(e,t){const n=dt("MODE",t),o=dt(e,t);return 3===n?!0===o:!1!==o}function mt(e,t,n,...o){return ht(e,t)}function gt(e,t,n,...o){if("suppress-warning"===dt(e,t))return;const{message:r,link:s}=ft[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 yt=/&(gt|lt|amp|apos|quot);/g,vt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},bt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(yt,((e,t)=>vt[t])),onError:T,onWarn:E,comments:!1};function St(e,t={}){const n=function(e,t){const n=f({},bt);let o;for(o in t)n[o]=void 0===t[o]?bt[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=Rt(n);return ge(xt(n,0,[]),Vt(n,o))}function xt(e,t,n){const o=Lt(n),r=o?o.ns:0,s=[];for(;!Dt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Bt(i,e.options.delimiters[0]))c=Mt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Bt(i,"\x3c!--")?_t(e):Bt(i,"<!DOCTYPE")?Tt(e):Bt(i,"<![CDATA[")&&0!==r?Nt(e,n):Tt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){jt(e,3);continue}if(/[a-z]/i.test(i[2])){wt(e,1,o);continue}c=Tt(e)}else/[a-z]/i.test(i[1])?(c=Et(e,n),ht("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&$t(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Tt(e));if(c||(c=It(e,t)),d(c))for(let e=0;e<c.length;e++)kt(s,c[e]);else kt(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(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);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||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}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 kt(e,t){if(2===t.type){const n=Lt(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 Nt(e,t){jt(e,9);const n=xt(e,3,t);return 0===e.source.length||jt(e,3),n}function _t(e){const t=Rt(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));)jt(e,s-r+1),r=s+1;jt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),jt(e,e.source.length);return{type:3,content:n,loc:Vt(e,t)}}function Tt(e){const t=Rt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),jt(e,e.source.length)):(o=e.source.slice(n,r),jt(e,r+1)),{type:3,content:o,loc:Vt(e,t)}}function Et(e,t){const n=e.inPre,o=e.inVPre,r=Lt(t),s=wt(e,0,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=xt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&mt("COMPILER_INLINE_TEMPLATE",e)){const n=Vt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Ht(e.source,s.tag))wt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Bt(e.loc.source,"\x3c!--")}return s.loc=Vt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const $t=e("if,else,else-if,for,slot");function wt(e,t,n){const o=Rt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);jt(e,r[0].length),At(e);const c=Rt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Ot(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,f(e,c),e.source=l,a=Ot(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Bt(e.source,"/>"),jt(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&&$t(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)||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(mt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ze(e.arg,"is")&&mt("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:Vt(e,o),codegenNode:void 0}}function Ot(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Bt(e.source,">")&&!Bt(e.source,"/>");){if(Bt(e.source,"/")){jt(e,1),At(e);continue}const r=Ct(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),At(e)}return n}function Ct(e,t){const n=Rt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;jt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(At(e),jt(e,1),At(e),r=function(e){const t=Rt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){jt(e,1);const t=e.source.indexOf(o);-1===t?n=Pt(e,e.source.length,4):(n=Pt(e,t,4),jt(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]););n=Pt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Vt(e,t)}}(e));const s=Vt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Bt(o,"."),l=t[1]||(c||Bt(o,":")?"bind":Bt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Vt(e,Ft(e,n,s),Ft(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a=a.endsWith("]")?a.slice(1,a.length-1):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=ze(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")&&mt("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&&Bt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Mt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Rt(e);jt(e,n.length);const i=Rt(e),c=Rt(e),l=r-n.length,a=e.source.slice(0,l),p=Pt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ge(i,a,f);return Ge(c,a,l-(p.length-u.length-f)),jt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Vt(e,i,c)},loc:Vt(e,s)}}function It(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=Rt(e);return{type:2,content:Pt(e,o,t),loc:Vt(e,r)}}function Pt(e,t,n){const o=e.source.slice(0,t);return jt(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Rt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Vt(e,t,n){return{start:t,end:n=n||Rt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Lt(e){return e[e.length-1]}function Bt(e,t){return e.startsWith(t)}function jt(e,t){const{source:n}=e;Ge(e,n,t),e.source=n.slice(t)}function At(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&jt(e,t[0].length)}function Ft(e,t,n){return ze(t,e.originalSource.slice(t.offset,n),n)}function Dt(e,t,n){const o=e.source;switch(t){case 0:if(Bt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ht(o,n[e].tag))return!0;break;case 1:case 2:{const e=Lt(n);if(e&&Ht(o,e.tag))return!0;break}case 3:if(Bt(o,"]]>"))return!0}return!o}function Ht(e,t){return Bt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Ut(e,t){Jt(e,t,Wt(e,e.children[0]))}function Wt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nt(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:zt(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=Zt(n);if((!o||512===o||1===o)&&qt(e,t)>=2){const o=Yt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else 12===e.type&&zt(e.content,t)>=2&&(e.codegenNode=t.hoist(e.codegenNode),s++);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&&d(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function zt(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(Zt(r))return n.set(e,0),0;{let o=3;const s=qt(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=zt(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=zt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(P),t.removeHelper(rt(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(ot(t.inSSR,r.isComponent))),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 zt(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(h(o)||m(o))continue;const r=zt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Gt=new Set([Z,Q,X,ee]);function Kt(e,t){if(14===e.type&&!h(e.callee)&&Gt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return zt(n,t);if(14===n.type)return Kt(n,t)}return 0}function qt(e,t){let n=3;const o=Yt(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=zt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?zt(s,t):14===s.type?Kt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Yt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Zt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Qt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=c,inline:x=!1,isTS:k=!1,onError:_=T,onWarn:$=E,compatConfig:w}){const O=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:O&&N(S(O[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:x,isTS:k,onError:_,onWarn:$,compatConfig:w,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=>`_${de[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){h(e)&&(e=xe(e)),C.hoists.push(e);const t=xe(`_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 Xt(e,t){const n=Qt(e,t);en(e,n),t.hoistStatic&&Ut(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Wt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ut(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(t,n(w),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...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 en(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&&(d(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(j);break;case 5:t.ssr||t.helper(q);break;case 9:for(let n=0;n<e.branches.length;n++)en(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];h(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,en(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function tn(e,t){const n=h(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(et))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}}}function nn(e,t={}){const n=function(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=>`_${de[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}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${de[e]}: _${de[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[L,B,j,A,F].filter((t=>e.helpers.includes(t))).map(i).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} = `),cn(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${de[e]}: _${de[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(on(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(on(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),on(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?cn(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function on(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?D: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 ${lt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function rn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),sn(e,t,n),n&&t.deindent(),t.push("]")}function sn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];h(c)?r(c):d(c)?rn(c,t):cn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function cn(e,t){if(h(e))t.push(e);else if(m(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:cn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:ln(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(q)}(`),cn(e.content,t),n(")")}(e,t);break;case 8:an(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(j)}(${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(J)+"(");u&&n(`(${o(P)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?rt(t.inSSR,d):ot(t.inSSR,d);n(o(h)+"(",e),sn(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(", "),cn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=h(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),sn(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];pn(e,t),n(": "),cn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){rn(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(`_${de[le]}(`);n("(",e),d(s)?sn(s,t):s&&cn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),d(i)?rn(i,t):cn(i,t)):c&&cn(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=!je(n.content);e&&i("("),ln(n,t),e&&i(")")}else i("("),cn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),cn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;cn(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(se)}(-1),`),i());n(`_cache[${e.index}] = `),cn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(se)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:sn(e.body,t,!0,!1)}}function ln(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function an(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];h(o)?t.push(o):cn(o,t)}}function pn(e,t){const{push:n}=t;if(8===e.type)n("["),an(e,t),n("]");else if(e.isStatic){n(je(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function un(e,t,n=!1,o=[],r=Object.create(null)){}function fn(e,t,n){return!1}function dn(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 hn(e,t){for(const n of e.params)for(const e of gn(n))t(e)}function mn(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 gn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function gn(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)gn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&gn(e,t)}));break;case"RestElement":gn(e.argument,t);break;case"AssignmentPattern":gn(e.left,t)}return t}const yn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),vn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,bn=(e,t)=>vn(t)&&t.key===e,Sn=(e,t)=>{if(5===e.type)e.content=xn(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=xn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=xn(n,t))}}};function xn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const kn=tn(/^(if|else|else-if)$/,((e,t,n)=>Nn(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=Tn(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=Tn(t,i+e.branches.length-1,n)}}}))));function Nn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=xe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=_n(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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=_n(e,t);i.branches.push(r);const s=o&&o(i,r,!1);en(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function _n(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||qe(e,"for")?[e]:e.children,userKey:Ye(e,"key")}}function Tn(e,t,n){return e.condition?Ee(e.condition,En(e,t,n),_e(n.helper(j),['""',"true"])):En(e,t,n)}function En(e,t,n){const{helper:o}=n,r=Se("key",xe(`${t}`,!1,me,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 ct(e,r,n),e}{let t=64;return ye(n,o(w),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=pt(e);return 13===t.type&&ut(t,n),ct(t,r,n),e}}const $n=tn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return wn(e,t,n,(t=>{const s=_e(o(z),[t.source]),i=tt(e),c=qe(e,"memo"),l=Ye(e,"key"),a=l&&(6===l.type?xe(l.value.content,!0):l.exp),p=l?Se("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=ye(n,o(w),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=nt(e)?e:i&&1===e.children.length&&nt(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&ct(l,p,n)):d?l=ye(n,o(w),p?be([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&ct(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(P),r(rt(n.inSSR,l.isComponent))):r(ot(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(P),o(rt(n.inSSR,l.isComponent))):o(ot(n.inSSR,l.isComponent))),c){const e=Te(Rn(t.parseResult,[xe("_cached")]));e.body=we([Ne(["const _memo = (",c.exp,")"]),Ne(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),Ne(["const _item = ",l]),xe("_item.memo = _memo"),xe("return _item")]),s.arguments.push(e,xe("_cache"),xe(String(n.cached++)))}else s.arguments.push(Te(Rn(t.parseResult),l,!0))}}))}));function wn(e,t,n,o){if(!t.exp)return;const r=In(t.exp);if(!r)return;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:tt(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const On=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Cn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Mn=/^\(|\)$/g;function In(e,t){const n=e.loc,o=e.content,r=o.match(On);if(!r)return;const[,s,i]=r,c={source:Pn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Mn,"").trim();const a=s.indexOf(l),p=l.match(Cn);if(p){l=l.replace(Cn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Pn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Pn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Pn(n,l,a)),c}function Pn(e,t,n){return xe(t,!1,Je(e,n,t.length))}function Rn({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||xe("_".repeat(t+1),!1)))}([e,t,n,...o])}const Vn=xe("undefined",!1),Ln=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=qe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Bn=(e,t)=>{let n;if(tt(e)&&e.props.some(et)&&(n=qe(e,"for"))){const e=n.parseResult=In(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)}}}},jn=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function An(e,t,n=jn){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=qe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Re(e)&&(c=!0),s.push(Se(e||xe("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!tt(e)||!(r=qe(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=xe("default",!0),exp:y}=r;let v;Re(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,x,k;if(S=qe(e,"if"))c=!0,i.push(Ee(S.exp,Fn(g,b),Vn));else if(x=qe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&tt(e)&&qe(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?Ee(x.exp,Fn(g,b),Vn):Fn(g,b)}}else if(k=qe(e,"for")){c=!0;const e=k.parseResult||In(k.exp);e&&i.push(_e(t.helper(z),[e.source,Te(Rn(e),Fn(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(Se(g,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Se("default",s)};a?u.length&&u.some((e=>Hn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Dn(e.children)?3:1;let h=be(s.concat(Se("_",xe(d+"",!1))),r);return i.length&&(h=_e(t.helper(K),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function Fn(e,t){return be([Se("name",e),Se("fn",t)])}function Dn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Dn(n.children))return!0;break;case 9:if(Dn(n.branches))return!0;break;case 10:case 11:if(Dn(n.children))return!0}}return!1}function Hn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Hn(e.content))}const Un=new WeakMap,Wn=(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?Jn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=g(s)&&s.callee===H||s===O||s===C||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=zn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ve(o.map((e=>function(e,t){const n=[],o=Un.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(lt(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=xe("true",!1,r);n.push(be(e.modifiers.map((e=>Se(e,t))),r))}return ve(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(d=!0)}if(e.children.length>0){s===M&&(d=!0,f|=1024);if(r&&s!==O&&s!==M){const{slots:n,hasDynamicSlots:o}=An(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==O){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===zt(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=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+"]"}(p))),e.codegenNode=ye(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function Jn(e,t,n=!1){let{tag:o}=e;const r=qn(o),s=Ye(e,"is");if(s)if(r||ht("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&xe(s.value.content,!0):s.exp;if(e)return _e(t.helper(H),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&qe(e,"is");if(i&&i.exp)return _e(t.helper(H),[i.exp]);const c=Le(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(D),t.components.add(o),lt(o,"component"))}function zn(e,t,n=e.props,o=!1){const{tag:r,loc:s,children:i}=e,c=1===e.tagType;let l=[];const a=[],p=[],f=i.length>0;let d=!1,h=0,g=!1,v=!1,b=!1,S=!1,x=!1,k=!1;const N=[],_=({key:e,value:n})=>{if(Re(e)){const o=e.content,r=u(o);if(c||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||y(o)||(S=!0),r&&y(o)&&(k=!0),20===n.type||(4===n.type||8===n.type)&&zt(n,t)>0)return;"ref"===o?g=!0:"class"===o?v=!0:"style"===o?b=!0:"key"===o||N.includes(o)||N.push(o),!c||"class"!==o&&"style"!==o||N.includes(o)||N.push(o)}else x=!0};for(let u=0;u<n.length;u++){const i=n[u];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(g=!0,t.scopes.vFor>0&&l.push(Se(xe("ref_for",!0),xe("true")))),"is"===n&&(qn(r)||o&&o.content.startsWith("vue:")||ht("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(Se(xe(n,!0,Je(e,0,n.length)),xe(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:c,exp:u,loc:h}=i,g="bind"===n,y="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Ze(c,"is")&&(qn(r)||ht("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&o)continue;if((g&&Ze(c,"key")||y&&f&&Ze(c,"vue:before-update"))&&(d=!0),g&&Ze(c,"ref")&&t.scopes.vFor>0&&l.push(Se(xe("ref_for",!0),xe("true"))),!c&&(g||y)){if(x=!0,u)if(l.length&&(a.push(be(Gn(l),s)),l=[]),g){if(ht("COMPILER_V_BIND_OBJECT_ORDER",t)){a.unshift(u);continue}a.push(u)}else a.push({type:14,loc:h,callee:t.helper(te),arguments:[u]});continue}const v=t.directiveTransforms[n];if(v){const{props:n,needRuntime:r}=v(i,e,t);!o&&n.forEach(_),l.push(...n),r&&(p.push(i),m(r)&&Un.set(i,r))}else p.push(i),f&&(d=!0)}}let T;if(a.length?(l.length&&a.push(be(Gn(l),s)),T=a.length>1?_e(t.helper(Y),a,s):a[0]):l.length&&(T=be(Gn(l),s)),x?h|=16:(v&&!c&&(h|=2),b&&!c&&(h|=4),N.length&&(h|=8),S&&(h|=32)),d||0!==h&&32!==h||!(g||k||p.length>0)||(h|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<T.properties.length;t++){const r=T.properties[t].key;Re(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=T.properties[e],s=T.properties[n];o?T=_e(t.helper(X),[T]):(r&&!Re(r.value)&&(r.value=_e(t.helper(Z),[r.value])),!s||Re(s.value)||!b&&17!==s.value.type||(s.value=_e(t.helper(Q),[s.value])));break;case 14:break;default:T=_e(t.helper(X),[_e(t.helper(ee),[T])])}return{props:T,directives:p,patchFlag:h,dynamicPropNames:N,shouldUseBlock:d}}function Gn(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||u(s))&&Kn(i,r):(t.set(s,r),n.push(r))}return n}function Kn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function qn(e){return"component"===e||"Component"===e}const Yn=(e,t)=>{if(nt(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Zn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=Te([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=_e(t.helper(G),i,o)}};function Zn(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=S(t.name),r.push(t))):"bind"===t.name&&Ze(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Re(t.arg)&&(t.arg.content=S(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=zn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Qn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Xn=(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=xe(_(S(e)),!0,i.loc)}else c=Ne([`${n.helperString(re)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(re)}(`),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||Qn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Ne([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Se(c,l||xe("() => {}",!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},eo=(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?S(i.content):`${n.helperString(ne)}(${i.content})`:(i.children.unshift(`${n.helperString(ne)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&to(i,"."),r.includes("attr")&&to(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Se(i,xe("",!0,s))]}:{props:[Se(i,o)]}},to=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},no=(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(Xe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Xe(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),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(Xe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==zt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(A),r)}}}}},oo=new WeakSet,ro=(e,t)=>{if(1===e.type&&qe(e,"once",!0)){if(oo.has(e)||t.inVOnce)return;return oo.add(e),t.inVOnce=!0,t.helper(se),()=>{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 io();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!We(i))return io();const c=r||xe("modelValue",!0),l=r?Re(r)?`onUpdate:${r.content}`:Ne(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Ne([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[Se(c,e.exp),Se(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(je(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Re(r)?`${r.content}Modifiers`:Ne([r,' + "Modifiers"']):"modelModifiers";p.push(Se(n,xe(`{ ${t} }`,!1,e.loc,2)))}return io(p)};function io(e=[]){return{props:e}}const co=/[\w).+\-_$\]]/,lo=(e,t)=>{ht("COMPILER_FILTER",t)&&(5===e.type&&ao(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&ao(e.exp,t)})))};function ao(e,t){if(4===e.type)po(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?po(o,t):8===o.type?ao(e,t):5===o.type&&ao(o.content,t))}}function po(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&&co.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=uo(i,m[s],t);e.content=i}}function uo(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${lt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${lt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const fo=new WeakSet,ho=(e,t)=>{if(1===e.type){const n=qe(e,"memo");if(!n||fo.has(e))return;return fo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ut(o,t),e.codegenNode=_e(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function mo(e){return[[ro,kn,ho,$n,lo,Yn,Wn,Ln,no],{on:Xn,bind:eo,model:so}]}function go(e,t={}){const n=t.onError||T,o="module"===t.mode;!0===t.prefixIdentifiers?n($(46)):o&&n($(47));t.cacheHandlers&&n($(48)),t.scopeId&&!o&&n($(49));const r=h(e)?St(e,t):e,[s,i]=mo();return Xt(r,f({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:f({},i,t.directiveTransforms||{})})),nn(r,f({},t,{prefixIdentifiers:false}))}const yo=()=>({props:[]}),vo=Symbol(""),bo=Symbol(""),So=Symbol(""),xo=Symbol(""),ko=Symbol(""),No=Symbol(""),_o=Symbol(""),To=Symbol(""),Eo=Symbol(""),$o=Symbol("");let wo;he({[vo]:"vModelRadio",[bo]:"vModelCheckbox",[So]:"vModelText",[xo]:"vModelSelect",[ko]:"vModelDynamic",[No]:"withModifiers",[_o]:"withKeys",[To]:"vShow",[Eo]:"Transition",[$o]:"TransitionGroup"});const Oo=e("style,iframe,script,noscript",!0),Co={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return wo||(wo=document.createElement("div")),t?(wo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,wo.children[0].getAttribute("foo")):(wo.innerHTML=e,wo.textContent)},isBuiltInComponent:e=>Ve(e,"Transition")?Eo:Ve(e,"TransitionGroup")?$o: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(Oo(e))return 2}return 0}},Mo=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:xe("style",!0,t.loc),exp:Io(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Io=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return xe(JSON.stringify(r),!1,t,3)};function Po(e,t){return $(e,t)}const Ro=e("passive,once,capture"),Vo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Lo=e("left,right"),Bo=e("onkeyup,onkeydown,onkeypress",!0),jo=(e,t)=>Re(e)&&"onclick"===e.content.toLowerCase()?xe(t,!0):4!==e.type?Ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ao=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Fo=[Mo],Do={cloak:yo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("innerHTML",!0,r),o||xe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("textContent",!0),o?_e(n.helperString(q),[o],r):xe("",!0))]}},model:(e,t,n)=>{const o=so(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=So,i=!1;if("input"===r||s){const n=Ye(t,"type");if(n){if(7===n.type)e=ko;else if(n.value)switch(n.value.content){case"radio":e=vo;break;case"checkbox":e=bo;break;case"file":i=!0}}else Qe(t)&&(e=ko)}else"select"===r&&(e=xo);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Xn(e,0,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&&mt("COMPILER_V_ON_NATIVE",n)||Ro(o)?i.push(o):Lo(o)?Re(e)?Bo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Vo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=jo(r,"onContextmenu")),c.includes("middle")&&(r=jo(r,"onMouseup")),c.length&&(s=_e(n.helper(No),[s,JSON.stringify(c)])),!i.length||Re(r)&&!Bo(r.content)||(s=_e(n.helper(_o),[s,JSON.stringify(i)])),l.length){const e=l.map(N).join("");r=Re(r)?xe(`${r.content}${e}`,!0):Ne(["(",r,`) + "${e}"`])}return{props:[Se(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(To)})};function Ho(e,t={}){return go(e,f({},Co,t,{nodeTransforms:[Ao,...Fo,...t.nodeTransforms||[]],directiveTransforms:f({},Do,t.directiveTransforms||{}),transformHoist:null}))}function Uo(e,t={}){return St(e,f({},Co,t))}export{I as BASE_TRANSITION,ne as CAMELIZE,oe as CAPITALIZE,R as CREATE_BLOCK,j as CREATE_COMMENT,V as CREATE_ELEMENT_BLOCK,B as CREATE_ELEMENT_VNODE,K as CREATE_SLOTS,F as CREATE_STATIC,A as CREATE_TEXT,L as CREATE_VNODE,Do as DOMDirectiveTransforms,Fo as DOMNodeTransforms,w as FRAGMENT,ee as GUARD_REACTIVE_PROPS,fe as IS_MEMO_SAME,pe as IS_REF,M as KEEP_ALIVE,Y as MERGE_PROPS,Z as NORMALIZE_CLASS,X as NORMALIZE_PROPS,Q as NORMALIZE_STYLE,P as OPEN_BLOCK,ce as POP_SCOPE_ID,ie as PUSH_SCOPE_ID,z as RENDER_LIST,G as RENDER_SLOT,D as RESOLVE_COMPONENT,U as RESOLVE_DIRECTIVE,H as RESOLVE_DYNAMIC_COMPONENT,W as RESOLVE_FILTER,se as SET_BLOCK_TRACKING,C as SUSPENSE,O as TELEPORT,q as TO_DISPLAY_STRING,te as TO_HANDLERS,re as TO_HANDLER_KEY,Eo as TRANSITION,$o as TRANSITION_GROUP,ae as UNREF,bo as V_MODEL_CHECKBOX,ko as V_MODEL_DYNAMIC,vo as V_MODEL_RADIO,xo as V_MODEL_SELECT,So as V_MODEL_TEXT,_o as V_ON_WITH_KEYS,No as V_ON_WITH_MODIFIERS,To as V_SHOW,le as WITH_CTX,J as WITH_DIRECTIVES,ue as WITH_MEMO,ze as advancePositionWithClone,Ge as advancePositionWithMutation,Ke as assert,go as baseCompile,St as baseParse,zn as buildProps,An as buildSlots,mt as checkCompatEnabled,Ho as compile,ve as createArrayExpression,Me as createAssignmentExpression,we as createBlockStatement,$e as createCacheExpression,_e as createCallExpression,$ as createCompilerError,Ne as createCompoundExpression,Ee as createConditionalExpression,Po as createDOMCompilerError,Rn as createForLoopParams,Te as createFunctionExpression,Ce as createIfStatement,ke as createInterpolation,be as createObjectExpression,Se as createObjectProperty,Pe as createReturnStatement,ge as createRoot,Ie as createSequenceExpression,xe as createSimpleExpression,tn as createStructuralDirectiveTransform,Oe as createTemplateLiteral,Qt as createTransformContext,ye as createVNodeCall,gn as extractIdentifiers,qe as findDir,Ye as findProp,nn as generate,t as generateCodeFrame,mo as getBaseTransformPreset,Je as getInnerRange,pt as getMemoedVNodeCall,rt as getVNodeBlockHelper,ot as getVNodeHelper,Qe as hasDynamicKeyVBind,at as hasScopeRef,de as helperNameMap,ct as injectProp,Ve as isBuiltInType,Le as isCoreComponent,yn as isFunctionType,dn as isInDestructureAssignment,We as isMemberExpression,He as isMemberExpressionBrowser,Ue as isMemberExpressionNode,fn as isReferencedIdentifier,je as isSimpleIdentifier,nt as isSlotOutlet,Ze as isStaticArgOf,Re as isStaticExp,vn as isStaticProperty,bn as isStaticPropertyKey,tt as isTemplateNode,Xe as isText,et as isVSlot,me as locStub,ut as makeBlock,yo as noopDirectiveTransform,Uo as parse,Co as parserOptions,xn as processExpression,wn as processFor,Nn as processIf,Zn as processSlotOutlet,he as registerRuntimeHelpers,Jn as resolveComponentType,lt as toValidAssetId,Ln as trackSlotScopes,Bn as trackVForSlotScopes,Xt as transform,eo as transformBind,Wn as transformElement,Sn as transformExpression,so as transformModel,Xn as transformOn,Mo as transformStyle,en as traverseNode,mn as walkBlockDeclarations,hn as walkFunctionParams,un as walkIdentifiers,gt 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]}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=/:(.+)/;const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,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"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=e=>p.test(e),f=Object.assign,d=Array.isArray,h=e=>"string"==typeof e,m=e=>"symbol"==typeof e,g=e=>null!==e&&"object"==typeof e,y=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v=e("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))},S=/-(\w)/g,x=b((e=>e.replace(S,((e,t)=>t?t.toUpperCase():"")))),k=/\B([A-Z])/g,N=b((e=>e.replace(k,"-$1").toLowerCase())),_=b((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=b((e=>e?`on${_(e)}`:""));function E(e){throw e}function $(e){}function w(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const O=Symbol(""),C=Symbol(""),M=Symbol(""),I=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),B=Symbol(""),j=Symbol(""),A=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),U=Symbol(""),W=Symbol(""),J=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=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={[O]:"Fragment",[C]:"Teleport",[M]:"Suspense",[I]:"KeepAlive",[P]:"BaseTransition",[R]:"openBlock",[V]:"createBlock",[L]:"createElementBlock",[B]:"createVNode",[j]:"createElementVNode",[A]:"createCommentVNode",[F]:"createTextVNode",[D]:"createStaticVNode",[H]:"resolveComponent",[U]:"resolveDynamicComponent",[W]:"resolveDirective",[J]:"resolveFilter",[z]:"withDirectives",[G]:"renderList",[K]:"renderSlot",[q]:"createSlots",[Y]:"toDisplayString",[Z]:"mergeProps",[Q]:"normalizeClass",[X]:"normalizeStyle",[ee]:"normalizeProps",[te]:"guardReactiveProps",[ne]:"toHandlers",[oe]:"camelize",[re]:"capitalize",[se]:"toHandlerKey",[ie]:"setBlockTracking",[ce]:"pushScopeId",[le]:"popScopeId",[ae]:"withCtx",[pe]:"unref",[ue]:"isRef",[fe]:"withMemo",[de]:"isMemoSame"};function me(e){Object.getOwnPropertySymbols(e).forEach((t=>{he[t]=e[t]}))}const ge={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ye(e,t=ge){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ve(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ge){return e&&(c?(e.helper(R),e.helper(st(e.inSSR,a))):e.helper(rt(e.inSSR,a)),i&&e.helper(z)),{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=ge){return{type:17,loc:t,elements:e}}function Se(e,t=ge){return{type:15,loc:t,properties:e}}function xe(e,t){return{type:16,loc:ge,key:h(e)?ke(e,!0):e,value:t}}function ke(e,t=!1,n=ge,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ne(e,t){return{type:5,loc:t,content:h(e)?ke(e,!1,t):e}}function _e(e,t=ge){return{type:8,loc:t,children:e}}function Te(e,t=[],n=ge){return{type:14,loc:n,callee:e,arguments:t}}function Ee(e,t,n=!1,o=!1,r=ge){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function $e(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ge}}function we(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ge}}function Oe(e){return{type:21,body:e,loc:ge}}function Ce(e){return{type:22,elements:e,loc:ge}}function Me(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ge}}function Ie(e,t){return{type:24,left:e,right:t,loc:ge}}function Pe(e){return{type:25,expressions:e,loc:ge}}function Re(e){return{type:26,returns:e,loc:ge}}const Ve=e=>4===e.type&&e.isStatic,Le=(e,t)=>e===t||e===N(t);function Be(e){return Le(e,"Teleport")?C:Le(e,"Suspense")?M:Le(e,"KeepAlive")?I:Le(e,"BaseTransition")?P:void 0}const je=/^\d|[^\$\w]/,Ae=e=>!je.test(e),Fe=/[A-Za-z_$\xA0-\uFFFF]/,De=/[\.\?\w$\xA0-\uFFFF]/,He=/\s+[.[]\s*|\s*[.[]\s+/g,Ue=e=>{e=e.trim().replace(He,(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?Fe:De).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},We=l,Je=Ue;function ze(e,t,n){const o={source:e.source.slice(t,t+n),start:Ge(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ge(e.start,e.source,t+n)),o}function Ge(e,t,n=t.length){return Ke(f({},e),t,n)}function Ke(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 qe(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)&&(h(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)&&Qe(s.arg,t))return s}}function Qe(e,t){return!(!e||!Ve(e)||e.content!==t)}function Xe(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function et(e){return 5===e.type||2===e.type}function tt(e){return 7===e.type&&"slot"===e.name}function nt(e){return 1===e.type&&3===e.tagType}function ot(e){return 1===e.type&&2===e.tagType}function rt(e,t){return e||t?B:j}function st(e,t){return e||t?V:L}const it=new Set([ee,te]);function ct(e,t=[]){if(e&&!h(e)&&14===e.type){const n=e.callee;if(!h(n)&&it.has(n))return ct(e.arguments[0],t.concat(e))}return[e,t]}function lt(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!h(s)&&14===s.type){const e=ct(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||h(s))o=Se([t]);else if(14===s.type){const e=s.arguments[0];h(e)||15!==e.type?s.callee===ne?o=Te(n.helper(Z),[Se([t]),s]):s.arguments.unshift(Se([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=Te(n.helper(Z),[Se([t]),s]),r&&r.callee===te&&(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 at(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function pt(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&&(pt(o.arg,t)||pt(o.exp,t)))return!0}return e.children.some((e=>pt(e,t)));case 11:return!!pt(e.source,t)||e.children.some((e=>pt(e,t)));case 9:return e.branches.some((e=>pt(e,t)));case 10:return!!pt(e.condition,t)||e.children.some((e=>pt(e,t)));case 4:return!e.isStatic&&Ae(e.content)&&!!t[e.content];case 8:return e.children.some((e=>g(e)&&pt(e,t)));case 5:case 12:return pt(e.content,t);default:return!1}}function ut(e){return 14===e.type&&e.callee===fe?e.arguments[1].returns:e}function ft(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(rt(o,e.isComponent)),t(R),t(st(o,e.isComponent)))}const dt={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 ht(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function mt(e,t){const n=ht("MODE",t),o=ht(e,t);return 3===n?!0===o:!1!==o}function gt(e,t,n,...o){return mt(e,t)}function yt(e,t,n,...o){if("suppress-warning"===ht(e,t))return;const{message:r,link:s}=dt[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 vt=/&(gt|lt|amp|apos|quot);/g,bt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},St={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(vt,((e,t)=>bt[t])),onError:E,onWarn:$,comments:!1};function xt(e,t={}){const n=function(e,t){const n=f({},St);let o;for(o in t)n[o]=void 0===t[o]?St[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=Vt(n);return ye(kt(n,0,[]),Lt(n,o))}function kt(e,t,n){const o=Bt(n),r=o?o.ns:0,s=[];for(;!Ht(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&jt(i,e.options.delimiters[0]))c=It(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=jt(i,"\x3c!--")?Tt(e):jt(i,"<!DOCTYPE")?Et(e):jt(i,"<![CDATA[")&&0!==r?_t(e,n):Et(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){At(e,3);continue}if(/[a-z]/i.test(i[2])){Ot(e,1,o);continue}c=Et(e)}else/[a-z]/i.test(i[1])?(c=$t(e,n),mt("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&wt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Et(e));if(c||(c=Pt(e,t)),d(c))for(let e=0;e<c.length;e++)Nt(s,c[e]);else Nt(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(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);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||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}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 Nt(e,t){if(2===t.type){const n=Bt(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){At(e,9);const n=kt(e,3,t);return 0===e.source.length||At(e,3),n}function Tt(e){const t=Vt(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));)At(e,s-r+1),r=s+1;At(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),At(e,e.source.length);return{type:3,content:n,loc:Lt(e,t)}}function Et(e){const t=Vt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),At(e,e.source.length)):(o=e.source.slice(n,r),At(e,r+1)),{type:3,content:o,loc:Lt(e,t)}}function $t(e,t){const n=e.inPre,o=e.inVPre,r=Bt(t),s=Ot(e,0,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=kt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&>("COMPILER_INLINE_TEMPLATE",e)){const n=Lt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Ut(e.source,s.tag))Ot(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&jt(e.loc.source,"\x3c!--")}return s.loc=Lt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const wt=e("if,else,else-if,for,slot");function Ot(e,t,n){const o=Vt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);At(e,r[0].length),Ft(e);const c=Vt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Ct(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,f(e,c),e.source=l,a=Ct(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=jt(e.source,"/>"),At(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&&wt(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(gt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Qe(e.arg,"is")&>("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:Lt(e,o),codegenNode:void 0}}function Ct(e,t){const n=[],o=new Set;for(;e.source.length>0&&!jt(e.source,">")&&!jt(e.source,"/>");){if(jt(e.source,"/")){At(e,1),Ft(e);continue}const r=Mt(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),Ft(e)}return n}function Mt(e,t){const n=Vt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;At(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Ft(e),At(e,1),Ft(e),r=function(e){const t=Vt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){At(e,1);const t=e.source.indexOf(o);-1===t?n=Rt(e,e.source.length,4):(n=Rt(e,t,4),At(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]););n=Rt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Lt(e,t)}}(e));const s=Lt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=jt(o,"."),l=t[1]||(c||jt(o,":")?"bind":jt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Lt(e,Dt(e,n,s),Dt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a=a.endsWith("]")?a.slice(1,a.length-1):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=Ge(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")&>("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&&jt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function It(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Vt(e);At(e,n.length);const i=Vt(e),c=Vt(e),l=r-n.length,a=e.source.slice(0,l),p=Rt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ke(i,a,f);return Ke(c,a,l-(p.length-u.length-f)),At(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Lt(e,i,c)},loc:Lt(e,s)}}function Pt(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=Vt(e);return{type:2,content:Rt(e,o,t),loc:Lt(e,r)}}function Rt(e,t,n){const o=e.source.slice(0,t);return At(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Vt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Lt(e,t,n){return{start:t,end:n=n||Vt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Bt(e){return e[e.length-1]}function jt(e,t){return e.startsWith(t)}function At(e,t){const{source:n}=e;Ke(e,n,t),e.source=n.slice(t)}function Ft(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&At(e,t[0].length)}function Dt(e,t,n){return Ge(t,e.originalSource.slice(t.offset,n),n)}function Ht(e,t,n){const o=e.source;switch(t){case 0:if(jt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ut(o,n[e].tag))return!0;break;case 1:case 2:{const e=Bt(n);if(e&&Ut(o,e.tag))return!0;break}case 3:if(jt(o,"]]>"))return!0}return!o}function Ut(e,t){return jt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Wt(e,t){zt(e,t,Jt(e,e.children[0]))}function Jt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!ot(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:Gt(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=Qt(n);if((!o||512===o||1===o)&&Yt(e,t)>=2){const o=Zt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else 12===e.type&&Gt(e.content,t)>=2&&(e.codegenNode=t.hoist(e.codegenNode),s++);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&&d(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(be(e.codegenNode.children)))}function Gt(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(Qt(r))return n.set(e,0),0;{let o=3;const s=Yt(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=Gt(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=Gt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(R),t.removeHelper(st(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(rt(t.inSSR,r.isComponent))),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 Gt(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(h(o)||m(o))continue;const r=Gt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Kt=new Set([Q,X,ee,te]);function qt(e,t){if(14===e.type&&!h(e.callee)&&Kt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Gt(n,t);if(14===n.type)return qt(n,t)}return 0}function Yt(e,t){let n=3;const o=Zt(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=Gt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Gt(s,t):14===s.type?qt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Zt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Qt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Xt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=c,inline:S=!1,isTS:k=!1,onError:N=E,onWarn:T=$,compatConfig:w}){const O=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:O&&_(x(O[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:S,isTS:k,onError:N,onWarn:T,compatConfig:w,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=>`_${he[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){h(e)&&(e=ke(e)),C.hoists.push(e);const t=ke(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>we(C.cached++,e,t)};return C.filters=new Set,C}function en(e,t){const n=Xt(e,t);tn(e,n),t.hoistStatic&&Wt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Jt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ft(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ve(t,n(O),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...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 tn(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&&(d(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(A);break;case 5:t.ssr||t.helper(Y);break;case 9:for(let n=0;n<e.branches.length;n++)tn(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];h(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,tn(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function nn(e,t){const n=h(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(tt))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}}}function on(e,t={}){const n=function(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=>`_${he[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}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${he[e]}: _${he[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[B,j,A,F,D].filter((t=>e.helpers.includes(t))).map(i).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} = `),ln(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${he[e]}: _${he[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(rn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(rn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),rn(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?ln(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function rn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?J:"component"===t?H:W);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 ${at(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function sn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),cn(e,t,n),n&&t.deindent(),t.push("]")}function cn(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];h(c)?r(c):d(c)?sn(c,t):ln(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function ln(e,t){if(h(e))t.push(e);else if(m(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:ln(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:an(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(Y)}(`),ln(e.content,t),n(")")}(e,t);break;case 8:pn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(A)}(${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(z)+"(");u&&n(`(${o(R)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?st(t.inSSR,d):rt(t.inSSR,d);n(o(h)+"(",e),cn(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(", "),ln(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=h(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),cn(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];un(e,t),n(": "),ln(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){sn(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(`_${he[ae]}(`);n("(",e),d(s)?cn(s,t):s&&ln(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),d(i)?sn(i,t):ln(i,t)):c&&ln(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=!Ae(n.content);e&&i("("),an(n,t),e&&i(")")}else i("("),ln(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),ln(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;ln(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(ie)}(-1),`),i());n(`_cache[${e.index}] = `),ln(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ie)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:cn(e.body,t,!0,!1)}}function an(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function pn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];h(o)?t.push(o):ln(o,t)}}function un(e,t){const{push:n}=t;if(8===e.type)n("["),pn(e,t),n("]");else if(e.isStatic){n(Ae(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function fn(e,t,n=!1,o=[],r=Object.create(null)){}function dn(e,t,n){return!1}function hn(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 mn(e,t){for(const n of e.params)for(const e of yn(n))t(e)}function gn(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 yn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function yn(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)yn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&yn(e,t)}));break;case"RestElement":yn(e.argument,t);break;case"AssignmentPattern":yn(e.left,t)}return t}const vn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),bn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Sn=(e,t)=>bn(t)&&t.key===e,xn=(e,t)=>{if(5===e.type)e.content=kn(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=kn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=kn(n,t))}}};function kn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const Nn=nn(/^(if|else|else-if)$/,((e,t,n)=>_n(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=En(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=En(t,i+e.branches.length-1,n)}}}))));function _n(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=ke("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Tn(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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Tn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);tn(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function Tn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ye(e,"for")?[e]:e.children,userKey:Ze(e,"key")}}function En(e,t,n){return e.condition?$e(e.condition,$n(e,t,n),Te(n.helper(A),['""',"true"])):$n(e,t,n)}function $n(e,t,n){const{helper:o}=n,r=xe("key",ke(`${t}`,!1,ge,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 lt(e,r,n),e}{let t=64;return ve(n,o(O),Se([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=ut(e);return 13===t.type&&ft(t,n),lt(t,r,n),e}}const wn=nn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return On(e,t,n,(t=>{const s=Te(o(G),[t.source]),i=nt(e),c=Ye(e,"memo"),l=Ze(e,"key"),a=l&&(6===l.type?ke(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=ve(n,o(O),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=ot(e)?e:i&&1===e.children.length&&ot(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&<(l,p,n)):d?l=ve(n,o(O),p?Se([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&<(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(R),r(st(n.inSSR,l.isComponent))):r(rt(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(R),o(st(n.inSSR,l.isComponent))):o(rt(n.inSSR,l.isComponent))),c){const e=Ee(Vn(t.parseResult,[ke("_cached")]));e.body=Oe([_e(["const _memo = (",c.exp,")"]),_e(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(de)}(_cached, _memo)) return _cached`]),_e(["const _item = ",l]),ke("_item.memo = _memo"),ke("return _item")]),s.arguments.push(e,ke("_cache"),ke(String(n.cached++)))}else s.arguments.push(Ee(Vn(t.parseResult),l,!0))}}))}));function On(e,t,n,o){if(!t.exp)return;const r=Pn(t.exp);if(!r)return;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:nt(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Cn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Mn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,In=/^\(|\)$/g;function Pn(e,t){const n=e.loc,o=e.content,r=o.match(Cn);if(!r)return;const[,s,i]=r,c={source:Rn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(In,"").trim();const a=s.indexOf(l),p=l.match(Mn);if(p){l=l.replace(Mn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Rn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Rn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Rn(n,l,a)),c}function Rn(e,t,n){return ke(t,!1,ze(e,n,t.length))}function Vn({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||ke("_".repeat(t+1),!1)))}([e,t,n,...o])}const Ln=ke("undefined",!1),Bn=(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--}}},jn=(e,t)=>{let n;if(nt(e)&&e.props.some(tt)&&(n=Ye(e,"for"))){const e=n.parseResult=Pn(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)}}}},An=(e,t,n)=>Ee(e,t,!1,!0,t.length?t[0].loc:n);function Fn(e,t,n=An){t.helper(ae);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&&!Ve(e)&&(c=!0),s.push(xe(e||ke("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!nt(e)||!(r=Ye(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=ke("default",!0),exp:y}=r;let v;Ve(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,x,k;if(S=Ye(e,"if"))c=!0,i.push($e(S.exp,Dn(g,b),Ln));else if(x=Ye(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&nt(e)&&Ye(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?$e(x.exp,Dn(g,b),Ln):Dn(g,b)}}else if(k=Ye(e,"for")){c=!0;const e=k.parseResult||Pn(k.exp);e&&i.push(Te(t.helper(G),[e.source,Ee(Vn(e),Dn(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(xe(g,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=>Un(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Hn(e.children)?3:1;let h=Se(s.concat(xe("_",ke(d+"",!1))),r);return i.length&&(h=Te(t.helper(q),[h,be(i)])),{slots:h,hasDynamicSlots:c}}function Dn(e,t){return Se([xe("name",e),xe("fn",t)])}function Hn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Hn(n.children))return!0;break;case 9:if(Hn(n.branches))return!0;break;case 10:case 11:if(Hn(n.children))return!0}}return!1}function Un(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Un(e.content))}const Wn=new WeakMap,Jn=(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?zn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=g(s)&&s.callee===U||s===C||s===M||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=Gn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?be(o.map((e=>Yn(e,t)))):void 0,n.shouldUseBlock&&(d=!0)}if(e.children.length>0){s===I&&(d=!0,f|=1024);if(r&&s!==C&&s!==I){const{slots:n,hasDynamicSlots:o}=Fn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==C){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Gt(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=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+"]"}(p))),e.codegenNode=ve(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function zn(e,t,n=!1){let{tag:o}=e;const r=Zn(o),s=Ze(e,"is");if(s)if(r||mt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&ke(s.value.content,!0):s.exp;if(e)return Te(t.helper(U),[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(U),[i.exp]);const c=Be(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(H),t.components.add(o),at(o,"component"))}function Gn(e,t,n=e.props,o=!1){const{tag:r,loc:s,children:i}=e,c=1===e.tagType;let l=[];const a=[],p=[],f=i.length>0;let d=!1,h=0,g=!1,b=!1,S=!1,x=!1,k=!1,N=!1;const _=[],T=({key:e,value:n})=>{if(Ve(e)){const o=e.content,r=u(o);if(c||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||y(o)||(x=!0),r&&y(o)&&(N=!0),20===n.type||(4===n.type||8===n.type)&&Gt(n,t)>0)return;"ref"===o?g=!0:"class"===o?b=!0:"style"===o?S=!0:"key"===o||_.includes(o)||_.push(o),!c||"class"!==o&&"style"!==o||_.includes(o)||_.push(o)}else k=!0};for(let u=0;u<n.length;u++){const i=n[u];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(g=!0,t.scopes.vFor>0&&l.push(xe(ke("ref_for",!0),ke("true")))),"is"===n&&(Zn(r)||o&&o.content.startsWith("vue:")||mt("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(xe(ke(n,!0,ze(e,0,n.length)),ke(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:c,exp:u,loc:h}=i,g="bind"===n,y="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Qe(c,"is")&&(Zn(r)||mt("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&o)continue;if((g&&Qe(c,"key")||y&&f&&Qe(c,"vue:before-update"))&&(d=!0),g&&Qe(c,"ref")&&t.scopes.vFor>0&&l.push(xe(ke("ref_for",!0),ke("true"))),!c&&(g||y)){if(k=!0,u)if(l.length&&(a.push(Se(Kn(l),s)),l=[]),g){if(mt("COMPILER_V_BIND_OBJECT_ORDER",t)){a.unshift(u);continue}a.push(u)}else a.push({type:14,loc:h,callee:t.helper(ne),arguments:[u]});continue}const b=t.directiveTransforms[n];if(b){const{props:n,needRuntime:r}=b(i,e,t);!o&&n.forEach(T),l.push(...n),r&&(p.push(i),m(r)&&Wn.set(i,r))}else v(n)||(p.push(i),f&&(d=!0))}}let E;if(a.length?(l.length&&a.push(Se(Kn(l),s)),E=a.length>1?Te(t.helper(Z),a,s):a[0]):l.length&&(E=Se(Kn(l),s)),k?h|=16:(b&&!c&&(h|=2),S&&!c&&(h|=4),_.length&&(h|=8),x&&(h|=32)),d||0!==h&&32!==h||!(g||N||p.length>0)||(h|=512),!t.inSSR&&E)switch(E.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<E.properties.length;t++){const r=E.properties[t].key;Ve(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=E.properties[e],s=E.properties[n];o?E=Te(t.helper(ee),[E]):(r&&!Ve(r.value)&&(r.value=Te(t.helper(Q),[r.value])),!s||Ve(s.value)||!S&&17!==s.value.type||(s.value=Te(t.helper(X),[s.value])));break;case 14:break;default:E=Te(t.helper(ee),[Te(t.helper(te),[E])])}return{props:E,directives:p,patchFlag:h,dynamicPropNames:_,shouldUseBlock:d}}function Kn(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||u(s))&&qn(i,r):(t.set(s,r),n.push(r))}return n}function qn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=be([e.value,t.value],e.loc)}function Yn(e,t){const n=[],o=Wn.get(e);o?n.push(t.helperString(o)):(t.helper(W),t.directives.add(e.name),n.push(at(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=ke("true",!1,r);n.push(Se(e.modifiers.map((e=>xe(e,t))),r))}return be(n,e.loc)}function Zn(e){return"component"===e||"Component"===e}const Qn=(e,t)=>{if(ot(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Xn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=Ee([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=Te(t.helper(K),i,o)}};function Xn(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&&Qe(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Ve(t.arg)&&(t.arg.content=x(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Gn(e,t,r);n=o}return{slotName:o,slotProps:n}}const eo=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,to=(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=ke(T(x(e)),!0,i.loc)}else c=_e([`${n.helperString(se)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(se)}(`),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=Je(l.content),t=!(e||eo.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[xe(c,l||ke("() => {}",!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},no=(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(oe)}(${i.content})`:(i.children.unshift(`${n.helperString(oe)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&oo(i,"."),r.includes("attr")&&oo(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[xe(i,ke("",!0,s))]}:{props:[xe(i,o)]}},oo=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ro=(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(et(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!et(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),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(et(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Gt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Te(t.helper(F),r)}}}}},so=new WeakSet,io=(e,t)=>{if(1===e.type&&Ye(e,"once",!0)){if(so.has(e)||t.inVOnce)return;return so.add(e),t.inVOnce=!0,t.helper(ie),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},co=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return lo();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Je(i))return lo();const c=r||ke("modelValue",!0),l=r?Ve(r)?`onUpdate:${r.content}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=_e([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[xe(c,e.exp),xe(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Ae(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Ve(r)?`${r.content}Modifiers`:_e([r,' + "Modifiers"']):"modelModifiers";p.push(xe(n,ke(`{ ${t} }`,!1,e.loc,2)))}return lo(p)};function lo(e=[]){return{props:e}}const ao=/[\w).+\-_$\]]/,po=(e,t)=>{mt("COMPILER_FILTER",t)&&(5===e.type&&uo(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&uo(e.exp,t)})))};function uo(e,t){if(4===e.type)fo(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?fo(o,t):8===o.type?uo(e,t):5===o.type&&uo(o.content,t))}}function fo(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&&ao.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=ho(i,m[s],t);e.content=i}}function ho(e,t,n){n.helper(J);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${at(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${at(r,"filter")}(${e}${")"!==s?","+s:s}`}}const mo=new WeakSet,go=(e,t)=>{if(1===e.type){const n=Ye(e,"memo");if(!n||mo.has(e))return;return mo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ft(o,t),e.codegenNode=Te(t.helper(fe),[n.exp,Ee(void 0,o),"_cache",String(t.cached++)]))}}};function yo(e){return[[io,Nn,go,wn,po,Qn,Jn,Bn,ro],{on:to,bind:no,model:co}]}function vo(e,t={}){const n=t.onError||E,o="module"===t.mode;!0===t.prefixIdentifiers?n(w(46)):o&&n(w(47));t.cacheHandlers&&n(w(48)),t.scopeId&&!o&&n(w(49));const r=h(e)?xt(e,t):e,[s,i]=yo();return en(r,f({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:f({},i,t.directiveTransforms||{})})),on(r,f({},t,{prefixIdentifiers:false}))}const bo=()=>({props:[]}),So=Symbol(""),xo=Symbol(""),ko=Symbol(""),No=Symbol(""),_o=Symbol(""),To=Symbol(""),Eo=Symbol(""),$o=Symbol(""),wo=Symbol(""),Oo=Symbol("");let Co;me({[So]:"vModelRadio",[xo]:"vModelCheckbox",[ko]:"vModelText",[No]:"vModelSelect",[_o]:"vModelDynamic",[To]:"withModifiers",[Eo]:"withKeys",[$o]:"vShow",[wo]:"Transition",[Oo]:"TransitionGroup"});const Mo=e("style,iframe,script,noscript",!0),Io={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Co||(Co=document.createElement("div")),t?(Co.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Co.children[0].getAttribute("foo")):(Co.innerHTML=e,Co.textContent)},isBuiltInComponent:e=>Le(e,"Transition")?wo:Le(e,"TransitionGroup")?Oo: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(Mo(e))return 2}return 0}},Po=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:ke("style",!0,t.loc),exp:Ro(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Ro=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return ke(JSON.stringify(r),!1,t,3)};function Vo(e,t){return w(e,t)}const Lo=e("passive,once,capture"),Bo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),jo=e("left,right"),Ao=e("onkeyup,onkeydown,onkeypress",!0),Fo=(e,t)=>Ve(e)&&"onclick"===e.content.toLowerCase()?ke(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Do=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Ho=[Po],Uo={cloak:bo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[xe(ke("innerHTML",!0,r),o||ke("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[xe(ke("textContent",!0),o?Te(n.helperString(Y),[o],r):ke("",!0))]}},model:(e,t,n)=>{const o=co(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=ko,i=!1;if("input"===r||s){const n=Ze(t,"type");if(n){if(7===n.type)e=_o;else if(n.value)switch(n.value.content){case"radio":e=So;break;case"checkbox":e=xo;break;case"file":i=!0}}else Xe(t)&&(e=_o)}else"select"===r&&(e=No);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>to(e,0,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&>("COMPILER_V_ON_NATIVE",n)||Lo(o)?i.push(o):jo(o)?Ve(e)?Ao(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Bo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Fo(r,"onContextmenu")),c.includes("middle")&&(r=Fo(r,"onMouseup")),c.length&&(s=Te(n.helper(To),[s,JSON.stringify(c)])),!i.length||Ve(r)&&!Ao(r.content)||(s=Te(n.helper(Eo),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=Ve(r)?ke(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[xe(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper($o)})};function Wo(e,t={}){return vo(e,f({},Io,t,{nodeTransforms:[Do,...Ho,...t.nodeTransforms||[]],directiveTransforms:f({},Uo,t.directiveTransforms||{}),transformHoist:null}))}function Jo(e,t={}){return xt(e,f({},Io,t))}export{P as BASE_TRANSITION,oe as CAMELIZE,re as CAPITALIZE,V as CREATE_BLOCK,A as CREATE_COMMENT,L as CREATE_ELEMENT_BLOCK,j as CREATE_ELEMENT_VNODE,q as CREATE_SLOTS,D as CREATE_STATIC,F as CREATE_TEXT,B as CREATE_VNODE,Uo as DOMDirectiveTransforms,Ho as DOMNodeTransforms,O as FRAGMENT,te as GUARD_REACTIVE_PROPS,de as IS_MEMO_SAME,ue as IS_REF,I as KEEP_ALIVE,Z as MERGE_PROPS,Q as NORMALIZE_CLASS,ee as NORMALIZE_PROPS,X as NORMALIZE_STYLE,R as OPEN_BLOCK,le as POP_SCOPE_ID,ce as PUSH_SCOPE_ID,G as RENDER_LIST,K as RENDER_SLOT,H as RESOLVE_COMPONENT,W as RESOLVE_DIRECTIVE,U as RESOLVE_DYNAMIC_COMPONENT,J as RESOLVE_FILTER,ie as SET_BLOCK_TRACKING,M as SUSPENSE,C as TELEPORT,Y as TO_DISPLAY_STRING,ne as TO_HANDLERS,se as TO_HANDLER_KEY,wo as TRANSITION,Oo as TRANSITION_GROUP,pe as UNREF,xo as V_MODEL_CHECKBOX,_o as V_MODEL_DYNAMIC,So as V_MODEL_RADIO,No as V_MODEL_SELECT,ko as V_MODEL_TEXT,Eo as V_ON_WITH_KEYS,To as V_ON_WITH_MODIFIERS,$o as V_SHOW,ae as WITH_CTX,z as WITH_DIRECTIVES,fe as WITH_MEMO,Ge as advancePositionWithClone,Ke as advancePositionWithMutation,qe as assert,vo as baseCompile,xt as baseParse,Yn as buildDirectiveArgs,Gn as buildProps,Fn as buildSlots,gt as checkCompatEnabled,Wo as compile,be as createArrayExpression,Ie as createAssignmentExpression,Oe as createBlockStatement,we as createCacheExpression,Te as createCallExpression,w as createCompilerError,_e as createCompoundExpression,$e as createConditionalExpression,Vo as createDOMCompilerError,Vn as createForLoopParams,Ee as createFunctionExpression,Me as createIfStatement,Ne as createInterpolation,Se as createObjectExpression,xe as createObjectProperty,Re as createReturnStatement,ye as createRoot,Pe as createSequenceExpression,ke as createSimpleExpression,nn as createStructuralDirectiveTransform,Ce as createTemplateLiteral,Xt as createTransformContext,ve as createVNodeCall,yn as extractIdentifiers,Ye as findDir,Ze as findProp,on as generate,t as generateCodeFrame,yo as getBaseTransformPreset,ze as getInnerRange,ut as getMemoedVNodeCall,st as getVNodeBlockHelper,rt as getVNodeHelper,Xe as hasDynamicKeyVBind,pt as hasScopeRef,he as helperNameMap,lt as injectProp,Le as isBuiltInType,Be as isCoreComponent,vn as isFunctionType,hn as isInDestructureAssignment,Je as isMemberExpression,Ue as isMemberExpressionBrowser,We as isMemberExpressionNode,dn as isReferencedIdentifier,Ae as isSimpleIdentifier,ot as isSlotOutlet,Qe as isStaticArgOf,Ve as isStaticExp,bn as isStaticProperty,Sn as isStaticPropertyKey,nt as isTemplateNode,et as isText,tt as isVSlot,ge as locStub,ft as makeBlock,bo as noopDirectiveTransform,Jo as parse,Io as parserOptions,kn as processExpression,On as processFor,_n as processIf,Xn as processSlotOutlet,me as registerRuntimeHelpers,zn as resolveComponentType,at as toValidAssetId,Bn as trackSlotScopes,jn as trackVForSlotScopes,en as transform,no as transformBind,Jn as transformElement,xn as transformExpression,co as transformModel,to as transformOn,Po as transformStyle,tn as traverseNode,gn as walkBlockDeclarations,mn as walkFunctionParams,fn as walkIdentifiers,yt as warnDeprecation};
|
|
@@ -163,6 +163,7 @@ var VueCompilerDOM = (function (exports) {
|
|
|
163
163
|
'onVnodeBeforeMount,onVnodeMounted,' +
|
|
164
164
|
'onVnodeBeforeUpdate,onVnodeUpdated,' +
|
|
165
165
|
'onVnodeBeforeUnmount,onVnodeUnmounted');
|
|
166
|
+
const isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo');
|
|
166
167
|
const cacheStringFunction = (fn) => {
|
|
167
168
|
const cache = Object.create(null);
|
|
168
169
|
return ((str) => {
|
|
@@ -907,13 +908,13 @@ var VueCompilerDOM = (function (exports) {
|
|
|
907
908
|
message: `Platform-native elements with "is" prop will no longer be ` +
|
|
908
909
|
`treated as components in Vue 3 unless the "is" value is explicitly ` +
|
|
909
910
|
`prefixed with "vue:".`,
|
|
910
|
-
link: `https://v3.vuejs.org/
|
|
911
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`
|
|
911
912
|
},
|
|
912
913
|
["COMPILER_V_BIND_SYNC" /* COMPILER_V_BIND_SYNC */]: {
|
|
913
914
|
message: key => `.sync modifier for v-bind has been removed. Use v-model with ` +
|
|
914
915
|
`argument instead. \`v-bind:${key}.sync\` should be changed to ` +
|
|
915
916
|
`\`v-model:${key}\`.`,
|
|
916
|
-
link: `https://v3.vuejs.org/
|
|
917
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-model.html`
|
|
917
918
|
},
|
|
918
919
|
["COMPILER_V_BIND_PROP" /* COMPILER_V_BIND_PROP */]: {
|
|
919
920
|
message: `.prop modifier for v-bind has been removed and no longer necessary. ` +
|
|
@@ -925,11 +926,11 @@ var VueCompilerDOM = (function (exports) {
|
|
|
925
926
|
`that appears before v-bind in the case of conflict. ` +
|
|
926
927
|
`To retain 2.x behavior, move v-bind to make it the first attribute. ` +
|
|
927
928
|
`You can also suppress this warning if the usage is intended.`,
|
|
928
|
-
link: `https://v3.vuejs.org/
|
|
929
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-bind.html`
|
|
929
930
|
},
|
|
930
931
|
["COMPILER_V_ON_NATIVE" /* COMPILER_V_ON_NATIVE */]: {
|
|
931
932
|
message: `.native modifier for v-on has been removed as is no longer necessary.`,
|
|
932
|
-
link: `https://v3.vuejs.org/
|
|
933
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`
|
|
933
934
|
},
|
|
934
935
|
["COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */]: {
|
|
935
936
|
message: `v-if / v-for precedence when used on the same element has changed ` +
|
|
@@ -937,7 +938,7 @@ var VueCompilerDOM = (function (exports) {
|
|
|
937
938
|
`access to v-for scope variables. It is best to avoid the ambiguity ` +
|
|
938
939
|
`with <template> tags or use a computed property that filters v-for ` +
|
|
939
940
|
`data source.`,
|
|
940
|
-
link: `https://v3.vuejs.org/
|
|
941
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`
|
|
941
942
|
},
|
|
942
943
|
["COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */]: {
|
|
943
944
|
message: `<template> with no special directives will render as a native template ` +
|
|
@@ -945,13 +946,13 @@ var VueCompilerDOM = (function (exports) {
|
|
|
945
946
|
},
|
|
946
947
|
["COMPILER_INLINE_TEMPLATE" /* COMPILER_INLINE_TEMPLATE */]: {
|
|
947
948
|
message: `"inline-template" has been removed in Vue 3.`,
|
|
948
|
-
link: `https://v3.vuejs.org/
|
|
949
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
|
|
949
950
|
},
|
|
950
951
|
["COMPILER_FILTER" /* COMPILER_FILTERS */]: {
|
|
951
952
|
message: `filters have been removed in Vue 3. ` +
|
|
952
953
|
`The "|" symbol will be treated as native JavaScript bitwise OR operator. ` +
|
|
953
954
|
`Use method calls or computed properties instead.`,
|
|
954
|
-
link: `https://v3.vuejs.org/
|
|
955
|
+
link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
|
|
955
956
|
}
|
|
956
957
|
};
|
|
957
958
|
function getCompatValue(key, context) {
|
|
@@ -4178,7 +4179,7 @@ var VueCompilerDOM = (function (exports) {
|
|
|
4178
4179
|
}
|
|
4179
4180
|
}
|
|
4180
4181
|
}
|
|
4181
|
-
else {
|
|
4182
|
+
else if (!isBuiltInDirective(name)) {
|
|
4182
4183
|
// no built-in transform, this is a user custom directive.
|
|
4183
4184
|
runtimeDirectives.push(prop);
|
|
4184
4185
|
// custom dirs may use beforeUpdate so they need to force blocks
|
|
@@ -5523,6 +5524,7 @@ var VueCompilerDOM = (function (exports) {
|
|
|
5523
5524
|
exports.assert = assert;
|
|
5524
5525
|
exports.baseCompile = baseCompile;
|
|
5525
5526
|
exports.baseParse = baseParse;
|
|
5527
|
+
exports.buildDirectiveArgs = buildDirectiveArgs;
|
|
5526
5528
|
exports.buildProps = buildProps;
|
|
5527
5529
|
exports.buildSlots = buildSlots;
|
|
5528
5530
|
exports.checkCompatEnabled = checkCompatEnabled;
|
|
@@ -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=/:(.+)/;const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,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"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=e=>p.test(e),f=Object.assign,d=Array.isArray,h=e=>"string"==typeof e,m=e=>"symbol"==typeof e,g=e=>null!==e&&"object"==typeof e,y=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},S=/-(\w)/g,b=v((e=>e.replace(S,((e,t)=>t?t.toUpperCase():"")))),E=/\B([A-Z])/g,N=v((e=>e.replace(E,"-$1").toLowerCase())),_=v((e=>e.charAt(0).toUpperCase()+e.slice(1))),x=v((e=>e?`on${_(e)}`:""));function T(e){throw e}function O(e){}function k(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(""),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(""),q=Symbol(""),Z=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={[C]:"Fragment",[I]:"Teleport",[M]:"Suspense",[R]:"KeepAlive",[P]:"BaseTransition",[w]:"openBlock",[$]:"createBlock",[L]:"createElementBlock",[V]:"createVNode",[A]:"createElementVNode",[D]:"createCommentVNode",[B]:"createTextVNode",[F]:"createStaticVNode",[j]:"resolveComponent",[H]:"resolveDynamicComponent",[W]:"resolveDirective",[K]:"resolveFilter",[U]:"withDirectives",[J]:"renderList",[G]:"renderSlot",[z]:"createSlots",[Y]:"toDisplayString",[q]:"mergeProps",[Z]:"normalizeClass",[X]:"normalizeStyle",[Q]:"normalizeProps",[ee]:"guardReactiveProps",[te]:"toHandlers",[ne]:"camelize",[oe]:"capitalize",[re]:"toHandlerKey",[se]:"setBlockTracking",[ie]:"pushScopeId",[ce]:"popScopeId",[le]:"withCtx",[ae]:"unref",[pe]:"isRef",[ue]:"withMemo",[fe]:"isMemoSame"};function he(e){Object.getOwnPropertySymbols(e).forEach((t=>{de[t]=e[t]}))}const me={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ge(e,t=me){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ye(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=me){return e&&(c?(e.helper(w),e.helper(Ze(e.inSSR,a))):e.helper(qe(e.inSSR,a)),i&&e.helper(U)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function ve(e,t=me){return{type:17,loc:t,elements:e}}function Se(e,t=me){return{type:15,loc:t,properties:e}}function be(e,t){return{type:16,loc:me,key:h(e)?Ee(e,!0):e,value:t}}function Ee(e,t=!1,n=me,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ne(e,t=me){return{type:8,loc:t,children:e}}function _e(e,t=[],n=me){return{type:14,loc:n,callee:e,arguments:t}}function xe(e,t,n=!1,o=!1,r=me){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Te(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:me}}function Oe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:me}}function ke(e){return{type:21,body:e,loc:me}}const Ce=e=>4===e.type&&e.isStatic,Ie=(e,t)=>e===t||e===N(t);function Me(e){return Ie(e,"Teleport")?I:Ie(e,"Suspense")?M:Ie(e,"KeepAlive")?R:Ie(e,"BaseTransition")?P:void 0}const Re=/^\d|[^\$\w]/,Pe=e=>!Re.test(e),we=/[A-Za-z_$\xA0-\uFFFF]/,$e=/[\.\?\w$\xA0-\uFFFF]/,Le=/\s+[.[]\s*|\s*[.[]\s+/g,Ve=e=>{e=e.trim().replace(Le,(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?we:$e).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},Ae=l,De=Ve;function Be(e,t,n){const o={source:e.source.slice(t,t+n),start:Fe(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Fe(e.start,e.source,t+n)),o}function Fe(e,t,n=t.length){return je(f({},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 He(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)&&(h(t)?r.name===t:t.test(r.name)))return r}}function We(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)&&Ke(s.arg,t))return s}}function Ke(e,t){return!(!e||!Ce(e)||e.content!==t)}function Ue(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Je(e){return 5===e.type||2===e.type}function Ge(e){return 7===e.type&&"slot"===e.name}function ze(e){return 1===e.type&&3===e.tagType}function Ye(e){return 1===e.type&&2===e.tagType}function qe(e,t){return e||t?V:A}function Ze(e,t){return e||t?$:L}const Xe=new Set([Q,ee]);function Qe(e,t=[]){if(e&&!h(e)&&14===e.type){const n=e.callee;if(!h(n)&&Xe.has(n))return Qe(e.arguments[0],t.concat(e))}return[e,t]}function et(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!h(s)&&14===s.type){const e=Qe(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||h(s))o=Se([t]);else if(14===s.type){const e=s.arguments[0];h(e)||15!==e.type?s.callee===te?o=_e(n.helper(q),[Se([t]),s]):s.arguments.unshift(Se([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=_e(n.helper(q),[Se([t]),s]),r&&r.callee===ee&&(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 tt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function nt(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function ot(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(qe(o,e.isComponent)),t(w),t(Ze(o,e.isComponent)))}const rt={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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/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.vuejs.org/guide/migration/filters.html"}};function st(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function it(e,t){const n=st("MODE",t),o=st(e,t);return 3===n?!0===o:!1!==o}function ct(e,t,n,...o){return it(e,t)}const lt=/&(gt|lt|amp|apos|quot);/g,at={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},pt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(lt,((e,t)=>at[t])),onError:T,onWarn:O,comments:!1};function ut(e,t={}){const n=function(e,t){const n=f({},pt);let o;for(o in t)n[o]=void 0===t[o]?pt[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=Tt(n);return ge(ft(n,0,[]),Ot(n,o))}function ft(e,t,n){const o=kt(n),r=o?o.ns:0,s=[];for(;!Pt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Ct(i,e.options.delimiters[0]))c=Nt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Ct(i,"\x3c!--")?mt(e):Ct(i,"<!DOCTYPE")?gt(e):Ct(i,"<![CDATA[")&&0!==r?ht(e,n):gt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){It(e,3);continue}if(/[a-z]/i.test(i[2])){St(e,1,o);continue}c=gt(e)}else/[a-z]/i.test(i[1])?(c=yt(e,n),it("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&vt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=gt(e));if(c||(c=_t(e,t)),d(c))for(let e=0;e<c.length;e++)dt(s,c[e]);else dt(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(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);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||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}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 dt(e,t){if(2===t.type){const n=kt(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 ht(e,t){It(e,9);const n=ft(e,3,t);return 0===e.source.length||It(e,3),n}function mt(e){const t=Tt(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));)It(e,s-r+1),r=s+1;It(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),It(e,e.source.length);return{type:3,content:n,loc:Ot(e,t)}}function gt(e){const t=Tt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),It(e,e.source.length)):(o=e.source.slice(n,r),It(e,r+1)),{type:3,content:o,loc:Ot(e,t)}}function yt(e,t){const n=e.inPre,o=e.inVPre,r=kt(t),s=St(e,0,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=ft(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&ct("COMPILER_INLINE_TEMPLATE",e)){const n=Ot(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,wt(e.source,s.tag))St(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ct(e.loc.source,"\x3c!--")}return s.loc=Ot(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const vt=t("if,else,else-if,for,slot");function St(e,t,n){const o=Tt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);It(e,r[0].length),Mt(e);const c=Tt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=bt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,f(e,c),e.source=l,a=bt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Ct(e.source,"/>"),It(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&&vt(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)||Me(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(ct("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ke(e.arg,"is")&&ct("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:Ot(e,o),codegenNode:void 0}}function bt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ct(e.source,">")&&!Ct(e.source,"/>");){if(Ct(e.source,"/")){It(e,1),Mt(e);continue}const r=Et(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),Mt(e)}return n}function Et(e,t){const n=Tt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;It(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Mt(e),It(e,1),Mt(e),r=function(e){const t=Tt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){It(e,1);const t=e.source.indexOf(o);-1===t?n=xt(e,e.source.length,4):(n=xt(e,t,4),It(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]););n=xt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Ot(e,t)}}(e));const s=Ot(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Ct(o,"."),l=t[1]||(c||Ct(o,":")?"bind":Ct(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Ot(e,Rt(e,n,s),Rt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a=a.endsWith("]")?a.slice(1,a.length-1):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=Fe(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")&&ct("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&&Ct(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Nt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Tt(e);It(e,n.length);const i=Tt(e),c=Tt(e),l=r-n.length,a=e.source.slice(0,l),p=xt(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)),It(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Ot(e,i,c)},loc:Ot(e,s)}}function _t(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=Tt(e);return{type:2,content:xt(e,o,t),loc:Ot(e,r)}}function xt(e,t,n){const o=e.source.slice(0,t);return It(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function Tt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Ot(e,t,n){return{start:t,end:n=n||Tt(e),source:e.originalSource.slice(t.offset,n.offset)}}function kt(e){return e[e.length-1]}function Ct(e,t){return e.startsWith(t)}function It(e,t){const{source:n}=e;je(e,n,t),e.source=n.slice(t)}function Mt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&It(e,t[0].length)}function Rt(e,t,n){return Fe(t,e.originalSource.slice(t.offset,n),n)}function Pt(e,t,n){const o=e.source;switch(t){case 0:if(Ct(o,"</"))for(let e=n.length-1;e>=0;--e)if(wt(o,n[e].tag))return!0;break;case 1:case 2:{const e=kt(n);if(e&&wt(o,e.tag))return!0;break}case 3:if(Ct(o,"]]>"))return!0}return!o}function wt(e,t){return Ct(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function $t(e,t){Vt(e,t,Lt(e,e.children[0]))}function Lt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ye(t)}function Vt(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:At(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=Ht(n);if((!o||512===o||1===o)&&Ft(e,t)>=2){const o=jt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else 12===e.type&&At(e.content,t)>=2&&(e.codegenNode=t.hoist(e.codegenNode),s++);if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Vt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Vt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Vt(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&&d(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function At(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(Ht(r))return n.set(e,0),0;{let o=3;const s=Ft(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=At(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=At(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(w),t.removeHelper(Ze(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(qe(t.inSSR,r.isComponent))),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 At(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(h(o)||m(o))continue;const r=At(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Dt=new Set([Z,X,Q,ee]);function Bt(e,t){if(14===e.type&&!h(e.callee)&&Dt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return At(n,t);if(14===n.type)return Bt(n,t)}return 0}function Ft(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=At(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?At(s,t):14===s.type?Bt(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 Ht(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Wt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=c,inline:E=!1,isTS:N=!1,onError:x=T,onWarn:k=O,compatConfig:C}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),M={selfName:I&&_(b(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:E,isTS:N,onError:x,onWarn:k,compatConfig:C,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=>`_${de[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){h(e)&&(e=Ee(e)),M.hoists.push(e);const t=Ee(`_hoisted_${M.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe(M.cached++,e,t)};return M.filters=new Set,M}function Kt(e,t){const n=Wt(e,t);Ut(e,n),t.hoistStatic&&$t(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Lt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ot(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(t,n(C),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...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 Ut(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&&(d(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(D);break;case 5:t.ssr||t.helper(Y);break;case 9:for(let n=0;n<e.branches.length;n++)Ut(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];h(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Ut(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Jt(e,t){const n=h(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(Ge))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 Gt="/*#__PURE__*/";function zt(e,t={}){const n=function(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=>`_${de[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}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${de[e]}: _${de[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[V,A,D,B,F].filter((t=>e.helpers.includes(t))).map(i).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} = `),Xt(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${de[e]}: _${de[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Yt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Yt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Yt(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?Xt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Yt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?K:"component"===t?j:W);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 ${tt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function qt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Zt(e,t,n),n&&t.deindent(),t.push("]")}function Zt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];h(c)?r(c):d(c)?qt(c,t):Xt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Xt(e,t){if(h(e))t.push(e);else if(m(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:Xt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Qt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Gt);n(`${o(Y)}(`),Xt(e.content,t),n(")")}(e,t);break;case 8:en(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Gt);n(`${o(D)}(${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(U)+"(");u&&n(`(${o(w)}(${f?"true":""}), `);r&&n(Gt);const h=u?Ze(t.inSSR,d):qe(t.inSSR,d);n(o(h)+"(",e),Zt(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(", "),Xt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=h(e.callee)?e.callee:o(e.callee);r&&n(Gt);n(s+"(",e),Zt(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];tn(e,t),n(": "),Xt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){qt(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(`_${de[le]}(`);n("(",e),d(s)?Zt(s,t):s&&Xt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),d(i)?qt(i,t):Xt(i,t)):c&&Xt(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=!Pe(n.content);e&&i("("),Qt(n,t),e&&i(")")}else i("("),Xt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Xt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;Xt(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(se)}(-1),`),i());n(`_cache[${e.index}] = `),Xt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(se)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Zt(e.body,t,!0,!1)}}function Qt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function en(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];h(o)?t.push(o):Xt(o,t)}}function tn(e,t){const{push:n}=t;if(8===e.type)n("["),en(e,t),n("]");else if(e.isStatic){n(Pe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function nn(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)nn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&nn(e,t)}));break;case"RestElement":nn(e.argument,t);break;case"AssignmentPattern":nn(e.left,t)}return t}const on=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function rn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const sn=Jt(/^(if|else|else-if)$/,((e,t,n)=>cn(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=an(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=an(t,i+e.branches.length-1,n)}}}))));function cn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Ee("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=ln(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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=ln(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Ut(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function ln(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||He(e,"for")?[e]:e.children,userKey:We(e,"key")}}function an(e,t,n){return e.condition?Te(e.condition,pn(e,t,n),_e(n.helper(D),['""',"true"])):pn(e,t,n)}function pn(e,t,n){const{helper:o}=n,r=be("key",Ee(`${t}`,!1,me,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 et(e,r,n),e}{let t=64;return ye(n,o(C),Se([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=nt(e);return 13===t.type&&ot(t,n),et(t,r,n),e}}const un=Jt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return fn(e,t,n,(t=>{const s=_e(o(J),[t.source]),i=ze(e),c=He(e,"memo"),l=We(e,"key"),a=l&&(6===l.type?Ee(l.value.content,!0):l.exp),p=l?be("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=ye(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=Ye(e)?e:i&&1===e.children.length&&Ye(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&et(l,p,n)):d?l=ye(n,o(C),p?Se([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&et(l,p,n),l.isBlock!==!u&&(l.isBlock?(r(w),r(Ze(n.inSSR,l.isComponent))):r(qe(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o(w),o(Ze(n.inSSR,l.isComponent))):o(qe(n.inSSR,l.isComponent))),c){const e=xe(vn(t.parseResult,[Ee("_cached")]));e.body=ke([Ne(["const _memo = (",c.exp,")"]),Ne(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),Ne(["const _item = ",l]),Ee("_item.memo = _memo"),Ee("return _item")]),s.arguments.push(e,Ee("_cache"),Ee(String(n.cached++)))}else s.arguments.push(xe(vn(t.parseResult),l,!0))}}))}));function fn(e,t,n,o){if(!t.exp)return;const r=gn(t.exp);if(!r)return;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 dn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,hn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,mn=/^\(|\)$/g;function gn(e,t){const n=e.loc,o=e.content,r=o.match(dn);if(!r)return;const[,s,i]=r,c={source:yn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(mn,"").trim();const a=s.indexOf(l),p=l.match(hn);if(p){l=l.replace(hn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=yn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=yn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=yn(n,l,a)),c}function yn(e,t,n){return Ee(t,!1,Be(e,n,t.length))}function vn({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||Ee("_".repeat(t+1),!1)))}([e,t,n,...o])}const Sn=Ee("undefined",!1),bn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=He(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},En=(e,t,n)=>xe(e,t,!1,!0,t.length?t[0].loc:n);function Nn(e,t,n=En){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=He(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Ce(e)&&(c=!0),s.push(be(e||Ee("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!ze(e)||!(r=He(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=Ee("default",!0),exp:y}=r;let v;Ce(g)?v=g?g.content:"default":c=!0;const S=n(y,d,h);let b,E,N;if(b=He(e,"if"))c=!0,i.push(Te(b.exp,_n(g,S),Sn));else if(E=He(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&ze(e)&&He(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?Te(E.exp,_n(g,S),Sn):_n(g,S)}}else if(N=He(e,"for")){c=!0;const e=N.parseResult||gn(N.exp);e&&i.push(_e(t.helper(J),[e.source,xe(vn(e),_n(g,S),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(be(g,S))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),be("default",s)};a?u.length&&u.some((e=>Tn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:xn(e.children)?3:1;let h=Se(s.concat(be("_",Ee(d+"",!1))),r);return i.length&&(h=_e(t.helper(z),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function _n(e,t){return Se([be("name",e),be("fn",t)])}function xn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||xn(n.children))return!0;break;case 9:if(xn(n.branches))return!0;break;case 10:case 11:if(xn(n.children))return!0}}return!1}function Tn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Tn(e.content))}const On=new WeakMap,kn=(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?Cn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=g(s)&&s.callee===H||s===I||s===M||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=In(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ve(o.map((e=>function(e,t){const n=[],o=On.get(e);o?n.push(t.helperString(o)):(t.helper(W),t.directives.add(e.name),n.push(tt(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Ee("true",!1,r);n.push(Se(e.modifiers.map((e=>be(e,t))),r))}return ve(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(d=!0)}if(e.children.length>0){s===R&&(d=!0,f|=1024);if(r&&s!==I&&s!==R){const{slots:n,hasDynamicSlots:o}=Nn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==I){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===At(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=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+"]"}(p))),e.codegenNode=ye(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function Cn(e,t,n=!1){let{tag:o}=e;const r=Pn(o),s=We(e,"is");if(s)if(r||it("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ee(s.value.content,!0):s.exp;if(e)return _e(t.helper(H),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&He(e,"is");if(i&&i.exp)return _e(t.helper(H),[i.exp]);const c=Me(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(j),t.components.add(o),tt(o,"component"))}function In(e,t,n=e.props,o=!1){const{tag:r,loc:s,children:i}=e,c=1===e.tagType;let l=[];const a=[],p=[],f=i.length>0;let d=!1,h=0,g=!1,v=!1,S=!1,b=!1,E=!1,N=!1;const _=[],x=({key:e,value:n})=>{if(Ce(e)){const o=e.content,r=u(o);if(c||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||y(o)||(b=!0),r&&y(o)&&(N=!0),20===n.type||(4===n.type||8===n.type)&&At(n,t)>0)return;"ref"===o?g=!0:"class"===o?v=!0:"style"===o?S=!0:"key"===o||_.includes(o)||_.push(o),!c||"class"!==o&&"style"!==o||_.includes(o)||_.push(o)}else E=!0};for(let u=0;u<n.length;u++){const i=n[u];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(g=!0,t.scopes.vFor>0&&l.push(be(Ee("ref_for",!0),Ee("true")))),"is"===n&&(Pn(r)||o&&o.content.startsWith("vue:")||it("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(be(Ee(n,!0,Be(e,0,n.length)),Ee(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:c,exp:u,loc:h}=i,g="bind"===n,y="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Ke(c,"is")&&(Pn(r)||it("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&o)continue;if((g&&Ke(c,"key")||y&&f&&Ke(c,"vue:before-update"))&&(d=!0),g&&Ke(c,"ref")&&t.scopes.vFor>0&&l.push(be(Ee("ref_for",!0),Ee("true"))),!c&&(g||y)){if(E=!0,u)if(l.length&&(a.push(Se(Mn(l),s)),l=[]),g){if(it("COMPILER_V_BIND_OBJECT_ORDER",t)){a.unshift(u);continue}a.push(u)}else a.push({type:14,loc:h,callee:t.helper(te),arguments:[u]});continue}const v=t.directiveTransforms[n];if(v){const{props:n,needRuntime:r}=v(i,e,t);!o&&n.forEach(x),l.push(...n),r&&(p.push(i),m(r)&&On.set(i,r))}else p.push(i),f&&(d=!0)}}let T;if(a.length?(l.length&&a.push(Se(Mn(l),s)),T=a.length>1?_e(t.helper(q),a,s):a[0]):l.length&&(T=Se(Mn(l),s)),E?h|=16:(v&&!c&&(h|=2),S&&!c&&(h|=4),_.length&&(h|=8),b&&(h|=32)),d||0!==h&&32!==h||!(g||N||p.length>0)||(h|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<T.properties.length;t++){const r=T.properties[t].key;Ce(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=T.properties[e],s=T.properties[n];o?T=_e(t.helper(Q),[T]):(r&&!Ce(r.value)&&(r.value=_e(t.helper(Z),[r.value])),!s||Ce(s.value)||!S&&17!==s.value.type||(s.value=_e(t.helper(X),[s.value])));break;case 14:break;default:T=_e(t.helper(Q),[_e(t.helper(ee),[T])])}return{props:T,directives:p,patchFlag:h,dynamicPropNames:_,shouldUseBlock:d}}function Mn(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||u(s))&&Rn(i,r):(t.set(s,r),n.push(r))}return n}function Rn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function Pn(e){return"component"===e||"Component"===e}const wn=(e,t)=>{if(Ye(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=$n(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=xe([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=_e(t.helper(G),i,o)}};function $n(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=b(t.name),r.push(t))):"bind"===t.name&&Ke(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Ce(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=In(e,t,r);n=o}return{slotName:o,slotProps:n}}const Ln=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Vn=(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=Ee(x(b(e)),!0,i.loc)}else c=Ne([`${n.helperString(re)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(re)}(`),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=De(l.content),t=!(e||Ln.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Ne([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[be(c,l||Ee("() => {}",!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},An=(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?b(i.content):`${n.helperString(ne)}(${i.content})`:(i.children.unshift(`${n.helperString(ne)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Dn(i,"."),r.includes("attr")&&Dn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[be(i,Ee("",!0,s))]}:{props:[be(i,o)]}},Dn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Bn=(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(Je(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Je(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),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(Je(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==At(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(B),r)}}}}},Fn=new WeakSet,jn=(e,t)=>{if(1===e.type&&He(e,"once",!0)){if(Fn.has(e)||t.inVOnce)return;return Fn.add(e),t.inVOnce=!0,t.helper(se),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Hn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Wn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!De(i))return Wn();const c=r||Ee("modelValue",!0),l=r?Ce(r)?`onUpdate:${r.content}`:Ne(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Ne([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[be(c,e.exp),be(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Pe(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Ce(r)?`${r.content}Modifiers`:Ne([r,' + "Modifiers"']):"modelModifiers";p.push(be(n,Ee(`{ ${t} }`,!1,e.loc,2)))}return Wn(p)};function Wn(e=[]){return{props:e}}const Kn=/[\w).+\-_$\]]/,Un=(e,t)=>{it("COMPILER_FILTER",t)&&(5===e.type&&Jn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Jn(e.exp,t)})))};function Jn(e,t){if(4===e.type)Gn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Gn(o,t):8===o.type?Jn(e,t):5===o.type&&Jn(o.content,t))}}function Gn(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&&Kn.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=zn(i,m[s],t);e.content=i}}function zn(e,t,n){n.helper(K);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${tt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${tt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Yn=new WeakSet,qn=(e,t)=>{if(1===e.type){const n=He(e,"memo");if(!n||Yn.has(e))return;return Yn.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ot(o,t),e.codegenNode=_e(t.helper(ue),[n.exp,xe(void 0,o),"_cache",String(t.cached++)]))}}};function Zn(e){return[[jn,sn,qn,un,Un,wn,kn,bn,Bn],{on:Vn,bind:An,model:Hn}]}function Xn(e,t={}){const n=t.onError||T,o="module"===t.mode;!0===t.prefixIdentifiers?n(k(46)):o&&n(k(47));t.cacheHandlers&&n(k(48)),t.scopeId&&!o&&n(k(49));const r=h(e)?ut(e,t):e,[s,i]=Zn();return Kt(r,f({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:f({},i,t.directiveTransforms||{})})),zt(r,f({},t,{prefixIdentifiers:false}))}const Qn=()=>({props:[]}),eo=Symbol(""),to=Symbol(""),no=Symbol(""),oo=Symbol(""),ro=Symbol(""),so=Symbol(""),io=Symbol(""),co=Symbol(""),lo=Symbol(""),ao=Symbol("");let po;he({[eo]:"vModelRadio",[to]:"vModelCheckbox",[no]:"vModelText",[oo]:"vModelSelect",[ro]:"vModelDynamic",[so]:"withModifiers",[io]:"withKeys",[co]:"vShow",[lo]:"Transition",[ao]:"TransitionGroup"});const uo=t("style,iframe,script,noscript",!0),fo={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return po||(po=document.createElement("div")),t?(po.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,po.children[0].getAttribute("foo")):(po.innerHTML=e,po.textContent)},isBuiltInComponent:e=>Ie(e,"Transition")?lo:Ie(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(uo(e))return 2}return 0}},ho=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:Ee("style",!0,t.loc),exp:mo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},mo=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return Ee(JSON.stringify(r),!1,t,3)};function go(e,t){return k(e,t)}const yo=t("passive,once,capture"),vo=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),So=t("left,right"),bo=t("onkeyup,onkeydown,onkeypress",!0),Eo=(e,t)=>Ce(e)&&"onclick"===e.content.toLowerCase()?Ee(t,!0):4!==e.type?Ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,No=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},_o=[ho],xo={cloak:Qn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[be(Ee("innerHTML",!0,r),o||Ee("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[be(Ee("textContent",!0),o?_e(n.helperString(Y),[o],r):Ee("",!0))]}},model:(e,t,n)=>{const o=Hn(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=no,i=!1;if("input"===r||s){const n=We(t,"type");if(n){if(7===n.type)e=ro;else if(n.value)switch(n.value.content){case"radio":e=eo;break;case"checkbox":e=to;break;case"file":i=!0}}else Ue(t)&&(e=ro)}else"select"===r&&(e=oo);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Vn(e,0,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&&ct("COMPILER_V_ON_NATIVE",n)||yo(o)?i.push(o):So(o)?Ce(e)?bo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):vo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Eo(r,"onContextmenu")),c.includes("middle")&&(r=Eo(r,"onMouseup")),c.length&&(s=_e(n.helper(so),[s,JSON.stringify(c)])),!i.length||Ce(r)&&!bo(r.content)||(s=_e(n.helper(io),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=Ce(r)?Ee(`${r.content}${e}`,!0):Ne(["(",r,`) + "${e}"`])}return{props:[be(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(co)})};return e.BASE_TRANSITION=P,e.CAMELIZE=ne,e.CAPITALIZE=oe,e.CREATE_BLOCK=$,e.CREATE_COMMENT=D,e.CREATE_ELEMENT_BLOCK=L,e.CREATE_ELEMENT_VNODE=A,e.CREATE_SLOTS=z,e.CREATE_STATIC=F,e.CREATE_TEXT=B,e.CREATE_VNODE=V,e.DOMDirectiveTransforms=xo,e.DOMNodeTransforms=_o,e.FRAGMENT=C,e.GUARD_REACTIVE_PROPS=ee,e.IS_MEMO_SAME=fe,e.IS_REF=pe,e.KEEP_ALIVE=R,e.MERGE_PROPS=q,e.NORMALIZE_CLASS=Z,e.NORMALIZE_PROPS=Q,e.NORMALIZE_STYLE=X,e.OPEN_BLOCK=w,e.POP_SCOPE_ID=ce,e.PUSH_SCOPE_ID=ie,e.RENDER_LIST=J,e.RENDER_SLOT=G,e.RESOLVE_COMPONENT=j,e.RESOLVE_DIRECTIVE=W,e.RESOLVE_DYNAMIC_COMPONENT=H,e.RESOLVE_FILTER=K,e.SET_BLOCK_TRACKING=se,e.SUSPENSE=M,e.TELEPORT=I,e.TO_DISPLAY_STRING=Y,e.TO_HANDLERS=te,e.TO_HANDLER_KEY=re,e.TRANSITION=lo,e.TRANSITION_GROUP=ao,e.UNREF=ae,e.V_MODEL_CHECKBOX=to,e.V_MODEL_DYNAMIC=ro,e.V_MODEL_RADIO=eo,e.V_MODEL_SELECT=oo,e.V_MODEL_TEXT=no,e.V_ON_WITH_KEYS=io,e.V_ON_WITH_MODIFIERS=so,e.V_SHOW=co,e.WITH_CTX=le,e.WITH_DIRECTIVES=U,e.WITH_MEMO=ue,e.advancePositionWithClone=Fe,e.advancePositionWithMutation=je,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=Xn,e.baseParse=ut,e.buildProps=In,e.buildSlots=Nn,e.checkCompatEnabled=ct,e.compile=function(e,t={}){return Xn(e,f({},fo,t,{nodeTransforms:[No,..._o,...t.nodeTransforms||[]],directiveTransforms:f({},xo,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=ve,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:me}},e.createBlockStatement=ke,e.createCacheExpression=Oe,e.createCallExpression=_e,e.createCompilerError=k,e.createCompoundExpression=Ne,e.createConditionalExpression=Te,e.createDOMCompilerError=go,e.createForLoopParams=vn,e.createFunctionExpression=xe,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:h(e)?Ee(e,!1,t):e}},e.createObjectExpression=Se,e.createObjectProperty=be,e.createReturnStatement=function(e){return{type:26,returns:e,loc:me}},e.createRoot=ge,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:me}},e.createSimpleExpression=Ee,e.createStructuralDirectiveTransform=Jt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:me}},e.createTransformContext=Wt,e.createVNodeCall=ye,e.extractIdentifiers=nn,e.findDir=He,e.findProp=We,e.generate=zt,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=Zn,e.getInnerRange=Be,e.getMemoedVNodeCall=nt,e.getVNodeBlockHelper=Ze,e.getVNodeHelper=qe,e.hasDynamicKeyVBind=Ue,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&&Pe(t.content)&&!!n[t.content];case 8:return t.children.some((t=>g(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=de,e.injectProp=et,e.isBuiltInType=Ie,e.isCoreComponent=Me,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=De,e.isMemberExpressionBrowser=Ve,e.isMemberExpressionNode=Ae,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=Pe,e.isSlotOutlet=Ye,e.isStaticArgOf=Ke,e.isStaticExp=Ce,e.isStaticProperty=on,e.isStaticPropertyKey=(e,t)=>on(t)&&t.key===e,e.isTemplateNode=ze,e.isText=Je,e.isVSlot=Ge,e.locStub=me,e.makeBlock=ot,e.noopDirectiveTransform=Qn,e.parse=function(e,t={}){return ut(e,f({},fo,t))},e.parserOptions=fo,e.processExpression=rn,e.processFor=fn,e.processIf=cn,e.processSlotOutlet=$n,e.registerRuntimeHelpers=he,e.resolveComponentType=Cn,e.toValidAssetId=tt,e.trackSlotScopes=bn,e.trackVForSlotScopes=(e,t)=>{let n;if(ze(e)&&e.props.some(Ge)&&(n=He(e,"for"))){const e=n.parseResult=gn(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=Kt,e.transformBind=An,e.transformElement=kn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=rn(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=rn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=rn(n,t))}}},e.transformModel=Hn,e.transformOn=Vn,e.transformStyle=ho,e.traverseNode=Ut,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 nn(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 nn(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"===st(e,t))return;const{message:r,link:s}=rt[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)},Object.defineProperty(e,"__esModule",{value:!0}),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=/;(?![^(]*\))/g,o=/:(.+)/;const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,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"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=e=>p.test(e),f=Object.assign,d=Array.isArray,h=e=>"string"==typeof e,m=e=>"symbol"==typeof e,g=e=>null!==e&&"object"==typeof e,y=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v=t("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))},b=/-(\w)/g,E=S((e=>e.replace(b,((e,t)=>t?t.toUpperCase():"")))),N=/\B([A-Z])/g,_=S((e=>e.replace(N,"-$1").toLowerCase())),x=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=S((e=>e?`on${x(e)}`:""));function k(e){throw e}function O(e){}function C(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const I=Symbol(""),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(""),q=Symbol(""),Z=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={[I]:"Fragment",[M]:"Teleport",[R]:"Suspense",[P]:"KeepAlive",[w]:"BaseTransition",[$]:"openBlock",[L]:"createBlock",[V]:"createElementBlock",[A]:"createVNode",[D]:"createElementVNode",[B]:"createCommentVNode",[F]:"createTextVNode",[j]:"createStaticVNode",[H]:"resolveComponent",[W]:"resolveDynamicComponent",[K]:"resolveDirective",[U]:"resolveFilter",[J]:"withDirectives",[G]:"renderList",[z]:"renderSlot",[Y]:"createSlots",[q]:"toDisplayString",[Z]:"mergeProps",[X]:"normalizeClass",[Q]:"normalizeStyle",[ee]:"normalizeProps",[te]:"guardReactiveProps",[ne]:"toHandlers",[oe]:"camelize",[re]:"capitalize",[se]:"toHandlerKey",[ie]:"setBlockTracking",[ce]:"pushScopeId",[le]:"popScopeId",[ae]:"withCtx",[pe]:"unref",[ue]:"isRef",[fe]:"withMemo",[de]:"isMemoSame"};function me(e){Object.getOwnPropertySymbols(e).forEach((t=>{he[t]=e[t]}))}const ge={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ye(e,t=ge){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ve(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ge){return e&&(c?(e.helper($),e.helper(Xe(e.inSSR,a))):e.helper(Ze(e.inSSR,a)),i&&e.helper(J)),{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=ge){return{type:17,loc:t,elements:e}}function be(e,t=ge){return{type:15,loc:t,properties:e}}function Ee(e,t){return{type:16,loc:ge,key:h(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ge,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function _e(e,t=ge){return{type:8,loc:t,children:e}}function xe(e,t=[],n=ge){return{type:14,loc:n,callee:e,arguments:t}}function Te(e,t,n=!1,o=!1,r=ge){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ke(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ge}}function Oe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ge}}function Ce(e){return{type:21,body:e,loc:ge}}const Ie=e=>4===e.type&&e.isStatic,Me=(e,t)=>e===t||e===_(t);function Re(e){return Me(e,"Teleport")?M:Me(e,"Suspense")?R:Me(e,"KeepAlive")?P:Me(e,"BaseTransition")?w:void 0}const Pe=/^\d|[^\$\w]/,we=e=>!Pe.test(e),$e=/[A-Za-z_$\xA0-\uFFFF]/,Le=/[\.\?\w$\xA0-\uFFFF]/,Ve=/\s+[.[]\s*|\s*[.[]\s+/g,Ae=e=>{e=e.trim().replace(Ve,(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?$e:Le).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},De=l,Be=Ae;function Fe(e,t,n){const o={source:e.source.slice(t,t+n),start:je(e.start,e.source,t),end:e.end};return null!=n&&(o.end=je(e.start,e.source,t+n)),o}function je(e,t,n=t.length){return He(f({},e),t,n)}function He(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 We(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)&&(h(t)?r.name===t:t.test(r.name)))return r}}function Ke(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)&&Ue(s.arg,t))return s}}function Ue(e,t){return!(!e||!Ie(e)||e.content!==t)}function Je(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ge(e){return 5===e.type||2===e.type}function ze(e){return 7===e.type&&"slot"===e.name}function Ye(e){return 1===e.type&&3===e.tagType}function qe(e){return 1===e.type&&2===e.tagType}function Ze(e,t){return e||t?A:D}function Xe(e,t){return e||t?L:V}const Qe=new Set([ee,te]);function et(e,t=[]){if(e&&!h(e)&&14===e.type){const n=e.callee;if(!h(n)&&Qe.has(n))return et(e.arguments[0],t.concat(e))}return[e,t]}function tt(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!h(s)&&14===s.type){const e=et(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||h(s))o=be([t]);else if(14===s.type){const e=s.arguments[0];h(e)||15!==e.type?s.callee===ne?o=xe(n.helper(Z),[be([t]),s]):s.arguments.unshift(be([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=xe(n.helper(Z),[be([t]),s]),r&&r.callee===te&&(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 nt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ot(e){return 14===e.type&&e.callee===fe?e.arguments[1].returns:e}function rt(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Ze(o,e.isComponent)),t($),t(Xe(o,e.isComponent)))}const st={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 it(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ct(e,t){const n=it("MODE",t),o=it(e,t);return 3===n?!0===o:!1!==o}function lt(e,t,n,...o){return ct(e,t)}const at=/&(gt|lt|amp|apos|quot);/g,pt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ut={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(at,((e,t)=>pt[t])),onError:k,onWarn:O,comments:!1};function ft(e,t={}){const n=function(e,t){const n=f({},ut);let o;for(o in t)n[o]=void 0===t[o]?ut[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=kt(n);return ye(dt(n,0,[]),Ot(n,o))}function dt(e,t,n){const o=Ct(n),r=o?o.ns:0,s=[];for(;!wt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&It(i,e.options.delimiters[0]))c=_t(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=It(i,"\x3c!--")?gt(e):It(i,"<!DOCTYPE")?yt(e):It(i,"<![CDATA[")&&0!==r?mt(e,n):yt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Mt(e,3);continue}if(/[a-z]/i.test(i[2])){bt(e,1,o);continue}c=yt(e)}else/[a-z]/i.test(i[1])?(c=vt(e,n),ct("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&St(e.name)))&&(c=c.children)):"?"===i[1]&&(c=yt(e));if(c||(c=xt(e,t)),d(c))for(let e=0;e<c.length;e++)ht(s,c[e]);else ht(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(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);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||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}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 ht(e,t){if(2===t.type){const n=Ct(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 mt(e,t){Mt(e,9);const n=dt(e,3,t);return 0===e.source.length||Mt(e,3),n}function gt(e){const t=kt(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));)Mt(e,s-r+1),r=s+1;Mt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Mt(e,e.source.length);return{type:3,content:n,loc:Ot(e,t)}}function yt(e){const t=kt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Mt(e,e.source.length)):(o=e.source.slice(n,r),Mt(e,r+1)),{type:3,content:o,loc:Ot(e,t)}}function vt(e,t){const n=e.inPre,o=e.inVPre,r=Ct(t),s=bt(e,0,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=dt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&<("COMPILER_INLINE_TEMPLATE",e)){const n=Ot(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,$t(e.source,s.tag))bt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&It(e.loc.source,"\x3c!--")}return s.loc=Ot(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const St=t("if,else,else-if,for,slot");function bt(e,t,n){const o=kt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Mt(e,r[0].length),Rt(e);const c=kt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Et(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,f(e,c),e.source=l,a=Et(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=It(e.source,"/>"),Mt(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&&St(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)||Re(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(lt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ue(e.arg,"is")&<("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:Ot(e,o),codegenNode:void 0}}function Et(e,t){const n=[],o=new Set;for(;e.source.length>0&&!It(e.source,">")&&!It(e.source,"/>");){if(It(e.source,"/")){Mt(e,1),Rt(e);continue}const r=Nt(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),Rt(e)}return n}function Nt(e,t){const n=kt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Mt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Rt(e),Mt(e,1),Rt(e),r=function(e){const t=kt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Mt(e,1);const t=e.source.indexOf(o);-1===t?n=Tt(e,e.source.length,4):(n=Tt(e,t,4),Mt(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]););n=Tt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Ot(e,t)}}(e));const s=Ot(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=It(o,"."),l=t[1]||(c||It(o,":")?"bind":It(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Ot(e,Pt(e,n,s),Pt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a=a.endsWith("]")?a.slice(1,a.length-1):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=je(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")&<("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&&It(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function _t(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=kt(e);Mt(e,n.length);const i=kt(e),c=kt(e),l=r-n.length,a=e.source.slice(0,l),p=Tt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&He(i,a,f);return He(c,a,l-(p.length-u.length-f)),Mt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Ot(e,i,c)},loc:Ot(e,s)}}function xt(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=kt(e);return{type:2,content:Tt(e,o,t),loc:Ot(e,r)}}function Tt(e,t,n){const o=e.source.slice(0,t);return Mt(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function kt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Ot(e,t,n){return{start:t,end:n=n||kt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ct(e){return e[e.length-1]}function It(e,t){return e.startsWith(t)}function Mt(e,t){const{source:n}=e;He(e,n,t),e.source=n.slice(t)}function Rt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Mt(e,t[0].length)}function Pt(e,t,n){return je(t,e.originalSource.slice(t.offset,n),n)}function wt(e,t,n){const o=e.source;switch(t){case 0:if(It(o,"</"))for(let e=n.length-1;e>=0;--e)if($t(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ct(n);if(e&&$t(o,e.tag))return!0;break}case 3:if(It(o,"]]>"))return!0}return!o}function $t(e,t){return It(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Lt(e,t){At(e,t,Vt(e,e.children[0]))}function Vt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!qe(t)}function At(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:Dt(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=Wt(n);if((!o||512===o||1===o)&&jt(e,t)>=2){const o=Ht(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else 12===e.type&&Dt(e.content,t)>=2&&(e.codegenNode=t.hoist(e.codegenNode),s++);if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,At(e,t),n&&t.scopes.vSlot--}else if(11===e.type)At(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)At(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&&d(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Se(e.codegenNode.children)))}function Dt(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(Wt(r))return n.set(e,0),0;{let o=3;const s=jt(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=Dt(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=Dt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper($),t.removeHelper(Xe(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Ze(t.inSSR,r.isComponent))),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 Dt(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(h(o)||m(o))continue;const r=Dt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Bt=new Set([X,Q,ee,te]);function Ft(e,t){if(14===e.type&&!h(e.callee)&&Bt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Dt(n,t);if(14===n.type)return Ft(n,t)}return 0}function jt(e,t){let n=3;const o=Ht(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=Dt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Dt(s,t):14===s.type?Ft(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Ht(e){const t=e.codegenNode;if(13===t.type)return t.props}function Wt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Kt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=c,inline:b=!1,isTS:N=!1,onError:_=k,onWarn:T=O,compatConfig:C}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),M={selfName:I&&x(E(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:b,isTS:N,onError:_,onWarn:T,compatConfig:C,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=>`_${he[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){h(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)=>Oe(M.cached++,e,t)};return M.filters=new Set,M}function Ut(e,t){const n=Kt(e,t);Jt(e,n),t.hoistStatic&&Lt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Vt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&rt(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ve(t,n(I),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...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 Jt(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&&(d(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(B);break;case 5:t.ssr||t.helper(q);break;case 9:for(let n=0;n<e.branches.length;n++)Jt(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];h(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Jt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Gt(e,t){const n=h(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(ze))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 zt="/*#__PURE__*/";function Yt(e,t={}){const n=function(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=>`_${he[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}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${he[e]}: _${he[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[A,D,B,F,j].filter((t=>e.helpers.includes(t))).map(i).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} = `),Qt(s,t),o())}t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${he[e]}: _${he[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(qt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(qt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),qt(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?Qt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function qt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?U:"component"===t?H:K);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 ${nt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function Zt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Xt(e,t,n),n&&t.deindent(),t.push("]")}function Xt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];h(c)?r(c):d(c)?Zt(c,t):Qt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Qt(e,t){if(h(e))t.push(e);else if(m(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:Qt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:en(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(zt);n(`${o(q)}(`),Qt(e.content,t),n(")")}(e,t);break;case 8:tn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(zt);n(`${o(B)}(${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(J)+"(");u&&n(`(${o($)}(${f?"true":""}), `);r&&n(zt);const h=u?Xe(t.inSSR,d):Ze(t.inSSR,d);n(o(h)+"(",e),Xt(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(", "),Qt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=h(e.callee)?e.callee:o(e.callee);r&&n(zt);n(s+"(",e),Xt(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];nn(e,t),n(": "),Qt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Zt(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(`_${he[ae]}(`);n("(",e),d(s)?Xt(s,t):s&&Qt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),d(i)?Zt(i,t):Qt(i,t)):c&&Qt(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=!we(n.content);e&&i("("),en(n,t),e&&i(")")}else i("("),Qt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Qt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;Qt(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(ie)}(-1),`),i());n(`_cache[${e.index}] = `),Qt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ie)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Xt(e.body,t,!0,!1)}}function en(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function tn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];h(o)?t.push(o):Qt(o,t)}}function nn(e,t){const{push:n}=t;if(8===e.type)n("["),tn(e,t),n("]");else if(e.isStatic){n(we(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function on(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)on("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&on(e,t)}));break;case"RestElement":on(e.argument,t);break;case"AssignmentPattern":on(e.left,t)}return t}const rn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function sn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const cn=Gt(/^(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=pn(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=pn(t,i+e.branches.length-1,n)}}}))));function ln(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Ne("true",!1,t.exp?t.exp.loc:e.loc)}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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=an(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Jt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function an(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||We(e,"for")?[e]:e.children,userKey:Ke(e,"key")}}function pn(e,t,n){return e.condition?ke(e.condition,un(e,t,n),xe(n.helper(B),['""',"true"])):un(e,t,n)}function un(e,t,n){const{helper:o}=n,r=Ee("key",Ne(`${t}`,!1,ge,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 tt(e,r,n),e}{let t=64;return ve(n,o(I),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=ot(e);return 13===t.type&&rt(t,n),tt(t,r,n),e}}const fn=Gt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return dn(e,t,n,(t=>{const s=xe(o(G),[t.source]),i=Ye(e),c=We(e,"memo"),l=Ke(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?Ee("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=ve(n,o(I),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&&tt(l,p,n)):d?l=ve(n,o(I),p?be([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&tt(l,p,n),l.isBlock!==!u&&(l.isBlock?(r($),r(Xe(n.inSSR,l.isComponent))):r(Ze(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o($),o(Xe(n.inSSR,l.isComponent))):o(Ze(n.inSSR,l.isComponent))),c){const e=Te(Sn(t.parseResult,[Ne("_cached")]));e.body=Ce([_e(["const _memo = (",c.exp,")"]),_e(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(de)}(_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(Te(Sn(t.parseResult),l,!0))}}))}));function dn(e,t,n,o){if(!t.exp)return;const r=yn(t.exp);if(!r)return;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:Ye(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]*)/,mn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,gn=/^\(|\)$/g;function yn(e,t){const n=e.loc,o=e.content,r=o.match(hn);if(!r)return;const[,s,i]=r,c={source:vn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(gn,"").trim();const a=s.indexOf(l),p=l.match(mn);if(p){l=l.replace(mn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=vn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=vn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=vn(n,l,a)),c}function vn(e,t,n){return Ne(t,!1,Fe(e,n,t.length))}function Sn({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 bn=Ne("undefined",!1),En=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=We(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Nn=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function _n(e,t,n=Nn){t.helper(ae);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=We(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Ie(e)&&(c=!0),s.push(Ee(e||Ne("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Ye(e)||!(r=We(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=Ne("default",!0),exp:y}=r;let v;Ie(g)?v=g?g.content:"default":c=!0;const S=n(y,d,h);let b,E,N;if(b=We(e,"if"))c=!0,i.push(ke(b.exp,xn(g,S),bn));else if(E=We(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Ye(e)&&We(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?ke(E.exp,xn(g,S),bn):xn(g,S)}}else if(N=We(e,"for")){c=!0;const e=N.parseResult||yn(N.exp);e&&i.push(xe(t.helper(G),[e.source,Te(Sn(e),xn(g,S),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(Ee(g,S))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Ee("default",s)};a?u.length&&u.some((e=>kn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Tn(e.children)?3:1;let h=be(s.concat(Ee("_",Ne(d+"",!1))),r);return i.length&&(h=xe(t.helper(Y),[h,Se(i)])),{slots:h,hasDynamicSlots:c}}function xn(e,t){return be([Ee("name",e),Ee("fn",t)])}function Tn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Tn(n.children))return!0;break;case 9:if(Tn(n.branches))return!0;break;case 10:case 11:if(Tn(n.children))return!0}}return!1}function kn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():kn(e.content))}const On=new WeakMap,Cn=(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?In(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=g(s)&&s.callee===W||s===M||s===R||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=Mn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Se(o.map((e=>wn(e,t)))):void 0,n.shouldUseBlock&&(d=!0)}if(e.children.length>0){s===P&&(d=!0,f|=1024);if(r&&s!==M&&s!==P){const{slots:n,hasDynamicSlots:o}=_n(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==M){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Dt(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=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+"]"}(p))),e.codegenNode=ve(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function In(e,t,n=!1){let{tag:o}=e;const r=$n(o),s=Ke(e,"is");if(s)if(r||ct("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return xe(t.helper(W),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&We(e,"is");if(i&&i.exp)return xe(t.helper(W),[i.exp]);const c=Re(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(H),t.components.add(o),nt(o,"component"))}function Mn(e,t,n=e.props,o=!1){const{tag:r,loc:s,children:i}=e,c=1===e.tagType;let l=[];const a=[],p=[],f=i.length>0;let d=!1,h=0,g=!1,S=!1,b=!1,E=!1,N=!1,_=!1;const x=[],T=({key:e,value:n})=>{if(Ie(e)){const o=e.content,r=u(o);if(c||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||y(o)||(E=!0),r&&y(o)&&(_=!0),20===n.type||(4===n.type||8===n.type)&&Dt(n,t)>0)return;"ref"===o?g=!0:"class"===o?S=!0:"style"===o?b=!0:"key"===o||x.includes(o)||x.push(o),!c||"class"!==o&&"style"!==o||x.includes(o)||x.push(o)}else N=!0};for(let u=0;u<n.length;u++){const i=n[u];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(g=!0,t.scopes.vFor>0&&l.push(Ee(Ne("ref_for",!0),Ne("true")))),"is"===n&&($n(r)||o&&o.content.startsWith("vue:")||ct("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(Ee(Ne(n,!0,Fe(e,0,n.length)),Ne(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:c,exp:u,loc:h}=i,g="bind"===n,y="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Ue(c,"is")&&($n(r)||ct("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&o)continue;if((g&&Ue(c,"key")||y&&f&&Ue(c,"vue:before-update"))&&(d=!0),g&&Ue(c,"ref")&&t.scopes.vFor>0&&l.push(Ee(Ne("ref_for",!0),Ne("true"))),!c&&(g||y)){if(N=!0,u)if(l.length&&(a.push(be(Rn(l),s)),l=[]),g){if(ct("COMPILER_V_BIND_OBJECT_ORDER",t)){a.unshift(u);continue}a.push(u)}else a.push({type:14,loc:h,callee:t.helper(ne),arguments:[u]});continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:r}=S(i,e,t);!o&&n.forEach(T),l.push(...n),r&&(p.push(i),m(r)&&On.set(i,r))}else v(n)||(p.push(i),f&&(d=!0))}}let k;if(a.length?(l.length&&a.push(be(Rn(l),s)),k=a.length>1?xe(t.helper(Z),a,s):a[0]):l.length&&(k=be(Rn(l),s)),N?h|=16:(S&&!c&&(h|=2),b&&!c&&(h|=4),x.length&&(h|=8),E&&(h|=32)),d||0!==h&&32!==h||!(g||_||p.length>0)||(h|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<k.properties.length;t++){const r=k.properties[t].key;Ie(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=k.properties[e],s=k.properties[n];o?k=xe(t.helper(ee),[k]):(r&&!Ie(r.value)&&(r.value=xe(t.helper(X),[r.value])),!s||Ie(s.value)||!b&&17!==s.value.type||(s.value=xe(t.helper(Q),[s.value])));break;case 14:break;default:k=xe(t.helper(ee),[xe(t.helper(te),[k])])}return{props:k,directives:p,patchFlag:h,dynamicPropNames:x,shouldUseBlock:d}}function Rn(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||u(s))&&Pn(i,r):(t.set(s,r),n.push(r))}return n}function Pn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Se([e.value,t.value],e.loc)}function wn(e,t){const n=[],o=On.get(e);o?n.push(t.helperString(o)):(t.helper(K),t.directives.add(e.name),n.push(nt(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(be(e.modifiers.map((e=>Ee(e,t))),r))}return Se(n,e.loc)}function $n(e){return"component"===e||"Component"===e}const Ln=(e,t)=>{if(qe(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Vn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=Te([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=xe(t.helper(z),i,o)}};function Vn(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=E(t.name),r.push(t))):"bind"===t.name&&Ue(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Ie(t.arg)&&(t.arg.content=E(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Mn(e,t,r);n=o}return{slotName:o,slotProps:n}}const An=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Dn=(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(T(E(e)),!0,i.loc)}else c=_e([`${n.helperString(se)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(se)}(`),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=Be(l.content),t=!(e||An.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Ee(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},Bn=(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?E(i.content):`${n.helperString(oe)}(${i.content})`:(i.children.unshift(`${n.helperString(oe)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Fn(i,"."),r.includes("attr")&&Fn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Ee(i,Ne("",!0,s))]}:{props:[Ee(i,o)]}},Fn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},jn=(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(Ge(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ge(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),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(Ge(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Dt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:xe(t.helper(F),r)}}}}},Hn=new WeakSet,Wn=(e,t)=>{if(1===e.type&&We(e,"once",!0)){if(Hn.has(e)||t.inVOnce)return;return Hn.add(e),t.inVOnce=!0,t.helper(ie),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Kn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Un();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Be(i))return Un();const c=r||Ne("modelValue",!0),l=r?Ie(r)?`onUpdate:${r.content}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=_e([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[Ee(c,e.exp),Ee(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(we(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Ie(r)?`${r.content}Modifiers`:_e([r,' + "Modifiers"']):"modelModifiers";p.push(Ee(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return Un(p)};function Un(e=[]){return{props:e}}const Jn=/[\w).+\-_$\]]/,Gn=(e,t)=>{ct("COMPILER_FILTER",t)&&(5===e.type&&zn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&zn(e.exp,t)})))};function zn(e,t){if(4===e.type)Yn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Yn(o,t):8===o.type?zn(e,t):5===o.type&&zn(o.content,t))}}function Yn(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&&Jn.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=qn(i,m[s],t);e.content=i}}function qn(e,t,n){n.helper(U);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${nt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${nt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Zn=new WeakSet,Xn=(e,t)=>{if(1===e.type){const n=We(e,"memo");if(!n||Zn.has(e))return;return Zn.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&rt(o,t),e.codegenNode=xe(t.helper(fe),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function Qn(e){return[[Wn,cn,Xn,fn,Gn,Ln,Cn,En,jn],{on:Dn,bind:Bn,model:Kn}]}function eo(e,t={}){const n=t.onError||k,o="module"===t.mode;!0===t.prefixIdentifiers?n(C(46)):o&&n(C(47));t.cacheHandlers&&n(C(48)),t.scopeId&&!o&&n(C(49));const r=h(e)?ft(e,t):e,[s,i]=Qn();return Ut(r,f({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:f({},i,t.directiveTransforms||{})})),Yt(r,f({},t,{prefixIdentifiers:false}))}const to=()=>({props:[]}),no=Symbol(""),oo=Symbol(""),ro=Symbol(""),so=Symbol(""),io=Symbol(""),co=Symbol(""),lo=Symbol(""),ao=Symbol(""),po=Symbol(""),uo=Symbol("");let fo;me({[no]:"vModelRadio",[oo]:"vModelCheckbox",[ro]:"vModelText",[so]:"vModelSelect",[io]:"vModelDynamic",[co]:"withModifiers",[lo]:"withKeys",[ao]:"vShow",[po]:"Transition",[uo]:"TransitionGroup"});const ho=t("style,iframe,script,noscript",!0),mo={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return fo||(fo=document.createElement("div")),t?(fo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,fo.children[0].getAttribute("foo")):(fo.innerHTML=e,fo.textContent)},isBuiltInComponent:e=>Me(e,"Transition")?po:Me(e,"TransitionGroup")?uo: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(ho(e))return 2}return 0}},go=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:yo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},yo=(e,t)=>{const r=function(e){const t={};return e.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(r),!1,t,3)};function vo(e,t){return C(e,t)}const So=t("passive,once,capture"),bo=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Eo=t("left,right"),No=t("onkeyup,onkeydown,onkeypress",!0),_o=(e,t)=>Ie(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,xo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},To=[go],ko={cloak:to,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Ee(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Ee(Ne("textContent",!0),o?xe(n.helperString(q),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=Kn(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=ro,i=!1;if("input"===r||s){const n=Ke(t,"type");if(n){if(7===n.type)e=io;else if(n.value)switch(n.value.content){case"radio":e=no;break;case"checkbox":e=oo;break;case"file":i=!0}}else Je(t)&&(e=io)}else"select"===r&&(e=so);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Dn(e,0,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&<("COMPILER_V_ON_NATIVE",n)||So(o)?i.push(o):Eo(o)?Ie(e)?No(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):bo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=_o(r,"onContextmenu")),c.includes("middle")&&(r=_o(r,"onMouseup")),c.length&&(s=xe(n.helper(co),[s,JSON.stringify(c)])),!i.length||Ie(r)&&!No(r.content)||(s=xe(n.helper(lo),[s,JSON.stringify(i)])),l.length){const e=l.map(x).join("");r=Ie(r)?Ne(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[Ee(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(ao)})};return e.BASE_TRANSITION=w,e.CAMELIZE=oe,e.CAPITALIZE=re,e.CREATE_BLOCK=L,e.CREATE_COMMENT=B,e.CREATE_ELEMENT_BLOCK=V,e.CREATE_ELEMENT_VNODE=D,e.CREATE_SLOTS=Y,e.CREATE_STATIC=j,e.CREATE_TEXT=F,e.CREATE_VNODE=A,e.DOMDirectiveTransforms=ko,e.DOMNodeTransforms=To,e.FRAGMENT=I,e.GUARD_REACTIVE_PROPS=te,e.IS_MEMO_SAME=de,e.IS_REF=ue,e.KEEP_ALIVE=P,e.MERGE_PROPS=Z,e.NORMALIZE_CLASS=X,e.NORMALIZE_PROPS=ee,e.NORMALIZE_STYLE=Q,e.OPEN_BLOCK=$,e.POP_SCOPE_ID=le,e.PUSH_SCOPE_ID=ce,e.RENDER_LIST=G,e.RENDER_SLOT=z,e.RESOLVE_COMPONENT=H,e.RESOLVE_DIRECTIVE=K,e.RESOLVE_DYNAMIC_COMPONENT=W,e.RESOLVE_FILTER=U,e.SET_BLOCK_TRACKING=ie,e.SUSPENSE=R,e.TELEPORT=M,e.TO_DISPLAY_STRING=q,e.TO_HANDLERS=ne,e.TO_HANDLER_KEY=se,e.TRANSITION=po,e.TRANSITION_GROUP=uo,e.UNREF=pe,e.V_MODEL_CHECKBOX=oo,e.V_MODEL_DYNAMIC=io,e.V_MODEL_RADIO=no,e.V_MODEL_SELECT=so,e.V_MODEL_TEXT=ro,e.V_ON_WITH_KEYS=lo,e.V_ON_WITH_MODIFIERS=co,e.V_SHOW=ao,e.WITH_CTX=ae,e.WITH_DIRECTIVES=J,e.WITH_MEMO=fe,e.advancePositionWithClone=je,e.advancePositionWithMutation=He,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=eo,e.baseParse=ft,e.buildDirectiveArgs=wn,e.buildProps=Mn,e.buildSlots=_n,e.checkCompatEnabled=lt,e.compile=function(e,t={}){return eo(e,f({},mo,t,{nodeTransforms:[xo,...To,...t.nodeTransforms||[]],directiveTransforms:f({},ko,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=Se,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ge}},e.createBlockStatement=Ce,e.createCacheExpression=Oe,e.createCallExpression=xe,e.createCompilerError=C,e.createCompoundExpression=_e,e.createConditionalExpression=ke,e.createDOMCompilerError=vo,e.createForLoopParams=Sn,e.createFunctionExpression=Te,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ge}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:h(e)?Ne(e,!1,t):e}},e.createObjectExpression=be,e.createObjectProperty=Ee,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ge}},e.createRoot=ye,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ge}},e.createSimpleExpression=Ne,e.createStructuralDirectiveTransform=Gt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ge}},e.createTransformContext=Kt,e.createVNodeCall=ve,e.extractIdentifiers=on,e.findDir=We,e.findProp=Ke,e.generate=Yt,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=Qn,e.getInnerRange=Fe,e.getMemoedVNodeCall=ot,e.getVNodeBlockHelper=Xe,e.getVNodeHelper=Ze,e.hasDynamicKeyVBind=Je,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&&we(t.content)&&!!n[t.content];case 8:return t.children.some((t=>g(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=he,e.injectProp=tt,e.isBuiltInType=Me,e.isCoreComponent=Re,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=Be,e.isMemberExpressionBrowser=Ae,e.isMemberExpressionNode=De,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=we,e.isSlotOutlet=qe,e.isStaticArgOf=Ue,e.isStaticExp=Ie,e.isStaticProperty=rn,e.isStaticPropertyKey=(e,t)=>rn(t)&&t.key===e,e.isTemplateNode=Ye,e.isText=Ge,e.isVSlot=ze,e.locStub=ge,e.makeBlock=rt,e.noopDirectiveTransform=to,e.parse=function(e,t={}){return ft(e,f({},mo,t))},e.parserOptions=mo,e.processExpression=sn,e.processFor=dn,e.processIf=ln,e.processSlotOutlet=Vn,e.registerRuntimeHelpers=me,e.resolveComponentType=In,e.toValidAssetId=nt,e.trackSlotScopes=En,e.trackVForSlotScopes=(e,t)=>{let n;if(Ye(e)&&e.props.some(ze)&&(n=We(e,"for"))){const e=n.parseResult=yn(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=Ut,e.transformBind=Bn,e.transformElement=Cn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=sn(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=sn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=sn(n,t))}}},e.transformModel=Kn,e.transformOn=Dn,e.transformStyle=go,e.traverseNode=Jt,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 on(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 on(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"===it(e,t))return;const{message:r,link:s}=st[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)},Object.defineProperty(e,"__esModule",{value:!0}),e}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/compiler-dom",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.30",
|
|
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.2.
|
|
41
|
-
"@vue/compiler-core": "3.2.
|
|
40
|
+
"@vue/shared": "3.2.30",
|
|
41
|
+
"@vue/compiler-core": "3.2.30"
|
|
42
42
|
}
|
|
43
43
|
}
|