2024-01-29 09:26:07 +08:00

2 lines
54 KiB
JavaScript

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,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,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),s=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},a=()=>!1,p=/^on[^a-z]/,u=Object.assign,f=Array.isArray,d=e=>"string"==typeof e,h=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,g=t(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),y=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},v=/-(\w)/g,S=y((e=>e.replace(v,((e,t)=>t?t.toUpperCase():"")))),b=/\B([A-Z])/g,E=y((e=>e.replace(b,"-$1").toLowerCase())),_=y((e=>e.charAt(0).toUpperCase()+e.slice(1))),N=y((e=>e?`on${_(e)}`:""));function T(e){throw e}function x(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const k=Symbol(""),C=Symbol(""),I=Symbol(""),R=Symbol(""),M=Symbol(""),P=Symbol(""),w=Symbol(""),L=Symbol(""),$=Symbol(""),V=Symbol(""),A=Symbol(""),D=Symbol(""),B=Symbol(""),F=Symbol(""),j=Symbol(""),H=Symbol(""),W=Symbol(""),K=Symbol(""),U=Symbol(""),J=Symbol(""),G=Symbol(""),z=Symbol(""),Y=Symbol(""),q=Symbol(""),Z=Symbol(""),X=Symbol(""),Q=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe={[k]:"Fragment",[C]:"Teleport",[I]:"Suspense",[R]:"KeepAlive",[M]:"BaseTransition",[P]:"openBlock",[w]:"createBlock",[L]:"createElementBlock",[$]:"createVNode",[V]:"createElementVNode",[A]:"createCommentVNode",[D]:"createTextVNode",[B]:"createStaticVNode",[F]:"resolveComponent",[j]:"resolveDynamicComponent",[H]:"resolveDirective",[W]:"resolveFilter",[K]:"withDirectives",[U]:"renderList",[J]:"renderSlot",[G]:"createSlots",[z]:"toDisplayString",[Y]:"mergeProps",[q]:"normalizeClass",[Z]:"normalizeStyle",[X]:"normalizeProps",[Q]:"guardReactiveProps",[ee]:"toHandlers",[te]:"camelize",[ne]:"capitalize",[oe]:"toHandlerKey",[re]:"setBlockTracking",[se]:"pushScopeId",[ie]:"popScopeId",[ce]:"withCtx",[le]:"unref",[ae]:"isRef",[pe]:"withMemo",[ue]:"isMemoSame"};function de(e){Object.getOwnPropertySymbols(e).forEach((t=>{fe[t]=e[t]}))}const he={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function me(e,t=he){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ge(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=he){return e&&(c?(e.helper(P),e.helper(ze(e.inSSR,a))):e.helper(Ge(e.inSSR,a)),i&&e.helper(K)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function ye(e,t=he){return{type:17,loc:t,elements:e}}function ve(e,t=he){return{type:15,loc:t,properties:e}}function Se(e,t){return{type:16,loc:he,key:d(e)?be(e,!0):e,value:t}}function be(e,t=!1,n=he,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Ee(e,t=he){return{type:8,loc:t,children:e}}function _e(e,t=[],n=he){return{type:14,loc:n,callee:e,arguments:t}}function Ne(e,t,n=!1,o=!1,r=he){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Te(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:he}}function xe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:he}}function Oe(e){return{type:21,body:e,loc:he}}const ke=e=>4===e.type&&e.isStatic,Ce=(e,t)=>e===t||e===E(t);function Ie(e){return Ce(e,"Teleport")?C:Ce(e,"Suspense")?I:Ce(e,"KeepAlive")?R:Ce(e,"BaseTransition")?M:void 0}const Re=/^\d|[^\$\w]/,Me=e=>!Re.test(e),Pe=/[A-Za-z_$\xA0-\uFFFF]/,we=/[\.\?\w$\xA0-\uFFFF]/,Le=/\s+[.[]\s*|\s*[.[]\s+/g,$e=e=>{e=e.trim().replace(Le,(e=>e.trim()));let t=0,n=[],o=0,r=0,s=null;for(let i=0;i<e.length;i++){const c=e.charAt(i);switch(t){case 0:if("["===c)n.push(t),t=1,o++;else if("("===c)n.push(t),t=2,r++;else if(!(0===i?Pe:we).test(c))return!1;break;case 1:"'"===c||'"'===c||"`"===c?(n.push(t),t=3,s=c):"["===c?o++:"]"===c&&(--o||(t=n.pop()));break;case 2:if("'"===c||'"'===c||"`"===c)n.push(t),t=3,s=c;else if("("===c)r++;else if(")"===c){if(i===e.length-1)return!1;--r||(t=n.pop())}break;case 3:c===s&&(t=n.pop(),s=null)}}return!o&&!r};function Ve(e,t,n){const o={source:e.source.substr(t,n),start:Ae(e.start,e.source,t),end:e.end};return null!=n&&(o.end=Ae(e.start,e.source,t+n)),o}function Ae(e,t,n=t.length){return De(u({},e),t,n)}function De(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,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 Fe(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||!ke(e)||e.content!==t)}function He(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 Ke(e){return 7===e.type&&"slot"===e.name}function Ue(e){return 1===e.type&&3===e.tagType}function Je(e){return 1===e.type&&2===e.tagType}function Ge(e,t){return e||t?$:V}function ze(e,t){return e||t?w:L}const Ye=new Set([X,Q]);function qe(e,t=[]){if(e&&!d(e)&&14===e.type){const n=e.callee;if(!d(n)&&Ye.has(n))return qe(e.arguments[0],t.concat(e))}return[e,t]}function Ze(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!d(s)&&14===s.type){const e=qe(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||d(s))o=ve([t]);else if(14===s.type){const e=s.arguments[0];d(e)||15!==e.type?s.callee===ee?o=_e(n.helper(Y),[ve([t]),s]):s.arguments.unshift(ve([t])):e.properties.unshift(t),!o&&(o=s)}else if(15===s.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=s.properties.some((e=>4===e.key.type&&e.key.content===n))}e||s.properties.unshift(t),o=s}else o=_e(n.helper(Y),[ve([t]),s]),r&&r.callee===Q&&(r=i[i.length-2]);13===e.type?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function Xe(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function Qe(e){return 14===e.type&&e.callee===pe?e.arguments[1].returns:e}function et(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Ge(o,e.isComponent)),t(P),t(ze(o,e.isComponent)))}const tt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function nt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ot(e,t){const n=nt("MODE",t),o=nt(e,t);return 3===n?!0===o:!1!==o}function rt(e,t,n,...o){return ot(e,t)}const st=/&(gt|lt|amp|apos|quot);/g,it={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ct={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(st,((e,t)=>it[t])),onError:T,onWarn:x,comments:!1};function lt(e,t={}){const n=function(e,t){const n=u({},ct);let o;for(o in t)n[o]=void 0===t[o]?ct[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=_t(n);return me(at(n,0,[]),Nt(n,o))}function at(e,t,n){const o=Tt(n),r=o?o.ns:0,s=[];for(;!It(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&xt(i,e.options.delimiters[0]))c=St(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=xt(i,"\x3c!--")?ft(e):xt(i,"<!DOCTYPE")?dt(e):xt(i,"<![CDATA[")&&0!==r?ut(e,n):dt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Ot(e,3);continue}if(/[a-z]/i.test(i[2])){gt(e,1,o);continue}c=dt(e)}else/[a-z]/i.test(i[1])?(c=ht(e,n),ot("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&mt(e.name)))&&(c=c.children)):"?"===i[1]&&(c=dt(e));if(c||(c=bt(e,t)),f(c))for(let e=0;e<c.length;e++)pt(s,c[e]);else pt(s,c)}let i=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(e.inPre||2!==o.type)3!==o.type||e.options.comments||(i=!0,s[n]=null);else if(/[^\t\r\n\f ]/.test(o.content))t&&(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(i=!0,s[n]=null):o.content=" "}}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 pt(e,t){if(2===t.type){const n=Tt(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 ut(e,t){Ot(e,9);const n=at(e,3,t);return 0===e.source.length||Ot(e,3),n}function ft(e){const t=_t(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));)Ot(e,s-r+1),r=s+1;Ot(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Ot(e,e.source.length);return{type:3,content:n,loc:Nt(e,t)}}function dt(e){const t=_t(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Ot(e,e.source.length)):(o=e.source.slice(n,r),Ot(e,r+1)),{type:3,content:o,loc:Nt(e,t)}}function ht(e,t){const n=e.inPre,o=e.inVPre,r=Tt(t),s=gt(e,0,r),i=e.inPre&&!n,c=e.inVPre&&!o;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),c&&(e.inVPre=!1),s;t.push(s);const l=e.options.getTextMode(s,r),a=at(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&rt("COMPILER_INLINE_TEMPLATE",e)){const n=Nt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Rt(e.source,s.tag))gt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&xt(e.loc.source,"\x3c!--")}return s.loc=Nt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const mt=t("if,else,else-if,for,slot");function gt(e,t,n){const o=_t(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Ot(e,r[0].length),kt(e);const c=_t(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=yt(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,u(e,c),e.source=l,a=yt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=xt(e.source,"/>"),Ot(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===s?f=2:"template"===s?a.some((e=>7===e.type&&mt(e.name)))&&(f=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Ie(e)||o.isBuiltInComponent&&o.isBuiltInComponent(e)||o.isNativeTag&&!o.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type){if("is"===e.name&&e.value){if(e.value.content.startsWith("vue:"))return!0;if(rt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&je(e.arg,"is")&&rt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(f=1)),{type:1,ns:i,tag:s,tagType:f,props:a,isSelfClosing:p,children:[],loc:Nt(e,o),codegenNode:void 0}}function yt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!xt(e.source,">")&&!xt(e.source,"/>");){if(xt(e.source,"/")){Ot(e,1),kt(e);continue}const r=vt(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),kt(e)}return n}function vt(e,t){const n=_t(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o),t.add(o);{const e=/["'<]/g;let t;for(;t=e.exec(o););}let r;Ot(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(kt(e),Ot(e,1),kt(e),r=function(e){const t=_t(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Ot(e,1);const t=e.source.indexOf(o);-1===t?n=Et(e,e.source.length,4):(n=Et(e,t,4),Ot(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=Et(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Nt(e,t)}}(e));const s=Nt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=xt(o,"."),l=t[1]||(c||xt(o,":")?"bind":xt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Nt(e,Ct(e,n,s),Ct(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a.endsWith("]"),a=a.substr(1,a.length-2)):r&&(a+=t[3]||""),i={type:4,content:a,isStatic:p,constType:p?3:0,loc:c}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=Ae(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].substr(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&rt("COMPILER_V_BIND_SYNC",e,0)&&(l="model",a.splice(a.indexOf("sync"),1)),{type:7,name:l,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:i,modifiers:a,loc:s}}return!e.inVPre&&xt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function St(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=_t(e);Ot(e,n.length);const i=_t(e),c=_t(e),l=r-n.length,a=e.source.slice(0,l),p=Et(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&De(i,a,f);return De(c,a,l-(p.length-u.length-f)),Ot(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Nt(e,i,c)},loc:Nt(e,s)}}function bt(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];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=_t(e);return{type:2,content:Et(e,o,t),loc:Nt(e,r)}}function Et(e,t,n){const o=e.source.slice(0,t);return Ot(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function _t(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Nt(e,t,n){return{start:t,end:n=n||_t(e),source:e.originalSource.slice(t.offset,n.offset)}}function Tt(e){return e[e.length-1]}function xt(e,t){return e.startsWith(t)}function Ot(e,t){const{source:n}=e;De(e,n,t),e.source=n.slice(t)}function kt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Ot(e,t[0].length)}function Ct(e,t,n){return Ae(t,e.originalSource.slice(t.offset,n),n)}function It(e,t,n){const o=e.source;switch(t){case 0:if(xt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Rt(o,n[e].tag))return!0;break;case 1:case 2:{const e=Tt(n);if(e&&Rt(o,e.tag))return!0;break}case 3:if(xt(o,"]]>"))return!0}return!o}function Rt(e,t){return xt(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Mt(e,t){wt(e,t,Pt(e,e.children[0]))}function Pt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Je(t)}function wt(e,t,n=!1){let o=!0;const{children:r}=e,s=r.length;let i=0;for(let c=0;c<r.length;c++){const e=r[c];if(1===e.type&&0===e.tagType){const r=n?0:Lt(e,t);if(r>0){if(r<3&&(o=!1),r>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),i++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Bt(n);if((!o||512===o||1===o)&&At(e,t)>=2){const o=Dt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=Lt(e.content,t);n>0&&(n<3&&(o=!1),n>=2&&(e.codegenNode=t.hoist(e.codegenNode),i++))}if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,wt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)wt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)wt(e.branches[n],t,1===e.branches[n].children.length)}o&&i&&t.transformHoist&&t.transformHoist(r,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&f(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ye(e.codegenNode.children)))}function Lt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const r=e.codegenNode;if(13!==r.type)return 0;if(Bt(r))return n.set(e,0),0;{let o=3;const s=At(e,t);if(0===s)return n.set(e,0),0;s<o&&(o=s);for(let r=0;r<e.children.length;r++){const s=Lt(e.children[r],t);if(0===s)return n.set(e,0),0;s<o&&(o=s)}if(o>1)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"bind"===s.name&&s.exp){const r=Lt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(P),t.removeHelper(ze(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Ge(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Lt(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if(d(o)||h(o))continue;const r=Lt(o,t);if(0===r)return 0;r<s&&(s=r)}return s;default:return 0}}const $t=new Set([q,Z,X,Q]);function Vt(e,t){if(14===e.type&&!d(e.callee)&&$t.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Lt(n,t);if(14===n.type)return Vt(n,t)}return 0}function At(e,t){let n=3;const o=Dt(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=Lt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Lt(s,t):14===s.type?Vt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Dt(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 Ft(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:h=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:b=c,inline:E=!1,isTS:N=!1,onError:O=T,onWarn:k=x,compatConfig:C}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),R={selfName:I&&_(S(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:h,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:b,inline:E,isTS:N,onError:O,onWarn:k,compatConfig:C,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=R.helpers.get(e)||0;return R.helpers.set(e,t+1),e},removeHelper(e){const t=R.helpers.get(e);if(t){const n=t-1;n?R.helpers.set(e,n):R.helpers.delete(e)}},helperString:e=>`_${fe[R.helper(e)]}`,replaceNode(e){R.parent.children[R.childIndex]=R.currentNode=e},removeNode(e){const t=e?R.parent.children.indexOf(e):R.currentNode?R.childIndex:-1;e&&e!==R.currentNode?R.childIndex>t&&(R.childIndex--,R.onNodeRemoved()):(R.currentNode=null,R.onNodeRemoved()),R.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){d(e)&&(e=be(e)),R.hoists.push(e);const t=be(`_hoisted_${R.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>xe(R.cached++,e,t)};return R.filters=new Set,R}function jt(e,t){const n=Ft(e,t);Ht(e,n),t.hoistStatic&&Mt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Pt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&et(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ge(t,n(k),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Ht(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(A);break;case 5:t.ssr||t.helper(z);break;case 9:for(let n=0;n<e.branches.length;n++)Ht(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,Ht(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Wt(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(Ke))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}const Kt="/*#__PURE__*/";function Ut(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:c="Vue",runtimeModuleName:l="vue",ssr:a=!1,isTS:p=!1,inSSR:u=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssr:a,isTS:p,inSSR:u,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${fe[e]}`,push(e,t){f.code+=e},indent(){d(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:d(--f.indentLevel)},newline(){d(f.indentLevel)}};function d(e){f.push("\n"+" ".repeat(e))}return f}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:c,newline:l,ssr:a}=n,p=e.helpers.length>0,u=!s&&"module"!==o;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=e=>`${fe[e]}: _${fe[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[$,V,A,D,B].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} = `),Yt(e,t),o())})),t.pure=!1})(e.hoists,t),o(),n("return ")}(e,n);if(r(`function ${a?"ssrRender":"render"}(${(a?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),u&&(r("with (_ctx) {"),i(),p&&(r(`const { ${e.helpers.map((e=>`${fe[e]}: _${fe[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Jt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Jt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Jt(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),a||r("return "),e.codegenNode?Yt(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 Jt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?F:H);for(let c=0;c<e.length;c++){let n=e[c];const l=n.endsWith("__self");l&&(n=n.slice(0,-6)),o(`const ${Xe(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function Gt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),zt(e,t,n),n&&t.deindent(),t.push("]")}function zt(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)?Gt(c,t):Yt(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function Yt(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:Yt(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:qt(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Kt);n(`${o(z)}(`),Yt(e.content,t),n(")")}(e,t);break;case 12:Yt(e.codegenNode,t);break;case 8:Zt(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Kt);n(`${o(A)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:c,patchFlag:l,dynamicProps:a,directives:p,isBlock:u,disableTracking:f,isComponent:d}=e;p&&n(o(K)+"(");u&&n(`(${o(P)}(${f?"true":""}), `);r&&n(Kt);const h=u?ze(t.inSSR,d):Ge(t.inSSR,d);n(o(h)+"(",e),zt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,c,l,a]),t),n(")"),u&&n(")");p&&(n(", "),Yt(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=d(e.callee)?e.callee:o(e.callee);r&&n(Kt);n(s+"(",e),zt(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];Xt(e,t),n(": "),Yt(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Gt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:c,newline:l,isSlot:a}=e;a&&n(`_${fe[ce]}(`);n("(",e),f(s)?zt(s,t):s&&Yt(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),f(i)?Gt(i,t):Yt(i,t)):c&&Yt(c,t);(l||c)&&(r(),n("}"));a&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:c,deindent:l,newline:a}=t;if(4===n.type){const e=!Me(n.content);e&&i("("),qt(n,t),e&&i(")")}else i("("),Yt(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),Yt(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;Yt(r,t),p||t.indentLevel--;s&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(re)}(-1),`),i());n(`_cache[${e.index}] = `),Yt(e.value,t),e.isVNode&&(n(","),i(),n(`${o(re)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:zt(e.body,t,!0,!1)}}function qt(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function Zt(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];d(o)?t.push(o):Yt(o,t)}}function Xt(e,t){const{push:n}=t;if(8===e.type)n("["),Zt(e,t),n("]");else if(e.isStatic){n(Me(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function Qt(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)Qt("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&Qt(e,t)}));break;case"RestElement":Qt(e.argument,t);break;case"AssignmentPattern":Qt(e.left,t)}return t}const en=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function tn(e,t,n=!1,o=!1){return e}const nn=Wt(/^(if|else|else-if)$/,((e,t,n)=>on(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=sn(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=sn(t,i+e.branches.length-1,n)}}}))));function on(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=be("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=rn(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=rn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Ht(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function rn(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Be(e,"for")?[e]:e.children,userKey:Fe(e,"key")}}function sn(e,t,n){return e.condition?Te(e.condition,cn(e,t,n),_e(n.helper(A),['""',"true"])):cn(e,t,n)}function cn(e,t,n){const{helper:o}=n,r=Se("key",be(`${t}`,!1,he,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 Ze(e,r,n),e}{let t=64;return ge(n,o(k),ve([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=Qe(e);return 13===t.type&&et(t,n),Ze(t,r,n),e}}const ln=Wt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return an(e,t,n,(t=>{const s=_e(o(U),[t.source]),i=Be(e,"memo"),c=Fe(e,"key"),l=c&&(6===c.type?be(c.value.content,!0):c.exp),a=c?Se("key",l):null,p=4===t.source.type&&t.source.constType>0,u=p?64:c?128:256;return t.codegenNode=ge(n,o(k),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=Ue(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=Je(e)?e:u&&1===e.children.length&&Je(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&Ze(c,a,n)):d?c=ge(n,o(k),a?ve([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&Ze(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(P),r(ze(n.inSSR,c.isComponent))):r(Ge(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(P),o(ze(n.inSSR,c.isComponent))):o(Ge(n.inSSR,c.isComponent))),i){const e=Ne(mn(t.parseResult,[be("_cached")]));e.body=Oe([Ee(["const _memo = (",i.exp,")"]),Ee(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(ue)}(_cached, _memo)) return _cached`]),Ee(["const _item = ",c]),be("_item.memo = _memo"),be("return _item")]),s.arguments.push(e,be("_cache"),be(String(n.cached++)))}else s.arguments.push(Ne(mn(t.parseResult),c,!0))}}))}));function an(e,t,n,o){if(!t.exp)return;const r=dn(t.exp);if(!r)return;const{scopes:s}=n,{source:i,value:c,key:l,index:a}=r,p={type:11,loc:t.loc,source:i,valueAlias:c,keyAlias:l,objectIndexAlias:a,parseResult:r,children:Ue(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const pn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,un=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fn=/^\(|\)$/g;function dn(e,t){const n=e.loc,o=e.content,r=o.match(pn);if(!r)return;const[,s,i]=r,c={source:hn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(fn,"").trim();const a=s.indexOf(l),p=l.match(un);if(p){l=l.replace(un,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=hn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=hn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=hn(n,l,a)),c}function hn(e,t,n){return be(t,!1,Ve(e,n,t.length))}function mn({value:e,key:t,index:n},o=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||be("_".repeat(t+1),!1)))}([e,t,n,...o])}const gn=be("undefined",!1),yn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Be(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},vn=(e,t,n)=>Ne(e,t,!1,!0,t.length?t[0].loc:n);function Sn(e,t,n=vn){t.helper(ce);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Be(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!ke(e)&&(c=!0),s.push(Se(e||be("default",!0),n(t,o,r)))}let a=!1,p=!1;const u=[],f=new Set;for(let m=0;m<o.length;m++){const e=o[m];let r;if(!Ue(e)||!(r=Be(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=be("default",!0),exp:y}=r;let v;ke(g)?v=g?g.content:"default":c=!0;const S=n(y,d,h);let b,E,_;if(b=Be(e,"if"))c=!0,i.push(Te(b.exp,bn(g,S),gn));else if(E=Be(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Ue(e)&&Be(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=E.exp?Te(E.exp,bn(g,S),gn):bn(g,S)}}else if(_=Be(e,"for")){c=!0;const e=_.parseResult||dn(_.exp);e&&i.push(_e(t.helper(U),[e.source,Ne(mn(e),bn(g,S),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(Se(g,S))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Se("default",s)};a?u.length&&u.some((e=>_n(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:En(e.children)?3:1;let h=ve(s.concat(Se("_",be(d+"",!1))),r);return i.length&&(h=_e(t.helper(G),[h,ye(i)])),{slots:h,hasDynamicSlots:c}}function bn(e,t){return ve([Se("name",e),Se("fn",t)])}function En(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||En(n.children))return!0;break;case 9:if(En(n.branches))return!0;break;case 10:case 11:if(En(n.children))return!0}}return!1}function _n(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():_n(e.content))}const Nn=new WeakMap,Tn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?xn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=m(s)&&s.callee===j||s===C||s===I||!r&&("svg"===n||"foreignObject"===n||Fe(e,"key",!0));if(o.length>0){const n=On(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ye(o.map((e=>function(e,t){const n=[],o=Nn.get(e);o?n.push(t.helperString(o)):(t.helper(H),t.directives.add(e.name),n.push(Xe(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=be("true",!1,r);n.push(ve(e.modifiers.map((e=>Se(e,t))),r))}return ye(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===R&&(d=!0,f|=1024);if(r&&s!==C&&s!==R){const{slots:n,hasDynamicSlots:o}=Sn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==C){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Lt(n,t)&&(f|=1),c=r||2===o?n:e.children}else c=e.children}0!==f&&(l=String(f),p&&p.length&&(a=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(p))),e.codegenNode=ge(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function xn(e,t,n=!1){let{tag:o}=e;const r=In(o),s=Fe(e,"is");if(s)if(r||ot("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&be(s.value.content,!0):s.exp;if(e)return _e(t.helper(j),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&Be(e,"is");if(i&&i.exp)return _e(t.helper(j),[i.exp]);const c=Ie(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(F),t.components.add(o),Xe(o,"component"))}function On(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let u=0,f=!1,d=!1,m=!1,y=!1,v=!1,S=!1;const b=[],E=({key:e,value:n})=>{if(ke(e)){const o=e.content,r=(e=>p.test(e))(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||g(o)||(y=!0),r&&g(o)&&(S=!0),20===n.type||(4===n.type||8===n.type)&&Lt(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?m=!0:"key"===o||b.includes(o)||b.push(o),!i||"class"!==o&&"style"!==o||b.includes(o)||b.push(o)}else v=!0};for(let p=0;p<n.length;p++){const i=n[p];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=be(o?o.content:"",!0,o?o.loc:e);if("ref"===n&&(f=!0),"is"===n&&(In(r)||o&&o.content.startsWith("vue:")||ot("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Se(be(n,!0,Ve(e,0,n.length)),s))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,m="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&je(p,"is")&&(In(r)||ot("COMPILER_IS_ON_ELEMENT",t)))continue;if(m&&o)continue;if(!p&&(d||m)){if(v=!0,u)if(c.length&&(l.push(ve(kn(c),s)),c=[]),d){if(ot("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(ee),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(E),c.push(...n),r&&(a.push(i),h(r)&&Nn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&rt("COMPILER_V_FOR_REF",t)&&c.push(Se(be("refInFor",!0),be("true",!1)))}let _;if(l.length?(c.length&&l.push(ve(kn(c),s)),_=l.length>1?_e(t.helper(Y),l,s):l[0]):c.length&&(_=ve(kn(c),s)),v?u|=16:(d&&!i&&(u|=2),m&&!i&&(u|=4),b.length&&(u|=8),y&&(u|=32)),0!==u&&32!==u||!(f||S||a.length>0)||(u|=512),!t.inSSR&&_)switch(_.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<_.properties.length;t++){const r=_.properties[t].key;ke(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=_.properties[e],s=_.properties[n];o?_=_e(t.helper(X),[_]):(r&&!ke(r.value)&&(r.value=_e(t.helper(q),[r.value])),!s||ke(s.value)||!m&&17!==s.value.type||(s.value=_e(t.helper(Z),[s.value])));break;case 14:break;default:_=_e(t.helper(X),[_e(t.helper(Q),[_])])}return{props:_,directives:a,patchFlag:u,dynamicPropNames:b}}function kn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const s=r.key.content,i=t.get(s);i?("style"===s||"class"===s||s.startsWith("on"))&&Cn(i,r):(t.set(s,r),n.push(r))}return n}function Cn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ye([e.value,t.value],e.loc)}function In(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Rn=(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(Ne([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(s||i.push("{}"),n.length||i.push("undefined"),i.push("true")),e.codegenNode=_e(t.helper(J),i,o)}};function Mn(e,t){let n,o='"default"';const r=[];for(let s=0;s<e.props.length;s++){const t=e.props[s];6===t.type?t.value&&("name"===t.name?o=JSON.stringify(t.value.content):(t.name=S(t.name),r.push(t))):"bind"===t.name&&je(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&ke(t.arg)&&(t.arg.content=S(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=On(e,t,r);n=o}return{slotName:o,slotProps:n}}const Pn=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,wn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=be(N(S(i.content)),!0,i.loc)}else c=Ee([`${n.helperString(oe)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(oe)}(`),c.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let a=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const e=$e(l.content),t=!(e||Pn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Ee([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Se(c,l||be("() => {}",!1,r))]};return o&&(p=o(p)),a&&(p.props[0].value=n.cache(p.props[0].value)),p.props.forEach((e=>e.key.isHandlerKey=!0)),p},Ln=(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(te)}(${i.content})`:(i.children.unshift(`${n.helperString(te)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&$n(i,"."),r.includes("attr")&&$n(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Se(i,be("",!0,s))]}:{props:[Se(i,o)]}},$n=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Vn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(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||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(We(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Lt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(D),r)}}}}},An=new WeakSet,Dn=(e,t)=>{if(1===e.type&&Be(e,"once",!0)){if(An.has(e)||t.inVOnce)return;return An.add(e),t.inVOnce=!0,t.helper(re),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Bn=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Fn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!$e(i))return Fn();const c=r||be("modelValue",!0),l=r?ke(r)?`onUpdate:${r.content}`:Ee(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Ee([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const p=[Se(c,e.exp),Se(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Me(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?ke(r)?`${r.content}Modifiers`:Ee([r,' + "Modifiers"']):"modelModifiers";p.push(Se(n,be(`{ ${t} }`,!1,e.loc,2)))}return Fn(p)};function Fn(e=[]){return{props:e}}const jn=/[\w).+\-_$\]]/,Hn=(e,t)=>{ot("COMPILER_FILTER",t)&&(5===e.type&&Wn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Wn(e.exp,t)})))};function Wn(e,t){if(4===e.type)Kn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Kn(o,t):8===o.type?Wn(e,t):5===o.type&&Wn(o.content,t))}}function Kn(e,t){const n=e.content;let o,r,s,i,c=!1,l=!1,a=!1,p=!1,u=0,f=0,d=0,h=0,m=[];for(s=0;s<n.length;s++)if(r=o,o=n.charCodeAt(s),c)39===o&&92!==r&&(c=!1);else if(l)34===o&&92!==r&&(l=!1);else if(a)96===o&&92!==r&&(a=!1);else if(p)47===o&&92!==r&&(p=!1);else if(124!==o||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||u||f||d){switch(o){case 34:l=!0;break;case 39:c=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===o){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&jn.test(e)||(p=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):g();function g(){m.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&g(),m.length){for(s=0;s<m.length;s++)i=Un(i,m[s],t);e.content=i}}function Un(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${Xe(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${Xe(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Jn=new WeakSet,Gn=(e,t)=>{if(1===e.type){const n=Be(e,"memo");if(!n||Jn.has(e))return;return Jn.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&et(o,t),e.codegenNode=_e(t.helper(pe),[n.exp,Ne(void 0,o),"_cache",String(t.cached++)]))}}};function zn(e){return[[Dn,nn,Gn,ln,Hn,Rn,Tn,yn,Vn],{on:wn,bind:Ln,model:Bn}]}function Yn(e,t={}){const n=t.onError||T,o="module"===t.mode;!0===t.prefixIdentifiers?n(O(46)):o&&n(O(47));t.cacheHandlers&&n(O(48)),t.scopeId&&!o&&n(O(49));const r=d(e)?lt(e,t):e,[s,i]=zn();return jt(r,u({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:u({},i,t.directiveTransforms||{})})),Ut(r,u({},t,{prefixIdentifiers:false}))}const qn=()=>({props:[]}),Zn=Symbol(""),Xn=Symbol(""),Qn=Symbol(""),eo=Symbol(""),to=Symbol(""),no=Symbol(""),oo=Symbol(""),ro=Symbol(""),so=Symbol(""),io=Symbol("");let co;de({[Zn]:"vModelRadio",[Xn]:"vModelCheckbox",[Qn]:"vModelText",[eo]:"vModelSelect",[to]:"vModelDynamic",[no]:"withModifiers",[oo]:"withKeys",[ro]:"vShow",[so]:"Transition",[io]:"TransitionGroup"});const lo=t("style,iframe,script,noscript",!0),ao={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return co||(co=document.createElement("div")),t?(co.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,co.children[0].getAttribute("foo")):(co.innerHTML=e,co.textContent)},isBuiltInComponent:e=>Ce(e,"Transition")?so:Ce(e,"TransitionGroup")?io: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(lo(e))return 2}return 0}},po=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:be("style",!0,t.loc),exp:uo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},uo=(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 be(JSON.stringify(r),!1,t,3)};function fo(e,t){return O(e,t)}const ho=t("passive,once,capture"),mo=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),go=t("left,right"),yo=t("onkeyup,onkeydown,onkeypress",!0),vo=(e,t)=>ke(e)&&"onclick"===e.content.toLowerCase()?be(t,!0):4!==e.type?Ee(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,So=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},bo=[po],Eo={cloak:qn,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(be("innerHTML",!0,r),o||be("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(be("textContent",!0),o?_e(n.helperString(z),[o],r):be("",!0))]}},model:(e,t,n)=>{const o=Bn(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=Qn,i=!1;if("input"===r||s){const n=Fe(t,"type");if(n){if(7===n.type)e=to;else if(n.value)switch(n.value.content){case"radio":e=Zn;break;case"checkbox":e=Xn;break;case"file":i=!0}}else He(t)&&(e=to)}else"select"===r&&(e=eo);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)=>wn(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&rt("COMPILER_V_ON_NATIVE",n)||ho(o)?i.push(o):go(o)?ke(e)?yo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):mo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=vo(r,"onContextmenu")),c.includes("middle")&&(r=vo(r,"onMouseup")),c.length&&(s=_e(n.helper(no),[s,JSON.stringify(c)])),!i.length||ke(r)&&!yo(r.content)||(s=_e(n.helper(oo),[s,JSON.stringify(i)])),l.length){const e=l.map(_).join("");r=ke(r)?be(`${r.content}${e}`,!0):Ee(["(",r,`) + "${e}"`])}return{props:[Se(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(ro)})};return e.BASE_TRANSITION=M,e.CAMELIZE=te,e.CAPITALIZE=ne,e.CREATE_BLOCK=w,e.CREATE_COMMENT=A,e.CREATE_ELEMENT_BLOCK=L,e.CREATE_ELEMENT_VNODE=V,e.CREATE_SLOTS=G,e.CREATE_STATIC=B,e.CREATE_TEXT=D,e.CREATE_VNODE=$,e.DOMDirectiveTransforms=Eo,e.DOMNodeTransforms=bo,e.FRAGMENT=k,e.GUARD_REACTIVE_PROPS=Q,e.IS_MEMO_SAME=ue,e.IS_REF=ae,e.KEEP_ALIVE=R,e.MERGE_PROPS=Y,e.NORMALIZE_CLASS=q,e.NORMALIZE_PROPS=X,e.NORMALIZE_STYLE=Z,e.OPEN_BLOCK=P,e.POP_SCOPE_ID=ie,e.PUSH_SCOPE_ID=se,e.RENDER_LIST=U,e.RENDER_SLOT=J,e.RESOLVE_COMPONENT=F,e.RESOLVE_DIRECTIVE=H,e.RESOLVE_DYNAMIC_COMPONENT=j,e.RESOLVE_FILTER=W,e.SET_BLOCK_TRACKING=re,e.SUSPENSE=I,e.TELEPORT=C,e.TO_DISPLAY_STRING=z,e.TO_HANDLERS=ee,e.TO_HANDLER_KEY=oe,e.TRANSITION=so,e.TRANSITION_GROUP=io,e.UNREF=le,e.V_MODEL_CHECKBOX=Xn,e.V_MODEL_DYNAMIC=to,e.V_MODEL_RADIO=Zn,e.V_MODEL_SELECT=eo,e.V_MODEL_TEXT=Qn,e.V_ON_WITH_KEYS=oo,e.V_ON_WITH_MODIFIERS=no,e.V_SHOW=ro,e.WITH_CTX=ce,e.WITH_DIRECTIVES=K,e.WITH_MEMO=pe,e.advancePositionWithClone=Ae,e.advancePositionWithMutation=De,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=Yn,e.baseParse=lt,e.buildProps=On,e.buildSlots=Sn,e.checkCompatEnabled=rt,e.compile=function(e,t={}){return Yn(e,u({},ao,t,{nodeTransforms:[So,...bo,...t.nodeTransforms||[]],directiveTransforms:u({},Eo,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=ye,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:he}},e.createBlockStatement=Oe,e.createCacheExpression=xe,e.createCallExpression=_e,e.createCompilerError=O,e.createCompoundExpression=Ee,e.createConditionalExpression=Te,e.createDOMCompilerError=fo,e.createForLoopParams=mn,e.createFunctionExpression=Ne,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:he}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:d(e)?be(e,!1,t):e}},e.createObjectExpression=ve,e.createObjectProperty=Se,e.createReturnStatement=function(e){return{type:26,returns:e,loc:he}},e.createRoot=me,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:he}},e.createSimpleExpression=be,e.createStructuralDirectiveTransform=Wt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:he}},e.createTransformContext=Ft,e.createVNodeCall=ge,e.extractIdentifiers=Qt,e.findDir=Be,e.findProp=Fe,e.generate=Ut,e.generateCodeFrame=function(e,t=0,n=e.length){let o=e.split(/(\r?\n)/);const r=o.filter(((e,t)=>t%2==1));o=o.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let c=0;c<o.length;c++)if(s+=o[c].length+(r[c]&&r[c].length||0),s>=t){for(let e=c-2;e<=c+2||n>s;e++){if(e<0||e>=o.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${o[e]}`);const a=o[e].length,p=r[e]&&r[e].length||0;if(e===c){const e=t-(s-(a+p)),o=Math.max(1,n>s?a-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(e>c){if(n>s){const e=Math.max(Math.min(n-s,a),1);i.push(" | "+"^".repeat(e))}s+=a+p}}break}return i.join("\n")},e.getBaseTransformPreset=zn,e.getInnerRange=Ve,e.getMemoedVNodeCall=Qe,e.getVNodeBlockHelper=ze,e.getVNodeHelper=Ge,e.hasDynamicKeyVBind=He,e.hasScopeRef=function e(t,n){if(!t||0===Object.keys(n).length)return!1;switch(t.type){case 1:for(let o=0;o<t.props.length;o++){const r=t.props[o];if(7===r.type&&(e(r.arg,n)||e(r.exp,n)))return!0}return t.children.some((t=>e(t,n)));case 11:return!!e(t.source,n)||t.children.some((t=>e(t,n)));case 9:return t.branches.some((t=>e(t,n)));case 10:return!!e(t.condition,n)||t.children.some((t=>e(t,n)));case 4:return!t.isStatic&&Me(t.content)&&!!n[t.content];case 8:return t.children.some((t=>m(t)&&e(t,n)));case 5:case 12:return e(t.content,n);case 2:case 3:default:return!1}},e.helperNameMap=fe,e.injectProp=Ze,e.isBindKey=je,e.isBuiltInType=Ce,e.isCoreComponent=Ie,e.isFunctionType=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),e.isInDestructureAssignment=function(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},e.isMemberExpression=$e,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=Me,e.isSlotOutlet=Je,e.isStaticExp=ke,e.isStaticProperty=en,e.isStaticPropertyKey=(e,t)=>en(t)&&t.key===e,e.isTemplateNode=Ue,e.isText=We,e.isVSlot=Ke,e.locStub=he,e.makeBlock=et,e.noopDirectiveTransform=qn,e.parse=function(e,t={}){return lt(e,u({},ao,t))},e.parserOptions=ao,e.processExpression=tn,e.processFor=an,e.processIf=on,e.processSlotOutlet=Mn,e.registerRuntimeHelpers=de,e.resolveComponentType=xn,e.toValidAssetId=Xe,e.trackSlotScopes=yn,e.trackVForSlotScopes=(e,t)=>{let n;if(Ue(e)&&e.props.some(Ke)&&(n=Be(e,"for"))){const e=n.parseResult=dn(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=jt,e.transformBind=Ln,e.transformElement=Tn,e.transformExpression=(e,t)=>{if(5===e.type)e.content=tn(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=tn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=tn(n))}}},e.transformModel=Bn,e.transformOn=wn,e.transformStyle=po,e.traverseNode=Ht,e.walkBlockDeclarations=function(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of Qt(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}},e.walkFunctionParams=function(e,t){for(const n of e.params)for(const e of Qt(n))t(e)},e.walkIdentifiers=function(e,t,n=!1,o=[],r=Object.create(null)){},e.warnDeprecation=function(e,t,n,...o){if("suppress-warning"===nt(e,t))return;const{message:r,link:s}=tt[e],i=`(deprecation ${e}) ${"function"==typeof r?r(...o):r}${s?`\n Details: ${s}`:""}`,c=new SyntaxError(i);c.code=e,n&&(c.loc=n),t.onWarn(c)},Object.defineProperty(e,"__esModule",{value:!0}),e}({});