Socket
Socket
Sign inDemoInstall

@vue/compiler-dom

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/compiler-dom - npm Package Compare versions

Comparing version 3.0.0-rc.5 to 3.0.0-rc.6

24

dist/compiler-dom.d.ts

@@ -21,14 +21,14 @@ import { CodegenResult } from '@vue/compiler-core';

export declare const enum DOMErrorCodes {
X_V_HTML_NO_EXPRESSION = 48,
X_V_HTML_WITH_CHILDREN = 49,
X_V_TEXT_NO_EXPRESSION = 50,
X_V_TEXT_WITH_CHILDREN = 51,
X_V_MODEL_ON_INVALID_ELEMENT = 52,
X_V_MODEL_ARG_ON_ELEMENT = 53,
X_V_MODEL_ON_FILE_INPUT_ELEMENT = 54,
X_V_MODEL_UNNECESSARY_VALUE = 55,
X_V_SHOW_NO_EXPRESSION = 56,
X_TRANSITION_INVALID_CHILDREN = 57,
X_IGNORED_SIDE_EFFECT_TAG = 58,
__EXTEND_POINT__ = 59
X_V_HTML_NO_EXPRESSION = 49,
X_V_HTML_WITH_CHILDREN = 50,
X_V_TEXT_NO_EXPRESSION = 51,
X_V_TEXT_WITH_CHILDREN = 52,
X_V_MODEL_ON_INVALID_ELEMENT = 53,
X_V_MODEL_ARG_ON_ELEMENT = 54,
X_V_MODEL_ON_FILE_INPUT_ELEMENT = 55,
X_V_MODEL_UNNECESSARY_VALUE = 56,
X_V_SHOW_NO_EXPRESSION = 57,
X_TRANSITION_INVALID_CHILDREN = 58,
X_IGNORED_SIDE_EFFECT_TAG = 59,
__EXTEND_POINT__ = 60
}

@@ -35,0 +35,0 @@

@@ -1,1 +0,1 @@

