@vue/compiler-dom
Advanced tools
Comparing version 3.0.0-alpha.11 to 3.0.0-alpha.12
@@ -21,13 +21,13 @@ import { CodegenResult } from '@vue/compiler-core'; | ||
export declare const enum DOMErrorCodes { | ||
X_V_HTML_NO_EXPRESSION = 54, | ||
X_V_HTML_WITH_CHILDREN = 55, | ||
X_V_TEXT_NO_EXPRESSION = 56, | ||
X_V_TEXT_WITH_CHILDREN = 57, | ||
X_V_MODEL_ON_INVALID_ELEMENT = 58, | ||
X_V_MODEL_ARG_ON_ELEMENT = 59, | ||
X_V_MODEL_ON_FILE_INPUT_ELEMENT = 60, | ||
X_V_MODEL_UNNECESSARY_VALUE = 61, | ||
X_V_SHOW_NO_EXPRESSION = 62, | ||
X_TRANSITION_INVALID_CHILDREN = 63, | ||
__EXTEND_POINT__ = 64 | ||
X_V_HTML_NO_EXPRESSION = 47, | ||
X_V_HTML_WITH_CHILDREN = 48, | ||
X_V_TEXT_NO_EXPRESSION = 49, | ||
X_V_TEXT_WITH_CHILDREN = 50, | ||
X_V_MODEL_ON_INVALID_ELEMENT = 51, | ||
X_V_MODEL_ARG_ON_ELEMENT = 52, | ||
X_V_MODEL_ON_FILE_INPUT_ELEMENT = 53, | ||
X_V_MODEL_UNNECESSARY_VALUE = 54, | ||
X_V_SHOW_NO_EXPRESSION = 55, | ||
X_TRANSITION_INVALID_CHILDREN = 56, | ||
__EXTEND_POINT__ = 57 | ||
} | ||
@@ -34,0 +34,0 @@ |
@@ -28,7 +28,14 @@ import { registerRuntimeHelpers, isBuiltInType, createSimpleExpression, createCompilerError, createObjectProperty, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, transformOn as transformOn$1, createCompoundExpression, createCallExpression, createObjectExpression, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core'; | ||
let decoder; | ||
function decodeHtmlBrowser(raw) { | ||
(decoder || (decoder = document.createElement('div'))).innerHTML = raw; | ||
return decoder.textContent; | ||
} | ||
const isRawTextContainer = /*#__PURE__*/ makeMap('style,iframe,script,noscript', true); | ||
const parserOptionsMinimal = { | ||
const parserOptions = { | ||
isVoidTag, | ||
isNativeTag: tag => isHTMLTag(tag) || isSVGTag(tag), | ||
isPreTag: tag => tag === 'pre', | ||
decodeEntities: decodeHtmlBrowser , | ||
isBuiltInComponent: (tag) => { | ||
@@ -135,12 +142,12 @@ if (isBuiltInType(tag, `Transition`)) { | ||
const DOMErrorMessages = { | ||
[54 /* X_V_HTML_NO_EXPRESSION */]: `v-html is missing expression.`, | ||
[55 /* X_V_HTML_WITH_CHILDREN */]: `v-html will override element children.`, | ||
[56 /* X_V_TEXT_NO_EXPRESSION */]: `v-text is missing expression.`, | ||
[57 /* X_V_TEXT_WITH_CHILDREN */]: `v-text will override element children.`, | ||
[58 /* X_V_MODEL_ON_INVALID_ELEMENT */]: `v-model can only be used on <input>, <textarea> and <select> elements.`, | ||
[59 /* X_V_MODEL_ARG_ON_ELEMENT */]: `v-model argument is not supported on plain elements.`, | ||
[60 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot used on file inputs since they are read-only. Use a v-on:change listener instead.`, | ||
[61 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`, | ||
[62 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`, | ||
[63 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.` | ||
[47 /* X_V_HTML_NO_EXPRESSION */]: `v-html is missing expression.`, | ||
[48 /* X_V_HTML_WITH_CHILDREN */]: `v-html will override element children.`, | ||
[49 /* X_V_TEXT_NO_EXPRESSION */]: `v-text is missing expression.`, | ||
[50 /* X_V_TEXT_WITH_CHILDREN */]: `v-text will override element children.`, | ||
[51 /* X_V_MODEL_ON_INVALID_ELEMENT */]: `v-model can only be used on <input>, <textarea> and <select> elements.`, | ||
[52 /* X_V_MODEL_ARG_ON_ELEMENT */]: `v-model argument is not supported on plain elements.`, | ||
[53 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot used on file inputs since they are read-only. Use a v-on:change listener instead.`, | ||
[54 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`, | ||
[55 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`, | ||
[56 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.` | ||
}; | ||
@@ -151,6 +158,6 @@ | ||
if (!exp) { | ||
context.onError(createDOMCompilerError(54 /* X_V_HTML_NO_EXPRESSION */, loc)); | ||
context.onError(createDOMCompilerError(47 /* X_V_HTML_NO_EXPRESSION */, loc)); | ||
} | ||
if (node.children.length) { | ||
context.onError(createDOMCompilerError(55 /* X_V_HTML_WITH_CHILDREN */, loc)); | ||
context.onError(createDOMCompilerError(48 /* X_V_HTML_WITH_CHILDREN */, loc)); | ||
node.children.length = 0; | ||
@@ -168,6 +175,6 @@ } | ||
if (!exp) { | ||
context.onError(createDOMCompilerError(56 /* X_V_TEXT_NO_EXPRESSION */, loc)); | ||
context.onError(createDOMCompilerError(49 /* X_V_TEXT_NO_EXPRESSION */, loc)); | ||
} | ||
if (node.children.length) { | ||
context.onError(createDOMCompilerError(57 /* X_V_TEXT_WITH_CHILDREN */, loc)); | ||
context.onError(createDOMCompilerError(50 /* X_V_TEXT_WITH_CHILDREN */, loc)); | ||
node.children.length = 0; | ||
@@ -189,3 +196,3 @@ } | ||
if (dir.arg) { | ||
context.onError(createDOMCompilerError(59 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc)); | ||
context.onError(createDOMCompilerError(52 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc)); | ||
} | ||
@@ -195,3 +202,3 @@ function checkDuplicatedValue() { | ||
if (value) { | ||
context.onError(createDOMCompilerError(61 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc)); | ||
context.onError(createDOMCompilerError(54 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc)); | ||
} | ||
@@ -220,3 +227,3 @@ } | ||
isInvalidType = true; | ||
context.onError(createDOMCompilerError(60 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc)); | ||
context.onError(createDOMCompilerError(53 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc)); | ||
break; | ||
@@ -254,3 +261,3 @@ default: | ||
else { | ||
context.onError(createDOMCompilerError(58 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc)); | ||
context.onError(createDOMCompilerError(51 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc)); | ||
} | ||
@@ -365,3 +372,3 @@ // native vmodel doesn't need the `modelValue` props since they are also | ||
if (!exp) { | ||
context.onError(createDOMCompilerError(62 /* X_V_SHOW_NO_EXPRESSION */, loc)); | ||
context.onError(createDOMCompilerError(55 /* X_V_SHOW_NO_EXPRESSION */, loc)); | ||
} | ||
@@ -381,3 +388,3 @@ return { | ||
if (node.children.length && hasMultipleChildren(node)) { | ||
context.onError(createDOMCompilerError(63 /* X_TRANSITION_INVALID_CHILDREN */, { | ||
context.onError(createDOMCompilerError(56 /* X_TRANSITION_INVALID_CHILDREN */, { | ||
start: node.children[0].loc.start, | ||
@@ -399,4 +406,2 @@ end: node.children[node.children.length - 1].loc.end, | ||
const parserOptions = parserOptionsMinimal | ||
; | ||
const DOMNodeTransforms = [ | ||
@@ -403,0 +408,0 @@ transformStyle, |
@@ -1,1 +0,1 @@ | ||
function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function o(e,t=0,n=e.length){const o=e.split(/\r?\n/);let s=0;const r=[];for(let e=0;e<o.length;e++)if(s+=o[e].length+1,s>=t){for(let i=e-2;i<=e+2||n>s;i++){if(i<0||i>=o.length)continue;const c=i+1;r.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(s-l)+1,o=Math.max(1,n>s?l-e:n-t);r.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>s){const e=Math.max(Math.min(n-s,l),1);r.push(" | "+"^".repeat(e))}s+=l+1}}break}return r.join("\n")}const s=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),r=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=()=>!1,p=Array.isArray,a=e=>"string"==typeof e,u=e=>"symbol"==typeof e,f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d=/-(\w)/g,h=f(e=>e.replace(d,(e,t)=>t?t.toUpperCase():"")),m=/\B([A-Z])/g,g=f(e=>e.replace(m,"-$1").toLowerCase()),y=f(e=>e.charAt(0).toUpperCase()+e.slice(1));function v(e){throw e}function x(e,t,n,o){const s=new SyntaxError(String(e));return s.code=e,s.loc=t,s}const b=Symbol(""),S=Symbol(""),N=Symbol(""),k=Symbol(""),T=Symbol(""),$=Symbol(""),w=Symbol(""),I=Symbol(""),C=Symbol(""),O=Symbol(""),M=Symbol(""),_=Symbol(""),P=Symbol(""),E=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),R=Symbol(""),V=Symbol(""),F=Symbol(""),D=Symbol(""),j=Symbol(""),H=Symbol(""),G=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),W={[b]:"Fragment",[S]:"Teleport",[N]:"Suspense",[k]:"KeepAlive",[T]:"BaseTransition",[$]:"openBlock",[w]:"createBlock",[I]:"createVNode",[C]:"createCommentVNode",[O]:"createTextVNode",[M]:"createStaticVNode",[_]:"resolveComponent",[P]:"resolveDynamicComponent",[E]:"resolveDirective",[L]:"withDirectives",[A]:"renderList",[B]:"renderSlot",[R]:"createSlots",[V]:"toDisplayString",[F]:"mergeProps",[D]:"toHandlers",[j]:"camelize",[H]:"setBlockTracking",[G]:"pushScopeId",[J]:"popScopeId",[U]:"withScopeId",[z]:"withCtx"};function q(e){Object.getOwnPropertySymbols(e).forEach(t=>{W[t]=e[t]})}const K={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Y(e,t=K){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Z(e,t,n,o,s,r,i,c=!1,l=!1,p=K){return e&&(c?(e.helper($),e.helper(w)):e.helper(I),i&&e.helper(L)),{type:13,tag:t,props:n,children:o,patchFlag:s,dynamicProps:r,directives:i,isBlock:c,isForBlock:l,loc:p}}function Q(e,t=K){return{type:17,loc:t,elements:e}}function X(e,t=K){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:K,key:a(e)?te(e,!0):e,value:t}}function te(e,t,n=K,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function ne(e,t){return{type:5,loc:t,content:a(e)?te(e,!1,t):e}}function oe(e,t=K){return{type:8,loc:t,children:e}}function se(e,t=[],n=K){return{type:14,loc:n,callee:e,arguments:t}}function re(e,t,n=!1,o=!1,s=K){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:s}}function ie(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:K}}function ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:K}}function le(e){return{type:21,body:e,loc:K}}function pe(e){return{type:22,elements:e,loc:K}}function ae(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:K}}function ue(e,t){return{type:24,left:e,right:t,loc:K}}function fe(e){return{type:25,expressions:e,loc:K}}function de(e){return{type:26,returns:e,loc:K}}const he=(e,t)=>e===t||e===g(t);function me(e){return he(e,"Teleport")?S:he(e,"Suspense")?N:he(e,"KeepAlive")?k:he(e,"BaseTransition")?T:void 0}let ge,ye;function ve(e){return window._deps[e]}const xe=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),ge||(ge=ve("@babel/parser").parse),ge(e,t)),be=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),(ye||(ye=ve("estree-walker").walk))(e,t)),Se=/^\d|[^\$\w]/,Ne=e=>!Se.test(e),ke=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Te=e=>ke.test(e);function $e(e,t,n){const o={source:e.source.substr(t,n),start:we(e.start,e.source,t),end:e.end};return null!=n&&(o.end=we(e.start,e.source,t+n)),o}function we(e,t,n=t.length){return Ie({...e},t,n)}function Ie(e,t,n=t.length){let o=0,s=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,s=e);return e.offset+=n,e.line+=o,e.column=-1===s?e.column+n:n-s,e}function Ce(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Oe(e,t,n=!1){for(let o=0;o<e.props.length;o++){const s=e.props[o];if(7===s.type&&(n||s.exp)&&(a(t)?s.name===t:t.test(s.name)))return s}}function Me(e,t,n=!1,o=!1){for(let s=0;s<e.props.length;s++){const r=e.props[s];if(6===r.type){if(n)continue;if(r.name===t&&(r.value||o))return r}else if("bind"===r.name&&r.exp&&_e(r.arg,t))return r}}function _e(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Pe(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Ee(e){return 5===e.type||2===e.type}function Le(e){return 7===e.type&&"slot"===e.name}function Ae(e){return 1===e.type&&3===e.tagType}function Be(e){return 1===e.type&&2===e.tagType}function Re(e,t,n){let o;const s=13===e.type?e.props:e.arguments[2];if(null==s||a(s))o=X([t]);else if(14===s.type){const e=s.arguments[0];a(e)||15!==e.type?s.arguments.unshift(X([t])):e.properties.unshift(t),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=se(n.helper(F),[X([t]),s]);13===e.type?e.props=o:e.arguments[2]=o}function Ve(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Fe(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&&(Fe(o.arg,t)||Fe(o.exp,t)))return!0}return e.children.some(e=>Fe(e,t));case 11:return!!Fe(e.source,t)||e.children.some(e=>Fe(e,t));case 9:return e.branches.some(e=>Fe(e,t));case 10:return!!Fe(e.condition,t)||e.children.some(e=>Fe(e,t));case 4:return!e.isStatic&&Ne(e.content)&&!!t[e.content];case 8:return e.children.some(e=>{return null!==(n=e)&&"object"==typeof n&&Fe(e,t);var n});case 5:case 12:return Fe(e.content,t);case 2:case 3:default:return!1}}const De={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,namedCharacterReferences:{"gt;":">","lt;":"<","amp;":"&","apos;":"'","quot;":'"'},maxCRNameLength:5,onError:v};function je(e,t={}){const n=function(e,t){return{options:{...De,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=tt(n);return Y(He(n,0,[]),nt(n,o))}function He(e,t,n){const o=ot(n),s=o?o.ns:0,r=[];for(;!lt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&st(i,e.options.delimiters[0]))c=Qe(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=st(i,"\x3c!--")?Ue(e):st(i,"<!DOCTYPE")?ze(e):st(i,"<![CDATA[")&&0!==s?Je(e,n):ze(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){rt(e,3);continue}if(/[a-z]/i.test(i[2])){Ke(e,1,o);continue}c=ze(e)}else/[a-z]/i.test(i[1])?c=We(e,n):"?"===i[1]&&(c=ze(e));if(c||(c=Xe(e,t)),p(c))for(let e=0;e<c.length;e++)Ge(r,c[e]);else Ge(r,c)}let i=!1;if(2!==t)if(e.inPre){const e=r[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}else for(let e=0;e<r.length;e++){const t=r[e];if(2===t.type)if(t.content.trim())t.content=t.content.replace(/\s+/g," ");else{const n=r[e-1],o=r[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,r[e]=null):t.content=" "}}return i?r.filter(Boolean):r}function Ge(e,t){if(3!==t.type){if(2===t.type){const n=ot(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 Je(e,t){rt(e,9);const n=He(e,3,t);return 0===e.source.length||rt(e,3),n}function Ue(e){const t=tt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let s=1,r=0;for(;-1!==(r=t.indexOf("\x3c!--",s));)rt(e,r-s+1),s=r+1;rt(e,o.index+o[0].length-s+1)}else n=e.source.slice(4),rt(e,e.source.length);return{type:3,content:n,loc:nt(e,t)}}function ze(e){const t=tt(e),n="?"===e.source[1]?1:2;let o;const s=e.source.indexOf(">");return-1===s?(o=e.source.slice(n),rt(e,e.source.length)):(o=e.source.slice(n,s),rt(e,s+1)),{type:3,content:o,loc:nt(e,t)}}function We(e,t){const n=e.inPre,o=e.inVPre,s=ot(t),r=Ke(e,0,s),i=e.inPre&&!n,c=e.inVPre&&!o;if(r.isSelfClosing||e.options.isVoidTag(r.tag))return r;t.push(r);const l=e.options.getTextMode(r.tag,r.ns,s),p=He(e,l,t);if(t.pop(),r.children=p,pt(e.source,r.tag))Ke(e,1,s);else if(0===e.source.length&&"script"===r.tag.toLowerCase()){const e=p[0];e&&st(e.loc.source,"\x3c!--")}return r.loc=nt(e,r.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),r}const qe=e("if,else,else-if,for,slot");function Ke(e,t,n){const o=tt(e),s=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),r=s[1],i=e.options.getNamespace(r,n);rt(e,s[0].length),it(e);const c=tt(e),l=e.source;let p=Ye(e,t);e.options.isPreTag(r)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,p=Ye(e,t).filter(e=>"v-pre"!==e.name));let a=!1;0===e.source.length||(a=st(e.source,"/>"),rt(e,a?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(r)){const e=p.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(r)||(u=1):(e||me(r)||f.isBuiltInComponent&&f.isBuiltInComponent(r)||/^[A-Z]/.test(r)||"component"===r)&&(u=1),"slot"===r?u=2:"template"===r&&p.some(e=>7===e.type&&qe(e.name))&&(u=3)}return{type:1,ns:i,tag:r,tagType:u,props:p,isSelfClosing:a,children:[],loc:nt(e,o),codegenNode:void 0}}function Ye(e,t){const n=[],o=new Set;for(;e.source.length>0&&!st(e.source,">")&&!st(e.source,"/>");){if(st(e.source,"/")){rt(e,1),it(e);continue}const s=Ze(e,o);0===t&&n.push(s),/^[^\t\r\n\f />]/.test(e.source),it(e)}return n}function Ze(e,t){const n=tt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}rt(e,o.length);let s=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(it(e),rt(e,1),it(e),s=function(e){const t=tt(e);let n;const o=e.source[0],s='"'===o||"'"===o;if(s){rt(e,1);const t=e.source.indexOf(o);-1===t?n=et(e,e.source.length,4):(n=et(e,t,4),rt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let s;for(;s=o.exec(t[0]););n=et(e,t[0].length,4)}return{content:n,isQuoted:s,loc:nt(e,t)}}(e));const r=nt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const s=o.indexOf(t[2]),r=nt(e,ct(e,n,s),ct(e,n,s+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:r}}if(s&&s.isQuoted){const e=s.loc;e.start.offset++,e.start.column++,e.end=we(e.start,s.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(st(o,":")?"bind":st(o,"@")?"on":"slot"),exp:s&&{type:4,content:s.content,isStatic:!1,isConstant:!1,loc:s.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:r}}return{type:6,name:o,value:s&&{type:2,content:s.content,loc:s.loc},loc:r}}function Qe(e,t){const[n,o]=e.options.delimiters,s=e.source.indexOf(o,n.length);if(-1===s)return;const r=tt(e);rt(e,n.length);const i=tt(e),c=tt(e),l=s-n.length,p=e.source.slice(0,l),a=et(e,l,t),u=a.trim(),f=a.indexOf(u);return f>0&&Ie(i,p,f),Ie(c,p,l-(a.length-u.length-f)),rt(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:nt(e,i,c)},loc:nt(e,r)}}function Xe(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const s=e.source.indexOf(n[t],1);-1!==s&&o>s&&(o=s)}const s=tt(e);return{type:2,content:et(e,o,t),loc:nt(e,s)}}function et(e,t,n){let o=e.source.slice(0,t);if(2===n||3===n||-1===o.indexOf("&"))return rt(e,t),o;const s=e.offset+t;let r="";function i(t){rt(e,t),o=o.slice(t)}for(;e.offset<s;){const t=/&(?:#x?)?/i.exec(o);if(!t||e.offset+t.index>=s){const t=s-e.offset;r+=o.slice(0,t),i(t);break}if(r+=o.slice(0,t.index),i(t.index),"&"===t[0]){let t="",s=void 0;if(/[0-9a-z]/i.test(o[1])){for(let n=e.options.maxCRNameLength;!s&&n>0;--n)t=o.substr(1,n),s=e.options.namedCharacterReferences[t];if(s){const e=t.endsWith(";");4===n&&!e&&/[=a-z0-9]/i.test(o[t.length+1]||"")?(r+="&"+t,i(1+t.length)):(r+=s,i(1+t.length))}else r+="&"+t,i(1+t.length)}else r+="&",i(1)}else{const e="&#x"===t[0],n=(e?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(n){let t=Number.parseInt(n[1],e?16:10);0===t?t=65533:t>1114111?t=65533:t>=55296&&t<=57343?t=65533:t>=64976&&t<=65007||65534==(65534&t)||(t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159)&&(t=at[t]||t),r+=String.fromCodePoint(t),i(n[0].length),n[0].endsWith(";")}else r+=t[0],i(t[0].length)}}return r}function tt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function nt(e,t,n){return{start:t,end:n=n||tt(e),source:e.originalSource.slice(t.offset,n.offset)}}function ot(e){return e[e.length-1]}function st(e,t){return e.startsWith(t)}function rt(e,t){const{source:n}=e;Ie(e,n,t),e.source=n.slice(t)}function it(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&rt(e,t[0].length)}function ct(e,t,n){return we(t,e.originalSource.slice(t.offset,n),n)}function lt(e,t,n){const o=e.source;switch(t){case 0:if(st(o,"</"))for(let e=n.length-1;e>=0;--e)if(pt(o,n[e].tag))return!0;break;case 1:case 2:{const e=ot(n);if(e&&pt(o,e.tag))return!0;break}case 3:if(st(o,"]]>"))return!0}return!o}function pt(e,t){return st(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}const at={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function ut(e,t){!function e(t,n,o,s=!1){for(let r=0;r<t.length;r++){const i=t[r];if(1===i.type&&0===i.tagType){if(!s&&dt(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=yt(e);if(!(t&&512!==t&&1!==t||ht(i)||mt())){const t=gt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const s=i.branches[t].children;e(s,n,o,1===s.length)}else 12===i.type&&dt(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,ft(e,e.children[0]))}function ft(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Be(t)}function dt(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(yt(o)||ht(e)||mt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!dt(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return dt(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>a(e)||u(e)||dt(e,t));default:return!1}}function ht(e){return!(!Me(e,"key",!0)&&!Me(e,"ref",!0))}function mt(e){return!1}function gt(e){const t=e.codegenNode;if(13===t.type)return t.props}function yt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function vt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:s=[],directiveTransforms:r={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:p=[],scopeId:a=null,ssr:u=!1,onError:f=v}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:s,directiveTransforms:r,transformHoist:i,isBuiltInComponent:l,expressionPlugins:p,scopeId:a,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${W[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),te(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>ce(++d.cached,e,t)};return d}function xt(e,n){const o=vt(e,n);bt(e,o),n.hoistStatic&&ut(e,o),n.ssr||function(e,n){const{helper:o}=n,{children:s}=e,r=s[0];if(1===s.length)if(ft(e,r)&&r.codegenNode){const t=r.codegenNode;13===t.type&&(t.isBlock=!0,o($),o(w)),e.codegenNode=t}else e.codegenNode=r;else s.length>1&&(e.codegenNode=Z(n,o(b),void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function bt(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&&(p(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(C);break;case 5:t.ssr||t.helper(V);break;case 9:for(let n=0;n<e.branches.length;n++)bt(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 s=e.children[n];a(s)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,bt(s,t))}}(e,t)}let s=o.length;for(;s--;)o[s]()}function St(e,t){const n=a(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:s}=e;if(3===e.tagType&&s.some(Le))return;const r=[];for(let i=0;i<s.length;i++){const c=s[i];if(7===c.type&&n(c.name)){s.splice(i,1),i--;const n=t(e,c,o);n&&r.push(n)}}return r}}}function Nt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:s="template.vue.html",scopeId:r=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const a={mode:t,prefixIdentifiers:n,sourceMap:o,filename:s,scopeId:r,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${W[e]}`,push(e,t){a.code+=e},indent(){u(++a.indentLevel)},deindent(e=!1){e?--a.indentLevel:u(--a.indentLevel)},newline(){u(a.indentLevel)}};function u(e){a.push("\n"+" ".repeat(e))}return a}(e,t),{mode:o,push:s,prefixIdentifiers:r,indent:i,deindent:c,newline:l,ssr:p}=n,a=e.helpers.length>0,u=!r&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:s}=t,r=s,i=e=>`${W[e]}: _${W[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${r}\n`),e.hoists.length)){const t=[I,C,O,M].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,s)=>{n(`const _hoisted_${s+1} = `),wt(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),s(p?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(s("with (_ctx) {"),i(),a&&(s(`const { ${e.helpers.map(e=>`${W[e]}: _${W[e]}`).join(", ")} } = _Vue`),s("\n"),l())),e.components.length&&(kt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(kt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){s("let ");for(let t=0;t<e.temps;t++)s(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(s("\n"),l()),p||s("return "),e.codegenNode?wt(e.codegenNode,n):s("null"),u&&(c(),s("}")),c(),s("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function kt(e,t,{helper:n,push:o,newline:s}){const r=n("component"===t?_:E);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Ve(i,t)} = ${r}(${JSON.stringify(i)})`),n<e.length-1&&s()}}function Tt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),$t(e,t,n),n&&t.deindent(),t.push("]")}function $t(e,t,n=!1,o=!0){const{push:s,newline:r}=t;for(let i=0;i<e.length;i++){const c=e[i];a(c)?s(c):p(c)?Tt(c,t):wt(c,t),i<e.length-1&&(n?(o&&s(","),r()):o&&s(", "))}}function wt(e,t){if(a(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:wt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:It(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(V)}(`),wt(e.content,t),n(")")}(e,t);break;case 12:wt(e.codegenNode,t);break;case 8:Ct(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:s,props:r,children:i,patchFlag:c,dynamicProps:l,directives:p,isBlock:a,isForBlock:u}=e;p&&n(o(L)+"(");a&&n(`(${o($)}(${u?"true":""}), `);n(o(a?w:I)+"(",e),$t(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([s,r,i,c,l]),t),n(")"),a&&n(")");p&&(n(", "),wt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=a(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),$t(e.arguments,t),t.push(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:s,newline:r}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let e=0;e<i.length;e++){const{key:o,value:s}=i[e];Ot(o,t),n(": "),wt(s,t),e<i.length-1&&(n(","),r())}c&&s(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Tt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:s}=t,{params:r,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${W[z]}(`);n("(",e),p(r)?$t(r,t):r&&wt(r,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),p(i)?Tt(i,t):wt(i,t)):c&&wt(c,t);(l||c)&&(s(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:s,newline:r}=e,{push:i,indent:c,deindent:l,newline:p}=t;if(4===n.type){const e=!Ne(n.content);e&&i("("),It(n,t),e&&i(")")}else i("("),wt(n,t),i(")");r&&c(),t.indentLevel++,r||i(" "),i("? "),wt(o,t),t.indentLevel--,r&&p(),r||i(" "),i(": ");const a=19===s.type;a||t.indentLevel++;wt(s,t),a||t.indentLevel--;r&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:s,deindent:r,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(s(),n(`${o(H)}(-1),`),i());n(`_cache[${e.index}] = `),wt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(H)}(1),`),i(),n(`_cache[${e.index}]`),r());n(")")}(e,t)}}function It(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ct(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):wt(o,t)}}function Ot(e,t){const{push:n}=t;if(8===e.type)n("["),Ct(e,t),n("]");else if(e.isStatic){n(Ne(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Mt=e("true,false,null,this"),_t=(e,t)=>{if(5===e.type)e.content=Pt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Pt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Pt(n,t))}}};function Pt(e,t,o=!1,s=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const r=e.content,i=r.indexOf("(")>-1;if(Ne(r))return o||t.identifiers[r]||n(r)||Mt(r)?t.identifiers[r]||i||(e.isConstant=!0):e.content=`_ctx.${r}`,e;let c;const l=s?` ${r} `:`(${r})${o?"=>{}":""}`;try{c=xe(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const p=[],a=Object.create(t.identifiers);be(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>p.some(t=>t.start===e.start))(e)){const o=function(e,t){if((!Et(t)||t.id!==e&&!t.params.includes(e))&&!Bt(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!n(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!a[e.name]&&o?(At(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,p.push(e)):Bt(e,t)||(o&&a[e.name]||i||(e.isConstant=!0),p.push(e))}}else Et(e)&&e.params.forEach(t=>be(t,{enter(t,n){if(!("Identifier"!==t.type||Bt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in a?a[n]++:a[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{a[e]--,0===a[e]&&delete a[e]})}});const u=[];let f;return p.sort((e,t)=>e.start-t.start),p.forEach((t,n)=>{const o=t.start-1,s=t.end-1,i=p[n-1],c=r.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=r.slice(o,s);u.push(te(t.name,!1,{source:l,start:we(e.loc.start,l,o),end:we(e.loc.start,l,s)},t.isConstant)),n===p.length-1&&s<r.length&&u.push(r.slice(s))}),u.length?f=oe(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(a),f}const Et=e=>/Function(Expression|Declaration)$/.test(e.type),Lt=e=>e&&"ObjectProperty"===e.type&&!e.computed,At=(e,t)=>Lt(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Bt=(e,t)=>Lt(t)&&t.key===e;const Rt=St(/^(if|else|else-if)$/,(e,t,n)=>Vt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=Dt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Dt(t,e.branches.length-1,n)}}));function Vt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=te("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const s=Ft(e,t),r={type:9,loc:e.loc,branches:[s]};if(n.replaceNode(r),o)return o(r,s,!0)}else{const s=n.parent.children;let r=s.indexOf(e);for(;r-- >=-1;){const i=s[r];if(i&&9===i.type){n.removeNode();const s=Ft(e,t);i.branches.push(s);const r=o&&o(i,s,!1);bt(s,n),r&&r(),n.currentNode=null}break}}}function Ft(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Dt(e,t,n){return e.condition?ie(e.condition,jt(e,t,n),se(n.helper(C),['""',"true"])):jt(e,t,n)}function jt(e,n,o){const{helper:s}=o,r=ee("key",te(n+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Re(e,r,o),e}return Z(o,s(b),X([r]),i,`64 /* ${t[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==S||(e.isBlock=!0,s($),s(w)),Re(e,r,o),e}}const Ht=St("for",(e,n,o)=>{const{helper:s}=o;return Gt(e,n,o,n=>{const r=se(s(A),[n.source]),i=Me(e,"key"),c=i?128:256;return n.codegenNode=Z(o,s(b),void 0,r,`${c} /* ${t[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ae(e),{children:p}=n,a=p.length>1||1!==p[0].type,u=Be(e)?e:l&&1===e.children.length&&Be(e.children[0])?e.children[0]:null,f=i?ee("key",6===i.type?te(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&Re(c,f,o)):a?c=Z(o,s(b),f?X([f]):void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0):(c=p[0].codegenNode,c.isBlock=!0,s($),s(w)),r.arguments.push(re(Kt(n.parseResult),c,!0))}})});function Gt(e,t,n,o){if(!t.exp)return;const s=Wt(t.exp);if(!s)return;const{scopes:r}=n,{source:i,value:c,key:l,index:p}=s,a={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:s,children:3===e.tagType?e.children:[e]};n.replaceNode(a),r.vFor++;const u=o&&o(a);return()=>{r.vFor--,u&&u()}}const Jt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ut=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,zt=/^\(|\)$/g;function Wt(e,t){const n=e.loc,o=e.content,s=o.match(Jt);if(!s)return;const[,r,i]=s,c={source:qt(n,i.trim(),o.indexOf(i,r.length)),value:void 0,key:void 0,index:void 0};let l=r.trim().replace(zt,"").trim();const p=r.indexOf(l),a=l.match(Ut);if(a){l=l.replace(Ut,"").trim();const e=a[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=qt(n,e,t)),a[2]){const s=a[2].trim();s&&(c.index=qt(n,s,o.indexOf(s,c.key?t+e.length:p+l.length)))}}return l&&(c.value=qt(n,l,p)),c}function qt(e,t,n){return te(t,!1,$e(e,n,t.length))}function Kt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(te("_",!1)),o.push(t)),n&&(t||(e||o.push(te("_",!1)),o.push(te("__",!1))),o.push(n)),o}const Yt=te("undefined",!1),Zt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Oe(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Qt=(e,t)=>{let n;if(Ae(e)&&e.props.some(Le)&&(n=Oe(e,"for"))){const e=n.parseResult=Wt(n.exp);if(e){const{value:n,key:o,index:s}=e,{addIdentifiers:r,removeIdentifiers:i}=t;return n&&r(n),o&&r(o),s&&r(s),()=>{n&&i(n),o&&i(o),s&&i(s)}}}},Xt=(e,t,n)=>re(e,t,!1,!0,t.length?t[0].loc:n);function en(e,t,n=Xt){t.helper(z);const{children:o,loc:s}=e,r=[],i=[],c=(e,t)=>ee("default",n(e,t,s));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Oe(e,"slot",!0);if(p){const{arg:e,exp:t}=p;r.push(ee(e||te("default",!0),n(t,o,s)))}let a=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const s=o[e];let c;if(!Ae(s)||!(c=Oe(s,"slot",!0))){3!==s.type&&f.push(s);continue}if(p)break;a=!0;const{children:m,loc:g}=s,{arg:y=te("default",!0),exp:v}=c;let x;4===(h=y).type&&h.isStatic?x=y?y.content:"default":l=!0;const b=n(v,m,g);let S,N,k;if(S=Oe(s,"if"))l=!0,i.push(ie(S.exp,tn(y,b),Yt));else if(N=Oe(s,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ae(t)&&Oe(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?ie(N.exp,tn(y,b),Yt):tn(y,b)}}else if(k=Oe(s,"for")){l=!0;const e=k.parseResult||Wt(k.exp);e&&i.push(se(t.helper(A),[e.source,re(Kt(e),tn(y,b),!0)]))}else{if(x){if(d.has(x))continue;d.add(x),"default"===x&&(u=!0)}r.push(ee(y,b))}}var h;p||(a?f.length&&(u||r.push(c(void 0,f))):r.push(c(void 0,o)));let m=X(r.concat(ee("_",te("1",!1))),s);return i.length&&(m=se(t.helper(R),[m,Q(i)])),{slots:m,hasDynamicSlots:l}}function tn(e,t){return X([ee("name",e),ee("fn",t)])}const nn=new WeakMap,on=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,s=1===e.tagType,r=s?sn(e,t):`"${n}"`;let i,c,l,p,a,u,f=0,d=!s&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=rn(e,t);i=n.props,f=n.patchFlag,a=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Q(o.map(e=>function(e,t){const n=[],o=nn.get(e);o?n.push(t.helperString(o)):(t.helper(E),t.directives.add(e.name),n.push(Ve(e.name,"directive")));const{loc:s}=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=te("true",!1,s);n.push(X(e.modifiers.map(e=>ee(e,t)),s))}return Q(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(r===k&&(d=!0,f|=1024),s&&r!==S&&r!==k){const{slots:n,hasDynamicSlots:o}=en(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&r!==S){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!dt(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),a&&a.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(a))),e.codegenNode=Z(t,r,i,c,l,p,u,d,!1,e.loc)}};function sn(e,t,n=!1){const{tag:o}=e,s="component"===e.tag?Me(e,"is"):Oe(e,"is");if(s){const e=6===s.type?s.value&&te(s.value.content,!0):s.exp;if(e)return se(t.helper(P),[e])}const r=me(o)||t.isBuiltInComponent(o);return r?(n||t.helper(r),r):(t.helper(_),t.components.add(o),Ve(o,"component"))}function rn(e,t,n=e.props,o=!1){const{tag:s,loc:r}=e,i=1===e.tagType;let c=[];const l=[],p=[];let a=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&dt(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const a=n[i];if(6===a.type){const{loc:e,name:t,value:n}=a;if("ref"===t&&(f=!0),"is"===t&&"component"===s)continue;c.push(ee(te(t,!0,$e(e,0,t.length)),te(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=a,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===s&&_e(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(X(cn(c),r)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(D),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:s}=y(a,e,t);!o&&n.forEach(v),c.push(...n),s&&(p.push(a),u(s)&&nn.set(a,s))}else p.push(a)}}let x=void 0;return l.length?(c.length&&l.push(X(cn(c),r)),x=l.length>1?se(t.helper(F),l,r):l[0]):c.length&&(x=X(cn(c),r)),g?a|=16:(d&&(a|=2),h&&(a|=4),y.length&&(a|=8),m&&(a|=32)),0!==a&&32!==a||!(f||p.length>0)||(a|=512),{props:x,directives:p,patchFlag:a,dynamicPropNames:y}}function cn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const s=e[o];if(8===s.key.type||!s.key.isStatic){n.push(s);continue}const r=s.key.content,i=t.get(r);i?("style"===r||"class"===r||r.startsWith("on"))&&ln(i,s):(t.set(r,s),n.push(s))}return n}function ln(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Q([e.value,t.value],e.loc)}const pn=(e,t)=>{if(Be(e)){const{children:n,loc:o}=e,{slotName:s,slotProps:r}=an(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s];r&&i.push(r),n.length&&(r||i.push("{}"),i.push(n)),e.codegenNode=se(t.helper(B),i,o)}};function an(e,t){let n='"default"',o=void 0;const s=Me(e,"name");s&&(6===s.type&&s.value?n=JSON.stringify(s.value.content):7===s.type&&s.exp&&(n=s.exp));const r=s?e.props.filter(e=>e!==s):e.props;if(r.length>0){const{props:n,directives:s}=rn(e,t,r);o=n}return{slotName:n,slotProps:o}}const un=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,fn=(e,t,n,o)=>{const{loc:s,modifiers:r,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=te(`on${e.startsWith("vnode")?y(h(e)):y(e)}`,!0,i.loc)}else c=oe(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=!l;if(l){const e=Te(l.content),t=!(e||un.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=oe([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let a={props:[ee(c,l||te("() => {}",!1,s))]};return o&&(a=o(a)),p&&(a.props[0].value=n.cache(a.props[0].value)),a},dn=(e,t,n)=>{const{exp:o,modifiers:s,loc:r}=e,i=e.arg;return s.includes("camel")&&(4===i.type?i.content=i.isStatic?h(i.content):`${n.helperString(j)}(${i.content})`:(i.children.unshift(`${n.helperString(j)}(`),i.children.push(")"))),{props:[ee(i,o||te("",!0,r))]}},hn=(e,n)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let s=void 0,r=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Ee(t)){r=!0;for(let n=e+1;n<o.length;n++){const r=o[n];if(!Ee(r)){s=void 0;break}s||(s=o[e]={type:8,loc:t.loc,children:[t]}),s.children.push(" + ",r),o.splice(n,1),n--}}}if(r&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const s=o[e];if(Ee(s)||8===s.type){const r=[];2===s.type&&" "===s.content||r.push(s),n.ssr||2===s.type||r.push(`1 /* ${t[1]} */`),o[e]={type:12,content:s,loc:s.loc,codegenNode:se(n.helper(O),r)}}}}},mn=(e,t)=>{if(1===e.type&&Oe(e,"once",!0))return t.helper(H),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},gn=(e,t,n)=>{const{exp:o,arg:s}=e;if(!o)return yn();if(!Te(4===o.type?o.content:o.loc.source))return yn();const r=s||te("modelValue",!0),i=s?4===s.type&&s.isStatic?`onUpdate:${s.content}`:oe(['"onUpdate:" + ',s]):"onUpdate:modelValue",c=[ee(r,e.exp),ee(i,oe(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ne(e)?e:JSON.stringify(e))+": true").join(", "),n=s?4===s.type&&s.isStatic?`${s.content}Modifiers`:oe([s,' + "Modifiers"']):"modelModifiers";c.push(ee(n,te(`{ ${t} }`,!1,e.loc,!0)))}return yn(c)};function yn(e=[]){return{props:e}}function vn(e){return[[mn,Rt,Ht,pn,on,Zt,hn],{on:fn,bind:dn,model:gn}]}function xn(e,t={}){const n=t.onError||v,o="module"===t.mode;!0===t.prefixIdentifiers?n(x(50)):o&&n(x(51));t.cacheHandlers&&n(x(52)),t.scopeId&&!o&&n(x(53));const s=a(e)?je(e,t):e,[r,i]=vn();return xt(s,{...t,prefixIdentifiers:!1,nodeTransforms:[...r,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),Nt(s,{...t,prefixIdentifiers:!1})}const bn=()=>({props:[]}),Sn=Symbol(""),Nn=Symbol(""),kn=Symbol(""),Tn=Symbol(""),$n=Symbol(""),wn=Symbol(""),In=Symbol(""),Cn=Symbol(""),On=Symbol(""),Mn=Symbol("");q({[Sn]:"vModelRadio",[Nn]:"vModelCheckbox",[kn]:"vModelText",[Tn]:"vModelSelect",[$n]:"vModelDynamic",[wn]:"withModifiers",[In]:"withKeys",[Cn]:"vShow",[On]:"Transition",[Mn]:"TransitionGroup"});const _n=e("style,iframe,script,noscript",!0),Pn={isVoidTag:i,isNativeTag:e=>s(e)||r(e),isPreTag:e=>"pre"===e,isBuiltInComponent:e=>he(e,"Transition")?On:he(e,"TransitionGroup")?Mn: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(_n(e))return 2}return 0}},En=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:Bn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Ln=/;(?![^(]*\))/g,An=/:(.+)/;function Bn(e,t){const n={};return e.split(Ln).forEach(e=>{if(e){const t=e.split(An);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),te(JSON.stringify(n),!1,t,!0)}function Rn(e,t){return x(e,t)}const Vn=e("passive,once,capture"),Fn=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Dn=e("onkeyup,onkeydown,onkeypress",!0),jn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?te(t,!0):4!==e.type?oe(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Hn=Pn,Gn=[En],Jn={cloak:bn,html:(e,t,n)=>{const{exp:o,loc:s}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("innerHTML",!0,s),o||te("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:s}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("textContent",!0,s),o||te("",!0))]}},model:(e,t,n)=>{const o=gn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:s}=t;if("input"===s||"textarea"===s||"select"===s){let e=kn,r=!1;if("input"===s){const n=Me(t,"type");if(n){if(7===n.type)e=$n;else if(n.value)switch(n.value.content){case"radio":e=Sn;break;case"checkbox":e=Nn;break;case"file":r=!0}}else Pe(t)&&(e=$n)}else"select"===s&&(e=Tn);r||(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)=>fn(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:s,value:r}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let s=0;s<e.length;s++){const r=e[s];Vn(r)?o.push(r):Fn(r)?n.push(r):t.push(r)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(s=jn(s,"onContextmenu")),c.includes("middle")&&(s=jn(s,"onMouseup")),c.length&&(r=se(n.helper(wn),[r,JSON.stringify(c)])),!i.length||8!==s.type&&s.isStatic&&!Dn(s.content)||(r=se(n.helper(In),[r,JSON.stringify(i)])),l.length&&(r=X([ee("handler",r),ee("options",X(l.map(e=>ee(e,te("true",!1)))))])),{props:[ee(s,r)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Cn)})};function Un(e,t={}){return xn(e,{...Hn,...t,nodeTransforms:[...Gn,...t.nodeTransforms||[]],directiveTransforms:{...Jn,...t.directiveTransforms||{}},transformHoist:null})}function zn(e,t={}){return je(e,{...Hn,...t})}export{T as BASE_TRANSITION,j as CAMELIZE,w as CREATE_BLOCK,C as CREATE_COMMENT,R as CREATE_SLOTS,M as CREATE_STATIC,O as CREATE_TEXT,I as CREATE_VNODE,Jn as DOMDirectiveTransforms,Gn as DOMNodeTransforms,b as FRAGMENT,k as KEEP_ALIVE,F as MERGE_PROPS,$ as OPEN_BLOCK,J as POP_SCOPE_ID,G as PUSH_SCOPE_ID,A as RENDER_LIST,B as RENDER_SLOT,_ as RESOLVE_COMPONENT,E as RESOLVE_DIRECTIVE,P as RESOLVE_DYNAMIC_COMPONENT,H as SET_BLOCK_TRACKING,N as SUSPENSE,S as TELEPORT,V as TO_DISPLAY_STRING,D as TO_HANDLERS,On as TRANSITION,Mn as TRANSITION_GROUP,Nn as V_MODEL_CHECKBOX,$n as V_MODEL_DYNAMIC,Sn as V_MODEL_RADIO,Tn as V_MODEL_SELECT,kn as V_MODEL_TEXT,In as V_ON_WITH_KEYS,wn as V_ON_WITH_MODIFIERS,Cn as V_SHOW,z as WITH_CTX,L as WITH_DIRECTIVES,U as WITH_SCOPE_ID,we as advancePositionWithClone,Ie as advancePositionWithMutation,Ce as assert,xn as baseCompile,je as baseParse,rn as buildProps,en as buildSlots,Un as compile,Q as createArrayExpression,ue as createAssignmentExpression,le as createBlockStatement,ce as createCacheExpression,se as createCallExpression,x as createCompilerError,oe as createCompoundExpression,ie as createConditionalExpression,Rn as createDOMCompilerError,Kt as createForLoopParams,re as createFunctionExpression,ae as createIfStatement,ne as createInterpolation,X as createObjectExpression,ee as createObjectProperty,de as createReturnStatement,Y as createRoot,fe as createSequenceExpression,te as createSimpleExpression,St as createStructuralDirectiveTransform,pe as createTemplateLiteral,vt as createTransformContext,Z as createVNodeCall,Oe as findDir,Me as findProp,Nt as generate,o as generateCodeFrame,vn as getBaseTransformPreset,$e as getInnerRange,Pe as hasDynamicKeyVBind,Fe as hasScopeRef,W as helperNameMap,Re as injectProp,_e as isBindKey,he as isBuiltInType,me as isCoreComponent,Te as isMemberExpression,Ne as isSimpleIdentifier,Be as isSlotOutlet,Ae as isTemplateNode,Ee as isText,Le as isVSlot,ve as loadDep,K as locStub,bn as noopDirectiveTransform,zn as parse,xe as parseJS,Hn as parserOptions,Pt as processExpression,Gt as processFor,Vt as processIf,an as processSlotOutlet,q as registerRuntimeHelpers,sn as resolveComponentType,Ve as toValidAssetId,Zt as trackSlotScopes,Qt as trackVForSlotScopes,xt as transform,dn as transformBind,on as transformElement,_t as transformExpression,gn as transformModel,fn as transformOn,En as transformStyle,bt as traverseNode,be as walkJS}; | ||
function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function o(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")}const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,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=()=>!1,p=Array.isArray,a=e=>"string"==typeof e,u=e=>"symbol"==typeof e,f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d=/-(\w)/g,h=f(e=>e.replace(d,(e,t)=>t?t.toUpperCase():"")),m=/\B([A-Z])/g,g=f(e=>e.replace(m,"-$1").toLowerCase()),y=f(e=>e.charAt(0).toUpperCase()+e.slice(1));function v(e){throw e}function x(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const b=Symbol(""),S=Symbol(""),N=Symbol(""),k=Symbol(""),T=Symbol(""),$=Symbol(""),w=Symbol(""),I=Symbol(""),C=Symbol(""),O=Symbol(""),M=Symbol(""),_=Symbol(""),E=Symbol(""),P=Symbol(""),L=Symbol(""),A=Symbol(""),B=Symbol(""),V=Symbol(""),F=Symbol(""),R=Symbol(""),D=Symbol(""),j=Symbol(""),H=Symbol(""),G=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),q={[b]:"Fragment",[S]:"Teleport",[N]:"Suspense",[k]:"KeepAlive",[T]:"BaseTransition",[$]:"openBlock",[w]:"createBlock",[I]:"createVNode",[C]:"createCommentVNode",[O]:"createTextVNode",[M]:"createStaticVNode",[_]:"resolveComponent",[E]:"resolveDynamicComponent",[P]:"resolveDirective",[L]:"withDirectives",[A]:"renderList",[B]:"renderSlot",[V]:"createSlots",[F]:"toDisplayString",[R]:"mergeProps",[D]:"toHandlers",[j]:"camelize",[H]:"setBlockTracking",[G]:"pushScopeId",[J]:"popScopeId",[U]:"withScopeId",[z]:"withCtx"};function K(e){Object.getOwnPropertySymbols(e).forEach(t=>{q[t]=e[t]})}const W={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Y(e,t=W){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Z(e,t,n,o,r,s,i,c=!1,l=!1,p=W){return e&&(c?(e.helper($),e.helper(w)):e.helper(I),i&&e.helper(L)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:p}}function Q(e,t=W){return{type:17,loc:t,elements:e}}function X(e,t=W){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:W,key:a(e)?te(e,!0):e,value:t}}function te(e,t,n=W,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function ne(e,t){return{type:5,loc:t,content:a(e)?te(e,!1,t):e}}function oe(e,t=W){return{type:8,loc:t,children:e}}function re(e,t=[],n=W){return{type:14,loc:n,callee:e,arguments:t}}function se(e,t,n=!1,o=!1,r=W){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ie(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:W}}function ce(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:W}}function le(e){return{type:21,body:e,loc:W}}function pe(e){return{type:22,elements:e,loc:W}}function ae(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:W}}function ue(e,t){return{type:24,left:e,right:t,loc:W}}function fe(e){return{type:25,expressions:e,loc:W}}function de(e){return{type:26,returns:e,loc:W}}const he=(e,t)=>e===t||e===g(t);function me(e){return he(e,"Teleport")?S:he(e,"Suspense")?N:he(e,"KeepAlive")?k:he(e,"BaseTransition")?T:void 0}let ge,ye;function ve(e){return window._deps[e]}const xe=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),ge||(ge=ve("@babel/parser").parse),ge(e,t)),be=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),(ye||(ye=ve("estree-walker").walk))(e,t)),Se=/^\d|[^\$\w]/,Ne=e=>!Se.test(e),ke=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Te=e=>ke.test(e);function $e(e,t,n){const o={source:e.source.substr(t,n),start:we(e.start,e.source,t),end:e.end};return null!=n&&(o.end=we(e.start,e.source,t+n)),o}function we(e,t,n=t.length){return Ie({...e},t,n)}function Ie(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ce(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Oe(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(a(t)?r.name===t:t.test(r.name)))return r}}function Me(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&&_e(s.arg,t))return s}}function _e(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Ee(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Pe(e){return 5===e.type||2===e.type}function Le(e){return 7===e.type&&"slot"===e.name}function Ae(e){return 1===e.type&&3===e.tagType}function Be(e){return 1===e.type&&2===e.tagType}function Ve(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||a(r))o=X([t]);else if(14===r.type){const e=r.arguments[0];a(e)||15!==e.type?r.arguments.unshift(X([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=re(n.helper(R),[X([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Fe(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Re(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&&(Re(o.arg,t)||Re(o.exp,t)))return!0}return e.children.some(e=>Re(e,t));case 11:return!!Re(e.source,t)||e.children.some(e=>Re(e,t));case 9:return e.branches.some(e=>Re(e,t));case 10:return!!Re(e.condition,t)||e.children.some(e=>Re(e,t));case 4:return!e.isStatic&&Ne(e.content)&&!!t[e.content];case 8:return e.children.some(e=>{return null!==(n=e)&&"object"==typeof n&&Re(e,t);var n});case 5:case 12:return Re(e.content,t);case 2:case 3:default:return!1}}const De=/&(gt|lt|amp|apos|quot);/g,je={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},He={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(De,(e,t)=>je[t]),onError:v};function Ge(e,t={}){const n=function(e,t){return{options:{...He,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=ot(n);return Y(Je(n,0,[]),rt(n,o))}function Je(e,t,n){const o=st(n),r=o?o.ns:0,s=[];for(;!at(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&it(i,e.options.delimiters[0]))c=et(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=it(i,"\x3c!--")?qe(e):it(i,"<!DOCTYPE")?Ke(e):it(i,"<![CDATA[")&&0!==r?ze(e,n):Ke(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){ct(e,3);continue}if(/[a-z]/i.test(i[2])){Ze(e,1,o);continue}c=Ke(e)}else/[a-z]/i.test(i[1])?c=We(e,n):"?"===i[1]&&(c=Ke(e));if(c||(c=tt(e,t)),p(c))for(let e=0;e<c.length;e++)Ue(s,c[e]);else Ue(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Ue(e,t){if(3!==t.type){if(2===t.type){const n=st(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 ze(e,t){ct(e,9);const n=Je(e,3,t);return 0===e.source.length||ct(e,3),n}function qe(e){const t=ot(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:rt(e,t)}}function Ke(e){const t=ot(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:rt(e,t)}}function We(e,t){const n=e.inPre,o=e.inVPre,r=st(t),s=Ze(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),p=Je(e,l,t);if(t.pop(),s.children=p,ut(e.source,s.tag))Ze(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=p[0];e&&it(e.loc.source,"\x3c!--")}return s.loc=rt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Ye=e("if,else,else-if,for,slot");function Ze(e,t,n){const o=ot(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),lt(e);const c=ot(e),l=e.source;let p=Qe(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,p=Qe(e,t).filter(e=>"v-pre"!==e.name));let a=!1;0===e.source.length||(a=it(e.source,"/>"),ct(e,a?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=p.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||me(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&p.some(e=>7===e.type&&Ye(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:p,isSelfClosing:a,children:[],loc:rt(e,o),codegenNode:void 0}}function Qe(e,t){const n=[],o=new Set;for(;e.source.length>0&&!it(e.source,">")&&!it(e.source,"/>");){if(it(e.source,"/")){ct(e,1),lt(e);continue}const r=Xe(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),lt(e)}return n}function Xe(e,t){const n=ot(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););}ct(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(lt(e),ct(e,1),lt(e),r=function(e){const t=ot(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=nt(e,e.source.length,4):(n=nt(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=nt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:rt(e,t)}}(e));const s=rt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=rt(e,pt(e,n,r),pt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=we(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(it(o,":")?"bind":it(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function et(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=ot(e);ct(e,n.length);const i=ot(e),c=ot(e),l=r-n.length,p=e.source.slice(0,l),a=nt(e,l,t),u=a.trim(),f=a.indexOf(u);return f>0&&Ie(i,p,f),Ie(c,p,l-(a.length-u.length-f)),ct(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:rt(e,i,c)},loc:rt(e,s)}}function tt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=ot(e);return{type:2,content:nt(e,o,t),loc:rt(e,r)}}function nt(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 ot(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function rt(e,t,n){return{start:t,end:n=n||ot(e),source:e.originalSource.slice(t.offset,n.offset)}}function st(e){return e[e.length-1]}function it(e,t){return e.startsWith(t)}function ct(e,t){const{source:n}=e;Ie(e,n,t),e.source=n.slice(t)}function lt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&ct(e,t[0].length)}function pt(e,t,n){return we(t,e.originalSource.slice(t.offset,n),n)}function at(e,t,n){const o=e.source;switch(t){case 0:if(it(o,"</"))for(let e=n.length-1;e>=0;--e)if(ut(o,n[e].tag))return!0;break;case 1:case 2:{const e=st(n);if(e&&ut(o,e.tag))return!0;break}case 3:if(it(o,"]]>"))return!0}return!o}function ut(e,t){return it(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function ft(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&ht(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=vt(e);if(!(t&&512!==t&&1!==t||mt(i)||gt())){const t=yt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&ht(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,dt(e,e.children[0]))}function dt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Be(t)}function ht(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(vt(o)||mt(e)||gt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!ht(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return ht(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>a(e)||u(e)||ht(e,t));default:return!1}}function mt(e){return!(!Me(e,"key",!0)&&!Me(e,"ref",!0))}function gt(e){return!1}function yt(e){const t=e.codegenNode;if(13===t.type)return t.props}function vt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function xt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:p=[],scopeId:a=null,ssr:u=!1,onError:f=v}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:p,scopeId:a,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${q[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),te(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>ce(++d.cached,e,t)};return d}function bt(e,n){const o=xt(e,n);St(e,o),n.hoistStatic&&ft(e,o),n.ssr||function(e,n){const{helper:o}=n,{children:r}=e,s=r[0];if(1===r.length)if(dt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o($),o(w)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=Z(n,o(b),void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function St(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(p(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(C);break;case 5:t.ssr||t.helper(F);break;case 9:for(let n=0;n<e.branches.length;n++)St(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];a(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,St(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function Nt(e,t){const n=a(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Le))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 kt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const a={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${q[e]}`,push(e,t){a.code+=e},indent(){u(++a.indentLevel)},deindent(e=!1){e?--a.indentLevel:u(--a.indentLevel)},newline(){u(a.indentLevel)}};function u(e){a.push("\n"+" ".repeat(e))}return a}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,a=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${q[e]}: _${q[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,C,O,M].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),It(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(p?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),a&&(r(`const { ${e.helpers.map(e=>`${q[e]}: _${q[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Tt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Tt(e.directives,"directive",n),e.temps>0&&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()),p||r("return "),e.codegenNode?It(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function Tt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?_:P);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Fe(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function $t(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),wt(e,t,n),n&&t.deindent(),t.push("]")}function wt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];a(c)?r(c):p(c)?$t(c,t):It(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function It(e,t){if(a(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:It(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Ct(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(F)}(`),It(e.content,t),n(")")}(e,t);break;case 12:It(e.codegenNode,t);break;case 8:Ot(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:p,isBlock:a,isForBlock:u}=e;p&&n(o(L)+"(");a&&n(`(${o($)}(${u?"true":""}), `);n(o(a?w:I)+"(",e),wt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),a&&n(")");p&&(n(", "),It(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=a(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),wt(e.arguments,t),t.push(")")}(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];Mt(o,t),n(": "),It(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){$t(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(`_${q[z]}(`);n("(",e),p(s)?wt(s,t):s&&It(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),p(i)?$t(i,t):It(i,t)):c&&It(c,t);(l||c)&&(r(),n("}"));a&&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:p}=t;if(4===n.type){const e=!Ne(n.content);e&&i("("),Ct(n,t),e&&i(")")}else i("("),It(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),It(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const a=19===r.type;a||t.indentLevel++;It(r,t),a||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(H)}(-1),`),i());n(`_cache[${e.index}] = `),It(e.value,t),e.isVNode&&(n(","),i(),n(`${o(H)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ct(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ot(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):It(o,t)}}function Mt(e,t){const{push:n}=t;if(8===e.type)n("["),Ot(e,t),n("]");else if(e.isStatic){n(Ne(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const _t=e("true,false,null,this"),Et=(e,t)=>{if(5===e.type)e.content=Pt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Pt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Pt(n,t))}}};function Pt(e,t,o=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(Ne(s))return o||t.identifiers[s]||n(s)||_t(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${o?"=>{}":""}`;try{c=xe(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const p=[],a=Object.create(t.identifiers);be(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>p.some(t=>t.start===e.start))(e)){const o=function(e,t){if((!Lt(t)||t.id!==e&&!t.params.includes(e))&&!Vt(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!n(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!a[e.name]&&o?(Bt(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,p.push(e)):Vt(e,t)||(o&&a[e.name]||i||(e.isConstant=!0),p.push(e))}}else Lt(e)&&e.params.forEach(t=>be(t,{enter(t,n){if(!("Identifier"!==t.type||Vt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in a?a[n]++:a[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{a[e]--,0===a[e]&&delete a[e]})}});const u=[];let f;return p.sort((e,t)=>e.start-t.start),p.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=p[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(te(t.name,!1,{source:l,start:we(e.loc.start,l,o),end:we(e.loc.start,l,r)},t.isConstant)),n===p.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=oe(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(a),f}const Lt=e=>/Function(Expression|Declaration)$/.test(e.type),At=e=>e&&"ObjectProperty"===e.type&&!e.computed,Bt=(e,t)=>At(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Vt=(e,t)=>At(t)&&t.key===e;const Ft=Nt(/^(if|else|else-if)$/,(e,t,n)=>Rt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=jt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=jt(t,e.branches.length-1,n)}}));function Rt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=te("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Dt(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&&9===i.type){n.removeNode();const r=Dt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);St(r,n),s&&s(),n.currentNode=null}break}}}function Dt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function jt(e,t,n){return e.condition?ie(e.condition,Ht(e,t,n),re(n.helper(C),['""',"true"])):Ht(e,t,n)}function Ht(e,n,o){const{helper:r}=o,s=ee("key",te(n+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Ve(e,s,o),e}return Z(o,r(b),X([s]),i,`64 /* ${t[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==S||(e.isBlock=!0,r($),r(w)),Ve(e,s,o),e}}const Gt=Nt("for",(e,n,o)=>{const{helper:r}=o;return Jt(e,n,o,n=>{const s=re(r(A),[n.source]),i=Me(e,"key"),c=i?128:256;return n.codegenNode=Z(o,r(b),void 0,s,`${c} /* ${t[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ae(e),{children:p}=n,a=p.length>1||1!==p[0].type,u=Be(e)?e:l&&1===e.children.length&&Be(e.children[0])?e.children[0]:null,f=i?ee("key",6===i.type?te(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&Ve(c,f,o)):a?c=Z(o,r(b),f?X([f]):void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0):(c=p[0].codegenNode,c.isBlock=!0,r($),r(w)),s.arguments.push(se(Yt(n.parseResult),c,!0))}})});function Jt(e,t,n,o){if(!t.exp)return;const r=Kt(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:p}=r,a={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(a),s.vFor++;const u=o&&o(a);return()=>{s.vFor--,u&&u()}}const Ut=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,zt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,qt=/^\(|\)$/g;function Kt(e,t){const n=e.loc,o=e.content,r=o.match(Ut);if(!r)return;const[,s,i]=r,c={source:Wt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(qt,"").trim();const p=s.indexOf(l),a=l.match(zt);if(a){l=l.replace(zt,"").trim();const e=a[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=Wt(n,e,t)),a[2]){const r=a[2].trim();r&&(c.index=Wt(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=Wt(n,l,p)),c}function Wt(e,t,n){return te(t,!1,$e(e,n,t.length))}function Yt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(te("_",!1)),o.push(t)),n&&(t||(e||o.push(te("_",!1)),o.push(te("__",!1))),o.push(n)),o}const Zt=te("undefined",!1),Qt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Oe(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Xt=(e,t)=>{let n;if(Ae(e)&&e.props.some(Le)&&(n=Oe(e,"for"))){const e=n.parseResult=Kt(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)}}}},en=(e,t,n)=>se(e,t,!1,!0,t.length?t[0].loc:n);function tn(e,t,n=en){t.helper(z);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ee("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Oe(e,"slot",!0);if(p){const{arg:e,exp:t}=p;s.push(ee(e||te("default",!0),n(t,o,r)))}let a=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ae(r)||!(c=Oe(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;a=!0;const{children:m,loc:g}=r,{arg:y=te("default",!0),exp:v}=c;let x;4===(h=y).type&&h.isStatic?x=y?y.content:"default":l=!0;const b=n(v,m,g);let S,N,k;if(S=Oe(r,"if"))l=!0,i.push(ie(S.exp,nn(y,b),Zt));else if(N=Oe(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ae(t)&&Oe(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?ie(N.exp,nn(y,b),Zt):nn(y,b)}}else if(k=Oe(r,"for")){l=!0;const e=k.parseResult||Kt(k.exp);e&&i.push(re(t.helper(A),[e.source,se(Yt(e),nn(y,b),!0)]))}else{if(x){if(d.has(x))continue;d.add(x),"default"===x&&(u=!0)}s.push(ee(y,b))}}var h;p||(a?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=X(s.concat(ee("_",te("1",!1))),r);return i.length&&(m=re(t.helper(V),[m,Q(i)])),{slots:m,hasDynamicSlots:l}}function nn(e,t){return X([ee("name",e),ee("fn",t)])}const on=new WeakMap,rn=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?sn(e,t):`"${n}"`;let i,c,l,p,a,u,f=0,d=!r&&("svg"===n||"foreignObject"===n||Me(e,"key",!0));if(o.length>0){const n=cn(e,t);i=n.props,f=n.patchFlag,a=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Q(o.map(e=>function(e,t){const n=[],o=on.get(e);o?n.push(t.helperString(o)):(t.helper(P),t.directives.add(e.name),n.push(Fe(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=te("true",!1,r);n.push(X(e.modifiers.map(e=>ee(e,t)),r))}return Q(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===k&&(d=!0,f|=1024),r&&s!==S&&s!==k){const{slots:n,hasDynamicSlots:o}=tn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==S){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!ht(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),a&&a.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(a))),e.codegenNode=Z(t,s,i,c,l,p,u,!!d,!1,e.loc)}};function sn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Me(e,"is"):Oe(e,"is");if(r){const e=6===r.type?r.value&&te(r.value.content,!0):r.exp;if(e)return re(t.helper(E),[e])}const s=me(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(_),t.components.add(o),Fe(o,"component"))}function cn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let a=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&ht(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const a=n[i];if(6===a.type){const{loc:e,name:t,value:n}=a;if("ref"===t&&(f=!0),"is"===t&&"component"===r)continue;c.push(ee(te(t,!0,$e(e,0,t.length)),te(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=a,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&_e(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(X(ln(c),s)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(D),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(a,e,t);!o&&n.forEach(v),c.push(...n),r&&(p.push(a),u(r)&&on.set(a,r))}else p.push(a)}}let x=void 0;return l.length?(c.length&&l.push(X(ln(c),s)),x=l.length>1?re(t.helper(R),l,s):l[0]):c.length&&(x=X(ln(c),s)),g?a|=16:(d&&(a|=2),h&&(a|=4),y.length&&(a|=8),m&&(a|=32)),0!==a&&32!==a||!(f||p.length>0)||(a|=512),{props:x,directives:p,patchFlag:a,dynamicPropNames:y}}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"))&&pn(i,r):(t.set(s,r),n.push(r))}return n}function pn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Q([e.value,t.value],e.loc)}const an=(e,t)=>{if(Be(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=un(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=re(t.helper(B),i,o)}};function un(e,t){let n='"default"',o=void 0;const r=Me(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=cn(e,t,s);o=n}return{slotName:n,slotProps:o}}const fn=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,dn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=te(`on${e.startsWith("vnode")?y(h(e)):y(e)}`,!0,i.loc)}else c=oe(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=!l;if(l){const e=Te(l.content),t=!(e||fn.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=oe([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let a={props:[ee(c,l||te("() => {}",!1,r))]};return o&&(a=o(a)),p&&(a.props[0].value=n.cache(a.props[0].value)),a},hn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?h(i.content):`${n.helperString(j)}(${i.content})`:(i.children.unshift(`${n.helperString(j)}(`),i.children.push(")"))),{props:[ee(i,o||te("",!0,s))]}},mn=(e,n)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Pe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Pe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Pe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),n.ssr||2===r.type||s.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:re(n.helper(O),s)}}}}},gn=(e,t)=>{if(1===e.type&&Oe(e,"once",!0))return t.helper(H),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},yn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return vn();if(!Te(4===o.type?o.content:o.loc.source))return vn();const s=r||te("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:oe(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ee(s,e.exp),ee(i,oe(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ne(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:oe([r,' + "Modifiers"']):"modelModifiers";c.push(ee(n,te(`{ ${t} }`,!1,e.loc,!0)))}return vn(c)};function vn(e=[]){return{props:e}}function xn(e){return[[gn,Ft,Gt,an,rn,Qt,mn],{on:dn,bind:hn,model:yn}]}function bn(e,t={}){const n=t.onError||v,o="module"===t.mode;!0===t.prefixIdentifiers?n(x(43)):o&&n(x(44));t.cacheHandlers&&n(x(45)),t.scopeId&&!o&&n(x(46));const r=a(e)?Ge(e,t):e,[s,i]=xn();return bt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),kt(r,{...t,prefixIdentifiers:!1})}const Sn=()=>({props:[]}),Nn=Symbol(""),kn=Symbol(""),Tn=Symbol(""),$n=Symbol(""),wn=Symbol(""),In=Symbol(""),Cn=Symbol(""),On=Symbol(""),Mn=Symbol(""),_n=Symbol("");let En;K({[Nn]:"vModelRadio",[kn]:"vModelCheckbox",[Tn]:"vModelText",[$n]:"vModelSelect",[wn]:"vModelDynamic",[In]:"withModifiers",[Cn]:"withKeys",[On]:"vShow",[Mn]:"Transition",[_n]:"TransitionGroup"});const Pn=e("style,iframe,script,noscript",!0),Ln={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(En||(En=document.createElement("div"))).innerHTML=e,En.textContent},isBuiltInComponent:e=>he(e,"Transition")?Mn:he(e,"TransitionGroup")?_n: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Pn(e))return 2}return 0}},An=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:Fn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Bn=/;(?![^(]*\))/g,Vn=/:(.+)/;function Fn(e,t){const n={};return e.split(Bn).forEach(e=>{if(e){const t=e.split(Vn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),te(JSON.stringify(n),!1,t,!0)}function Rn(e,t){return x(e,t)}const Dn=e("passive,once,capture"),jn=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Hn=e("onkeyup,onkeydown,onkeypress",!0),Gn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?te(t,!0):4!==e.type?oe(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Jn=[An],Un={cloak:Sn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("innerHTML",!0,r),o||te("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("textContent",!0,r),o||te("",!0))]}},model:(e,t,n)=>{const o=yn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=Tn,s=!1;if("input"===r){const n=Me(t,"type");if(n){if(7===n.type)e=wn;else if(n.value)switch(n.value.content){case"radio":e=Nn;break;case"checkbox":e=kn;break;case"file":s=!0}}else Ee(t)&&(e=wn)}else"select"===r&&(e=$n);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>dn(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];Dn(s)?o.push(s):jn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Gn(r,"onContextmenu")),c.includes("middle")&&(r=Gn(r,"onMouseup")),c.length&&(s=re(n.helper(In),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Hn(r.content)||(s=re(n.helper(Cn),[s,JSON.stringify(i)])),l.length&&(s=X([ee("handler",s),ee("options",X(l.map(e=>ee(e,te("true",!1)))))])),{props:[ee(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(On)})};function zn(e,t={}){return bn(e,{...Ln,...t,nodeTransforms:[...Jn,...t.nodeTransforms||[]],directiveTransforms:{...Un,...t.directiveTransforms||{}},transformHoist:null})}function qn(e,t={}){return Ge(e,{...Ln,...t})}export{T as BASE_TRANSITION,j as CAMELIZE,w as CREATE_BLOCK,C as CREATE_COMMENT,V as CREATE_SLOTS,M as CREATE_STATIC,O as CREATE_TEXT,I as CREATE_VNODE,Un as DOMDirectiveTransforms,Jn as DOMNodeTransforms,b as FRAGMENT,k as KEEP_ALIVE,R as MERGE_PROPS,$ as OPEN_BLOCK,J as POP_SCOPE_ID,G as PUSH_SCOPE_ID,A as RENDER_LIST,B as RENDER_SLOT,_ as RESOLVE_COMPONENT,P as RESOLVE_DIRECTIVE,E as RESOLVE_DYNAMIC_COMPONENT,H as SET_BLOCK_TRACKING,N as SUSPENSE,S as TELEPORT,F as TO_DISPLAY_STRING,D as TO_HANDLERS,Mn as TRANSITION,_n as TRANSITION_GROUP,kn as V_MODEL_CHECKBOX,wn as V_MODEL_DYNAMIC,Nn as V_MODEL_RADIO,$n as V_MODEL_SELECT,Tn as V_MODEL_TEXT,Cn as V_ON_WITH_KEYS,In as V_ON_WITH_MODIFIERS,On as V_SHOW,z as WITH_CTX,L as WITH_DIRECTIVES,U as WITH_SCOPE_ID,we as advancePositionWithClone,Ie as advancePositionWithMutation,Ce as assert,bn as baseCompile,Ge as baseParse,cn as buildProps,tn as buildSlots,zn as compile,Q as createArrayExpression,ue as createAssignmentExpression,le as createBlockStatement,ce as createCacheExpression,re as createCallExpression,x as createCompilerError,oe as createCompoundExpression,ie as createConditionalExpression,Rn as createDOMCompilerError,Yt as createForLoopParams,se as createFunctionExpression,ae as createIfStatement,ne as createInterpolation,X as createObjectExpression,ee as createObjectProperty,de as createReturnStatement,Y as createRoot,fe as createSequenceExpression,te as createSimpleExpression,Nt as createStructuralDirectiveTransform,pe as createTemplateLiteral,xt as createTransformContext,Z as createVNodeCall,Oe as findDir,Me as findProp,kt as generate,o as generateCodeFrame,xn as getBaseTransformPreset,$e as getInnerRange,Ee as hasDynamicKeyVBind,Re as hasScopeRef,q as helperNameMap,Ve as injectProp,_e as isBindKey,he as isBuiltInType,me as isCoreComponent,Te as isMemberExpression,Ne as isSimpleIdentifier,Be as isSlotOutlet,Ae as isTemplateNode,Pe as isText,Le as isVSlot,ve as loadDep,W as locStub,Sn as noopDirectiveTransform,qn as parse,xe as parseJS,Ln as parserOptions,Pt as processExpression,Jt as processFor,Rt as processIf,un as processSlotOutlet,K as registerRuntimeHelpers,sn as resolveComponentType,Fe as toValidAssetId,Qt as trackSlotScopes,Xt as trackVForSlotScopes,bt as transform,hn as transformBind,rn as transformElement,Et as transformExpression,yn as transformModel,dn as transformOn,An as transformStyle,St as traverseNode,be as walkJS}; |
@@ -1,1 +0,1 @@ | ||
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,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=()=>!1,a=Array.isArray,p=e=>"string"==typeof e,u=e=>"symbol"==typeof e,f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d=/-(\w)/g,h=f(e=>e.replace(d,(e,t)=>t?t.toUpperCase():"")),m=/\B([A-Z])/g,g=f(e=>e.replace(m,"-$1").toLowerCase()),y=f(e=>e.charAt(0).toUpperCase()+e.slice(1));function S(e){throw e}function v(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const x=Symbol(""),b=Symbol(""),N=Symbol(""),T=Symbol(""),E=Symbol(""),k=Symbol(""),O=Symbol(""),C=Symbol(""),I=Symbol(""),_=Symbol(""),w=Symbol(""),$=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),A=Symbol(""),D=Symbol(""),V=Symbol(""),B=Symbol(""),F=Symbol(""),H=Symbol(""),j=Symbol(""),G=Symbol(""),K=Symbol(""),W=Symbol(""),U=Symbol(""),J={[x]:"Fragment",[b]:"Teleport",[N]:"Suspense",[T]:"KeepAlive",[E]:"BaseTransition",[k]:"openBlock",[O]:"createBlock",[C]:"createVNode",[I]:"createCommentVNode",[_]:"createTextVNode",[w]:"createStaticVNode",[$]:"resolveComponent",[M]:"resolveDynamicComponent",[P]:"resolveDirective",[R]:"withDirectives",[L]:"renderList",[A]:"renderSlot",[D]:"createSlots",[V]:"toDisplayString",[B]:"mergeProps",[F]:"toHandlers",[H]:"camelize",[j]:"setBlockTracking",[G]:"pushScopeId",[K]:"popScopeId",[W]:"withScopeId",[U]:"withCtx"};function z(e){Object.getOwnPropertySymbols(e).forEach(t=>{J[t]=e[t]})}const Y={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function q(e,t=Y){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function X(e,t,n,o,r,s,i,c=!1,l=!1,a=Y){return e&&(c?(e.helper(k),e.helper(O)):e.helper(C),i&&e.helper(R)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:a}}function Z(e,t=Y){return{type:17,loc:t,elements:e}}function Q(e,t=Y){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:Y,key:p(e)?te(e,!0):e,value:t}}function te(e,t,n=Y,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function ne(e,t=Y){return{type:8,loc:t,children:e}}function oe(e,t=[],n=Y){return{type:14,loc:n,callee:e,arguments:t}}function re(e,t,n=!1,o=!1,r=Y){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function se(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Y}}function ie(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Y}}const ce=(e,t)=>e===t||e===g(t);function le(e){return ce(e,"Teleport")?b:ce(e,"Suspense")?N:ce(e,"KeepAlive")?T:ce(e,"BaseTransition")?E:void 0}let ae,pe;function ue(e){return window._deps[e]}const fe=(e,t)=>(be(!1,"Expression AST analysis can only be performed in non-browser builds."),ae||(ae=ue("@babel/parser").parse),ae(e,t)),de=(e,t)=>(be(!1,"Expression AST analysis can only be performed in non-browser builds."),(pe||(pe=ue("estree-walker").walk))(e,t)),he=/^\d|[^\$\w]/,me=e=>!he.test(e),ge=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ye=e=>ge.test(e);function Se(e,t,n){const o={source:e.source.substr(t,n),start:ve(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ve(e.start,e.source,t+n)),o}function ve(e,t,n=t.length){return xe({...e},t,n)}function xe(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function be(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ne(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)&&(p(t)?r.name===t:t.test(r.name)))return r}}function Te(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&&Ee(s.arg,t))return s}}function Ee(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function ke(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Oe(e){return 5===e.type||2===e.type}function Ce(e){return 7===e.type&&"slot"===e.name}function Ie(e){return 1===e.type&&3===e.tagType}function _e(e){return 1===e.type&&2===e.tagType}function we(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||p(r))o=Q([t]);else if(14===r.type){const e=r.arguments[0];p(e)||15!==e.type?r.arguments.unshift(Q([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=oe(n.helper(B),[Q([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function $e(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Me={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,namedCharacterReferences:{"gt;":">","lt;":"<","amp;":"&","apos;":"'","quot;":'"'},maxCRNameLength:5,onError:S};function Pe(e,t={}){const n=function(e,t){return{options:{...Me,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=Je(n);return q(Re(n,0,[]),ze(n,o))}function Re(e,t,n){const o=Ye(n),r=o?o.ns:0,s=[];for(;!et(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&qe(i,e.options.delimiters[0]))c=Ke(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=qe(i,"\x3c!--")?De(e):qe(i,"<!DOCTYPE")?Ve(e):qe(i,"<![CDATA[")&&0!==r?Ae(e,n):Ve(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Xe(e,3);continue}if(/[a-z]/i.test(i[2])){He(e,1,o);continue}c=Ve(e)}else/[a-z]/i.test(i[1])?c=Be(e,n):"?"===i[1]&&(c=Ve(e));if(c||(c=We(e,t)),a(c))for(let e=0;e<c.length;e++)Le(s,c[e]);else Le(s,c)}let i=!1;if(2!==t)if(e.inPre){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(t.content.trim())t.content=t.content.replace(/\s+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Le(e,t){if(3!==t.type){if(2===t.type){const n=Ye(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 Ae(e,t){Xe(e,9);const n=Re(e,3,t);return 0===e.source.length||Xe(e,3),n}function De(e){const t=Je(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));)Xe(e,s-r+1),r=s+1;Xe(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Xe(e,e.source.length);return{type:3,content:n,loc:ze(e,t)}}function Ve(e){const t=Je(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Xe(e,e.source.length)):(o=e.source.slice(n,r),Xe(e,r+1)),{type:3,content:o,loc:ze(e,t)}}function Be(e,t){const n=e.inPre,o=e.inVPre,r=Ye(t),s=He(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),a=Re(e,l,t);if(t.pop(),s.children=a,tt(e.source,s.tag))He(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&qe(e.loc.source,"\x3c!--")}return s.loc=ze(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Fe=t("if,else,else-if,for,slot");function He(e,t,n){const o=Je(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Xe(e,r[0].length),Ze(e);const c=Je(e),l=e.source;let a=je(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,a=je(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=qe(e.source,"/>"),Xe(e,p?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||le(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&Fe(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:ze(e,o),codegenNode:void 0}}function je(e,t){const n=[],o=new Set;for(;e.source.length>0&&!qe(e.source,">")&&!qe(e.source,"/>");){if(qe(e.source,"/")){Xe(e,1),Ze(e);continue}const r=Ge(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Ze(e)}return n}function Ge(e,t){const n=Je(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););}Xe(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(Ze(e),Xe(e,1),Ze(e),r=function(e){const t=Je(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Xe(e,1);const t=e.source.indexOf(o);-1===t?n=Ue(e,e.source.length,4):(n=Ue(e,t,4),Xe(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=Ue(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ze(e,t)}}(e));const s=ze(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=ze(e,Qe(e,n,r),Qe(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ve(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(qe(o,":")?"bind":qe(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ke(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Je(e);Xe(e,n.length);const i=Je(e),c=Je(e),l=r-n.length,a=e.source.slice(0,l),p=Ue(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&xe(i,a,f),xe(c,a,l-(p.length-u.length-f)),Xe(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:ze(e,i,c)},loc:ze(e,s)}}function We(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=Je(e);return{type:2,content:Ue(e,o,t),loc:ze(e,r)}}function Ue(e,t,n){let o=e.source.slice(0,t);if(2===n||3===n||-1===o.indexOf("&"))return Xe(e,t),o;const r=e.offset+t;let s="";function i(t){Xe(e,t),o=o.slice(t)}for(;e.offset<r;){const t=/&(?:#x?)?/i.exec(o);if(!t||e.offset+t.index>=r){const t=r-e.offset;s+=o.slice(0,t),i(t);break}if(s+=o.slice(0,t.index),i(t.index),"&"===t[0]){let t="",r=void 0;if(/[0-9a-z]/i.test(o[1])){for(let n=e.options.maxCRNameLength;!r&&n>0;--n)t=o.substr(1,n),r=e.options.namedCharacterReferences[t];if(r){const e=t.endsWith(";");4===n&&!e&&/[=a-z0-9]/i.test(o[t.length+1]||"")?(s+="&"+t,i(1+t.length)):(s+=r,i(1+t.length))}else s+="&"+t,i(1+t.length)}else s+="&",i(1)}else{const e="&#x"===t[0],n=(e?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(n){let t=Number.parseInt(n[1],e?16:10);0===t?t=65533:t>1114111?t=65533:t>=55296&&t<=57343?t=65533:t>=64976&&t<=65007||65534==(65534&t)||(t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159)&&(t=nt[t]||t),s+=String.fromCodePoint(t),i(n[0].length),n[0].endsWith(";")}else s+=t[0],i(t[0].length)}}return s}function Je(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ze(e,t,n){return{start:t,end:n=n||Je(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ye(e){return e[e.length-1]}function qe(e,t){return e.startsWith(t)}function Xe(e,t){const{source:n}=e;xe(e,n,t),e.source=n.slice(t)}function Ze(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Xe(e,t[0].length)}function Qe(e,t,n){return ve(t,e.originalSource.slice(t.offset,n),n)}function et(e,t,n){const o=e.source;switch(t){case 0:if(qe(o,"</"))for(let e=n.length-1;e>=0;--e)if(tt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ye(n);if(e&&tt(o,e.tag))return!0;break}case 3:if(qe(o,"]]>"))return!0}return!o}function tt(e,t){return qe(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}const nt={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function ot(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&st(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=at(e);if(!(t&&512!==t&&1!==t||it(i)||ct())){const t=lt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&st(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,rt(e,e.children[0]))}function rt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!_e(t)}function st(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(at(o)||it(e)||ct())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!st(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return st(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>p(e)||u(e)||st(e,t));default:return!1}}function it(e){return!(!Te(e,"key",!0)&&!Te(e,"ref",!0))}function ct(e){return!1}function lt(e){const t=e.codegenNode;if(13===t.type)return t.props}function at(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function pt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,onError:f=S}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:a,scopeId:p,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${J[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),te(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>ie(++d.cached,e,t)};return d}function ut(e,t){const o=pt(e,t);ft(e,o),t.hoistStatic&&ot(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(rt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(k),o(O)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=X(t,o(x),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function ft(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(a(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(I);break;case 5:t.ssr||t.helper(V);break;case 9:for(let n=0;n<e.branches.length;n++)ft(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];p(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,ft(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function dt(e,t){const n=p(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(Ce))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 ht(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${J[e]}`,push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${J[e]}: _${J[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[C,I,_,w].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),St(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(a?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${J[e]}: _${J[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(mt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(mt(e.directives,"directive",n),e.temps>0&&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?St(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function mt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?$:P);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${$e(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function gt(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];p(c)?r(c):a(c)?gt(c,t):St(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function St(e,t){if(p(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:St(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:vt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(V)}(`),St(e.content,t),n(")")}(e,t);break;case 12:St(e.codegenNode,t);break;case 8:xt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:a,isBlock:p,isForBlock:u}=e;a&&n(o(R)+"(");p&&n(`(${o(k)}(${u?"true":""}), `);n(o(p?O:C)+"(",e),yt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),p&&n(")");a&&(n(", "),St(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=p(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),yt(e.arguments,t),t.push(")")}(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];bt(o,t),n(": "),St(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){gt(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:p}=e;p&&n(`_${J[U]}(`);n("(",e),a(s)?yt(s,t):s&&St(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),a(i)?gt(i,t):St(i,t)):c&&St(c,t);(l||c)&&(r(),n("}"));p&&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=!me(n.content);e&&i("("),vt(n,t),e&&i(")")}else i("("),St(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),St(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;St(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(j)}(-1),`),i());n(`_cache[${e.index}] = `),St(e.value,t),e.isVNode&&(n(","),i(),n(`${o(j)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function vt(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];p(o)?t.push(o):St(o,t)}}function bt(e,t){const{push:n}=t;if(8===e.type)n("["),xt(e,t),n("]");else if(e.isStatic){n(me(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Nt=t("true,false,null,this");function Tt(e,t,n=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(me(s))return n||t.identifiers[s]||o(s)||Nt(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${n?"=>{}":""}`;try{c=fe(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const a=[],p=Object.create(t.identifiers);de(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>a.some(t=>t.start===e.start))(e)){const n=function(e,t){if((!Et(t)||t.id!==e&&!t.params.includes(e))&&!Ct(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!o(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!p[e.name]&&n?(Ot(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,a.push(e)):Ct(e,t)||(n&&p[e.name]||i||(e.isConstant=!0),a.push(e))}}else Et(e)&&e.params.forEach(t=>de(t,{enter(t,n){if(!("Identifier"!==t.type||Ct(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in p?p[n]++:p[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{p[e]--,0===p[e]&&delete p[e]})}});const u=[];let f;return a.sort((e,t)=>e.start-t.start),a.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=a[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(te(t.name,!1,{source:l,start:ve(e.loc.start,l,o),end:ve(e.loc.start,l,r)},t.isConstant)),n===a.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=ne(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(p),f}const Et=e=>/Function(Expression|Declaration)$/.test(e.type),kt=e=>e&&"ObjectProperty"===e.type&&!e.computed,Ot=(e,t)=>kt(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Ct=(e,t)=>kt(t)&&t.key===e;const It=dt(/^(if|else|else-if)$/,(e,t,n)=>_t(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=$t(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=$t(t,e.branches.length-1,n)}}));function _t(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=te("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=wt(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&&9===i.type){n.removeNode();const r=wt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);ft(r,n),s&&s(),n.currentNode=null}break}}}function wt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function $t(e,t,n){return e.condition?se(e.condition,Mt(e,t,n),oe(n.helper(I),['""',"true"])):Mt(e,t,n)}function Mt(e,t,o){const{helper:r}=o,s=ee("key",te(t+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return we(e,s,o),e}return X(o,r(x),Q([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==b||(e.isBlock=!0,r(k),r(O)),we(e,s,o),e}}const Pt=dt("for",(e,t,o)=>{const{helper:r}=o;return Rt(e,t,o,t=>{const s=oe(r(L),[t.source]),i=Te(e,"key"),c=i?128:256;return t.codegenNode=X(o,r(x),void 0,s,`${c} /* ${n[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ie(e),{children:a}=t,p=a.length>1||1!==a[0].type,u=_e(e)?e:l&&1===e.children.length&&_e(e.children[0])?e.children[0]:null,f=i?ee("key",6===i.type?te(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&we(c,f,o)):p?c=X(o,r(x),f?Q([f]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(c=a[0].codegenNode,c.isBlock=!0,r(k),r(O)),s.arguments.push(re(Ft(t.parseResult),c,!0))}})});function Rt(e,t,n,o){if(!t.exp)return;const r=Vt(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:3===e.tagType?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Lt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,At=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Dt=/^\(|\)$/g;function Vt(e,t){const n=e.loc,o=e.content,r=o.match(Lt);if(!r)return;const[,s,i]=r,c={source:Bt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Dt,"").trim();const a=s.indexOf(l),p=l.match(At);if(p){l=l.replace(At,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Bt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Bt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Bt(n,l,a)),c}function Bt(e,t,n){return te(t,!1,Se(e,n,t.length))}function Ft({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(te("_",!1)),o.push(t)),n&&(t||(e||o.push(te("_",!1)),o.push(te("__",!1))),o.push(n)),o}const Ht=te("undefined",!1),jt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ne(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Gt=(e,t,n)=>re(e,t,!1,!0,t.length?t[0].loc:n);function Kt(e,t,n=Gt){t.helper(U);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ee("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Ne(e,"slot",!0);if(a){const{arg:e,exp:t}=a;s.push(ee(e||te("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ie(r)||!(c=Ne(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:m,loc:g}=r,{arg:y=te("default",!0),exp:S}=c;let v;4===(h=y).type&&h.isStatic?v=y?y.content:"default":l=!0;const x=n(S,m,g);let b,N,T;if(b=Ne(r,"if"))l=!0,i.push(se(b.exp,Wt(y,x),Ht));else if(N=Ne(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ie(t)&&Ne(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?se(N.exp,Wt(y,x),Ht):Wt(y,x)}}else if(T=Ne(r,"for")){l=!0;const e=T.parseResult||Vt(T.exp);e&&i.push(oe(t.helper(L),[e.source,re(Ft(e),Wt(y,x),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ee(y,x))}}var h;a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=Q(s.concat(ee("_",te("1",!1))),r);return i.length&&(m=oe(t.helper(D),[m,Z(i)])),{slots:m,hasDynamicSlots:l}}function Wt(e,t){return Q([ee("name",e),ee("fn",t)])}const Ut=new WeakMap,Jt=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?zt(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=Yt(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Z(o.map(e=>function(e,t){const n=[],o=Ut.get(e);o?n.push(t.helperString(o)):(t.helper(P),t.directives.add(e.name),n.push($e(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=te("true",!1,r);n.push(Q(e.modifiers.map(e=>ee(e,t)),r))}return Z(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===T&&(d=!0,f|=1024),r&&s!==b&&s!==T){const{slots:n,hasDynamicSlots:o}=Kt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==b){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!st(t)&&(f|=1),c=o||2===n?t: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=X(t,s,i,c,l,a,u,d,!1,e.loc)}};function zt(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Te(e,"is"):Ne(e,"is");if(r){const e=6===r.type?r.value&&te(r.value.content,!0):r.exp;if(e)return oe(t.helper(M),[e])}const s=le(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper($),t.components.add(o),$e(o,"component"))}function Yt(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let p=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],S=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&st(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(f=!0),"is"===t&&"component"===r)continue;c.push(ee(te(t,!0,Se(e,0,t.length)),te(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=p,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Ee(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(Q(qt(c),s)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(F),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(p,e,t);!o&&n.forEach(S),c.push(...n),r&&(a.push(p),u(r)&&Ut.set(p,r))}else a.push(p)}}let v=void 0;return l.length?(c.length&&l.push(Q(qt(c),s)),v=l.length>1?oe(t.helper(B),l,s):l[0]):c.length&&(v=Q(qt(c),s)),g?p|=16:(d&&(p|=2),h&&(p|=4),y.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(f||a.length>0)||(p|=512),{props:v,directives:a,patchFlag:p,dynamicPropNames:y}}function qt(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"))&&Xt(i,r):(t.set(s,r),n.push(r))}return n}function Xt(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Z([e.value,t.value],e.loc)}const Zt=(e,t)=>{if(_e(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Qt(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=oe(t.helper(A),i,o)}};function Qt(e,t){let n='"default"',o=void 0;const r=Te(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=Yt(e,t,s);o=n}return{slotName:n,slotProps:o}}const en=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,tn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=te(`on${e.startsWith("vnode")?y(h(e)):y(e)}`,!0,i.loc)}else c=ne(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=!l;if(l){const e=ye(l.content),t=!(e||en.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=ne([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ee(c,l||te("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},nn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?h(i.content):`${n.helperString(H)}(${i.content})`:(i.children.unshift(`${n.helperString(H)}(`),i.children.push(")"))),{props:[ee(i,o||te("",!0,s))]}},on=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Oe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Oe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Oe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:oe(t.helper(_),s)}}}}},rn=(e,t)=>{if(1===e.type&&Ne(e,"once",!0))return t.helper(j),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},sn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return cn();if(!ye(4===o.type?o.content:o.loc.source))return cn();const s=r||te("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:ne(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ee(s,e.exp),ee(i,ne(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(me(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:ne([r,' + "Modifiers"']):"modelModifiers";c.push(ee(n,te(`{ ${t} }`,!1,e.loc,!0)))}return cn(c)};function cn(e=[]){return{props:e}}function ln(e){return[[rn,It,Pt,Zt,Jt,jt,on],{on:tn,bind:nn,model:sn}]}function an(e,t={}){const n=t.onError||S,o="module"===t.mode;!0===t.prefixIdentifiers?n(v(50)):o&&n(v(51));t.cacheHandlers&&n(v(52)),t.scopeId&&!o&&n(v(53));const r=p(e)?Pe(e,t):e,[s,i]=ln();return ut(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),ht(r,{...t,prefixIdentifiers:!1})}const pn=()=>({props:[]}),un=Symbol(""),fn=Symbol(""),dn=Symbol(""),hn=Symbol(""),mn=Symbol(""),gn=Symbol(""),yn=Symbol(""),Sn=Symbol(""),vn=Symbol(""),xn=Symbol("");z({[un]:"vModelRadio",[fn]:"vModelCheckbox",[dn]:"vModelText",[hn]:"vModelSelect",[mn]:"vModelDynamic",[gn]:"withModifiers",[yn]:"withKeys",[Sn]:"vShow",[vn]:"Transition",[xn]:"TransitionGroup"});const bn=t("style,iframe,script,noscript",!0),Nn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,isBuiltInComponent:e=>ce(e,"Transition")?vn:ce(e,"TransitionGroup")?xn: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(bn(e))return 2}return 0}},Tn=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:On(t.value.content,t.loc),modifiers:[],loc:t.loc})})},En=/;(?![^(]*\))/g,kn=/:(.+)/;function On(e,t){const n={};return e.split(En).forEach(e=>{if(e){const t=e.split(kn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),te(JSON.stringify(n),!1,t,!0)}function Cn(e,t){return v(e,t)}const In=t("passive,once,capture"),_n=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),wn=t("onkeyup,onkeydown,onkeypress",!0),$n=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?te(t,!0):4!==e.type?ne(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Mn=Nn,Pn=[Tn],Rn={cloak:pn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("innerHTML",!0,r),o||te("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("textContent",!0,r),o||te("",!0))]}},model:(e,t,n)=>{const o=sn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=dn,s=!1;if("input"===r){const n=Te(t,"type");if(n){if(7===n.type)e=mn;else if(n.value)switch(n.value.content){case"radio":e=un;break;case"checkbox":e=fn;break;case"file":s=!0}}else ke(t)&&(e=mn)}else"select"===r&&(e=hn);s||(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)=>tn(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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];In(s)?o.push(s):_n(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=$n(r,"onContextmenu")),c.includes("middle")&&(r=$n(r,"onMouseup")),c.length&&(s=oe(n.helper(gn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!wn(r.content)||(s=oe(n.helper(yn),[s,JSON.stringify(i)])),l.length&&(s=Q([ee("handler",s),ee("options",Q(l.map(e=>ee(e,te("true",!1)))))])),{props:[ee(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Sn)})};return e.BASE_TRANSITION=E,e.CAMELIZE=H,e.CREATE_BLOCK=O,e.CREATE_COMMENT=I,e.CREATE_SLOTS=D,e.CREATE_STATIC=w,e.CREATE_TEXT=_,e.CREATE_VNODE=C,e.DOMDirectiveTransforms=Rn,e.DOMNodeTransforms=Pn,e.FRAGMENT=x,e.KEEP_ALIVE=T,e.MERGE_PROPS=B,e.OPEN_BLOCK=k,e.POP_SCOPE_ID=K,e.PUSH_SCOPE_ID=G,e.RENDER_LIST=L,e.RENDER_SLOT=A,e.RESOLVE_COMPONENT=$,e.RESOLVE_DIRECTIVE=P,e.RESOLVE_DYNAMIC_COMPONENT=M,e.SET_BLOCK_TRACKING=j,e.SUSPENSE=N,e.TELEPORT=b,e.TO_DISPLAY_STRING=V,e.TO_HANDLERS=F,e.TRANSITION=vn,e.TRANSITION_GROUP=xn,e.V_MODEL_CHECKBOX=fn,e.V_MODEL_DYNAMIC=mn,e.V_MODEL_RADIO=un,e.V_MODEL_SELECT=hn,e.V_MODEL_TEXT=dn,e.V_ON_WITH_KEYS=yn,e.V_ON_WITH_MODIFIERS=gn,e.V_SHOW=Sn,e.WITH_CTX=U,e.WITH_DIRECTIVES=R,e.WITH_SCOPE_ID=W,e.advancePositionWithClone=ve,e.advancePositionWithMutation=xe,e.assert=be,e.baseCompile=an,e.baseParse=Pe,e.buildProps=Yt,e.buildSlots=Kt,e.compile=function(e,t={}){return an(e,{...Mn,...t,nodeTransforms:[...Pn,...t.nodeTransforms||[]],directiveTransforms:{...Rn,...t.directiveTransforms||{}},transformHoist:null})},e.createArrayExpression=Z,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:Y}},e.createBlockStatement=function(e){return{type:21,body:e,loc:Y}},e.createCacheExpression=ie,e.createCallExpression=oe,e.createCompilerError=v,e.createCompoundExpression=ne,e.createConditionalExpression=se,e.createDOMCompilerError=Cn,e.createForLoopParams=Ft,e.createFunctionExpression=re,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Y}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:p(e)?te(e,!1,t):e}},e.createObjectExpression=Q,e.createObjectProperty=ee,e.createReturnStatement=function(e){return{type:26,returns:e,loc:Y}},e.createRoot=q,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:Y}},e.createSimpleExpression=te,e.createStructuralDirectiveTransform=dt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:Y}},e.createTransformContext=pt,e.createVNodeCall=X,e.findDir=Ne,e.findProp=Te,e.generate=ht,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=ln,e.getInnerRange=Se,e.hasDynamicKeyVBind=ke,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&&me(t.content)&&!!n[t.content];case 8:return t.children.some(t=>{return null!==(o=t)&&"object"==typeof o&&e(t,n);var o});case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=J,e.injectProp=we,e.isBindKey=Ee,e.isBuiltInType=ce,e.isCoreComponent=le,e.isMemberExpression=ye,e.isSimpleIdentifier=me,e.isSlotOutlet=_e,e.isTemplateNode=Ie,e.isText=Oe,e.isVSlot=Ce,e.loadDep=ue,e.locStub=Y,e.noopDirectiveTransform=pn,e.parse=function(e,t={}){return Pe(e,{...Mn,...t})},e.parseJS=fe,e.parserOptions=Mn,e.processExpression=Tt,e.processFor=Rt,e.processIf=_t,e.processSlotOutlet=Qt,e.registerRuntimeHelpers=z,e.resolveComponentType=zt,e.toValidAssetId=$e,e.trackSlotScopes=jt,e.trackVForSlotScopes=(e,t)=>{let n;if(Ie(e)&&e.props.some(Ce)&&(n=Ne(e,"for"))){const e=n.parseResult=Vt(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=ut,e.transformBind=nn,e.transformElement=Jt,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Tt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Tt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Tt(n,t))}}},e.transformModel=sn,e.transformOn=tn,e.transformStyle=Tn,e.traverseNode=ft,e.walkJS=de,e}({}); | ||
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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,menuitem,summary,content,element,shadow,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=()=>!1,a=Array.isArray,p=e=>"string"==typeof e,u=e=>"symbol"==typeof e,f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},d=/-(\w)/g,h=f(e=>e.replace(d,(e,t)=>t?t.toUpperCase():"")),m=/\B([A-Z])/g,g=f(e=>e.replace(m,"-$1").toLowerCase()),y=f(e=>e.charAt(0).toUpperCase()+e.slice(1));function S(e){throw e}function v(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const x=Symbol(""),b=Symbol(""),T=Symbol(""),N=Symbol(""),E=Symbol(""),k=Symbol(""),O=Symbol(""),I=Symbol(""),C=Symbol(""),_=Symbol(""),w=Symbol(""),$=Symbol(""),M=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),A=Symbol(""),D=Symbol(""),V=Symbol(""),B=Symbol(""),F=Symbol(""),H=Symbol(""),j=Symbol(""),G=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),W={[x]:"Fragment",[b]:"Teleport",[T]:"Suspense",[N]:"KeepAlive",[E]:"BaseTransition",[k]:"openBlock",[O]:"createBlock",[I]:"createVNode",[C]:"createCommentVNode",[_]:"createTextVNode",[w]:"createStaticVNode",[$]:"resolveComponent",[M]:"resolveDynamicComponent",[P]:"resolveDirective",[R]:"withDirectives",[L]:"renderList",[A]:"renderSlot",[D]:"createSlots",[V]:"toDisplayString",[B]:"mergeProps",[F]:"toHandlers",[H]:"camelize",[j]:"setBlockTracking",[G]:"pushScopeId",[K]:"popScopeId",[U]:"withScopeId",[J]:"withCtx"};function Y(e){Object.getOwnPropertySymbols(e).forEach(t=>{W[t]=e[t]})}const q={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function z(e,t=q){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function X(e,t,n,o,r,s,i,c=!1,l=!1,a=q){return e&&(c?(e.helper(k),e.helper(O)):e.helper(I),i&&e.helper(R)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:a}}function Z(e,t=q){return{type:17,loc:t,elements:e}}function Q(e,t=q){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:q,key:p(e)?te(e,!0):e,value:t}}function te(e,t,n=q,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function ne(e,t=q){return{type:8,loc:t,children:e}}function oe(e,t=[],n=q){return{type:14,loc:n,callee:e,arguments:t}}function re(e,t,n=!1,o=!1,r=q){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function se(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:q}}function ie(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:q}}const ce=(e,t)=>e===t||e===g(t);function le(e){return ce(e,"Teleport")?b:ce(e,"Suspense")?T:ce(e,"KeepAlive")?N:ce(e,"BaseTransition")?E:void 0}let ae,pe;function ue(e){return window._deps[e]}const fe=(e,t)=>(be(!1,"Expression AST analysis can only be performed in non-browser builds."),ae||(ae=ue("@babel/parser").parse),ae(e,t)),de=(e,t)=>(be(!1,"Expression AST analysis can only be performed in non-browser builds."),(pe||(pe=ue("estree-walker").walk))(e,t)),he=/^\d|[^\$\w]/,me=e=>!he.test(e),ge=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ye=e=>ge.test(e);function Se(e,t,n){const o={source:e.source.substr(t,n),start:ve(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ve(e.start,e.source,t+n)),o}function ve(e,t,n=t.length){return xe({...e},t,n)}function xe(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function be(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Te(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)&&(p(t)?r.name===t:t.test(r.name)))return r}}function Ne(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&&Ee(s.arg,t))return s}}function Ee(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function ke(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Oe(e){return 5===e.type||2===e.type}function Ie(e){return 7===e.type&&"slot"===e.name}function Ce(e){return 1===e.type&&3===e.tagType}function _e(e){return 1===e.type&&2===e.tagType}function we(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||p(r))o=Q([t]);else if(14===r.type){const e=r.arguments[0];p(e)||15!==e.type?r.arguments.unshift(Q([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=oe(n.helper(B),[Q([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function $e(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Me=/&(gt|lt|amp|apos|quot);/g,Pe={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Re={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(Me,(e,t)=>Pe[t]),onError:S};function Le(e,t={}){const n=function(e,t){return{options:{...Re,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=qe(n);return z(Ae(n,0,[]),ze(n,o))}function Ae(e,t,n){const o=Xe(n),r=o?o.ns:0,s=[];for(;!nt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&Ze(i,e.options.delimiters[0]))c=Je(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Ze(i,"\x3c!--")?Be(e):Ze(i,"<!DOCTYPE")?Fe(e):Ze(i,"<![CDATA[")&&0!==r?Ve(e,n):Fe(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Qe(e,3);continue}if(/[a-z]/i.test(i[2])){Ge(e,1,o);continue}c=Fe(e)}else/[a-z]/i.test(i[1])?c=He(e,n):"?"===i[1]&&(c=Fe(e));if(c||(c=We(e,t)),a(c))for(let e=0;e<c.length;e++)De(s,c[e]);else De(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function De(e,t){if(3!==t.type){if(2===t.type){const n=Xe(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 Ve(e,t){Qe(e,9);const n=Ae(e,3,t);return 0===e.source.length||Qe(e,3),n}function Be(e){const t=qe(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));)Qe(e,s-r+1),r=s+1;Qe(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Qe(e,e.source.length);return{type:3,content:n,loc:ze(e,t)}}function Fe(e){const t=qe(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Qe(e,e.source.length)):(o=e.source.slice(n,r),Qe(e,r+1)),{type:3,content:o,loc:ze(e,t)}}function He(e,t){const n=e.inPre,o=e.inVPre,r=Xe(t),s=Ge(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),a=Ae(e,l,t);if(t.pop(),s.children=a,ot(e.source,s.tag))Ge(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Ze(e.loc.source,"\x3c!--")}return s.loc=ze(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const je=t("if,else,else-if,for,slot");function Ge(e,t,n){const o=qe(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Qe(e,r[0].length),et(e);const c=qe(e),l=e.source;let a=Ke(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,a=Ke(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=Ze(e.source,"/>"),Qe(e,p?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||le(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&je(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:ze(e,o),codegenNode:void 0}}function Ke(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Ze(e.source,">")&&!Ze(e.source,"/>");){if(Ze(e.source,"/")){Qe(e,1),et(e);continue}const r=Ue(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),et(e)}return n}function Ue(e,t){const n=qe(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););}Qe(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(et(e),Qe(e,1),et(e),r=function(e){const t=qe(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Qe(e,1);const t=e.source.indexOf(o);-1===t?n=Ye(e,e.source.length,4):(n=Ye(e,t,4),Qe(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=Ye(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ze(e,t)}}(e));const s=ze(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=ze(e,tt(e,n,r),tt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ve(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Ze(o,":")?"bind":Ze(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Je(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=qe(e);Qe(e,n.length);const i=qe(e),c=qe(e),l=r-n.length,a=e.source.slice(0,l),p=Ye(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&xe(i,a,f),xe(c,a,l-(p.length-u.length-f)),Qe(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:ze(e,i,c)},loc:ze(e,s)}}function We(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=qe(e);return{type:2,content:Ye(e,o,t),loc:ze(e,r)}}function Ye(e,t,n){const o=e.source.slice(0,t);return Qe(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function qe(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ze(e,t,n){return{start:t,end:n=n||qe(e),source:e.originalSource.slice(t.offset,n.offset)}}function Xe(e){return e[e.length-1]}function Ze(e,t){return e.startsWith(t)}function Qe(e,t){const{source:n}=e;xe(e,n,t),e.source=n.slice(t)}function et(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Qe(e,t[0].length)}function tt(e,t,n){return ve(t,e.originalSource.slice(t.offset,n),n)}function nt(e,t,n){const o=e.source;switch(t){case 0:if(Ze(o,"</"))for(let e=n.length-1;e>=0;--e)if(ot(o,n[e].tag))return!0;break;case 1:case 2:{const e=Xe(n);if(e&&ot(o,e.tag))return!0;break}case 3:if(Ze(o,"]]>"))return!0}return!o}function ot(e,t){return Ze(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function rt(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&it(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=pt(e);if(!(t&&512!==t&&1!==t||ct(i)||lt())){const t=at(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&it(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,st(e,e.children[0]))}function st(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!_e(t)}function it(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(pt(o)||ct(e)||lt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!it(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return it(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>p(e)||u(e)||it(e,t));default:return!1}}function ct(e){return!(!Ne(e,"key",!0)&&!Ne(e,"ref",!0))}function lt(e){return!1}function at(e){const t=e.codegenNode;if(13===t.type)return t.props}function pt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function ut(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,onError:f=S}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:a,scopeId:p,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${W[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),te(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>ie(++d.cached,e,t)};return d}function ft(e,t){const o=ut(e,t);dt(e,o),t.hoistStatic&&rt(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(st(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(k),o(O)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=X(t,o(x),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function dt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(a(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(C);break;case 5:t.ssr||t.helper(V);break;case 9:for(let n=0;n<e.branches.length;n++)dt(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];p(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,dt(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function ht(e,t){const n=p(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(Ie))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 mt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${W[e]}`,push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${W[e]}: _${W[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,C,_,w].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),vt(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(a?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${W[e]}: _${W[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.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?vt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function gt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?$:P);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${$e(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function yt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),St(e,t,n),n&&t.deindent(),t.push("]")}function St(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];p(c)?r(c):a(c)?yt(c,t):vt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function vt(e,t){if(p(e))t.push(e);else if(u(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:vt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:xt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(V)}(`),vt(e.content,t),n(")")}(e,t);break;case 12:vt(e.codegenNode,t);break;case 8:bt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:a,isBlock:p,isForBlock:u}=e;a&&n(o(R)+"(");p&&n(`(${o(k)}(${u?"true":""}), `);n(o(p?O:I)+"(",e),St(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),p&&n(")");a&&(n(", "),vt(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=p(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),St(e.arguments,t),t.push(")")}(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];Tt(o,t),n(": "),vt(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){yt(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:p}=e;p&&n(`_${W[J]}(`);n("(",e),a(s)?St(s,t):s&&vt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),a(i)?yt(i,t):vt(i,t)):c&&vt(c,t);(l||c)&&(r(),n("}"));p&&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=!me(n.content);e&&i("("),xt(n,t),e&&i(")")}else i("("),vt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),vt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;vt(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(j)}(-1),`),i());n(`_cache[${e.index}] = `),vt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(j)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function xt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function bt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];p(o)?t.push(o):vt(o,t)}}function Tt(e,t){const{push:n}=t;if(8===e.type)n("["),bt(e,t),n("]");else if(e.isStatic){n(me(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Nt=t("true,false,null,this");function Et(e,t,n=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(me(s))return n||t.identifiers[s]||o(s)||Nt(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;const l=r?` ${s} `:`(${s})${n?"=>{}":""}`;try{c=fe(l,{plugins:[...t.expressionPlugins,"bigInt","optionalChaining","nullishCoalescingOperator"]}).program}catch(t){return e}const a=[],p=Object.create(t.identifiers);de(c,{enter(e,t){if("Identifier"===e.type){if(!(e=>a.some(t=>t.start===e.start))(e)){const n=function(e,t){if((!kt(t)||t.id!==e&&!t.params.includes(e))&&!Ct(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!o(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!p[e.name]&&n?(It(e,t)&&(e.prefix=`${e.name}: `),e.name=`_ctx.${e.name}`,a.push(e)):Ct(e,t)||(n&&p[e.name]||i||(e.isConstant=!0),a.push(e))}}else kt(e)&&e.params.forEach(t=>de(t,{enter(t,n){if(!("Identifier"!==t.type||Ct(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in p?p[n]++:p[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==c.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{p[e]--,0===p[e]&&delete p[e]})}});const u=[];let f;return a.sort((e,t)=>e.start-t.start),a.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=a[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const l=s.slice(o,r);u.push(te(t.name,!1,{source:l,start:ve(e.loc.start,l,o),end:ve(e.loc.start,l,r)},t.isConstant)),n===a.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?f=ne(u,e.loc):(f=e,f.isConstant=!i),f.identifiers=Object.keys(p),f}const kt=e=>/Function(Expression|Declaration)$/.test(e.type),Ot=e=>e&&"ObjectProperty"===e.type&&!e.computed,It=(e,t)=>Ot(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Ct=(e,t)=>Ot(t)&&t.key===e;const _t=ht(/^(if|else|else-if)$/,(e,t,n)=>wt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=Mt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Mt(t,e.branches.length-1,n)}}));function wt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=te("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=$t(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&&9===i.type){n.removeNode();const r=$t(e,t);i.branches.push(r);const s=o&&o(i,r,!1);dt(r,n),s&&s(),n.currentNode=null}break}}}function $t(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Mt(e,t,n){return e.condition?se(e.condition,Pt(e,t,n),oe(n.helper(C),['""',"true"])):Pt(e,t,n)}function Pt(e,t,o){const{helper:r}=o,s=ee("key",te(t+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return we(e,s,o),e}return X(o,r(x),Q([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==b||(e.isBlock=!0,r(k),r(O)),we(e,s,o),e}}const Rt=ht("for",(e,t,o)=>{const{helper:r}=o;return Lt(e,t,o,t=>{const s=oe(r(L),[t.source]),i=Ne(e,"key"),c=i?128:256;return t.codegenNode=X(o,r(x),void 0,s,`${c} /* ${n[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ce(e),{children:a}=t,p=a.length>1||1!==a[0].type,u=_e(e)?e:l&&1===e.children.length&&_e(e.children[0])?e.children[0]:null,f=i?ee("key",6===i.type?te(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&we(c,f,o)):p?c=X(o,r(x),f?Q([f]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(c=a[0].codegenNode,c.isBlock=!0,r(k),r(O)),s.arguments.push(re(Ht(t.parseResult),c,!0))}})});function Lt(e,t,n,o){if(!t.exp)return;const r=Bt(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:3===e.tagType?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const At=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Dt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Vt=/^\(|\)$/g;function Bt(e,t){const n=e.loc,o=e.content,r=o.match(At);if(!r)return;const[,s,i]=r,c={source:Ft(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Vt,"").trim();const a=s.indexOf(l),p=l.match(Dt);if(p){l=l.replace(Dt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Ft(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Ft(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Ft(n,l,a)),c}function Ft(e,t,n){return te(t,!1,Se(e,n,t.length))}function Ht({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(te("_",!1)),o.push(t)),n&&(t||(e||o.push(te("_",!1)),o.push(te("__",!1))),o.push(n)),o}const jt=te("undefined",!1),Gt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Te(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Kt=(e,t,n)=>re(e,t,!1,!0,t.length?t[0].loc:n);function Ut(e,t,n=Kt){t.helper(J);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ee("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=Te(e,"slot",!0);if(a){const{arg:e,exp:t}=a;s.push(ee(e||te("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ce(r)||!(c=Te(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:m,loc:g}=r,{arg:y=te("default",!0),exp:S}=c;let v;4===(h=y).type&&h.isStatic?v=y?y.content:"default":l=!0;const x=n(S,m,g);let b,T,N;if(b=Te(r,"if"))l=!0,i.push(se(b.exp,Jt(y,x),jt));else if(T=Te(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ce(t)&&Te(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=T.exp?se(T.exp,Jt(y,x),jt):Jt(y,x)}}else if(N=Te(r,"for")){l=!0;const e=N.parseResult||Bt(N.exp);e&&i.push(oe(t.helper(L),[e.source,re(Ht(e),Jt(y,x),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ee(y,x))}}var h;a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=Q(s.concat(ee("_",te("1",!1))),r);return i.length&&(m=oe(t.helper(D),[m,Z(i)])),{slots:m,hasDynamicSlots:l}}function Jt(e,t){return Q([ee("name",e),ee("fn",t)])}const Wt=new WeakMap,Yt=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?qt(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=!r&&("svg"===n||"foreignObject"===n||Ne(e,"key",!0));if(o.length>0){const n=zt(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?Z(o.map(e=>function(e,t){const n=[],o=Wt.get(e);o?n.push(t.helperString(o)):(t.helper(P),t.directives.add(e.name),n.push($e(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=te("true",!1,r);n.push(Q(e.modifiers.map(e=>ee(e,t)),r))}return Z(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===N&&(d=!0,f|=1024),r&&s!==b&&s!==N){const{slots:n,hasDynamicSlots:o}=Ut(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==b){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!it(t)&&(f|=1),c=o||2===n?t: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=X(t,s,i,c,l,a,u,!!d,!1,e.loc)}};function qt(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Ne(e,"is"):Te(e,"is");if(r){const e=6===r.type?r.value&&te(r.value.content,!0):r.exp;if(e)return oe(t.helper(M),[e])}const s=le(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper($),t.components.add(o),$e(o,"component"))}function zt(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let p=0,f=!1,d=!1,h=!1,m=!1,g=!1;const y=[],S=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>"o"===e[0]&&"n"===e[1])(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&it(t))return;"ref"===n?f=!0:"class"===n?d=!0:"style"===n?h=!0:"key"===n||y.includes(n)||y.push(n)}else g=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(f=!0),"is"===t&&"component"===r)continue;c.push(ee(te(t,!0,Se(e,0,t.length)),te(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:f,loc:d}=p,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Ee(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){g=!0,f&&(c.length&&(l.push(Q(Xt(c),s)),c=[]),l.push(h?f:{type:14,loc:d,callee:t.helper(F),arguments:[f]}));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:r}=y(p,e,t);!o&&n.forEach(S),c.push(...n),r&&(a.push(p),u(r)&&Wt.set(p,r))}else a.push(p)}}let v=void 0;return l.length?(c.length&&l.push(Q(Xt(c),s)),v=l.length>1?oe(t.helper(B),l,s):l[0]):c.length&&(v=Q(Xt(c),s)),g?p|=16:(d&&(p|=2),h&&(p|=4),y.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(f||a.length>0)||(p|=512),{props:v,directives:a,patchFlag:p,dynamicPropNames:y}}function Xt(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"))&&Zt(i,r):(t.set(s,r),n.push(r))}return n}function Zt(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Z([e.value,t.value],e.loc)}const Qt=(e,t)=>{if(_e(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=en(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(n)),e.codegenNode=oe(t.helper(A),i,o)}};function en(e,t){let n='"default"',o=void 0;const r=Ne(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=zt(e,t,s);o=n}return{slotName:n,slotProps:o}}const tn=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,nn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=te(`on${e.startsWith("vnode")?y(h(e)):y(e)}`,!0,i.loc)}else c=ne(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=!l;if(l){const e=ye(l.content),t=!(e||tn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=ne([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ee(c,l||te("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},on=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?h(i.content):`${n.helperString(H)}(${i.content})`:(i.children.unshift(`${n.helperString(H)}(`),i.children.push(")"))),{props:[ee(i,o||te("",!0,s))]}},rn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Oe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Oe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Oe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:oe(t.helper(_),s)}}}}},sn=(e,t)=>{if(1===e.type&&Te(e,"once",!0))return t.helper(j),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},cn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return ln();if(!ye(4===o.type?o.content:o.loc.source))return ln();const s=r||te("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:ne(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ee(s,e.exp),ee(i,ne(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(me(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:ne([r,' + "Modifiers"']):"modelModifiers";c.push(ee(n,te(`{ ${t} }`,!1,e.loc,!0)))}return ln(c)};function ln(e=[]){return{props:e}}function an(e){return[[sn,_t,Rt,Qt,Yt,Gt,rn],{on:nn,bind:on,model:cn}]}function pn(e,t={}){const n=t.onError||S,o="module"===t.mode;!0===t.prefixIdentifiers?n(v(43)):o&&n(v(44));t.cacheHandlers&&n(v(45)),t.scopeId&&!o&&n(v(46));const r=p(e)?Le(e,t):e,[s,i]=an();return ft(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),mt(r,{...t,prefixIdentifiers:!1})}const un=()=>({props:[]}),fn=Symbol(""),dn=Symbol(""),hn=Symbol(""),mn=Symbol(""),gn=Symbol(""),yn=Symbol(""),Sn=Symbol(""),vn=Symbol(""),xn=Symbol(""),bn=Symbol("");let Tn;Y({[fn]:"vModelRadio",[dn]:"vModelCheckbox",[hn]:"vModelText",[mn]:"vModelSelect",[gn]:"vModelDynamic",[yn]:"withModifiers",[Sn]:"withKeys",[vn]:"vShow",[xn]:"Transition",[bn]:"TransitionGroup"});const Nn=t("style,iframe,script,noscript",!0),En={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Tn||(Tn=document.createElement("div"))).innerHTML=e,Tn.textContent},isBuiltInComponent:e=>ce(e,"Transition")?xn:ce(e,"TransitionGroup")?bn: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(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Nn(e))return 2}return 0}},kn=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:Cn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},On=/;(?![^(]*\))/g,In=/:(.+)/;function Cn(e,t){const n={};return e.split(On).forEach(e=>{if(e){const t=e.split(In);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),te(JSON.stringify(n),!1,t,!0)}function _n(e,t){return v(e,t)}const wn=t("passive,once,capture"),$n=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Mn=t("onkeyup,onkeydown,onkeypress",!0),Pn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?te(t,!0):4!==e.type?ne(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Rn=[kn],Ln={cloak:un,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("innerHTML",!0,r),o||te("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ee(te("textContent",!0,r),o||te("",!0))]}},model:(e,t,n)=>{const o=cn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=hn,s=!1;if("input"===r){const n=Ne(t,"type");if(n){if(7===n.type)e=gn;else if(n.value)switch(n.value.content){case"radio":e=fn;break;case"checkbox":e=dn;break;case"file":s=!0}}else ke(t)&&(e=gn)}else"select"===r&&(e=mn);s||(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)=>nn(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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];wn(s)?o.push(s):$n(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Pn(r,"onContextmenu")),c.includes("middle")&&(r=Pn(r,"onMouseup")),c.length&&(s=oe(n.helper(yn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Mn(r.content)||(s=oe(n.helper(Sn),[s,JSON.stringify(i)])),l.length&&(s=Q([ee("handler",s),ee("options",Q(l.map(e=>ee(e,te("true",!1)))))])),{props:[ee(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(vn)})};return e.BASE_TRANSITION=E,e.CAMELIZE=H,e.CREATE_BLOCK=O,e.CREATE_COMMENT=C,e.CREATE_SLOTS=D,e.CREATE_STATIC=w,e.CREATE_TEXT=_,e.CREATE_VNODE=I,e.DOMDirectiveTransforms=Ln,e.DOMNodeTransforms=Rn,e.FRAGMENT=x,e.KEEP_ALIVE=N,e.MERGE_PROPS=B,e.OPEN_BLOCK=k,e.POP_SCOPE_ID=K,e.PUSH_SCOPE_ID=G,e.RENDER_LIST=L,e.RENDER_SLOT=A,e.RESOLVE_COMPONENT=$,e.RESOLVE_DIRECTIVE=P,e.RESOLVE_DYNAMIC_COMPONENT=M,e.SET_BLOCK_TRACKING=j,e.SUSPENSE=T,e.TELEPORT=b,e.TO_DISPLAY_STRING=V,e.TO_HANDLERS=F,e.TRANSITION=xn,e.TRANSITION_GROUP=bn,e.V_MODEL_CHECKBOX=dn,e.V_MODEL_DYNAMIC=gn,e.V_MODEL_RADIO=fn,e.V_MODEL_SELECT=mn,e.V_MODEL_TEXT=hn,e.V_ON_WITH_KEYS=Sn,e.V_ON_WITH_MODIFIERS=yn,e.V_SHOW=vn,e.WITH_CTX=J,e.WITH_DIRECTIVES=R,e.WITH_SCOPE_ID=U,e.advancePositionWithClone=ve,e.advancePositionWithMutation=xe,e.assert=be,e.baseCompile=pn,e.baseParse=Le,e.buildProps=zt,e.buildSlots=Ut,e.compile=function(e,t={}){return pn(e,{...En,...t,nodeTransforms:[...Rn,...t.nodeTransforms||[]],directiveTransforms:{...Ln,...t.directiveTransforms||{}},transformHoist:null})},e.createArrayExpression=Z,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:q}},e.createBlockStatement=function(e){return{type:21,body:e,loc:q}},e.createCacheExpression=ie,e.createCallExpression=oe,e.createCompilerError=v,e.createCompoundExpression=ne,e.createConditionalExpression=se,e.createDOMCompilerError=_n,e.createForLoopParams=Ht,e.createFunctionExpression=re,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:q}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:p(e)?te(e,!1,t):e}},e.createObjectExpression=Q,e.createObjectProperty=ee,e.createReturnStatement=function(e){return{type:26,returns:e,loc:q}},e.createRoot=z,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:q}},e.createSimpleExpression=te,e.createStructuralDirectiveTransform=ht,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:q}},e.createTransformContext=ut,e.createVNodeCall=X,e.findDir=Te,e.findProp=Ne,e.generate=mt,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=an,e.getInnerRange=Se,e.hasDynamicKeyVBind=ke,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&&me(t.content)&&!!n[t.content];case 8:return t.children.some(t=>{return null!==(o=t)&&"object"==typeof o&&e(t,n);var o});case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=W,e.injectProp=we,e.isBindKey=Ee,e.isBuiltInType=ce,e.isCoreComponent=le,e.isMemberExpression=ye,e.isSimpleIdentifier=me,e.isSlotOutlet=_e,e.isTemplateNode=Ce,e.isText=Oe,e.isVSlot=Ie,e.loadDep=ue,e.locStub=q,e.noopDirectiveTransform=un,e.parse=function(e,t={}){return Le(e,{...En,...t})},e.parseJS=fe,e.parserOptions=En,e.processExpression=Et,e.processFor=Lt,e.processIf=wt,e.processSlotOutlet=en,e.registerRuntimeHelpers=Y,e.resolveComponentType=qt,e.toValidAssetId=$e,e.trackSlotScopes=Gt,e.trackVForSlotScopes=(e,t)=>{let n;if(Ce(e)&&e.props.some(Ie)&&(n=Te(e,"for"))){const e=n.parseResult=Bt(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=ft,e.transformBind=on,e.transformElement=Yt,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Et(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Et(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Et(n,t))}}},e.transformModel=cn,e.transformOn=nn,e.transformStyle=kn,e.traverseNode=dt,e.walkJS=de,e}({}); |
{ | ||
"name": "@vue/compiler-dom", | ||
"version": "3.0.0-alpha.11", | ||
"version": "3.0.0-alpha.12", | ||
"description": "@vue/compiler-dom", | ||
@@ -37,5 +37,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.0.0-alpha.11", | ||
"@vue/compiler-core": "3.0.0-alpha.11" | ||
"@vue/shared": "3.0.0-alpha.12", | ||
"@vue/compiler-core": "3.0.0-alpha.12" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
579863
14953
+ Added@vue/compiler-core@3.0.0-alpha.12(transitive)
+ Added@vue/shared@3.0.0-alpha.12(transitive)
- Removed@vue/compiler-core@3.0.0-alpha.11(transitive)
- Removed@vue/shared@3.0.0-alpha.11(transitive)
Updated@vue/shared@3.0.0-alpha.12