@vue/compiler-dom 3.2.21 → 3.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function t(e,t=0,n=e.length){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")}const n=/;(?![^(]*\))/g,o=/:(.+)/;const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,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=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},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=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b=/-(\w)/g,S=v((e=>e.replace(b,((e,t)=>t?t.toUpperCase():"")))),x=/\B([A-Z])/g,k=v((e=>e.replace(x,"-$1").toLowerCase())),N=v((e=>e.charAt(0).toUpperCase()+e.slice(1))),_=v((e=>e?`on${N(e)}`:""));function T(e){throw e}function E(e){}function O(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const C=Symbol(""),w=Symbol(""),$=Symbol(""),M=Symbol(""),I=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),j=Symbol(""),A=Symbol(""),B=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),W=Symbol(""),J=Symbol(""),U=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de={[C]:"Fragment",[w]:"Teleport",[$]:"Suspense",[M]:"KeepAlive",[I]:"BaseTransition",[P]:"openBlock",[R]:"createBlock",[V]:"createElementBlock",[L]:"createVNode",[j]:"createElementVNode",[A]:"createCommentVNode",[B]:"createTextVNode",[F]:"createStaticVNode",[D]:"resolveComponent",[H]:"resolveDynamicComponent",[W]:"resolveDirective",[J]:"resolveFilter",[U]:"withDirectives",[z]:"renderList",[G]:"renderSlot",[K]:"createSlots",[q]:"toDisplayString",[Y]:"mergeProps",[Z]:"normalizeClass",[Q]:"normalizeStyle",[X]:"normalizeProps",[ee]:"guardReactiveProps",[te]:"toHandlers",[ne]:"camelize",[oe]:"capitalize",[re]:"toHandlerKey",[se]:"setBlockTracking",[ie]:"pushScopeId",[ce]:"popScopeId",[le]:"withCtx",[ae]:"unref",[pe]:"isRef",[ue]:"withMemo",[fe]:"isMemoSame"};function he(e){Object.getOwnPropertySymbols(e).forEach((t=>{de[t]=e[t]}))}const me={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ge(e,t=me){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ye(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=me){return e&&(c?(e.helper(P),e.helper(rt(e.inSSR,a))):e.helper(ot(e.inSSR,a)),i&&e.helper(U)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:c,disableTracking:l,isComponent:a,loc:p}}function ve(e,t=me){return{type:17,loc:t,elements:e}}function be(e,t=me){return{type:15,loc:t,properties:e}}function Se(e,t){return{type:16,loc:me,key:h(e)?xe(e,!0):e,value:t}}function xe(e,t=!1,n=me,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function ke(e,t){return{type:5,loc:t,content:h(e)?xe(e,!1,t):e}}function Ne(e,t=me){return{type:8,loc:t,children:e}}function _e(e,t=[],n=me){return{type:14,loc:n,callee:e,arguments:t}}function Te(e,t,n=!1,o=!1,r=me){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ee(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:me}}function Oe(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:me}}function Ce(e){return{type:21,body:e,loc:me}}function we(e){return{type:22,elements:e,loc:me}}function $e(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}}function Me(e,t){return{type:24,left:e,right:t,loc:me}}function Ie(e){return{type:25,expressions:e,loc:me}}function Pe(e){return{type:26,returns:e,loc:me}}const Re=e=>4===e.type&&e.isStatic,Ve=(e,t)=>e===t||e===k(t);function Le(e){return Ve(e,"Teleport")?w:Ve(e,"Suspense")?$:Ve(e,"KeepAlive")?M:Ve(e,"BaseTransition")?I:void 0}const je=/^\d|[^\$\w]/,Ae=e=>!je.test(e),Be=/[A-Za-z_$\xA0-\uFFFF]/,Fe=/[\.\?\w$\xA0-\uFFFF]/,De=/\s+[.[]\s*|\s*[.[]\s+/g,He=e=>{e=e.trim().replace(De,(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?Be:Fe).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},We=l,Je=He;function Ue(e,t,n){const o={source:e.source.slice(t,t+n),start:ze(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ze(e.start,e.source,t+n)),o}function ze(e,t,n=t.length){return Ge(f({},e),t,n)}function Ge(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 Ke(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function qe(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 Ye(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)&&Ze(s.arg,t))return s}}function Ze(e,t){return!(!e||!Re(e)||e.content!==t)}function Qe(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Xe(e){return 5===e.type||2===e.type}function et(e){return 7===e.type&&"slot"===e.name}function tt(e){return 1===e.type&&3===e.tagType}function nt(e){return 1===e.type&&2===e.tagType}function ot(e,t){return e||t?L:j}function rt(e,t){return e||t?R:V}const st=new Set([X,ee]);function it(e,t=[]){if(e&&!h(e)&&14===e.type){const n=e.callee;if(!h(n)&&st.has(n))return it(e.arguments[0],t.concat(e))}return[e,t]}function ct(e,t,n){let o;let r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!h(s)&&14===s.type){const e=it(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===te?o=_e(n.helper(Y),[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=_e(n.helper(Y),[be([t]),s]),r&&r.callee===ee&&(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 lt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function at(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(at(o.arg,t)||at(o.exp,t)))return!0}return e.children.some((e=>at(e,t)));case 11:return!!at(e.source,t)||e.children.some((e=>at(e,t)));case 9:return e.branches.some((e=>at(e,t)));case 10:return!!at(e.condition,t)||e.children.some((e=>at(e,t)));case 4:return!e.isStatic&&Ae(e.content)&&!!t[e.content];case 8:return e.children.some((e=>g(e)&&at(e,t)));case 5:case 12:return at(e.content,t);default:return!1}}function pt(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function ut(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ot(o,e.isComponent)),t(P),t(rt(o,e.isComponent)))}const ft={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 dt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ht(e,t){const n=dt("MODE",t),o=dt(e,t);return 3===n?!0===o:!1!==o}function mt(e,t,n,...o){return ht(e,t)}function gt(e,t,n,...o){if("suppress-warning"===dt(e,t))return;const{message:r,link:s}=ft[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)}const yt=/&(gt|lt|amp|apos|quot);/g,vt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},bt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(yt,((e,t)=>vt[t])),onError:T,onWarn:E,comments:!1};function St(e,t={}){const n=function(e,t){const n=f({},bt);let o;for(o in t)n[o]=void 0===t[o]?bt[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=Rt(n);return ge(xt(n,0,[]),Vt(n,o))}function xt(e,t,n){const o=Lt(n),r=o?o.ns:0,s=[];for(;!Dt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&jt(i,e.options.delimiters[0]))c=Mt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=jt(i,"\x3c!--")?_t(e):jt(i,"<!DOCTYPE")?Tt(e):jt(i,"<![CDATA[")&&0!==r?Nt(e,n):Tt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){At(e,3);continue}if(/[a-z]/i.test(i[2])){Ct(e,1,o);continue}c=Tt(e)}else/[a-z]/i.test(i[1])?(c=Et(e,n),ht("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&Ot(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Tt(e));if(c||(c=It(e,t)),d(c))for(let e=0;e<c.length;e++)kt(s,c[e]);else kt(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 kt(e,t){if(2===t.type){const n=Lt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Nt(e,t){At(e,9);const n=xt(e,3,t);return 0===e.source.length||At(e,3),n}function _t(e){const t=Rt(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",r));)At(e,s-r+1),r=s+1;At(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),At(e,e.source.length);return{type:3,content:n,loc:Vt(e,t)}}function Tt(e){const t=Rt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),At(e,e.source.length)):(o=e.source.slice(n,r),At(e,r+1)),{type:3,content:o,loc:Vt(e,t)}}function Et(e,t){const n=e.inPre,o=e.inVPre,r=Lt(t),s=Ct(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=xt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&mt("COMPILER_INLINE_TEMPLATE",e)){const n=Vt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Ht(e.source,s.tag))Ct(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&jt(e.loc.source,"\x3c!--")}return s.loc=Vt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const Ot=e("if,else,else-if,for,slot");function Ct(e,t,n){const o=Rt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);At(e,r[0].length),Bt(e);const c=Rt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=wt(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=wt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=jt(e.source,"/>"),At(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&&Ot(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)||Le(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(mt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ze(e.arg,"is")&&mt("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:Vt(e,o),codegenNode:void 0}}function wt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!jt(e.source,">")&&!jt(e.source,"/>");){if(jt(e.source,"/")){At(e,1),Bt(e);continue}const r=$t(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),Bt(e)}return n}function $t(e,t){const n=Rt(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;At(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Bt(e),At(e,1),Bt(e),r=function(e){const t=Rt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){At(e,1);const t=e.source.indexOf(o);-1===t?n=Pt(e,e.source.length,4):(n=Pt(e,t,4),At(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=Pt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Vt(e,t)}}(e));const s=Vt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=jt(o,"."),l=t[1]||(c||jt(o,":")?"bind":jt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Vt(e,Ft(e,n,s),Ft(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=ze(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")&&mt("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&&jt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Mt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Rt(e);At(e,n.length);const i=Rt(e),c=Rt(e),l=r-n.length,a=e.source.slice(0,l),p=Pt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ge(i,a,f);return Ge(c,a,l-(p.length-u.length-f)),At(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Vt(e,i,c)},loc:Vt(e,s)}}function It(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=Rt(e);return{type:2,content:Pt(e,o,t),loc:Vt(e,r)}}function Pt(e,t,n){const o=e.source.slice(0,t);return At(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Rt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Vt(e,t,n){return{start:t,end:n=n||Rt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Lt(e){return e[e.length-1]}function jt(e,t){return e.startsWith(t)}function At(e,t){const{source:n}=e;Ge(e,n,t),e.source=n.slice(t)}function Bt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&At(e,t[0].length)}function Ft(e,t,n){return ze(t,e.originalSource.slice(t.offset,n),n)}function Dt(e,t,n){const o=e.source;switch(t){case 0:if(jt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ht(o,n[e].tag))return!0;break;case 1:case 2:{const e=Lt(n);if(e&&Ht(o,e.tag))return!0;break}case 3:if(jt(o,"]]>"))return!0}return!o}function Ht(e,t){return jt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Wt(e,t){Ut(e,t,Jt(e,e.children[0]))}function Jt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nt(t)}function Ut(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:zt(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=Zt(n);if((!o||512===o||1===o)&&qt(e,t)>=2){const o=Yt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else if(12===e.type){const n=zt(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++,Ut(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Ut(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Ut(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&&d(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(ve(e.codegenNode.children)))}function zt(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(Zt(r))return n.set(e,0),0;{let o=3;const s=qt(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=zt(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=zt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(P),t.removeHelper(rt(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(ot(t.inSSR,r.isComponent))),n.set(e,o),o}case 2:case 3:return 3;default:return 0;case 5:case 12:return zt(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=zt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Gt=new Set([Z,Q,X,ee]);function Kt(e,t){if(14===e.type&&!h(e.callee)&&Gt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return zt(n,t);if(14===n.type)return Kt(n,t)}return 0}function qt(e,t){let n=3;const o=Yt(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=zt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?zt(s,t):14===s.type?Kt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Yt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Zt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Qt(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:b=c,inline:x=!1,isTS:k=!1,onError:_=T,onWarn:O=E,compatConfig:C}){const w=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),$={selfName:w&&N(S(w[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:b,inline:x,isTS:k,onError:_,onWarn:O,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=$.helpers.get(e)||0;return $.helpers.set(e,t+1),e},removeHelper(e){const t=$.helpers.get(e);if(t){const n=t-1;n?$.helpers.set(e,n):$.helpers.delete(e)}},helperString:e=>`_${de[$.helper(e)]}`,replaceNode(e){$.parent.children[$.childIndex]=$.currentNode=e},removeNode(e){const t=e?$.parent.children.indexOf(e):$.currentNode?$.childIndex:-1;e&&e!==$.currentNode?$.childIndex>t&&($.childIndex--,$.onNodeRemoved()):($.currentNode=null,$.onNodeRemoved()),$.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){h(e)&&(e=xe(e)),$.hoists.push(e);const t=xe(`_hoisted_${$.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>Oe($.cached++,e,t)};return $.filters=new Set,$}function Xt(e,t){const n=Qt(e,t);en(e,n),t.hoistStatic&&Wt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Jt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ut(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(t,n(C),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 en(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(A);break;case 5:t.ssr||t.helper(q);break;case 9:for(let n=0;n<e.branches.length;n++)en(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,en(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function tn(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(et))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}function nn(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=>`_${de[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,i=e=>`${de[e]}: _${de[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[L,j,A,B,F].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();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),cn(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((e=>`${de[e]}: _${de[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(on(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(on(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),on(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?cn(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 on(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?J:"component"===t?D:W);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 ${lt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function rn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),sn(e,t,n),n&&t.deindent(),t.push("]")}function sn(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)?rn(c,t):cn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function cn(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:cn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:ln(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(q)}(`),cn(e.content,t),n(")")}(e,t);break;case 8:an(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");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(U)+"(");u&&n(`(${o(P)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?rt(t.inSSR,d):ot(t.inSSR,d);n(o(h)+"(",e),sn(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(", "),cn(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("/*#__PURE__*/");n(s+"(",e),sn(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];pn(e,t),n(": "),cn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){rn(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(`_${de[le]}(`);n("(",e),d(s)?sn(s,t):s&&cn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),d(i)?rn(i,t):cn(i,t)):c&&cn(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=!Ae(n.content);e&&i("("),ln(n,t),e&&i(")")}else i("("),cn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),cn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;cn(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(se)}(-1),`),i());n(`_cache[${e.index}] = `),cn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(se)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:sn(e.body,t,!0,!1)}}function ln(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function an(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];h(o)?t.push(o):cn(o,t)}}function pn(e,t){const{push:n}=t;if(8===e.type)n("["),an(e,t),n("]");else if(e.isStatic){n(Ae(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function un(e,t,n=!1,o=[],r=Object.create(null)){}function fn(e,t,n){return!1}function dn(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function hn(e,t){for(const n of e.params)for(const e of gn(n))t(e)}function mn(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 gn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function gn(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)gn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&gn(e,t)}));break;case"RestElement":gn(e.argument,t);break;case"AssignmentPattern":gn(e.left,t)}return t}const yn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),vn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,bn=(e,t)=>vn(t)&&t.key===e,Sn=(e,t)=>{if(5===e.type)e.content=xn(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=xn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=xn(n,t))}}};function xn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const kn=tn(/^(if|else|else-if)$/,((e,t,n)=>Nn(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=Tn(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=Tn(t,i+e.branches.length-1,n)}}}))));function Nn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=xe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=_n(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=_n(e,t);i.branches.push(r);const s=o&&o(i,r,!1);en(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function _n(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||qe(e,"for")?[e]:e.children,userKey:Ye(e,"key")}}function Tn(e,t,n){return e.condition?Ee(e.condition,En(e,t,n),_e(n.helper(A),['""',"true"])):En(e,t,n)}function En(e,t,n){const{helper:o}=n,r=Se("key",xe(`${t}`,!1,me,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 ct(e,r,n),e}{let t=64;return ye(n,o(C),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=pt(e);return 13===t.type&&ut(t,n),ct(t,r,n),e}}const On=tn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return Cn(e,t,n,(t=>{const s=_e(o(z),[t.source]),i=qe(e,"memo"),c=Ye(e,"key"),l=c&&(6===c.type?xe(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=ye(n,o(C),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=tt(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=nt(e)?e:u&&1===e.children.length&&nt(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&ct(c,a,n)):d?c=ye(n,o(C),a?be([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&ct(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(P),r(rt(n.inSSR,c.isComponent))):r(ot(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(P),o(rt(n.inSSR,c.isComponent))):o(ot(n.inSSR,c.isComponent))),i){const e=Te(Rn(t.parseResult,[xe("_cached")]));e.body=Ce([Ne(["const _memo = (",i.exp,")"]),Ne(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),Ne(["const _item = ",c]),xe("_item.memo = _memo"),xe("return _item")]),s.arguments.push(e,xe("_cache"),xe(String(n.cached++)))}else s.arguments.push(Te(Rn(t.parseResult),c,!0))}}))}));function Cn(e,t,n,o){if(!t.exp)return;const r=In(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:tt(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const wn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$n=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Mn=/^\(|\)$/g;function In(e,t){const n=e.loc,o=e.content,r=o.match(wn);if(!r)return;const[,s,i]=r,c={source:Pn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Mn,"").trim();const a=s.indexOf(l),p=l.match($n);if(p){l=l.replace($n,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Pn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Pn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Pn(n,l,a)),c}function Pn(e,t,n){return xe(t,!1,Ue(e,n,t.length))}function Rn({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||xe("_".repeat(t+1),!1)))}([e,t,n,...o])}const Vn=xe("undefined",!1),Ln=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=qe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},jn=(e,t)=>{let n;if(tt(e)&&e.props.some(et)&&(n=qe(e,"for"))){const e=n.parseResult=In(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)}}}},An=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function Bn(e,t,n=An){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=qe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Re(e)&&(c=!0),s.push(Se(e||xe("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(!tt(e)||!(r=qe(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=xe("default",!0),exp:y}=r;let v;Re(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,x,k;if(S=qe(e,"if"))c=!0,i.push(Ee(S.exp,Fn(g,b),Vn));else if(x=qe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&tt(e)&&qe(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?Ee(x.exp,Fn(g,b),Vn):Fn(g,b)}}else if(k=qe(e,"for")){c=!0;const e=k.parseResult||In(k.exp);e&&i.push(_e(t.helper(z),[e.source,Te(Rn(e),Fn(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(Se(g,b))}}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=>Hn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Dn(e.children)?3:1;let h=be(s.concat(Se("_",xe(d+"",!1))),r);return i.length&&(h=_e(t.helper(K),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function Fn(e,t){return be([Se("name",e),Se("fn",t)])}function Dn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Dn(n.children))return!0;break;case 9:if(Dn(n.branches))return!0;break;case 10:case 11:if(Dn(n.children))return!0}}return!1}function Hn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Hn(e.content))}const Wn=new WeakMap,Jn=(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?Un(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=g(s)&&s.callee===H||s===w||s===$||!r&&("svg"===n||"foreignObject"===n||Ye(e,"key",!0));if(o.length>0){const n=zn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ve(o.map((e=>function(e,t){const n=[],o=Wn.get(e);o?n.push(t.helperString(o)):(t.helper(W),t.directives.add(e.name),n.push(lt(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=xe("true",!1,r);n.push(be(e.modifiers.map((e=>Se(e,t))),r))}return ve(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===M&&(d=!0,f|=1024);if(r&&s!==w&&s!==M){const{slots:n,hasDynamicSlots:o}=Bn(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==w){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===zt(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=ye(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function Un(e,t,n=!1){let{tag:o}=e;const r=qn(o),s=Ye(e,"is");if(s)if(r||ht("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&xe(s.value.content,!0):s.exp;if(e)return _e(t.helper(H),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&qe(e,"is");if(i&&i.exp)return _e(t.helper(H),[i.exp]);const c=Le(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(D),t.components.add(o),lt(o,"component"))}function zn(e,t,n=e.props,o=!1){const{tag:r,loc:s}=e,i=1===e.tagType;let c=[];const l=[],a=[];let p=0,f=!1,d=!1,h=!1,g=!1,v=!1,b=!1;const S=[],x=({key:e,value:n})=>{if(Re(e)){const o=e.content,r=u(o);if(i||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||y(o)||(g=!0),r&&y(o)&&(b=!0),20===n.type||(4===n.type||8===n.type)&&zt(n,t)>0)return;"ref"===o?f=!0:"class"===o?d=!0:"style"===o?h=!0:"key"===o||S.includes(o)||S.push(o),!i||"class"!==o&&"style"!==o||S.includes(o)||S.push(o)}else v=!0};for(let u=0;u<n.length;u++){const i=n[u];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=xe(o?o.content:"",!0,o?o.loc:e);if("ref"===n&&(f=!0),"is"===n&&(qn(r)||o&&o.content.startsWith("vue:")||ht("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Se(xe(n,!0,Ue(e,0,n.length)),s))}else{const{name:n,arg:p,exp:u,loc:f}=i,d="bind"===n,h="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||d&&Ze(p,"is")&&(qn(r)||ht("COMPILER_IS_ON_ELEMENT",t)))continue;if(h&&o)continue;if(!p&&(d||h)){if(v=!0,u)if(c.length&&(l.push(be(Gn(c),s)),c=[]),d){if(ht("COMPILER_V_BIND_OBJECT_ORDER",t)){l.unshift(u);continue}l.push(u)}else l.push({type:14,loc:f,callee:t.helper(te),arguments:[u]});continue}const g=t.directiveTransforms[n];if(g){const{props:n,needRuntime:r}=g(i,e,t);!o&&n.forEach(x),c.push(...n),r&&(a.push(i),m(r)&&Wn.set(i,r))}else a.push(i)}6===i.type&&"ref"===i.name&&t.scopes.vFor>0&&mt("COMPILER_V_FOR_REF",t)&&c.push(Se(xe("refInFor",!0),xe("true",!1)))}let k;if(l.length?(c.length&&l.push(be(Gn(c),s)),k=l.length>1?_e(t.helper(Y),l,s):l[0]):c.length&&(k=be(Gn(c),s)),v?p|=16:(d&&!i&&(p|=2),h&&!i&&(p|=4),S.length&&(p|=8),g&&(p|=32)),0!==p&&32!==p||!(f||b||a.length>0)||(p|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<k.properties.length;t++){const r=k.properties[t].key;Re(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=k.properties[e],s=k.properties[n];o?k=_e(t.helper(X),[k]):(r&&!Re(r.value)&&(r.value=_e(t.helper(Z),[r.value])),!s||Re(s.value)||!h&&17!==s.value.type||(s.value=_e(t.helper(Q),[s.value])));break;case 14:break;default:k=_e(t.helper(X),[_e(t.helper(ee),[k])])}return{props:k,directives:a,patchFlag:p,dynamicPropNames:S}}function Gn(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))&&Kn(i,r):(t.set(s,r),n.push(r))}return n}function Kn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function qn(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Yn=(e,t)=>{if(nt(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Zn(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=_e(t.helper(G),i,o)}};function Zn(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&&Ze(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Re(t.arg)&&(t.arg.content=S(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=zn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Qn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Xn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){c=xe(_(S(i.content)),!0,i.loc)}else c=Ne([`${n.helperString(re)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(re)}(`),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=Je(l.content),t=!(e||Qn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Ne([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Se(c,l||xe("() => {}",!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},eo=(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(ne)}(${i.content})`:(i.children.unshift(`${n.helperString(ne)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&to(i,"."),r.includes("attr")&&to(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Se(i,xe("",!0,s))]}:{props:[Se(i,o)]}},to=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},no=(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(Xe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Xe(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(Xe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==zt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(B),r)}}}}},oo=new WeakSet,ro=(e,t)=>{if(1===e.type&&qe(e,"once",!0)){if(oo.has(e)||t.inVOnce)return;return oo.add(e),t.inVOnce=!0,t.helper(se),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},so=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return io();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!Je(i))return io();const c=r||xe("modelValue",!0),l=r?Re(r)?`onUpdate:${r.content}`:Ne(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Ne([`${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=>(Ae(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Re(r)?`${r.content}Modifiers`:Ne([r,' + "Modifiers"']):"modelModifiers";p.push(Se(n,xe(`{ ${t} }`,!1,e.loc,2)))}return io(p)};function io(e=[]){return{props:e}}const co=/[\w).+\-_$\]]/,lo=(e,t)=>{ht("COMPILER_FILTER",t)&&(5===e.type&&ao(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&ao(e.exp,t)})))};function ao(e,t){if(4===e.type)po(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?po(o,t):8===o.type?ao(e,t):5===o.type&&ao(o.content,t))}}function po(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&&co.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=uo(i,m[s],t);e.content=i}}function uo(e,t,n){n.helper(J);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${lt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${lt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const fo=new WeakSet,ho=(e,t)=>{if(1===e.type){const n=qe(e,"memo");if(!n||fo.has(e))return;return fo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ut(o,t),e.codegenNode=_e(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function mo(e){return[[ro,kn,ho,On,lo,Yn,Jn,Ln,no],{on:Xn,bind:eo,model:so}]}function go(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=h(e)?St(e,t):e,[s,i]=mo();return Xt(r,f({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:f({},i,t.directiveTransforms||{})})),nn(r,f({},t,{prefixIdentifiers:false}))}const yo=()=>({props:[]}),vo=Symbol(""),bo=Symbol(""),So=Symbol(""),xo=Symbol(""),ko=Symbol(""),No=Symbol(""),_o=Symbol(""),To=Symbol(""),Eo=Symbol(""),Oo=Symbol("");let Co;he({[vo]:"vModelRadio",[bo]:"vModelCheckbox",[So]:"vModelText",[xo]:"vModelSelect",[ko]:"vModelDynamic",[No]:"withModifiers",[_o]:"withKeys",[To]:"vShow",[Eo]:"Transition",[Oo]:"TransitionGroup"});const wo=e("style,iframe,script,noscript",!0),$o={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=>Ve(e,"Transition")?Eo:Ve(e,"TransitionGroup")?Oo: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(wo(e))return 2}return 0}},Mo=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:xe("style",!0,t.loc),exp:Io(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Io=(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 xe(JSON.stringify(r),!1,t,3)};function Po(e,t){return O(e,t)}const Ro=e("passive,once,capture"),Vo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Lo=e("left,right"),jo=e("onkeyup,onkeydown,onkeypress",!0),Ao=(e,t)=>Re(e)&&"onclick"===e.content.toLowerCase()?xe(t,!0):4!==e.type?Ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Bo=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Fo=[Mo],Do={cloak:yo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("innerHTML",!0,r),o||xe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("textContent",!0),o?_e(n.helperString(q),[o],r):xe("",!0))]}},model:(e,t,n)=>{const o=so(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=Ye(t,"type");if(n){if(7===n.type)e=ko;else if(n.value)switch(n.value.content){case"radio":e=vo;break;case"checkbox":e=bo;break;case"file":i=!0}}else Qe(t)&&(e=ko)}else"select"===r&&(e=xo);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Xn(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&mt("COMPILER_V_ON_NATIVE",n)||Ro(o)?i.push(o):Lo(o)?Re(e)?jo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Vo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=Ao(r,"onContextmenu")),c.includes("middle")&&(r=Ao(r,"onMouseup")),c.length&&(s=_e(n.helper(No),[s,JSON.stringify(c)])),!i.length||Re(r)&&!jo(r.content)||(s=_e(n.helper(_o),[s,JSON.stringify(i)])),l.length){const e=l.map(N).join("");r=Re(r)?xe(`${r.content}${e}`,!0):Ne(["(",r,`) + "${e}"`])}return{props:[Se(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(To)})};function Ho(e,t={}){return go(e,f({},$o,t,{nodeTransforms:[Bo,...Fo,...t.nodeTransforms||[]],directiveTransforms:f({},Do,t.directiveTransforms||{}),transformHoist:null}))}function Wo(e,t={}){return St(e,f({},$o,t))}export{I as BASE_TRANSITION,ne as CAMELIZE,oe as CAPITALIZE,R as CREATE_BLOCK,A as CREATE_COMMENT,V as CREATE_ELEMENT_BLOCK,j as CREATE_ELEMENT_VNODE,K as CREATE_SLOTS,F as CREATE_STATIC,B as CREATE_TEXT,L as CREATE_VNODE,Do as DOMDirectiveTransforms,Fo as DOMNodeTransforms,C as FRAGMENT,ee as GUARD_REACTIVE_PROPS,fe as IS_MEMO_SAME,pe as IS_REF,M as KEEP_ALIVE,Y as MERGE_PROPS,Z as NORMALIZE_CLASS,X as NORMALIZE_PROPS,Q as NORMALIZE_STYLE,P as OPEN_BLOCK,ce as POP_SCOPE_ID,ie as PUSH_SCOPE_ID,z as RENDER_LIST,G as RENDER_SLOT,D as RESOLVE_COMPONENT,W as RESOLVE_DIRECTIVE,H as RESOLVE_DYNAMIC_COMPONENT,J as RESOLVE_FILTER,se as SET_BLOCK_TRACKING,$ as SUSPENSE,w as TELEPORT,q as TO_DISPLAY_STRING,te as TO_HANDLERS,re as TO_HANDLER_KEY,Eo as TRANSITION,Oo as TRANSITION_GROUP,ae as UNREF,bo as V_MODEL_CHECKBOX,ko as V_MODEL_DYNAMIC,vo as V_MODEL_RADIO,xo as V_MODEL_SELECT,So as V_MODEL_TEXT,_o as V_ON_WITH_KEYS,No as V_ON_WITH_MODIFIERS,To as V_SHOW,le as WITH_CTX,U as WITH_DIRECTIVES,ue as WITH_MEMO,ze as advancePositionWithClone,Ge as advancePositionWithMutation,Ke as assert,go as baseCompile,St as baseParse,zn as buildProps,Bn as buildSlots,mt as checkCompatEnabled,Ho as compile,ve as createArrayExpression,Me as createAssignmentExpression,Ce as createBlockStatement,Oe as createCacheExpression,_e as createCallExpression,O as createCompilerError,Ne as createCompoundExpression,Ee as createConditionalExpression,Po as createDOMCompilerError,Rn as createForLoopParams,Te as createFunctionExpression,$e as createIfStatement,ke as createInterpolation,be as createObjectExpression,Se as createObjectProperty,Pe as createReturnStatement,ge as createRoot,Ie as createSequenceExpression,xe as createSimpleExpression,tn as createStructuralDirectiveTransform,we as createTemplateLiteral,Qt as createTransformContext,ye as createVNodeCall,gn as extractIdentifiers,qe as findDir,Ye as findProp,nn as generate,t as generateCodeFrame,mo as getBaseTransformPreset,Ue as getInnerRange,pt as getMemoedVNodeCall,rt as getVNodeBlockHelper,ot as getVNodeHelper,Qe as hasDynamicKeyVBind,at as hasScopeRef,de as helperNameMap,ct as injectProp,Ze as isBindKey,Ve as isBuiltInType,Le as isCoreComponent,yn as isFunctionType,dn as isInDestructureAssignment,Je as isMemberExpression,He as isMemberExpressionBrowser,We as isMemberExpressionNode,fn as isReferencedIdentifier,Ae as isSimpleIdentifier,nt as isSlotOutlet,Re as isStaticExp,vn as isStaticProperty,bn as isStaticPropertyKey,tt as isTemplateNode,Xe as isText,et as isVSlot,me as locStub,ut as makeBlock,yo as noopDirectiveTransform,Wo as parse,$o as parserOptions,xn as processExpression,Cn as processFor,Nn as processIf,Zn as processSlotOutlet,he as registerRuntimeHelpers,Un as resolveComponentType,lt as toValidAssetId,Ln as trackSlotScopes,jn as trackVForSlotScopes,Xt as transform,eo as transformBind,Jn as transformElement,Sn as transformExpression,so as transformModel,Xn as transformOn,Mo as transformStyle,en as traverseNode,mn as walkBlockDeclarations,hn as walkFunctionParams,un as walkIdentifiers,gt as warnDeprecation};
1
+ function e(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function t(e,t=0,n=e.length){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")}const n=/;(?![^(]*\))/g,o=/:(.+)/;const r=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,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=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),i=e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),c={},l=()=>{},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=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),v=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},b=/-(\w)/g,S=v((e=>e.replace(b,((e,t)=>t?t.toUpperCase():"")))),x=/\B([A-Z])/g,k=v((e=>e.replace(x,"-$1").toLowerCase())),N=v((e=>e.charAt(0).toUpperCase()+e.slice(1))),_=v((e=>e?`on${N(e)}`:""));function T(e){throw e}function E(e){}function $(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const O=Symbol(""),w=Symbol(""),C=Symbol(""),M=Symbol(""),I=Symbol(""),P=Symbol(""),R=Symbol(""),V=Symbol(""),L=Symbol(""),B=Symbol(""),j=Symbol(""),A=Symbol(""),F=Symbol(""),D=Symbol(""),H=Symbol(""),U=Symbol(""),W=Symbol(""),J=Symbol(""),z=Symbol(""),G=Symbol(""),K=Symbol(""),q=Symbol(""),Y=Symbol(""),Z=Symbol(""),Q=Symbol(""),X=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),oe=Symbol(""),re=Symbol(""),se=Symbol(""),ie=Symbol(""),ce=Symbol(""),le=Symbol(""),ae=Symbol(""),pe=Symbol(""),ue=Symbol(""),fe=Symbol(""),de={[O]:"Fragment",[w]:"Teleport",[C]:"Suspense",[M]:"KeepAlive",[I]:"BaseTransition",[P]:"openBlock",[R]:"createBlock",[V]:"createElementBlock",[L]:"createVNode",[B]:"createElementVNode",[j]:"createCommentVNode",[A]:"createTextVNode",[F]:"createStaticVNode",[D]:"resolveComponent",[H]:"resolveDynamicComponent",[U]:"resolveDirective",[W]:"resolveFilter",[J]:"withDirectives",[z]:"renderList",[G]:"renderSlot",[K]:"createSlots",[q]:"toDisplayString",[Y]:"mergeProps",[Z]:"normalizeClass",[Q]:"normalizeStyle",[X]:"normalizeProps",[ee]:"guardReactiveProps",[te]:"toHandlers",[ne]:"camelize",[oe]:"capitalize",[re]:"toHandlerKey",[se]:"setBlockTracking",[ie]:"pushScopeId",[ce]:"popScopeId",[le]:"withCtx",[ae]:"unref",[pe]:"isRef",[ue]:"withMemo",[fe]:"isMemoSame"};function he(e){Object.getOwnPropertySymbols(e).forEach((t=>{de[t]=e[t]}))}const me={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ge(e,t=me){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function ye(e,t,n,o,r,s,i,c=!1,l=!1,a=!1,p=me){return e&&(c?(e.helper(P),e.helper(rt(e.inSSR,a))):e.helper(ot(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 ve(e,t=me){return{type:17,loc:t,elements:e}}function be(e,t=me){return{type:15,loc:t,properties:e}}function Se(e,t){return{type:16,loc:me,key:h(e)?xe(e,!0):e,value:t}}function xe(e,t=!1,n=me,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function ke(e,t){return{type:5,loc:t,content:h(e)?xe(e,!1,t):e}}function Ne(e,t=me){return{type:8,loc:t,children:e}}function _e(e,t=[],n=me){return{type:14,loc:n,callee:e,arguments:t}}function Te(e,t,n=!1,o=!1,r=me){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ee(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:me}}function $e(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:me}}function Oe(e){return{type:21,body:e,loc:me}}function we(e){return{type:22,elements:e,loc:me}}function Ce(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:me}}function Me(e,t){return{type:24,left:e,right:t,loc:me}}function Ie(e){return{type:25,expressions:e,loc:me}}function Pe(e){return{type:26,returns:e,loc:me}}const Re=e=>4===e.type&&e.isStatic,Ve=(e,t)=>e===t||e===k(t);function Le(e){return Ve(e,"Teleport")?w:Ve(e,"Suspense")?C:Ve(e,"KeepAlive")?M:Ve(e,"BaseTransition")?I:void 0}const Be=/^\d|[^\$\w]/,je=e=>!Be.test(e),Ae=/[A-Za-z_$\xA0-\uFFFF]/,Fe=/[\.\?\w$\xA0-\uFFFF]/,De=/\s+[.[]\s*|\s*[.[]\s+/g,He=e=>{e=e.trim().replace(De,(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?Ae:Fe).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},Ue=l,We=He;function Je(e,t,n){const o={source:e.source.slice(t,t+n),start:ze(e.start,e.source,t),end:e.end};return null!=n&&(o.end=ze(e.start,e.source,t+n)),o}function ze(e,t,n=t.length){return Ge(f({},e),t,n)}function Ge(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 Ke(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function qe(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 Ye(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)&&Ze(s.arg,t))return s}}function Ze(e,t){return!(!e||!Re(e)||e.content!==t)}function Qe(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Xe(e){return 5===e.type||2===e.type}function et(e){return 7===e.type&&"slot"===e.name}function tt(e){return 1===e.type&&3===e.tagType}function nt(e){return 1===e.type&&2===e.tagType}function ot(e,t){return e||t?L:B}function rt(e,t){return e||t?R:V}const st=new Set([X,ee]);function it(e,t=[]){if(e&&!h(e)&&14===e.type){const n=e.callee;if(!h(n)&&st.has(n))return it(e.arguments[0],t.concat(e))}return[e,t]}function ct(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=it(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===te?o=_e(n.helper(Y),[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=_e(n.helper(Y),[be([t]),s]),r&&r.callee===ee&&(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 lt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function at(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(7===o.type&&(at(o.arg,t)||at(o.exp,t)))return!0}return e.children.some((e=>at(e,t)));case 11:return!!at(e.source,t)||e.children.some((e=>at(e,t)));case 9:return e.branches.some((e=>at(e,t)));case 10:return!!at(e.condition,t)||e.children.some((e=>at(e,t)));case 4:return!e.isStatic&&je(e.content)&&!!t[e.content];case 8:return e.children.some((e=>g(e)&&at(e,t)));case 5:case 12:return at(e.content,t);default:return!1}}function pt(e){return 14===e.type&&e.callee===ue?e.arguments[1].returns:e}function ut(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ot(o,e.isComponent)),t(P),t(rt(o,e.isComponent)))}const ft={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_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 dt(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ht(e,t){const n=dt("MODE",t),o=dt(e,t);return 3===n?!0===o:!1!==o}function mt(e,t,n,...o){return ht(e,t)}function gt(e,t,n,...o){if("suppress-warning"===dt(e,t))return;const{message:r,link:s}=ft[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)}const yt=/&(gt|lt|amp|apos|quot);/g,vt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},bt={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:a,isPreTag:a,isCustomElement:a,decodeEntities:e=>e.replace(yt,((e,t)=>vt[t])),onError:T,onWarn:E,comments:!1};function St(e,t={}){const n=function(e,t){const n=f({},bt);let o;for(o in t)n[o]=void 0===t[o]?bt[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=Rt(n);return ge(xt(n,0,[]),Vt(n,o))}function xt(e,t,n){const o=Lt(n),r=o?o.ns:0,s=[];for(;!Dt(e,t,n);){const i=e.source;let c;if(0===t||1===t)if(!e.inVPre&&Bt(i,e.options.delimiters[0]))c=Mt(e,t);else if(0===t&&"<"===i[0])if(1===i.length);else if("!"===i[1])c=Bt(i,"\x3c!--")?_t(e):Bt(i,"<!DOCTYPE")?Tt(e):Bt(i,"<![CDATA[")&&0!==r?Nt(e,n):Tt(e);else if("/"===i[1])if(2===i.length);else{if(">"===i[2]){jt(e,3);continue}if(/[a-z]/i.test(i[2])){Ot(e,1,o);continue}c=Tt(e)}else/[a-z]/i.test(i[1])?(c=Et(e,n),ht("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&$t(e.name)))&&(c=c.children)):"?"===i[1]&&(c=Tt(e));if(c||(c=It(e,t)),d(c))for(let e=0;e<c.length;e++)kt(s,c[e]);else kt(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 kt(e,t){if(2===t.type){const n=Lt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function Nt(e,t){jt(e,9);const n=xt(e,3,t);return 0===e.source.length||jt(e,3),n}function _t(e){const t=Rt(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));)jt(e,s-r+1),r=s+1;jt(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),jt(e,e.source.length);return{type:3,content:n,loc:Vt(e,t)}}function Tt(e){const t=Rt(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),jt(e,e.source.length)):(o=e.source.slice(n,r),jt(e,r+1)),{type:3,content:o,loc:Vt(e,t)}}function Et(e,t){const n=e.inPre,o=e.inVPre,r=Lt(t),s=Ot(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=xt(e,l,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&mt("COMPILER_INLINE_TEMPLATE",e)){const n=Vt(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=a,Ht(e.source,s.tag))Ot(e,1,r);else if(0===e.source.length&&"script"===s.tag.toLowerCase()){const e=a[0];e&&Bt(e.loc.source,"\x3c!--")}return s.loc=Vt(e,s.loc.start),i&&(e.inPre=!1),c&&(e.inVPre=!1),s}const $t=e("if,else,else-if,for,slot");function Ot(e,t,n){const o=Rt(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=r[1],i=e.options.getNamespace(s,n);jt(e,r[0].length),At(e);const c=Rt(e),l=e.source;e.options.isPreTag(s)&&(e.inPre=!0);let a=wt(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=wt(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length||(p=Bt(e.source,"/>"),jt(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&&$t(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)||Le(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(mt("COMPILER_IS_ON_ELEMENT",n))return!0}}else{if("is"===e.name)return!0;if("bind"===e.name&&Ze(e.arg,"is")&&mt("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:Vt(e,o),codegenNode:void 0}}function wt(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Bt(e.source,">")&&!Bt(e.source,"/>");){if(Bt(e.source,"/")){jt(e,1),At(e);continue}const r=Ct(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),At(e)}return n}function Ct(e,t){const n=Rt(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;jt(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(At(e),jt(e,1),At(e),r=function(e){const t=Rt(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){jt(e,1);const t=e.source.indexOf(o);-1===t?n=Pt(e,e.source.length,4):(n=Pt(e,t,4),jt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]););n=Pt(e,t[0].length,4)}return{content:n,isQuoted:r,loc:Vt(e,t)}}(e));const s=Vt(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let i,c=Bt(o,"."),l=t[1]||(c||Bt(o,":")?"bind":Bt(o,"@")?"on":"slot");if(t[2]){const r="slot"===l,s=o.lastIndexOf(t[2]),c=Vt(e,Ft(e,n,s),Ft(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=ze(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")&&mt("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&&Bt(o,"v-"),{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:s}}function Mt(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return;const s=Rt(e);jt(e,n.length);const i=Rt(e),c=Rt(e),l=r-n.length,a=e.source.slice(0,l),p=Pt(e,l,t),u=p.trim(),f=p.indexOf(u);f>0&&Ge(i,a,f);return Ge(c,a,l-(p.length-u.length-f)),jt(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:u,loc:Vt(e,i,c)},loc:Vt(e,s)}}function It(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=Rt(e);return{type:2,content:Pt(e,o,t),loc:Vt(e,r)}}function Pt(e,t,n){const o=e.source.slice(0,t);return jt(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Rt(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function Vt(e,t,n){return{start:t,end:n=n||Rt(e),source:e.originalSource.slice(t.offset,n.offset)}}function Lt(e){return e[e.length-1]}function Bt(e,t){return e.startsWith(t)}function jt(e,t){const{source:n}=e;Ge(e,n,t),e.source=n.slice(t)}function At(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&jt(e,t[0].length)}function Ft(e,t,n){return ze(t,e.originalSource.slice(t.offset,n),n)}function Dt(e,t,n){const o=e.source;switch(t){case 0:if(Bt(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ht(o,n[e].tag))return!0;break;case 1:case 2:{const e=Lt(n);if(e&&Ht(o,e.tag))return!0;break}case 3:if(Bt(o,"]]>"))return!0}return!o}function Ht(e,t){return Bt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Ut(e,t){Jt(e,t,Wt(e,e.children[0]))}function Wt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!nt(t)}function Jt(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:zt(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=Zt(n);if((!o||512===o||1===o)&&qt(e,t)>=2){const o=Yt(e);o&&(n.props=t.hoist(o))}n.dynamicProps&&(n.dynamicProps=t.hoist(n.dynamicProps))}}}else 12===e.type&&zt(e.content,t)>=2&&(e.codegenNode=t.hoist(e.codegenNode),s++);if(1===e.type){const n=1===e.tagType;n&&t.scopes.vSlot++,Jt(e,t),n&&t.scopes.vSlot--}else if(11===e.type)Jt(e,t,1===e.children.length);else if(9===e.type)for(let n=0;n<e.branches.length;n++)Jt(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(ve(e.codegenNode.children)))}function zt(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(Zt(r))return n.set(e,0),0;{let o=3;const s=qt(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=zt(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=zt(s.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return r.isBlock&&(t.removeHelper(P),t.removeHelper(rt(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(ot(t.inSSR,r.isComponent))),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 zt(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=zt(o,t);if(0===r)return 0;r<s&&(s=r)}return s}}const Gt=new Set([Z,Q,X,ee]);function Kt(e,t){if(14===e.type&&!h(e.callee)&&Gt.has(e.callee)){const n=e.arguments[0];if(4===n.type)return zt(n,t);if(14===n.type)return Kt(n,t)}return 0}function qt(e,t){let n=3;const o=Yt(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=zt(r,t);if(0===i)return i;let c;if(i<n&&(n=i),c=4===s.type?zt(s,t):14===s.type?Kt(s,t):0,0===c)return c;c<n&&(n=c)}}return n}function Yt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Zt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Qt(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:b=c,inline:x=!1,isTS:k=!1,onError:_=T,onWarn:$=E,compatConfig:O}){const w=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={selfName:w&&N(S(w[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:b,inline:x,isTS:k,onError:_,onWarn:$,compatConfig:O,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=C.helpers.get(e)||0;return C.helpers.set(e,t+1),e},removeHelper(e){const t=C.helpers.get(e);if(t){const n=t-1;n?C.helpers.set(e,n):C.helpers.delete(e)}},helperString:e=>`_${de[C.helper(e)]}`,replaceNode(e){C.parent.children[C.childIndex]=C.currentNode=e},removeNode(e){const t=e?C.parent.children.indexOf(e):C.currentNode?C.childIndex:-1;e&&e!==C.currentNode?C.childIndex>t&&(C.childIndex--,C.onNodeRemoved()):(C.currentNode=null,C.onNodeRemoved()),C.parent.children.splice(t,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){h(e)&&(e=xe(e)),C.hoists.push(e);const t=xe(`_hoisted_${C.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>$e(C.cached++,e,t)};return C.filters=new Set,C}function Xt(e,t){const n=Qt(e,t);en(e,n),t.hoistStatic&&Ut(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(Wt(e,n)&&n.codegenNode){const o=n.codegenNode;13===o.type&&ut(o,t),e.codegenNode=o}else e.codegenNode=n}else if(o.length>1){let o=64;e.codegenNode=ye(t,n(O),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 en(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(j);break;case 5:t.ssr||t.helper(q);break;case 9:for(let n=0;n<e.branches.length;n++)en(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,en(r,t))}}(e,t)}t.currentNode=e;let r=o.length;for(;r--;)o[r]()}function tn(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(et))return;const s=[];for(let i=0;i<r.length;i++){const c=r[i];if(7===c.type&&n(c.name)){r.splice(i,1),i--;const n=t(e,c,o);n&&s.push(n)}}return s}}}function nn(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=>`_${de[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,i=e=>`${de[e]}: _${de[e]}`;if(e.helpers.length>0&&(n(`const _Vue = ${s}\n`),e.hoists.length)){n(`const { ${[L,B,j,A,F].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();for(let r=0;r<e.length;r++){const s=e[r];s&&(n(`const _hoisted_${r+1} = `),cn(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((e=>`${de[e]}: _${de[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(on(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(on(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),on(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?cn(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 on(e,t,{helper:n,push:o,newline:r,isTS:s}){const i=n("filter"===t?W:"component"===t?D:U);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 ${lt(n,t)} = ${i}(${JSON.stringify(n)}${l?", true":""})${s?"!":""}`),c<e.length-1&&r()}}function rn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),sn(e,t,n),n&&t.deindent(),t.push("]")}function sn(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)?rn(c,t):cn(c,t),i<e.length-1&&(n?(o&&r(","),s()):o&&r(", "))}}function cn(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:cn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:ln(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(q)}(`),cn(e.content,t),n(")")}(e,t);break;case 8:an(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n("/*#__PURE__*/");n(`${o(j)}(${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(P)}(${f?"true":""}), `);r&&n("/*#__PURE__*/");const h=u?rt(t.inSSR,d):ot(t.inSSR,d);n(o(h)+"(",e),sn(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(", "),cn(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("/*#__PURE__*/");n(s+"(",e),sn(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];pn(e,t),n(": "),cn(o,t),l<i.length-1&&(n(","),s())}c&&r(),n(c?"}":" }")}(e,t);break;case 17:!function(e,t){rn(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(`_${de[le]}(`);n("(",e),d(s)?sn(s,t):s&&cn(s,t);n(") => "),(l||c)&&(n("{"),o());i?(l&&n("return "),d(i)?rn(i,t):cn(i,t)):c&&cn(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=!je(n.content);e&&i("("),ln(n,t),e&&i(")")}else i("("),cn(n,t),i(")");s&&c(),t.indentLevel++,s||i(" "),i("? "),cn(o,t),t.indentLevel--,s&&a(),s||i(" "),i(": ");const p=19===r.type;p||t.indentLevel++;cn(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(se)}(-1),`),i());n(`_cache[${e.index}] = `),cn(e.value,t),e.isVNode&&(n(","),i(),n(`${o(se)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:sn(e.body,t,!0,!1)}}function ln(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function an(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];h(o)?t.push(o):cn(o,t)}}function pn(e,t){const{push:n}=t;if(8===e.type)n("["),an(e,t),n("]");else if(e.isStatic){n(je(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function un(e,t,n=!1,o=[],r=Object.create(null)){}function fn(e,t,n){return!1}function dn(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function hn(e,t){for(const n of e.params)for(const e of gn(n))t(e)}function mn(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 gn(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function gn(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)gn("RestElement"===o.type?o.argument:o.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&gn(e,t)}));break;case"RestElement":gn(e.argument,t);break;case"AssignmentPattern":gn(e.left,t)}return t}const yn=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),vn=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,bn=(e,t)=>vn(t)&&t.key===e,Sn=(e,t)=>{if(5===e.type)e.content=xn(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=xn(e,t,"slot"===o.name)),n&&4===n.type&&!n.isStatic&&(o.arg=xn(n,t))}}};function xn(e,t,n=!1,o=!1,r=Object.create(t.identifiers)){return e}const kn=tn(/^(if|else|else-if)$/,((e,t,n)=>Nn(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=Tn(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=Tn(t,i+e.branches.length-1,n)}}}))));function Nn(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){t.exp=xe("true",!1,t.exp?t.exp.loc:e.loc)}if("if"===t.name){const r=_n(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=_n(e,t);i.branches.push(r);const s=o&&o(i,r,!1);en(r,n),s&&s(),n.currentNode=null}break}n.removeNode(i)}}}function _n(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||qe(e,"for")?[e]:e.children,userKey:Ye(e,"key")}}function Tn(e,t,n){return e.condition?Ee(e.condition,En(e,t,n),_e(n.helper(j),['""',"true"])):En(e,t,n)}function En(e,t,n){const{helper:o}=n,r=Se("key",xe(`${t}`,!1,me,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 ct(e,r,n),e}{let t=64;return ye(n,o(O),be([r]),s,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=i.codegenNode,t=pt(e);return 13===t.type&&ut(t,n),ct(t,r,n),e}}const $n=tn("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return On(e,t,n,(t=>{const s=_e(o(z),[t.source]),i=qe(e,"memo"),c=Ye(e,"key"),l=c&&(6===c.type?xe(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=ye(n,o(O),void 0,s,u+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const u=tt(e),{children:f}=t,d=1!==f.length||1!==f[0].type,h=nt(e)?e:u&&1===e.children.length&&nt(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,u&&a&&ct(c,a,n)):d?c=ye(n,o(O),a?be([a]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=f[0].codegenNode,u&&a&&ct(c,a,n),c.isBlock!==!p&&(c.isBlock?(r(P),r(rt(n.inSSR,c.isComponent))):r(ot(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(o(P),o(rt(n.inSSR,c.isComponent))):o(ot(n.inSSR,c.isComponent))),i){const e=Te(Rn(t.parseResult,[xe("_cached")]));e.body=Oe([Ne(["const _memo = (",i.exp,")"]),Ne(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(fe)}(_cached, _memo)) return _cached`]),Ne(["const _item = ",c]),xe("_item.memo = _memo"),xe("return _item")]),s.arguments.push(e,xe("_cache"),xe(String(n.cached++)))}else s.arguments.push(Te(Rn(t.parseResult),c,!0))}}))}));function On(e,t,n,o){if(!t.exp)return;const r=In(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:tt(e)?e.children:[e]};n.replaceNode(p),s.vFor++;const u=o&&o(p);return()=>{s.vFor--,u&&u()}}const wn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Cn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Mn=/^\(|\)$/g;function In(e,t){const n=e.loc,o=e.content,r=o.match(wn);if(!r)return;const[,s,i]=r,c={source:Pn(n,i.trim(),o.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let l=s.trim().replace(Mn,"").trim();const a=s.indexOf(l),p=l.match(Cn);if(p){l=l.replace(Cn,"").trim();const e=p[1].trim();let t;if(e&&(t=o.indexOf(e,a+l.length),c.key=Pn(n,e,t)),p[2]){const r=p[2].trim();r&&(c.index=Pn(n,r,o.indexOf(r,c.key?t+e.length:a+l.length)))}}return l&&(c.value=Pn(n,l,a)),c}function Pn(e,t,n){return xe(t,!1,Je(e,n,t.length))}function Rn({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||xe("_".repeat(t+1),!1)))}([e,t,n,...o])}const Vn=xe("undefined",!1),Ln=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=qe(e,"slot");if(n)return t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Bn=(e,t)=>{let n;if(tt(e)&&e.props.some(et)&&(n=qe(e,"for"))){const e=n.parseResult=In(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)}}}},jn=(e,t,n)=>Te(e,t,!1,!0,t.length?t[0].loc:n);function An(e,t,n=jn){t.helper(le);const{children:o,loc:r}=e,s=[],i=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=qe(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Re(e)&&(c=!0),s.push(Se(e||xe("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(!tt(e)||!(r=qe(e,"slot",!0))){3!==e.type&&u.push(e);continue}if(l)break;a=!0;const{children:d,loc:h}=e,{arg:g=xe("default",!0),exp:y}=r;let v;Re(g)?v=g?g.content:"default":c=!0;const b=n(y,d,h);let S,x,k;if(S=qe(e,"if"))c=!0,i.push(Ee(S.exp,Fn(g,b),Vn));else if(x=qe(e,/^else(-if)?$/,!0)){let e,t=m;for(;t--&&(e=o[t],3===e.type););if(e&&tt(e)&&qe(e,"if")){o.splice(m,1),m--;let e=i[i.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=x.exp?Ee(x.exp,Fn(g,b),Vn):Fn(g,b)}}else if(k=qe(e,"for")){c=!0;const e=k.parseResult||In(k.exp);e&&i.push(_e(t.helper(z),[e.source,Te(Rn(e),Fn(g,b),!0)]))}else{if(v){if(f.has(v))continue;f.add(v),"default"===v&&(p=!0)}s.push(Se(g,b))}}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=>Hn(e)))&&(p||s.push(e(void 0,u))):s.push(e(void 0,o))}const d=c?2:Dn(e.children)?3:1;let h=be(s.concat(Se("_",xe(d+"",!1))),r);return i.length&&(h=_e(t.helper(K),[h,ve(i)])),{slots:h,hasDynamicSlots:c}}function Fn(e,t){return be([Se("name",e),Se("fn",t)])}function Dn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||Dn(n.children))return!0;break;case 9:if(Dn(n.branches))return!0;break;case 10:case 11:if(Dn(n.children))return!0}}return!1}function Hn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Hn(e.content))}const Un=new WeakMap,Wn=(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?Jn(e,t):`"${n}"`;let i,c,l,a,p,u,f=0,d=g(s)&&s.callee===H||s===w||s===C||!r&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=zn(e,t);i=n.props,f=n.patchFlag,p=n.dynamicPropNames;const o=n.directives;u=o&&o.length?ve(o.map((e=>function(e,t){const n=[],o=Un.get(e);o?n.push(t.helperString(o)):(t.helper(U),t.directives.add(e.name),n.push(lt(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=xe("true",!1,r);n.push(be(e.modifiers.map((e=>Se(e,t))),r))}return ve(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(d=!0)}if(e.children.length>0){s===M&&(d=!0,f|=1024);if(r&&s!==w&&s!==M){const{slots:n,hasDynamicSlots:o}=An(e,t);c=n,o&&(f|=1024)}else if(1===e.children.length&&s!==w){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===zt(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=ye(t,s,i,c,l,a,u,!!d,!1,r,e.loc)};function Jn(e,t,n=!1){let{tag:o}=e;const r=qn(o),s=Ye(e,"is");if(s)if(r||ht("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&xe(s.value.content,!0):s.exp;if(e)return _e(t.helper(H),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=!r&&qe(e,"is");if(i&&i.exp)return _e(t.helper(H),[i.exp]);const c=Le(o)||t.isBuiltInComponent(o);return c?(n||t.helper(c),c):(t.helper(D),t.components.add(o),lt(o,"component"))}function zn(e,t,n=e.props,o=!1){const{tag:r,loc:s,children:i}=e,c=1===e.tagType;let l=[];const a=[],p=[],f=i.length>0;let d=!1,h=0,g=!1,v=!1,b=!1,S=!1,x=!1,k=!1;const N=[],_=({key:e,value:n})=>{if(Re(e)){const o=e.content,r=u(o);if(c||!r||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||y(o)||(S=!0),r&&y(o)&&(k=!0),20===n.type||(4===n.type||8===n.type)&&zt(n,t)>0)return;"ref"===o?g=!0:"class"===o?v=!0:"style"===o?b=!0:"key"===o||N.includes(o)||N.push(o),!c||"class"!==o&&"style"!==o||N.includes(o)||N.push(o)}else x=!0};for(let u=0;u<n.length;u++){const i=n[u];if(6===i.type){const{loc:e,name:n,value:o}=i;let s=!0;if("ref"===n&&(g=!0,t.scopes.vFor>0&&l.push(Se(xe("ref_for",!0),xe("true")))),"is"===n&&(qn(r)||o&&o.content.startsWith("vue:")||ht("COMPILER_IS_ON_ELEMENT",t)))continue;l.push(Se(xe(n,!0,Je(e,0,n.length)),xe(o?o.content:"",s,o?o.loc:e)))}else{const{name:n,arg:c,exp:u,loc:h}=i,g="bind"===n,y="on"===n;if("slot"===n)continue;if("once"===n||"memo"===n)continue;if("is"===n||g&&Ze(c,"is")&&(qn(r)||ht("COMPILER_IS_ON_ELEMENT",t)))continue;if(y&&o)continue;if((g&&Ze(c,"key")||y&&f&&Ze(c,"vue:before-update"))&&(d=!0),g&&Ze(c,"ref")&&t.scopes.vFor>0&&l.push(Se(xe("ref_for",!0),xe("true"))),!c&&(g||y)){if(x=!0,u)if(l.length&&(a.push(be(Gn(l),s)),l=[]),g){if(ht("COMPILER_V_BIND_OBJECT_ORDER",t)){a.unshift(u);continue}a.push(u)}else a.push({type:14,loc:h,callee:t.helper(te),arguments:[u]});continue}const v=t.directiveTransforms[n];if(v){const{props:n,needRuntime:r}=v(i,e,t);!o&&n.forEach(_),l.push(...n),r&&(p.push(i),m(r)&&Un.set(i,r))}else p.push(i),f&&(d=!0)}}let T;if(a.length?(l.length&&a.push(be(Gn(l),s)),T=a.length>1?_e(t.helper(Y),a,s):a[0]):l.length&&(T=be(Gn(l),s)),x?h|=16:(v&&!c&&(h|=2),b&&!c&&(h|=4),N.length&&(h|=8),S&&(h|=32)),d||0!==h&&32!==h||!(g||k||p.length>0)||(h|=512),!t.inSSR&&T)switch(T.type){case 15:let e=-1,n=-1,o=!1;for(let t=0;t<T.properties.length;t++){const r=T.properties[t].key;Re(r)?"class"===r.content?e=t:"style"===r.content&&(n=t):r.isHandlerKey||(o=!0)}const r=T.properties[e],s=T.properties[n];o?T=_e(t.helper(X),[T]):(r&&!Re(r.value)&&(r.value=_e(t.helper(Z),[r.value])),!s||Re(s.value)||!b&&17!==s.value.type||(s.value=_e(t.helper(Q),[s.value])));break;case 14:break;default:T=_e(t.helper(X),[_e(t.helper(ee),[T])])}return{props:T,directives:p,patchFlag:h,dynamicPropNames:N,shouldUseBlock:d}}function Gn(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))&&Kn(i,r):(t.set(s,r),n.push(r))}return n}function Kn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=ve([e.value,t.value],e.loc)}function qn(e){return"component"===e||"Component"===e}const Yn=(e,t)=>{if(nt(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:s}=Zn(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=_e(t.helper(G),i,o)}};function Zn(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&&Ze(t.arg,"name")?t.exp&&(o=t.exp):("bind"===t.name&&t.arg&&Re(t.arg)&&(t.arg.content=S(t.arg.content)),r.push(t))}if(r.length>0){const{props:o,directives:s}=zn(e,t,r);n=o}return{slotName:o,slotProps:n}}const Qn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Xn=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let c;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),c=xe(_(S(e)),!0,i.loc)}else c=Ne([`${n.helperString(re)}(`,i,")"]);else c=i,c.children.unshift(`${n.helperString(re)}(`),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=We(l.content),t=!(e||Qn.test(l.content)),n=l.content.includes(";");(t||a&&e)&&(l=Ne([`${t?"$event":"(...args)"} => ${n?"{":"("}`,l,n?"}":")"]))}let p={props:[Se(c,l||xe("() => {}",!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},eo=(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(ne)}(${i.content})`:(i.children.unshift(`${n.helperString(ne)}(`),i.children.push(")"))),n.inSSR||(r.includes("prop")&&to(i,"."),r.includes("attr")&&to(i,"^")),!o||4===o.type&&!o.content.trim()?{props:[Se(i,xe("",!0,s))]}:{props:[Se(i,o)]}},to=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},no=(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(Xe(t)){r=!0;for(let r=e+1;r<n.length;r++){const s=n[r];if(!Xe(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(Xe(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==zt(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:_e(t.helper(A),r)}}}}},oo=new WeakSet,ro=(e,t)=>{if(1===e.type&&qe(e,"once",!0)){if(oo.has(e)||t.inVOnce)return;return oo.add(e),t.inVOnce=!0,t.helper(se),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},so=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return io();const s=o.loc.source,i=4===o.type?o.content:s;if(!i.trim()||!We(i))return io();const c=r||xe("modelValue",!0),l=r?Re(r)?`onUpdate:${r.content}`:Ne(['"onUpdate:" + ',r]):"onUpdate:modelValue";let a;a=Ne([`${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=>(je(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Re(r)?`${r.content}Modifiers`:Ne([r,' + "Modifiers"']):"modelModifiers";p.push(Se(n,xe(`{ ${t} }`,!1,e.loc,2)))}return io(p)};function io(e=[]){return{props:e}}const co=/[\w).+\-_$\]]/,lo=(e,t)=>{ht("COMPILER_FILTER",t)&&(5===e.type&&ao(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&ao(e.exp,t)})))};function ao(e,t){if(4===e.type)po(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?po(o,t):8===o.type?ao(e,t):5===o.type&&ao(o.content,t))}}function po(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&&co.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=uo(i,m[s],t);e.content=i}}function uo(e,t,n){n.helper(W);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${lt(t,"filter")}(${e})`;{const r=t.slice(0,o),s=t.slice(o+1);return n.filters.add(r),`${lt(r,"filter")}(${e}${")"!==s?","+s:s}`}}const fo=new WeakSet,ho=(e,t)=>{if(1===e.type){const n=qe(e,"memo");if(!n||fo.has(e))return;return fo.add(e),()=>{const o=e.codegenNode||t.currentNode.codegenNode;o&&13===o.type&&(1!==e.tagType&&ut(o,t),e.codegenNode=_e(t.helper(ue),[n.exp,Te(void 0,o),"_cache",String(t.cached++)]))}}};function mo(e){return[[ro,kn,ho,$n,lo,Yn,Wn,Ln,no],{on:Xn,bind:eo,model:so}]}function go(e,t={}){const n=t.onError||T,o="module"===t.mode;!0===t.prefixIdentifiers?n($(46)):o&&n($(47));t.cacheHandlers&&n($(48)),t.scopeId&&!o&&n($(49));const r=h(e)?St(e,t):e,[s,i]=mo();return Xt(r,f({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:f({},i,t.directiveTransforms||{})})),nn(r,f({},t,{prefixIdentifiers:false}))}const yo=()=>({props:[]}),vo=Symbol(""),bo=Symbol(""),So=Symbol(""),xo=Symbol(""),ko=Symbol(""),No=Symbol(""),_o=Symbol(""),To=Symbol(""),Eo=Symbol(""),$o=Symbol("");let Oo;he({[vo]:"vModelRadio",[bo]:"vModelCheckbox",[So]:"vModelText",[xo]:"vModelSelect",[ko]:"vModelDynamic",[No]:"withModifiers",[_o]:"withKeys",[To]:"vShow",[Eo]:"Transition",[$o]:"TransitionGroup"});const wo=e("style,iframe,script,noscript",!0),Co={isVoidTag:i,isNativeTag:e=>r(e)||s(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Oo||(Oo=document.createElement("div")),t?(Oo.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Oo.children[0].getAttribute("foo")):(Oo.innerHTML=e,Oo.textContent)},isBuiltInComponent:e=>Ve(e,"Transition")?Eo:Ve(e,"TransitionGroup")?$o: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(wo(e))return 2}return 0}},Mo=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:xe("style",!0,t.loc),exp:Io(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Io=(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 xe(JSON.stringify(r),!1,t,3)};function Po(e,t){return $(e,t)}const Ro=e("passive,once,capture"),Vo=e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Lo=e("left,right"),Bo=e("onkeyup,onkeydown,onkeypress",!0),jo=(e,t)=>Re(e)&&"onclick"===e.content.toLowerCase()?xe(t,!0):4!==e.type?Ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ao=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Fo=[Mo],Do={cloak:yo,html:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("innerHTML",!0,r),o||xe("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return t.children.length&&(t.children.length=0),{props:[Se(xe("textContent",!0),o?_e(n.helperString(q),[o],r):xe("",!0))]}},model:(e,t,n)=>{const o=so(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=Ye(t,"type");if(n){if(7===n.type)e=ko;else if(n.value)switch(n.value.content){case"radio":e=vo;break;case"checkbox":e=bo;break;case"file":i=!0}}else Qe(t)&&(e=ko)}else"select"===r&&(e=xo);i||(o.needRuntime=n.helper(e))}return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Xn(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:r,value:s}=t.props[0];const{keyModifiers:i,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,o)=>{const r=[],s=[],i=[];for(let c=0;c<t.length;c++){const o=t[c];"native"===o&&mt("COMPILER_V_ON_NATIVE",n)||Ro(o)?i.push(o):Lo(o)?Re(e)?Bo(e.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Vo(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(r,o,n);if(c.includes("right")&&(r=jo(r,"onContextmenu")),c.includes("middle")&&(r=jo(r,"onMouseup")),c.length&&(s=_e(n.helper(No),[s,JSON.stringify(c)])),!i.length||Re(r)&&!Bo(r.content)||(s=_e(n.helper(_o),[s,JSON.stringify(i)])),l.length){const e=l.map(N).join("");r=Re(r)?xe(`${r.content}${e}`,!0):Ne(["(",r,`) + "${e}"`])}return{props:[Se(r,s)]}})),show:(e,t,n)=>({props:[],needRuntime:n.helper(To)})};function Ho(e,t={}){return go(e,f({},Co,t,{nodeTransforms:[Ao,...Fo,...t.nodeTransforms||[]],directiveTransforms:f({},Do,t.directiveTransforms||{}),transformHoist:null}))}function Uo(e,t={}){return St(e,f({},Co,t))}export{I as BASE_TRANSITION,ne as CAMELIZE,oe as CAPITALIZE,R as CREATE_BLOCK,j as CREATE_COMMENT,V as CREATE_ELEMENT_BLOCK,B as CREATE_ELEMENT_VNODE,K as CREATE_SLOTS,F as CREATE_STATIC,A as CREATE_TEXT,L as CREATE_VNODE,Do as DOMDirectiveTransforms,Fo as DOMNodeTransforms,O as FRAGMENT,ee as GUARD_REACTIVE_PROPS,fe as IS_MEMO_SAME,pe as IS_REF,M as KEEP_ALIVE,Y as MERGE_PROPS,Z as NORMALIZE_CLASS,X as NORMALIZE_PROPS,Q as NORMALIZE_STYLE,P as OPEN_BLOCK,ce as POP_SCOPE_ID,ie as PUSH_SCOPE_ID,z as RENDER_LIST,G as RENDER_SLOT,D as RESOLVE_COMPONENT,U as RESOLVE_DIRECTIVE,H as RESOLVE_DYNAMIC_COMPONENT,W as RESOLVE_FILTER,se as SET_BLOCK_TRACKING,C as SUSPENSE,w as TELEPORT,q as TO_DISPLAY_STRING,te as TO_HANDLERS,re as TO_HANDLER_KEY,Eo as TRANSITION,$o as TRANSITION_GROUP,ae as UNREF,bo as V_MODEL_CHECKBOX,ko as V_MODEL_DYNAMIC,vo as V_MODEL_RADIO,xo as V_MODEL_SELECT,So as V_MODEL_TEXT,_o as V_ON_WITH_KEYS,No as V_ON_WITH_MODIFIERS,To as V_SHOW,le as WITH_CTX,J as WITH_DIRECTIVES,ue as WITH_MEMO,ze as advancePositionWithClone,Ge as advancePositionWithMutation,Ke as assert,go as baseCompile,St as baseParse,zn as buildProps,An as buildSlots,mt as checkCompatEnabled,Ho as compile,ve as createArrayExpression,Me as createAssignmentExpression,Oe as createBlockStatement,$e as createCacheExpression,_e as createCallExpression,$ as createCompilerError,Ne as createCompoundExpression,Ee as createConditionalExpression,Po as createDOMCompilerError,Rn as createForLoopParams,Te as createFunctionExpression,Ce as createIfStatement,ke as createInterpolation,be as createObjectExpression,Se as createObjectProperty,Pe as createReturnStatement,ge as createRoot,Ie as createSequenceExpression,xe as createSimpleExpression,tn as createStructuralDirectiveTransform,we as createTemplateLiteral,Qt as createTransformContext,ye as createVNodeCall,gn as extractIdentifiers,qe as findDir,Ye as findProp,nn as generate,t as generateCodeFrame,mo as getBaseTransformPreset,Je as getInnerRange,pt as getMemoedVNodeCall,rt as getVNodeBlockHelper,ot as getVNodeHelper,Qe as hasDynamicKeyVBind,at as hasScopeRef,de as helperNameMap,ct as injectProp,Ve as isBuiltInType,Le as isCoreComponent,yn as isFunctionType,dn as isInDestructureAssignment,We as isMemberExpression,He as isMemberExpressionBrowser,Ue as isMemberExpressionNode,fn as isReferencedIdentifier,je as isSimpleIdentifier,nt as isSlotOutlet,Ze as isStaticArgOf,Re as isStaticExp,vn as isStaticProperty,bn as isStaticPropertyKey,tt as isTemplateNode,Xe as isText,et as isVSlot,me as locStub,ut as makeBlock,yo as noopDirectiveTransform,Uo as parse,Co as parserOptions,xn as processExpression,On as processFor,Nn as processIf,Zn as processSlotOutlet,he as registerRuntimeHelpers,Jn as resolveComponentType,lt as toValidAssetId,Ln as trackSlotScopes,Bn as trackVForSlotScopes,Xt as transform,eo as transformBind,Wn as transformElement,Sn as transformExpression,so as transformModel,Xn as transformOn,Mo as transformStyle,en as traverseNode,mn as walkBlockDeclarations,hn as walkFunctionParams,un as walkIdentifiers,gt as warnDeprecation};
@@ -147,7 +147,7 @@ var VueCompilerDOM = (function (exports) {
147
147
  const isObject = (val) => val !== null && typeof val === 'object';
148
148
  const isReservedProp = /*#__PURE__*/ makeMap(
149
149
  // the leading comma is intentional so empty string "" is also included
150
- ',key,ref,' +
150
+ ',key,ref,ref_for,ref_key,' +
151
151
  'onVnodeBeforeMount,onVnodeMounted,' +
152
152
  'onVnodeBeforeUpdate,onVnodeUpdated,' +
153
153
  'onVnodeBeforeUnmount,onVnodeUnmounted');
@@ -689,12 +689,12 @@ var VueCompilerDOM = (function (exports) {
689
689
  }
690
690
  else if (p.name === 'bind' &&
691
691
  (p.exp || allowEmpty) &&
692
- isBindKey(p.arg, name)) {
692
+ isStaticArgOf(p.arg, name)) {
693
693
  return p;
694
694
  }
695
695
  }
696
696
  }
697
- function isBindKey(arg, name) {
697
+ function isStaticArgOf(arg, name) {
698
698
  return !!(arg && isStaticExp(arg) && arg.content === name);
699
699
  }
700
700
  function hasDynamicKeyVBind(node) {
@@ -737,7 +737,6 @@ var VueCompilerDOM = (function (exports) {
737
737
  }
738
738
  function injectProp(node, prop, context) {
739
739
  let propsWithInjection;
740
- const originalProps = node.type === 13 /* VNODE_CALL */ ? node.props : node.arguments[2];
741
740
  /**
742
741
  * 1. mergeProps(...)
743
742
  * 2. toHandlers(...)
@@ -746,7 +745,7 @@ var VueCompilerDOM = (function (exports) {
746
745
  *
747
746
  * we need to get the real props before normalization
748
747
  */
749
- let props = originalProps;
748
+ let props = node.type === 13 /* VNODE_CALL */ ? node.props : node.arguments[2];
750
749
  let callPath = [];
751
750
  let parentCall;
752
751
  if (props &&
@@ -928,11 +927,6 @@ var VueCompilerDOM = (function (exports) {
928
927
  `data source.`,
929
928
  link: `https://v3.vuejs.org/guide/migration/v-if-v-for.html`
930
929
  },
931
- ["COMPILER_V_FOR_REF" /* COMPILER_V_FOR_REF */]: {
932
- message: `Ref usage on v-for no longer creates array ref values in Vue 3. ` +
933
- `Consider using function refs or refactor to avoid ref usage altogether.`,
934
- link: `https://v3.vuejs.org/guide/migration/array-refs.html`
935
- },
936
930
  ["COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */]: {
937
931
  message: `<template> with no special directives will render as a native template ` +
938
932
  `element instead of its inner content in Vue 3.`
@@ -1450,7 +1444,7 @@ var VueCompilerDOM = (function (exports) {
1450
1444
  else if (
1451
1445
  // :is on plain element - only treat as component in compat mode
1452
1446
  p.name === 'bind' &&
1453
- isBindKey(p.arg, 'is') &&
1447
+ isStaticArgOf(p.arg, 'is') &&
1454
1448
  true &&
1455
1449
  checkCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context, p.loc)) {
1456
1450
  return true;
@@ -1810,15 +1804,6 @@ var VueCompilerDOM = (function (exports) {
1810
1804
  !isSlotOutlet(child));
1811
1805
  }
1812
1806
  function walk(node, context, doNotHoistNode = false) {
1813
- // Some transforms, e.g. transformAssetUrls from @vue/compiler-sfc, replaces
1814
- // static bindings with expressions. These expressions are guaranteed to be
1815
- // constant so they are still eligible for hoisting, but they are only
1816
- // available at runtime and therefore cannot be evaluated ahead of time.
1817
- // This is only a concern for pre-stringification (via transformHoist by
1818
- // @vue/compiler-dom), but doing it here allows us to perform only one full
1819
- // walk of the AST and allow `stringifyStatic` to stop walking as soon as its
1820
- // stringification threshold is met.
1821
- let canStringify = true;
1822
1807
  const { children } = node;
1823
1808
  const originalCount = children.length;
1824
1809
  let hoistedCount = 0;
@@ -1831,9 +1816,6 @@ var VueCompilerDOM = (function (exports) {
1831
1816
  ? 0 /* NOT_CONSTANT */
1832
1817
  : getConstantType(child, context);
1833
1818
  if (constantType > 0 /* NOT_CONSTANT */) {
1834
- if (constantType < 3 /* CAN_STRINGIFY */) {
1835
- canStringify = false;
1836
- }
1837
1819
  if (constantType >= 2 /* CAN_HOIST */) {
1838
1820
  child.codegenNode.patchFlag =
1839
1821
  -1 /* HOISTED */ + (` /* HOISTED */` );
@@ -1864,17 +1846,10 @@ var VueCompilerDOM = (function (exports) {
1864
1846
  }
1865
1847
  }
1866
1848
  }
1867
- else if (child.type === 12 /* TEXT_CALL */) {
1868
- const contentType = getConstantType(child.content, context);
1869
- if (contentType > 0) {
1870
- if (contentType < 3 /* CAN_STRINGIFY */) {
1871
- canStringify = false;
1872
- }
1873
- if (contentType >= 2 /* CAN_HOIST */) {
1874
- child.codegenNode = context.hoist(child.codegenNode);
1875
- hoistedCount++;
1876
- }
1877
- }
1849
+ else if (child.type === 12 /* TEXT_CALL */ &&
1850
+ getConstantType(child.content, context) >= 2 /* CAN_HOIST */) {
1851
+ child.codegenNode = context.hoist(child.codegenNode);
1852
+ hoistedCount++;
1878
1853
  }
1879
1854
  // walk further
1880
1855
  if (child.type === 1 /* ELEMENT */) {
@@ -1898,7 +1873,7 @@ var VueCompilerDOM = (function (exports) {
1898
1873
  }
1899
1874
  }
1900
1875
  }
1901
- if (canStringify && hoistedCount && context.transformHoist) {
1876
+ if (hoistedCount && context.transformHoist) {
1902
1877
  context.transformHoist(children, context, node);
1903
1878
  }
1904
1879
  // all children were hoisted - the entire children array is hoistable.
@@ -1927,6 +1902,11 @@ var VueCompilerDOM = (function (exports) {
1927
1902
  if (codegenNode.type !== 13 /* VNODE_CALL */) {
1928
1903
  return 0 /* NOT_CONSTANT */;
1929
1904
  }
1905
+ if (codegenNode.isBlock &&
1906
+ node.tag !== 'svg' &&
1907
+ node.tag !== 'foreignObject') {
1908
+ return 0 /* NOT_CONSTANT */;
1909
+ }
1930
1910
  const flag = getPatchFlag(codegenNode);
1931
1911
  if (!flag) {
1932
1912
  let returnType = 3 /* CAN_STRINGIFY */;
@@ -2063,7 +2043,7 @@ var VueCompilerDOM = (function (exports) {
2063
2043
  else if (value.type === 14 /* JS_CALL_EXPRESSION */) {
2064
2044
  // some helper calls can be hoisted,
2065
2045
  // such as the `normalizeProps` generated by the compiler for pre-normalize class,
2066
- // in this case we need to respect the ConstantType of the helper's argments
2046
+ // in this case we need to respect the ConstantType of the helper's arguments
2067
2047
  valueType = getConstantTypeOfHelperCall(value, context);
2068
2048
  }
2069
2049
  else {
@@ -3849,10 +3829,7 @@ var VueCompilerDOM = (function (exports) {
3849
3829
  // updates inside get proper isSVG flag at runtime. (#639, #643)
3850
3830
  // This is technically web-specific, but splitting the logic out of core
3851
3831
  // leads to too much unnecessary complexity.
3852
- (tag === 'svg' ||
3853
- tag === 'foreignObject' ||
3854
- // #938: elements with dynamic keys should be forced into blocks
3855
- findProp(node, 'key', true)));
3832
+ (tag === 'svg' || tag === 'foreignObject'));
3856
3833
  // props
3857
3834
  if (props.length > 0) {
3858
3835
  const propsBuildResult = buildProps(node, context);
@@ -3864,6 +3841,9 @@ var VueCompilerDOM = (function (exports) {
3864
3841
  directives && directives.length
3865
3842
  ? createArrayExpression(directives.map(dir => buildDirectiveArgs(dir, context)))
3866
3843
  : undefined;
3844
+ if (propsBuildResult.shouldUseBlock) {
3845
+ shouldUseBlock = true;
3846
+ }
3867
3847
  }
3868
3848
  // children
3869
3849
  if (node.children.length > 0) {
@@ -3992,11 +3972,13 @@ var VueCompilerDOM = (function (exports) {
3992
3972
  return toValidAssetId(tag, `component`);
3993
3973
  }
3994
3974
  function buildProps(node, context, props = node.props, ssr = false) {
3995
- const { tag, loc: elementLoc } = node;
3975
+ const { tag, loc: elementLoc, children } = node;
3996
3976
  const isComponent = node.tagType === 1 /* COMPONENT */;
3997
3977
  let properties = [];
3998
3978
  const mergeArgs = [];
3999
3979
  const runtimeDirectives = [];
3980
+ const hasChildren = children.length > 0;
3981
+ let shouldUseBlock = false;
4000
3982
  // patchFlag analysis
4001
3983
  let patchFlag = 0;
4002
3984
  let hasRef = false;
@@ -4059,9 +4041,12 @@ var VueCompilerDOM = (function (exports) {
4059
4041
  const prop = props[i];
4060
4042
  if (prop.type === 6 /* ATTRIBUTE */) {
4061
4043
  const { loc, name, value } = prop;
4062
- let valueNode = createSimpleExpression(value ? value.content : '', true, value ? value.loc : loc);
4044
+ let isStatic = true;
4063
4045
  if (name === 'ref') {
4064
4046
  hasRef = true;
4047
+ if (context.scopes.vFor > 0) {
4048
+ properties.push(createObjectProperty(createSimpleExpression('ref_for', true), createSimpleExpression('true')));
4049
+ }
4065
4050
  }
4066
4051
  // skip is on <component>, or is="vue:xxx"
4067
4052
  if (name === 'is' &&
@@ -4070,7 +4055,7 @@ var VueCompilerDOM = (function (exports) {
4070
4055
  (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context)))) {
4071
4056
  continue;
4072
4057
  }
4073
- properties.push(createObjectProperty(createSimpleExpression(name, true, getInnerRange(loc, 0, name.length)), valueNode));
4058
+ properties.push(createObjectProperty(createSimpleExpression(name, true, getInnerRange(loc, 0, name.length)), createSimpleExpression(value ? value.content : '', isStatic, value ? value.loc : loc)));
4074
4059
  }
4075
4060
  else {
4076
4061
  // directives
@@ -4091,7 +4076,7 @@ var VueCompilerDOM = (function (exports) {
4091
4076
  // skip v-is and :is on <component>
4092
4077
  if (name === 'is' ||
4093
4078
  (isVBind &&
4094
- isBindKey(arg, 'is') &&
4079
+ isStaticArgOf(arg, 'is') &&
4095
4080
  (isComponentTag(tag) ||
4096
4081
  (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context))))) {
4097
4082
  continue;
@@ -4100,6 +4085,17 @@ var VueCompilerDOM = (function (exports) {
4100
4085
  if (isVOn && ssr) {
4101
4086
  continue;
4102
4087
  }
4088
+ if (
4089
+ // #938: elements with dynamic keys should be forced into blocks
4090
+ (isVBind && isStaticArgOf(arg, 'key')) ||
4091
+ // inline before-update hooks need to force block so that it is invoked
4092
+ // before children
4093
+ (isVOn && hasChildren && isStaticArgOf(arg, 'vue:before-update'))) {
4094
+ shouldUseBlock = true;
4095
+ }
4096
+ if (isVBind && isStaticArgOf(arg, 'ref') && context.scopes.vFor > 0) {
4097
+ properties.push(createObjectProperty(createSimpleExpression('ref_for', true), createSimpleExpression('true')));
4098
+ }
4103
4099
  // special case for v-bind and v-on with no argument
4104
4100
  if (!arg && (isVBind || isVOn)) {
4105
4101
  hasDynamicKeys = true;
@@ -4173,14 +4169,13 @@ var VueCompilerDOM = (function (exports) {
4173
4169
  else {
4174
4170
  // no built-in transform, this is a user custom directive.
4175
4171
  runtimeDirectives.push(prop);
4172
+ // custom dirs may use beforeUpdate so they need to force blocks
4173
+ // to ensure before-update gets called before children update
4174
+ if (hasChildren) {
4175
+ shouldUseBlock = true;
4176
+ }
4176
4177
  }
4177
4178
  }
4178
- if (prop.type === 6 /* ATTRIBUTE */ &&
4179
- prop.name === 'ref' &&
4180
- context.scopes.vFor > 0 &&
4181
- checkCompatEnabled("COMPILER_V_FOR_REF" /* COMPILER_V_FOR_REF */, context, prop.loc)) {
4182
- properties.push(createObjectProperty(createSimpleExpression('refInFor', true), createSimpleExpression('true', false)));
4183
- }
4184
4179
  }
4185
4180
  let propsExpression = undefined;
4186
4181
  // has v-bind="object" or v-on="object", wrap with mergeProps
@@ -4217,7 +4212,8 @@ var VueCompilerDOM = (function (exports) {
4217
4212
  patchFlag |= 32 /* HYDRATE_EVENTS */;
4218
4213
  }
4219
4214
  }
4220
- if ((patchFlag === 0 || patchFlag === 32 /* HYDRATE_EVENTS */) &&
4215
+ if (!shouldUseBlock &&
4216
+ (patchFlag === 0 || patchFlag === 32 /* HYDRATE_EVENTS */) &&
4221
4217
  (hasRef || hasVnodeHook || runtimeDirectives.length > 0)) {
4222
4218
  patchFlag |= 512 /* NEED_PATCH */;
4223
4219
  }
@@ -4284,7 +4280,8 @@ var VueCompilerDOM = (function (exports) {
4284
4280
  props: propsExpression,
4285
4281
  directives: runtimeDirectives,
4286
4282
  patchFlag,
4287
- dynamicPropNames
4283
+ dynamicPropNames,
4284
+ shouldUseBlock
4288
4285
  };
4289
4286
  }
4290
4287
  // Dedupe props in an object literal.
@@ -4372,7 +4369,7 @@ var VueCompilerDOM = (function (exports) {
4372
4369
  return propsNamesString + `]`;
4373
4370
  }
4374
4371
  function isComponentTag(tag) {
4375
- return tag[0].toLowerCase() + tag.slice(1) === 'component';
4372
+ return tag === 'component' || tag === 'Component';
4376
4373
  }
4377
4374
 
4378
4375
  const transformSlotOutlet = (node, context) => {
@@ -4420,7 +4417,7 @@ var VueCompilerDOM = (function (exports) {
4420
4417
  }
4421
4418
  }
4422
4419
  else {
4423
- if (p.name === 'bind' && isBindKey(p.arg, 'name')) {
4420
+ if (p.name === 'bind' && isStaticArgOf(p.arg, 'name')) {
4424
4421
  if (p.exp)
4425
4422
  slotName = p.exp;
4426
4423
  }
@@ -4454,7 +4451,11 @@ var VueCompilerDOM = (function (exports) {
4454
4451
  let eventName;
4455
4452
  if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
4456
4453
  if (arg.isStatic) {
4457
- const rawName = arg.content;
4454
+ let rawName = arg.content;
4455
+ // TODO deprecate @vnodeXXX usage
4456
+ if (rawName.startsWith('vue:')) {
4457
+ rawName = `vnode-${rawName.slice(4)}`;
4458
+ }
4458
4459
  // for all event listeners, auto convert it to camelCase. See issue #2249
4459
4460
  eventName = createSimpleExpression(toHandlerKey(camelize(rawName)), true, arg.loc);
4460
4461
  }
@@ -5551,7 +5552,6 @@ var VueCompilerDOM = (function (exports) {
5551
5552
  exports.hasScopeRef = hasScopeRef;
5552
5553
  exports.helperNameMap = helperNameMap;
5553
5554
  exports.injectProp = injectProp;
5554
- exports.isBindKey = isBindKey;
5555
5555
  exports.isBuiltInType = isBuiltInType;
5556
5556
  exports.isCoreComponent = isCoreComponent;
5557
5557
  exports.isFunctionType = isFunctionType;
@@ -5562,6 +5562,7 @@ var VueCompilerDOM = (function (exports) {
5562
5562
  exports.isReferencedIdentifier = isReferencedIdentifier;
5563
5563
  exports.isSimpleIdentifier = isSimpleIdentifier;
5564
5564
  exports.isSlotOutlet = isSlotOutlet;
5565
+ exports.isStaticArgOf = isStaticArgOf;
5565
5566
  exports.isStaticExp = isStaticExp;
5566
5567
  exports.isStaticProperty = isStaticProperty;
5567
5568
  exports.isStaticPropertyKey = isStaticPropertyKey;