@vue/compiler-dom
Advanced tools
Comparing version 3.1.0-beta.3 to 3.1.0-beta.4
@@ -1,1 +0,1 @@ | ||
function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function t(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let i=0;i<o.length;i++)if(r+=o[i].length+1,r>=t){for(let e=i-2;e<=i+2||n>r;e++){if(e<0||e>=o.length)continue;const c=e+1;s.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${o[e]}`);const l=o[e].length;if(e===i){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>i){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 n=/;(?![^(]*\))/g,o=/:(.+)/;const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,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,summary,template,blockquote,iframe,tfoot"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,b=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),x=/\B([A-Z])/g,S=y((e=>e.replace(x,"-$1").toLowerCase())),k=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${k(e)}`:""));function _(e){throw e}function T(e){}function w(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const $=Symbol(""),C=Symbol(""),E=Symbol(""),O=Symbol(""),I=Symbol(""),M=Symbol(""),P=Symbol(""),V=Symbol(""),L=Symbol(""),R=Symbol(""),F=Symbol(""),B=Symbol(""),A=Symbol(""),j=Symbol(""),D=Symbol(""),H=Symbol(""),J=Symbol(""),U=Symbol(""),W=Symbol(""),z=Symbol(""),G=Symbol(""),q=Symbol(""),K=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se={[$]:"Fragment",[C]:"Teleport",[E]:"Suspense",[O]:"KeepAlive",[I]:"BaseTransition",[M]:"openBlock",[P]:"createBlock",[V]:"createVNode",[L]:"createCommentVNode",[R]:"createTextVNode",[F]:"createStaticVNode",[B]:"resolveComponent",[A]:"resolveDynamicComponent",[j]:"resolveDirective",[D]:"resolveFilter",[H]:"withDirectives",[J]:"renderList",[U]:"renderSlot",[W]:"createSlots",[z]:"toDisplayString",[G]:"mergeProps",[q]:"toHandlers",[K]:"camelize",[Y]:"capitalize",[Z]:"toHandlerKey",[Q]:"setBlockTracking",[X]:"pushScopeId",[ee]:"popScopeId",[te]:"withScopeId",[ne]:"withCtx",[oe]:"unref",[re]:"isRef"};function ie(e){Object.getOwnPropertySymbols(e).forEach((t=>{se[t]=e[t]}))}const ce={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function le(e,t=ce){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ae(e,t,n,o,r,s,i,c=!1,l=!1,a=ce){return e&&(c?(e.helper(M),e.helper(P)):e.helper(V),i&&e.helper(H)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:a}}function pe(e,t=ce){return{type:17,loc:t,elements:e}}function ue(e,t=ce){return{type:15,loc:t,properties:e}}function fe(e,t){return{type:16,loc:ce,key:d(e)?de(e,!0):e,value:t}}function de(e,t,n=ce,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function he(e,t){return{type:5,loc:t,content:d(e)?de(e,!1,t):e}}function me(e,t=ce){return{type:8,loc:t,children:e}}function ge(e,t=[],n=ce){return{type:14,loc:n,callee:e,arguments:t}}function ye(e,t,n=!1,o=!1,r=ce){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ve(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ce}}function be(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ce}}function xe(e){return{type:21,body:e,loc:ce}}function Se(e){return{type:22,elements:e,loc:ce}}function ke(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ce}}function Ne(e,t){return{type:24,left:e,right:t,loc:ce}}function _e(e){return{type:25,expressions:e,loc:ce}}function Te(e){return{type:26,returns:e,loc:ce}}const we=e=>4===e.type&&e.isStatic,$e=(e,t)=>e===t||e===S(t);function Ce(e){return $e(e,"Teleport")?C:$e(e,"Suspense")?E:$e(e,"KeepAlive")?O:$e(e,"BaseTransition")?I:void 0}const Ee=/^\d|[^\$\w]/,Oe=e=>!Ee.test(e),Ie=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Me=e=>!!e&&Ie.test(e.trim());function Pe(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 Le(u({},e),t,n)}function Le(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Re(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Fe(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(d(t)?r.name===t:t.test(r.name)))return r}}function Be(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Ae(s.arg,t))return s}}function Ae(e,t){return!(!e||!we(e)||e.content!==t)}function je(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function De(e){return 5===e.type||2===e.type}function He(e){return 7===e.type&&"slot"===e.name}function Je(e){return 1===e.type&&3===e.tagType}function Ue(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||d(r))o=ue([t]);else if(14===r.type){const e=r.arguments[0];d(e)||15!==e.type?r.callee===q?o=ge(n.helper(G),[ue([t]),r]):r.arguments.unshift(ue([t])):e.properties.unshift(t),!o&&(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=ge(n.helper(G),[ue([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function ze(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Ge(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&&(Ge(o.arg,t)||Ge(o.exp,t)))return!0}return e.children.some((e=>Ge(e,t)));case 11:return!!Ge(e.source,t)||e.children.some((e=>Ge(e,t)));case 9:return e.branches.some((e=>Ge(e,t)));case 10:return!!Ge(e.condition,t)||e.children.some((e=>Ge(e,t)));case 4:return!e.isStatic&&Oe(e.content)&&!!t[e.content];case 8:return e.children.some((e=>m(e)&&Ge(e,t)));case 5:case 12:return Ge(e.content,t);case 2:case 3:default:return!1}}const qe={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function Ke(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function Ye(e,t){const n=Ke("MODE",t),o=Ke(e,t);return 3===n?!0===o:!1!==o}function Ze(e,t,n,...o){return Ye(e,t)}function Qe(e,t,n,...o){if("suppress-warning"===Ke(e,t))return;const{message:r,link:s}=qe[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const Xe=/&(gt|lt|amp|apos|quot);/g,et={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},tt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(Xe,((e,t)=>et[t])),onError:_,onWarn:T,comments:!1};function nt(e,t={}){const n=function(e,t){const n=u({},tt);for(const o in t)n[o]=t[o]||tt[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=gt(n);return le(ot(n,0,[]),yt(n,o))}function ot(e,t,n){const o=vt(n),r=o?o.ns:0,s=[];for(;!Nt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&bt(i,e.options.delimiters[0]))c=dt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=bt(i,"\x3c!--")?it(e):bt(i,"<!DOCTYPE")?ct(e):bt(i,"<![CDATA[")&&0!==r?st(e,n):ct(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){xt(e,3);continue}if(/[a-z]/i.test(i[2])){pt(e,1,o);continue}c=ct(e)}else/[a-z]/i.test(i[1])?(c=lt(e,n),Ye("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&at(e.name)))&&(c=c.children)):"?"===i[1]&&(c=ct(e));if(c||(c=ht(e,t)),f(c))for(let e=0;e<c.length;e++)rt(s,c[e]);else rt(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"===e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(!e.inPre&&2===o.type)if(/[^\t\r\n\f ]/.test(o.content))t||(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||!t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function rt(e,t){if(2===t.type){const n=vt(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 st(e,t){xt(e,9);const n=ot(e,3,t);return 0===e.source.length||xt(e,3),n}function it(e){const t=gt(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));)xt(e,s-r+1),r=s+1;xt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),xt(e,e.source.length);return{type:3,content:n,loc:yt(e,t)}}function ct(e){const t=gt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),xt(e,e.source.length)):(o=e.source.slice(n,r),xt(e,r+1)),{type:3,content:o,loc:yt(e,t)}}function lt(e,t){const n=e.inPre,o=e.inVPre,r=vt(t),s=pt(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,r),a=ot(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&Ze("COMPILER_INLINE_TEMPLATE",e)){const n=yt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,_t(e.source,s.tag))pt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&bt(e.loc.source,"\x3c!--")}return s.loc=yt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const at=e("if,else,else-if,for,slot");function pt(e,t,n){const o=gt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);xt(e,r[0].length),St(e);const c=gt(e),l=e.source;let a=ut(e,t);e.options.isPreTag(s)&&(e.inPre=!0),0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=ut(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=bt(e.source,"/>"),xt(e,p?2:1)),1===t)return;let f=0;const d=e.options;if(!e.inVPre&&!d.isCustomElement(s)){const t=a.some((t=>{if("is"===t.name)return 7===t.type||(!(!t.value||!t.value.content.startsWith("vue:"))||(!!Ze("COMPILER_IS_ON_ELEMENT",e)||void 0))}));d.isNativeTag&&!t?d.isNativeTag(s)||(f=1):(t||Ce(s)||d.isBuiltInComponent&&d.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(f=1),"slot"===s?f=2:"template"===s&&a.some((e=>7===e.type&&at(e.name)))&&(f=3)}return{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:yt(e,o),codegenNode:void 0}}function ut(e,t){const n=[],o=new Set;for(;e.source.length>0&&!bt(e.source,">")&&!bt(e.source,"/>");){if(bt(e.source,"/")){xt(e,1),St(e);continue}const r=ft(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),St(e)}return n}function ft(e,t){const n=gt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;xt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(St(e),xt(e,1),St(e),r=function(e){const t=gt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){xt(e,1);const t=e.source.indexOf(o);-1===t?n=mt(e,e.source.length,4):(n=mt(e,t,4),xt(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=mt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:yt(e,t)}}(e));const s=yt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=t[1]||(bt(o,":")?"bind":bt(o,"@")?"on":"slot");if(t[2]){const r="slot"===c,s=o.lastIndexOf(t[2]),l=yt(e,kt(e,n,s),kt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:l}}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)}const l=t[3]?t[3].substr(1).split("."):[];return"bind"===c&&i&&l.includes("sync")&&Ze("COMPILER_V_BIND_SYNC",e,0)&&(c="model",l.splice(l.indexOf("sync"),1)),{type:7,name:c,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:l,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function dt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=gt(e);xt(e,n.length);const i=gt(e),c=gt(e),l=r-n.length,a=e.source.slice(0,l),p=mt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Le(i,a,f);return Le(c,a,l-(p.length-u.length-f)),xt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:yt(e,i,c)},loc:yt(e,s)}}function ht(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=gt(e);return{type:2,content:mt(e,o,t),loc:yt(e,r)}}function mt(e,t,n){const o=e.source.slice(0,t);return xt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function gt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function yt(e,t,n){return{start:t,end:n=n||gt(e),source:e.originalSource.slice(t.offset,n.offset)}}function vt(e){return e[e.length-1]}function bt(e,t){return e.startsWith(t)}function xt(e,t){const{source:n}=e;Le(e,n,t),e.source=n.slice(t)}function St(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&xt(e,t[0].length)}function kt(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(bt(o,"</"))for(let e=n.length-1;e>=0;--e)if(_t(o,n[e].tag))return!0;break;case 1:case 2:{const e=vt(n);if(e&&_t(o,e.tag))return!0;break}case 3:if(bt(o,"]]>"))return!0}return!o}function _t(e,t){return bt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Tt(e,t){$t(e,t,wt(e,e.children[0]))}function wt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ue(t)}function $t(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i<s.length;i++){const e=s[i];if(1===e.type&&0===e.tagType){const s=n?0:Ct(e,t);if(s>0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=It(n);if((!o||512===o||1===o)&&Et(e,t)>=2){const o=Ot(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ct(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,$t(e,t),n&&t.scopes.vSlot--}else if(11===e.type)$t(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)$t(e.branches[n],t,1===e.branches[n].children.length)}r&&o&&t.transformHoist&&t.transformHoist(s,t,e)}function Ct(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(It(r))return n.set(e,0),0;{let o=3;const s=Et(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Ct(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Ct(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(M),t.removeHelper(P),r.isBlock=!1,t.helper(V)),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ct(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(d(o)||h(o))continue;const r=Ct(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}function Et(e,t){let n=3;const o=Ot(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Ct(r,t);if(0===i)return i;if(i<n&&(n=i),4!==s.type)return 0;const c=Ct(s,t);if(0===c)return c;c<n&&(n=c)}}return n}function Ot(e){const t=e.codegenNode;if(13===t.type)return t.props}function It(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Mt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,ssrCssVars:g="",bindingMetadata:y=c,inline:v=!1,isTS:x=!1,onError:S=_,onWarn:N=T,compatConfig:w}){const $=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:$&&k(b($[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,ssrCssVars:g,bindingMetadata:y,inline:v,isTS:x,onError:S,onWarn:N,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${se[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){C.hoists.push(e);const t=de(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>be(++C.cached,e,t)};return C.filters=new Set,C}function Pt(e,t){const n=Mt(e,t);Vt(e,n),t.hoistStatic&&Tt(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(wt(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(V),r.isBlock=!0,n(M),n(P))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=ae(t,n($),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Vt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(f(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(L);break;case 5:t.ssr||t.helper(z);break;case 9:for(let n=0;n<e.branches.length;n++)Vt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Vt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Lt(e,t){const n=d(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(He))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 Rt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${se[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);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${se[e]}: _${se[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[V,L,R,F].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),jt(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${se[e]}: _${se[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Ft(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Ft(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Ft(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?jt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Ft(e,t,{helper:n,push:o,newline:r}){const s=n("filter"===t?D:"component"===t?B:j);for(let i=0;i<e.length;i++){let n=e[i];const c=n.endsWith("__self");c&&(n=n.slice(0,-6)),o(`const ${ze(n,t)} = ${s}(${JSON.stringify(n)}${c?", true":""})`),i<e.length-1&&r()}}function Bt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),At(e,t,n),n&&t.deindent(),t.push("]")}function At(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?Bt(c,t):jt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function jt(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:jt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Dt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(z)}(`),jt(e.content,t),n(")")}(e,t);break;case 12:jt(e.codegenNode,t);break;case 8:Ht(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(L)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f}=e;p&&n(o(H)+"(");u&&n(`(${o(M)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(u?P:V)+"(",e),At(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),jt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),At(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];Jt(e,t),n(": "),jt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Bt(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(`_${se[ne]}(`);n("(",e),f(s)?At(s,t):s&&jt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?Bt(i,t):jt(i,t)):c&&jt(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Oe(n.content);e&&i("("),Dt(n,t),e&&i(")")}else i("("),jt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),jt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;jt(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(Q)}(-1),`),i());n(`_cache[${e.index}] = `),jt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Q)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Dt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ht(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):jt(o,t)}}function Jt(e,t){const{push:n}=t;if(8===e.type)n("["),Ht(e,t),n("]");else if(e.isStatic){n(Oe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Ut=(e,t)=>{if(5===e.type)e.content=Wt(e.content);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Wt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Wt(n))}}};function Wt(e,t,n=!1,o=!1){return e}const zt=Lt(/^(if|else|else-if)$/,((e,t,n)=>Gt(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Kt(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Kt(t,i+e.branches.length-1,n)}}}))));function Gt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=de("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=qt(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=qt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Vt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function qt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Fe(e,"for")?[e]:e.children,userKey:Be(e,"key")}}function Kt(e,t,n){return e.condition?ve(e.condition,Yt(e,t,n),ge(n.helper(L),['""',"true"])):Yt(e,t,n)}function Yt(e,t,n){const{helper:o,removeHelper:r}=n,s=fe("key",de(`${t}`,!1,ce,2)),{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,n),e}{let t=64;return ae(n,o($),ue([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=c.codegenNode;return 13!==e.type||e.isBlock||(r(V),e.isBlock=!0,o(M),o(P)),We(e,s,n),e}}const Zt=Lt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Qt(e,t,n,(t=>{const s=ge(o(J),[t.source]),i=Be(e,"key"),c=i?fe("key",6===i.type?de(i.value.content,!0):i.exp):null,l=4===t.source.type&&t.source.constType>0,a=l?64:i?128:256;return t.codegenNode=ae(n,o($),void 0,s,a+"",void 0,void 0,!0,!l,e.loc),()=>{let i;const a=Je(e),{children:p}=t,u=1!==p.length||1!==p[0].type,f=Ue(e)?e:a&&1===e.children.length&&Ue(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&c&&We(i,c,n)):u?i=ae(n,o($),c?ue([c]):void 0,e.children,"64",void 0,void 0,!0):(i=p[0].codegenNode,a&&c&&We(i,c,n),i.isBlock!==!l&&(i.isBlock?(r(M),r(P)):r(V)),i.isBlock=!l,i.isBlock?(o(M),o(P)):o(V)),s.arguments.push(ye(rn(t.parseResult),i,!0))}}))}));function Qt(e,t,n,o){if(!t.exp)return;const r=nn(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:Je(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Xt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,en=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,tn=/^\(|\)$/g;function nn(e,t){const n=e.loc,o=e.content,r=o.match(Xt);if(!r)return;const[,s,i]=r,c={source:on(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(tn,"").trim();const a=s.indexOf(l),p=l.match(en);if(p){l=l.replace(en,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=on(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=on(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=on(n,l,a)),c}function on(e,t,n){return de(t,!1,Pe(e,n,t.length))}function rn({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(de("_",!1)),o.push(t)),n&&(t||(e||o.push(de("_",!1)),o.push(de("__",!1))),o.push(n)),o}const sn=de("undefined",!1),cn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Fe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},ln=(e,t)=>{let n;if(Je(e)&&e.props.some(He)&&(n=Fe(e,"for"))){const e=n.parseResult=nn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},an=(e,t,n)=>ye(e,t,!1,!0,t.length?t[0].loc:n);function pn(e,t,n=an){t.helper(ne);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Fe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!we(e)&&(c=!0),s.push(fe(e||de("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Je(e)||!(r=Fe(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=de("default",!0),exp:y}=r;let v;we(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let x,S,k;if(x=Fe(e,"if"))c=!0,i.push(ve(x.exp,un(g,b),sn));else if(S=Fe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Je(e)&&Fe(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=S.exp?ve(S.exp,un(g,b),sn):un(g,b)}}else if(k=Fe(e,"for")){c=!0;const e=k.parseResult||nn(k.exp);e&&i.push(ge(t.helper(J),[e.source,ye(rn(e),un(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(fe(g,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),fe("default",s)};a?u.length&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:fn(e.children)?3:1;let h=ue(s.concat(fe("_",de(d+"",!1))),r);return i.length&&(h=ge(t.helper(W),[h,pe(i)])),{slots:h,hasDynamicSlots:c}}function un(e,t){return ue([fe("name",e),fe("fn",t)])}function fn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||0===n.tagType&&fn(n.children))return!0;break;case 9:if(fn(n.branches))return!0;break;case 10:case 11:if(fn(n.children))return!0}}return!1}const dn=new WeakMap,hn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?mn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===A||s===C||s===E||!r&&("svg"===n||"foreignObject"===n||Be(e,"key",!0));if(o.length>0){const n=gn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?pe(o.map((e=>function(e,t){const n=[],o=dn.get(e);o?n.push(t.helperString(o)):(t.helper(j),t.directives.add(e.name),n.push(ze(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=de("true",!1,r);n.push(ue(e.modifiers.map((e=>fe(e,t))),r))}return pe(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===O&&(d=!0,f|=1024);if(r&&s!==C&&s!==O){const{slots:n,hasDynamicSlots:o}=pn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==C){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ct(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=ae(t,s,i,c,l,a,u,!!d,!1,e.loc)};function mn(e,t,n=!1){let{tag:o}=e;const r=bn(o),s=Be(e,"is")||!r&&Fe(e,"is");if(s)if(r||6!==s.type){const e=6===s.type?s.value&&de(s.value.content,!0):s.exp;if(e)return ge(t.helper(A),[e])}else o=s.value.content.replace(/^vue:/,"");const i=Ce(o)||t.isBuiltInComponent(o);return i?(n||t.helper(i),i):(t.helper(B),t.components.add(o),ze(o,"component"))}function gn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,b=!1;const x=[],S=({key:e,value:n})=>{if(we(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&Ct(n,t)>0)return;"ref"===o?f=!0:"class"!==o||i?"style"!==o||i?"key"===o||x.includes(o)||x.push(o):m=!0:d=!0}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:t,value:n}=i;let o=!0;if("ref"===t&&(f=!0),"is"===t&&(bn(r)||n&&n.content.startsWith("vue:")))continue;c.push(fe(de(t,!0,Pe(e,0,t.length)),de(n?n.content:"",o,n?n.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&bn(r)&&Ae(p,"is"))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(ue(yn(c),s)),c=[]),d){if(Ye("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(q),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(S),c.push(...n),r&&(a.push(i),h(r)&&dn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&Ze("COMPILER_V_FOR_REF",t)&&c.push(fe(de("refInFor",!0),de("true",!1)))}let k;return l.length?(c.length&&l.push(ue(yn(c),s)),k=l.length>1?ge(t.helper(G),l,s):l[0]):c.length&&(k=ue(yn(c),s)),v?u|=16:(d&&(u|=2),m&&(u|=4),x.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||b||a.length>0)||(u|=512),{props:k,directives:a,patchFlag:u,dynamicPropNames:x}}function yn(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"))&&vn(i,r):(t.set(s,r),n.push(r))}return n}function vn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=pe([e.value,t.value],e.loc)}function bn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const xn=(e,t)=>{if(Ue(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Sn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(ye([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=ge(t.helper(U),i,o)}};function Sn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=b(t.name),r.push(t))):"bind"===t.name&&Ae(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&we(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=gn(e,t,r);n=o}return{slotName:o,slotProps:n}}const kn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\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){c=de(N(b(i.content)),!0,i.loc)}else c=me([`${n.helperString(Z)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(Z)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l;if(l){const e=Me(l.content),t=!(e||kn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=me([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[fe(c,l||de("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},_n=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?b(i.content):`${n.helperString(K)}(${i.content})`:(i.children.unshift(`${n.helperString(K)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[fe(i,de("",!0,s))]}:{props:[fe(i,o)]}},Tn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(De(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!De(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(De(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Ct(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:ge(t.helper(R),r)}}}}},wn=new WeakSet,$n=(e,t)=>{if(1===e.type&&Fe(e,"once",!0)){if(wn.has(e))return;return wn.add(e),t.helper(Q),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Cn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return En();const s=o.loc.source;if(!Me(4===o.type?o.content:s))return En();const i=r||de("modelValue",!0),c=r?we(r)?`onUpdate:${r.content}`:me(['"onUpdate:" + ',r]):"onUpdate:modelValue";let l;l=me([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[fe(i,e.exp),fe(c,l)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Oe(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?we(r)?`${r.content}Modifiers`:me([r,' + "Modifiers"']):"modelModifiers";a.push(fe(n,de(`{ ${t} }`,!1,e.loc,2)))}return En(a)};function En(e=[]){return{props:e}}const On=/[\w).+\-_$\]]/,In=(e,t)=>{Ye("COMPILER_FILTER",t)&&(5===e.type&&Mn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Mn(e.exp,t)})))};function Mn(e,t){if(4===e.type)Pn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Pn(o,t):8===o.type?Mn(e,t):5===o.type&&Mn(o.content,t))}}function Pn(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&On.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=Vn(i,m[s],t);e.content=i}}function Vn(e,t,n){n.helper(D);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${ze(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${ze(r,"filter")}(${e}${")"!==s?","+s:s}`}}function Ln(e){return[[$n,zt,Zt,In,xn,hn,cn,Tn],{on:Nn,bind:_n,model:Cn}]}function Rn(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(w(45)):o&&n(w(46));t.cacheHandlers&&n(w(47)),t.scopeId&&!o&&n(w(48));const r=d(e)?nt(e,t):e,[s,i]=Ln();return Pt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),Rt(r,u({},t,{prefixIdentifiers:false}))}const Fn=()=>({props:[]}),Bn=Symbol(""),An=Symbol(""),jn=Symbol(""),Dn=Symbol(""),Hn=Symbol(""),Jn=Symbol(""),Un=Symbol(""),Wn=Symbol(""),zn=Symbol(""),Gn=Symbol("");let qn;ie({[Bn]:"vModelRadio",[An]:"vModelCheckbox",[jn]:"vModelText",[Dn]:"vModelSelect",[Hn]:"vModelDynamic",[Jn]:"withModifiers",[Un]:"withKeys",[Wn]:"vShow",[zn]:"Transition",[Gn]:"TransitionGroup"});const Kn=e("style,iframe,script,noscript",!0),Yn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(qn||(qn=document.createElement("div"))).innerHTML=e,qn.textContent},isBuiltInComponent:e=>$e(e,"Transition")?zn:$e(e,"TransitionGroup")?Gn:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Kn(e))return 2}return 0}},Zn=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:de("style",!0,t.loc),exp:Qn(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Qn=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return de(JSON.stringify(r),!1,t,3)};function Xn(e,t){return w(e,t)}const eo=e("passive,once,capture"),to=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),no=e("left,right"),oo=e("onkeyup,onkeydown,onkeypress",!0),ro=(e,t)=>we(e)&&"onclick"===e.content.toLowerCase()?de(t,!0):4!==e.type?me(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,so=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},io=[Zn],co={cloak:Fn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("innerHTML",!0,r),o||de("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("textContent",!0),o?ge(n.helperString(z),[o],r):de("",!0))]}},model:(e,t,n)=>{const o=Cn(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=jn,i=!1;if("input"===r||s){const n=Be(t,"type");if(n){if(7===n.type)e=Hn;else if(n.value)switch(n.value.content){case"radio":e=Bn;break;case"checkbox":e=An;break;case"file":i=!0}}else je(t)&&(e=Hn)}else"select"===r&&(e=Dn);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>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,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&Ze("COMPILER_V_ON_NATIVE",n)||eo(o)?i.push(o):no(o)?we(e)?oo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):to(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=ro(r,"onContextmenu")),c.includes("middle")&&(r=ro(r,"onMouseup")),c.length&&(s=ge(n.helper(Jn),[s,JSON.stringify(c)])),!i.length||we(r)&&!oo(r.content)||(s=ge(n.helper(Un),[s,JSON.stringify(i)])),l.length){const e=l.map(k).join("");r=we(r)?de(`${r.content}${e}`,!0):me(["(",r,`) + "${e}"`])}return{props:[fe(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(Wn)})};function lo(e,t={}){return Rn(e,u({},Yn,t,{nodeTransforms:[so,...io,...t.nodeTransforms||[]],directiveTransforms:u({},co,t.directiveTransforms||{}),transformHoist:null}))}function ao(e,t={}){return nt(e,u({},Yn,t))}export{I as BASE_TRANSITION,K as CAMELIZE,Y as CAPITALIZE,P as CREATE_BLOCK,L as CREATE_COMMENT,W as CREATE_SLOTS,F as CREATE_STATIC,R as CREATE_TEXT,V as CREATE_VNODE,co as DOMDirectiveTransforms,io as DOMNodeTransforms,$ as FRAGMENT,re as IS_REF,O as KEEP_ALIVE,G as MERGE_PROPS,M as OPEN_BLOCK,ee as POP_SCOPE_ID,X as PUSH_SCOPE_ID,J as RENDER_LIST,U as RENDER_SLOT,B as RESOLVE_COMPONENT,j as RESOLVE_DIRECTIVE,A as RESOLVE_DYNAMIC_COMPONENT,D as RESOLVE_FILTER,Q as SET_BLOCK_TRACKING,E as SUSPENSE,C as TELEPORT,z as TO_DISPLAY_STRING,q as TO_HANDLERS,Z as TO_HANDLER_KEY,zn as TRANSITION,Gn as TRANSITION_GROUP,oe as UNREF,An as V_MODEL_CHECKBOX,Hn as V_MODEL_DYNAMIC,Bn as V_MODEL_RADIO,Dn as V_MODEL_SELECT,jn as V_MODEL_TEXT,Un as V_ON_WITH_KEYS,Jn as V_ON_WITH_MODIFIERS,Wn as V_SHOW,ne as WITH_CTX,H as WITH_DIRECTIVES,te as WITH_SCOPE_ID,Ve as advancePositionWithClone,Le as advancePositionWithMutation,Re as assert,Rn as baseCompile,nt as baseParse,gn as buildProps,pn as buildSlots,Ze as checkCompatEnabled,lo as compile,pe as createArrayExpression,Ne as createAssignmentExpression,xe as createBlockStatement,be as createCacheExpression,ge as createCallExpression,w as createCompilerError,me as createCompoundExpression,ve as createConditionalExpression,Xn as createDOMCompilerError,rn as createForLoopParams,ye as createFunctionExpression,ke as createIfStatement,he as createInterpolation,ue as createObjectExpression,fe as createObjectProperty,Te as createReturnStatement,le as createRoot,_e as createSequenceExpression,de as createSimpleExpression,Lt as createStructuralDirectiveTransform,Se as createTemplateLiteral,Mt as createTransformContext,ae as createVNodeCall,Fe as findDir,Be as findProp,Rt as generate,t as generateCodeFrame,Ln as getBaseTransformPreset,Pe as getInnerRange,je as hasDynamicKeyVBind,Ge as hasScopeRef,se as helperNameMap,We as injectProp,Ae as isBindKey,$e as isBuiltInType,Ce as isCoreComponent,Me as isMemberExpression,Oe as isSimpleIdentifier,Ue as isSlotOutlet,we as isStaticExp,Je as isTemplateNode,De as isText,He as isVSlot,ce as locStub,Fn as noopDirectiveTransform,ao as parse,Yn as parserOptions,Wt as processExpression,Qt as processFor,Gt as processIf,Sn as processSlotOutlet,ie as registerRuntimeHelpers,mn as resolveComponentType,ze as toValidAssetId,cn as trackSlotScopes,ln as trackVForSlotScopes,Pt as transform,_n as transformBind,hn as transformElement,Ut as transformExpression,Cn as transformModel,Nn as transformOn,Zn as transformStyle,Vt as traverseNode,Qe as warnDeprecation}; | ||
function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function t(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let i=0;i<o.length;i++)if(r+=o[i].length+1,r>=t){for(let e=i-2;e<=i+2||n>r;e++){if(e<0||e>=o.length)continue;const c=e+1;s.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${o[e]}`);const l=o[e].length;if(e===i){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>i){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 n=/;(?![^(]*\))/g,o=/:(.+)/;const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,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,summary,template,blockquote,iframe,tfoot"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,b=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),x=/\B([A-Z])/g,S=y((e=>e.replace(x,"-$1").toLowerCase())),k=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${k(e)}`:""));function _(e){throw e}function T(e){}function w(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const $=Symbol(""),C=Symbol(""),E=Symbol(""),O=Symbol(""),I=Symbol(""),M=Symbol(""),P=Symbol(""),V=Symbol(""),L=Symbol(""),R=Symbol(""),F=Symbol(""),B=Symbol(""),A=Symbol(""),j=Symbol(""),D=Symbol(""),H=Symbol(""),J=Symbol(""),U=Symbol(""),W=Symbol(""),z=Symbol(""),G=Symbol(""),q=Symbol(""),K=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se={[$]:"Fragment",[C]:"Teleport",[E]:"Suspense",[O]:"KeepAlive",[I]:"BaseTransition",[M]:"openBlock",[P]:"createBlock",[V]:"createVNode",[L]:"createCommentVNode",[R]:"createTextVNode",[F]:"createStaticVNode",[B]:"resolveComponent",[A]:"resolveDynamicComponent",[j]:"resolveDirective",[D]:"resolveFilter",[H]:"withDirectives",[J]:"renderList",[U]:"renderSlot",[W]:"createSlots",[z]:"toDisplayString",[G]:"mergeProps",[q]:"toHandlers",[K]:"camelize",[Y]:"capitalize",[Z]:"toHandlerKey",[Q]:"setBlockTracking",[X]:"pushScopeId",[ee]:"popScopeId",[te]:"withScopeId",[ne]:"withCtx",[oe]:"unref",[re]:"isRef"};function ie(e){Object.getOwnPropertySymbols(e).forEach((t=>{se[t]=e[t]}))}const ce={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function le(e,t=ce){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ae(e,t,n,o,r,s,i,c=!1,l=!1,a=ce){return e&&(c?(e.helper(M),e.helper(P)):e.helper(V),i&&e.helper(H)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:a}}function pe(e,t=ce){return{type:17,loc:t,elements:e}}function ue(e,t=ce){return{type:15,loc:t,properties:e}}function fe(e,t){return{type:16,loc:ce,key:d(e)?de(e,!0):e,value:t}}function de(e,t,n=ce,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function he(e,t){return{type:5,loc:t,content:d(e)?de(e,!1,t):e}}function me(e,t=ce){return{type:8,loc:t,children:e}}function ge(e,t=[],n=ce){return{type:14,loc:n,callee:e,arguments:t}}function ye(e,t,n=!1,o=!1,r=ce){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ve(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ce}}function be(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ce}}function xe(e){return{type:21,body:e,loc:ce}}function Se(e){return{type:22,elements:e,loc:ce}}function ke(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ce}}function Ne(e,t){return{type:24,left:e,right:t,loc:ce}}function _e(e){return{type:25,expressions:e,loc:ce}}function Te(e){return{type:26,returns:e,loc:ce}}const we=e=>4===e.type&&e.isStatic,$e=(e,t)=>e===t||e===S(t);function Ce(e){return $e(e,"Teleport")?C:$e(e,"Suspense")?E:$e(e,"KeepAlive")?O:$e(e,"BaseTransition")?I:void 0}const Ee=/^\d|[^\$\w]/,Oe=e=>!Ee.test(e),Ie=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,Me=e=>!!e&&Ie.test(e.trim());function Pe(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 Le(u({},e),t,n)}function Le(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Re(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Fe(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(d(t)?r.name===t:t.test(r.name)))return r}}function Be(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Ae(s.arg,t))return s}}function Ae(e,t){return!(!e||!we(e)||e.content!==t)}function je(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function De(e){return 5===e.type||2===e.type}function He(e){return 7===e.type&&"slot"===e.name}function Je(e){return 1===e.type&&3===e.tagType}function Ue(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||d(r))o=ue([t]);else if(14===r.type){const e=r.arguments[0];d(e)||15!==e.type?r.callee===q?o=ge(n.helper(G),[ue([t]),r]):r.arguments.unshift(ue([t])):e.properties.unshift(t),!o&&(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=ge(n.helper(G),[ue([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function ze(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Ge(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&&(Ge(o.arg,t)||Ge(o.exp,t)))return!0}return e.children.some((e=>Ge(e,t)));case 11:return!!Ge(e.source,t)||e.children.some((e=>Ge(e,t)));case 9:return e.branches.some((e=>Ge(e,t)));case 10:return!!Ge(e.condition,t)||e.children.some((e=>Ge(e,t)));case 4:return!e.isStatic&&Oe(e.content)&&!!t[e.content];case 8:return e.children.some((e=>m(e)&&Ge(e,t)));case 5:case 12:return Ge(e.content,t);case 2:case 3:default:return!1}}const qe={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function Ke(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function Ye(e,t){const n=Ke("MODE",t),o=Ke(e,t);return 3===n?!0===o:!1!==o}function Ze(e,t,n,...o){return Ye(e,t)}function Qe(e,t,n,...o){if("suppress-warning"===Ke(e,t))return;const{message:r,link:s}=qe[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)}const Xe=/&(gt|lt|amp|apos|quot);/g,et={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},tt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(Xe,((e,t)=>et[t])),onError:_,onWarn:T,comments:!1};function nt(e,t={}){const n=function(e,t){const n=u({},tt);for(const o in t)n[o]=t[o]||tt[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=gt(n);return le(ot(n,0,[]),yt(n,o))}function ot(e,t,n){const o=vt(n),r=o?o.ns:0,s=[];for(;!Nt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&bt(i,e.options.delimiters[0]))c=dt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=bt(i,"\x3c!--")?it(e):bt(i,"<!DOCTYPE")?ct(e):bt(i,"<![CDATA[")&&0!==r?st(e,n):ct(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){xt(e,3);continue}if(/[a-z]/i.test(i[2])){pt(e,1,o);continue}c=ct(e)}else/[a-z]/i.test(i[1])?(c=lt(e,n),Ye("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&at(e.name)))&&(c=c.children)):"?"===i[1]&&(c=ct(e));if(c||(c=ht(e,t)),f(c))for(let e=0;e<c.length;e++)rt(s,c[e]);else rt(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"===e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(!e.inPre&&2===o.type)if(/[^\t\r\n\f ]/.test(o.content))t||(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||!t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function rt(e,t){if(2===t.type){const n=vt(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 st(e,t){xt(e,9);const n=ot(e,3,t);return 0===e.source.length||xt(e,3),n}function it(e){const t=gt(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));)xt(e,s-r+1),r=s+1;xt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),xt(e,e.source.length);return{type:3,content:n,loc:yt(e,t)}}function ct(e){const t=gt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),xt(e,e.source.length)):(o=e.source.slice(n,r),xt(e,r+1)),{type:3,content:o,loc:yt(e,t)}}function lt(e,t){const n=e.inPre,o=e.inVPre,r=vt(t),s=pt(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,r),a=ot(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&Ze("COMPILER_INLINE_TEMPLATE",e)){const n=yt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,_t(e.source,s.tag))pt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&bt(e.loc.source,"\x3c!--")}return s.loc=yt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const at=e("if,else,else-if,for,slot");function pt(e,t,n){const o=gt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);xt(e,r[0].length),St(e);const c=gt(e),l=e.source;let a=ut(e,t);e.options.isPreTag(s)&&(e.inPre=!0),0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=ut(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=bt(e.source,"/>"),xt(e,p?2:1)),1===t)return;let f=0;const d=e.options;if(!e.inVPre&&!d.isCustomElement(s)){const t=a.some((t=>{if("is"===t.name)return 7===t.type||(!(!t.value||!t.value.content.startsWith("vue:"))||(!!Ze("COMPILER_IS_ON_ELEMENT",e)||void 0))}));d.isNativeTag&&!t?d.isNativeTag(s)||(f=1):(t||Ce(s)||d.isBuiltInComponent&&d.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(f=1),"slot"===s?f=2:"template"===s&&a.some((e=>7===e.type&&at(e.name)))&&(f=3)}return{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:yt(e,o),codegenNode:void 0}}function ut(e,t){const n=[],o=new Set;for(;e.source.length>0&&!bt(e.source,">")&&!bt(e.source,"/>");){if(bt(e.source,"/")){xt(e,1),St(e);continue}const r=ft(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),St(e)}return n}function ft(e,t){const n=gt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;xt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(St(e),xt(e,1),St(e),r=function(e){const t=gt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){xt(e,1);const t=e.source.indexOf(o);-1===t?n=mt(e,e.source.length,4):(n=mt(e,t,4),xt(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=mt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:yt(e,t)}}(e));const s=yt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=t[1]||(bt(o,":")?"bind":bt(o,"@")?"on":"slot");if(t[2]){const r="slot"===c,s=o.lastIndexOf(t[2]),l=yt(e,kt(e,n,s),kt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:l}}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)}const l=t[3]?t[3].substr(1).split("."):[];return"bind"===c&&i&&l.includes("sync")&&Ze("COMPILER_V_BIND_SYNC",e,0)&&(c="model",l.splice(l.indexOf("sync"),1)),{type:7,name:c,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:l,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function dt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=gt(e);xt(e,n.length);const i=gt(e),c=gt(e),l=r-n.length,a=e.source.slice(0,l),p=mt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Le(i,a,f);return Le(c,a,l-(p.length-u.length-f)),xt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:yt(e,i,c)},loc:yt(e,s)}}function ht(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=gt(e);return{type:2,content:mt(e,o,t),loc:yt(e,r)}}function mt(e,t,n){const o=e.source.slice(0,t);return xt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function gt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function yt(e,t,n){return{start:t,end:n=n||gt(e),source:e.originalSource.slice(t.offset,n.offset)}}function vt(e){return e[e.length-1]}function bt(e,t){return e.startsWith(t)}function xt(e,t){const{source:n}=e;Le(e,n,t),e.source=n.slice(t)}function St(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&xt(e,t[0].length)}function kt(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(bt(o,"</"))for(let e=n.length-1;e>=0;--e)if(_t(o,n[e].tag))return!0;break;case 1:case 2:{const e=vt(n);if(e&&_t(o,e.tag))return!0;break}case 3:if(bt(o,"]]>"))return!0}return!o}function _t(e,t){return bt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Tt(e,t){$t(e,t,wt(e,e.children[0]))}function wt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ue(t)}function $t(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i<s.length;i++){const e=s[i];if(1===e.type&&0===e.tagType){const s=n?0:Ct(e,t);if(s>0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=It(n);if((!o||512===o||1===o)&&Et(e,t)>=2){const o=Ot(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=Ct(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,$t(e,t),n&&t.scopes.vSlot--}else if(11===e.type)$t(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)$t(e.branches[n],t,1===e.branches[n].children.length)}r&&o&&t.transformHoist&&t.transformHoist(s,t,e)}function Ct(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(It(r))return n.set(e,0),0;{let o=3;const s=Et(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Ct(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Ct(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(M),t.removeHelper(P),r.isBlock=!1,t.helper(V)),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ct(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(d(o)||h(o))continue;const r=Ct(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}function Et(e,t){let n=3;const o=Ot(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=Ct(r,t);if(0===i)return i;if(i<n&&(n=i),4!==s.type)return 0;const c=Ct(s,t);if(0===c)return c;c<n&&(n=c)}}return n}function Ot(e){const t=e.codegenNode;if(13===t.type)return t.props}function It(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Mt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,ssrCssVars:g="",bindingMetadata:y=c,inline:v=!1,isTS:x=!1,onError:S=_,onWarn:N=T,compatConfig:w}){const $=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:$&&k(b($[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,ssrCssVars:g,bindingMetadata:y,inline:v,isTS:x,onError:S,onWarn:N,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${se[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){C.hoists.push(e);const t=de(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>be(++C.cached,e,t)};return C.filters=new Set,C}function Pt(e,t){const n=Mt(e,t);Vt(e,n),t.hoistStatic&&Tt(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(wt(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(V),r.isBlock=!0,n(M),n(P))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=ae(t,n($),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Vt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(f(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(L);break;case 5:t.ssr||t.helper(z);break;case 9:for(let n=0;n<e.branches.length;n++)Vt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Vt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Lt(e,t){const n=d(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(He))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 Rt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${se[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);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${se[e]}: _${se[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[V,L,R,F].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),jt(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${se[e]}: _${se[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Ft(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Ft(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Ft(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?jt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Ft(e,t,{helper:n,push:o,newline:r}){const s=n("filter"===t?D:"component"===t?B:j);for(let i=0;i<e.length;i++){let n=e[i];const c=n.endsWith("__self");c&&(n=n.slice(0,-6)),o(`const ${ze(n,t)} = ${s}(${JSON.stringify(n)}${c?", true":""})`),i<e.length-1&&r()}}function Bt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),At(e,t,n),n&&t.deindent(),t.push("]")}function At(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?Bt(c,t):jt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function jt(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:jt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Dt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(z)}(`),jt(e.content,t),n(")")}(e,t);break;case 12:jt(e.codegenNode,t);break;case 8:Ht(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(L)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f}=e;p&&n(o(H)+"(");u&&n(`(${o(M)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(u?P:V)+"(",e),At(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),jt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),At(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];Jt(e,t),n(": "),jt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Bt(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(`_${se[ne]}(`);n("(",e),f(s)?At(s,t):s&&jt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?Bt(i,t):jt(i,t)):c&&jt(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Oe(n.content);e&&i("("),Dt(n,t),e&&i(")")}else i("("),jt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),jt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;jt(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(Q)}(-1),`),i());n(`_cache[${e.index}] = `),jt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Q)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Dt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ht(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):jt(o,t)}}function Jt(e,t){const{push:n}=t;if(8===e.type)n("["),Ht(e,t),n("]");else if(e.isStatic){n(Oe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Ut=(e,t)=>{if(5===e.type)e.content=Wt(e.content);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Wt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Wt(n))}}};function Wt(e,t,n=!1,o=!1){return e}const zt=Lt(/^(if|else|else-if)$/,((e,t,n)=>Gt(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Kt(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Kt(t,i+e.branches.length-1,n)}}}))));function Gt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=de("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=qt(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=qt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Vt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function qt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Fe(e,"for")?[e]:e.children,userKey:Be(e,"key")}}function Kt(e,t,n){return e.condition?ve(e.condition,Yt(e,t,n),ge(n.helper(L),['""',"true"])):Yt(e,t,n)}function Yt(e,t,n){const{helper:o,removeHelper:r}=n,s=fe("key",de(`${t}`,!1,ce,2)),{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,n),e}{let t=64;return ae(n,o($),ue([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=c.codegenNode;return 13!==e.type||e.isBlock||(r(V),e.isBlock=!0,o(M),o(P)),We(e,s,n),e}}const Zt=Lt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Qt(e,t,n,(t=>{const s=ge(o(J),[t.source]),i=Be(e,"key"),c=i?fe("key",6===i.type?de(i.value.content,!0):i.exp):null,l=4===t.source.type&&t.source.constType>0,a=l?64:i?128:256;return t.codegenNode=ae(n,o($),void 0,s,a+"",void 0,void 0,!0,!l,e.loc),()=>{let i;const a=Je(e),{children:p}=t,u=1!==p.length||1!==p[0].type,f=Ue(e)?e:a&&1===e.children.length&&Ue(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&c&&We(i,c,n)):u?i=ae(n,o($),c?ue([c]):void 0,e.children,"64",void 0,void 0,!0):(i=p[0].codegenNode,a&&c&&We(i,c,n),i.isBlock!==!l&&(i.isBlock?(r(M),r(P)):r(V)),i.isBlock=!l,i.isBlock?(o(M),o(P)):o(V)),s.arguments.push(ye(rn(t.parseResult),i,!0))}}))}));function Qt(e,t,n,o){if(!t.exp)return;const r=nn(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:Je(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Xt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,en=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,tn=/^\(|\)$/g;function nn(e,t){const n=e.loc,o=e.content,r=o.match(Xt);if(!r)return;const[,s,i]=r,c={source:on(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(tn,"").trim();const a=s.indexOf(l),p=l.match(en);if(p){l=l.replace(en,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=on(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=on(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=on(n,l,a)),c}function on(e,t,n){return de(t,!1,Pe(e,n,t.length))}function rn({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(de("_",!1)),o.push(t)),n&&(t||(e||o.push(de("_",!1)),o.push(de("__",!1))),o.push(n)),o}const sn=de("undefined",!1),cn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Fe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},ln=(e,t)=>{let n;if(Je(e)&&e.props.some(He)&&(n=Fe(e,"for"))){const e=n.parseResult=nn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},an=(e,t,n)=>ye(e,t,!1,!0,t.length?t[0].loc:n);function pn(e,t,n=an){t.helper(ne);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Fe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!we(e)&&(c=!0),s.push(fe(e||de("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Je(e)||!(r=Fe(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=de("default",!0),exp:y}=r;let v;we(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let x,S,k;if(x=Fe(e,"if"))c=!0,i.push(ve(x.exp,un(g,b),sn));else if(S=Fe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Je(e)&&Fe(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=S.exp?ve(S.exp,un(g,b),sn):un(g,b)}}else if(k=Fe(e,"for")){c=!0;const e=k.parseResult||nn(k.exp);e&&i.push(ge(t.helper(J),[e.source,ye(rn(e),un(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(fe(g,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),fe("default",s)};a?u.length&&u.some((e=>dn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:fn(e.children)?3:1;let h=ue(s.concat(fe("_",de(d+"",!1))),r);return i.length&&(h=ge(t.helper(W),[h,pe(i)])),{slots:h,hasDynamicSlots:c}}function un(e,t){return ue([fe("name",e),fe("fn",t)])}function fn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||0===n.tagType&&fn(n.children))return!0;break;case 9:if(fn(n.branches))return!0;break;case 10:case 11:if(fn(n.children))return!0}}return!1}function dn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():dn(e.content))}const hn=new WeakMap,mn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?gn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===A||s===C||s===E||!r&&("svg"===n||"foreignObject"===n||Be(e,"key",!0));if(o.length>0){const n=yn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?pe(o.map((e=>function(e,t){const n=[],o=hn.get(e);o?n.push(t.helperString(o)):(t.helper(j),t.directives.add(e.name),n.push(ze(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=de("true",!1,r);n.push(ue(e.modifiers.map((e=>fe(e,t))),r))}return pe(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===O&&(d=!0,f|=1024);if(r&&s!==C&&s!==O){const{slots:n,hasDynamicSlots:o}=pn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==C){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ct(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=ae(t,s,i,c,l,a,u,!!d,!1,e.loc)};function gn(e,t,n=!1){let{tag:o}=e;const r=xn(o),s=Be(e,"is")||!r&&Fe(e,"is");if(s)if(r||6!==s.type){const e=6===s.type?s.value&&de(s.value.content,!0):s.exp;if(e)return ge(t.helper(A),[e])}else o=s.value.content.replace(/^vue:/,"");const i=Ce(o)||t.isBuiltInComponent(o);return i?(n||t.helper(i),i):(t.helper(B),t.components.add(o),ze(o,"component"))}function yn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,b=!1;const x=[],S=({key:e,value:n})=>{if(we(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&Ct(n,t)>0)return;"ref"===o?f=!0:"class"!==o||i?"style"!==o||i?"key"===o||x.includes(o)||x.push(o):m=!0:d=!0}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:t,value:n}=i;let o=!0;if("ref"===t&&(f=!0),"is"===t&&(xn(r)||n&&n.content.startsWith("vue:")))continue;c.push(fe(de(t,!0,Pe(e,0,t.length)),de(n?n.content:"",o,n?n.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&xn(r)&&Ae(p,"is"))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(ue(vn(c),s)),c=[]),d){if(Ye("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(q),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(S),c.push(...n),r&&(a.push(i),h(r)&&hn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&Ze("COMPILER_V_FOR_REF",t)&&c.push(fe(de("refInFor",!0),de("true",!1)))}let k;return l.length?(c.length&&l.push(ue(vn(c),s)),k=l.length>1?ge(t.helper(G),l,s):l[0]):c.length&&(k=ue(vn(c),s)),v?u|=16:(d&&(u|=2),m&&(u|=4),x.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||b||a.length>0)||(u|=512),{props:k,directives:a,patchFlag:u,dynamicPropNames:x}}function vn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&bn(i,r):(t.set(s,r),n.push(r))}return n}function bn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=pe([e.value,t.value],e.loc)}function xn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Sn=(e,t)=>{if(Ue(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=kn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(ye([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=ge(t.helper(U),i,o)}};function kn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=b(t.name),r.push(t))):"bind"===t.name&&Ae(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&we(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=yn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Nn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,_n=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=de(N(b(i.content)),!0,i.loc)}else c=me([`${n.helperString(Z)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(Z)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l;if(l){const e=Me(l.content),t=!(e||Nn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=me([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[fe(c,l||de("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},Tn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?b(i.content):`${n.helperString(K)}(${i.content})`:(i.children.unshift(`${n.helperString(K)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[fe(i,de("",!0,s))]}:{props:[fe(i,o)]}},wn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(De(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!De(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(De(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Ct(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:ge(t.helper(R),r)}}}}},$n=new WeakSet,Cn=(e,t)=>{if(1===e.type&&Fe(e,"once",!0)){if($n.has(e))return;return $n.add(e),t.helper(Q),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},En=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return On();const s=o.loc.source;if(!Me(4===o.type?o.content:s))return On();const i=r||de("modelValue",!0),c=r?we(r)?`onUpdate:${r.content}`:me(['"onUpdate:" + ',r]):"onUpdate:modelValue";let l;l=me([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[fe(i,e.exp),fe(c,l)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Oe(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?we(r)?`${r.content}Modifiers`:me([r,' + "Modifiers"']):"modelModifiers";a.push(fe(n,de(`{ ${t} }`,!1,e.loc,2)))}return On(a)};function On(e=[]){return{props:e}}const In=/[\w).+\-_$\]]/,Mn=(e,t)=>{Ye("COMPILER_FILTER",t)&&(5===e.type&&Pn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Pn(e.exp,t)})))};function Pn(e,t){if(4===e.type)Vn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Vn(o,t):8===o.type?Pn(e,t):5===o.type&&Pn(o.content,t))}}function Vn(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&In.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=Ln(i,m[s],t);e.content=i}}function Ln(e,t,n){n.helper(D);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${ze(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${ze(r,"filter")}(${e}${")"!==s?","+s:s}`}}function Rn(e){return[[Cn,zt,Zt,Mn,Sn,mn,cn,wn],{on:_n,bind:Tn,model:En}]}function Fn(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(w(45)):o&&n(w(46));t.cacheHandlers&&n(w(47)),t.scopeId&&!o&&n(w(48));const r=d(e)?nt(e,t):e,[s,i]=Rn();return Pt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),Rt(r,u({},t,{prefixIdentifiers:false}))}const Bn=()=>({props:[]}),An=Symbol(""),jn=Symbol(""),Dn=Symbol(""),Hn=Symbol(""),Jn=Symbol(""),Un=Symbol(""),Wn=Symbol(""),zn=Symbol(""),Gn=Symbol(""),qn=Symbol("");let Kn;ie({[An]:"vModelRadio",[jn]:"vModelCheckbox",[Dn]:"vModelText",[Hn]:"vModelSelect",[Jn]:"vModelDynamic",[Un]:"withModifiers",[Wn]:"withKeys",[zn]:"vShow",[Gn]:"Transition",[qn]:"TransitionGroup"});const Yn=e("style,iframe,script,noscript",!0),Zn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Kn||(Kn=document.createElement("div"))).innerHTML=e,Kn.textContent},isBuiltInComponent:e=>$e(e,"Transition")?Gn:$e(e,"TransitionGroup")?qn:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Yn(e))return 2}return 0}},Qn=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:de("style",!0,t.loc),exp:Xn(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Xn=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return de(JSON.stringify(r),!1,t,3)};function eo(e,t){return w(e,t)}const to=e("passive,once,capture"),no=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),oo=e("left,right"),ro=e("onkeyup,onkeydown,onkeypress",!0),so=(e,t)=>we(e)&&"onclick"===e.content.toLowerCase()?de(t,!0):4!==e.type?me(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,io=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},co=[Qn],lo={cloak:Bn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("innerHTML",!0,r),o||de("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("textContent",!0),o?ge(n.helperString(z),[o],r):de("",!0))]}},model:(e,t,n)=>{const o=En(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Dn,i=!1;if("input"===r||s){const n=Be(t,"type");if(n){if(7===n.type)e=Jn;else if(n.value)switch(n.value.content){case"radio":e=An;break;case"checkbox":e=jn;break;case"file":i=!0}}else je(t)&&(e=Jn)}else"select"===r&&(e=Hn);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>_n(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&Ze("COMPILER_V_ON_NATIVE",n)||to(o)?i.push(o):oo(o)?we(e)?ro(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):no(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=so(r,"onContextmenu")),c.includes("middle")&&(r=so(r,"onMouseup")),c.length&&(s=ge(n.helper(Un),[s,JSON.stringify(c)])),!i.length||we(r)&&!ro(r.content)||(s=ge(n.helper(Wn),[s,JSON.stringify(i)])),l.length){const e=l.map(k).join("");r=we(r)?de(`${r.content}${e}`,!0):me(["(",r,`) + "${e}"`])}return{props:[fe(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(zn)})};function ao(e,t={}){return Fn(e,u({},Zn,t,{nodeTransforms:[io,...co,...t.nodeTransforms||[]],directiveTransforms:u({},lo,t.directiveTransforms||{}),transformHoist:null}))}function po(e,t={}){return nt(e,u({},Zn,t))}export{I as BASE_TRANSITION,K as CAMELIZE,Y as CAPITALIZE,P as CREATE_BLOCK,L as CREATE_COMMENT,W as CREATE_SLOTS,F as CREATE_STATIC,R as CREATE_TEXT,V as CREATE_VNODE,lo as DOMDirectiveTransforms,co as DOMNodeTransforms,$ as FRAGMENT,re as IS_REF,O as KEEP_ALIVE,G as MERGE_PROPS,M as OPEN_BLOCK,ee as POP_SCOPE_ID,X as PUSH_SCOPE_ID,J as RENDER_LIST,U as RENDER_SLOT,B as RESOLVE_COMPONENT,j as RESOLVE_DIRECTIVE,A as RESOLVE_DYNAMIC_COMPONENT,D as RESOLVE_FILTER,Q as SET_BLOCK_TRACKING,E as SUSPENSE,C as TELEPORT,z as TO_DISPLAY_STRING,q as TO_HANDLERS,Z as TO_HANDLER_KEY,Gn as TRANSITION,qn as TRANSITION_GROUP,oe as UNREF,jn as V_MODEL_CHECKBOX,Jn as V_MODEL_DYNAMIC,An as V_MODEL_RADIO,Hn as V_MODEL_SELECT,Dn as V_MODEL_TEXT,Wn as V_ON_WITH_KEYS,Un as V_ON_WITH_MODIFIERS,zn as V_SHOW,ne as WITH_CTX,H as WITH_DIRECTIVES,te as WITH_SCOPE_ID,Ve as advancePositionWithClone,Le as advancePositionWithMutation,Re as assert,Fn as baseCompile,nt as baseParse,yn as buildProps,pn as buildSlots,Ze as checkCompatEnabled,ao as compile,pe as createArrayExpression,Ne as createAssignmentExpression,xe as createBlockStatement,be as createCacheExpression,ge as createCallExpression,w as createCompilerError,me as createCompoundExpression,ve as createConditionalExpression,eo as createDOMCompilerError,rn as createForLoopParams,ye as createFunctionExpression,ke as createIfStatement,he as createInterpolation,ue as createObjectExpression,fe as createObjectProperty,Te as createReturnStatement,le as createRoot,_e as createSequenceExpression,de as createSimpleExpression,Lt as createStructuralDirectiveTransform,Se as createTemplateLiteral,Mt as createTransformContext,ae as createVNodeCall,Fe as findDir,Be as findProp,Rt as generate,t as generateCodeFrame,Rn as getBaseTransformPreset,Pe as getInnerRange,je as hasDynamicKeyVBind,Ge as hasScopeRef,se as helperNameMap,We as injectProp,Ae as isBindKey,$e as isBuiltInType,Ce as isCoreComponent,Me as isMemberExpression,Oe as isSimpleIdentifier,Ue as isSlotOutlet,we as isStaticExp,Je as isTemplateNode,De as isText,He as isVSlot,ce as locStub,Bn as noopDirectiveTransform,po as parse,Zn as parserOptions,Wt as processExpression,Qt as processFor,Gt as processIf,kn as processSlotOutlet,ie as registerRuntimeHelpers,gn as resolveComponentType,ze as toValidAssetId,cn as trackSlotScopes,ln as trackVForSlotScopes,Pt as transform,Tn as transformBind,mn as transformElement,Ut as transformExpression,En as transformModel,_n as transformOn,Qn as transformStyle,Vt as traverseNode,Qe as warnDeprecation}; |
@@ -1,1 +0,1 @@ | ||
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n=/;(?![^(]*\))/g,o=/:(.+)/;const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,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,summary,template,blockquote,iframe,tfoot"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,b=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),S=/\B([A-Z])/g,E=y((e=>e.replace(S,"-$1").toLowerCase())),x=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=y((e=>e?`on${x(e)}`:""));function N(e){throw e}function _(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const k=Symbol(""),C=Symbol(""),I=Symbol(""),M=Symbol(""),w=Symbol(""),$=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),F=Symbol(""),B=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),Y=Symbol(""),q=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se={[k]:"Fragment",[C]:"Teleport",[I]:"Suspense",[M]:"KeepAlive",[w]:"BaseTransition",[$]:"openBlock",[P]:"createBlock",[R]:"createVNode",[L]:"createCommentVNode",[V]:"createTextVNode",[A]:"createStaticVNode",[D]:"resolveComponent",[F]:"resolveDynamicComponent",[B]:"resolveDirective",[j]:"resolveFilter",[H]:"withDirectives",[W]:"renderList",[K]:"renderSlot",[U]:"createSlots",[J]:"toDisplayString",[G]:"mergeProps",[z]:"toHandlers",[Y]:"camelize",[q]:"capitalize",[Z]:"toHandlerKey",[X]:"setBlockTracking",[Q]:"pushScopeId",[ee]:"popScopeId",[te]:"withScopeId",[ne]:"withCtx",[oe]:"unref",[re]:"isRef"};function ie(e){Object.getOwnPropertySymbols(e).forEach((t=>{se[t]=e[t]}))}const ce={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function le(e,t=ce){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ae(e,t,n,o,r,s,i,c=!1,l=!1,a=ce){return e&&(c?(e.helper($),e.helper(P)):e.helper(R),i&&e.helper(H)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:a}}function pe(e,t=ce){return{type:17,loc:t,elements:e}}function ue(e,t=ce){return{type:15,loc:t,properties:e}}function fe(e,t){return{type:16,loc:ce,key:d(e)?de(e,!0):e,value:t}}function de(e,t,n=ce,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function he(e,t=ce){return{type:8,loc:t,children:e}}function me(e,t=[],n=ce){return{type:14,loc:n,callee:e,arguments:t}}function ge(e,t,n=!1,o=!1,r=ce){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ye(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ce}}function ve(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ce}}const be=e=>4===e.type&&e.isStatic,Se=(e,t)=>e===t||e===E(t);function Ee(e){return Se(e,"Teleport")?C:Se(e,"Suspense")?I:Se(e,"KeepAlive")?M:Se(e,"BaseTransition")?w:void 0}const xe=/^\d|[^\$\w]/,Te=e=>!xe.test(e),Ne=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,_e=e=>!!e&&Ne.test(e.trim());function Oe(e,t,n){const o={source:e.source.substr(t,n),start:ke(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ke(e.start,e.source,t+n)),o}function ke(e,t,n=t.length){return Ce(u({},e),t,n)}function Ce(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ie(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(d(t)?r.name===t:t.test(r.name)))return r}}function 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||o)&&we(s.arg,t))return s}}function we(e,t){return!(!e||!be(e)||e.content!==t)}function $e(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 Re(e){return 7===e.type&&"slot"===e.name}function Le(e){return 1===e.type&&3===e.tagType}function Ve(e){return 1===e.type&&2===e.tagType}function Ae(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||d(r))o=ue([t]);else if(14===r.type){const e=r.arguments[0];d(e)||15!==e.type?r.callee===z?o=me(n.helper(G),[ue([t]),r]):r.arguments.unshift(ue([t])):e.properties.unshift(t),!o&&(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=me(n.helper(G),[ue([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function De(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Fe={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function Be(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function je(e,t){const n=Be("MODE",t),o=Be(e,t);return 3===n?!0===o:!1!==o}function He(e,t,n,...o){return je(e,t)}const We=/&(gt|lt|amp|apos|quot);/g,Ke={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Ue={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(We,((e,t)=>Ke[t])),onError:N,onWarn:_,comments:!1};function Je(e,t={}){const n=function(e,t){const n=u({},Ue);for(const o in t)n[o]=t[o]||Ue[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=it(n);return le(Ge(n,0,[]),ct(n,o))}function Ge(e,t,n){const o=lt(n),r=o?o.ns:0,s=[];for(;!dt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&at(i,e.options.delimiters[0]))c=ot(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=at(i,"\x3c!--")?qe(e):at(i,"<!DOCTYPE")?Ze(e):at(i,"<![CDATA[")&&0!==r?Ye(e,n):Ze(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){pt(e,3);continue}if(/[a-z]/i.test(i[2])){et(e,1,o);continue}c=Ze(e)}else/[a-z]/i.test(i[1])?(c=Xe(e,n),je("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&Qe(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Ze(e));if(c||(c=rt(e,t)),f(c))for(let e=0;e<c.length;e++)ze(s,c[e]);else ze(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"===e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(!e.inPre&&2===o.type)if(/[^\t\r\n\f ]/.test(o.content))t||(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||!t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function ze(e,t){if(2===t.type){const n=lt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Ye(e,t){pt(e,9);const n=Ge(e,3,t);return 0===e.source.length||pt(e,3),n}function qe(e){const t=it(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)pt(e,s-r+1),r=s+1;pt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),pt(e,e.source.length);return{type:3,content:n,loc:ct(e,t)}}function Ze(e){const t=it(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),pt(e,e.source.length)):(o=e.source.slice(n,r),pt(e,r+1)),{type:3,content:o,loc:ct(e,t)}}function Xe(e,t){const n=e.inPre,o=e.inVPre,r=lt(t),s=et(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,r),a=Ge(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&He("COMPILER_INLINE_TEMPLATE",e)){const n=ct(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,ht(e.source,s.tag))et(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&at(e.loc.source,"\x3c!--")}return s.loc=ct(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Qe=t("if,else,else-if,for,slot");function et(e,t,n){const o=it(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);pt(e,r[0].length),ut(e);const c=it(e),l=e.source;let a=tt(e,t);e.options.isPreTag(s)&&(e.inPre=!0),0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=tt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=at(e.source,"/>"),pt(e,p?2:1)),1===t)return;let f=0;const d=e.options;if(!e.inVPre&&!d.isCustomElement(s)){const t=a.some((t=>{if("is"===t.name)return 7===t.type||(!(!t.value||!t.value.content.startsWith("vue:"))||(!!He("COMPILER_IS_ON_ELEMENT",e)||void 0))}));d.isNativeTag&&!t?d.isNativeTag(s)||(f=1):(t||Ee(s)||d.isBuiltInComponent&&d.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(f=1),"slot"===s?f=2:"template"===s&&a.some((e=>7===e.type&&Qe(e.name)))&&(f=3)}return{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:ct(e,o),codegenNode:void 0}}function tt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!at(e.source,">")&&!at(e.source,"/>");){if(at(e.source,"/")){pt(e,1),ut(e);continue}const r=nt(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),ut(e)}return n}function nt(e,t){const n=it(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;pt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(ut(e),pt(e,1),ut(e),r=function(e){const t=it(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){pt(e,1);const t=e.source.indexOf(o);-1===t?n=st(e,e.source.length,4):(n=st(e,t,4),pt(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=st(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ct(e,t)}}(e));const s=ct(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=t[1]||(at(o,":")?"bind":at(o,"@")?"on":"slot");if(t[2]){const r="slot"===c,s=o.lastIndexOf(t[2]),l=ct(e,ft(e,n,s),ft(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ke(e.start,r.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].substr(1).split("."):[];return"bind"===c&&i&&l.includes("sync")&&He("COMPILER_V_BIND_SYNC",e,0)&&(c="model",l.splice(l.indexOf("sync"),1)),{type:7,name:c,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:l,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function ot(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=it(e);pt(e,n.length);const i=it(e),c=it(e),l=r-n.length,a=e.source.slice(0,l),p=st(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ce(i,a,f);return Ce(c,a,l-(p.length-u.length-f)),pt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:ct(e,i,c)},loc:ct(e,s)}}function rt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=it(e);return{type:2,content:st(e,o,t),loc:ct(e,r)}}function st(e,t,n){const o=e.source.slice(0,t);return pt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function it(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ct(e,t,n){return{start:t,end:n=n||it(e),source:e.originalSource.slice(t.offset,n.offset)}}function lt(e){return e[e.length-1]}function at(e,t){return e.startsWith(t)}function pt(e,t){const{source:n}=e;Ce(e,n,t),e.source=n.slice(t)}function ut(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&pt(e,t[0].length)}function ft(e,t,n){return ke(t,e.originalSource.slice(t.offset,n),n)}function dt(e,t,n){const o=e.source;switch(t){case 0:if(at(o,"</"))for(let e=n.length-1;e>=0;--e)if(ht(o,n[e].tag))return!0;break;case 1:case 2:{const e=lt(n);if(e&&ht(o,e.tag))return!0;break}case 3:if(at(o,"]]>"))return!0}return!o}function ht(e,t){return at(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function mt(e,t){yt(e,t,gt(e,e.children[0]))}function gt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ve(t)}function yt(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i<s.length;i++){const e=s[i];if(1===e.type&&0===e.tagType){const s=n?0:vt(e,t);if(s>0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Et(n);if((!o||512===o||1===o)&&bt(e,t)>=2){const o=St(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=vt(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,yt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)yt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)yt(e.branches[n],t,1===e.branches[n].children.length)}r&&o&&t.transformHoist&&t.transformHoist(s,t,e)}function vt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(Et(r))return n.set(e,0),0;{let o=3;const s=bt(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=vt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=vt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper($),t.removeHelper(P),r.isBlock=!1,t.helper(R)),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return vt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(d(o)||h(o))continue;const r=vt(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}function bt(e,t){let n=3;const o=St(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=vt(r,t);if(0===i)return i;if(i<n&&(n=i),4!==s.type)return 0;const c=vt(s,t);if(0===c)return c;c<n&&(n=c)}}return n}function St(e){const t=e.codegenNode;if(13===t.type)return t.props}function Et(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function xt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,ssrCssVars:g="",bindingMetadata:y=c,inline:v=!1,isTS:S=!1,onError:E=N,onWarn:T=_,compatConfig:O}){const k=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:k&&x(b(k[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,ssrCssVars:g,bindingMetadata:y,inline:v,isTS:S,onError:E,onWarn:T,compatConfig:O,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${se[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){C.hoists.push(e);const t=de(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>ve(++C.cached,e,t)};return C.filters=new Set,C}function Tt(e,t){const n=xt(e,t);Nt(e,n),t.hoistStatic&&mt(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(gt(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(R),r.isBlock=!0,n($),n(P))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=ae(t,n(k),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Nt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(f(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(L);break;case 5:t.ssr||t.helper(J);break;case 9:for(let n=0;n<e.branches.length;n++)Nt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Nt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function _t(e,t){const n=d(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Re))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const Ot="/*#__PURE__*/";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,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${se[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);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${se[e]}: _${se[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[R,L,V,A].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),wt(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${se[e]}: _${se[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Ct(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Ct(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Ct(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?wt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Ct(e,t,{helper:n,push:o,newline:r}){const s=n("filter"===t?j:"component"===t?D:B);for(let i=0;i<e.length;i++){let n=e[i];const c=n.endsWith("__self");c&&(n=n.slice(0,-6)),o(`const ${De(n,t)} = ${s}(${JSON.stringify(n)}${c?", true":""})`),i<e.length-1&&r()}}function It(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Mt(e,t,n),n&&t.deindent(),t.push("]")}function Mt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?It(c,t):wt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function wt(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:wt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:$t(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ot);n(`${o(J)}(`),wt(e.content,t),n(")")}(e,t);break;case 12:wt(e.codegenNode,t);break;case 8:Pt(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ot);n(`${o(L)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f}=e;p&&n(o(H)+"(");u&&n(`(${o($)}(${f?"true":""}), `);r&&n(Ot);n(o(u?P:R)+"(",e),Mt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),wt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n(Ot);n(s+"(",e),Mt(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];Rt(e,t),n(": "),wt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){It(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(`_${se[ne]}(`);n("(",e),f(s)?Mt(s,t):s&&wt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?It(i,t):wt(i,t)):c&&wt(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Te(n.content);e&&i("("),$t(n,t),e&&i(")")}else i("("),wt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),wt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;wt(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(X)}(-1),`),i());n(`_cache[${e.index}] = `),wt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(X)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function $t(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Pt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):wt(o,t)}}function Rt(e,t){const{push:n}=t;if(8===e.type)n("["),Pt(e,t),n("]");else if(e.isStatic){n(Te(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function Lt(e,t,n=!1,o=!1){return e}const Vt=_t(/^(if|else|else-if)$/,((e,t,n)=>At(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Ft(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Ft(t,i+e.branches.length-1,n)}}}))));function At(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=de("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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Dt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Nt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function Dt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ie(e,"for")?[e]:e.children,userKey:Me(e,"key")}}function Ft(e,t,n){return e.condition?ye(e.condition,Bt(e,t,n),me(n.helper(L),['""',"true"])):Bt(e,t,n)}function Bt(e,t,n){const{helper:o,removeHelper:r}=n,s=fe("key",de(`${t}`,!1,ce,2)),{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 Ae(e,s,n),e}{let t=64;return ae(n,o(k),ue([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=c.codegenNode;return 13!==e.type||e.isBlock||(r(R),e.isBlock=!0,o($),o(P)),Ae(e,s,n),e}}const jt=_t("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Ht(e,t,n,(t=>{const s=me(o(W),[t.source]),i=Me(e,"key"),c=i?fe("key",6===i.type?de(i.value.content,!0):i.exp):null,l=4===t.source.type&&t.source.constType>0,a=l?64:i?128:256;return t.codegenNode=ae(n,o(k),void 0,s,a+"",void 0,void 0,!0,!l,e.loc),()=>{let i;const a=Le(e),{children:p}=t,u=1!==p.length||1!==p[0].type,f=Ve(e)?e:a&&1===e.children.length&&Ve(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&c&&Ae(i,c,n)):u?i=ae(n,o(k),c?ue([c]):void 0,e.children,"64",void 0,void 0,!0):(i=p[0].codegenNode,a&&c&&Ae(i,c,n),i.isBlock!==!l&&(i.isBlock?(r($),r(P)):r(R)),i.isBlock=!l,i.isBlock?(o($),o(P)):o(R)),s.arguments.push(ge(zt(t.parseResult),i,!0))}}))}));function Ht(e,t,n,o){if(!t.exp)return;const r=Jt(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:Le(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Wt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Kt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ut=/^\(|\)$/g;function Jt(e,t){const n=e.loc,o=e.content,r=o.match(Wt);if(!r)return;const[,s,i]=r,c={source:Gt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Ut,"").trim();const a=s.indexOf(l),p=l.match(Kt);if(p){l=l.replace(Kt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Gt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Gt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Gt(n,l,a)),c}function Gt(e,t,n){return de(t,!1,Oe(e,n,t.length))}function zt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(de("_",!1)),o.push(t)),n&&(t||(e||o.push(de("_",!1)),o.push(de("__",!1))),o.push(n)),o}const Yt=de("undefined",!1),qt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ie(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Zt=(e,t,n)=>ge(e,t,!1,!0,t.length?t[0].loc:n);function Xt(e,t,n=Zt){t.helper(ne);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ie(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!be(e)&&(c=!0),s.push(fe(e||de("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Le(e)||!(r=Ie(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=de("default",!0),exp:y}=r;let v;be(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,E,x;if(S=Ie(e,"if"))c=!0,i.push(ye(S.exp,Qt(g,b),Yt));else if(E=Ie(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Le(e)&&Ie(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?ye(E.exp,Qt(g,b),Yt):Qt(g,b)}}else if(x=Ie(e,"for")){c=!0;const e=x.parseResult||Jt(x.exp);e&&i.push(me(t.helper(W),[e.source,ge(zt(e),Qt(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(fe(g,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),fe("default",s)};a?u.length&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:en(e.children)?3:1;let h=ue(s.concat(fe("_",de(d+"",!1))),r);return i.length&&(h=me(t.helper(U),[h,pe(i)])),{slots:h,hasDynamicSlots:c}}function Qt(e,t){return ue([fe("name",e),fe("fn",t)])}function en(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||0===n.tagType&&en(n.children))return!0;break;case 9:if(en(n.branches))return!0;break;case 10:case 11:if(en(n.children))return!0}}return!1}const tn=new WeakMap,nn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?on(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===F||s===C||s===I||!r&&("svg"===n||"foreignObject"===n||Me(e,"key",!0));if(o.length>0){const n=rn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?pe(o.map((e=>function(e,t){const n=[],o=tn.get(e);o?n.push(t.helperString(o)):(t.helper(B),t.directives.add(e.name),n.push(De(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=de("true",!1,r);n.push(ue(e.modifiers.map((e=>fe(e,t))),r))}return pe(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===M&&(d=!0,f|=1024);if(r&&s!==C&&s!==M){const{slots:n,hasDynamicSlots:o}=Xt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==C){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===vt(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=ae(t,s,i,c,l,a,u,!!d,!1,e.loc)};function on(e,t,n=!1){let{tag:o}=e;const r=ln(o),s=Me(e,"is")||!r&&Ie(e,"is");if(s)if(r||6!==s.type){const e=6===s.type?s.value&&de(s.value.content,!0):s.exp;if(e)return me(t.helper(F),[e])}else o=s.value.content.replace(/^vue:/,"");const i=Ee(o)||t.isBuiltInComponent(o);return i?(n||t.helper(i),i):(t.helper(D),t.components.add(o),De(o,"component"))}function rn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,b=!1;const S=[],E=({key:e,value:n})=>{if(be(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&vt(n,t)>0)return;"ref"===o?f=!0:"class"!==o||i?"style"!==o||i?"key"===o||S.includes(o)||S.push(o):m=!0:d=!0}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:t,value:n}=i;let o=!0;if("ref"===t&&(f=!0),"is"===t&&(ln(r)||n&&n.content.startsWith("vue:")))continue;c.push(fe(de(t,!0,Oe(e,0,t.length)),de(n?n.content:"",o,n?n.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&ln(r)&&we(p,"is"))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(ue(sn(c),s)),c=[]),d){if(je("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(z),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(E),c.push(...n),r&&(a.push(i),h(r)&&tn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&He("COMPILER_V_FOR_REF",t)&&c.push(fe(de("refInFor",!0),de("true",!1)))}let x;return l.length?(c.length&&l.push(ue(sn(c),s)),x=l.length>1?me(t.helper(G),l,s):l[0]):c.length&&(x=ue(sn(c),s)),v?u|=16:(d&&(u|=2),m&&(u|=4),S.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||b||a.length>0)||(u|=512),{props:x,directives:a,patchFlag:u,dynamicPropNames:S}}function sn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&cn(i,r):(t.set(s,r),n.push(r))}return n}function cn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=pe([e.value,t.value],e.loc)}function ln(e){return e[0].toLowerCase()+e.slice(1)==="component"}const an=(e,t)=>{if(Ve(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=pn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(ge([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=me(t.helper(K),i,o)}};function pn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=b(t.name),r.push(t))):"bind"===t.name&&we(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&be(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=rn(e,t,r);n=o}return{slotName:o,slotProps:n}}const un=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,fn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=de(T(b(i.content)),!0,i.loc)}else c=he([`${n.helperString(Z)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(Z)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l;if(l){const e=_e(l.content),t=!(e||un.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=he([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[fe(c,l||de("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},dn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?b(i.content):`${n.helperString(Y)}(${i.content})`:(i.children.unshift(`${n.helperString(Y)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[fe(i,de("",!0,s))]}:{props:[fe(i,o)]}},hn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Pe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Pe(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(Pe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==vt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:me(t.helper(V),r)}}}}},mn=new WeakSet,gn=(e,t)=>{if(1===e.type&&Ie(e,"once",!0)){if(mn.has(e))return;return mn.add(e),t.helper(X),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},yn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return vn();const s=o.loc.source;if(!_e(4===o.type?o.content:s))return vn();const i=r||de("modelValue",!0),c=r?be(r)?`onUpdate:${r.content}`:he(['"onUpdate:" + ',r]):"onUpdate:modelValue";let l;l=he([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[fe(i,e.exp),fe(c,l)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Te(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?be(r)?`${r.content}Modifiers`:he([r,' + "Modifiers"']):"modelModifiers";a.push(fe(n,de(`{ ${t} }`,!1,e.loc,2)))}return vn(a)};function vn(e=[]){return{props:e}}const bn=/[\w).+\-_$\]]/,Sn=(e,t)=>{je("COMPILER_FILTER",t)&&(5===e.type&&En(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&En(e.exp,t)})))};function En(e,t){if(4===e.type)xn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?xn(o,t):8===o.type?En(e,t):5===o.type&&En(o.content,t))}}function xn(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&bn.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=Tn(i,m[s],t);e.content=i}}function Tn(e,t,n){n.helper(j);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${De(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${De(r,"filter")}(${e}${")"!==s?","+s:s}`}}function Nn(e){return[[gn,Vt,jt,Sn,an,nn,qt,hn],{on:fn,bind:dn,model:yn}]}function _n(e,t={}){const n=t.onError||N,o="module"===t.mode;!0===t.prefixIdentifiers?n(O(45)):o&&n(O(46));t.cacheHandlers&&n(O(47)),t.scopeId&&!o&&n(O(48));const r=d(e)?Je(e,t):e,[s,i]=Nn();return Tt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),kt(r,u({},t,{prefixIdentifiers:false}))}const On=()=>({props:[]}),kn=Symbol(""),Cn=Symbol(""),In=Symbol(""),Mn=Symbol(""),wn=Symbol(""),$n=Symbol(""),Pn=Symbol(""),Rn=Symbol(""),Ln=Symbol(""),Vn=Symbol("");let An;ie({[kn]:"vModelRadio",[Cn]:"vModelCheckbox",[In]:"vModelText",[Mn]:"vModelSelect",[wn]:"vModelDynamic",[$n]:"withModifiers",[Pn]:"withKeys",[Rn]:"vShow",[Ln]:"Transition",[Vn]:"TransitionGroup"});const Dn=t("style,iframe,script,noscript",!0),Fn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(An||(An=document.createElement("div"))).innerHTML=e,An.textContent},isBuiltInComponent:e=>Se(e,"Transition")?Ln:Se(e,"TransitionGroup")?Vn:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Dn(e))return 2}return 0}},Bn=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:de("style",!0,t.loc),exp:jn(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},jn=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return de(JSON.stringify(r),!1,t,3)};function Hn(e,t){return O(e,t)}const Wn=t("passive,once,capture"),Kn=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Un=t("left,right"),Jn=t("onkeyup,onkeydown,onkeypress",!0),Gn=(e,t)=>be(e)&&"onclick"===e.content.toLowerCase()?de(t,!0):4!==e.type?he(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,zn=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Yn=[Bn],qn={cloak:On,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("innerHTML",!0,r),o||de("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("textContent",!0),o?me(n.helperString(J),[o],r):de("",!0))]}},model:(e,t,n)=>{const o=yn(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=In,i=!1;if("input"===r||s){const n=Me(t,"type");if(n){if(7===n.type)e=wn;else if(n.value)switch(n.value.content){case"radio":e=kn;break;case"checkbox":e=Cn;break;case"file":i=!0}}else $e(t)&&(e=wn)}else"select"===r&&(e=Mn);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>fn(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&He("COMPILER_V_ON_NATIVE",n)||Wn(o)?i.push(o):Un(o)?be(e)?Jn(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Kn(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Gn(r,"onContextmenu")),c.includes("middle")&&(r=Gn(r,"onMouseup")),c.length&&(s=me(n.helper($n),[s,JSON.stringify(c)])),!i.length||be(r)&&!Jn(r.content)||(s=me(n.helper(Pn),[s,JSON.stringify(i)])),l.length){const e=l.map(x).join("");r=be(r)?de(`${r.content}${e}`,!0):he(["(",r,`) + "${e}"`])}return{props:[fe(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(Rn)})};return e.BASE_TRANSITION=w,e.CAMELIZE=Y,e.CAPITALIZE=q,e.CREATE_BLOCK=P,e.CREATE_COMMENT=L,e.CREATE_SLOTS=U,e.CREATE_STATIC=A,e.CREATE_TEXT=V,e.CREATE_VNODE=R,e.DOMDirectiveTransforms=qn,e.DOMNodeTransforms=Yn,e.FRAGMENT=k,e.IS_REF=re,e.KEEP_ALIVE=M,e.MERGE_PROPS=G,e.OPEN_BLOCK=$,e.POP_SCOPE_ID=ee,e.PUSH_SCOPE_ID=Q,e.RENDER_LIST=W,e.RENDER_SLOT=K,e.RESOLVE_COMPONENT=D,e.RESOLVE_DIRECTIVE=B,e.RESOLVE_DYNAMIC_COMPONENT=F,e.RESOLVE_FILTER=j,e.SET_BLOCK_TRACKING=X,e.SUSPENSE=I,e.TELEPORT=C,e.TO_DISPLAY_STRING=J,e.TO_HANDLERS=z,e.TO_HANDLER_KEY=Z,e.TRANSITION=Ln,e.TRANSITION_GROUP=Vn,e.UNREF=oe,e.V_MODEL_CHECKBOX=Cn,e.V_MODEL_DYNAMIC=wn,e.V_MODEL_RADIO=kn,e.V_MODEL_SELECT=Mn,e.V_MODEL_TEXT=In,e.V_ON_WITH_KEYS=Pn,e.V_ON_WITH_MODIFIERS=$n,e.V_SHOW=Rn,e.WITH_CTX=ne,e.WITH_DIRECTIVES=H,e.WITH_SCOPE_ID=te,e.advancePositionWithClone=ke,e.advancePositionWithMutation=Ce,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=_n,e.baseParse=Je,e.buildProps=rn,e.buildSlots=Xt,e.checkCompatEnabled=He,e.compile=function(e,t={}){return _n(e,u({},Fn,t,{nodeTransforms:[zn,...Yn,...t.nodeTransforms||[]],directiveTransforms:u({},qn,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=pe,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ce}},e.createBlockStatement=function(e){return{type:21,body:e,loc:ce}},e.createCacheExpression=ve,e.createCallExpression=me,e.createCompilerError=O,e.createCompoundExpression=he,e.createConditionalExpression=ye,e.createDOMCompilerError=Hn,e.createForLoopParams=zt,e.createFunctionExpression=ge,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ce}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:d(e)?de(e,!1,t):e}},e.createObjectExpression=ue,e.createObjectProperty=fe,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ce}},e.createRoot=le,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ce}},e.createSimpleExpression=de,e.createStructuralDirectiveTransform=_t,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ce}},e.createTransformContext=xt,e.createVNodeCall=ae,e.findDir=Ie,e.findProp=Me,e.generate=kt,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let i=0;i<o.length;i++)if(r+=o[i].length+1,r>=t){for(let e=i-2;e<=i+2||n>r;e++){if(e<0||e>=o.length)continue;const c=e+1;s.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${o[e]}`);const l=o[e].length;if(e===i){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>i){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=Nn,e.getInnerRange=Oe,e.hasDynamicKeyVBind=$e,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&&Te(t.content)&&!!n[t.content];case 8:return t.children.some((t=>m(t)&&e(t,n)));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=se,e.injectProp=Ae,e.isBindKey=we,e.isBuiltInType=Se,e.isCoreComponent=Ee,e.isMemberExpression=_e,e.isSimpleIdentifier=Te,e.isSlotOutlet=Ve,e.isStaticExp=be,e.isTemplateNode=Le,e.isText=Pe,e.isVSlot=Re,e.locStub=ce,e.noopDirectiveTransform=On,e.parse=function(e,t={}){return Je(e,u({},Fn,t))},e.parserOptions=Fn,e.processExpression=Lt,e.processFor=Ht,e.processIf=At,e.processSlotOutlet=pn,e.registerRuntimeHelpers=ie,e.resolveComponentType=on,e.toValidAssetId=De,e.trackSlotScopes=qt,e.trackVForSlotScopes=(e,t)=>{let n;if(Le(e)&&e.props.some(Re)&&(n=Ie(e,"for"))){const e=n.parseResult=Jt(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=Tt,e.transformBind=dn,e.transformElement=nn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Lt(e.content);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Lt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Lt(n))}}},e.transformModel=yn,e.transformOn=fn,e.transformStyle=Bn,e.traverseNode=Nt,e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===Be(e,t))return;const{message:r,link:s}=Fe[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)},Object.defineProperty(e,"__esModule",{value:!0}),e}({}); | ||
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n=/;(?![^(]*\))/g,o=/:(.+)/;const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,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,summary,template,blockquote,iframe,tfoot"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,b=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),S=/\B([A-Z])/g,E=y((e=>e.replace(S,"-$1").toLowerCase())),x=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=y((e=>e?`on${x(e)}`:""));function N(e){throw e}function _(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const k=Symbol(""),C=Symbol(""),I=Symbol(""),M=Symbol(""),w=Symbol(""),$=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),F=Symbol(""),B=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),Y=Symbol(""),q=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se={[k]:"Fragment",[C]:"Teleport",[I]:"Suspense",[M]:"KeepAlive",[w]:"BaseTransition",[$]:"openBlock",[P]:"createBlock",[R]:"createVNode",[L]:"createCommentVNode",[V]:"createTextVNode",[A]:"createStaticVNode",[D]:"resolveComponent",[F]:"resolveDynamicComponent",[B]:"resolveDirective",[j]:"resolveFilter",[H]:"withDirectives",[W]:"renderList",[K]:"renderSlot",[U]:"createSlots",[J]:"toDisplayString",[G]:"mergeProps",[z]:"toHandlers",[Y]:"camelize",[q]:"capitalize",[Z]:"toHandlerKey",[X]:"setBlockTracking",[Q]:"pushScopeId",[ee]:"popScopeId",[te]:"withScopeId",[ne]:"withCtx",[oe]:"unref",[re]:"isRef"};function ie(e){Object.getOwnPropertySymbols(e).forEach((t=>{se[t]=e[t]}))}const ce={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function le(e,t=ce){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ae(e,t,n,o,r,s,i,c=!1,l=!1,a=ce){return e&&(c?(e.helper($),e.helper(P)):e.helper(R),i&&e.helper(H)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:a}}function pe(e,t=ce){return{type:17,loc:t,elements:e}}function ue(e,t=ce){return{type:15,loc:t,properties:e}}function fe(e,t){return{type:16,loc:ce,key:d(e)?de(e,!0):e,value:t}}function de(e,t,n=ce,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function he(e,t=ce){return{type:8,loc:t,children:e}}function me(e,t=[],n=ce){return{type:14,loc:n,callee:e,arguments:t}}function ge(e,t,n=!1,o=!1,r=ce){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ye(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ce}}function ve(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ce}}const be=e=>4===e.type&&e.isStatic,Se=(e,t)=>e===t||e===E(t);function Ee(e){return Se(e,"Teleport")?C:Se(e,"Suspense")?I:Se(e,"KeepAlive")?M:Se(e,"BaseTransition")?w:void 0}const xe=/^\d|[^\$\w]/,Te=e=>!xe.test(e),Ne=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[[^\]]+\])*$/,_e=e=>!!e&&Ne.test(e.trim());function Oe(e,t,n){const o={source:e.source.substr(t,n),start:ke(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ke(e.start,e.source,t+n)),o}function ke(e,t,n=t.length){return Ce(u({},e),t,n)}function Ce(e,t,n=t.length){let o=0,r=-1;for(let s=0;s<n;s++)10===t.charCodeAt(s)&&(o++,r=s);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ie(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(d(t)?r.name===t:t.test(r.name)))return r}}function 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||o)&&we(s.arg,t))return s}}function we(e,t){return!(!e||!be(e)||e.content!==t)}function $e(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 Re(e){return 7===e.type&&"slot"===e.name}function Le(e){return 1===e.type&&3===e.tagType}function Ve(e){return 1===e.type&&2===e.tagType}function Ae(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||d(r))o=ue([t]);else if(14===r.type){const e=r.arguments[0];d(e)||15!==e.type?r.callee===z?o=me(n.helper(G),[ue([t]),r]):r.arguments.unshift(ue([t])):e.properties.unshift(t),!o&&(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=me(n.helper(G),[ue([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function De(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Fe={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function Be(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function je(e,t){const n=Be("MODE",t),o=Be(e,t);return 3===n?!0===o:!1!==o}function He(e,t,n,...o){return je(e,t)}const We=/&(gt|lt|amp|apos|quot);/g,Ke={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Ue={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(We,((e,t)=>Ke[t])),onError:N,onWarn:_,comments:!1};function Je(e,t={}){const n=function(e,t){const n=u({},Ue);for(const o in t)n[o]=t[o]||Ue[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=it(n);return le(Ge(n,0,[]),ct(n,o))}function Ge(e,t,n){const o=lt(n),r=o?o.ns:0,s=[];for(;!dt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&at(i,e.options.delimiters[0]))c=ot(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=at(i,"\x3c!--")?qe(e):at(i,"<!DOCTYPE")?Ze(e):at(i,"<![CDATA[")&&0!==r?Ye(e,n):Ze(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){pt(e,3);continue}if(/[a-z]/i.test(i[2])){et(e,1,o);continue}c=Ze(e)}else/[a-z]/i.test(i[1])?(c=Xe(e,n),je("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&Qe(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Ze(e));if(c||(c=rt(e,t)),f(c))for(let e=0;e<c.length;e++)ze(s,c[e]);else ze(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"===e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(!e.inPre&&2===o.type)if(/[^\t\r\n\f ]/.test(o.content))t||(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||!t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}3!==o.type||e.options.comments||(i=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return i?s.filter(Boolean):s}function ze(e,t){if(2===t.type){const n=lt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Ye(e,t){pt(e,9);const n=Ge(e,3,t);return 0===e.source.length||pt(e,3),n}function qe(e){const t=it(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)pt(e,s-r+1),r=s+1;pt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),pt(e,e.source.length);return{type:3,content:n,loc:ct(e,t)}}function Ze(e){const t=it(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),pt(e,e.source.length)):(o=e.source.slice(n,r),pt(e,r+1)),{type:3,content:o,loc:ct(e,t)}}function Xe(e,t){const n=e.inPre,o=e.inVPre,r=lt(t),s=et(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,r),a=Ge(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&He("COMPILER_INLINE_TEMPLATE",e)){const n=ct(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,ht(e.source,s.tag))et(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&at(e.loc.source,"\x3c!--")}return s.loc=ct(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Qe=t("if,else,else-if,for,slot");function et(e,t,n){const o=it(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);pt(e,r[0].length),ut(e);const c=it(e),l=e.source;let a=tt(e,t);e.options.isPreTag(s)&&(e.inPre=!0),0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=tt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=at(e.source,"/>"),pt(e,p?2:1)),1===t)return;let f=0;const d=e.options;if(!e.inVPre&&!d.isCustomElement(s)){const t=a.some((t=>{if("is"===t.name)return 7===t.type||(!(!t.value||!t.value.content.startsWith("vue:"))||(!!He("COMPILER_IS_ON_ELEMENT",e)||void 0))}));d.isNativeTag&&!t?d.isNativeTag(s)||(f=1):(t||Ee(s)||d.isBuiltInComponent&&d.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(f=1),"slot"===s?f=2:"template"===s&&a.some((e=>7===e.type&&Qe(e.name)))&&(f=3)}return{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:ct(e,o),codegenNode:void 0}}function tt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!at(e.source,">")&&!at(e.source,"/>");){if(at(e.source,"/")){pt(e,1),ut(e);continue}const r=nt(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),ut(e)}return n}function nt(e,t){const n=it(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;pt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(ut(e),pt(e,1),ut(e),r=function(e){const t=it(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){pt(e,1);const t=e.source.indexOf(o);-1===t?n=st(e,e.source.length,4):(n=st(e,t,4),pt(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=st(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ct(e,t)}}(e));const s=ct(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=t[1]||(at(o,":")?"bind":at(o,"@")?"on":"slot");if(t[2]){const r="slot"===c,s=o.lastIndexOf(t[2]),l=ct(e,ft(e,n,s),ft(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=ke(e.start,r.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].substr(1).split("."):[];return"bind"===c&&i&&l.includes("sync")&&He("COMPILER_V_BIND_SYNC",e,0)&&(c="model",l.splice(l.indexOf("sync"),1)),{type:7,name:c,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:l,loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function ot(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=it(e);pt(e,n.length);const i=it(e),c=it(e),l=r-n.length,a=e.source.slice(0,l),p=st(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ce(i,a,f);return Ce(c,a,l-(p.length-u.length-f)),pt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:ct(e,i,c)},loc:ct(e,s)}}function rt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let s=0;s<n.length;s++){const t=e.source.indexOf(n[s],1);-1!==t&&o>t&&(o=t)}const r=it(e);return{type:2,content:st(e,o,t),loc:ct(e,r)}}function st(e,t,n){const o=e.source.slice(0,t);return pt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function it(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ct(e,t,n){return{start:t,end:n=n||it(e),source:e.originalSource.slice(t.offset,n.offset)}}function lt(e){return e[e.length-1]}function at(e,t){return e.startsWith(t)}function pt(e,t){const{source:n}=e;Ce(e,n,t),e.source=n.slice(t)}function ut(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&pt(e,t[0].length)}function ft(e,t,n){return ke(t,e.originalSource.slice(t.offset,n),n)}function dt(e,t,n){const o=e.source;switch(t){case 0:if(at(o,"</"))for(let e=n.length-1;e>=0;--e)if(ht(o,n[e].tag))return!0;break;case 1:case 2:{const e=lt(n);if(e&&ht(o,e.tag))return!0;break}case 3:if(at(o,"]]>"))return!0}return!o}function ht(e,t){return at(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function mt(e,t){yt(e,t,gt(e,e.children[0]))}function gt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ve(t)}function yt(e,t,n=!1){let o=!1,r=!0;const{children:s}=e;for(let i=0;i<s.length;i++){const e=s[i];if(1===e.type&&0===e.tagType){const s=n?0:vt(e,t);if(s>0){if(s<3&&(r=!1),s>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),o=!0;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Et(n);if((!o||512===o||1===o)&&bt(e,t)>=2){const o=St(e);o&&(n.props=t.hoist(o))}}}}else if(12===e.type){const n=vt(e.content,t);n>0&&(n<3&&(r=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),o=!0))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,yt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)yt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)yt(e.branches[n],t,1===e.branches[n].children.length)}r&&o&&t.transformHoist&&t.transformHoist(s,t,e)}function vt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(Et(r))return n.set(e,0),0;{let o=3;const s=bt(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=vt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=vt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper($),t.removeHelper(P),r.isBlock=!1,t.helper(R)),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return vt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(d(o)||h(o))continue;const r=vt(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}function bt(e,t){let n=3;const o=St(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:s}=e[o],i=vt(r,t);if(0===i)return i;if(i<n&&(n=i),4!==s.type)return 0;const c=vt(s,t);if(0===c)return c;c<n&&(n=c)}}return n}function St(e){const t=e.codegenNode;if(13===t.type)return t.props}function Et(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function xt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,ssrCssVars:g="",bindingMetadata:y=c,inline:v=!1,isTS:S=!1,onError:E=N,onWarn:T=_,compatConfig:O}){const k=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:k&&x(b(k[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,ssrCssVars:g,bindingMetadata:y,inline:v,isTS:S,onError:E,onWarn:T,compatConfig:O,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper(e){const t=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${se[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){C.hoists.push(e);const t=de(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>ve(++C.cached,e,t)};return C.filters=new Set,C}function Tt(e,t){const n=xt(e,t);Nt(e,n),t.hoistStatic&&mt(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:r}=e;if(1===r.length){const t=r[0];if(gt(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(R),r.isBlock=!0,n($),n(P))),e.codegenNode=r}else e.codegenNode=t}else if(r.length>1){let o=64;e.codegenNode=ae(t,n(k),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Nt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(f(r)?o.push(...r):o.push(r)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(L);break;case 5:t.ssr||t.helper(J);break;case 9:for(let n=0;n<e.branches.length;n++)Nt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];d(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Nt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function _t(e,t){const n=d(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Re))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const Ot="/*#__PURE__*/";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,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${se[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);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${se[e]}: _${se[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[R,L,V,A].filter((t=>e.helpers.includes(t))).map(i).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),wt(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${se[e]}: _${se[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Ct(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Ct(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Ct(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?wt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Ct(e,t,{helper:n,push:o,newline:r}){const s=n("filter"===t?j:"component"===t?D:B);for(let i=0;i<e.length;i++){let n=e[i];const c=n.endsWith("__self");c&&(n=n.slice(0,-6)),o(`const ${De(n,t)} = ${s}(${JSON.stringify(n)}${c?", true":""})`),i<e.length-1&&r()}}function It(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Mt(e,t,n),n&&t.deindent(),t.push("]")}function Mt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];d(c)?r(c):f(c)?It(c,t):wt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function wt(e,t){if(d(e))t.push(e);else if(h(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:wt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:$t(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ot);n(`${o(J)}(`),wt(e.content,t),n(")")}(e,t);break;case 12:wt(e.codegenNode,t);break;case 8:Pt(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Ot);n(`${o(L)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f}=e;p&&n(o(H)+"(");u&&n(`(${o($)}(${f?"true":""}), `);r&&n(Ot);n(o(u?P:R)+"(",e),Mt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),wt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n(Ot);n(s+"(",e),Mt(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let l=0;l<i.length;l++){const{key:e,value:o}=i[l];Rt(e,t),n(": "),wt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){It(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(`_${se[ne]}(`);n("(",e),f(s)?Mt(s,t):s&&wt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?It(i,t):wt(i,t)):c&&wt(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Te(n.content);e&&i("("),$t(n,t),e&&i(")")}else i("("),wt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),wt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;wt(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(X)}(-1),`),i());n(`_cache[${e.index}] = `),wt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(X)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function $t(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Pt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):wt(o,t)}}function Rt(e,t){const{push:n}=t;if(8===e.type)n("["),Pt(e,t),n("]");else if(e.isStatic){n(Te(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function Lt(e,t,n=!1,o=!1){return e}const Vt=_t(/^(if|else|else-if)$/,((e,t,n)=>At(e,t,n,((e,t,o)=>{const r=n.parent.children;let s=r.indexOf(e),i=0;for(;s-- >=0;){const e=r[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(o)e.codegenNode=Ft(t,i,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=Ft(t,i+e.branches.length-1,n)}}}))));function At(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=de("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||2!==i.type||i.content.trim().length){if(i&&9===i.type){n.removeNode();const r=Dt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Nt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function Dt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Ie(e,"for")?[e]:e.children,userKey:Me(e,"key")}}function Ft(e,t,n){return e.condition?ye(e.condition,Bt(e,t,n),me(n.helper(L),['""',"true"])):Bt(e,t,n)}function Bt(e,t,n){const{helper:o,removeHelper:r}=n,s=fe("key",de(`${t}`,!1,ce,2)),{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 Ae(e,s,n),e}{let t=64;return ae(n,o(k),ue([s]),i,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=c.codegenNode;return 13!==e.type||e.isBlock||(r(R),e.isBlock=!0,o($),o(P)),Ae(e,s,n),e}}const jt=_t("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Ht(e,t,n,(t=>{const s=me(o(W),[t.source]),i=Me(e,"key"),c=i?fe("key",6===i.type?de(i.value.content,!0):i.exp):null,l=4===t.source.type&&t.source.constType>0,a=l?64:i?128:256;return t.codegenNode=ae(n,o(k),void 0,s,a+"",void 0,void 0,!0,!l,e.loc),()=>{let i;const a=Le(e),{children:p}=t,u=1!==p.length||1!==p[0].type,f=Ve(e)?e:a&&1===e.children.length&&Ve(e.children[0])?e.children[0]:null;f?(i=f.codegenNode,a&&c&&Ae(i,c,n)):u?i=ae(n,o(k),c?ue([c]):void 0,e.children,"64",void 0,void 0,!0):(i=p[0].codegenNode,a&&c&&Ae(i,c,n),i.isBlock!==!l&&(i.isBlock?(r($),r(P)):r(R)),i.isBlock=!l,i.isBlock?(o($),o(P)):o(R)),s.arguments.push(ge(zt(t.parseResult),i,!0))}}))}));function Ht(e,t,n,o){if(!t.exp)return;const r=Jt(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:Le(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Wt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Kt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ut=/^\(|\)$/g;function Jt(e,t){const n=e.loc,o=e.content,r=o.match(Wt);if(!r)return;const[,s,i]=r,c={source:Gt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Ut,"").trim();const a=s.indexOf(l),p=l.match(Kt);if(p){l=l.replace(Kt,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Gt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Gt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Gt(n,l,a)),c}function Gt(e,t,n){return de(t,!1,Oe(e,n,t.length))}function zt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(de("_",!1)),o.push(t)),n&&(t||(e||o.push(de("_",!1)),o.push(de("__",!1))),o.push(n)),o}const Yt=de("undefined",!1),qt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ie(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Zt=(e,t,n)=>ge(e,t,!1,!0,t.length?t[0].loc:n);function Xt(e,t,n=Zt){t.helper(ne);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Ie(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!be(e)&&(c=!0),s.push(fe(e||de("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Le(e)||!(r=Ie(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=de("default",!0),exp:y}=r;let v;be(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,E,x;if(S=Ie(e,"if"))c=!0,i.push(ye(S.exp,Qt(g,b),Yt));else if(E=Ie(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Le(e)&&Ie(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?ye(E.exp,Qt(g,b),Yt):Qt(g,b)}}else if(x=Ie(e,"for")){c=!0;const e=x.parseResult||Jt(x.exp);e&&i.push(me(t.helper(W),[e.source,ge(zt(e),Qt(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(fe(g,b))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),fe("default",s)};a?u.length&&u.some((e=>tn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:en(e.children)?3:1;let h=ue(s.concat(fe("_",de(d+"",!1))),r);return i.length&&(h=me(t.helper(U),[h,pe(i)])),{slots:h,hasDynamicSlots:c}}function Qt(e,t){return ue([fe("name",e),fe("fn",t)])}function en(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||0===n.tagType&&en(n.children))return!0;break;case 9:if(en(n.branches))return!0;break;case 10:case 11:if(en(n.children))return!0}}return!1}function tn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():tn(e.content))}const nn=new WeakMap,on=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?rn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===F||s===C||s===I||!r&&("svg"===n||"foreignObject"===n||Me(e,"key",!0));if(o.length>0){const n=sn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?pe(o.map((e=>function(e,t){const n=[],o=nn.get(e);o?n.push(t.helperString(o)):(t.helper(B),t.directives.add(e.name),n.push(De(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=de("true",!1,r);n.push(ue(e.modifiers.map((e=>fe(e,t))),r))}return pe(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===M&&(d=!0,f|=1024);if(r&&s!==C&&s!==M){const{slots:n,hasDynamicSlots:o}=Xt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==C){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===vt(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=ae(t,s,i,c,l,a,u,!!d,!1,e.loc)};function rn(e,t,n=!1){let{tag:o}=e;const r=an(o),s=Me(e,"is")||!r&&Ie(e,"is");if(s)if(r||6!==s.type){const e=6===s.type?s.value&&de(s.value.content,!0):s.exp;if(e)return me(t.helper(F),[e])}else o=s.value.content.replace(/^vue:/,"");const i=Ee(o)||t.isBuiltInComponent(o);return i?(n||t.helper(i),i):(t.helper(D),t.components.add(o),De(o,"component"))}function sn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,b=!1;const S=[],E=({key:e,value:n})=>{if(be(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&vt(n,t)>0)return;"ref"===o?f=!0:"class"!==o||i?"style"!==o||i?"key"===o||S.includes(o)||S.push(o):m=!0:d=!0}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:t,value:n}=i;let o=!0;if("ref"===t&&(f=!0),"is"===t&&(an(r)||n&&n.content.startsWith("vue:")))continue;c.push(fe(de(t,!0,Oe(e,0,t.length)),de(n?n.content:"",o,n?n.loc:e)))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&an(r)&&we(p,"is"))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(ue(cn(c),s)),c=[]),d){if(je("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(z),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(E),c.push(...n),r&&(a.push(i),h(r)&&nn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&He("COMPILER_V_FOR_REF",t)&&c.push(fe(de("refInFor",!0),de("true",!1)))}let x;return l.length?(c.length&&l.push(ue(cn(c),s)),x=l.length>1?me(t.helper(G),l,s):l[0]):c.length&&(x=ue(cn(c),s)),v?u|=16:(d&&(u|=2),m&&(u|=4),S.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||b||a.length>0)||(u|=512),{props:x,directives:a,patchFlag:u,dynamicPropNames:S}}function cn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&ln(i,r):(t.set(s,r),n.push(r))}return n}function ln(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=pe([e.value,t.value],e.loc)}function an(e){return e[0].toLowerCase()+e.slice(1)==="component"}const pn=(e,t)=>{if(Ve(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(ge([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=me(t.helper(K),i,o)}};function un(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=b(t.name),r.push(t))):"bind"===t.name&&we(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&be(t.arg)&&(t.arg.content=b(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=sn(e,t,r);n=o}return{slotName:o,slotProps:n}}const fn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\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){c=de(T(b(i.content)),!0,i.loc)}else c=he([`${n.helperString(Z)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(Z)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l;if(l){const e=_e(l.content),t=!(e||fn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=he([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[fe(c,l||de("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},hn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),r.includes("camel")&&(4===i.type?i.content=i.isStatic?b(i.content):`${n.helperString(Y)}(${i.content})`:(i.children.unshift(`${n.helperString(Y)}(`),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[fe(i,de("",!0,s))]}:{props:[fe(i,o)]}},mn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Pe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Pe(s)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",s),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(Pe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==vt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:me(t.helper(V),r)}}}}},gn=new WeakSet,yn=(e,t)=>{if(1===e.type&&Ie(e,"once",!0)){if(gn.has(e))return;return gn.add(e),t.helper(X),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},vn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return bn();const s=o.loc.source;if(!_e(4===o.type?o.content:s))return bn();const i=r||de("modelValue",!0),c=r?be(r)?`onUpdate:${r.content}`:he(['"onUpdate:" + ',r]):"onUpdate:modelValue";let l;l=he([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const a=[fe(i,e.exp),fe(c,l)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Te(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?be(r)?`${r.content}Modifiers`:he([r,' + "Modifiers"']):"modelModifiers";a.push(fe(n,de(`{ ${t} }`,!1,e.loc,2)))}return bn(a)};function bn(e=[]){return{props:e}}const Sn=/[\w).+\-_$\]]/,En=(e,t)=>{je("COMPILER_FILTER",t)&&(5===e.type&&xn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&xn(e.exp,t)})))};function xn(e,t){if(4===e.type)Tn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Tn(o,t):8===o.type?xn(e,t):5===o.type&&xn(o.content,t))}}function Tn(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Sn.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=Nn(i,m[s],t);e.content=i}}function Nn(e,t,n){n.helper(j);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${De(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${De(r,"filter")}(${e}${")"!==s?","+s:s}`}}function _n(e){return[[yn,Vt,jt,En,pn,on,qt,mn],{on:dn,bind:hn,model:vn}]}function On(e,t={}){const n=t.onError||N,o="module"===t.mode;!0===t.prefixIdentifiers?n(O(45)):o&&n(O(46));t.cacheHandlers&&n(O(47)),t.scopeId&&!o&&n(O(48));const r=d(e)?Je(e,t):e,[s,i]=_n();return Tt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),kt(r,u({},t,{prefixIdentifiers:false}))}const kn=()=>({props:[]}),Cn=Symbol(""),In=Symbol(""),Mn=Symbol(""),wn=Symbol(""),$n=Symbol(""),Pn=Symbol(""),Rn=Symbol(""),Ln=Symbol(""),Vn=Symbol(""),An=Symbol("");let Dn;ie({[Cn]:"vModelRadio",[In]:"vModelCheckbox",[Mn]:"vModelText",[wn]:"vModelSelect",[$n]:"vModelDynamic",[Pn]:"withModifiers",[Rn]:"withKeys",[Ln]:"vShow",[Vn]:"Transition",[An]:"TransitionGroup"});const Fn=t("style,iframe,script,noscript",!0),Bn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Dn||(Dn=document.createElement("div"))).innerHTML=e,Dn.textContent},isBuiltInComponent:e=>Se(e,"Transition")?Vn:Se(e,"TransitionGroup")?An:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(Fn(e))return 2}return 0}},jn=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:de("style",!0,t.loc),exp:Hn(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Hn=(e,t)=>{const r=function(e){const t={};return e.split(n).forEach((e=>{if(e){const n=e.split(o);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}(e);return de(JSON.stringify(r),!1,t,3)};function Wn(e,t){return O(e,t)}const Kn=t("passive,once,capture"),Un=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Jn=t("left,right"),Gn=t("onkeyup,onkeydown,onkeypress",!0),zn=(e,t)=>be(e)&&"onclick"===e.content.toLowerCase()?de(t,!0):4!==e.type?he(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Yn=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},qn=[jn],Zn={cloak:kn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("innerHTML",!0,r),o||de("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[fe(de("textContent",!0),o?me(n.helperString(J),[o],r):de("",!0))]}},model:(e,t,n)=>{const o=vn(e,t,n);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=Mn,i=!1;if("input"===r||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=Cn;break;case"checkbox":e=In;break;case"file":i=!0}}else $e(t)&&(e=$n)}else"select"===r&&(e=wn);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>dn(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&He("COMPILER_V_ON_NATIVE",n)||Kn(o)?i.push(o):Jn(o)?be(e)?Gn(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Un(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=zn(r,"onContextmenu")),c.includes("middle")&&(r=zn(r,"onMouseup")),c.length&&(s=me(n.helper(Pn),[s,JSON.stringify(c)])),!i.length||be(r)&&!Gn(r.content)||(s=me(n.helper(Rn),[s,JSON.stringify(i)])),l.length){const e=l.map(x).join("");r=be(r)?de(`${r.content}${e}`,!0):he(["(",r,`) + "${e}"`])}return{props:[fe(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(Ln)})};return e.BASE_TRANSITION=w,e.CAMELIZE=Y,e.CAPITALIZE=q,e.CREATE_BLOCK=P,e.CREATE_COMMENT=L,e.CREATE_SLOTS=U,e.CREATE_STATIC=A,e.CREATE_TEXT=V,e.CREATE_VNODE=R,e.DOMDirectiveTransforms=Zn,e.DOMNodeTransforms=qn,e.FRAGMENT=k,e.IS_REF=re,e.KEEP_ALIVE=M,e.MERGE_PROPS=G,e.OPEN_BLOCK=$,e.POP_SCOPE_ID=ee,e.PUSH_SCOPE_ID=Q,e.RENDER_LIST=W,e.RENDER_SLOT=K,e.RESOLVE_COMPONENT=D,e.RESOLVE_DIRECTIVE=B,e.RESOLVE_DYNAMIC_COMPONENT=F,e.RESOLVE_FILTER=j,e.SET_BLOCK_TRACKING=X,e.SUSPENSE=I,e.TELEPORT=C,e.TO_DISPLAY_STRING=J,e.TO_HANDLERS=z,e.TO_HANDLER_KEY=Z,e.TRANSITION=Vn,e.TRANSITION_GROUP=An,e.UNREF=oe,e.V_MODEL_CHECKBOX=In,e.V_MODEL_DYNAMIC=$n,e.V_MODEL_RADIO=Cn,e.V_MODEL_SELECT=wn,e.V_MODEL_TEXT=Mn,e.V_ON_WITH_KEYS=Rn,e.V_ON_WITH_MODIFIERS=Pn,e.V_SHOW=Ln,e.WITH_CTX=ne,e.WITH_DIRECTIVES=H,e.WITH_SCOPE_ID=te,e.advancePositionWithClone=ke,e.advancePositionWithMutation=Ce,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=On,e.baseParse=Je,e.buildProps=sn,e.buildSlots=Xt,e.checkCompatEnabled=He,e.compile=function(e,t={}){return On(e,u({},Bn,t,{nodeTransforms:[Yn,...qn,...t.nodeTransforms||[]],directiveTransforms:u({},Zn,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=pe,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ce}},e.createBlockStatement=function(e){return{type:21,body:e,loc:ce}},e.createCacheExpression=ve,e.createCallExpression=me,e.createCompilerError=O,e.createCompoundExpression=he,e.createConditionalExpression=ye,e.createDOMCompilerError=Wn,e.createForLoopParams=zt,e.createFunctionExpression=ge,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ce}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:d(e)?de(e,!1,t):e}},e.createObjectExpression=ue,e.createObjectProperty=fe,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ce}},e.createRoot=le,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ce}},e.createSimpleExpression=de,e.createStructuralDirectiveTransform=_t,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ce}},e.createTransformContext=xt,e.createVNodeCall=ae,e.findDir=Ie,e.findProp=Me,e.generate=kt,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let i=0;i<o.length;i++)if(r+=o[i].length+1,r>=t){for(let e=i-2;e<=i+2||n>r;e++){if(e<0||e>=o.length)continue;const c=e+1;s.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${o[e]}`);const l=o[e].length;if(e===i){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>i){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=_n,e.getInnerRange=Oe,e.hasDynamicKeyVBind=$e,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&&Te(t.content)&&!!n[t.content];case 8:return t.children.some((t=>m(t)&&e(t,n)));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=se,e.injectProp=Ae,e.isBindKey=we,e.isBuiltInType=Se,e.isCoreComponent=Ee,e.isMemberExpression=_e,e.isSimpleIdentifier=Te,e.isSlotOutlet=Ve,e.isStaticExp=be,e.isTemplateNode=Le,e.isText=Pe,e.isVSlot=Re,e.locStub=ce,e.noopDirectiveTransform=kn,e.parse=function(e,t={}){return Je(e,u({},Bn,t))},e.parserOptions=Bn,e.processExpression=Lt,e.processFor=Ht,e.processIf=At,e.processSlotOutlet=un,e.registerRuntimeHelpers=ie,e.resolveComponentType=rn,e.toValidAssetId=De,e.trackSlotScopes=qt,e.trackVForSlotScopes=(e,t)=>{let n;if(Le(e)&&e.props.some(Re)&&(n=Ie(e,"for"))){const e=n.parseResult=Jt(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=Tt,e.transformBind=hn,e.transformElement=on,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Lt(e.content);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Lt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Lt(n))}}},e.transformModel=vn,e.transformOn=dn,e.transformStyle=jn,e.traverseNode=Nt,e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===Be(e,t))return;const{message:r,link:s}=Fe[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)},Object.defineProperty(e,"__esModule",{value:!0}),e}({}); |
{ | ||
"name": "@vue/compiler-dom", | ||
"version": "3.1.0-beta.3", | ||
"version": "3.1.0-beta.4", | ||
"description": "@vue/compiler-dom", | ||
@@ -40,5 +40,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vue/shared": "3.1.0-beta.3", | ||
"@vue/compiler-core": "3.1.0-beta.3" | ||
"@vue/shared": "3.1.0-beta.4", | ||
"@vue/compiler-core": "3.1.0-beta.4" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
672661
16840
+ Added@vue/compiler-core@3.1.0-beta.4(transitive)
+ Added@vue/shared@3.1.0-beta.4(transitive)
- Removed@vue/compiler-core@3.1.0-beta.3(transitive)
- Removed@vue/shared@3.1.0-beta.3(transitive)
Updated@vue/shared@3.1.0-beta.4