import{parse as e}from"@babel/parser";import{walk as t}from"estree-walker";function n(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const o={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},r=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function s(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")}const i=/;(?![^(]*\))/g,c=/:(.+)/;const l=n("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,content,template,blockquote,iframe,tfoot"),p=n("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"),a=n("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),u=["bigInt","optionalChaining","nullishCoalescingOperator"],f=()=>{},d=()=>!1,h=/^on[^a-z]/,m=Object.assign,g=Object.prototype.hasOwnProperty,y=Array.isArray,v=e=>"string"==typeof e,b=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-(\w)/g,k=S(e=>e.replace(N,(e,t)=>t?t.toUpperCase():"")),T=/\B([A-Z])/g,$=S(e=>e.replace(T,"-$1").toLowerCase()),w=S(e=>e.charAt(0).toUpperCase()+e.slice(1));function C(e){throw e}function I(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const O=Symbol(""),_=Symbol(""),M=Symbol(""),E=Symbol(""),P=Symbol(""),L=Symbol(""),R=Symbol(""),V=Symbol(""),A=Symbol(""),B=Symbol(""),j=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),q=Symbol(""),K=Symbol(""),W=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe={[O]:"Fragment",[_]:"Teleport",[M]:"Suspense",[E]:"KeepAlive",[P]:"BaseTransition",[L]:"openBlock",[R]:"createBlock",[V]:"createVNode",[A]:"createCommentVNode",[B]:"createTextVNode",[j]:"createStaticVNode",[F]:"resolveComponent",[D]:"resolveDynamicComponent",[H]:"resolveDirective",[U]:"withDirectives",[J]:"renderList",[G]:"renderSlot",[z]:"createSlots",[q]:"toDisplayString",[K]:"mergeProps",[W]:"toHandlers",[Y]:"camelize",[Z]:"capitalize",[Q]:"setBlockTracking",[X]:"pushScopeId",[ee]:"popScopeId",[te]:"withScopeId",[ne]:"withCtx"};function re(e){Object.getOwnPropertySymbols(e).forEach(t=>{oe[t]=e[t]})}const se={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ie(e,t=se){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ce(e,t,n,o,r,s,i,c=!1,l=!1,p=se){return e&&(c?(e.helper(L),e.helper(R)):e.helper(V),i&&e.helper(U)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:p}}function le(e,t=se){return{type:17,loc:t,elements:e}}function pe(e,t=se){return{type:15,loc:t,properties:e}}function ae(e,t){return{type:16,loc:se,key:v(e)?ue(e,!0):e,value:t}}function ue(e,t,n=se,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function fe(e,t){return{type:5,loc:t,content:v(e)?ue(e,!1,t):e}}function de(e,t=se){return{type:8,loc:t,children:e}}function he(e,t=[],n=se){return{type:14,loc:n,callee:e,arguments:t}}function me(e,t,n=!1,o=!1,r=se){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ge(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:se}}function ye(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:se}}function ve(e){return{type:21,body:e,loc:se}}function be(e){return{type:22,elements:e,loc:se}}function xe(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:se}}function Se(e,t){return{type:24,left:e,right:t,loc:se}}function Ne(e){return{type:25,expressions:e,loc:se}}function ke(e){return{type:26,returns:e,loc:se}}const Te=e=>4===e.type&&e.isStatic,$e=(e,t)=>e===t||e===$(t);function we(e){return $e(e,"Teleport")?_:$e(e,"Suspense")?M:$e(e,"KeepAlive")?E:$e(e,"BaseTransition")?P:void 0}const Ce=/^\d|[^\$\w]/,Ie=e=>!Ce.test(e),Oe=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,_e=e=>!!e&&Oe.test(e.trim());function Me(e,t,n){const o={source:e.source.substr(t,n),start:Ee(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ee(e.start,e.source,t+n)),o}function Ee(e,t,n=t.length){return Pe(m({},e),t,n)}function Pe(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Le(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Re(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)&&(v(t)?r.name===t:t.test(r.name)))return r}}function Ve(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&&Ae(s.arg,t))return s}}function Ae(e,t){return!(!e||!Te(e)||e.content!==t)}function Be(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function je(e){return 5===e.type||2===e.type}function Fe(e){return 7===e.type&&"slot"===e.name}function De(e){return 1===e.type&&3===e.tagType}function He(e){return 1===e.type&&2===e.tagType}function Ue(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||v(r))o=pe([t]);else if(14===r.type){const e=r.arguments[0];v(e)||15!==e.type?r.arguments.unshift(pe([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=he(n.helper(K),[pe([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Je(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&&Ie(e.content)&&!!t[e.content];case 8:return e.children.some(e=>x(e)&&Ge(e,t));case 5:case 12:return Ge(e.content,t);case 2:case 3:default:return!1}}const ze=/&(gt|lt|amp|apos|quot);/g,qe={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Ke={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:d,isPreTag:d,isCustomElement:d,decodeEntities:e=>e.replace(ze,(e,t)=>qe[t]),onError:C};function We(e,t={}){const n=function(e,t){const n=m({},Ke);for(const e in t)n[e]=t[e]||Ke[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=pt(n);return ie(Ye(n,0,[]),at(n,o))}function Ye(e,t,n){const o=ut(n),r=o?o.ns:0,s=[];for(;!gt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&ft(i,e.options.delimiters[0]))c=it(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=ft(i,"\x3c!--")?Xe(e):ft(i,"<!DOCTYPE")?et(e):ft(i,"<![CDATA[")&&0!==r?Qe(e,n):et(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){dt(e,3);continue}if(/[a-z]/i.test(i[2])){ot(e,1,o);continue}c=et(e)}else/[a-z]/i.test(i[1])?c=tt(e,n):"?"===i[1]&&(c=et(e));if(c||(c=ct(e,t)),y(c))for(let e=0;e<c.length;e++)Ze(s,c[e]);else Ze(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}else 3===t.type&&(i=!0,s[e]=null)}return i?s.filter(Boolean):s}function Ze(e,t){if(2===t.type){const n=ut(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 Qe(e,t){dt(e,9);const n=Ye(e,3,t);return 0===e.source.length||dt(e,3),n}function Xe(e){const t=pt(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));)dt(e,s-r+1),r=s+1;dt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),dt(e,e.source.length);return{type:3,content:n,loc:at(e,t)}}function et(e){const t=pt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),dt(e,e.source.length)):(o=e.source.slice(n,r),dt(e,r+1)),{type:3,content:o,loc:at(e,t)}}function tt(e,t){const n=e.inPre,o=e.inVPre,r=ut(t),s=ot(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),p=Ye(e,l,t);if(t.pop(),s.children=p,yt(e.source,s.tag))ot(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=p[0];e&&ft(e.loc.source,"\x3c!--")}return s.loc=at(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const nt=n("if,else,else-if,for,slot");function ot(e,t,n){const o=pt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);dt(e,r[0].length),ht(e);const c=pt(e),l=e.source;let p=rt(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,m(e,c),e.source=l,p=rt(e,t).filter(e=>"v-pre"!==e.name));let a=!1;0===e.source.length||(a=ft(e.source,"/>"),dt(e,a?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=p.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||we(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&p.some(e=>7===e.type&&nt(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:p,isSelfClosing:a,children:[],loc:at(e,o),codegenNode:void 0}}function rt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!ft(e.source,">")&&!ft(e.source,"/>");){if(ft(e.source,"/")){dt(e,1),ht(e);continue}const r=st(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),ht(e)}return n}function st(e,t){const n=pt(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););}dt(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(ht(e),dt(e,1),ht(e),r=function(e){const t=pt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){dt(e,1);const t=e.source.indexOf(o);-1===t?n=lt(e,e.source.length,4):(n=lt(e,t,4),dt(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=lt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:at(e,t)}}(e));const s=at(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(ft(o,":")?"bind":ft(o,"@")?"on":"slot");let c;if(t[2]){const r="slot"===i,s=o.indexOf(t[2]),l=at(e,mt(e,n,s),mt(e,n,s+t[2].length+(r&&t[3]||"").length));let p=t[2],a=!0;p.startsWith("[")?(a=!1,p.endsWith("]"),p=p.substr(1,p.length-2)):r&&(p+=t[3]||""),c={type:4,content:p,isStatic:a,isConstant:a,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ee(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:c,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function it(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=pt(e);dt(e,n.length);const i=pt(e),c=pt(e),l=r-n.length,p=e.source.slice(0,l),a=lt(e,l,t),u=a.trim(),f=a.indexOf(u);f>0&&Pe(i,p,f);return Pe(c,p,l-(a.length-u.length-f)),dt(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:at(e,i,c)},loc:at(e,s)}}function ct(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=pt(e);return{type:2,content:lt(e,o,t),loc:at(e,r)}}function lt(e,t,n){const o=e.source.slice(0,t);return dt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function pt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function at(e,t,n){return{start:t,end:n=n||pt(e),source:e.originalSource.slice(t.offset,n.offset)}}function ut(e){return e[e.length-1]}function ft(e,t){return e.startsWith(t)}function dt(e,t){const{source:n}=e;Pe(e,n,t),e.source=n.slice(t)}function ht(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&dt(e,t[0].length)}function mt(e,t,n){return Ee(t,e.originalSource.slice(t.offset,n),n)}function gt(e,t,n){const o=e.source;switch(t){case 0:if(ft(o,"</"))for(let e=n.length-1;e>=0;--e)if(yt(o,n[e].tag))return!0;break;case 1:case 2:{const e=ut(n);if(e&&yt(o,e.tag))return!0;break}case 3:if(ft(o,"]]>"))return!0}return!o}function yt(e,t){return ft(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function vt(e,t){!function e(t,n,o,r=!1){let s=!1,i=!1;const{children:c}=t;for(let t=0;t<c.length;t++){const l=c[t];if(1===l.type&&0===l.tagType){let e;if(!r&&(e=xt(l,o))>0){2===e&&(i=!0),l.codegenNode.patchFlag="-1",l.codegenNode=n.hoist(l.codegenNode),s=!0;continue}{const e=l.codegenNode;if(13===e.type){const t=Tt(e);if(!(t&&512!==t&&1!==t||St(l)||Nt())){const t=kt(l);t&&(e.props=n.hoist(t))}}}}else if(12===l.type){const e=xt(l.content,o);e>0&&(2===e&&(i=!0),l.codegenNode=n.hoist(l.codegenNode),s=!0)}if(1===l.type)e(l,n,o);else if(11===l.type)e(l,n,o,1===l.children.length);else if(9===l.type)for(let t=0;t<l.branches.length;t++)e(l.branches[t],n,o,1===l.branches[t].children.length)}!i&&s&&n.transformHoist&&n.transformHoist(c,n,t)}(e,t,new Map,bt(e,e.children[0]))}function bt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!He(t)}function xt(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return 0;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return 0;if(Tt(o)||St(e)||Nt())return t.set(e,0),0;{let n=1;for(let o=0;o<e.children.length;o++){const r=xt(e.children[o],t);if(0===r)return t.set(e,0),0;2===r&&(n=2)}if(2!==n)for(let t=0;t<e.props.length;t++){const o=e.props[t];7===o.type&&"bind"===o.name&&o.exp&&(8===o.exp.type||o.exp.isRuntimeConstant)&&(n=2)}return o.isBlock&&(o.isBlock=!1),t.set(e,n),n}case 2:case 3:return 1;case 9:case 11:case 10:return 0;case 5:case 12:return xt(e.content,t);case 4:return e.isConstant?e.isRuntimeConstant?2:1:0;case 8:let r=1;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(v(o)||b(o))continue;const s=xt(o,t);if(0===s)return 0;2===s&&(r=2)}return r;default:return 0}}function St(e){return!(!Ve(e,"key",!0)&&!Ve(e,"ref",!0))}function Nt(e){return!1}function kt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Tt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function $t(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:c=f,isCustomElement:l=f,expressionPlugins:p=[],scopeId:a=null,ssr:u=!1,ssrCssVars:d="",bindingMetadata:h={},onError:m=C}){const g={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:p,scopeId:a,ssr:u,ssrCssVars:d,bindingMetadata:h,onError:m,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,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=>(g.helpers.add(e),e),helperString:e=>"_"+oe[g.helper(e)],replaceNode(e){g.parent.children[g.childIndex]=g.currentNode=e},removeNode(e){const t=e?g.parent.children.indexOf(e):g.currentNode?g.childIndex:-1;e&&e!==g.currentNode?g.childIndex>t&&(g.childIndex--,g.onNodeRemoved()):(g.currentNode=null,g.onNodeRemoved()),g.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){g.hoists.push(e);const t=ue("_hoisted_"+g.hoists.length,!1,e.loc,!0);return t.hoisted=e,t},cache:(e,t=!1)=>ye(++g.cached,e,t)};return g}function wt(e,t){const n=$t(e,t);Ct(e,n),t.hoistStatic&&vt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e,s=r[0];if(1===r.length)if(bt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,n(L),n(R)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=ce(t,n(O),void 0,e.children,`64 /* ${o[64]} */`,void 0,void 0,!0))}(e,n),e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.imports=[...n.imports],e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function Ct(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(y(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(A);break;case 5:t.ssr||t.helper(q);break;case 9:for(let n=0;n<e.branches.length;n++)Ct(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];v(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Ct(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function It(e,t){const n=v(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(Fe))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 Ot(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:p=!1}){const a={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>"_"+oe[e],push(e,t){a.code+=e},indent(){u(++a.indentLevel)},deindent(e=!1){e?--a.indentLevel:u(--a.indentLevel)},newline(){u(a.indentLevel)}};function u(e){a.push("\n"+" ".repeat(e))}return a}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,a=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${oe[e]}: _${oe[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[V,A,B,j].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _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} = `),Pt(e,t),o())}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);const f=t.bindingMetadata?", $props, $setup, $data, $options":"";if(r(p?`function ssrRender(_ctx, _push, _parent, _attrs${f}) {`:`function render(_ctx, _cache${f}) {`),i(),u&&(r("with (_ctx) {"),i(),a&&(r(`const { ${e.helpers.map(e=>`${oe[e]}: _${oe[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(_t(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(_t(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),p||r("return "),e.codegenNode?Pt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function _t(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?F:H);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Je(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function Mt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Et(e,t,n),n&&t.deindent(),t.push("]")}function Et(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];v(c)?r(c):y(c)?Mt(c,t):Pt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Pt(e,t){if(v(e))t.push(e);else if(b(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Pt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Lt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(o(q)+"("),Pt(e.content,t),n(")")}(e,t);break;case 12:Pt(e.codegenNode,t);break;case 8:Rt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:p,directives:a,isBlock:u,disableTracking:f}=e;a&&n(o(U)+"(");u&&n(`(${o(L)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(u?R:V)+"(",e),Et(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,p]),t),n(")"),u&&n(")");a&&(n(", "),Pt(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=v(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),Et(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];Vt(o,t),n(": "),Pt(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Mt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:p}=e;p&&n(`_${oe[ne]}(`);n("(",e),y(s)?Et(s,t):s&&Pt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),y(i)?Mt(i,t):Pt(i,t)):c&&Pt(c,t);(l||c)&&(r(),n("}"));p&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:p}=t;if(4===n.type){const e=!Ie(n.content);e&&i("("),Lt(n,t),e&&i(")")}else i("("),Pt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Pt(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const a=19===r.type;a||t.indentLevel++;Pt(r,t),a||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(o(Q)+"(-1),"),i());n(`_cache[${e.index}] = `),Pt(e.value,t),e.isVNode&&(n(","),i(),n(o(Q)+"(1),"),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Lt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Rt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];v(o)?t.push(o):Pt(o,t)}}function Vt(e,t){const{push:n}=t;if(8===e.type)n("["),Rt(e,t),n("]");else if(e.isStatic){n(Ie(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const At=n("true,false,null,this"),Bt=(e,t)=>{if(5===e.type)e.content=jt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=jt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=jt(n,t))}}};function jt(n,o,s=!1,i=!1){if(!o.prefixIdentifiers||!n.content.trim())return n;const{bindingMetadata:c}=o,l=e=>`${g.call(c,e)?"$"+c[e]:"_ctx"}.${e}`,p=n.content,a=p.indexOf("(")>-1;if(Ie(p))return s||o.identifiers[p]||r(p)||At(p)?o.identifiers[p]||a||(n.isConstant=!0):n.content=l(p),n;let f;const d=i?` ${p} `:`(${p})${s?"=>{}":""}`;try{f=e(d,{plugins:[...o.expressionPlugins,...u]}).program}catch(e){return n}const h=[],m=Object.create(o.identifiers);t(f,{enter(e,n){if("Identifier"===e.type){if(!(e=>h.some(t=>t.start===e.start))(e)){const t=function(e,t){if((!Ft(t)||t.id!==e&&!t.params.includes(e))&&!Ut(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!r(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,n);!m[e.name]&&t?(Ht(e,n)&&(e.prefix=e.name+": "),e.name=l(e.name),h.push(e)):Ut(e,n)||(t&&m[e.name]||a||(e.isConstant=!0),h.push(e))}}else Ft(e)&&e.params.forEach(n=>t(n,{enter(t,n){if(!("Identifier"!==t.type||Ut(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in m?m[n]++:m[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==f.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{m[e]--,0===m[e]&&delete m[e]})}});const y=[];let v;return h.sort((e,t)=>e.start-t.start),h.forEach((e,t)=>{const o=e.start-1,r=e.end-1,s=h[t-1],i=p.slice(s?s.end-1:0,o);(i.length||e.prefix)&&y.push(i+(e.prefix||""));const c=p.slice(o,r);y.push(ue(e.name,!1,{source:c,start:Ee(n.loc.start,c,o),end:Ee(n.loc.start,c,r)},e.isConstant)),t===h.length-1&&r<p.length&&y.push(p.slice(r))}),y.length?v=de(y,n.loc):(v=n,v.isConstant=!a),v.identifiers=Object.keys(m),v}const Ft=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Dt=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Ht=(e,t)=>Dt(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Ut=(e,t)=>Dt(t)&&t.key===e;const Jt=It(/^(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=qt(t,i,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=qt(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=ue("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=zt(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&9===i.type){n.removeNode();const r=zt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Ct(r,n),s&&s(),n.currentNode=null}break}}}function zt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Re(e,"for")?[e]:e.children}}function qt(e,t,n){return e.condition?ge(e.condition,Kt(e,t,n),he(n.helper(A),['""',"true"])):Kt(e,t,n)}function Kt(e,t,n){const{helper:r}=n,s=ae("key",ue(""+t,!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Ue(e,s,n),e}return ce(n,r(O),pe([s]),i,`64 /* ${o[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==_||(e.isBlock=!0,r(L),r(R)),Ue(e,s,n),e}}const Wt=It("for",(e,t,n)=>{const{helper:r}=n;return Yt(e,t,n,t=>{const s=he(r(J),[t.source]),i=Ve(e,"key"),c=4===t.source.type&&t.source.isConstant,l=c?64:i?128:256;return t.codegenNode=ce(n,r(O),void 0,s,`${l} /* ${o[l]} */`,void 0,void 0,!0,!c,e.loc),()=>{let l;const p=De(e),{children:a}=t,u=1!==a.length||1!==a[0].type,f=He(e)?e:p&&1===e.children.length&&He(e.children[0])?e.children[0]:null,d=i?ae("key",6===i.type?ue(i.value.content,!0):i.exp):null;f?(l=f.codegenNode,p&&d&&Ue(l,d,n)):u?l=ce(n,r(O),d?pe([d]):void 0,e.children,`64 /* ${o[64]} */`,void 0,void 0,!0):(l=a[0].codegenNode,l.isBlock=!c,l.isBlock&&(r(L),r(R))),s.arguments.push(me(nn(t.parseResult),l,!0))}})});function Yt(e,t,n,o){if(!t.exp)return;const r=en(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:p}=r,a={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(a),s.vFor++;const u=o&&o(a);return()=>{s.vFor--,u&&u()}}const Zt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xt=/^\(|\)$/g;function en(e,t){const n=e.loc,o=e.content,r=o.match(Zt);if(!r)return;const[,s,i]=r,c={source:tn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Xt,"").trim();const p=s.indexOf(l),a=l.match(Qt);if(a){l=l.replace(Qt,"").trim();const e=a[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=tn(n,e,t)),a[2]){const r=a[2].trim();r&&(c.index=tn(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=tn(n,l,p)),c}function tn(e,t,n){return ue(t,!1,Me(e,n,t.length))}function nn({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(ue("_",!1)),o.push(t)),n&&(t||(e||o.push(ue("_",!1)),o.push(ue("__",!1))),o.push(n)),o}const on=ue("undefined",!1),rn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Re(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},sn=(e,t)=>{let n;if(De(e)&&e.props.some(Fe)&&(n=Re(e,"for"))){const e=n.parseResult=en(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)}}}},cn=(e,t,n)=>me(e,t,!1,!0,t.length?t[0].loc:n);function ln(e,t,n=cn){t.helper(ne);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ae("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Re(e,"slot",!0);if(p){const{arg:e,exp:t}=p;e&&!Te(e)&&(l=!0),s.push(ae(e||ue("default",!0),n(t,o,r)))}let a=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!De(r)||!(c=Re(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;a=!0;const{children:h,loc:m}=r,{arg:g=ue("default",!0),exp:y}=c;let v;Te(g)?v=g?g.content:"default":l=!0;const b=n(y,h,m);let x,S,N;if(x=Re(r,"if"))l=!0,i.push(ge(x.exp,pn(g,b),on));else if(S=Re(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&De(t)&&Re(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=S.exp?ge(S.exp,pn(g,b),on):pn(g,b)}}else if(N=Re(r,"for")){l=!0;const e=N.parseResult||en(N.exp);e&&i.push(he(t.helper(J),[e.source,me(nn(e),pn(g,b),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ae(g,b))}}p||(a?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));const h=l?2:function e(t){for(let n=0;n<t.length;n++){const o=t[n];if(1===o.type&&(2===o.tagType||0===o.tagType&&e(o.children)))return!0}return!1}(e.children)?3:1;let m=pe(s.concat(ae("_",ue(""+h,!1))),r);return i.length&&(m=he(t.helper(z),[m,le(i)])),{slots:m,hasDynamicSlots:l}}function pn(e,t){return pe([ae("name",e),ae("fn",t)])}const an=new WeakMap,un=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?fn(e,t):`"${n}"`;let i,c,l,p,a,u,f=0,d=x(s)&&s.callee===D||s===_||s===M||!r&&("svg"===n||"foreignObject"===n||Ve(e,"key",!0));if(o.length>0){const n=dn(e,t);i=n.props,f=n.patchFlag,a=n.dynamicPropNames;const o=n.directives;u=o&&o.length?le(o.map(e=>function(e,t){const n=[],o=an.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(Je(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=ue("true",!1,r);n.push(pe(e.modifiers.map(e=>ae(e,t)),r))}return le(n,e.loc)}(e,t))):void 0}if(e.children.length>0){s===E&&(d=!0,f|=1024);if(r&&s!==_&&s!==E){const{slots:n,hasDynamicSlots:o}=ln(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==_){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!xt(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),a&&a.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(a))),e.codegenNode=ce(t,s,i,c,l,p,u,!!d,!1,e.loc)}};function fn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Ve(e,"is"):Re(e,"is");if(r){const e=6===r.type?r.value&&ue(r.value.content,!0):r.exp;if(e)return he(t.helper(D),[e])}const s=we(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):"setup"===t.bindingMetadata[o]?`$setup[${JSON.stringify(o)}]`:(t.helper(F),t.components.add(o),Je(o,"component"))}function dn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let a=0,u=!1,f=!1,d=!1,m=!1,g=!1;const y=[],v=({key:e,value:t})=>{if(Te(e)){const n=e.content;if(!i&&(e=>h.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&xt(t)>0)return;"ref"===n?u=!0:"class"!==n||i?"style"!==n||i?"key"===n||y.includes(n)||y.push(n):d=!0:f=!0}else g=!0};for(let i=0;i<n.length;i++){const a=n[i];if(6===a.type){const{loc:e,name:t,value:n}=a;if("ref"===t&&(u=!0),"is"===t&&"component"===r)continue;c.push(ae(ue(t,!0,Me(e,0,t.length)),ue(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:f}=a,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&"component"===r&&Ae(i,"is"))continue;if(h&&o)continue;if(!i&&(d||h)){g=!0,u&&(c.length&&(l.push(pe(hn(c),s)),c=[]),l.push(d?u:{type:14,loc:f,callee:t.helper(W),arguments:[u]}));continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:r}=m(a,e,t);!o&&n.forEach(v),c.push(...n),r&&(p.push(a),b(r)&&an.set(a,r))}else p.push(a)}}let x=void 0;return l.length?(c.length&&l.push(pe(hn(c),s)),x=l.length>1?he(t.helper(K),l,s):l[0]):c.length&&(x=pe(hn(c),s)),g?a|=16:(f&&(a|=2),d&&(a|=4),y.length&&(a|=8),m&&(a|=32)),0!==a&&32!==a||!(u||p.length>0)||(a|=512),{props:x,directives:p,patchFlag:a,dynamicPropNames:y}}function hn(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"))&&mn(i,r):(t.set(s,r),n.push(r))}return n}function mn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=le([e.value,t.value],e.loc)}const gn=(e,t)=>{if(He(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=yn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(me([],n,!1,!1,o))),e.codegenNode=he(t.helper(G),i,o)}};function yn(e,t){let n='"default"',o=void 0;const r=Ve(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=dn(e,t,s);o=n}return{slotName:n,slotProps:o}}const vn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,bn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=ue("on"+(e.startsWith("vnode")?w(k(e)):w(e)),!0,i.loc)}else c=de([`"on" + ${n.helperString(Z)}(`,i,")"]);else c=i,c.children.unshift(`"on" + ${n.helperString(Z)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=n.cacheHandlers&&!l;if(l){const e=_e(l.content),t=!(e||vn.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=de([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let a={props:[ae(c,l||ue("() => {}",!1,r))]};return o&&(a=o(a)),p&&(a.props[0].value=n.cache(a.props[0].value)),a},xn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?k(i.content):`${n.helperString(Y)}(${i.content})`:(i.children.unshift(n.helperString(Y)+"("),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[ae(i,ue("",!0,s))]}:{props:[ae(i,o)]}},Sn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r=void 0,s=!1;for(let e=0;e<n.length;e++){const t=n[e];if(je(t)){s=!0;for(let o=e+1;o<n.length;o++){const s=n[o];if(!je(s)){r=void 0;break}r||(r=n[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),n.splice(o,1),o--}}}if(s&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<n.length;e++){const r=n[e];if(je(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${o[1]} */`),n[e]={type:12,content:r,loc:r.loc,codegenNode:he(t.helper(B),s)}}}}},Nn=(e,t)=>{if(1===e.type&&Re(e,"once",!0))return t.helper(Q),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},kn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Tn();if(!_e(4===o.type?o.content:o.loc.source))return Tn();const s=r||ue("modelValue",!0),i=r?Te(r)?"onUpdate:"+r.content:de(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ae(s,e.exp),ae(i,de(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Ie(e)?e:JSON.stringify(e))+": true").join(", "),n=r?Te(r)?r.content+"Modifiers":de([r,' + "Modifiers"']):"modelModifiers";c.push(ae(n,ue(`{ ${t} }`,!1,e.loc,!0)))}return Tn(c)};function Tn(e=[]){return{props:e}}function $n(e){return[[Nn,Jt,Wt,gn,un,rn,Sn],{on:bn,bind:xn,model:kn}]}function wn(e,t={}){const n=t.onError||C,o="module"===t.mode;!0===t.prefixIdentifiers?n(I(44)):o&&n(I(45));t.cacheHandlers&&n(I(46)),t.scopeId&&!o&&n(I(47));const r=v(e)?We(e,t):e,[s,i]=$n();return wt(r,m({},t,{prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:m({},i,t.directiveTransforms||{})})),Ot(r,m({},t,{prefixIdentifiers:!1}))}const Cn=()=>({props:[]}),In=Symbol(""),On=Symbol(""),_n=Symbol(""),Mn=Symbol(""),En=Symbol(""),Pn=Symbol(""),Ln=Symbol(""),Rn=Symbol(""),Vn=Symbol(""),An=Symbol("");let Bn;re({[In]:"vModelRadio",[On]:"vModelCheckbox",[_n]:"vModelText",[Mn]:"vModelSelect",[En]:"vModelDynamic",[Pn]:"withModifiers",[Ln]:"withKeys",[Rn]:"vShow",[Vn]:"Transition",[An]:"TransitionGroup"});const jn=n("style,iframe,script,noscript",!0),Fn={isVoidTag:a,isNativeTag:e=>l(e)||p(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Bn||(Bn=document.createElement("div"))).innerHTML=e,Bn.textContent},isBuiltInComponent:e=>$e(e,"Transition")?Vn:$e(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(jn(e))return 2}return 0}},Dn=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:ue("style",!0,t.loc),exp:Hn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Hn=(e,t)=>{const n=function(e){const t={};return e.split(i).forEach(e=>{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e);return ue(JSON.stringify(n),!1,t,!0)};function Un(e,t){return I(e,t)}const Jn=n("passive,once,capture"),Gn=n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),zn=n("left,right"),qn=n("onkeyup,onkeydown,onkeypress",!0),Kn=(e,t)=>Te(e)&&"onclick"===e.content.toLowerCase()?ue(t,!0):4!==e.type?de(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Wn=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Yn=[Dn],Zn={cloak:Cn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ae(ue("innerHTML",!0,r),o||ue("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ae(ue("textContent",!0,r),o||ue("",!0))]}},model:(e,t,n)=>{const o=kn(e,t);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=_n,i=!1;if("input"===r||s){const n=Ve(t,"type");if(n){if(7===n.type)e=En;else if(n.value)switch(n.value.content){case"radio":e=In;break;case"checkbox":e=On;break;case"file":i=!0}}else Be(t)&&(e=En)}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)=>bn(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)=>{const n=[],o=[],r=[];for(let s=0;s<t.length;s++){const i=t[s];Jn(i)?r.push(i):zn(i)?Te(e)?qn(e.content)?n.push(i):o.push(i):(n.push(i),o.push(i)):Gn(i)?o.push(i):n.push(i)}return{keyModifiers:n,nonKeyModifiers:o,eventOptionModifiers:r}})(r,o);if(c.includes("right")&&(r=Kn(r,"onContextmenu")),c.includes("middle")&&(r=Kn(r,"onMouseup")),c.length&&(s=he(n.helper(Pn),[s,JSON.stringify(c)])),!i.length||Te(r)&&!qn(r.content)||(s=he(n.helper(Ln),[s,JSON.stringify(i)])),l.length){const e=l.map(w).join("");r=Te(r)?ue(`${r.content}${e}`,!0):de(["(",r,`) + "${e}"`])}return{props:[ae(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Rn)})};function Qn(e,t={}){return wn(e,m({},Fn,t,{nodeTransforms:[Wn,...Yn,...t.nodeTransforms||[]],directiveTransforms:m({},Zn,t.directiveTransforms||{}),transformHoist:null}))}function Xn(e,t={}){return We(e,m({},Fn,t))}export{P as BASE_TRANSITION,Y as CAMELIZE,Z as CAPITALIZE,R as CREATE_BLOCK,A as CREATE_COMMENT,z as CREATE_SLOTS,j as CREATE_STATIC,B as CREATE_TEXT,V as CREATE_VNODE,Zn as DOMDirectiveTransforms,Yn as DOMNodeTransforms,O as FRAGMENT,E as KEEP_ALIVE,K as MERGE_PROPS,L as OPEN_BLOCK,ee as POP_SCOPE_ID,X as PUSH_SCOPE_ID,J as RENDER_LIST,G as RENDER_SLOT,F as RESOLVE_COMPONENT,H as RESOLVE_DIRECTIVE,D as RESOLVE_DYNAMIC_COMPONENT,Q as SET_BLOCK_TRACKING,M as SUSPENSE,_ as TELEPORT,q as TO_DISPLAY_STRING,W as TO_HANDLERS,Vn as TRANSITION,An as TRANSITION_GROUP,On as V_MODEL_CHECKBOX,En as V_MODEL_DYNAMIC,In as V_MODEL_RADIO,Mn as V_MODEL_SELECT,_n as V_MODEL_TEXT,Ln as V_ON_WITH_KEYS,Pn as V_ON_WITH_MODIFIERS,Rn as V_SHOW,ne as WITH_CTX,U as WITH_DIRECTIVES,te as WITH_SCOPE_ID,Ee as advancePositionWithClone,Pe as advancePositionWithMutation,Le as assert,wn as baseCompile,We as baseParse,dn as buildProps,ln as buildSlots,Qn as compile,le as createArrayExpression,Se as createAssignmentExpression,ve as createBlockStatement,ye as createCacheExpression,he as createCallExpression,I as createCompilerError,de as createCompoundExpression,ge as createConditionalExpression,Un as createDOMCompilerError,nn as createForLoopParams,me as createFunctionExpression,xe as createIfStatement,fe as createInterpolation,pe as createObjectExpression,ae as createObjectProperty,ke as createReturnStatement,ie as createRoot,Ne as createSequenceExpression,ue as createSimpleExpression,It as createStructuralDirectiveTransform,be as createTemplateLiteral,$t as createTransformContext,ce as createVNodeCall,Re as findDir,Ve as findProp,Ot as generate,s as generateCodeFrame,$n as getBaseTransformPreset,Me as getInnerRange,Be as hasDynamicKeyVBind,Ge as hasScopeRef,oe as helperNameMap,Ue as injectProp,Ae as isBindKey,$e as isBuiltInType,we as isCoreComponent,_e as isMemberExpression,Ie as isSimpleIdentifier,He as isSlotOutlet,Te as isStaticExp,De as isTemplateNode,je as isText,Fe as isVSlot,se as locStub,Cn as noopDirectiveTransform,Xn as parse,Fn as parserOptions,jt as processExpression,Yt as processFor,Gt as processIf,yn as processSlotOutlet,re as registerRuntimeHelpers,fn as resolveComponentType,Je as toValidAssetId,rn as trackSlotScopes,sn as trackVForSlotScopes,wt as transform,xn as transformBind,un as transformElement,Bt as transformExpression,kn as transformModel,bn as transformOn,Dn as transformStyle,Ct as traverseNode};
import{parse as e}from"@babel/parser";import{walk as t}from"estree-walker";function n(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const o={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},r=n("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function s(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")}const i=/;(?![^(]*\))/g,c=/:(.+)/;const l=n("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"),p=n("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"),a=n("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),u=["bigInt","optionalChaining","nullishCoalescingOperator"],f=()=>{},d=()=>!1,h=/^on[^a-z]/,m=Object.assign,g=Object.prototype.hasOwnProperty,y=Array.isArray,v=e=>"string"==typeof e,b=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,S=n("key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),N=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,T=N(e=>e.replace(k,(e,t)=>t?t.toUpperCase():"")),$=/\B([A-Z])/g,w=N(e=>e.replace($,"-$1").toLowerCase()),C=N(e=>e.charAt(0).toUpperCase()+e.slice(1));function I(e){throw e}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const M=Symbol(""),_=Symbol(""),E=Symbol(""),P=Symbol(""),V=Symbol(""),L=Symbol(""),B=Symbol(""),R=Symbol(""),A=Symbol(""),j=Symbol(""),F=Symbol(""),D=Symbol(""),U=Symbol(""),H=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),q=Symbol(""),K=Symbol(""),W=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re={[M]:"Fragment",[_]:"Teleport",[E]:"Suspense",[P]:"KeepAlive",[V]:"BaseTransition",[L]:"openBlock",[B]:"createBlock",[R]:"createVNode",[A]:"createCommentVNode",[j]:"createTextVNode",[F]:"createStaticVNode",[D]:"resolveComponent",[U]:"resolveDynamicComponent",[H]:"resolveDirective",[J]:"withDirectives",[G]:"renderList",[z]:"renderSlot",[q]:"createSlots",[K]:"toDisplayString",[W]:"mergeProps",[Y]:"toHandlers",[Z]:"camelize",[Q]:"capitalize",[X]:"setBlockTracking",[ee]:"pushScopeId",[te]:"popScopeId",[ne]:"withScopeId",[oe]:"withCtx"};function se(e){Object.getOwnPropertySymbols(e).forEach(t=>{re[t]=e[t]})}const ie={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ce(e,t=ie){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function le(e,t,n,o,r,s,i,c=!1,l=!1,p=ie){return e&&(c?(e.helper(L),e.helper(B)):e.helper(R),i&&e.helper(J)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:p}}function pe(e,t=ie){return{type:17,loc:t,elements:e}}function ae(e,t=ie){return{type:15,loc:t,properties:e}}function ue(e,t){return{type:16,loc:ie,key:v(e)?fe(e,!0):e,value:t}}function fe(e,t,n=ie,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function de(e,t){return{type:5,loc:t,content:v(e)?fe(e,!1,t):e}}function he(e,t=ie){return{type:8,loc:t,children:e}}function me(e,t=[],n=ie){return{type:14,loc:n,callee:e,arguments:t}}function ge(e,t,n=!1,o=!1,r=ie){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:ie}}function ve(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ie}}function be(e){return{type:21,body:e,loc:ie}}function xe(e){return{type:22,elements:e,loc:ie}}function Se(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ie}}function Ne(e,t){return{type:24,left:e,right:t,loc:ie}}function ke(e){return{type:25,expressions:e,loc:ie}}function Te(e){return{type:26,returns:e,loc:ie}}const $e=e=>4===e.type&&e.isStatic,we=(e,t)=>e===t||e===w(t);function Ce(e){return we(e,"Teleport")?_:we(e,"Suspense")?E:we(e,"KeepAlive")?P:we(e,"BaseTransition")?V:void 0}const Ie=/^\d|[^\$\w]/,Oe=e=>!Ie.test(e),Me=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,_e=e=>!!e&&Me.test(e.trim());function Ee(e,t,n){const o={source:e.source.substr(t,n),start:Pe(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Pe(e.start,e.source,t+n)),o}function Pe(e,t,n=t.length){return Ve(m({},e),t,n)}function Ve(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Le(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Be(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)&&(v(t)?r.name===t:t.test(r.name)))return r}}function Re(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||!$e(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 Fe(e){return 5===e.type||2===e.type}function De(e){return 7===e.type&&"slot"===e.name}function Ue(e){return 1===e.type&&3===e.tagType}function He(e){return 1===e.type&&2===e.tagType}function Je(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||v(r))o=ae([t]);else if(14===r.type){const e=r.arguments[0];v(e)||15!==e.type?r.arguments.unshift(ae([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=me(n.helper(W),[ae([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Ge(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function ze(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&&(ze(o.arg,t)||ze(o.exp,t)))return!0}return e.children.some(e=>ze(e,t));case 11:return!!ze(e.source,t)||e.children.some(e=>ze(e,t));case 9:return e.branches.some(e=>ze(e,t));case 10:return!!ze(e.condition,t)||e.children.some(e=>ze(e,t));case 4:return!e.isStatic&&Oe(e.content)&&!!t[e.content];case 8:return e.children.some(e=>x(e)&&ze(e,t));case 5:case 12:return ze(e.content,t);case 2:case 3:default:return!1}}const qe=/&(gt|lt|amp|apos|quot);/g,Ke={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},We={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:d,isPreTag:d,isCustomElement:d,decodeEntities:e=>e.replace(qe,(e,t)=>Ke[t]),onError:I,comments:!1};function Ye(e,t={}){const n=function(e,t){const n=m({},We);for(const e in t)n[e]=t[e]||We[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=at(n);return ce(Ze(n,0,[]),ut(n,o))}function Ze(e,t,n){const o=ft(n),r=o?o.ns:0,s=[];for(;!yt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&dt(i,e.options.delimiters[0]))c=ct(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=dt(i,"\x3c!--")?et(e):dt(i,"<!DOCTYPE")?tt(e):dt(i,"<![CDATA[")&&0!==r?Xe(e,n):tt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){ht(e,3);continue}if(/[a-z]/i.test(i[2])){rt(e,1,o);continue}c=tt(e)}else/[a-z]/i.test(i[1])?c=nt(e,n):"?"===i[1]&&(c=tt(e));if(c||(c=lt(e,t)),y(c))for(let e=0;e<c.length;e++)Qe(s,c[e]);else Qe(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let t=0;t<s.length;t++){const n=s[t];if(2===n.type)if(/[^\t\r\n\f ]/.test(n.content))n.content=n.content.replace(/[\t\r\n\f ]+/g," ");else{const e=s[t-1],o=s[t+1];!e||!o||3===e.type||3===o.type||1===e.type&&1===o.type&&/[\r\n]/.test(n.content)?(i=!0,s[t]=null):n.content=" "}else 3!==n.type||e.options.comments||(i=!0,s[t]=null)}return i?s.filter(Boolean):s}function Qe(e,t){if(2===t.type){const n=ft(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Xe(e,t){ht(e,9);const n=Ze(e,3,t);return 0===e.source.length||ht(e,3),n}function et(e){const t=at(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)ht(e,s-r+1),r=s+1;ht(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),ht(e,e.source.length);return{type:3,content:n,loc:ut(e,t)}}function tt(e){const t=at(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),ht(e,e.source.length)):(o=e.source.slice(n,r),ht(e,r+1)),{type:3,content:o,loc:ut(e,t)}}function nt(e,t){const n=e.inPre,o=e.inVPre,r=ft(t),s=rt(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),p=Ze(e,l,t);if(t.pop(),s.children=p,vt(e.source,s.tag))rt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=p[0];e&&dt(e.loc.source,"\x3c!--")}return s.loc=ut(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const ot=n("if,else,else-if,for,slot");function rt(e,t,n){const o=at(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);ht(e,r[0].length),mt(e);const c=at(e),l=e.source;let p=st(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,m(e,c),e.source=l,p=st(e,t).filter(e=>"v-pre"!==e.name));let a=!1;0===e.source.length||(a=dt(e.source,"/>"),ht(e,a?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=p.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||Ce(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&p.some(e=>7===e.type&&ot(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:p,isSelfClosing:a,children:[],loc:ut(e,o),codegenNode:void 0}}function st(e,t){const n=[],o=new Set;for(;e.source.length>0&&!dt(e.source,">")&&!dt(e.source,"/>");){if(dt(e.source,"/")){ht(e,1),mt(e);continue}const r=it(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),mt(e)}return n}function it(e,t){const n=at(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););}ht(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(mt(e),ht(e,1),mt(e),r=function(e){const t=at(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){ht(e,1);const t=e.source.indexOf(o);-1===t?n=pt(e,e.source.length,4):(n=pt(e,t,4),ht(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=pt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ut(e,t)}}(e));const s=ut(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(dt(o,":")?"bind":dt(o,"@")?"on":"slot");let c;if(t[2]){const r="slot"===i,s=o.indexOf(t[2]),l=ut(e,gt(e,n,s),gt(e,n,s+t[2].length+(r&&t[3]||"").length));let p=t[2],a=!0;p.startsWith("[")?(a=!1,p.endsWith("]"),p=p.substr(1,p.length-2)):r&&(p+=t[3]||""),c={type:4,content:p,isStatic:a,isConstant:a,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Pe(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:c,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function ct(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=at(e);ht(e,n.length);const i=at(e),c=at(e),l=r-n.length,p=e.source.slice(0,l),a=pt(e,l,t),u=a.trim(),f=a.indexOf(u);f>0&&Ve(i,p,f);return Ve(c,p,l-(a.length-u.length-f)),ht(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:ut(e,i,c)},loc:ut(e,s)}}function lt(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=at(e);return{type:2,content:pt(e,o,t),loc:ut(e,r)}}function pt(e,t,n){const o=e.source.slice(0,t);return ht(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function at(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ut(e,t,n){return{start:t,end:n=n||at(e),source:e.originalSource.slice(t.offset,n.offset)}}function ft(e){return e[e.length-1]}function dt(e,t){return e.startsWith(t)}function ht(e,t){const{source:n}=e;Ve(e,n,t),e.source=n.slice(t)}function mt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&ht(e,t[0].length)}function gt(e,t,n){return Pe(t,e.originalSource.slice(t.offset,n),n)}function yt(e,t,n){const o=e.source;switch(t){case 0:if(dt(o,"</"))for(let e=n.length-1;e>=0;--e)if(vt(o,n[e].tag))return!0;break;case 1:case 2:{const e=ft(n);if(e&&vt(o,e.tag))return!0;break}case 3:if(dt(o,"]]>"))return!0}return!o}function vt(e,t){return dt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function bt(e,t){!function e(t,n,o,r=!1){let s=!1,i=!1;const{children:c}=t;for(let t=0;t<c.length;t++){const l=c[t];if(1===l.type&&0===l.tagType){let e;if(!r&&(e=St(l,o))>0){2===e&&(i=!0),l.codegenNode.patchFlag="-1",l.codegenNode=n.hoist(l.codegenNode),s=!0;continue}{const e=l.codegenNode;if(13===e.type){const t=$t(e);if(!(t&&512!==t&&1!==t||Nt(l)||kt())){const t=Tt(l);t&&(e.props=n.hoist(t))}}}}else if(12===l.type){const e=St(l.content,o);e>0&&(2===e&&(i=!0),l.codegenNode=n.hoist(l.codegenNode),s=!0)}if(1===l.type)e(l,n,o);else if(11===l.type)e(l,n,o,1===l.children.length);else if(9===l.type)for(let t=0;t<l.branches.length;t++)e(l.branches[t],n,o,1===l.branches[t].children.length)}!i&&s&&n.transformHoist&&n.transformHoist(c,n,t)}(e,t,new Map,xt(e,e.children[0]))}function xt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!He(t)}function St(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return 0;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return 0;if($t(o)||Nt(e)||kt())return t.set(e,0),0;{let n=1;for(let o=0;o<e.children.length;o++){const r=St(e.children[o],t);if(0===r)return t.set(e,0),0;2===r&&(n=2)}if(2!==n)for(let t=0;t<e.props.length;t++){const o=e.props[t];7===o.type&&"bind"===o.name&&o.exp&&(8===o.exp.type||o.exp.isRuntimeConstant)&&(n=2)}return o.isBlock&&(o.isBlock=!1),t.set(e,n),n}case 2:case 3:return 1;case 9:case 11:case 10:return 0;case 5:case 12:return St(e.content,t);case 4:return e.isConstant?e.isRuntimeConstant?2:1:0;case 8:let r=1;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(v(o)||b(o))continue;const s=St(o,t);if(0===s)return 0;2===s&&(r=2)}return r;default:return 0}}function Nt(e){return!(!Re(e,"key",!0)&&!Re(e,"ref",!0))}function kt(e){return!1}function Tt(e){const t=e.codegenNode;if(13===t.type)return t.props}function $t(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function wt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:c=f,isCustomElement:l=f,expressionPlugins:p=[],scopeId:a=null,ssr:u=!1,ssrCssVars:d="",bindingMetadata:h={},onError:m=I}){const g={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:p,scopeId:a,ssr:u,ssrCssVars:d,bindingMetadata:h,onError:m,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,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=>(g.helpers.add(e),e),helperString:e=>"_"+re[g.helper(e)],replaceNode(e){g.parent.children[g.childIndex]=g.currentNode=e},removeNode(e){const t=e?g.parent.children.indexOf(e):g.currentNode?g.childIndex:-1;e&&e!==g.currentNode?g.childIndex>t&&(g.childIndex--,g.onNodeRemoved()):(g.currentNode=null,g.onNodeRemoved()),g.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){g.hoists.push(e);const t=fe("_hoisted_"+g.hoists.length,!1,e.loc,!0);return t.hoisted=e,t},cache:(e,t=!1)=>ve(++g.cached,e,t)};return g}function Ct(e,t){const n=wt(e,t);It(e,n),t.hoistStatic&&bt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:r}=e,s=r[0];if(1===r.length)if(xt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,n(L),n(B)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=le(t,n(M),void 0,e.children,`64 /* ${o[64]} */`,void 0,void 0,!0))}(e,n),e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.imports=[...n.imports],e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function It(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(y(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(A);break;case 5:t.ssr||t.helper(K);break;case 9:for(let n=0;n<e.branches.length;n++)It(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];v(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,It(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function Ot(e,t){const n=v(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(De))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}function Mt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const a={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>"_"+re[e],push(e,t){a.code+=e},indent(){u(++a.indentLevel)},deindent(e=!1){e?--a.indentLevel:u(--a.indentLevel)},newline(){u(a.indentLevel)}};function u(e){a.push("\n"+" ".repeat(e))}return a}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,a=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${re[e]}: _${re[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[R,A,j,F].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _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} = `),Vt(e,t),o())}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);const f=t.bindingMetadata?", $props, $setup, $data, $options":"";if(r(p?`function ssrRender(_ctx, _push, _parent, _attrs${f}) {`:`function render(_ctx, _cache${f}) {`),i(),u&&(r("with (_ctx) {"),i(),a&&(r(`const { ${e.helpers.map(e=>`${re[e]}: _${re[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(_t(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(_t(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),p||r("return "),e.codegenNode?Vt(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function _t(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?D:H);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Ge(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function Et(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Pt(e,t,n),n&&t.deindent(),t.push("]")}function Pt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];v(c)?r(c):y(c)?Et(c,t):Vt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Vt(e,t){if(v(e))t.push(e);else if(b(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Vt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Lt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(o(K)+"("),Vt(e.content,t),n(")")}(e,t);break;case 12:Vt(e.codegenNode,t);break;case 8:Bt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:p,directives:a,isBlock:u,disableTracking:f}=e;a&&n(o(J)+"(");u&&n(`(${o(L)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(u?B:R)+"(",e),Pt(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,p]),t),n(")"),u&&n(")");a&&(n(", "),Vt(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=v(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),Pt(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];Rt(o,t),n(": "),Vt(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Et(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:p}=e;p&&n(`_${re[oe]}(`);n("(",e),y(s)?Pt(s,t):s&&Vt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),y(i)?Et(i,t):Vt(i,t)):c&&Vt(c,t);(l||c)&&(r(),n("}"));p&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:p}=t;if(4===n.type){const e=!Oe(n.content);e&&i("("),Lt(n,t),e&&i(")")}else i("("),Vt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Vt(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const a=19===r.type;a||t.indentLevel++;Vt(r,t),a||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(o(X)+"(-1),"),i());n(`_cache[${e.index}] = `),Vt(e.value,t),e.isVNode&&(n(","),i(),n(o(X)+"(1),"),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Lt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Bt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];v(o)?t.push(o):Vt(o,t)}}function Rt(e,t){const{push:n}=t;if(8===e.type)n("["),Bt(e,t),n("]");else if(e.isStatic){n(Oe(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const At=n("true,false,null,this"),jt=(e,t)=>{if(5===e.type)e.content=Ft(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Ft(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Ft(n,t))}}};function Ft(n,o,s=!1,i=!1){if(!o.prefixIdentifiers||!n.content.trim())return n;const{bindingMetadata:c}=o,l=e=>`${g.call(c,e)?"$"+c[e]:"_ctx"}.${e}`,p=n.content,a=p.indexOf("(")>-1;if(Oe(p))return s||o.identifiers[p]||r(p)||At(p)?o.identifiers[p]||a||(n.isConstant=!0):n.content=l(p),n;let f;const d=i?` ${p} `:`(${p})${s?"=>{}":""}`;try{f=e(d,{plugins:[...o.expressionPlugins,...u]}).program}catch(e){return n}const h=[],m=Object.create(o.identifiers);t(f,{enter(e,n){if("Identifier"===e.type){if(!(e=>h.some(t=>t.start===e.start))(e)){const t=function(e,t){if((!Dt(t)||t.id!==e&&!t.params.includes(e))&&!Jt(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!r(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,n);!m[e.name]&&t?(Ht(e,n)&&(e.prefix=e.name+": "),e.name=l(e.name),h.push(e)):Jt(e,n)||(t&&m[e.name]||a||(e.isConstant=!0),h.push(e))}}else Dt(e)&&e.params.forEach(n=>t(n,{enter(t,n){if(!("Identifier"!==t.type||Jt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in m?m[n]++:m[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==f.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{m[e]--,0===m[e]&&delete m[e]})}});const y=[];let v;return h.sort((e,t)=>e.start-t.start),h.forEach((e,t)=>{const o=e.start-1,r=e.end-1,s=h[t-1],i=p.slice(s?s.end-1:0,o);(i.length||e.prefix)&&y.push(i+(e.prefix||""));const c=p.slice(o,r);y.push(fe(e.name,!1,{source:c,start:Pe(n.loc.start,c,o),end:Pe(n.loc.start,c,r)},e.isConstant)),t===h.length-1&&r<p.length&&y.push(p.slice(r))}),y.length?v=he(y,n.loc):(v=n,v.isConstant=!a),v.identifiers=Object.keys(m),v}const Dt=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Ut=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Ht=(e,t)=>Ut(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Jt=(e,t)=>Ut(t)&&t.key===e;const Gt=Ot(/^(if|else|else-if)$/,(e,t,n)=>zt(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{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Kt(t,i+e.branches.length-1,n)}}}));function zt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=fe("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&&9===i.type){n.removeNode();const r=qt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);It(r,n),s&&s(),n.currentNode=null}break}}}function qt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Be(e,"for")?[e]:e.children,userKey:Re(e,"key")}}function Kt(e,t,n){return e.condition?ye(e.condition,Wt(e,t,n),me(n.helper(A),['""',"true"])):Wt(e,t,n)}function Wt(e,t,n){const{helper:r}=n,s=ue("key",fe(""+t,!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Je(e,s,n),e}return le(n,r(M),ae([s]),i,`64 /* ${o[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==_||(e.isBlock=!0,r(L),r(B)),Je(e,s,n),e}}const Yt=Ot("for",(e,t,n)=>{const{helper:r}=n;return Zt(e,t,n,t=>{const s=me(r(G),[t.source]),i=Re(e,"key"),c=4===t.source.type&&t.source.isConstant,l=c?64:i?128:256;return t.codegenNode=le(n,r(M),void 0,s,`${l} /* ${o[l]} */`,void 0,void 0,!0,!c,e.loc),()=>{let l;const p=Ue(e),{children:a}=t,u=1!==a.length||1!==a[0].type,f=He(e)?e:p&&1===e.children.length&&He(e.children[0])?e.children[0]:null,d=i?ue("key",6===i.type?fe(i.value.content,!0):i.exp):null;f?(l=f.codegenNode,p&&d&&Je(l,d,n)):u?l=le(n,r(M),d?ae([d]):void 0,e.children,`64 /* ${o[64]} */`,void 0,void 0,!0):(l=a[0].codegenNode,l.isBlock=!c,l.isBlock&&(r(L),r(B))),s.arguments.push(ge(on(t.parseResult),l,!0))}})});function Zt(e,t,n,o){if(!t.exp)return;const r=tn(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:p}=r,a={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:Ue(e)?e.children:[e]};n.replaceNode(a),s.vFor++;const u=o&&o(a);return()=>{s.vFor--,u&&u()}}const Qt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Xt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,en=/^\(|\)$/g;function tn(e,t){const n=e.loc,o=e.content,r=o.match(Qt);if(!r)return;const[,s,i]=r,c={source:nn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(en,"").trim();const p=s.indexOf(l),a=l.match(Xt);if(a){l=l.replace(Xt,"").trim();const e=a[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=nn(n,e,t)),a[2]){const r=a[2].trim();r&&(c.index=nn(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=nn(n,l,p)),c}function nn(e,t,n){return fe(t,!1,Ee(e,n,t.length))}function on({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(fe("_",!1)),o.push(t)),n&&(t||(e||o.push(fe("_",!1)),o.push(fe("__",!1))),o.push(n)),o}const rn=fe("undefined",!1),sn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Be(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},cn=(e,t)=>{let n;if(Ue(e)&&e.props.some(De)&&(n=Be(e,"for"))){const e=n.parseResult=tn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},ln=(e,t,n)=>ge(e,t,!1,!0,t.length?t[0].loc:n);function pn(e,t,n=ln){t.helper(oe);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ue("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Be(e,"slot",!0);if(p){const{arg:e,exp:t}=p;e&&!$e(e)&&(l=!0),s.push(ue(e||fe("default",!0),n(t,o,r)))}let a=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ue(r)||!(c=Be(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;a=!0;const{children:h,loc:m}=r,{arg:g=fe("default",!0),exp:y}=c;let v;$e(g)?v=g?g.content:"default":l=!0;const b=n(y,h,m);let x,S,N;if(x=Be(r,"if"))l=!0,i.push(ye(x.exp,an(g,b),rn));else if(S=Be(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ue(t)&&Be(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=S.exp?ye(S.exp,an(g,b),rn):an(g,b)}}else if(N=Be(r,"for")){l=!0;const e=N.parseResult||tn(N.exp);e&&i.push(me(t.helper(G),[e.source,ge(on(e),an(g,b),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ue(g,b))}}p||(a?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));const h=l?2:function e(t){for(let n=0;n<t.length;n++){const o=t[n];if(1===o.type&&(2===o.tagType||0===o.tagType&&e(o.children)))return!0}return!1}(e.children)?3:1;let m=ae(s.concat(ue("_",fe(""+h,!1))),r);return i.length&&(m=me(t.helper(q),[m,pe(i)])),{slots:m,hasDynamicSlots:l}}function an(e,t){return ae([ue("name",e),ue("fn",t)])}const un=new WeakMap,fn=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?dn(e,t):`"${n}"`;let i,c,l,p,a,u,f=0,d=x(s)&&s.callee===U||s===_||s===E||!r&&("svg"===n||"foreignObject"===n||Re(e,"key",!0));if(o.length>0){const n=hn(e,t);i=n.props,f=n.patchFlag,a=n.dynamicPropNames;const o=n.directives;u=o&&o.length?pe(o.map(e=>function(e,t){const n=[],o=un.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(Ge(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=fe("true",!1,r);n.push(ae(e.modifiers.map(e=>ue(e,t)),r))}return pe(n,e.loc)}(e,t))):void 0}if(e.children.length>0){s===P&&(d=!0,f|=1024);if(r&&s!==_&&s!==P){const{slots:n,hasDynamicSlots:o}=pn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==_){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!St(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),a&&a.length&&(p=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(a))),e.codegenNode=le(t,s,i,c,l,p,u,!!d,!1,e.loc)}};function dn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Re(e,"is"):Be(e,"is");if(r){const e=6===r.type?r.value&&fe(r.value.content,!0):r.exp;if(e)return me(t.helper(U),[e])}const s=Ce(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):"setup"===t.bindingMetadata[o]?`$setup[${JSON.stringify(o)}]`:(t.helper(D),t.components.add(o),Ge(o,"component"))}function hn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let a=0,u=!1,f=!1,d=!1,m=!1,g=!1,y=!1;const v=[],x=({key:e,value:t})=>{if($e(e)){const n=e.content,o=(e=>h.test(e))(n);if(i||!o||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||S(n)||(m=!0),o&&S(n)&&(y=!0),20===t.type||(4===t.type||8===t.type)&&St(t)>0)return;"ref"===n?u=!0:"class"!==n||i?"style"!==n||i?"key"===n||v.includes(n)||v.push(n):d=!0:f=!0}else g=!0};for(let i=0;i<n.length;i++){const a=n[i];if(6===a.type){const{loc:e,name:t,value:n}=a;if("ref"===t&&(u=!0),"is"===t&&"component"===r)continue;c.push(ue(fe(t,!0,Ee(e,0,t.length)),fe(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:f}=a,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&"component"===r&&Ae(i,"is"))continue;if(h&&o)continue;if(!i&&(d||h)){g=!0,u&&(c.length&&(l.push(ae(mn(c),s)),c=[]),l.push(d?u:{type:14,loc:f,callee:t.helper(Y),arguments:[u]}));continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:r}=m(a,e,t);!o&&n.forEach(x),c.push(...n),r&&(p.push(a),b(r)&&un.set(a,r))}else p.push(a)}}let N=void 0;return l.length?(c.length&&l.push(ae(mn(c),s)),N=l.length>1?me(t.helper(W),l,s):l[0]):c.length&&(N=ae(mn(c),s)),g?a|=16:(f&&(a|=2),d&&(a|=4),v.length&&(a|=8),m&&(a|=32)),0!==a&&32!==a||!(u||y||p.length>0)||(a|=512),{props:N,directives:p,patchFlag:a,dynamicPropNames:v}}function mn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&gn(i,r):(t.set(s,r),n.push(r))}return n}function gn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=pe([e.value,t.value],e.loc)}const yn=(e,t)=>{if(He(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=vn(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))),e.codegenNode=me(t.helper(z),i,o)}};function vn(e,t){let n='"default"',o=void 0;const r=Re(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=hn(e,t,s);o=n}return{slotName:n,slotProps:o}}const bn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,xn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=fe("on"+(e.startsWith("vnode")?C(T(e)):C(e)),!0,i.loc)}else c=he([`"on" + ${n.helperString(Q)}(`,i,")"]);else c=i,c.children.unshift(`"on" + ${n.helperString(Q)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=n.cacheHandlers&&!l;if(l){const e=_e(l.content),t=!(e||bn.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=he([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let a={props:[ue(c,l||fe("() => {}",!1,r))]};return o&&(a=o(a)),p&&(a.props[0].value=n.cache(a.props[0].value)),a},Sn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?T(i.content):`${n.helperString(Z)}(${i.content})`:(i.children.unshift(n.helperString(Z)+"("),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[ue(i,fe("",!0,s))]}:{props:[ue(i,o)]}},Nn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r=void 0,s=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Fe(t)){s=!0;for(let o=e+1;o<n.length;o++){const s=n[o];if(!Fe(s)){r=void 0;break}r||(r=n[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),n.splice(o,1),o--}}}if(s&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<n.length;e++){const r=n[e];if(Fe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${o[1]} */`),n[e]={type:12,content:r,loc:r.loc,codegenNode:me(t.helper(j),s)}}}}},kn=(e,t)=>{if(1===e.type&&Be(e,"once",!0))return t.helper(X),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},Tn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return $n();if(!_e(4===o.type?o.content:o.loc.source))return $n();const s=r||fe("modelValue",!0),i=r?$e(r)?"onUpdate:"+r.content:he(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ue(s,e.exp),ue(i,he(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Oe(e)?e:JSON.stringify(e))+": true").join(", "),n=r?$e(r)?r.content+"Modifiers":he([r,' + "Modifiers"']):"modelModifiers";c.push(ue(n,fe(`{ ${t} }`,!1,e.loc,!0)))}return $n(c)};function $n(e=[]){return{props:e}}function wn(e){return[[kn,Gt,Yt,yn,fn,sn,Nn],{on:xn,bind:Sn,model:Tn}]}function Cn(e,t={}){const n=t.onError||I,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=v(e)?Ye(e,t):e,[s,i]=wn();return Ct(r,m({},t,{prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:m({},i,t.directiveTransforms||{})})),Mt(r,m({},t,{prefixIdentifiers:!1}))}const In=()=>({props:[]}),On=Symbol(""),Mn=Symbol(""),_n=Symbol(""),En=Symbol(""),Pn=Symbol(""),Vn=Symbol(""),Ln=Symbol(""),Bn=Symbol(""),Rn=Symbol(""),An=Symbol("");let jn;se({[On]:"vModelRadio",[Mn]:"vModelCheckbox",[_n]:"vModelText",[En]:"vModelSelect",[Pn]:"vModelDynamic",[Vn]:"withModifiers",[Ln]:"withKeys",[Bn]:"vShow",[Rn]:"Transition",[An]:"TransitionGroup"});const Fn=n("style,iframe,script,noscript",!0),Dn={isVoidTag:a,isNativeTag:e=>l(e)||p(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(jn||(jn=document.createElement("div"))).innerHTML=e,jn.textContent},isBuiltInComponent:e=>we(e,"Transition")?Rn:we(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}},Un=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:fe("style",!0,t.loc),exp:Hn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Hn=(e,t)=>{const n=function(e){const t={};return e.split(i).forEach(e=>{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e);return fe(JSON.stringify(n),!1,t,!0)};function Jn(e,t){return O(e,t)}const Gn=n("passive,once,capture"),zn=n("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),qn=n("left,right"),Kn=n("onkeyup,onkeydown,onkeypress",!0),Wn=(e,t)=>$e(e)&&"onclick"===e.content.toLowerCase()?fe(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()},Zn=[Un],Qn={cloak:In,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ue(fe("innerHTML",!0,r),o||fe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ue(fe("textContent",!0,r),o||fe("",!0))]}},model:(e,t,n)=>{const o=Tn(e,t);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=_n,i=!1;if("input"===r||s){const n=Re(t,"type");if(n){if(7===n.type)e=Pn;else if(n.value)switch(n.value.content){case"radio":e=On;break;case"checkbox":e=Mn;break;case"file":i=!0}}else je(t)&&(e=Pn)}else"select"===r&&(e=En);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),o},on:(e,t,n)=>xn(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s<t.length;s++){const i=t[s];Gn(i)?r.push(i):qn(i)?$e(e)?Kn(e.content)?n.push(i):o.push(i):(n.push(i),o.push(i)):zn(i)?o.push(i):n.push(i)}return{keyModifiers:n,nonKeyModifiers:o,eventOptionModifiers:r}})(r,o);if(c.includes("right")&&(r=Wn(r,"onContextmenu")),c.includes("middle")&&(r=Wn(r,"onMouseup")),c.length&&(s=me(n.helper(Vn),[s,JSON.stringify(c)])),!i.length||$e(r)&&!Kn(r.content)||(s=me(n.helper(Ln),[s,JSON.stringify(i)])),l.length){const e=l.map(C).join("");r=$e(r)?fe(`${r.content}${e}`,!0):he(["(",r,`) + "${e}"`])}return{props:[ue(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Bn)})};function Xn(e,t={}){return Cn(e,m({},Dn,t,{nodeTransforms:[Yn,...Zn,...t.nodeTransforms||[]],directiveTransforms:m({},Qn,t.directiveTransforms||{}),transformHoist:null}))}function eo(e,t={}){return Ye(e,m({},Dn,t))}export{V as BASE_TRANSITION,Z as CAMELIZE,Q as CAPITALIZE,B as CREATE_BLOCK,A as CREATE_COMMENT,q as CREATE_SLOTS,F as CREATE_STATIC,j as CREATE_TEXT,R as CREATE_VNODE,Qn as DOMDirectiveTransforms,Zn as DOMNodeTransforms,M as FRAGMENT,P as KEEP_ALIVE,W as MERGE_PROPS,L as OPEN_BLOCK,te as POP_SCOPE_ID,ee as PUSH_SCOPE_ID,G as RENDER_LIST,z as RENDER_SLOT,D as RESOLVE_COMPONENT,H as RESOLVE_DIRECTIVE,U as RESOLVE_DYNAMIC_COMPONENT,X as SET_BLOCK_TRACKING,E as SUSPENSE,_ as TELEPORT,K as TO_DISPLAY_STRING,Y as TO_HANDLERS,Rn as TRANSITION,An as TRANSITION_GROUP,Mn as V_MODEL_CHECKBOX,Pn as V_MODEL_DYNAMIC,On as V_MODEL_RADIO,En as V_MODEL_SELECT,_n as V_MODEL_TEXT,Ln as V_ON_WITH_KEYS,Vn as V_ON_WITH_MODIFIERS,Bn as V_SHOW,oe as WITH_CTX,J as WITH_DIRECTIVES,ne as WITH_SCOPE_ID,Pe as advancePositionWithClone,Ve as advancePositionWithMutation,Le as assert,Cn as baseCompile,Ye as baseParse,hn as buildProps,pn as buildSlots,Xn as compile,pe as createArrayExpression,Ne as createAssignmentExpression,be as createBlockStatement,ve as createCacheExpression,me as createCallExpression,O as createCompilerError,he as createCompoundExpression,ye as createConditionalExpression,Jn as createDOMCompilerError,on as createForLoopParams,ge as createFunctionExpression,Se as createIfStatement,de as createInterpolation,ae as createObjectExpression,ue as createObjectProperty,Te as createReturnStatement,ce as createRoot,ke as createSequenceExpression,fe as createSimpleExpression,Ot as createStructuralDirectiveTransform,xe as createTemplateLiteral,wt as createTransformContext,le as createVNodeCall,Be as findDir,Re as findProp,Mt as generate,s as generateCodeFrame,wn as getBaseTransformPreset,Ee as getInnerRange,je as hasDynamicKeyVBind,ze as hasScopeRef,re as helperNameMap,Je as injectProp,Ae as isBindKey,we as isBuiltInType,Ce as isCoreComponent,_e as isMemberExpression,Oe as isSimpleIdentifier,He as isSlotOutlet,$e as isStaticExp,Ue as isTemplateNode,Fe as isText,De as isVSlot,ie as locStub,In as noopDirectiveTransform,eo as parse,Dn as parserOptions,Ft as processExpression,Zt as processFor,zt as processIf,vn as processSlotOutlet,se as registerRuntimeHelpers,dn as resolveComponentType,Ge as toValidAssetId,sn as trackSlotScopes,cn as trackVForSlotScopes,Ct as transform,Sn as transformBind,fn as transformElement,jt as transformExpression,Tn as transformModel,xn as transformOn,Un as transformStyle,It as traverseNode};

@@ -134,13 +134,13 @@ import { registerRuntimeHelpers, isBuiltInType, createSimpleExpression, createCompilerError, createObjectProperty, transformModel as transformModel$1, findProp, hasDynamicKeyVBind, transformOn as transformOn$1, createCompoundExpression, createCallExpression, isStaticExp, noopDirectiveTransform, baseCompile, baseParse } from '@vue/compiler-core';

const DOMErrorMessages = {
[48 /* X_V_HTML_NO_EXPRESSION */]: `v-html is missing expression.`,
[49 /* X_V_HTML_WITH_CHILDREN */]: `v-html will override element children.`,
[50 /* X_V_TEXT_NO_EXPRESSION */]: `v-text is missing expression.`,
[51 /* X_V_TEXT_WITH_CHILDREN */]: `v-text will override element children.`,
[52 /* X_V_MODEL_ON_INVALID_ELEMENT */]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
[53 /* X_V_MODEL_ARG_ON_ELEMENT */]: `v-model argument is not supported on plain elements.`,
[54 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
[55 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
[56 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`,
[57 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.`,
[58 /* X_IGNORED_SIDE_EFFECT_TAG */]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
[49 /* X_V_HTML_NO_EXPRESSION */]: `v-html is missing expression.`,
[50 /* X_V_HTML_WITH_CHILDREN */]: `v-html will override element children.`,
[51 /* X_V_TEXT_NO_EXPRESSION */]: `v-text is missing expression.`,
[52 /* X_V_TEXT_WITH_CHILDREN */]: `v-text will override element children.`,
[53 /* X_V_MODEL_ON_INVALID_ELEMENT */]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
[54 /* X_V_MODEL_ARG_ON_ELEMENT */]: `v-model argument is not supported on plain elements.`,
[55 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
[56 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
[57 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`,
[58 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.`,
[59 /* X_IGNORED_SIDE_EFFECT_TAG */]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
};

@@ -151,6 +151,6 @@

if (!exp) {
context.onError(createDOMCompilerError(48 /* X_V_HTML_NO_EXPRESSION */, loc));
context.onError(createDOMCompilerError(49 /* X_V_HTML_NO_EXPRESSION */, loc));
}
if (node.children.length) {
context.onError(createDOMCompilerError(49 /* X_V_HTML_WITH_CHILDREN */, loc));
context.onError(createDOMCompilerError(50 /* X_V_HTML_WITH_CHILDREN */, loc));
node.children.length = 0;

@@ -168,6 +168,6 @@ }

if (!exp) {
context.onError(createDOMCompilerError(50 /* X_V_TEXT_NO_EXPRESSION */, loc));
context.onError(createDOMCompilerError(51 /* X_V_TEXT_NO_EXPRESSION */, loc));
}
if (node.children.length) {
context.onError(createDOMCompilerError(51 /* X_V_TEXT_WITH_CHILDREN */, loc));
context.onError(createDOMCompilerError(52 /* X_V_TEXT_WITH_CHILDREN */, loc));
node.children.length = 0;

@@ -189,3 +189,3 @@ }

if (dir.arg) {
context.onError(createDOMCompilerError(53 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc));
context.onError(createDOMCompilerError(54 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc));
}

@@ -195,3 +195,3 @@ function checkDuplicatedValue() {

if (value) {
context.onError(createDOMCompilerError(55 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));
context.onError(createDOMCompilerError(56 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));
}

@@ -224,3 +224,3 @@ }

isInvalidType = true;
context.onError(createDOMCompilerError(54 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
context.onError(createDOMCompilerError(55 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
break;

@@ -259,13 +259,8 @@ default:

else {
context.onError(createDOMCompilerError(52 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
context.onError(createDOMCompilerError(53 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
}
// native vmodel doesn't need the `modelValue` props since they are also
// passed to the runtime as `binding.value`. removing it reduces code size.
baseResult.props = baseResult.props.filter(p => {
if (p.key.type === 4 /* SIMPLE_EXPRESSION */ &&
p.key.content === 'modelValue') {
return false;
}
return true;
});
baseResult.props = baseResult.props.filter(p => !(p.key.type === 4 /* SIMPLE_EXPRESSION */ &&
p.key.content === 'modelValue'));
return baseResult;

@@ -385,3 +380,3 @@ };

if (!exp) {
context.onError(createDOMCompilerError(56 /* X_V_SHOW_NO_EXPRESSION */, loc));
context.onError(createDOMCompilerError(57 /* X_V_SHOW_NO_EXPRESSION */, loc));
}

@@ -401,3 +396,3 @@ return {

if (node.children.length && hasMultipleChildren(node)) {
context.onError(createDOMCompilerError(57 /* X_TRANSITION_INVALID_CHILDREN */, {
context.onError(createDOMCompilerError(58 /* X_TRANSITION_INVALID_CHILDREN */, {
start: node.children[0].loc.start,

@@ -425,3 +420,3 @@ end: node.children[node.children.length - 1].loc.end,

(node.tag === 'script' || node.tag === 'style')) {
context.onError(createDOMCompilerError(58 /* X_IGNORED_SIDE_EFFECT_TAG */, node.loc));
context.onError(createDOMCompilerError(59 /* X_IGNORED_SIDE_EFFECT_TAG */, node.loc));
context.removeNode();

@@ -428,0 +423,0 @@ }

@@ -1,1 +0,1 @@

var VueCompilerDOM=function(e,t,n){"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},s=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const i=/;(?![^(]*\))/g,c=/:(.+)/;const l=o("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,content,template,blockquote,iframe,tfoot"),a=o("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"),p=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),u=["bigInt","optionalChaining","nullishCoalescingOperator"],f=()=>{},d=()=>!1,h=/^on[^a-z]/,m=Object.assign,g=Object.prototype.hasOwnProperty,y=Array.isArray,v=e=>"string"==typeof e,S=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,b=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},T=/-(\w)/g,N=b(e=>e.replace(T,(e,t)=>t?t.toUpperCase():"")),E=/\B([A-Z])/g,O=b(e=>e.replace(E,"-$1").toLowerCase()),C=b(e=>e.charAt(0).toUpperCase()+e.slice(1));function _(e){throw e}function k(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const I=Symbol(""),$=Symbol(""),M=Symbol(""),P=Symbol(""),w=Symbol(""),R=Symbol(""),L=Symbol(""),A=Symbol(""),V=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),U=Symbol(""),G=Symbol(""),K=Symbol(""),W=Symbol(""),J=Symbol(""),z=Symbol(""),Y=Symbol(""),q=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe={[I]:"Fragment",[$]:"Teleport",[M]:"Suspense",[P]:"KeepAlive",[w]:"BaseTransition",[R]:"openBlock",[L]:"createBlock",[A]:"createVNode",[V]:"createCommentVNode",[D]:"createTextVNode",[B]:"createStaticVNode",[F]:"resolveComponent",[j]:"resolveDynamicComponent",[H]:"resolveDirective",[U]:"withDirectives",[G]:"renderList",[K]:"renderSlot",[W]:"createSlots",[J]:"toDisplayString",[z]:"mergeProps",[Y]:"toHandlers",[q]:"camelize",[Z]:"capitalize",[X]:"setBlockTracking",[Q]:"pushScopeId",[ee]:"popScopeId",[te]:"withScopeId",[ne]:"withCtx"};function re(e){Object.getOwnPropertySymbols(e).forEach(t=>{oe[t]=e[t]})}const se={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ie(e,t=se){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ce(e,t,n,o,r,s,i,c=!1,l=!1,a=se){return e&&(c?(e.helper(R),e.helper(L)):e.helper(A),i&&e.helper(U)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:a}}function le(e,t=se){return{type:17,loc:t,elements:e}}function ae(e,t=se){return{type:15,loc:t,properties:e}}function pe(e,t){return{type:16,loc:se,key:v(e)?ue(e,!0):e,value:t}}function ue(e,t,n=se,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function fe(e,t=se){return{type:8,loc:t,children:e}}function de(e,t=[],n=se){return{type:14,loc:n,callee:e,arguments:t}}function he(e,t,n=!1,o=!1,r=se){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function me(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:se}}function ge(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:se}}const ye=e=>4===e.type&&e.isStatic,ve=(e,t)=>e===t||e===O(t);function Se(e){return ve(e,"Teleport")?$:ve(e,"Suspense")?M:ve(e,"KeepAlive")?P:ve(e,"BaseTransition")?w:void 0}const xe=/^\d|[^\$\w]/,be=e=>!xe.test(e),Te=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Ne=e=>!!e&&Te.test(e.trim());function Ee(e,t,n){const o={source:e.source.substr(t,n),start:Oe(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Oe(e.start,e.source,t+n)),o}function Oe(e,t,n=t.length){return Ce(m({},e),t,n)}function Ce(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function _e(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)&&(v(t)?r.name===t:t.test(r.name)))return r}}function ke(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&s.exp&&Ie(s.arg,t))return s}}function Ie(e,t){return!(!e||!ye(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 Me(e){return 5===e.type||2===e.type}function Pe(e){return 7===e.type&&"slot"===e.name}function we(e){return 1===e.type&&3===e.tagType}function Re(e){return 1===e.type&&2===e.tagType}function Le(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||v(r))o=ae([t]);else if(14===r.type){const e=r.arguments[0];v(e)||15!==e.type?r.arguments.unshift(ae([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=de(n.helper(z),[ae([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Ae(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Ve=/&(gt|lt|amp|apos|quot);/g,De={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Be={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:d,isPreTag:d,isCustomElement:d,decodeEntities:e=>e.replace(Ve,(e,t)=>De[t]),onError:_};function Fe(e,t={}){const n=function(e,t){const n=m({},Be);for(const e in t)n[e]=t[e]||Be[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=et(n);return ie(je(n,0,[]),tt(n,o))}function je(e,t,n){const o=nt(n),r=o?o.ns:0,s=[];for(;!ct(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&ot(i,e.options.delimiters[0]))c=Ze(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=ot(i,"\x3c!--")?Ge(e):ot(i,"<!DOCTYPE")?Ke(e):ot(i,"<![CDATA[")&&0!==r?Ue(e,n):Ke(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){rt(e,3);continue}if(/[a-z]/i.test(i[2])){ze(e,1,o);continue}c=Ke(e)}else/[a-z]/i.test(i[1])?c=We(e,n):"?"===i[1]&&(c=Ke(e));if(c||(c=Xe(e,t)),y(c))for(let e=0;e<c.length;e++)He(s,c[e]);else He(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}else 3===t.type&&(i=!0,s[e]=null)}return i?s.filter(Boolean):s}function He(e,t){if(2===t.type){const n=nt(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 Ue(e,t){rt(e,9);const n=je(e,3,t);return 0===e.source.length||rt(e,3),n}function Ge(e){const t=et(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));)rt(e,s-r+1),r=s+1;rt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),rt(e,e.source.length);return{type:3,content:n,loc:tt(e,t)}}function Ke(e){const t=et(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),rt(e,e.source.length)):(o=e.source.slice(n,r),rt(e,r+1)),{type:3,content:o,loc:tt(e,t)}}function We(e,t){const n=e.inPre,o=e.inVPre,r=nt(t),s=ze(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s,r),a=je(e,l,t);if(t.pop(),s.children=a,lt(e.source,s.tag))ze(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&ot(e.loc.source,"\x3c!--")}return s.loc=tt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Je=o("if,else,else-if,for,slot");function ze(e,t,n){const o=et(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);rt(e,r[0].length),st(e);const c=et(e),l=e.source;let a=Ye(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,m(e,c),e.source=l,a=Ye(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=ot(e.source,"/>"),rt(e,p?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||Se(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&Je(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:tt(e,o),codegenNode:void 0}}function Ye(e,t){const n=[],o=new Set;for(;e.source.length>0&&!ot(e.source,">")&&!ot(e.source,"/>");){if(ot(e.source,"/")){rt(e,1),st(e);continue}const r=qe(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),st(e)}return n}function qe(e,t){const n=et(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}rt(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(st(e),rt(e,1),st(e),r=function(e){const t=et(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){rt(e,1);const t=e.source.indexOf(o);-1===t?n=Qe(e,e.source.length,4):(n=Qe(e,t,4),rt(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=Qe(e,t[0].length,4)}return{content:n,isQuoted:r,loc:tt(e,t)}}(e));const s=tt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(ot(o,":")?"bind":ot(o,"@")?"on":"slot");let c;if(t[2]){const r="slot"===i,s=o.indexOf(t[2]),l=tt(e,it(e,n,s),it(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),c={type:4,content:a,isStatic:p,isConstant:p,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Oe(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:c,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ze(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=et(e);rt(e,n.length);const i=et(e),c=et(e),l=r-n.length,a=e.source.slice(0,l),p=Qe(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)),rt(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:tt(e,i,c)},loc:tt(e,s)}}function Xe(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=et(e);return{type:2,content:Qe(e,o,t),loc:tt(e,r)}}function Qe(e,t,n){const o=e.source.slice(0,t);return rt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function et(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function tt(e,t,n){return{start:t,end:n=n||et(e),source:e.originalSource.slice(t.offset,n.offset)}}function nt(e){return e[e.length-1]}function ot(e,t){return e.startsWith(t)}function rt(e,t){const{source:n}=e;Ce(e,n,t),e.source=n.slice(t)}function st(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&rt(e,t[0].length)}function it(e,t,n){return Oe(t,e.originalSource.slice(t.offset,n),n)}function ct(e,t,n){const o=e.source;switch(t){case 0:if(ot(o,"</"))for(let e=n.length-1;e>=0;--e)if(lt(o,n[e].tag))return!0;break;case 1:case 2:{const e=nt(n);if(e&&lt(o,e.tag))return!0;break}case 3:if(ot(o,"]]>"))return!0}return!o}function lt(e,t){return ot(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function at(e,t){!function e(t,n,o,r=!1){let s=!1,i=!1;const{children:c}=t;for(let t=0;t<c.length;t++){const l=c[t];if(1===l.type&&0===l.tagType){let e;if(!r&&(e=ut(l,o))>0){2===e&&(i=!0),l.codegenNode.patchFlag="-1",l.codegenNode=n.hoist(l.codegenNode),s=!0;continue}{const e=l.codegenNode;if(13===e.type){const t=mt(e);if(!(t&&512!==t&&1!==t||ft(l)||dt())){const t=ht(l);t&&(e.props=n.hoist(t))}}}}else if(12===l.type){const e=ut(l.content,o);e>0&&(2===e&&(i=!0),l.codegenNode=n.hoist(l.codegenNode),s=!0)}if(1===l.type)e(l,n,o);else if(11===l.type)e(l,n,o,1===l.children.length);else if(9===l.type)for(let t=0;t<l.branches.length;t++)e(l.branches[t],n,o,1===l.branches[t].children.length)}!i&&s&&n.transformHoist&&n.transformHoist(c,n,t)}(e,t,new Map,pt(e,e.children[0]))}function pt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Re(t)}function ut(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return 0;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return 0;if(mt(o)||ft(e)||dt())return t.set(e,0),0;{let n=1;for(let o=0;o<e.children.length;o++){const r=ut(e.children[o],t);if(0===r)return t.set(e,0),0;2===r&&(n=2)}if(2!==n)for(let t=0;t<e.props.length;t++){const o=e.props[t];7===o.type&&"bind"===o.name&&o.exp&&(8===o.exp.type||o.exp.isRuntimeConstant)&&(n=2)}return o.isBlock&&(o.isBlock=!1),t.set(e,n),n}case 2:case 3:return 1;case 9:case 11:case 10:return 0;case 5:case 12:return ut(e.content,t);case 4:return e.isConstant?e.isRuntimeConstant?2:1:0;case 8:let r=1;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(v(o)||S(o))continue;const s=ut(o,t);if(0===s)return 0;2===s&&(r=2)}return r;default:return 0}}function ft(e){return!(!ke(e,"key",!0)&&!ke(e,"ref",!0))}function dt(e){return!1}function ht(e){const t=e.codegenNode;if(13===t.type)return t.props}function mt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function gt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:c=f,isCustomElement:l=f,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,ssrCssVars:d="",bindingMetadata:h={},onError:m=_}){const g={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:a,scopeId:p,ssr:u,ssrCssVars:d,bindingMetadata:h,onError:m,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,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=>(g.helpers.add(e),e),helperString:e=>"_"+oe[g.helper(e)],replaceNode(e){g.parent.children[g.childIndex]=g.currentNode=e},removeNode(e){const t=e?g.parent.children.indexOf(e):g.currentNode?g.childIndex:-1;e&&e!==g.currentNode?g.childIndex>t&&(g.childIndex--,g.onNodeRemoved()):(g.currentNode=null,g.onNodeRemoved()),g.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){g.hoists.push(e);const t=ue("_hoisted_"+g.hoists.length,!1,e.loc,!0);return t.hoisted=e,t},cache:(e,t=!1)=>ge(++g.cached,e,t)};return g}function yt(e,t){const n=gt(e,t);vt(e,n),t.hoistStatic&&at(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e,s=o[0];if(1===o.length)if(pt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,n(R),n(L)),e.codegenNode=t}else e.codegenNode=s;else o.length>1&&(e.codegenNode=ce(t,n(I),void 0,e.children,`64 /* ${r[64]} */`,void 0,void 0,!0))}(e,n),e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.imports=[...n.imports],e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function vt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(y(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(V);break;case 5:t.ssr||t.helper(J);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];v(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,vt(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function St(e,t){const n=v(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(Pe))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 xt(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=>"_"+oe[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=>`${oe[e]}: _${oe[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[A,V,D,B].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _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} = `),Et(e,t),o())}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);const f=t.bindingMetadata?", $props, $setup, $data, $options":"";if(r(a?`function ssrRender(_ctx, _push, _parent, _attrs${f}) {`:`function render(_ctx, _cache${f}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${oe[e]}: _${oe[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(bt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(bt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?Et(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function bt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?F:H);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Ae(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function Tt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Nt(e,t,n),n&&t.deindent(),t.push("]")}function Nt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];v(c)?r(c):y(c)?Tt(c,t):Et(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Et(e,t){if(v(e))t.push(e);else if(S(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Et(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Ot(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(o(J)+"("),Et(e.content,t),n(")")}(e,t);break;case 12:Et(e.codegenNode,t);break;case 8:Ct(e,t);break;case 3: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(U)+"(");u&&n(`(${o(R)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(u?L:A)+"(",e),Nt(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(", "),Et(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=v(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),Nt(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];_t(o,t),n(": "),Et(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Tt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${oe[ne]}(`);n("(",e),y(s)?Nt(s,t):s&&Et(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),y(i)?Tt(i,t):Et(i,t)):c&&Et(c,t);(l||c)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!be(n.content);e&&i("("),Ot(n,t),e&&i(")")}else i("("),Et(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Et(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;Et(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}] = `),Et(e.value,t),e.isVNode&&(n(","),i(),n(o(X)+"(1),"),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ot(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ct(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];v(o)?t.push(o):Et(o,t)}}function _t(e,t){const{push:n}=t;if(8===e.type)n("["),Ct(e,t),n("]");else if(e.isStatic){n(be(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const kt=o("true,false,null,this");function It(e,o,r=!1,i=!1){if(!o.prefixIdentifiers||!e.content.trim())return e;const{bindingMetadata:c}=o,l=e=>`${g.call(c,e)?"$"+c[e]:"_ctx"}.${e}`,a=e.content,p=a.indexOf("(")>-1;if(be(a))return r||o.identifiers[a]||s(a)||kt(a)?o.identifiers[a]||p||(e.isConstant=!0):e.content=l(a),e;let f;const d=i?` ${a} `:`(${a})${r?"=>{}":""}`;try{f=t.parse(d,{plugins:[...o.expressionPlugins,...u]}).program}catch(t){return e}const h=[],m=Object.create(o.identifiers);n.walk(f,{enter(e,t){if("Identifier"===e.type){if(!(e=>h.some(t=>t.start===e.start))(e)){const n=function(e,t){if((!$t(t)||t.id!==e&&!t.params.includes(e))&&!wt(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!s(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!m[e.name]&&n?(Pt(e,t)&&(e.prefix=e.name+": "),e.name=l(e.name),h.push(e)):wt(e,t)||(n&&m[e.name]||p||(e.isConstant=!0),h.push(e))}}else $t(e)&&e.params.forEach(t=>n.walk(t,{enter(t,n){if(!("Identifier"!==t.type||wt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in m?m[n]++:m[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==f.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{m[e]--,0===m[e]&&delete m[e]})}});const y=[];let v;return h.sort((e,t)=>e.start-t.start),h.forEach((t,n)=>{const o=t.start-1,r=t.end-1,s=h[n-1],i=a.slice(s?s.end-1:0,o);(i.length||t.prefix)&&y.push(i+(t.prefix||""));const c=a.slice(o,r);y.push(ue(t.name,!1,{source:c,start:Oe(e.loc.start,c,o),end:Oe(e.loc.start,c,r)},t.isConstant)),n===h.length-1&&r<a.length&&y.push(a.slice(r))}),y.length?v=fe(y,e.loc):(v=e,v.isConstant=!p),v.identifiers=Object.keys(m),v}const $t=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Mt=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Pt=(e,t)=>Mt(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,wt=(e,t)=>Mt(t)&&t.key===e;const Rt=St(/^(if|else|else-if)$/,(e,t,n)=>Lt(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=Vt(t,i,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Vt(t,i+e.branches.length-1,n)}}}));function Lt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=ue("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=At(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&9===i.type){n.removeNode();const r=At(e,t);i.branches.push(r);const s=o&&o(i,r,!1);vt(r,n),s&&s(),n.currentNode=null}break}}}function At(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||_e(e,"for")?[e]:e.children}}function Vt(e,t,n){return e.condition?me(e.condition,Dt(e,t,n),de(n.helper(V),['""',"true"])):Dt(e,t,n)}function Dt(e,t,n){const{helper:o}=n,s=pe("key",ue(""+t,!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Le(e,s,n),e}return ce(n,o(I),ae([s]),i,`64 /* ${r[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==$||(e.isBlock=!0,o(R),o(L)),Le(e,s,n),e}}const Bt=St("for",(e,t,n)=>{const{helper:o}=n;return Ft(e,t,n,t=>{const s=de(o(G),[t.source]),i=ke(e,"key"),c=4===t.source.type&&t.source.isConstant,l=c?64:i?128:256;return t.codegenNode=ce(n,o(I),void 0,s,`${l} /* ${r[l]} */`,void 0,void 0,!0,!c,e.loc),()=>{let l;const a=we(e),{children:p}=t,u=1!==p.length||1!==p[0].type,f=Re(e)?e:a&&1===e.children.length&&Re(e.children[0])?e.children[0]:null,d=i?pe("key",6===i.type?ue(i.value.content,!0):i.exp):null;f?(l=f.codegenNode,a&&d&&Le(l,d,n)):u?l=ce(n,o(I),d?ae([d]):void 0,e.children,`64 /* ${r[64]} */`,void 0,void 0,!0):(l=p[0].codegenNode,l.isBlock=!c,l.isBlock&&(o(R),o(L))),s.arguments.push(he(Wt(t.parseResult),l,!0))}})});function Ft(e,t,n,o){if(!t.exp)return;const r=Gt(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const jt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ht=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ut=/^\(|\)$/g;function Gt(e,t){const n=e.loc,o=e.content,r=o.match(jt);if(!r)return;const[,s,i]=r,c={source:Kt(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(Ht);if(p){l=l.replace(Ht,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Kt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Kt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Kt(n,l,a)),c}function Kt(e,t,n){return ue(t,!1,Ee(e,n,t.length))}function Wt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(ue("_",!1)),o.push(t)),n&&(t||(e||o.push(ue("_",!1)),o.push(ue("__",!1))),o.push(n)),o}const Jt=ue("undefined",!1),zt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=_e(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Yt=(e,t,n)=>he(e,t,!1,!0,t.length?t[0].loc:n);function qt(e,t,n=Yt){t.helper(ne);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>pe("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=_e(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ye(e)&&(l=!0),s.push(pe(e||ue("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!we(r)||!(c=_e(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:h,loc:m}=r,{arg:g=ue("default",!0),exp:y}=c;let v;ye(g)?v=g?g.content:"default":l=!0;const S=n(y,h,m);let x,b,T;if(x=_e(r,"if"))l=!0,i.push(me(x.exp,Zt(g,S),Jt));else if(b=_e(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&we(t)&&_e(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=b.exp?me(b.exp,Zt(g,S),Jt):Zt(g,S)}}else if(T=_e(r,"for")){l=!0;const e=T.parseResult||Gt(T.exp);e&&i.push(de(t.helper(G),[e.source,he(Wt(e),Zt(g,S),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(pe(g,S))}}a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));const h=l?2:function e(t){for(let n=0;n<t.length;n++){const o=t[n];if(1===o.type&&(2===o.tagType||0===o.tagType&&e(o.children)))return!0}return!1}(e.children)?3:1;let m=ae(s.concat(pe("_",ue(""+h,!1))),r);return i.length&&(m=de(t.helper(W),[m,le(i)])),{slots:m,hasDynamicSlots:l}}function Zt(e,t){return ae([pe("name",e),pe("fn",t)])}const Xt=new WeakMap,Qt=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?en(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=x(s)&&s.callee===j||s===$||s===M||!r&&("svg"===n||"foreignObject"===n||ke(e,"key",!0));if(o.length>0){const n=tn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?le(o.map(e=>function(e,t){const n=[],o=Xt.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(Ae(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=ue("true",!1,r);n.push(ae(e.modifiers.map(e=>pe(e,t)),r))}return le(n,e.loc)}(e,t))):void 0}if(e.children.length>0){s===P&&(d=!0,f|=1024);if(r&&s!==$&&s!==P){const{slots:n,hasDynamicSlots:o}=qt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==$){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!ut(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=ce(t,s,i,c,l,a,u,!!d,!1,e.loc)}};function en(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?ke(e,"is"):_e(e,"is");if(r){const e=6===r.type?r.value&&ue(r.value.content,!0):r.exp;if(e)return de(t.helper(j),[e])}const s=Se(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):"setup"===t.bindingMetadata[o]?`$setup[${JSON.stringify(o)}]`:(t.helper(F),t.components.add(o),Ae(o,"component"))}function tn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let p=0,u=!1,f=!1,d=!1,m=!1,g=!1;const y=[],v=({key:e,value:t})=>{if(ye(e)){const n=e.content;if(!i&&(e=>h.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&ut(t)>0)return;"ref"===n?u=!0:"class"!==n||i?"style"!==n||i?"key"===n||y.includes(n)||y.push(n):d=!0:f=!0}else g=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(u=!0),"is"===t&&"component"===r)continue;c.push(pe(ue(t,!0,Ee(e,0,t.length)),ue(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:f}=p,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&"component"===r&&Ie(i,"is"))continue;if(h&&o)continue;if(!i&&(d||h)){g=!0,u&&(c.length&&(l.push(ae(nn(c),s)),c=[]),l.push(d?u:{type:14,loc:f,callee:t.helper(Y),arguments:[u]}));continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:r}=m(p,e,t);!o&&n.forEach(v),c.push(...n),r&&(a.push(p),S(r)&&Xt.set(p,r))}else a.push(p)}}let x=void 0;return l.length?(c.length&&l.push(ae(nn(c),s)),x=l.length>1?de(t.helper(z),l,s):l[0]):c.length&&(x=ae(nn(c),s)),g?p|=16:(f&&(p|=2),d&&(p|=4),y.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(u||a.length>0)||(p|=512),{props:x,directives:a,patchFlag:p,dynamicPropNames:y}}function nn(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"))&&on(i,r):(t.set(s,r),n.push(r))}return n}function on(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=le([e.value,t.value],e.loc)}const rn=(e,t)=>{if(Re(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(he([],n,!1,!1,o))),e.codegenNode=de(t.helper(K),i,o)}};function sn(e,t){let n='"default"',o=void 0;const r=ke(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=tn(e,t,s);o=n}return{slotName:n,slotProps:o}}const cn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,ln=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=ue("on"+(e.startsWith("vnode")?C(N(e)):C(e)),!0,i.loc)}else c=fe([`"on" + ${n.helperString(Z)}(`,i,")"]);else c=i,c.children.unshift(`"on" + ${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=Ne(l.content),t=!(e||cn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=fe([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[pe(c,l||ue("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},an=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?N(i.content):`${n.helperString(q)}(${i.content})`:(i.children.unshift(n.helperString(q)+"("),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[pe(i,ue("",!0,s))]}:{props:[pe(i,o)]}},pn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o=void 0,s=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Me(t)){s=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Me(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(s&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<n.length;e++){const o=n[e];if(Me(o)||8===o.type){const s=[];2===o.type&&" "===o.content||s.push(o),t.ssr||2===o.type||s.push(`1 /* ${r[1]} */`),n[e]={type:12,content:o,loc:o.loc,codegenNode:de(t.helper(D),s)}}}}},un=(e,t)=>{if(1===e.type&&_e(e,"once",!0))return t.helper(X),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},fn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return dn();if(!Ne(4===o.type?o.content:o.loc.source))return dn();const s=r||ue("modelValue",!0),i=r?ye(r)?"onUpdate:"+r.content:fe(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[pe(s,e.exp),pe(i,fe(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(be(e)?e:JSON.stringify(e))+": true").join(", "),n=r?ye(r)?r.content+"Modifiers":fe([r,' + "Modifiers"']):"modelModifiers";c.push(pe(n,ue(`{ ${t} }`,!1,e.loc,!0)))}return dn(c)};function dn(e=[]){return{props:e}}function hn(e){return[[un,Rt,Bt,rn,Qt,zt,pn],{on:ln,bind:an,model:fn}]}function mn(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(k(44)):o&&n(k(45));t.cacheHandlers&&n(k(46)),t.scopeId&&!o&&n(k(47));const r=v(e)?Fe(e,t):e,[s,i]=hn();return yt(r,m({},t,{prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:m({},i,t.directiveTransforms||{})})),xt(r,m({},t,{prefixIdentifiers:!1}))}const gn=()=>({props:[]}),yn=Symbol(""),vn=Symbol(""),Sn=Symbol(""),xn=Symbol(""),bn=Symbol(""),Tn=Symbol(""),Nn=Symbol(""),En=Symbol(""),On=Symbol(""),Cn=Symbol("");let _n;re({[yn]:"vModelRadio",[vn]:"vModelCheckbox",[Sn]:"vModelText",[xn]:"vModelSelect",[bn]:"vModelDynamic",[Tn]:"withModifiers",[Nn]:"withKeys",[En]:"vShow",[On]:"Transition",[Cn]:"TransitionGroup"});const kn=o("style,iframe,script,noscript",!0),In={isVoidTag:p,isNativeTag:e=>l(e)||a(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(_n||(_n=document.createElement("div"))).innerHTML=e,_n.textContent},isBuiltInComponent:e=>ve(e,"Transition")?On:ve(e,"TransitionGroup")?Cn: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}},$n=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:ue("style",!0,t.loc),exp:Mn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Mn=(e,t)=>{const n=function(e){const t={};return e.split(i).forEach(e=>{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e);return ue(JSON.stringify(n),!1,t,!0)};function Pn(e,t){return k(e,t)}const wn=o("passive,once,capture"),Rn=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ln=o("left,right"),An=o("onkeyup,onkeydown,onkeypress",!0),Vn=(e,t)=>ye(e)&&"onclick"===e.content.toLowerCase()?ue(t,!0):4!==e.type?fe(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Dn=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Bn=[$n],Fn={cloak:gn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[pe(ue("innerHTML",!0,r),o||ue("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[pe(ue("textContent",!0,r),o||ue("",!0))]}},model:(e,t,n)=>{const o=fn(e,t);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=Sn,i=!1;if("input"===r||s){const n=ke(t,"type");if(n){if(7===n.type)e=bn;else if(n.value)switch(n.value.content){case"radio":e=yn;break;case"checkbox":e=vn;break;case"file":i=!0}}else $e(t)&&(e=bn)}else"select"===r&&(e=xn);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>ln(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t)=>{const n=[],o=[],r=[];for(let s=0;s<t.length;s++){const i=t[s];wn(i)?r.push(i):Ln(i)?ye(e)?An(e.content)?n.push(i):o.push(i):(n.push(i),o.push(i)):Rn(i)?o.push(i):n.push(i)}return{keyModifiers:n,nonKeyModifiers:o,eventOptionModifiers:r}})(r,o);if(c.includes("right")&&(r=Vn(r,"onContextmenu")),c.includes("middle")&&(r=Vn(r,"onMouseup")),c.length&&(s=de(n.helper(Tn),[s,JSON.stringify(c)])),!i.length||ye(r)&&!An(r.content)||(s=de(n.helper(Nn),[s,JSON.stringify(i)])),l.length){const e=l.map(C).join("");r=ye(r)?ue(`${r.content}${e}`,!0):fe(["(",r,`) + "${e}"`])}return{props:[pe(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(En)})};return e.BASE_TRANSITION=w,e.CAMELIZE=q,e.CAPITALIZE=Z,e.CREATE_BLOCK=L,e.CREATE_COMMENT=V,e.CREATE_SLOTS=W,e.CREATE_STATIC=B,e.CREATE_TEXT=D,e.CREATE_VNODE=A,e.DOMDirectiveTransforms=Fn,e.DOMNodeTransforms=Bn,e.FRAGMENT=I,e.KEEP_ALIVE=P,e.MERGE_PROPS=z,e.OPEN_BLOCK=R,e.POP_SCOPE_ID=ee,e.PUSH_SCOPE_ID=Q,e.RENDER_LIST=G,e.RENDER_SLOT=K,e.RESOLVE_COMPONENT=F,e.RESOLVE_DIRECTIVE=H,e.RESOLVE_DYNAMIC_COMPONENT=j,e.SET_BLOCK_TRACKING=X,e.SUSPENSE=M,e.TELEPORT=$,e.TO_DISPLAY_STRING=J,e.TO_HANDLERS=Y,e.TRANSITION=On,e.TRANSITION_GROUP=Cn,e.V_MODEL_CHECKBOX=vn,e.V_MODEL_DYNAMIC=bn,e.V_MODEL_RADIO=yn,e.V_MODEL_SELECT=xn,e.V_MODEL_TEXT=Sn,e.V_ON_WITH_KEYS=Nn,e.V_ON_WITH_MODIFIERS=Tn,e.V_SHOW=En,e.WITH_CTX=ne,e.WITH_DIRECTIVES=U,e.WITH_SCOPE_ID=te,e.advancePositionWithClone=Oe,e.advancePositionWithMutation=Ce,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=mn,e.baseParse=Fe,e.buildProps=tn,e.buildSlots=qt,e.compile=function(e,t={}){return mn(e,m({},In,t,{nodeTransforms:[Dn,...Bn,...t.nodeTransforms||[]],directiveTransforms:m({},Fn,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=le,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:se}},e.createBlockStatement=function(e){return{type:21,body:e,loc:se}},e.createCacheExpression=ge,e.createCallExpression=de,e.createCompilerError=k,e.createCompoundExpression=fe,e.createConditionalExpression=me,e.createDOMCompilerError=Pn,e.createForLoopParams=Wt,e.createFunctionExpression=he,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:se}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:v(e)?ue(e,!1,t):e}},e.createObjectExpression=ae,e.createObjectProperty=pe,e.createReturnStatement=function(e){return{type:26,returns:e,loc:se}},e.createRoot=ie,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:se}},e.createSimpleExpression=ue,e.createStructuralDirectiveTransform=St,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:se}},e.createTransformContext=gt,e.createVNodeCall=ce,e.findDir=_e,e.findProp=ke,e.generate=xt,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=hn,e.getInnerRange=Ee,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&&be(t.content)&&!!n[t.content];case 8:return t.children.some(t=>x(t)&&e(t,n));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=oe,e.injectProp=Le,e.isBindKey=Ie,e.isBuiltInType=ve,e.isCoreComponent=Se,e.isMemberExpression=Ne,e.isSimpleIdentifier=be,e.isSlotOutlet=Re,e.isStaticExp=ye,e.isTemplateNode=we,e.isText=Me,e.isVSlot=Pe,e.locStub=se,e.noopDirectiveTransform=gn,e.parse=function(e,t={}){return Fe(e,m({},In,t))},e.parserOptions=In,e.processExpression=It,e.processFor=Ft,e.processIf=Lt,e.processSlotOutlet=sn,e.registerRuntimeHelpers=re,e.resolveComponentType=en,e.toValidAssetId=Ae,e.trackSlotScopes=zt,e.trackVForSlotScopes=(e,t)=>{let n;if(we(e)&&e.props.some(Pe)&&(n=_e(e,"for"))){const e=n.parseResult=Gt(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=yt,e.transformBind=an,e.transformElement=Qt,e.transformExpression=(e,t)=>{if(5===e.type)e.content=It(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=It(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=It(n,t))}}},e.transformModel=fn,e.transformOn=ln,e.transformStyle=$n,e.traverseNode=vt,e}({},parser,estreeWalker);
var VueCompilerDOM=function(e,t,n){"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},s=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const i=/;(?![^(]*\))/g,c=/:(.+)/;const l=o("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"),a=o("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"),p=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),u=["bigInt","optionalChaining","nullishCoalescingOperator"],f=()=>{},d=()=>!1,h=/^on[^a-z]/,m=Object.assign,g=Object.prototype.hasOwnProperty,y=Array.isArray,v=e=>"string"==typeof e,S=e=>"symbol"==typeof e,x=e=>null!==e&&"object"==typeof e,b=o("key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-(\w)/g,E=T(e=>e.replace(N,(e,t)=>t?t.toUpperCase():"")),O=/\B([A-Z])/g,C=T(e=>e.replace(O,"-$1").toLowerCase()),k=T(e=>e.charAt(0).toUpperCase()+e.slice(1));function _(e){throw e}function I(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const M=Symbol(""),$=Symbol(""),P=Symbol(""),w=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),U=Symbol(""),G=Symbol(""),K=Symbol(""),W=Symbol(""),J=Symbol(""),z=Symbol(""),Y=Symbol(""),q=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re={[M]:"Fragment",[$]:"Teleport",[P]:"Suspense",[w]:"KeepAlive",[R]:"BaseTransition",[V]:"openBlock",[L]:"createBlock",[A]:"createVNode",[D]:"createCommentVNode",[B]:"createTextVNode",[F]:"createStaticVNode",[j]:"resolveComponent",[H]:"resolveDynamicComponent",[U]:"resolveDirective",[G]:"withDirectives",[K]:"renderList",[W]:"renderSlot",[J]:"createSlots",[z]:"toDisplayString",[Y]:"mergeProps",[q]:"toHandlers",[Z]:"camelize",[X]:"capitalize",[Q]:"setBlockTracking",[ee]:"pushScopeId",[te]:"popScopeId",[ne]:"withScopeId",[oe]:"withCtx"};function se(e){Object.getOwnPropertySymbols(e).forEach(t=>{re[t]=e[t]})}const ie={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ce(e,t=ie){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function le(e,t,n,o,r,s,i,c=!1,l=!1,a=ie){return e&&(c?(e.helper(V),e.helper(L)):e.helper(A),i&&e.helper(G)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,loc:a}}function ae(e,t=ie){return{type:17,loc:t,elements:e}}function pe(e,t=ie){return{type:15,loc:t,properties:e}}function ue(e,t){return{type:16,loc:ie,key:v(e)?fe(e,!0):e,value:t}}function fe(e,t,n=ie,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function de(e,t=ie){return{type:8,loc:t,children:e}}function he(e,t=[],n=ie){return{type:14,loc:n,callee:e,arguments:t}}function me(e,t,n=!1,o=!1,r=ie){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ge(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ie}}function ye(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ie}}const ve=e=>4===e.type&&e.isStatic,Se=(e,t)=>e===t||e===C(t);function xe(e){return Se(e,"Teleport")?$:Se(e,"Suspense")?P:Se(e,"KeepAlive")?w:Se(e,"BaseTransition")?R:void 0}const be=/^\d|[^\$\w]/,Te=e=>!be.test(e),Ne=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,Ee=e=>!!e&&Ne.test(e.trim());function Oe(e,t,n){const o={source:e.source.substr(t,n),start:Ce(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ce(e.start,e.source,t+n)),o}function Ce(e,t,n=t.length){return ke(m({},e),t,n)}function ke(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function _e(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)&&(v(t)?r.name===t:t.test(r.name)))return r}}function Ie(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)&&Me(s.arg,t))return s}}function Me(e,t){return!(!e||!ve(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 we(e){return 7===e.type&&"slot"===e.name}function Re(e){return 1===e.type&&3===e.tagType}function Ve(e){return 1===e.type&&2===e.tagType}function Le(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||v(r))o=pe([t]);else if(14===r.type){const e=r.arguments[0];v(e)||15!==e.type?r.arguments.unshift(pe([t])):e.properties.unshift(t),o=r}else if(15===r.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=r.properties.some(e=>4===e.key.type&&e.key.content===n)}e||r.properties.unshift(t),o=r}else o=he(n.helper(Y),[pe([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Ae(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const De=/&(gt|lt|amp|apos|quot);/g,Be={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Fe={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:d,isPreTag:d,isCustomElement:d,decodeEntities:e=>e.replace(De,(e,t)=>Be[t]),onError:_,comments:!1};function je(e,t={}){const n=function(e,t){const n=m({},Fe);for(const e in t)n[e]=t[e]||Fe[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=tt(n);return ce(He(n,0,[]),nt(n,o))}function He(e,t,n){const o=ot(n),r=o?o.ns:0,s=[];for(;!lt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&rt(i,e.options.delimiters[0]))c=Xe(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=rt(i,"\x3c!--")?Ke(e):rt(i,"<!DOCTYPE")?We(e):rt(i,"<![CDATA[")&&0!==r?Ge(e,n):We(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){st(e,3);continue}if(/[a-z]/i.test(i[2])){Ye(e,1,o);continue}c=We(e)}else/[a-z]/i.test(i[1])?c=Je(e,n):"?"===i[1]&&(c=We(e));if(c||(c=Qe(e,t)),y(c))for(let e=0;e<c.length;e++)Ue(s,c[e]);else Ue(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let t=0;t<s.length;t++){const n=s[t];if(2===n.type)if(/[^\t\r\n\f ]/.test(n.content))n.content=n.content.replace(/[\t\r\n\f ]+/g," ");else{const e=s[t-1],o=s[t+1];!e||!o||3===e.type||3===o.type||1===e.type&&1===o.type&&/[\r\n]/.test(n.content)?(i=!0,s[t]=null):n.content=" "}else 3!==n.type||e.options.comments||(i=!0,s[t]=null)}return i?s.filter(Boolean):s}function Ue(e,t){if(2===t.type){const n=ot(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Ge(e,t){st(e,9);const n=He(e,3,t);return 0===e.source.length||st(e,3),n}function Ke(e){const t=tt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)st(e,s-r+1),r=s+1;st(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),st(e,e.source.length);return{type:3,content:n,loc:nt(e,t)}}function We(e){const t=tt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),st(e,e.source.length)):(o=e.source.slice(n,r),st(e,r+1)),{type:3,content:o,loc:nt(e,t)}}function Je(e,t){const n=e.inPre,o=e.inVPre,r=ot(t),s=Ye(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=He(e,l,t);if(t.pop(),s.children=a,at(e.source,s.tag))Ye(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&rt(e.loc.source,"\x3c!--")}return s.loc=nt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const ze=o("if,else,else-if,for,slot");function Ye(e,t,n){const o=tt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);st(e,r[0].length),it(e);const c=tt(e),l=e.source;let a=qe(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,m(e,c),e.source=l,a=qe(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=rt(e.source,"/>"),st(e,p?2:1));let u=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const e=a.some(e=>7===e.type&&"is"===e.name);f.isNativeTag&&!e?f.isNativeTag(s)||(u=1):(e||xe(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(u=1),"slot"===s?u=2:"template"===s&&a.some(e=>7===e.type&&ze(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:nt(e,o),codegenNode:void 0}}function qe(e,t){const n=[],o=new Set;for(;e.source.length>0&&!rt(e.source,">")&&!rt(e.source,"/>");){if(rt(e.source,"/")){st(e,1),it(e);continue}const r=Ze(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),it(e)}return n}function Ze(e,t){const n=tt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}st(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(it(e),st(e,1),it(e),r=function(e){const t=tt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){st(e,1);const t=e.source.indexOf(o);-1===t?n=et(e,e.source.length,4):(n=et(e,t,4),st(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=et(e,t[0].length,4)}return{content:n,isQuoted:r,loc:nt(e,t)}}(e));const s=nt(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o),i=t[1]||(rt(o,":")?"bind":rt(o,"@")?"on":"slot");let c;if(t[2]){const r="slot"===i,s=o.indexOf(t[2]),l=nt(e,ct(e,n,s),ct(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]||""),c={type:4,content:a,isStatic:p,isConstant:p,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ce(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:i,exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:c,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Xe(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=tt(e);st(e,n.length);const i=tt(e),c=tt(e),l=r-n.length,a=e.source.slice(0,l),p=et(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&ke(i,a,f);return ke(c,a,l-(p.length-u.length-f)),st(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:nt(e,i,c)},loc:nt(e,s)}}function Qe(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=tt(e);return{type:2,content:et(e,o,t),loc:nt(e,r)}}function et(e,t,n){const o=e.source.slice(0,t);return st(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function tt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function nt(e,t,n){return{start:t,end:n=n||tt(e),source:e.originalSource.slice(t.offset,n.offset)}}function ot(e){return e[e.length-1]}function rt(e,t){return e.startsWith(t)}function st(e,t){const{source:n}=e;ke(e,n,t),e.source=n.slice(t)}function it(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&st(e,t[0].length)}function ct(e,t,n){return Ce(t,e.originalSource.slice(t.offset,n),n)}function lt(e,t,n){const o=e.source;switch(t){case 0:if(rt(o,"</"))for(let e=n.length-1;e>=0;--e)if(at(o,n[e].tag))return!0;break;case 1:case 2:{const e=ot(n);if(e&&at(o,e.tag))return!0;break}case 3:if(rt(o,"]]>"))return!0}return!o}function at(e,t){return rt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function pt(e,t){!function e(t,n,o,r=!1){let s=!1,i=!1;const{children:c}=t;for(let t=0;t<c.length;t++){const l=c[t];if(1===l.type&&0===l.tagType){let e;if(!r&&(e=ft(l,o))>0){2===e&&(i=!0),l.codegenNode.patchFlag="-1",l.codegenNode=n.hoist(l.codegenNode),s=!0;continue}{const e=l.codegenNode;if(13===e.type){const t=gt(e);if(!(t&&512!==t&&1!==t||dt(l)||ht())){const t=mt(l);t&&(e.props=n.hoist(t))}}}}else if(12===l.type){const e=ft(l.content,o);e>0&&(2===e&&(i=!0),l.codegenNode=n.hoist(l.codegenNode),s=!0)}if(1===l.type)e(l,n,o);else if(11===l.type)e(l,n,o,1===l.children.length);else if(9===l.type)for(let t=0;t<l.branches.length;t++)e(l.branches[t],n,o,1===l.branches[t].children.length)}!i&&s&&n.transformHoist&&n.transformHoist(c,n,t)}(e,t,new Map,ut(e,e.children[0]))}function ut(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ve(t)}function ft(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return 0;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return 0;if(gt(o)||dt(e)||ht())return t.set(e,0),0;{let n=1;for(let o=0;o<e.children.length;o++){const r=ft(e.children[o],t);if(0===r)return t.set(e,0),0;2===r&&(n=2)}if(2!==n)for(let t=0;t<e.props.length;t++){const o=e.props[t];7===o.type&&"bind"===o.name&&o.exp&&(8===o.exp.type||o.exp.isRuntimeConstant)&&(n=2)}return o.isBlock&&(o.isBlock=!1),t.set(e,n),n}case 2:case 3:return 1;case 9:case 11:case 10:return 0;case 5:case 12:return ft(e.content,t);case 4:return e.isConstant?e.isRuntimeConstant?2:1:0;case 8:let r=1;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(v(o)||S(o))continue;const s=ft(o,t);if(0===s)return 0;2===s&&(r=2)}return r;default:return 0}}function dt(e){return!(!Ie(e,"key",!0)&&!Ie(e,"ref",!0))}function ht(e){return!1}function mt(e){const t=e.codegenNode;if(13===t.type)return t.props}function gt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function yt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:c=f,isCustomElement:l=f,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,ssrCssVars:d="",bindingMetadata:h={},onError:m=_}){const g={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:a,scopeId:p,ssr:u,ssrCssVars:d,bindingMetadata:h,onError:m,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,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=>(g.helpers.add(e),e),helperString:e=>"_"+re[g.helper(e)],replaceNode(e){g.parent.children[g.childIndex]=g.currentNode=e},removeNode(e){const t=e?g.parent.children.indexOf(e):g.currentNode?g.childIndex:-1;e&&e!==g.currentNode?g.childIndex>t&&(g.childIndex--,g.onNodeRemoved()):(g.currentNode=null,g.onNodeRemoved()),g.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){g.hoists.push(e);const t=fe("_hoisted_"+g.hoists.length,!1,e.loc,!0);return t.hoisted=e,t},cache:(e,t=!1)=>ye(++g.cached,e,t)};return g}function vt(e,t){const n=yt(e,t);St(e,n),t.hoistStatic&&pt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e,s=o[0];if(1===o.length)if(ut(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,n(V),n(L)),e.codegenNode=t}else e.codegenNode=s;else o.length>1&&(e.codegenNode=le(t,n(M),void 0,e.children,`64 /* ${r[64]} */`,void 0,void 0,!0))}(e,n),e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.imports=[...n.imports],e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached}function St(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(y(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(D);break;case 5:t.ssr||t.helper(z);break;case 9:for(let n=0;n<e.branches.length;n++)St(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];v(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,St(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function xt(e,t){const n=v(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(we))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 bt(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=>"_"+re[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=>`${re[e]}: _${re[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[A,D,B,F].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _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} = `),Ot(e,t),o())}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);const f=t.bindingMetadata?", $props, $setup, $data, $options":"";if(r(a?`function ssrRender(_ctx, _push, _parent, _attrs${f}) {`:`function render(_ctx, _cache${f}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${re[e]}: _${re[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Tt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Tt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?Ot(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function Tt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?j:U);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Ae(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function Nt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Et(e,t,n),n&&t.deindent(),t.push("]")}function Et(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];v(c)?r(c):y(c)?Nt(c,t):Ot(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Ot(e,t){if(v(e))t.push(e);else if(S(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Ot(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Ct(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(o(z)+"("),Ot(e.content,t),n(")")}(e,t);break;case 12:Ot(e.codegenNode,t);break;case 8:kt(e,t);break;case 3: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(G)+"(");u&&n(`(${o(V)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(u?L:A)+"(",e),Et(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(", "),Ot(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=v(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),Et(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 e=0;e<i.length;e++){const{key:o,value:r}=i[e];_t(o,t),n(": "),Ot(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Nt(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(`_${re[oe]}(`);n("(",e),y(s)?Et(s,t):s&&Ot(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),y(i)?Nt(i,t):Ot(i,t)):c&&Ot(c,t);(l||c)&&(r(),n("}"));a&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Te(n.content);e&&i("("),Ct(n,t),e&&i(")")}else i("("),Ot(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Ot(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;Ot(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}] = `),Ot(e.value,t),e.isVNode&&(n(","),i(),n(o(Q)+"(1),"),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ct(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function kt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];v(o)?t.push(o):Ot(o,t)}}function _t(e,t){const{push:n}=t;if(8===e.type)n("["),kt(e,t),n("]");else if(e.isStatic){n(Te(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const It=o("true,false,null,this");function Mt(e,o,r=!1,i=!1){if(!o.prefixIdentifiers||!e.content.trim())return e;const{bindingMetadata:c}=o,l=e=>`${g.call(c,e)?"$"+c[e]:"_ctx"}.${e}`,a=e.content,p=a.indexOf("(")>-1;if(Te(a))return r||o.identifiers[a]||s(a)||It(a)?o.identifiers[a]||p||(e.isConstant=!0):e.content=l(a),e;let f;const d=i?` ${a} `:`(${a})${r?"=>{}":""}`;try{f=t.parse(d,{plugins:[...o.expressionPlugins,...u]}).program}catch(t){return e}const h=[],m=Object.create(o.identifiers);n.walk(f,{enter(e,t){if("Identifier"===e.type){if(!(e=>h.some(t=>t.start===e.start))(e)){const n=function(e,t){if((!$t(t)||t.id!==e&&!t.params.includes(e))&&!Rt(e,t)&&("MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||t.property!==e||t.computed)&&"ArrayPattern"!==t.type&&!s(e.name)&&"require"!==e.name&&"arguments"!==e.name)return!0}(e,t);!m[e.name]&&n?(wt(e,t)&&(e.prefix=e.name+": "),e.name=l(e.name),h.push(e)):Rt(e,t)||(n&&m[e.name]||p||(e.isConstant=!0),h.push(e))}}else $t(e)&&e.params.forEach(t=>n.walk(t,{enter(t,n){if(!("Identifier"!==t.type||Rt(t,n)||n&&"AssignmentPattern"===n.type&&n.right===t)){const{name:n}=t;if(e.scopeIds&&e.scopeIds.has(n))return;n in m?m[n]++:m[n]=1,(e.scopeIds||(e.scopeIds=new Set)).add(n)}}}))},leave(e){e!==f.body[0].expression&&e.scopeIds&&e.scopeIds.forEach(e=>{m[e]--,0===m[e]&&delete m[e]})}});const y=[];let v;return h.sort((e,t)=>e.start-t.start),h.forEach((t,n)=>{const o=t.start-1,r=t.end-1,s=h[n-1],i=a.slice(s?s.end-1:0,o);(i.length||t.prefix)&&y.push(i+(t.prefix||""));const c=a.slice(o,r);y.push(fe(t.name,!1,{source:c,start:Ce(e.loc.start,c,o),end:Ce(e.loc.start,c,r)},t.isConstant)),n===h.length-1&&r<a.length&&y.push(a.slice(r))}),y.length?v=de(y,e.loc):(v=e,v.isConstant=!p),v.identifiers=Object.keys(m),v}const $t=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Pt=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,wt=(e,t)=>Pt(t)&&t.value===e&&"Identifier"===t.key.type&&t.key.name===e.name&&t.key.start===e.start,Rt=(e,t)=>Pt(t)&&t.key===e;const Vt=xt(/^(if|else|else-if)$/,(e,t,n)=>Lt(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=Dt(t,i,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Dt(t,i+e.branches.length-1,n)}}}));function Lt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=fe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=At(e,t),s={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(s),o)return o(s,r,!0)}else{const r=n.parent.children;let s=r.indexOf(e);for(;s-- >=-1;){const i=r[s];if(i&&9===i.type){n.removeNode();const r=At(e,t);i.branches.push(r);const s=o&&o(i,r,!1);St(r,n),s&&s(),n.currentNode=null}break}}}function At(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||_e(e,"for")?[e]:e.children,userKey:Ie(e,"key")}}function Dt(e,t,n){return e.condition?ge(e.condition,Bt(e,t,n),he(n.helper(D),['""',"true"])):Bt(e,t,n)}function Bt(e,t,n){const{helper:o}=n,s=ue("key",fe(""+t,!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Le(e,s,n),e}return le(n,o(M),pe([s]),i,`64 /* ${r[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==$||(e.isBlock=!0,o(V),o(L)),Le(e,s,n),e}}const Ft=xt("for",(e,t,n)=>{const{helper:o}=n;return jt(e,t,n,t=>{const s=he(o(K),[t.source]),i=Ie(e,"key"),c=4===t.source.type&&t.source.isConstant,l=c?64:i?128:256;return t.codegenNode=le(n,o(M),void 0,s,`${l} /* ${r[l]} */`,void 0,void 0,!0,!c,e.loc),()=>{let l;const a=Re(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,d=i?ue("key",6===i.type?fe(i.value.content,!0):i.exp):null;f?(l=f.codegenNode,a&&d&&Le(l,d,n)):u?l=le(n,o(M),d?pe([d]):void 0,e.children,`64 /* ${r[64]} */`,void 0,void 0,!0):(l=p[0].codegenNode,l.isBlock=!c,l.isBlock&&(o(V),o(L))),s.arguments.push(me(Jt(t.parseResult),l,!0))}})});function jt(e,t,n,o){if(!t.exp)return;const r=Kt(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:Re(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const Ht=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ut=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Gt=/^\(|\)$/g;function Kt(e,t){const n=e.loc,o=e.content,r=o.match(Ht);if(!r)return;const[,s,i]=r,c={source:Wt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Gt,"").trim();const a=s.indexOf(l),p=l.match(Ut);if(p){l=l.replace(Ut,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Wt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Wt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Wt(n,l,a)),c}function Wt(e,t,n){return fe(t,!1,Oe(e,n,t.length))}function Jt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(fe("_",!1)),o.push(t)),n&&(t||(e||o.push(fe("_",!1)),o.push(fe("__",!1))),o.push(n)),o}const zt=fe("undefined",!1),Yt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=_e(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},qt=(e,t,n)=>me(e,t,!1,!0,t.length?t[0].loc:n);function Zt(e,t,n=qt){t.helper(oe);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ue("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=_e(e,"slot",!0);if(a){const{arg:e,exp:t}=a;e&&!ve(e)&&(l=!0),s.push(ue(e||fe("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Re(r)||!(c=_e(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:h,loc:m}=r,{arg:g=fe("default",!0),exp:y}=c;let v;ve(g)?v=g?g.content:"default":l=!0;const S=n(y,h,m);let x,b,T;if(x=_e(r,"if"))l=!0,i.push(ge(x.exp,Xt(g,S),zt));else if(b=_e(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Re(t)&&_e(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=b.exp?ge(b.exp,Xt(g,S),zt):Xt(g,S)}}else if(T=_e(r,"for")){l=!0;const e=T.parseResult||Kt(T.exp);e&&i.push(he(t.helper(K),[e.source,me(Jt(e),Xt(g,S),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ue(g,S))}}a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));const h=l?2:function e(t){for(let n=0;n<t.length;n++){const o=t[n];if(1===o.type&&(2===o.tagType||0===o.tagType&&e(o.children)))return!0}return!1}(e.children)?3:1;let m=pe(s.concat(ue("_",fe(""+h,!1))),r);return i.length&&(m=he(t.helper(J),[m,ae(i)])),{slots:m,hasDynamicSlots:l}}function Xt(e,t){return pe([ue("name",e),ue("fn",t)])}const Qt=new WeakMap,en=(e,t)=>{if(1===e.type&&(0===e.tagType||1===e.tagType))return function(){const{tag:n,props:o}=e,r=1===e.tagType,s=r?tn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=x(s)&&s.callee===H||s===$||s===P||!r&&("svg"===n||"foreignObject"===n||Ie(e,"key",!0));if(o.length>0){const n=nn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ae(o.map(e=>function(e,t){const n=[],o=Qt.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(Ae(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=fe("true",!1,r);n.push(pe(e.modifiers.map(e=>ue(e,t)),r))}return ae(n,e.loc)}(e,t))):void 0}if(e.children.length>0){s===w&&(d=!0,f|=1024);if(r&&s!==$&&s!==w){const{slots:n,hasDynamicSlots:o}=Zt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==$){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!ft(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=le(t,s,i,c,l,a,u,!!d,!1,e.loc)}};function tn(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Ie(e,"is"):_e(e,"is");if(r){const e=6===r.type?r.value&&fe(r.value.content,!0):r.exp;if(e)return he(t.helper(H),[e])}const s=xe(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):"setup"===t.bindingMetadata[o]?`$setup[${JSON.stringify(o)}]`:(t.helper(j),t.components.add(o),Ae(o,"component"))}function nn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let p=0,u=!1,f=!1,d=!1,m=!1,g=!1,y=!1;const v=[],x=({key:e,value:t})=>{if(ve(e)){const n=e.content,o=(e=>h.test(e))(n);if(i||!o||"onclick"===n.toLowerCase()||"onUpdate:modelValue"===n||b(n)||(m=!0),o&&b(n)&&(y=!0),20===t.type||(4===t.type||8===t.type)&&ft(t)>0)return;"ref"===n?u=!0:"class"!==n||i?"style"!==n||i?"key"===n||v.includes(n)||v.push(n):d=!0:f=!0}else g=!0};for(let i=0;i<n.length;i++){const p=n[i];if(6===p.type){const{loc:e,name:t,value:n}=p;if("ref"===t&&(u=!0),"is"===t&&"component"===r)continue;c.push(ue(fe(t,!0,Oe(e,0,t.length)),fe(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:f}=p,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||d&&"component"===r&&Me(i,"is"))continue;if(h&&o)continue;if(!i&&(d||h)){g=!0,u&&(c.length&&(l.push(pe(on(c),s)),c=[]),l.push(d?u:{type:14,loc:f,callee:t.helper(q),arguments:[u]}));continue}const m=t.directiveTransforms[n];if(m){const{props:n,needRuntime:r}=m(p,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(p),S(r)&&Qt.set(p,r))}else a.push(p)}}let T=void 0;return l.length?(c.length&&l.push(pe(on(c),s)),T=l.length>1?he(t.helper(Y),l,s):l[0]):c.length&&(T=pe(on(c),s)),g?p|=16:(f&&(p|=2),d&&(p|=4),v.length&&(p|=8),m&&(p|=32)),0!==p&&32!==p||!(u||y||a.length>0)||(p|=512),{props:T,directives:a,patchFlag:p,dynamicPropNames:v}}function on(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&rn(i,r):(t.set(s,r),n.push(r))}return n}function rn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ae([e.value,t.value],e.loc)}const sn=(e,t)=>{if(Ve(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=cn(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(me([],n,!1,!1,o))),e.codegenNode=he(t.helper(W),i,o)}};function cn(e,t){let n='"default"',o=void 0;const r=Ie(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=nn(e,t,s);o=n}return{slotName:n,slotProps:o}}const ln=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,an=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){const e=i.content;c=fe("on"+(e.startsWith("vnode")?k(E(e)):k(e)),!0,i.loc)}else c=de([`"on" + ${n.helperString(X)}(`,i,")"]);else c=i,c.children.unshift(`"on" + ${n.helperString(X)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l;if(l){const e=Ee(l.content),t=!(e||ln.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=de([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ue(c,l||fe("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},pn=(e,t,n)=>{const{exp:o,modifiers:r,loc:s}=e,i=e.arg;return r.includes("camel")&&(4===i.type?i.content=i.isStatic?E(i.content):`${n.helperString(Z)}(${i.content})`:(i.children.unshift(n.helperString(Z)+"("),i.children.push(")"))),!o||4===o.type&&!o.content.trim()?{props:[ue(i,fe("",!0,s))]}:{props:[ue(i,o)]}},un=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o=void 0,s=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Pe(t)){s=!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(s&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<n.length;e++){const o=n[e];if(Pe(o)||8===o.type){const s=[];2===o.type&&" "===o.content||s.push(o),t.ssr||2===o.type||s.push(`1 /* ${r[1]} */`),n[e]={type:12,content:o,loc:o.loc,codegenNode:he(t.helper(B),s)}}}}},fn=(e,t)=>{if(1===e.type&&_e(e,"once",!0))return t.helper(Q),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},dn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return hn();if(!Ee(4===o.type?o.content:o.loc.source))return hn();const s=r||fe("modelValue",!0),i=r?ve(r)?"onUpdate:"+r.content:de(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ue(s,e.exp),ue(i,de(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Te(e)?e:JSON.stringify(e))+": true").join(", "),n=r?ve(r)?r.content+"Modifiers":de([r,' + "Modifiers"']):"modelModifiers";c.push(ue(n,fe(`{ ${t} }`,!1,e.loc,!0)))}return hn(c)};function hn(e=[]){return{props:e}}function mn(e){return[[fn,Vt,Ft,sn,en,Yt,un],{on:an,bind:pn,model:dn}]}function gn(e,t={}){const n=t.onError||_,o="module"===t.mode;!0===t.prefixIdentifiers?n(I(45)):o&&n(I(46));t.cacheHandlers&&n(I(47)),t.scopeId&&!o&&n(I(48));const r=v(e)?je(e,t):e,[s,i]=mn();return vt(r,m({},t,{prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:m({},i,t.directiveTransforms||{})})),bt(r,m({},t,{prefixIdentifiers:!1}))}const yn=()=>({props:[]}),vn=Symbol(""),Sn=Symbol(""),xn=Symbol(""),bn=Symbol(""),Tn=Symbol(""),Nn=Symbol(""),En=Symbol(""),On=Symbol(""),Cn=Symbol(""),kn=Symbol("");let _n;se({[vn]:"vModelRadio",[Sn]:"vModelCheckbox",[xn]:"vModelText",[bn]:"vModelSelect",[Tn]:"vModelDynamic",[Nn]:"withModifiers",[En]:"withKeys",[On]:"vShow",[Cn]:"Transition",[kn]:"TransitionGroup"});const In=o("style,iframe,script,noscript",!0),Mn={isVoidTag:p,isNativeTag:e=>l(e)||a(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(_n||(_n=document.createElement("div"))).innerHTML=e,_n.textContent},isBuiltInComponent:e=>Se(e,"Transition")?Cn:Se(e,"TransitionGroup")?kn: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(In(e))return 2}return 0}},$n=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:fe("style",!0,t.loc),exp:Pn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Pn=(e,t)=>{const n=function(e){const t={};return e.split(i).forEach(e=>{if(e){const n=e.split(c);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}(e);return fe(JSON.stringify(n),!1,t,!0)};function wn(e,t){return I(e,t)}const Rn=o("passive,once,capture"),Vn=o("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ln=o("left,right"),An=o("onkeyup,onkeydown,onkeypress",!0),Dn=(e,t)=>ve(e)&&"onclick"===e.content.toLowerCase()?fe(t,!0):4!==e.type?de(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Bn=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Fn=[$n],jn={cloak:yn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ue(fe("innerHTML",!0,r),o||fe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ue(fe("textContent",!0,r),o||fe("",!0))]}},model:(e,t,n)=>{const o=dn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t,s=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||s){let e=xn,i=!1;if("input"===r||s){const n=Ie(t,"type");if(n){if(7===n.type)e=Tn;else if(n.value)switch(n.value.content){case"radio":e=vn;break;case"checkbox":e=Sn;break;case"file":i=!0}}else $e(t)&&(e=Tn)}else"select"===r&&(e=bn);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)=>an(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)=>{const n=[],o=[],r=[];for(let s=0;s<t.length;s++){const i=t[s];Rn(i)?r.push(i):Ln(i)?ve(e)?An(e.content)?n.push(i):o.push(i):(n.push(i),o.push(i)):Vn(i)?o.push(i):n.push(i)}return{keyModifiers:n,nonKeyModifiers:o,eventOptionModifiers:r}})(r,o);if(c.includes("right")&&(r=Dn(r,"onContextmenu")),c.includes("middle")&&(r=Dn(r,"onMouseup")),c.length&&(s=he(n.helper(Nn),[s,JSON.stringify(c)])),!i.length||ve(r)&&!An(r.content)||(s=he(n.helper(En),[s,JSON.stringify(i)])),l.length){const e=l.map(k).join("");r=ve(r)?fe(`${r.content}${e}`,!0):de(["(",r,`) + "${e}"`])}return{props:[ue(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(On)})};return e.BASE_TRANSITION=R,e.CAMELIZE=Z,e.CAPITALIZE=X,e.CREATE_BLOCK=L,e.CREATE_COMMENT=D,e.CREATE_SLOTS=J,e.CREATE_STATIC=F,e.CREATE_TEXT=B,e.CREATE_VNODE=A,e.DOMDirectiveTransforms=jn,e.DOMNodeTransforms=Fn,e.FRAGMENT=M,e.KEEP_ALIVE=w,e.MERGE_PROPS=Y,e.OPEN_BLOCK=V,e.POP_SCOPE_ID=te,e.PUSH_SCOPE_ID=ee,e.RENDER_LIST=K,e.RENDER_SLOT=W,e.RESOLVE_COMPONENT=j,e.RESOLVE_DIRECTIVE=U,e.RESOLVE_DYNAMIC_COMPONENT=H,e.SET_BLOCK_TRACKING=Q,e.SUSPENSE=P,e.TELEPORT=$,e.TO_DISPLAY_STRING=z,e.TO_HANDLERS=q,e.TRANSITION=Cn,e.TRANSITION_GROUP=kn,e.V_MODEL_CHECKBOX=Sn,e.V_MODEL_DYNAMIC=Tn,e.V_MODEL_RADIO=vn,e.V_MODEL_SELECT=bn,e.V_MODEL_TEXT=xn,e.V_ON_WITH_KEYS=En,e.V_ON_WITH_MODIFIERS=Nn,e.V_SHOW=On,e.WITH_CTX=oe,e.WITH_DIRECTIVES=G,e.WITH_SCOPE_ID=ne,e.advancePositionWithClone=Ce,e.advancePositionWithMutation=ke,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=gn,e.baseParse=je,e.buildProps=nn,e.buildSlots=Zt,e.compile=function(e,t={}){return gn(e,m({},Mn,t,{nodeTransforms:[Bn,...Fn,...t.nodeTransforms||[]],directiveTransforms:m({},jn,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=ae,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ie}},e.createBlockStatement=function(e){return{type:21,body:e,loc:ie}},e.createCacheExpression=ye,e.createCallExpression=he,e.createCompilerError=I,e.createCompoundExpression=de,e.createConditionalExpression=ge,e.createDOMCompilerError=wn,e.createForLoopParams=Jt,e.createFunctionExpression=me,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ie}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:v(e)?fe(e,!1,t):e}},e.createObjectExpression=pe,e.createObjectProperty=ue,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ie}},e.createRoot=ce,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ie}},e.createSimpleExpression=fe,e.createStructuralDirectiveTransform=xt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ie}},e.createTransformContext=yt,e.createVNodeCall=le,e.findDir=_e,e.findProp=Ie,e.generate=bt,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=mn,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=>x(t)&&e(t,n));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=re,e.injectProp=Le,e.isBindKey=Me,e.isBuiltInType=Se,e.isCoreComponent=xe,e.isMemberExpression=Ee,e.isSimpleIdentifier=Te,e.isSlotOutlet=Ve,e.isStaticExp=ve,e.isTemplateNode=Re,e.isText=Pe,e.isVSlot=we,e.locStub=ie,e.noopDirectiveTransform=yn,e.parse=function(e,t={}){return je(e,m({},Mn,t))},e.parserOptions=Mn,e.processExpression=Mt,e.processFor=jt,e.processIf=Lt,e.processSlotOutlet=cn,e.registerRuntimeHelpers=se,e.resolveComponentType=tn,e.toValidAssetId=Ae,e.trackSlotScopes=Yt,e.trackVForSlotScopes=(e,t)=>{let n;if(Re(e)&&e.props.some(we)&&(n=_e(e,"for"))){const e=n.parseResult=Kt(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=vt,e.transformBind=pn,e.transformElement=en,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Mt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Mt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Mt(n,t))}}},e.transformModel=dn,e.transformOn=an,e.transformStyle=$n,e.traverseNode=St,e}({},parser,estreeWalker);
{
"name": "@vue/compiler-dom",
"version": "3.0.0-rc.5",
"version": "3.0.0-rc.6",
"description": "@vue/compiler-dom",

@@ -38,5 +38,5 @@ "main": "index.js",

"dependencies": {
"@vue/shared": "3.0.0-rc.5",
"@vue/compiler-core": "3.0.0-rc.5"
"@vue/shared": "3.0.0-rc.6",
"@vue/compiler-core": "3.0.0-rc.6"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc