@vue/compiler-dom 3.2.2 → 3.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -820,7 +820,10 @@ function injectProp(node, prop, context) {
820
820
  }
821
821
  }
822
822
  function toValidAssetId(name, type) {
823
- return `_${type}_${name.replace(/[^\w]/g, '_')}`;
823
+ // see issue#4422, we need adding identifier on validAssetId if variable `name` has specific character
824
+ return `_${type}_${name.replace(/[^\w]/g, (searchValue, replaceValue) => {
825
+ return searchValue === '-' ? '_' : name.charCodeAt(replaceValue).toString();
826
+ })}`;
824
827
  }
825
828
  // Check if a node contains expressions that reference current context scope ids
826
829
  function hasScopeRef(node, ids) {
@@ -2035,16 +2038,19 @@ function getGeneratedPropsConstantType(node, context) {
2035
2038
  if (keyType < returnType) {
2036
2039
  returnType = keyType;
2037
2040
  }
2038
- if (value.type !== 4 /* SIMPLE_EXPRESSION */) {
2041
+ let valueType;
2042
+ if (value.type === 4 /* SIMPLE_EXPRESSION */) {
2043
+ valueType = getConstantType(value, context);
2044
+ }
2045
+ else if (value.type === 14 /* JS_CALL_EXPRESSION */) {
2039
2046
  // some helper calls can be hoisted,
2040
2047
  // such as the `normalizeProps` generated by the compiler for pre-normalize class,
2041
2048
  // in this case we need to respect the ConstanType of the helper's argments
2042
- if (value.type === 14 /* JS_CALL_EXPRESSION */) {
2043
- return getConstantTypeOfHelperCall(value, context);
2044
- }
2045
- return 0 /* NOT_CONSTANT */;
2049
+ valueType = getConstantTypeOfHelperCall(value, context);
2050
+ }
2051
+ else {
2052
+ valueType = 0 /* NOT_CONSTANT */;
2046
2053
  }
2047
- const valueType = getConstantType(value, context);
2048
2054
  if (valueType === 0 /* NOT_CONSTANT */) {
2049
2055
  return valueType;
2050
2056
  }
@@ -2909,6 +2915,103 @@ function genCacheExpression(node, context) {
2909
2915
  push(`)`);
2910
2916
  }
2911
2917
 
2918
+ function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = Object.create(null)) {
2919
+ {
2920
+ return;
2921
+ }
2922
+ }
2923
+ function isReferencedIdentifier(id, parent, parentStack) {
2924
+ {
2925
+ return false;
2926
+ }
2927
+ }
2928
+ function isInDestructureAssignment(parent, parentStack) {
2929
+ if (parent &&
2930
+ (parent.type === 'ObjectProperty' || parent.type === 'ArrayPattern')) {
2931
+ let i = parentStack.length;
2932
+ while (i--) {
2933
+ const p = parentStack[i];
2934
+ if (p.type === 'AssignmentExpression') {
2935
+ return true;
2936
+ }
2937
+ else if (p.type !== 'ObjectProperty' && !p.type.endsWith('Pattern')) {
2938
+ break;
2939
+ }
2940
+ }
2941
+ }
2942
+ return false;
2943
+ }
2944
+ function walkFunctionParams(node, onIdent) {
2945
+ for (const p of node.params) {
2946
+ for (const id of extractIdentifiers(p)) {
2947
+ onIdent(id);
2948
+ }
2949
+ }
2950
+ }
2951
+ function walkBlockDeclarations(block, onIdent) {
2952
+ for (const stmt of block.body) {
2953
+ if (stmt.type === 'VariableDeclaration') {
2954
+ if (stmt.declare)
2955
+ continue;
2956
+ for (const decl of stmt.declarations) {
2957
+ for (const id of extractIdentifiers(decl.id)) {
2958
+ onIdent(id);
2959
+ }
2960
+ }
2961
+ }
2962
+ else if (stmt.type === 'FunctionDeclaration' ||
2963
+ stmt.type === 'ClassDeclaration') {
2964
+ if (stmt.declare || !stmt.id)
2965
+ continue;
2966
+ onIdent(stmt.id);
2967
+ }
2968
+ }
2969
+ }
2970
+ function extractIdentifiers(param, nodes = []) {
2971
+ switch (param.type) {
2972
+ case 'Identifier':
2973
+ nodes.push(param);
2974
+ break;
2975
+ case 'MemberExpression':
2976
+ let object = param;
2977
+ while (object.type === 'MemberExpression') {
2978
+ object = object.object;
2979
+ }
2980
+ nodes.push(object);
2981
+ break;
2982
+ case 'ObjectPattern':
2983
+ for (const prop of param.properties) {
2984
+ if (prop.type === 'RestElement') {
2985
+ extractIdentifiers(prop.argument, nodes);
2986
+ }
2987
+ else {
2988
+ extractIdentifiers(prop.value, nodes);
2989
+ }
2990
+ }
2991
+ break;
2992
+ case 'ArrayPattern':
2993
+ param.elements.forEach(element => {
2994
+ if (element)
2995
+ extractIdentifiers(element, nodes);
2996
+ });
2997
+ break;
2998
+ case 'RestElement':
2999
+ extractIdentifiers(param.argument, nodes);
3000
+ break;
3001
+ case 'AssignmentPattern':
3002
+ extractIdentifiers(param.left, nodes);
3003
+ break;
3004
+ }
3005
+ return nodes;
3006
+ }
3007
+ const isFunctionType = (node) => {
3008
+ return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
3009
+ };
3010
+ const isStaticProperty = (node) => node &&
3011
+ (node.type === 'ObjectProperty' || node.type === 'ObjectMethod') &&
3012
+ !node.computed;
3013
+ const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
3014
+
2912
3015
  // these keywords should not appear inside expressions, but operators like
2913
3016
  // typeof, instanceof and in are allowed
2914
3017
  const prohibitedKeywordRE = new RegExp('\\b' +
@@ -4127,7 +4230,10 @@ function buildProps(node, context, props = node.props, ssr = false) {
4127
4230
  !isStaticExp(styleProp.value) &&
4128
4231
  // the static style is compiled into an object,
4129
4232
  // so use `hasStyleBinding` to ensure that it is a dynamic style binding
4130
- hasStyleBinding) {
4233
+ (hasStyleBinding ||
4234
+ // v-bind:style and style both exist,
4235
+ // v-bind:style with static literal object
4236
+ styleProp.value.type === 17 /* JS_ARRAY_EXPRESSION */)) {
4131
4237
  styleProp.value = createCallExpression(context.helper(NORMALIZE_STYLE), [styleProp.value]);
4132
4238
  }
4133
4239
  }
@@ -5323,4 +5429,4 @@ function parse(template, options = {}) {
5323
5429
  return baseParse(template, extend({}, parserOptions, options));
5324
5430
  }
5325
5431
 
5326
- 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, WITH_SCOPE_ID, 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, findDir, findProp, generate, generateCodeFrame, getBaseTransformPreset, getInnerRange, getMemoedVNodeCall, getVNodeBlockHelper, getVNodeHelper, hasDynamicKeyVBind, hasScopeRef, helperNameMap, injectProp, isBindKey, isBuiltInType, isCoreComponent, isMemberExpression, isSimpleIdentifier, isSlotOutlet, isStaticExp, 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, warnDeprecation };
5432
+ 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, WITH_SCOPE_ID, 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, isBindKey, isBuiltInType, isCoreComponent, isFunctionType, isInDestructureAssignment, isMemberExpression, isReferencedIdentifier, isSimpleIdentifier, isSlotOutlet, 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=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,b=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),S=/\B([A-Z])/g,x=y((e=>e.replace(S,"-$1").toLowerCase())),N=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),k=y((e=>e?`on${N(e)}`:""));function _(e){throw e}function T(e){}function E(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const w=Symbol(""),C=Symbol(""),$=Symbol(""),O=Symbol(""),I=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),B=Symbol(""),F=Symbol(""),A=Symbol(""),j=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=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",[C]:"Teleport",[$]:"Suspense",[O]:"KeepAlive",[I]:"BaseTransition",[M]:"openBlock",[P]:"createBlock",[R]:"createElementBlock",[V]:"createVNode",[L]:"createElementVNode",[B]:"createCommentVNode",[F]:"createTextVNode",[A]:"createStaticVNode",[j]:"resolveComponent",[D]:"resolveDynamicComponent",[H]:"resolveDirective",[W]:"resolveFilter",[J]:"withDirectives",[U]:"renderList",[z]:"renderSlot",[G]:"createSlots",[K]:"toDisplayString",[q]:"mergeProps",[Y]:"normalizeClass",[Z]:"normalizeStyle",[Q]:"normalizeProps",[X]:"guardReactiveProps",[ee]:"toHandlers",[te]:"camelize",[ne]:"capitalize",[oe]:"toHandlerKey",[re]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[ce]:"withScopeId",[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(M),e.helper(nt(e.inSSR,a))):e.helper(tt(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:d(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 Ne(e,t){return{type:5,loc:t,content:d(e)?xe(e,!1,t):e}}function ke(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 we(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:me}}function Ce(e){return{type:21,body:e,loc:me}}function $e(e){return{type:22,elements:e,loc:me}}function Oe(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}}function Ie(e,t){return{type:24,left:e,right:t,loc:me}}function Me(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===x(t);function Le(e){return Ve(e,"Teleport")?C:Ve(e,"Suspense")?$:Ve(e,"KeepAlive")?O:Ve(e,"BaseTransition")?I:void 0}const Be=/^\d|[^\$\w]/,Fe=e=>!Be.test(e),Ae=/[A-Za-z_$\xA0-\uFFFF]/,je=/[\.\?\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:je).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};function We(e,t,n){const o={source:e.source.substr(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 Ue(u({},e),t,n)}function Ue(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function ze(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ge(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(d(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)&&qe(s.arg,t))return s}}function qe(e,t){return!(!e||!Re(e)||e.content!==t)}function Ye(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ze(e){return 5===e.type||2===e.type}function Qe(e){return 7===e.type&&"slot"===e.name}function Xe(e){return 1===e.type&&3===e.tagType}function et(e){return 1===e.type&&2===e.tagType}function tt(e,t){return e||t?V:L}function nt(e,t){return e||t?P:R}const ot=new Set([Q,X]);function rt(e,t=[]){if(e&&!d(e)&&14===e.type){const n=e.callee;if(!d(n)&&ot.has(n))return rt(e.arguments[0],t.concat(e))}return[e,t]}function st(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!d(s)&&14===s.type){const e=rt(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||d(s))o=be([t]);else if(14===s.type){const e=s.arguments[0];d(e)||15!==e.type?s.callee===ee?o=_e(n.helper(q),[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(q),[be([t]),s]),r&&r.callee===X&&(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 it(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function ct(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&&(ct(o.arg,t)||ct(o.exp,t)))return!0}return e.children.some((e=>ct(e,t)));case 11:return!!ct(e.source,t)||e.children.some((e=>ct(e,t)));case 9:return e.branches.some((e=>ct(e,t)));case 10:return!!ct(e.condition,t)||e.children.some((e=>ct(e,t)));case 4:return!e.isStatic&&Fe(e.content)&&!!t[e.content];case 8:return e.children.some((e=>m(e)&&ct(e,t)));case 5:case 12:return ct(e.content,t);case 2:case 3:default:return!1}}function lt(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function at(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(tt(o,e.isComponent)),t(M),t(nt(o,e.isComponent)))}const pt={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_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.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 ut(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ft(e,t){const n=ut("MODE",t),o=ut(e,t);return 3===n?!0===o:!1!==o}function dt(e,t,n,...o){return ft(e,t)}function ht(e,t,n,...o){if("suppress-warning"===ut(e,t))return;const{message:r,link:s}=pt[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 mt=/&(gt|lt|amp|apos|quot);/g,gt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},yt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(mt,((e,t)=>gt[t])),onError:_,onWarn:T,comments:!1};function vt(e,t={}){const n=function(e,t){const n=u({},yt);let o;for(o in t)n[o]=void 0===t[o]?yt[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=Mt(n);return ge(bt(n,0,[]),Pt(n,o))}function bt(e,t,n){const o=Rt(n),r=o?o.ns:0,s=[];for(;!At(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Vt(i,e.options.delimiters[0]))c=$t(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Vt(i,"\x3c!--")?Nt(e):Vt(i,"<!DOCTYPE")?kt(e):Vt(i,"<![CDATA[")&&0!==r?xt(e,n):kt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Lt(e,3);continue}if(/[a-z]/i.test(i[2])){Et(e,1,o);continue}c=kt(e)}else/[a-z]/i.test(i[1])?(c=_t(e,n),ft("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&Tt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=kt(e));if(c||(c=Ot(e,t)),f(c))for(let e=0;e<c.length;e++)St(s,c[e]);else St(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 St(e,t){if(2===t.type){const n=Rt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function xt(e,t){Lt(e,9);const n=bt(e,3,t);return 0===e.source.length||Lt(e,3),n}function Nt(e){const t=Mt(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));)Lt(e,s-r+1),r=s+1;Lt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Lt(e,e.source.length);return{type:3,content:n,loc:Pt(e,t)}}function kt(e){const t=Mt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Lt(e,e.source.length)):(o=e.source.slice(n,r),Lt(e,r+1)),{type:3,content:o,loc:Pt(e,t)}}function _t(e,t){const n=e.inPre,o=e.inVPre,r=Rt(t),s=Et(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=bt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&dt("COMPILER_INLINE_TEMPLATE",e)){const n=Pt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,jt(e.source,s.tag))Et(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Vt(e.loc.source,"\x3c!--")}return s.loc=Pt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Tt=e("if,else,else-if,for,slot");function Et(e,t,n){const o=Mt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Lt(e,r[0].length),Bt(e);const c=Mt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=wt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=wt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Vt(e.source,"/>"),Lt(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?a.some((e=>7===e.type&&Tt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Le(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(dt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&qe(e.arg,"is")&&dt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:Pt(e,o),codegenNode:void 0}}function wt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Vt(e.source,">")&&!Vt(e.source,"/>");){if(Vt(e.source,"/")){Lt(e,1),Bt(e);continue}const r=Ct(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Bt(e)}return n}function Ct(e,t){const n=Mt(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;Lt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Bt(e),Lt(e,1),Bt(e),r=function(e){const t=Mt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Lt(e,1);const t=e.source.indexOf(o);-1===t?n=It(e,e.source.length,4):(n=It(e,t,4),Lt(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=It(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Pt(e,t)}}(e));const s=Pt(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Vt(o,"."),l=t[1]||(c||Vt(o,":")?"bind":Vt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Pt(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.endsWith("]"),a=a.substr(1,a.length-2)):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].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&dt("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{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=Mt(e);Lt(e,n.length);const i=Mt(e),c=Mt(e),l=r-n.length,a=e.source.slice(0,l),p=It(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ue(i,a,f);return Ue(c,a,l-(p.length-u.length-f)),Lt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Pt(e,i,c)},loc:Pt(e,s)}}function Ot(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");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=Mt(e);return{type:2,content:It(e,o,t),loc:Pt(e,r)}}function It(e,t,n){const o=e.source.slice(0,t);return Lt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Mt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Pt(e,t,n){return{start:t,end:n=n||Mt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Rt(e){return e[e.length-1]}function Vt(e,t){return e.startsWith(t)}function Lt(e,t){const{source:n}=e;Ue(e,n,t),e.source=n.slice(t)}function Bt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Lt(e,t[0].length)}function Ft(e,t,n){return Je(t,e.originalSource.slice(t.offset,n),n)}function At(e,t,n){const o=e.source;switch(t){case 0:if(Vt(o,"</"))for(let e=n.length-1;e>=0;--e)if(jt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Rt(n);if(e&&jt(o,e.tag))return!0;break}case 3:if(Vt(o,"]]>"))return!0}return!o}function jt(e,t){return Vt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Dt(e,t){Wt(e,t,Ht(e,e.children[0]))}function Ht(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!et(t)}function Wt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:Jt(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=qt(n);if((!o||512===o||1===o)&&Gt(e,t)>=2){const o=Kt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=Jt(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Wt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Wt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Wt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&f(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function Jt(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(qt(r))return n.set(e,0),0;{let o=3;const s=Gt(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=Jt(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=Jt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(M),t.removeHelper(nt(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(tt(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Jt(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(d(o)||h(o))continue;const r=Jt(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Ut=new Set([Y,Z,Q,X]);function zt(e,t){if(14===e.type&&!d(e.callee)&&Ut.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Jt(n,t);if(14===n.type)return zt(n,t)}return 0}function Gt(e,t){let n=3;const o=Kt(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=Jt(r,t);if(0===i)return i;if(i<n&&(n=i),4!==s.type)return 14===s.type?zt(s,t):0;const c=Jt(s,t);if(0===c)return c;c<n&&(n=c)}}return n}function Kt(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 Yt(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:h=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=c,inline:x=!1,isTS:k=!1,onError:E=_,onWarn:w=T,compatConfig:C}){const $=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),O={selfName:$&&N(b($[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:h,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:x,isTS:k,onError:E,onWarn:w,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=O.helpers.get(e)||0;return O.helpers.set(e,t+1),e},removeHelper(e){const t=O.helpers.get(e);if(t){const n=t-1;n?O.helpers.set(e,n):O.helpers.delete(e)}},helperString:e=>`_${de[O.helper(e)]}`,replaceNode(e){O.parent.children[O.childIndex]=O.currentNode=e},removeNode(e){const t=e?O.parent.children.indexOf(e):O.currentNode?O.childIndex:-1;e&&e!==O.currentNode?O.childIndex>t&&(O.childIndex--,O.onNodeRemoved()):(O.currentNode=null,O.onNodeRemoved()),O.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){d(e)&&(e=xe(e)),O.hoists.push(e);const t=xe(`_hoisted_${O.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>we(O.cached++,e,t)};return O.filters=new Set,O}function Zt(e,t){const n=Yt(e,t);Qt(e,n),t.hoistStatic&&Dt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Ht(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&at(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 Qt(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&&(f(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(K);break;case 9:for(let n=0;n<e.branches.length;n++)Qt(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];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Qt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Xt(e,t){const n=d(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(Qe))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 en(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",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,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){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(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,L,B,F,A].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(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),rn(e,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&&(tn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(tn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),tn(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?rn(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 tn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?j:H);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 ${it(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function nn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),on(e,t,n),n&&t.deindent(),t.push("]")}function on(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?nn(c,t):rn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function rn(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:rn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:sn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(K)}(`),rn(e.content,t),n(")")}(e,t);break;case 12:rn(e.codegenNode,t);break;case 8:cn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");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(M)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?nt(t.inSSR,d):tt(t.inSSR,d);n(o(h)+"(",e),on(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(", "),rn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),on(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];ln(e,t),n(": "),rn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){nn(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),f(s)?on(s,t):s&&rn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?nn(i,t):rn(i,t)):c&&rn(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Fe(n.content);e&&i("("),sn(n,t),e&&i(")")}else i("("),rn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),rn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;rn(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(re)}(-1),`),i());n(`_cache[${e.index}] = `),rn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(re)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:on(e.body,t,!0,!1)}}function sn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function cn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):rn(o,t)}}function ln(e,t){const{push:n}=t;if(8===e.type)n("["),cn(e,t),n("]");else if(e.isStatic){n(Fe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const an=(e,t)=>{if(5===e.type)e.content=pn(e.content);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=pn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=pn(n))}}};function pn(e,t,n=!1,o=!1){return e}const un=Xt(/^(if|else|else-if)$/,((e,t,n)=>fn(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=hn(t,i,n);else{(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)).alternate=hn(t,i+e.branches.length-1,n)}}}))));function fn(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=dn(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=dn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Qt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function dn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ge(e,"for")?[e]:e.children,userKey:Ke(e,"key")}}function hn(e,t,n){return e.condition?Ee(e.condition,mn(e,t,n),_e(n.helper(B),['""',"true"])):mn(e,t,n)}function mn(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 st(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=lt(e);return 13===t.type&&at(t,n),st(t,r,n),e}}const gn=Xt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return yn(e,t,n,(t=>{const s=_e(o(U),[t.source]),i=Ge(e,"memo"),c=Ke(e,"key"),l=c&&(6===c.type?xe(c.value.content,!0):c.exp),a=c?Se("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=ye(n,o(w),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=Xe(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=et(e)?e:u&&1===e.children.length&&et(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&st(c,a,n)):d?c=ye(n,o(w),a?be([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&st(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(M),r(nt(n.inSSR,c.isComponent))):r(tt(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(M),o(nt(n.inSSR,c.isComponent))):o(tt(n.inSSR,c.isComponent))),i){const e=Te(kn(t.parseResult,[xe("_cached")]));e.body=Ce([ke(["const _memo = (",i.exp,")"]),ke(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),ke(["const _item = ",c]),xe("_item.memo = _memo"),xe("return _item")]),s.arguments.push(e,xe("_cache"),xe(String(n.cached++)))}else s.arguments.push(Te(kn(t.parseResult),c,!0))}}))}));function yn(e,t,n,o){if(!t.exp)return;const r=xn(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:Xe(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const vn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,bn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Sn=/^\(|\)$/g;function xn(e,t){const n=e.loc,o=e.content,r=o.match(vn);if(!r)return;const[,s,i]=r,c={source:Nn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Sn,"").trim();const a=s.indexOf(l),p=l.match(bn);if(p){l=l.replace(bn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Nn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Nn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Nn(n,l,a)),c}function Nn(e,t,n){return xe(t,!1,We(e,n,t.length))}function kn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||xe("_".repeat(t+1),!1)))}([e,t,n,...o])}const _n=xe("undefined",!1),Tn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ge(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},En=(e,t)=>{let n;if(Xe(e)&&e.props.some(Qe)&&(n=Ge(e,"for"))){const e=n.parseResult=xn(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)}}}},wn=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function Cn(e,t,n=wn){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ge(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!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(!Xe(e)||!(r=Ge(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,N;if(S=Ge(e,"if"))c=!0,i.push(Ee(S.exp,$n(g,b),_n));else if(x=Ge(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Xe(e)&&Ge(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,$n(g,b),_n):$n(g,b)}}else if(N=Ge(e,"for")){c=!0;const e=N.parseResult||xn(N.exp);e&&i.push(_e(t.helper(U),[e.source,Te(kn(e),$n(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=>In(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:On(e.children)?3:1;let h=be(s.concat(Se("_",xe(d+"",!1))),r);return i.length&&(h=_e(t.helper(G),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function $n(e,t){return be([Se("name",e),Se("fn",t)])}function On(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||On(n.children))return!0;break;case 9:if(On(n.branches))return!0;break;case 10:case 11:if(On(n.children))return!0}}return!1}function In(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():In(e.content))}const Mn=new WeakMap,Pn=(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?Rn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===D||s===C||s===$||!r&&("svg"===n||"foreignObject"===n||Ke(e,"key",!0));if(o.length>0){const n=Vn(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=Mn.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(it(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}if(e.children.length>0){s===O&&(d=!0,f|=1024);if(r&&s!==C&&s!==O){const{slots:n,hasDynamicSlots:o}=Cn(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===Jt(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 Rn(e,t,n=!1){let{tag:o}=e;const r=Fn(o),s=Ke(e,"is");if(s)if(r||ft("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(D),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Ge(e,"is");if(i&&i.exp)return _e(t.helper(D),[i.exp]);const c=Le(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(j),t.components.add(o),it(o,"component"))}function Vn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,b=!1;const S=[],x=({key:e,value:n})=>{if(Re(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&Jt(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?m=!0:"key"===o||S.includes(o)||S.push(o),!i||"class"!==o&&"style"!==o||S.includes(o)||S.push(o)}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(f=!0),"is"===n&&(Fn(r)||o&&o.content.startsWith("vue:")||ft("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Se(xe(n,!0,We(e,0,n.length)),xe(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&qe(p,"is")&&(Fn(r)||ft("COMPILER_IS_ON_ELEMENT",t)))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(be(Ln(c),s)),c=[]),d){if(ft("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ee),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(i),h(r)&&Mn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&dt("COMPILER_V_FOR_REF",t)&&c.push(Se(xe("refInFor",!0),xe("true",!1)))}let N;if(l.length?(c.length&&l.push(be(Ln(c),s)),N=l.length>1?_e(t.helper(q),l,s):l[0]):c.length&&(N=be(Ln(c),s)),v?u|=16:(d&&!i&&(u|=2),m&&!i&&(u|=4),S.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||b||a.length>0)||(u|=512),!t.inSSR&&N)switch(N.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<N.properties.length;t++){const r=N.properties[t].key;Re(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=N.properties[e],s=N.properties[n];o?N=_e(t.helper(Q),[N]):(r&&!Re(r.value)&&(r.value=_e(t.helper(Y),[r.value])),s&&!Re(s.value)&&m&&(s.value=_e(t.helper(Z),[s.value])));break;case 14:break;default:N=_e(t.helper(Q),[_e(t.helper(X),[N])])}return{props:N,directives:a,patchFlag:u,dynamicPropNames:S}}function Ln(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||s.startsWith("on"))&&Bn(i,r):(t.set(s,r),n.push(r))}return n}function Bn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function Fn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const An=(e,t)=>{if(et(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=jn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Te([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=_e(t.helper(z),i,o)}};function jn(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&&qe(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Re(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Vn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Dn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Hn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=xe(k(b(i.content)),!0,i.loc)}else c=ke([`${n.helperString(oe)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(oe)}(`),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=He(l.content),t=!(e||Dn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=ke([`${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},Wn=(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(te)}(${i.content})`:(i.children.unshift(`${n.helperString(te)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Jn(i,"."),r.includes("attr")&&Jn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Se(i,xe("",!0,s))]}:{props:[Se(i,o)]}},Jn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Un=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Ze(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ze(s)){o=void 0;break}o||(o=n[e]={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(Ze(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Jt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(F),r)}}}}},zn=new WeakSet,Gn=(e,t)=>{if(1===e.type&&Ge(e,"once",!0)){if(zn.has(e)||t.inVOnce)return;return zn.add(e),t.inVOnce=!0,t.helper(re),()=>{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 qn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!He(i))return qn();const c=r||xe("modelValue",!0),l=r?Re(r)?`onUpdate:${r.content}`:ke(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=ke([`${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=>(Fe(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Re(r)?`${r.content}Modifiers`:ke([r,' + "Modifiers"']):"modelModifiers";p.push(Se(n,xe(`{ ${t} }`,!1,e.loc,2)))}return qn(p)};function qn(e=[]){return{props:e}}const Yn=/[\w).+\-_$\]]/,Zn=(e,t)=>{ft("COMPILER_FILTER",t)&&(5===e.type&&Qn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Qn(e.exp,t)})))};function Qn(e,t){if(4===e.type)Xn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Xn(o,t):8===o.type?Qn(e,t):5===o.type&&Qn(o.content,t))}}function Xn(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&&Yn.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=eo(i,m[s],t);e.content=i}}function eo(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${it(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${it(r,"filter")}(${e}${")"!==s?","+s:s}`}}const to=new WeakSet,no=(e,t)=>{if(1===e.type){const n=Ge(e,"memo");if(!n||to.has(e))return;return to.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&at(o,t),e.codegenNode=_e(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function oo(e){return[[Gn,un,no,gn,Zn,An,Pn,Tn,Un],{on:Hn,bind:Wn,model:Kn}]}function ro(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(E(45)):o&&n(E(46));t.cacheHandlers&&n(E(47)),t.scopeId&&!o&&n(E(48));const r=d(e)?vt(e,t):e,[s,i]=oo();return Zt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),en(r,u({},t,{prefixIdentifiers:false}))}const so=()=>({props:[]}),io=Symbol(""),co=Symbol(""),lo=Symbol(""),ao=Symbol(""),po=Symbol(""),uo=Symbol(""),fo=Symbol(""),ho=Symbol(""),mo=Symbol(""),go=Symbol("");let yo;he({[io]:"vModelRadio",[co]:"vModelCheckbox",[lo]:"vModelText",[ao]:"vModelSelect",[po]:"vModelDynamic",[uo]:"withModifiers",[fo]:"withKeys",[ho]:"vShow",[mo]:"Transition",[go]:"TransitionGroup"});const vo=e("style,iframe,script,noscript",!0),bo={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return yo||(yo=document.createElement("div")),t?(yo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,yo.children[0].getAttribute("foo")):(yo.innerHTML=e,yo.textContent)},isBuiltInComponent:e=>Ve(e,"Transition")?mo:Ve(e,"TransitionGroup")?go: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(vo(e))return 2}return 0}},So=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:xo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},xo=(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 No(e,t){return E(e,t)}const ko=e("passive,once,capture"),_o=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),To=e("left,right"),Eo=e("onkeyup,onkeydown,onkeypress",!0),wo=(e,t)=>Re(e)&&"onclick"===e.content.toLowerCase()?xe(t,!0):4!==e.type?ke(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Co=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},$o=[So],Oo={cloak:so,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(K),[o],r):xe("",!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=lo,i=!1;if("input"===r||s){const n=Ke(t,"type");if(n){if(7===n.type)e=po;else if(n.value)switch(n.value.content){case"radio":e=io;break;case"checkbox":e=co;break;case"file":i=!0}}else Ye(t)&&(e=po)}else"select"===r&&(e=ao);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)=>Hn(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&&dt("COMPILER_V_ON_NATIVE",n)||ko(o)?i.push(o):To(o)?Re(e)?Eo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):_o(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=wo(r,"onContextmenu")),c.includes("middle")&&(r=wo(r,"onMouseup")),c.length&&(s=_e(n.helper(uo),[s,JSON.stringify(c)])),!i.length||Re(r)&&!Eo(r.content)||(s=_e(n.helper(fo),[s,JSON.stringify(i)])),l.length){const e=l.map(N).join("");r=Re(r)?xe(`${r.content}${e}`,!0):ke(["(",r,`) + "${e}"`])}return{props:[Se(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(ho)})};function Io(e,t={}){return ro(e,u({},bo,t,{nodeTransforms:[Co,...$o,...t.nodeTransforms||[]],directiveTransforms:u({},Oo,t.directiveTransforms||{}),transformHoist:null}))}function Mo(e,t={}){return vt(e,u({},bo,t))}export{I as BASE_TRANSITION,te as CAMELIZE,ne as CAPITALIZE,P as CREATE_BLOCK,B as CREATE_COMMENT,R as CREATE_ELEMENT_BLOCK,L as CREATE_ELEMENT_VNODE,G as CREATE_SLOTS,A as CREATE_STATIC,F as CREATE_TEXT,V as CREATE_VNODE,Oo as DOMDirectiveTransforms,$o as DOMNodeTransforms,w as FRAGMENT,X as GUARD_REACTIVE_PROPS,fe as IS_MEMO_SAME,pe as IS_REF,O as KEEP_ALIVE,q as MERGE_PROPS,Y as NORMALIZE_CLASS,Q as NORMALIZE_PROPS,Z as NORMALIZE_STYLE,M as OPEN_BLOCK,ie as POP_SCOPE_ID,se as PUSH_SCOPE_ID,U as RENDER_LIST,z as RENDER_SLOT,j as RESOLVE_COMPONENT,H as RESOLVE_DIRECTIVE,D as RESOLVE_DYNAMIC_COMPONENT,W as RESOLVE_FILTER,re as SET_BLOCK_TRACKING,$ as SUSPENSE,C as TELEPORT,K as TO_DISPLAY_STRING,ee as TO_HANDLERS,oe as TO_HANDLER_KEY,mo as TRANSITION,go as TRANSITION_GROUP,ae as UNREF,co as V_MODEL_CHECKBOX,po as V_MODEL_DYNAMIC,io as V_MODEL_RADIO,ao as V_MODEL_SELECT,lo as V_MODEL_TEXT,fo as V_ON_WITH_KEYS,uo as V_ON_WITH_MODIFIERS,ho as V_SHOW,le as WITH_CTX,J as WITH_DIRECTIVES,ue as WITH_MEMO,ce as WITH_SCOPE_ID,Je as advancePositionWithClone,Ue as advancePositionWithMutation,ze as assert,ro as baseCompile,vt as baseParse,Vn as buildProps,Cn as buildSlots,dt as checkCompatEnabled,Io as compile,ve as createArrayExpression,Ie as createAssignmentExpression,Ce as createBlockStatement,we as createCacheExpression,_e as createCallExpression,E as createCompilerError,ke as createCompoundExpression,Ee as createConditionalExpression,No as createDOMCompilerError,kn as createForLoopParams,Te as createFunctionExpression,Oe as createIfStatement,Ne as createInterpolation,be as createObjectExpression,Se as createObjectProperty,Pe as createReturnStatement,ge as createRoot,Me as createSequenceExpression,xe as createSimpleExpression,Xt as createStructuralDirectiveTransform,$e as createTemplateLiteral,Yt as createTransformContext,ye as createVNodeCall,Ge as findDir,Ke as findProp,en as generate,t as generateCodeFrame,oo as getBaseTransformPreset,We as getInnerRange,lt as getMemoedVNodeCall,nt as getVNodeBlockHelper,tt as getVNodeHelper,Ye as hasDynamicKeyVBind,ct as hasScopeRef,de as helperNameMap,st as injectProp,qe as isBindKey,Ve as isBuiltInType,Le as isCoreComponent,He as isMemberExpression,Fe as isSimpleIdentifier,et as isSlotOutlet,Re as isStaticExp,Xe as isTemplateNode,Ze as isText,Qe as isVSlot,me as locStub,at as makeBlock,so as noopDirectiveTransform,Mo as parse,bo as parserOptions,pn as processExpression,yn as processFor,fn as processIf,jn as processSlotOutlet,he as registerRuntimeHelpers,Rn as resolveComponentType,it as toValidAssetId,Tn as trackSlotScopes,En as trackVForSlotScopes,Zt as transform,Wn as transformBind,Pn as transformElement,an as transformExpression,Kn as transformModel,Hn as transformOn,So as transformStyle,Qt as traverseNode,ht 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=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,b=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),S=/\B([A-Z])/g,x=y((e=>e.replace(S,"-$1").toLowerCase())),k=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${k(e)}`:""));function _(e){throw e}function T(e){}function E(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const O=Symbol(""),w=Symbol(""),C=Symbol(""),$=Symbol(""),I=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),j=Symbol(""),B=Symbol(""),F=Symbol(""),A=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=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={[O]:"Fragment",[w]:"Teleport",[C]:"Suspense",[$]:"KeepAlive",[I]:"BaseTransition",[M]:"openBlock",[P]:"createBlock",[R]:"createElementBlock",[V]:"createVNode",[L]:"createElementVNode",[j]:"createCommentVNode",[B]:"createTextVNode",[F]:"createStaticVNode",[A]:"resolveComponent",[D]:"resolveDynamicComponent",[H]:"resolveDirective",[W]:"resolveFilter",[J]:"withDirectives",[U]:"renderList",[z]:"renderSlot",[G]:"createSlots",[K]:"toDisplayString",[q]:"mergeProps",[Y]:"normalizeClass",[Z]:"normalizeStyle",[Q]:"normalizeProps",[X]:"guardReactiveProps",[ee]:"toHandlers",[te]:"camelize",[ne]:"capitalize",[oe]:"toHandlerKey",[re]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[ce]:"withScopeId",[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(M),e.helper(nt(e.inSSR,a))):e.helper(tt(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:d(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:d(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 Oe(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 Ce(e){return{type:22,elements:e,loc:me}}function $e(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}}function Ie(e,t){return{type:24,left:e,right:t,loc:me}}function Me(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===x(t);function Le(e){return Ve(e,"Teleport")?w:Ve(e,"Suspense")?C:Ve(e,"KeepAlive")?$:Ve(e,"BaseTransition")?I:void 0}const je=/^\d|[^\$\w]/,Be=e=>!je.test(e),Fe=/[A-Za-z_$\xA0-\uFFFF]/,Ae=/[\.\?\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?Fe:Ae).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};function We(e,t,n){const o={source:e.source.substr(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 Ue(u({},e),t,n)}function Ue(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function ze(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ge(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(d(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)&&qe(s.arg,t))return s}}function qe(e,t){return!(!e||!Re(e)||e.content!==t)}function Ye(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ze(e){return 5===e.type||2===e.type}function Qe(e){return 7===e.type&&"slot"===e.name}function Xe(e){return 1===e.type&&3===e.tagType}function et(e){return 1===e.type&&2===e.tagType}function tt(e,t){return e||t?V:L}function nt(e,t){return e||t?P:R}const ot=new Set([Q,X]);function rt(e,t=[]){if(e&&!d(e)&&14===e.type){const n=e.callee;if(!d(n)&&ot.has(n))return rt(e.arguments[0],t.concat(e))}return[e,t]}function st(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!d(s)&&14===s.type){const e=rt(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||d(s))o=be([t]);else if(14===s.type){const e=s.arguments[0];d(e)||15!==e.type?s.callee===ee?o=_e(n.helper(q),[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(q),[be([t]),s]),r&&r.callee===X&&(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 it(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ct(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&&(ct(o.arg,t)||ct(o.exp,t)))return!0}return e.children.some((e=>ct(e,t)));case 11:return!!ct(e.source,t)||e.children.some((e=>ct(e,t)));case 9:return e.branches.some((e=>ct(e,t)));case 10:return!!ct(e.condition,t)||e.children.some((e=>ct(e,t)));case 4:return!e.isStatic&&Be(e.content)&&!!t[e.content];case 8:return e.children.some((e=>m(e)&&ct(e,t)));case 5:case 12:return ct(e.content,t);case 2:case 3:default:return!1}}function lt(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function at(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(tt(o,e.isComponent)),t(M),t(nt(o,e.isComponent)))}const pt={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_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.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 ut(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ft(e,t){const n=ut("MODE",t),o=ut(e,t);return 3===n?!0===o:!1!==o}function dt(e,t,n,...o){return ft(e,t)}function ht(e,t,n,...o){if("suppress-warning"===ut(e,t))return;const{message:r,link:s}=pt[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 mt=/&(gt|lt|amp|apos|quot);/g,gt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},yt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(mt,((e,t)=>gt[t])),onError:_,onWarn:T,comments:!1};function vt(e,t={}){const n=function(e,t){const n=u({},yt);let o;for(o in t)n[o]=void 0===t[o]?yt[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=Mt(n);return ge(bt(n,0,[]),Pt(n,o))}function bt(e,t,n){const o=Rt(n),r=o?o.ns:0,s=[];for(;!Ft(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Vt(i,e.options.delimiters[0]))c=Ct(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Vt(i,"\x3c!--")?kt(e):Vt(i,"<!DOCTYPE")?Nt(e):Vt(i,"<![CDATA[")&&0!==r?xt(e,n):Nt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Lt(e,3);continue}if(/[a-z]/i.test(i[2])){Et(e,1,o);continue}c=Nt(e)}else/[a-z]/i.test(i[1])?(c=_t(e,n),ft("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&Tt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Nt(e));if(c||(c=$t(e,t)),f(c))for(let e=0;e<c.length;e++)St(s,c[e]);else St(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 St(e,t){if(2===t.type){const n=Rt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function xt(e,t){Lt(e,9);const n=bt(e,3,t);return 0===e.source.length||Lt(e,3),n}function kt(e){const t=Mt(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));)Lt(e,s-r+1),r=s+1;Lt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Lt(e,e.source.length);return{type:3,content:n,loc:Pt(e,t)}}function Nt(e){const t=Mt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Lt(e,e.source.length)):(o=e.source.slice(n,r),Lt(e,r+1)),{type:3,content:o,loc:Pt(e,t)}}function _t(e,t){const n=e.inPre,o=e.inVPre,r=Rt(t),s=Et(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=bt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&dt("COMPILER_INLINE_TEMPLATE",e)){const n=Pt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,At(e.source,s.tag))Et(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Vt(e.loc.source,"\x3c!--")}return s.loc=Pt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Tt=e("if,else,else-if,for,slot");function Et(e,t,n){const o=Mt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Lt(e,r[0].length),jt(e);const c=Mt(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,u(e,c),e.source=l,a=Ot(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Vt(e.source,"/>"),Lt(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?a.some((e=>7===e.type&&Tt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Le(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(dt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&qe(e.arg,"is")&&dt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:Pt(e,o),codegenNode:void 0}}function Ot(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Vt(e.source,">")&&!Vt(e.source,"/>");){if(Vt(e.source,"/")){Lt(e,1),jt(e);continue}const r=wt(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),jt(e)}return n}function wt(e,t){const n=Mt(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;Lt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(jt(e),Lt(e,1),jt(e),r=function(e){const t=Mt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Lt(e,1);const t=e.source.indexOf(o);-1===t?n=It(e,e.source.length,4):(n=It(e,t,4),Lt(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=It(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Pt(e,t)}}(e));const s=Pt(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Vt(o,"."),l=t[1]||(c||Vt(o,":")?"bind":Vt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Pt(e,Bt(e,n,s),Bt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):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].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&dt("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{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ct(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Mt(e);Lt(e,n.length);const i=Mt(e),c=Mt(e),l=r-n.length,a=e.source.slice(0,l),p=It(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ue(i,a,f);return Ue(c,a,l-(p.length-u.length-f)),Lt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Pt(e,i,c)},loc:Pt(e,s)}}function $t(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");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=Mt(e);return{type:2,content:It(e,o,t),loc:Pt(e,r)}}function It(e,t,n){const o=e.source.slice(0,t);return Lt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Mt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Pt(e,t,n){return{start:t,end:n=n||Mt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Rt(e){return e[e.length-1]}function Vt(e,t){return e.startsWith(t)}function Lt(e,t){const{source:n}=e;Ue(e,n,t),e.source=n.slice(t)}function jt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Lt(e,t[0].length)}function Bt(e,t,n){return Je(t,e.originalSource.slice(t.offset,n),n)}function Ft(e,t,n){const o=e.source;switch(t){case 0:if(Vt(o,"</"))for(let e=n.length-1;e>=0;--e)if(At(o,n[e].tag))return!0;break;case 1:case 2:{const e=Rt(n);if(e&&At(o,e.tag))return!0;break}case 3:if(Vt(o,"]]>"))return!0}return!o}function At(e,t){return Vt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Dt(e,t){Wt(e,t,Ht(e,e.children[0]))}function Ht(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!et(t)}function Wt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:Jt(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=qt(n);if((!o||512===o||1===o)&&Gt(e,t)>=2){const o=Kt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=Jt(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Wt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Wt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Wt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&f(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function Jt(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(qt(r))return n.set(e,0),0;{let o=3;const s=Gt(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=Jt(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=Jt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(M),t.removeHelper(nt(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(tt(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Jt(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(d(o)||h(o))continue;const r=Jt(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Ut=new Set([Y,Z,Q,X]);function zt(e,t){if(14===e.type&&!d(e.callee)&&Ut.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Jt(n,t);if(14===n.type)return zt(n,t)}return 0}function Gt(e,t){let n=3;const o=Kt(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=Jt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Jt(s,t):14===s.type?zt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Kt(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 Yt(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:h=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=c,inline:x=!1,isTS:N=!1,onError:E=_,onWarn:O=T,compatConfig:w}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),$={selfName:C&&k(b(C[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:h,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:x,isTS:N,onError:E,onWarn:O,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=$.helpers.get(e)||0;return $.helpers.set(e,t+1),e},removeHelper(e){const t=$.helpers.get(e);if(t){const n=t-1;n?$.helpers.set(e,n):$.helpers.delete(e)}},helperString:e=>`_${de[$.helper(e)]}`,replaceNode(e){$.parent.children[$.childIndex]=$.currentNode=e},removeNode(e){const t=e?$.parent.children.indexOf(e):$.currentNode?$.childIndex:-1;e&&e!==$.currentNode?$.childIndex>t&&($.childIndex--,$.onNodeRemoved()):($.currentNode=null,$.onNodeRemoved()),$.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){d(e)&&(e=xe(e)),$.hoists.push(e);const t=xe(`_hoisted_${$.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe($.cached++,e,t)};return $.filters=new Set,$}function Zt(e,t){const n=Yt(e,t);Qt(e,n),t.hoistStatic&&Dt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Ht(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&at(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(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 Qt(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&&(f(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(K);break;case 9:for(let n=0;n<e.branches.length;n++)Qt(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];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Qt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Xt(e,t){const n=d(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(Qe))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 en(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",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,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){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(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,L,j,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(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),rn(e,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&&(tn(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(tn(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),tn(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?rn(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 tn(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?A:H);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 ${it(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function nn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),on(e,t,n),n&&t.deindent(),t.push("]")}function on(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?nn(c,t):rn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function rn(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:rn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:sn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(K)}(`),rn(e.content,t),n(")")}(e,t);break;case 12:rn(e.codegenNode,t);break;case 8:cn(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(M)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?nt(t.inSSR,d):tt(t.inSSR,d);n(o(h)+"(",e),on(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(", "),rn(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),on(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];ln(e,t),n(": "),rn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){nn(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),f(s)?on(s,t):s&&rn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?nn(i,t):rn(i,t)):c&&rn(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=!Be(n.content);e&&i("("),sn(n,t),e&&i(")")}else i("("),rn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),rn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;rn(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(re)}(-1),`),i());n(`_cache[${e.index}] = `),rn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(re)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:on(e.body,t,!0,!1)}}function sn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function cn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):rn(o,t)}}function ln(e,t){const{push:n}=t;if(8===e.type)n("["),cn(e,t),n("]");else if(e.isStatic){n(Be(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function an(e,t,n=!1,o=[],r=Object.create(null)){}function pn(e,t,n){return!1}function un(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 fn(e,t){for(const n of e.params)for(const e of hn(n))t(e)}function dn(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 hn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function hn(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)hn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&hn(e,t)}));break;case"RestElement":hn(e.argument,t);break;case"AssignmentPattern":hn(e.left,t)}return t}const mn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),gn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,yn=(e,t)=>gn(t)&&t.key===e,vn=(e,t)=>{if(5===e.type)e.content=bn(e.content);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=bn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=bn(n))}}};function bn(e,t,n=!1,o=!1){return e}const Sn=Xt(/^(if|else|else-if)$/,((e,t,n)=>xn(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=Nn(t,i,n);else{(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)).alternate=Nn(t,i+e.branches.length-1,n)}}}))));function xn(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=kn(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=kn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Qt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function kn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ge(e,"for")?[e]:e.children,userKey:Ke(e,"key")}}function Nn(e,t,n){return e.condition?Ee(e.condition,_n(e,t,n),_e(n.helper(j),['""',"true"])):_n(e,t,n)}function _n(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 st(e,r,n),e}{let t=64;return ye(n,o(O),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=lt(e);return 13===t.type&&at(t,n),st(t,r,n),e}}const Tn=Xt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return En(e,t,n,(t=>{const s=_e(o(U),[t.source]),i=Ge(e,"memo"),c=Ke(e,"key"),l=c&&(6===c.type?xe(c.value.content,!0):c.exp),a=c?Se("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=ye(n,o(O),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=Xe(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=et(e)?e:u&&1===e.children.length&&et(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&st(c,a,n)):d?c=ye(n,o(O),a?be([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&st(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(M),r(nt(n.inSSR,c.isComponent))):r(tt(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(M),o(nt(n.inSSR,c.isComponent))):o(tt(n.inSSR,c.isComponent))),i){const e=Te(Mn(t.parseResult,[xe("_cached")]));e.body=we([Ne(["const _memo = (",i.exp,")"]),Ne(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),Ne(["const _item = ",c]),xe("_item.memo = _memo"),xe("return _item")]),s.arguments.push(e,xe("_cache"),xe(String(n.cached++)))}else s.arguments.push(Te(Mn(t.parseResult),c,!0))}}))}));function En(e,t,n,o){if(!t.exp)return;const r=$n(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:Xe(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]*)/,wn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Cn=/^\(|\)$/g;function $n(e,t){const n=e.loc,o=e.content,r=o.match(On);if(!r)return;const[,s,i]=r,c={source:In(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Cn,"").trim();const a=s.indexOf(l),p=l.match(wn);if(p){l=l.replace(wn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=In(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=In(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=In(n,l,a)),c}function In(e,t,n){return xe(t,!1,We(e,n,t.length))}function Mn({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 Pn=xe("undefined",!1),Rn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ge(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Vn=(e,t)=>{let n;if(Xe(e)&&e.props.some(Qe)&&(n=Ge(e,"for"))){const e=n.parseResult=$n(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)}}}},Ln=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function jn(e,t,n=Ln){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ge(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!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(!Xe(e)||!(r=Ge(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=Ge(e,"if"))c=!0,i.push(Ee(S.exp,Bn(g,b),Pn));else if(x=Ge(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Xe(e)&&Ge(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,Bn(g,b),Pn):Bn(g,b)}}else if(k=Ge(e,"for")){c=!0;const e=k.parseResult||$n(k.exp);e&&i.push(_e(t.helper(U),[e.source,Te(Mn(e),Bn(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=>An(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Fn(e.children)?3:1;let h=be(s.concat(Se("_",xe(d+"",!1))),r);return i.length&&(h=_e(t.helper(G),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function Bn(e,t){return be([Se("name",e),Se("fn",t)])}function Fn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Fn(n.children))return!0;break;case 9:if(Fn(n.branches))return!0;break;case 10:case 11:if(Fn(n.children))return!0}}return!1}function An(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():An(e.content))}const Dn=new WeakMap,Hn=(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?Wn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===D||s===w||s===C||!r&&("svg"===n||"foreignObject"===n||Ke(e,"key",!0));if(o.length>0){const n=Jn(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=Dn.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(it(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}if(e.children.length>0){s===$&&(d=!0,f|=1024);if(r&&s!==w&&s!==$){const{slots:n,hasDynamicSlots:o}=jn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==w){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Jt(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 Wn(e,t,n=!1){let{tag:o}=e;const r=Gn(o),s=Ke(e,"is");if(s)if(r||ft("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(D),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Ge(e,"is");if(i&&i.exp)return _e(t.helper(D),[i.exp]);const c=Le(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(A),t.components.add(o),it(o,"component"))}function Jn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,b=!1;const S=[],x=({key:e,value:n})=>{if(Re(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&Jt(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?m=!0:"key"===o||S.includes(o)||S.push(o),!i||"class"!==o&&"style"!==o||S.includes(o)||S.push(o)}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(f=!0),"is"===n&&(Gn(r)||o&&o.content.startsWith("vue:")||ft("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Se(xe(n,!0,We(e,0,n.length)),xe(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&qe(p,"is")&&(Gn(r)||ft("COMPILER_IS_ON_ELEMENT",t)))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(be(Un(c),s)),c=[]),d){if(ft("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ee),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(i),h(r)&&Dn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&dt("COMPILER_V_FOR_REF",t)&&c.push(Se(xe("refInFor",!0),xe("true",!1)))}let k;if(l.length?(c.length&&l.push(be(Un(c),s)),k=l.length>1?_e(t.helper(q),l,s):l[0]):c.length&&(k=be(Un(c),s)),v?u|=16:(d&&!i&&(u|=2),m&&!i&&(u|=4),S.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||b||a.length>0)||(u|=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;Re(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=_e(t.helper(Q),[k]):(r&&!Re(r.value)&&(r.value=_e(t.helper(Y),[r.value])),!s||Re(s.value)||!m&&17!==s.value.type||(s.value=_e(t.helper(Z),[s.value])));break;case 14:break;default:k=_e(t.helper(Q),[_e(t.helper(X),[k])])}return{props:k,directives:a,patchFlag:u,dynamicPropNames:S}}function Un(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||s.startsWith("on"))&&zn(i,r):(t.set(s,r),n.push(r))}return n}function zn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function Gn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Kn=(e,t)=>{if(et(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=qn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Te([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=_e(t.helper(z),i,o)}};function qn(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&&qe(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Re(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Jn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Yn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Zn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=xe(N(b(i.content)),!0,i.loc)}else c=Ne([`${n.helperString(oe)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(oe)}(`),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=He(l.content),t=!(e||Yn.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},Qn=(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(te)}(${i.content})`:(i.children.unshift(`${n.helperString(te)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Xn(i,"."),r.includes("attr")&&Xn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Se(i,xe("",!0,s))]}:{props:[Se(i,o)]}},Xn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},eo=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Ze(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ze(s)){o=void 0;break}o||(o=n[e]={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(Ze(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Jt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(B),r)}}}}},to=new WeakSet,no=(e,t)=>{if(1===e.type&&Ge(e,"once",!0)){if(to.has(e)||t.inVOnce)return;return to.add(e),t.inVOnce=!0,t.helper(re),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},oo=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return ro();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!He(i))return ro();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=>(Be(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 ro(p)};function ro(e=[]){return{props:e}}const so=/[\w).+\-_$\]]/,io=(e,t)=>{ft("COMPILER_FILTER",t)&&(5===e.type&&co(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&co(e.exp,t)})))};function co(e,t){if(4===e.type)lo(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?lo(o,t):8===o.type?co(e,t):5===o.type&&co(o.content,t))}}function lo(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&&so.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=ao(i,m[s],t);e.content=i}}function ao(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${it(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${it(r,"filter")}(${e}${")"!==s?","+s:s}`}}const po=new WeakSet,uo=(e,t)=>{if(1===e.type){const n=Ge(e,"memo");if(!n||po.has(e))return;return po.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&at(o,t),e.codegenNode=_e(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function fo(e){return[[no,Sn,uo,Tn,io,Kn,Hn,Rn,eo],{on:Zn,bind:Qn,model:oo}]}function ho(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(E(45)):o&&n(E(46));t.cacheHandlers&&n(E(47)),t.scopeId&&!o&&n(E(48));const r=d(e)?vt(e,t):e,[s,i]=fo();return Zt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),en(r,u({},t,{prefixIdentifiers:false}))}const mo=()=>({props:[]}),go=Symbol(""),yo=Symbol(""),vo=Symbol(""),bo=Symbol(""),So=Symbol(""),xo=Symbol(""),ko=Symbol(""),No=Symbol(""),_o=Symbol(""),To=Symbol("");let Eo;he({[go]:"vModelRadio",[yo]:"vModelCheckbox",[vo]:"vModelText",[bo]:"vModelSelect",[So]:"vModelDynamic",[xo]:"withModifiers",[ko]:"withKeys",[No]:"vShow",[_o]:"Transition",[To]:"TransitionGroup"});const Oo=e("style,iframe,script,noscript",!0),wo={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Eo||(Eo=document.createElement("div")),t?(Eo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Eo.children[0].getAttribute("foo")):(Eo.innerHTML=e,Eo.textContent)},isBuiltInComponent:e=>Ve(e,"Transition")?_o:Ve(e,"TransitionGroup")?To: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}},Co=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:$o(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},$o=(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 Io(e,t){return E(e,t)}const Mo=e("passive,once,capture"),Po=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ro=e("left,right"),Vo=e("onkeyup,onkeydown,onkeypress",!0),Lo=(e,t)=>Re(e)&&"onclick"===e.content.toLowerCase()?xe(t,!0):4!==e.type?Ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,jo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Bo=[Co],Fo={cloak:mo,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(K),[o],r):xe("",!0))]}},model:(e,t,n)=>{const o=oo(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=vo,i=!1;if("input"===r||s){const n=Ke(t,"type");if(n){if(7===n.type)e=So;else if(n.value)switch(n.value.content){case"radio":e=go;break;case"checkbox":e=yo;break;case"file":i=!0}}else Ye(t)&&(e=So)}else"select"===r&&(e=bo);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)=>Zn(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&&dt("COMPILER_V_ON_NATIVE",n)||Mo(o)?i.push(o):Ro(o)?Re(e)?Vo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Po(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Lo(r,"onContextmenu")),c.includes("middle")&&(r=Lo(r,"onMouseup")),c.length&&(s=_e(n.helper(xo),[s,JSON.stringify(c)])),!i.length||Re(r)&&!Vo(r.content)||(s=_e(n.helper(ko),[s,JSON.stringify(i)])),l.length){const e=l.map(k).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(No)})};function Ao(e,t={}){return ho(e,u({},wo,t,{nodeTransforms:[jo,...Bo,...t.nodeTransforms||[]],directiveTransforms:u({},Fo,t.directiveTransforms||{}),transformHoist:null}))}function Do(e,t={}){return vt(e,u({},wo,t))}export{I as BASE_TRANSITION,te as CAMELIZE,ne as CAPITALIZE,P as CREATE_BLOCK,j as CREATE_COMMENT,R as CREATE_ELEMENT_BLOCK,L as CREATE_ELEMENT_VNODE,G as CREATE_SLOTS,F as CREATE_STATIC,B as CREATE_TEXT,V as CREATE_VNODE,Fo as DOMDirectiveTransforms,Bo as DOMNodeTransforms,O as FRAGMENT,X as GUARD_REACTIVE_PROPS,fe as IS_MEMO_SAME,pe as IS_REF,$ as KEEP_ALIVE,q as MERGE_PROPS,Y as NORMALIZE_CLASS,Q as NORMALIZE_PROPS,Z as NORMALIZE_STYLE,M as OPEN_BLOCK,ie as POP_SCOPE_ID,se as PUSH_SCOPE_ID,U as RENDER_LIST,z as RENDER_SLOT,A as RESOLVE_COMPONENT,H as RESOLVE_DIRECTIVE,D as RESOLVE_DYNAMIC_COMPONENT,W as RESOLVE_FILTER,re as SET_BLOCK_TRACKING,C as SUSPENSE,w as TELEPORT,K as TO_DISPLAY_STRING,ee as TO_HANDLERS,oe as TO_HANDLER_KEY,_o as TRANSITION,To as TRANSITION_GROUP,ae as UNREF,yo as V_MODEL_CHECKBOX,So as V_MODEL_DYNAMIC,go as V_MODEL_RADIO,bo as V_MODEL_SELECT,vo as V_MODEL_TEXT,ko as V_ON_WITH_KEYS,xo as V_ON_WITH_MODIFIERS,No as V_SHOW,le as WITH_CTX,J as WITH_DIRECTIVES,ue as WITH_MEMO,ce as WITH_SCOPE_ID,Je as advancePositionWithClone,Ue as advancePositionWithMutation,ze as assert,ho as baseCompile,vt as baseParse,Jn as buildProps,jn as buildSlots,dt as checkCompatEnabled,Ao as compile,ve as createArrayExpression,Ie as createAssignmentExpression,we as createBlockStatement,Oe as createCacheExpression,_e as createCallExpression,E as createCompilerError,Ne as createCompoundExpression,Ee as createConditionalExpression,Io as createDOMCompilerError,Mn as createForLoopParams,Te as createFunctionExpression,$e as createIfStatement,ke as createInterpolation,be as createObjectExpression,Se as createObjectProperty,Pe as createReturnStatement,ge as createRoot,Me as createSequenceExpression,xe as createSimpleExpression,Xt as createStructuralDirectiveTransform,Ce as createTemplateLiteral,Yt as createTransformContext,ye as createVNodeCall,hn as extractIdentifiers,Ge as findDir,Ke as findProp,en as generate,t as generateCodeFrame,fo as getBaseTransformPreset,We as getInnerRange,lt as getMemoedVNodeCall,nt as getVNodeBlockHelper,tt as getVNodeHelper,Ye as hasDynamicKeyVBind,ct as hasScopeRef,de as helperNameMap,st as injectProp,qe as isBindKey,Ve as isBuiltInType,Le as isCoreComponent,mn as isFunctionType,un as isInDestructureAssignment,He as isMemberExpression,pn as isReferencedIdentifier,Be as isSimpleIdentifier,et as isSlotOutlet,Re as isStaticExp,gn as isStaticProperty,yn as isStaticPropertyKey,Xe as isTemplateNode,Ze as isText,Qe as isVSlot,me as locStub,at as makeBlock,mo as noopDirectiveTransform,Do as parse,wo as parserOptions,bn as processExpression,En as processFor,xn as processIf,qn as processSlotOutlet,he as registerRuntimeHelpers,Wn as resolveComponentType,it as toValidAssetId,Rn as trackSlotScopes,Vn as trackVForSlotScopes,Zt as transform,Qn as transformBind,Hn as transformElement,vn as transformExpression,oo as transformModel,Zn as transformOn,Co as transformStyle,Qt as traverseNode,dn as walkBlockDeclarations,fn as walkFunctionParams,an as walkIdentifiers,ht as warnDeprecation};
@@ -823,7 +823,10 @@ var VueCompilerDOM = (function (exports) {
823
823
  }
824
824
  }
825
825
  function toValidAssetId(name, type) {
826
- return `_${type}_${name.replace(/[^\w]/g, '_')}`;
826
+ // see issue#4422, we need adding identifier on validAssetId if variable `name` has specific character
827
+ return `_${type}_${name.replace(/[^\w]/g, (searchValue, replaceValue) => {
828
+ return searchValue === '-' ? '_' : name.charCodeAt(replaceValue).toString();
829
+ })}`;
827
830
  }
828
831
  // Check if a node contains expressions that reference current context scope ids
829
832
  function hasScopeRef(node, ids) {
@@ -2038,16 +2041,19 @@ var VueCompilerDOM = (function (exports) {
2038
2041
  if (keyType < returnType) {
2039
2042
  returnType = keyType;
2040
2043
  }
2041
- if (value.type !== 4 /* SIMPLE_EXPRESSION */) {
2044
+ let valueType;
2045
+ if (value.type === 4 /* SIMPLE_EXPRESSION */) {
2046
+ valueType = getConstantType(value, context);
2047
+ }
2048
+ else if (value.type === 14 /* JS_CALL_EXPRESSION */) {
2042
2049
  // some helper calls can be hoisted,
2043
2050
  // such as the `normalizeProps` generated by the compiler for pre-normalize class,
2044
2051
  // in this case we need to respect the ConstanType of the helper's argments
2045
- if (value.type === 14 /* JS_CALL_EXPRESSION */) {
2046
- return getConstantTypeOfHelperCall(value, context);
2047
- }
2048
- return 0 /* NOT_CONSTANT */;
2052
+ valueType = getConstantTypeOfHelperCall(value, context);
2053
+ }
2054
+ else {
2055
+ valueType = 0 /* NOT_CONSTANT */;
2049
2056
  }
2050
- const valueType = getConstantType(value, context);
2051
2057
  if (valueType === 0 /* NOT_CONSTANT */) {
2052
2058
  return valueType;
2053
2059
  }
@@ -2912,6 +2918,103 @@ var VueCompilerDOM = (function (exports) {
2912
2918
  push(`)`);
2913
2919
  }
2914
2920
 
2921
+ function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = Object.create(null)) {
2922
+ {
2923
+ return;
2924
+ }
2925
+ }
2926
+ function isReferencedIdentifier(id, parent, parentStack) {
2927
+ {
2928
+ return false;
2929
+ }
2930
+ }
2931
+ function isInDestructureAssignment(parent, parentStack) {
2932
+ if (parent &&
2933
+ (parent.type === 'ObjectProperty' || parent.type === 'ArrayPattern')) {
2934
+ let i = parentStack.length;
2935
+ while (i--) {
2936
+ const p = parentStack[i];
2937
+ if (p.type === 'AssignmentExpression') {
2938
+ return true;
2939
+ }
2940
+ else if (p.type !== 'ObjectProperty' && !p.type.endsWith('Pattern')) {
2941
+ break;
2942
+ }
2943
+ }
2944
+ }
2945
+ return false;
2946
+ }
2947
+ function walkFunctionParams(node, onIdent) {
2948
+ for (const p of node.params) {
2949
+ for (const id of extractIdentifiers(p)) {
2950
+ onIdent(id);
2951
+ }
2952
+ }
2953
+ }
2954
+ function walkBlockDeclarations(block, onIdent) {
2955
+ for (const stmt of block.body) {
2956
+ if (stmt.type === 'VariableDeclaration') {
2957
+ if (stmt.declare)
2958
+ continue;
2959
+ for (const decl of stmt.declarations) {
2960
+ for (const id of extractIdentifiers(decl.id)) {
2961
+ onIdent(id);
2962
+ }
2963
+ }
2964
+ }
2965
+ else if (stmt.type === 'FunctionDeclaration' ||
2966
+ stmt.type === 'ClassDeclaration') {
2967
+ if (stmt.declare || !stmt.id)
2968
+ continue;
2969
+ onIdent(stmt.id);
2970
+ }
2971
+ }
2972
+ }
2973
+ function extractIdentifiers(param, nodes = []) {
2974
+ switch (param.type) {
2975
+ case 'Identifier':
2976
+ nodes.push(param);
2977
+ break;
2978
+ case 'MemberExpression':
2979
+ let object = param;
2980
+ while (object.type === 'MemberExpression') {
2981
+ object = object.object;
2982
+ }
2983
+ nodes.push(object);
2984
+ break;
2985
+ case 'ObjectPattern':
2986
+ for (const prop of param.properties) {
2987
+ if (prop.type === 'RestElement') {
2988
+ extractIdentifiers(prop.argument, nodes);
2989
+ }
2990
+ else {
2991
+ extractIdentifiers(prop.value, nodes);
2992
+ }
2993
+ }
2994
+ break;
2995
+ case 'ArrayPattern':
2996
+ param.elements.forEach(element => {
2997
+ if (element)
2998
+ extractIdentifiers(element, nodes);
2999
+ });
3000
+ break;
3001
+ case 'RestElement':
3002
+ extractIdentifiers(param.argument, nodes);
3003
+ break;
3004
+ case 'AssignmentPattern':
3005
+ extractIdentifiers(param.left, nodes);
3006
+ break;
3007
+ }
3008
+ return nodes;
3009
+ }
3010
+ const isFunctionType = (node) => {
3011
+ return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
3012
+ };
3013
+ const isStaticProperty = (node) => node &&
3014
+ (node.type === 'ObjectProperty' || node.type === 'ObjectMethod') &&
3015
+ !node.computed;
3016
+ const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
3017
+
2915
3018
  // these keywords should not appear inside expressions, but operators like
2916
3019
  // typeof, instanceof and in are allowed
2917
3020
  const prohibitedKeywordRE = new RegExp('\\b' +
@@ -4130,7 +4233,10 @@ var VueCompilerDOM = (function (exports) {
4130
4233
  !isStaticExp(styleProp.value) &&
4131
4234
  // the static style is compiled into an object,
4132
4235
  // so use `hasStyleBinding` to ensure that it is a dynamic style binding
4133
- hasStyleBinding) {
4236
+ (hasStyleBinding ||
4237
+ // v-bind:style and style both exist,
4238
+ // v-bind:style with static literal object
4239
+ styleProp.value.type === 17 /* JS_ARRAY_EXPRESSION */)) {
4134
4240
  styleProp.value = createCallExpression(context.helper(NORMALIZE_STYLE), [styleProp.value]);
4135
4241
  }
4136
4242
  }
@@ -5410,6 +5516,7 @@ var VueCompilerDOM = (function (exports) {
5410
5516
  exports.createTemplateLiteral = createTemplateLiteral;
5411
5517
  exports.createTransformContext = createTransformContext;
5412
5518
  exports.createVNodeCall = createVNodeCall;
5519
+ exports.extractIdentifiers = extractIdentifiers;
5413
5520
  exports.findDir = findDir;
5414
5521
  exports.findProp = findProp;
5415
5522
  exports.generate = generate;
@@ -5426,10 +5533,15 @@ var VueCompilerDOM = (function (exports) {
5426
5533
  exports.isBindKey = isBindKey;
5427
5534
  exports.isBuiltInType = isBuiltInType;
5428
5535
  exports.isCoreComponent = isCoreComponent;
5536
+ exports.isFunctionType = isFunctionType;
5537
+ exports.isInDestructureAssignment = isInDestructureAssignment;
5429
5538
  exports.isMemberExpression = isMemberExpression;
5539
+ exports.isReferencedIdentifier = isReferencedIdentifier;
5430
5540
  exports.isSimpleIdentifier = isSimpleIdentifier;
5431
5541
  exports.isSlotOutlet = isSlotOutlet;
5432
5542
  exports.isStaticExp = isStaticExp;
5543
+ exports.isStaticProperty = isStaticProperty;
5544
+ exports.isStaticPropertyKey = isStaticPropertyKey;
5433
5545
  exports.isTemplateNode = isTemplateNode;
5434
5546
  exports.isText = isText;
5435
5547
  exports.isVSlot = isVSlot;
@@ -5455,6 +5567,9 @@ var VueCompilerDOM = (function (exports) {
5455
5567
  exports.transformOn = transformOn;
5456
5568
  exports.transformStyle = transformStyle;
5457
5569
  exports.traverseNode = traverseNode;
5570
+ exports.walkBlockDeclarations = walkBlockDeclarations;
5571
+ exports.walkFunctionParams = walkFunctionParams;
5572
+ exports.walkIdentifiers = walkIdentifiers;
5458
5573
  exports.warnDeprecation = warnDeprecation;
5459
5574
 
5460
5575
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -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=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,S=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),b=/\B([A-Z])/g,E=y((e=>e.replace(b,"-$1").toLowerCase())),_=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${_(e)}`:""));function T(e){throw e}function x(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const C=Symbol(""),k=Symbol(""),I=Symbol(""),R=Symbol(""),M=Symbol(""),P=Symbol(""),w=Symbol(""),L=Symbol(""),$=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),H=Symbol(""),j=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",[k]:"Teleport",[I]:"Suspense",[R]:"KeepAlive",[M]:"BaseTransition",[P]:"openBlock",[w]:"createBlock",[L]:"createElementBlock",[$]:"createVNode",[V]:"createElementVNode",[A]:"createCommentVNode",[D]:"createTextVNode",[B]:"createStaticVNode",[F]:"resolveComponent",[H]:"resolveDynamicComponent",[j]:"resolveDirective",[W]:"resolveFilter",[K]:"withDirectives",[U]:"renderList",[J]:"renderSlot",[G]:"createSlots",[z]:"toDisplayString",[Y]:"mergeProps",[q]:"normalizeClass",[Z]:"normalizeStyle",[X]:"normalizeProps",[Q]:"guardReactiveProps",[ee]:"toHandlers",[te]:"camelize",[ne]:"capitalize",[oe]:"toHandlerKey",[re]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[ce]:"withScopeId",[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(Ye(e.inSSR,a))):e.helper(ze(e.inSSR,a)),i&&e.helper(K)),{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:d(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 _e(e,t=me){return{type:8,loc:t,children:e}}function Ne(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 xe(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 Ce(e){return{type:21,body:e,loc:me}}const ke=e=>4===e.type&&e.isStatic,Ie=(e,t)=>e===t||e===E(t);function Re(e){return Ie(e,"Teleport")?k:Ie(e,"Suspense")?I:Ie(e,"KeepAlive")?R:Ie(e,"BaseTransition")?M:void 0}const Me=/^\d|[^\$\w]/,Pe=e=>!Me.test(e),we=/[A-Za-z_$\xA0-\uFFFF]/,Le=/[\.\?\w$\xA0-\uFFFF]/,$e=/\s+[.[]\s*|\s*[.[]\s+/g,Ve=e=>{e=e.trim().replace($e,(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: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};function Ae(e,t,n){const o={source:e.source.substr(t,n),start:De(e.start,e.source,t),end:e.end};return null!=n&&(o.end=De(e.start,e.source,t+n)),o}function De(e,t,n=t.length){return Be(u({},e),t,n)}function Be(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 Fe(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)&&(d(t)?r.name===t:t.test(r.name)))return r}}function He(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&je(s.arg,t))return s}}function je(e,t){return!(!e||!ke(e)||e.content!==t)}function We(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ke(e){return 5===e.type||2===e.type}function Ue(e){return 7===e.type&&"slot"===e.name}function Je(e){return 1===e.type&&3===e.tagType}function Ge(e){return 1===e.type&&2===e.tagType}function ze(e,t){return e||t?$:V}function Ye(e,t){return e||t?w:L}const qe=new Set([X,Q]);function Ze(e,t=[]){if(e&&!d(e)&&14===e.type){const n=e.callee;if(!d(n)&&qe.has(n))return Ze(e.arguments[0],t.concat(e))}return[e,t]}function Xe(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!d(s)&&14===s.type){const e=Ze(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||d(s))o=Se([t]);else if(14===s.type){const e=s.arguments[0];d(e)||15!==e.type?s.callee===ee?o=Ne(n.helper(Y),[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=Ne(n.helper(Y),[Se([t]),s]),r&&r.callee===Q&&(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 Qe(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function et(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function tt(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ze(o,e.isComponent)),t(P),t(Ye(o,e.isComponent)))}const nt={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_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.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 ot(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function rt(e,t){const n=ot("MODE",t),o=ot(e,t);return 3===n?!0===o:!1!==o}function st(e,t,n,...o){return rt(e,t)}const it=/&(gt|lt|amp|apos|quot);/g,ct={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},lt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(it,((e,t)=>ct[t])),onError:T,onWarn:x,comments:!1};function at(e,t={}){const n=function(e,t){const n=u({},lt);let o;for(o in t)n[o]=void 0===t[o]?lt[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=Nt(n);return ge(pt(n,0,[]),Tt(n,o))}function pt(e,t,n){const o=xt(n),r=o?o.ns:0,s=[];for(;!Rt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Ot(i,e.options.delimiters[0]))c=bt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Ot(i,"\x3c!--")?dt(e):Ot(i,"<!DOCTYPE")?ht(e):Ot(i,"<![CDATA[")&&0!==r?ft(e,n):ht(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Ct(e,3);continue}if(/[a-z]/i.test(i[2])){yt(e,1,o);continue}c=ht(e)}else/[a-z]/i.test(i[1])?(c=mt(e,n),rt("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&gt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=ht(e));if(c||(c=Et(e,t)),f(c))for(let e=0;e<c.length;e++)ut(s,c[e]);else ut(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 ut(e,t){if(2===t.type){const n=xt(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 ft(e,t){Ct(e,9);const n=pt(e,3,t);return 0===e.source.length||Ct(e,3),n}function dt(e){const t=Nt(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));)Ct(e,s-r+1),r=s+1;Ct(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Ct(e,e.source.length);return{type:3,content:n,loc:Tt(e,t)}}function ht(e){const t=Nt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Ct(e,e.source.length)):(o=e.source.slice(n,r),Ct(e,r+1)),{type:3,content:o,loc:Tt(e,t)}}function mt(e,t){const n=e.inPre,o=e.inVPre,r=xt(t),s=yt(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=pt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&st("COMPILER_INLINE_TEMPLATE",e)){const n=Tt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Mt(e.source,s.tag))yt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ot(e.loc.source,"\x3c!--")}return s.loc=Tt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const gt=t("if,else,else-if,for,slot");function yt(e,t,n){const o=Nt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Ct(e,r[0].length),kt(e);const c=Nt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=vt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=vt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Ot(e.source,"/>"),Ct(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?a.some((e=>7===e.type&&gt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||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(st("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&je(e.arg,"is")&&st("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:Tt(e,o),codegenNode:void 0}}function vt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ot(e.source,">")&&!Ot(e.source,"/>");){if(Ot(e.source,"/")){Ct(e,1),kt(e);continue}const r=St(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),kt(e)}return n}function St(e,t){const n=Nt(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;Ct(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(kt(e),Ct(e,1),kt(e),r=function(e){const t=Nt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Ct(e,1);const t=e.source.indexOf(o);-1===t?n=_t(e,e.source.length,4):(n=_t(e,t,4),Ct(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=_t(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Tt(e,t)}}(e));const s=Tt(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Ot(o,"."),l=t[1]||(c||Ot(o,":")?"bind":Ot(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Tt(e,It(e,n,s),It(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):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=De(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&st("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{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Nt(e);Ct(e,n.length);const i=Nt(e),c=Nt(e),l=r-n.length,a=e.source.slice(0,l),p=_t(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Be(i,a,f);return Be(c,a,l-(p.length-u.length-f)),Ct(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Tt(e,i,c)},loc:Tt(e,s)}}function Et(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");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=Nt(e);return{type:2,content:_t(e,o,t),loc:Tt(e,r)}}function _t(e,t,n){const o=e.source.slice(0,t);return Ct(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Nt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Tt(e,t,n){return{start:t,end:n=n||Nt(e),source:e.originalSource.slice(t.offset,n.offset)}}function xt(e){return e[e.length-1]}function Ot(e,t){return e.startsWith(t)}function Ct(e,t){const{source:n}=e;Be(e,n,t),e.source=n.slice(t)}function kt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ct(e,t[0].length)}function It(e,t,n){return De(t,e.originalSource.slice(t.offset,n),n)}function Rt(e,t,n){const o=e.source;switch(t){case 0:if(Ot(o,"</"))for(let e=n.length-1;e>=0;--e)if(Mt(o,n[e].tag))return!0;break;case 1:case 2:{const e=xt(n);if(e&&Mt(o,e.tag))return!0;break}case 3:if(Ot(o,"]]>"))return!0}return!o}function Mt(e,t){return Ot(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Pt(e,t){Lt(e,t,wt(e,e.children[0]))}function wt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ge(t)}function Lt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:$t(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Ft(n);if((!o||512===o||1===o)&&Dt(e,t)>=2){const o=Bt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=$t(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Lt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Lt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Lt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&f(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function $t(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(Ft(r))return n.set(e,0),0;{let o=3;const s=Dt(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=$t(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=$t(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(P),t.removeHelper(Ye(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:return 0;case 5:case 12:return $t(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(d(o)||h(o))continue;const r=$t(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Vt=new Set([q,Z,X,Q]);function At(e,t){if(14===e.type&&!d(e.callee)&&Vt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return $t(n,t);if(14===n.type)return At(n,t)}return 0}function Dt(e,t){let n=3;const o=Bt(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=$t(r,t);if(0===i)return i;if(i<n&&(n=i),4!==s.type)return 14===s.type?At(s,t):0;const c=$t(s,t);if(0===c)return c;c<n&&(n=c)}}return n}function Bt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ft(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Ht(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:h=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=c,inline:E=!1,isTS:N=!1,onError:O=T,onWarn:C=x,compatConfig:k}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),R={selfName:I&&_(S(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:h,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:E,isTS:N,onError:O,onWarn:C,compatConfig:k,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=R.helpers.get(e)||0;return R.helpers.set(e,t+1),e},removeHelper(e){const t=R.helpers.get(e);if(t){const n=t-1;n?R.helpers.set(e,n):R.helpers.delete(e)}},helperString:e=>`_${de[R.helper(e)]}`,replaceNode(e){R.parent.children[R.childIndex]=R.currentNode=e},removeNode(e){const t=e?R.parent.children.indexOf(e):R.currentNode?R.childIndex:-1;e&&e!==R.currentNode?R.childIndex>t&&(R.childIndex--,R.onNodeRemoved()):(R.currentNode=null,R.onNodeRemoved()),R.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){d(e)&&(e=Ee(e)),R.hoists.push(e);const t=Ee(`_hoisted_${R.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe(R.cached++,e,t)};return R.filters=new Set,R}function jt(e,t){const n=Ht(e,t);Wt(e,n),t.hoistStatic&&Pt(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&&tt(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 Wt(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&&(f(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(z);break;case 9:for(let n=0;n<e.branches.length;n++)Wt(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];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Wt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Kt(e,t){const n=d(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(Ue))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 Ut="/*#__PURE__*/";function Jt(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",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,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){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(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].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(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),qt(e,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&&(Gt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Gt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Gt(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 Gt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?F:j);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 ${Qe(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(),Yt(e,t,n),n&&t.deindent(),t.push("]")}function Yt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?zt(c,t):qt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function qt(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:qt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Zt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ut);n(`${o(z)}(`),qt(e.content,t),n(")")}(e,t);break;case 12:qt(e.codegenNode,t);break;case 8:Xt(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ut);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(K)+"(");u&&n(`(${o(P)}(${f?"true":""}), `);r&&n(Ut);const h=u?Ye(t.inSSR,d):ze(t.inSSR,d);n(o(h)+"(",e),Yt(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=d(e.callee)?e.callee:o(e.callee);r&&n(Ut);n(s+"(",e),Yt(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];Qt(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(`_${de[le]}(`);n("(",e),f(s)?Yt(s,t):s&&qt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(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=!Pe(n.content);e&&i("("),Zt(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(re)}(-1),`),i());n(`_cache[${e.index}] = `),qt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(re)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Yt(e.body,t,!0,!1)}}function Zt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Xt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):qt(o,t)}}function Qt(e,t){const{push:n}=t;if(8===e.type)n("["),Xt(e,t),n("]");else if(e.isStatic){n(Pe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function en(e,t,n=!1,o=!1){return e}const tn=Kt(/^(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=rn(t,i,n);else{(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)).alternate=rn(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=Ee("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=on(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=on(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Wt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function on(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Fe(e,"for")?[e]:e.children,userKey:He(e,"key")}}function rn(e,t,n){return e.condition?xe(e.condition,sn(e,t,n),Ne(n.helper(A),['""',"true"])):sn(e,t,n)}function sn(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 Xe(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=et(e);return 13===t.type&&tt(t,n),Xe(t,r,n),e}}const cn=Kt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return ln(e,t,n,(t=>{const s=Ne(o(U),[t.source]),i=Fe(e,"memo"),c=He(e,"key"),l=c&&(6===c.type?Ee(c.value.content,!0):c.exp),a=c?be("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=ye(n,o(C),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=Je(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=Ge(e)?e:u&&1===e.children.length&&Ge(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&Xe(c,a,n)):d?c=ye(n,o(C),a?Se([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&Xe(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(P),r(Ye(n.inSSR,c.isComponent))):r(ze(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(P),o(Ye(n.inSSR,c.isComponent))):o(ze(n.inSSR,c.isComponent))),i){const e=Te(hn(t.parseResult,[Ee("_cached")]));e.body=Ce([_e(["const _memo = (",i.exp,")"]),_e(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),_e(["const _item = ",c]),Ee("_item.memo = _memo"),Ee("return _item")]),s.arguments.push(e,Ee("_cache"),Ee(String(n.cached++)))}else s.arguments.push(Te(hn(t.parseResult),c,!0))}}))}));function ln(e,t,n,o){if(!t.exp)return;const r=fn(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:Je(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const an=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,pn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,un=/^\(|\)$/g;function fn(e,t){const n=e.loc,o=e.content,r=o.match(an);if(!r)return;const[,s,i]=r,c={source:dn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(un,"").trim();const a=s.indexOf(l),p=l.match(pn);if(p){l=l.replace(pn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=dn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=dn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=dn(n,l,a)),c}function dn(e,t,n){return Ee(t,!1,Ae(e,n,t.length))}function hn({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 mn=Ee("undefined",!1),gn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Fe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},yn=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function vn(e,t,n=yn){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Fe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!ke(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(!Je(e)||!(r=Fe(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;ke(g)?v=g?g.content:"default":c=!0;const S=n(y,d,h);let b,E,_;if(b=Fe(e,"if"))c=!0,i.push(xe(b.exp,Sn(g,S),mn));else if(E=Fe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Je(e)&&Fe(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?xe(E.exp,Sn(g,S),mn):Sn(g,S)}}else if(_=Fe(e,"for")){c=!0;const e=_.parseResult||fn(_.exp);e&&i.push(Ne(t.helper(U),[e.source,Te(hn(e),Sn(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=>En(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:bn(e.children)?3:1;let h=Se(s.concat(be("_",Ee(d+"",!1))),r);return i.length&&(h=Ne(t.helper(G),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function Sn(e,t){return Se([be("name",e),be("fn",t)])}function bn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||bn(n.children))return!0;break;case 9:if(bn(n.branches))return!0;break;case 10:case 11:if(bn(n.children))return!0}}return!1}function En(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():En(e.content))}const _n=new WeakMap,Nn=(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?Tn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===H||s===k||s===I||!r&&("svg"===n||"foreignObject"===n||He(e,"key",!0));if(o.length>0){const n=xn(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=_n.get(e);o?n.push(t.helperString(o)):(t.helper(j),t.directives.add(e.name),n.push(Qe(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}if(e.children.length>0){s===R&&(d=!0,f|=1024);if(r&&s!==k&&s!==R){const{slots:n,hasDynamicSlots:o}=vn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==k){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===$t(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 Tn(e,t,n=!1){let{tag:o}=e;const r=kn(o),s=He(e,"is");if(s)if(r||rt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ee(s.value.content,!0):s.exp;if(e)return Ne(t.helper(H),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Fe(e,"is");if(i&&i.exp)return Ne(t.helper(H),[i.exp]);const c=Re(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(F),t.components.add(o),Qe(o,"component"))}function xn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,S=!1;const b=[],E=({key:e,value:n})=>{if(ke(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(S=!0),20===n.type||(4===n.type||8===n.type)&&$t(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?m=!0:"key"===o||b.includes(o)||b.push(o),!i||"class"!==o&&"style"!==o||b.includes(o)||b.push(o)}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(f=!0),"is"===n&&(kn(r)||o&&o.content.startsWith("vue:")||rt("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(be(Ee(n,!0,Ae(e,0,n.length)),Ee(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&je(p,"is")&&(kn(r)||rt("COMPILER_IS_ON_ELEMENT",t)))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(Se(On(c),s)),c=[]),d){if(rt("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ee),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(E),c.push(...n),r&&(a.push(i),h(r)&&_n.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&st("COMPILER_V_FOR_REF",t)&&c.push(be(Ee("refInFor",!0),Ee("true",!1)))}let _;if(l.length?(c.length&&l.push(Se(On(c),s)),_=l.length>1?Ne(t.helper(Y),l,s):l[0]):c.length&&(_=Se(On(c),s)),v?u|=16:(d&&!i&&(u|=2),m&&!i&&(u|=4),b.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||S||a.length>0)||(u|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<_.properties.length;t++){const r=_.properties[t].key;ke(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=_.properties[e],s=_.properties[n];o?_=Ne(t.helper(X),[_]):(r&&!ke(r.value)&&(r.value=Ne(t.helper(q),[r.value])),s&&!ke(s.value)&&m&&(s.value=Ne(t.helper(Z),[s.value])));break;case 14:break;default:_=Ne(t.helper(X),[Ne(t.helper(Q),[_])])}return{props:_,directives:a,patchFlag:u,dynamicPropNames:b}}function On(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||s.startsWith("on"))&&Cn(i,r):(t.set(s,r),n.push(r))}return n}function Cn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function kn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const In=(e,t)=>{if(Ge(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Rn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Te([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Ne(t.helper(J),i,o)}};function Rn(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&&je(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&ke(t.arg)&&(t.arg.content=S(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=xn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Mn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Pn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=Ee(N(S(i.content)),!0,i.loc)}else c=_e([`${n.helperString(oe)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(oe)}(`),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=Ve(l.content),t=!(e||Mn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${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},wn=(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(te)}(${i.content})`:(i.children.unshift(`${n.helperString(te)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Ln(i,"."),r.includes("attr")&&Ln(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[be(i,Ee("",!0,s))]}:{props:[be(i,o)]}},Ln=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},$n=(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(Ke(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ke(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(Ke(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==$t(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Ne(t.helper(D),r)}}}}},Vn=new WeakSet,An=(e,t)=>{if(1===e.type&&Fe(e,"once",!0)){if(Vn.has(e)||t.inVOnce)return;return Vn.add(e),t.inVOnce=!0,t.helper(re),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Dn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Bn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Ve(i))return Bn();const c=r||Ee("modelValue",!0),l=r?ke(r)?`onUpdate:${r.content}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=_e([`${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?ke(r)?`${r.content}Modifiers`:_e([r,' + "Modifiers"']):"modelModifiers";p.push(be(n,Ee(`{ ${t} }`,!1,e.loc,2)))}return Bn(p)};function Bn(e=[]){return{props:e}}const Fn=/[\w).+\-_$\]]/,Hn=(e,t)=>{rt("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)Wn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Wn(o,t):8===o.type?jn(e,t):5===o.type&&jn(o.content,t))}}function Wn(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&&Fn.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=Kn(i,m[s],t);e.content=i}}function Kn(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${Qe(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${Qe(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Un=new WeakSet,Jn=(e,t)=>{if(1===e.type){const n=Fe(e,"memo");if(!n||Un.has(e))return;return Un.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&tt(o,t),e.codegenNode=Ne(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function Gn(e){return[[An,tn,Jn,cn,Hn,In,Nn,gn,$n],{on:Pn,bind:wn,model:Dn}]}function zn(e,t={}){const n=t.onError||T,o="module"===t.mode;!0===t.prefixIdentifiers?n(O(45)):o&&n(O(46));t.cacheHandlers&&n(O(47)),t.scopeId&&!o&&n(O(48));const r=d(e)?at(e,t):e,[s,i]=Gn();return jt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),Jt(r,u({},t,{prefixIdentifiers:false}))}const Yn=()=>({props:[]}),qn=Symbol(""),Zn=Symbol(""),Xn=Symbol(""),Qn=Symbol(""),eo=Symbol(""),to=Symbol(""),no=Symbol(""),oo=Symbol(""),ro=Symbol(""),so=Symbol("");let io;he({[qn]:"vModelRadio",[Zn]:"vModelCheckbox",[Xn]:"vModelText",[Qn]:"vModelSelect",[eo]:"vModelDynamic",[to]:"withModifiers",[no]:"withKeys",[oo]:"vShow",[ro]:"Transition",[so]:"TransitionGroup"});const co=t("style,iframe,script,noscript",!0),lo={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return io||(io=document.createElement("div")),t?(io.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,io.children[0].getAttribute("foo")):(io.innerHTML=e,io.textContent)},isBuiltInComponent:e=>Ie(e,"Transition")?ro:Ie(e,"TransitionGroup")?so:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(co(e))return 2}return 0}},ao=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:po(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},po=(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 uo(e,t){return O(e,t)}const fo=t("passive,once,capture"),ho=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),mo=t("left,right"),go=t("onkeyup,onkeydown,onkeypress",!0),yo=(e,t)=>ke(e)&&"onclick"===e.content.toLowerCase()?Ee(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,vo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},So=[ao],bo={cloak:Yn,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?Ne(n.helperString(z),[o],r):Ee("",!0))]}},model:(e,t,n)=>{const o=Dn(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=Xn,i=!1;if("input"===r||s){const n=He(t,"type");if(n){if(7===n.type)e=eo;else if(n.value)switch(n.value.content){case"radio":e=qn;break;case"checkbox":e=Zn;break;case"file":i=!0}}else We(t)&&(e=eo)}else"select"===r&&(e=Qn);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)=>Pn(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&&st("COMPILER_V_ON_NATIVE",n)||fo(o)?i.push(o):mo(o)?ke(e)?go(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):ho(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=yo(r,"onContextmenu")),c.includes("middle")&&(r=yo(r,"onMouseup")),c.length&&(s=Ne(n.helper(to),[s,JSON.stringify(c)])),!i.length||ke(r)&&!go(r.content)||(s=Ne(n.helper(no),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=ke(r)?Ee(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[be(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(oo)})};return e.BASE_TRANSITION=M,e.CAMELIZE=te,e.CAPITALIZE=ne,e.CREATE_BLOCK=w,e.CREATE_COMMENT=A,e.CREATE_ELEMENT_BLOCK=L,e.CREATE_ELEMENT_VNODE=V,e.CREATE_SLOTS=G,e.CREATE_STATIC=B,e.CREATE_TEXT=D,e.CREATE_VNODE=$,e.DOMDirectiveTransforms=bo,e.DOMNodeTransforms=So,e.FRAGMENT=C,e.GUARD_REACTIVE_PROPS=Q,e.IS_MEMO_SAME=fe,e.IS_REF=pe,e.KEEP_ALIVE=R,e.MERGE_PROPS=Y,e.NORMALIZE_CLASS=q,e.NORMALIZE_PROPS=X,e.NORMALIZE_STYLE=Z,e.OPEN_BLOCK=P,e.POP_SCOPE_ID=ie,e.PUSH_SCOPE_ID=se,e.RENDER_LIST=U,e.RENDER_SLOT=J,e.RESOLVE_COMPONENT=F,e.RESOLVE_DIRECTIVE=j,e.RESOLVE_DYNAMIC_COMPONENT=H,e.RESOLVE_FILTER=W,e.SET_BLOCK_TRACKING=re,e.SUSPENSE=I,e.TELEPORT=k,e.TO_DISPLAY_STRING=z,e.TO_HANDLERS=ee,e.TO_HANDLER_KEY=oe,e.TRANSITION=ro,e.TRANSITION_GROUP=so,e.UNREF=ae,e.V_MODEL_CHECKBOX=Zn,e.V_MODEL_DYNAMIC=eo,e.V_MODEL_RADIO=qn,e.V_MODEL_SELECT=Qn,e.V_MODEL_TEXT=Xn,e.V_ON_WITH_KEYS=no,e.V_ON_WITH_MODIFIERS=to,e.V_SHOW=oo,e.WITH_CTX=le,e.WITH_DIRECTIVES=K,e.WITH_MEMO=ue,e.WITH_SCOPE_ID=ce,e.advancePositionWithClone=De,e.advancePositionWithMutation=Be,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=zn,e.baseParse=at,e.buildProps=xn,e.buildSlots=vn,e.checkCompatEnabled=st,e.compile=function(e,t={}){return zn(e,u({},lo,t,{nodeTransforms:[vo,...So,...t.nodeTransforms||[]],directiveTransforms:u({},bo,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=ve,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:me}},e.createBlockStatement=Ce,e.createCacheExpression=Oe,e.createCallExpression=Ne,e.createCompilerError=O,e.createCompoundExpression=_e,e.createConditionalExpression=xe,e.createDOMCompilerError=uo,e.createForLoopParams=hn,e.createFunctionExpression=Te,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:d(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=Kt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:me}},e.createTransformContext=Ht,e.createVNodeCall=ye,e.findDir=Fe,e.findProp=He,e.generate=Jt,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=Gn,e.getInnerRange=Ae,e.getMemoedVNodeCall=et,e.getVNodeBlockHelper=Ye,e.getVNodeHelper=ze,e.hasDynamicKeyVBind=We,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=>m(t)&&e(t,n)));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=de,e.injectProp=Xe,e.isBindKey=je,e.isBuiltInType=Ie,e.isCoreComponent=Re,e.isMemberExpression=Ve,e.isSimpleIdentifier=Pe,e.isSlotOutlet=Ge,e.isStaticExp=ke,e.isTemplateNode=Je,e.isText=Ke,e.isVSlot=Ue,e.locStub=me,e.makeBlock=tt,e.noopDirectiveTransform=Yn,e.parse=function(e,t={}){return at(e,u({},lo,t))},e.parserOptions=lo,e.processExpression=en,e.processFor=ln,e.processIf=nn,e.processSlotOutlet=Rn,e.registerRuntimeHelpers=he,e.resolveComponentType=Tn,e.toValidAssetId=Qe,e.trackSlotScopes=gn,e.trackVForSlotScopes=(e,t)=>{let n;if(Je(e)&&e.props.some(Ue)&&(n=Fe(e,"for"))){const e=n.parseResult=fn(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=jt,e.transformBind=wn,e.transformElement=Nn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=en(e.content);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=en(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=en(n))}}},e.transformModel=Dn,e.transformOn=Pn,e.transformStyle=ao,e.traverseNode=Wt,e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===ot(e,t))return;const{message:r,link:s}=nt[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=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,S=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),b=/\B([A-Z])/g,E=y((e=>e.replace(b,"-$1").toLowerCase())),_=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${_(e)}`:""));function T(e){throw e}function x(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const k=Symbol(""),C=Symbol(""),I=Symbol(""),R=Symbol(""),M=Symbol(""),P=Symbol(""),w=Symbol(""),L=Symbol(""),$=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={[k]:"Fragment",[C]:"Teleport",[I]:"Suspense",[R]:"KeepAlive",[M]:"BaseTransition",[P]:"openBlock",[w]:"createBlock",[L]:"createElementBlock",[$]:"createVNode",[V]:"createElementVNode",[A]:"createCommentVNode",[D]:"createTextVNode",[B]:"createStaticVNode",[F]:"resolveComponent",[j]:"resolveDynamicComponent",[H]:"resolveDirective",[W]:"resolveFilter",[K]:"withDirectives",[U]:"renderList",[J]:"renderSlot",[G]:"createSlots",[z]:"toDisplayString",[Y]:"mergeProps",[q]:"normalizeClass",[Z]:"normalizeStyle",[X]:"normalizeProps",[Q]:"guardReactiveProps",[ee]:"toHandlers",[te]:"camelize",[ne]:"capitalize",[oe]:"toHandlerKey",[re]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[ce]:"withScopeId",[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(Ye(e.inSSR,a))):e.helper(ze(e.inSSR,a)),i&&e.helper(K)),{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:d(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 _e(e,t=me){return{type:8,loc:t,children:e}}function Ne(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 xe(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===E(t);function Re(e){return Ie(e,"Teleport")?C:Ie(e,"Suspense")?I:Ie(e,"KeepAlive")?R:Ie(e,"BaseTransition")?M:void 0}const Me=/^\d|[^\$\w]/,Pe=e=>!Me.test(e),we=/[A-Za-z_$\xA0-\uFFFF]/,Le=/[\.\?\w$\xA0-\uFFFF]/,$e=/\s+[.[]\s*|\s*[.[]\s+/g,Ve=e=>{e=e.trim().replace($e,(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: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};function Ae(e,t,n){const o={source:e.source.substr(t,n),start:De(e.start,e.source,t),end:e.end};return null!=n&&(o.end=De(e.start,e.source,t+n)),o}function De(e,t,n=t.length){return Be(u({},e),t,n)}function Be(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 Fe(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)&&(d(t)?r.name===t:t.test(r.name)))return r}}function je(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)&&He(s.arg,t))return s}}function He(e,t){return!(!e||!Ce(e)||e.content!==t)}function We(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ke(e){return 5===e.type||2===e.type}function Ue(e){return 7===e.type&&"slot"===e.name}function Je(e){return 1===e.type&&3===e.tagType}function Ge(e){return 1===e.type&&2===e.tagType}function ze(e,t){return e||t?$:V}function Ye(e,t){return e||t?w:L}const qe=new Set([X,Q]);function Ze(e,t=[]){if(e&&!d(e)&&14===e.type){const n=e.callee;if(!d(n)&&qe.has(n))return Ze(e.arguments[0],t.concat(e))}return[e,t]}function Xe(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!d(s)&&14===s.type){const e=Ze(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||d(s))o=Se([t]);else if(14===s.type){const e=s.arguments[0];d(e)||15!==e.type?s.callee===ee?o=Ne(n.helper(Y),[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=Ne(n.helper(Y),[Se([t]),s]),r&&r.callee===Q&&(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 Qe(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function et(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function tt(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ze(o,e.isComponent)),t(P),t(Ye(o,e.isComponent)))}const nt={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_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.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 ot(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function rt(e,t){const n=ot("MODE",t),o=ot(e,t);return 3===n?!0===o:!1!==o}function st(e,t,n,...o){return rt(e,t)}const it=/&(gt|lt|amp|apos|quot);/g,ct={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},lt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(it,((e,t)=>ct[t])),onError:T,onWarn:x,comments:!1};function at(e,t={}){const n=function(e,t){const n=u({},lt);let o;for(o in t)n[o]=void 0===t[o]?lt[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=Nt(n);return ge(pt(n,0,[]),Tt(n,o))}function pt(e,t,n){const o=xt(n),r=o?o.ns:0,s=[];for(;!Rt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Ot(i,e.options.delimiters[0]))c=bt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Ot(i,"\x3c!--")?dt(e):Ot(i,"<!DOCTYPE")?ht(e):Ot(i,"<![CDATA[")&&0!==r?ft(e,n):ht(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){kt(e,3);continue}if(/[a-z]/i.test(i[2])){yt(e,1,o);continue}c=ht(e)}else/[a-z]/i.test(i[1])?(c=mt(e,n),rt("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&gt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=ht(e));if(c||(c=Et(e,t)),f(c))for(let e=0;e<c.length;e++)ut(s,c[e]);else ut(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 ut(e,t){if(2===t.type){const n=xt(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 ft(e,t){kt(e,9);const n=pt(e,3,t);return 0===e.source.length||kt(e,3),n}function dt(e){const t=Nt(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));)kt(e,s-r+1),r=s+1;kt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),kt(e,e.source.length);return{type:3,content:n,loc:Tt(e,t)}}function ht(e){const t=Nt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),kt(e,e.source.length)):(o=e.source.slice(n,r),kt(e,r+1)),{type:3,content:o,loc:Tt(e,t)}}function mt(e,t){const n=e.inPre,o=e.inVPre,r=xt(t),s=yt(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=pt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&st("COMPILER_INLINE_TEMPLATE",e)){const n=Tt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Mt(e.source,s.tag))yt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ot(e.loc.source,"\x3c!--")}return s.loc=Tt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const gt=t("if,else,else-if,for,slot");function yt(e,t,n){const o=Nt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);kt(e,r[0].length),Ct(e);const c=Nt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=vt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=vt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Ot(e.source,"/>"),kt(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?a.some((e=>7===e.type&&gt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||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(st("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&He(e.arg,"is")&&st("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:Tt(e,o),codegenNode:void 0}}function vt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ot(e.source,">")&&!Ot(e.source,"/>");){if(Ot(e.source,"/")){kt(e,1),Ct(e);continue}const r=St(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Ct(e)}return n}function St(e,t){const n=Nt(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;kt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Ct(e),kt(e,1),Ct(e),r=function(e){const t=Nt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){kt(e,1);const t=e.source.indexOf(o);-1===t?n=_t(e,e.source.length,4):(n=_t(e,t,4),kt(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=_t(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Tt(e,t)}}(e));const s=Tt(e,n);if(!e.inVPre&&/^(v-|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Ot(o,"."),l=t[1]||(c||Ot(o,":")?"bind":Ot(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Tt(e,It(e,n,s),It(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):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=De(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&st("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{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function bt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Nt(e);kt(e,n.length);const i=Nt(e),c=Nt(e),l=r-n.length,a=e.source.slice(0,l),p=_t(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Be(i,a,f);return Be(c,a,l-(p.length-u.length-f)),kt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Tt(e,i,c)},loc:Tt(e,s)}}function Et(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");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=Nt(e);return{type:2,content:_t(e,o,t),loc:Tt(e,r)}}function _t(e,t,n){const o=e.source.slice(0,t);return kt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Nt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Tt(e,t,n){return{start:t,end:n=n||Nt(e),source:e.originalSource.slice(t.offset,n.offset)}}function xt(e){return e[e.length-1]}function Ot(e,t){return e.startsWith(t)}function kt(e,t){const{source:n}=e;Be(e,n,t),e.source=n.slice(t)}function Ct(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&kt(e,t[0].length)}function It(e,t,n){return De(t,e.originalSource.slice(t.offset,n),n)}function Rt(e,t,n){const o=e.source;switch(t){case 0:if(Ot(o,"</"))for(let e=n.length-1;e>=0;--e)if(Mt(o,n[e].tag))return!0;break;case 1:case 2:{const e=xt(n);if(e&&Mt(o,e.tag))return!0;break}case 3:if(Ot(o,"]]>"))return!0}return!o}function Mt(e,t){return Ot(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Pt(e,t){Lt(e,t,wt(e,e.children[0]))}function wt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ge(t)}function Lt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:$t(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Ft(n);if((!o||512===o||1===o)&&Dt(e,t)>=2){const o=Bt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=$t(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Lt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Lt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Lt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&f(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function $t(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(Ft(r))return n.set(e,0),0;{let o=3;const s=Dt(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=$t(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=$t(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(P),t.removeHelper(Ye(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:return 0;case 5:case 12:return $t(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(d(o)||h(o))continue;const r=$t(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const Vt=new Set([q,Z,X,Q]);function At(e,t){if(14===e.type&&!d(e.callee)&&Vt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return $t(n,t);if(14===n.type)return At(n,t)}return 0}function Dt(e,t){let n=3;const o=Bt(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=$t(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?$t(s,t):14===s.type?At(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Bt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ft(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function jt(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:h=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=c,inline:E=!1,isTS:N=!1,onError:O=T,onWarn:k=x,compatConfig:C}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),R={selfName:I&&_(S(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:h,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:E,isTS:N,onError:O,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=R.helpers.get(e)||0;return R.helpers.set(e,t+1),e},removeHelper(e){const t=R.helpers.get(e);if(t){const n=t-1;n?R.helpers.set(e,n):R.helpers.delete(e)}},helperString:e=>`_${de[R.helper(e)]}`,replaceNode(e){R.parent.children[R.childIndex]=R.currentNode=e},removeNode(e){const t=e?R.parent.children.indexOf(e):R.currentNode?R.childIndex:-1;e&&e!==R.currentNode?R.childIndex>t&&(R.childIndex--,R.onNodeRemoved()):(R.currentNode=null,R.onNodeRemoved()),R.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){d(e)&&(e=Ee(e)),R.hoists.push(e);const t=Ee(`_hoisted_${R.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe(R.cached++,e,t)};return R.filters=new Set,R}function Ht(e,t){const n=jt(e,t);Wt(e,n),t.hoistStatic&&Pt(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&&tt(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(t,n(k),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 Wt(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&&(f(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(z);break;case 9:for(let n=0;n<e.branches.length;n++)Wt(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];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Wt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Kt(e,t){const n=d(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(Ue))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 Ut="/*#__PURE__*/";function Jt(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",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,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){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(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].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(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),qt(e,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&&(Gt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Gt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Gt(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 Gt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?F:H);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 ${Qe(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(),Yt(e,t,n),n&&t.deindent(),t.push("]")}function Yt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?zt(c,t):qt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function qt(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:qt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Zt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ut);n(`${o(z)}(`),qt(e.content,t),n(")")}(e,t);break;case 12:qt(e.codegenNode,t);break;case 8:Xt(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ut);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(K)+"(");u&&n(`(${o(P)}(${f?"true":""}), `);r&&n(Ut);const h=u?Ye(t.inSSR,d):ze(t.inSSR,d);n(o(h)+"(",e),Yt(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=d(e.callee)?e.callee:o(e.callee);r&&n(Ut);n(s+"(",e),Yt(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];Qt(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(`_${de[le]}(`);n("(",e),f(s)?Yt(s,t):s&&qt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(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=!Pe(n.content);e&&i("("),Zt(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(re)}(-1),`),i());n(`_cache[${e.index}] = `),qt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(re)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Yt(e.body,t,!0,!1)}}function Zt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Xt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):qt(o,t)}}function Qt(e,t){const{push:n}=t;if(8===e.type)n("["),Xt(e,t),n("]");else if(e.isStatic){n(Pe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function en(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)en("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&en(e,t)}));break;case"RestElement":en(e.argument,t);break;case"AssignmentPattern":en(e.left,t)}return t}const tn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function nn(e,t,n=!1,o=!1){return e}const on=Kt(/^(if|else|else-if)$/,((e,t,n)=>rn(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=cn(t,i,n);else{(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)).alternate=cn(t,i+e.branches.length-1,n)}}}))));function rn(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=sn(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=sn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Wt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function sn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Fe(e,"for")?[e]:e.children,userKey:je(e,"key")}}function cn(e,t,n){return e.condition?xe(e.condition,ln(e,t,n),Ne(n.helper(A),['""',"true"])):ln(e,t,n)}function ln(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 Xe(e,r,n),e}{let t=64;return ye(n,o(k),Se([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=et(e);return 13===t.type&&tt(t,n),Xe(t,r,n),e}}const an=Kt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return pn(e,t,n,(t=>{const s=Ne(o(U),[t.source]),i=Fe(e,"memo"),c=je(e,"key"),l=c&&(6===c.type?Ee(c.value.content,!0):c.exp),a=c?be("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=ye(n,o(k),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=Je(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=Ge(e)?e:u&&1===e.children.length&&Ge(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&Xe(c,a,n)):d?c=ye(n,o(k),a?Se([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&Xe(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(P),r(Ye(n.inSSR,c.isComponent))):r(ze(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(P),o(Ye(n.inSSR,c.isComponent))):o(ze(n.inSSR,c.isComponent))),i){const e=Te(gn(t.parseResult,[Ee("_cached")]));e.body=ke([_e(["const _memo = (",i.exp,")"]),_e(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),_e(["const _item = ",c]),Ee("_item.memo = _memo"),Ee("return _item")]),s.arguments.push(e,Ee("_cache"),Ee(String(n.cached++)))}else s.arguments.push(Te(gn(t.parseResult),c,!0))}}))}));function pn(e,t,n,o){if(!t.exp)return;const r=hn(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:Je(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const un=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,fn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,dn=/^\(|\)$/g;function hn(e,t){const n=e.loc,o=e.content,r=o.match(un);if(!r)return;const[,s,i]=r,c={source:mn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(dn,"").trim();const a=s.indexOf(l),p=l.match(fn);if(p){l=l.replace(fn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=mn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=mn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=mn(n,l,a)),c}function mn(e,t,n){return Ee(t,!1,Ae(e,n,t.length))}function gn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||Ee("_".repeat(t+1),!1)))}([e,t,n,...o])}const yn=Ee("undefined",!1),vn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Fe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Sn=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function bn(e,t,n=Sn){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Fe(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(!Je(e)||!(r=Fe(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,_;if(b=Fe(e,"if"))c=!0,i.push(xe(b.exp,En(g,S),yn));else if(E=Fe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Je(e)&&Fe(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?xe(E.exp,En(g,S),yn):En(g,S)}}else if(_=Fe(e,"for")){c=!0;const e=_.parseResult||hn(_.exp);e&&i.push(Ne(t.helper(U),[e.source,Te(gn(e),En(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=>Nn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:_n(e.children)?3:1;let h=Se(s.concat(be("_",Ee(d+"",!1))),r);return i.length&&(h=Ne(t.helper(G),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function En(e,t){return Se([be("name",e),be("fn",t)])}function _n(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||_n(n.children))return!0;break;case 9:if(_n(n.branches))return!0;break;case 10:case 11:if(_n(n.children))return!0}}return!1}function Nn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Nn(e.content))}const Tn=new WeakMap,xn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?On(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===j||s===C||s===I||!r&&("svg"===n||"foreignObject"===n||je(e,"key",!0));if(o.length>0){const n=kn(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=Tn.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(Qe(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}if(e.children.length>0){s===R&&(d=!0,f|=1024);if(r&&s!==C&&s!==R){const{slots:n,hasDynamicSlots:o}=bn(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===$t(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 On(e,t,n=!1){let{tag:o}=e;const r=Rn(o),s=je(e,"is");if(s)if(r||rt("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ee(s.value.content,!0):s.exp;if(e)return Ne(t.helper(j),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Fe(e,"is");if(i&&i.exp)return Ne(t.helper(j),[i.exp]);const c=Re(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(F),t.components.add(o),Qe(o,"component"))}function kn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,S=!1;const b=[],E=({key:e,value:n})=>{if(Ce(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(S=!0),20===n.type||(4===n.type||8===n.type)&&$t(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?m=!0:"key"===o||b.includes(o)||b.push(o),!i||"class"!==o&&"style"!==o||b.includes(o)||b.push(o)}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(f=!0),"is"===n&&(Rn(r)||o&&o.content.startsWith("vue:")||rt("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(be(Ee(n,!0,Ae(e,0,n.length)),Ee(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&He(p,"is")&&(Rn(r)||rt("COMPILER_IS_ON_ELEMENT",t)))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(Se(Cn(c),s)),c=[]),d){if(rt("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ee),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(E),c.push(...n),r&&(a.push(i),h(r)&&Tn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&st("COMPILER_V_FOR_REF",t)&&c.push(be(Ee("refInFor",!0),Ee("true",!1)))}let _;if(l.length?(c.length&&l.push(Se(Cn(c),s)),_=l.length>1?Ne(t.helper(Y),l,s):l[0]):c.length&&(_=Se(Cn(c),s)),v?u|=16:(d&&!i&&(u|=2),m&&!i&&(u|=4),b.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||S||a.length>0)||(u|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<_.properties.length;t++){const r=_.properties[t].key;Ce(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=_.properties[e],s=_.properties[n];o?_=Ne(t.helper(X),[_]):(r&&!Ce(r.value)&&(r.value=Ne(t.helper(q),[r.value])),!s||Ce(s.value)||!m&&17!==s.value.type||(s.value=Ne(t.helper(Z),[s.value])));break;case 14:break;default:_=Ne(t.helper(X),[Ne(t.helper(Q),[_])])}return{props:_,directives:a,patchFlag:u,dynamicPropNames:b}}function Cn(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||s.startsWith("on"))&&In(i,r):(t.set(s,r),n.push(r))}return n}function In(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function Rn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Mn=(e,t)=>{if(Ge(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Pn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(Te([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=Ne(t.helper(J),i,o)}};function Pn(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&&He(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Ce(t.arg)&&(t.arg.content=S(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=kn(e,t,r);n=o}return{slotName:o,slotProps:n}}const wn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Ln=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=Ee(N(S(i.content)),!0,i.loc)}else c=_e([`${n.helperString(oe)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(oe)}(`),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=Ve(l.content),t=!(e||wn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${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},$n=(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(te)}(${i.content})`:(i.children.unshift(`${n.helperString(te)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&Vn(i,"."),r.includes("attr")&&Vn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[be(i,Ee("",!0,s))]}:{props:[be(i,o)]}},Vn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},An=(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(Ke(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ke(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(Ke(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==$t(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Ne(t.helper(D),r)}}}}},Dn=new WeakSet,Bn=(e,t)=>{if(1===e.type&&Fe(e,"once",!0)){if(Dn.has(e)||t.inVOnce)return;return Dn.add(e),t.inVOnce=!0,t.helper(re),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Fn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return jn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Ve(i))return jn();const c=r||Ee("modelValue",!0),l=r?Ce(r)?`onUpdate:${r.content}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=_e([`${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`:_e([r,' + "Modifiers"']):"modelModifiers";p.push(be(n,Ee(`{ ${t} }`,!1,e.loc,2)))}return jn(p)};function jn(e=[]){return{props:e}}const Hn=/[\w).+\-_$\]]/,Wn=(e,t)=>{rt("COMPILER_FILTER",t)&&(5===e.type&&Kn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Kn(e.exp,t)})))};function Kn(e,t){if(4===e.type)Un(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Un(o,t):8===o.type?Kn(e,t):5===o.type&&Kn(o.content,t))}}function Un(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&&Hn.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=Jn(i,m[s],t);e.content=i}}function Jn(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${Qe(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${Qe(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Gn=new WeakSet,zn=(e,t)=>{if(1===e.type){const n=Fe(e,"memo");if(!n||Gn.has(e))return;return Gn.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&tt(o,t),e.codegenNode=Ne(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function Yn(e){return[[Bn,on,zn,an,Wn,Mn,xn,vn,An],{on:Ln,bind:$n,model:Fn}]}function qn(e,t={}){const n=t.onError||T,o="module"===t.mode;!0===t.prefixIdentifiers?n(O(45)):o&&n(O(46));t.cacheHandlers&&n(O(47)),t.scopeId&&!o&&n(O(48));const r=d(e)?at(e,t):e,[s,i]=Yn();return Ht(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),Jt(r,u({},t,{prefixIdentifiers:false}))}const Zn=()=>({props:[]}),Xn=Symbol(""),Qn=Symbol(""),eo=Symbol(""),to=Symbol(""),no=Symbol(""),oo=Symbol(""),ro=Symbol(""),so=Symbol(""),io=Symbol(""),co=Symbol("");let lo;he({[Xn]:"vModelRadio",[Qn]:"vModelCheckbox",[eo]:"vModelText",[to]:"vModelSelect",[no]:"vModelDynamic",[oo]:"withModifiers",[ro]:"withKeys",[so]:"vShow",[io]:"Transition",[co]:"TransitionGroup"});const ao=t("style,iframe,script,noscript",!0),po={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return lo||(lo=document.createElement("div")),t?(lo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,lo.children[0].getAttribute("foo")):(lo.innerHTML=e,lo.textContent)},isBuiltInComponent:e=>Ie(e,"Transition")?io:Ie(e,"TransitionGroup")?co: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(ao(e))return 2}return 0}},uo=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Ee("style",!0,t.loc),exp:fo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},fo=(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 ho(e,t){return O(e,t)}const mo=t("passive,once,capture"),go=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),yo=t("left,right"),vo=t("onkeyup,onkeydown,onkeypress",!0),So=(e,t)=>Ce(e)&&"onclick"===e.content.toLowerCase()?Ee(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,bo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Eo=[uo],_o={cloak:Zn,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?Ne(n.helperString(z),[o],r):Ee("",!0))]}},model:(e,t,n)=>{const o=Fn(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=eo,i=!1;if("input"===r||s){const n=je(t,"type");if(n){if(7===n.type)e=no;else if(n.value)switch(n.value.content){case"radio":e=Xn;break;case"checkbox":e=Qn;break;case"file":i=!0}}else We(t)&&(e=no)}else"select"===r&&(e=to);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)=>Ln(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&&st("COMPILER_V_ON_NATIVE",n)||mo(o)?i.push(o):yo(o)?Ce(e)?vo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):go(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=So(r,"onContextmenu")),c.includes("middle")&&(r=So(r,"onMouseup")),c.length&&(s=Ne(n.helper(oo),[s,JSON.stringify(c)])),!i.length||Ce(r)&&!vo(r.content)||(s=Ne(n.helper(ro),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=Ce(r)?Ee(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[be(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(so)})};return e.BASE_TRANSITION=M,e.CAMELIZE=te,e.CAPITALIZE=ne,e.CREATE_BLOCK=w,e.CREATE_COMMENT=A,e.CREATE_ELEMENT_BLOCK=L,e.CREATE_ELEMENT_VNODE=V,e.CREATE_SLOTS=G,e.CREATE_STATIC=B,e.CREATE_TEXT=D,e.CREATE_VNODE=$,e.DOMDirectiveTransforms=_o,e.DOMNodeTransforms=Eo,e.FRAGMENT=k,e.GUARD_REACTIVE_PROPS=Q,e.IS_MEMO_SAME=fe,e.IS_REF=pe,e.KEEP_ALIVE=R,e.MERGE_PROPS=Y,e.NORMALIZE_CLASS=q,e.NORMALIZE_PROPS=X,e.NORMALIZE_STYLE=Z,e.OPEN_BLOCK=P,e.POP_SCOPE_ID=ie,e.PUSH_SCOPE_ID=se,e.RENDER_LIST=U,e.RENDER_SLOT=J,e.RESOLVE_COMPONENT=F,e.RESOLVE_DIRECTIVE=H,e.RESOLVE_DYNAMIC_COMPONENT=j,e.RESOLVE_FILTER=W,e.SET_BLOCK_TRACKING=re,e.SUSPENSE=I,e.TELEPORT=C,e.TO_DISPLAY_STRING=z,e.TO_HANDLERS=ee,e.TO_HANDLER_KEY=oe,e.TRANSITION=io,e.TRANSITION_GROUP=co,e.UNREF=ae,e.V_MODEL_CHECKBOX=Qn,e.V_MODEL_DYNAMIC=no,e.V_MODEL_RADIO=Xn,e.V_MODEL_SELECT=to,e.V_MODEL_TEXT=eo,e.V_ON_WITH_KEYS=ro,e.V_ON_WITH_MODIFIERS=oo,e.V_SHOW=so,e.WITH_CTX=le,e.WITH_DIRECTIVES=K,e.WITH_MEMO=ue,e.WITH_SCOPE_ID=ce,e.advancePositionWithClone=De,e.advancePositionWithMutation=Be,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=qn,e.baseParse=at,e.buildProps=kn,e.buildSlots=bn,e.checkCompatEnabled=st,e.compile=function(e,t={}){return qn(e,u({},po,t,{nodeTransforms:[bo,...Eo,...t.nodeTransforms||[]],directiveTransforms:u({},_o,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=Ne,e.createCompilerError=O,e.createCompoundExpression=_e,e.createConditionalExpression=xe,e.createDOMCompilerError=ho,e.createForLoopParams=gn,e.createFunctionExpression=Te,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:d(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=Kt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:me}},e.createTransformContext=jt,e.createVNodeCall=ye,e.extractIdentifiers=en,e.findDir=Fe,e.findProp=je,e.generate=Jt,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=Yn,e.getInnerRange=Ae,e.getMemoedVNodeCall=et,e.getVNodeBlockHelper=Ye,e.getVNodeHelper=ze,e.hasDynamicKeyVBind=We,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=>m(t)&&e(t,n)));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=de,e.injectProp=Xe,e.isBindKey=He,e.isBuiltInType=Ie,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=Ve,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=Pe,e.isSlotOutlet=Ge,e.isStaticExp=Ce,e.isStaticProperty=tn,e.isStaticPropertyKey=(e,t)=>tn(t)&&t.key===e,e.isTemplateNode=Je,e.isText=Ke,e.isVSlot=Ue,e.locStub=me,e.makeBlock=tt,e.noopDirectiveTransform=Zn,e.parse=function(e,t={}){return at(e,u({},po,t))},e.parserOptions=po,e.processExpression=nn,e.processFor=pn,e.processIf=rn,e.processSlotOutlet=Pn,e.registerRuntimeHelpers=he,e.resolveComponentType=On,e.toValidAssetId=Qe,e.trackSlotScopes=vn,e.trackVForSlotScopes=(e,t)=>{let n;if(Je(e)&&e.props.some(Ue)&&(n=Fe(e,"for"))){const e=n.parseResult=hn(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=Ht,e.transformBind=$n,e.transformElement=xn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=nn(e.content);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=nn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=nn(n))}}},e.transformModel=Fn,e.transformOn=Ln,e.transformStyle=uo,e.traverseNode=Wt,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 en(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 en(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"===ot(e,t))return;const{message:r,link:s}=nt[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.2",
3
+ "version": "3.2.6",
4
4
  "description": "@vue/compiler-dom",
5
5
  "main": "index.js",
6
6
  "module": "dist/compiler-dom.esm-bundler.js",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme",
39
39
  "dependencies": {
40
- "@vue/shared": "3.2.2",
41
- "@vue/compiler-core": "3.2.2"
40
+ "@vue/shared": "3.2.6",
41
+ "@vue/compiler-core": "3.2.6"
42
42
  }
43
43
  }