Studying all day long)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
55 KiB

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=e=>p.test(e),f=Object.assign,d=Array.isArray,h=e=>"string"==typeof e,m=e=>"symbol"==typeof e,g=e=>null!==e&&"object"==typeof e,y=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b=/-(\w)/g,E=S((e=>e.replace(b,((e,t)=>t?t.toUpperCase():"")))),N=/\B([A-Z])/g,_=S((e=>e.replace(N,"-$1").toLowerCase())),x=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),T=S((e=>e?`on${x(e)}`:""));function k(e){throw e}function O(e){}function C(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const I=Symbol(""),M=Symbol(""),R=Symbol(""),P=Symbol(""),w=Symbol(""),$=Symbol(""),L=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=Symbol(""),de=Symbol(""),he={[I]:"Fragment",[M]:"Teleport",[R]:"Suspense",[P]:"KeepAlive",[w]:"BaseTransition",[$]:"openBlock",[L]:"createBlock",[V]:"createElementBlock",[A]:"createVNode",[D]:"createElementVNode",[B]:"createCommentVNode",[F]:"createTextVNode",[j]:"createStaticVNode",[H]:"resolveComponent",[W]:"resolveDynamicComponent",[K]:"resolveDirective",[U]:"resolveFilter",[J]:"withDirectives",[G]:"renderList",[z]:"renderSlot",[Y]:"createSlots",[q]:"toDisplayString",[Z]:"mergeProps",[X]:"normalizeClass",[Q]:"normalizeStyle",[ee]:"normalizeProps",[te]:"guardReactiveProps",[ne]:"toHandlers",[oe]:"camelize",[re]:"capitalize",[se]:"toHandlerKey",[ie]:"setBlockTracking",[ce]:"pushScopeId",[le]:"popScopeId",[ae]:"withCtx",[pe]:"unref",[ue]:"isRef",[fe]:"withMemo",[de]:"isMemoSame"};function me(e){Object.getOwnPropertySymbols(e).forEach((t=>{he[t]=e[t]}))}const ge={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ye(e,t=ge){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ve(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=ge){return e&&(c?(e.helper($),e.helper(Xe(e.inSSR,a))):e.helper(Ze(e.inSSR,a)),i&&e.helper(J)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function Se(e,t=ge){return{type:17,loc:t,elements:e}}function be(e,t=ge){return{type:15,loc:t,properties:e}}function Ee(e,t){return{type:16,loc:ge,key:h(e)?Ne(e,!0):e,value:t}}function Ne(e,t=!1,n=ge,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function _e(e,t=ge){return{type:8,loc:t,children:e}}function xe(e,t=[],n=ge){return{type:14,loc:n,callee:e,arguments:t}}function Te(e,t,n=!1,o=!1,r=ge){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ke(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:ge}}function Oe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:ge}}function Ce(e){return{type:21,body:e,loc:ge}}const Ie=e=>4===e.type&&e.isStatic,Me=(e,t)=>e===t||e===_(t);function Re(e){return Me(e,"Teleport")?M:Me(e,"Suspense")?R:Me(e,"KeepAlive")?P:Me(e,"BaseTransition")?w:void 0}const Pe=/^\d|[^\$\w]/,we=e=>!Pe.test(e),$e=/[A-Za-z_$\xA0-\uFFFF]/,Le=/[\.\?\w$\xA0-\uFFFF]/,Ve=/\s+[.[]\s*|\s*[.[]\s+/g,Ae=e=>{e=e.trim().replace(Ve,(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?$e:Le).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},De=l,Be=Ae;function Fe(e,t,n){const o={source:e.source.slice(t,t+n),start:je(e.start,e.source,t),end:e.end};return null!=n&&(o.end=je(e.start,e.source,t+n)),o}function je(e,t,n=t.length){return He(f({},e),t,n)}function He(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 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)&&(h(t)?r.name===t:t.test(r.name)))return r}}function Ke(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const s=e.props[r];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||o))return s}else if("bind"===s.name&&(s.exp||o)&&Ue(s.arg,t))return s}}function Ue(e,t){return!(!e||!Ie(e)||e.content!==t)}function Je(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Ge(e){return 5===e.type||2===e.type}function ze(e){return 7===e.type&&"slot"===e.name}function Ye(e){return 1===e.type&&3===e.tagType}function qe(e){return 1===e.type&&2===e.tagType}function Ze(e,t){return e||t?A:D}function Xe(e,t){return e||t?L:V}const Qe=new Set([ee,te]);function et(e,t=[]){if(e&&!h(e)&&14===e.type){const n=e.callee;if(!h(n)&&Qe.has(n))return et(e.arguments[0],t.concat(e))}return[e,t]}function tt(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!h(s)&&14===s.type){const e=et(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||h(s))o=be([t]);else if(14===s.type){const e=s.arguments[0];h(e)||15!==e.type?s.callee===ne?o=xe(n.helper(Z),[be([t]),s]):s.arguments.unshift(be([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=xe(n.helper(Z),[be([t]),s]),r&&r.callee===te&&(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 nt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function ot(e){return 14===e.type&&e.callee===fe?e.arguments[1].returns:e}function rt(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(Ze(o,e.isComponent)),t($),t(Xe(o,e.isComponent)))}const st={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-migration.vuejs.org/breaking-changes/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-migration.vuejs.org/breaking-changes/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-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/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-migration.vuejs.org/breaking-changes/v-if-v-for.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-migration.vuejs.org/breaking-changes/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-migration.vuejs.org/breaking-changes/filters.html"}};function it(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ct(e,t){const n=it("MODE",t),o=it(e,t);return 3===n?!0===o:!1!==o}function lt(e,t,n,...o){return ct(e,t)}const at=/&(gt|lt|amp|apos|quot);/g,pt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ut={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(at,((e,t)=>pt[t])),onError:k,onWarn:O,comments:!1};function ft(e,t={}){const n=function(e,t){const n=f({},ut);let o;for(o in t)n[o]=void 0===t[o]?ut[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=kt(n);return ye(dt(n,0,[]),Ot(n,o))}function dt(e,t,n){const o=Ct(n),r=o?o.ns:0,s=[];for(;!wt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&It(i,e.options.delimiters[0]))c=_t(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=It(i,"\x3c!--")?gt(e):It(i,"<!DOCTYPE")?yt(e):It(i,"<![CDATA[")&&0!==r?mt(e,n):yt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){Mt(e,3);continue}if(/[a-z]/i.test(i[2])){bt(e,1,o);continue}c=yt(e)}else/[a-z]/i.test(i[1])?(c=vt(e,n),ct("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&St(e.name)))&&(c=c.children)):"?"===i[1]&&(c=yt(e));if(c||(c=xt(e,t)),d(c))for(let e=0;e<c.length;e++)ht(s,c[e]);else ht(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 ht(e,t){if(2===t.type){const n=Ct(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 mt(e,t){Mt(e,9);const n=dt(e,3,t);return 0===e.source.length||Mt(e,3),n}function gt(e){const t=kt(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));)Mt(e,s-r+1),r=s+1;Mt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),Mt(e,e.source.length);return{type:3,content:n,loc:Ot(e,t)}}function yt(e){const t=kt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),Mt(e,e.source.length)):(o=e.source.slice(n,r),Mt(e,r+1)),{type:3,content:o,loc:Ot(e,t)}}function vt(e,t){const n=e.inPre,o=e.inVPre,r=Ct(t),s=bt(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=dt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&lt("COMPILER_INLINE_TEMPLATE",e)){const n=Ot(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,$t(e.source,s.tag))bt(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&It(e.loc.source,"\x3c!--")}return s.loc=Ot(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const St=t("if,else,else-if,for,slot");function bt(e,t,n){const o=kt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);Mt(e,r[0].length),Rt(e);const c=kt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=Et(e,t);0===t&&!e.inVPre&&a.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,f(e,c),e.source=l,a=Et(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=It(e.source,"/>"),Mt(e,p?2:1)),1===t)return;let u=0;return e.inVPre||("slot"===s?u=2:"template"===s?a.some((e=>7===e.type&&St(e.name)))&&(u=3):function(e,t,n){const o=n.options;if(o.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Re(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(lt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ue(e.arg,"is")&&lt("COMPILER_IS_ON_ELEMENT",n))return!0}}}(s,a,e)&&(u=1)),{type:1,ns:i,tag:s,tagType:u,props:a,isSelfClosing:p,children:[],loc:Ot(e,o),codegenNode:void 0}}function Et(e,t){const n=[],o=new Set;for(;e.source.length>0&&!It(e.source,">")&&!It(e.source,"/>");){if(It(e.source,"/")){Mt(e,1),Rt(e);continue}const r=Nt(e,o);6===r.type&&r.value&&"class"===r.name&&(r.value.content=r.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source),Rt(e)}return n}function Nt(e,t){const n=kt(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;Mt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Rt(e),Mt(e,1),Rt(e),r=function(e){const t=kt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){Mt(e,1);const t=e.source.indexOf(o);-1===t?n=Tt(e,e.source.length,4):(n=Tt(e,t,4),Mt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=Tt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Ot(e,t)}}(e));const s=Ot(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=It(o,"."),l=t[1]||(c||It(o,":")?"bind":It(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Ot(e,Pt(e,n,s),Pt(e,n,s+t[2].length+(r&&t[3]||"").length));let a=t[2],p=!0;a.startsWith("[")?(p=!1,a=a.endsWith("]")?a.slice(1,a.length-1):a.slice(1)):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=je(e.start,r.content),e.source=e.source.slice(1,-1)}const a=t[3]?t[3].slice(1).split("."):[];return c&&a.push("prop"),"bind"===l&&i&&a.includes("sync")&&lt("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&&It(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function _t(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=kt(e);Mt(e,n.length);const i=kt(e),c=kt(e),l=r-n.length,a=e.source.slice(0,l),p=Tt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&He(i,a,f);return He(c,a,l-(p.length-u.length-f)),Mt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Ot(e,i,c)},loc:Ot(e,s)}}function xt(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=kt(e);return{type:2,content:Tt(e,o,t),loc:Ot(e,r)}}function Tt(e,t,n){const o=e.source.slice(0,t);return Mt(e,t),2!==n&&3!==n&&o.includes("&")?e.options.decodeEntities(o,4===n):o}function kt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Ot(e,t,n){return{start:t,end:n=n||kt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Ct(e){return e[e.length-1]}function It(e,t){return e.startsWith(t)}function Mt(e,t){const{source:n}=e;He(e,n,t),e.source=n.slice(t)}function Rt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&Mt(e,t[0].length)}function Pt(e,t,n){return je(t,e.originalSource.slice(t.offset,n),n)}function wt(e,t,n){const o=e.source;switch(t){case 0:if(It(o,"</"))for(let e=n.length-1;e>=0;--e)if($t(o,n[e].tag))return!0;break;case 1:case 2:{const e=Ct(n);if(e&&$t(o,e.tag))return!0;break}case 3:if(It(o,"]]>"))return!0}return!o}function $t(e,t){return It(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Lt(e,t){At(e,t,Vt(e,e.children[0]))}function Vt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!qe(t)}function At(e,t,n=!1){const{children:o}=e,r=o.length;let s=0;for(let i=0;i<o.length;i++){const e=o[i];if(1===e.type&&0===e.tagType){const o=n?0:Dt(e,t);if(o>0){if(o>=2){e.codegenNode.patchFlag="-1",e.codegenNode=t.hoist(e.codegenNode),s++;continue}}else{const n=e.codegenNode;if(13===n.type){const o=Wt(n);if((!o||512===o||1===o)&&jt(e,t)>=2){const o=Ht(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else 12===e.type&&Dt(e.content,t)>=2&&(e.codegenNode=t.hoist(e.codegenNode),s++);if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,At(e,t),n&&t.scopes.vSlot--}else if(11===e.type)At(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)At(e.branches[n],t,1===e.branches[n].children.length)}s&&t.transformHoist&&t.transformHoist(o,t,e),s&&s===r&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&d(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(Se(e.codegenNode.children)))}function Dt(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(r.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Wt(r))return n.set(e,0),0;{let o=3;const s=jt(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=Dt(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=Dt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}if(r.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return n.set(e,0),0}t.removeHelper($),t.removeHelper(Xe(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Ze(t.inSSR,r.isComponent))}return n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Dt(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(h(o)||m(o))continue;const r=Dt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Bt=new Set([X,Q,ee,te]);function Ft(e,t){if(14===e.type&&!h(e.callee)&&Bt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return Dt(n,t);if(14===n.type)return Ft(n,t)}return 0}function jt(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=Dt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?Dt(s,t):14===s.type?Ft(s,t):0,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 Wt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Kt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:r=!1,nodeTransforms:s=[],directiveTransforms:i={},transformHoist:a=null,isBuiltInComponent:p=l,isCustomElement:u=l,expressionPlugins:f=[],scopeId:d=null,slotted:m=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:v="",bindingMetadata:S=c,inline:b=!1,isTS:N=!1,onError:_=k,onWarn:T=O,compatConfig:C}){const I=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),M={selfName:I&&x(E(I[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:r,nodeTransforms:s,directiveTransforms:i,transformHoist:a,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:m,ssr:g,inSSR:y,ssrCssVars:v,bindingMetadata:S,inline:b,isTS:N,onError:_,onWarn:T,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=M.helpers.get(e)||0;return M.helpers.set(e,t+1),e},removeHelper(e){const t=M.helpers.get(e);if(t){const n=t-1;n?M.helpers.set(e,n):M.helpers.delete(e)}},helperString:e=>`_${he[M.helper(e)]}`,replaceNode(e){M.parent.children[M.childIndex]=M.currentNode=e},removeNode(e){const t=e?M.parent.children.indexOf(e):M.currentNode?M.childIndex:-1;e&&e!==M.currentNode?M.childIndex>t&&(M.childIndex--,M.onNodeRemoved()):(M.currentNode=null,M.onNodeRemoved()),M.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){h(e)&&(e=Ne(e)),M.hoists.push(e);const t=Ne(`_hoisted_${M.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe(M.cached++,e,t)};return M.filters=new Set,M}function Ut(e,t){const n=Kt(e,t);Jt(e,n),t.hoistStatic&&Lt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Vt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&rt(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ve(t,n(I),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 Jt(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&&(d(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(q);break;case 9:for(let n=0;n<e.branches.length;n++)Jt(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];h(r)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Jt(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function Gt(e,t){const n=h(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}}}const zt="/*#__PURE__*/",Yt=e=>`${he[e]}: _${he[e]}`;function qt(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",ssrRuntimeModuleName:a="vue/server-renderer",ssr:p=!1,isTS:u=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:c,runtimeModuleName:l,ssrRuntimeModuleName:a,ssr:p,isTS:u,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${he[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}(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;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[A,D,B,F,j].filter((t=>e.helpers.includes(t))).map(Yt).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o}=t;o();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),en(s,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(Yt).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(Zt(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Zt(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Zt(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?en(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 Zt(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?U:"component"===t?H:K);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 ${nt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function Xt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Qt(e,t,n),n&&t.deindent(),t.push("]")}function Qt(e,t,n=!1,o=!0){const{push:r,newline:s}=t;for(let i=0;i<e.length;i++){const c=e[i];h(c)?r(c):d(c)?Xt(c,t):en(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function en(e,t){if(h(e))t.push(e);else if(m(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:en(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:tn(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(zt);n(`${o(q)}(`),en(e.content,t),n(")")}(e,t);break;case 8:nn(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(zt);n(`${o(B)}(${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(J)+"(");u&&n(`(${o($)}(${f?"true":""}), `);r&&n(zt);const h=u?Xe(t.inSSR,d):Ze(t.inSSR,d);n(o(h)+"(",e),Qt(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(", "),en(p,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=h(e.callee)?e.callee:o(e.callee);r&&n(zt);n(s+"(",e),Qt(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];on(e,t),n(": "),en(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){Xt(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(`_${he[ae]}(`);n("(",e),d(s)?Qt(s,t):s&&en(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),d(i)?Xt(i,t):en(i,t)):c&&en(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=!we(n.content);e&&i("("),tn(n,t),e&&i(")")}else i("("),en(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),en(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;en(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(ie)}(-1),`),i());n(`_cache[${e.index}] = `),en(e.value,t),e.isVNode&&(n(","),i(),n(`${o(ie)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:Qt(e.body,t,!0,!1)}}function tn(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function nn(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];h(o)?t.push(o):en(o,t)}}function on(e,t){const{push:n}=t;if(8===e.type)n("["),nn(e,t),n("]");else if(e.isStatic){n(we(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function rn(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)rn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&rn(e,t)}));break;case"RestElement":rn(e.argument,t);break;case"AssignmentPattern":rn(e.left,t)}return t}const sn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed;function cn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const ln=Gt(/^(if|else|else-if)$/,((e,t,n)=>an(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=un(t,i,n);else{const o=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);o.alternate=un(t,i+e.branches.length-1,n)}}}))));function an(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=Ne("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=pn(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=pn(e,t);i.branches.push(r);const s=o&&o(i,r,!1);Jt(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function pn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!We(e,"for")?e.children:[e],userKey:Ke(e,"key"),isTemplateIf:n}}function un(e,t,n){return e.condition?ke(e.condition,fn(e,t,n),xe(n.helper(B),['""',"true"])):fn(e,t,n)}function fn(e,t,n){const{helper:o}=n,r=Ee("key",Ne(`${t}`,!1,ge,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 tt(e,r,n),e}{let t=64;return ve(n,o(I),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=ot(e);return 13===t.type&&rt(t,n),tt(t,r,n),e}}const dn=Gt("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return hn(e,t,n,(t=>{const s=xe(o(G),[t.source]),i=Ye(e),c=We(e,"memo"),l=Ke(e,"key"),a=l&&(6===l.type?Ne(l.value.content,!0):l.exp),p=l?Ee("key",a):null,u=4===t.source.type&&t.source.constType>0,f=u?64:l?128:256;return t.codegenNode=ve(n,o(I),void 0,s,f+"",void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:f}=t,d=1!==f.length||1!==f[0].type,h=qe(e)?e:i&&1===e.children.length&&qe(e.children[0])?e.children[0]:null;if(h?(l=h.codegenNode,i&&p&&tt(l,p,n)):d?l=ve(n,o(I),p?be([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(l=f[0].codegenNode,i&&p&&tt(l,p,n),l.isBlock!==!u&&(l.isBlock?(r($),r(Xe(n.inSSR,l.isComponent))):r(Ze(n.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(o($),o(Xe(n.inSSR,l.isComponent))):o(Ze(n.inSSR,l.isComponent))),c){const e=Te(bn(t.parseResult,[Ne("_cached")]));e.body=Ce([_e(["const _memo = (",c.exp,")"]),_e(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(de)}(_cached, _memo)) return _cached`]),_e(["const _item = ",l]),Ne("_item.memo = _memo"),Ne("return _item")]),s.arguments.push(e,Ne("_cache"),Ne(String(n.cached++)))}else s.arguments.push(Te(bn(t.parseResult),l,!0))}}))}));function hn(e,t,n,o){if(!t.exp)return;const r=vn(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:Ye(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const mn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,gn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,yn=/^\(|\)$/g;function vn(e,t){const n=e.loc,o=e.content,r=o.match(mn);if(!r)return;const[,s,i]=r,c={source:Sn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(yn,"").trim();const a=s.indexOf(l),p=l.match(gn);if(p){l=l.replace(gn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Sn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Sn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Sn(n,l,a)),c}function Sn(e,t,n){return Ne(t,!1,Fe(e,n,t.length))}function bn({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||Ne("_".repeat(t+1),!1)))}([e,t,n,...o])}const En=Ne("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--}}},_n=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function xn(e,t,n=_n){t.helper(ae);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=We(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Ie(e)&&(c=!0),s.push(Ee(e||Ne("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(!Ye(e)||!(r=We(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=Ne("default",!0),exp:y}=r;let v;Ie(g)?v=g?g.content:"default":c=!0;const S=n(y,d,h);let b,E,N;if(b=We(e,"if"))c=!0,i.push(ke(b.exp,Tn(g,S),En));else if(E=We(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&Ye(e)&&We(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?ke(E.exp,Tn(g,S),En):Tn(g,S)}}else if(N=We(e,"for")){c=!0;const e=N.parseResult||vn(N.exp);e&&i.push(xe(t.helper(G),[e.source,Te(bn(e),Tn(g,S),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(Ee(g,S))}}if(!l){const e=(e,o)=>{const s=n(e,o,r);return t.compatConfig&&(s.isNonScopedSlot=!0),Ee("default",s)};a?u.length&&u.some((e=>On(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:kn(e.children)?3:1;let h=be(s.concat(Ee("_",Ne(d+"",!1))),r);return i.length&&(h=xe(t.helper(Y),[h,Se(i)])),{slots:h,hasDynamicSlots:c}}function Tn(e,t){return be([Ee("name",e),Ee("fn",t)])}function kn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||kn(n.children))return!0;break;case 9:if(kn(n.branches))return!0;break;case 10:case 11:if(kn(n.children))return!0}}return!1}function On(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():On(e.content))}const Cn=new WeakMap,In=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,r=1===e.tagType;let s=r?Mn(e,t):`"${n}"`;const i=g(s)&&s.callee===W;let c,l,a,p,u,f,d=0,h=i||s===M||s===R||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=Rn(e,t,void 0,r,i);c=n.props,d=n.patchFlag,u=n.dynamicPropNames;const o=n.directives;f=o&&o.length?Se(o.map((e=>$n(e,t)))):void 0,n.shouldUseBlock&&(h=!0)}if(e.children.length>0){s===P&&(h=!0,d|=1024);if(r&&s!==M&&s!==P){const{slots:n,hasDynamicSlots:o}=xn(e,t);l=n,o&&(d|=1024)}else if(1===e.children.length&&s!==M){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Dt(n,t)&&(d|=1),l=r||2===o?n:e.children}else l=e.children}0!==d&&(a=String(d),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=ve(t,s,c,l,a,p,f,!!h,!1,r,e.loc)};function Mn(e,t,n=!1){let{tag:o}=e;const r=Ln(o),s=Ke(e,"is");if(s)if(r||ct("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&Ne(s.value.content,!0):s.exp;if(e)return xe(t.helper(W),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&We(e,"is");if(i&&i.exp)return xe(t.helper(W),[i.exp]);const c=Re(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(H),t.components.add(o),nt(o,"component"))}function Rn(e,t,n=e.props,o,r,s=!1){const{tag:i,loc:c,children:l}=e;let a=[];const p=[],f=[],d=l.length>0;let h=!1,g=0,S=!1,b=!1,E=!1,N=!1,_=!1,x=!1;const T=[],k=({key:e,value:n})=>{if(Ie(e)){const s=e.content,i=u(s);if(!i||o&&!r||"onclick"===s.toLowerCase()||"onUpdate:modelValue"===s||y(s)||(N=!0),i&&y(s)&&(x=!0),20===n.type||(4===n.type||8===n.type)&&Dt(n,t)>0)return;"ref"===s?S=!0:"class"===s?b=!0:"style"===s?E=!0:"key"===s||T.includes(s)||T.push(s),!o||"class"!==s&&"style"!==s||T.includes(s)||T.push(s)}else _=!0};for(let u=0;u<n.length;u++){const o=n[u];if(6===o.type){const{loc:e,name:n,value:r}=o;let s=!0;if("ref"===n&&(S=!0,t.scopes.vFor>0&&a.push(Ee(Ne("ref_for",!0),Ne("true")))),"is"===n&&(Ln(i)||r&&r.content.startsWith("vue:")||ct("COMPILER_IS_ON_ELEMENT",t)))continue;a.push(Ee(Ne(n,!0,Fe(e,0,n.length)),Ne(r?r.content:"",s,r?r.loc:e)))}else{const{name:n,arg:r,exp:l,loc:u}=o,g="bind"===n,y="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Ue(r,"is")&&(Ln(i)||ct("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&s)continue;if((g&&Ue(r,"key")||y&&d&&Ue(r,"vue:before-update"))&&(h=!0),g&&Ue(r,"ref")&&t.scopes.vFor>0&&a.push(Ee(Ne("ref_for",!0),Ne("true"))),!r&&(g||y)){if(_=!0,l)if(a.length&&(p.push(be(Pn(a),c)),a=[]),g){if(ct("COMPILER_V_BIND_OBJECT_ORDER",t)){p.unshift(l);continue}p.push(l)}else p.push({type:14,loc:u,callee:t.helper(ne),arguments:[l]});continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:r}=S(o,e,t);!s&&n.forEach(k),a.push(...n),r&&(f.push(o),m(r)&&Cn.set(o,r))}else v(n)||(f.push(o),d&&(h=!0))}}let O;if(p.length?(a.length&&p.push(be(Pn(a),c)),O=p.length>1?xe(t.helper(Z),p,c):p[0]):a.length&&(O=be(Pn(a),c)),_?g|=16:(b&&!o&&(g|=2),E&&!o&&(g|=4),T.length&&(g|=8),N&&(g|=32)),h||0!==g&&32!==g||!(S||x||f.length>0)||(g|=512),!t.inSSR&&O)switch(O.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<O.properties.length;t++){const r=O.properties[t].key;Ie(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=O.properties[e],s=O.properties[n];o?O=xe(t.helper(ee),[O]):(r&&!Ie(r.value)&&(r.value=xe(t.helper(X),[r.value])),s&&(E||4===s.value.type&&"["===s.value.content.trim()[0]||17===s.value.type)&&(s.value=xe(t.helper(Q),[s.value])));break;case 14:break;default:O=xe(t.helper(ee),[xe(t.helper(te),[O])])}return{props:O,directives:f,patchFlag:g,dynamicPropNames:T,shouldUseBlock:h}}function Pn(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||u(s))&&wn(i,r):(t.set(s,r),n.push(r))}return n}function wn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Se([e.value,t.value],e.loc)}function $n(e,t){const n=[],o=Cn.get(e);o?n.push(t.helperString(o)):(t.helper(K),t.directives.add(e.name),n.push(nt(e.name,"directive")));const{loc:r}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=Ne("true",!1,r);n.push(be(e.modifiers.map((e=>Ee(e,t))),r))}return Se(n,e.loc)}function Ln(e){return"component"===e||"Component"===e}const Vn=(e,t)=>{if(qe(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=An(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"];let c=2;s&&(i[2]=s,c=3),n.length&&(i[3]=Te([],n,!1,!1,o),c=4),t.scopeId&&!t.slotted&&(c=5),i.splice(c),e.codegenNode=xe(t.helper(z),i,o)}};function An(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=E(t.name),r.push(t))):"bind"===t.name&&Ue(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Ie(t.arg)&&(t.arg.content=E(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=Rn(e,t,r,!1,!1);n=o}return{slotName:o,slotProps:n}}const Dn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Bn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),c=Ne(T(E(e)),!0,i.loc)}else c=_e([`${n.helperString(se)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(se)}(`),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=Be(l.content),t=!(e||Dn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=_e([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Ee(c,l||Ne("() => {}",!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},Fn=(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?E(i.content):`${n.helperString(oe)}(${i.content})`:(i.children.unshift(`${n.helperString(oe)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&jn(i,"."),r.includes("attr")&&jn(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Ee(i,Ne("",!0,s))]}:{props:[Ee(i,o)]}},jn=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Hn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Ge(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Ge(s)){o=void 0;break}o||(o=n[e]=_e([t],t.loc)),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(Ge(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Dt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:xe(t.helper(F),r)}}}}},Wn=new WeakSet,Kn=(e,t)=>{if(1===e.type&&We(e,"once",!0)){if(Wn.has(e)||t.inVOnce)return;return Wn.add(e),t.inVOnce=!0,t.helper(ie),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Un=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return Jn();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Be(i))return Jn();const c=r||Ne("modelValue",!0),l=r?Ie(r)?`onUpdate:${r.content}`:_e(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=_e([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[Ee(c,e.exp),Ee(l,a)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(we(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Ie(r)?`${r.content}Modifiers`:_e([r,' + "Modifiers"']):"modelModifiers";p.push(Ee(n,Ne(`{ ${t} }`,!1,e.loc,2)))}return Jn(p)};function Jn(e=[]){return{props:e}}const Gn=/[\w).+\-_$\]]/,zn=(e,t)=>{ct("COMPILER_FILTER",t)&&(5===e.type&&Yn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Yn(e.exp,t)})))};function Yn(e,t){if(4===e.type)qn(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?qn(o,t):8===o.type?Yn(e,t):5===o.type&&Yn(o.content,t))}}function qn(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&&Gn.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=Zn(i,m[s],t);e.content=i}}function Zn(e,t,n){n.helper(U);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${nt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${nt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const Xn=new WeakSet,Qn=(e,t)=>{if(1===e.type){const n=We(e,"memo");if(!n||Xn.has(e))return;return Xn.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&rt(o,t),e.codegenNode=xe(t.helper(fe),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function eo(e){return[[Kn,ln,Qn,dn,zn,Vn,In,Nn,Hn],{on:Bn,bind:Fn,model:Un}]}function to(e,t={}){const n=t.onError||k,o="module"===t.mode;!0===t.prefixIdentifiers?n(C(46)):o&&n(C(47));t.cacheHandlers&&n(C(48)),t.scopeId&&!o&&n(C(49));const r=h(e)?ft(e,t):e,[s,i]=eo();return Ut(r,f({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:f({},i,t.directiveTransforms||{})})),qt(r,f({},t,{prefixIdentifiers:false}))}const no=()=>({props:[]}),oo=Symbol(""),ro=Symbol(""),so=Symbol(""),io=Symbol(""),co=Symbol(""),lo=Symbol(""),ao=Symbol(""),po=Symbol(""),uo=Symbol(""),fo=Symbol("");let ho;me({[oo]:"vModelRadio",[ro]:"vModelCheckbox",[so]:"vModelText",[io]:"vModelSelect",[co]:"vModelDynamic",[lo]:"withModifiers",[ao]:"withKeys",[po]:"vShow",[uo]:"Transition",[fo]:"TransitionGroup"});const mo=t("style,iframe,script,noscript",!0),go={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return ho||(ho=document.createElement("div")),t?(ho.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,ho.children[0].getAttribute("foo")):(ho.innerHTML=e,ho.textContent)},isBuiltInComponent:e=>Me(e,"Transition")?uo:Me(e,"TransitionGroup")?fo: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(mo(e))return 2}return 0}},yo=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:Ne("style",!0,t.loc),exp:vo(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},vo=(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 Ne(JSON.stringify(r),!1,t,3)};function So(e,t){return C(e,t)}const bo=t("passive,once,capture"),Eo=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),No=t("left,right"),_o=t("onkeyup,onkeydown,onkeypress",!0),xo=(e,t)=>Ie(e)&&"onclick"===e.content.toLowerCase()?Ne(t,!0):4!==e.type?_e(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,To=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},ko=[yo],Oo={cloak:no,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Ee(Ne("innerHTML",!0,r),o||Ne("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Ee(Ne("textContent",!0),o?Dt(o,n)>0?o:xe(n.helperString(q),[o],r):Ne("",!0))]}},model:(e,t,n)=>{const o=Un(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=so,i=!1;if("input"===r||s){const n=Ke(t,"type");if(n){if(7===n.type)e=co;else if(n.value)switch(n.value.content){case"radio":e=oo;break;case"checkbox":e=ro;break;case"file":i=!0}}else Je(t)&&(e=co)}else"select"===r&&(e=io);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Bn(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&lt("COMPILER_V_ON_NATIVE",n)||bo(o)?i.push(o):No(o)?Ie(e)?_o(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Eo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=xo(r,"onContextmenu")),c.includes("middle")&&(r=xo(r,"onMouseup")),c.length&&(s=xe(n.helper(lo),[s,JSON.stringify(c)])),!i.length||Ie(r)&&!_o(r.content)||(s=xe(n.helper(ao),[s,JSON.stringify(i)])),l.length){const e=l.map(x).join("");r=Ie(r)?Ne(`${r.content}${e}`,!0):_e(["(",r,`) + "${e}"`])}return{props:[Ee(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(po)})};return e.BASE_TRANSITION=w,e.CAMELIZE=oe,e.CAPITALIZE=re,e.CREATE_BLOCK=L,e.CREATE_COMMENT=B,e.CREATE_ELEMENT_BLOCK=V,e.CREATE_ELEMENT_VNODE=D,e.CREATE_SLOTS=Y,e.CREATE_STATIC=j,e.CREATE_TEXT=F,e.CREATE_VNODE=A,e.DOMDirectiveTransforms=Oo,e.DOMNodeTransforms=ko,e.FRAGMENT=I,e.GUARD_REACTIVE_PROPS=te,e.IS_MEMO_SAME=de,e.IS_REF=ue,e.KEEP_ALIVE=P,e.MERGE_PROPS=Z,e.NORMALIZE_CLASS=X,e.NORMALIZE_PROPS=ee,e.NORMALIZE_STYLE=Q,e.OPEN_BLOCK=$,e.POP_SCOPE_ID=le,e.PUSH_SCOPE_ID=ce,e.RENDER_LIST=G,e.RENDER_SLOT=z,e.RESOLVE_COMPONENT=H,e.RESOLVE_DIRECTIVE=K,e.RESOLVE_DYNAMIC_COMPONENT=W,e.RESOLVE_FILTER=U,e.SET_BLOCK_TRACKING=ie,e.SUSPENSE=R,e.TELEPORT=M,e.TO_DISPLAY_STRING=q,e.TO_HANDLERS=ne,e.TO_HANDLER_KEY=se,e.TRANSITION=uo,e.TRANSITION_GROUP=fo,e.UNREF=pe,e.V_MODEL_CHECKBOX=ro,e.V_MODEL_DYNAMIC=co,e.V_MODEL_RADIO=oo,e.V_MODEL_SELECT=io,e.V_MODEL_TEXT=so,e.V_ON_WITH_KEYS=ao,e.V_ON_WITH_MODIFIERS=lo,e.V_SHOW=po,e.WITH_CTX=ae,e.WITH_DIRECTIVES=J,e.WITH_MEMO=fe,e.advancePositionWithClone=je,e.advancePositionWithMutation=He,e.assert=function(e,t){if(!e)throw new Error(t||"unexpected compiler condition")},e.baseCompile=to,e.baseParse=ft,e.buildDirectiveArgs=$n,e.buildProps=Rn,e.buildSlots=xn,e.checkCompatEnabled=lt,e.compile=function(e,t={}){return to(e,f({},go,t,{nodeTransforms:[To,...ko,...t.nodeTransforms||[]],directiveTransforms:f({},Oo,t.directiveTransforms||{}),transformHoist:null}))},e.createArrayExpression=Se,e.createAssignmentExpression=function(e,t){return{type:24,left:e,right:t,loc:ge}},e.createBlockStatement=Ce,e.createCacheExpression=Oe,e.createCallExpression=xe,e.createCompilerError=C,e.createCompoundExpression=_e,e.createConditionalExpression=ke,e.createDOMCompilerError=So,e.createForLoopParams=bn,e.createFunctionExpression=Te,e.createIfStatement=function(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:ge}},e.createInterpolation=function(e,t){return{type:5,loc:t,content:h(e)?Ne(e,!1,t):e}},e.createObjectExpression=be,e.createObjectProperty=Ee,e.createReturnStatement=function(e){return{type:26,returns:e,loc:ge}},e.createRoot=ye,e.createSequenceExpression=function(e){return{type:25,expressions:e,loc:ge}},e.createSimpleExpression=Ne,e.createStructuralDirectiveTransform=Gt,e.createTemplateLiteral=function(e){return{type:22,elements:e,loc:ge}},e.createTransformContext=Kt,e.createVNodeCall=ve,e.extractIdentifiers=rn,e.findDir=We,e.findProp=Ke,e.generate=qt,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=eo,e.getConstantType=Dt,e.getInnerRange=Fe,e.getMemoedVNodeCall=ot,e.getVNodeBlockHelper=Xe,e.getVNodeHelper=Ze,e.hasDynamicKeyVBind=Je,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&&we(t.content)&&!!n[t.content];case 8:return t.children.some((t=>g(t)&&e(t,n)));case 5:case 12:return e(t.content,n);default:return!1}},e.helperNameMap=he,e.injectProp=tt,e.isBuiltInType=Me,e.isCoreComponent=Re,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=Be,e.isMemberExpressionBrowser=Ae,e.isMemberExpressionNode=De,e.isReferencedIdentifier=function(e,t,n){return!1},e.isSimpleIdentifier=we,e.isSlotOutlet=qe,e.isStaticArgOf=Ue,e.isStaticExp=Ie,e.isStaticProperty=sn,e.isStaticPropertyKey=(e,t)=>sn(t)&&t.key===e,e.isTemplateNode=Ye,e.isText=Ge,e.isVSlot=ze,e.locStub=ge,e.makeBlock=rt,e.noopDirectiveTransform=no,e.parse=function(e,t={}){return ft(e,f({},go,t))},e.parserOptions=go,e.processExpression=cn,e.processFor=hn,e.processIf=an,e.processSlotOutlet=An,e.registerRuntimeHelpers=me,e.resolveComponentType=Mn,e.toValidAssetId=nt,e.trackSlotScopes=Nn,e.trackVForSlotScopes=(e,t)=>{let n;if(Ye(e)&&e.props.some(ze)&&(n=We(e,"for"))){const e=n.parseResult=vn(n.exp);if(e){const{value:n,key:o,index:r}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),o&&s(o),r&&s(r),()=>{n&&i(n),o&&i(o),r&&i(r)}}}},e.transform=Ut,e.transformBind=Fn,e.transformElement=In,e.transformExpression=(e,t)=>{if(5===e.type)e.content=cn(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=cn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=cn(n,t))}}},e.transformModel=Un,e.transformOn=Bn,e.transformStyle=yo,e.traverseNode=Jt,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 rn(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 rn(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"===it(e,t))return;const{message:r,link:s}=st[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}({});