Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/compiler-dom

Package Overview
Dependencies
Maintainers
1
Versions
237
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-beta.5 to 3.0.0-beta.6

2

dist/compiler-dom.esm-browser.prod.js

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

function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function o(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")}const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,p=/^on[^a-z]/,u=Array.isArray,a=e=>"string"==typeof e,f=e=>"symbol"==typeof e,d=e=>null!==e&&"object"==typeof e,h=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},g=/-(\w)/g,m=h(e=>e.replace(g,(e,t)=>t?t.toUpperCase():"")),y=/\B([A-Z])/g,v=h(e=>e.replace(y,"-$1").toLowerCase()),x=h(e=>e.charAt(0).toUpperCase()+e.slice(1));function b(e){throw e}function S(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const N=Symbol(""),k=Symbol(""),T=Symbol(""),w=Symbol(""),$=Symbol(""),C=Symbol(""),O=Symbol(""),I=Symbol(""),M=Symbol(""),_=Symbol(""),P=Symbol(""),E=Symbol(""),L=Symbol(""),B=Symbol(""),A=Symbol(""),V=Symbol(""),R=Symbol(""),F=Symbol(""),D=Symbol(""),j=Symbol(""),H=Symbol(""),G=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),q=Symbol(""),K=Symbol(""),W={[N]:"Fragment",[k]:"Teleport",[T]:"Suspense",[w]:"KeepAlive",[$]:"BaseTransition",[C]:"openBlock",[O]:"createBlock",[I]:"createVNode",[M]:"createCommentVNode",[_]:"createTextVNode",[P]:"createStaticVNode",[E]:"resolveComponent",[L]:"resolveDynamicComponent",[B]:"resolveDirective",[A]:"withDirectives",[V]:"renderList",[R]:"renderSlot",[F]:"createSlots",[D]:"toDisplayString",[j]:"mergeProps",[H]:"toHandlers",[G]:"camelize",[J]:"setBlockTracking",[U]:"pushScopeId",[z]:"popScopeId",[q]:"withScopeId",[K]:"withCtx"};function Y(e){Object.getOwnPropertySymbols(e).forEach(t=>{W[t]=e[t]})}const Z={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Q(e,t=Z){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function X(e,t,n,o,r,s,i,c=!1,l=!1,p=Z){return e&&(c?(e.helper(C),e.helper(O)):e.helper(I),i&&e.helper(A)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:p}}function ee(e,t=Z){return{type:17,loc:t,elements:e}}function te(e,t=Z){return{type:15,loc:t,properties:e}}function ne(e,t){return{type:16,loc:Z,key:a(e)?oe(e,!0):e,value:t}}function oe(e,t,n=Z,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function re(e,t){return{type:5,loc:t,content:a(e)?oe(e,!1,t):e}}function se(e,t=Z){return{type:8,loc:t,children:e}}function ie(e,t=[],n=Z){return{type:14,loc:n,callee:e,arguments:t}}function ce(e,t,n=!1,o=!1,r=Z){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function le(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Z}}function pe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Z}}function ue(e){return{type:21,body:e,loc:Z}}function ae(e){return{type:22,elements:e,loc:Z}}function fe(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Z}}function de(e,t){return{type:24,left:e,right:t,loc:Z}}function he(e){return{type:25,expressions:e,loc:Z}}function ge(e){return{type:26,returns:e,loc:Z}}const me=(e,t)=>e===t||e===v(t);function ye(e){return me(e,"Teleport")?k:me(e,"Suspense")?T:me(e,"KeepAlive")?w:me(e,"BaseTransition")?$:void 0}const ve=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),null),xe=(e,t)=>(Ce(!1,"Expression AST analysis can only be performed in non-browser builds."),null),be=/^\d|[^\$\w]/,Se=e=>!be.test(e),Ne=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ke=e=>Ne.test(e);function Te(e,t,n){const o={source:e.source.substr(t,n),start:we(e.start,e.source,t),end:e.end};return null!=n&&(o.end=we(e.start,e.source,t+n)),o}function we(e,t,n=t.length){return $e({...e},t,n)}function $e(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function Ce(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Oe(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(a(t)?r.name===t:t.test(r.name)))return r}}function 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&&Me(s.arg,t))return s}}function Me(e,t){return!(!e||4!==e.type||!e.isStatic||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 Ee(e){return 7===e.type&&"slot"===e.name}function Le(e){return 1===e.type&&3===e.tagType}function Be(e){return 1===e.type&&2===e.tagType}function Ae(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||a(r))o=te([t]);else if(14===r.type){const e=r.arguments[0];a(e)||15!==e.type?r.arguments.unshift(te([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=ie(n.helper(j),[te([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Ve(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Re(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(Re(o.arg,t)||Re(o.exp,t)))return!0}return e.children.some(e=>Re(e,t));case 11:return!!Re(e.source,t)||e.children.some(e=>Re(e,t));case 9:return e.branches.some(e=>Re(e,t));case 10:return!!Re(e.condition,t)||e.children.some(e=>Re(e,t));case 4:return!e.isStatic&&Se(e.content)&&!!t[e.content];case 8:return e.children.some(e=>d(e)&&Re(e,t));case 5:case 12:return Re(e.content,t);case 2:case 3:default:return!1}}const Fe=/&(gt|lt|amp|apos|quot);/g,De={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},je={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(Fe,(e,t)=>De[t]),onError:b};function He(e,t={}){const n=function(e,t){return{options:{...je,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=nt(n);return Q(Ge(n,0,[]),ot(n,o))}function Ge(e,t,n){const o=rt(n),r=o?o.ns:0,s=[];for(;!pt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&st(i,e.options.delimiters[0]))c=Xe(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=st(i,"\x3c!--")?ze(e):st(i,"<!DOCTYPE")?qe(e):st(i,"<![CDATA[")&&0!==r?Ue(e,n):qe(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){it(e,3);continue}if(/[a-z]/i.test(i[2])){Ye(e,1,o);continue}c=qe(e)}else/[a-z]/i.test(i[1])?c=Ke(e,n):"?"===i[1]&&(c=qe(e));if(c||(c=et(e,t)),u(c))for(let e=0;e<c.length;e++)Je(s,c[e]);else Je(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Je(e,t){if(3!==t.type){if(2===t.type){const n=rt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Ue(e,t){it(e,9);const n=Ge(e,3,t);return 0===e.source.length||it(e,3),n}function ze(e){const t=nt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)it(e,s-r+1),r=s+1;it(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),it(e,e.source.length);return{type:3,content:n,loc:ot(e,t)}}function qe(e){const t=nt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),it(e,e.source.length)):(o=e.source.slice(n,r),it(e,r+1)),{type:3,content:o,loc:ot(e,t)}}function Ke(e,t){const n=e.inPre,o=e.inVPre,r=rt(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.tag,s.ns,r),p=Ge(e,l,t);if(t.pop(),s.children=p,ut(e.source,s.tag))Ye(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=p[0];e&&st(e.loc.source,"\x3c!--")}return s.loc=ot(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const We=e("if,else,else-if,for,slot");function Ye(e,t,n){const o=nt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);it(e,r[0].length),ct(e);const c=nt(e),l=e.source;let p=Ze(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,p=Ze(e,t).filter(e=>"v-pre"!==e.name));let u=!1;0===e.source.length||(u=st(e.source,"/>"),it(e,u?2:1));let a=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)||(a=1):(e||ye(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(a=1),"slot"===s?a=2:"template"===s&&p.some(e=>7===e.type&&We(e.name))&&(a=3)}return{type:1,ns:i,tag:s,tagType:a,props:p,isSelfClosing:u,children:[],loc:ot(e,o),codegenNode:void 0}}function Ze(e,t){const n=[],o=new Set;for(;e.source.length>0&&!st(e.source,">")&&!st(e.source,"/>");){if(st(e.source,"/")){it(e,1),ct(e);continue}const r=Qe(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),ct(e)}return n}function Qe(e,t){const n=nt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}it(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(ct(e),it(e,1),ct(e),r=function(e){const t=nt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){it(e,1);const t=e.source.indexOf(o);-1===t?n=tt(e,e.source.length,4):(n=tt(e,t,4),it(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=tt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ot(e,t)}}(e));const s=ot(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=ot(e,lt(e,n,r),lt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=we(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(st(o,":")?"bind":st(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Xe(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=nt(e);it(e,n.length);const i=nt(e),c=nt(e),l=r-n.length,p=e.source.slice(0,l),u=tt(e,l,t),a=u.trim(),f=u.indexOf(a);return f>0&&$e(i,p,f),$e(c,p,l-(u.length-a.length-f)),it(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:a,loc:ot(e,i,c)},loc:ot(e,s)}}function et(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=nt(e);return{type:2,content:tt(e,o,t),loc:ot(e,r)}}function tt(e,t,n){const o=e.source.slice(0,t);return it(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function nt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ot(e,t,n){return{start:t,end:n=n||nt(e),source:e.originalSource.slice(t.offset,n.offset)}}function rt(e){return e[e.length-1]}function st(e,t){return e.startsWith(t)}function it(e,t){const{source:n}=e;$e(e,n,t),e.source=n.slice(t)}function ct(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&it(e,t[0].length)}function lt(e,t,n){return we(t,e.originalSource.slice(t.offset,n),n)}function pt(e,t,n){const o=e.source;switch(t){case 0:if(st(o,"</"))for(let e=n.length-1;e>=0;--e)if(ut(o,n[e].tag))return!0;break;case 1:case 2:{const e=rt(n);if(e&&ut(o,e.tag))return!0;break}case 3:if(st(o,"]]>"))return!0}return!o}function ut(e,t){return st(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function at(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&dt(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=yt(e);if(!(t&&512!==t&&1!==t||ht(i)||gt())){const t=mt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&dt(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,ft(e,e.children[0]))}function ft(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Be(t)}function dt(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(yt(o)||ht(e)||gt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!dt(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return dt(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>a(e)||f(e)||dt(e,t));default:return!1}}function ht(e){return!(!Ie(e,"key",!0)&&!Ie(e,"ref",!0))}function gt(e){return!1}function mt(e){const t=e.codegenNode;if(13===t.type)return t.props}function yt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function vt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:p=[],scopeId:u=null,ssr:a=!1,onError:f=b}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:p,scopeId:u,ssr:a,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${W[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),oe(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>pe(++d.cached,e,t)};return d}function xt(e,n){const o=vt(e,n);bt(e,o),n.hoistStatic&&at(e,o),n.ssr||function(e,n){const{helper:o}=n,{children:r}=e,s=r[0];if(1===r.length)if(ft(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(C),o(O)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=X(n,o(N),void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function bt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(u(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(M);break;case 5:t.ssr||t.helper(D);break;case 9:for(let n=0;n<e.branches.length;n++)bt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];a(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,bt(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function St(e,t){const n=a(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Ee))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 Nt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const u={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${W[e]}`,push(e,t){u.code+=e},indent(){a(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:a(--u.indentLevel)},newline(){a(u.indentLevel)}};function a(e){u.push("\n"+" ".repeat(e))}return u}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,u=e.helpers.length>0,a=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${W[e]}: _${W[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,M,_,P].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),$t(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(p?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),a&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map(e=>`${W[e]}: _${W[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(kt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(kt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){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?$t(e.codegenNode,n):r("null"),a&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function kt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?E:B);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Ve(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(),wt(e,t,n),n&&t.deindent(),t.push("]")}function wt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];a(c)?r(c):u(c)?Tt(c,t):$t(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function $t(e,t){if(a(e))t.push(e);else if(f(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:$t(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Ct(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(D)}(`),$t(e.content,t),n(")")}(e,t);break;case 12:$t(e.codegenNode,t);break;case 8:Ot(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:p,isBlock:u,isForBlock:a}=e;p&&n(o(A)+"(");u&&n(`(${o(C)}(${a?"true":""}), `);n(o(u?O:I)+"(",e),wt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),u&&n(")");p&&(n(", "),$t(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=a(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),wt(e.arguments,t),t.push(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let e=0;e<i.length;e++){const{key:o,value:r}=i[e];It(o,t),n(": "),$t(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:p}=e;p&&n(`_${W[K]}(`);n("(",e),u(s)?wt(s,t):s&&$t(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),u(i)?Tt(i,t):$t(i,t)):c&&$t(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=!Se(n.content);e&&i("("),Ct(n,t),e&&i(")")}else i("("),$t(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),$t(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;$t(r,t),u||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(J)}(-1),`),i());n(`_cache[${e.index}] = `),$t(e.value,t),e.isVNode&&(n(","),i(),n(`${o(J)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function Ct(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ot(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):$t(o,t)}}function It(e,t){const{push:n}=t;if(8===e.type)n("["),Ot(e,t),n("]");else if(e.isStatic){n(Se(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Mt=e("true,false,null,this"),_t=(e,t)=>{if(5===e.type)e.content=Pt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Pt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Pt(n,t))}}};function Pt(e,t,o=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(Se(s))return o||t.identifiers[s]||n(s)||Mt(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;try{c=ve().program}catch(t){return e}const l=[],p=Object.create(t.identifiers);xe();const u=[];let a;return l.sort((e,t)=>e.start-t.start),l.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=l[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const p=s.slice(o,r);u.push(oe(t.name,!1,{source:p,start:we(e.loc.start,p,o),end:we(e.loc.start,p,r)},t.isConstant)),n===l.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?a=se(u,e.loc):(a=e,a.isConstant=!i),a.identifiers=Object.keys(p),a}const Et=St(/^(if|else|else-if)$/,(e,t,n)=>Lt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=At(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=At(t,e.branches.length-1,n)}}));function Lt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=oe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Bt(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=Bt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);bt(r,n),s&&s(),n.currentNode=null}break}}}function Bt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function At(e,t,n){return e.condition?le(e.condition,Vt(e,t,n),ie(n.helper(M),['""',"true"])):Vt(e,t,n)}function Vt(e,n,o){const{helper:r}=o,s=ne("key",oe(n+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Ae(e,s,o),e}return X(o,r(N),te([s]),i,`64 /* ${t[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==k||(e.isBlock=!0,r(C),r(O)),Ae(e,s,o),e}}const Rt=St("for",(e,n,o)=>{const{helper:r}=o;return Ft(e,n,o,n=>{const s=ie(r(V),[n.source]),i=Ie(e,"key"),c=i?128:256;return n.codegenNode=X(o,r(N),void 0,s,`${c} /* ${t[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Le(e),{children:p}=n,u=p.length>1||1!==p[0].type,a=Be(e)?e:l&&1===e.children.length&&Be(e.children[0])?e.children[0]:null,f=i?ne("key",6===i.type?oe(i.value.content,!0):i.exp):null;a?(c=a.codegenNode,l&&f&&Ae(c,f,o)):u?c=X(o,r(N),f?te([f]):void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0):(c=p[0].codegenNode,c.isBlock=!0,r(C),r(O)),s.arguments.push(ce(Ut(n.parseResult),c,!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:p}=r,u={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(u),s.vFor++;const a=o&&o(u);return()=>{s.vFor--,a&&a()}}const Dt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,jt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ht=/^\(|\)$/g;function Gt(e,t){const n=e.loc,o=e.content,r=o.match(Dt);if(!r)return;const[,s,i]=r,c={source:Jt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Ht,"").trim();const p=s.indexOf(l),u=l.match(jt);if(u){l=l.replace(jt,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=Jt(n,e,t)),u[2]){const r=u[2].trim();r&&(c.index=Jt(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=Jt(n,l,p)),c}function Jt(e,t,n){return oe(t,!1,Te(e,n,t.length))}function Ut({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(oe("_",!1)),o.push(t)),n&&(t||(e||o.push(oe("_",!1)),o.push(oe("__",!1))),o.push(n)),o}const zt=oe("undefined",!1),qt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Oe(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Kt=(e,t)=>{let n;if(Le(e)&&e.props.some(Ee)&&(n=Oe(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)}}}},Wt=(e,t,n)=>ce(e,t,!1,!0,t.length?t[0].loc:n);function Yt(e,t,n=Wt){t.helper(K);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ne("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Oe(e,"slot",!0);if(p){const{arg:e,exp:t}=p;s.push(ne(e||oe("default",!0),n(t,o,r)))}let u=!1,a=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Le(r)||!(c=Oe(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;u=!0;const{children:g,loc:m}=r,{arg:y=oe("default",!0),exp:v}=c;let x;4===(h=y).type&&h.isStatic?x=y?y.content:"default":l=!0;const b=n(v,g,m);let S,N,k;if(S=Oe(r,"if"))l=!0,i.push(le(S.exp,Zt(y,b),zt));else if(N=Oe(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Le(t)&&Oe(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?le(N.exp,Zt(y,b),zt):Zt(y,b)}}else if(k=Oe(r,"for")){l=!0;const e=k.parseResult||Gt(k.exp);e&&i.push(ie(t.helper(V),[e.source,ce(Ut(e),Zt(y,b),!0)]))}else{if(x){if(d.has(x))continue;d.add(x),"default"===x&&(a=!0)}s.push(ne(y,b))}}var h;p||(u?f.length&&(a||s.push(c(void 0,f))):s.push(c(void 0,o)));let g=te(s.concat(ne("_",oe("1",!1))),r);return i.length&&(g=ie(t.helper(F),[g,ee(i)])),{slots:g,hasDynamicSlots:l}}function Zt(e,t){return te([ne("name",e),ne("fn",t)])}const Qt=new WeakMap,Xt=(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,p,u,a,f=0,h=d(s)&&s.callee===L||!r&&("svg"===n||"foreignObject"===n||Ie(e,"key",!0));if(o.length>0){const n=tn(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;a=o&&o.length?ee(o.map(e=>function(e,t){const n=[],o=Qt.get(e);o?n.push(t.helperString(o)):(t.helper(B),t.directives.add(e.name),n.push(Ve(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=oe("true",!1,r);n.push(te(e.modifiers.map(e=>ne(e,t)),r))}return ee(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===w&&(h=!0,f|=1024),r&&s!==k&&s!==w){const{slots:n,hasDynamicSlots:o}=Yt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==k){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!dt(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),u&&u.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+"]"}(u))),e.codegenNode=X(t,s,i,c,l,p,a,!!h,!1,e.loc)}};function en(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Ie(e,"is"):Oe(e,"is");if(r){const e=6===r.type?r.value&&oe(r.value.content,!0):r.exp;if(e)return ie(t.helper(L),[e])}const s=ye(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(E),t.components.add(o),Ve(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=[],u=[];let a=0,d=!1,h=!1,g=!1,m=!1,y=!1;const v=[],x=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>p.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&dt(t))return;"ref"===n?d=!0:"class"!==n||i?"style"!==n||i?"key"===n||v.includes(n)||v.push(n):g=!0:h=!0}else y=!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&&(d=!0),"is"===t&&"component"===r)continue;c.push(ne(oe(t,!0,Te(e,0,t.length)),oe(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:a,loc:d}=p,h="bind"===n,g="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Me(i,"is"))continue;if(g&&o)continue;if(!i&&(h||g)){y=!0,a&&(c.length&&(l.push(te(nn(c),s)),c=[]),l.push(h?a:{type:14,loc:d,callee:t.helper(H),arguments:[a]}));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&&(u.push(p),f(r)&&Qt.set(p,r))}else u.push(p)}}let b=void 0;return l.length?(c.length&&l.push(te(nn(c),s)),b=l.length>1?ie(t.helper(j),l,s):l[0]):c.length&&(b=te(nn(c),s)),y?a|=16:(h&&(a|=2),g&&(a|=4),v.length&&(a|=8),m&&(a|=32)),0!==a&&32!==a||!(d||u.length>0)||(a|=512),{props:b,directives:u,patchFlag:a,dynamicPropNames:v}}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=ee([e.value,t.value],e.loc)}const rn=(e,t)=>{if(Be(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(ce([],n,!1,!1,o))),e.codegenNode=ie(t.helper(R),i,o)}};function sn(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}=tn(e,t,s);o=n}return{slotName:n,slotProps:o}}const cn=/^([\w$_]+|\([^)]*?\))\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=oe(`on${e.startsWith("vnode")?x(m(e)):x(e)}`,!0,i.loc)}else c=se(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=!l;if(l){const e=ke(l.content),t=!(e||cn.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=se([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[ne(c,l||oe("() => {}",!1,r))]};return o&&(u=o(u)),p&&(u.props[0].value=n.cache(u.props[0].value)),u},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?m(i.content):`${n.helperString(G)}(${i.content})`:(i.children.unshift(`${n.helperString(G)}(`),i.children.push(")"))),{props:[ne(i,o||oe("",!0,s))]}},un=(e,n)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Pe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Pe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Pe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),n.ssr||2===r.type||s.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:ie(n.helper(_),s)}}}}},an=(e,t)=>{if(1===e.type&&Oe(e,"once",!0))return t.helper(J),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},fn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return dn();if(!ke(4===o.type?o.content:o.loc.source))return dn();const s=r||oe("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:se(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ne(s,e.exp),ne(i,se(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Se(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:se([r,' + "Modifiers"']):"modelModifiers";c.push(ne(n,oe(`{ ${t} }`,!1,e.loc,!0)))}return dn(c)};function dn(e=[]){return{props:e}}function hn(e){return[[an,Et,Rt,rn,Xt,qt,un],{on:ln,bind:pn,model:fn}]}function gn(e,t={}){const n=t.onError||b,o="module"===t.mode;!0===t.prefixIdentifiers?n(S(43)):o&&n(S(44));t.cacheHandlers&&n(S(45)),t.scopeId&&!o&&n(S(46));const r=a(e)?He(e,t):e,[s,i]=hn();return xt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),Nt(r,{...t,prefixIdentifiers:!1})}const mn=()=>({props:[]}),yn=Symbol(""),vn=Symbol(""),xn=Symbol(""),bn=Symbol(""),Sn=Symbol(""),Nn=Symbol(""),kn=Symbol(""),Tn=Symbol(""),wn=Symbol(""),$n=Symbol("");let Cn;Y({[yn]:"vModelRadio",[vn]:"vModelCheckbox",[xn]:"vModelText",[bn]:"vModelSelect",[Sn]:"vModelDynamic",[Nn]:"withModifiers",[kn]:"withKeys",[Tn]:"vShow",[wn]:"Transition",[$n]:"TransitionGroup"});const On=e("style,iframe,script,noscript",!0),In={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(Cn||(Cn=document.createElement("div"))).innerHTML=e,Cn.textContent},isBuiltInComponent:e=>me(e,"Transition")?wn:me(e,"TransitionGroup")?$n:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(On(e))return 2}return 0}},Mn=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:oe("style",!0,t.loc),exp:En(t.value.content,t.loc),modifiers:[],loc:t.loc})})},_n=/;(?![^(]*\))/g,Pn=/:(.+)/;function En(e,t){const n={};return e.split(_n).forEach(e=>{if(e){const t=e.split(Pn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),oe(JSON.stringify(n),!1,t,!0)}function Ln(e,t){return S(e,t)}const Bn=e("passive,once,capture"),An=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Vn=e("onkeyup,onkeydown,onkeypress",!0),Rn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?oe(t,!0):4!==e.type?se(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Fn=[Mn],Dn={cloak:mn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("innerHTML",!0,r),o||oe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("textContent",!0,r),o||oe("",!0))]}},model:(e,t,n)=>{const o=fn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=xn,s=!1;if("input"===r){const n=Ie(t,"type");if(n){if(7===n.type)e=Sn;else if(n.value)switch(n.value.content){case"radio":e=yn;break;case"checkbox":e=vn;break;case"file":s=!0}}else _e(t)&&(e=Sn)}else"select"===r&&(e=bn);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];Bn(s)?o.push(s):An(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Rn(r,"onContextmenu")),c.includes("middle")&&(r=Rn(r,"onMouseup")),c.length&&(s=ie(n.helper(Nn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Vn(r.content)||(s=ie(n.helper(kn),[s,JSON.stringify(i)])),l.length&&(s=te([ne("handler",s),ne("options",te(l.map(e=>ne(e,oe("true",!1)))))])),{props:[ne(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Tn)})};function jn(e,t={}){return gn(e,{...In,...t,nodeTransforms:[...Fn,...t.nodeTransforms||[]],directiveTransforms:{...Dn,...t.directiveTransforms||{}},transformHoist:null})}function Hn(e,t={}){return He(e,{...In,...t})}export{$ as BASE_TRANSITION,G as CAMELIZE,O as CREATE_BLOCK,M as CREATE_COMMENT,F as CREATE_SLOTS,P as CREATE_STATIC,_ as CREATE_TEXT,I as CREATE_VNODE,Dn as DOMDirectiveTransforms,Fn as DOMNodeTransforms,N as FRAGMENT,w as KEEP_ALIVE,j as MERGE_PROPS,C as OPEN_BLOCK,z as POP_SCOPE_ID,U as PUSH_SCOPE_ID,V as RENDER_LIST,R as RENDER_SLOT,E as RESOLVE_COMPONENT,B as RESOLVE_DIRECTIVE,L as RESOLVE_DYNAMIC_COMPONENT,J as SET_BLOCK_TRACKING,T as SUSPENSE,k as TELEPORT,D as TO_DISPLAY_STRING,H as TO_HANDLERS,wn as TRANSITION,$n as TRANSITION_GROUP,vn as V_MODEL_CHECKBOX,Sn as V_MODEL_DYNAMIC,yn as V_MODEL_RADIO,bn as V_MODEL_SELECT,xn as V_MODEL_TEXT,kn as V_ON_WITH_KEYS,Nn as V_ON_WITH_MODIFIERS,Tn as V_SHOW,K as WITH_CTX,A as WITH_DIRECTIVES,q as WITH_SCOPE_ID,we as advancePositionWithClone,$e as advancePositionWithMutation,Ce as assert,gn as baseCompile,He as baseParse,tn as buildProps,Yt as buildSlots,jn as compile,ee as createArrayExpression,de as createAssignmentExpression,ue as createBlockStatement,pe as createCacheExpression,ie as createCallExpression,S as createCompilerError,se as createCompoundExpression,le as createConditionalExpression,Ln as createDOMCompilerError,Ut as createForLoopParams,ce as createFunctionExpression,fe as createIfStatement,re as createInterpolation,te as createObjectExpression,ne as createObjectProperty,ge as createReturnStatement,Q as createRoot,he as createSequenceExpression,oe as createSimpleExpression,St as createStructuralDirectiveTransform,ae as createTemplateLiteral,vt as createTransformContext,X as createVNodeCall,Oe as findDir,Ie as findProp,Nt as generate,o as generateCodeFrame,hn as getBaseTransformPreset,Te as getInnerRange,_e as hasDynamicKeyVBind,Re as hasScopeRef,W as helperNameMap,Ae as injectProp,Me as isBindKey,me as isBuiltInType,ye as isCoreComponent,ke as isMemberExpression,Se as isSimpleIdentifier,Be as isSlotOutlet,Le as isTemplateNode,Pe as isText,Ee as isVSlot,Z as locStub,mn as noopDirectiveTransform,Hn as parse,ve as parseJS,In as parserOptions,Pt as processExpression,Ft as processFor,Lt as processIf,sn as processSlotOutlet,Y as registerRuntimeHelpers,en as resolveComponentType,Ve as toValidAssetId,qt as trackSlotScopes,Kt as trackVForSlotScopes,xt as transform,pn as transformBind,Xt as transformElement,_t as transformExpression,fn as transformModel,ln as transformOn,Mn as transformStyle,bt as traverseNode,xe as walkJS};
function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");function o(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")}const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),s=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,p=/^on[^a-z]/,u=Array.isArray,a=e=>"string"==typeof e,f=e=>"symbol"==typeof e,d=e=>null!==e&&"object"==typeof e,h=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},g=/-(\w)/g,m=h(e=>e.replace(g,(e,t)=>t?t.toUpperCase():"")),y=/\B([A-Z])/g,v=h(e=>e.replace(y,"-$1").toLowerCase()),x=h(e=>e.charAt(0).toUpperCase()+e.slice(1));function b(e){throw e}function S(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const N=Symbol(""),k=Symbol(""),T=Symbol(""),w=Symbol(""),$=Symbol(""),_=Symbol(""),C=Symbol(""),O=Symbol(""),I=Symbol(""),M=Symbol(""),P=Symbol(""),E=Symbol(""),L=Symbol(""),B=Symbol(""),A=Symbol(""),R=Symbol(""),V=Symbol(""),F=Symbol(""),D=Symbol(""),j=Symbol(""),U=Symbol(""),H=Symbol(""),G=Symbol(""),J=Symbol(""),z=Symbol(""),q=Symbol(""),K=Symbol(""),W={[N]:"Fragment",[k]:"Teleport",[T]:"Suspense",[w]:"KeepAlive",[$]:"BaseTransition",[_]:"openBlock",[C]:"createBlock",[O]:"createVNode",[I]:"createCommentVNode",[M]:"createTextVNode",[P]:"createStaticVNode",[E]:"resolveComponent",[L]:"resolveDynamicComponent",[B]:"resolveDirective",[A]:"withDirectives",[R]:"renderList",[V]:"renderSlot",[F]:"createSlots",[D]:"toDisplayString",[j]:"mergeProps",[U]:"toHandlers",[H]:"camelize",[G]:"setBlockTracking",[J]:"pushScopeId",[z]:"popScopeId",[q]:"withScopeId",[K]:"withCtx"};function Y(e){Object.getOwnPropertySymbols(e).forEach(t=>{W[t]=e[t]})}const Z={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Q(e,t=Z){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function X(e,t,n,o,r,s,i,c=!1,l=!1,p=Z){return e&&(c?(e.helper(_),e.helper(C)):e.helper(O),i&&e.helper(A)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:p}}function ee(e,t=Z){return{type:17,loc:t,elements:e}}function te(e,t=Z){return{type:15,loc:t,properties:e}}function ne(e,t){return{type:16,loc:Z,key:a(e)?oe(e,!0):e,value:t}}function oe(e,t,n=Z,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function re(e,t){return{type:5,loc:t,content:a(e)?oe(e,!1,t):e}}function se(e,t=Z){return{type:8,loc:t,children:e}}function ie(e,t=[],n=Z){return{type:14,loc:n,callee:e,arguments:t}}function ce(e,t,n=!1,o=!1,r=Z){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function le(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Z}}function pe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Z}}function ue(e){return{type:21,body:e,loc:Z}}function ae(e){return{type:22,elements:e,loc:Z}}function fe(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Z}}function de(e,t){return{type:24,left:e,right:t,loc:Z}}function he(e){return{type:25,expressions:e,loc:Z}}function ge(e){return{type:26,returns:e,loc:Z}}const me=(e,t)=>e===t||e===v(t);function ye(e){return me(e,"Teleport")?k:me(e,"Suspense")?T:me(e,"KeepAlive")?w:me(e,"BaseTransition")?$:void 0}const ve=(e,t)=>(_e(!1,"Expression AST analysis can only be performed in non-browser builds."),null),xe=(e,t)=>(_e(!1,"Expression AST analysis can only be performed in non-browser builds."),null),be=/^\d|[^\$\w]/,Se=e=>!be.test(e),Ne=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ke=e=>Ne.test(e);function Te(e,t,n){const o={source:e.source.substr(t,n),start:we(e.start,e.source,t),end:e.end};return null!=n&&(o.end=we(e.start,e.source,t+n)),o}function we(e,t,n=t.length){return $e({...e},t,n)}function $e(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){if(!e)throw new Error(t||"unexpected compiler condition")}function Ce(e,t,n=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(n||r.exp)&&(a(t)?r.name===t:t.test(r.name)))return r}}function Oe(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||4!==e.type||!e.isStatic||e.content!==t)}function Me(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 Ee(e){return 7===e.type&&"slot"===e.name}function Le(e){return 1===e.type&&3===e.tagType}function Be(e){return 1===e.type&&2===e.tagType}function Ae(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||a(r))o=te([t]);else if(14===r.type){const e=r.arguments[0];a(e)||15!==e.type?r.arguments.unshift(te([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=ie(n.helper(j),[te([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function Re(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function Ve(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&&(Ve(o.arg,t)||Ve(o.exp,t)))return!0}return e.children.some(e=>Ve(e,t));case 11:return!!Ve(e.source,t)||e.children.some(e=>Ve(e,t));case 9:return e.branches.some(e=>Ve(e,t));case 10:return!!Ve(e.condition,t)||e.children.some(e=>Ve(e,t));case 4:return!e.isStatic&&Se(e.content)&&!!t[e.content];case 8:return e.children.some(e=>d(e)&&Ve(e,t));case 5:case 12:return Ve(e.content,t);case 2:case 3:default:return!1}}const Fe=/&(gt|lt|amp|apos|quot);/g,De={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},je={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(Fe,(e,t)=>De[t]),onError:b};function Ue(e,t={}){const n=function(e,t){return{options:{...je,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=nt(n);return Q(He(n,0,[]),ot(n,o))}function He(e,t,n){const o=rt(n),r=o?o.ns:0,s=[];for(;!pt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&st(i,e.options.delimiters[0]))c=Xe(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=st(i,"\x3c!--")?ze(e):st(i,"<!DOCTYPE")?qe(e):st(i,"<![CDATA[")&&0!==r?Je(e,n):qe(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){it(e,3);continue}if(/[a-z]/i.test(i[2])){Ye(e,1,o);continue}c=qe(e)}else/[a-z]/i.test(i[1])?c=Ke(e,n):"?"===i[1]&&(c=qe(e));if(c||(c=et(e,t)),u(c))for(let e=0;e<c.length;e++)Ge(s,c[e]);else Ge(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Ge(e,t){if(3!==t.type){if(2===t.type){const n=rt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Je(e,t){it(e,9);const n=He(e,3,t);return 0===e.source.length||it(e,3),n}function ze(e){const t=nt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)it(e,s-r+1),r=s+1;it(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),it(e,e.source.length);return{type:3,content:n,loc:ot(e,t)}}function qe(e){const t=nt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),it(e,e.source.length)):(o=e.source.slice(n,r),it(e,r+1)),{type:3,content:o,loc:ot(e,t)}}function Ke(e,t){const n=e.inPre,o=e.inVPre,r=rt(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.tag,s.ns,r),p=He(e,l,t);if(t.pop(),s.children=p,ut(e.source,s.tag))Ye(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=p[0];e&&st(e.loc.source,"\x3c!--")}return s.loc=ot(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const We=e("if,else,else-if,for,slot");function Ye(e,t,n){const o=nt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);it(e,r[0].length),ct(e);const c=nt(e),l=e.source;let p=Ze(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&p.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,p=Ze(e,t).filter(e=>"v-pre"!==e.name));let u=!1;0===e.source.length||(u=st(e.source,"/>"),it(e,u?2:1));let a=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)||(a=1):(e||ye(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(a=1),"slot"===s?a=2:"template"===s&&p.some(e=>7===e.type&&We(e.name))&&(a=3)}return{type:1,ns:i,tag:s,tagType:a,props:p,isSelfClosing:u,children:[],loc:ot(e,o),codegenNode:void 0}}function Ze(e,t){const n=[],o=new Set;for(;e.source.length>0&&!st(e.source,">")&&!st(e.source,"/>");){if(st(e.source,"/")){it(e,1),ct(e);continue}const r=Qe(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),ct(e)}return n}function Qe(e,t){const n=nt(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}it(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(ct(e),it(e,1),ct(e),r=function(e){const t=nt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){it(e,1);const t=e.source.indexOf(o);-1===t?n=tt(e,e.source.length,4):(n=tt(e,t,4),it(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=tt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:ot(e,t)}}(e));const s=ot(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=ot(e,lt(e,n,r),lt(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=we(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(st(o,":")?"bind":st(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Xe(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=nt(e);it(e,n.length);const i=nt(e),c=nt(e),l=r-n.length,p=e.source.slice(0,l),u=tt(e,l,t),a=u.trim(),f=u.indexOf(a);return f>0&&$e(i,p,f),$e(c,p,l-(u.length-a.length-f)),it(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:a,loc:ot(e,i,c)},loc:ot(e,s)}}function et(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=nt(e);return{type:2,content:tt(e,o,t),loc:ot(e,r)}}function tt(e,t,n){const o=e.source.slice(0,t);return it(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function nt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function ot(e,t,n){return{start:t,end:n=n||nt(e),source:e.originalSource.slice(t.offset,n.offset)}}function rt(e){return e[e.length-1]}function st(e,t){return e.startsWith(t)}function it(e,t){const{source:n}=e;$e(e,n,t),e.source=n.slice(t)}function ct(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&it(e,t[0].length)}function lt(e,t,n){return we(t,e.originalSource.slice(t.offset,n),n)}function pt(e,t,n){const o=e.source;switch(t){case 0:if(st(o,"</"))for(let e=n.length-1;e>=0;--e)if(ut(o,n[e].tag))return!0;break;case 1:case 2:{const e=rt(n);if(e&&ut(o,e.tag))return!0;break}case 3:if(st(o,"]]>"))return!0}return!o}function ut(e,t){return st(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function at(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&dt(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=yt(e);if(!(t&&512!==t&&1!==t||ht(i)||gt())){const t=mt(i);t&&(e.props=n.hoist(t))}}}}else 12===i.type&&dt(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode));if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}}}(e.children,t,new Map,ft(e,e.children[0]))}function ft(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Be(t)}function dt(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(yt(o)||ht(e)||gt())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!dt(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return dt(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>a(e)||f(e)||dt(e,t));default:return!1}}function ht(e){return!(!Oe(e,"key",!0)&&!Oe(e,"ref",!0))}function gt(e){return!1}function mt(e){const t=e.codegenNode;if(13===t.type)return t.props}function yt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function vt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:p=[],scopeId:u=null,ssr:a=!1,onError:f=b}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:p,scopeId:u,ssr:a,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${W[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),oe(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>pe(++d.cached,e,t)};return d}function xt(e,n){const o=vt(e,n);bt(e,o),n.hoistStatic&&at(e,o),n.ssr||function(e,n){const{helper:o}=n,{children:r}=e,s=r[0];if(1===r.length)if(ft(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(_),o(C)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=X(n,o(N),void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function bt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(u(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(I);break;case 5:t.ssr||t.helper(D);break;case 9:for(let n=0;n<e.branches.length;n++)bt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];a(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,bt(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function St(e,t){const n=a(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(Ee))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 Nt(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:p=!1}){const u={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:p,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${W[e]}`,push(e,t){u.code+=e},indent(){a(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:a(--u.indentLevel)},newline(){a(u.indentLevel)}};function a(e){u.push("\n"+" ".repeat(e))}return u}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:p}=n,u=e.helpers.length>0,a=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${W[e]}: _${W[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[O,I,M,P].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)=>{n(`const _hoisted_${r+1} = `),$t(e,t),o()}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n),r(p?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),a&&(r("with (_ctx) {"),i(),u&&(r(`const { ${e.helpers.map(e=>`${W[e]}: _${W[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(kt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(kt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){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?$t(e.codegenNode,n):r("null"),a&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function kt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?E:B);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${Re(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(),wt(e,t,n),n&&t.deindent(),t.push("]")}function wt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];a(c)?r(c):u(c)?Tt(c,t):$t(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function $t(e,t){if(a(e))t.push(e);else if(f(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:$t(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:_t(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(D)}(`),$t(e.content,t),n(")")}(e,t);break;case 12:$t(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:p,directives:u,isBlock:a,isForBlock:f}=e;u&&n(o(A)+"(");a&&n(`(${o(_)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(a?C:O)+"(",e),wt(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(")"),a&&n(")");u&&(n(", "),$t(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=a(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),wt(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];Ot(o,t),n(": "),$t(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:p}=e;p&&n(`_${W[K]}(`);n("(",e),u(s)?wt(s,t):s&&$t(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),u(i)?Tt(i,t):$t(i,t)):c&&$t(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=!Se(n.content);e&&i("("),_t(n,t),e&&i(")")}else i("("),$t(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),$t(o,t),t.indentLevel--,s&&p(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;$t(r,t),u||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(G)}(-1),`),i());n(`_cache[${e.index}] = `),$t(e.value,t),e.isVNode&&(n(","),i(),n(`${o(G)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function _t(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Ct(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];a(o)?t.push(o):$t(o,t)}}function Ot(e,t){const{push:n}=t;if(8===e.type)n("["),Ct(e,t),n("]");else if(e.isStatic){n(Se(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const It=e("true,false,null,this"),Mt=(e,t)=>{if(5===e.type)e.content=Pt(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&"for"!==o.name){const e=o.exp,n=o.arg;!e||4!==e.type||"on"===o.name&&n||(o.exp=Pt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Pt(n,t))}}};function Pt(e,t,o=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(Se(s))return o||t.identifiers[s]||n(s)||It(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;try{c=ve().program}catch(t){return e}const l=[],p=Object.create(t.identifiers);xe();const u=[];let a;return l.sort((e,t)=>e.start-t.start),l.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=l[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&u.push(c+(t.prefix||""));const p=s.slice(o,r);u.push(oe(t.name,!1,{source:p,start:we(e.loc.start,p,o),end:we(e.loc.start,p,r)},t.isConstant)),n===l.length-1&&r<s.length&&u.push(s.slice(r))}),u.length?a=se(u,e.loc):(a=e,a.isConstant=!i),a.identifiers=Object.keys(p),a}const Et=St(/^(if|else|else-if)$/,(e,t,n)=>Lt(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=At(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=At(t,e.branches.length-1,n)}}));function Lt(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=oe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Bt(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=Bt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);bt(r,n),s&&s(),n.currentNode=null}break}}}function Bt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function At(e,t,n){return e.condition?le(e.condition,Rt(e,t,n),ie(n.helper(I),['""',"true"])):Rt(e,t,n)}function Rt(e,n,o){const{helper:r}=o,s=ne("key",oe(n+"",!1)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return Ae(e,s,o),e}return X(o,r(N),te([s]),i,`64 /* ${t[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==k||(e.isBlock=!0,r(_),r(C)),Ae(e,s,o),e}}const Vt=St("for",(e,n,o)=>{const{helper:r}=o;return Ft(e,n,o,n=>{const s=ie(r(R),[n.source]),i=Oe(e,"key"),c=i?128:256;return n.codegenNode=X(o,r(N),void 0,s,`${c} /* ${t[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Le(e),{children:p}=n,u=p.length>1||1!==p[0].type,a=Be(e)?e:l&&1===e.children.length&&Be(e.children[0])?e.children[0]:null,f=i?ne("key",6===i.type?oe(i.value.content,!0):i.exp):null;a?(c=a.codegenNode,l&&f&&Ae(c,f,o)):u?c=X(o,r(N),f?te([f]):void 0,e.children,`64 /* ${t[64]} */`,void 0,void 0,!0):(c=p[0].codegenNode,c.isBlock=!0,r(_),r(C)),s.arguments.push(ce(Jt(n.parseResult),c,!0))}})});function Ft(e,t,n,o){if(!t.exp)return;const r=Ht(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:p}=r,u={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:p,parseResult:r,children:3===e.tagType?e.children:[e]};n.replaceNode(u),s.vFor++;const a=o&&o(u);return()=>{s.vFor--,a&&a()}}const Dt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,jt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ut=/^\(|\)$/g;function Ht(e,t){const n=e.loc,o=e.content,r=o.match(Dt);if(!r)return;const[,s,i]=r,c={source:Gt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Ut,"").trim();const p=s.indexOf(l),u=l.match(jt);if(u){l=l.replace(jt,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,p+l.length),c.key=Gt(n,e,t)),u[2]){const r=u[2].trim();r&&(c.index=Gt(n,r,o.indexOf(r,c.key?t+e.length:p+l.length)))}}return l&&(c.value=Gt(n,l,p)),c}function Gt(e,t,n){return oe(t,!1,Te(e,n,t.length))}function Jt({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(oe("_",!1)),o.push(t)),n&&(t||(e||o.push(oe("_",!1)),o.push(oe("__",!1))),o.push(n)),o}const zt=oe("undefined",!1),qt=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Ce(e,"slot");if(n){return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}}},Kt=(e,t)=>{let n;if(Le(e)&&e.props.some(Ee)&&(n=Ce(e,"for"))){const e=n.parseResult=Ht(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)}}}},Wt=(e,t,n)=>ce(e,t,!1,!0,t.length?t[0].loc:n);function Yt(e,t,n=Wt){t.helper(K);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ne("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const p=Ce(e,"slot",!0);if(p){const{arg:e,exp:t}=p;s.push(ne(e||oe("default",!0),n(t,o,r)))}let u=!1,a=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Le(r)||!(c=Ce(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(p)break;u=!0;const{children:g,loc:m}=r,{arg:y=oe("default",!0),exp:v}=c;let x;4===(h=y).type&&h.isStatic?x=y?y.content:"default":l=!0;const b=n(v,g,m);let S,N,k;if(S=Ce(r,"if"))l=!0,i.push(le(S.exp,Zt(y,b),zt));else if(N=Ce(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Le(t)&&Ce(t,"if")){o.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=N.exp?le(N.exp,Zt(y,b),zt):Zt(y,b)}}else if(k=Ce(r,"for")){l=!0;const e=k.parseResult||Ht(k.exp);e&&i.push(ie(t.helper(R),[e.source,ce(Jt(e),Zt(y,b),!0)]))}else{if(x){if(d.has(x))continue;d.add(x),"default"===x&&(a=!0)}s.push(ne(y,b))}}var h;p||(u?f.length&&(a||s.push(c(void 0,f))):s.push(c(void 0,o)));let g=te(s.concat(ne("_",oe("1",!1))),r);return i.length&&(g=ie(t.helper(F),[g,ee(i)])),{slots:g,hasDynamicSlots:l}}function Zt(e,t){return te([ne("name",e),ne("fn",t)])}const Qt=new WeakMap,Xt=(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,p,u,a,f=0,h=d(s)&&s.callee===L||!r&&("svg"===n||"foreignObject"===n||Oe(e,"key",!0));if(o.length>0){const n=tn(e,t);i=n.props,f=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;a=o&&o.length?ee(o.map(e=>function(e,t){const n=[],o=Qt.get(e);o?n.push(t.helperString(o)):(t.helper(B),t.directives.add(e.name),n.push(Re(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=oe("true",!1,r);n.push(te(e.modifiers.map(e=>ne(e,t)),r))}return ee(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===w&&(h=!0,f|=1024),r&&s!==k&&s!==w){const{slots:n,hasDynamicSlots:o}=Yt(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==k){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!dt(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),u&&u.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+"]"}(u))),e.codegenNode=X(t,s,i,c,l,p,a,!!h,!1,e.loc)}};function en(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Oe(e,"is"):Ce(e,"is");if(r){const e=6===r.type?r.value&&oe(r.value.content,!0):r.exp;if(e)return ie(t.helper(L),[e])}const s=ye(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(E),t.components.add(o),Re(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=[],u=[];let a=0,d=!1,h=!1,g=!1,m=!1,y=!1;const v=[],x=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>p.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(m=!0),20===t.type||(4===t.type||8===t.type)&&dt(t))return;"ref"===n?d=!0:"class"!==n||i?"style"!==n||i?"key"===n||v.includes(n)||v.push(n):g=!0:h=!0}else y=!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&&(d=!0),"is"===t&&"component"===r)continue;c.push(ne(oe(t,!0,Te(e,0,t.length)),oe(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:a,loc:d}=p,h="bind"===n,g="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Ie(i,"is"))continue;if(g&&o)continue;if(!i&&(h||g)){y=!0,a&&(c.length&&(l.push(te(nn(c),s)),c=[]),l.push(h?a:{type:14,loc:d,callee:t.helper(U),arguments:[a]}));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&&(u.push(p),f(r)&&Qt.set(p,r))}else u.push(p)}}let b=void 0;return l.length?(c.length&&l.push(te(nn(c),s)),b=l.length>1?ie(t.helper(j),l,s):l[0]):c.length&&(b=te(nn(c),s)),y?a|=16:(h&&(a|=2),g&&(a|=4),v.length&&(a|=8),m&&(a|=32)),0!==a&&32!==a||!(d||u.length>0)||(a|=512),{props:b,directives:u,patchFlag:a,dynamicPropNames:v}}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=ee([e.value,t.value],e.loc)}const rn=(e,t)=>{if(Be(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(ce([],n,!1,!1,o))),e.codegenNode=ie(t.helper(V),i,o)}};function sn(e,t){let n='"default"',o=void 0;const r=Oe(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=/^([\w$_]+|\([^)]*?\))\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=oe(`on${e.startsWith("vnode")?x(m(e)):x(e)}`,!0,i.loc)}else c=se(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let p=!l;if(l){const e=ke(l.content),t=!(e||cn.test(l.content)),n=l.content.includes(";");(t||p&&e)&&(l=se([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let u={props:[ne(c,l||oe("() => {}",!1,r))]};return o&&(u=o(u)),p&&(u.props[0].value=n.cache(u.props[0].value)),u},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?m(i.content):`${n.helperString(H)}(${i.content})`:(i.children.unshift(`${n.helperString(H)}(`),i.children.push(")"))),{props:[ne(i,o||oe("",!0,s))]}},un=(e,n)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Pe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Pe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Pe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),n.ssr||2===r.type||s.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:ie(n.helper(M),s)}}}}},an=(e,t)=>{if(1===e.type&&Ce(e,"once",!0))return t.helper(G),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},fn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return dn();if(!ke(4===o.type?o.content:o.loc.source))return dn();const s=r||oe("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:se(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ne(s,e.exp),ne(i,se(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Se(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:se([r,' + "Modifiers"']):"modelModifiers";c.push(ne(n,oe(`{ ${t} }`,!1,e.loc,!0)))}return dn(c)};function dn(e=[]){return{props:e}}function hn(e){return[[an,Et,Vt,rn,Xt,qt,un],{on:ln,bind:pn,model:fn}]}function gn(e,t={}){const n=t.onError||b,o="module"===t.mode;!0===t.prefixIdentifiers?n(S(43)):o&&n(S(44));t.cacheHandlers&&n(S(45)),t.scopeId&&!o&&n(S(46));const r=a(e)?Ue(e,t):e,[s,i]=hn();return xt(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),Nt(r,{...t,prefixIdentifiers:!1})}const mn=()=>({props:[]}),yn=Symbol(""),vn=Symbol(""),xn=Symbol(""),bn=Symbol(""),Sn=Symbol(""),Nn=Symbol(""),kn=Symbol(""),Tn=Symbol(""),wn=Symbol(""),$n=Symbol("");let _n;Y({[yn]:"vModelRadio",[vn]:"vModelCheckbox",[xn]:"vModelText",[bn]:"vModelSelect",[Sn]:"vModelDynamic",[Nn]:"withModifiers",[kn]:"withKeys",[Tn]:"vShow",[wn]:"Transition",[$n]:"TransitionGroup"});const Cn=e("style,iframe,script,noscript",!0),On={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(_n||(_n=document.createElement("div"))).innerHTML=e,_n.textContent},isBuiltInComponent:e=>me(e,"Transition")?wn:me(e,"TransitionGroup")?$n:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Cn(e))return 2}return 0}},In=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:oe("style",!0,t.loc),exp:En(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Mn=/;(?![^(]*\))/g,Pn=/:(.+)/;function En(e,t){const n={};return e.split(Mn).forEach(e=>{if(e){const t=e.split(Pn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),oe(JSON.stringify(n),!1,t,!0)}function Ln(e,t){return S(e,t)}const Bn=e("passive,once,capture"),An=e("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Rn=e("onkeyup,onkeydown,onkeypress",!0),Vn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?oe(t,!0):4!==e.type?se(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,Fn=[In],Dn={cloak:mn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("innerHTML",!0,r),o||oe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("textContent",!0,r),o||oe("",!0))]}},model:(e,t,n)=>{const o=fn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=xn,s=!1;if("input"===r){const n=Oe(t,"type");if(n){if(7===n.type)e=Sn;else if(n.value)switch(n.value.content){case"radio":e=yn;break;case"checkbox":e=vn;break;case"file":s=!0}}else Me(t)&&(e=Sn)}else"select"===r&&(e=bn);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>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=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];Bn(s)?o.push(s):An(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Vn(r,"onContextmenu")),c.includes("middle")&&(r=Vn(r,"onMouseup")),c.length&&(s=ie(n.helper(Nn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Rn(r.content)||(s=ie(n.helper(kn),[s,JSON.stringify(i)])),l.length&&(s=te([ne("handler",s),ne("options",te(l.map(e=>ne(e,oe("true",!1)))))])),{props:[ne(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(Tn)})};function jn(e,t={}){return gn(e,{...On,...t,nodeTransforms:[...Fn,...t.nodeTransforms||[]],directiveTransforms:{...Dn,...t.directiveTransforms||{}},transformHoist:null})}function Un(e,t={}){return Ue(e,{...On,...t})}export{$ as BASE_TRANSITION,H as CAMELIZE,C as CREATE_BLOCK,I as CREATE_COMMENT,F as CREATE_SLOTS,P as CREATE_STATIC,M as CREATE_TEXT,O as CREATE_VNODE,Dn as DOMDirectiveTransforms,Fn as DOMNodeTransforms,N as FRAGMENT,w as KEEP_ALIVE,j as MERGE_PROPS,_ as OPEN_BLOCK,z as POP_SCOPE_ID,J as PUSH_SCOPE_ID,R as RENDER_LIST,V as RENDER_SLOT,E as RESOLVE_COMPONENT,B as RESOLVE_DIRECTIVE,L as RESOLVE_DYNAMIC_COMPONENT,G as SET_BLOCK_TRACKING,T as SUSPENSE,k as TELEPORT,D as TO_DISPLAY_STRING,U as TO_HANDLERS,wn as TRANSITION,$n as TRANSITION_GROUP,vn as V_MODEL_CHECKBOX,Sn as V_MODEL_DYNAMIC,yn as V_MODEL_RADIO,bn as V_MODEL_SELECT,xn as V_MODEL_TEXT,kn as V_ON_WITH_KEYS,Nn as V_ON_WITH_MODIFIERS,Tn as V_SHOW,K as WITH_CTX,A as WITH_DIRECTIVES,q as WITH_SCOPE_ID,we as advancePositionWithClone,$e as advancePositionWithMutation,_e as assert,gn as baseCompile,Ue as baseParse,tn as buildProps,Yt as buildSlots,jn as compile,ee as createArrayExpression,de as createAssignmentExpression,ue as createBlockStatement,pe as createCacheExpression,ie as createCallExpression,S as createCompilerError,se as createCompoundExpression,le as createConditionalExpression,Ln as createDOMCompilerError,Jt as createForLoopParams,ce as createFunctionExpression,fe as createIfStatement,re as createInterpolation,te as createObjectExpression,ne as createObjectProperty,ge as createReturnStatement,Q as createRoot,he as createSequenceExpression,oe as createSimpleExpression,St as createStructuralDirectiveTransform,ae as createTemplateLiteral,vt as createTransformContext,X as createVNodeCall,Ce as findDir,Oe as findProp,Nt as generate,o as generateCodeFrame,hn as getBaseTransformPreset,Te as getInnerRange,Me as hasDynamicKeyVBind,Ve as hasScopeRef,W as helperNameMap,Ae as injectProp,Ie as isBindKey,me as isBuiltInType,ye as isCoreComponent,ke as isMemberExpression,Se as isSimpleIdentifier,Be as isSlotOutlet,Le as isTemplateNode,Pe as isText,Ee as isVSlot,Z as locStub,mn as noopDirectiveTransform,Un as parse,ve as parseJS,On as parserOptions,Pt as processExpression,Ft as processFor,Lt as processIf,sn as processSlotOutlet,Y as registerRuntimeHelpers,en as resolveComponentType,Re as toValidAssetId,qt as trackSlotScopes,Kt as trackVForSlotScopes,xt as transform,pn as transformBind,Xt as transformElement,Mt as transformExpression,fn as transformModel,ln as transformOn,In as transformStyle,bt as traverseNode,xe as walkJS};

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

var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,a=/^on[^a-z]/,p=Array.isArray,u=e=>"string"==typeof e,f=e=>"symbol"==typeof e,d=e=>null!==e&&"object"==typeof e,h=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},m=/-(\w)/g,g=h(e=>e.replace(m,(e,t)=>t?t.toUpperCase():"")),y=/\B([A-Z])/g,S=h(e=>e.replace(y,"-$1").toLowerCase()),v=h(e=>e.charAt(0).toUpperCase()+e.slice(1));function x(e){throw e}function b(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const T=Symbol(""),N=Symbol(""),E=Symbol(""),O=Symbol(""),k=Symbol(""),C=Symbol(""),_=Symbol(""),I=Symbol(""),w=Symbol(""),M=Symbol(""),$=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),A=Symbol(""),V=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),H=Symbol(""),j=Symbol(""),G=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),W=Symbol(""),z=Symbol(""),Y={[T]:"Fragment",[N]:"Teleport",[E]:"Suspense",[O]:"KeepAlive",[k]:"BaseTransition",[C]:"openBlock",[_]:"createBlock",[I]:"createVNode",[w]:"createCommentVNode",[M]:"createTextVNode",[$]:"createStaticVNode",[P]:"resolveComponent",[R]:"resolveDynamicComponent",[L]:"resolveDirective",[A]:"withDirectives",[V]:"renderList",[D]:"renderSlot",[B]:"createSlots",[F]:"toDisplayString",[H]:"mergeProps",[j]:"toHandlers",[G]:"camelize",[K]:"setBlockTracking",[U]:"pushScopeId",[J]:"popScopeId",[W]:"withScopeId",[z]:"withCtx"};function q(e){Object.getOwnPropertySymbols(e).forEach(t=>{Y[t]=e[t]})}const X={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Z(e,t=X){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Q(e,t,n,o,r,s,i,c=!1,l=!1,a=X){return e&&(c?(e.helper(C),e.helper(_)):e.helper(I),i&&e.helper(A)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:a}}function ee(e,t=X){return{type:17,loc:t,elements:e}}function te(e,t=X){return{type:15,loc:t,properties:e}}function ne(e,t){return{type:16,loc:X,key:u(e)?oe(e,!0):e,value:t}}function oe(e,t,n=X,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function re(e,t=X){return{type:8,loc:t,children:e}}function se(e,t=[],n=X){return{type:14,loc:n,callee:e,arguments:t}}function ie(e,t,n=!1,o=!1,r=X){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ce(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:X}}function le(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:X}}const ae=(e,t)=>e===t||e===S(t);function pe(e){return ae(e,"Teleport")?N:ae(e,"Suspense")?E:ae(e,"KeepAlive")?O:ae(e,"BaseTransition")?k:void 0}const ue=(e,t)=>(xe(!1,"Expression AST analysis can only be performed in non-browser builds."),null),fe=(e,t)=>(xe(!1,"Expression AST analysis can only be performed in non-browser builds."),null),de=/^\d|[^\$\w]/,he=e=>!de.test(e),me=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ge=e=>me.test(e);function ye(e,t,n){const o={source:e.source.substr(t,n),start:Se(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Se(e.start,e.source,t+n)),o}function Se(e,t,n=t.length){return ve({...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 xe(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)&&(u(t)?r.name===t:t.test(r.name)))return r}}function Te(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&s.exp&&Ne(s.arg,t))return s}}function Ne(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Ee(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function Oe(e){return 5===e.type||2===e.type}function ke(e){return 7===e.type&&"slot"===e.name}function Ce(e){return 1===e.type&&3===e.tagType}function _e(e){return 1===e.type&&2===e.tagType}function Ie(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||u(r))o=te([t]);else if(14===r.type){const e=r.arguments[0];u(e)||15!==e.type?r.arguments.unshift(te([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=se(n.helper(H),[te([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function we(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Me=/&(gt|lt|amp|apos|quot);/g,$e={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Pe={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(Me,(e,t)=>$e[t]),onError:x};function Re(e,t={}){const n=function(e,t){return{options:{...Pe,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=ze(n);return Z(Le(n,0,[]),Ye(n,o))}function Le(e,t,n){const o=qe(n),r=o?o.ns:0,s=[];for(;!tt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&Xe(i,e.options.delimiters[0]))c=Ue(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Xe(i,"\x3c!--")?De(e):Xe(i,"<!DOCTYPE")?Be(e):Xe(i,"<![CDATA[")&&0!==r?Ve(e,n):Be(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Ze(e,3);continue}if(/[a-z]/i.test(i[2])){je(e,1,o);continue}c=Be(e)}else/[a-z]/i.test(i[1])?c=Fe(e,n):"?"===i[1]&&(c=Be(e));if(c||(c=Je(e,t)),p(c))for(let e=0;e<c.length;e++)Ae(s,c[e]);else Ae(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Ae(e,t){if(3!==t.type){if(2===t.type){const n=qe(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Ve(e,t){Ze(e,9);const n=Le(e,3,t);return 0===e.source.length||Ze(e,3),n}function De(e){const t=ze(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));)Ze(e,s-r+1),r=s+1;Ze(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Ze(e,e.source.length);return{type:3,content:n,loc:Ye(e,t)}}function Be(e){const t=ze(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Ze(e,e.source.length)):(o=e.source.slice(n,r),Ze(e,r+1)),{type:3,content:o,loc:Ye(e,t)}}function Fe(e,t){const n=e.inPre,o=e.inVPre,r=qe(t),s=je(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),a=Le(e,l,t);if(t.pop(),s.children=a,nt(e.source,s.tag))je(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Xe(e.loc.source,"\x3c!--")}return s.loc=Ye(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const He=t("if,else,else-if,for,slot");function je(e,t,n){const o=ze(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Ze(e,r[0].length),Qe(e);const c=ze(e),l=e.source;let a=Ge(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,a=Ge(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=Xe(e.source,"/>"),Ze(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||pe(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&&He(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Ye(e,o),codegenNode:void 0}}function Ge(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Xe(e.source,">")&&!Xe(e.source,"/>");){if(Xe(e.source,"/")){Ze(e,1),Qe(e);continue}const r=Ke(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Qe(e)}return n}function Ke(e,t){const n=ze(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););}Ze(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(Qe(e),Ze(e,1),Qe(e),r=function(e){const t=ze(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Ze(e,1);const t=e.source.indexOf(o);-1===t?n=We(e,e.source.length,4):(n=We(e,t,4),Ze(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=We(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Ye(e,t)}}(e));const s=Ye(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=Ye(e,et(e,n,r),et(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Se(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Xe(o,":")?"bind":Xe(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ue(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=ze(e);Ze(e,n.length);const i=ze(e),c=ze(e),l=r-n.length,a=e.source.slice(0,l),p=We(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&ve(i,a,f),ve(c,a,l-(p.length-u.length-f)),Ze(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:Ye(e,i,c)},loc:Ye(e,s)}}function Je(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=ze(e);return{type:2,content:We(e,o,t),loc:Ye(e,r)}}function We(e,t,n){const o=e.source.slice(0,t);return Ze(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function ze(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Ye(e,t,n){return{start:t,end:n=n||ze(e),source:e.originalSource.slice(t.offset,n.offset)}}function qe(e){return e[e.length-1]}function Xe(e,t){return e.startsWith(t)}function Ze(e,t){const{source:n}=e;ve(e,n,t),e.source=n.slice(t)}function Qe(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ze(e,t[0].length)}function et(e,t,n){return Se(t,e.originalSource.slice(t.offset,n),n)}function tt(e,t,n){const o=e.source;switch(t){case 0:if(Xe(o,"</"))for(let e=n.length-1;e>=0;--e)if(nt(o,n[e].tag))return!0;break;case 1:case 2:{const e=qe(n);if(e&&nt(o,e.tag))return!0;break}case 3:if(Xe(o,"]]>"))return!0}return!o}function nt(e,t){return Xe(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function ot(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&st(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=at(e);if(!(t&&512!==t&&1!==t||it(i)||ct())){const t=lt(i);t&&(e.props=n.hoist(t))}}}}if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}else 12===i.type&&st(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode))}}(e.children,t,new Map,rt(e,e.children[0]))}function rt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!_e(t)}function st(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(at(o)||it(e)||ct())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!st(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return st(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>u(e)||f(e)||st(e,t));default:return!1}}function it(e){return!(!Te(e,"key",!0)&&!Te(e,"ref",!0))}function ct(e){return!1}function lt(e){const t=e.codegenNode;if(13===t.type)return t.props}function at(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function pt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,onError:f=x}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:a,scopeId:p,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${Y[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),oe(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>le(++d.cached,e,t)};return d}function ut(e,t){const o=pt(e,t);ft(e,o),t.hoistStatic&&ot(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(rt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(C),o(_)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=Q(t,o(T),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function ft(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(p(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(w);break;case 5:t.ssr||t.helper(F);break;case 9:for(let n=0;n<e.branches.length;n++)ft(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];u(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,ft(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function dt(e,t){const n=u(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(ke))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}function ht(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper:e=>`_${Y[e]}`,push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${Y[e]}: _${Y[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,w,M,$].filter(t=>e.helpers.includes(t)).map(i).join(", ");n(`const { ${t} } = _Vue\n`)}(function(e,t){if(!e.length)return;const{push:n,newline:o}=t;o(),e.forEach((e,r)=>{n(`const _hoisted_${r+1} = `),St(e,t),o()})})(e.hoists,t),o(),n("return ")}(e,n),r(a?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${Y[e]}: _${Y[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(mt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(mt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?St(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function mt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?P:L);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${we(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function gt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),yt(e,t,n),n&&t.deindent(),t.push("]")}function yt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];u(c)?r(c):p(c)?gt(c,t):St(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function St(e,t){if(u(e))t.push(e);else if(f(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:St(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:vt(e,t);break;case 5:!function(e,t){const{push:n,helper:o}=t;n(`${o(F)}(`),St(e.content,t),n(")")}(e,t);break;case 12:St(e.codegenNode,t);break;case 8:xt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o}=t,{tag:r,props:s,children:i,patchFlag:c,dynamicProps:l,directives:a,isBlock:p,isForBlock:u}=e;a&&n(o(A)+"(");p&&n(`(${o(C)}(${u?"true":""}), `);n(o(p?_:I)+"(",e),yt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([r,s,i,c,l]),t),n(")"),p&&n(")");a&&(n(", "),St(a,t),n(")"))}(e,t);break;case 14:!function(e,t){const n=u(e.callee)?e.callee:t.helper(e.callee);t.push(n+"(",e),yt(e.arguments,t),t.push(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let e=0;e<i.length;e++){const{key:o,value:r}=i[e];bt(o,t),n(": "),St(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){gt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${Y[z]}(`);n("(",e),p(s)?yt(s,t):s&&St(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),p(i)?gt(i,t):St(i,t)):c&&St(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=!he(n.content);e&&i("("),vt(n,t),e&&i(")")}else i("("),St(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),St(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;St(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(K)}(-1),`),i());n(`_cache[${e.index}] = `),St(e.value,t),e.isVNode&&(n(","),i(),n(`${o(K)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function vt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function xt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];u(o)?t.push(o):St(o,t)}}function bt(e,t){const{push:n}=t;if(8===e.type)n("["),xt(e,t),n("]");else if(e.isStatic){n(he(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Tt=t("true,false,null,this");function Nt(e,t,n=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(he(s))return n||t.identifiers[s]||o(s)||Tt(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;try{c=ue().program}catch(t){return e}const l=[],a=Object.create(t.identifiers);fe();const p=[];let u;return l.sort((e,t)=>e.start-t.start),l.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=l[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&p.push(c+(t.prefix||""));const a=s.slice(o,r);p.push(oe(t.name,!1,{source:a,start:Se(e.loc.start,a,o),end:Se(e.loc.start,a,r)},t.isConstant)),n===l.length-1&&r<s.length&&p.push(s.slice(r))}),p.length?u=re(p,e.loc):(u=e,u.isConstant=!i),u.identifiers=Object.keys(a),u}const Et=dt(/^(if|else|else-if)$/,(e,t,n)=>Ot(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=Ct(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=Ct(t,e.branches.length-1,n)}}));function Ot(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=oe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=kt(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=kt(e,t);i.branches.push(r);const s=o&&o(i,r,!1);ft(r,n),s&&s(),n.currentNode=null}break}}}function kt(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function Ct(e,t,n){return e.condition?ce(e.condition,_t(e,t,n),se(n.helper(w),['""',"true"])):_t(e,t,n)}function _t(e,t,o){const{helper:r}=o,s=ne("key",oe(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 Ie(e,s,o),e}return Q(o,r(T),te([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==N||(e.isBlock=!0,r(C),r(_)),Ie(e,s,o),e}}const It=dt("for",(e,t,o)=>{const{helper:r}=o;return wt(e,t,o,t=>{const s=se(r(V),[t.source]),i=Te(e,"key"),c=i?128:256;return t.codegenNode=Q(o,r(T),void 0,s,`${c} /* ${n[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=Ce(e),{children:a}=t,p=a.length>1||1!==a[0].type,u=_e(e)?e:l&&1===e.children.length&&_e(e.children[0])?e.children[0]:null,f=i?ne("key",6===i.type?oe(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&Ie(c,f,o)):p?c=Q(o,r(T),f?te([f]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(c=a[0].codegenNode,c.isBlock=!0,r(C),r(_)),s.arguments.push(ie(At(t.parseResult),c,!0))}})});function wt(e,t,n,o){if(!t.exp)return;const r=Rt(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 Mt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Pt=/^\(|\)$/g;function Rt(e,t){const n=e.loc,o=e.content,r=o.match(Mt);if(!r)return;const[,s,i]=r,c={source:Lt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Pt,"").trim();const a=s.indexOf(l),p=l.match($t);if(p){l=l.replace($t,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Lt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Lt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Lt(n,l,a)),c}function Lt(e,t,n){return oe(t,!1,ye(e,n,t.length))}function At({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(oe("_",!1)),o.push(t)),n&&(t||(e||o.push(oe("_",!1)),o.push(oe("__",!1))),o.push(n)),o}const Vt=oe("undefined",!1),Dt=(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--}}}},Bt=(e,t,n)=>ie(e,t,!1,!0,t.length?t[0].loc:n);function Ft(e,t,n=Bt){t.helper(z);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ne("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=be(e,"slot",!0);if(a){const{arg:e,exp:t}=a;s.push(ne(e||oe("default",!0),n(t,o,r)))}let p=!1,u=!1;const f=[],d=new Set;for(let e=0;e<o.length;e++){const r=o[e];let c;if(!Ce(r)||!(c=be(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:m,loc:g}=r,{arg:y=oe("default",!0),exp:S}=c;let v;4===(h=y).type&&h.isStatic?v=y?y.content:"default":l=!0;const x=n(S,m,g);let b,T,N;if(b=be(r,"if"))l=!0,i.push(ce(b.exp,Ht(y,x),Vt));else if(T=be(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&Ce(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=T.exp?ce(T.exp,Ht(y,x),Vt):Ht(y,x)}}else if(N=be(r,"for")){l=!0;const e=N.parseResult||Rt(N.exp);e&&i.push(se(t.helper(V),[e.source,ie(At(e),Ht(y,x),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ne(y,x))}}var h;a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=te(s.concat(ne("_",oe("1",!1))),r);return i.length&&(m=se(t.helper(B),[m,ee(i)])),{slots:m,hasDynamicSlots:l}}function Ht(e,t){return te([ne("name",e),ne("fn",t)])}const jt=new WeakMap,Gt=(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?Kt(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,h=d(s)&&s.callee===R||!r&&("svg"===n||"foreignObject"===n||Te(e,"key",!0));if(o.length>0){const n=Ut(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ee(o.map(e=>function(e,t){const n=[],o=jt.get(e);o?n.push(t.helperString(o)):(t.helper(L),t.directives.add(e.name),n.push(we(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=oe("true",!1,r);n.push(te(e.modifiers.map(e=>ne(e,t)),r))}return ee(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===O&&(h=!0,f|=1024),r&&s!==N&&s!==O){const{slots:n,hasDynamicSlots:o}=Ft(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==N){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!st(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=Q(t,s,i,c,l,a,u,!!h,!1,e.loc)}};function Kt(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Te(e,"is"):be(e,"is");if(r){const e=6===r.type?r.value&&oe(r.value.content,!0):r.exp;if(e)return se(t.helper(R),[e])}const s=pe(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(P),t.components.add(o),we(o,"component"))}function Ut(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let u=0,d=!1,h=!1,m=!1,g=!1,y=!1;const S=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>a.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(g=!0),20===t.type||(4===t.type||8===t.type)&&st(t))return;"ref"===n?d=!0:"class"!==n||i?"style"!==n||i?"key"===n||S.includes(n)||S.push(n):m=!0:h=!0}else y=!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&&(d=!0),"is"===t&&"component"===r)continue;c.push(ne(oe(t,!0,ye(e,0,t.length)),oe(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:d}=a,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Ne(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){y=!0,u&&(c.length&&(l.push(te(Jt(c),s)),c=[]),l.push(h?u:{type:14,loc:d,callee:t.helper(j),arguments:[u]}));continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(a,e,t);!o&&n.forEach(v),c.push(...n),r&&(p.push(a),f(r)&&jt.set(a,r))}else p.push(a)}}let x=void 0;return l.length?(c.length&&l.push(te(Jt(c),s)),x=l.length>1?se(t.helper(H),l,s):l[0]):c.length&&(x=te(Jt(c),s)),y?u|=16:(h&&(u|=2),m&&(u|=4),S.length&&(u|=8),g&&(u|=32)),0!==u&&32!==u||!(d||p.length>0)||(u|=512),{props:x,directives:p,patchFlag:u,dynamicPropNames:S}}function Jt(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"))&&Wt(i,r):(t.set(s,r),n.push(r))}return n}function Wt(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ee([e.value,t.value],e.loc)}const zt=(e,t)=>{if(_e(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Yt(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(ie([],n,!1,!1,o))),e.codegenNode=se(t.helper(D),i,o)}};function Yt(e,t){let n='"default"',o=void 0;const r=Te(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=Ut(e,t,s);o=n}return{slotName:n,slotProps:o}}const qt=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Xt=(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=oe(`on${e.startsWith("vnode")?v(g(e)):v(e)}`,!0,i.loc)}else c=re(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=!l;if(l){const e=ge(l.content),t=!(e||qt.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=re([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ne(c,l||oe("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},Zt=(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?g(i.content):`${n.helperString(G)}(${i.content})`:(i.children.unshift(`${n.helperString(G)}(`),i.children.push(")"))),{props:[ne(i,o||oe("",!0,s))]}},Qt=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(Oe(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!Oe(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(Oe(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:se(t.helper(M),s)}}}}},en=(e,t)=>{if(1===e.type&&be(e,"once",!0))return t.helper(K),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},tn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return nn();if(!ge(4===o.type?o.content:o.loc.source))return nn();const s=r||oe("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:re(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ne(s,e.exp),ne(i,re(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(he(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:re([r,' + "Modifiers"']):"modelModifiers";c.push(ne(n,oe(`{ ${t} }`,!1,e.loc,!0)))}return nn(c)};function nn(e=[]){return{props:e}}function on(e){return[[en,Et,It,zt,Gt,Dt,Qt],{on:Xt,bind:Zt,model:tn}]}function rn(e,t={}){const n=t.onError||x,o="module"===t.mode;!0===t.prefixIdentifiers?n(b(43)):o&&n(b(44));t.cacheHandlers&&n(b(45)),t.scopeId&&!o&&n(b(46));const r=u(e)?Re(e,t):e,[s,i]=on();return ut(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),ht(r,{...t,prefixIdentifiers:!1})}const sn=()=>({props:[]}),cn=Symbol(""),ln=Symbol(""),an=Symbol(""),pn=Symbol(""),un=Symbol(""),fn=Symbol(""),dn=Symbol(""),hn=Symbol(""),mn=Symbol(""),gn=Symbol("");let yn;q({[cn]:"vModelRadio",[ln]:"vModelCheckbox",[an]:"vModelText",[pn]:"vModelSelect",[un]:"vModelDynamic",[fn]:"withModifiers",[dn]:"withKeys",[hn]:"vShow",[mn]:"Transition",[gn]:"TransitionGroup"});const Sn=t("style,iframe,script,noscript",!0),vn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(yn||(yn=document.createElement("div"))).innerHTML=e,yn.textContent},isBuiltInComponent:e=>ae(e,"Transition")?mn:ae(e,"TransitionGroup")?gn:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Sn(e))return 2}return 0}},xn=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:oe("style",!0,t.loc),exp:Nn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},bn=/;(?![^(]*\))/g,Tn=/:(.+)/;function Nn(e,t){const n={};return e.split(bn).forEach(e=>{if(e){const t=e.split(Tn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),oe(JSON.stringify(n),!1,t,!0)}function En(e,t){return b(e,t)}const On=t("passive,once,capture"),kn=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),Cn=t("onkeyup,onkeydown,onkeypress",!0),_n=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?oe(t,!0):4!==e.type?re(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,In=[xn],wn={cloak:sn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("innerHTML",!0,r),o||oe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("textContent",!0,r),o||oe("",!0))]}},model:(e,t,n)=>{const o=tn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=an,s=!1;if("input"===r){const n=Te(t,"type");if(n){if(7===n.type)e=un;else if(n.value)switch(n.value.content){case"radio":e=cn;break;case"checkbox":e=ln;break;case"file":s=!0}}else Ee(t)&&(e=un)}else"select"===r&&(e=pn);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>Xt(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];On(s)?o.push(s):kn(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=_n(r,"onContextmenu")),c.includes("middle")&&(r=_n(r,"onMouseup")),c.length&&(s=se(n.helper(fn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!Cn(r.content)||(s=se(n.helper(dn),[s,JSON.stringify(i)])),l.length&&(s=te([ne("handler",s),ne("options",te(l.map(e=>ne(e,oe("true",!1)))))])),{props:[ne(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(hn)})};return e.BASE_TRANSITION=k,e.CAMELIZE=G,e.CREATE_BLOCK=_,e.CREATE_COMMENT=w,e.CREATE_SLOTS=B,e.CREATE_STATIC=$,e.CREATE_TEXT=M,e.CREATE_VNODE=I,e.DOMDirectiveTransforms=wn,e.DOMNodeTransforms=In,e.FRAGMENT=T,e.KEEP_ALIVE=O,e.MERGE_PROPS=H,e.OPEN_BLOCK=C,e.POP_SCOPE_ID=J,e.PUSH_SCOPE_ID=U,e.RENDER_LIST=V,e.RENDER_SLOT=D,e.RESOLVE_COMPONENT=P,e.RESOLVE_DIRECTIVE=L,e.RESOLVE_DYNAMIC_COMPONENT=R,e.SET_BLOCK_TRACKING=K,e.SUSPENSE=E,e.TELEPORT=N,e.TO_DISPLAY_STRING=F,e.TO_HANDLERS=j,e.TRANSITION=mn,e.TRANSITION_GROUP=gn,e.V_MODEL_CHECKBOX=ln,e.V_MODEL_DYNAMIC=un,e.V_MODEL_RADIO=cn,e.V_MODEL_SELECT=pn,e.V_MODEL_TEXT=an,e.V_ON_WITH_KEYS=dn,e.V_ON_WITH_MODIFIERS=fn,e.V_SHOW=hn,e.WITH_CTX=z,e.WITH_DIRECTIVES=A,e.WITH_SCOPE_ID=W,e.advancePositionWithClone=Se,e.advancePositionWithMutation=ve,e.assert=xe,e.baseCompile=rn,e.baseParse=Re,e.buildProps=Ut,e.buildSlots=Ft,e.compile=function(e,t={}){return rn(e,{...vn,...t,nodeTransforms:[...In,...t.nodeTransforms||[]],directiveTransforms:{...wn,...t.directiveTransforms||{}},transformHoist:null})},e.createArrayExpression=ee,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:X}},e.createBlockStatement=function(e){return{type:21,body:e,loc:X}},e.createCacheExpression=le,e.createCallExpression=se,e.createCompilerError=b,e.createCompoundExpression=re,e.createConditionalExpression=ce,e.createDOMCompilerError=En,e.createForLoopParams=At,e.createFunctionExpression=ie,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:X}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:u(e)?oe(e,!1,t):e}},e.createObjectExpression=te,e.createObjectProperty=ne,e.createReturnStatement=function(e){return{type:26,returns:e,loc:X}},e.createRoot=Z,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:X}},e.createSimpleExpression=oe,e.createStructuralDirectiveTransform=dt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:X}},e.createTransformContext=pt,e.createVNodeCall=Q,e.findDir=be,e.findProp=Te,e.generate=ht,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=on,e.getInnerRange=ye,e.hasDynamicKeyVBind=Ee,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&&he(t.content)&&!!n[t.content];case 8:return t.children.some(t=>d(t)&&e(t,n));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=Y,e.injectProp=Ie,e.isBindKey=Ne,e.isBuiltInType=ae,e.isCoreComponent=pe,e.isMemberExpression=ge,e.isSimpleIdentifier=he,e.isSlotOutlet=_e,e.isTemplateNode=Ce,e.isText=Oe,e.isVSlot=ke,e.locStub=X,e.noopDirectiveTransform=sn,e.parse=function(e,t={}){return Re(e,{...vn,...t})},e.parseJS=ue,e.parserOptions=vn,e.processExpression=Nt,e.processFor=wt,e.processIf=Ot,e.processSlotOutlet=Yt,e.registerRuntimeHelpers=q,e.resolveComponentType=Kt,e.toValidAssetId=we,e.trackSlotScopes=Dt,e.trackVForSlotScopes=(e,t)=>{let n;if(Ce(e)&&e.props.some(ke)&&(n=be(e,"for"))){const e=n.parseResult=Rt(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=ut,e.transformBind=Zt,e.transformElement=Gt,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Nt(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=Nt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Nt(n,t))}}},e.transformModel=tn,e.transformOn=Xt,e.transformStyle=xn,e.traverseNode=ft,e.walkJS=fe,e}({});
var VueCompilerDOM=function(e){"use strict";function t(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",1024:"DYNAMIC_SLOTS",512:"NEED_PATCH",[-1]:"HOISTED",[-2]:"BAIL"},o=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl");const r=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c=()=>{},l=()=>!1,a=/^on[^a-z]/,p=Array.isArray,u=e=>"string"==typeof e,f=e=>"symbol"==typeof e,d=e=>null!==e&&"object"==typeof e,h=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},m=/-(\w)/g,g=h(e=>e.replace(m,(e,t)=>t?t.toUpperCase():"")),y=/\B([A-Z])/g,S=h(e=>e.replace(y,"-$1").toLowerCase()),v=h(e=>e.charAt(0).toUpperCase()+e.slice(1));function x(e){throw e}function b(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const T=Symbol(""),N=Symbol(""),E=Symbol(""),_=Symbol(""),O=Symbol(""),k=Symbol(""),C=Symbol(""),I=Symbol(""),w=Symbol(""),M=Symbol(""),$=Symbol(""),P=Symbol(""),R=Symbol(""),L=Symbol(""),A=Symbol(""),V=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),H=Symbol(""),j=Symbol(""),U=Symbol(""),G=Symbol(""),K=Symbol(""),J=Symbol(""),W=Symbol(""),z=Symbol(""),Y={[T]:"Fragment",[N]:"Teleport",[E]:"Suspense",[_]:"KeepAlive",[O]:"BaseTransition",[k]:"openBlock",[C]:"createBlock",[I]:"createVNode",[w]:"createCommentVNode",[M]:"createTextVNode",[$]:"createStaticVNode",[P]:"resolveComponent",[R]:"resolveDynamicComponent",[L]:"resolveDirective",[A]:"withDirectives",[V]:"renderList",[D]:"renderSlot",[B]:"createSlots",[F]:"toDisplayString",[H]:"mergeProps",[j]:"toHandlers",[U]:"camelize",[G]:"setBlockTracking",[K]:"pushScopeId",[J]:"popScopeId",[W]:"withScopeId",[z]:"withCtx"};function q(e){Object.getOwnPropertySymbols(e).forEach(t=>{Y[t]=e[t]})}const X={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Z(e,t=X){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Q(e,t,n,o,r,s,i,c=!1,l=!1,a=X){return e&&(c?(e.helper(k),e.helper(C)):e.helper(I),i&&e.helper(A)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,isForBlock:l,loc:a}}function ee(e,t=X){return{type:17,loc:t,elements:e}}function te(e,t=X){return{type:15,loc:t,properties:e}}function ne(e,t){return{type:16,loc:X,key:u(e)?oe(e,!0):e,value:t}}function oe(e,t,n=X,o=!1){return{type:4,loc:n,isConstant:o,content:e,isStatic:t}}function re(e,t=X){return{type:8,loc:t,children:e}}function se(e,t=[],n=X){return{type:14,loc:n,callee:e,arguments:t}}function ie(e,t,n=!1,o=!1,r=X){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ce(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:X}}function le(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:X}}const ae=(e,t)=>e===t||e===S(t);function pe(e){return ae(e,"Teleport")?N:ae(e,"Suspense")?E:ae(e,"KeepAlive")?_:ae(e,"BaseTransition")?O:void 0}const ue=(e,t)=>(xe(!1,"Expression AST analysis can only be performed in non-browser builds."),null),fe=(e,t)=>(xe(!1,"Expression AST analysis can only be performed in non-browser builds."),null),de=/^\d|[^\$\w]/,he=e=>!de.test(e),me=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,ge=e=>me.test(e);function ye(e,t,n){const o={source:e.source.substr(t,n),start:Se(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Se(e.start,e.source,t+n)),o}function Se(e,t,n=t.length){return ve({...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 xe(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)&&(u(t)?r.name===t:t.test(r.name)))return r}}function Te(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&s.exp&&Ne(s.arg,t))return s}}function Ne(e,t){return!(!e||4!==e.type||!e.isStatic||e.content!==t)}function Ee(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function _e(e){return 5===e.type||2===e.type}function Oe(e){return 7===e.type&&"slot"===e.name}function ke(e){return 1===e.type&&3===e.tagType}function Ce(e){return 1===e.type&&2===e.tagType}function Ie(e,t,n){let o;const r=13===e.type?e.props:e.arguments[2];if(null==r||u(r))o=te([t]);else if(14===r.type){const e=r.arguments[0];u(e)||15!==e.type?r.arguments.unshift(te([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=se(n.helper(H),[te([t]),r]);13===e.type?e.props=o:e.arguments[2]=o}function we(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}const Me=/&(gt|lt|amp|apos|quot);/g,$e={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Pe={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:l,isPreTag:l,isCustomElement:l,decodeEntities:e=>e.replace(Me,(e,t)=>$e[t]),onError:x};function Re(e,t={}){const n=function(e,t){return{options:{...Pe,...t},column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1}}(e,t),o=ze(n);return Z(Le(n,0,[]),Ye(n,o))}function Le(e,t,n){const o=qe(n),r=o?o.ns:0,s=[];for(;!tt(e,t,n);){const i=e.source;let c=void 0;if(0===t||1===t)if(!e.inVPre&&Xe(i,e.options.delimiters[0]))c=Ke(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Xe(i,"\x3c!--")?De(e):Xe(i,"<!DOCTYPE")?Be(e):Xe(i,"<![CDATA[")&&0!==r?Ve(e,n):Be(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Ze(e,3);continue}if(/[a-z]/i.test(i[2])){je(e,1,o);continue}c=Be(e)}else/[a-z]/i.test(i[1])?c=Fe(e,n):"?"===i[1]&&(c=Be(e));if(c||(c=Je(e,t)),p(c))for(let e=0;e<c.length;e++)Ae(s,c[e]);else Ae(s,c)}let i=!1;if(2!==t)if(e.inPre){if(o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}else for(let e=0;e<s.length;e++){const t=s[e];if(2===t.type)if(/[^\t\r\n\f ]/.test(t.content))t.content=t.content.replace(/[\t\r\n\f ]+/g," ");else{const n=s[e-1],o=s[e+1];!n||!o||3===n.type||3===o.type||1===n.type&&1===o.type&&/[\r\n]/.test(t.content)?(i=!0,s[e]=null):t.content=" "}}return i?s.filter(Boolean):s}function Ae(e,t){if(3!==t.type){if(2===t.type){const n=qe(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}}function Ve(e,t){Ze(e,9);const n=Le(e,3,t);return 0===e.source.length||Ze(e,3),n}function De(e){const t=ze(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));)Ze(e,s-r+1),r=s+1;Ze(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Ze(e,e.source.length);return{type:3,content:n,loc:Ye(e,t)}}function Be(e){const t=ze(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Ze(e,e.source.length)):(o=e.source.slice(n,r),Ze(e,r+1)),{type:3,content:o,loc:Ye(e,t)}}function Fe(e,t){const n=e.inPre,o=e.inVPre,r=qe(t),s=je(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return s;t.push(s);const l=e.options.getTextMode(s.tag,s.ns,r),a=Le(e,l,t);if(t.pop(),s.children=a,nt(e.source,s.tag))je(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Xe(e.loc.source,"\x3c!--")}return s.loc=Ye(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const He=t("if,else,else-if,for,slot");function je(e,t,n){const o=ze(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Ze(e,r[0].length),Qe(e);const c=ze(e),l=e.source;let a=Ue(e,t);e.options.isPreTag(s)&&(e.inPre=!0),!e.inVPre&&a.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,((e,t)=>{for(const n in t)e[n]=t[n]})(e,c),e.source=l,a=Ue(e,t).filter(e=>"v-pre"!==e.name));let p=!1;0===e.source.length||(p=Xe(e.source,"/>"),Ze(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||pe(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&&He(e.name))&&(u=3)}return{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Ye(e,o),codegenNode:void 0}}function Ue(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Xe(e.source,">")&&!Xe(e.source,"/>");){if(Xe(e.source,"/")){Ze(e,1),Qe(e);continue}const r=Ge(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Qe(e)}return n}function Ge(e,t){const n=ze(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););}Ze(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(Qe(e),Ze(e,1),Qe(e),r=function(e){const t=ze(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Ze(e,1);const t=e.source.indexOf(o);-1===t?n=We(e,e.source.length,4):(n=We(e,t,4),Ze(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=We(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Ye(e,t)}}(e));const s=Ye(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let i;if(t[2]){const r=o.indexOf(t[2]),s=Ye(e,et(e,n,r),et(e,n,r+t[2].length));let c=t[2],l=!0;c.startsWith("[")&&(l=!1,c.endsWith("]"),c=c.substr(1,c.length-2)),i={type:4,content:c,isStatic:l,isConstant:l,loc:s}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Se(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:t[1]||(Xe(o,":")?"bind":Xe(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:i,modifiers:t[3]?t[3].substr(1).split("."):[],loc:s}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Ke(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=ze(e);Ze(e,n.length);const i=ze(e),c=ze(e),l=r-n.length,a=e.source.slice(0,l),p=We(e,l,t),u=p.trim(),f=p.indexOf(u);return f>0&&ve(i,a,f),ve(c,a,l-(p.length-u.length-f)),Ze(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:u,loc:Ye(e,i,c)},loc:Ye(e,s)}}function Je(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=ze(e);return{type:2,content:We(e,o,t),loc:Ye(e,r)}}function We(e,t,n){const o=e.source.slice(0,t);return Ze(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function ze(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Ye(e,t,n){return{start:t,end:n=n||ze(e),source:e.originalSource.slice(t.offset,n.offset)}}function qe(e){return e[e.length-1]}function Xe(e,t){return e.startsWith(t)}function Ze(e,t){const{source:n}=e;ve(e,n,t),e.source=n.slice(t)}function Qe(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ze(e,t[0].length)}function et(e,t,n){return Se(t,e.originalSource.slice(t.offset,n),n)}function tt(e,t,n){const o=e.source;switch(t){case 0:if(Xe(o,"</"))for(let e=n.length-1;e>=0;--e)if(nt(o,n[e].tag))return!0;break;case 1:case 2:{const e=qe(n);if(e&&nt(o,e.tag))return!0;break}case 3:if(Xe(o,"]]>"))return!0}return!o}function nt(e,t){return Xe(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\n\f />]/.test(e[2+t.length]||">")}function ot(e,t){!function e(t,n,o,r=!1){for(let s=0;s<t.length;s++){const i=t[s];if(1===i.type&&0===i.tagType){if(!r&&st(i,o)){i.codegenNode.patchFlag="-1";const e=n.transformHoist?n.transformHoist(i,n):i.codegenNode;i.codegenNode=n.hoist(e);continue}{const e=i.codegenNode;if(13===e.type){const t=at(e);if(!(t&&512!==t&&1!==t||it(i)||ct())){const t=lt(i);t&&(e.props=n.hoist(t))}}}}else 12===i.type&&st(i.content,o)&&(i.codegenNode=n.hoist(i.codegenNode));if(1===i.type)e(i.children,n,o);else if(11===i.type)e(i.children,n,o,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++){const r=i.branches[t].children;e(r,n,o,1===r.length)}}}(e.children,t,new Map,rt(e,e.children[0]))}function rt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ce(t)}function st(e,t=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const n=t.get(e);if(void 0!==n)return n;const o=e.codegenNode;if(13!==o.type)return!1;if(at(o)||it(e)||ct())return t.set(e,!1),!1;for(let n=0;n<e.children.length;n++)if(!st(e.children[n],t))return t.set(e,!1),!1;return o.isBlock&&(o.isBlock=!1),t.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:case 10:return!1;case 5:case 12:return st(e.content,t);case 4:return e.isConstant;case 8:return e.children.every(e=>u(e)||f(e)||st(e,t));default:return!1}}function it(e){return!(!Te(e,"key",!0)&&!Te(e,"ref",!0))}function ct(e){return!1}function lt(e){const t=e.codegenNode;if(13===t.type)return t.props}function at(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function pt(e,{prefixIdentifiers:t=!1,hoistStatic:n=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:s={},transformHoist:i=null,isBuiltInComponent:l=c,expressionPlugins:a=[],scopeId:p=null,ssr:u=!1,onError:f=x}){const d={prefixIdentifiers:t,hoistStatic:n,cacheHandlers:o,nodeTransforms:r,directiveTransforms:s,transformHoist:i,isBuiltInComponent:l,expressionPlugins:a,scopeId:p,ssr:u,onError:f,root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],imports:new Set,temps:0,cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper:e=>(d.helpers.add(e),e),helperString:e=>`_${Y[d.helper(e)]}`,replaceNode(e){d.parent.children[d.childIndex]=d.currentNode=e},removeNode(e){const t=e?d.parent.children.indexOf(e):d.currentNode?d.childIndex:-1;e&&e!==d.currentNode?d.childIndex>t&&(d.childIndex--,d.onNodeRemoved()):(d.currentNode=null,d.onNodeRemoved()),d.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist:e=>(d.hoists.push(e),oe(`_hoisted_${d.hoists.length}`,!1,e.loc,!0)),cache:(e,t=!1)=>le(++d.cached,e,t)};return d}function ut(e,t){const o=pt(e,t);ft(e,o),t.hoistStatic&&ot(e,o),t.ssr||function(e,t){const{helper:o}=t,{children:r}=e,s=r[0];if(1===r.length)if(rt(e,s)&&s.codegenNode){const t=s.codegenNode;13===t.type&&(t.isBlock=!0,o(k),o(C)),e.codegenNode=t}else e.codegenNode=s;else r.length>1&&(e.codegenNode=Q(t,o(T),void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0))}(e,o),e.helpers=[...o.helpers],e.components=[...o.components],e.directives=[...o.directives],e.imports=[...o.imports],e.hoists=o.hoists,e.temps=o.temps,e.cached=o.cached}function ft(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let r=0;r<n.length;r++){const s=n[r](e,t);if(s&&(p(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(w);break;case 5:t.ssr||t.helper(F);break;case 9:for(let n=0;n<e.branches.length;n++)ft(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const r=e.children[n];u(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,ft(r,t))}}(e,t)}let r=o.length;for(;r--;)o[r]()}function dt(e,t){const n=u(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(Oe))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}function ht(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeBindings:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1}){const p={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeBindings:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${Y[e]}`,push(e,t){p.code+=e},indent(){u(++p.indentLevel)},deindent(e=!1){e?--p.indentLevel:u(--p.indentLevel)},newline(){u(p.indentLevel)}};function u(e){p.push("\n"+" ".repeat(e))}return p}(e,t),{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;if(function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${Y[e]}: _${Y[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){const t=[I,w,M,$].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)=>{n(`const _hoisted_${r+1} = `),St(e,t),o()}),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n),r(a?"function ssrRender(_ctx, _push, _parent) {":"function render(_ctx, _cache) {"),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map(e=>`${Y[e]}: _${Y[e]}`).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(mt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(mt(e.directives,"directive",n),e.temps>0&&l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?St(e.codegenNode,n):r("null"),u&&(c(),r("}")),c(),r("}"),{ast:e,code:n.code,map:n.map?n.map.toJSON():void 0}}function mt(e,t,{helper:n,push:o,newline:r}){const s=n("component"===t?P:L);for(let n=0;n<e.length;n++){const i=e[n];o(`const ${we(i,t)} = ${s}(${JSON.stringify(i)})`),n<e.length-1&&r()}}function gt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),yt(e,t,n),n&&t.deindent(),t.push("]")}function yt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];u(c)?r(c):p(c)?gt(c,t):St(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function St(e,t){if(u(e))t.push(e);else if(f(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:St(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:vt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(F)}(`),St(e.content,t),n(")")}(e,t);break;case 12:St(e.codegenNode,t);break;case 8:xt(e,t);break;case 3:break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,isForBlock:f}=e;p&&n(o(A)+"(");u&&n(`(${o(k)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");n(o(u?C:I)+"(",e),yt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),St(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=u(e.callee)?e.callee:o(e.callee);r&&n("/*#__PURE__*/");n(s+"(",e),yt(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const c=i.length>1||!1;n(c?"{":"{ "),c&&o();for(let e=0;e<i.length;e++){const{key:o,value:r}=i[e];bt(o,t),n(": "),St(r,t),e<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){gt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${Y[z]}(`);n("(",e),p(s)?yt(s,t):s&&St(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),p(i)?gt(i,t):St(i,t)):c&&St(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=!he(n.content);e&&i("("),vt(n,t),e&&i(")")}else i("("),St(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),St(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;St(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(G)}(-1),`),i());n(`_cache[${e.index}] = `),St(e.value,t),e.isVNode&&(n(","),i(),n(`${o(G)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t)}}function vt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function xt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];u(o)?t.push(o):St(o,t)}}function bt(e,t){const{push:n}=t;if(8===e.type)n("["),xt(e,t),n("]");else if(e.isStatic){n(he(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}const Tt=t("true,false,null,this");function Nt(e,t,n=!1,r=!1){if(!t.prefixIdentifiers||!e.content.trim())return e;const s=e.content,i=s.indexOf("(")>-1;if(he(s))return n||t.identifiers[s]||o(s)||Tt(s)?t.identifiers[s]||i||(e.isConstant=!0):e.content=`_ctx.${s}`,e;let c;try{c=ue().program}catch(t){return e}const l=[],a=Object.create(t.identifiers);fe();const p=[];let u;return l.sort((e,t)=>e.start-t.start),l.forEach((t,n)=>{const o=t.start-1,r=t.end-1,i=l[n-1],c=s.slice(i?i.end-1:0,o);(c.length||t.prefix)&&p.push(c+(t.prefix||""));const a=s.slice(o,r);p.push(oe(t.name,!1,{source:a,start:Se(e.loc.start,a,o),end:Se(e.loc.start,a,r)},t.isConstant)),n===l.length-1&&r<s.length&&p.push(s.slice(r))}),p.length?u=re(p,e.loc):(u=e,u.isConstant=!i),u.identifiers=Object.keys(a),u}const Et=dt(/^(if|else|else-if)$/,(e,t,n)=>_t(e,t,n,(e,t,o)=>()=>{if(o)e.codegenNode=kt(t,0,n);else{let o=e.codegenNode;for(;19===o.alternate.type;)o=o.alternate;o.alternate=kt(t,e.branches.length-1,n)}}));function _t(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=oe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=Ot(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=Ot(e,t);i.branches.push(r);const s=o&&o(i,r,!1);ft(r,n),s&&s(),n.currentNode=null}break}}}function Ot(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3===e.tagType?e.children:[e]}}function kt(e,t,n){return e.condition?ce(e.condition,Ct(e,t,n),se(n.helper(w),['""',"true"])):Ct(e,t,n)}function Ct(e,t,o){const{helper:r}=o,s=ne("key",oe(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 Ie(e,s,o),e}return Q(o,r(T),te([s]),i,`64 /* ${n[64]} */`,void 0,void 0,!0,!1,e.loc)}{const e=c.codegenNode;return 13!==e.type||1===c.tagType&&e.tag!==N||(e.isBlock=!0,r(k),r(C)),Ie(e,s,o),e}}const It=dt("for",(e,t,o)=>{const{helper:r}=o;return wt(e,t,o,t=>{const s=se(r(V),[t.source]),i=Te(e,"key"),c=i?128:256;return t.codegenNode=Q(o,r(T),void 0,s,`${c} /* ${n[c]} */`,void 0,void 0,!0,!0,e.loc),()=>{let c;const l=ke(e),{children:a}=t,p=a.length>1||1!==a[0].type,u=Ce(e)?e:l&&1===e.children.length&&Ce(e.children[0])?e.children[0]:null,f=i?ne("key",6===i.type?oe(i.value.content,!0):i.exp):null;u?(c=u.codegenNode,l&&f&&Ie(c,f,o)):p?c=Q(o,r(T),f?te([f]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0):(c=a[0].codegenNode,c.isBlock=!0,r(k),r(C)),s.arguments.push(ie(At(t.parseResult),c,!0))}})});function wt(e,t,n,o){if(!t.exp)return;const r=Rt(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 Mt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Pt=/^\(|\)$/g;function Rt(e,t){const n=e.loc,o=e.content,r=o.match(Mt);if(!r)return;const[,s,i]=r,c={source:Lt(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Pt,"").trim();const a=s.indexOf(l),p=l.match($t);if(p){l=l.replace($t,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Lt(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Lt(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Lt(n,l,a)),c}function Lt(e,t,n){return oe(t,!1,ye(e,n,t.length))}function At({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(oe("_",!1)),o.push(t)),n&&(t||(e||o.push(oe("_",!1)),o.push(oe("__",!1))),o.push(n)),o}const Vt=oe("undefined",!1),Dt=(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--}}}},Bt=(e,t,n)=>ie(e,t,!1,!0,t.length?t[0].loc:n);function Ft(e,t,n=Bt){t.helper(z);const{children:o,loc:r}=e,s=[],i=[],c=(e,t)=>ne("default",n(e,t,r));let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=be(e,"slot",!0);if(a){const{arg:e,exp:t}=a;s.push(ne(e||oe("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(!ke(r)||!(c=be(r,"slot",!0))){3!==r.type&&f.push(r);continue}if(a)break;p=!0;const{children:m,loc:g}=r,{arg:y=oe("default",!0),exp:S}=c;let v;4===(h=y).type&&h.isStatic?v=y?y.content:"default":l=!0;const x=n(S,m,g);let b,T,N;if(b=be(r,"if"))l=!0,i.push(ce(b.exp,Ht(y,x),Vt));else if(T=be(r,/^else(-if)?$/,!0)){let t,n=e;for(;n--&&(t=o[n],3===t.type););if(t&&ke(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=T.exp?ce(T.exp,Ht(y,x),Vt):Ht(y,x)}}else if(N=be(r,"for")){l=!0;const e=N.parseResult||Rt(N.exp);e&&i.push(se(t.helper(V),[e.source,ie(At(e),Ht(y,x),!0)]))}else{if(v){if(d.has(v))continue;d.add(v),"default"===v&&(u=!0)}s.push(ne(y,x))}}var h;a||(p?f.length&&(u||s.push(c(void 0,f))):s.push(c(void 0,o)));let m=te(s.concat(ne("_",oe("1",!1))),r);return i.length&&(m=se(t.helper(B),[m,ee(i)])),{slots:m,hasDynamicSlots:l}}function Ht(e,t){return te([ne("name",e),ne("fn",t)])}const jt=new WeakMap,Ut=(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?Gt(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,h=d(s)&&s.callee===R||!r&&("svg"===n||"foreignObject"===n||Te(e,"key",!0));if(o.length>0){const n=Kt(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ee(o.map(e=>function(e,t){const n=[],o=jt.get(e);o?n.push(t.helperString(o)):(t.helper(L),t.directives.add(e.name),n.push(we(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=oe("true",!1,r);n.push(te(e.modifiers.map(e=>ne(e,t)),r))}return ee(n,e.loc)}(e,t))):void 0}if(e.children.length>0){if(s===_&&(h=!0,f|=1024),r&&s!==N&&s!==_){const{slots:n,hasDynamicSlots:o}=Ft(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==N){const t=e.children[0],n=t.type,o=5===n||8===n;o&&!st(t)&&(f|=1),c=o||2===n?t:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=Q(t,s,i,c,l,a,u,!!h,!1,e.loc)}};function Gt(e,t,n=!1){const{tag:o}=e,r="component"===e.tag?Te(e,"is"):be(e,"is");if(r){const e=6===r.type?r.value&&oe(r.value.content,!0):r.exp;if(e)return se(t.helper(R),[e])}const s=pe(o)||t.isBuiltInComponent(o);return s?(n||t.helper(s),s):(t.helper(P),t.components.add(o),we(o,"component"))}function Kt(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],p=[];let u=0,d=!1,h=!1,m=!1,g=!1,y=!1;const S=[],v=({key:e,value:t})=>{if(4===e.type&&e.isStatic){const n=e.content;if(!i&&(e=>a.test(e))(n)&&"onclick"!==n.toLowerCase()&&"onUpdate:modelValue"!==n&&(g=!0),20===t.type||(4===t.type||8===t.type)&&st(t))return;"ref"===n?d=!0:"class"!==n||i?"style"!==n||i?"key"===n||S.includes(n)||S.push(n):m=!0:h=!0}else y=!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&&(d=!0),"is"===t&&"component"===r)continue;c.push(ne(oe(t,!0,ye(e,0,t.length)),oe(n?n.content:"",!0,n?n.loc:e)))}else{const{name:n,arg:i,exp:u,loc:d}=a,h="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n)continue;if("is"===n||h&&"component"===r&&Ne(i,"is"))continue;if(m&&o)continue;if(!i&&(h||m)){y=!0,u&&(c.length&&(l.push(te(Jt(c),s)),c=[]),l.push(h?u:{type:14,loc:d,callee:t.helper(j),arguments:[u]}));continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(a,e,t);!o&&n.forEach(v),c.push(...n),r&&(p.push(a),f(r)&&jt.set(a,r))}else p.push(a)}}let x=void 0;return l.length?(c.length&&l.push(te(Jt(c),s)),x=l.length>1?se(t.helper(H),l,s):l[0]):c.length&&(x=te(Jt(c),s)),y?u|=16:(h&&(u|=2),m&&(u|=4),S.length&&(u|=8),g&&(u|=32)),0!==u&&32!==u||!(d||p.length>0)||(u|=512),{props:x,directives:p,patchFlag:u,dynamicPropNames:S}}function Jt(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"))&&Wt(i,r):(t.set(s,r),n.push(r))}return n}function Wt(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ee([e.value,t.value],e.loc)}const zt=(e,t)=>{if(Ce(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Yt(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];s&&i.push(s),n.length&&(s||i.push("{}"),i.push(ie([],n,!1,!1,o))),e.codegenNode=se(t.helper(D),i,o)}};function Yt(e,t){let n='"default"',o=void 0;const r=Te(e,"name");r&&(6===r.type&&r.value?n=JSON.stringify(r.value.content):7===r.type&&r.exp&&(n=r.exp));const s=r?e.props.filter(e=>e!==r):e.props;if(s.length>0){const{props:n,directives:r}=Kt(e,t,s);o=n}return{slotName:n,slotProps:o}}const qt=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Xt=(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=oe(`on${e.startsWith("vnode")?v(g(e)):v(e)}`,!0,i.loc)}else c=re(['"on" + (',i,")"]);else c=i,c.children.unshift('"on" + ('),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=!l;if(l){const e=ge(l.content),t=!(e||qt.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=re([`$event => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[ne(c,l||oe("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p},Zt=(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?g(i.content):`${n.helperString(U)}(${i.content})`:(i.children.unshift(`${n.helperString(U)}(`),i.children.push(")"))),{props:[ne(i,o||oe("",!0,s))]}},Qt=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r=void 0,s=!1;for(let e=0;e<o.length;e++){const t=o[e];if(_e(t)){s=!0;for(let n=e+1;n<o.length;n++){const s=o[n];if(!_e(s)){r=void 0;break}r||(r=o[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),o.splice(n,1),n--}}}if(s&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType)))for(let e=0;e<o.length;e++){const r=o[e];if(_e(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||2===r.type||s.push(`1 /* ${n[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:se(t.helper(M),s)}}}}},en=(e,t)=>{if(1===e.type&&be(e,"once",!0))return t.helper(G),()=>{e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}},tn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return nn();if(!ge(4===o.type?o.content:o.loc.source))return nn();const s=r||oe("modelValue",!0),i=r?4===r.type&&r.isStatic?`onUpdate:${r.content}`:re(['"onUpdate:" + ',r]):"onUpdate:modelValue",c=[ne(s,e.exp),ne(i,re(["$event => (",o," = $event)"]))];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(he(e)?e:JSON.stringify(e))+": true").join(", "),n=r?4===r.type&&r.isStatic?`${r.content}Modifiers`:re([r,' + "Modifiers"']):"modelModifiers";c.push(ne(n,oe(`{ ${t} }`,!1,e.loc,!0)))}return nn(c)};function nn(e=[]){return{props:e}}function on(e){return[[en,Et,It,zt,Ut,Dt,Qt],{on:Xt,bind:Zt,model:tn}]}function rn(e,t={}){const n=t.onError||x,o="module"===t.mode;!0===t.prefixIdentifiers?n(b(43)):o&&n(b(44));t.cacheHandlers&&n(b(45)),t.scopeId&&!o&&n(b(46));const r=u(e)?Re(e,t):e,[s,i]=on();return ut(r,{...t,prefixIdentifiers:!1,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms||{}}}),ht(r,{...t,prefixIdentifiers:!1})}const sn=()=>({props:[]}),cn=Symbol(""),ln=Symbol(""),an=Symbol(""),pn=Symbol(""),un=Symbol(""),fn=Symbol(""),dn=Symbol(""),hn=Symbol(""),mn=Symbol(""),gn=Symbol("");let yn;q({[cn]:"vModelRadio",[ln]:"vModelCheckbox",[an]:"vModelText",[pn]:"vModelSelect",[un]:"vModelDynamic",[fn]:"withModifiers",[dn]:"withKeys",[hn]:"vShow",[mn]:"Transition",[gn]:"TransitionGroup"});const Sn=t("style,iframe,script,noscript",!0),vn={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e){return(yn||(yn=document.createElement("div"))).innerHTML=e,yn.textContent},isBuiltInComponent:e=>ae(e,"Transition")?mn:ae(e,"TransitionGroup")?gn:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode(e,t){if(0===t){if("textarea"===e||"title"===e)return 1;if(Sn(e))return 2}return 0}},xn=(e,t)=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:oe("style",!0,t.loc),exp:Nn(t.value.content,t.loc),modifiers:[],loc:t.loc})})},bn=/;(?![^(]*\))/g,Tn=/:(.+)/;function Nn(e,t){const n={};return e.split(bn).forEach(e=>{if(e){const t=e.split(Tn);t.length>1&&(n[t[0].trim()]=t[1].trim())}}),oe(JSON.stringify(n),!1,t,!0)}function En(e,t){return b(e,t)}const _n=t("passive,once,capture"),On=t("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),kn=t("onkeyup,onkeydown,onkeypress",!0),Cn=(e,t)=>4===e.type&&e.isStatic&&"onclick"===e.content.toLowerCase()?oe(t,!0):4!==e.type?re(["(",e,`).toLowerCase() === "onclick" ? "${t}" : (`,e,")"]):e,In=[xn],wn={cloak:sn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("innerHTML",!0,r),o||oe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[ne(oe("textContent",!0,r),o||oe("",!0))]}},model:(e,t,n)=>{const o=tn(e,t);if(!o.props.length||1===t.tagType)return o;const{tag:r}=t;if("input"===r||"textarea"===r||"select"===r){let e=an,s=!1;if("input"===r){const n=Te(t,"type");if(n){if(7===n.type)e=un;else if(n.value)switch(n.value.content){case"radio":e=cn;break;case"checkbox":e=ln;break;case"file":s=!0}}else Ee(t)&&(e=un)}else"select"===r&&(e=pn);s||(o.needRuntime=n.helper(e))}return o.props=o.props.filter(e=>4!==e.key.type||"modelValue"!==e.key.content),o},on:(e,t,n)=>Xt(e,0,n,t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=(e=>{const t=[],n=[],o=[];for(let r=0;r<e.length;r++){const s=e[r];_n(s)?o.push(s):On(s)?n.push(s):t.push(s)}return{keyModifiers:t,nonKeyModifiers:n,eventOptionModifiers:o}})(o);return c.includes("right")&&(r=Cn(r,"onContextmenu")),c.includes("middle")&&(r=Cn(r,"onMouseup")),c.length&&(s=se(n.helper(fn),[s,JSON.stringify(c)])),!i.length||8!==r.type&&r.isStatic&&!kn(r.content)||(s=se(n.helper(dn),[s,JSON.stringify(i)])),l.length&&(s=te([ne("handler",s),ne("options",te(l.map(e=>ne(e,oe("true",!1)))))])),{props:[ne(r,s)]}}),show:(e,t,n)=>({props:[],needRuntime:n.helper(hn)})};return e.BASE_TRANSITION=O,e.CAMELIZE=U,e.CREATE_BLOCK=C,e.CREATE_COMMENT=w,e.CREATE_SLOTS=B,e.CREATE_STATIC=$,e.CREATE_TEXT=M,e.CREATE_VNODE=I,e.DOMDirectiveTransforms=wn,e.DOMNodeTransforms=In,e.FRAGMENT=T,e.KEEP_ALIVE=_,e.MERGE_PROPS=H,e.OPEN_BLOCK=k,e.POP_SCOPE_ID=J,e.PUSH_SCOPE_ID=K,e.RENDER_LIST=V,e.RENDER_SLOT=D,e.RESOLVE_COMPONENT=P,e.RESOLVE_DIRECTIVE=L,e.RESOLVE_DYNAMIC_COMPONENT=R,e.SET_BLOCK_TRACKING=G,e.SUSPENSE=E,e.TELEPORT=N,e.TO_DISPLAY_STRING=F,e.TO_HANDLERS=j,e.TRANSITION=mn,e.TRANSITION_GROUP=gn,e.V_MODEL_CHECKBOX=ln,e.V_MODEL_DYNAMIC=un,e.V_MODEL_RADIO=cn,e.V_MODEL_SELECT=pn,e.V_MODEL_TEXT=an,e.V_ON_WITH_KEYS=dn,e.V_ON_WITH_MODIFIERS=fn,e.V_SHOW=hn,e.WITH_CTX=z,e.WITH_DIRECTIVES=A,e.WITH_SCOPE_ID=W,e.advancePositionWithClone=Se,e.advancePositionWithMutation=ve,e.assert=xe,e.baseCompile=rn,e.baseParse=Re,e.buildProps=Kt,e.buildSlots=Ft,e.compile=function(e,t={}){return rn(e,{...vn,...t,nodeTransforms:[...In,...t.nodeTransforms||[]],directiveTransforms:{...wn,...t.directiveTransforms||{}},transformHoist:null})},e.createArrayExpression=ee,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:X}},e.createBlockStatement=function(e){return{type:21,body:e,loc:X}},e.createCacheExpression=le,e.createCallExpression=se,e.createCompilerError=b,e.createCompoundExpression=re,e.createConditionalExpression=ce,e.createDOMCompilerError=En,e.createForLoopParams=At,e.createFunctionExpression=ie,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:X}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:u(e)?oe(e,!1,t):e}},e.createObjectExpression=te,e.createObjectProperty=ne,e.createReturnStatement=function(e){return{type:26,returns:e,loc:X}},e.createRoot=Z,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:X}},e.createSimpleExpression=oe,e.createStructuralDirectiveTransform=dt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:X}},e.createTransformContext=pt,e.createVNodeCall=Q,e.findDir=be,e.findProp=Te,e.generate=ht,e.generateCodeFrame=function(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const s=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let i=e-2;i<=e+2||n>r;i++){if(i<0||i>=o.length)continue;const c=i+1;s.push(`${c}${" ".repeat(3-String(c).length)}| ${o[i]}`);const l=o[i].length;if(i===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);s.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(i>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);s.push(" | "+"^".repeat(e))}r+=l+1}}break}return s.join("\n")},e.getBaseTransformPreset=on,e.getInnerRange=ye,e.hasDynamicKeyVBind=Ee,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&&he(t.content)&&!!n[t.content];case 8:return t.children.some(t=>d(t)&&e(t,n));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=Y,e.injectProp=Ie,e.isBindKey=Ne,e.isBuiltInType=ae,e.isCoreComponent=pe,e.isMemberExpression=ge,e.isSimpleIdentifier=he,e.isSlotOutlet=Ce,e.isTemplateNode=ke,e.isText=_e,e.isVSlot=Oe,e.locStub=X,e.noopDirectiveTransform=sn,e.parse=function(e,t={}){return Re(e,{...vn,...t})},e.parseJS=ue,e.parserOptions=vn,e.processExpression=Nt,e.processFor=wt,e.processIf=_t,e.processSlotOutlet=Yt,e.registerRuntimeHelpers=q,e.resolveComponentType=Gt,e.toValidAssetId=we,e.trackSlotScopes=Dt,e.trackVForSlotScopes=(e,t)=>{let n;if(ke(e)&&e.props.some(Oe)&&(n=be(e,"for"))){const e=n.parseResult=Rt(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=ut,e.transformBind=Zt,e.transformElement=Ut,e.transformExpression=(e,t)=>{if(5===e.type)e.content=Nt(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=Nt(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=Nt(n,t))}}},e.transformModel=tn,e.transformOn=Xt,e.transformStyle=xn,e.traverseNode=ft,e.walkJS=fe,e}({});
{
"name": "@vue/compiler-dom",
"version": "3.0.0-beta.5",
"version": "3.0.0-beta.6",
"description": "@vue/compiler-dom",

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

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

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