vue-next
Version:
## Status: Pre-Alpha.
2 lines • 74.2 kB
JavaScript
var Vue=function(e){"use strict";const n={TEXT:1,CLASS:2,STYLE:4,PROPS:8,NEED_PATCH:32,FULL_PROPS:16,KEYED_FRAGMENT:64,UNKEYED_FRAGMENT:128,DYNAMIC_SLOTS:256,BAIL:-1},t={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",32:"NEED_PATCH",16:"FULL_PROPS",64:"KEYED_FRAGMENT",128:"UNKEYED_FRAGMENT",256:"DYNAMIC_SLOTS",[-1]:"BAIL"};function o(e,n){const t=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)t[o[e]]=!0;return n?e=>!!t[e.toLowerCase()]:e=>!!t[e]}const r=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),l={},s=[],c=()=>{},i=()=>!1,u=e=>"o"===e[0]&&"n"===e[1],a=(e,n)=>{for(const t in n)e[t]=n[t];return e},f=Object.prototype.hasOwnProperty,p=(e,n)=>f.call(e,n),d=Array.isArray,h=e=>"function"==typeof e,g=e=>"string"==typeof e,m=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e;function v(e){return y(e)&&h(e.then)&&h(e.catch)}const b=Object.prototype.toString,x=e=>b.call(e);const S=e=>"[object Object]"===x(e),k=e=>"key"===e||"ref"===e||e.startsWith("onVnode"),T=/-(\w)/g,N=e=>e.replace(T,(e,n)=>n?n.toUpperCase():""),C=/\B([A-Z])/g,w=e=>e.replace(C,"-$1").toLowerCase(),E=e=>e.charAt(0).toUpperCase()+e.slice(1),R=(e,n)=>e!==n&&(e==e||n==n);function M(e){throw e}function $(e,n,t){const o=e,r=n?` (${n.start.line}:${n.start.column})`:"",l=new SyntaxError(o+r);return l.code=e,l.loc=n,l}const P={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function O(e,n=P){return{type:16,loc:n,elements:e}}function _(e,n=P){return{type:14,loc:n,properties:e}}function V(e,n){return{type:15,loc:P,key:g(e)?A(e,!0):e,value:n}}function A(e,n,t=P,o=!1){return{type:4,loc:t,isConstant:o,content:e,isStatic:n}}function U(e,n=P){return{type:8,loc:n,children:e}}function L(e,n=[],t=P){return{type:13,loc:t,callee:e,arguments:n}}function F(e,n,t=!1,o=P){return{type:17,params:e,returns:n,newline:t,loc:o}}function D(e){return{type:18,expressions:e,loc:P}}function I(e,n,t){return{type:19,test:e,consequent:n,alternate:t,loc:P}}const j=Symbol(""),B=Symbol(""),W=Symbol(""),z=Symbol(""),H=Symbol(""),K=Symbol(""),J=Symbol(""),G=Symbol(""),Y=Symbol(""),q=Symbol(""),X=Symbol(""),Z=Symbol(""),Q=Symbol(""),ee=Symbol(""),ne=Symbol(""),te=Symbol(""),oe=Symbol(""),re=Symbol(""),le=Symbol(""),se=Symbol(""),ce={[j]:"Fragment",[B]:"Portal",[W]:"Suspense",[z]:"openBlock",[H]:"createBlock",[K]:"createVNode",[J]:"createCommentVNode",[G]:"createTextVNode",[Y]:"resolveComponent",[q]:"resolveDynamicComponent",[X]:"resolveDirective",[Z]:"withDirectives",[Q]:"renderList",[ee]:"renderSlot",[ne]:"createSlots",[te]:"toString",[oe]:"mergeProps",[re]:"toHandlers",[le]:"camelize",[se]:"setBlockTracking"};const ie=/^\d|[^\$\w]/,ue=e=>!ie.test(e),ae=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\[[^\]]+\])*$/,fe=e=>ae.test(e);function pe(e,n,t){const o={source:e.source.substr(n,t),start:de(e.start,e.source,n),end:e.end};return null!=t&&(o.end=de(e.start,e.source,n+t)),o}function de(e,n,t=n.length){return he({...e},n,t)}function he(e,n,t=n.length){let o=0,r=-1;for(let e=0;e<t;e++)10===n.charCodeAt(e)&&(o++,r=e);return e.offset+=t,e.line+=o,e.column=-1===r?e.column+t:Math.max(1,t-r),e}function ge(e,n,t=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(7===r.type&&(t||r.exp)&&(g(n)?r.name===n:n.test(r.name)))return r}}function me(e,n,t=!1){for(let o=0;o<e.props.length;o++){const r=e.props[o];if(6===r.type){if(t)continue;if(r.name===n&&r.value)return r}else if("bind"===r.name&&r.arg&&4===r.arg.type&&r.arg.isStatic&&r.arg.content===n&&r.exp)return r}}function ye(e,n){return D([L(n.helper(z)),e])}const ve=e=>7===e.type&&"slot"===e.name,be=e=>1===e.type&&3===e.tagType,xe=e=>1===e.type&&2===e.tagType;function Se(e,n,t){let o;const r=e.callee===ee?e.arguments[2]:e.arguments[1];if(null==r||g(r))o=_([n]);else if(13===r.type){const e=r.arguments[0];g(e)||14!==e.type?r.arguments.unshift(_([n])):e.properties.unshift(n),o=r}else 14===r.type?(r.properties.unshift(n),o=r):o=L(t.helper(oe),[_([n]),r]);e.callee===ee?e.arguments[2]=o:e.arguments[1]=o}function ke(e,n){return`_${n}_${e.replace(/[^\w]/g,"_")}`}const Te={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:i,isPreTag:i,isCustomElement:i,namedCharacterReferences:{"gt;":">","lt;":"<","amp;":"&","apos;":"'","quot;":'"'},onError:M};function Ne(e,n={}){const t=function(e,n){return{options:{...Te,...n},column:1,line:1,offset:0,originalSource:e,source:e,maxCRNameLength:Object.keys(n.namedCharacterReferences||Te.namedCharacterReferences).reduce((e,n)=>Math.max(e,n.length),0),inPre:!1}}(e,n),o=Le(t);return{type:0,children:Ce(t,0,[]),helpers:[],components:[],directives:[],hoists:[],cached:0,codegenNode:void 0,loc:Fe(t,o)}}function Ce(e,n,t){const o=De(t),r=o?o.ns:0,l=[];for(;!He(e,n,t);){const s=e.source;let c=void 0;if(!e.inPre&&Ie(s,e.options.delimiters[0]))c=Ve(e,n);else if(0===n&&"<"===s[0])if(1===s.length)ze(e,8,1);else if("!"===s[1])Ie(s,"\x3c!--")?c=Re(e):Ie(s,"<!DOCTYPE")?c=Me(e):Ie(s,"<![CDATA[")?0!==r?c=Ee(e,t):(ze(e,2),c=Me(e)):(ze(e,14),c=Me(e));else if("/"===s[1])if(2===s.length)ze(e,8,2);else{if(">"===s[2]){ze(e,17,2),je(e,3);continue}if(/[a-z]/i.test(s[2])){ze(e,31),Pe(e,1,o);continue}ze(e,15,2),c=Me(e)}else/[a-z]/i.test(s[1])?c=$e(e,t):"?"===s[1]?(ze(e,28,1),c=Me(e)):ze(e,15,1);if(c||(c=Ae(e,n)),Array.isArray(c))for(let e=0;e<c.length;e++)we(l,c[e]);else we(l,c)}let s=!1;if(!o||!e.options.isPreTag(o.tag))for(let e=0;e<l.length;e++){const n=l[e];if(2===n.type)if(n.content.trim())n.content=n.content.replace(/\s+/g," ");else{const t=l[e-1],o=l[e+1];!t||!o||3===t.type||3===o.type||1===t.type&&1===o.type&&/[\r\n]/.test(n.content)?(s=!0,l[e]=null):n.content=" "}}return s?l.filter(e=>null!==e):l}function we(e,n){if(3!==n.type){if(2===n.type){const t=De(e);if(t&&2===t.type&&t.loc.end.offset===n.loc.start.offset)return t.content+=n.content,t.loc.end=n.loc.end,void(t.loc.source+=n.loc.source)}e.push(n)}}function Ee(e,n){je(e,9);const t=Ce(e,3,n);return 0===e.source.length?ze(e,9):je(e,3),t}function Re(e){const n=Le(e);let t;const o=/--(\!)?>/.exec(e.source);if(o){o.index<=3&&ze(e,0),o[1]&&ze(e,13),t=e.source.slice(4,o.index);const n=e.source.slice(0,o.index);let r=1,l=0;for(;-1!==(l=n.indexOf("\x3c!--",r));)je(e,l-r+1),l+4<n.length&&ze(e,20),r=l+1;je(e,o.index+o[0].length-r+1)}else t=e.source.slice(4),je(e,e.source.length),ze(e,10);return{type:3,content:t,loc:Fe(e,n)}}function Me(e){const n=Le(e),t="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(t),je(e,e.source.length)):(o=e.source.slice(t,r),je(e,r+1)),{type:3,content:o,loc:Fe(e,n)}}function $e(e,n){const t=e.inPre,o=De(n),r=Pe(e,0,o),l=e.inPre&&!t;if(r.isSelfClosing||e.options.isVoidTag(r.tag))return r;n.push(r);const s=e.options.getTextMode(r.tag,r.ns),c=Ce(e,s,n);if(n.pop(),r.children=c,Ke(e.source,r.tag))Pe(e,1,o);else if(ze(e,32),0===e.source.length&&"script"===r.tag.toLowerCase()){const n=c[0];n&&Ie(n.loc.source,"\x3c!--")&&ze(e,11)}return r.loc=Fe(e,r.loc.start),l&&(e.inPre=!1),r}function Pe(e,n,t){const o=Le(e),r=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),l=r[1],s=e.options.getNamespace(l,t);je(e,r[0].length),Be(e);const c=Le(e),i=e.source;let u=Oe(e,n);!e.inPre&&u.some(e=>7===e.type&&"pre"===e.name)&&(e.inPre=!0,a(e,c),e.source=i,u=Oe(e,n).filter(e=>"v-pre"!==e.name));let f=!1;0===e.source.length?ze(e,12):(f=Ie(e.source,"/>"),1===n&&f&&ze(e,7),je(e,f?2:1));let p=0;return e.inPre||e.options.isCustomElement(l)||(e.options.isNativeTag?e.options.isNativeTag(l)||(p=1):/^[A-Z]/.test(l)&&(p=1),"slot"===l?p=2:"template"===l?p=3:"portal"===l||"Portal"===l?p=4:"suspense"!==l&&"Suspense"!==l||(p=5)),{type:1,ns:s,tag:l,tagType:p,props:u,isSelfClosing:f,children:[],loc:Fe(e,o),codegenNode:void 0}}function Oe(e,n){const t=[],o=new Set;for(;e.source.length>0&&!Ie(e.source,">")&&!Ie(e.source,"/>");){if(Ie(e.source,"/")){ze(e,29),je(e,1),Be(e);continue}1===n&&ze(e,6);const r=_e(e,o);0===n&&t.push(r),/^[^\t\r\n\f />]/.test(e.source)&&ze(e,19),Be(e)}return t}function _e(e,n){const t=Le(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];n.has(o)&&ze(e,5),n.add(o),"="===o[0]&&ze(e,26);{const n=/["'<]/g;let t;for(;null!==(t=n.exec(o));)ze(e,24,t.index)}je(e,o.length);let r=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(Be(e),je(e,1),Be(e),(r=function(e){const n=Le(e);let t;const o=e.source[0],r='"'===o||"'"===o;if(r){je(e,1);const n=e.source.indexOf(o);-1===n?t=Ue(e,e.source.length,4):(t=Ue(e,n,4),je(e,1))}else{const n=/^[^\t\r\n\f >]+/.exec(e.source);if(!n)return;let o,r=/["'<=`]/g;for(;null!==(o=r.exec(n[0]));)ze(e,25,o.index);t=Ue(e,n[0].length,4)}return{content:t,isQuoted:r,loc:Fe(e,n)}}(e))||ze(e,16));const l=Fe(e,t);if(!e.inPre&&/^(v-|:|@|#)/.test(o)){const n=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)([^\.]+))?(.+)?$/i.exec(o);let s;if(n[2]){const r=o.split(n[2],2).shift().length,l=Fe(e,We(e,t,r),We(e,t,r+n[2].length));let c=n[2],i=!0;c.startsWith("[")&&(i=!1,c.endsWith("]")||ze(e,34),c=c.substr(1,c.length-2)),s={type:4,content:c,isStatic:i,isConstant:i,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=de(e.start,r.content),e.source=e.source.slice(1,-1)}return{type:7,name:n[1]||(Ie(o,":")?"bind":Ie(o,"@")?"on":"slot"),exp:r&&{type:4,content:r.content,isStatic:!1,isConstant:!1,loc:r.loc},arg:s,modifiers:n[3]?n[3].substr(1).split("."):[],loc:l}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:l}}function Ve(e,n){const[t,o]=e.options.delimiters,r=e.source.indexOf(o,t.length);if(-1===r)return void ze(e,33);const l=Le(e);je(e,t.length);const s=Le(e),c=Le(e),i=r-t.length,u=e.source.slice(0,i),a=Ue(e,i,n),f=a.trim(),p=a.indexOf(f);return p>0&&he(s,u,p),he(c,u,i-(a.length-f.length-p)),je(e,o.length),{type:5,content:{type:4,isStatic:!1,isConstant:!1,content:f,loc:Fe(e,s,c)},loc:Fe(e,l)}}function Ae(e,n){const[t]=e.options.delimiters,o=Math.min(...[e.source.indexOf("<",1),e.source.indexOf(t,1),3===n?e.source.indexOf("]]>"):-1,e.source.length].filter(e=>-1!==e)),r=Le(e);return{type:2,content:Ue(e,o,n),loc:Fe(e,r)}}function Ue(e,n,t){if(2===t||3===t){const t=e.source.slice(0,n);return je(e,n),t}const o=e.offset+n;let r="";for(;e.offset<o;){const n=/&(?:#x?)?/i.exec(e.source);if(!n||e.offset+n.index>=o){const n=o-e.offset;r+=e.source.slice(0,n),je(e,n);break}if(r+=e.source.slice(0,n.index),je(e,n.index),"&"===n[0]){let n="",o=void 0;if(/[0-9a-z]/i.test(e.source[1])){for(let t=e.maxCRNameLength;!o&&t>0;--t)n=e.source.substr(1,t),o=e.options.namedCharacterReferences[n];if(o){const l=n.endsWith(";");4===t&&!l&&/[=a-z0-9]/i.test(e.source[1+n.length]||"")?(r+="&",r+=n,je(e,1+n.length)):(r+=o,je(e,1+n.length),l||ze(e,18))}else ze(e,30),r+="&",r+=n,je(e,1+n.length)}else r+="&",je(e,1)}else{const t="&#x"===n[0],o=(t?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(e.source);if(o){let n=Number.parseInt(o[1],t?16:10);0===n?(ze(e,22),n=65533):n>1114111?(ze(e,3),n=65533):n>=55296&&n<=57343?(ze(e,23),n=65533):n>=64976&&n<=65007||65534==(65534&n)?ze(e,21):(n>=1&&n<=8||11===n||n>=13&&n<=31||n>=127&&n<=159)&&(ze(e,4),n=Je[n]||n),r+=String.fromCodePoint(n),je(e,o[0].length),o[0].endsWith(";")||ze(e,18)}else r+=n[0],ze(e,1),je(e,n[0].length)}}return r}function Le(e){const{column:n,line:t,offset:o}=e;return{column:n,line:t,offset:o}}function Fe(e,n,t){return{start:n,end:t=t||Le(e),source:e.originalSource.slice(n.offset,t.offset)}}function De(e){return e[e.length-1]}function Ie(e,n){return e.startsWith(n)}function je(e,n){const{source:t}=e;he(e,t,n),e.source=t.slice(n)}function Be(e){const n=/^[\t\r\n\f ]+/.exec(e.source);n&&je(e,n[0].length)}function We(e,n,t){return de(n,e.originalSource.slice(n.offset,t),t)}function ze(e,n,t){const o=Le(e);t&&(o.offset+=t,o.column+=t),e.options.onError($(n,{start:o,end:o,source:""}))}function He(e,n,t){const o=e.source;switch(n){case 0:if(Ie(o,"</"))for(let e=t.length-1;e>=0;--e)if(Ke(o,t[e].tag))return!0;break;case 1:case 2:{const e=De(t);if(e&&Ke(o,e.tag))return!0;break}case 3:if(Ie(o,"]]>"))return!0}return!o}function Ke(e,n){return Ie(e,"</")&&e.substr(2,n.length).toLowerCase()===n.toLowerCase()&&/[\t\n\f />]/.test(e[2+n.length]||">")}const Je={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function Ge(e,n){!function e(n,t,o,r=!1){for(let l=0;l<n.length;l++){const s=n[l];if(1===s.type&&0===s.tagType){if(!r&&qe(s,o)){s.codegenNode=t.hoist(s.codegenNode);continue}{const e=s.codegenNode;if(13===e.type){const n=tn(e);if(!(n&&32!==n&&1!==n||Xe(s)||Ze())){const n=Qe(s);n&&"null"!==n&&(nn(e).arguments[1]=t.hoist(n))}}}}if(1===s.type)e(s.children,t,o);else if(11===s.type)e(s.children,t,o,1===s.children.length);else if(9===s.type)for(let n=0;n<s.branches.length;n++){const r=s.branches[n].children;e(r,t,o,1===r.length)}}}(e.children,n,new Map,Ye(e,e.children[0]))}function Ye(e,n){const{children:t}=e;return 1===t.length&&1===n.type&&!xe(n)}function qe(e,n=new Map){switch(e.type){case 1:if(0!==e.tagType)return!1;const t=n.get(e);if(void 0!==t)return t;const o=e.codegenNode;if(13!==o.type)return!1;if(tn(o)||Xe(e)||Ze())return n.set(e,!1),!1;for(let t=0;t<e.children.length;t++)if(!qe(e.children[t],n))return n.set(e,!1),!1;return n.set(e,!0),!0;case 2:case 3:return!0;case 9:case 11:return!1;case 5:case 12:return qe(e.content,n);case 4:return e.isConstant;case 8:return e.children.every(e=>g(e)||m(e)||qe(e,n));default:return!1}}function Xe(e){return!(!me(e,"key",!0)&&!me(e,"ref",!0))}function Ze(e){return!1}function Qe(e){const n=e.codegenNode;if(13===n.type)return en(n,1)}function en(e,n){return nn(e).arguments[n]}function nn(e){return e.callee===Z?e.arguments[0]:e}function tn(e){const n=en(e,3);return n?parseInt(n,10):void 0}function on(e,{prefixIdentifiers:n=!1,hoistStatic:t=!1,cacheHandlers:o=!1,nodeTransforms:r=[],directiveTransforms:l={},onError:s=M}){const c={root:e,helpers:new Set,components:new Set,directives:new Set,hoists:[],cached:0,identifiers:{},scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},prefixIdentifiers:n,hoistStatic:t,cacheHandlers:o,nodeTransforms:r,directiveTransforms:l,onError:s,parent:null,currentNode:e,childIndex:0,helper:e=>(c.helpers.add(e),e),helperString:e=>(c.prefixIdentifiers?"":"_")+ce[c.helper(e)],replaceNode(e){c.parent.children[c.childIndex]=c.currentNode=e},removeNode(e){const n=c.parent.children,t=e?n.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=>(c.hoists.push(e),A(`_hoisted_${c.hoists.length}`,!1,e.loc,!0)),cache:(e,n=!1)=>(function(e,n,t=!1){return{type:20,index:e,value:n,isVNode:t,loc:P}})(++c.cached,e,n)};return c}function rn(e,n){const t=on(e,n);sn(e,t),n.hoistStatic&&Ge(e,t),function(e,n){const{helper:t}=n,{children:o}=e,r=o[0];if(1===o.length)if(Ye(e,r)&&r.codegenNode){const o=r.codegenNode;20!==o.type?(o.callee===Z?o.arguments[0].callee=t(H):o.callee=t(H),e.codegenNode=ye(o,n)):e.codegenNode=o}else e.codegenNode=r;else o.length>1&&(e.codegenNode=ye(L(t(H),[t(j),"null",e.children]),n));e.helpers=[...n.helpers],e.components=[...n.components],e.directives=[...n.directives],e.hoists=n.hoists,e.cached=n.cached}(e,t)}function ln(e,n){let t=0;const o=()=>{t--};for(;t<e.children.length;t++){const r=e.children[t];g(r)||(n.currentNode=r,n.parent=e,n.childIndex=t,n.onNodeRemoved=o,sn(r,n))}}function sn(e,n){const{nodeTransforms:t}=n,o=[];for(let r=0;r<t.length;r++){const l=t[r](e,n);if(l&&(d(l)?o.push(...l):o.push(l)),!n.currentNode)return;e=n.currentNode}switch(e.type){case 3:n.helper(J);break;case 5:n.helper(te);break;case 9:for(let t=0;t<e.branches.length;t++)ln(e.branches[t],n);break;case 11:case 1:case 0:ln(e,n)}let r=o.length;for(;r--;)o[r]()}function cn(e,n){const t=g(e)?n=>n===e:n=>e.test(n);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(ve))return;const l=[];for(let s=0;s<r.length;s++){const c=r[s];if(7===c.type&&t(c.name)){r.splice(s,1),s--;const t=n(e,c,o);t&&l.push(t)}}return l}}}function un(e,n={}){const t=function(e,{mode:n="function",prefixIdentifiers:t="module"===n,sourceMap:o=!1,filename:r="template.vue.html"}){const l={mode:n,prefixIdentifiers:t,sourceMap:o,filename:r,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,map:void 0,helper(e){const n=ce[e];return t?n:`_${n}`},push(e,n,t){l.code+=e},resetMapping(e){},indent(){s(++l.indentLevel)},deindent(e=!1){e?--l.indentLevel:s(--l.indentLevel)},newline(){s(l.indentLevel)}};function s(e){l.push("\n"+" ".repeat(e))}return l}(e,n),{mode:o,push:r,helper:l,prefixIdentifiers:s,indent:c,deindent:i,newline:u}=t,a=e.helpers.length>0,f=!s&&"module"!==o;return"function"===o?(a&&(s?r(`const { ${e.helpers.map(l).join(", ")} } = Vue\n`):(r("const _Vue = Vue\n"),e.hoists.length&&(r(`const _${ce[K]} = Vue.${ce[K]}\n`),e.helpers.includes(J)&&r(`const _${ce[J]} = Vue.${ce[J]}\n`)))),fn(e.hoists,t),u(),r("return ")):(a&&r(`import { ${e.helpers.map(l).join(", ")} } from "vue"\n`),fn(e.hoists,t),u(),r("export default ")),r("function render() {"),c(),f?(r("with (this) {"),c(),a&&(r(`const { ${e.helpers.map(e=>`${ce[e]}: _${ce[e]}`).join(", ")} } = _Vue`),u(),e.cached>0&&(r("const _cache = $cache"),u()),u())):(r("const _ctx = this"),e.cached>0&&(u(),r("const _cache = _ctx.$cache")),u()),e.components.length&&an(e.components,"component",t),e.directives.length&&an(e.directives,"directive",t),(e.components.length||e.directives.length)&&u(),r("return "),e.codegenNode?hn(e.codegenNode,t):r("null"),f&&(i(),r("}")),i(),r("}"),{ast:e,code:t.code,map:t.map?t.map.toJSON():void 0}}function an(e,n,t){const o=t.helper("component"===n?Y:X);for(let r=0;r<e.length;r++){const l=e[r];t.push(`const ${ke(l,n)} = ${o}(${JSON.stringify(l)})`),t.newline()}}function fn(e,n){e.length&&(n.newline(),e.forEach((e,t)=>{n.push(`const _hoisted_${t+1} = `),hn(e,n),n.newline()}))}function pn(e,n){const t=e.length>3||!1;n.push("["),t&&n.indent(),dn(e,n,t),t&&n.deindent(),n.push("]")}function dn(e,n,t=!1){const{push:o,newline:r}=n;for(let l=0;l<e.length;l++){const s=e[l];g(s)?o(s):d(s)?pn(s,n):hn(s,n),l<e.length-1&&(t?(o(","),r()):o(", "))}}function hn(e,n){if(g(e))n.push(e);else if(m(e))n.push(n.helper(e));else switch(e.type){case 1:case 9:case 11:hn(e.codegenNode,n);break;case 2:!function(e,n){n.push(JSON.stringify(e.content),e)}(e,n);break;case 4:gn(e,n);break;case 5:!function(e,n){const{push:t,helper:o}=n;t(`${o(te)}(`),hn(e.content,n),t(")")}(e,n);break;case 12:hn(e.codegenNode,n);break;case 8:mn(e,n);break;case 3:break;case 13:!function(e,n){const t=g(e.callee)?e.callee:n.helper(e.callee);n.push(t+"(",e,!0),dn(e.arguments,n),n.push(")")}(e,n);break;case 14:!function(e,n){const{push:t,indent:o,deindent:r,newline:l,resetMapping:s}=n,{properties:c}=e;if(!c.length)return void t("{}",e);const i=c.length>1||!1;t(i?"{":"{ "),i&&o();for(let e=0;e<c.length;e++){const{key:o,value:r,loc:i}=c[e];s(i),yn(o,n),t(": "),hn(r,n),e<c.length-1&&(t(","),l())}i&&r();const u=n.code[n.code.length-1];t(i||/[\])}]/.test(u)?"}":" }")}(e,n);break;case 16:!function(e,n){pn(e.elements,n)}(e,n);break;case 17:!function(e,n){const{push:t,indent:o,deindent:r}=n,{params:l,returns:s,newline:c}=e;t("(",e),d(l)?dn(l,n):l&&hn(l,n);t(") => "),c&&(t("{"),o(),t("return "));d(s)?pn(s,n):hn(s,n);c&&(r(),t("}"))}(e,n);break;case 18:!function(e,n){n.push("("),dn(e.expressions,n),n.push(")")}(e,n);break;case 19:!function(e,n){const{test:t,consequent:o,alternate:r}=e,{push:l,indent:s,deindent:c,newline:i}=n;if(4===t.type){const e=!ue(t.content);e&&l("("),gn(t,n),e&&l(")")}else l("("),mn(t,n),l(")");s(),n.indentLevel++,l("? "),hn(o,n),n.indentLevel--,i(),l(": ");const u=19===r.type;u||n.indentLevel++;hn(r,n),u||n.indentLevel--;c(!0)}(e,n);break;case 20:!function(e,n){const{push:t,helper:o,indent:r,deindent:l,newline:s}=n;t(`_cache[${e.index}] || (`),e.isVNode&&(r(),t(`${o(se)}(-1),`),s());t(`_cache[${e.index}] = `),hn(e.value,n),e.isVNode&&(t(","),s(),t(`${o(se)}(1),`),s(),t(`_cache[${e.index}]`),l());t(")")}(e,n)}}function gn(e,n){const{content:t,isStatic:o}=e;n.push(o?JSON.stringify(t):t,e)}function mn(e,n){for(let t=0;t<e.children.length;t++){const o=e.children[t];g(o)?n.push(o):hn(o,n)}}function yn(e,n){const{push:t}=n;if(8===e.type)t("["),mn(e,n),t("]");else if(e.isStatic){t(ue(e.content)?e.content:JSON.stringify(e.content),e)}else t(`[${e.content}]`,e)}const vn=cn(/^(if|else|else-if)$/,(e,n,t)=>{if(!("else"===n.name||n.exp&&n.exp.content.trim())){const o=n.exp?n.exp.loc:e.loc;t.onError($(35,n.loc)),n.exp=A("true",!1,o)}if("if"===n.name){const o=bn(e,n),r=D([L(t.helper(z))]);return t.replaceNode({type:9,loc:e.loc,branches:[o],codegenNode:r}),()=>{r.expressions.push(xn(o,0,t))}}{const o=t.parent.children;let r=o.indexOf(e);for(;r-- >=-1;){const l=o[r];if(l&&9===l.type){t.removeNode();const o=bn(e,n);l.branches.push(o),ln(o,t),t.currentNode=null;let r=l.codegenNode.expressions[1];for(;;){if(19!==r.alternate.type){r.alternate=xn(o,l.branches.length-1,t);break}r=r.alternate}}else t.onError($(36,e.loc));break}}});function bn(e,n){return{type:10,loc:e.loc,condition:"else"===n.name?void 0:n.exp,children:3===e.tagType?e.children:[e]}}function xn(e,n,t){return e.condition?I(e.condition,Sn(e,n,t),L(t.helper(J),['""',"true"])):Sn(e,n,t)}function Sn(e,n,t){const{helper:o}=t,r=V("key",A(n+"",!1)),{children:l}=e,s=l[0];if(1!==l.length||1!==s.type){const e=[o(j),_([r]),l];if(1===l.length&&11===s.type){const n=s.codegenNode.expressions[1].arguments;e[2]=n[2],e[3]=n[3]}return L(o(H),e)}{const e=s.codegenNode;let n=e;return n.callee===Z&&(n=n.arguments[0]),n.callee===K&&(n.callee=o(H)),Se(n,r,t),e}}const kn=cn("for",(e,n,t)=>{if(!n.exp)return void t.onError($(37,n.loc));const o=wn(n.exp);if(!o)return void t.onError($(38,n.loc));const{helper:r,addIdentifiers:l,removeIdentifiers:s,scopes:c}=t,{source:i,value:u,key:a,index:f}=o,p=L(r(Q),[i]),d=me(e,"key"),h=d?64:128,g=D([L(r(z),["false"]),L(r(H),[r(j),"null",p,h+""])]);return t.replaceNode({type:11,loc:n.loc,source:i,valueAlias:u,keyAlias:a,objectIndexAlias:f,children:3===e.tagType?e.children:[e],codegenNode:g}),c.vFor++,()=>{let n;c.vFor--;const l=be(e),s=xe(e)?e:l&&1===e.children.length&&xe(e.children[0])?e.children[0]:null,i=d?V("key",6===d.type?A(d.value.content,!0):d.exp):null;if(s)n=s.codegenNode,l&&i&&Se(n,i,t);else if(l)n=ye(L(r(H),[r(j),i?_([i]):"null",e.children]),t);else{let o=e.codegenNode;o.callee===Z?o.arguments[0].callee=r(H):o.callee=r(H),n=ye(o,t)}p.arguments.push(F(Rn(o),n,!0))}}),Tn=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Nn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Cn=/^\(|\)$/g;function wn(e,n){const t=e.loc,o=e.content,r=o.match(Tn);if(!r)return;const[,l,s]=r,c={source:En(t,s.trim(),o.indexOf(s,l.length)),value:void 0,key:void 0,index:void 0};let i=l.trim().replace(Cn,"").trim();const u=l.indexOf(i),a=i.match(Nn);if(a){i=i.replace(Nn,"").trim();const e=a[1].trim();let n;if(e&&(n=o.indexOf(e,u+i.length),c.key=En(t,e,n)),a[2]){const r=a[2].trim();r&&(c.index=En(t,r,o.indexOf(r,c.key?n+e.length:u+i.length)))}}return i&&(c.value=En(t,i,u)),c}function En(e,n,t){return A(n,!1,pe(e,t,n.length))}function Rn({value:e,key:n,index:t}){const o=[];return e&&o.push(e),n&&(e||o.push(A("_",!1)),o.push(n)),t&&(n||(e||o.push(A("_",!1)),o.push(A("__",!1))),o.push(t)),o}const Mn=e=>4===e.type&&e.isStatic,$n=A("undefined",!1),Pn=(e,n)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const t=ge(e,"slot");if(t){t.exp;return n.scopes.vSlot++,()=>{n.scopes.vSlot--}}}};function On(e,n,t){return V("default",F(e,n,!1,n.length?n[0].loc:t))}function _n(e,n){return _([V("name",e),V("fn",n)])}const Vn=new WeakMap,An=(e,n)=>{if(!(1!==e.type||2===e.tagType||3===e.tagType&&e.props.some(ve)))return()=>{const t=1===e.tagType;let o,r,l,s=e.props.length>0,c=0;const i=me(e,"is");if("component"===e.tag&&i)if(6===i.type){const e=i.value&&i.value.content;e&&(n.helper(Y),n.components.add(e),l=ke(e,"component"))}else i.exp&&(l=L(n.helper(q),[i.exp]));t&&!l&&(n.helper(Y),n.components.add(e.tag));const u=[l||(t?ke(e.tag,"component"):4===e.tagType?n.helper(B):5===e.tagType?n.helper(W):`"${e.tag}"`)];if(s){const t=Un(e,n,e.props.filter(e=>e!==i));c=t.patchFlag,r=t.dynamicPropNames,o=t.directives,t.props?u.push(t.props):s=!1}const a=e.children.length>0;if(a)if(s||u.push("null"),t){const{slots:t,hasDynamicSlots:o}=function(e,n){const{children:t,loc:o}=e,r=[],l=[];let s=n.scopes.vSlot>0||n.scopes.vFor>0;const c=ge(e,"slot",!0);if(c){const{arg:e,exp:o,loc:l}=c;e&&n.onError($(42,l)),r.push(On(o,t,l))}let i=!1,u=void 0;const a=new Set;for(let e=0;e<t.length;e++){const o=t[e];let f;if(!be(o)||!(f=ge(o,"slot",!0))){3===o.type||u||(u=o);continue}if(c){n.onError($(43,f.loc));break}i=!0;const{children:p,loc:d}=o,{arg:h=A("default",!0),exp:g,loc:m}=f;let y;Mn(h)?y=h?h.content:"default":s=!0;const v=F(g,p,!1,p.length?p[0].loc:d);let b,x,S;if(b=ge(o,"if"))s=!0,l.push(I(b.exp,_n(h,v),$n));else if(x=ge(o,/^else(-if)?$/,!0)){let o,r=e;for(;r--&&3===(o=t[r]).type;);if(o&&be(o)&&ge(o,"if")){t.splice(e,1),e--;let n=l[l.length-1];for(;19===n.alternate.type;)n=n.alternate;n.alternate=x.exp?I(x.exp,_n(h,v),$n):_n(h,v)}else n.onError($(36,x.loc))}else if(S=ge(o,"for")){s=!0;const e=S.parseResult||wn(S.exp);e?l.push(L(n.helper(Q),[e.source,F(Rn(e),_n(h,v),!0)])):n.onError($(38,S.loc))}else{if(y){if(a.has(y)){n.onError($(44,m));continue}a.add(y)}r.push(V(h,v))}}i&&u&&n.onError($(45,u.loc)),c||i||r.push(On(void 0,t,o));let f=_(r.concat(V("_compiled",A("true",!1))),o);return l.length&&(f=L(n.helper(ne),[f,O(l)])),{slots:f,hasDynamicSlots:s}}(e,n);u.push(t),o&&(c|=256)}else if(1===e.children.length){const n=e.children[0],t=n.type,o=5===t||8===t;o&&!qe(n)&&(c|=1),o||2===t?u.push(n):u.push(e.children)}else u.push(e.children);0!==c&&(a||(s||u.push("null"),u.push("null")),u.push(c+""),r&&r.length&&u.push(`[${r.map(e=>JSON.stringify(e)).join(", ")}]`));const{loc:f}=e,p=L(n.helper(K),u,f);o&&o.length?e.codegenNode=L(n.helper(Z),[p,O(o.map(e=>(function(e,n){const t=[],o=Vn.get(e);o?(n.helper(o),t.push(n.helperString(o))):(n.helper(X),n.directives.add(e.name),t.push(ke(e.name,"directive")));const{loc:r}=e;e.exp&&t.push(e.exp);e.arg&&(e.exp||t.push("void 0"),t.push(e.arg));Object.keys(e.modifiers).length&&(e.arg||(e.exp||t.push("void 0"),t.push("void 0")),t.push(_(e.modifiers.map(e=>V(e,A("true",!1,r))),r)));return O(t,e.loc)})(e,n)),f)],f):e.codegenNode=p}};function Un(e,n,t=e.props){const o=e.loc,r=1===e.tagType;let l=[];const s=[],c=[];let i=0,u=!1,a=!1,f=!1,p=!1;const d=[],h=({key:e,value:n})=>{if(4===e.type&&e.isStatic){if(20===n.type||(4===n.type||8===n.type)&&qe(n))return;const t=e.content;"ref"===t?u=!0:"class"===t?a=!0:"style"===t?f=!0:"key"!==t&&d.push(t)}else p=!0};for(let i=0;i<t.length;i++){const a=t[i];if(6===a.type){const{loc:e,name:n,value:t}=a;"ref"===n&&(u=!0),l.push(V(A(n,!0,pe(e,0,n.length)),A(t?t.content:"",!0,t?t.loc:e)))}else{const{name:t,arg:i,exp:u,loc:f}=a;if("slot"===t){r||n.onError($(46,f));continue}if("once"===t)continue;const d="bind"===t,g="on"===t;if(!i&&(d||g)){p=!0,u?(l.length&&(s.push(_(Ln(l),o)),l=[]),d?s.push(u):s.push({type:13,loc:f,callee:n.helper(re),arguments:[u]})):n.onError($(d?39:40,f));continue}const y=n.directiveTransforms[t];if(y){const{props:t,needRuntime:o}=y(a,e,n);t.forEach(h),l.push(...t),o&&(c.push(a),m(o)&&Vn.set(a,o))}else c.push(a)}}let g=void 0;return s.length?(l.length&&s.push(_(Ln(l),o)),g=s.length>1?L(n.helper(oe),s,o):s[0]):l.length&&(g=_(Ln(l),o)),p?i|=16:(a&&(i|=2),f&&(i|=4),d.length&&(i|=8)),0===i&&(u||c.length>0)&&(i|=32),{props:g,directives:c,patchFlag:i,dynamicPropNames:d}}function Ln(e){const n={},t=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){t.push(r);continue}const l=r.key.content,s=n[l];s?("style"===l||"class"===l||l.startsWith("on")||l.startsWith("vnode"))&&Fn(s,r):(n[l]=r,t.push(r))}return t}function Fn(e,n){16===e.value.type?e.value.elements.push(n.value):e.value=O([e.value,n.value],e.loc)}const Dn=(e,n)=>{if(xe(e)){const{props:t,children:o,loc:r}=e,l=n.prefixIdentifiers?"_ctx.$slots":"$slots";let s='"default"',c=-1;for(let e=0;e<t.length;e++){const n=t[e];if(6===n.type){if("name"===n.name&&n.value){s=JSON.stringify(n.value.content),c=e;break}}else if("bind"===n.name){const{arg:t,exp:o}=n;if(t&&o&&4===t.type&&t.isStatic&&"name"===t.content){s=o,c=e;break}}}const i=[l,s],u=c>-1?t.slice(0,c).concat(t.slice(c+1)):t;let a=u.length>0;if(a){const{props:t,directives:o}=Un(e,n,u);o.length&&n.onError($(41,o[0].loc)),t?i.push(t):a=!1}o.length&&(a||i.push("{}"),i.push(o)),e.codegenNode=L(n.helper(ee),i,r)}},In=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,jn=(e,n,t,o)=>{const{loc:r,modifiers:l,arg:s}=e;let c;e.exp||l.length||t.onError($(40,r)),4===s.type?c=s.isStatic?A(`on${E(s.content)}`,!0,s.loc):U(['"on" + (',s,")"]):((c=s).children.unshift('"on" + ('),c.children.push(")"));let i=e.exp,u=!i;if(i){const e=fe(i.content);(!(e||In.test(i.content))||u&&e)&&(i=U(["$event => (",...4===i.type?[i]:i.children,")"]))}let a={props:[V(c,i||A("() => {}",!1,r))],needRuntime:!1};return o&&(a=o(a)),u&&(a.props[0].value=t.cache(a.props[0].value)),a},Bn=(e,n,t)=>{const{exp:o,modifiers:r,loc:l}=e,s=e.arg;return o||t.onError($(39,l)),r.includes("camel")&&(4===s.type?s.isStatic?s.content=N(s.content):s.content=`${t.helperString(le)}(${s.content})`:(s.children.unshift(`${t.helperString(le)}(`),s.children.push(")"))),{props:[V(s,o||A("",!0,l))],needRuntime:!1}},Wn=e=>5===e.type||2===e.type,zn=(e,n)=>{if(0===e.type||1===e.type)return()=>{const o=e.children;let r=void 0,l=!1;for(let e=0;e<o.length;e++){const n=o[e];if(Wn(n)){l=!0;for(let t=e+1;t<o.length;t++){const l=o[t];if(!Wn(l)){r=void 0;break}r||(r=o[e]={type:8,loc:n.loc,children:[n]}),r.children.push(" + ",l),o.splice(t,1),t--}}}if(l&&o.length>1)for(let e=0;e<o.length;e++){const r=o[e];if(Wn(r)||8===r.type){const l=[];2===r.type&&" "===r.content||l.push(r),2!==r.type&&l.push(`1 /* ${t[1]} */`),o[e]={type:12,content:r,loc:r.loc,codegenNode:L(n.helper(G),l)}}}}},Hn=(e,n)=>{if(1===e.type&&ge(e,"once",!0))return n.helper(se),()=>{e.codegenNode&&(e.codegenNode=n.cache(e.codegenNode,!0))}},Kn=(e,n,t)=>{const{exp:o,arg:r}=e;if(!o)return t.onError($(47,e.loc)),Jn();const l=4===o.type?o.content:o.loc.source;if(!fe(l))return t.onError($(48,o.loc)),Jn();const s=r||A("modelValue",!0),c=r?4===r.type&&r.isStatic?A("onUpdate:"+r.content,!0):U([A("onUpdate:",!0),"+",...4===r.type?[r]:r.children]):A("onUpdate:modelValue",!0),i=[V(s,e.exp),V(c,U(["$event => (",...4===o.type?[o]:o.children," = $event)"]))];if(e.modifiers.length&&1===n.tagType){const n=e.modifiers.map(e=>(ue(e)?e:JSON.stringify(e))+": true").join(", ");i.push(V("modelModifiers",A(`{ ${n} }`,!1,e.loc,!0)))}return Jn(i)};function Jn(e=[]){return{props:e,needRuntime:!1}}const Gn=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Yn=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,lineGradient,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"),qn=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),Xn=o("style,iframe,script,noscript",!0),Zn={isVoidTag:qn,isNativeTag:e=>Gn(e)||Yn(e),isPreTag:e=>"pre"===e,getNamespace(e,n){let t=n?n.ns:0;if(n&&2===t)if("annotation-xml"===n.tag){if("svg"===e)return 1;n.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(t=0)}else/^m(?:[ions]|text)$/.test(n.tag)&&"mglyph"!==e&&"malignmark"!==e&&(t=0);else n&&1===t&&("foreignObject"!==n.tag&&"desc"!==n.tag&&"title"!==n.tag||(t=0));if(0===t){if("svg"===e)return 1;if("math"===e)return 2}return t},getTextMode(e,n){if(0===n){if("textarea"===e||"title"===e)return 1;if(Xn(e))return 2}return 0}},Qn=(e,n)=>{1===e.type&&e.props.forEach((t,o)=>{if(6===t.type&&"style"===t.name&&t.value){const r=JSON.stringify(function(e){const n={};return e.split(et).forEach((function(e){if(e){const t=e.split(nt);t.length>1&&(n[t[0].trim()]=t[1].trim())}})),n}(t.value.content)),l=n.hoist(A(r,!1,t.loc));e.props[o]={type:7,name:"bind",arg:A("style",!0,t.loc),exp:l,modifiers:[],loc:t.loc}}})},et=/;(?![^(]*\))/g,nt=/:(.+)/;const tt=(e,n)=>({props:[],needRuntime:!1});function ot(e,n){return $(e,n)}const rt=(e,n,t)=>{const{exp:o,loc:r}=e;return o||t.onError(ot(53,r)),n.children.length&&(t.onError(ot(54,r)),n.children.length=0),{props:[V(A("innerHTML",!0,r),o||A("",!0))],needRuntime:!1}},lt=(e,n,t)=>{const{exp:o,loc:r}=e;return o||t.onError(ot(55,r)),n.children.length&&(t.onError(ot(56,r)),n.children.length=0),{props:[V(A("textContent",!0,r),o||A("",!0))],needRuntime:!1}},st=Symbol(""),ct=Symbol(""),it=Symbol(""),ut=Symbol(""),at=Symbol(""),ft=Symbol(""),pt=Symbol("");var dt;dt={[st]:"vModelRadio",[ct]:"vModelCheckbox",[it]:"vModelText",[ut]:"vModelSelect",[at]:"vModelDynamic",[ft]:"withModifiers",[pt]:"withKeys"},Object.getOwnPropertySymbols(dt).forEach(e=>{ce[e]=dt[e]});const ht=(e,n,t)=>{const o=Kn(e,n,t);if(!o.props.length)return o;const{tag:r,tagType:l}=n;if(0===l)if(e.arg&&t.onError(ot(58,e.arg.loc)),"input"===r||"textarea"===r||"select"===r){let l=it,s=!1;if("input"===r){const o=me(n,"type");if(o)if(7===o.type)l=at;else if(o.value)switch(o.value.content){case"radio":l=st;break;case"checkbox":l=ct;break;case"file":s=!0,t.onError(ot(59,e.loc))}}else"select"===r&&(l=ut);s||(o.needRuntime=t.helper(l))}else t.onError(ot(57,e.loc));return o},gt=o("passive,once,capture"),mt=o("stop,prevent,self,ctrl,shift,alt,meta,exact,left,middle,right"),yt=o("onkeyup,onkeydown,onkeypress",!0),vt=(e,n,t)=>jn(e,n,t,n=>{const{modifiers:o}=e;if(!o.length)return n;let{key:r,value:l}=n.props[0];const s=o.filter(gt),c=o.filter(e=>!gt(e)),i=c.filter(mt);i.length&&(l=L(t.helper(ft),[l,JSON.stringify(i)]));const u=c.filter(e=>!mt(e));return!u.length||8!==r.type&&r.isStatic&&!yt(r.content)||(l=L(t.helper(pt),[l,JSON.stringify(u)])),s.length&&(l=_([V("handler",l),V("options",_(s.map(e=>V(e,A("true",!1)))))])),{props:[V(r,l)],needRuntime:!1}});function bt(e,n={}){return function(e,n={}){{const e=n.onError||M;!0===n.prefixIdentifiers?e($(51)):"module"===n.mode&&e($(52))}const t=g(e)?Ne(e,n):e;return rn(t,{...n,prefixIdentifiers:!1,nodeTransforms:[Hn,vn,kn,Dn,An,Pn,zn,...n.nodeTransforms||[]],directiveTransforms:{on:jn,bind:Bn,model:Kn,...n.directiveTransforms||{}}}),un(t,{...n,prefixIdentifiers:!1})}(e,{...n,...Zn,nodeTransforms:[Qn,...n.nodeTransforms||[]],directiveTransforms:{cloak:tt,html:rt,text:lt,model:ht,on:vt,...n.directiveTransforms||{}}})}function xt(e){return h(e)?{setup:e}:e}let St=!0;const kt=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(m));function Tt(e){return function(n,t,o){const r=Reflect.get(n,t,o);return m(t)&&kt.has(t)?r:No(r)?r.value:(bo(n,"get",t),y(r)?e?lo(r):ro(r):r)}}function Nt(e,n,t,o){t=uo(t);const r=e[n];if(No(r)&&!No(t))return r.value=t,!0;const l=p(e,n),s=Reflect.set(e,n,t,o);return e===uo(o)&&(l?R(t,r)&&xo(e,"set",n):xo(e,"add",n)),s}function Ct(e,n){const t=p(e,n),o=(e[n],Reflect.deleteProperty(e,n));return o&&t&&xo(e,"delete",n),o}function wt(e,n){const t=Reflect.has(e,n);return bo(e,"has",n),t}function Et(e){return bo(e,"iterate"),Reflect.ownKeys(e)}const Rt={get:Tt(!1),set:Nt,deleteProperty:Ct,has:wt,ownKeys:Et},Mt={get:Tt(!0),set:(e,n,t,o)=>!!St||Nt(e,n,t,o),deleteProperty:(e,n)=>!!St||Ct(e,n),has:wt,ownKeys:Et},$t=e=>y(e)?ro(e):e,Pt=e=>y(e)?lo(e):e,Ot=e=>Reflect.getPrototypeOf(e);function _t(e,n,t){return bo(e=uo(e),"get",n=uo(n)),t(Ot(e).get.call(e,n))}function Vt(e){const n=uo(this);return bo(n,"has",e=uo(e)),Ot(n).has.call(n,e)}function At(e){return bo(e=uo(e),"iterate"),Reflect.get(Ot(e),"size",e)}function Ut(e){e=uo(e);const n=uo(this),t=Ot(n),o=t.has.call(n,e),r=t.add.call(n,e);return o||xo(n,"add",e),r}function Lt(e,n){n=uo(n);const t=uo(this),o=Ot(t),r=o.has.call(t,e),l=o.get.call(t,e),s=o.set.call(t,e,n);return r?R(n,l)&&xo(t,"set",e):xo(t,"add",e),s}function Ft(e){const n=uo(this),t=Ot(n),o=t.has.call(n,e),r=(t.get&&t.get.call(n,e),t.delete.call(n,e));return o&&xo(n,"delete",e),r}function Dt(){const e=uo(this),n=0!==e.size,t=Ot(e).clear.call(e);return n&&xo(e,"clear"),t}function It(e){return function(n,t){const o=this,r=uo(o),l=e?Pt:$t;return bo(r,"iterate"),Ot(r).forEach.call(r,(function(e,t){return n.call(o,l(e),l(t),o)}),t)}}function jt(e,n){return function(...t){const o=uo(this),r="entries"===e||e===Symbol.iterator&&o instanceof Map,l=Ot(o)[e].apply(o,t),s=n?Pt:$t;return bo(o,"iterate"),{next(){const{value:e,done:n}=l.next();return n?{value:e,done:n}:{value:r?[s(e[0]),s(e[1])]:s(e),done:n}},[Symbol.iterator](){return this}}}}function Bt(e,n){return function(...t){return St?"delete"!==n&&this:e.apply(this,t)}}const Wt={get(e){return _t(this,e,$t)},get size(){return At(this)},has:Vt,add:Ut,set:Lt,delete:Ft,clear:Dt,forEach:It(!1)},zt={get(e){return _t(this,e,Pt)},get size(){return At(this)},has:Vt,add:Bt(Ut,"add"),set:Bt(Lt,"set"),delete:Bt(Ft,"delete"),clear:Bt(Dt,"clear"),forEach:It(!0)};function Ht(e){return(n,t,o)=>Reflect.get(p(e,t)&&t in n?e:n,t,o)}["keys","values","entries",Symbol.iterator].forEach(e=>{Wt[e]=jt(e,!1),zt[e]=jt(e,!0)});const Kt={get:Ht(Wt)},Jt={get:Ht(zt)},Gt=new WeakMap,Yt=new WeakMap,qt=new WeakMap,Xt=new WeakMap,Zt=new WeakMap,Qt=new WeakSet,eo=new WeakSet,no=new Set([Set,Map,WeakMap,WeakSet]),to=o("Object,Array,Map,Set,WeakMap,WeakSet"),oo=e=>!e._isVue&&!e._isVNode&&to(function(e){return x(e).slice(8,-1)}(e))&&!eo.has(e);function ro(e){return Zt.has(e)?e:Qt.has(e)?lo(e):so(e,Yt,qt,Rt,Kt)}function lo(e){return qt.has(e)&&(e=qt.get(e)),so(e,Xt,Zt,Mt,Jt)}function so(e,n,t,o,r){if(!y(e))return e;let l=n.get(e);if(void 0!==l)return l;if(t.has(e))return e;if(!oo(e))return e;const s=no.has(e.constructor)?r:o;return l=new Proxy(e,s),n.set(e,l),t.set(l,e),Gt.has(e)||Gt.set(e,new Map),l}function co(e){return qt.has(e)||Zt.has(e)}function io(e){return Zt.has(e)}function uo(e){return qt.get(e)||Zt.get(e)||e}function ao(e){return Qt.add(e),e}function fo(e){return eo.add(e),e}const po=[],ho=Symbol("iterate");function go(e,n=l){(function(e){return null!=e&&!0===e._isEffect})(e)&&(e=e.raw);const t=function(e,n){const t=function(...n){return function(e,n,t){if(!e.active)return n(...t);if(!po.includes(e)){yo(e);try{return po.push(e),n(...t)}finally{po.pop()}}}(t,e,n)};return t._isEffect=!0,t.active=!0,t.raw=e,t.scheduler=n.scheduler,t.onTrack=n.onTrack,t.onTrigger=n.onTrigger,t.onStop=n.onStop,t.computed=n.computed,t.deps=[],t}(e,n);return n.lazy||t(),t}function mo(e){e.active&&(yo(e),e.onStop&&e.onStop(),e.active=!1)}function yo(e){const{deps:n}=e;if(n.length){for(let t=0;t<n.length;t++)n[t].delete(e);n.length=0}}let vo=!0;function bo(e,n,t){if(!vo||0===po.length)return;const o=po[po.length-1];"iterate"===n&&(t=ho);let r=Gt.get(e);void 0===r&&Gt.set(e,r=new Map);let l=r.get(t);void 0===l&&r.set(t,l=new Set),l.has(o)||(l.add(o),o.deps.push(l))}function xo(e,n,t,o){const r=Gt.get(e);if(void 0===r)return;const l=new Set,s=new Set;if("clear"===n)r.forEach(e=>{So(l,s,e)});else if(void 0!==t&&So(l,s,r.get(t)),"add"===n||"delete"===n){const n=Array.isArray(e)?"length":ho;So(l,s,r.get(n))}const c=e=>{!function(e,n,t,o,r){void 0!==e.scheduler?e.scheduler(e):e()}(e)};s.forEach(c),l.forEach(c)}function So(e,n,t){void 0!==t&&t.forEach(t=>{t.computed?n.add(t):e.add(t)})}const ko=e=>y(e)?ro(e):e;function To(e){if(No(e))return e;e=ko(e);const n={_isRef:!0,get value(){return bo(n,"get",""),e},set value(t){e=ko(t),xo(n,"set","")}};return n}function No(e){return!!e&&!0===e._isRef}function Co(e){const n={};for(const t in e)n[t]=wo(e,t);return n}function wo(e,n){return{_isRef:!0,get value(){return e[n]},set value(t){e[n]=t}}}function Eo(e){let n,t;h(e)?(n=e,t=c):(n=e.get,t=e.set);let o,r=!0;const l=go(n,{lazy:!0,computed:!0,scheduler:()=>{r=!0}});return{_isRef:!0,effect:l,get value(){return r&&(o=l(),r=!1),function(e){if(0===po.length)return;const n=po[po.length-1];for(let t=0;t<e.deps.length;t++){const o=e.deps[t];o.has(n)||(o.add(n),n.deps.push(o))}}(l),o},set value(e){t(e)}}}const Ro=[];function Mo(e,...n){const t=Ro.length?Ro[Ro.length-1].component:null,o=t&&t.appContext.config.warnHandler,r=function(){let e=Ro[Ro.length-1];if(!e)return[];const n=[];for(;e;){const t=n[0];t&&t.vnode===e?t.recurseCount++:n.push({vnode:e,recurseCount:0});const o=e.component.parent;e=o&&o.vnode}return n}();if(o)o(e+n.join(""),t&&t.renderProxy,$o(r).join(""));else if(console.warn(`[Vue warn]: ${e}`,...n),("undefined"==typeof process||"test"!==process.env.NODE_ENV)&&r.length)if(r.length>1&&console.groupCollapsed){console.groupCollapsed("at",...Po(r[0]));const e=[];r.slice(1).forEach((n,t)=>{0!==t&&e.push("\n"),e.push(...Po(n,t+1))}),console.log(...e),console.groupEnd()}else console.log(...$o(r))}function $o(e){const n=[];return e.forEach((e,t)=>{const o=Po(e,t);0===t?n.push("at",...o):n.push("\n",...o)}),n}function Po({vnode:e,recurseCount:n},t=0){const o=n>0?`... (${n} recursive calls)`:"",r=(0===t?"":" ".repeat(2*t+1))+`<${function(e,n){const t=e.type;let o=h(t)?t.displayName:t.name;if(!o&&n){const e=n.match(/([^/\\]+)\.vue$/);e&&(o=e[1])}return o?_o(o):"AnonymousComponent"}(e)}`,l=">"+o,s=null==e.component.parent?"(Root)":"";return e.props?[r,...Vo(e.props),l,s]:[r+l,s]}const Oo=/(?:^|[-_])(\w)/g,_o=e=>e.replace(Oo,e=>e.toUpperCase()).replace(/[-_]/g,"");function Vo(e){const n=[];for(const t in e){const o=e[t];g(o)?n.push(`${t}=${JSON.stringify(o)}`):n.push(`${t}=`,String(uo(o)))}return n}function Ao(e,n,t,o){let r;try{r=o?e(...o):e()}catch(e){Lo(e,n,t)}return r}function Uo(e,n,t,o){if(h(e)){const r=Ao(e,n,t,o);return null!=r&&!r._isVue&&v(r)&&r.catch(e=>{Lo(e,n,t)}),r}for(let r=0;r<e.length;r++)Uo(e[r],n,t,o)}function Lo(e,n,t){n&&n.vnode;if(n){let o=n.parent;const r=n.renderProxy,l=t;for(;o;){const n=o.ec;if(null!==n)for(let t=0;t<n.length;t++)if(n[t](e,r,l))return;o=o.parent}const s=n.appContext.config.errorHandler;if(s)return void Ao(s,null,8,[e,r,l])}!function(e,n,t){throw e}(e)}const Fo=[],Do=[],Io=Promise.resolve();let jo=!1;function Bo(e){return e?Io.then(e):Io}function Wo(e){Fo.includes(e)||(Fo.push(e),jo||Bo(Jo))}function zo(e){d(e)?Do.push(...e):Do.push(e),jo||Bo(Jo)}const Ho=e=>[...new Set(e)];function Ko(){if(Do.length){const e=Ho(Do);Do.length=0;for(let n=0;n<e.length;n++)e[n]()}}function Jo(e){let n;for(jo=!0;n=Fo.shift();)Ao(n,null,10);Ko(),jo=!1,Fo.length&&Jo()}const Go=Symbol(void 0),Yo=Symbol(void 0),qo=Symbol(void 0),Xo=Symbol(void 0),Zo=Symbol(void 0),Qo=[];let er=null;function nr(e){Qo.push(er=e?null:[])}let tr=1;function or(e){tr+=e}function rr(e,n,t,o,r){tr--;const l=sr(e,n,t,o,r);return tr++,l.dynamicChildren=er||s,Qo.pop(),null!==(er=Qo[Qo.length-1]||null)&&er.push(l),l}function lr(e){return!!e&&!0===e._isVNode}function sr(e,n=null,t=null,o=0,r=null){if(null!==n){(co(n)||yl in n)&&(n=a({},n));let{class:e,style:t}=n;null==e||g(e)||(n.class=pr(e)),null!=t&&(co(t)&&!d(t)&&(t=a({},t)),n.style=fr(t))}const l=g(e)?1:y(e)?4:h(e)?2:0,s={_isVNode:!0,type:e,props:n,key:null!==n&&n.key||null,ref:null!==n&&n.ref||null,children:null,component:null,suspense:null,el:null,anchor:null,target:null,shapeFlag:l,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return function(e,n){let t=0;null==n?n=null:d(n)?t=16:"object"==typeof n?t=32:h(n)?(n={default:n},t=32):(n=g(n)?n:n+"",t=8);e.children=n,e.shapeFlag|=t}(s,t),tr>0&&null!==er&&(o>0||4&l||2&l)&&er.push(s),s}function cr(e,n){return{_isVNode:!0,type:e.type,props:n?e.props?hr(e.props,n):n:e.props,key:e.key,ref:e.ref,children:e.children,target:e.target,shapeFlag:e.shapeFlag,patchFlag:e.patchFlag,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,component:null,suspense:null,el:null,anchor:null}}function ir(e=" ",n=0){return sr(Xo,null,e,n)}function ur(e="",n=!1){return n?rr(Zo,null,e):sr(Zo,null,e)}function ar(e){return null==e?sr(Zo):d(e)?sr(Go,null,e):"object"==typeof e?null===e.el?e:cr(e):sr(Xo,null,e+"")}function fr(e){if(d(e)){const n={};for(let t=0;t<e.length;t++){const o=fr(e[t]);if(o)for(const e in o)n[e]=o[e]}return n}if(y(e))return e}function pr(e){let n="";if(g(e))n=e;else if(d(e))for(let t=0;t<e.length;t++)n+=pr(e[t])+" ";else if(y(e))for(const t in e)e[t]&&(n+=t+" ");return n.trim()}const dr=/^on|^vnode/;function hr(...e){const n={};a(n,e[0]);for(let t=1;t<e.length;t++){const o=e[t];for(const e in o)if("class"===e)n.class=pr([n.class,o.class]);else if("style"===e)n.style=fr([n.style,o.style]);else if(dr.test(e)){const t=n[e];n[e]=t?[].concat(t,o[e]):o[e]}else n[e]=o[e]}return n}function gr(e,n,t){t&&(t[e]||(t[e]=[])).push((...o)=>{if(t.isUnmounted)return;vo=!1,pl(t);const r=Uo(n,t,e,o);return pl(null),vo=!0,r})}const mr=e=>(n,t=ul)=>gr(e,n,t),yr=mr("bm"),vr=mr("m"),br=mr("bu"),xr=mr("u"),Sr=mr("bum"),kr=mr("um"),Tr=mr("rtg"),Nr=mr("rtc"),Cr=mr("ec");let wr=null;function Er(e){const{type:n,vnode:t,renderProxy:o,props:r,slots:s,attrs:c,emit:i}=e;let u;wr=e;try{if(4&t.shapeFlag)u=ar(e.render.call(o));else{const e=n;u=ar(e.length>1?e(r,{attrs:c,slots:s,emit:i}):e(r,null))}null!=n.props&&!1!==n.inheritAttrs&&c!==l&&Object.keys(c).length&&(1&u.shapeFlag||6&u.shapeFlag)&&(u=cr(u,c))}catch(n){Lo(n,e,1),u=sr(Zo)}return wr=null,u}function Rr(e,n){const t=Object.keys(n);if(t.length!==Object.keys(e).length)return!0;for(let o=0;o<t.length;o++){const r=t[o];if(n[r]!==e[r])return!0}return!1}function Mr(e,n,t){const o=null!=t,r=function(e){if(!e)return null;if($r.has(e))return $r.get(e);const n={};if($r.set(e,n),d(e))for(let t=0;t<e.length;t++){const o=N(e[t]);"$"!==o[0]&&(n[o]=l)}else for(const t in e){const o=N(t);if("$"!==o[0]){const r=e[t],l=n[o]=d(r)||h(r)?{type:r}:r;if(null!=l){const e=_r(Boolean,l.type),n=_r(String,l.type);l[1]=e>-1,l[2]=e<n}}}return n}(t);if(!n&&!o)return;const s={};let c=void 0;const i=e.propsProxy,u=i?(e,n)=>{s[e]=n,i[e]=n}:(e,n)=>{s[e]=n};if(St=!1,null!=n)for(const e in n){if(k(e))continue;const t=N(e);o&&!p(r,t)?(c||(c={}))[e]=n[e]:u(t,n[e])}if(o)for(const e in r){let n=r[e];if(null==n)continue;const t=!p(s,e),o=p(n,"default"),l=s[e];if(o&&void 0===l){const t=n.default;u(e,h(t)?t():t)}n[1]&&(t&&!o?u(e,!1):!n[2]||""!==l&&l!==w(e)||u(e,!0))}else c=s;const{patchFlag:a}=e.vnode;if(null!==i&&(0===a||16&a)){const e=uo(i);for(const n in e)p(s,n)||delete i[n]}St=!0,e.props=s,e.attrs=r?c||l:e.props}const $r=new WeakMap;function Pr(e){const n=e&&e.toString().match(/^\s*function (\w+)/);return n?n[1]:""}function Or(e,n){return Pr(e)===Pr(n)}function _r(e,n){if(d(n)){for(let t=0,o=n.length;t<o;t++)if(Or(n[t],e))return t}else if(y(n))return Or(n,e)?0:-1;return-1}const Vr=e=>d(e)?e.map(ar):[ar(e)],Ar=(e,n)=>e=>Vr(n(e));function Ur(e,n){let t;if(32&e.vnode.shapeFlag){const e=n;if(e._compiled)t=n;else{t={};for(const n in e){const o=e[n];if(h(o))t[n]=Ar(n,o);else if(null!=o){const e=Vr(o);t[n]=()=>e}}}}else if(null!==n){const e=Vr(n);t={default:()=>e}}void 0!==t&&(e.slots=t)}const Lr=new WeakMap;function Fr(e,n,t,o,r,s=l){let c=Lr.get(t);c||(c=new WeakMap,Lr.set(t,c)),h(t)&&(t={mounted:t,updated:t});for(const l in t){const i=t[l],u="onVnode"+l[0].toUpperCase()+l.slice(1),a=(e,t)=>{let l;null!=t&&(l=c.get(t),c.delete(t)),c.set(e,o),i(e.el,{instance:n.renderProxy,value:o,oldValue:l,arg:r,modifiers:s},e,t)},f=e[u];e[u]=f?[].concat(f,a):a}}function Dr(e,n){const t=wr;if(null!==t){e.props=e.props||{};for(let o=0;o<n.length;o++){const[r,l,s,c]=n[o];Fr(e.props,t,r,l,s,c)}}return e}function Ir(e,n,t,o=null){Uo(e,n,7,[t,o])}function jr(){return{config:{devtools:!0,performance:!1,isNativeTag:i,isCustomElement:i,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:{}}}function Br(e){return function(){const n=jr();let t=!1;const o={get config(){return n.config},set config(e){},use:e=>(h(e)?e(o):h(e.install)&&e.install(o),o),mixin:e=>(n.mixins.push(e),o),component:(e,t)=>t?(n.components[e]=t,o):n.components[e],directive:(e,t)=>t?(n.directives[e]=t,o):n.directives[e],mount(o,r,l){if(!t){const s=sr(o,l);return s.appContext=n,e(s,r),t=!0,s.component.renderProxy}},provide(e,t){n.provides[e]=t}};return o}}function Wr(e){const{shapeFlag:n,children:t}=e;if(n&kl.SLOTS_CHILDREN){const{default:e,fallback:n}=t;return{content:ar(h(e)?e():e),fallback:ar(h(n)?n():n)}}return{content:ar(t),fallback:ar(null)}}const zr={scheduler:Wo};function Hr(e,n){return e.type===n.type&&e.key===n.key}function Kr(e,n){for(let t=0;t<e.length;t++)e[t](n)}function Jr(e,n){null===n||n.isResolved?zo(e):d(e)?n.effects.push(...e):n.effects.push(e)}function Gr(e){const{insert:n,remove:t,patchProp:o,createElement:r,createText:c,createComment:i,setText:u,setElementText:a,parentNode:f,nextSibling:p,querySelector:d}=e;function m(e,t,s,p=null,M=null,A=null,U=!1,L=!1){null==e||Hr(e,t)||(p=_(e),P(e,M,A,!0),e=null);const{type:F,shapeFlag:D}=t;switch(F){case Xo:!function(e,t,o,r){if(null==e)n(t.el=c(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}}(e,t,s,p);break;case Zo:y(e,t,s,p);break;case Go:!function(e,t,o,r,l,s,c,u){const a=t.el=e?e.el:i(""),f=t.anchor=e?e.anchor:i("");null==e?(n(a,o,r),n(f,o,r),b(t.children,o,f,l,s,c,u)):R(e,t,o,f,l,s,c,u)}(e,t,s,p,M,A,U,L);break;case Yo:!function(e,n,t,o,r,l,s,c){const i=n.props&&n.props.target,{patchFlag:u,shapeFlag:f,children:p}=n;if(null==e){const e=n.target=g(i)?d(i):i;null!=e&&(8&f?a(e,p):16&f&&b(p,e,null,r,l,s,c))}else{const o=n.target=e.target;if(1===u?a(o,p):n.dynamicChildren?x(e.dynamicChildren,n.dynamicChildren,t,r,l,s):c||R(e,n,o,null,r,l,s),i!==(e.props&&e.props.target)){const e=n.target=g(i)?d(i):null;if(null!=e)if(8&f)a(o,""),a(e,p);else if(16&f)for(let n=0;n<p.length;n++)$(p[n],e,null)}}y(e,n,t,o)}(e,t,s,p,M,A,U,L);break;case qo:!function(e,n,t,o,l,s,c,i){null==e?function(e,n,t,o,l,s,c){const i=r("div"),u=e.suspense=function(e,n,t,o,r,l,s,c){return{vnode:e,parent:n,parentComponent:t,isSVG:s,optimized:c,container:o,hiddenContainer:r,anchor:l,deps:0,subTree:null,fallbackTree:null,isResolved:!1,isUnmounted:!1,effects:[]}}(e,l,o,n,i,t,s,c),{content:a,fallback:f}=Wr(e);u.subTree=a,u.fallbackTree=f,m(null,a,i,null,o,u,s,c),u.deps>0?(m(null,f,n,t,o,null,s,c),e.el=f.el):T(u)}(n,t,o,l,s,c,i):function(e,n,t,o,r,l,s){const c=n.suspense=e.suspense;c.vnode=n;const{content:i,fallback:u}=Wr(n),a=c.subTree,f=c.fallbackTree;c.isResolved?(m(a,i,t,o,r,c,l,s),n.el=i.el):(m(a,i,c.hiddenContainer,null,r,c,l,s),c.deps>0&&(m(f,u,t,o,r,null,l,s),n.el=u.el));c.subTree=i,c.fallbackTree=u}(e,n,t,o,l,c,i)}(e,t,s,p,M,A,U,L);break;default:1&D?function(e,t,s,c,i,u,f,p){null==e?function(e,t,l,s,c,i,u){const f=e.type;i=i||"svg"===f;const p=e.el=r(f,i),{props:d,shapeFlag:h}=e;if(null!=d){for(const e in d)k(e)||o(p,e,d[e],null,i);null!=d.onVnodeBeforeMount&&Ir(d.onVnodeBeforeMount,s,e)}8&h?a(p,e.children):16&h&&b(e.children,p,null,s,c,i,u||null!==e.dynamicChildren);n(p,t,l),null!=d&&null!=d.onVnodeMounted&&Jr(()=>{Ir(d.onVnodeMounted,s,e)},c)}(t,s,c,i,u,f,p):function(e,n,t,r,s,c){const i=n.el=e.el,{patchFlag:u,dynamicChildren:f}=n,p=e&&e.props||l,d=n.props||l;null!=d.onVnodeBeforeUpdate&&Ir(d.onVnodeBeforeUpdate,t,n,e);if(u>0){if(16&u)S(i,n,p,d,t,r,s);else if(2&u&&p.class!==d.class&&o(i,"class",d.class,null,s),4&u&&o(i,"style",d.style,p.style,s),8&u){const l=n.dynamicProps;for(let n=0;n<l.length;n++){const c=l[n],u=p[c],a=d[c];u!==a&&o(i,c,a,u,s,e.children,t,r,O)}}if(1&u)return void(e.children!==n.children&&a(i,n.children))}else c||null!=f||S(i,n,p,d,t,r,s);null!=f?x(e.dynamicChildren,f,i,t,r,s):c||R(e,n,i,null,t,r,s);null!=d.onVnodeUpdated&&Jr(()=>{Ir(d.onVnodeUpdated,t,n,e)},r)}(e,t,i,u,f,p);null!==t.ref&&null!==i&&V(t.ref,e&&e.ref,i,t.el)}(e,t,s,p,M,A,U,L):6&D&&function(e,n,t,o,r,s,c,i){if(null==e)!function(e,n,t,o,r,s){const c=e.component=function(e,n){const t=(n?n.appContext:e.appContext)||il,o={vnode:e,parent:n,appContext:t,type:e.type,root:null,next:null,subTree:null,update:null,render:null,renderProxy:null,propsProxy:null,setupContext:null,effects:null,provides:n?n.provides:Object.create(t.provides),accessCache:null,renderCache:null,renderContext:l,data:l,props:l,attrs:l,slots:l,refs:l,components:Object.create(t.components),directives:Object.create(t.directives),asyncDep:null,asyncResult:null,asyncResolved:!1,user:{},isUnmounted:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,emit:(e,...n)=>{const t=o.vnode.props||l,r=t[`on${e}`]||t[`on${E(e)}`];r&&Uo(r,o,6,n)}};return o.root=n?n.root:o,o}(e,o),i=e.type.props;Mr(c,e.props,i),Ur(c,e.children),4&e.shapeFlag&&function(e,n){const t=e.type;e.accessCache={},e.renderProxy=new Proxy(e,el);const o=e.propsProxy=lo(e.props),{setup:r}=t;if(r){const t=e.setupContext=r.length>1?function(e){return{attrs:new Proxy(e,vl.attrs),slots:new Proxy(e,vl.slots),emit:e.emit}}(e):null;ul=e,al=n;const l=Ao(r,e,0,[o,t]);if(ul=null,al=null,v(l))return void(e.asyncDep=l);dl(e,l,n)}else ml(e,n)}(c,r);if(c.asyncDep){if(!r)throw new Error("Async component without a suspense boundary!");r.isResolved&&Wo(()=>{!function(e){e.isResolved=!1;const{vnode:n,subTree:t,fallbackTree:o,parentComponent:r,container:l,hiddenContainer:s,isSVG:c,optimized:i}=e,u=_(t);$(t,s,null),m(null,o,l,u,r,null,c,i);const a=n.el=o.el;r&&r.subTree===n&&(r.vnode.el=a,w(r,a));const f=n.props&&n.props.onSuspense;h(f)&&f()}(r)}),r.deps++,c.asyncDep.catch(e=>{Lo(e,c,0)}).then(e=>{c.isUnmounted||r.isUnmounted||function(e,n,t,o){t.deps--,e.asyncResolved=!0;const{vnode:r}=e;dl(e,n,t),N(e,t,r,f(e.subTree.el),_(e.subTree),o),w(e,r.el),0===t.deps&&T(t)}(c,e,r,s)});const o=c.subTree=sr(Zo);return y(null,o,n,t),void(e.el=o.el)}N(c,r,e,n,t,s)}(n,t,o,r,s,c);else{const t=n.component=e.component;if(function(e,n,t){const{props:o,children:r}=e,{props:l,children:s,patchFlag:c}=n;if(c>0){if(256&c)return!0;if(16&c)return Rr(o,l);if(8&c){const e=n.dynamicProps;for(let n=0;n<e.length;n++){const t=e[n];if(l[t]!==o[t])return!0}}}else if(!t)return null!=r||null!=s||o!==l&&(null===o?null!==l:null===l||Rr(o,l));return!1}(e,n,i)){if(t.asyncDep&&!t.asyncResolved)return void C(t,n);t.next=n,t.update()}else n.component=e.component,n.el=e.el}null!==n.ref&&null!==r&&V(n.ref,e&&e.ref,r,n.component.renderProxy)}(e,t,s,p,M,A,U,L)}}function y(e,t,o,r){null==e?n(t.el=i(t.children||""),o,r):t.el=e.el}function b(e,n,t,o,r,l,s,c=0){for(let i=c;i<e.length;i++){m(null,s?e[i]:e[i]=ar(e[i]),n,t,o,r,l,s)}}function x(e,n,t,o,r,l){for(let s=0;s<n.length;s++){const c=e[s];m(c,n[s],c.type===Go?f(c.el):t,null,o,r,l,!0)}}function S(e,n,t,r,s,c,i){if(t!==r){for(const l in r){if(k(l))continue;const u=r[l],a=t[l];u!==a&&o(e,l,u,a,i,n.children,s,c,O)}if(t!==l)for(const l in t)k(l)||l in r||o(e,l,null,null,i,n.children,s,c,O)}}function T(e){const{vnode:n,subTree:t,fallbackTree:o,effects:r,parentComponent:l,container:s}=e;let{anchor:c}=e;o.el&&(c=_(o),P(o,l,e,!0)),$(t,s,c);const i=n.el=t.el;l&&l.subTree===n&&(l.vnode.el=i,w(l,i));let u=e.parent,a=!1;for(;u;){if(!u.isResolved){u.effects.push(...r),a=!0;break}u=u.parent}a||zo(r),e.isResolved=!0;const f=n.props&&n.props.onResolve;h(f)&&f()}function N(e,n,t,o,r,s){let c=!1;e.update=go((function(){if(c){const{next:t}=e;null!==t&&C(e,t);const o=e.subTree,r=e.subTree=Er(e);null!==e.bu&&Kr(e.bu),e.refs!==l&&(e.refs={}),m(o,r,f(o.el),_(o),e,n,s),e.vnode.el=r.el,null===t&&w(e,r.el),null!==e.u&&Jr(e.u,n)}else{const l=e.subTree=Er(e);null!==e.bm&&Kr(e.bm),m(null,l,o,r,e,n,s),t.el=l.el,null!==e.m&&Jr(e.m,n),c=!0}}),zr)}function C(e,n){n.component=e,e.vnode=n,e.next=null,Mr(e,n.props,n.type.props),Ur(e,n.children)}function w({vnode:e,parent:n},t){for(;n&&n.subTree===e;)(e=n.vnode).el=t,n=n.parent}function R(e,n,t,o,r,l,c,i=!1){const u=e&&e.children,f=e?e.shapeFlag:0,p=n.children,{patchFlag:d,shapeFlag:h}=n;if(-1===d&&(i=!1),d>0){if(64&d)return void M(u,p,t,o,r,l,c,i);if(128&d)return void function(e,n,t,o,r,l,c,i){n=n||s;const u=(e=e||s).length,a=n.length,f=Math.min(u,a);let p;for(p=0;p<f;p++){const o=i?n[p]:n[p]=ar(n[p]);m(e[p],o,t,null,r,l,c,i)}u>a?O(e,r,l,!0,f):b(n,t,o,r,l,c,i,f)}(u,p,t,o,r,l,c,i)}8&h?(16&f&&O(u,r,l),p!==u&&a(t,p)):16&f?16&h?M(u,p,t,o,r,l,c,i):O(u,r,l,!0):(8&f&&a(t,""),16&h&&b(p,t,o,r,l,c,i))}function M(e,n,t,o,r,l,c,i){let u=0;const a=n.length;let f=e.length-1,p=a-1;for(;u<=f&&u<=p;){const s=e[u],a=i?n[u]:n[u]=ar(n[u]);if(!Hr(s,a))break;m(s,a,t,o,r,l,c,i),u++}for(;u<=f&&u<=p;){const s=e[f],a=i?n[u]:n[p]=ar(n[p]);if(!Hr(s,a))break;m(s,a,t,o,r,l,c,i),f--,p--}if(u>f){if(u<=p){const e=p+1,s=e<a?n[e].el:o;for(;u<=p;)m(null,i?n[u]:n[u]=ar(n[u]),t,s,r,l,c),u++}}else if(u>p)for(;u<=f;)P(e[u],r,l,!0),u++;else{const d=u,h=u,g=new Map;for(u=h;u<=p;u++){const e=i?n[u]:n[u]=ar(n[u]);null!=e.key&&g.set(e.key,u)}let y,v=0;const b=p-h+1;let x=!1,S=0;const k=new Array(b);for(u=0;u<b;u++)k[u]=0;for(u=d;u<=f;u++){const o=e[u];if(v>=b){P(o,r,l,!0);continue}let s;if(null!=o.key)s=g.get(o.key);else for(y=h;y<=p;y++)if(0===k[y-h]&&Hr(o,n[y])){s=y;break}void 0===s?P(o,r,l,!0):(k[s-h]=u+1,s>=S?S=s:x=!0,m(o,n[s],t,null,r,l,c,i),v++)}const T=x?function(e){const n=e.slice(),t=[0];let o,r,l,s,c;const i=e.length;for(o=0;o<i;o++){const i=e[o];if(0!==i){if(r=t[t.length-1],e[r]<i){n[o]=r,t.push(o);continue}for(l=0,s=t.length-1;l<s;)e[t[c=(l+s)/2|0]]<i?l=c+1:s=c;i<e[t[l]]&&(l>0&&(n[o]=t[l-1]),t[l]=o)}}l=t.length,s=t[l-1];for(;l-- >0;)t[l]=s,s=n[s];return t}(k):s;for(y=T.length-1,u=b-1;u>=0;u--){const e=h+u,s=n[e],i=e+1<a?n[e+1].el:o;0===k[u]?m(null,s,t,i,r,l,c):x&&(y<0||u!==T[y]?$(s,t,i):y--)}}}function $(e,t,o){if(null===e.component){if(e.type===qo){const n=e.suspense;return $(n.isResolved?n.subTree:n.fallbackTree,t,o),void(n.container=t)}if(e.type===Go){n(e.el,t,o);const r=e.children;for(let e=0;e<r.length;e++)$(r[e],t,o);n(e.anchor,t,o)}else n(e.el,t,o)}else $(e.component.subTree,t,o)}function P(e,n,o,r){const{props:l,ref:s,type:c,component:i,suspense:u,children:a,dynamicChildren:f,shapeFlag:p,anchor:d}=e;if(null!==s&&null!==n&&V(s,null,n,null),null!=i)return void function(e,n,t){const{bum:o,effects:r,update:l,subTree:s,um:c}=e;null!==o&&Kr(o);if(null!==r)for(let e=0;e<r.length;e++)mo(r[e]);null!==l&&(mo(l),P(s,e,n,t));null!==c&&Jr(c,n);zo(()=>{e.isUnmounted=!0}),null===n||n.isResolved||n.isUnmounted||null===e.asyncDep||e.asyncResolved||(n.deps--,0===n.deps&&T(n))}(i,o,r);if(null!=u)return void function(e,n,t,o){e.isUnmounted=!0,P(e.subTree,n,t,o),e.isResolved||P(e.fallbackTree,n,t,o)}(u,n,o,r);null!=l&&null!=l.onVnodeBeforeUnmount&&Ir(l.onVnodeBeforeUnmount,n,e);const h=c===Go&&r;null!=f?O(f,n,o,h):16&p&&O(a,n,o,h),r&&(t(e.el),null!=d&&t(d)),null!=l&&null!=l.onVnodeUnmounted&&Jr(()=>{Ir(l.onVnodeUnmounted,n,e)},o)}function O(e,n,t,o,r=0){for(let l=r;l<e.length;l++)P(e[l],n,t,o)}function _({component:e,suspense:n,anchor:t,el:o}){return null!==e?_(e.subTree):null!==n?_(n.isResolved?n.subTree:n.fallbackTree):p(t||o)}function V(e,n,t,o){const r=t.refs===l?t.refs={}:t.refs,s=uo(t.renderContext);if(null!==n&&n!==e)if(g(n)){r[n]=null;const e=s[n];No(e)&&(e.value=null)}else No(n)&&(n.value=null);if(g(e)){const n=s[e];No(n)&&(n.value=o),r[e]=o}else No(e)?e.value=o:h(e)&&e(o,r)}const A=(e,n)=>{null==e?n._vnode&&P(n._vnode,null,null,!0):m(n._vnode||null,e,n),Ko(),n._vnode=e};return{render:A,createApp:Br(A)}}const Yr=e=>e();function qr(e,n,t){return h(n)?Xr(e,n,t):Xr(e,null,n)}function Xr(e,n,{lazy:t,deep:o,flush:r,onTrack:s,onTrigger:c}=l){const i=ul,u=al;let a,f;if(a=d(e)?()=>e.map(e=>No(e)?e.value:Ao(e,i,2)):No(e)?()=>e.value:n?()=>Ao(e,i,2):()=>{if(!i||!i.isUnmounted)return f&&f(),Ao(e,i,3,[p])},o){const e=a;a=()=>(function e(n,t=new Set){if(!y(n)||t.has(n))return;t.add(n);if(d(n))for(let o=0;o<n.length;o++)e(n[o],t);else if(n instanceof Map)n.forEach((o,r)=>{e(n.get(r),t)});else if(n instanceof Set)n.forEach(n=>{e(n,t)});else for(const o in n)e(n[o],t);return n})(e())}const p=e=>{f=v.onStop=()=>{Ao(e,i,4)}};let h=d(e)?[]:void 0;const g=n?()=>{if(i&&i.isUnmounted)return;const e=v();(o||R(e,h))&&(f&&f(),Uo(n,i,3,[e,h,p]),h=e)}:void 0;let m;m="sync"===r?Yr:"pre"===r?e=>{i&&null==i.vnode.el?e():Wo(e)}:e=>{Jr(e,u)};const v=go(a,{lazy:!0,computed:!0,onTrack:s,onTrigger:c,scheduler:g?()=>m(g):m});return t?h=v():m(g||v),bl(v),()=>{mo(v)}}function Zr(e,n,t){const o=this.renderProxy,r=qr(g(e)?()=>o[e]:e.bind(o),n.bind(o),t);return Sr(r,this),r}const Qr={$data:"data",$props:"propsProxy",$attrs:"attrs",$slots:"slots",$refs:"refs",$parent:"parent",$root:"root",$emit:"emit",$options:"type"},el={get(e,n){const{renderContext:t,data:o,props:r,propsProxy:s,accessCache:c,type:i,user:u}=e;if(n===Symbol.unscopables)return;const a=c[n];if(void 0!==a)switch(a){case 0:return o[n];case 1:return t[n];case 2:return s[n]}else{if(o!==l&&p(o,n))return c[n]=0,o[n];if(p(t,n))return c[n]=1,t[n];if(p(r,n))return null!=i.props&&(c[n]=2),s[n];if("$cache"===n)return e.renderCache||(e.renderCache=[]);if("$el"===n)return e.vnode.el;if(p(Qr,n))return e[Qr[n]]}switch(n){case"$forceUpdate":return e.update;case"$nextTick":return Bo;case"$watch":return Zr.bind(e)}return p(u,n)?u[n]:void 0},set(e,n,t){const{data:o,renderContext:r}=e;if(o!==l&&p(o,n))o[n]=t;else if(p(r,n))r[n]=t;else{if("$"===n[0]&&n.slice(1)in e)return!1;if(n in e.props)return!1;e.user[n]=t}return!0}};function nl(e,n){if(ul){let t=ul.provides;const o=ul.parent&&ul.parent.provides;o===t&&(t=ul.provides=Object.create(o)),t[e]=n}else;}function tl(e,n){if(ul){const t=ul.provides;if(e in t)return t[e];if(void 0!==n)return n}}function ol(e,n,t=!1){const o=e.renderContext===l?e.renderContext=ro({}):e.renderContext,r=e.renderProxy,{mixins:s,extends:i,props:u,data:f,computed:p,methods:g,watch:m,provide:v,inject:b,components:x,directives:S,beforeMount:k,mounted:T,beforeUpdate:N,updated:C,beforeUnmount:w,unmounted:E,renderTracked:R,renderTriggered:M,errorCaptured:$}=n,P=e.appContext.mixins;if(t||(rl("beforeCreate",n,r,P),sl(e,P)),i&&ol(e,i,!0),s&&sl(e,s),f){const n=h(f)?f.call(r):f;y(n)&&(e.data===l?e.data=ro(n):a(e.data,n))}if(p)for(const e in p){const n=p[e];if(h(n))o[e]=xl(n.bind(r));else{const{get:t,set:l}=n;h(t)&&(o[e]=xl({get:t.bind(r),set:h(l)?l.bind(r):c}))}}if(g)for(const e in g){const n=g[e];h(n)&&(o[e]=n.bind(r))}if(m)for(const e in m)cl(m[e],o,r,e);if(v){const e=h(v)?v.call(r):v;for(const n in e)nl(n,e[n])}if(b)if(d(b))for(let e=0;e<b.length;e++){const n=b[e];o[n]=tl(n)}else for(const e in b){const n=b[e];y(n)?o[e]=tl(n.from,n.default):o[e]=tl(n)}x&&a(e.components,x),S&&a(e.directives,S),t||rl("created",n,r,P),k&&yr(k.bind(r)),T&&vr(T.bind(r)),N&&br(N.bind(r)),C&&xr(C.bind(r)),$&&Cr($.bind(r)),R&&Nr(R.bind(r)),M&&Tr(M.bind(r)),w&&Sr(w.bind(r)),E&&kr(E.bind(r))}function rl(e,n,t,o){ll(e,o,t);const r=n.extends&&n.extends[e];r&&r.call(t);const l=n.mixins;l&&ll(e,l,t);const s=n[e];s&&s.call(t)}function ll(e,n,t){for(let o=0;o<n.length;o++){const r=n[o][e];r&&r.call(t)}}function sl(e,n){for(let t=0;t<n.length;t++)ol(e,n[t],!0)}function cl(e,n,t,o){const r=()=>t[o];if(g(e)){const t=n[e];h(t)&&qr(r,t)}else h(e)?qr(r,e.bind(t)):y(e)&&(d(e)?e.forEach(e=>cl(e,n,t,o)):qr(r,e.handler.bind(t),e))}el.has=(e,n)=>"_"!==n[0]&&!r(n);const il=jr();let ul=null,al=null;const fl=()=>ul,pl=e=>{ul=e};function dl(e,n,t){h(n)?e.render=n:y(n)&&(e.renderContext=ro(n)),ml(e,t)}let hl;function gl(e){hl=e}function ml(e,n){const t=e.type;e.render||(t.template&&!t.render&&(t.render=hl(t.template,{isCustomElement:e.appContext.config.isCustomElement||i,onError(e){}})),e.render=t.render||c),ul=e,al=n,ol(e,t),ul=null,al=null,e.renderContext===l&&(e.renderContext=ro({}))}const yl=Symbol(),vl={};function bl(e){ul&&(ul.effects||(ul.effects=[])).push(e)}function xl(e){const n=Eo(e);return bl(n.effect),n}function Sl(e,n,t){return 2===arguments.length?y(n)&&!d(n)?lr(n)?sr(e,null,[n]):sr(e,n):sr(e,null,n):(lr(t)&&(t=[t]),sr(e,n,t))}["attrs","slots"].forEach(e=>{vl[e]={get:(n,t)=>n[e][t],has:(n,t)=>t===yl||t in n[e],ownKeys:n=>Reflect.ownKeys(n[e]),getOwnPropertyDescriptor:(n,t)=>Reflect.getOwnPropertyDescriptor(n[e],t),set:()=>!1,deleteProperty:()=>!1}});const kl={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32,COMPONENT:6};function Tl(e){return wl("components",e)}function Nl(e){if(e)return g(e)?wl("components",e):h(e)||y(e)?e:void 0}function Cl(e){return wl("directives",e)}function wl(e,n){const t=wr||ul;if(t){let o;const r=t[e];return r[n]||r[o=N(n)]||r[E(o)]}}function El(e,n){let t;if(d(e)||g(e)){t=new Array(e.length);for(let o=0,r=e.length;o<r;o++)t[o]=n(e[o],o)}else if("number"==typeof e){t=new Array(e);for(let o=0;o<e;o++)t[o]=n(o+1,o)}else if(y(e))if(e[Symbol.iterator])t=Array.from(e,n);else{const o=Object.keys(e);t=new Array(o.length);for(let r=0,l=o.length;r<l;r++){const l=o[r];t[r]=n(e[l],l,r)}}return t}function Rl(e){return null==e?"":d(e)||S(e)&&e.toString===b?JSON.stringify(e,null,2):String(e)}function Ml(e){const n={};for(const t in e)n[`on${t}`]=e[t];return n}function $l(e,n,t={},o){const r=e[n];return nr(),rr(Go,{key:t.key},r?r(t):o||[],e._compiled?0:-1)}function Pl(e,n){for(let t=0;t<n.length;t++){const o=n[t];if(d(o))for(let n=0;n<o.length;n++)e[o[n].name]=o[n].fn;else e[o.name]=o.fn}return e}const Ol=document,_l={insert:(e,n,t)=>{null!=t?n.insertBefore(e,t):n.appendChild(e)},remove:e=>{const n=e.parentNode;null!=n&&n.removeChild(e)},createElement:(e,n)=>n?Ol.createElementNS("http://www.w3.org/2000/svg",e):Ol.createElement(e),createText:e=>Ol.createTextNode(e),createComment:e=>Ol.createComment(e),setText:(e,n)=>{e.nodeValue=n},setElementText:(e,n)=>{e.textContent=n},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ol.querySelector(e)};let Vl=Date.now;"undefined"!=typeof document&&Vl()>document.createEvent("Event").timeStamp&&(Vl=()=>performance.now());let Al=0;const Ul=Promise.resolve(),Ll=()=>{Al=0},Fl=()=>Al||(Ul.then(Ll),Al=Vl());function Dl(e,n,t,o){e.addEventListener(n,t,o)}function Il(e,n,t,o){e.removeEventListener(n,t,o)}function jl(e,n){const t=e=>{e.timeStamp>=t.lastUpdated-1&&Uo(t.value,n,5,[e])};return t.value=e,e.invoker=t,t.lastUpdated=Fl(),t}const Bl=e=>e.props["onUpdate:modelValue"];function Wl(e){e.target.composing=!0}function zl(e){const n=e.target;n.composing&&(n.composing=!1,function(e,n){const t=document.createEvent("HTMLEvents");t.initEvent(n,!0,!0),e.dispatchEvent(t)}(n,"input"))}function Hl(e){const n=parseFloat(e);return isNaN(n)?e:n}const Kl={beforeMount(e,{value:n,modifiers:{lazy:t,trim:o,number:r}},l){e.value=n;const s=Bl(l),c=r||"number"===e.type;Dl(e,t?"change":"input",()=>{let n=e.value;o?n=n.trim():c&&(n=Hl(n)),s(n)}),o&&Dl(e,"change",()=>{e.value=e.value.trim()}),t||(Dl(e,"compositionstart",Wl),Dl(e,"compositionend",zl),Dl(e,"change",zl))},beforeUpdate(e,{value:n,modifiers:{trim:t,number:o}}){if(document.activeElement===e){if(t&&e.value.trim()===n)return;if((o||"number"===e.type)&&Hl(e.value)===n)return}e.value=n}},Jl={beforeMount(e,n,t){Gl(e,n,t);const o=Bl(t);Dl(e,"change",()=>{const n=e._modelValue,t=es(e),r=e.checked;if(d(n)){const e=Ql(n,t),l=-1!==e;if(r&&!l)o(n.concat(t));else if(!r&&l){const t=[...n];t.splice(e,1),o(t)}}else o(r)})},beforeUpdate:Gl};function Gl(e,{value:n},t){e._modelValue=n,e.checked=d(n)?Ql(n,t.props.value)>-1:!!n}const Yl={beforeMount(e,{value:n},t){e.checked=Zl(n,t.props.value);const o=Bl(t);Dl(e,"change",()=>{o(es(e))})},beforeUpdate(e,{value:n},t){e.checked=Zl(n,t.props.value)}},ql={mounted(e,{value:n},t){Xl(e,n);const o=Bl(t);Dl(e,"change",()=>{const n=Array.prototype.filter.call(e.options,e=>e.selected).map(es);o(e.multiple?n:n[0])})},updated(e,{value:n}){Xl(e,n)}};function Xl(e,n){const t=e.multiple;if(!t||d(n)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],l=es(r);if(t)r.selected=Ql(n,l)>-1;else if(Zl(es(r),n))return void(e.selectedIndex=o)}t||(e.selectedIndex=-1)}}function Zl(e,n){if(e===n)return!0;const t=y(e),o=y(n);if(!t||!o)return!t&&!o&&String(e)===String(n);try{const t=d(e),o=d(n);if(t&&o)return e.length===n.length&&e.every((e,t)=>Zl(e,n[t]));if(e instanceof Date&&n instanceof Date)return e.getTime()===n.getTime();if(t||o)return!1;{const t=Object.keys(e),o=Object.keys(n);return t.length===o.length&&t.every(t=>Zl(e[t],n[t]))}}catch(e){return!1}}function Ql(e,n){return e.findIndex(e=>Zl(e,n))}function es(e){return"_value"in e?e._value:e.value}const ns={beforeMount(e,n,t){ts(e,n,t,null,"beforeMount")},mounted(e,n,t){ts(e,n,t,null,"mounted")},beforeUpdate(e,n,t,o){ts(e,n,t,o,"beforeUpdate")},updated(e,n,t,o){ts(e,n,t,o,"updated")}};function ts(e,n,t,o,r){let l;switch(e.tagName){case"SELECT":l=ql;break;case"TEXTAREA":l=Kl;break;default:switch(e.type){case"checkbox":l=Jl;break;case"radio":l=Yl;break;default:l=Kl}}const s=l[r];s&&s(e,n,t,o)}const os=["ctrl","shift","alt","meta"],rs={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,n)=>os.some(t=>e[`${t}Key`]&&!n.includes(t))},ls=(e,n)=>t=>{for(let e=0;e<n.length;e++){const o=rs[n[e]];if(o&&o(t,n))return}return e(t)},ss={esc:"escape",space:" ",up:"arrowup",left:"arrowleft",right:"arrowright",down:"arrowdown",delete:"backspace"},cs=(e,n)=>t=>{if(!("key"in t))return;const o=t.key.toLowerCase();return n.some(e=>e===o||ss[e]===o)?e(t):void 0},{render:is,createApp:us}=Gr({patchProp:function(e,n,t,o,r,s,c,i,a){switch(n){case"class":!function(e,n,t){t?e.setAttribute("class",n):e.className=n}(e,t,r);break;case"style":!function(e,n,t){const o=e.style;if(t)if(g(t))o.cssText=t;else{for(const e in t)o[e]=t[e];if(n&&!g(n))for(const e in n)t[e]||(o[e]="")}else e.removeAttribute("style")}(e,o,t);break;case"modelValue":case"onUpdate:modelValue":break;default:u(n)?function(e,n,t,o,r=null){const s=t&&"options"in t&&t.options,c=o&&"options"in o&&o.options,i=t&&t.invoker,u=o&&"handler"in o?o.handler:o;if(s||c){const t=s||l,a=c||l;if(t.capture!==a.capture||t.passive!==a.passive||t.once!==a.once){if(i&&Il(e,n,i,t),o&&u){const t=jl(u,r);o.invoker=t,Dl(e,n,t,a)}return}}o&&u?i?(t.invoker=null,i.value=u,o.invoker=i,i.lastUpdated=Fl()):Dl(e,n,jl(u,r),c||void 0):i&&Il(e,n,i,s||void 0)}(e,n.slice(2).toLowerCase(),o,t,c):!r&&n in e?function(e,n,t,o,r,l,s){"innerHTML"!==n&&"textContent"!==n||null==o||s(o,r,l),"value"===n&&"PROGRESS"!==e.tagName&&(e._value=t),""===t&&"boolean"==typeof e[n]?e[n]=!0:e[n]=null==t?"":t}(e,n,t,s,c,i,a):function(e,n,t){null==t?e.removeAttribute(n):e.setAttribute(n,t)}(e,n,t)}},..._l}),as=()=>{const e=us(),n=e.mount;return e.mount=(e,t,o)=>{if(!g(t)||(t=document.querySelector(t)))return h(e)||e.render||e.template||(e.template=t.innerHTML),t.innerHTML="",n(e,t,o)},e};var fs=Object.freeze({__proto__:null,render:is,createApp:as,vModelText:Kl,vModelCheckbox:Jl,vModelRadio:Yl,vModelSelect:ql,vModelDynamic:ns,withModifiers:ls,withKeys:cs,version:"3.0.0-alpha.1",createComponent:xt,nextTick:Bo,h:Sl,createVNode:sr,cloneVNode:cr,mergeProps:hr,openBlock:nr,createBlock:rr,Text:Xo,Comment:Zo,Fragment:Go,Portal:Yo,Suspense:qo,ShapeFlags:kl,PatchFlags:n,getCurrentInstance:fl,createRenderer:Gr,warn:Mo,handleError:Lo,callWithErrorHandling:Ao,callWithAsyncErrorHandling:Uo,withDirectives:Dr,resolveComponent:Tl,resolveDirective:Cl,resolveDynamicComponent:Nl,renderList:El,toString:Rl,toHandlers:Ml,renderSlot:$l,createSlots:Pl,setBlockTracking:or,createTextVNode:ir,createCommentVNode:ur,capitalize:E,camelize:N,registerRuntimeCompiler:gl,recordEffect:bl,computed:xl,ref:To,isRef:No,toRefs:Co,reactive:ro,isReactive:co,readonly:lo,isReadonly:io,toRaw:uo,markReadonly:ao,markNonReactive:fo,effect:go,watch:qr,instanceWatch:Zr,onBeforeMount:yr,onMounted:vr,onBeforeUpdate:br,onUpdated:xr,onBeforeUnmount:Sr,onUnmounted:kr,onRenderTriggered:Tr,onRenderTracked:Nr,onErrorCaptured:Cr,provide:nl,inject:tl});function ps(e,n){const{code:t}=bt(e,{hoistStatic:!0,...n});return new Function("Vue",t)(fs)}return gl(ps),e.Comment=Zo,e.Fragment=Go,e.PatchFlags=n,e.Portal=Yo,e.ShapeFlags=kl,e.Suspense=qo,e.Text=Xo,e.callWithAsyncErrorHandling=Uo,e.callWithErrorHandling=Ao,e.camelize=N,e.capitalize=E,e.cloneVNode=cr,e.compile=ps,e.computed=xl,e.createApp=as,e.createBlock=rr,e.createCommentVNode=ur,e.createComponent=xt,e.createRenderer=Gr,e.createSlots=Pl,e.createTextVNode=ir,e.createVNode=sr,e.effect=go,e.getCurrentInstance=fl,e.h=Sl,e.handleError=Lo,e.inject=tl,e.instanceWatch=Zr,e.isReactive=co,e.isReadonly=io,e.isRef=No,e.markNonReactive=fo,e.markReadonly=ao,e.mergeProps=hr,e.nextTick=Bo,e.onBeforeMount=yr,e.onBeforeUnmount=Sr,e.onBeforeUpdate=br,e.onErrorCaptured=Cr,e.onMounted=vr,e.onRenderTracked=Nr,e.onRenderTriggered=Tr,e.onUnmounted=kr,e.onUpdated=xr,e.openBlock=nr,e.provide=nl,e.reactive=ro,e.readonly=lo,e.recordEffect=bl,e.ref=To,e.registerRuntimeCompiler=gl,e.render=is,e.renderList=El,e.renderSlot=$l,e.resolveComponent=Tl,e.resolveDirective=Cl,e.resolveDynamicComponent=Nl,e.setBlockTracking=or,e.toHandlers=Ml,e.toRaw=uo,e.toRefs=Co,e.toString=Rl,e.vModelCheckbox=Jl,e.vModelDynamic=ns,e.vModelRadio=Yl,e.vModelSelect=ql,e.vModelText=Kl,e.version="3.0.0-alpha.1",e.warn=Mo,e.watch=qr,e.withDirectives=Dr,e.withKeys=cs,e.withModifiers=ls,e}({});