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