pome-ui 2.0.0-preview26 → 2.0.0-preview27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pome-ui",
3
- "version": "2.0.0-preview26",
3
+ "version": "2.0.0-preview27",
4
4
  "description": "Front-end MVC library",
5
5
  "main": "pome-ui.js",
6
6
  "bin": {
package/pome-ui.dev.js CHANGED
@@ -17160,6 +17160,9 @@ function build(options, exports) {
17160
17160
  if (!e) return;
17161
17161
  var href = parseHref(e.target);
17162
17162
  if (href) {
17163
+ if (e.ctrlKey || e.metaKey) {
17164
+ return;
17165
+ }
17163
17166
  exports.redirect(href);
17164
17167
  e.preventDefault();
17165
17168
  return;
@@ -26,4 +26,4 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
26
26
  `,0);a()}if(!u){s(`return `)}if(t.codegenNode){sh(t.codegenNode,n)}else{s(`null`)}if(d){l();s(`}`)}l();s(`}`);return{ast:t,code:n.code,preamble:h?m.code:``,map:n.map?n.map.toJSON():void 0}}function Qd(e,t){const{ssr:n,prefixIdentifiers:o,push:s,newline:i,runtimeModuleName:r,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t;const c=l;const u=Array.from(e.helpers);if(u.length>0){{s(`const _Vue = ${c}
27
27
  `,-1);if(e.hoists.length){const f=[$f,Ef,Nf,Of,Pf].filter(e=>u.includes(e)).map(Jd).join(", ");s(`const { ${f} } = _Vue
28
28
  `,-1)}}}eh(e.hoists,t);i();s(`return `)}function Zd(n,o,{helper:e,push:s,newline:i,isTS:r}){const l=e(o==="component"?If:Mf);for(let t=0;t<n.length;t++){let e=n[t];const a=e.endsWith("__self");if(a){e=e.slice(0,-6)}s(`const ${Qp(e,o)} = ${l}(${JSON.stringify(e)}${a?`, true`:``})${r?`!`:``}`);if(t<n.length-1){i()}}}function eh(t,n){if(!t.length){return}n.pure=true;const{push:o,newline:s,helper:e,scopeId:i,mode:r}=n;s();for(let e=0;e<t.length;e++){const l=t[e];if(l){o(`const _hoisted_${e+1} = ${``}`);sh(l,n);s()}}n.pure=false}function th(e){return k(e)||e.type===4||e.type===2||e.type===5||e.type===8}function nh(e,t){const n=e.length>3||e.some(e=>D(e)||!th(e));t.push(`[`);n&&t.indent();oh(e,t,n);n&&t.deindent();t.push(`]`)}function oh(t,n,o=false,s=true){const{push:i,newline:r}=n;for(let e=0;e<t.length;e++){const l=t[e];if(k(l)){i(l,-3)}else if(D(l)){nh(l,n)}else{sh(l,n)}if(e<t.length-1){if(o){s&&i(",");r()}else{s&&i(", ")}}}}function sh(e,t){if(k(e)){t.push(e,-3);return}if(J(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:Up(e.codegenNode!=null,`Codegen node is missing for element/if/for node. Apply appropriate transforms first.`);sh(e.codegenNode,t);break;case 2:ih(e,t);break;case 4:rh(e,t);break;case 5:lh(e,t);break;case 12:sh(e.codegenNode,t);break;case 8:ah(e,t);break;case 3:uh(e,t);break;case 13:fh(e,t);break;case 14:dh(e,t);break;case 15:hh(e,t);break;case 17:mh(e,t);break;case 18:gh(e,t);break;case 19:vh(e,t);break;case 20:yh(e,t);break;case 21:oh(e.body,t,true,false);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:{Up(false,`unhandled codegen node type: ${e.type}`);const n=e;return n}}}function ih(e,t){t.push(JSON.stringify(e.content),-3,e)}function rh(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,-3,e)}function lh(e,t){const{push:n,helper:o,pure:s}=t;if(s)n(Gd);n(`${o(Df)}(`);sh(e.content,t);n(`)`)}function ah(t,n){for(let e=0;e<t.children.length;e++){const o=t.children[e];if(k(o)){n.push(o,-3)}else{sh(o,n)}}}function ch(e,t){const{push:n}=t;if(e.type===8){n(`[`);ah(e,t);n(`]`)}else if(e.isStatic){const o=Ip(e.content)?e.content:JSON.stringify(e.content);n(o,-2,e)}else{n(`[${e.content}]`,-3,e)}}function uh(e,t){const{push:n,helper:o,pure:s}=t;if(s){n(Gd)}n(`${o(Nf)}(${JSON.stringify(e.content)})`,-3,e)}function fh(e,t){const{push:n,helper:o,pure:s}=t;const{tag:i,props:r,children:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:f,disableTracking:p,isComponent:d}=e;if(u){n(o(Lf)+`(`)}if(f){n(`(${o(kf)}(${p?`true`:``}), `)}if(s){n(Gd)}const h=f?yp(t.inSSR,d):vp(t.inSSR,d);n(o(h)+`(`,-2,e);oh(ph([i,r,l,a,c]),t);n(`)`);if(f){n(`)`)}if(u){n(`, `);sh(u,t);n(`)`)}}function ph(e){let t=e.length;while(t--){if(e[t]!=null)break}return e.slice(0,t+1).map(e=>e||`null`)}function dh(e,t){const{push:n,helper:o,pure:s}=t;const i=k(e.callee)?e.callee:o(e.callee);if(s){n(Gd)}n(i+`(`,-2,e);oh(e.arguments,t);n(`)`)}function hh(e,t){const{push:n,indent:o,deindent:s,newline:i}=t;const{properties:r}=e;if(!r.length){n(`{}`,-2,e);return}const l=r.length>1||r.some(e=>e.value.type!==4);n(l?`{`:`{ `);l&&o();for(let e=0;e<r.length;e++){const{key:a,value:c}=r[e];ch(a,t);n(`: `);sh(c,t);if(e<r.length-1){n(`,`);i()}}l&&s();n(l?`}`:` }`)}function mh(e,t){nh(e.elements,t)}function gh(e,t){const{push:n,indent:o,deindent:s}=t;const{params:i,returns:r,body:l,newline:a,isSlot:c}=e;if(c){n(`_${ip[ep]}(`)}n(`(`,-2,e);if(D(i)){oh(i,t)}else if(i){sh(i,t)}n(`) => `);if(a||l){n(`{`);o()}if(r){if(a){n(`return `)}if(D(r)){nh(r,t)}else{sh(r,t)}}else if(l){sh(l,t)}if(a||l){s();n(`}`)}if(c){n(`)`)}}function vh(e,t){const{test:n,consequent:o,alternate:s,newline:i}=e;const{push:r,indent:l,deindent:a,newline:c}=t;if(n.type===4){const f=!Ip(n.content);f&&r(`(`);rh(n,t);f&&r(`)`)}else{r(`(`);sh(n,t);r(`)`)}i&&l();t.indentLevel++;i||r(` `);r(`? `);sh(o,t);t.indentLevel--;i&&c();i||r(` `);r(`: `);const u=s.type===19;if(!u){t.indentLevel++}sh(s,t);if(!u){t.indentLevel--}i&&a(true)}function yh(e,t){const{push:n,helper:o,indent:s,deindent:i,newline:r}=t;n(`_cache[${e.index}] || (`);if(e.isVNode){s();n(`${o(Yf)}(-1),`);r()}n(`_cache[${e.index}] = `);sh(e.value,t);if(e.isVNode){n(`,`);r();n(`${o(Yf)}(1),`);r();n(`_cache[${e.index}]`);i()}n(`)`)}const bh=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const _h=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function xh(n,o,e=false,t=false){const s=n.content;if(!s.trim()){return}try{new Function(t?` ${s} `:`return ${e?`(${s}) => {}`:`(${s})`}`)}catch(e){let t=e.message;const i=s.replace(_h,"").match(bh);if(i){t=`avoid using JavaScript keyword as property name: "${i[0]}"`}o.onError(K(45,n.loc,void 0,t))}}const wh=(t,n)=>{if(t.type===5){t.content=Sh(t.content,n)}else if(t.type===1){for(let e=0;e<t.props.length;e++){const o=t.props[e];if(o.type===7&&o.name!=="for"){const s=o.exp;const i=o.arg;if(s&&s.type===4&&!(o.name==="on"&&i)){o.exp=Sh(s,n,o.name==="slot")}if(i&&i.type===4&&!i.isStatic){o.arg=Sh(i,n)}}}}};function Sh(e,t,n=false,o=false,s=Object.create(t.identifiers)){{{xh(e,t,n,o)}return e}}const Ch=Kd(/^(if|else|else-if)$/,(e,t,l)=>{return kh(e,t,l,(t,n,o)=>{const e=l.parent.children;let s=e.indexOf(t);let i=0;while(s-- >=0){const r=e[s];if(r&&r.type===9){i+=r.branches.length}}return()=>{if(o){t.codegenNode=Ah(n,i,l)}else{const e=Nh(t.codegenNode);e.alternate=Ah(n,i+t.branches.length-1,l)}}})});function kh(t,n,o,s){if(n.name!=="else"&&(!n.exp||!n.exp.content.trim())){const e=n.exp?n.exp.loc:t.loc;o.onError(K(28,n.loc));n.exp=z(`true`,false,e)}if(n.exp){xh(n.exp,o)}if(n.name==="if"){const i=Th(t,n);const r={type:9,loc:t.loc,branches:[i]};o.replaceNode(r);if(s){return s(r,i,true)}}else{const l=o.parent.children;const a=[];let e=l.indexOf(t);while(e-- >=-1){const c=l[e];if(c&&c.type===3){o.removeNode(c);a.unshift(c);continue}if(c&&c.type===2&&!c.content.trim().length){o.removeNode(c);continue}if(c&&c.type===9){if(n.name==="else-if"&&c.branches[c.branches.length-1].condition===void 0){o.onError(K(30,t.loc))}o.removeNode();const i=Th(t,n);if(a.length&&!(o.parent&&o.parent.type===1&&(o.parent.tag==="transition"||o.parent.tag==="Transition"))){i.children=[...a,...i.children]}{const f=i.userKey;if(f){c.branches.forEach(({userKey:e})=>{if(Eh(e,f)){o.onError(K(29,i.userKey.loc))}})}}c.branches.push(i);const u=s&&s(c,i,false);Wd(i,o);if(u)u();o.currentNode=null}else{o.onError(K(30,t.loc))}break}}}function Th(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Vp(e,"for")?e.children:[e],userKey:Dp(e,`key`),isTemplateIf:n}}function Ah(e,t,n){if(e.condition){return hp(e.condition,$h(e,t,n),W(n.helper(Nf),['"v-if"',"true"]))}else{return $h(e,t,n)}}function $h(n,e,o){const{helper:s}=o;const i=q(`key`,z(`${e}`,false,lp,2));const{children:r}=n;const t=r[0];const l=r.length!==1||t.type!==1;if(l){if(r.length===1&&t.type===11){const a=t.codegenNode;Xp(a,i,o);return a}else{let e=64;let t=de[64];if(!n.isTemplateIf&&r.filter(e=>e.type!==3).length===1){e|=2048;t+=`, ${de[2048]}`}return cp(o,s(_f),fp([i]),r,e+` /* ${t} */`,void 0,void 0,true,false,false,n.loc)}}else{const c=t.codegenNode;const a=Zp(c);if(a.type===13){bp(a,o)}Xp(a,i,o);return c}}function Eh(e,t){if(!e||e.type!==t.type){return false}if(e.type===6){if(e.value.content!==t.value.content){return false}}else{const n=e.exp;const o=t.exp;if(n.type!==o.type){return false}if(n.type!==4||n.isStatic!==o.isStatic||n.content!==o.content){return false}}return true}function Nh(e){while(true){if(e.type===19){if(e.alternate.type===19){e=e.alternate}else{return e}}else if(e.type===20){e=e.value}}}const Oh=Kd("for",(p,e,d)=>{const{helper:h,removeHelper:m}=d;return Ph(p,e,d,i=>{const r=W(h(jf),[i.source]);const l=Wp(p);const a=Vp(p,"memo");const e=Dp(p,`key`);const c=e&&(e.type===6?z(e.value.content,true):e.exp);const u=e?q(`key`,c):null;const f=i.source.type===4&&i.source.constType>0;const t=f?64:e?128:256;i.codegenNode=cp(d,h(_f),void 0,r,t+` /* ${de[t]} */`,void 0,void 0,true,!f,false,p.loc);return()=>{let e;const{children:t}=i;if(l){p.children.some(e=>{if(e.type===1){const t=Dp(e,"key");if(t){d.onError(K(33,t.loc));return true}}})}const n=t.length!==1||t[0].type!==1;const o=Kp(p)?p:l&&p.children.length===1&&Kp(p.children[0])?p.children[0]:null;if(o){e=o.codegenNode;if(l&&u){Xp(e,u,d)}}else if(n){e=cp(d,h(_f),u?fp([u]):void 0,p.children,64+` /* ${de[64]} */`,void 0,void 0,true,void 0,false)}else{e=t[0].codegenNode;if(l&&u){Xp(e,u,d)}if(e.isBlock!==!f){if(e.isBlock){m(kf);m(yp(d.inSSR,e.isComponent))}else{m(vp(d.inSSR,e.isComponent))}}e.isBlock=!f;if(e.isBlock){h(kf);h(yp(d.inSSR,e.isComponent))}else{h(vp(d.inSSR,e.isComponent))}}if(a){const s=dp(Rh(i.parseResult,[z(`_cached`)]));s.body=gp([pp([`const _memo = (`,a.exp,`)`]),pp([`if (_cached`,...c?[` && _cached.key === `,c]:[],` && ${d.helperString(sp)}(_cached, _memo)) return _cached`]),pp([`const _item = `,e]),z(`_item.memo = _memo`),z(`return _item`)]);r.arguments.push(s,z(`_cache`),z(String(d.cached++)))}else{r.arguments.push(dp(Rh(i.parseResult),e,true))}}})});function Ph(e,t,n,o){if(!t.exp){n.onError(K(31,t.loc));return}const s=t.forParseResult;if(!s){n.onError(K(32,t.loc));return}Ih(s,n);const{addIdentifiers:i,removeIdentifiers:r,scopes:l}=n;const{source:a,value:c,key:u,index:f}=s;const p={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:s,children:Wp(e)?e.children:[e]};n.replaceNode(p);l.vFor++;const d=o&&o(p);return()=>{l.vFor--;if(d)d()}}function Ih(e,t){if(e.finalized)return;{xh(e.source,t);if(e.key){xh(e.key,t,true)}if(e.index){xh(e.index,t,true)}if(e.value){xh(e.value,t,true)}}e.finalized=true}function Rh({value:e,key:t,index:n},o=[]){return Mh([e,t,n,...o])}function Mh(e){let t=e.length;while(t--){if(e[t])break}return e.slice(0,t+1).map((e,t)=>e||z(`_`.repeat(t+1),false))}const Fh=z(`undefined`,false);const Lh=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Vp(e,"slot");if(n){n.exp;t.scopes.vSlot++;return()=>{t.scopes.vSlot--}}}};const jh=(e,t,n,o)=>dp(e,n,false,true,n.length?n[0].loc:o);function Uh(e,i,r=jh){i.helper(ep);const{children:l,loc:o}=e;const a=[];const c=[];let u=i.scopes.vSlot>0||i.scopes.vFor>0;const f=Vp(e,"slot",true);if(f){const{arg:s,exp:v}=f;if(s&&!Np(s)){u=true}a.push(q(s||z("default",true),r(v,void 0,l,o)))}let p=false;let d=false;const h=[];const m=new Set;let g=0;for(let s=0;s<l.length;s++){const y=l[s];let e;if(!Wp(y)||!(e=Vp(y,"slot",true))){if(y.type!==3){h.push(y)}continue}if(f){i.onError(K(37,e.loc));break}p=true;const{children:b,loc:_}=y;const{arg:x=z(`default`,true),exp:w,loc:S}=e;let t;if(Np(x)){t=x?x.content:`default`}else{u=true}const C=Vp(y,"for");const k=r(w,C,b,_);let n;let o;if(n=Vp(y,"if")){u=true;c.push(hp(n.exp,Vh(x,k,g++),Fh))}else if(o=Vp(y,/^else(-if)?$/,true)){let e=s;let t;while(e--){t=l[e];if(t.type!==3){break}}if(t&&Wp(t)&&Vp(t,"if")){l.splice(s,1);s--;let e=c[c.length-1];while(e.alternate.type===19){e=e.alternate}e.alternate=o.exp?hp(o.exp,Vh(x,k,g++),Fh):Vh(x,k,g++)}else{i.onError(K(30,o.loc))}}else if(C){u=true;const T=C.forParseResult;if(T){Ih(T,i);c.push(W(i.helper(jf),[T.source,dp(Rh(T),Vh(x,k),true)]))}else{i.onError(K(32,C.loc))}}else{if(t){if(m.has(t)){i.onError(K(38,S));continue}m.add(t);if(t==="default"){d=true}}a.push(q(x,k))}}if(!f){const A=(e,t)=>{const n=r(e,void 0,t,o);return q(`default`,n)};if(!p){a.push(A(void 0,l))}else if(h.length&&h.some(e=>Bh(e))){if(d){i.onError(K(39,h[0].loc))}else{a.push(A(void 0,h))}}}const t=u?2:Dh(e.children)?3:1;let n=fp(a.concat(q(`_`,z(t+` /* ${he[t]} */`,false))),o);if(c.length){n=W(i.helper(Vf),[n,up(c)])}return{slots:n,hasDynamicSlots:u}}function Vh(e,t,n){const o=[q(`name`,e),q(`fn`,t)];if(n!=null){o.push(q(`key`,z(String(n),true)))}return fp(o)}function Dh(t){for(let e=0;e<t.length;e++){const n=t[e];switch(n.type){case 1:if(n.tagType===2||Dh(n.children)){return true}break;case 9:if(Dh(n.branches))return true;break;case 10:case 11:if(Dh(n.children))return true;break}}return false}function Bh(e){if(e.type!==2&&e.type!==12)return true;return e.type===2?!!e.content.trim():Bh(e.content)}const Hh=new WeakMap;const qh=(S,C)=>{return function e(){S=C.currentNode;if(!(S.type===1&&(S.tagType===0||S.tagType===1))){return}const{tag:t,props:n}=S;const o=S.tagType===1;let s=o?zh(S,C):`"${t}"`;const i=H(s)&&s.callee===Rf;let r;let l;let a;let c=0;let u;let f;let p;let d=i||s===xf||s===wf||!o&&(t==="svg"||t==="foreignObject");if(n.length>0){const h=Wh(S,C,void 0,o,i);r=h.props;c=h.patchFlag;f=h.dynamicPropNames;const m=h.directives;p=m&&m.length?up(m.map(e=>Jh(e,C))):void 0;if(h.shouldUseBlock){d=true}}if(S.children.length>0){if(s===Sf){d=true;c|=1024;if(S.children.length>1){C.onError(K(46,{start:S.children[0].loc.start,end:S.children[S.children.length-1].loc.end,source:""}))}}const g=o&&s!==xf&&s!==Sf;if(g){const{slots:v,hasDynamicSlots:y}=Uh(S,C);l=v;if(y){c|=1024}}else if(S.children.length===1&&s!==xf){const b=S.children[0];const _=b.type;const x=_===5||_===8;if(x&&Fd(b,C)===0){c|=1}if(x||_===2){l=b}else{l=S.children}}else{l=S.children}}if(c!==0){{if(c<0){a=c+` /* ${de[c]} */`}else{const w=Object.keys(de).map(Number).filter(e=>e>0&&c&e).map(e=>de[e]).join(`, `);a=c+` /* ${w} */`}}if(f&&f.length){u=Xh(f)}}S.codegenNode=cp(C,s,r,l,a,u,p,!!d,false,o,S.loc)}};function zh(e,t,n=false){let{tag:o}=e;const s=Yh(o);const i=Dp(e,"is");if(i){if(s||false){const l=i.type===6?i.value&&z(i.value.content,true):i.exp;if(l){return W(t.helper(Rf),[l])}}else if(i.type===6&&i.value.content.startsWith("vue:")){o=i.value.content.slice(4)}}const r=Op(o)||t.isBuiltInComponent(o);if(r){if(!n)t.helper(r);return r}t.helper(If);t.components.add(o);return Qp(o,`component`)}function Wh(t,s,n=t.props,i,F,o=false){const{tag:r,loc:l,children:L}=t;let a=[];const c=[];const u=[];const f=L.length>0;let p=false;let d=0;let h=false;let m=false;let g=false;let v=false;let y=false;let b=false;const _=[];const x=e=>{if(a.length){c.push(fp(Kh(a),l));a=[]}if(e)c.push(e)};const j=({key:e,value:t})=>{if(Np(e)){const n=e.content;const o=G(n);if(o&&(!i||F)&&n.toLowerCase()!=="onclick"&&n!=="onUpdate:modelValue"&&!ie(n)){v=true}if(o&&ie(n)){b=true}if(o&&t.type===14){t=t.arguments[0]}if(t.type===20||(t.type===4||t.type===8)&&Fd(t,s)>0){return}if(n==="ref"){h=true}else if(n==="class"){m=true}else if(n==="style"){g=true}else if(n!=="key"&&!_.includes(n)){_.push(n)}if(i&&(n==="class"||n==="style")&&!_.includes(n)){_.push(n)}}else{y=true}};for(let e=0;e<n.length;e++){const S=n[e];if(S.type===6){const{loc:C,name:k,nameLoc:U,value:T}=S;let e=true;if(k==="ref"){h=true;if(s.scopes.vFor>0){a.push(q(z("ref_for",true),z("true")))}}if(k==="is"&&(Yh(r)||T&&T.content.startsWith("vue:")||false)){continue}a.push(q(z(k,true,U),z(T?T.content:"",e,T?T.loc:C)))}else{const{name:k,arg:A,exp:$,loc:C,modifiers:V}=S;const E=k==="bind";const N=k==="on";if(k==="slot"){if(!i){s.onError(K(40,C))}continue}if(k==="once"||k==="memo"){continue}if(k==="is"||E&&Bp(A,"is")&&(Yh(r)||false)){continue}if(N&&o){continue}if(E&&Bp(A,"key")||N&&f&&Bp(A,"vue:before-update")){p=true}if(E&&Bp(A,"ref")&&s.scopes.vFor>0){a.push(q(z("ref_for",true),z("true")))}if(!A&&(E||N)){y=true;if($){if(E){x();c.push($)}else{x({type:14,loc:C,callee:s.helper(Kf),arguments:i?[$]:[$,`true`]})}}else{s.onError(K(E?34:35,C))}continue}if(E&&V.includes("prop")){d|=32}const O=s.directiveTransforms[k];if(O){const{props:P,needRuntime:I}=O(S,t,s);!o&&P.forEach(j);if(N&&A&&!Np(A)){x(fp(P,l))}else{a.push(...P)}if(I){u.push(S);if(J(I)){Hh.set(S,I)}}}else if(!re(k)){u.push(S);if(f){p=true}}}}let w=void 0;if(c.length){x();if(c.length>1){w=W(s.helper(Bf),c,l)}else{w=c[0]}}else if(a.length){w=fp(Kh(a),l)}if(y){d|=16}else{if(m&&!i){d|=2}if(g&&!i){d|=4}if(_.length){d|=8}if(v){d|=32}}if(!p&&(d===0||d===32)&&(h||b||u.length>0)){d|=512}if(!s.inSSR&&w){switch(w.type){case 15:let t=-1;let n=-1;let o=false;for(let e=0;e<w.properties.length;e++){const M=w.properties[e].key;if(Np(M)){if(M.content==="class"){t=e}else if(M.content==="style"){n=e}}else if(!M.isHandlerKey){o=true}}const e=w.properties[t];const R=w.properties[n];if(!o){if(e&&!Np(e.value)){e.value=W(s.helper(Hf),[e.value])}if(R&&(g||R.value.type===4&&R.value.content.trim()[0]===`[`||R.value.type===17)){R.value=W(s.helper(qf),[R.value])}}else{w=W(s.helper(zf),[w])}break;case 14:break;default:w=W(s.helper(zf),[W(s.helper(Wf),[w])]);break}}return{props:w,directives:u,patchFlag:d,dynamicPropNames:_,shouldUseBlock:p}}function Kh(t){const n=new Map;const o=[];for(let e=0;e<t.length;e++){const s=t[e];if(s.key.type===8||!s.key.isStatic){o.push(s);continue}const i=s.key.content;const r=n.get(i);if(r){if(i==="style"||i==="class"||G(i)){Gh(r,s)}}else{n.set(i,s);o.push(s)}}return o}function Gh(e,t){if(e.value.type===17){e.value.elements.push(t.value)}else{e.value=up([e.value,t.value],e.loc)}}function Jh(e,t){const n=[];const o=Hh.get(e);if(o){n.push(t.helperString(o))}else{{t.helper(Mf);t.directives.add(e.name);n.push(Qp(e.name,`directive`))}}const{loc:s}=e;if(e.exp)n.push(e.exp);if(e.arg){if(!e.exp){n.push(`void 0`)}n.push(e.arg)}if(Object.keys(e.modifiers).length){if(!e.arg){if(!e.exp){n.push(`void 0`)}n.push(`void 0`)}const i=z(`true`,false,s);n.push(fp(e.modifiers.map(e=>q(e,i)),s))}return up(n,e.loc)}function Xh(n){let o=`[`;for(let e=0,t=n.length;e<t;e++){o+=JSON.stringify(n[e]);if(e<t-1)o+=", "}return o+`]`}function Yh(e){return e==="component"||e==="Component"}const Qh=(t,n)=>{if(Kp(t)){const{children:o,loc:s}=t;const{slotName:i,slotProps:r}=Zh(t,n);const l=[n.prefixIdentifiers?`_ctx.$slots`:`$slots`,i,"{}","undefined","true"];let e=2;if(r){l[2]=r;e=3}if(o.length){l[3]=dp([],o,false,false,s);e=4}if(n.scopeId&&!n.slotted){e=5}l.splice(e);t.codegenNode=W(n.helper(Uf),l,s)}};function Zh(n,e){let o=`"default"`;let t=void 0;const s=[];for(let t=0;t<n.props.length;t++){const e=n.props[t];if(e.type===6){if(e.value){if(e.name==="name"){o=JSON.stringify(e.value.content)}else{e.name=T(e.name);s.push(e)}}}else{if(e.name==="bind"&&Bp(e.arg,"name")){if(e.exp)o=e.exp}else{if(e.name==="bind"&&e.arg&&Np(e.arg)){e.arg.content=T(e.arg.content)}s.push(e)}}}if(s.length>0){const{props:i,directives:r}=Wh(n,e,s,false,false);t=i;if(r.length){e.onError(K(36,r[0].loc))}}return{slotName:o,slotProps:t}}const em=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;const tm=(e,t,n,o)=>{const{loc:s,modifiers:i,arg:r}=e;if(!e.exp&&!i.length){n.onError(K(35,s))}let l;if(r.type===4){if(r.isStatic){let e=r.content;if(e.startsWith("vnode")){n.onError(K(51,r.loc))}if(e.startsWith("vue:")){e=`vnode-${e.slice(4)}`}const f=t.tagType!==0||e.startsWith("vnode")||!/[A-Z]/.test(e)?U(T(e)):`on:${e}`;l=z(f,true,r.loc)}else{l=pp([`${n.helperString(Xf)}(`,r,`)`])}}else{l=r;l.children.unshift(`${n.helperString(Xf)}(`);l.children.push(`)`)}let a=e.exp;if(a&&!a.content.trim()){a=void 0}let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const p=jp(a.content);const d=!(p||em.test(a.content));const h=a.content.includes(`;`);{xh(a,n,false,h)}if(d||c&&p){a=pp([`${d?`$event`:`${``}(...args)`} => ${h?`{`:`(`}`,a,h?`}`:`)`])}}let u={props:[q(l,a||z(`() => {}`,false,s))]};if(o){u=o(u)}if(c){u.props[0].value=n.cache(u.props[0].value)}u.props.forEach(e=>e.key.isHandlerKey=true);return u};const nm=(e,t,n)=>{const{modifiers:o,loc:s}=e;const i=e.arg;let{exp:r}=e;if(!r&&i.type===4){const l=T(i.content);r=e.exp=z(l,false,i.loc)}if(i.type!==4){i.children.unshift(`(`);i.children.push(`) || ""`)}else if(!i.isStatic){i.content=`${i.content} || ""`}if(o.includes("camel")){if(i.type===4){if(i.isStatic){i.content=T(i.content)}else{i.content=`${n.helperString(Gf)}(${i.content})`}}else{i.children.unshift(`${n.helperString(Gf)}(`);i.children.push(`)`)}}if(!n.inSSR){if(o.includes("prop")){om(i,".")}if(o.includes("attr")){om(i,"^")}}if(!r||r.type===4&&!r.content.trim()){n.onError(K(34,s));return{props:[q(i,z("",true,s))]}}return{props:[q(i,r)]}};const om=(e,t)=>{if(e.type===4){if(e.isStatic){e.content=t+e.content}else{e.content=`\`${t}\${${e.content}}\``}}else{e.children.unshift(`'${t}' + (`);e.children.push(`)`)}};const sm=(r,l)=>{if(r.type===0||r.type===1||r.type===11||r.type===10){return()=>{const n=r.children;let o=void 0;let e=false;for(let t=0;t<n.length;t++){const s=n[t];if(qp(s)){e=true;for(let e=t+1;e<n.length;e++){const i=n[e];if(qp(i)){if(!o){o=n[t]=pp([s],s.loc)}o.children.push(` + `,i);n.splice(e,1);e--}else{o=void 0;break}}}}if(!e||n.length===1&&(r.type===0||r.type===1&&r.tagType===0&&!r.props.find(e=>e.type===7&&!l.directiveTransforms[e.name])&&true)){return}for(let e=0;e<n.length;e++){const s=n[e];if(qp(s)||s.type===8){const t=[];if(s.type!==2||s.content!==" "){t.push(s)}if(!l.ssr&&Fd(s,l)===0){t.push(1+` /* ${de[1]} */`)}n[e]={type:12,content:s,loc:s.loc,codegenNode:W(l.helper(Of),t)}}}}}};const im=new WeakSet;const rm=(e,t)=>{if(e.type===1&&Vp(e,"once",true)){if(im.has(e)||t.inVOnce||t.inSSR){return}im.add(e);t.inVOnce=true;t.helper(Yf);return()=>{t.inVOnce=false;const e=t.currentNode;if(e.codegenNode){e.codegenNode=t.cache(e.codegenNode,true)}}}};const lm=(e,t,n)=>{const{exp:o,arg:s}=e;if(!o){n.onError(K(41,e.loc));return am()}const i=o.loc.source;const r=o.type===4?o.content:i;const l=n.bindingMetadata[i];if(l==="props"||l==="props-aliased"){n.onError(K(44,o.loc));return am()}const a=false;if(!r.trim()||!jp(r)&&!a){n.onError(K(42,o.loc));return am()}const c=s?s:z("modelValue",true);const u=s?Np(s)?`onUpdate:${T(s.content)}`:pp(['"onUpdate:" + ',s]):`onUpdate:modelValue`;let f;const p=n.isTS?`($event: any)`:`$event`;{f=pp([`${p} => ((`,o,`) = $event)`])}const d=[q(c,e.exp),q(u,f)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(e=>(Ip(e)?e:JSON.stringify(e))+`: true`).join(`, `);const m=s?Np(s)?`${s.content}Modifiers`:pp([s,' + "Modifiers"']):`modelModifiers`;d.push(q(m,z(`{ ${h} }`,false,e.loc,2)))}return am(d)};function am(e=[]){return{props:e}}const cm=new WeakSet;const um=(t,n)=>{if(t.type===1){const o=Vp(t,"memo");if(!o||cm.has(t)){return}cm.add(t);return()=>{const e=t.codegenNode||n.currentNode.codegenNode;if(e&&e.type===13){if(t.tagType!==1){bp(e,n)}t.codegenNode=W(n.helper(op),[o.exp,dp(void 0,e),`_cache`,String(n.cached++)])}}}};function fm(e){return[[rm,Ch,um,Oh,...[],...[wh],Qh,qh,Lh,sm],{on:tm,bind:nm,model:lm}]}function pm(e,t={}){const n=t.onError||Ap;const o=t.mode==="module";{if(t.prefixIdentifiers===true){n(K(47))}else if(o){n(K(48))}}const s=false;if(t.cacheHandlers){n(K(49))}if(t.scopeId&&!o){n(K(50))}const i=E({},t,{prefixIdentifiers:s});const r=k(e)?Pd(e,i):e;const[l,a]=fm();Hd(r,E({},i,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:E({},a,t.directiveTransforms||{})}));return Yd(r,i)}const dm=()=>({props:[]});const hm=Symbol(`vModelRadio`);const mm=Symbol(`vModelCheckbox`);const gm=Symbol(`vModelText`);const vm=Symbol(`vModelSelect`);const ym=Symbol(`vModelDynamic`);const bm=Symbol(`vOnModifiersGuard`);const _m=Symbol(`vOnKeysGuard`);const xm=Symbol(`vShow`);const wm=Symbol(`Transition`);const Sm=Symbol(`TransitionGroup`);rp({[hm]:`vModelRadio`,[mm]:`vModelCheckbox`,[gm]:`vModelText`,[vm]:`vModelSelect`,[ym]:`vModelDynamic`,[bm]:`withModifiers`,[_m]:`withKeys`,[xm]:`vShow`,[wm]:`Transition`,[Sm]:`TransitionGroup`});let Cm;function km(e,t=false){if(!Cm){Cm=document.createElement("div")}if(t){Cm.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`;return Cm.children[0].getAttribute("foo")}else{Cm.innerHTML=e;return Cm.textContent}}const Tm={parseMode:"html",isVoidTag:Re,isNativeTag:e=>Oe(e)||Pe(e)||Ie(e),isPreTag:e=>e==="pre",decodeEntities:km,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition"){return wm}else if(e==="TransitionGroup"||e==="transition-group"){return Sm}},getNamespace(e,t,n){let o=t?t.ns:n;if(t&&o===2){if(t.tag==="annotation-xml"){if(e==="svg"){return 1}if(t.props.some(e=>e.type===6&&e.name==="encoding"&&e.value!=null&&(e.value.content==="text/html"||e.value.content==="application/xhtml+xml"))){o=0}}else if(/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"){o=0}}else if(t&&o===1){if(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title"){o=0}}if(o===0){if(e==="svg"){return 1}if(e==="math"){return 2}}return o}};const Am=n=>{if(n.type===1){n.props.forEach((e,t)=>{if(e.type===6&&e.name==="style"&&e.value){n.props[t]={type:7,name:`bind`,arg:z(`style`,true,e.loc),exp:$m(e.value.content,e.loc),modifiers:[],loc:e.loc}}})}};const $m=(e,t)=>{const n=Se(e);return z(JSON.stringify(n),false,t,3)};function Em(e,t){return K(e,t,Nm)}const Nm={[53]:`v-html is missing expression.`,[54]:`v-html will override element children.`,[55]:`v-text is missing expression.`,[56]:`v-text will override element children.`,[57]:`v-model can only be used on <input>, <textarea> and <select> elements.`,[58]:`v-model argument is not supported on plain elements.`,[59]:`v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,[60]:`Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,[61]:`v-show is missing expression.`,[62]:`<Transition> expects exactly one child element or component.`,[63]:`Tags with side effect (<script> and <style>) are ignored in client component templates.`};const Om=(e,t,n)=>{const{exp:o,loc:s}=e;if(!o){n.onError(Em(53,s))}if(t.children.length){n.onError(Em(54,s));t.children.length=0}return{props:[q(z(`innerHTML`,true,s),o||z("",true))]}};const Pm=(e,t,n)=>{const{exp:o,loc:s}=e;if(!o){n.onError(Em(55,s))}if(t.children.length){n.onError(Em(56,s));t.children.length=0}return{props:[q(z(`textContent`,true),o?Fd(o,n)>0?o:W(n.helperString(Df),[o],s):z("",true))]}};const Im=(n,o,s)=>{const i=lm(n,o,s);if(!i.props.length||o.tagType===1){return i}if(n.arg){s.onError(Em(58,n.arg.loc))}function r(){const e=Vp(o,"bind");if(e&&Bp(e.arg,"value")){s.onError(Em(60,e.loc))}}const{tag:l}=o;const a=s.isCustomElement(l);if(l==="input"||l==="textarea"||l==="select"||a){let e=gm;let t=false;if(l==="input"||a){const c=Dp(o,`type`);if(c){if(c.type===7){e=ym}else if(c.value){switch(c.value.content){case"radio":e=hm;break;case"checkbox":e=mm;break;case"file":t=true;s.onError(Em(59,n.loc));break;default:r();break}}}else if(Hp(o)){e=ym}else{r()}}else if(l==="select"){e=vm}else{r()}if(!t){i.needRuntime=s.helper(e)}}else{s.onError(Em(57,n.loc))}i.props=i.props.filter(e=>!(e.key.type===4&&e.key.content==="modelValue"));return i};const Rm=t(`passive,once,capture`);const Mm=t(`stop,prevent,self,ctrl,shift,alt,meta,exact,middle`);const Fm=t("left,right");const Lm=t(`onkeyup,onkeydown,onkeypress`,true);const jm=(t,n,e,o)=>{const s=[];const i=[];const r=[];for(let e=0;e<n.length;e++){const l=n[e];if(Rm(l)){r.push(l)}else{if(Fm(l)){if(Np(t)){if(Lm(t.content)){s.push(l)}else{i.push(l)}}else{s.push(l);i.push(l)}}else{if(Mm(l)){i.push(l)}else{s.push(l)}}}}return{keyModifiers:s,nonKeyModifiers:i,eventOptionModifiers:r}};const Um=(e,t)=>{const n=Np(e)&&e.content.toLowerCase()==="onclick";return n?z(t,true):e.type!==4?pp([`(`,e,`) === "onClick" ? "${t}" : (`,e,`)`]):e};const Vm=(a,e,c)=>{return tm(a,e,c,e=>{const{modifiers:t}=a;if(!t.length)return e;let{key:n,value:o}=e.props[0];const{keyModifiers:s,nonKeyModifiers:i,eventOptionModifiers:r}=jm(n,t,c,a.loc);if(i.includes("right")){n=Um(n,`onContextmenu`)}if(i.includes("middle")){n=Um(n,`onMouseup`)}if(i.length){o=W(c.helper(bm),[o,JSON.stringify(i)])}if(s.length&&(!Np(n)||Lm(n.content))){o=W(c.helper(_m),[o,JSON.stringify(s)])}if(r.length){const l=r.map(j).join("");n=Np(n)?z(`${n.content}${l}`,true):pp([`(`,n,`) + "${l}"`])}return{props:[q(n,o)]}})};const Dm=(e,t,n)=>{const{exp:o,loc:s}=e;if(!o){n.onError(Em(61,s))}return{props:[],needRuntime:n.helper(xm)}};const Bm=(n,e)=>{if(n.type===1&&n.tagType===1){const t=e.isBuiltInComponent(n.tag);if(t===wm){return()=>{if(!n.children.length){return}if(Hm(n)){e.onError(Em(62,{start:n.children[0].loc.start,end:n.children[n.children.length-1].loc.end,source:""}))}const t=n.children[0];if(t.type===1){for(const e of t.props){if(e.type===7&&e.name==="show"){n.props.push({type:6,name:"persisted",nameLoc:n.loc,value:void 0,loc:n.loc})}}}}}}};function Hm(e){const t=e.children=e.children.filter(e=>e.type!==3&&!(e.type===2&&!e.content.trim()));const n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Hm)}const qm=(e,t)=>{if(e.type===1&&e.tagType===0&&(e.tag==="script___"||e.tag==="style___")){t.onError(Em(63,e.loc));t.removeNode()}};const zm=[Am,...[Bm]];const Wm={cloak:dm,html:Om,text:Pm,model:Im,on:Vm,show:Dm};function Km(e,t={}){return pm(e,E({},Tm,t,{nodeTransforms:[qm,...zm,...t.nodeTransforms||[]],directiveTransforms:E({},Wm,t.directiveTransforms||{}),transformHoist:null}))}{bf()}const Gm=new WeakMap;function Jm(e){let t=Gm.get(e!=null?e:X);if(!t){t=Object.create(null);Gm.set(e!=null?e:X,t)}return t}function Xm(s,e){if(!k(s)){if(s.nodeType){s=s.innerHTML}else{p(`invalid template option: `,s);return Y}}const t=s;const n=Jm(e);const o=n[t];if(o){return o}if(s[0]==="#"){const c=document.querySelector(s);if(!c){p(`Template element not found or is empty: ${s}`)}s=c?c.innerHTML:``}const i=E({hoistStatic:true,onError:l,onWarn:e=>l(e,true)},e);if(!i.isCustomElement&&typeof customElements!=="undefined"){i.isCustomElement=e=>!!customElements.get(e)}const{code:r}=Km(s,i);function l(e,t=false){const n=t?e.message:`Template compilation error: ${e.message}`;const o=e.loc&&ye(s,e.loc.start.offset,e.loc.end.offset);p(o?`${n}
29
- ${o}`:n)}const a=new Function(r)();a._rc=true;return n[t]=a}Ka(Xm);e.BaseTransition=di;e.BaseTransitionPropsValidators=fi;e.Comment=te;e.DeprecationTypes=yc;e.EffectScope=Xe;e.ErrorCodes=oo;e.ErrorTypeStrings=pc;e.Fragment=ee;e.KeepAlive=Ti;e.ReactiveEffect=nt;e.Static=Zl;e.Suspense=Ms;e.Teleport=Xl;e.Text=Ql;e.TrackOpTypes=Wn;e.Transition=Ac;e.TransitionGroup=Iu;e.TriggerOpTypes=Kn;e.VueElement=ku;e.assertNumber=no;e.callWithAsyncErrorHandling=ro;e.callWithErrorHandling=io;e.camelize=T;e.capitalize=j;e.cloneVNode=_a;e.compatUtils=vc;e.compile=Xm;e.computed=ic;e.createApp=pf;e.createBlock=aa;e.createCommentVNode=Ca;e.createElementBlock=la;e.createElementVNode=va;e.createHydrationRenderer=Rl;e.createPropsRestProxy=_r;e.createRenderer=Il;e.createSSRApp=df;e.createSlots=Ki;e.createStaticVNode=Sa;e.createTextVNode=wa;e.createVNode=ne;e.customRef=Vn;e.defineAsyncComponent=wi;e.defineComponent=_i;e.defineCustomElement=wu;e.defineEmits=ar;e.defineExpose=cr;e.defineModel=pr;e.defineOptions=ur;e.defineProps=lr;e.defineSSRCustomElement=Su;e.defineSlots=fr;e.devtools=dc;e.effect=lt;e.effectScope=Ye;e.getCurrentInstance=Ia;e.getCurrentScope=Ze;e.getTransitionRawChildren=bi;e.guardReactiveProps=ba;e.h=lc;e.handleError=lo;e.hasInjectionContext=qr;e.hydrate=ff;e.initCustomFormatter=ac;e.initDirectivesForSSR=yf;e.inject=Hr;e.isMemoSame=uc;e.isProxy=wn;e.isReactive=bn;e.isReadonly=_n;e.isRef=C;e.isRuntimeOnly=Ga;e.isShallow=xn;e.isVNode=ca;e.markRaw=Sn;e.mergeDefaults=yr;e.mergeModels=br;e.mergeProps=$a;e.nextTick=bo;e.normalizeClass=ke;e.normalizeProps=Te;e.normalizeStyle=be;e.onActivated=$i;e.onBeforeMount=Fi;e.onBeforeUnmount=Vi;e.onBeforeUpdate=ji;e.onDeactivated=Ei;e.onErrorCaptured=zi;e.onMounted=Li;e.onRenderTracked=qi;e.onRenderTriggered=Hi;e.onScopeDispose=et;e.onServerPrefetch=Bi;e.onUnmounted=Di;e.onUpdated=Ui;e.openBlock=na;e.popScopeId=us;e.provide=Br;e.proxyRefs=jn;e.pushScopeId=cs;e.queuePostFlushCb=Co;e.reactive=hn;e.readonly=gn;e.ref=Nn;e.registerRuntimeCompiler=Ka;e.render=uf;e.renderList=Wi;e.renderSlot=Gi;e.resolveComponent=Ts;e.resolveDirective=Es;e.resolveDynamicComponent=$s;e.resolveFilter=gc;e.resolveTransitionHooks=mi;e.setBlockTracking=ia;e.setDevtoolsHook=hc;e.setTransitionHooks=yi;e.shallowReactive=mn;e.shallowReadonly=vn;e.shallowRef=On;e.ssrContextKey=Ks;e.ssrUtils=mc;e.stop=at;e.toDisplayString=ze;e.toHandlerKey=U;e.toHandlers=Xi;e.toRaw=b;e.toRef=qn;e.toRefs=Dn;e.toValue=Fn;e.transformVNodeArgs=pa;e.triggerRef=Rn;e.unref=Mn;e.useAttrs=mr;e.useCssModule=Tu;e.useCssVars=Jc;e.useModel=rc;e.useSSRContext=Gs;e.useSlots=hr;e.useTransitionState=ci;e.vModelCheckbox=Hu;e.vModelDynamic=Xu;e.vModelRadio=zu;e.vModelSelect=Wu;e.vModelText=Bu;e.vShow=Wc;e.version=fc;e.warn=p;e.watch=Zs;e.watchEffect=Js;e.watchPostEffect=Xs;e.watchSyncEffect=Ys;e.withAsyncContext=xr;e.withCtx=ps;e.withDefaults=dr;e.withDirectives=ii;e.withKeys=of;e.withMemo=cc;e.withModifiers=tf;e.withScopeId=fs;return e}({});window.Vue=Vue;function build(options,exports){if(typeof exports=="undefined"){exports={}}var _options={resolveModulesParallelly:true,removeStyleWhenUnmount:false,mobile:function(){return false},httpGet:function(e){return fetch(e)},httpGetSync:function(e){if(useRelativePath){if(e.length&&e[0]=="/"){e=e.substr(1)}}var t=new XMLHttpRequest;t.open("get",e,false);t.send();return t.responseText},onNotFound:function(e,t){if(e.indexOf("/404")==0){throw"No not-found template found"}if(t){return Redirect("/404?"+_serializeOptionsToUrl(t))}else{return Redirect("/404")}},reuseContainerActiveView(e){return true},callCreatedWhenReuseContainerActiveView(e){return true},callMountedWhenReuseContainerActiveView(e){return true},callUnmountedWhenReuseContainerActiveView(e){return true},resetDataWhenReuseContainerActiveView(e){return true},generateTitle(e){return e.join(" - ")}};_combineObject(options,_options);var _cache={};var _css={};function _httpCached(e){return!!_cache[e]}function _httpGet(n){if(_cache[n]){return Promise.resolve(_cache[n])}var e=n;if(_options.version){if(n.indexOf("?")>0){e+="&"}else{e+="?"}e+="v="+_options.version}return _options.httpGet(e).then(function(e){if(e.status>300||e.status<200){return Promise.reject(e)}var t=e.text();_cache[n]=t;return Promise.resolve(t)}).catch(function(e){Promise.reject(e)})}function _httpExist(e){return _httpGet(e).then(function(){return Promise.resolve(true)}).catch(function(){return Promise.resolve(false)})}function _serializeOptionsToUrl(e){var t=Object.getOwnPropertyNames(e);var n="";for(var o=0;o<t.length;++o){n+=encodeURIComponent(t[o])+"="+encodeURIComponent(e[t[o]])+"&"}if(n[n.length-1]==="&"){n=n.substr(0,n.length-1)}return n}var _root=null;function root(){return _root}exports._rules=[];function useRoutes(e){var t=_options.httpGetSync(e);t=JSON.parse(t);if(!exports._rules){exports._rules={}}_combineObject(t,exports._rules)}function _combineObject(e,t){if(!e){return}var n=Object.getOwnPropertyNames(e);for(var o=0;o<n.length;++o){t[n[o]]=e[n[o]]}}function _getQueryString(){var e=window.location.search;if(window.location.hash.indexOf("?")>0){var t=window.location.hash.substr(window.location.hash.indexOf("?"));if(e){e+="&"+t.substr(1)}else{e=t}}return e}function _parseQueryString(e){var t=_getQueryString();if(!t){return}var n=t;if(n[0]=="?"){n=n.substr(1)}var o=n.split("&");for(var s=0;s<o.length;++s){var i=o[s].split("=");var r=decodeURIComponent(i[0]);var l=decodeURIComponent(i[1]);_fillObjectField(r,l,e)}}function _resolveModules(e,n){if(!e){return Promise.resolve()}if(_options.resolveModulesParallelly){var t=[];for(var o=0;o<e.length;++o){t.push(LoadScript(parseMacroPath(n,e[o])))}return Promise.all(t)}else{var s=Promise.resolve(null);var i=function(t){return function(e){return LoadScript(parseMacroPath(n,t))}};for(var o=0;o<e.length;++o){var r=e[o];s=s.then(i(r))}return s}}function _buildApp(url,params,mobile,parent){var componentObject={};return _httpGet(url+".js").then(function(js){var Page=function(e){componentObject=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url+".js");hookMountedAndUnmounted(componentObject,url+(mobile?".m":""));return _resolveModules(componentObject.modules||[],url).then(function(){return Promise.resolve(componentObject)})}).then(function(t){var e=null;if(mobile){e=_httpExist(url+".m.html").then(function(e){return _httpGet(url+(e?".m.html":".html"))})}else{e=_httpGet(url+".html")}return e.then(function(e){if(!t.template){t.template=e}_patchComponent(url,t);return Promise.resolve(t)})}).then(function(i){var o=i.setup;i.setup=function(e,t){if(typeof o=="function"){o(e,t)}var n=Vue.getCurrentInstance();n.$parent=parent||exports.root();n.$root=exports.root()||parent;n.$view=url;n.$app=exports;n.$data=i.data||function(){return{}};n.$created=i.created||function(){};n.$mounted=i.mounted||function(){};n.$unmounted=i.unmounted||function(){};_attachContainer(n)};var t=i.data||function(){return{}};i.data=function(){var e=t.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};return _resolveModules(i.modules,url).then(function(){var e=i.components||[];return _loadComponents(e,url).then(function(e){var t=Vue.createApp(i);for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}var s=t.mount||function(){};t.mount=function(e){t.proxy=s(e);return t.proxy};return Promise.resolve(t)})})})}function _replace(e,t,n){var o=e.indexOf(t);if(o<0){return e}var s=e.substr(0,o)+n+e.substr(o+t.length);return s}function sleep(t){return new Promise(function(e){setTimeout(function(){e()},t)})}function yield(){return sleep(0)}function _attachContainer(c){if(!c){console.warn("Invalid view model")}if(!c.$containers){c.$containers=[]}if(!c.$containers){c.$containers=[]}var n=c.$containers;c.$container=function(t){var e=n.filter(e=>e.selector==t)[0];if(!e){e={element:document.querySelector(t),selector:t,open:function(e,o){var t=_options.mobile();var n=null;if(c.proxy){n=c.proxy}if(c.$&&c.$.proxy){n=c.$.proxy}if(!this.active||this.active.$view!=e||!_options.reuseContainerActiveView()){this.close()}var s=this;o=generateParametersFromRoute(o);_parseQueryString(o);if(_options.reuseContainerActiveView()&&this.active?.$view==e){var i=function(t){var e=Promise.resolve();if(!t||!t.active){return e}if(_options.callUnmountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$unmounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}e=e.then(function(){var e=t.active.$data();if(_options.resetDataWhenReuseContainerActiveView()){_combineObject(e,t.active)}_combineObject(o,t.active);return Promise.resolve()});if(_options.callCreatedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$created();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(_options.callMountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$mounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(t.active.$containers&&t.active.$containers.length){for(var n=0;n<t.active.$containers.length;++n){i(t.active.$containers[n])}}return e.then(function(){t.active.$forceUpdate();return Promise.resolve(t.active)})};return Promise.resolve(i(this))}var r;var l=20;var a=function(){return new Promise(function(e,t){var n=r.mount(s.selector);if(n){s.active=n;return Promise.resolve(n)}if(--l>0){return sleep(50).then(function(){return a()})}else{return Promise.reject("Mount component to "+s.selector+" failed")}})};return _buildApp(e,o,t,n).then(function(e){r=e;return a()})},close:function(n=true){function o(e){if(e.active&&e.active.$){if(n){for(var t=0;t<e.active.$containers.length;++t){o(e.active.$containers[t])}}e.active.$.appContext.app.unmount();e.active=null}}o(this)},active:null};n.push(e)}return e}}function Root(s,i,t){s=s||{};if(typeof s.setup!="function"){s.setup=function(){}}var n=s.setup;s.setup=function(){n();var e=Vue.getCurrentInstance();e.$parent=parent||exports.root();e.$root=exports.root()||parent;e.$onUpdating=s.onUpdating;e.$app=exports;if(t){e.$layout=t;e.$view=t}_attachContainer(e)};return _resolveModules(s.modules,t).then(function(){return _loadComponents(s.components||[],t).then(function(e){var t=Vue.createApp(s||{});for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}_root=t.mount(i);_root.$.proxy=_root})})}function mount(){function o(e){if(!e){return null}if(!e.getAttribute){return null}var t=e.getAttribute("target")||"_self";var n=e.getAttribute("static-link")||e.getAttribute("v-static")||e.getAttribute("pomelo-static");if(n==null&&t.toLowerCase()=="_self"&&e.tagName.toLowerCase()=="a"){return e.getAttribute("href")}return o(e.parentNode)}window.addEventListener("click",function(e){if(!e)return;var t=o(e.target);if(t){exports.redirect(t);e.preventDefault();return}});window.onpopstate=function(){UpdateLayout()};return UpdateLayout()}function UseConfig(e){_combineObject(e,_options)}function MapRoute(e,t){if(!exports._rules){exports._rules={}}exports._rules[e]=t}function ForceUpdate(e=exports.root()){if(!e)return;e.$forceUpdate();if(e.$containers){for(var t=0;t<e.$containers.length;++t){if(e.$containers[t].active){ForceUpdate(e.$containers[t].active)}}}}function MatchRoute(){function e(e,t,n){return e.replace(new RegExp(t,"g"),n)}function t(e){var t=[];if(!e){return t}var n=-1;var o=0;for(var s=0;s<e.length;++s){if(e[s]=="{"&&!o){n=s;o=0}else if(e[s]=="("){++o}else if(e[s]==")"){--o}else if(e[s]=="}"&&!o){t.push(e.substring(n,s+1))}}return t}function n(e){if(e[0]==="{"){return e.substr(1,e.length-2)}else{return e}}function o(e){return e.replace(/[-[\]{}()*+!<=:?.\/\\^$|#\s,]/g,"\\$&")}function s(e){var t=0;if(e){for(var n=0;n<e.length;++n){if(e[n]=="("){++t}if(e[n]=="?"&&n>0&&e[n-1]=="("){--t}}}return t}var i=Object.getOwnPropertyNames(exports._rules);for(var r=0;r<i.length;++r){var l=i[r];var a=l[0]=="#";var c=exports._rules[i[r]];var u=t(l);var f=[];var p=[];for(var d=0;d<u.length;++d){var h=u[d];var m=n(h);regex="([^/]+)";if(m[0]=="*"){regex="(.*)";m=m.substr(1)}if(m.indexOf("=")>0){var g=m.substr(m.indexOf("=")+1);regex=`(${o(g)})`;f.push(m.substr(0,m.indexOf("=")))}else if(h.indexOf(":")>0){regex=h.substr(h.indexOf(":")+1);regex=regex.substr(0,regex.length-1);f.push(m.substr(0,m.indexOf(":")))}else{f.push(m)}p.push(s(regex));l=_replace(l,h,regex)}var v=new RegExp("^"+l+"$");var u=v.exec(a?window.location.hash||"#":window.location.pathname);if(u){var y={view:c,params:[]};var b=u;u=[];var _=0;for(var d=1;d<b.length;++d){u.push(b[d]);for(var m=0;m<p[_]-1;++m){++d}++_}var x=u.map(function(e){return decodeURIComponent(e)});for(var d=0;d<f.length;++d){y.params.push({key:f[d],value:x[d]})}return y}}return null}function _fillObjectField(e,t,n){if(!n){return}var o=e.split(".");for(var s=0;s<o.length-1;++s){if(!n[o[s]]){n[o[s]]={}}n=n[o[s]]}n[o[o.length-1]]=t}function _applyLayoutHtml(r){return _httpGet(r+(_options.mobile()?".m.html":".html")).then(function(e){var t=e.indexOf("<html");var n=e.indexOf(">",t);e=e.substr(n+1);var o=e.lastIndexOf("</html>");e=e.substr(0,o);e=_patchTemplate(r,e);document.querySelector("html").innerHTML=e;var s=(new Date).getTime();var i="pomelo-"+s;document.querySelector("body").innerHTML='<div id="'+i+'">'+document.querySelector("body").innerHTML+"</div>";return Promise.resolve(i)})}function generateParametersFromRoute(e={}){var t=null;t=MatchRoute();if(t==null){try{_options.onNotFound(window.location.pathname+window.location.search);return}catch(e){throw"No available route found."}}for(var n=0;n<t.params.length;++n){var o=t.params[n];_fillObjectField(o.key,o.value,e)}return e}function parseMacroPath(e,t){if(!t){t=""}if(t.indexOf("@")<0){return t}var n="/";var o=e.lastIndexOf("/");if(o>=0){n=e.substr(0,o)}t=t.replaceAll("@(view)",e).replaceAll("@(js)",e+".js").replaceAll("@(html)",e+".html").replaceAll("@(mobileHtml)",e+".m.html").replaceAll("@(css)",e+".css").replaceAll("@(mobileCss)",e+".m.css").replaceAll("@(less)",e+".less").replaceAll("@(mobileLess)",e+".m.less").replaceAll("@(mobileSass)",e+".m.sass").replaceAll("@(mobileScss)",e+".m.scss").replaceAll("@(containingFolder)",n);if(t.length&&t[0]!="/"&&t.indexOf("http")==-1){t=getContainingFolder(e)+t}return t}function appendCssReference(e,t){if(typeof t=="boolean"){var n=e+".css";if(_options.version){n+="?v="+_options.version}internalAppendCssReference(e,n)}else if(typeof t=="string"){var n=parseMacroPath(e,t);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}else if(t instanceof Array){for(var o=0;o<t.length;++o){if(typeof t[o]!="string"){continue}var n=parseMacroPath(e,t[o]);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}}else{throw"style type not supported"}}function getContainingFolder(e){if(!e){console.warn("getContainingFolder: absolutePath is invalid")}var t=e.lastIndexOf("/");if(t<0){return"/"}return e.substr(0,t)+"/"}function internalAppendCssReference(e,t){if(document.querySelectorAll('link[data-style="'+e+'"][href="'+t+'"]').length){return}var n=document.createElement("link");n.rel="stylesheet";n.type="text/"+getStyleSheetType(t);n.setAttribute("data-style",e);n.href=t;try{document.querySelector("head").appendChild(n)}catch(e){}}function getStyleSheetType(e){var t=e.lastIndexOf("?");if(t>=0){e=e.substr(0,t)}var n=e.lastIndexOf(".");if(n<0){return null}return e.substr(n+1).toLowerCase()}function removeCssReference(e){if(!_options.removeStyleWhenUnmount){return}var t=document.querySelectorAll('link[data-style="'+e+'"]');if(t&&t.length){for(var n=0;n<t.length;++n){t[n].remove()}}}function hookMountedAndUnmounted(e,t){if(!e){return}if(!e.mounted){e.mounted=function(){}}if(!e.unmounted){e.unmounted=function(){}}if(!e.created){e.created=function(){}}if(e.style){var n=e.created;e.created=function(){if(!_css[t]){_css[t]=0}if(_css[t]==0){appendCssReference(t,e.style)}++_css[t];return n.call(this)};var o=e.mounted;e.mounted=function(){return o.call(this)};var s=e.unmounted;e.unmounted=function(){if(!_css[t]){return}--_css[t];if(_css[t]<=0){removeCssReference(t);delete _css[t]}return s.call(this)}}}function pomeUiPassTitle(e){if(e){this.pomeUiSubTitles=e}var t=JSON.parse(JSON.stringify(this.pomeUiSubTitles));if(this.title){t.push(this.title)}if(this.$parent&&this.$parent!=window&&this.$parent.pomeUiPassTitle){this.$parent.pomeUiPassTitle(t)}else{document.querySelector("title").innerHTML=_options.generateTitle(t)}}function UpdateLayout(){var mobile=_options.mobile();var params={};var route=null;var layout=_options.layout;route=MatchRoute();params=generateParametersFromRoute();var _def;var viewName=route.view+(_options.mobile()?".m":"");return _httpGet(route.view+".js").then(function(def){_def=def;var modules=null;var _opt;var Page=function(e){_opt=e;layout=e.layout||layout;modules=e.modules};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}def=eval(def+"\r\n//# sourceURL="+route.view+".js");hookMountedAndUnmounted(_opt,viewName);return _resolveModules(modules,viewName)}).then(function(){if(exports.root()&&exports.root().$layout){if(exports.root().$layout===layout){_parseQueryString(params);var fields=Object.getOwnPropertyNames(params);for(var i=0;i<fields.length;++i){var val=params[fields[i]];exports.root()[fields[i]]=val}exports.root().$containers[0].open(route.view,params);var promise=Promise.resolve();if(typeof exports.root().$.$onUpdating=="function"){var result=exports.root().$.$onUpdating.call(exports.root());if(result instanceof Promise){promise=result}}return promise}exports.root().$.appContext.app.unmount()}if(layout){var layoutName=layout+(mobile?".m":"");var _layoutHtml;return _httpGet(layoutName+".html").then(function(e){_layoutHtml=e;return _httpGet(layout+".js")}).then(function(js){var _opt=null;var Layout=function(e){_opt=e};var LayoutNext=function(e){if(!e.data){e.data=function(){return{}}}var o=e.setup||function(e,t){};e.setup=function(e,t){o(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_opt.template=_layoutHtml;_patchComponent(layout,_opt);_layoutHtml=_opt.template;var t=_layoutHtml.indexOf("<html");var n=_layoutHtml.indexOf(">",t);_layoutHtml=_layoutHtml.substr(n+1);var s=_layoutHtml.lastIndexOf("</html>");_layoutHtml=_layoutHtml.substr(0,s);document.querySelector("html").innerHTML=_layoutHtml;var i=e.data;e.data=function(){var e=i.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};var r=(new Date).getTime();var l="pomelo-"+r;var a="container-"+r;var c=document.querySelector("body").innerHTML.replace("<render-body></render-body>",'<div id="'+a+'"></div>');document.querySelector("body").innerHTML='<div id="'+l+'">'+c+"</div>";e.template=null;if(!e.mounted){e.mounted=function(){}}mountedFunc=e.mounted;e.mounted=function(){var e=this.$container("#"+a);e.open(route.view,params);return mountedFunc.call(this)};Root(e,"#"+l,layout)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(layout);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+layout+".js");hookMountedAndUnmounted(_opt,layoutName);return _resolveModules(_opt.modules,layout).then(function(){LayoutNext(_opt);return Promise.resolve()})})}else{var viewName=route.view+(_options.mobile()?".m":"");return _applyLayoutHtml(route.view).then(function(appId){var _opt=null;var components=null;var Page=function(e){_opt=e};var PageNext=function(e){modules=e.modules;components=e.components||[];Root(e,"#"+appId,route.view)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}eval(_def+"\r\n//# sourceURL="+route.view+".js");if(!_opt){_opt={}}if(!_opt.data){_opt.data=function(){return{}}}var dataFunc=_opt.data;_opt.data=function(){var e=dataFunc.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};hookMountedAndUnmounted(_opt,viewName);_patchComponent(viewName,_opt);return _resolveModules(_opt.modules,viewName).then(function(){PageNext(_opt);return Promise.resolve()})})}}).then(function(){ForceUpdate()}).catch(function(e){console.error(e)})}function Redirect(e){var t=null;var n=document.querySelector("title");if(n){t=n.innerText}window.history.pushState(null,t,e);UpdateLayout()}function LoadScript(url){if(_httpCached(url)){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(_cache[url]+"\r\n//# sourceURL="+url)}return Promise.resolve()}return _httpGet(url).then(function(js){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url)}_cache[url]=js;return Promise.resolve()}).catch(e=>{console.error("Load module "+url+" failed.");console.error(e)})}function resolveRelativePathPlain(e){if(e.indexOf("./")==-1&&e.indexOf("../")==-1){return e}var t=e.lastIndexOf("../");if(t==0){return e}e=e.replaceAll("/./","/");if(e.indexOf("./")==0){e=e.substr(2)}if(t){var n=e.substr(0,t);var o=e.substr(t);return resolveRelativePath(o,n)}}function resolveRelativePath(e,t){if(e.length&&e[0]=="/"||e.indexOf("http")==0){return resolveRelativePathPlain(e)}if(e.length&&e[0]!="."){return resolveRelativePathPlain(t+e)}if(e.indexOf("./")==0){return resolveRelativePath(e.substr(2),t)}if(e.indexOf("../")==0){e=e.substr(3);t=getContainingFolder(t.substr(0,t.length-1));return resolveRelativePath(e,t)}}function _loadComponents(components,viewName){var ret=[];if(!components.length){return Promise.resolve(ret)}var workingDirectory=getContainingFolder(viewName||"/");var viewName;var subComponentRefs=[];return Promise.all(components.map(function(c){c=resolveRelativePath(parseMacroPath(viewName,c),workingDirectory);viewName=c;var _html;var _name;var _opt;return _httpGet(c+".html").then(function(e){_html=e;return _httpGet(c+".js")}).then(function(comJs){var Component=function(e,t){_opt=t;_name=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(c);return PomeloModule.require(e,t,n)}}eval(comJs+"\r\n//# sourceURL="+c+".js");subComponentRefs=_opt.components;hookMountedAndUnmounted(_opt,c);if(!_opt.template){_opt.template=_html}if(!_opt.setup){_opt.setup=function(){}}var originSetup=_opt.setup;_opt.setup=function(e,t){originSetup(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_patchComponent(c,_opt);var originData=_opt.data||function(){return{}};_opt.data=function(){return originData.call(this,exports)};return _resolveModules(_opt.modules,c)}).then(function(){ret.push({name:_name,options:_opt});return Promise.resolve()})})).then(function(){return _loadComponents(subComponentRefs||[],viewName)}).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(ret.filter(e=>e.name==n.name).length){continue}ret.push(n)}return Promise.resolve(ret)})}exports._addins=[];function _patchComponent(n,i){prepared=true;if(!i.data){i.data=function(){return{}}}if(!i.style){i.style=[]}if(!i.style instanceof Array){if(i.style instanceof String){i.style=[i.style]}else{i.style=["@(css)"]}}if(!i.components){i.components=[]}if(!i.created){i.created=function(){}}if(!i.mounted){i.mounted=function(){}}if(!i.unmounted){i.unmounted=function(){}}if(!i.destroyed){i.destroyed=function(){}}if(!i.watch){i.watch={}}if(!i.computed){i.computed={}}let o=i.data;i.data=function(e){var t=o.call(this,e);var n={pomeUiSubTitles:[]};_combineObject(n,t);return t};if(!i.methods){i.methods={}}i.methods.pomeUiPassTitle=pomeUiPassTitle;if(!i.watch){i.watch={}}if(!i.watch.title){i.watch.title=function(){}}let s=i.watch.title;i.watch.title=async function(){var e=s.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};for(let t=0;t<exports._addins.length;++t){let e=exports._addins[t].view;let s=exports._addins[t].opt;if(e!="*"&&n!=e){continue}if(s.data){let o=i.data;i.data=function(e){var t=o.call(this,e);var n={};try{n=s.data.call(this,e)}catch(e){console.error(e)}_combineObject(n,t);return t}}if(s.style){if(s.style instanceof Boolean){s.style=["@(css)"]}if(s.style instanceof String){s.style=[s.style]}s.style.forEach(function(t){if(!i.style.some(e=>e==t)){i.push(t)}})}if(s.components){s.components.forEach(function(t){if(!i.components.some(e=>e==t)){i.components.push(t)}})}if(s.layout){i.layout=s.layout}if(s.props){if(!i.props){i.props=[]}s.props.forEach(function(t){if(!i.props.some(e=>e==t)){i.props.push(t)}})}if(s.watch){var r=Object.getOwnPropertyNames(s.watch);r.forEach(function(n){var o=i.watch[n];i.watch[n]=function(e,t){o.invoke(this,e,t);try{s.watch[n].invoke(this,e,t)}catch(e){console.error(e)}}})}if(s.computed){var r=Object.getOwnPropertyNames(s.computed);r.forEach(function(e){i.computed[e]=s.computed[e]})}if(s.methods){var l=i.setup||function(e,t){};i.setup=function(e,t){l(e,t);var n={};var o=Object.getOwnPropertyNames(i.methods);o.forEach(function(e){n[e]=i.methods[e]});var s=Vue.getCurrentInstance();s.$baseMethods=n};var a=Object.getOwnPropertyNames(s.methods);a.forEach(function(e){i.methods[e]=s.methods[e]})}if(s.created){let n=i.created;i.created=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=s.created.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.mounted){let n=i.mounted;i.mounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=s.mounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.unmounted){let n=i.unmounted;i.unmounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=s.unmounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.destroyed){let n=i.destroyed;i.destroyed=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=s.destroyed.call(t);if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.template){if(s.template instanceof Function){if(i.template){if(i.template.indexOf("<html")>=0){var c=(new DOMParser).parseFromString(i.template,"text/html");s.template(c);i.template=(new XMLSerializer).serializeToString(c)}else{i.template=`<pome-ui-template>${i.template}</pome-ui-template>`;var c=(new DOMParser).parseFromString(i.template,"text/html");s.template(c);i.template=(new XMLSerializer).serializeToString(c);i.template=i.template.substr(i.template.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);i.template=i.template.substr(0,i.template.indexOf("</pome-ui-template>"))}}}else{i.template=s.template}}}let u=i.created;i.created=async function(){var e=u.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};let f=i.unmounted;i.unmounted=async function(){var e=f.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle([]);return e})}}function _patchTemplate(o,s){for(let n=0;n<exports._addins.length;++n){let e=exports._addins[n].view;let t=exports._addins[n].opt;if(e!="*"&&o!=e){continue}if(t.template){if(t.template instanceof Function){if(s.indexOf("<html")>=0){var i=(new DOMParser).parseFromString(s,"text/html");t.template(i);s=(new XMLSerializer).serializeToString(i)}else{s=`<pome-ui-template>${s}</pome-ui-template>`;var i=(new DOMParser).parseFromString(s,"text/html");t.template(i);s=(new XMLSerializer).serializeToString(i);s=s.substr(s.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);s=s.substr(0,s.indexOf("</pome-ui-template>"))}}else{s=t.template}}}return s}function UseAddin(addinUrl){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};var js=_options.httpGetSync(addinUrl);eval(js)}function UseInlineAddin(script){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};eval(script)}exports.root=root;exports.useConfig=UseConfig;exports.mapRoute=MapRoute;exports.matchRoute=MatchRoute;exports.updateLayout=UpdateLayout;exports.redirect=Redirect;exports.loadScript=LoadScript;exports.forceUpdate=ForceUpdate;exports.mount=mount;exports.useRoutes=useRoutes;exports.useAddin=UseAddin;exports.useInlineAddin=UseInlineAddin;return exports}exports.build=build;
29
+ ${o}`:n)}const a=new Function(r)();a._rc=true;return n[t]=a}Ka(Xm);e.BaseTransition=di;e.BaseTransitionPropsValidators=fi;e.Comment=te;e.DeprecationTypes=yc;e.EffectScope=Xe;e.ErrorCodes=oo;e.ErrorTypeStrings=pc;e.Fragment=ee;e.KeepAlive=Ti;e.ReactiveEffect=nt;e.Static=Zl;e.Suspense=Ms;e.Teleport=Xl;e.Text=Ql;e.TrackOpTypes=Wn;e.Transition=Ac;e.TransitionGroup=Iu;e.TriggerOpTypes=Kn;e.VueElement=ku;e.assertNumber=no;e.callWithAsyncErrorHandling=ro;e.callWithErrorHandling=io;e.camelize=T;e.capitalize=j;e.cloneVNode=_a;e.compatUtils=vc;e.compile=Xm;e.computed=ic;e.createApp=pf;e.createBlock=aa;e.createCommentVNode=Ca;e.createElementBlock=la;e.createElementVNode=va;e.createHydrationRenderer=Rl;e.createPropsRestProxy=_r;e.createRenderer=Il;e.createSSRApp=df;e.createSlots=Ki;e.createStaticVNode=Sa;e.createTextVNode=wa;e.createVNode=ne;e.customRef=Vn;e.defineAsyncComponent=wi;e.defineComponent=_i;e.defineCustomElement=wu;e.defineEmits=ar;e.defineExpose=cr;e.defineModel=pr;e.defineOptions=ur;e.defineProps=lr;e.defineSSRCustomElement=Su;e.defineSlots=fr;e.devtools=dc;e.effect=lt;e.effectScope=Ye;e.getCurrentInstance=Ia;e.getCurrentScope=Ze;e.getTransitionRawChildren=bi;e.guardReactiveProps=ba;e.h=lc;e.handleError=lo;e.hasInjectionContext=qr;e.hydrate=ff;e.initCustomFormatter=ac;e.initDirectivesForSSR=yf;e.inject=Hr;e.isMemoSame=uc;e.isProxy=wn;e.isReactive=bn;e.isReadonly=_n;e.isRef=C;e.isRuntimeOnly=Ga;e.isShallow=xn;e.isVNode=ca;e.markRaw=Sn;e.mergeDefaults=yr;e.mergeModels=br;e.mergeProps=$a;e.nextTick=bo;e.normalizeClass=ke;e.normalizeProps=Te;e.normalizeStyle=be;e.onActivated=$i;e.onBeforeMount=Fi;e.onBeforeUnmount=Vi;e.onBeforeUpdate=ji;e.onDeactivated=Ei;e.onErrorCaptured=zi;e.onMounted=Li;e.onRenderTracked=qi;e.onRenderTriggered=Hi;e.onScopeDispose=et;e.onServerPrefetch=Bi;e.onUnmounted=Di;e.onUpdated=Ui;e.openBlock=na;e.popScopeId=us;e.provide=Br;e.proxyRefs=jn;e.pushScopeId=cs;e.queuePostFlushCb=Co;e.reactive=hn;e.readonly=gn;e.ref=Nn;e.registerRuntimeCompiler=Ka;e.render=uf;e.renderList=Wi;e.renderSlot=Gi;e.resolveComponent=Ts;e.resolveDirective=Es;e.resolveDynamicComponent=$s;e.resolveFilter=gc;e.resolveTransitionHooks=mi;e.setBlockTracking=ia;e.setDevtoolsHook=hc;e.setTransitionHooks=yi;e.shallowReactive=mn;e.shallowReadonly=vn;e.shallowRef=On;e.ssrContextKey=Ks;e.ssrUtils=mc;e.stop=at;e.toDisplayString=ze;e.toHandlerKey=U;e.toHandlers=Xi;e.toRaw=b;e.toRef=qn;e.toRefs=Dn;e.toValue=Fn;e.transformVNodeArgs=pa;e.triggerRef=Rn;e.unref=Mn;e.useAttrs=mr;e.useCssModule=Tu;e.useCssVars=Jc;e.useModel=rc;e.useSSRContext=Gs;e.useSlots=hr;e.useTransitionState=ci;e.vModelCheckbox=Hu;e.vModelDynamic=Xu;e.vModelRadio=zu;e.vModelSelect=Wu;e.vModelText=Bu;e.vShow=Wc;e.version=fc;e.warn=p;e.watch=Zs;e.watchEffect=Js;e.watchPostEffect=Xs;e.watchSyncEffect=Ys;e.withAsyncContext=xr;e.withCtx=ps;e.withDefaults=dr;e.withDirectives=ii;e.withKeys=of;e.withMemo=cc;e.withModifiers=tf;e.withScopeId=fs;return e}({});window.Vue=Vue;function build(options,exports){if(typeof exports=="undefined"){exports={}}var _options={resolveModulesParallelly:true,removeStyleWhenUnmount:false,mobile:function(){return false},httpGet:function(e){return fetch(e)},httpGetSync:function(e){if(useRelativePath){if(e.length&&e[0]=="/"){e=e.substr(1)}}var t=new XMLHttpRequest;t.open("get",e,false);t.send();return t.responseText},onNotFound:function(e,t){if(e.indexOf("/404")==0){throw"No not-found template found"}if(t){return Redirect("/404?"+_serializeOptionsToUrl(t))}else{return Redirect("/404")}},reuseContainerActiveView(e){return true},callCreatedWhenReuseContainerActiveView(e){return true},callMountedWhenReuseContainerActiveView(e){return true},callUnmountedWhenReuseContainerActiveView(e){return true},resetDataWhenReuseContainerActiveView(e){return true},generateTitle(e){return e.join(" - ")}};_combineObject(options,_options);var _cache={};var _css={};function _httpCached(e){return!!_cache[e]}function _httpGet(n){if(_cache[n]){return Promise.resolve(_cache[n])}var e=n;if(_options.version){if(n.indexOf("?")>0){e+="&"}else{e+="?"}e+="v="+_options.version}return _options.httpGet(e).then(function(e){if(e.status>300||e.status<200){return Promise.reject(e)}var t=e.text();_cache[n]=t;return Promise.resolve(t)}).catch(function(e){Promise.reject(e)})}function _httpExist(e){return _httpGet(e).then(function(){return Promise.resolve(true)}).catch(function(){return Promise.resolve(false)})}function _serializeOptionsToUrl(e){var t=Object.getOwnPropertyNames(e);var n="";for(var o=0;o<t.length;++o){n+=encodeURIComponent(t[o])+"="+encodeURIComponent(e[t[o]])+"&"}if(n[n.length-1]==="&"){n=n.substr(0,n.length-1)}return n}var _root=null;function root(){return _root}exports._rules=[];function useRoutes(e){var t=_options.httpGetSync(e);t=JSON.parse(t);if(!exports._rules){exports._rules={}}_combineObject(t,exports._rules)}function _combineObject(e,t){if(!e){return}var n=Object.getOwnPropertyNames(e);for(var o=0;o<n.length;++o){t[n[o]]=e[n[o]]}}function _getQueryString(){var e=window.location.search;if(window.location.hash.indexOf("?")>0){var t=window.location.hash.substr(window.location.hash.indexOf("?"));if(e){e+="&"+t.substr(1)}else{e=t}}return e}function _parseQueryString(e){var t=_getQueryString();if(!t){return}var n=t;if(n[0]=="?"){n=n.substr(1)}var o=n.split("&");for(var s=0;s<o.length;++s){var i=o[s].split("=");var r=decodeURIComponent(i[0]);var l=decodeURIComponent(i[1]);_fillObjectField(r,l,e)}}function _resolveModules(e,n){if(!e){return Promise.resolve()}if(_options.resolveModulesParallelly){var t=[];for(var o=0;o<e.length;++o){t.push(LoadScript(parseMacroPath(n,e[o])))}return Promise.all(t)}else{var s=Promise.resolve(null);var i=function(t){return function(e){return LoadScript(parseMacroPath(n,t))}};for(var o=0;o<e.length;++o){var r=e[o];s=s.then(i(r))}return s}}function _buildApp(url,params,mobile,parent){var componentObject={};return _httpGet(url+".js").then(function(js){var Page=function(e){componentObject=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url+".js");hookMountedAndUnmounted(componentObject,url+(mobile?".m":""));return _resolveModules(componentObject.modules||[],url).then(function(){return Promise.resolve(componentObject)})}).then(function(t){var e=null;if(mobile){e=_httpExist(url+".m.html").then(function(e){return _httpGet(url+(e?".m.html":".html"))})}else{e=_httpGet(url+".html")}return e.then(function(e){if(!t.template){t.template=e}_patchComponent(url,t);return Promise.resolve(t)})}).then(function(i){var o=i.setup;i.setup=function(e,t){if(typeof o=="function"){o(e,t)}var n=Vue.getCurrentInstance();n.$parent=parent||exports.root();n.$root=exports.root()||parent;n.$view=url;n.$app=exports;n.$data=i.data||function(){return{}};n.$created=i.created||function(){};n.$mounted=i.mounted||function(){};n.$unmounted=i.unmounted||function(){};_attachContainer(n)};var t=i.data||function(){return{}};i.data=function(){var e=t.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};return _resolveModules(i.modules,url).then(function(){var e=i.components||[];return _loadComponents(e,url).then(function(e){var t=Vue.createApp(i);for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}var s=t.mount||function(){};t.mount=function(e){t.proxy=s(e);return t.proxy};return Promise.resolve(t)})})})}function _replace(e,t,n){var o=e.indexOf(t);if(o<0){return e}var s=e.substr(0,o)+n+e.substr(o+t.length);return s}function sleep(t){return new Promise(function(e){setTimeout(function(){e()},t)})}function yield(){return sleep(0)}function _attachContainer(c){if(!c){console.warn("Invalid view model")}if(!c.$containers){c.$containers=[]}if(!c.$containers){c.$containers=[]}var n=c.$containers;c.$container=function(t){var e=n.filter(e=>e.selector==t)[0];if(!e){e={element:document.querySelector(t),selector:t,open:function(e,o){var t=_options.mobile();var n=null;if(c.proxy){n=c.proxy}if(c.$&&c.$.proxy){n=c.$.proxy}if(!this.active||this.active.$view!=e||!_options.reuseContainerActiveView()){this.close()}var s=this;o=generateParametersFromRoute(o);_parseQueryString(o);if(_options.reuseContainerActiveView()&&this.active?.$view==e){var i=function(t){var e=Promise.resolve();if(!t||!t.active){return e}if(_options.callUnmountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$unmounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}e=e.then(function(){var e=t.active.$data();if(_options.resetDataWhenReuseContainerActiveView()){_combineObject(e,t.active)}_combineObject(o,t.active);return Promise.resolve()});if(_options.callCreatedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$created();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(_options.callMountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$mounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(t.active.$containers&&t.active.$containers.length){for(var n=0;n<t.active.$containers.length;++n){i(t.active.$containers[n])}}return e.then(function(){t.active.$forceUpdate();return Promise.resolve(t.active)})};return Promise.resolve(i(this))}var r;var l=20;var a=function(){return new Promise(function(e,t){var n=r.mount(s.selector);if(n){s.active=n;return Promise.resolve(n)}if(--l>0){return sleep(50).then(function(){return a()})}else{return Promise.reject("Mount component to "+s.selector+" failed")}})};return _buildApp(e,o,t,n).then(function(e){r=e;return a()})},close:function(n=true){function o(e){if(e.active&&e.active.$){if(n){for(var t=0;t<e.active.$containers.length;++t){o(e.active.$containers[t])}}e.active.$.appContext.app.unmount();e.active=null}}o(this)},active:null};n.push(e)}return e}}function Root(s,i,t){s=s||{};if(typeof s.setup!="function"){s.setup=function(){}}var n=s.setup;s.setup=function(){n();var e=Vue.getCurrentInstance();e.$parent=parent||exports.root();e.$root=exports.root()||parent;e.$onUpdating=s.onUpdating;e.$app=exports;if(t){e.$layout=t;e.$view=t}_attachContainer(e)};return _resolveModules(s.modules,t).then(function(){return _loadComponents(s.components||[],t).then(function(e){var t=Vue.createApp(s||{});for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}_root=t.mount(i);_root.$.proxy=_root})})}function mount(){function o(e){if(!e){return null}if(!e.getAttribute){return null}var t=e.getAttribute("target")||"_self";var n=e.getAttribute("static-link")||e.getAttribute("v-static")||e.getAttribute("pomelo-static");if(n==null&&t.toLowerCase()=="_self"&&e.tagName.toLowerCase()=="a"){return e.getAttribute("href")}return o(e.parentNode)}window.addEventListener("click",function(e){if(!e)return;var t=o(e.target);if(t){if(e.ctrlKey||e.metaKey){return}exports.redirect(t);e.preventDefault();return}});window.onpopstate=function(){UpdateLayout()};return UpdateLayout()}function UseConfig(e){_combineObject(e,_options)}function MapRoute(e,t){if(!exports._rules){exports._rules={}}exports._rules[e]=t}function ForceUpdate(e=exports.root()){if(!e)return;e.$forceUpdate();if(e.$containers){for(var t=0;t<e.$containers.length;++t){if(e.$containers[t].active){ForceUpdate(e.$containers[t].active)}}}}function MatchRoute(){function e(e,t,n){return e.replace(new RegExp(t,"g"),n)}function t(e){var t=[];if(!e){return t}var n=-1;var o=0;for(var s=0;s<e.length;++s){if(e[s]=="{"&&!o){n=s;o=0}else if(e[s]=="("){++o}else if(e[s]==")"){--o}else if(e[s]=="}"&&!o){t.push(e.substring(n,s+1))}}return t}function n(e){if(e[0]==="{"){return e.substr(1,e.length-2)}else{return e}}function o(e){return e.replace(/[-[\]{}()*+!<=:?.\/\\^$|#\s,]/g,"\\$&")}function s(e){var t=0;if(e){for(var n=0;n<e.length;++n){if(e[n]=="("){++t}if(e[n]=="?"&&n>0&&e[n-1]=="("){--t}}}return t}var i=Object.getOwnPropertyNames(exports._rules);for(var r=0;r<i.length;++r){var l=i[r];var a=l[0]=="#";var c=exports._rules[i[r]];var u=t(l);var f=[];var p=[];for(var d=0;d<u.length;++d){var h=u[d];var m=n(h);regex="([^/]+)";if(m[0]=="*"){regex="(.*)";m=m.substr(1)}if(m.indexOf("=")>0){var g=m.substr(m.indexOf("=")+1);regex=`(${o(g)})`;f.push(m.substr(0,m.indexOf("=")))}else if(h.indexOf(":")>0){regex=h.substr(h.indexOf(":")+1);regex=regex.substr(0,regex.length-1);f.push(m.substr(0,m.indexOf(":")))}else{f.push(m)}p.push(s(regex));l=_replace(l,h,regex)}var v=new RegExp("^"+l+"$");var u=v.exec(a?window.location.hash||"#":window.location.pathname);if(u){var y={view:c,params:[]};var b=u;u=[];var _=0;for(var d=1;d<b.length;++d){u.push(b[d]);for(var m=0;m<p[_]-1;++m){++d}++_}var x=u.map(function(e){return decodeURIComponent(e)});for(var d=0;d<f.length;++d){y.params.push({key:f[d],value:x[d]})}return y}}return null}function _fillObjectField(e,t,n){if(!n){return}var o=e.split(".");for(var s=0;s<o.length-1;++s){if(!n[o[s]]){n[o[s]]={}}n=n[o[s]]}n[o[o.length-1]]=t}function _applyLayoutHtml(r){return _httpGet(r+(_options.mobile()?".m.html":".html")).then(function(e){var t=e.indexOf("<html");var n=e.indexOf(">",t);e=e.substr(n+1);var o=e.lastIndexOf("</html>");e=e.substr(0,o);e=_patchTemplate(r,e);document.querySelector("html").innerHTML=e;var s=(new Date).getTime();var i="pomelo-"+s;document.querySelector("body").innerHTML='<div id="'+i+'">'+document.querySelector("body").innerHTML+"</div>";return Promise.resolve(i)})}function generateParametersFromRoute(e={}){var t=null;t=MatchRoute();if(t==null){try{_options.onNotFound(window.location.pathname+window.location.search);return}catch(e){throw"No available route found."}}for(var n=0;n<t.params.length;++n){var o=t.params[n];_fillObjectField(o.key,o.value,e)}return e}function parseMacroPath(e,t){if(!t){t=""}if(t.indexOf("@")<0){return t}var n="/";var o=e.lastIndexOf("/");if(o>=0){n=e.substr(0,o)}t=t.replaceAll("@(view)",e).replaceAll("@(js)",e+".js").replaceAll("@(html)",e+".html").replaceAll("@(mobileHtml)",e+".m.html").replaceAll("@(css)",e+".css").replaceAll("@(mobileCss)",e+".m.css").replaceAll("@(less)",e+".less").replaceAll("@(mobileLess)",e+".m.less").replaceAll("@(mobileSass)",e+".m.sass").replaceAll("@(mobileScss)",e+".m.scss").replaceAll("@(containingFolder)",n);if(t.length&&t[0]!="/"&&t.indexOf("http")==-1){t=getContainingFolder(e)+t}return t}function appendCssReference(e,t){if(typeof t=="boolean"){var n=e+".css";if(_options.version){n+="?v="+_options.version}internalAppendCssReference(e,n)}else if(typeof t=="string"){var n=parseMacroPath(e,t);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}else if(t instanceof Array){for(var o=0;o<t.length;++o){if(typeof t[o]!="string"){continue}var n=parseMacroPath(e,t[o]);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}}else{throw"style type not supported"}}function getContainingFolder(e){if(!e){console.warn("getContainingFolder: absolutePath is invalid")}var t=e.lastIndexOf("/");if(t<0){return"/"}return e.substr(0,t)+"/"}function internalAppendCssReference(e,t){if(document.querySelectorAll('link[data-style="'+e+'"][href="'+t+'"]').length){return}var n=document.createElement("link");n.rel="stylesheet";n.type="text/"+getStyleSheetType(t);n.setAttribute("data-style",e);n.href=t;try{document.querySelector("head").appendChild(n)}catch(e){}}function getStyleSheetType(e){var t=e.lastIndexOf("?");if(t>=0){e=e.substr(0,t)}var n=e.lastIndexOf(".");if(n<0){return null}return e.substr(n+1).toLowerCase()}function removeCssReference(e){if(!_options.removeStyleWhenUnmount){return}var t=document.querySelectorAll('link[data-style="'+e+'"]');if(t&&t.length){for(var n=0;n<t.length;++n){t[n].remove()}}}function hookMountedAndUnmounted(e,t){if(!e){return}if(!e.mounted){e.mounted=function(){}}if(!e.unmounted){e.unmounted=function(){}}if(!e.created){e.created=function(){}}if(e.style){var n=e.created;e.created=function(){if(!_css[t]){_css[t]=0}if(_css[t]==0){appendCssReference(t,e.style)}++_css[t];return n.call(this)};var o=e.mounted;e.mounted=function(){return o.call(this)};var s=e.unmounted;e.unmounted=function(){if(!_css[t]){return}--_css[t];if(_css[t]<=0){removeCssReference(t);delete _css[t]}return s.call(this)}}}function pomeUiPassTitle(e){if(e){this.pomeUiSubTitles=e}var t=JSON.parse(JSON.stringify(this.pomeUiSubTitles));if(this.title){t.push(this.title)}if(this.$parent&&this.$parent!=window&&this.$parent.pomeUiPassTitle){this.$parent.pomeUiPassTitle(t)}else{document.querySelector("title").innerHTML=_options.generateTitle(t)}}function UpdateLayout(){var mobile=_options.mobile();var params={};var route=null;var layout=_options.layout;route=MatchRoute();params=generateParametersFromRoute();var _def;var viewName=route.view+(_options.mobile()?".m":"");return _httpGet(route.view+".js").then(function(def){_def=def;var modules=null;var _opt;var Page=function(e){_opt=e;layout=e.layout||layout;modules=e.modules};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}def=eval(def+"\r\n//# sourceURL="+route.view+".js");hookMountedAndUnmounted(_opt,viewName);return _resolveModules(modules,viewName)}).then(function(){if(exports.root()&&exports.root().$layout){if(exports.root().$layout===layout){_parseQueryString(params);var fields=Object.getOwnPropertyNames(params);for(var i=0;i<fields.length;++i){var val=params[fields[i]];exports.root()[fields[i]]=val}exports.root().$containers[0].open(route.view,params);var promise=Promise.resolve();if(typeof exports.root().$.$onUpdating=="function"){var result=exports.root().$.$onUpdating.call(exports.root());if(result instanceof Promise){promise=result}}return promise}exports.root().$.appContext.app.unmount()}if(layout){var layoutName=layout+(mobile?".m":"");var _layoutHtml;return _httpGet(layoutName+".html").then(function(e){_layoutHtml=e;return _httpGet(layout+".js")}).then(function(js){var _opt=null;var Layout=function(e){_opt=e};var LayoutNext=function(e){if(!e.data){e.data=function(){return{}}}var o=e.setup||function(e,t){};e.setup=function(e,t){o(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_opt.template=_layoutHtml;_patchComponent(layout,_opt);_layoutHtml=_opt.template;var t=_layoutHtml.indexOf("<html");var n=_layoutHtml.indexOf(">",t);_layoutHtml=_layoutHtml.substr(n+1);var s=_layoutHtml.lastIndexOf("</html>");_layoutHtml=_layoutHtml.substr(0,s);document.querySelector("html").innerHTML=_layoutHtml;var i=e.data;e.data=function(){var e=i.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};var r=(new Date).getTime();var l="pomelo-"+r;var a="container-"+r;var c=document.querySelector("body").innerHTML.replace("<render-body></render-body>",'<div id="'+a+'"></div>');document.querySelector("body").innerHTML='<div id="'+l+'">'+c+"</div>";e.template=null;if(!e.mounted){e.mounted=function(){}}mountedFunc=e.mounted;e.mounted=function(){var e=this.$container("#"+a);e.open(route.view,params);return mountedFunc.call(this)};Root(e,"#"+l,layout)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(layout);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+layout+".js");hookMountedAndUnmounted(_opt,layoutName);return _resolveModules(_opt.modules,layout).then(function(){LayoutNext(_opt);return Promise.resolve()})})}else{var viewName=route.view+(_options.mobile()?".m":"");return _applyLayoutHtml(route.view).then(function(appId){var _opt=null;var components=null;var Page=function(e){_opt=e};var PageNext=function(e){modules=e.modules;components=e.components||[];Root(e,"#"+appId,route.view)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}eval(_def+"\r\n//# sourceURL="+route.view+".js");if(!_opt){_opt={}}if(!_opt.data){_opt.data=function(){return{}}}var dataFunc=_opt.data;_opt.data=function(){var e=dataFunc.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};hookMountedAndUnmounted(_opt,viewName);_patchComponent(viewName,_opt);return _resolveModules(_opt.modules,viewName).then(function(){PageNext(_opt);return Promise.resolve()})})}}).then(function(){ForceUpdate()}).catch(function(e){console.error(e)})}function Redirect(e){var t=null;var n=document.querySelector("title");if(n){t=n.innerText}window.history.pushState(null,t,e);UpdateLayout()}function LoadScript(url){if(_httpCached(url)){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(_cache[url]+"\r\n//# sourceURL="+url)}return Promise.resolve()}return _httpGet(url).then(function(js){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url)}_cache[url]=js;return Promise.resolve()}).catch(e=>{console.error("Load module "+url+" failed.");console.error(e)})}function resolveRelativePathPlain(e){if(e.indexOf("./")==-1&&e.indexOf("../")==-1){return e}var t=e.lastIndexOf("../");if(t==0){return e}e=e.replaceAll("/./","/");if(e.indexOf("./")==0){e=e.substr(2)}if(t){var n=e.substr(0,t);var o=e.substr(t);return resolveRelativePath(o,n)}}function resolveRelativePath(e,t){if(e.length&&e[0]=="/"||e.indexOf("http")==0){return resolveRelativePathPlain(e)}if(e.length&&e[0]!="."){return resolveRelativePathPlain(t+e)}if(e.indexOf("./")==0){return resolveRelativePath(e.substr(2),t)}if(e.indexOf("../")==0){e=e.substr(3);t=getContainingFolder(t.substr(0,t.length-1));return resolveRelativePath(e,t)}}function _loadComponents(components,viewName){var ret=[];if(!components.length){return Promise.resolve(ret)}var workingDirectory=getContainingFolder(viewName||"/");var viewName;var subComponentRefs=[];return Promise.all(components.map(function(c){c=resolveRelativePath(parseMacroPath(viewName,c),workingDirectory);viewName=c;var _html;var _name;var _opt;return _httpGet(c+".html").then(function(e){_html=e;return _httpGet(c+".js")}).then(function(comJs){var Component=function(e,t){_opt=t;_name=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(c);return PomeloModule.require(e,t,n)}}eval(comJs+"\r\n//# sourceURL="+c+".js");subComponentRefs=_opt.components;hookMountedAndUnmounted(_opt,c);if(!_opt.template){_opt.template=_html}if(!_opt.setup){_opt.setup=function(){}}var originSetup=_opt.setup;_opt.setup=function(e,t){originSetup(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_patchComponent(c,_opt);var originData=_opt.data||function(){return{}};_opt.data=function(){return originData.call(this,exports)};return _resolveModules(_opt.modules,c)}).then(function(){ret.push({name:_name,options:_opt});return Promise.resolve()})})).then(function(){return _loadComponents(subComponentRefs||[],viewName)}).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(ret.filter(e=>e.name==n.name).length){continue}ret.push(n)}return Promise.resolve(ret)})}exports._addins=[];function _patchComponent(n,i){prepared=true;if(!i.data){i.data=function(){return{}}}if(!i.style){i.style=[]}if(!i.style instanceof Array){if(i.style instanceof String){i.style=[i.style]}else{i.style=["@(css)"]}}if(!i.components){i.components=[]}if(!i.created){i.created=function(){}}if(!i.mounted){i.mounted=function(){}}if(!i.unmounted){i.unmounted=function(){}}if(!i.destroyed){i.destroyed=function(){}}if(!i.watch){i.watch={}}if(!i.computed){i.computed={}}let o=i.data;i.data=function(e){var t=o.call(this,e);var n={pomeUiSubTitles:[]};_combineObject(n,t);return t};if(!i.methods){i.methods={}}i.methods.pomeUiPassTitle=pomeUiPassTitle;if(!i.watch){i.watch={}}if(!i.watch.title){i.watch.title=function(){}}let s=i.watch.title;i.watch.title=async function(){var e=s.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};for(let t=0;t<exports._addins.length;++t){let e=exports._addins[t].view;let s=exports._addins[t].opt;if(e!="*"&&n!=e){continue}if(s.data){let o=i.data;i.data=function(e){var t=o.call(this,e);var n={};try{n=s.data.call(this,e)}catch(e){console.error(e)}_combineObject(n,t);return t}}if(s.style){if(s.style instanceof Boolean){s.style=["@(css)"]}if(s.style instanceof String){s.style=[s.style]}s.style.forEach(function(t){if(!i.style.some(e=>e==t)){i.push(t)}})}if(s.components){s.components.forEach(function(t){if(!i.components.some(e=>e==t)){i.components.push(t)}})}if(s.layout){i.layout=s.layout}if(s.props){if(!i.props){i.props=[]}s.props.forEach(function(t){if(!i.props.some(e=>e==t)){i.props.push(t)}})}if(s.watch){var r=Object.getOwnPropertyNames(s.watch);r.forEach(function(n){var o=i.watch[n];i.watch[n]=function(e,t){o.invoke(this,e,t);try{s.watch[n].invoke(this,e,t)}catch(e){console.error(e)}}})}if(s.computed){var r=Object.getOwnPropertyNames(s.computed);r.forEach(function(e){i.computed[e]=s.computed[e]})}if(s.methods){var l=i.setup||function(e,t){};i.setup=function(e,t){l(e,t);var n={};var o=Object.getOwnPropertyNames(i.methods);o.forEach(function(e){n[e]=i.methods[e]});var s=Vue.getCurrentInstance();s.$baseMethods=n};var a=Object.getOwnPropertyNames(s.methods);a.forEach(function(e){i.methods[e]=s.methods[e]})}if(s.created){let n=i.created;i.created=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=s.created.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.mounted){let n=i.mounted;i.mounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=s.mounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.unmounted){let n=i.unmounted;i.unmounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=s.unmounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.destroyed){let n=i.destroyed;i.destroyed=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=s.destroyed.call(t);if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(s.template){if(s.template instanceof Function){if(i.template){if(i.template.indexOf("<html")>=0){var c=(new DOMParser).parseFromString(i.template,"text/html");s.template(c);i.template=(new XMLSerializer).serializeToString(c)}else{i.template=`<pome-ui-template>${i.template}</pome-ui-template>`;var c=(new DOMParser).parseFromString(i.template,"text/html");s.template(c);i.template=(new XMLSerializer).serializeToString(c);i.template=i.template.substr(i.template.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);i.template=i.template.substr(0,i.template.indexOf("</pome-ui-template>"))}}}else{i.template=s.template}}}let u=i.created;i.created=async function(){var e=u.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};let f=i.unmounted;i.unmounted=async function(){var e=f.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle([]);return e})}}function _patchTemplate(o,s){for(let n=0;n<exports._addins.length;++n){let e=exports._addins[n].view;let t=exports._addins[n].opt;if(e!="*"&&o!=e){continue}if(t.template){if(t.template instanceof Function){if(s.indexOf("<html")>=0){var i=(new DOMParser).parseFromString(s,"text/html");t.template(i);s=(new XMLSerializer).serializeToString(i)}else{s=`<pome-ui-template>${s}</pome-ui-template>`;var i=(new DOMParser).parseFromString(s,"text/html");t.template(i);s=(new XMLSerializer).serializeToString(i);s=s.substr(s.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);s=s.substr(0,s.indexOf("</pome-ui-template>"))}}else{s=t.template}}}return s}function UseAddin(addinUrl){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};var js=_options.httpGetSync(addinUrl);eval(js)}function UseInlineAddin(script){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};eval(script)}exports.root=root;exports.useConfig=UseConfig;exports.mapRoute=MapRoute;exports.matchRoute=MatchRoute;exports.updateLayout=UpdateLayout;exports.redirect=Redirect;exports.loadScript=LoadScript;exports.forceUpdate=ForceUpdate;exports.mount=mount;exports.useRoutes=useRoutes;exports.useAddin=UseAddin;exports.useInlineAddin=UseInlineAddin;return exports}exports.build=build;
package/pome-ui.js CHANGED
@@ -542,6 +542,9 @@ function build(options, exports) {
542
542
  if (!e) return;
543
543
  var href = parseHref(e.target);
544
544
  if (href) {
545
+ if (e.ctrlKey || e.metaKey) {
546
+ return;
547
+ }
545
548
  exports.redirect(href);
546
549
  e.preventDefault();
547
550
  return;
package/pome-ui.min.js CHANGED
@@ -1 +1 @@
1
- var Vue=function(e){"use strict";function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const z={},G=[],K=()=>{},o=()=>!1,P=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),b=e=>e.startsWith("onUpdate:"),N=Object.assign,x=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},h=Object.prototype.hasOwnProperty,J=(e,t)=>h.call(e,t),E=Array.isArray,v=e=>"[object Map]"===C(e),g=e=>"[object Set]"===C(e),y=e=>"[object Date]"===C(e),R=e=>"function"==typeof e,T=e=>"string"==typeof e,L=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,oe=e=>(I(e)||R(e))&&R(e.then)&&R(e.catch),S=Object.prototype.toString,C=e=>S.call(e),w=e=>C(e).slice(8,-1),F=e=>"[object Object]"===C(e),U=e=>T(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,re=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),j=t=>{const n=Object.create(null);return e=>n[e]||(n[e]=t(e))},D=/-(\w)/g,Q=j(e=>e.replace(D,(e,t)=>t?t.toUpperCase():"")),B=/\B([A-Z])/g,se=j(e=>e.replace(B,"-$1").toLowerCase()),H=j(e=>e.charAt(0).toUpperCase()+e.slice(1)),q=j(e=>e?`on${H(e)}`:""),W=(e,t)=>!Object.is(e,t),ie=(t,n)=>{for(let e=0;e<t.length;e++)t[e](n)},le=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ae=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ce=e=>{const t=T(e)?Number(e):NaN;return isNaN(t)?e:t};let ue;const pe=()=>ue||(ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),de=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error");function fe(r){if(E(r)){const o={};for(let n=0;n<r.length;n++){const e=r[n],t=T(e)?ge(e):fe(e);if(t)for(const r in t)o[r]=t[r]}return o}if(T(r)||I(r))return r}const he=/;(?![^(]*\))/g,me=/:([^]+)/,ve=/\/\*[^]*?\*\//g;function ge(e){const n={};return e.replace(ve,"").split(he).forEach(t=>{if(t){const e=t.split(me);e.length>1&&(n[e[0].trim()]=e[1].trim())}}),n}function ye(n){let o="";if(T(n))o=n;else if(E(n))for(let t=0;t<n.length;t++){const e=ye(n[t]);e&&(o+=e+" ")}else if(I(n))for(const e in n)n[e]&&(o+=e+" ");return o.trim()}const _e=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,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"),be=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,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"),xe=t("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),Se=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),Ce=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function we(e){return!!e||""===e}function Te(t,n){if(t===n)return!0;let o=y(t),r=y(n);if(o||r)return!(!o||!r)&&t.getTime()===n.getTime();if(o=L(t),r=L(n),o||r)return t===n;if(o=E(t),r=E(n),o||r)return!(!o||!r)&&function(t,n){if(t.length!==n.length)return!1;let o=!0;for(let e=0;o&&e<t.length;e++)o=Te(t[e],n[e]);return o}(t,n);if(o=I(t),r=I(n),o||r){if(!o||!r)return!1;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const o in t){const r=t.hasOwnProperty(o),e=n.hasOwnProperty(o);if(r&&!e||!r&&e||!Te(t[o],n[o]))return!1}}return String(t)===String(n)}function Ae(e,t){return e.findIndex(e=>Te(e,t))}const ke=(e,t)=>t&&t.__v_isRef?ke(e,t.value):v(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[Ne(t,o)+" =>"]=n,e),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ne(e))}:L(t)?Ne(t):!I(t)||E(t)||F(t)?t:String(t),Ne=(e,t="")=>{var n;return L(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let Ee,Pe;class Re{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ee,!e&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=Ee;try{return Ee=this,t()}finally{Ee=e}}}on(){Ee=this}off(){Ee=this.parent}stop(n){if(this._active){let e,t;for(e=0,t=this.effects.length;e<t;e++)this.effects[e].stop();for(e=0,t=this.cleanups.length;e<t;e++)this.cleanups[e]();if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!n){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this._active=!1}}}function Ie(e,t=Ee){t&&t.active&&t.effects.push(e)}function Oe(){return Ee}class $e{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Ie(this,o)}get dirty(){if(1===this._dirtyLevel){Be();for(let t=0;t<this._depsLength;t++){const e=this.deps[t];if(e.computed&&(Me(e.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),He()}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ve,t=Pe;try{return Ve=!0,Pe=this,this._runnings++,Le(this),this.fn()}finally{Fe(this),this._runnings--,Pe=t,Ve=e}}stop(){var e;this.active&&(Le(this),Fe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Me(e){return e.value}function Le(e){e._trackId++,e._depsLength=0}function Fe(t){if(t.deps&&t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Ue(t.deps[e],t);t.deps.length=t._depsLength}}function Ue(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ve=!0,je=0;const De=[];function Be(){De.push(Ve),Ve=!1}function He(){const e=De.pop();Ve=void 0===e||e}function qe(){je++}function We(){for(je--;!je&&Ge.length;)Ge.shift()()}function ze(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Ue(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ge=[];function Ke(t,n,e){qe();for(const e of t.keys())if(e._dirtyLevel<n&&t.get(e)===e._trackId){const t=e._dirtyLevel;e._dirtyLevel=n,0===t&&(e._shouldSchedule=!0,e.trigger())}Je(t),We()}function Je(t){for(const e of t.keys())e.scheduler&&e._shouldSchedule&&(!e._runnings||e.allowRecurse)&&t.get(e)===e._trackId&&(e._shouldSchedule=!1,Ge.push(e.scheduler))}const Qe=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xe=new WeakMap,Ze=Symbol(""),Ye=Symbol("");function f(n,e,o){if(Ve&&Pe){let e=Xe.get(n);e||Xe.set(n,e=new Map);let t=e.get(o);t||e.set(o,t=Qe(()=>e.delete(o))),ze(Pe,t)}}function et(n,e,t,o,r,s){const i=Xe.get(n);if(!i)return;let l=[];if("clear"===e)l=[...i.values()];else if("length"===t&&E(n)){const n=Number(o);i.forEach((e,t)=>{("length"===t||!L(t)&&t>=n)&&l.push(e)})}else switch(void 0!==t&&l.push(i.get(t)),e){case"add":E(n)?U(t)&&l.push(i.get("length")):(l.push(i.get(Ze)),v(n)&&l.push(i.get(Ye)));break;case"delete":E(n)||(l.push(i.get(Ze)),v(n)&&l.push(i.get(Ye)));break;case"set":v(n)&&l.push(i.get(Ze))}qe();for(const e of l)e&&Ke(e,2);We()}const tt=t("__proto__,__v_isRef,__isVue"),nt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(L)),ot=rt();function rt(){const e={};return["includes","indexOf","lastIndexOf"].forEach(o=>{e[o]=function(...e){const n=X(this);for(let e=0,t=this.length;e<t;e++)f(n,0,e+"");const t=n[o](...e);return-1===t||!1===t?n[o](...e.map(X)):t}}),["push","pop","shift","unshift","splice"].forEach(n=>{e[n]=function(...e){Be(),qe();const t=X(this)[n].apply(this,e);return We(),He(),t}}),e}function st(e){const t=X(this);return f(t,0,e),t.hasOwnProperty(e)}class it{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,r=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Ut:Ft:r?Lt:Mt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=E(e);if(!o){if(s&&J(ot,t))return Reflect.get(ot,t,n);if("hasOwnProperty"===t)return st}const i=Reflect.get(e,t,n);return(L(t)?nt.has(t):tt(t))?i:(o||f(e,0,t),r?i:O(i)?s&&U(t)?i:i.value:I(i)?o?Dt(i):Vt(i):i)}}class lt extends it{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._shallow){const t=qt(r);if(Wt(n)||qt(n)||(r=X(r),n=X(n)),!E(e)&&O(r)&&!O(n))return!t&&(r.value=n,!0)}const s=E(e)&&U(t)?Number(t)<e.length:J(e,t),i=Reflect.set(e,t,n,o);return e===X(o)&&(s?W(n,r)&&et(e,"set",t,n):et(e,"add",t,n)),i}deleteProperty(e,t){const n=J(e,t),o=Reflect.deleteProperty(e,t);return o&&n&&et(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return L(t)&&nt.has(t)||f(e,0,t),n}ownKeys(e){return f(e,0,E(e)?"length":Ze),Reflect.ownKeys(e)}}class at extends it{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const ct=new lt,ut=new at,pt=new lt(!0),dt=new at(!0),ft=e=>e,ht=e=>Reflect.getPrototypeOf(e);function mt(e,t,n=!1,o=!1){const r=X(e=e.__v_raw),s=X(t);n||(W(t,s)&&f(r,0,t),f(r,0,s));const{has:i}=ht(r),l=o?ft:n?Jt:Kt;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void(e!==r&&e.get(t))}function vt(e,t=!1){const n=this.__v_raw,o=X(n),r=X(e);return t||(W(e,r)&&f(o,0,e),f(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function gt(e,t=!1){return e=e.__v_raw,!t&&f(X(e),0,Ze),Reflect.get(e,"size",e)}function yt(e){e=X(e);const t=X(this);return ht(t).has.call(t,e)||(t.add(e),et(t,"add",e,e)),this}function _t(e,t){t=X(t);const n=X(this),{has:o,get:r}=ht(n);let s=o.call(n,e);s||(e=X(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?W(t,i)&&et(n,"set",e,t):et(n,"add",e,t),this}function bt(e){const t=X(this),{has:n,get:o}=ht(t);let r=n.call(t,e);r||(e=X(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&et(t,"delete",e,void 0),s}function xt(){const e=X(this),t=0!==e.size,n=e.clear();return t&&et(e,"clear",void 0,void 0),n}function St(i,l){return function(n,o){const r=this,e=r.__v_raw,t=X(e),s=l?ft:i?Jt:Kt;return!i&&f(t,0,Ze),e.forEach((e,t)=>n.call(o,s(e),s(t),r))}}function Ct(a,c,u){return function(...e){const t=this.__v_raw,n=X(t),o=v(n),r="entries"===a||a===Symbol.iterator&&o,s="keys"===a&&o,i=t[a](...e),l=u?ft:c?Jt:Kt;return!c&&f(n,0,s?Ye:Ze),{next(){const{value:e,done:t}=i.next();return t?{value:e,done:t}:{value:r?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function wt(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function Tt(){const t={get(e){return mt(this,e)},get size(){return gt(this)},has:vt,add:yt,set:_t,delete:bt,clear:xt,forEach:St(!1,!1)},n={get(e){return mt(this,e,!1,!0)},get size(){return gt(this)},has:vt,add:yt,set:_t,delete:bt,clear:xt,forEach:St(!1,!0)},o={get(e){return mt(this,e,!0)},get size(){return gt(this,!0)},has(e){return vt.call(this,e,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:St(!0,!1)},r={get(e){return mt(this,e,!0,!0)},get size(){return gt(this,!0)},has(e){return vt.call(this,e,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(e=>{t[e]=Ct(e,!1,!1),o[e]=Ct(e,!0,!1),n[e]=Ct(e,!1,!0),r[e]=Ct(e,!0,!0)}),[t,o,n,r]}const[At,kt,Nt,Et]=Tt();function Pt(o,e){const r=e?o?Et:Nt:o?kt:At;return(e,t,n)=>"__v_isReactive"===t?!o:"__v_isReadonly"===t?o:"__v_raw"===t?e:Reflect.get(J(r,t)&&t in e?r:e,t,n)}const Rt={get:Pt(!1,!1)},It={get:Pt(!1,!0)},Ot={get:Pt(!0,!1)},$t={get:Pt(!0,!0)},Mt=new WeakMap,Lt=new WeakMap,Ft=new WeakMap,Ut=new WeakMap;function Vt(e){return qt(e)?e:Bt(e,!1,ct,Rt,Mt)}function jt(e){return Bt(e,!1,pt,It,Lt)}function Dt(e){return Bt(e,!0,ut,Ot,Ft)}function Bt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(w(l));var l;if(0===i)return e;const a=new Proxy(e,2===i?o:n);return r.set(e,a),a}function Ht(e){return qt(e)?Ht(e.__v_raw):!(!e||!e.__v_isReactive)}function qt(e){return!(!e||!e.__v_isReadonly)}function Wt(e){return!(!e||!e.__v_isShallow)}function zt(e){return Ht(e)||qt(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Gt(e){return le(e,"__v_skip",!0),e}const Kt=e=>I(e)?Vt(e):e,Jt=e=>I(e)?Dt(e):e;class Qt{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new $e(()=>e(this._value),()=>Zt(this,1),()=>this.dep&&Je(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=X(this);return e._cacheable&&!e.effect.dirty||W(e._value,e._value=e.effect.run())&&Zt(e,2),Xt(e),e.effect._dirtyLevel>=1&&Zt(e,1),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Xt(e){Ve&&Pe&&(e=X(e),ze(Pe,e.dep||(e.dep=Qe(()=>e.dep=void 0,e instanceof Qt?e:void 0))))}function Zt(e,t=2,n){const o=(e=X(e)).dep;o&&Ke(o,t)}function O(e){return!(!e||!0!==e.__v_isRef)}function Yt(e){return en(e,!1)}function en(e,t){return O(e)?e:new tn(e,t)}class tn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:X(e),this._value=t?e:Kt(e)}get value(){return Xt(this),this._value}set value(e){const t=this.__v_isShallow||Wt(e)||qt(e);e=t?e:X(e),W(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Kt(e),Zt(this,2))}}function nn(e){return O(e)?e.value:e}const on={get:(e,t,n)=>nn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return O(r)&&!O(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function rn(e){return Ht(e)?e:new Proxy(e,on)}class sn{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Xt(this),()=>Zt(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function ln(e){return new sn(e)}class an{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=X(this._object),t=this._key,null==(n=Xe.get(e))?void 0:n.get(t);var e,t,n}}class cn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function un(e,t,n){const o=e[t];return O(o)?o:new an(e,t,n)}function pn(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){fn(e,t,n)}return r}function dn(t,n,o,r){if(R(t)){const s=pn(t,n,o,r);return s&&oe(s)&&s.catch(e=>{fn(e,n,o)}),s}const s=[];for(let e=0;e<t.length;e++)s.push(dn(t[e],n,o,r));return s}function fn(r,s,i,e=!0){if(s){let e=s.parent;const t=s.proxy,n=`https://vuejs.org/error-reference/#runtime-${i}`;for(;e;){const s=e.ec;if(s)for(let e=0;e<s.length;e++)if(!1===s[e](r,t,n))return;e=e.parent}const o=s.appContext.config.errorHandler;if(o)return void pn(o,null,10,[r,t,n])}!function(e,t,n,o=!0){console.error(e)}(r,0,0,e)}let hn=!1,mn=!1;const Z=[];let vn=0;const gn=[];let yn=null,_n=0;const bn=Promise.resolve();let xn=null;function Sn(e){const t=xn||bn;return e?t.then(this?e.bind(this):e):t}function Cn(e){Z.length&&Z.includes(e,hn&&e.allowRecurse?vn+1:vn)||(null==e.id?Z.push(e):Z.splice(function(o){let r=vn+1,s=Z.length;for(;r<s;){const e=r+s>>>1,t=Z[e],n=Nn(t);n<o||n===o&&t.pre?r=e+1:s=e}return r}(e.id),0,e),wn())}function wn(){hn||mn||(mn=!0,xn=bn.then(Pn))}function Tn(e){E(e)?gn.push(...e):yn&&yn.includes(e,e.allowRecurse?_n+1:_n)||gn.push(e),wn()}function An(e,t,n=hn?vn+1:0){for(;n<Z.length;n++){const t=Z[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Z.splice(n,1),n--,t()}}}function kn(e){if(gn.length){const e=[...new Set(gn)].sort((e,t)=>Nn(e)-Nn(t));if(gn.length=0,yn)return void yn.push(...e);for(yn=e,_n=0;_n<yn.length;_n++)yn[_n]();yn=null,_n=0}}const Nn=e=>null==e.id?1/0:e.id,En=(e,t)=>{const n=Nn(e)-Nn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pn(e){mn=!1,hn=!0,Z.sort(En);try{for(vn=0;vn<Z.length;vn++){const e=Z[vn];e&&!1!==e.active&&pn(e,null,14)}}finally{vn=0,Z.length=0,kn(),hn=!1,xn=null,(Z.length||gn.length)&&Pn()}}function Rn(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||z;let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:s}=o[e]||z;s&&(r=n.map(e=>T(e)?e.trim():e)),t&&(r=n.map(ae))}let l,a=o[l=q(t)]||o[l=q(Q(t))];!a&&s&&(a=o[l=q(se(t))]),a&&dn(a,e,6,r);const c=o[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,dn(c,e,6,r)}}function In(e,n,t=!1){const o=n.emitsCache,r=o.get(e);if(void 0!==r)return r;const s=e.emits;let i={},l=!1;if(!R(e)){const o=e=>{const t=In(e,n,!0);t&&(l=!0,N(i,t))};!t&&n.mixins.length&&n.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?(E(s)?s.forEach(e=>i[e]=null):N(i,s),I(e)&&o.set(e,i),i):(I(e)&&o.set(e,null),null)}function On(e,t){return!(!e||!P(t))&&(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,se(t))||J(e,t))}let c=null,$n=null;function Mn(e){const t=c;return c=e,$n=e&&e.type.__scopeId||null,t}function Ln(o,r=c,e){if(!r)return o;if(o._n)return o;const s=(...e)=>{s._d&&ss(-1);const t=Mn(r);let n;try{n=o(...e)}finally{Mn(t),s._d&&ss(1)}return n};return s._n=!0,s._c=!0,s._d=!0,s}function Fn(t){const{type:e,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:p,data:d,setupState:f,ctx:h,inheritAttrs:m}=t;let v,g;const y=Mn(t);try{if(4&n.shapeFlag){const t=r||o;v=gs(u.call(t,t,p,s,f,d,h)),g=a}else{const t=e;0,v=gs(t(s,t.length>1?{attrs:a,slots:l,emit:c}:null)),g=e.props?a:Un(a)}}catch(e){es.length=0,fn(e,t,1),v=ne(te)}let _=v;if(g&&!1!==m){const t=Object.keys(g),{shapeFlag:e}=_;t.length&&7&e&&(i&&t.some(b)&&(g=Vn(g,i)),_=ms(_,g))}return n.dirs&&(_=ms(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Mn(y),v}const Un=t=>{let n;for(const e in t)("class"===e||"style"===e||P(e))&&((n||(n={}))[e]=t[e]);return n},Vn=(t,n)=>{const o={};for(const e in t)b(e)&&e.slice(9)in n||(o[e]=t[e]);return o};function jn(n,o,r){const s=Object.keys(o);if(s.length!==Object.keys(n).length)return!0;for(let t=0;t<s.length;t++){const e=s[t];if(o[e]!==n[e]&&!On(r,e))return!0}return!1}function Dn({vnode:t,parent:n},o){for(;n;){const e=n.subTree;if(e.suspense&&e.suspense.activeBranch===t&&(e.el=t.el),e!==t)break;(t=n.vnode).el=o,n=n.parent}}const Bn="components";const Hn=Symbol.for("v-ndc");function qn(t,n,o=!0,r=!1){const s=c||_;if(s){const o=s.type;if(t===Bn){const t=Us(o,!1);if(t&&(t===n||t===Q(n)||t===H(Q(n))))return o}const e=Wn(s[t]||o[t],n)||Wn(s.appContext[t],n);return!e&&r?o:e}}function Wn(e,t){return e&&(e[t]||e[Q(t)]||e[H(Q(t))])}const zn=e=>e.__isSuspense;let Gn=0;const Kn={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,s,i,l,a,c){if(null==e)!function(e,t,n,o,r,s,i,l,a){const{p:c,o:{createElement:u}}=a,p=u("div"),d=e.suspense=Qn(e,r,o,t,p,n,s,i,l,a);c(null,d.pendingBranch=e.ssContent,p,null,o,d,s,i),d.deps>0?(Jn(e,"onPending"),Jn(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,s,i),Yn(d,e.ssFallback)):d.resolve(!1,!0)}(t,n,o,r,s,i,l,a,c);else{if(s&&s.deps>0)return void(t.suspense=e.suspense);!function(e,t,n,o,r,s,i,l,{p:a,um:c,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const d=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:g}=p;if(m)p.pendingBranch=d,cs(d,m)?(a(m,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():v&&(g||(a(h,f,n,o,r,null,s,i,l),Yn(p,f)))):(p.pendingId=Gn++,g?(p.isHydrating=!1,p.activeBranch=m):c(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),v?(a(null,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(a(h,f,n,o,r,null,s,i,l),Yn(p,f))):h&&cs(d,h)?(a(h,d,n,o,r,p,s,i,l),p.resolve(!0)):(a(null,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&cs(d,h))a(h,d,n,o,r,p,s,i,l),Yn(p,d);else if(Jn(t,"onPending"),p.pendingBranch=d,p.pendingId=512&d.shapeFlag?d.component.suspenseId:Gn++,a(null,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout(()=>{p.pendingId===t&&p.fallback(f)},e):0===e&&p.fallback(f)}}(e,t,n,o,r,i,l,a,c)}},hydrate:function(e,t,n,o,r,s,i,l,a){const c=t.suspense=Qn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,s,i);0===c.deps&&c.resolve(!1,!0);return u},create:Qn,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=Xn(o?n.default:n),e.ssFallback=o?Xn(n.fallback):ne(te)}};function Jn(e,t){const n=e.props&&e.props[t];R(n)&&n()}function Qn(e,d,n,t,o,f,l,c,u,r,s=!1){const{p,m:h,um:m,n:v,o:{parentNode:g,remove:a}}=r;let y;const _=function(e){var t;return null!=(null==(t=e.props)?void 0:t.suspensible)&&!1!==e.props.suspensible}(e);_&&(null==d?void 0:d.pendingBranch)&&(y=d.pendingId,d.deps++);const i=e.props?ce(e.props.timeout):void 0,b=f,x={vnode:e,parent:d,parentComponent:n,namespace:l,container:t,hiddenContainer:o,deps:0,pendingId:Gn++,timeout:"number"==typeof i?i:-1,activeBranch:null,pendingBranch:null,isInFallback:!s,isHydrating:s,isUnmounted:!1,effects:[],resolve(e=!1,t=!1){const{vnode:n,activeBranch:o,pendingBranch:r,pendingId:s,effects:i,parentComponent:l,container:a}=x;let c=!1;x.isHydrating?x.isHydrating=!1:e||(c=o&&r.transition&&"out-in"===r.transition.mode,c&&(o.transition.afterLeave=()=>{s===x.pendingId&&(h(r,a,f===b?v(o):f,0),Tn(i))}),o&&(g(o.el)!==x.hiddenContainer&&(f=v(o)),m(o,l,x,!0)),c||h(r,a,f,0)),Yn(x,r),x.pendingBranch=null,x.isInFallback=!1;let u=x.parent,p=!1;for(;u;){if(u.pendingBranch){u.effects.push(...i),p=!0;break}u=u.parent}p||c||Tn(i),x.effects=[],_&&d&&d.pendingBranch&&y===d.pendingId&&(d.deps--,0!==d.deps||t||d.resolve()),Jn(n,"onResolve")},fallback(e){if(!x.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,namespace:s}=x;Jn(t,"onFallback");const i=v(n),l=()=>{x.isInFallback&&(p(null,e,r,i,o,null,s,c,u),Yn(x,e))},a=e.transition&&"out-in"===e.transition.mode;a&&(n.transition.afterLeave=l),x.isInFallback=!0,m(n,o,null,!0),a||l()},move(e,t,n){x.activeBranch&&h(x.activeBranch,e,t,n),x.container=e},next:()=>x.activeBranch&&v(x.activeBranch),registerDep(o,r){const s=!!x.pendingBranch;s&&x.deps++;const i=o.vnode.el;o.asyncDep.catch(e=>{fn(e,o,0)}).then(e=>{if(o.isUnmounted||x.isUnmounted||x.pendingId!==o.suspenseId)return;o.asyncResolved=!0;const{vnode:t}=o;Os(o,e,!1),i&&(t.el=i);const n=!i&&o.subTree.el;r(o,t,g(i||o.subTree.el),i?null:v(o.subTree),x,l,u),n&&a(n),Dn(o,t.el),s&&0==--x.deps&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&m(x.activeBranch,n,e,t),x.pendingBranch&&m(x.pendingBranch,n,e,t)}};return x}function Xn(t){let n;if(R(t)){const e=rs&&t._c;e&&(t._d=!1,ns()),t=t(),e&&(t._d=!0,n=ts,os())}if(E(t)){const n=function(t,n=!0){let o;for(let e=0;e<t.length;e++){const n=t[e];if(!as(n))return;if(n.type!==te||"v-if"===n.children){if(o)return;o=n}}return o}(t);t=n}return t=gs(t),n&&!t.dynamicChildren&&(t.dynamicChildren=n.filter(e=>e!==t)),t}function Zn(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):Tn(e)}function Yn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let r=t.el;for(;!r&&t.component;)r=(t=t.component.subTree).el;n.el=r,o&&o.subTree===n&&(o.vnode.el=r,Dn(o,r))}const eo=Symbol.for("v-scx");function to(e,t){return so(e,null,{flush:"post"})}function no(e,t){return so(e,null,{flush:"sync"})}const oo={};function ro(e,t,n){return so(e,t,n)}function so(t,n,{immediate:e,deep:o,flush:r,once:s}=z){if(n&&s){const t=n;n=(...e)=>{t(...e),y()}}const i=_,l=e=>!0===o?e:ao(e,!1===o?1:void 0);let a,c,u=!1,p=!1;if(O(t)?(a=()=>t.value,u=Wt(t)):Ht(t)?(a=()=>l(t),u=!0):E(t)?(p=!0,u=t.some(e=>Ht(e)||Wt(e)),a=()=>t.map(e=>O(e)?e.value:Ht(e)?l(e):R(e)?pn(e,i,2):void 0)):a=R(t)?n?()=>pn(t,i,2):()=>(c&&c(),dn(t,i,3,[d])):K,n&&o){const t=a;a=()=>ao(t())}let d=e=>{c=v.onStop=()=>{pn(e,i,4),c=v.onStop=void 0}},f=p?new Array(t.length).fill(oo):oo;const h=()=>{if(v.active&&v.dirty)if(n){const e=v.run();(o||u||(p?e.some((e,t)=>W(e,f[t])):W(e,f)))&&(c&&c(),dn(n,i,3,[e,f===oo?void 0:p&&f[0]===oo?[]:f,d]),f=e)}else v.run()};let m;h.allowRecurse=!!n,"sync"===r?m=h:"post"===r?m=()=>Y(h,i&&i.suspense):(h.pre=!0,i&&(h.id=i.uid),m=()=>Cn(h));const v=new $e(a,K,m),g=Oe(),y=()=>{v.stop(),g&&x(g.effects,v)};return n?e?h():f=v.run():"post"===r?Y(v.run.bind(v),i&&i.suspense):v.run(),y}function io(e,t,n){const o=this.proxy,r=T(e)?e.includes(".")?lo(o,e):()=>o[e]:e.bind(o,o);let s;R(t)?s=t:(s=t.handler,n=t);const i=ks(this),l=so(r,s.bind(o),n);return i(),l}function lo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function ao(t,n,o=0,r){if(!I(t)||t.__v_skip)return t;if(n&&n>0){if(o>=n)return t;o++}if((r=r||new Set).has(t))return t;if(r.add(t),O(t))ao(t.value,n,o,r);else if(E(t))for(let e=0;e<t.length;e++)ao(t[e],n,o,r);else if(g(t)||v(t))t.forEach(e=>{ao(e,n,o,r)});else if(F(t))for(const e in t)ao(t[e],n,o,r);return t}function co(o,r,s,i){const l=o.dirs,a=r&&r.dirs;for(let n=0;n<l.length;n++){const e=l[n];a&&(e.oldValue=a[n].value);let t=e.dir[i];t&&(Be(),dn(t,s,8,[o.el,e,o,r]),He())}}const uo=Symbol("_leaveCb"),po=Symbol("_enterCb");function fo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Uo(()=>{e.isMounted=!0}),Do(()=>{e.isUnmounting=!0}),e}const ho=[Function,Array],mo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ho,onEnter:ho,onAfterEnter:ho,onEnterCancelled:ho,onBeforeLeave:ho,onLeave:ho,onAfterLeave:ho,onLeaveCancelled:ho,onBeforeAppear:ho,onAppear:ho,onAfterAppear:ho,onAppearCancelled:ho},vo={name:"BaseTransition",props:mo,setup(u,{slots:p}){const d=ws(),f=fo();let h;return()=>{const e=p.default&&So(p.default(),!0);if(!e||!e.length)return;let t=e[0];if(e.length>1)for(const u of e)if(u.type!==te){t=u;break}const n=X(u),{mode:o}=n;if(f.isLeaving)return _o(t);const r=bo(t);if(!r)return _o(t);const s=yo(r,n,f,d);xo(r,s);const i=d.subTree,l=i&&bo(i);let a=!1;const{getTransitionKey:c}=r.type;if(c){const u=c();void 0===h?h=u:u!==h&&(h=u,a=!0)}if(l&&l.type!==te&&(!cs(r,l)||a)){const u=yo(l,n,f,d);if(xo(l,u),"out-in"===o)return f.isLeaving=!0,u.afterLeave=()=>{f.isLeaving=!1,!1!==d.update.active&&(d.effect.dirty=!0,d.update())},_o(t);"in-out"===o&&r.type!==te&&(u.delayLeave=(e,t,n)=>{go(f,l)[String(l.key)]=l,e[uo]=()=>{t(),e[uo]=void 0,delete s.delayedLeave},s.delayedLeave=n})}return t}}};function go(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function yo(s,t,i,n){const{appear:l,mode:e,persisted:o=!1,onBeforeEnter:r,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:p,onLeave:d,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:g,onAppearCancelled:y}=t,_=String(s.key),b=go(i,s),x=(e,t)=>{e&&dn(e,n,9,t)},S=(e,t)=>{const n=t[1];x(e,t),E(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},C={mode:e,persisted:o,beforeEnter(e){let t=r;if(!i.isMounted){if(!l)return;t=m||r}e[uo]&&e[uo](!0);const n=b[_];n&&cs(s,n)&&n.el[uo]&&n.el[uo](),x(t,[e])},enter(t){let e=a,n=c,o=u;if(!i.isMounted){if(!l)return;e=v||a,n=g||c,o=y||u}let r=!1;const s=t[po]=e=>{r||(r=!0,x(e?o:n,[t]),C.delayedLeave&&C.delayedLeave(),t[po]=void 0)};e?S(e,[t,s]):s()},leave(t,n){const o=String(s.key);if(t[po]&&t[po](!0),i.isUnmounting)return n();x(p,[t]);let r=!1;const e=t[uo]=e=>{r||(r=!0,n(),x(e?h:f,[t]),t[uo]=void 0,b[o]===s&&delete b[o])};b[o]=s,d?S(d,[t,e]):e()},clone:e=>yo(e,t,i,n)};return C}function _o(e){if(Ao(e))return(e=ms(e)).children=null,e}function bo(e){return Ao(e)?e.children?e.children[0]:void 0:e}function xo(e,t){6&e.shapeFlag&&e.component?xo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function So(o,r=!1,s){let i=[],l=0;for(let n=0;n<o.length;n++){let e=o[n];const t=null==s?e.key:String(s)+String(null!=e.key?e.key:n);e.type===ee?(128&e.patchFlag&&l++,i=i.concat(So(e.children,r,t))):(r||e.type!==te)&&i.push(null!=t?ms(e,{key:t}):e)}if(l>1)for(let e=0;e<i.length;e++)i[e].patchFlag=-2;return i}function Co(e,t){return R(e)?(()=>N({name:e.name},t,{setup:e}))():e}const wo=e=>!!e.type.__asyncLoader;function To(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=ne(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Ao=e=>e.type.__isKeepAlive,ko={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(u,{slots:p}){const r=ws(),e=r.ctx,d=new Map,f=new Set;let h=null;const i=r.suspense,{renderer:{p:l,m:a,um:t,o:{createElement:n}}}=e,o=n("div");function s(e){Oo(e),t(e,r,i,!0)}function c(o){d.forEach((e,t)=>{const n=Us(e.type);!n||o&&o(n)||m(t)})}function m(e){const t=d.get(e);h&&cs(t,h)?h&&Oo(h):s(t),d.delete(e),f.delete(e)}e.activate=(t,e,n,o,r)=>{const s=t.component;a(t,e,n,0,i),l(s.vnode,t,e,n,s,i,o,t.slotScopeIds,r),Y(()=>{s.isDeactivated=!1,s.a&&ie(s.a);const e=t.props&&t.props.onVnodeMounted;e&&xs(e,s.parent,t)},i)},e.deactivate=t=>{const n=t.component;a(t,o,null,1,i),Y(()=>{n.da&&ie(n.da);const e=t.props&&t.props.onVnodeUnmounted;e&&xs(e,n.parent,t),n.isDeactivated=!0},i)},ro(()=>[u.include,u.exclude],([t,n])=>{t&&c(e=>No(t,e)),n&&c(e=>!No(n,e))},{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&d.set(v,$o(r.subTree))};return Uo(g),jo(g),Do(()=>{d.forEach(e=>{const{subTree:t,suspense:n}=r,o=$o(t);if(e.type!==o.type||e.key!==o.key)s(e);else{Oo(o);const e=o.component.da;e&&Y(e,n)}})}),()=>{if(v=null,!p.default)return null;const e=p.default(),t=e[0];if(e.length>1)return h=null,e;if(!(as(t)&&(4&t.shapeFlag||128&t.shapeFlag)))return h=null,t;let n=$o(t);const o=n.type,r=Us(wo(n)?n.type.__asyncResolved||{}:o),{include:s,exclude:i,max:l}=u;if(s&&(!r||!No(s,r))||i&&r&&No(i,r))return h=n,t;const a=null==n.key?o:n.key,c=d.get(a);return n.el&&(n=ms(n),128&t.shapeFlag&&(t.ssContent=n)),v=a,c?(n.el=c.el,n.component=c.component,n.transition&&xo(n,n.transition),n.shapeFlag|=512,f.delete(a),f.add(a)):(f.add(a),l&&f.size>parseInt(l,10)&&m(f.values().next().value)),n.shapeFlag|=256,h=n,zn(t.type)?t:n}}};function No(e,t){return E(e)?e.some(e=>No(e,t)):T(e)?e.split(",").includes(t):"[object RegExp]"===C(e)&&e.test(t)}function Eo(e,t){Ro(e,"a",t)}function Po(e,t){Ro(e,"da",t)}function Ro(t,n,o=_){const r=t.__wdc||(t.__wdc=()=>{let e=o;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(Mo(n,r,o),o){let e=o.parent;for(;e&&e.parent;)Ao(e.parent.vnode)&&Io(r,n,o,e),e=e.parent}}function Io(e,t,n,o){const r=Mo(t,e,o,!0);Bo(()=>{x(o[t],r)},n)}function Oo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $o(e){return 128&e.shapeFlag?e.ssContent:e}function Mo(o,r,s=_,n=!1){if(s){const e=s[o]||(s[o]=[]),t=r.__weh||(r.__weh=(...e)=>{if(s.isUnmounted)return;Be();const t=ks(s),n=dn(r,s,o,e);return t(),He(),n});return n?e.unshift(t):e.push(t),t}}const Lo=n=>(t,e=_)=>(!Is||"sp"===n)&&Mo(n,(...e)=>t(...e),e),Fo=Lo("bm"),Uo=Lo("m"),Vo=Lo("bu"),jo=Lo("u"),Do=Lo("bum"),Bo=Lo("um"),Ho=Lo("sp"),qo=Lo("rtg"),Wo=Lo("rtc");function zo(e,t=_){Mo("ec",e,t)}function Go(e){return e.some(e=>!as(e)||e.type!==te&&!(e.type===ee&&!Go(e.children)))?e:null}const Ko=e=>e?Es(e)?Fs(e)||e.proxy:Ko(e.parent):null,Jo=N(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>e.$parent||Ko(e.parent),$root:e=>e.$root||Ko(e.root),$emit:e=>e.emit,$options:e=>sr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Cn(e.update)}),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>io.bind(e),$containers:e=>e.$containers,$container:e=>e.$container,$data:e=>e.$data,$created:e=>e.$created,$unmounted:e=>e.$unmounted,$mounted:e=>e.$mounted,$layout:e=>e.$layout,$app:e=>e.$app,$baseMethods:e=>e.$baseMethods,$view:e=>e.$view}),Qo=(e,t)=>e!==z&&!e.__isScriptSetup&&J(e,t),Xo={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:a}=e;let c;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Qo(o,t))return i[t]=1,o[t];if(r!==z&&J(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&J(c,t))return i[t]=3,s[t];if(n!==z&&J(n,t))return i[t]=4,n[t];tr&&(i[t]=0)}}const u=Jo[t];let p,d;return u?("$attrs"===t&&f(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==z&&J(n,t)?(i[t]=4,n[t]):(d=a.config.globalProperties,J(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Qo(r,t)?(r[t]=n,!0):o!==z&&J(o,t)?(o[t]=n,!0):!J(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==z&&J(e,i)||Qo(t,i)||(l=s[0])&&J(l,i)||J(o,i)||J(Jo,i)||J(r.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Zo=N({},Xo,{get(e,t){if(t!==Symbol.unscopables)return Xo.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!de(t)});function Yo(){const e=ws();return e.setupContext||(e.setupContext=Ls(e))}function er(e){return E(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let tr=!0;function nr(t){const e=sr(t),n=t.proxy,o=t.ctx;tr=!1,e.beforeCreate&&or(e.beforeCreate,t,"bc");const{data:r,computed:s,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:p,mounted:d,beforeUpdate:f,updated:h,activated:m,deactivated:v,beforeUnmount:g,unmounted:y,render:_,renderTracked:b,renderTriggered:x,errorCaptured:S,serverPrefetch:C,expose:w,inheritAttrs:T,components:A,directives:k}=e;if(c&&function(n,o,r=K){E(n)&&(n=cr(n));for(const e in n){const r=n[e];let t;t=I(r)?"default"in r?gr(r.from||e,r.default,!0):gr(r.from||e):gr(r),O(t)?Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e}):o[e]=t}}(c,o,null),i)for(const K in i){const t=i[K];R(t)&&(o[K]=t.bind(n))}if(r){const e=r.call(n,n);I(e)&&(t.data=Vt(e))}if(tr=!0,s)for(const E in s){const t=s[E],e=R(t)?t.bind(n,n):R(t.get)?t.get.bind(n,n):K,r=!R(t)&&R(t.set)?t.set.bind(n):K,i=Vs({get:e,set:r});Object.defineProperty(o,E,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const K in l)rr(l[K],o,n,K);if(a){const t=R(a)?a.call(n):a;Reflect.ownKeys(t).forEach(e=>{vr(e,t[e])})}function N(t,e){E(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(u&&or(u,t,"c"),N(Fo,p),N(Uo,d),N(Vo,f),N(jo,h),N(Eo,m),N(Po,v),N(zo,S),N(Wo,b),N(qo,x),N(Do,g),N(Bo,y),N(Ho,C),E(w))if(w.length){const e=t.exposed||(t.exposed={});w.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});_&&t.render===K&&(t.render=_),null!=T&&(t.inheritAttrs=T),A&&(t.components=A),k&&(t.directives=k)}function or(e,t,n){dn(E(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function rr(e,t,n,o){const r=o.includes(".")?lo(n,o):()=>n[o];if(T(e)){const n=t[e];R(n)&&ro(r,n)}else if(R(e))ro(r,e.bind(n));else if(I(e))if(E(e))e.forEach(e=>rr(e,t,n,o));else{const o=R(e.handler)?e.handler.bind(n):t[e.handler];R(o)&&ro(r,o,e)}}function sr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:r.length||n||o?(a={},r.length&&r.forEach(e=>ir(a,e,i,!0)),ir(a,t,i)):a=t,I(t)&&s.set(t,a),a}function ir(t,n,o,r=!1){const{mixins:e,extends:s}=n;s&&ir(t,s,o,!0),e&&e.forEach(e=>ir(t,e,o,!0));for(const e in n)if(r&&"expose"===e);else{const r=lr[e]||o&&o[e];t[e]=r?r(t[e],n[e]):n[e]}return t}const lr={data:ar,props:pr,emits:pr,methods:ur,computed:ur,beforeCreate:r,created:r,beforeMount:r,mounted:r,beforeUpdate:r,updated:r,beforeDestroy:r,beforeUnmount:r,destroyed:r,unmounted:r,activated:r,deactivated:r,errorCaptured:r,serverPrefetch:r,components:ur,directives:ur,watch:function(t,n){if(!t)return n;if(!n)return t;const o=N(Object.create(null),t);for(const e in n)o[e]=r(t[e],n[e]);return o},provide:ar,inject:function(e,t){return ur(cr(e),cr(t))}};function ar(e,t){return t?e?function(){return N(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function cr(n){if(E(n)){const t={};for(let e=0;e<n.length;e++)t[n[e]]=n[e];return t}return n}function r(e,t){return e?[...new Set([].concat(e,t))]:t}function ur(e,t){return e?N(Object.create(null),e,t):t}function pr(e,t){return e?E(e)&&E(t)?[...new Set([...e,...t])]:N(Object.create(null),er(e),er(null!=t?t:{})):t}function dr(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let fr=0;function hr(c,u){return function(r,s=null){R(r)||(r=N({},r)),null==s||I(s)||(s=null);const i=dr(),n=new WeakSet;let l=!1;const a=i.app={_uid:fr++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:Bs,get config(){return i.config},set config(e){},use:(e,...t)=>(n.has(e)||(e&&R(e.install)?(n.add(e),e.install(a,...t)):R(e)&&(n.add(e),e(a,...t))),a),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(t,n,o){if(!l){const e=ne(r,s);return e.appContext=i,!0===o?o="svg":!1===o&&(o=void 0),n&&u?u(e,t):c(e,t,o),l=!0,a._container=t,t.__vue_app__=a,Fs(e.component)||e.component.proxy}},unmount(){l&&(c(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a),runWithContext(e){mr=a;try{return e()}finally{mr=null}}};return a}}let mr=null;function vr(n,o){if(_){let e=_.provides;const t=_.parent&&_.parent.provides;t===e&&(e=_.provides=Object.create(t)),e[n]=o}else;}function gr(t,n,o=!1){const r=_||c;if(r||mr){const e=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:mr._context.provides;if(e&&t in e)return e[t];if(arguments.length>1)return o&&R(n)?n.call(r&&r.proxy):n}}function yr(o,r,s,i){const[l,a]=o.propsOptions;let c,u=!1;if(r)for(let n in r){if(re(n))continue;const e=r[n];let t;l&&J(l,t=Q(n))?a&&a.includes(t)?(c||(c={}))[t]=e:s[t]=e:On(o.emitsOptions,n)||n in i&&e===i[n]||(i[n]=e,u=!0)}if(a){const r=X(s),i=c||z;for(let e=0;e<a.length;e++){const c=a[e];s[c]=_r(l,r,c,i[c],o,!J(i,c))}}return u}function _r(e,t,n,o,r,s){const i=e[n];if(null!=i){const e=J(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&!i.skipFactory&&R(e)){const{propsDefaults:s}=r;if(n in s)o=s[n];else{const i=ks(r);o=s[n]=e.call(null,t),i()}}else o=e}i[0]&&(s&&!e?o=!1:!i[1]||""!==o&&o!==se(n)||(o=!0))}return o}function br(t,o,e=!1){const n=o.propsCache,r=n.get(t);if(r)return r;const s=t.props,i={},l=[];let a=!1;if(!R(t)){const z=e=>{a=!0;const[t,n]=br(e,o,!0);N(i,t),n&&l.push(...n)};!e&&o.mixins.length&&o.mixins.forEach(z),t.extends&&z(t.extends),t.mixins&&t.mixins.forEach(z)}if(!s&&!a)return I(t)&&n.set(t,G),G;if(E(s))for(let e=0;e<s.length;e++){const t=Q(s[e]);xr(t)&&(i[t]=z)}else if(s)for(const z in s){const t=Q(z);if(xr(t)){const o=s[z],G=i[t]=E(o)||R(o)?{type:o}:N({},o);if(G){const o=wr(Boolean,G.type),z=wr(String,G.type);G[0]=o>-1,G[1]=z<0||o<z,(o>-1||J(G,"default"))&&l.push(t)}}}const c=[i,l];return I(t)&&n.set(t,c),c}function xr(e){return"$"!==e[0]}function Sr(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function Cr(e,t){return Sr(e)===Sr(t)}function wr(t,e){return E(e)?e.findIndex(e=>Cr(e,t)):R(e)&&Cr(e,t)?0:-1}const Tr=e=>"_"===e[0]||"$stable"===e,Ar=e=>E(e)?e.map(gs):[gs(e)],kr=(e,t,n)=>{if(t._n)return t;const o=Ln((...e)=>Ar(t(...e)),n);return o._c=!1,o},Nr=(t,n,o)=>{const r=t._ctx;for(const e in t){if(Tr(e))continue;const o=t[e];if(R(o))n[e]=kr(0,o,r);else if(null!=o){const t=Ar(o);n[e]=()=>t}}},Er=(e,t)=>{const n=Ar(t);e.slots.default=()=>n},Pr=(t,n)=>{if(32&t.vnode.shapeFlag){const e=n._;e?(t.slots=X(n),le(n,"_",e)):Nr(n,t.slots={})}else t.slots={},n&&Er(t,n);le(t.slots,us,1)},Rr=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=z;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(N(r,t),n||1!==e||delete r._):(s=!t.$stable,Nr(t,r)),i=t}else t&&(Er(e,t),i={default:1});if(s)for(const z in r)Tr(z)||null!=i[z]||delete r[z]};function Ir(e,n,o,r,s=!1){if(E(e))return void e.forEach((e,t)=>Ir(e,n&&(E(n)?n[t]:n),o,r,s));if(wo(r)&&!s)return;const t=4&r.shapeFlag?Fs(r.component)||r.component.proxy:r.el,i=s?null:t,{i:l,r:a}=e,c=n&&n.r,u=l.refs===z?l.refs={}:l.refs,p=l.setupState;if(null!=c&&c!==a&&(T(c)?(u[c]=null,J(p,c)&&(p[c]=null)):O(c)&&(c.value=null)),R(a))pn(a,l,12,[i,u]);else{const n=T(a),z=O(a),r=e.f;if(n||z){const l=()=>{if(r){const z=n?J(p,a)?p[a]:u[a]:a.value;s?E(z)&&x(z,t):E(z)?z.includes(t)||z.push(t):n?(u[a]=[t],J(p,a)&&(p[a]=u[a])):(a.value=[t],e.k&&(u[e.k]=a.value))}else n?(u[a]=i,J(p,a)&&(p[a]=i)):z&&(a.value=i,e.k&&(u[e.k]=i))};s||r?l():(l.id=-1,Y(l,o))}}}let Or=!1;const $r=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,Mr=e=>8===e.nodeType;function Lr(h){const{mt:m,p:u,o:{patchProp:v,createText:g,nextSibling:y,parentNode:_,remove:b,insert:x,createComment:c}}=h,S=(t,n,e,o,r,s=!1)=>{const i=Mr(t)&&"["===t.data,l=()=>A(t,n,e,o,r,i),{type:a,ref:c,shapeFlag:u,patchFlag:p}=n;let d=t.nodeType;n.el=t,-2===p&&(s=!1,n.dynamicChildren=null);let f=null;switch(a){case Zr:3!==d?""===n.children?(x(n.el=g(""),_(t),t),f=t):f=l():(t.data!==n.children&&(Or=!0,t.data=n.children),f=y(t));break;case te:E(t)?(f=y(t),N(n.el=t.content.firstChild,t,e)):f=8!==d||i?l():y(t);break;case Yr:if(i&&(d=(t=y(t)).nodeType),1===d||3===d){f=t;const h=!n.children.length;for(let e=0;e<n.staticCount;e++)h&&(n.children+=1===f.nodeType?f.outerHTML:f.data),e===n.staticCount-1&&(n.anchor=f),f=y(f);return i?y(f):f}l();break;case ee:f=i?T(t,n,e,o,r,s):l();break;default:if(1&u)f=1===d&&n.type.toLowerCase()===t.tagName.toLowerCase()||E(t)?C(t,n,e,o,r,s):l();else if(6&u){n.slotScopeIds=r;const h=_(t);if(f=i?k(t):Mr(t)&&"teleport start"===t.data?k(t,t.data,"teleport end"):y(t),m(n,h,null,e,o,$r(h),s),wo(n)){let e;i?(e=ne(ee),e.anchor=f?f.previousSibling:h.lastChild):e=3===t.nodeType?vs(""):ne("div"),e.el=t,n.component.subTree=e}}else 64&u?f=8!==d?l():n.type.hydrate(t,n,e,o,r,s,h,w):128&u&&(f=n.type.hydrate(t,n,e,o,$r(_(t)),r,s,h,S))}return null!=c&&Ir(c,null,o,n),f},C=(n,o,r,s,i,l)=>{l=l||!!o.dynamicChildren;const{type:e,props:a,patchFlag:c,shapeFlag:u,dirs:p,transition:d}=o,f="input"===e||"option"===e;if(f||-1!==c){p&&co(o,null,r,"created");let e,t=!1;if(E(n)){t=Br(s,d)&&r&&r.vnode.props&&r.vnode.props.appear;const v=n.content.firstChild;t&&d.beforeEnter(v),N(v,n,r),o.el=n=v}if(16&u&&(!a||!a.innerHTML&&!a.textContent)){let e=w(n.firstChild,o,n,r,s,i,l);for(;e;){Or=!0;const n=e;e=e.nextSibling,b(n)}}else 8&u&&n.textContent!==o.children&&(Or=!0,n.textContent=o.children);if(a)if(f||!l||48&c)for(const o in a)(f&&(o.endsWith("value")||"indeterminate"===o)||P(o)&&!re(o)||"."===o[0])&&v(n,o,null,a[o],void 0,void 0,r);else a.onClick&&v(n,"onClick",null,a.onClick,void 0,void 0,r);(e=a&&a.onVnodeBeforeMount)&&xs(e,r,o),p&&co(o,null,r,"beforeMount"),((e=a&&a.onVnodeMounted)||p||t)&&Zn(()=>{e&&xs(e,r,o),t&&d.enter(n),p&&co(o,null,r,"mounted")},s)}return n.nextSibling},w=(t,n,o,r,s,i,l)=>{l=l||!!n.dynamicChildren;const a=n.children,c=a.length;for(let e=0;e<c;e++){const n=l?a[e]:a[e]=gs(a[e]);if(t)t=S(t,n,r,s,i,l);else{if(n.type===Zr&&!n.children)continue;Or=!0,u(null,n,o,null,r,s,$r(o),i)}}return t},T=(e,t,n,o,r,s)=>{const{slotScopeIds:i}=t;i&&(r=r?r.concat(i):i);const l=_(e),a=w(y(e),t,l,n,o,r,s);return a&&Mr(a)&&"]"===a.data?y(t.anchor=a):(Or=!0,x(t.anchor=c("]"),l,a),a)},A=(e,t,n,o,r,s)=>{if(Or=!0,t.el=null,s){const t=k(e);for(;;){const u=y(e);if(!u||u===t)break;b(u)}}const i=y(e),l=_(e);return b(e),u(null,t,l,i,n,o,$r(l),r),i},k=(e,t="[",n="]")=>{let o=0;for(;e;)if((e=y(e))&&Mr(e)&&(e.data===t&&o++,e.data===n)){if(0===o)return y(e);o--}return e},N=(e,t,n)=>{const o=t.parentNode;o&&o.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},E=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return u(null,e,t),kn(),void(t._vnode=e);Or=!1,S(t.firstChild,e,null,null,null),kn(),t._vnode=e,Or&&console.error("Hydration completed but contains mismatches.")},S]}const Y=Zn;function Fr(e){return Vr(e)}function Ur(e){return Vr(e,Lr)}function Vr(e,t){pe().__VUE__=!0;const{insert:m,remove:i,patchProp:v,createElement:g,createText:h,createComment:r,setText:s,setElementText:y,parentNode:_,nextSibling:u,setScopeId:l=K,insertStaticContent:a}=e,C=(e,t,n,o=null,r=null,s=null,i=void 0,l=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!cs(e,t)&&(o=I(e),E(e,r,s,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:p}=t;switch(c){case Zr:d(e,t,n,o);break;case te:f(e,t,n,o);break;case Yr:null==e&&L(t,n,o,i);break;case ee:j(e,t,n,o,r,s,i,l,a);break;default:1&p?F(e,t,n,o,r,s,i,l,a):6&p?D(e,t,n,o,r,s,i,l,a):(64&p||128&p)&&c.process(e,t,n,o,r,s,i,l,a,O)}null!=u&&r&&Ir(u,e&&e.ref,s,t||e,!t)},d=(e,t,n,o)=>{if(null==e)m(t.el=h(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&s(n,t.children)}},f=(e,t,n,o)=>{null==e?m(t.el=r(t.children||""),n,o):t.el=e.el},L=(e,t,n,o)=>{[e.el,e.anchor]=a(e.children,t,n,o,e.el,e.anchor)},F=(e,t,n,o,r,s,i,l,a)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?U(t,n,o,r,s,i,l,a):V(e,t,r,s,i,l,a)},U=(e,t,n,o,r,s,i,l)=>{let a,c;const{props:u,shapeFlag:p,transition:d,dirs:f}=e;if(a=e.el=g(e.type,s,u&&u.is,u),8&p?y(a,e.children):16&p&&x(e.children,a,null,o,r,jr(e,s),i,l),f&&co(e,null,o,"created"),b(a,e,e.scopeId,i,o),u){for(const t in u)"value"===t||re(t)||v(a,t,null,u[t],s,e.children,o,r,R);"value"in u&&v(a,"value",null,u.value,s),(c=u.onVnodeBeforeMount)&&xs(c,o,e)}f&&co(e,null,o,"beforeMount");const h=Br(r,d);h&&d.beforeEnter(a),m(a,t,n),((c=u&&u.onVnodeMounted)||h||f)&&Y(()=>{c&&xs(c,o,e),h&&d.enter(a),f&&co(e,null,o,"mounted")},r)},b=(t,e,n,o,r)=>{if(n&&l(t,n),o)for(let e=0;e<o.length;e++)l(t,o[e]);if(r){if(e===r.subTree){const e=r.vnode;b(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},x=(t,n,o,r,s,i,l,a,c=0)=>{for(let e=c;e<t.length;e++){const c=t[e]=a?ys(t[e]):gs(t[e]);C(null,c,n,o,r,s,i,l,a)}},V=(t,e,n,o,r,s,i)=>{const l=e.el=t.el;let{patchFlag:a,dynamicChildren:c,dirs:u}=e;a|=16&t.patchFlag;const p=t.props||z,d=e.props||z;let f;if(n&&Dr(n,!1),(f=d.onVnodeBeforeUpdate)&&xs(f,n,e,t),u&&co(e,t,n,"beforeUpdate"),n&&Dr(n,!0),c?S(t.dynamicChildren,c,l,n,o,jr(e,r),s):i||A(t,e,l,null,n,o,jr(e,r),s,!1),a>0){if(16&a)w(l,e,p,d,n,o,r);else if(2&a&&p.class!==d.class&&v(l,"class",null,d.class,r),4&a&&v(l,"style",p.style,d.style,r),8&a){const z=e.dynamicProps;for(let e=0;e<z.length;e++){const s=z[e],i=p[s],a=d[s];a===i&&"value"!==s||v(l,s,i,a,r,t.children,n,o,R)}}1&a&&t.children!==e.children&&y(l,e.children)}else i||null!=c||w(l,e,p,d,n,o,r);((f=d.onVnodeUpdated)||u)&&Y(()=>{f&&xs(f,n,e,t),u&&co(e,t,n,"updated")},o)},S=(r,s,i,l,a,c,u)=>{for(let o=0;o<s.length;o++){const e=r[o],t=s[o],n=e.el&&(e.type===ee||!cs(e,t)||70&e.shapeFlag)?_(e.el):i;C(e,t,n,null,l,a,c,u,!0)}},w=(n,o,r,s,i,l,a)=>{if(r!==s){if(r!==z)for(const z in r)re(z)||z in s||v(n,z,r[z],null,a,o.children,i,l,R);for(const z in s){if(re(z))continue;const e=s[z],t=r[z];e!==t&&"value"!==z&&v(n,z,t,e,a,o.children,i,l,R)}"value"in s&&v(n,"value",r.value,s.value,a)}},j=(e,t,n,o,r,s,i,l,a)=>{const c=t.el=e?e.el:h(""),u=t.anchor=e?e.anchor:h("");let{patchFlag:p,dynamicChildren:d,slotScopeIds:f}=t;f&&(l=l?l.concat(f):f),null==e?(m(c,n,o),m(u,n,o),x(t.children||[],n,u,r,s,i,l,a)):p>0&&64&p&&d&&e.dynamicChildren?(S(e.dynamicChildren,d,n,r,s,i,l),(null!=t.key||r&&t===r.subTree)&&Hr(e,t,!0)):A(e,t,n,u,r,s,i,l,a)},D=(e,t,n,o,r,s,i,l,a)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,a):c(t,n,o,r,s,i,a):B(e,t,a)},c=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Ss,s={uid:Cs++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Re(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:br(o,r),emitsOptions:In(o,r),emit:null,emitted:null,propsDefaults:z,inheritAttrs:o.inheritAttrs,ctx:z,data:z,props:z,attrs:z,slots:z,refs:z,setupState:z,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!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,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=Rn.bind(null,s),e.ce&&e.ce(s);return s}(e,o,r);if(Ao(e)&&(l.ctx.renderer=O),function(e,t=!1){t&&As(t);const{props:n,children:o}=e.vnode,r=Es(e);(function(t,e,n,o=!1){const r={},s={};le(s,us,1),t.propsDefaults=Object.create(null),yr(t,e,r,s);for(const e in t.propsOptions[0])e in r||(r[e]=void 0);t.props=n?o?r:jt(r):t.type.props?r:s,t.attrs=s})(e,n,r,t),Pr(e,o);const s=r?function(n,o){const r=n.type;n.accessCache=Object.create(null),n.proxy=Gt(new Proxy(n.ctx,Xo));const{setup:s}=r;if(s){const r=n.setupContext=s.length>1?Ls(n):null,e=ks(n);Be();const t=pn(s,n,0,[n.props,r]);if(He(),e(),oe(t)){if(t.then(Ns,Ns),o)return t.then(e=>{Os(n,e,o)}).catch(e=>{fn(e,n,0)});n.asyncDep=t}else Os(n,t,o)}else Ms(n,o)}(e,t):void 0;t&&As(!1)}(l),l.asyncDep){if(r&&r.registerDep(l,p),!e.el){const e=l.subTree=ne(te);f(null,e,t,n)}}else p(l,e,t,n,r,s,i)},B=(e,t,n)=>{const o=t.component=e.component;if(function(t,e,n){const{props:o,children:r,component:s}=t,{props:i,children:l,patchFlag:a}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&a>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||jn(o,i,c):!!i);if(1024&a)return!0;if(16&a)return o?jn(o,i,c):!!i;if(8&a){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(i[n]!==o[n]&&!On(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void T(o,t,n);o.next=t,function(e){const t=Z.indexOf(e);t>vn&&Z.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},p=(c,s,u,i,p,d,f)=>{const h=()=>{if(c.isMounted){let{next:e,bu:t,u:n,parent:o,vnode:r}=c;{const u=qr(c);if(u)return e&&(e.el=r.el,T(c,e,f)),void u.asyncDep.then(()=>{c.isUnmounted||h()})}let s,i=e;Dr(c,!1),e?(e.el=r.el,T(c,e,f)):e=r,t&&ie(t),(s=e.props&&e.props.onVnodeBeforeUpdate)&&xs(s,o,e,r),Dr(c,!0);const l=Fn(c),a=c.subTree;c.subTree=l,C(a,l,_(a.el),I(a),c,p,d),e.el=l.el,null===i&&Dn(c,l.el),n&&Y(n,p),(s=e.props&&e.props.onVnodeUpdated)&&Y(()=>xs(s,o,e,r),p)}else{let e;const{el:f,props:h}=s,{bm:t,m:n,parent:o}=c,r=wo(s);if(Dr(c,!1),t&&ie(t),!r&&(e=h&&h.onVnodeBeforeMount)&&xs(e,o,s),Dr(c,!0),f&&M){const u=()=>{c.subTree=Fn(c),M(f,c.subTree,c,p,null)};r?s.type.__asyncLoader().then(()=>!c.isUnmounted&&u()):u()}else{const e=c.subTree=Fn(c);C(null,e,u,i,c,p,d),s.el=e.el}if(n&&Y(n,p),!r&&(e=h&&h.onVnodeMounted)){const c=s;Y(()=>xs(e,o,c),p)}(256&s.shapeFlag||o&&wo(o.vnode)&&256&o.vnode.shapeFlag)&&c.a&&Y(c.a,p),c.isMounted=!0,s=u=i=null}},e=c.effect=new $e(h,K,()=>Cn(t),c.scope),t=c.update=()=>{e.dirty&&e.run()};t.id=c.uid,Dr(c,!0),t()},T=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(o,r,s,e){const{props:i,attrs:l,vnode:{patchFlag:t}}=o,a=X(i),[c]=o.propsOptions;let u=!1;if(!(e||t>0)||16&t){let e;yr(o,r,i,l)&&(u=!0);for(const l in a)r&&(J(r,l)||(e=se(l))!==l&&J(r,e))||(c?!s||void 0===s[l]&&void 0===s[e]||(i[l]=_r(c,a,l,void 0,o,!0)):delete i[l]);if(l!==a)for(const o in l)r&&J(r,o)||(delete l[o],u=!0)}else if(8&t){const s=o.vnode.dynamicProps;for(let n=0;n<s.length;n++){let e=s[n];if(On(o.emitsOptions,e))continue;const t=r[e];if(c)if(J(l,e))t!==l[e]&&(l[e]=t,u=!0);else{const r=Q(e);i[r]=_r(c,a,r,t,o,!1)}else t!==l[e]&&(l[e]=t,u=!0)}}u&&et(o,"set","$attrs")}(e,t.props,o,n),Rr(e,t.children,n),Be(),An(e),He()},A=(e,t,n,o,r,s,i,l,a=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:f}=t;if(d>0){if(128&d)return void k(c,p,n,o,r,s,i,l,a);if(256&d)return void H(c,p,n,o,r,s,i,l,a)}8&f?(16&u&&R(c,r,s),p!==c&&y(n,p)):16&u?16&f?k(c,p,n,o,r,s,i,l,a):R(c,r,s,!0):(8&u&&y(n,""),16&f&&x(p,n,o,r,s,i,l,a))},H=(e,t,n,o,r,s,i,l,a)=>{const c=(e=e||G).length,u=(t=t||G).length,p=Math.min(c,u);let d;for(d=0;d<p;d++){const G=t[d]=a?ys(t[d]):gs(t[d]);C(e[d],G,n,null,r,s,i,l,a)}c>u?R(e,r,s,!0,!1,p):x(t,n,o,r,s,i,l,a,p)},k=(u,p,d,f,h,m,v,g,y)=>{let _=0;const b=p.length;let x=u.length-1,S=b-1;for(;_<=x&&_<=S;){const G=u[_],f=p[_]=y?ys(p[_]):gs(p[_]);if(!cs(G,f))break;C(G,f,d,null,h,m,v,g,y),_++}for(;_<=x&&_<=S;){const G=u[x],f=p[S]=y?ys(p[S]):gs(p[S]);if(!cs(G,f))break;C(G,f,d,null,h,m,v,g,y),x--,S--}if(_>x){if(_<=S){const u=S+1,G=u<b?p[u].el:f;for(;_<=S;)C(null,p[_]=y?ys(p[_]):gs(p[_]),d,G,h,m,v,g,y),_++}}else if(_>S)for(;_<=x;)E(u[_],h,m,!0),_++;else{const e=_,t=_,n=new Map;for(_=t;_<=S;_++){const u=p[_]=y?ys(p[_]):gs(p[_]);null!=u.key&&n.set(u.key,_)}let o,r=0;const s=S-t+1;let i=!1,l=0;const a=new Array(s);for(_=0;_<s;_++)a[_]=0;for(_=e;_<=x;_++){const G=u[_];if(r>=s){E(G,h,m,!0);continue}let e;if(null!=G.key)e=n.get(G.key);else for(o=t;o<=S;o++)if(0===a[o-t]&&cs(G,p[o])){e=o;break}void 0===e?E(G,h,m,!0):(a[e-t]=_+1,e>=l?l=e:i=!0,C(G,p[e],d,null,h,m,v,g,y),r++)}const c=i?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const a=e.length;for(o=0;o<a;o++){const a=e[o];if(0!==a){if(r=n[n.length-1],e[r]<a){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<a?s=l+1:i=l;a<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(a):G;for(o=c.length-1,_=s-1;_>=0;_--){const u=t+_,G=p[u],x=u+1<b?p[u+1].el:f;0===a[_]?C(null,G,d,x,h,m,v,g,y):i&&(o<0||_!==c[o]?N(G,d,x,2):o--)}}},N=(e,t,n,o,r=null)=>{const{el:s,type:i,transition:l,children:a,shapeFlag:c}=e;if(6&c)return void N(e.component.subTree,t,n,o);if(128&c)return void e.suspense.move(t,n,o);if(64&c)return void i.move(e,t,n,O);if(i===ee){m(s,t,n);for(let e=0;e<a.length;e++)N(a[e],t,n,o);return void m(e.anchor,t,n)}if(i===Yr)return void(({el:e,anchor:t},n,o)=>{let r;for(;e&&e!==t;)r=u(e),m(e,n,o),e=r;m(t,n,o)})(e,t,n);if(2!==o&&1&c&&l)if(0===o)l.beforeEnter(s),m(s,t,n),Y(()=>l.enter(s),r);else{const{leave:e,delayLeave:o,afterLeave:r}=l,i=()=>m(s,t,n),a=()=>{e(s,()=>{i(),r&&r()})};o?o(s,i,a):a()}else m(s,t,n)},E=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:a,dynamicChildren:c,shapeFlag:u,patchFlag:p,dirs:d}=e;if(null!=l&&Ir(l,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&d,h=!wo(e);let m;if(h&&(m=i&&i.onVnodeBeforeUnmount)&&xs(m,t,e),6&u)W(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,O,o):c&&(s!==ee||p>0&&64&p)?R(c,t,n,!1,!0):(s===ee&&384&p||!r&&16&u)&&R(a,t,n),o&&P(e)}(h&&(m=i&&i.onVnodeUnmounted)||f)&&Y(()=>{m&&xs(m,t,e),f&&co(e,null,t,"unmounted")},n)},P=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===ee)return void q(n,o);if(t===Yr)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=u(e),i(e),e=n;i(t)})(e);const s=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,i=()=>t(n,s);o?o(e.el,s,i):i()}else s()},q=(e,t)=>{let n;for(;e!==t;)n=u(e),i(e),e=n;i(t)},W=(e,t,n)=>{const{bum:o,scope:r,update:s,subTree:i,um:l}=e;o&&ie(o),r.stop(),s&&(s.active=!1,E(i,e,t,n)),l&&Y(l,t),Y(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},R=(t,n,o,r=!1,s=!1,i=0)=>{for(let e=i;e<t.length;e++)E(t[e],n,o,r,s)},I=e=>6&e.shapeFlag?I(e.component.subTree):128&e.shapeFlag?e.suspense.next():u(e.anchor||e.el);let o=!1;const n=(e,t,n)=>{null==e?t._vnode&&E(t._vnode,null,null,!0):C(t._vnode||null,e,t,null,null,null,n),o||(o=!0,An(),kn(),o=!1),t._vnode=e},O={p:C,um:E,m:N,r:P,mt:c,mc:x,pc:A,pbc:S,n:I,o:e};let $,M;return t&&([$,M]=t(O)),{render:n,hydrate:$,createApp:hr(n,$)}}function jr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Dr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Br(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Hr(n,e,o=!1){const r=n.children,s=e.children;if(E(r)&&E(s))for(let t=0;t<r.length;t++){const n=r[t];let e=s[t];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=s[t]=ys(s[t]),e.el=n.el),o||Hr(n,e)),e.type===Zr&&(e.el=n.el)}}function qr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qr(t)}const Wr=e=>e&&(e.disabled||""===e.disabled),zr=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Gr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Kr=(e,t)=>{const n=e&&e.to;if(T(n)){if(t){return t(n)}return null}return n};function Jr(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:c,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||Wr(u))&&16&a)for(let e=0;e<c.length;e++)r(c[e],t,n,2);p&&o(l,t,n)}const Qr={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,s,i,l,a,c){const{mc:u,pc:p,pbc:d,o:{insert:f,querySelector:h,createText:m}}=c,v=Wr(t.props);let{shapeFlag:g,children:y,dynamicChildren:_}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,o),f(c,n,o);const p=t.target=Kr(t.props,h),d=t.targetAnchor=m("");p&&(f(d,p),"svg"===i||zr(p)?i="svg":("mathml"===i||Gr(p))&&(i="mathml"));const _=(e,t)=>{16&g&&u(y,e,t,r,s,i,l,a)};v?_(n,c):p&&_(p,d)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=Wr(e.props),g=m?n:u,y=m?o:f;if("svg"===i||zr(u)?i="svg":("mathml"===i||Gr(u))&&(i="mathml"),_?(d(e.dynamicChildren,_,g,r,s,i,l),Hr(e,t,!0)):a||p(e,t,g,y,r,s,i,l,!1),v)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Jr(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Kr(t.props,h);e&&Jr(t,e,null,c,0)}else m&&Jr(t,u,f,c,1)}Xr(t)},remove(t,n,o,e,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:p,props:d}=t;if(p&&s(u),i&&s(c),16&l){const t=i||!Wr(d);for(let e=0;e<a.length;e++){const s=a[e];r(s,n,o,t,!!s.dynamicChildren)}}},move:Jr,hydrate:function(t,n,o,r,s,i,{o:{nextSibling:l,parentNode:e,querySelector:a}},c){const u=n.target=Kr(n.props,a);if(u){const a=u._lpa||u.firstChild;if(16&n.shapeFlag)if(Wr(n.props))n.anchor=c(l(t),n,e(t),o,r,s,i),n.targetAnchor=a;else{n.anchor=l(t);let e=a;for(;e;)if(e=l(e),e&&8===e.nodeType&&"teleport anchor"===e.data){n.targetAnchor=e,u._lpa=n.targetAnchor&&l(n.targetAnchor);break}c(a,n,u,o,r,s,i)}Xr(n)}return n.anchor&&l(n.anchor)}};function Xr(t){const n=t.ctx;if(n&&n.ut){let e=t.children[0].el;for(;e&&e!==t.targetAnchor;)1===e.nodeType&&e.setAttribute("data-v-owner",n.uid),e=e.nextSibling;n.ut()}}const ee=Symbol.for("v-fgt"),Zr=Symbol.for("v-txt"),te=Symbol.for("v-cmt"),Yr=Symbol.for("v-stc"),es=[];let ts=null;function ns(e=!1){es.push(ts=e?null:[])}function os(){es.pop(),ts=es[es.length-1]||null}let rs=1;function ss(e){rs+=e}function is(e){return e.dynamicChildren=rs>0?ts||G:null,os(),rs>0&&ts&&ts.push(e),e}function ls(e,t,n,o,r){return is(ne(e,t,n,o,r,!0))}function as(e){return!!e&&!0===e.__v_isVNode}function cs(e,t){return e.type===t.type&&e.key===t.key}const us="__vInternal",ps=({key:e})=>null!=e?e:null,ds=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?T(e)||O(e)||R(e)?{i:c,r:e,k:t,f:!!n}:e:null);function fs(e,t=null,n=null,o=0,r=null,s=e===ee?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ps(t),ref:t&&ds(t),scopeId:$n,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:c};return l?(_s(a,n),128&s&&e.normalize(a)):n&&(a.shapeFlag|=T(n)?8:16),rs>0&&!i&&ts&&(a.patchFlag>0||6&s)&&32!==a.patchFlag&&ts.push(a),a}const ne=function(e,n=null,t=null,o=0,r=null,s=!1){e&&e!==Hn||(e=te);if(as(e)){const o=ms(e,n,!0);return t&&_s(o,t),rs>0&&!s&&ts&&(6&o.shapeFlag?ts[ts.indexOf(e)]=o:ts.push(o)),o.patchFlag|=-2,o}i=e,R(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(n){n=hs(n);let{class:e,style:t}=n;e&&!T(e)&&(n.class=ye(e)),I(t)&&(zt(t)&&!E(t)&&(t=N({},t)),n.style=fe(t))}const l=T(e)?1:zn(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:R(e)?2:0;return fs(e,n,t,o,r,l,s,!0)};function hs(e){return e?zt(e)||us in e?N({},e):e:null}function ms(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?bs(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ps(l),ref:t&&t.ref?n&&r?E(r)?r.concat(ds(t)):[r,ds(t)]:ds(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ee?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ms(e.ssContent),ssFallback:e.ssFallback&&ms(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function vs(e=" ",t=0){return ne(Zr,null,e,t)}function gs(e){return null==e||"boolean"==typeof e?ne(te):E(e)?ne(ee,null,e.slice()):"object"==typeof e?ys(e):ne(Zr,null,String(e))}function ys(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ms(e)}function _s(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(E(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),_s(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||us in t?3===o&&c&&(1===c.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=c}}else R(t)?(t={default:t,_ctx:c},n=32):(t=String(t),64&o?(n=16,t=[vs(t)]):n=8);e.children=t,e.shapeFlag|=n}function bs(...o){const r={};for(let e=0;e<o.length;e++){const n=o[e];for(const o in n)if("class"===o)r.class!==n.class&&(r.class=ye([r.class,n.class]));else if("style"===o)r.style=fe([r.style,n.style]);else if(P(o)){const e=r[o],t=n[o];!t||e===t||E(e)&&e.includes(t)||(r[o]=e?[].concat(e,t):t)}else""!==o&&(r[o]=n[o])}return r}function xs(e,t,n,o=null){dn(e,t,7,[n,o])}const Ss=dr();let Cs=0;let _=null;const ws=()=>_||c;let Ts,As;Ts=e=>{_=e},As=e=>{Is=e};const ks=e=>{const t=_;return Ts(e),e.scope.on(),()=>{e.scope.off(),Ts(t)}},Ns=()=>{_&&_.scope.off(),Ts(null)};function Es(e){return 4&e.vnode.shapeFlag}let Ps,Rs,Is=!1;function Os(e,t,n){R(t)?e.render=t:I(t)&&(e.setupState=rn(t)),Ms(e,n)}function $s(e){Ps=e,Rs=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Zo))}}function Ms(o,r,s){const i=o.type;if(!o.render){if(!r&&Ps&&!i.render){const r=i.template||sr(o).template;if(r){const{isCustomElement:s,compilerOptions:K}=o.appContext.config,{delimiters:e,compilerOptions:t}=i,n=N(N({isCustomElement:s,delimiters:e},K),t);i.render=Ps(r,n)}}o.render=i.render||K,Rs&&Rs(o)}{const r=ks(o);Be();try{nr(o)}finally{He(),r()}}}function Ls(t){const e=e=>{t.exposed=e||{}};return{get attrs(){return function(n){return n.attrsProxy||(n.attrsProxy=new Proxy(n.attrs,{get:(e,t)=>(f(n,0,"$attrs"),e[t])}))}(t)},slots:t.slots,emit:t.emit,expose:e}}function Fs(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(rn(Gt(n.exposed)),{get:(e,t)=>t in e?e[t]:t in Jo?Jo[t](n):void 0,has:(e,t)=>t in e||t in Jo}))}function Us(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}const Vs=(e,t)=>function(e,t,n=!1){let o,r;const s=R(e);return s?(o=e,r=K):(o=e.get,r=e.set),new Qt(o,r,s||!r,n)}(e,0,Is);function js(e,t,n){const o=arguments.length;return 2===o?I(t)&&!E(t)?as(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&as(n)&&(n=[n]),ne(e,t,n))}function Ds(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(W(n[e],t[e]))return!1;return rs>0&&ts&&ts.push(e),!0}const Bs="3.4.15",Hs=K,qs=K,Ws="undefined"!=typeof document?document:null,zs=Ws&&Ws.createElement("template"),Gs={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Ws.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ws.createElementNS("http://www.w3.org/1998/Math/MathML",e):Ws.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ws.createTextNode(e),createComment:e=>Ws.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ws.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==s&&(r=r.nextSibling););else{zs.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=zs.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ks="transition",Js="animation",Qs=Symbol("_vtc"),Xs=(e,{slots:t})=>js(vo,ni(e),t);Xs.displayName="Transition";const Zs={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ys=Xs.props=N({},mo,Zs),ei=(e,t=[])=>{E(e)?e.forEach(e=>e(...t)):e&&e(...t)},ti=e=>!!e&&(E(e)?e.some(e=>e.length>1):e.length>1);function ni(e){const t={};for(const N in e)N in Zs||(t[N]=e[N]);if(!1===e.css)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:c=r,appearToClass:u=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=function(t){if(null==t)return null;if(I(t))return[oi(t.enter),oi(t.leave)];{const e=oi(t);return[e,e]}}(o),m=h&&h[0],v=h&&h[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:x,onBeforeAppear:S=g,onAppear:C=y,onAppearCancelled:w=_}=t,T=(e,t,n)=>{si(e,t?u:l),si(e,t?c:r),n&&n()},A=(e,t)=>{e._isLeaving=!1,si(e,p),si(e,f),si(e,d),t&&t()},k=r=>(e,t)=>{const n=r?C:y,o=()=>T(e,r,t);ei(n,[e,o]),ii(()=>{si(e,r?a:i),ri(e,r?u:l),ti(n)||ai(e,s,m,o)})};return N(t,{onBeforeEnter(e){ei(g,[e]),ri(e,i),ri(e,r)},onBeforeAppear(e){ei(S,[e]),ri(e,a),ri(e,c)},onEnter:k(!1),onAppear:k(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);ri(e,p),di(),ri(e,d),ii(()=>{e._isLeaving&&(si(e,p),ri(e,f),ti(b)||ai(e,s,v,n))}),ei(b,[e,n])},onEnterCancelled(e){T(e,!1),ei(_,[e])},onAppearCancelled(e){T(e,!0),ei(w,[e])},onLeaveCancelled(e){A(e),ei(x,[e])}})}function oi(e){return ce(e)}function ri(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[Qs]||(t[Qs]=new Set)).add(e)}function si(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const n=t[Qs];n&&(n.delete(e),n.size||(t[Qs]=void 0))}function ii(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let li=0;function ai(t,e,n,o){const r=t._endId=++li,s=()=>{r===t._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=ci(t,e);if(!i)return o();const c=i+"end";let u=0;const p=()=>{t.removeEventListener(c,d),s()},d=e=>{e.target===t&&++u>=a&&p()};setTimeout(()=>{u<a&&p()},l+1),t.addEventListener(c,d)}function ci(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${Ks}Delay`),s=o(`${Ks}Duration`),i=ui(r,s),l=o(`${Js}Delay`),a=o(`${Js}Duration`),c=ui(l,a);let u=null,p=0,d=0;t===Ks?i>0&&(u=Ks,p=i,d=s.length):t===Js?c>0&&(u=Js,p=c,d=a.length):(p=Math.max(i,c),u=p>0?i>c?Ks:Js:null,d=u?u===Ks?s.length:a.length:0);return{type:u,timeout:p,propCount:d,hasTransform:u===Ks&&/\b(transform|all)(,|$)/.test(o(`${Ks}Property`).toString())}}function ui(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max(...e.map((e,t)=>pi(e)+pi(n[t])))}function pi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function di(){return document.body.offsetHeight}const fi=Symbol("_vod"),hi={beforeMount(e,{value:t},{transition:n}){e[fi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):mi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),mi(e,!0),o.enter(e)):o.leave(e,()=>{mi(e,!1)}):mi(e,t))},beforeUnmount(e,{value:t}){mi(e,t)}};function mi(e,t){e.style.display=t?e[fi]:"none"}const vi=Symbol("");function gi(n,o){if(128&n.shapeFlag){const e=n.suspense;n=e.activeBranch,e.pendingBranch&&!e.isHydrating&&e.effects.push(()=>{gi(e.activeBranch,o)})}for(;n.component;)n=n.component.subTree;if(1&n.shapeFlag&&n.el)yi(n.el,o);else if(n.type===ee)n.children.forEach(e=>gi(e,o));else if(n.type===Yr){let{el:e,anchor:t}=n;for(;e&&(yi(e,o),e!==t);)e=e.nextSibling}}function yi(n,o){if(1===n.nodeType){const e=n.style;let t="";for(const n in o)e.setProperty(`--${n}`,o[n]),t+=`--${n}: ${o[n]};`;e[vi]=t}}const _i=/\s*!important$/;function bi(t,n,o){if(E(o))o.forEach(e=>bi(t,n,e));else if(null==o&&(o=""),n.startsWith("--"))t.setProperty(n,o);else{const e=function(t,n){const o=Si[n];if(o)return o;let r=Q(n);if("filter"!==r&&r in t)return Si[n]=r;r=H(r);for(let e=0;e<xi.length;e++){const o=xi[e]+r;if(o in t)return Si[n]=o}return n}(t,n);_i.test(o)?t.setProperty(se(e),o.replace(_i,""),"important"):t[e]=o}}const xi=["Webkit","Moz","ms"],Si={};const Ci="http://www.w3.org/1999/xlink";function wi(e,t,n,o){e.addEventListener(t,n,o)}const Ti=Symbol("_vei");function Ai(t,n,o,r,s=null){const i=t[Ti]||(t[Ti]={}),l=i[n];if(r&&l)l.value=r;else{const[o,e]=function(t){let n;if(ki.test(t)){let e;for(n={};e=t.match(ki);)t=t.slice(0,t.length-e[0].length),n[e[0].toLowerCase()]=!0}const e=":"===t[2]?t.slice(3):se(t.slice(2));return[e,n]}(n);if(r){const l=i[n]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();dn(function(t,n){if(E(n)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},n.map(t=>e=>!e._stopped&&t&&t(e))}return n}(e,n.value),t,5,[e])};return n.value=e,n.attached=Pi(),n}(r,s);wi(t,o,l,e)}else l&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(t,o,l,e),i[n]=void 0)}}const ki=/(?:Once|Passive|Capture)$/;let Ni=0;const Ei=Promise.resolve(),Pi=()=>Ni||(Ei.then(()=>Ni=0),Ni=Date.now());const Ri=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;function Ii(e,t){const n=Co(e);class o extends $i{constructor(e){super(n,e,t)}}return o.def=n,o}const Oi="undefined"!=typeof HTMLElement?HTMLElement:class{};class $i extends Oi{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Sn(()=>{this._connected||(dl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(t=>{for(const e of t)this._setAttr(e.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(t,e=!1)=>{const{props:n,styles:o}=t;let r;if(n&&!E(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=ce(this._props[e])),(r||(r=Object.create(null)))[Q(e)]=!0)}this._numberProps=r,e&&this._resolveProps(t),this._applyStyles(o),this._update()},e=this._def.__asyncLoader;e?e().then(e=>t(e,!0)):t(this._def)}_resolveProps(e){const{props:t}=e,n=E(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e],!0,!1);for(const t of n.map(Q))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(e){this._setProp(t,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=Q(e);this._numberProps&&this._numberProps[n]&&(t=ce(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(se(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(se(e),t+""):t||this.removeAttribute(se(e))))}_update(){dl(this._createVNode(),this.shadowRoot)}_createVNode(){const e=ne(this._def,N({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const n=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...t)=>{n(e,t),se(e)!==e&&n(se(e),t)};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof $i){e.parent=t._instance,e.provides=t._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)})}}const Mi=new WeakMap,Li=new WeakMap,Fi=Symbol("_moveCb"),Ui=Symbol("_enterCb"),Vi={name:"TransitionGroup",props:N({},Ys,{tag:String,moveClass:String}),setup(o,{slots:r}){const s=ws(),i=fo();let l,a;return jo(()=>{if(!l.length)return;const r=o.moveClass||`${o.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode(),r=e[Qs];r&&r.forEach(e=>{e.split(/\s+/).forEach(e=>e&&o.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&o.classList.add(e)),o.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(o);const{hasTransform:i}=ci(o);return s.removeChild(o),i}(l[0].el,s.vnode.el,r))return;l.forEach(Di),l.forEach(Bi);const e=l.filter(Hi);di(),e.forEach(e=>{const t=e.el,n=t.style;ri(t,r),n.transform=n.webkitTransform=n.transitionDuration="";const o=t[Fi]=e=>{e&&e.target!==t||e&&!/transform$/.test(e.propertyName)||(t.removeEventListener("transitionend",o),t[Fi]=null,si(t,r))};t.addEventListener("transitionend",o)})}),()=>{const e=X(o),t=ni(e);let n=e.tag||ee;l=a,a=r.default?So(r.default()):[];for(let e=0;e<a.length;e++){const r=a[e];null!=r.key&&xo(r,yo(r,t,i,s))}if(l)for(let e=0;e<l.length;e++){const r=l[e];xo(r,yo(r,t,i,s)),Mi.set(r,r.el.getBoundingClientRect())}return ne(n,null,a)}}},ji=Vi;function Di(e){const t=e.el;t[Fi]&&t[Fi](),t[Ui]&&t[Ui]()}function Bi(e){Li.set(e,e.el.getBoundingClientRect())}function Hi(e){const t=Mi.get(e),n=Li.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const qi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return E(t)?e=>ie(t,e):t};function Wi(e){e.target.composing=!0}function zi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gi=Symbol("_assign"),Ki={created(n,{modifiers:{lazy:e,trim:o,number:t}},r){n[Gi]=qi(r);const s=t||r.props&&"number"===r.props.type;wi(n,e?"change":"input",e=>{if(e.target.composing)return;let t=n.value;o&&(t=t.trim()),s&&(t=ae(t)),n[Gi](t)}),o&&wi(n,"change",()=>{n.value=n.value.trim()}),e||(wi(n,"compositionstart",Wi),wi(n,"compositionend",zi),wi(n,"change",zi))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e[Gi]=qi(s),e.composing)return;const i=null==t?"":t;if((r||"number"===e.type?ae(e.value):e.value)!==i){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===i)return}e.value=i}}},Ji={deep:!0,created(s,e,t){s[Gi]=qi(t),wi(s,"change",()=>{const t=s._modelValue,n=el(s),o=s.checked,r=s[Gi];if(E(t)){const s=Ae(t,n),e=-1!==s;if(o&&!e)r(t.concat(n));else if(!o&&e){const n=[...t];n.splice(s,1),r(n)}}else if(g(t)){const s=new Set(t);o?s.add(n):s.delete(n),r(s)}else r(tl(s,o))})},mounted:Qi,beforeUpdate(e,t,n){e[Gi]=qi(n),Qi(e,t,n)}};function Qi(e,{value:t,oldValue:n},o){e._modelValue=t,E(t)?e.checked=Ae(t,o.props.value)>-1:g(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Te(t,tl(e,!0)))}const Xi={created(e,{value:t},n){e.checked=Te(t,n.props.value),e[Gi]=qi(n),wi(e,"change",()=>{e[Gi](el(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[Gi]=qi(o),t!==n&&(e.checked=Te(t,o.props.value))}},Zi={deep:!0,created(t,{value:e,modifiers:{number:n}},o){const r=g(e);wi(t,"change",()=>{const e=Array.prototype.filter.call(t.options,e=>e.selected).map(e=>n?ae(el(e)):el(e));t[Gi](t.multiple?r?new Set(e):e:e[0]),t._assigning=!0,Sn(()=>{t._assigning=!1})}),t[Gi]=qi(o)},mounted(e,{value:t,oldValue:n,modifiers:{number:o}}){Yi(e,t,n,o)},beforeUpdate(e,t,n){e[Gi]=qi(n)},updated(e,{value:t,oldValue:n,modifiers:{number:o}}){e._assigning||Yi(e,t,n,o)}};function Yi(o,r,e,s){const i=o.multiple,l=E(r);if((!i||l||g(r))&&(!l||!Te(r,e))){for(let n=0,e=o.options.length;n<e;n++){const e=o.options[n],t=el(e);if(i)if(l){const o=typeof t;e.selected="string"===o||"number"===o?r.includes(s?ae(t):t):Ae(r,t)>-1}else e.selected=r.has(t);else if(Te(el(e),r))return void(o.selectedIndex!==n&&(o.selectedIndex=n))}i||-1===o.selectedIndex||(o.selectedIndex=-1)}}function el(e){return"_value"in e?e._value:e.value}function tl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const nl={created(e,t,n){ol(e,t,n,null,"created")},mounted(e,t,n){ol(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){ol(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){ol(e,t,n,o,"updated")}};function ol(e,t,n,o,r){const s=function(e,t){switch(e){case"SELECT":return Zi;case"TEXTAREA":return Ki;default:switch(t){case"checkbox":return Ji;case"radio":return Xi;default:return Ki}}}(e.tagName,n.props&&n.props.type)[r];s&&s(e,t,n,o)}const rl=["ctrl","shift","alt","meta"],sl={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:(t,n)=>rl.some(e=>t[`${e}Key`]&&!n.includes(e))},il={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ll=N({patchProp:(e,t,n,o,r,s,i,l,a)=>{const c="svg"===r;"class"===t?function(e,t,n){const o=e[Qs];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,c):"style"===t?function(e,t,n){const o=e.style,r=o.display,s=T(n);if(n&&!s){if(t&&!T(t))for(const e in t)null==n[e]&&bi(o,e,"");for(const e in n)bi(o,e,n[e])}else if(s){if(t!==n){const e=o[vi];e&&(n+=";"+e),o.cssText=n}}else t&&e.removeAttribute("style");fi in e&&(o.display=r)}(e,n,o):P(t)?b(t)||Ai(e,t,0,o,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ri(t)&&R(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ri(t)&&T(n))return!1;return t in e}(e,t,o,c))?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){e._value=n;const o=null==n?"":n;return("OPTION"===l?e.getAttribute("value"):e.value)!==o&&(e.value=o),void(null==n&&e.removeAttribute(t))}let a=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=we(n):null==n&&"string"===o?(n="",a=!0):"number"===o&&(n=0,a=!0)}try{e[t]=n}catch(e){}a&&e.removeAttribute(t)}(e,t,o,s,i,l,a):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ci,t.slice(6,t.length)):e.setAttributeNS(Ci,t,n);else{const o=Ce(t);null==n||o&&!we(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,c))}},Gs);let al,cl=!1;function ul(){return al||(al=Fr(ll))}function pl(){return al=cl?al:Ur(ll),cl=!0,al}const dl=(...e)=>{ul().render(...e)},fl=(...e)=>{pl().hydrate(...e)};function hl(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function ml(e){if(T(e)){return document.querySelector(e)}return e}const vl=K,gl=Symbol(""),yl=Symbol(""),_l=Symbol(""),bl=Symbol(""),xl=Symbol(""),Sl=Symbol(""),Cl=Symbol(""),wl=Symbol(""),Tl=Symbol(""),Al=Symbol(""),kl=Symbol(""),Nl=Symbol(""),El=Symbol(""),Pl=Symbol(""),Rl=Symbol(""),Il=Symbol(""),Ol=Symbol(""),$l=Symbol(""),Ml=Symbol(""),Ll=Symbol(""),Fl=Symbol(""),Ul=Symbol(""),Vl=Symbol(""),jl=Symbol(""),Dl=Symbol(""),Bl=Symbol(""),Hl=Symbol(""),ql=Symbol(""),Wl=Symbol(""),zl=Symbol(""),Gl=Symbol(""),Kl=Symbol(""),Jl=Symbol(""),Ql=Symbol(""),Xl=Symbol(""),Zl=Symbol(""),Yl=Symbol(""),ea=Symbol(""),ta=Symbol(""),na={[gl]:"Fragment",[yl]:"Teleport",[_l]:"Suspense",[bl]:"KeepAlive",[xl]:"BaseTransition",[Sl]:"openBlock",[Cl]:"createBlock",[wl]:"createElementBlock",[Tl]:"createVNode",[Al]:"createElementVNode",[kl]:"createCommentVNode",[Nl]:"createTextVNode",[El]:"createStaticVNode",[Pl]:"resolveComponent",[Rl]:"resolveDynamicComponent",[Il]:"resolveDirective",[Ol]:"resolveFilter",[$l]:"withDirectives",[Ml]:"renderList",[Ll]:"renderSlot",[Fl]:"createSlots",[Ul]:"toDisplayString",[Vl]:"mergeProps",[jl]:"normalizeClass",[Dl]:"normalizeStyle",[Bl]:"normalizeProps",[Hl]:"guardReactiveProps",[ql]:"toHandlers",[Wl]:"camelize",[zl]:"capitalize",[Gl]:"toHandlerKey",[Kl]:"setBlockTracking",[Jl]:"pushScopeId",[Ql]:"popScopeId",[Xl]:"withCtx",[Zl]:"unref",[Yl]:"isRef",[ea]:"withMemo",[ta]:"isMemoSame"};const oa={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function ra(e,t,n,o,r,s,i,l=!1,a=!1,c=!1,u=oa){return e&&(l?(e.helper(Sl),e.helper(pa(e.inSSR,c))):e.helper(ua(e.inSSR,c)),i&&e.helper($l)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function sa(e,t=oa){return{type:17,loc:t,elements:e}}function ia(e,t=oa){return{type:15,loc:t,properties:e}}function A(e,t){return{type:16,loc:oa,key:T(e)?k(e,!0):e,value:t}}function k(e,t=!1,n=oa,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function la(e,t=oa){return{type:8,loc:t,children:e}}function $(e,t=[],n=oa){return{type:14,loc:n,callee:e,arguments:t}}function aa(e,t=void 0,n=!1,o=!1,r=oa){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ca(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:oa}}function ua(e,t){return e||t?Tl:Al}function pa(e,t){return e||t?Cl:wl}function da(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ua(o,e.isComponent)),t(Sl),t(pa(o,e.isComponent)))}const fa=new Uint8Array([123,123]),ha=new Uint8Array([125,125]);function ma(e){return e>=97&&e<=122||e>=65&&e<=90}function va(e){return 32===e||10===e||9===e||12===e||13===e}function ga(e){return 47===e||62===e||va(e)}function ya(t){const n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}const n={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};function _a(e){throw e}function ba(e){}function M(e,t,n,o){const r=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return r.code=e,r.loc=t,r}const xa=e=>4===e.type&&e.isStatic;function Sa(e){switch(e){case"Teleport":case"teleport":return yl;case"Suspense":case"suspense":return _l;case"KeepAlive":case"keep-alive":return bl;case"BaseTransition":case"base-transition":return xl}}const Ca=/^\d|[^\$\w]/,wa=e=>!Ca.test(e),Ta=/[A-Za-z_$\xA0-\uFFFF]/,Aa=/[\.\?\w$\xA0-\uFFFF]/,ka=/\s+[.[]\s*|\s*[.[]\s+/g,Na=n=>{n=n.trim().replace(ka,e=>e.trim());let o=0,r=[],s=0,i=0,l=null;for(let t=0;t<n.length;t++){const e=n.charAt(t);switch(o){case 0:if("["===e)r.push(o),o=1,s++;else if("("===e)r.push(o),o=2,i++;else if(!(0===t?Ta:Aa).test(e))return!1;break;case 1:"'"===e||'"'===e||"`"===e?(r.push(o),o=3,l=e):"["===e?s++:"]"===e&&(--s||(o=r.pop()));break;case 2:if("'"===e||'"'===e||"`"===e)r.push(o),o=3,l=e;else if("("===e)i++;else if(")"===e){if(t===n.length-1)return!1;--i||(o=r.pop())}break;case 3:e===l&&(o=r.pop(),l=null)}}return!s&&!i};function Ea(n,o,r=!1){for(let t=0;t<n.props.length;t++){const e=n.props[t];if(7===e.type&&(r||e.exp)&&(T(o)?e.name===o:o.test(e.name)))return e}}function Pa(n,o,r=!1,s=!1){for(let t=0;t<n.props.length;t++){const e=n.props[t];if(6===e.type){if(r)continue;if(e.name===o&&(e.value||s))return e}else if("bind"===e.name&&(e.exp||s)&&Ra(e.arg,o))return e}}function Ra(e,t){return!(!e||!xa(e)||e.content!==t)}function Ia(e){return 5===e.type||2===e.type}function Oa(e){return 7===e.type&&"slot"===e.name}function $a(e){return 1===e.type&&3===e.tagType}function Ma(e){return 1===e.type&&2===e.tagType}const La=new Set([Bl,Hl]);function Fa(t,n=[]){if(t&&!T(t)&&14===t.type){const e=t.callee;if(!T(e)&&La.has(e))return Fa(t.arguments[0],n.concat(t))}return[t,n]}function Ua(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!T(s)&&14===s.type){const e=Fa(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||T(s))o=ia([t]);else if(14===s.type){const e=s.arguments[0];T(e)||15!==e.type?s.callee===ql?o=$(n.helper(Vl),[ia([t]),s]):s.arguments.unshift(ia([t])):Va(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(Va(t,s)||s.properties.unshift(t),o=s):(o=$(n.helper(Vl),[ia([t]),s]),r&&r.callee===Hl&&(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 Va(e,n){let o=!1;if(4===e.key.type){const t=e.key.content;o=n.properties.some(e=>4===e.key.type&&e.key.content===t)}return o}function ja(n,e){return`_${e}_${n.replace(/[^\w]/g,(e,t)=>"-"===e?"_":n.charCodeAt(t).toString())}`}const Da=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ba={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:o,isPreTag:o,isCustomElement:o,onError:_a,onWarn:ba,comments:!1,prefixIdentifiers:!1};let u=Ba,Ha=null,qa="",s=null,i=null,Wa="",za=-1,Ga=-1,Ka=0,Ja=!1,Qa=null;const l=[],a=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=fa,this.delimiterClose=ha,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=fa,this.delimiterClose=ha}getPos(n){let o=1,r=n+1;for(let t=this.newlines.length-1;t>=0;t--){const e=this.newlines[t];if(n>e){o=t+2,r=n-e;break}}return{column:r,line:o,offset:n}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.state=this.inRCDATA?32:1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?ga(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(62===t||va(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart<e){const t=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=t}return this.sectionStart=e+2,this.stateInClosingTagName(t),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|t)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===n.TitleEnd||this.currentSequence===n.TextareaEnd&&!this.inSFCRoot?t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===t)}stateCDATASequence(e){e===n.Cdata[this.sequenceIndex]?++this.sequenceIndex===n.Cdata.length&&(this.state=28,this.currentSequence=n.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);if(10===e&&this.newlines.push(this.index),e===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===n.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(t){if(33===t)this.state=22,this.sectionStart=this.index+1;else if(63===t)this.state=24,this.sectionStart=this.index+1;else if(ma(t))if(this.sectionStart=this.index,0===this.mode)this.state=6;else if(this.inSFCRoot)this.state=34;else if(this.inXML)this.state=6;else{const e=32|t;this.state=116===e?30:115===e?29:6}else 47===t?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(e){ga(e)&&this.handleTagName(e)}stateInSFCRootTagName(t){if(ga(t)){const e=this.buffer.slice(this.sectionStart,this.index);"template"!==e&&this.enterRCDATA(ya("</"+e),0),this.handleTagName(t)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){va(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=ma(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||va(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.state=this.inRCDATA?32:1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):va(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):va(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||ga(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||ga(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||ga(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||ga(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||ga(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):va(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):va(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){va(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=n.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=32|e;t===n.ScriptEnd[3]?this.startSpecial(n.ScriptEnd,4):t===n.StyleEnd[3]?this.startSpecial(n.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=32|e;t===n.TitleEnd[3]?this.startSpecial(n.TitleEnd,4):t===n.TextareaEnd[3]?this.startSpecial(n.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===n.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(l,{onerr:fc,ontext(e,t){ec(p(e,t),e,t)},ontextentity(e,t,n){ec(e,t,n)},oninterpolation(e,t){if(Ja)return ec(p(e,t),e,t);let n=e+a.delimiterOpen.length,o=t-a.delimiterClose.length;for(;va(qa.charCodeAt(n));)n++;for(;va(qa.charCodeAt(o-1));)o--;let r=p(n,o);r.includes("&")&&(r=u.decodeEntities(r,!1)),cc({type:5,content:dc(r,!1,d(n,o)),loc:d(e,t)})},onopentagname(e,t){const n=p(e,t);s={type:1,tag:n,ns:u.getNamespace(n,l[0],u.ns),tagType:0,props:[],children:[],loc:d(e-1,t),codegenNode:void 0}},onopentagend(e){Ya(e)},onclosetag(t,n){const o=p(t,n);if(!u.isVoidTag(o)){let e=!1;for(let t=0;t<l.length;t++){if(l[t].tag.toLowerCase()===o.toLowerCase()){e=!0;for(let e=0;e<=t;e++){tc(l.shift(),n,e<t)}break}}e||nc(t,60)}},onselfclosingtag(e){var t;const n=s.tag;s.isSelfClosing=!0,Ya(e),(null==(t=l[0])?void 0:t.tag)===n&&tc(l.shift(),e)},onattribname(e,t){i={type:6,name:p(e,t),nameLoc:d(e,t),value:void 0,loc:d(e)}},ondirname(t,e){const n=p(t,e),o="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Ja||""===o)i={type:6,name:n,nameLoc:d(t,e),value:void 0,loc:d(t)};else if(i={type:7,name:o,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?["prop"]:[],loc:d(t)},"pre"===o){Ja=a.inVPre=!0,Qa=s;const t=s.props;for(let e=0;e<t.length;e++)7===t[e].type&&(t[e]=pc(t[e]))}},ondirarg(t,n){if(t===n)return;const o=p(t,n);if(Ja)i.name+=o,uc(i.nameLoc,n);else{const e="["!==o[0];i.arg=dc(e?o:o.slice(1,-1),e,d(t,n),e?3:0)}},ondirmodifier(e,t){const n=p(e,t);if(Ja)i.name+="."+n,uc(i.nameLoc,t);else if("slot"===i.name){const e=i.arg;e&&(e.content+="."+n,uc(e.loc,t))}else i.modifiers.push(n)},onattribdata(e,t){Wa+=p(e,t),za<0&&(za=e),Ga=t},onattribentity(e,t,n){Wa+=e,za<0&&(za=t),Ga=n},onattribnameend(e){const t=p(i.loc.start.offset,e);7===i.type&&(i.rawName=t),s.props.some(e=>(7===e.type?e.rawName:e.name)===t)},onattribend(e,t){if(s&&i){if(uc(i.loc,t),0!==e)if(Wa.includes("&")&&(Wa=u.decodeEntities(Wa,!0)),6===i.type)"class"===i.name&&(Wa=ac(Wa).trim()),i.value={type:2,content:Wa,loc:1===e?d(za,Ga):d(za-1,Ga+1)},a.inSFCRoot&&"template"===s.tag&&"lang"===i.name&&Wa&&"html"!==Wa&&a.enterRCDATA(ya("</template"),0);else{let e=0;i.exp=dc(Wa,!1,d(za,Ga),0,e),"for"===i.name&&(i.forParseResult=function(t){const r=t.loc,n=t.content,o=n.match(Da);if(!o)return;const[,e,s]=o,i=(e,t,n=!1)=>{const o=r.start.offset+t;return dc(e,!1,d(o,o+e.length),0,n?1:0)},l={source:i(s.trim(),n.indexOf(s,e.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=e.trim().replace(Za,"").trim();const c=e.indexOf(a),u=a.match(Xa);if(u){a=a.replace(Xa,"").trim();const t=u[1].trim();let e;if(t&&(e=n.indexOf(t,c+a.length),l.key=i(t,e,!0)),u[2]){const o=u[2].trim();o&&(l.index=i(o,n.indexOf(o,l.key?e+t.length:c+a.length),!0))}}a&&(l.value=i(a,c,!0));return l}(i.exp))}7===i.type&&"pre"===i.name||s.props.push(i)}Wa="",za=Ga=-1},oncomment(e,t){u.comments&&cc({type:3,content:p(e,t),loc:d(e-4,t+3)})},onend(){const t=qa.length;for(let e=0;e<l.length;e++)tc(l[e],t-1)},oncdata(e,t){0!==l[0].ns&&ec(p(e,t),e,t)},onprocessinginstruction(e){0===(l[0]?l[0].ns:u.ns)&&fc(21,e-1)}}),Xa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Za=/^\(|\)$/g;function p(e,t){return qa.slice(e,t)}function Ya(e){a.inSFCRoot&&(s.innerLoc=d(e+1,e+1)),cc(s);const{tag:t,ns:n}=s;0===n&&u.isPreTag(t)&&Ka++,u.isVoidTag(t)?tc(s,e):(l.unshift(s),1!==n&&2!==n||(a.inXML=!0)),s=null}function ec(e,t,n){var o;{const t=null==(o=l[0])?void 0:o.tag;"script___"!==t&&"style___"!==t&&e.includes("&")&&(e=u.decodeEntities(e,!1))}const r=l[0]||Ha,s=r.children[r.children.length-1];2===(null==s?void 0:s.type)?(s.content+=e,uc(s.loc,n)):r.children.push({type:2,content:e,loc:d(t,n)})}function tc(e,t,n=!1){uc(e.loc,n?nc(t,60):t+1),a.inSFCRoot&&(e.innerLoc.end=N({},e.children.length?e.children[e.children.length-1].loc.end:e.innerLoc.start),e.innerLoc.source=p(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:o,ns:r}=e;Ja||("slot"===o?e.tagType=2:!function({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&oc.has(t[e].name))return!0;return!1}(e)?function({tag:t,props:n}){var e;if(u.isCustomElement(t))return!1;if("component"===t||(o=t.charCodeAt(0),o>64&&o<91)||Sa(t)||(null==(e=u.isBuiltInComponent)?void 0:e.call(u,t))||u.isNativeTag&&!u.isNativeTag(t))return!0;var o;for(let e=0;e<n.length;e++){const t=n[e];if(6===t.type&&"is"===t.name&&t.value&&t.value.content.startsWith("vue:"))return!0}return!1}(e)&&(e.tagType=1):e.tagType=3),a.inRCDATA||(e.children=sc(e.children,e.tag)),0===r&&u.isPreTag(o)&&Ka--,Qa===e&&(Ja=a.inVPre=!1,Qa=null),a.inXML&&0===(l[0]?l[0].ns:u.ns)&&(a.inXML=!1)}function nc(e,t){let n=e;for(;qa.charCodeAt(n)!==t&&n>=0;)n--;return n}const oc=new Set(["if","else","else-if","for","slot"]);const rc=/\r\n/g;function sc(o,r){var s,i;const l="preserve"!==u.whitespace;let a=!1;for(let n=0;n<o.length;n++){const r=o[n];if(2===r.type)if(Ka)r.content=r.content.replace(rc,"\n");else if(ic(r.content)){const e=null==(s=o[n-1])?void 0:s.type,t=null==(i=o[n+1])?void 0:i.type;!e||!t||l&&(3===e&&(3===t||1===t)||1===e&&(3===t||1===t&&lc(r.content)))?(a=!0,o[n]=null):r.content=" "}else l&&(r.content=ac(r.content))}if(Ka&&r&&u.isPreTag(r)){const r=o[0];r&&2===r.type&&(r.content=r.content.replace(/^\r?\n/,""))}return a?o.filter(Boolean):o}function ic(t){for(let e=0;e<t.length;e++)if(!va(t.charCodeAt(e)))return!1;return!0}function lc(n){for(let t=0;t<n.length;t++){const e=n.charCodeAt(t);if(10===e||13===e)return!0}return!1}function ac(t){let n="",o=!1;for(let e=0;e<t.length;e++)va(t.charCodeAt(e))?o||(n+=" ",o=!0):(n+=t[e],o=!1);return n}function cc(e){(l[0]||Ha).children.push(e)}function d(e,t){return{start:a.getPos(e),end:null==t?t:a.getPos(t),source:null==t?t:p(e,t)}}function uc(e,t){e.end=a.getPos(t),e.source=p(e.start.offset,t)}function pc(t){const n={type:6,name:t.rawName,nameLoc:d(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const e=t.exp.loc;e.end.offset<t.loc.end.offset&&(e.start.offset--,e.start.column--,e.end.offset++,e.end.column++),n.value={type:2,content:t.exp.content,loc:e}}return n}function dc(e,t=!1,n,o=0,r=0){return k(e,t,n,o)}function fc(e,t,n){u.onError(M(e,d(t,t)))}function hc(e,t){if(a.reset(),s=null,i=null,Wa="",za=-1,Ga=-1,l.length=0,qa=e,u=N({},Ba),t){let e;for(e in t)null!=t[e]&&(u[e]=t[e])}a.mode="html"===u.parseMode?1:"sfc"===u.parseMode?2:0,a.inXML=1===u.ns||2===u.ns;const n=null==t?void 0:t.delimiters;n&&(a.delimiterOpen=ya(n[0]),a.delimiterClose=ya(n[1]));const o=Ha=function(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:oa}}([],e);return a.parse(qa),o.loc=d(0,e.length),o.children=sc(o.children),Ha=null,o}function mc(e,t){gc(e,t,vc(e,e.children[0]))}function vc(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ma(t)}function gc(t,n,o=!1){const{children:r}=t,e=r.length;let s=0;for(let e=0;e<r.length;e++){const t=r[e];if(1===t.type&&0===t.tagType){const r=o?0:yc(t,n);if(r>0){if(r>=2){t.codegenNode.patchFlag="-1",t.codegenNode=n.hoist(t.codegenNode),s++;continue}}else{const o=t.codegenNode;if(13===o.type){const r=Cc(o);if((!r||512===r||1===r)&&xc(t,n)>=2){const r=Sc(t);r&&(o.props=n.hoist(r))}o.dynamicProps&&(o.dynamicProps=n.hoist(o.dynamicProps))}}}if(1===t.type){const o=1===t.tagType;o&&n.scopes.vSlot++,gc(t,n),o&&n.scopes.vSlot--}else if(11===t.type)gc(t,n,1===t.children.length);else if(9===t.type)for(let e=0;e<t.branches.length;e++)gc(t.branches[e],n,1===t.branches[e].children.length)}if(s&&n.transformHoist&&n.transformHoist(r,n,t),s&&s===e&&1===t.type&&0===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&E(t.codegenNode.children)){const o=n.hoist(sa(t.codegenNode.children));n.hmr&&(o.content=`[...${o.content}]`),t.codegenNode.children=o}}function yc(r,s){const{constantCache:i}=s;switch(r.type){case 1:if(0!==r.tagType)return 0;const e=i.get(r);if(void 0!==e)return e;const t=r.codegenNode;if(13!==t.type)return 0;if(t.isBlock&&"svg"!==r.tag&&"foreignObject"!==r.tag)return 0;if(Cc(t))return i.set(r,0),0;{let n=3;const e=xc(r,s);if(0===e)return i.set(r,0),0;e<n&&(n=e);for(let t=0;t<r.children.length;t++){const e=yc(r.children[t],s);if(0===e)return i.set(r,0),0;e<n&&(n=e)}if(n>1)for(let e=0;e<r.props.length;e++){const t=r.props[e];if(7===t.type&&"bind"===t.name&&t.exp){const e=yc(t.exp,s);if(0===e)return i.set(r,0),0;e<n&&(n=e)}}if(t.isBlock){for(let e=0;e<r.props.length;e++){if(7===r.props[e].type)return i.set(r,0),0}s.removeHelper(Sl),s.removeHelper(pa(s.inSSR,t.isComponent)),t.isBlock=!1,s.helper(ua(s.inSSR,t.isComponent))}return i.set(r,n),n}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return yc(r.content,s);case 4:return r.constType;case 8:let o=3;for(let n=0;n<r.children.length;n++){const e=r.children[n];if(T(e)||L(e))continue;const t=yc(e,s);if(0===t)return 0;t<o&&(o=t)}return o}}const _c=new Set([jl,Dl,Bl,Hl]);function bc(t,n){if(14===t.type&&!T(t.callee)&&_c.has(t.callee)){const e=t.arguments[0];if(4===e.type)return yc(e,n);if(14===e.type)return bc(e,n)}return 0}function xc(s,i){let l=3;const e=Sc(s);if(e&&15===e.type){const{properties:s}=e;for(let r=0;r<s.length;r++){const{key:e,value:t}=s[r],n=yc(e,i);if(0===n)return n;let o;if(n<l&&(l=n),o=4===t.type?yc(t,i):14===t.type?bc(t,i):0,0===o)return o;o<l&&(l=o)}}return l}function Sc(e){const t=e.codegenNode;if(13===t.type)return t.props}function Cc(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function wc(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,hmr:r=!1,cacheHandlers:s=!1,nodeTransforms:i=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=K,isCustomElement:u=K,expressionPlugins:p=[],scopeId:d=null,slotted:f=!0,ssr:h=!1,inSSR:m=!1,ssrCssVars:v="",bindingMetadata:g=z,inline:y=!1,isTS:_=!1,onError:b=_a,onWarn:x=ba,compatConfig:S}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),w={filename:t,selfName:C&&H(Q(C[1])),prefixIdentifiers:n,hoistStatic:o,hmr:r,cacheHandlers:s,nodeTransforms:i,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:p,scopeId:d,slotted:f,ssr:h,inSSR:m,ssrCssVars:v,bindingMetadata:g,inline:y,isTS:_,onError:b,onWarn:x,compatConfig:S,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,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=w.helpers.get(e)||0;return w.helpers.set(e,t+1),e},removeHelper(t){const n=w.helpers.get(t);if(n){const e=n-1;e?w.helpers.set(t,e):w.helpers.delete(t)}},helperString:e=>`_${na[w.helper(e)]}`,replaceNode(e){w.parent.children[w.childIndex]=w.currentNode=e},removeNode(e){const t=e?w.parent.children.indexOf(e):w.currentNode?w.childIndex:-1;e&&e!==w.currentNode?w.childIndex>t&&(w.childIndex--,w.onNodeRemoved()):(w.currentNode=null,w.onNodeRemoved()),w.parent.children.splice(t,1)},onNodeRemoved:K,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){T(e)&&(e=k(e)),w.hoists.push(e);const t=k(`_hoisted_${w.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:oa}}(w.cached++,e,t)};return w}function Tc(e,t){const n=wc(e,t);Ac(e,n),t.hoistStatic&&mc(e,n),t.ssr||function(t,n){const{helper:o}=n,{children:e}=t;if(1===e.length){const o=e[0];if(vc(t,o)&&o.codegenNode){const e=o.codegenNode;13===e.type&&da(e,n),t.codegenNode=e}else t.codegenNode=o}else if(e.length>1){let e=64;t.codegenNode=ra(n,o(gl),void 0,t.children,e+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...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.transformed=!0}function Ac(t,n){n.currentNode=t;const{nodeTransforms:o}=n,r=[];for(let e=0;e<o.length;e++){const s=o[e](t,n);if(s&&(E(s)?r.push(...s):r.push(s)),!n.currentNode)return;t=n.currentNode}switch(t.type){case 3:n.ssr||n.helper(kl);break;case 5:n.ssr||n.helper(Ul);break;case 9:for(let e=0;e<t.branches.length;e++)Ac(t.branches[e],n);break;case 10:case 11:case 1:case 0:!function(t,n){let o=0;const r=()=>{o--};for(;o<t.children.length;o++){const e=t.children[o];T(e)||(n.parent=t,n.childIndex=o,n.onNodeRemoved=r,Ac(e,n))}}(t,n)}n.currentNode=t;let s=r.length;for(;s--;)r[s]()}function kc(t,i){const l=T(t)?e=>e===t:e=>t.test(e);return(r,s)=>{if(1===r.type){const{props:n}=r;if(3===r.tagType&&n.some(Oa))return;const o=[];for(let t=0;t<n.length;t++){const e=n[t];if(7===e.type&&l(e.name)){n.splice(t,1),t--;const l=i(r,e,s);l&&o.push(l)}}return o}}}const Nc="/*#__PURE__*/",Ec=e=>`${na[e]}: _${na[e]}`;function Pc(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:p=!1,inSSR:d=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:p,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${na[e]}`,push(e,t=-2,n){f.code+=e},indent(){h(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:h(--f.indentLevel)},newline(){h(f.indentLevel)}};function h(e){f.push("\n"+" ".repeat(e),0)}return f}function Rc(t,e={}){const n=Pc(t,e);e.onContextCreated&&e.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:a,ssr:c}=n,u=Array.from(t.helpers),p=u.length>0,d=!s&&"module"!==o,f=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`,-1),e.hoists.length)){n(`const { ${[Tl,Al,kl,Nl,El].filter(e=>i.includes(e)).map(Ec).join(", ")} } = _Vue\n`,-1)}(function(n,o){if(!n.length)return;o.pure=!0;const{push:r,newline:s}=o;s();for(let t=0;t<n.length;t++){const e=n[t];e&&(r(`const _hoisted_${t+1} = `),m(e,o),s())}o.pure=!1})(e.hoists,t),o(),n("return ")}(t,f);if(r(`function ${c?"ssrRender":"render"}(${(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),d&&(r("with (_ctx) {"),i(),p&&(r(`const { ${u.map(Ec).join(", ")} } = _Vue\n`,-1),a())),t.components.length&&(Ic(t.components,"component",n),(t.directives.length||t.temps>0)&&a()),t.directives.length&&(Ic(t.directives,"directive",n),t.temps>0&&a()),t.temps>0){r("let ");for(let e=0;e<t.temps;e++)r(`${e>0?", ":""}_temp${e}`)}return(t.components.length||t.directives.length||t.temps)&&(r("\n",0),a()),c||r("return "),t.codegenNode?m(t.codegenNode,n):r("null"),d&&(l(),r("}")),l(),r("}"),{ast:t,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Ic(o,r,{helper:e,push:s,newline:i,isTS:l}){const a=e("component"===r?Pl:Il);for(let n=0;n<o.length;n++){let e=o[n];const t=e.endsWith("__self");t&&(e=e.slice(0,-6)),s(`const ${ja(e,r)} = ${a}(${JSON.stringify(e)}${t?", true":""})${l?"!":""}`),n<o.length-1&&i()}}function Oc(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),$c(e,t,n),n&&t.deindent(),t.push("]")}function $c(n,o,r=!1,s=!0){const{push:i,newline:l}=o;for(let t=0;t<n.length;t++){const e=n[t];T(e)?i(e,-3):E(e)?Oc(e,o):m(e,o),t<n.length-1&&(r?(s&&i(","),l()):s&&i(", "))}}function m(e,t){if(T(e))t.push(e,-3);else if(L(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:m(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:Mc(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Nc);n(`${o(Ul)}(`),m(e.content,t),n(")")}(e,t);break;case 8:Lc(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Nc);n(`${o(kl)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:p,disableTracking:d,isComponent:f}=e;u&&n(o($l)+"(");p&&n(`(${o(Sl)}(${d?"true":""}), `);r&&n(Nc);const h=p?pa(t.inSSR,f):ua(t.inSSR,f);n(o(h)+"(",-2,e),$c(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([s,i,l,a,c]),t),n(")"),p&&n(")");u&&(n(", "),m(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=T(e.callee)?e.callee:o(e.callee);r&&n(Nc);n(s+"(",-2,e),$c(e.arguments,t),n(")")}(e,t);break;case 15:!function(t,n){const{push:o,indent:r,deindent:e,newline:s}=n,{properties:i}=t;if(!i.length)return void o("{}",-2,t);const l=i.length>1||!1;o(l?"{":"{ "),l&&r();for(let e=0;e<i.length;e++){const{key:t,value:r}=i[e];Fc(t,n),o(": "),m(r,n),e<i.length-1&&(o(","),s())}l&&e(),o(l?"}":" }")}(e,t);break;case 17:!function(e,t){Oc(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:l,newline:a,isSlot:c}=e;c&&n(`_${na[Xl]}(`);n("(",-2,e),E(s)?$c(s,t):s&&m(s,t);n(") => "),(a||l)&&(n("{"),o());i?(a&&n("return "),E(i)?Oc(i,t):m(i,t)):l&&m(l,t);(a||l)&&(r(),n("}"));c&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:a,newline:c}=t;if(4===n.type){const e=!wa(n.content);e&&i("("),Mc(n,t),e&&i(")")}else i("("),m(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),m(o,t),t.indentLevel--,s&&c(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;m(r,t),u||t.indentLevel--;s&&a(!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(Kl)}(-1),`),i());n(`_cache[${e.index}] = `),m(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Kl)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:$c(e.body,t,!0,!1)}}function Mc(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,-3,e)}function Lc(n,o){for(let t=0;t<n.children.length;t++){const e=n.children[t];T(e)?o.push(e,-3):m(e,o)}}function Fc(e,t){const{push:n}=t;if(8===e.type)n("["),Lc(e,t),n("]");else if(e.isStatic){n(wa(e.content)?e.content:JSON.stringify(e.content),-2,e)}else n(`[${e.content}]`,-3,e)}const Uc=kc(/^(if|else|else-if)$/,(e,t,i)=>function(o,r,s,i){if(!("else"===r.name||r.exp&&r.exp.content.trim())){const i=r.exp?r.exp.loc:o.loc;s.onError(M(28,r.loc)),r.exp=k("true",!1,i)}if("if"===r.name){const e=Vc(o,r),t={type:9,loc:o.loc,branches:[e]};if(s.replaceNode(t),i)return i(t,e,!0)}else{const e=s.parent.children;let t=e.indexOf(o);for(;t-- >=-1;){const n=e[t];if(n&&3===n.type)s.removeNode(n);else{if(!n||2!==n.type||n.content.trim().length){if(n&&9===n.type){"else-if"===r.name&&void 0===n.branches[n.branches.length-1].condition&&s.onError(M(30,o.loc)),s.removeNode();const e=Vc(o,r);n.branches.push(e);const t=i&&i(n,e,!1);Ac(e,s),t&&t(),s.currentNode=null}else s.onError(M(30,o.loc));break}s.removeNode(n)}}}}(e,t,i,(e,t,n)=>{const o=i.parent.children;let r=o.indexOf(e),s=0;for(;r-- >=0;){const e=o[r];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(n)e.codegenNode=jc(t,s,i);else{const n=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);n.alternate=jc(t,s+e.branches.length-1,i)}}}));function Vc(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Ea(e,"for")?e.children:[e],userKey:Pa(e,"key"),isTemplateIf:n}}function jc(e,t,n){return e.condition?ca(e.condition,Dc(e,t,n),$(n.helper(kl),['""',"true"])):Dc(e,t,n)}function Dc(t,e,n){const{helper:o}=n,r=A("key",k(`${e}`,!1,oa,2)),{children:s}=t,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const t=i.codegenNode;return Ua(t,r,n),t}{let e=64;return ra(n,o(gl),ia([r]),s,e+"",void 0,void 0,!0,!1,!1,t.loc)}}{const t=i.codegenNode,e=14===(l=t).type&&l.callee===ea?l.arguments[1].returns:l;return 13===e.type&&da(e,n),Ua(e,r,n),t}var l}const Bc=kc("for",(p,e,d)=>{const{helper:f,removeHelper:h}=d;return function(e,t,n,o){if(!t.exp)return void n.onError(M(31,t.loc));const r=t.forParseResult;if(!r)return void n.onError(M(32,t.loc));Hc(r);const{scopes:s}=n,{source:i,value:l,key:a,index:c}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:a,objectIndexAlias:c,parseResult:r,children:$a(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(p,e,d,r=>{const s=$(f(Ml),[r.source]),i=$a(p),l=Ea(p,"memo"),e=Pa(p,"key"),a=e&&(6===e.type?k(e.value.content,!0):e.exp),c=e?A("key",a):null,u=4===r.source.type&&r.source.constType>0,t=u?64:e?128:256;return r.codegenNode=ra(d,f(gl),void 0,s,t+"",void 0,void 0,!0,!u,!1,p.loc),()=>{let e;const{children:t}=r,n=1!==t.length||1!==t[0].type,o=Ma(p)?p:i&&1===p.children.length&&Ma(p.children[0])?p.children[0]:null;if(o?(e=o.codegenNode,i&&c&&Ua(e,c,d)):n?e=ra(d,f(gl),c?ia([c]):void 0,p.children,"64",void 0,void 0,!0,void 0,!1):(e=t[0].codegenNode,i&&c&&Ua(e,c,d),e.isBlock!==!u&&(e.isBlock?(h(Sl),h(pa(d.inSSR,e.isComponent))):h(ua(d.inSSR,e.isComponent))),e.isBlock=!u,e.isBlock?(f(Sl),f(pa(d.inSSR,e.isComponent))):f(ua(d.inSSR,e.isComponent))),l){const p=aa(qc(r.parseResult,[k("_cached")]));p.body={type:21,body:[la(["const _memo = (",l.exp,")"]),la(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${d.helperString(ta)}(_cached, _memo)) return _cached`]),la(["const _item = ",e]),k("_item.memo = _memo"),k("return _item")],loc:oa},s.arguments.push(p,k("_cache"),k(String(d.cached++)))}else s.arguments.push(aa(qc(r.parseResult),e,!0))}})});function Hc(e,t){e.finalized||(e.finalized=!0)}function qc({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||k("_".repeat(t+1),!1))}([e,t,n,...o])}const Wc=k("undefined",!1),zc=(t,n)=>{if(1===t.type&&(1===t.tagType||3===t.tagType)){const e=Ea(t,"slot");if(e)return n.scopes.vSlot++,()=>{n.scopes.vSlot--}}},Gc=(e,t,n,o)=>aa(e,n,!1,!0,n.length?n[0].loc:o);function Kc(u,p,d=Gc){p.helper(Xl);const{children:f,loc:n}=u,h=[],m=[];let v=p.scopes.vSlot>0||p.scopes.vFor>0;const g=Ea(u,"slot",!0);if(g){const{arg:u,exp:p}=g;u&&!xa(u)&&(v=!0),h.push(A(u||k("default",!0),d(p,void 0,f,n)))}let y=!1,_=!1;const b=[],x=new Set;let S=0;for(let c=0;c<f.length;c++){const u=f[c];let e;if(!$a(u)||!(e=Ea(u,"slot",!0))){3!==u.type&&b.push(u);continue}if(g){p.onError(M(37,e.loc));break}y=!0;const{children:C,loc:w}=u,{arg:n=k("default",!0),exp:t,loc:o}=e;let r;xa(n)?r=n?n.content:"default":v=!0;const s=Ea(u,"for"),i=d(t,s,C,w);let l,a;if(l=Ea(u,"if"))v=!0,m.push(ca(l.exp,Jc(n,i,S++),Wc));else if(a=Ea(u,/^else(-if)?$/,!0)){let e,t=c;for(;t--&&(e=f[t],3===e.type););if(e&&$a(e)&&Ea(e,"if")){f.splice(c,1),c--;let e=m[m.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=a.exp?ca(a.exp,Jc(n,i,S++),Wc):Jc(n,i,S++)}else p.onError(M(30,a.loc))}else if(s){v=!0;const u=s.forParseResult;u?(Hc(u),m.push($(p.helper(Ml),[u.source,aa(qc(u),Jc(n,i),!0)]))):p.onError(M(32,s.loc))}else{if(r){if(x.has(r)){p.onError(M(38,o));continue}x.add(r),"default"===r&&(_=!0)}h.push(A(n,i))}}if(!g){const u=(e,t)=>A("default",d(e,void 0,t,n));y?b.length&&b.some(e=>Xc(e))&&(_?p.onError(M(39,b[0].loc)):h.push(u(void 0,b))):h.push(u(void 0,f))}const C=v?2:Qc(u.children)?3:1;let w=ia(h.concat(A("_",k(C+"",!1))),n);return m.length&&(w=$(p.helper(Fl),[w,sa(m)])),{slots:w,hasDynamicSlots:v}}function Jc(e,t,n){const o=[A("name",e),A("fn",t)];return null!=n&&o.push(A("key",k(String(n),!0))),ia(o)}function Qc(n){for(let t=0;t<n.length;t++){const e=n[t];switch(e.type){case 1:if(2===e.tagType||Qc(e.children))return!0;break;case 9:if(Qc(e.branches))return!0;break;case 10:case 11:if(Qc(e.children))return!0}}return!1}function Xc(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Xc(e.content))}const Zc=new WeakMap,Yc=(f,h)=>function(){if(1!==(f=h.currentNode).type||0!==f.tagType&&1!==f.tagType)return;const{tag:e,props:t}=f,n=1===f.tagType;let o=n?function(e,t,n=!1){let{tag:o}=e;const r=ou(o),s=Pa(e,"is");if(s)if(r){const e=6===s.type?s.value&&k(s.value.content,!0):s.exp;if(e)return $(t.helper(Rl),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=Sa(o)||t.isBuiltInComponent(o);if(i)return n||t.helper(i),i;return t.helper(Pl),t.components.add(o),ja(o,"component")}(f,h):`"${e}"`;const r=I(o)&&o.callee===Rl;let s,i,l,a,c,u,p=0,d=r||o===yl||o===_l||!n&&("svg"===e||"foreignObject"===e);if(t.length>0){const e=eu(f,h,void 0,n,r);s=e.props,p=e.patchFlag,c=e.dynamicPropNames;const t=e.directives;u=t&&t.length?sa(t.map(e=>function(e,t){const n=[],o=Zc.get(e);o?n.push(t.helperString(o)):(t.helper(Il),t.directives.add(e.name),n.push(ja(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=k("true",!1,r);n.push(ia(e.modifiers.map(e=>A(e,t)),r))}return sa(n,e.loc)}(e,h))):void 0,e.shouldUseBlock&&(d=!0)}if(f.children.length>0){o===bl&&(d=!0,p|=1024);if(n&&o!==yl&&o!==bl){const{slots:e,hasDynamicSlots:t}=Kc(f,h);i=e,t&&(p|=1024)}else if(1===f.children.length&&o!==yl){const e=f.children[0],t=e.type,n=5===t||8===t;n&&0===yc(e,h)&&(p|=1),i=n||2===t?e:f.children}else i=f.children}0!==p&&(l=String(p),c&&c.length&&(a=function(n){let o="[";for(let e=0,t=n.length;e<t;e++)o+=JSON.stringify(n[e]),e<t-1&&(o+=", ");return o+"]"}(c))),f.codegenNode=ra(h,o,s,i,l,a,u,!!d,!1,n,f.loc)};function eu(t,r,n=t.props,s,i,l=!1){const{tag:o,loc:a,children:c}=t;let u=[];const p=[],d=[],f=c.length>0;let h=!1,m=0,v=!1,g=!1,y=!1,_=!1,b=!1,x=!1;const S=[],C=e=>{u.length&&(p.push(ia(tu(u),a)),u=[]),e&&p.push(e)},w=({key:n,value:o})=>{if(xa(n)){const e=n.content,t=P(e);if(!t||s&&!i||"onclick"===e.toLowerCase()||"onUpdate:modelValue"===e||re(e)||(_=!0),t&&re(e)&&(x=!0),t&&14===o.type&&(o=o.arguments[0]),20===o.type||(4===o.type||8===o.type)&&yc(o,r)>0)return;"ref"===e?v=!0:"class"===e?g=!0:"style"===e?y=!0:"key"===e||S.includes(e)||S.push(e),!s||"class"!==e&&"style"!==e||S.includes(e)||S.push(e)}else b=!0};for(let e=0;e<n.length;e++){const i=n[e];if(6===i.type){const{loc:t,name:n,nameLoc:s,value:l}=i;let e=!0;if("ref"===n&&(v=!0,r.scopes.vFor>0&&u.push(A(k("ref_for",!0),k("true")))),"is"===n&&(ou(o)||l&&l.content.startsWith("vue:")))continue;u.push(A(k(n,!0,s),k(l?l.content:"",e,l?l.loc:t)))}else{const{name:n,arg:P,exp:c,loc:v,modifiers:g}=i,y="bind"===n,_="on"===n;if("slot"===n){s||r.onError(M(40,v));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&Ra(P,"is")&&ou(o))continue;if(_&&l)continue;if((y&&Ra(P,"key")||_&&f&&Ra(P,"vue:before-update"))&&(h=!0),y&&Ra(P,"ref")&&r.scopes.vFor>0&&u.push(A(k("ref_for",!0),k("true"))),!P&&(y||_)){b=!0,c?y?(C(),p.push(c)):C({type:14,loc:v,callee:r.helper(ql),arguments:s?[c]:[c,"true"]}):r.onError(M(y?34:35,v));continue}y&&g.includes("prop")&&(m|=32);const x=r.directiveTransforms[n];if(x){const{props:n,needRuntime:s}=x(i,t,r);!l&&n.forEach(w),_&&P&&!xa(P)?C(ia(n,a)):u.push(...n),s&&(d.push(i),L(s)&&Zc.set(i,s))}else V(n)||(d.push(i),f&&(h=!0))}}let T;if(p.length?(C(),T=p.length>1?$(r.helper(Vl),p,a):p[0]):u.length&&(T=ia(tu(u),a)),b?m|=16:(g&&!s&&(m|=2),y&&!s&&(m|=4),S.length&&(m|=8),_&&(m|=32)),h||0!==m&&32!==m||!(v||x||d.length>0)||(m|=512),!r.inSSR&&T)switch(T.type){case 15:let t=-1,n=-1,o=!1;for(let e=0;e<T.properties.length;e++){const i=T.properties[e].key;xa(i)?"class"===i.content?t=e:"style"===i.content&&(n=e):i.isHandlerKey||(o=!0)}const i=T.properties[t],l=T.properties[n];o?T=$(r.helper(Bl),[T]):(i&&!xa(i.value)&&(i.value=$(r.helper(jl),[i.value])),l&&(y||4===l.value.type&&"["===l.value.content.trim()[0]||17===l.value.type)&&(l.value=$(r.helper(Dl),[l.value])));break;case 14:break;default:T=$(r.helper(Bl),[$(r.helper(Hl),[T])])}return{props:T,directives:d,patchFlag:m,dynamicPropNames:S,shouldUseBlock:h}}function tu(r){const s=new Map,i=[];for(let o=0;o<r.length;o++){const e=r[o];if(8===e.key.type||!e.key.isStatic){i.push(e);continue}const t=e.key.content,n=s.get(t);n?("style"===t||"class"===t||P(t))&&nu(n,e):(s.set(t,e),i.push(e))}return i}function nu(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=sa([e.value,t.value],e.loc)}function ou(e){return"component"===e||"Component"===e}const ru=(i,l)=>{if(Ma(i)){const{children:e,loc:t}=i,{slotName:n,slotProps:o}=function(t,n){let o,r='"default"';const s=[];for(let e=0;e<t.props.length;e++){const n=t.props[e];6===n.type?n.value&&("name"===n.name?r=JSON.stringify(n.value.content):(n.name=Q(n.name),s.push(n))):"bind"===n.name&&Ra(n.arg,"name")?n.exp&&(r=n.exp):("bind"===n.name&&n.arg&&xa(n.arg)&&(n.arg.content=Q(n.arg.content)),s.push(n))}if(s.length>0){const{props:r,directives:e}=eu(t,n,s,!1,!1);o=r,e.length&&n.onError(M(36,e[0].loc))}return{slotName:r,slotProps:o}}(i,l),r=[l.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let s=2;o&&(r[2]=o,s=3),e.length&&(r[3]=aa([],e,!1,!1,t),s=4),l.scopeId&&!l.slotted&&(s=5),r.splice(s),i.codegenNode=$(l.helper(Ll),r,t)}};const su=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,iu=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);l=k(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?q(Q(e)):`on:${e}`,!0,i.loc)}else l=la([`${n.helperString(Gl)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(Gl)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const e=Na(a.content),t=!(e||su.test(a.content)),n=a.content.includes(";");(t||c&&e)&&(a=la([`${t?"$event":"(...args)"} => ${n?"{":"("}`,a,n?"}":")"]))}let u={props:[A(l,a||k("() => {}",!1,r))]};return o&&(u=o(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},lu=(e,t,n)=>{const{modifiers:o,loc:r}=e,s=e.arg;let{exp:i}=e;if(!i&&4===s.type){const t=Q(s.content);i=e.exp=k(t,!1,s.loc)}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),o.includes("camel")&&(4===s.type?s.content=s.isStatic?Q(s.content):`${n.helperString(Wl)}(${s.content})`:(s.children.unshift(`${n.helperString(Wl)}(`),s.children.push(")"))),n.inSSR||(o.includes("prop")&&au(s,"."),o.includes("attr")&&au(s,"^")),!i||4===i.type&&!i.content.trim()?{props:[A(s,k("",!0,r))]}:{props:[A(s,i)]}},au=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},cu=(e,s)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r,t=!1;for(let n=0;n<o.length;n++){const s=o[n];if(Ia(s)){t=!0;for(let t=n+1;t<o.length;t++){const e=o[t];if(!Ia(e)){r=void 0;break}r||(r=o[n]=la([s],s.loc)),r.children.push(" + ",e),o.splice(t,1),t--}}}if(t&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!s.directiveTransforms[e.name]))))for(let e=0;e<o.length;e++){const r=o[e];if(Ia(r)||8===r.type){const t=[];2===r.type&&" "===r.content||t.push(r),s.ssr||0!==yc(r,s)||t.push("1"),o[e]={type:12,content:r,loc:r.loc,codegenNode:$(s.helper(Nl),t)}}}}},uu=new WeakSet,pu=(e,t)=>{if(1===e.type&&Ea(e,"once",!0)){if(uu.has(e)||t.inVOnce||t.inSSR)return;return uu.add(e),t.inVOnce=!0,t.helper(Kl),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},du=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(M(41,e.loc)),fu();const s=o.loc.source,i=4===o.type?o.content:s,l=n.bindingMetadata[s];if("props"===l||"props-aliased"===l)return fu();if(!i.trim()||!Na(i))return n.onError(M(42,o.loc)),fu();const a=r||k("modelValue",!0),c=r?xa(r)?`onUpdate:${Q(r.content)}`:la(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;u=la([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[A(a,e.exp),A(c,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(wa(e)?e:JSON.stringify(e))+": true").join(", "),n=r?xa(r)?`${r.content}Modifiers`:la([r,' + "Modifiers"']):"modelModifiers";p.push(A(n,k(`{ ${t} }`,!1,e.loc,2)))}return fu(p)};function fu(e=[]){return{props:e}}const hu=new WeakSet,mu=(n,o)=>{if(1===n.type){const t=Ea(n,"memo");if(!t||hu.has(n))return;return hu.add(n),()=>{const e=n.codegenNode||o.currentNode.codegenNode;e&&13===e.type&&(1!==n.tagType&&da(e,o),n.codegenNode=$(o.helper(ea),[t.exp,aa(void 0,e),"_cache",String(o.cached++)]))}}};function vu(e,t={}){const n=t.onError||_a,o="module"===t.mode;!0===t.prefixIdentifiers?n(M(47)):o&&n(M(48));t.cacheHandlers&&n(M(49)),t.scopeId&&!o&&n(M(50));const r=N({},t,{prefixIdentifiers:!1}),s=T(e)?hc(e,r):e,[i,l]=[[pu,Uc,mu,Bc,ru,Yc,zc,cu],{on:iu,bind:lu,model:du}];return Tc(s,N({},r,{nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:N({},l,t.directiveTransforms||{})})),Rc(s,r)}const gu=Symbol(""),yu=Symbol(""),_u=Symbol(""),bu=Symbol(""),xu=Symbol(""),Su=Symbol(""),Cu=Symbol(""),wu=Symbol(""),Tu=Symbol(""),Au=Symbol("");var ku;let Nu;ku={[gu]:"vModelRadio",[yu]:"vModelCheckbox",[_u]:"vModelText",[bu]:"vModelSelect",[xu]:"vModelDynamic",[Su]:"withModifiers",[Cu]:"withKeys",[wu]:"vShow",[Tu]:"Transition",[Au]:"TransitionGroup"},Object.getOwnPropertySymbols(ku).forEach(e=>{na[e]=ku[e]});const Eu={parseMode:"html",isVoidTag:Se,isNativeTag:e=>_e(e)||be(e)||xe(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Nu||(Nu=document.createElement("div")),t?(Nu.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Nu.children[0].getAttribute("foo")):(Nu.innerHTML=e,Nu.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Tu:"TransitionGroup"===e||"transition-group"===e?Au:void 0,getNamespace(e,t,n){let o=t?t.ns:n;if(t&&2===o)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))&&(o=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(o=0);else t&&1===o&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(o=0));if(0===o){if("svg"===e)return 1;if("math"===e)return 2}return o}},Pu=(e,t)=>{const n=ge(e);return k(JSON.stringify(n),!1,t,3)};function Ru(e,t){return M(e,t)}const Iu=t("passive,once,capture"),Ou=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),$u=t("left,right"),Mu=t("onkeyup,onkeydown,onkeypress",!0),Lu=(e,t)=>xa(e)&&"onclick"===e.content.toLowerCase()?k(t,!0):4!==e.type?la(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Fu=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Uu=[n=>{1===n.type&&n.props.forEach((e,t)=>{6===e.type&&"style"===e.name&&e.value&&(n.props[t]={type:7,name:"bind",arg:k("style",!0,e.loc),exp:Pu(e.value.content,e.loc),modifiers:[],loc:e.loc})})}],Vu={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Ru(53,r)),t.children.length&&(n.onError(Ru(54,r)),t.children.length=0),{props:[A(k("innerHTML",!0,r),o||k("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Ru(55,r)),t.children.length&&(n.onError(Ru(56,r)),t.children.length=0),{props:[A(k("textContent",!0),o?yc(o,n)>0?o:$(n.helperString(Ul),[o],r):k("",!0))]}},model:(n,o,r)=>{const s=du(n,o,r);if(!s.props.length||1===o.tagType)return s;n.arg&&r.onError(Ru(58,n.arg.loc));const{tag:i}=o,l=r.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||l){let e=_u,t=!1;if("input"===i||l){const s=Pa(o,"type");if(s){if(7===s.type)e=xu;else if(s.value)switch(s.value.content){case"radio":e=gu;break;case"checkbox":e=yu;break;case"file":t=!0,r.onError(Ru(59,n.loc))}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(o)&&(e=xu)}else"select"===i&&(e=bu);t||(s.needRuntime=r.helper(e))}else r.onError(Ru(57,n.loc));return s.props=s.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),s},on:(l,e,a)=>iu(l,e,a,e=>{const{modifiers:t}=l;if(!t.length)return e;let{key:n,value:o}=e.props[0];const{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}=((t,n,o,e)=>{const r=[],s=[],i=[];for(let e=0;e<n.length;e++){const o=n[e];Iu(o)?i.push(o):$u(o)?xa(t)?Mu(t.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Ou(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(n,t);if(s.includes("right")&&(n=Lu(n,"onContextmenu")),s.includes("middle")&&(n=Lu(n,"onMouseup")),s.length&&(o=$(a.helper(Su),[o,JSON.stringify(s)])),!r.length||xa(n)&&!Mu(n.content)||(o=$(a.helper(Cu),[o,JSON.stringify(r)])),i.length){const l=i.map(H).join("");n=xa(n)?k(`${n.content}${l}`,!0):la(["(",n,`) + "${l}"`])}return{props:[A(n,o)]}}),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Ru(61,r)),{props:[],needRuntime:n.helper(wu)}}};const ju=new WeakMap;function Du(e,t){if(!T(e)){if(!e.nodeType)return K;e=e.innerHTML}const n=e,o=function(e){let t=ju.get(null!=e?e:z);return t||(t=Object.create(null),ju.set(null!=e?e:z,t)),t}(t),r=o[n];if(r)return r;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const s=N({hoistStatic:!0,onError:void 0,onWarn:K},t);s.isCustomElement||"undefined"==typeof customElements||(s.isCustomElement=e=>!!customElements.get(e));const{code:i}=function(e,t={}){return vu(e,N({},Eu,t,{nodeTransforms:[Fu,...Uu,...t.nodeTransforms||[]],directiveTransforms:N({},Vu,t.directiveTransforms||{}),transformHoist:null}))}(e,s),l=new Function(i)();return l._rc=!0,o[n]=l}return $s(Du),e.BaseTransition=vo,e.BaseTransitionPropsValidators=mo,e.Comment=te,e.DeprecationTypes=null,e.EffectScope=Re,e.ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},e.ErrorTypeStrings=null,e.Fragment=ee,e.KeepAlive=ko,e.ReactiveEffect=$e,e.Static=Yr,e.Suspense=Kn,e.Teleport=Qr,e.Text=Zr,e.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},e.Transition=Xs,e.TransitionGroup=ji,e.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},e.VueElement=$i,e.assertNumber=function(e,t){},e.callWithAsyncErrorHandling=dn,e.callWithErrorHandling=pn,e.camelize=Q,e.capitalize=H,e.cloneVNode=ms,e.compatUtils=null,e.compile=Du,e.computed=Vs,e.createApp=(...e)=>{const r=ul().createApp(...e),{mount:s}=r;return r.mount=e=>{const t=ml(e);if(!t)return;const n=r._component;R(n)||n.render||n.template||(n.template=t.innerHTML),t.innerHTML="";const o=s(t,!1,hl(t));return t instanceof Element&&(t.removeAttribute("v-cloak"),t.setAttribute("data-v-app","")),o},r},e.createBlock=ls,e.createCommentVNode=function(e="",t=!1){return t?(ns(),ls(te,null,e)):ne(te,null,e)},e.createElementBlock=function(e,t,n,o,r,s){return is(fs(e,t,n,o,r,s,!0))},e.createElementVNode=fs,e.createHydrationRenderer=Ur,e.createPropsRestProxy=function(t,n){const o={};for(const e in t)n.includes(e)||Object.defineProperty(o,e,{enumerable:!0,get:()=>t[e]});return o},e.createRenderer=Fr,e.createSSRApp=(...e)=>{const t=pl().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=ml(e);if(t)return n(t,!0,hl(t))},t},e.createSlots=function(t,o){for(let e=0;e<o.length;e++){const n=o[e];if(E(n))for(let e=0;e<n.length;e++)t[n[e].name]=n[e].fn;else n&&(t[n.name]=n.key?(...e)=>{const t=n.fn(...e);return t&&(t.key=n.key),t}:n.fn)}return t},e.createStaticVNode=function(e,t){const n=ne(Yr,null,e);return n.staticCount=t,n},e.createTextVNode=vs,e.createVNode=ne,e.customRef=ln,e.defineAsyncComponent=function(e){R(e)&&(e={loader:e});const{loader:n,loadingComponent:s,errorComponent:i,delay:l=200,timeout:a,suspensible:c=!0,onError:o}=e;let u,p=null,r=0;const d=()=>{let t;return p||(t=p=n().catch(n=>{if(n=n instanceof Error?n:new Error(String(n)),o)return new Promise((e,t)=>{o(n,()=>e((r++,p=null,d())),()=>t(n),r+1)});throw n}).then(e=>t!==p&&p?p:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),u=e,e)))};return Co({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const t=_;if(u)return()=>To(u,t);const n=e=>{p=null,fn(e,t,13,!i)};if(c&&t.suspense)return d().then(e=>()=>To(e,t)).catch(e=>(n(e),()=>i?ne(i,{error:e}):null));const e=Yt(!1),o=Yt(),r=Yt(!!l);return l&&setTimeout(()=>{r.value=!1},l),null!=a&&setTimeout(()=>{if(!e.value&&!o.value){const e=new Error(`Async component timed out after ${a}ms.`);n(e),o.value=e}},a),d().then(()=>{e.value=!0,t.parent&&Ao(t.parent.vnode)&&(t.parent.effect.dirty=!0,Cn(t.parent.update))}).catch(e=>{n(e),o.value=e}),()=>e.value&&u?To(u,t):o.value&&i?ne(i,{error:o.value}):s&&!r.value?ne(s):void 0}})},e.defineComponent=Co,e.defineCustomElement=Ii,e.defineEmits=function(){return null},e.defineExpose=function(e){},e.defineModel=function(){},e.defineOptions=function(e){},e.defineProps=function(){return null},e.defineSSRCustomElement=e=>Ii(e,fl),e.defineSlots=function(){return null},e.devtools=void 0,e.effect=function(e,t){e.effect instanceof $e&&(e=e.effect.fn);const n=new $e(e,K,()=>{n.dirty&&n.run()});t&&(N(n,t),t.scope&&Ie(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o},e.effectScope=function(e){return new Re(e)},e.getCurrentInstance=ws,e.getCurrentScope=Oe,e.getTransitionRawChildren=So,e.guardReactiveProps=hs,e.h=js,e.handleError=fn,e.hasInjectionContext=function(){return!!(_||c||mr)},e.hydrate=fl,e.initCustomFormatter=function(){},e.initDirectivesForSSR=vl,e.inject=gr,e.isMemoSame=Ds,e.isProxy=zt,e.isReactive=Ht,e.isReadonly=qt,e.isRef=O,e.isRuntimeOnly=()=>!Ps,e.isShallow=Wt,e.isVNode=as,e.markRaw=Gt,e.mergeDefaults=function(e,n){const o=er(e);for(const t in n){if(t.startsWith("__skip"))continue;let e=o[t];e?E(e)||R(e)?e=o[t]={type:e,default:n[t]}:e.default=n[t]:null===e&&(e=o[t]={default:n[t]}),e&&n[`__skip_${t}`]&&(e.skipFactory=!0)}return o},e.mergeModels=function(e,t){return e&&t?E(e)&&E(t)?e.concat(t):N({},er(e),er(t)):e||t},e.mergeProps=bs,e.nextTick=Sn,e.normalizeClass=ye,e.normalizeProps=function(e){if(!e)return null;let{class:t,style:n}=e;return t&&!T(t)&&(e.class=ye(t)),n&&(e.style=fe(n)),e},e.normalizeStyle=fe,e.onActivated=Eo,e.onBeforeMount=Fo,e.onBeforeUnmount=Do,e.onBeforeUpdate=Vo,e.onDeactivated=Po,e.onErrorCaptured=zo,e.onMounted=Uo,e.onRenderTracked=Wo,e.onRenderTriggered=qo,e.onScopeDispose=function(e){Ee&&Ee.cleanups.push(e)},e.onServerPrefetch=Ho,e.onUnmounted=Bo,e.onUpdated=jo,e.openBlock=ns,e.popScopeId=function(){$n=null},e.provide=vr,e.proxyRefs=rn,e.pushScopeId=function(e){$n=e},e.queuePostFlushCb=Tn,e.reactive=Vt,e.readonly=Dt,e.ref=Yt,e.registerRuntimeCompiler=$s,e.render=dl,e.renderList=function(n,o,r,e){let s;const i=r&&r[e];if(E(n)||T(n)){s=new Array(n.length);for(let e=0,t=n.length;e<t;e++)s[e]=o(n[e],e,void 0,i&&i[e])}else if("number"==typeof n){s=new Array(n);for(let e=0;e<n;e++)s[e]=o(e+1,e,void 0,i&&i[e])}else if(I(n))if(n[Symbol.iterator])s=Array.from(n,(e,t)=>o(e,t,void 0,i&&i[t]));else{const r=Object.keys(n);s=new Array(r.length);for(let t=0,e=r.length;t<e;t++){const e=r[t];s[t]=o(n[e],e,t,i&&i[t])}}else s=[];return r&&(r[e]=s),s},e.renderSlot=function(e,t,n={},o,r){if(c.isCE||c.parent&&wo(c.parent)&&c.parent.isCE)return"default"!==t&&(n.name=t),ne("slot",n,o&&o());let s=e[t];s&&s._c&&(s._d=!1),ns();const i=s&&Go(s(n)),l=ls(ee,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l},e.resolveComponent=function(e,t){return qn(Bn,e,!0,t)||e},e.resolveDirective=function(e){return qn("directives",e)},e.resolveDynamicComponent=function(e){return T(e)?qn(Bn,e,!1)||e:e||Hn},e.resolveFilter=null,e.resolveTransitionHooks=yo,e.setBlockTracking=ss,e.setDevtoolsHook=qs,e.setTransitionHooks=xo,e.shallowReactive=jt,e.shallowReadonly=function(e){return Bt(e,!0,dt,$t,Ut)},e.shallowRef=function(e){return en(e,!0)},e.ssrContextKey=eo,e.ssrUtils=null,e.stop=function(e){e.effect.stop()},e.toDisplayString=e=>T(e)?e:null==e?"":E(e)||I(e)&&(e.toString===S||!R(e.toString))?JSON.stringify(e,ke,2):String(e),e.toHandlerKey=q,e.toHandlers=function(t,n){const o={};for(const e in t)o[n&&/[A-Z]/.test(e)?`on:${e}`:q(e)]=t[e];return o},e.toRaw=X,e.toRef=function(e,t,n){return O(e)?e:R(e)?new cn(e):I(e)&&arguments.length>1?un(e,t,n):Yt(e)},e.toRefs=function(t){const n=E(t)?new Array(t.length):{};for(const e in t)n[e]=un(t,e);return n},e.toValue=function(e){return R(e)?e():nn(e)},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){Zt(e,2)},e.unref=nn,e.useAttrs=function(){return Yo().attrs},e.useCssModule=function(e="$style"){return z},e.useCssVars=function(n){const o=ws();if(!o)return;const t=o.ut=(t=n(o.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${o.uid}"]`)).forEach(e=>yi(e,t))},r=()=>{const e=n(o.proxy);gi(o.subTree,e),t(e)};to(r),Uo(()=>{const e=new MutationObserver(r);e.observe(o.subTree.el.parentNode,{childList:!0}),Bo(()=>e.disconnect())})},e.useModel=function(t,r,s=z){const i=ws(),l=Q(r),a=se(r),n=ln((e,n)=>{let o;return no(()=>{const e=t[r];W(o,e)&&(o=e,n())}),{get:()=>(e(),s.get?s.get(o):o),set(e){const t=i.vnode.props;t&&(r in t||l in t||a in t)&&(`onUpdate:${r}`in t||`onUpdate:${l}`in t||`onUpdate:${a}`in t)||!W(e,o)||(o=e,n()),i.emit(`update:${r}`,s.set?s.set(e):e)}}}),o="modelValue"===r?"modelModifiers":`${r}Modifiers`;return n[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?t[o]||{}:n,done:!1}:{done:!0}}},n},e.useSSRContext=()=>{},e.useSlots=function(){return Yo().slots},e.useTransitionState=fo,e.vModelCheckbox=Ji,e.vModelDynamic=nl,e.vModelRadio=Xi,e.vModelSelect=Zi,e.vModelText=Ki,e.vShow=hi,e.version=Bs,e.warn=Hs,e.watch=ro,e.watchEffect=function(e,t){return so(e,null,t)},e.watchPostEffect=to,e.watchSyncEffect=no,e.withAsyncContext=function(e){const t=ws();let n=e();return Ns(),oe(n)&&(n=n.catch(e=>{throw ks(t),e})),[n,()=>ks(t)]},e.withCtx=Ln,e.withDefaults=function(e,t){return null},e.withDirectives=function(e,s){if(null===c)return e;const i=Fs(c)||c.proxy,l=e.dirs||(e.dirs=[]);for(let r=0;r<s.length;r++){let[e,t,n,o=z]=s[r];e&&(R(e)&&(e={mounted:e,updated:e}),e.deep&&ao(t),l.push({dir:e,instance:i,value:t,oldValue:void 0,arg:n,modifiers:o}))}return e},e.withKeys=(n,o)=>{const e=n._withKeys||(n._withKeys={}),t=o.join(".");return e[t]||(e[t]=e=>{if(!("key"in e))return;const t=se(e.key);return o.some(e=>e===t||il[e]===t)?n(e):void 0})},e.withMemo=function(e,t,n,o){const r=n[o];if(r&&Ds(r,e))return r;const s=t();return s.memo=e.slice(),n[o]=s},e.withModifiers=(e,o)=>{const t=e._withMods||(e._withMods={}),n=o.join(".");return t[n]||(t[n]=(t,...n)=>{for(let e=0;e<o.length;e++){const n=sl[o[e]];if(n&&n(t,o))return}return e(t,...n)})},e.withScopeId=e=>Ln,e}({});window.Vue=Vue;function build(options,exports){if(typeof exports=="undefined"){exports={}}var _options={resolveModulesParallelly:true,removeStyleWhenUnmount:false,mobile:function(){return false},httpGet:function(e){return fetch(e)},httpGetSync:function(e){if(useRelativePath){if(e.length&&e[0]=="/"){e=e.substr(1)}}var t=new XMLHttpRequest;t.open("get",e,false);t.send();return t.responseText},onNotFound:function(e,t){if(e.indexOf("/404")==0){throw"No not-found template found"}if(t){return Redirect("/404?"+_serializeOptionsToUrl(t))}else{return Redirect("/404")}},reuseContainerActiveView(e){return true},callCreatedWhenReuseContainerActiveView(e){return true},callMountedWhenReuseContainerActiveView(e){return true},callUnmountedWhenReuseContainerActiveView(e){return true},resetDataWhenReuseContainerActiveView(e){return true},generateTitle(e){return e.join(" - ")}};_combineObject(options,_options);var _cache={};var _css={};function _httpCached(e){return!!_cache[e]}function _httpGet(n){if(_cache[n]){return Promise.resolve(_cache[n])}var e=n;if(_options.version){if(n.indexOf("?")>0){e+="&"}else{e+="?"}e+="v="+_options.version}return _options.httpGet(e).then(function(e){if(e.status>300||e.status<200){return Promise.reject(e)}var t=e.text();_cache[n]=t;return Promise.resolve(t)}).catch(function(e){Promise.reject(e)})}function _httpExist(e){return _httpGet(e).then(function(){return Promise.resolve(true)}).catch(function(){return Promise.resolve(false)})}function _serializeOptionsToUrl(e){var t=Object.getOwnPropertyNames(e);var n="";for(var o=0;o<t.length;++o){n+=encodeURIComponent(t[o])+"="+encodeURIComponent(e[t[o]])+"&"}if(n[n.length-1]==="&"){n=n.substr(0,n.length-1)}return n}var _root=null;function root(){return _root}exports._rules=[];function useRoutes(e){var t=_options.httpGetSync(e);t=JSON.parse(t);if(!exports._rules){exports._rules={}}_combineObject(t,exports._rules)}function _combineObject(e,t){if(!e){return}var n=Object.getOwnPropertyNames(e);for(var o=0;o<n.length;++o){t[n[o]]=e[n[o]]}}function _getQueryString(){var e=window.location.search;if(window.location.hash.indexOf("?")>0){var t=window.location.hash.substr(window.location.hash.indexOf("?"));if(e){e+="&"+t.substr(1)}else{e=t}}return e}function _parseQueryString(e){var t=_getQueryString();if(!t){return}var n=t;if(n[0]=="?"){n=n.substr(1)}var o=n.split("&");for(var r=0;r<o.length;++r){var s=o[r].split("=");var i=decodeURIComponent(s[0]);var l=decodeURIComponent(s[1]);_fillObjectField(i,l,e)}}function _resolveModules(e,n){if(!e){return Promise.resolve()}if(_options.resolveModulesParallelly){var t=[];for(var o=0;o<e.length;++o){t.push(LoadScript(parseMacroPath(n,e[o])))}return Promise.all(t)}else{var r=Promise.resolve(null);var s=function(t){return function(e){return LoadScript(parseMacroPath(n,t))}};for(var o=0;o<e.length;++o){var i=e[o];r=r.then(s(i))}return r}}function _buildApp(url,params,mobile,parent){var componentObject={};return _httpGet(url+".js").then(function(js){var Page=function(e){componentObject=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url+".js");hookMountedAndUnmounted(componentObject,url+(mobile?".m":""));return _resolveModules(componentObject.modules||[],url).then(function(){return Promise.resolve(componentObject)})}).then(function(t){var e=null;if(mobile){e=_httpExist(url+".m.html").then(function(e){return _httpGet(url+(e?".m.html":".html"))})}else{e=_httpGet(url+".html")}return e.then(function(e){if(!t.template){t.template=e}_patchComponent(url,t);return Promise.resolve(t)})}).then(function(s){var o=s.setup;s.setup=function(e,t){if(typeof o=="function"){o(e,t)}var n=Vue.getCurrentInstance();n.$parent=parent||exports.root();n.$root=exports.root()||parent;n.$view=url;n.$app=exports;n.$data=s.data||function(){return{}};n.$created=s.created||function(){};n.$mounted=s.mounted||function(){};n.$unmounted=s.unmounted||function(){};_attachContainer(n)};var t=s.data||function(){return{}};s.data=function(){var e=t.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};return _resolveModules(s.modules,url).then(function(){var e=s.components||[];return _loadComponents(e,url).then(function(e){var t=Vue.createApp(s);for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}var r=t.mount||function(){};t.mount=function(e){t.proxy=r(e);return t.proxy};return Promise.resolve(t)})})})}function _replace(e,t,n){var o=e.indexOf(t);if(o<0){return e}var r=e.substr(0,o)+n+e.substr(o+t.length);return r}function sleep(t){return new Promise(function(e){setTimeout(function(){e()},t)})}function yield(){return sleep(0)}function _attachContainer(c){if(!c){console.warn("Invalid view model")}if(!c.$containers){c.$containers=[]}if(!c.$containers){c.$containers=[]}var n=c.$containers;c.$container=function(t){var e=n.filter(e=>e.selector==t)[0];if(!e){e={element:document.querySelector(t),selector:t,open:function(e,o){var t=_options.mobile();var n=null;if(c.proxy){n=c.proxy}if(c.$&&c.$.proxy){n=c.$.proxy}if(!this.active||this.active.$view!=e||!_options.reuseContainerActiveView()){this.close()}var r=this;o=generateParametersFromRoute(o);_parseQueryString(o);if(_options.reuseContainerActiveView()&&this.active?.$view==e){var s=function(t){var e=Promise.resolve();if(!t||!t.active){return e}if(_options.callUnmountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$unmounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}e=e.then(function(){var e=t.active.$data();if(_options.resetDataWhenReuseContainerActiveView()){_combineObject(e,t.active)}_combineObject(o,t.active);return Promise.resolve()});if(_options.callCreatedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$created();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(_options.callMountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$mounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(t.active.$containers&&t.active.$containers.length){for(var n=0;n<t.active.$containers.length;++n){s(t.active.$containers[n])}}return e.then(function(){t.active.$forceUpdate();return Promise.resolve(t.active)})};return Promise.resolve(s(this))}var i;var l=20;var a=function(){return new Promise(function(e,t){var n=i.mount(r.selector);if(n){r.active=n;return Promise.resolve(n)}if(--l>0){return sleep(50).then(function(){return a()})}else{return Promise.reject("Mount component to "+r.selector+" failed")}})};return _buildApp(e,o,t,n).then(function(e){i=e;return a()})},close:function(n=true){function o(e){if(e.active&&e.active.$){if(n){for(var t=0;t<e.active.$containers.length;++t){o(e.active.$containers[t])}}e.active.$.appContext.app.unmount();e.active=null}}o(this)},active:null};n.push(e)}return e}}function Root(r,s,t){r=r||{};if(typeof r.setup!="function"){r.setup=function(){}}var n=r.setup;r.setup=function(){n();var e=Vue.getCurrentInstance();e.$parent=parent||exports.root();e.$root=exports.root()||parent;e.$onUpdating=r.onUpdating;e.$app=exports;if(t){e.$layout=t;e.$view=t}_attachContainer(e)};return _resolveModules(r.modules,t).then(function(){return _loadComponents(r.components||[],t).then(function(e){var t=Vue.createApp(r||{});for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}_root=t.mount(s);_root.$.proxy=_root})})}function mount(){function o(e){if(!e){return null}if(!e.getAttribute){return null}var t=e.getAttribute("target")||"_self";var n=e.getAttribute("static-link")||e.getAttribute("v-static")||e.getAttribute("pomelo-static");if(n==null&&t.toLowerCase()=="_self"&&e.tagName.toLowerCase()=="a"){return e.getAttribute("href")}return o(e.parentNode)}window.addEventListener("click",function(e){if(!e)return;var t=o(e.target);if(t){exports.redirect(t);e.preventDefault();return}});window.onpopstate=function(){UpdateLayout()};return UpdateLayout()}function UseConfig(e){_combineObject(e,_options)}function MapRoute(e,t){if(!exports._rules){exports._rules={}}exports._rules[e]=t}function ForceUpdate(e=exports.root()){if(!e)return;e.$forceUpdate();if(e.$containers){for(var t=0;t<e.$containers.length;++t){if(e.$containers[t].active){ForceUpdate(e.$containers[t].active)}}}}function MatchRoute(){function e(e,t,n){return e.replace(new RegExp(t,"g"),n)}function t(e){var t=[];if(!e){return t}var n=-1;var o=0;for(var r=0;r<e.length;++r){if(e[r]=="{"&&!o){n=r;o=0}else if(e[r]=="("){++o}else if(e[r]==")"){--o}else if(e[r]=="}"&&!o){t.push(e.substring(n,r+1))}}return t}function n(e){if(e[0]==="{"){return e.substr(1,e.length-2)}else{return e}}function o(e){return e.replace(/[-[\]{}()*+!<=:?.\/\\^$|#\s,]/g,"\\$&")}function r(e){var t=0;if(e){for(var n=0;n<e.length;++n){if(e[n]=="("){++t}if(e[n]=="?"&&n>0&&e[n-1]=="("){--t}}}return t}var s=Object.getOwnPropertyNames(exports._rules);for(var i=0;i<s.length;++i){var l=s[i];var a=l[0]=="#";var c=exports._rules[s[i]];var u=t(l);var p=[];var d=[];for(var f=0;f<u.length;++f){var h=u[f];var m=n(h);regex="([^/]+)";if(m[0]=="*"){regex="(.*)";m=m.substr(1)}if(m.indexOf("=")>0){var v=m.substr(m.indexOf("=")+1);regex=`(${o(v)})`;p.push(m.substr(0,m.indexOf("=")))}else if(h.indexOf(":")>0){regex=h.substr(h.indexOf(":")+1);regex=regex.substr(0,regex.length-1);p.push(m.substr(0,m.indexOf(":")))}else{p.push(m)}d.push(r(regex));l=_replace(l,h,regex)}var g=new RegExp("^"+l+"$");var u=g.exec(a?window.location.hash||"#":window.location.pathname);if(u){var y={view:c,params:[]};var _=u;u=[];var b=0;for(var f=1;f<_.length;++f){u.push(_[f]);for(var m=0;m<d[b]-1;++m){++f}++b}var x=u.map(function(e){return decodeURIComponent(e)});for(var f=0;f<p.length;++f){y.params.push({key:p[f],value:x[f]})}return y}}return null}function _fillObjectField(e,t,n){if(!n){return}var o=e.split(".");for(var r=0;r<o.length-1;++r){if(!n[o[r]]){n[o[r]]={}}n=n[o[r]]}n[o[o.length-1]]=t}function _applyLayoutHtml(i){return _httpGet(i+(_options.mobile()?".m.html":".html")).then(function(e){var t=e.indexOf("<html");var n=e.indexOf(">",t);e=e.substr(n+1);var o=e.lastIndexOf("</html>");e=e.substr(0,o);e=_patchTemplate(i,e);document.querySelector("html").innerHTML=e;var r=(new Date).getTime();var s="pomelo-"+r;document.querySelector("body").innerHTML='<div id="'+s+'">'+document.querySelector("body").innerHTML+"</div>";return Promise.resolve(s)})}function generateParametersFromRoute(e={}){var t=null;t=MatchRoute();if(t==null){try{_options.onNotFound(window.location.pathname+window.location.search);return}catch(e){throw"No available route found."}}for(var n=0;n<t.params.length;++n){var o=t.params[n];_fillObjectField(o.key,o.value,e)}return e}function parseMacroPath(e,t){if(!t){t=""}if(t.indexOf("@")<0){return t}var n="/";var o=e.lastIndexOf("/");if(o>=0){n=e.substr(0,o)}t=t.replaceAll("@(view)",e).replaceAll("@(js)",e+".js").replaceAll("@(html)",e+".html").replaceAll("@(mobileHtml)",e+".m.html").replaceAll("@(css)",e+".css").replaceAll("@(mobileCss)",e+".m.css").replaceAll("@(less)",e+".less").replaceAll("@(mobileLess)",e+".m.less").replaceAll("@(mobileSass)",e+".m.sass").replaceAll("@(mobileScss)",e+".m.scss").replaceAll("@(containingFolder)",n);if(t.length&&t[0]!="/"&&t.indexOf("http")==-1){t=getContainingFolder(e)+t}return t}function appendCssReference(e,t){if(typeof t=="boolean"){var n=e+".css";if(_options.version){n+="?v="+_options.version}internalAppendCssReference(e,n)}else if(typeof t=="string"){var n=parseMacroPath(e,t);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}else if(t instanceof Array){for(var o=0;o<t.length;++o){if(typeof t[o]!="string"){continue}var n=parseMacroPath(e,t[o]);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}}else{throw"style type not supported"}}function getContainingFolder(e){if(!e){console.warn("getContainingFolder: absolutePath is invalid")}var t=e.lastIndexOf("/");if(t<0){return"/"}return e.substr(0,t)+"/"}function internalAppendCssReference(e,t){if(document.querySelectorAll('link[data-style="'+e+'"][href="'+t+'"]').length){return}var n=document.createElement("link");n.rel="stylesheet";n.type="text/"+getStyleSheetType(t);n.setAttribute("data-style",e);n.href=t;try{document.querySelector("head").appendChild(n)}catch(e){}}function getStyleSheetType(e){var t=e.lastIndexOf("?");if(t>=0){e=e.substr(0,t)}var n=e.lastIndexOf(".");if(n<0){return null}return e.substr(n+1).toLowerCase()}function removeCssReference(e){if(!_options.removeStyleWhenUnmount){return}var t=document.querySelectorAll('link[data-style="'+e+'"]');if(t&&t.length){for(var n=0;n<t.length;++n){t[n].remove()}}}function hookMountedAndUnmounted(e,t){if(!e){return}if(!e.mounted){e.mounted=function(){}}if(!e.unmounted){e.unmounted=function(){}}if(!e.created){e.created=function(){}}if(e.style){var n=e.created;e.created=function(){if(!_css[t]){_css[t]=0}if(_css[t]==0){appendCssReference(t,e.style)}++_css[t];return n.call(this)};var o=e.mounted;e.mounted=function(){return o.call(this)};var r=e.unmounted;e.unmounted=function(){if(!_css[t]){return}--_css[t];if(_css[t]<=0){removeCssReference(t);delete _css[t]}return r.call(this)}}}function pomeUiPassTitle(e){if(e){this.pomeUiSubTitles=e}var t=JSON.parse(JSON.stringify(this.pomeUiSubTitles));if(this.title){t.push(this.title)}if(this.$parent&&this.$parent!=window&&this.$parent.pomeUiPassTitle){this.$parent.pomeUiPassTitle(t)}else{document.querySelector("title").innerHTML=_options.generateTitle(t)}}function UpdateLayout(){var mobile=_options.mobile();var params={};var route=null;var layout=_options.layout;route=MatchRoute();params=generateParametersFromRoute();var _def;var viewName=route.view+(_options.mobile()?".m":"");return _httpGet(route.view+".js").then(function(def){_def=def;var modules=null;var _opt;var Page=function(e){_opt=e;layout=e.layout||layout;modules=e.modules};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}def=eval(def+"\r\n//# sourceURL="+route.view+".js");hookMountedAndUnmounted(_opt,viewName);return _resolveModules(modules,viewName)}).then(function(){if(exports.root()&&exports.root().$layout){if(exports.root().$layout===layout){_parseQueryString(params);var fields=Object.getOwnPropertyNames(params);for(var i=0;i<fields.length;++i){var val=params[fields[i]];exports.root()[fields[i]]=val}exports.root().$containers[0].open(route.view,params);var promise=Promise.resolve();if(typeof exports.root().$.$onUpdating=="function"){var result=exports.root().$.$onUpdating.call(exports.root());if(result instanceof Promise){promise=result}}return promise}exports.root().$.appContext.app.unmount()}if(layout){var layoutName=layout+(mobile?".m":"");var _layoutHtml;return _httpGet(layoutName+".html").then(function(e){_layoutHtml=e;return _httpGet(layout+".js")}).then(function(js){var _opt=null;var Layout=function(e){_opt=e};var LayoutNext=function(e){if(!e.data){e.data=function(){return{}}}var o=e.setup||function(e,t){};e.setup=function(e,t){o(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_opt.template=_layoutHtml;_patchComponent(layout,_opt);_layoutHtml=_opt.template;var t=_layoutHtml.indexOf("<html");var n=_layoutHtml.indexOf(">",t);_layoutHtml=_layoutHtml.substr(n+1);var r=_layoutHtml.lastIndexOf("</html>");_layoutHtml=_layoutHtml.substr(0,r);document.querySelector("html").innerHTML=_layoutHtml;var s=e.data;e.data=function(){var e=s.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};var i=(new Date).getTime();var l="pomelo-"+i;var a="container-"+i;var c=document.querySelector("body").innerHTML.replace("<render-body></render-body>",'<div id="'+a+'"></div>');document.querySelector("body").innerHTML='<div id="'+l+'">'+c+"</div>";e.template=null;if(!e.mounted){e.mounted=function(){}}mountedFunc=e.mounted;e.mounted=function(){var e=this.$container("#"+a);e.open(route.view,params);return mountedFunc.call(this)};Root(e,"#"+l,layout)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(layout);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+layout+".js");hookMountedAndUnmounted(_opt,layoutName);return _resolveModules(_opt.modules,layout).then(function(){LayoutNext(_opt);return Promise.resolve()})})}else{var viewName=route.view+(_options.mobile()?".m":"");return _applyLayoutHtml(route.view).then(function(appId){var _opt=null;var components=null;var Page=function(e){_opt=e};var PageNext=function(e){modules=e.modules;components=e.components||[];Root(e,"#"+appId,route.view)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}eval(_def+"\r\n//# sourceURL="+route.view+".js");if(!_opt){_opt={}}if(!_opt.data){_opt.data=function(){return{}}}var dataFunc=_opt.data;_opt.data=function(){var e=dataFunc.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};hookMountedAndUnmounted(_opt,viewName);_patchComponent(viewName,_opt);return _resolveModules(_opt.modules,viewName).then(function(){PageNext(_opt);return Promise.resolve()})})}}).then(function(){ForceUpdate()}).catch(function(e){console.error(e)})}function Redirect(e){var t=null;var n=document.querySelector("title");if(n){t=n.innerText}window.history.pushState(null,t,e);UpdateLayout()}function LoadScript(url){if(_httpCached(url)){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(_cache[url]+"\r\n//# sourceURL="+url)}return Promise.resolve()}return _httpGet(url).then(function(js){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url)}_cache[url]=js;return Promise.resolve()}).catch(e=>{console.error("Load module "+url+" failed.");console.error(e)})}function resolveRelativePathPlain(e){if(e.indexOf("./")==-1&&e.indexOf("../")==-1){return e}var t=e.lastIndexOf("../");if(t==0){return e}e=e.replaceAll("/./","/");if(e.indexOf("./")==0){e=e.substr(2)}if(t){var n=e.substr(0,t);var o=e.substr(t);return resolveRelativePath(o,n)}}function resolveRelativePath(e,t){if(e.length&&e[0]=="/"||e.indexOf("http")==0){return resolveRelativePathPlain(e)}if(e.length&&e[0]!="."){return resolveRelativePathPlain(t+e)}if(e.indexOf("./")==0){return resolveRelativePath(e.substr(2),t)}if(e.indexOf("../")==0){e=e.substr(3);t=getContainingFolder(t.substr(0,t.length-1));return resolveRelativePath(e,t)}}function _loadComponents(components,viewName){var ret=[];if(!components.length){return Promise.resolve(ret)}var workingDirectory=getContainingFolder(viewName||"/");var viewName;var subComponentRefs=[];return Promise.all(components.map(function(c){c=resolveRelativePath(parseMacroPath(viewName,c),workingDirectory);viewName=c;var _html;var _name;var _opt;return _httpGet(c+".html").then(function(e){_html=e;return _httpGet(c+".js")}).then(function(comJs){var Component=function(e,t){_opt=t;_name=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(c);return PomeloModule.require(e,t,n)}}eval(comJs+"\r\n//# sourceURL="+c+".js");subComponentRefs=_opt.components;hookMountedAndUnmounted(_opt,c);if(!_opt.template){_opt.template=_html}if(!_opt.setup){_opt.setup=function(){}}var originSetup=_opt.setup;_opt.setup=function(e,t){originSetup(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_patchComponent(c,_opt);var originData=_opt.data||function(){return{}};_opt.data=function(){return originData.call(this,exports)};return _resolveModules(_opt.modules,c)}).then(function(){ret.push({name:_name,options:_opt});return Promise.resolve()})})).then(function(){return _loadComponents(subComponentRefs||[],viewName)}).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(ret.filter(e=>e.name==n.name).length){continue}ret.push(n)}return Promise.resolve(ret)})}exports._addins=[];function _patchComponent(n,s){prepared=true;if(!s.data){s.data=function(){return{}}}if(!s.style){s.style=[]}if(!s.style instanceof Array){if(s.style instanceof String){s.style=[s.style]}else{s.style=["@(css)"]}}if(!s.components){s.components=[]}if(!s.created){s.created=function(){}}if(!s.mounted){s.mounted=function(){}}if(!s.unmounted){s.unmounted=function(){}}if(!s.destroyed){s.destroyed=function(){}}if(!s.watch){s.watch={}}if(!s.computed){s.computed={}}let o=s.data;s.data=function(e){var t=o.call(this,e);var n={pomeUiSubTitles:[]};_combineObject(n,t);return t};if(!s.methods){s.methods={}}s.methods.pomeUiPassTitle=pomeUiPassTitle;if(!s.watch){s.watch={}}if(!s.watch.title){s.watch.title=function(){}}let r=s.watch.title;s.watch.title=async function(){var e=r.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};for(let t=0;t<exports._addins.length;++t){let e=exports._addins[t].view;let r=exports._addins[t].opt;if(e!="*"&&n!=e){continue}if(r.data){let o=s.data;s.data=function(e){var t=o.call(this,e);var n={};try{n=r.data.call(this,e)}catch(e){console.error(e)}_combineObject(n,t);return t}}if(r.style){if(r.style instanceof Boolean){r.style=["@(css)"]}if(r.style instanceof String){r.style=[r.style]}r.style.forEach(function(t){if(!s.style.some(e=>e==t)){s.push(t)}})}if(r.components){r.components.forEach(function(t){if(!s.components.some(e=>e==t)){s.components.push(t)}})}if(r.layout){s.layout=r.layout}if(r.props){if(!s.props){s.props=[]}r.props.forEach(function(t){if(!s.props.some(e=>e==t)){s.props.push(t)}})}if(r.watch){var i=Object.getOwnPropertyNames(r.watch);i.forEach(function(n){var o=s.watch[n];s.watch[n]=function(e,t){o.invoke(this,e,t);try{r.watch[n].invoke(this,e,t)}catch(e){console.error(e)}}})}if(r.computed){var i=Object.getOwnPropertyNames(r.computed);i.forEach(function(e){s.computed[e]=r.computed[e]})}if(r.methods){var l=s.setup||function(e,t){};s.setup=function(e,t){l(e,t);var n={};var o=Object.getOwnPropertyNames(s.methods);o.forEach(function(e){n[e]=s.methods[e]});var r=Vue.getCurrentInstance();r.$baseMethods=n};var a=Object.getOwnPropertyNames(r.methods);a.forEach(function(e){s.methods[e]=r.methods[e]})}if(r.created){let n=s.created;s.created=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=r.created.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.mounted){let n=s.mounted;s.mounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=r.mounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.unmounted){let n=s.unmounted;s.unmounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=r.unmounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.destroyed){let n=s.destroyed;s.destroyed=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=r.destroyed.call(t);if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.template){if(r.template instanceof Function){if(s.template){if(s.template.indexOf("<html")>=0){var c=(new DOMParser).parseFromString(s.template,"text/html");r.template(c);s.template=(new XMLSerializer).serializeToString(c)}else{s.template=`<pome-ui-template>${s.template}</pome-ui-template>`;var c=(new DOMParser).parseFromString(s.template,"text/html");r.template(c);s.template=(new XMLSerializer).serializeToString(c);s.template=s.template.substr(s.template.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);s.template=s.template.substr(0,s.template.indexOf("</pome-ui-template>"))}}}else{s.template=r.template}}}let u=s.created;s.created=async function(){var e=u.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};let p=s.unmounted;s.unmounted=async function(){var e=p.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle([]);return e})}}function _patchTemplate(o,r){for(let n=0;n<exports._addins.length;++n){let e=exports._addins[n].view;let t=exports._addins[n].opt;if(e!="*"&&o!=e){continue}if(t.template){if(t.template instanceof Function){if(r.indexOf("<html")>=0){var s=(new DOMParser).parseFromString(r,"text/html");t.template(s);r=(new XMLSerializer).serializeToString(s)}else{r=`<pome-ui-template>${r}</pome-ui-template>`;var s=(new DOMParser).parseFromString(r,"text/html");t.template(s);r=(new XMLSerializer).serializeToString(s);r=r.substr(r.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);r=r.substr(0,r.indexOf("</pome-ui-template>"))}}else{r=t.template}}}return r}function UseAddin(addinUrl){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};var js=_options.httpGetSync(addinUrl);eval(js)}function UseInlineAddin(script){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};eval(script)}exports.root=root;exports.useConfig=UseConfig;exports.mapRoute=MapRoute;exports.matchRoute=MatchRoute;exports.updateLayout=UpdateLayout;exports.redirect=Redirect;exports.loadScript=LoadScript;exports.forceUpdate=ForceUpdate;exports.mount=mount;exports.useRoutes=useRoutes;exports.useAddin=UseAddin;exports.useInlineAddin=UseInlineAddin;return exports}exports.build=build;
1
+ var Vue=function(e){"use strict";function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const z={},K=[],G=()=>{},o=()=>!1,P=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),b=e=>e.startsWith("onUpdate:"),N=Object.assign,x=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},h=Object.prototype.hasOwnProperty,J=(e,t)=>h.call(e,t),E=Array.isArray,v=e=>"[object Map]"===C(e),g=e=>"[object Set]"===C(e),y=e=>"[object Date]"===C(e),R=e=>"function"==typeof e,T=e=>"string"==typeof e,L=e=>"symbol"==typeof e,I=e=>null!==e&&"object"==typeof e,oe=e=>(I(e)||R(e))&&R(e.then)&&R(e.catch),S=Object.prototype.toString,C=e=>S.call(e),w=e=>C(e).slice(8,-1),F=e=>"[object Object]"===C(e),U=e=>T(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,re=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),V=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),j=t=>{const n=Object.create(null);return e=>n[e]||(n[e]=t(e))},D=/-(\w)/g,Q=j(e=>e.replace(D,(e,t)=>t?t.toUpperCase():"")),B=/\B([A-Z])/g,se=j(e=>e.replace(B,"-$1").toLowerCase()),H=j(e=>e.charAt(0).toUpperCase()+e.slice(1)),q=j(e=>e?`on${H(e)}`:""),W=(e,t)=>!Object.is(e,t),ie=(t,n)=>{for(let e=0;e<t.length;e++)t[e](n)},le=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ae=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ce=e=>{const t=T(e)?Number(e):NaN;return isNaN(t)?e:t};let ue;const pe=()=>ue||(ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),de=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error");function fe(r){if(E(r)){const o={};for(let n=0;n<r.length;n++){const e=r[n],t=T(e)?ge(e):fe(e);if(t)for(const r in t)o[r]=t[r]}return o}if(T(r)||I(r))return r}const he=/;(?![^(]*\))/g,me=/:([^]+)/,ve=/\/\*[^]*?\*\//g;function ge(e){const n={};return e.replace(ve,"").split(he).forEach(t=>{if(t){const e=t.split(me);e.length>1&&(n[e[0].trim()]=e[1].trim())}}),n}function ye(n){let o="";if(T(n))o=n;else if(E(n))for(let t=0;t<n.length;t++){const e=ye(n[t]);e&&(o+=e+" ")}else if(I(n))for(const e in n)n[e]&&(o+=e+" ");return o.trim()}const _e=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,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"),be=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,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"),xe=t("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),Se=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),Ce=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function we(e){return!!e||""===e}function Te(t,n){if(t===n)return!0;let o=y(t),r=y(n);if(o||r)return!(!o||!r)&&t.getTime()===n.getTime();if(o=L(t),r=L(n),o||r)return t===n;if(o=E(t),r=E(n),o||r)return!(!o||!r)&&function(t,n){if(t.length!==n.length)return!1;let o=!0;for(let e=0;o&&e<t.length;e++)o=Te(t[e],n[e]);return o}(t,n);if(o=I(t),r=I(n),o||r){if(!o||!r)return!1;if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const o in t){const r=t.hasOwnProperty(o),e=n.hasOwnProperty(o);if(r&&!e||!r&&e||!Te(t[o],n[o]))return!1}}return String(t)===String(n)}function Ae(e,t){return e.findIndex(e=>Te(e,t))}const ke=(e,t)=>t&&t.__v_isRef?ke(e,t.value):v(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[Ne(t,o)+" =>"]=n,e),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ne(e))}:L(t)?Ne(t):!I(t)||E(t)||F(t)?t:String(t),Ne=(e,t="")=>{var n;return L(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};let Ee,Pe;class Re{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ee,!e&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=Ee;try{return Ee=this,t()}finally{Ee=e}}}on(){Ee=this}off(){Ee=this.parent}stop(n){if(this._active){let e,t;for(e=0,t=this.effects.length;e<t;e++)this.effects[e].stop();for(e=0,t=this.cleanups.length;e<t;e++)this.cleanups[e]();if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!n){const n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this._active=!1}}}function Ie(e,t=Ee){t&&t.active&&t.effects.push(e)}function Oe(){return Ee}class $e{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Ie(this,o)}get dirty(){if(1===this._dirtyLevel){Be();for(let t=0;t<this._depsLength;t++){const e=this.deps[t];if(e.computed&&(Me(e.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),He()}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ve,t=Pe;try{return Ve=!0,Pe=this,this._runnings++,Le(this),this.fn()}finally{Fe(this),this._runnings--,Pe=t,Ve=e}}stop(){var e;this.active&&(Le(this),Fe(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Me(e){return e.value}function Le(e){e._trackId++,e._depsLength=0}function Fe(t){if(t.deps&&t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)Ue(t.deps[e],t);t.deps.length=t._depsLength}}function Ue(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let Ve=!0,je=0;const De=[];function Be(){De.push(Ve),Ve=!1}function He(){const e=De.pop();Ve=void 0===e||e}function qe(){je++}function We(){for(je--;!je&&Ke.length;)Ke.shift()()}function ze(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&Ue(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ke=[];function Ge(t,n,e){qe();for(const e of t.keys())if(e._dirtyLevel<n&&t.get(e)===e._trackId){const t=e._dirtyLevel;e._dirtyLevel=n,0===t&&(e._shouldSchedule=!0,e.trigger())}Je(t),We()}function Je(t){for(const e of t.keys())e.scheduler&&e._shouldSchedule&&(!e._runnings||e.allowRecurse)&&t.get(e)===e._trackId&&(e._shouldSchedule=!1,Ke.push(e.scheduler))}const Qe=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Xe=new WeakMap,Ze=Symbol(""),Ye=Symbol("");function f(n,e,o){if(Ve&&Pe){let e=Xe.get(n);e||Xe.set(n,e=new Map);let t=e.get(o);t||e.set(o,t=Qe(()=>e.delete(o))),ze(Pe,t)}}function et(n,e,t,o,r,s){const i=Xe.get(n);if(!i)return;let l=[];if("clear"===e)l=[...i.values()];else if("length"===t&&E(n)){const n=Number(o);i.forEach((e,t)=>{("length"===t||!L(t)&&t>=n)&&l.push(e)})}else switch(void 0!==t&&l.push(i.get(t)),e){case"add":E(n)?U(t)&&l.push(i.get("length")):(l.push(i.get(Ze)),v(n)&&l.push(i.get(Ye)));break;case"delete":E(n)||(l.push(i.get(Ze)),v(n)&&l.push(i.get(Ye)));break;case"set":v(n)&&l.push(i.get(Ze))}qe();for(const e of l)e&&Ge(e,2);We()}const tt=t("__proto__,__v_isRef,__isVue"),nt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(L)),ot=rt();function rt(){const e={};return["includes","indexOf","lastIndexOf"].forEach(o=>{e[o]=function(...e){const n=X(this);for(let e=0,t=this.length;e<t;e++)f(n,0,e+"");const t=n[o](...e);return-1===t||!1===t?n[o](...e.map(X)):t}}),["push","pop","shift","unshift","splice"].forEach(n=>{e[n]=function(...e){Be(),qe();const t=X(this)[n].apply(this,e);return We(),He(),t}}),e}function st(e){const t=X(this);return f(t,0,e),t.hasOwnProperty(e)}class it{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,r=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Ut:Ft:r?Lt:Mt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=E(e);if(!o){if(s&&J(ot,t))return Reflect.get(ot,t,n);if("hasOwnProperty"===t)return st}const i=Reflect.get(e,t,n);return(L(t)?nt.has(t):tt(t))?i:(o||f(e,0,t),r?i:O(i)?s&&U(t)?i:i.value:I(i)?o?Dt(i):Vt(i):i)}}class lt extends it{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._shallow){const t=qt(r);if(Wt(n)||qt(n)||(r=X(r),n=X(n)),!E(e)&&O(r)&&!O(n))return!t&&(r.value=n,!0)}const s=E(e)&&U(t)?Number(t)<e.length:J(e,t),i=Reflect.set(e,t,n,o);return e===X(o)&&(s?W(n,r)&&et(e,"set",t,n):et(e,"add",t,n)),i}deleteProperty(e,t){const n=J(e,t),o=Reflect.deleteProperty(e,t);return o&&n&&et(e,"delete",t,void 0),o}has(e,t){const n=Reflect.has(e,t);return L(t)&&nt.has(t)||f(e,0,t),n}ownKeys(e){return f(e,0,E(e)?"length":Ze),Reflect.ownKeys(e)}}class at extends it{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const ct=new lt,ut=new at,pt=new lt(!0),dt=new at(!0),ft=e=>e,ht=e=>Reflect.getPrototypeOf(e);function mt(e,t,n=!1,o=!1){const r=X(e=e.__v_raw),s=X(t);n||(W(t,s)&&f(r,0,t),f(r,0,s));const{has:i}=ht(r),l=o?ft:n?Jt:Gt;return i.call(r,t)?l(e.get(t)):i.call(r,s)?l(e.get(s)):void(e!==r&&e.get(t))}function vt(e,t=!1){const n=this.__v_raw,o=X(n),r=X(e);return t||(W(e,r)&&f(o,0,e),f(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function gt(e,t=!1){return e=e.__v_raw,!t&&f(X(e),0,Ze),Reflect.get(e,"size",e)}function yt(e){e=X(e);const t=X(this);return ht(t).has.call(t,e)||(t.add(e),et(t,"add",e,e)),this}function _t(e,t){t=X(t);const n=X(this),{has:o,get:r}=ht(n);let s=o.call(n,e);s||(e=X(e),s=o.call(n,e));const i=r.call(n,e);return n.set(e,t),s?W(t,i)&&et(n,"set",e,t):et(n,"add",e,t),this}function bt(e){const t=X(this),{has:n,get:o}=ht(t);let r=n.call(t,e);r||(e=X(e),r=n.call(t,e)),o&&o.call(t,e);const s=t.delete(e);return r&&et(t,"delete",e,void 0),s}function xt(){const e=X(this),t=0!==e.size,n=e.clear();return t&&et(e,"clear",void 0,void 0),n}function St(i,l){return function(n,o){const r=this,e=r.__v_raw,t=X(e),s=l?ft:i?Jt:Gt;return!i&&f(t,0,Ze),e.forEach((e,t)=>n.call(o,s(e),s(t),r))}}function Ct(a,c,u){return function(...e){const t=this.__v_raw,n=X(t),o=v(n),r="entries"===a||a===Symbol.iterator&&o,s="keys"===a&&o,i=t[a](...e),l=u?ft:c?Jt:Gt;return!c&&f(n,0,s?Ye:Ze),{next(){const{value:e,done:t}=i.next();return t?{value:e,done:t}:{value:r?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function wt(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function Tt(){const t={get(e){return mt(this,e)},get size(){return gt(this)},has:vt,add:yt,set:_t,delete:bt,clear:xt,forEach:St(!1,!1)},n={get(e){return mt(this,e,!1,!0)},get size(){return gt(this)},has:vt,add:yt,set:_t,delete:bt,clear:xt,forEach:St(!1,!0)},o={get(e){return mt(this,e,!0)},get size(){return gt(this,!0)},has(e){return vt.call(this,e,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:St(!0,!1)},r={get(e){return mt(this,e,!0,!0)},get size(){return gt(this,!0)},has(e){return vt.call(this,e,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:St(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(e=>{t[e]=Ct(e,!1,!1),o[e]=Ct(e,!0,!1),n[e]=Ct(e,!1,!0),r[e]=Ct(e,!0,!0)}),[t,o,n,r]}const[At,kt,Nt,Et]=Tt();function Pt(o,e){const r=e?o?Et:Nt:o?kt:At;return(e,t,n)=>"__v_isReactive"===t?!o:"__v_isReadonly"===t?o:"__v_raw"===t?e:Reflect.get(J(r,t)&&t in e?r:e,t,n)}const Rt={get:Pt(!1,!1)},It={get:Pt(!1,!0)},Ot={get:Pt(!0,!1)},$t={get:Pt(!0,!0)},Mt=new WeakMap,Lt=new WeakMap,Ft=new WeakMap,Ut=new WeakMap;function Vt(e){return qt(e)?e:Bt(e,!1,ct,Rt,Mt)}function jt(e){return Bt(e,!1,pt,It,Lt)}function Dt(e){return Bt(e,!0,ut,Ot,Ft)}function Bt(e,t,n,o,r){if(!I(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=r.get(e);if(s)return s;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(w(l));var l;if(0===i)return e;const a=new Proxy(e,2===i?o:n);return r.set(e,a),a}function Ht(e){return qt(e)?Ht(e.__v_raw):!(!e||!e.__v_isReactive)}function qt(e){return!(!e||!e.__v_isReadonly)}function Wt(e){return!(!e||!e.__v_isShallow)}function zt(e){return Ht(e)||qt(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Kt(e){return le(e,"__v_skip",!0),e}const Gt=e=>I(e)?Vt(e):e,Jt=e=>I(e)?Dt(e):e;class Qt{constructor(e,t,n,o){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new $e(()=>e(this._value),()=>Zt(this,1),()=>this.dep&&Je(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=X(this);return e._cacheable&&!e.effect.dirty||W(e._value,e._value=e.effect.run())&&Zt(e,2),Xt(e),e.effect._dirtyLevel>=1&&Zt(e,1),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Xt(e){Ve&&Pe&&(e=X(e),ze(Pe,e.dep||(e.dep=Qe(()=>e.dep=void 0,e instanceof Qt?e:void 0))))}function Zt(e,t=2,n){const o=(e=X(e)).dep;o&&Ge(o,t)}function O(e){return!(!e||!0!==e.__v_isRef)}function Yt(e){return en(e,!1)}function en(e,t){return O(e)?e:new tn(e,t)}class tn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:X(e),this._value=t?e:Gt(e)}get value(){return Xt(this),this._value}set value(e){const t=this.__v_isShallow||Wt(e)||qt(e);e=t?e:X(e),W(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Gt(e),Zt(this,2))}}function nn(e){return O(e)?e.value:e}const on={get:(e,t,n)=>nn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return O(r)&&!O(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function rn(e){return Ht(e)?e:new Proxy(e,on)}class sn{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Xt(this),()=>Zt(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function ln(e){return new sn(e)}class an{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=X(this._object),t=this._key,null==(n=Xe.get(e))?void 0:n.get(t);var e,t,n}}class cn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function un(e,t,n){const o=e[t];return O(o)?o:new an(e,t,n)}function pn(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){fn(e,t,n)}return r}function dn(t,n,o,r){if(R(t)){const s=pn(t,n,o,r);return s&&oe(s)&&s.catch(e=>{fn(e,n,o)}),s}const s=[];for(let e=0;e<t.length;e++)s.push(dn(t[e],n,o,r));return s}function fn(r,s,i,e=!0){if(s){let e=s.parent;const t=s.proxy,n=`https://vuejs.org/error-reference/#runtime-${i}`;for(;e;){const s=e.ec;if(s)for(let e=0;e<s.length;e++)if(!1===s[e](r,t,n))return;e=e.parent}const o=s.appContext.config.errorHandler;if(o)return void pn(o,null,10,[r,t,n])}!function(e,t,n,o=!0){console.error(e)}(r,0,0,e)}let hn=!1,mn=!1;const Z=[];let vn=0;const gn=[];let yn=null,_n=0;const bn=Promise.resolve();let xn=null;function Sn(e){const t=xn||bn;return e?t.then(this?e.bind(this):e):t}function Cn(e){Z.length&&Z.includes(e,hn&&e.allowRecurse?vn+1:vn)||(null==e.id?Z.push(e):Z.splice(function(o){let r=vn+1,s=Z.length;for(;r<s;){const e=r+s>>>1,t=Z[e],n=Nn(t);n<o||n===o&&t.pre?r=e+1:s=e}return r}(e.id),0,e),wn())}function wn(){hn||mn||(mn=!0,xn=bn.then(Pn))}function Tn(e){E(e)?gn.push(...e):yn&&yn.includes(e,e.allowRecurse?_n+1:_n)||gn.push(e),wn()}function An(e,t,n=hn?vn+1:0){for(;n<Z.length;n++){const t=Z[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;Z.splice(n,1),n--,t()}}}function kn(e){if(gn.length){const e=[...new Set(gn)].sort((e,t)=>Nn(e)-Nn(t));if(gn.length=0,yn)return void yn.push(...e);for(yn=e,_n=0;_n<yn.length;_n++)yn[_n]();yn=null,_n=0}}const Nn=e=>null==e.id?1/0:e.id,En=(e,t)=>{const n=Nn(e)-Nn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pn(e){mn=!1,hn=!0,Z.sort(En);try{for(vn=0;vn<Z.length;vn++){const e=Z[vn];e&&!1!==e.active&&pn(e,null,14)}}finally{vn=0,Z.length=0,kn(),hn=!1,xn=null,(Z.length||gn.length)&&Pn()}}function Rn(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||z;let r=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in o){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:s}=o[e]||z;s&&(r=n.map(e=>T(e)?e.trim():e)),t&&(r=n.map(ae))}let l,a=o[l=q(t)]||o[l=q(Q(t))];!a&&s&&(a=o[l=q(se(t))]),a&&dn(a,e,6,r);const c=o[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,dn(c,e,6,r)}}function In(e,n,t=!1){const o=n.emitsCache,r=o.get(e);if(void 0!==r)return r;const s=e.emits;let i={},l=!1;if(!R(e)){const o=e=>{const t=In(e,n,!0);t&&(l=!0,N(i,t))};!t&&n.mixins.length&&n.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?(E(s)?s.forEach(e=>i[e]=null):N(i,s),I(e)&&o.set(e,i),i):(I(e)&&o.set(e,null),null)}function On(e,t){return!(!e||!P(t))&&(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,se(t))||J(e,t))}let c=null,$n=null;function Mn(e){const t=c;return c=e,$n=e&&e.type.__scopeId||null,t}function Ln(o,r=c,e){if(!r)return o;if(o._n)return o;const s=(...e)=>{s._d&&ss(-1);const t=Mn(r);let n;try{n=o(...e)}finally{Mn(t),s._d&&ss(1)}return n};return s._n=!0,s._c=!0,s._d=!0,s}function Fn(t){const{type:e,vnode:n,proxy:o,withProxy:r,props:s,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:p,data:d,setupState:f,ctx:h,inheritAttrs:m}=t;let v,g;const y=Mn(t);try{if(4&n.shapeFlag){const t=r||o;v=gs(u.call(t,t,p,s,f,d,h)),g=a}else{const t=e;0,v=gs(t(s,t.length>1?{attrs:a,slots:l,emit:c}:null)),g=e.props?a:Un(a)}}catch(e){es.length=0,fn(e,t,1),v=ne(te)}let _=v;if(g&&!1!==m){const t=Object.keys(g),{shapeFlag:e}=_;t.length&&7&e&&(i&&t.some(b)&&(g=Vn(g,i)),_=ms(_,g))}return n.dirs&&(_=ms(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Mn(y),v}const Un=t=>{let n;for(const e in t)("class"===e||"style"===e||P(e))&&((n||(n={}))[e]=t[e]);return n},Vn=(t,n)=>{const o={};for(const e in t)b(e)&&e.slice(9)in n||(o[e]=t[e]);return o};function jn(n,o,r){const s=Object.keys(o);if(s.length!==Object.keys(n).length)return!0;for(let t=0;t<s.length;t++){const e=s[t];if(o[e]!==n[e]&&!On(r,e))return!0}return!1}function Dn({vnode:t,parent:n},o){for(;n;){const e=n.subTree;if(e.suspense&&e.suspense.activeBranch===t&&(e.el=t.el),e!==t)break;(t=n.vnode).el=o,n=n.parent}}const Bn="components";const Hn=Symbol.for("v-ndc");function qn(t,n,o=!0,r=!1){const s=c||_;if(s){const o=s.type;if(t===Bn){const t=Us(o,!1);if(t&&(t===n||t===Q(n)||t===H(Q(n))))return o}const e=Wn(s[t]||o[t],n)||Wn(s.appContext[t],n);return!e&&r?o:e}}function Wn(e,t){return e&&(e[t]||e[Q(t)]||e[H(Q(t))])}const zn=e=>e.__isSuspense;let Kn=0;const Gn={name:"Suspense",__isSuspense:!0,process(e,t,n,o,r,s,i,l,a,c){if(null==e)!function(e,t,n,o,r,s,i,l,a){const{p:c,o:{createElement:u}}=a,p=u("div"),d=e.suspense=Qn(e,r,o,t,p,n,s,i,l,a);c(null,d.pendingBranch=e.ssContent,p,null,o,d,s,i),d.deps>0?(Jn(e,"onPending"),Jn(e,"onFallback"),c(null,e.ssFallback,t,n,o,null,s,i),Yn(d,e.ssFallback)):d.resolve(!1,!0)}(t,n,o,r,s,i,l,a,c);else{if(s&&s.deps>0)return void(t.suspense=e.suspense);!function(e,t,n,o,r,s,i,l,{p:a,um:c,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const d=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:g}=p;if(m)p.pendingBranch=d,cs(d,m)?(a(m,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():v&&(g||(a(h,f,n,o,r,null,s,i,l),Yn(p,f)))):(p.pendingId=Kn++,g?(p.isHydrating=!1,p.activeBranch=m):c(m,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),v?(a(null,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0?p.resolve():(a(h,f,n,o,r,null,s,i,l),Yn(p,f))):h&&cs(d,h)?(a(h,d,n,o,r,p,s,i,l),p.resolve(!0)):(a(null,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0&&p.resolve()));else if(h&&cs(d,h))a(h,d,n,o,r,p,s,i,l),Yn(p,d);else if(Jn(t,"onPending"),p.pendingBranch=d,p.pendingId=512&d.shapeFlag?d.component.suspenseId:Kn++,a(null,d,p.hiddenContainer,null,r,p,s,i,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout(()=>{p.pendingId===t&&p.fallback(f)},e):0===e&&p.fallback(f)}}(e,t,n,o,r,i,l,a,c)}},hydrate:function(e,t,n,o,r,s,i,l,a){const c=t.suspense=Qn(t,o,n,e.parentNode,document.createElement("div"),null,r,s,i,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,s,i);0===c.deps&&c.resolve(!1,!0);return u},create:Qn,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=Xn(o?n.default:n),e.ssFallback=o?Xn(n.fallback):ne(te)}};function Jn(e,t){const n=e.props&&e.props[t];R(n)&&n()}function Qn(e,d,n,t,o,f,l,c,u,r,s=!1){const{p,m:h,um:m,n:v,o:{parentNode:g,remove:a}}=r;let y;const _=function(e){var t;return null!=(null==(t=e.props)?void 0:t.suspensible)&&!1!==e.props.suspensible}(e);_&&(null==d?void 0:d.pendingBranch)&&(y=d.pendingId,d.deps++);const i=e.props?ce(e.props.timeout):void 0,b=f,x={vnode:e,parent:d,parentComponent:n,namespace:l,container:t,hiddenContainer:o,deps:0,pendingId:Kn++,timeout:"number"==typeof i?i:-1,activeBranch:null,pendingBranch:null,isInFallback:!s,isHydrating:s,isUnmounted:!1,effects:[],resolve(e=!1,t=!1){const{vnode:n,activeBranch:o,pendingBranch:r,pendingId:s,effects:i,parentComponent:l,container:a}=x;let c=!1;x.isHydrating?x.isHydrating=!1:e||(c=o&&r.transition&&"out-in"===r.transition.mode,c&&(o.transition.afterLeave=()=>{s===x.pendingId&&(h(r,a,f===b?v(o):f,0),Tn(i))}),o&&(g(o.el)!==x.hiddenContainer&&(f=v(o)),m(o,l,x,!0)),c||h(r,a,f,0)),Yn(x,r),x.pendingBranch=null,x.isInFallback=!1;let u=x.parent,p=!1;for(;u;){if(u.pendingBranch){u.effects.push(...i),p=!0;break}u=u.parent}p||c||Tn(i),x.effects=[],_&&d&&d.pendingBranch&&y===d.pendingId&&(d.deps--,0!==d.deps||t||d.resolve()),Jn(n,"onResolve")},fallback(e){if(!x.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:r,namespace:s}=x;Jn(t,"onFallback");const i=v(n),l=()=>{x.isInFallback&&(p(null,e,r,i,o,null,s,c,u),Yn(x,e))},a=e.transition&&"out-in"===e.transition.mode;a&&(n.transition.afterLeave=l),x.isInFallback=!0,m(n,o,null,!0),a||l()},move(e,t,n){x.activeBranch&&h(x.activeBranch,e,t,n),x.container=e},next:()=>x.activeBranch&&v(x.activeBranch),registerDep(o,r){const s=!!x.pendingBranch;s&&x.deps++;const i=o.vnode.el;o.asyncDep.catch(e=>{fn(e,o,0)}).then(e=>{if(o.isUnmounted||x.isUnmounted||x.pendingId!==o.suspenseId)return;o.asyncResolved=!0;const{vnode:t}=o;Os(o,e,!1),i&&(t.el=i);const n=!i&&o.subTree.el;r(o,t,g(i||o.subTree.el),i?null:v(o.subTree),x,l,u),n&&a(n),Dn(o,t.el),s&&0==--x.deps&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&m(x.activeBranch,n,e,t),x.pendingBranch&&m(x.pendingBranch,n,e,t)}};return x}function Xn(t){let n;if(R(t)){const e=rs&&t._c;e&&(t._d=!1,ns()),t=t(),e&&(t._d=!0,n=ts,os())}if(E(t)){const n=function(t,n=!0){let o;for(let e=0;e<t.length;e++){const n=t[e];if(!as(n))return;if(n.type!==te||"v-if"===n.children){if(o)return;o=n}}return o}(t);t=n}return t=gs(t),n&&!t.dynamicChildren&&(t.dynamicChildren=n.filter(e=>e!==t)),t}function Zn(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):Tn(e)}function Yn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let r=t.el;for(;!r&&t.component;)r=(t=t.component.subTree).el;n.el=r,o&&o.subTree===n&&(o.vnode.el=r,Dn(o,r))}const eo=Symbol.for("v-scx");function to(e,t){return so(e,null,{flush:"post"})}function no(e,t){return so(e,null,{flush:"sync"})}const oo={};function ro(e,t,n){return so(e,t,n)}function so(t,n,{immediate:e,deep:o,flush:r,once:s}=z){if(n&&s){const t=n;n=(...e)=>{t(...e),y()}}const i=_,l=e=>!0===o?e:ao(e,!1===o?1:void 0);let a,c,u=!1,p=!1;if(O(t)?(a=()=>t.value,u=Wt(t)):Ht(t)?(a=()=>l(t),u=!0):E(t)?(p=!0,u=t.some(e=>Ht(e)||Wt(e)),a=()=>t.map(e=>O(e)?e.value:Ht(e)?l(e):R(e)?pn(e,i,2):void 0)):a=R(t)?n?()=>pn(t,i,2):()=>(c&&c(),dn(t,i,3,[d])):G,n&&o){const t=a;a=()=>ao(t())}let d=e=>{c=v.onStop=()=>{pn(e,i,4),c=v.onStop=void 0}},f=p?new Array(t.length).fill(oo):oo;const h=()=>{if(v.active&&v.dirty)if(n){const e=v.run();(o||u||(p?e.some((e,t)=>W(e,f[t])):W(e,f)))&&(c&&c(),dn(n,i,3,[e,f===oo?void 0:p&&f[0]===oo?[]:f,d]),f=e)}else v.run()};let m;h.allowRecurse=!!n,"sync"===r?m=h:"post"===r?m=()=>Y(h,i&&i.suspense):(h.pre=!0,i&&(h.id=i.uid),m=()=>Cn(h));const v=new $e(a,G,m),g=Oe(),y=()=>{v.stop(),g&&x(g.effects,v)};return n?e?h():f=v.run():"post"===r?Y(v.run.bind(v),i&&i.suspense):v.run(),y}function io(e,t,n){const o=this.proxy,r=T(e)?e.includes(".")?lo(o,e):()=>o[e]:e.bind(o,o);let s;R(t)?s=t:(s=t.handler,n=t);const i=ks(this),l=so(r,s.bind(o),n);return i(),l}function lo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function ao(t,n,o=0,r){if(!I(t)||t.__v_skip)return t;if(n&&n>0){if(o>=n)return t;o++}if((r=r||new Set).has(t))return t;if(r.add(t),O(t))ao(t.value,n,o,r);else if(E(t))for(let e=0;e<t.length;e++)ao(t[e],n,o,r);else if(g(t)||v(t))t.forEach(e=>{ao(e,n,o,r)});else if(F(t))for(const e in t)ao(t[e],n,o,r);return t}function co(o,r,s,i){const l=o.dirs,a=r&&r.dirs;for(let n=0;n<l.length;n++){const e=l[n];a&&(e.oldValue=a[n].value);let t=e.dir[i];t&&(Be(),dn(t,s,8,[o.el,e,o,r]),He())}}const uo=Symbol("_leaveCb"),po=Symbol("_enterCb");function fo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Uo(()=>{e.isMounted=!0}),Do(()=>{e.isUnmounting=!0}),e}const ho=[Function,Array],mo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ho,onEnter:ho,onAfterEnter:ho,onEnterCancelled:ho,onBeforeLeave:ho,onLeave:ho,onAfterLeave:ho,onLeaveCancelled:ho,onBeforeAppear:ho,onAppear:ho,onAfterAppear:ho,onAppearCancelled:ho},vo={name:"BaseTransition",props:mo,setup(u,{slots:p}){const d=ws(),f=fo();let h;return()=>{const e=p.default&&So(p.default(),!0);if(!e||!e.length)return;let t=e[0];if(e.length>1)for(const u of e)if(u.type!==te){t=u;break}const n=X(u),{mode:o}=n;if(f.isLeaving)return _o(t);const r=bo(t);if(!r)return _o(t);const s=yo(r,n,f,d);xo(r,s);const i=d.subTree,l=i&&bo(i);let a=!1;const{getTransitionKey:c}=r.type;if(c){const u=c();void 0===h?h=u:u!==h&&(h=u,a=!0)}if(l&&l.type!==te&&(!cs(r,l)||a)){const u=yo(l,n,f,d);if(xo(l,u),"out-in"===o)return f.isLeaving=!0,u.afterLeave=()=>{f.isLeaving=!1,!1!==d.update.active&&(d.effect.dirty=!0,d.update())},_o(t);"in-out"===o&&r.type!==te&&(u.delayLeave=(e,t,n)=>{go(f,l)[String(l.key)]=l,e[uo]=()=>{t(),e[uo]=void 0,delete s.delayedLeave},s.delayedLeave=n})}return t}}};function go(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function yo(s,t,i,n){const{appear:l,mode:e,persisted:o=!1,onBeforeEnter:r,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:p,onLeave:d,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:g,onAppearCancelled:y}=t,_=String(s.key),b=go(i,s),x=(e,t)=>{e&&dn(e,n,9,t)},S=(e,t)=>{const n=t[1];x(e,t),E(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},C={mode:e,persisted:o,beforeEnter(e){let t=r;if(!i.isMounted){if(!l)return;t=m||r}e[uo]&&e[uo](!0);const n=b[_];n&&cs(s,n)&&n.el[uo]&&n.el[uo](),x(t,[e])},enter(t){let e=a,n=c,o=u;if(!i.isMounted){if(!l)return;e=v||a,n=g||c,o=y||u}let r=!1;const s=t[po]=e=>{r||(r=!0,x(e?o:n,[t]),C.delayedLeave&&C.delayedLeave(),t[po]=void 0)};e?S(e,[t,s]):s()},leave(t,n){const o=String(s.key);if(t[po]&&t[po](!0),i.isUnmounting)return n();x(p,[t]);let r=!1;const e=t[uo]=e=>{r||(r=!0,n(),x(e?h:f,[t]),t[uo]=void 0,b[o]===s&&delete b[o])};b[o]=s,d?S(d,[t,e]):e()},clone:e=>yo(e,t,i,n)};return C}function _o(e){if(Ao(e))return(e=ms(e)).children=null,e}function bo(e){return Ao(e)?e.children?e.children[0]:void 0:e}function xo(e,t){6&e.shapeFlag&&e.component?xo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function So(o,r=!1,s){let i=[],l=0;for(let n=0;n<o.length;n++){let e=o[n];const t=null==s?e.key:String(s)+String(null!=e.key?e.key:n);e.type===ee?(128&e.patchFlag&&l++,i=i.concat(So(e.children,r,t))):(r||e.type!==te)&&i.push(null!=t?ms(e,{key:t}):e)}if(l>1)for(let e=0;e<i.length;e++)i[e].patchFlag=-2;return i}function Co(e,t){return R(e)?(()=>N({name:e.name},t,{setup:e}))():e}const wo=e=>!!e.type.__asyncLoader;function To(e,t){const{ref:n,props:o,children:r,ce:s}=t.vnode,i=ne(e,o,r);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Ao=e=>e.type.__isKeepAlive,ko={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(u,{slots:p}){const r=ws(),e=r.ctx,d=new Map,f=new Set;let h=null;const i=r.suspense,{renderer:{p:l,m:a,um:t,o:{createElement:n}}}=e,o=n("div");function s(e){Oo(e),t(e,r,i,!0)}function c(o){d.forEach((e,t)=>{const n=Us(e.type);!n||o&&o(n)||m(t)})}function m(e){const t=d.get(e);h&&cs(t,h)?h&&Oo(h):s(t),d.delete(e),f.delete(e)}e.activate=(t,e,n,o,r)=>{const s=t.component;a(t,e,n,0,i),l(s.vnode,t,e,n,s,i,o,t.slotScopeIds,r),Y(()=>{s.isDeactivated=!1,s.a&&ie(s.a);const e=t.props&&t.props.onVnodeMounted;e&&xs(e,s.parent,t)},i)},e.deactivate=t=>{const n=t.component;a(t,o,null,1,i),Y(()=>{n.da&&ie(n.da);const e=t.props&&t.props.onVnodeUnmounted;e&&xs(e,n.parent,t),n.isDeactivated=!0},i)},ro(()=>[u.include,u.exclude],([t,n])=>{t&&c(e=>No(t,e)),n&&c(e=>!No(n,e))},{flush:"post",deep:!0});let v=null;const g=()=>{null!=v&&d.set(v,$o(r.subTree))};return Uo(g),jo(g),Do(()=>{d.forEach(e=>{const{subTree:t,suspense:n}=r,o=$o(t);if(e.type!==o.type||e.key!==o.key)s(e);else{Oo(o);const e=o.component.da;e&&Y(e,n)}})}),()=>{if(v=null,!p.default)return null;const e=p.default(),t=e[0];if(e.length>1)return h=null,e;if(!(as(t)&&(4&t.shapeFlag||128&t.shapeFlag)))return h=null,t;let n=$o(t);const o=n.type,r=Us(wo(n)?n.type.__asyncResolved||{}:o),{include:s,exclude:i,max:l}=u;if(s&&(!r||!No(s,r))||i&&r&&No(i,r))return h=n,t;const a=null==n.key?o:n.key,c=d.get(a);return n.el&&(n=ms(n),128&t.shapeFlag&&(t.ssContent=n)),v=a,c?(n.el=c.el,n.component=c.component,n.transition&&xo(n,n.transition),n.shapeFlag|=512,f.delete(a),f.add(a)):(f.add(a),l&&f.size>parseInt(l,10)&&m(f.values().next().value)),n.shapeFlag|=256,h=n,zn(t.type)?t:n}}};function No(e,t){return E(e)?e.some(e=>No(e,t)):T(e)?e.split(",").includes(t):"[object RegExp]"===C(e)&&e.test(t)}function Eo(e,t){Ro(e,"a",t)}function Po(e,t){Ro(e,"da",t)}function Ro(t,n,o=_){const r=t.__wdc||(t.__wdc=()=>{let e=o;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(Mo(n,r,o),o){let e=o.parent;for(;e&&e.parent;)Ao(e.parent.vnode)&&Io(r,n,o,e),e=e.parent}}function Io(e,t,n,o){const r=Mo(t,e,o,!0);Bo(()=>{x(o[t],r)},n)}function Oo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function $o(e){return 128&e.shapeFlag?e.ssContent:e}function Mo(o,r,s=_,n=!1){if(s){const e=s[o]||(s[o]=[]),t=r.__weh||(r.__weh=(...e)=>{if(s.isUnmounted)return;Be();const t=ks(s),n=dn(r,s,o,e);return t(),He(),n});return n?e.unshift(t):e.push(t),t}}const Lo=n=>(t,e=_)=>(!Is||"sp"===n)&&Mo(n,(...e)=>t(...e),e),Fo=Lo("bm"),Uo=Lo("m"),Vo=Lo("bu"),jo=Lo("u"),Do=Lo("bum"),Bo=Lo("um"),Ho=Lo("sp"),qo=Lo("rtg"),Wo=Lo("rtc");function zo(e,t=_){Mo("ec",e,t)}function Ko(e){return e.some(e=>!as(e)||e.type!==te&&!(e.type===ee&&!Ko(e.children)))?e:null}const Go=e=>e?Es(e)?Fs(e)||e.proxy:Go(e.parent):null,Jo=N(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>e.$parent||Go(e.parent),$root:e=>e.$root||Go(e.root),$emit:e=>e.emit,$options:e=>sr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Cn(e.update)}),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>io.bind(e),$containers:e=>e.$containers,$container:e=>e.$container,$data:e=>e.$data,$created:e=>e.$created,$unmounted:e=>e.$unmounted,$mounted:e=>e.$mounted,$layout:e=>e.$layout,$app:e=>e.$app,$baseMethods:e=>e.$baseMethods,$view:e=>e.$view}),Qo=(e,t)=>e!==z&&!e.__isScriptSetup&&J(e,t),Xo={get({_:e},t){const{ctx:n,setupState:o,data:r,props:s,accessCache:i,type:l,appContext:a}=e;let c;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return s[t]}else{if(Qo(o,t))return i[t]=1,o[t];if(r!==z&&J(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&J(c,t))return i[t]=3,s[t];if(n!==z&&J(n,t))return i[t]=4,n[t];tr&&(i[t]=0)}}const u=Jo[t];let p,d;return u?("$attrs"===t&&f(e,0,t),u(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==z&&J(n,t)?(i[t]=4,n[t]):(d=a.config.globalProperties,J(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:o,setupState:r,ctx:s}=e;return Qo(r,t)?(r[t]=n,!0):o!==z&&J(o,t)?(o[t]=n,!0):!J(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:s}},i){let l;return!!n[i]||e!==z&&J(e,i)||Qo(t,i)||(l=s[0])&&J(l,i)||J(o,i)||J(Jo,i)||J(r.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Zo=N({},Xo,{get(e,t){if(t!==Symbol.unscopables)return Xo.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!de(t)});function Yo(){const e=ws();return e.setupContext||(e.setupContext=Ls(e))}function er(e){return E(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let tr=!0;function nr(t){const e=sr(t),n=t.proxy,o=t.ctx;tr=!1,e.beforeCreate&&or(e.beforeCreate,t,"bc");const{data:r,computed:s,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:p,mounted:d,beforeUpdate:f,updated:h,activated:m,deactivated:v,beforeUnmount:g,unmounted:y,render:_,renderTracked:b,renderTriggered:x,errorCaptured:S,serverPrefetch:C,expose:w,inheritAttrs:T,components:A,directives:k}=e;if(c&&function(n,o,r=G){E(n)&&(n=cr(n));for(const e in n){const r=n[e];let t;t=I(r)?"default"in r?gr(r.from||e,r.default,!0):gr(r.from||e):gr(r),O(t)?Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>t.value,set:e=>t.value=e}):o[e]=t}}(c,o,null),i)for(const G in i){const t=i[G];R(t)&&(o[G]=t.bind(n))}if(r){const e=r.call(n,n);I(e)&&(t.data=Vt(e))}if(tr=!0,s)for(const E in s){const t=s[E],e=R(t)?t.bind(n,n):R(t.get)?t.get.bind(n,n):G,r=!R(t)&&R(t.set)?t.set.bind(n):G,i=Vs({get:e,set:r});Object.defineProperty(o,E,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const G in l)rr(l[G],o,n,G);if(a){const t=R(a)?a.call(n):a;Reflect.ownKeys(t).forEach(e=>{vr(e,t[e])})}function N(t,e){E(e)?e.forEach(e=>t(e.bind(n))):e&&t(e.bind(n))}if(u&&or(u,t,"c"),N(Fo,p),N(Uo,d),N(Vo,f),N(jo,h),N(Eo,m),N(Po,v),N(zo,S),N(Wo,b),N(qo,x),N(Do,g),N(Bo,y),N(Ho,C),E(w))if(w.length){const e=t.exposed||(t.exposed={});w.forEach(t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})})}else t.exposed||(t.exposed={});_&&t.render===G&&(t.render=_),null!=T&&(t.inheritAttrs=T),A&&(t.components=A),k&&(t.directives=k)}function or(e,t,n){dn(E(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function rr(e,t,n,o){const r=o.includes(".")?lo(n,o):()=>n[o];if(T(e)){const n=t[e];R(n)&&ro(r,n)}else if(R(e))ro(r,e.bind(n));else if(I(e))if(E(e))e.forEach(e=>rr(e,t,n,o));else{const o=R(e.handler)?e.handler.bind(n):t[e.handler];R(o)&&ro(r,o,e)}}function sr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:r.length||n||o?(a={},r.length&&r.forEach(e=>ir(a,e,i,!0)),ir(a,t,i)):a=t,I(t)&&s.set(t,a),a}function ir(t,n,o,r=!1){const{mixins:e,extends:s}=n;s&&ir(t,s,o,!0),e&&e.forEach(e=>ir(t,e,o,!0));for(const e in n)if(r&&"expose"===e);else{const r=lr[e]||o&&o[e];t[e]=r?r(t[e],n[e]):n[e]}return t}const lr={data:ar,props:pr,emits:pr,methods:ur,computed:ur,beforeCreate:r,created:r,beforeMount:r,mounted:r,beforeUpdate:r,updated:r,beforeDestroy:r,beforeUnmount:r,destroyed:r,unmounted:r,activated:r,deactivated:r,errorCaptured:r,serverPrefetch:r,components:ur,directives:ur,watch:function(t,n){if(!t)return n;if(!n)return t;const o=N(Object.create(null),t);for(const e in n)o[e]=r(t[e],n[e]);return o},provide:ar,inject:function(e,t){return ur(cr(e),cr(t))}};function ar(e,t){return t?e?function(){return N(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function cr(n){if(E(n)){const t={};for(let e=0;e<n.length;e++)t[n[e]]=n[e];return t}return n}function r(e,t){return e?[...new Set([].concat(e,t))]:t}function ur(e,t){return e?N(Object.create(null),e,t):t}function pr(e,t){return e?E(e)&&E(t)?[...new Set([...e,...t])]:N(Object.create(null),er(e),er(null!=t?t:{})):t}function dr(){return{app:null,config:{isNativeTag:o,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let fr=0;function hr(c,u){return function(r,s=null){R(r)||(r=N({},r)),null==s||I(s)||(s=null);const i=dr(),n=new WeakSet;let l=!1;const a=i.app={_uid:fr++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:Bs,get config(){return i.config},set config(e){},use:(e,...t)=>(n.has(e)||(e&&R(e.install)?(n.add(e),e.install(a,...t)):R(e)&&(n.add(e),e(a,...t))),a),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(t,n,o){if(!l){const e=ne(r,s);return e.appContext=i,!0===o?o="svg":!1===o&&(o=void 0),n&&u?u(e,t):c(e,t,o),l=!0,a._container=t,t.__vue_app__=a,Fs(e.component)||e.component.proxy}},unmount(){l&&(c(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a),runWithContext(e){mr=a;try{return e()}finally{mr=null}}};return a}}let mr=null;function vr(n,o){if(_){let e=_.provides;const t=_.parent&&_.parent.provides;t===e&&(e=_.provides=Object.create(t)),e[n]=o}else;}function gr(t,n,o=!1){const r=_||c;if(r||mr){const e=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:mr._context.provides;if(e&&t in e)return e[t];if(arguments.length>1)return o&&R(n)?n.call(r&&r.proxy):n}}function yr(o,r,s,i){const[l,a]=o.propsOptions;let c,u=!1;if(r)for(let n in r){if(re(n))continue;const e=r[n];let t;l&&J(l,t=Q(n))?a&&a.includes(t)?(c||(c={}))[t]=e:s[t]=e:On(o.emitsOptions,n)||n in i&&e===i[n]||(i[n]=e,u=!0)}if(a){const r=X(s),i=c||z;for(let e=0;e<a.length;e++){const c=a[e];s[c]=_r(l,r,c,i[c],o,!J(i,c))}}return u}function _r(e,t,n,o,r,s){const i=e[n];if(null!=i){const e=J(i,"default");if(e&&void 0===o){const e=i.default;if(i.type!==Function&&!i.skipFactory&&R(e)){const{propsDefaults:s}=r;if(n in s)o=s[n];else{const i=ks(r);o=s[n]=e.call(null,t),i()}}else o=e}i[0]&&(s&&!e?o=!1:!i[1]||""!==o&&o!==se(n)||(o=!0))}return o}function br(t,o,e=!1){const n=o.propsCache,r=n.get(t);if(r)return r;const s=t.props,i={},l=[];let a=!1;if(!R(t)){const z=e=>{a=!0;const[t,n]=br(e,o,!0);N(i,t),n&&l.push(...n)};!e&&o.mixins.length&&o.mixins.forEach(z),t.extends&&z(t.extends),t.mixins&&t.mixins.forEach(z)}if(!s&&!a)return I(t)&&n.set(t,K),K;if(E(s))for(let e=0;e<s.length;e++){const t=Q(s[e]);xr(t)&&(i[t]=z)}else if(s)for(const z in s){const t=Q(z);if(xr(t)){const o=s[z],K=i[t]=E(o)||R(o)?{type:o}:N({},o);if(K){const o=wr(Boolean,K.type),z=wr(String,K.type);K[0]=o>-1,K[1]=z<0||o<z,(o>-1||J(K,"default"))&&l.push(t)}}}const c=[i,l];return I(t)&&n.set(t,c),c}function xr(e){return"$"!==e[0]}function Sr(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function Cr(e,t){return Sr(e)===Sr(t)}function wr(t,e){return E(e)?e.findIndex(e=>Cr(e,t)):R(e)&&Cr(e,t)?0:-1}const Tr=e=>"_"===e[0]||"$stable"===e,Ar=e=>E(e)?e.map(gs):[gs(e)],kr=(e,t,n)=>{if(t._n)return t;const o=Ln((...e)=>Ar(t(...e)),n);return o._c=!1,o},Nr=(t,n,o)=>{const r=t._ctx;for(const e in t){if(Tr(e))continue;const o=t[e];if(R(o))n[e]=kr(0,o,r);else if(null!=o){const t=Ar(o);n[e]=()=>t}}},Er=(e,t)=>{const n=Ar(t);e.slots.default=()=>n},Pr=(t,n)=>{if(32&t.vnode.shapeFlag){const e=n._;e?(t.slots=X(n),le(n,"_",e)):Nr(n,t.slots={})}else t.slots={},n&&Er(t,n);le(t.slots,us,1)},Rr=(e,t,n)=>{const{vnode:o,slots:r}=e;let s=!0,i=z;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:(N(r,t),n||1!==e||delete r._):(s=!t.$stable,Nr(t,r)),i=t}else t&&(Er(e,t),i={default:1});if(s)for(const z in r)Tr(z)||null!=i[z]||delete r[z]};function Ir(e,n,o,r,s=!1){if(E(e))return void e.forEach((e,t)=>Ir(e,n&&(E(n)?n[t]:n),o,r,s));if(wo(r)&&!s)return;const t=4&r.shapeFlag?Fs(r.component)||r.component.proxy:r.el,i=s?null:t,{i:l,r:a}=e,c=n&&n.r,u=l.refs===z?l.refs={}:l.refs,p=l.setupState;if(null!=c&&c!==a&&(T(c)?(u[c]=null,J(p,c)&&(p[c]=null)):O(c)&&(c.value=null)),R(a))pn(a,l,12,[i,u]);else{const n=T(a),z=O(a),r=e.f;if(n||z){const l=()=>{if(r){const z=n?J(p,a)?p[a]:u[a]:a.value;s?E(z)&&x(z,t):E(z)?z.includes(t)||z.push(t):n?(u[a]=[t],J(p,a)&&(p[a]=u[a])):(a.value=[t],e.k&&(u[e.k]=a.value))}else n?(u[a]=i,J(p,a)&&(p[a]=i)):z&&(a.value=i,e.k&&(u[e.k]=i))};s||r?l():(l.id=-1,Y(l,o))}}}let Or=!1;const $r=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,Mr=e=>8===e.nodeType;function Lr(h){const{mt:m,p:u,o:{patchProp:v,createText:g,nextSibling:y,parentNode:_,remove:b,insert:x,createComment:c}}=h,S=(t,n,e,o,r,s=!1)=>{const i=Mr(t)&&"["===t.data,l=()=>A(t,n,e,o,r,i),{type:a,ref:c,shapeFlag:u,patchFlag:p}=n;let d=t.nodeType;n.el=t,-2===p&&(s=!1,n.dynamicChildren=null);let f=null;switch(a){case Zr:3!==d?""===n.children?(x(n.el=g(""),_(t),t),f=t):f=l():(t.data!==n.children&&(Or=!0,t.data=n.children),f=y(t));break;case te:E(t)?(f=y(t),N(n.el=t.content.firstChild,t,e)):f=8!==d||i?l():y(t);break;case Yr:if(i&&(d=(t=y(t)).nodeType),1===d||3===d){f=t;const h=!n.children.length;for(let e=0;e<n.staticCount;e++)h&&(n.children+=1===f.nodeType?f.outerHTML:f.data),e===n.staticCount-1&&(n.anchor=f),f=y(f);return i?y(f):f}l();break;case ee:f=i?T(t,n,e,o,r,s):l();break;default:if(1&u)f=1===d&&n.type.toLowerCase()===t.tagName.toLowerCase()||E(t)?C(t,n,e,o,r,s):l();else if(6&u){n.slotScopeIds=r;const h=_(t);if(f=i?k(t):Mr(t)&&"teleport start"===t.data?k(t,t.data,"teleport end"):y(t),m(n,h,null,e,o,$r(h),s),wo(n)){let e;i?(e=ne(ee),e.anchor=f?f.previousSibling:h.lastChild):e=3===t.nodeType?vs(""):ne("div"),e.el=t,n.component.subTree=e}}else 64&u?f=8!==d?l():n.type.hydrate(t,n,e,o,r,s,h,w):128&u&&(f=n.type.hydrate(t,n,e,o,$r(_(t)),r,s,h,S))}return null!=c&&Ir(c,null,o,n),f},C=(n,o,r,s,i,l)=>{l=l||!!o.dynamicChildren;const{type:e,props:a,patchFlag:c,shapeFlag:u,dirs:p,transition:d}=o,f="input"===e||"option"===e;if(f||-1!==c){p&&co(o,null,r,"created");let e,t=!1;if(E(n)){t=Br(s,d)&&r&&r.vnode.props&&r.vnode.props.appear;const v=n.content.firstChild;t&&d.beforeEnter(v),N(v,n,r),o.el=n=v}if(16&u&&(!a||!a.innerHTML&&!a.textContent)){let e=w(n.firstChild,o,n,r,s,i,l);for(;e;){Or=!0;const n=e;e=e.nextSibling,b(n)}}else 8&u&&n.textContent!==o.children&&(Or=!0,n.textContent=o.children);if(a)if(f||!l||48&c)for(const o in a)(f&&(o.endsWith("value")||"indeterminate"===o)||P(o)&&!re(o)||"."===o[0])&&v(n,o,null,a[o],void 0,void 0,r);else a.onClick&&v(n,"onClick",null,a.onClick,void 0,void 0,r);(e=a&&a.onVnodeBeforeMount)&&xs(e,r,o),p&&co(o,null,r,"beforeMount"),((e=a&&a.onVnodeMounted)||p||t)&&Zn(()=>{e&&xs(e,r,o),t&&d.enter(n),p&&co(o,null,r,"mounted")},s)}return n.nextSibling},w=(t,n,o,r,s,i,l)=>{l=l||!!n.dynamicChildren;const a=n.children,c=a.length;for(let e=0;e<c;e++){const n=l?a[e]:a[e]=gs(a[e]);if(t)t=S(t,n,r,s,i,l);else{if(n.type===Zr&&!n.children)continue;Or=!0,u(null,n,o,null,r,s,$r(o),i)}}return t},T=(e,t,n,o,r,s)=>{const{slotScopeIds:i}=t;i&&(r=r?r.concat(i):i);const l=_(e),a=w(y(e),t,l,n,o,r,s);return a&&Mr(a)&&"]"===a.data?y(t.anchor=a):(Or=!0,x(t.anchor=c("]"),l,a),a)},A=(e,t,n,o,r,s)=>{if(Or=!0,t.el=null,s){const t=k(e);for(;;){const u=y(e);if(!u||u===t)break;b(u)}}const i=y(e),l=_(e);return b(e),u(null,t,l,i,n,o,$r(l),r),i},k=(e,t="[",n="]")=>{let o=0;for(;e;)if((e=y(e))&&Mr(e)&&(e.data===t&&o++,e.data===n)){if(0===o)return y(e);o--}return e},N=(e,t,n)=>{const o=t.parentNode;o&&o.replaceChild(e,t);let r=n;for(;r;)r.vnode.el===t&&(r.vnode.el=r.subTree.el=e),r=r.parent},E=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return u(null,e,t),kn(),void(t._vnode=e);Or=!1,S(t.firstChild,e,null,null,null),kn(),t._vnode=e,Or&&console.error("Hydration completed but contains mismatches.")},S]}const Y=Zn;function Fr(e){return Vr(e)}function Ur(e){return Vr(e,Lr)}function Vr(e,t){pe().__VUE__=!0;const{insert:m,remove:i,patchProp:v,createElement:g,createText:h,createComment:r,setText:s,setElementText:y,parentNode:_,nextSibling:u,setScopeId:l=G,insertStaticContent:a}=e,C=(e,t,n,o=null,r=null,s=null,i=void 0,l=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!cs(e,t)&&(o=I(e),E(e,r,s,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:p}=t;switch(c){case Zr:d(e,t,n,o);break;case te:f(e,t,n,o);break;case Yr:null==e&&L(t,n,o,i);break;case ee:j(e,t,n,o,r,s,i,l,a);break;default:1&p?F(e,t,n,o,r,s,i,l,a):6&p?D(e,t,n,o,r,s,i,l,a):(64&p||128&p)&&c.process(e,t,n,o,r,s,i,l,a,O)}null!=u&&r&&Ir(u,e&&e.ref,s,t||e,!t)},d=(e,t,n,o)=>{if(null==e)m(t.el=h(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&s(n,t.children)}},f=(e,t,n,o)=>{null==e?m(t.el=r(t.children||""),n,o):t.el=e.el},L=(e,t,n,o)=>{[e.el,e.anchor]=a(e.children,t,n,o,e.el,e.anchor)},F=(e,t,n,o,r,s,i,l,a)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?U(t,n,o,r,s,i,l,a):V(e,t,r,s,i,l,a)},U=(e,t,n,o,r,s,i,l)=>{let a,c;const{props:u,shapeFlag:p,transition:d,dirs:f}=e;if(a=e.el=g(e.type,s,u&&u.is,u),8&p?y(a,e.children):16&p&&x(e.children,a,null,o,r,jr(e,s),i,l),f&&co(e,null,o,"created"),b(a,e,e.scopeId,i,o),u){for(const t in u)"value"===t||re(t)||v(a,t,null,u[t],s,e.children,o,r,R);"value"in u&&v(a,"value",null,u.value,s),(c=u.onVnodeBeforeMount)&&xs(c,o,e)}f&&co(e,null,o,"beforeMount");const h=Br(r,d);h&&d.beforeEnter(a),m(a,t,n),((c=u&&u.onVnodeMounted)||h||f)&&Y(()=>{c&&xs(c,o,e),h&&d.enter(a),f&&co(e,null,o,"mounted")},r)},b=(t,e,n,o,r)=>{if(n&&l(t,n),o)for(let e=0;e<o.length;e++)l(t,o[e]);if(r){if(e===r.subTree){const e=r.vnode;b(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},x=(t,n,o,r,s,i,l,a,c=0)=>{for(let e=c;e<t.length;e++){const c=t[e]=a?ys(t[e]):gs(t[e]);C(null,c,n,o,r,s,i,l,a)}},V=(t,e,n,o,r,s,i)=>{const l=e.el=t.el;let{patchFlag:a,dynamicChildren:c,dirs:u}=e;a|=16&t.patchFlag;const p=t.props||z,d=e.props||z;let f;if(n&&Dr(n,!1),(f=d.onVnodeBeforeUpdate)&&xs(f,n,e,t),u&&co(e,t,n,"beforeUpdate"),n&&Dr(n,!0),c?S(t.dynamicChildren,c,l,n,o,jr(e,r),s):i||A(t,e,l,null,n,o,jr(e,r),s,!1),a>0){if(16&a)w(l,e,p,d,n,o,r);else if(2&a&&p.class!==d.class&&v(l,"class",null,d.class,r),4&a&&v(l,"style",p.style,d.style,r),8&a){const z=e.dynamicProps;for(let e=0;e<z.length;e++){const s=z[e],i=p[s],a=d[s];a===i&&"value"!==s||v(l,s,i,a,r,t.children,n,o,R)}}1&a&&t.children!==e.children&&y(l,e.children)}else i||null!=c||w(l,e,p,d,n,o,r);((f=d.onVnodeUpdated)||u)&&Y(()=>{f&&xs(f,n,e,t),u&&co(e,t,n,"updated")},o)},S=(r,s,i,l,a,c,u)=>{for(let o=0;o<s.length;o++){const e=r[o],t=s[o],n=e.el&&(e.type===ee||!cs(e,t)||70&e.shapeFlag)?_(e.el):i;C(e,t,n,null,l,a,c,u,!0)}},w=(n,o,r,s,i,l,a)=>{if(r!==s){if(r!==z)for(const z in r)re(z)||z in s||v(n,z,r[z],null,a,o.children,i,l,R);for(const z in s){if(re(z))continue;const e=s[z],t=r[z];e!==t&&"value"!==z&&v(n,z,t,e,a,o.children,i,l,R)}"value"in s&&v(n,"value",r.value,s.value,a)}},j=(e,t,n,o,r,s,i,l,a)=>{const c=t.el=e?e.el:h(""),u=t.anchor=e?e.anchor:h("");let{patchFlag:p,dynamicChildren:d,slotScopeIds:f}=t;f&&(l=l?l.concat(f):f),null==e?(m(c,n,o),m(u,n,o),x(t.children||[],n,u,r,s,i,l,a)):p>0&&64&p&&d&&e.dynamicChildren?(S(e.dynamicChildren,d,n,r,s,i,l),(null!=t.key||r&&t===r.subTree)&&Hr(e,t,!0)):A(e,t,n,u,r,s,i,l,a)},D=(e,t,n,o,r,s,i,l,a)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,i,a):c(t,n,o,r,s,i,a):B(e,t,a)},c=(e,t,n,o,r,s,i)=>{const l=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||Ss,s={uid:Cs++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Re(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:br(o,r),emitsOptions:In(o,r),emit:null,emitted:null,propsDefaults:z,inheritAttrs:o.inheritAttrs,ctx:z,data:z,props:z,attrs:z,slots:z,refs:z,setupState:z,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!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,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=Rn.bind(null,s),e.ce&&e.ce(s);return s}(e,o,r);if(Ao(e)&&(l.ctx.renderer=O),function(e,t=!1){t&&As(t);const{props:n,children:o}=e.vnode,r=Es(e);(function(t,e,n,o=!1){const r={},s={};le(s,us,1),t.propsDefaults=Object.create(null),yr(t,e,r,s);for(const e in t.propsOptions[0])e in r||(r[e]=void 0);t.props=n?o?r:jt(r):t.type.props?r:s,t.attrs=s})(e,n,r,t),Pr(e,o);const s=r?function(n,o){const r=n.type;n.accessCache=Object.create(null),n.proxy=Kt(new Proxy(n.ctx,Xo));const{setup:s}=r;if(s){const r=n.setupContext=s.length>1?Ls(n):null,e=ks(n);Be();const t=pn(s,n,0,[n.props,r]);if(He(),e(),oe(t)){if(t.then(Ns,Ns),o)return t.then(e=>{Os(n,e,o)}).catch(e=>{fn(e,n,0)});n.asyncDep=t}else Os(n,t,o)}else Ms(n,o)}(e,t):void 0;t&&As(!1)}(l),l.asyncDep){if(r&&r.registerDep(l,p),!e.el){const e=l.subTree=ne(te);f(null,e,t,n)}}else p(l,e,t,n,r,s,i)},B=(e,t,n)=>{const o=t.component=e.component;if(function(t,e,n){const{props:o,children:r,component:s}=t,{props:i,children:l,patchFlag:a}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&a>=0))return!(!r&&!l||l&&l.$stable)||o!==i&&(o?!i||jn(o,i,c):!!i);if(1024&a)return!0;if(16&a)return o?jn(o,i,c):!!i;if(8&a){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(i[n]!==o[n]&&!On(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void T(o,t,n);o.next=t,function(e){const t=Z.indexOf(e);t>vn&&Z.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},p=(c,s,u,i,p,d,f)=>{const h=()=>{if(c.isMounted){let{next:e,bu:t,u:n,parent:o,vnode:r}=c;{const u=qr(c);if(u)return e&&(e.el=r.el,T(c,e,f)),void u.asyncDep.then(()=>{c.isUnmounted||h()})}let s,i=e;Dr(c,!1),e?(e.el=r.el,T(c,e,f)):e=r,t&&ie(t),(s=e.props&&e.props.onVnodeBeforeUpdate)&&xs(s,o,e,r),Dr(c,!0);const l=Fn(c),a=c.subTree;c.subTree=l,C(a,l,_(a.el),I(a),c,p,d),e.el=l.el,null===i&&Dn(c,l.el),n&&Y(n,p),(s=e.props&&e.props.onVnodeUpdated)&&Y(()=>xs(s,o,e,r),p)}else{let e;const{el:f,props:h}=s,{bm:t,m:n,parent:o}=c,r=wo(s);if(Dr(c,!1),t&&ie(t),!r&&(e=h&&h.onVnodeBeforeMount)&&xs(e,o,s),Dr(c,!0),f&&M){const u=()=>{c.subTree=Fn(c),M(f,c.subTree,c,p,null)};r?s.type.__asyncLoader().then(()=>!c.isUnmounted&&u()):u()}else{const e=c.subTree=Fn(c);C(null,e,u,i,c,p,d),s.el=e.el}if(n&&Y(n,p),!r&&(e=h&&h.onVnodeMounted)){const c=s;Y(()=>xs(e,o,c),p)}(256&s.shapeFlag||o&&wo(o.vnode)&&256&o.vnode.shapeFlag)&&c.a&&Y(c.a,p),c.isMounted=!0,s=u=i=null}},e=c.effect=new $e(h,G,()=>Cn(t),c.scope),t=c.update=()=>{e.dirty&&e.run()};t.id=c.uid,Dr(c,!0),t()},T=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(o,r,s,e){const{props:i,attrs:l,vnode:{patchFlag:t}}=o,a=X(i),[c]=o.propsOptions;let u=!1;if(!(e||t>0)||16&t){let e;yr(o,r,i,l)&&(u=!0);for(const l in a)r&&(J(r,l)||(e=se(l))!==l&&J(r,e))||(c?!s||void 0===s[l]&&void 0===s[e]||(i[l]=_r(c,a,l,void 0,o,!0)):delete i[l]);if(l!==a)for(const o in l)r&&J(r,o)||(delete l[o],u=!0)}else if(8&t){const s=o.vnode.dynamicProps;for(let n=0;n<s.length;n++){let e=s[n];if(On(o.emitsOptions,e))continue;const t=r[e];if(c)if(J(l,e))t!==l[e]&&(l[e]=t,u=!0);else{const r=Q(e);i[r]=_r(c,a,r,t,o,!1)}else t!==l[e]&&(l[e]=t,u=!0)}}u&&et(o,"set","$attrs")}(e,t.props,o,n),Rr(e,t.children,n),Be(),An(e),He()},A=(e,t,n,o,r,s,i,l,a=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:d,shapeFlag:f}=t;if(d>0){if(128&d)return void k(c,p,n,o,r,s,i,l,a);if(256&d)return void H(c,p,n,o,r,s,i,l,a)}8&f?(16&u&&R(c,r,s),p!==c&&y(n,p)):16&u?16&f?k(c,p,n,o,r,s,i,l,a):R(c,r,s,!0):(8&u&&y(n,""),16&f&&x(p,n,o,r,s,i,l,a))},H=(e,t,n,o,r,s,i,l,a)=>{const c=(e=e||K).length,u=(t=t||K).length,p=Math.min(c,u);let d;for(d=0;d<p;d++){const K=t[d]=a?ys(t[d]):gs(t[d]);C(e[d],K,n,null,r,s,i,l,a)}c>u?R(e,r,s,!0,!1,p):x(t,n,o,r,s,i,l,a,p)},k=(u,p,d,f,h,m,v,g,y)=>{let _=0;const b=p.length;let x=u.length-1,S=b-1;for(;_<=x&&_<=S;){const K=u[_],f=p[_]=y?ys(p[_]):gs(p[_]);if(!cs(K,f))break;C(K,f,d,null,h,m,v,g,y),_++}for(;_<=x&&_<=S;){const K=u[x],f=p[S]=y?ys(p[S]):gs(p[S]);if(!cs(K,f))break;C(K,f,d,null,h,m,v,g,y),x--,S--}if(_>x){if(_<=S){const u=S+1,K=u<b?p[u].el:f;for(;_<=S;)C(null,p[_]=y?ys(p[_]):gs(p[_]),d,K,h,m,v,g,y),_++}}else if(_>S)for(;_<=x;)E(u[_],h,m,!0),_++;else{const e=_,t=_,n=new Map;for(_=t;_<=S;_++){const u=p[_]=y?ys(p[_]):gs(p[_]);null!=u.key&&n.set(u.key,_)}let o,r=0;const s=S-t+1;let i=!1,l=0;const a=new Array(s);for(_=0;_<s;_++)a[_]=0;for(_=e;_<=x;_++){const K=u[_];if(r>=s){E(K,h,m,!0);continue}let e;if(null!=K.key)e=n.get(K.key);else for(o=t;o<=S;o++)if(0===a[o-t]&&cs(K,p[o])){e=o;break}void 0===e?E(K,h,m,!0):(a[e-t]=_+1,e>=l?l=e:i=!0,C(K,p[e],d,null,h,m,v,g,y),r++)}const c=i?function(e){const t=e.slice(),n=[0];let o,r,s,i,l;const a=e.length;for(o=0;o<a;o++){const a=e[o];if(0!==a){if(r=n[n.length-1],e[r]<a){t[o]=r,n.push(o);continue}for(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<a?s=l+1:i=l;a<e[n[s]]&&(s>0&&(t[o]=n[s-1]),n[s]=o)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(a):K;for(o=c.length-1,_=s-1;_>=0;_--){const u=t+_,K=p[u],x=u+1<b?p[u+1].el:f;0===a[_]?C(null,K,d,x,h,m,v,g,y):i&&(o<0||_!==c[o]?N(K,d,x,2):o--)}}},N=(e,t,n,o,r=null)=>{const{el:s,type:i,transition:l,children:a,shapeFlag:c}=e;if(6&c)return void N(e.component.subTree,t,n,o);if(128&c)return void e.suspense.move(t,n,o);if(64&c)return void i.move(e,t,n,O);if(i===ee){m(s,t,n);for(let e=0;e<a.length;e++)N(a[e],t,n,o);return void m(e.anchor,t,n)}if(i===Yr)return void(({el:e,anchor:t},n,o)=>{let r;for(;e&&e!==t;)r=u(e),m(e,n,o),e=r;m(t,n,o)})(e,t,n);if(2!==o&&1&c&&l)if(0===o)l.beforeEnter(s),m(s,t,n),Y(()=>l.enter(s),r);else{const{leave:e,delayLeave:o,afterLeave:r}=l,i=()=>m(s,t,n),a=()=>{e(s,()=>{i(),r&&r()})};o?o(s,i,a):a()}else m(s,t,n)},E=(e,t,n,o=!1,r=!1)=>{const{type:s,props:i,ref:l,children:a,dynamicChildren:c,shapeFlag:u,patchFlag:p,dirs:d}=e;if(null!=l&&Ir(l,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&d,h=!wo(e);let m;if(h&&(m=i&&i.onVnodeBeforeUnmount)&&xs(m,t,e),6&u)W(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,O,o):c&&(s!==ee||p>0&&64&p)?R(c,t,n,!1,!0):(s===ee&&384&p||!r&&16&u)&&R(a,t,n),o&&P(e)}(h&&(m=i&&i.onVnodeUnmounted)||f)&&Y(()=>{m&&xs(m,t,e),f&&co(e,null,t,"unmounted")},n)},P=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===ee)return void q(n,o);if(t===Yr)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=u(e),i(e),e=n;i(t)})(e);const s=()=>{i(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,i=()=>t(n,s);o?o(e.el,s,i):i()}else s()},q=(e,t)=>{let n;for(;e!==t;)n=u(e),i(e),e=n;i(t)},W=(e,t,n)=>{const{bum:o,scope:r,update:s,subTree:i,um:l}=e;o&&ie(o),r.stop(),s&&(s.active=!1,E(i,e,t,n)),l&&Y(l,t),Y(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},R=(t,n,o,r=!1,s=!1,i=0)=>{for(let e=i;e<t.length;e++)E(t[e],n,o,r,s)},I=e=>6&e.shapeFlag?I(e.component.subTree):128&e.shapeFlag?e.suspense.next():u(e.anchor||e.el);let o=!1;const n=(e,t,n)=>{null==e?t._vnode&&E(t._vnode,null,null,!0):C(t._vnode||null,e,t,null,null,null,n),o||(o=!0,An(),kn(),o=!1),t._vnode=e},O={p:C,um:E,m:N,r:P,mt:c,mc:x,pc:A,pbc:S,n:I,o:e};let $,M;return t&&([$,M]=t(O)),{render:n,hydrate:$,createApp:hr(n,$)}}function jr({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Dr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Br(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Hr(n,e,o=!1){const r=n.children,s=e.children;if(E(r)&&E(s))for(let t=0;t<r.length;t++){const n=r[t];let e=s[t];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=s[t]=ys(s[t]),e.el=n.el),o||Hr(n,e)),e.type===Zr&&(e.el=n.el)}}function qr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qr(t)}const Wr=e=>e&&(e.disabled||""===e.disabled),zr=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Kr=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Gr=(e,t)=>{const n=e&&e.to;if(T(n)){if(t){return t(n)}return null}return n};function Jr(e,t,n,{o:{insert:o},m:r},s=2){0===s&&o(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:c,props:u}=e,p=2===s;if(p&&o(i,t,n),(!p||Wr(u))&&16&a)for(let e=0;e<c.length;e++)r(c[e],t,n,2);p&&o(l,t,n)}const Qr={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,s,i,l,a,c){const{mc:u,pc:p,pbc:d,o:{insert:f,querySelector:h,createText:m}}=c,v=Wr(t.props);let{shapeFlag:g,children:y,dynamicChildren:_}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,o),f(c,n,o);const p=t.target=Gr(t.props,h),d=t.targetAnchor=m("");p&&(f(d,p),"svg"===i||zr(p)?i="svg":("mathml"===i||Kr(p))&&(i="mathml"));const _=(e,t)=>{16&g&&u(y,e,t,r,s,i,l,a)};v?_(n,c):p&&_(p,d)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=Wr(e.props),g=m?n:u,y=m?o:f;if("svg"===i||zr(u)?i="svg":("mathml"===i||Kr(u))&&(i="mathml"),_?(d(e.dynamicChildren,_,g,r,s,i,l),Hr(e,t,!0)):a||p(e,t,g,y,r,s,i,l,!1),v)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Jr(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Gr(t.props,h);e&&Jr(t,e,null,c,0)}else m&&Jr(t,u,f,c,1)}Xr(t)},remove(t,n,o,e,{um:r,o:{remove:s}},i){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:p,props:d}=t;if(p&&s(u),i&&s(c),16&l){const t=i||!Wr(d);for(let e=0;e<a.length;e++){const s=a[e];r(s,n,o,t,!!s.dynamicChildren)}}},move:Jr,hydrate:function(t,n,o,r,s,i,{o:{nextSibling:l,parentNode:e,querySelector:a}},c){const u=n.target=Gr(n.props,a);if(u){const a=u._lpa||u.firstChild;if(16&n.shapeFlag)if(Wr(n.props))n.anchor=c(l(t),n,e(t),o,r,s,i),n.targetAnchor=a;else{n.anchor=l(t);let e=a;for(;e;)if(e=l(e),e&&8===e.nodeType&&"teleport anchor"===e.data){n.targetAnchor=e,u._lpa=n.targetAnchor&&l(n.targetAnchor);break}c(a,n,u,o,r,s,i)}Xr(n)}return n.anchor&&l(n.anchor)}};function Xr(t){const n=t.ctx;if(n&&n.ut){let e=t.children[0].el;for(;e&&e!==t.targetAnchor;)1===e.nodeType&&e.setAttribute("data-v-owner",n.uid),e=e.nextSibling;n.ut()}}const ee=Symbol.for("v-fgt"),Zr=Symbol.for("v-txt"),te=Symbol.for("v-cmt"),Yr=Symbol.for("v-stc"),es=[];let ts=null;function ns(e=!1){es.push(ts=e?null:[])}function os(){es.pop(),ts=es[es.length-1]||null}let rs=1;function ss(e){rs+=e}function is(e){return e.dynamicChildren=rs>0?ts||K:null,os(),rs>0&&ts&&ts.push(e),e}function ls(e,t,n,o,r){return is(ne(e,t,n,o,r,!0))}function as(e){return!!e&&!0===e.__v_isVNode}function cs(e,t){return e.type===t.type&&e.key===t.key}const us="__vInternal",ps=({key:e})=>null!=e?e:null,ds=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?T(e)||O(e)||R(e)?{i:c,r:e,k:t,f:!!n}:e:null);function fs(e,t=null,n=null,o=0,r=null,s=e===ee?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ps(t),ref:t&&ds(t),scopeId:$n,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:c};return l?(_s(a,n),128&s&&e.normalize(a)):n&&(a.shapeFlag|=T(n)?8:16),rs>0&&!i&&ts&&(a.patchFlag>0||6&s)&&32!==a.patchFlag&&ts.push(a),a}const ne=function(e,n=null,t=null,o=0,r=null,s=!1){e&&e!==Hn||(e=te);if(as(e)){const o=ms(e,n,!0);return t&&_s(o,t),rs>0&&!s&&ts&&(6&o.shapeFlag?ts[ts.indexOf(e)]=o:ts.push(o)),o.patchFlag|=-2,o}i=e,R(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(n){n=hs(n);let{class:e,style:t}=n;e&&!T(e)&&(n.class=ye(e)),I(t)&&(zt(t)&&!E(t)&&(t=N({},t)),n.style=fe(t))}const l=T(e)?1:zn(e)?128:(e=>e.__isTeleport)(e)?64:I(e)?4:R(e)?2:0;return fs(e,n,t,o,r,l,s,!0)};function hs(e){return e?zt(e)||us in e?N({},e):e:null}function ms(e,t,n=!1){const{props:o,ref:r,patchFlag:s,children:i}=e,l=t?bs(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ps(l),ref:t&&t.ref?n&&r?E(r)?r.concat(ds(t)):[r,ds(t)]:ds(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ee?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ms(e.ssContent),ssFallback:e.ssFallback&&ms(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function vs(e=" ",t=0){return ne(Zr,null,e,t)}function gs(e){return null==e||"boolean"==typeof e?ne(te):E(e)?ne(ee,null,e.slice()):"object"==typeof e?ys(e):ne(Zr,null,String(e))}function ys(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ms(e)}function _s(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(E(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),_s(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||us in t?3===o&&c&&(1===c.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=c}}else R(t)?(t={default:t,_ctx:c},n=32):(t=String(t),64&o?(n=16,t=[vs(t)]):n=8);e.children=t,e.shapeFlag|=n}function bs(...o){const r={};for(let e=0;e<o.length;e++){const n=o[e];for(const o in n)if("class"===o)r.class!==n.class&&(r.class=ye([r.class,n.class]));else if("style"===o)r.style=fe([r.style,n.style]);else if(P(o)){const e=r[o],t=n[o];!t||e===t||E(e)&&e.includes(t)||(r[o]=e?[].concat(e,t):t)}else""!==o&&(r[o]=n[o])}return r}function xs(e,t,n,o=null){dn(e,t,7,[n,o])}const Ss=dr();let Cs=0;let _=null;const ws=()=>_||c;let Ts,As;Ts=e=>{_=e},As=e=>{Is=e};const ks=e=>{const t=_;return Ts(e),e.scope.on(),()=>{e.scope.off(),Ts(t)}},Ns=()=>{_&&_.scope.off(),Ts(null)};function Es(e){return 4&e.vnode.shapeFlag}let Ps,Rs,Is=!1;function Os(e,t,n){R(t)?e.render=t:I(t)&&(e.setupState=rn(t)),Ms(e,n)}function $s(e){Ps=e,Rs=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Zo))}}function Ms(o,r,s){const i=o.type;if(!o.render){if(!r&&Ps&&!i.render){const r=i.template||sr(o).template;if(r){const{isCustomElement:s,compilerOptions:G}=o.appContext.config,{delimiters:e,compilerOptions:t}=i,n=N(N({isCustomElement:s,delimiters:e},G),t);i.render=Ps(r,n)}}o.render=i.render||G,Rs&&Rs(o)}{const r=ks(o);Be();try{nr(o)}finally{He(),r()}}}function Ls(t){const e=e=>{t.exposed=e||{}};return{get attrs(){return function(n){return n.attrsProxy||(n.attrsProxy=new Proxy(n.attrs,{get:(e,t)=>(f(n,0,"$attrs"),e[t])}))}(t)},slots:t.slots,emit:t.emit,expose:e}}function Fs(n){if(n.exposed)return n.exposeProxy||(n.exposeProxy=new Proxy(rn(Kt(n.exposed)),{get:(e,t)=>t in e?e[t]:t in Jo?Jo[t](n):void 0,has:(e,t)=>t in e||t in Jo}))}function Us(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}const Vs=(e,t)=>function(e,t,n=!1){let o,r;const s=R(e);return s?(o=e,r=G):(o=e.get,r=e.set),new Qt(o,r,s||!r,n)}(e,0,Is);function js(e,t,n){const o=arguments.length;return 2===o?I(t)&&!E(t)?as(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&as(n)&&(n=[n]),ne(e,t,n))}function Ds(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(W(n[e],t[e]))return!1;return rs>0&&ts&&ts.push(e),!0}const Bs="3.4.15",Hs=G,qs=G,Ws="undefined"!=typeof document?document:null,zs=Ws&&Ws.createElement("template"),Ks={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r="svg"===t?Ws.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ws.createElementNS("http://www.w3.org/1998/Math/MathML",e):Ws.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ws.createTextNode(e),createComment:e=>Ws.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ws.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,s){const i=n?n.previousSibling:t.lastChild;if(r&&(r===s||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==s&&(r=r.nextSibling););else{zs.innerHTML="svg"===o?`<svg>${e}</svg>`:"mathml"===o?`<math>${e}</math>`:e;const r=zs.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gs="transition",Js="animation",Qs=Symbol("_vtc"),Xs=(e,{slots:t})=>js(vo,ni(e),t);Xs.displayName="Transition";const Zs={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ys=Xs.props=N({},mo,Zs),ei=(e,t=[])=>{E(e)?e.forEach(e=>e(...t)):e&&e(...t)},ti=e=>!!e&&(E(e)?e.some(e=>e.length>1):e.length>1);function ni(e){const t={};for(const N in e)N in Zs||(t[N]=e[N]);if(!1===e.css)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:c=r,appearToClass:u=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=function(t){if(null==t)return null;if(I(t))return[oi(t.enter),oi(t.leave)];{const e=oi(t);return[e,e]}}(o),m=h&&h[0],v=h&&h[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:_,onLeave:b,onLeaveCancelled:x,onBeforeAppear:S=g,onAppear:C=y,onAppearCancelled:w=_}=t,T=(e,t,n)=>{si(e,t?u:l),si(e,t?c:r),n&&n()},A=(e,t)=>{e._isLeaving=!1,si(e,p),si(e,f),si(e,d),t&&t()},k=r=>(e,t)=>{const n=r?C:y,o=()=>T(e,r,t);ei(n,[e,o]),ii(()=>{si(e,r?a:i),ri(e,r?u:l),ti(n)||ai(e,s,m,o)})};return N(t,{onBeforeEnter(e){ei(g,[e]),ri(e,i),ri(e,r)},onBeforeAppear(e){ei(S,[e]),ri(e,a),ri(e,c)},onEnter:k(!1),onAppear:k(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>A(e,t);ri(e,p),di(),ri(e,d),ii(()=>{e._isLeaving&&(si(e,p),ri(e,f),ti(b)||ai(e,s,v,n))}),ei(b,[e,n])},onEnterCancelled(e){T(e,!1),ei(_,[e])},onAppearCancelled(e){T(e,!0),ei(w,[e])},onLeaveCancelled(e){A(e),ei(x,[e])}})}function oi(e){return ce(e)}function ri(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t[Qs]||(t[Qs]=new Set)).add(e)}function si(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const n=t[Qs];n&&(n.delete(e),n.size||(t[Qs]=void 0))}function ii(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let li=0;function ai(t,e,n,o){const r=t._endId=++li,s=()=>{r===t._endId&&o()};if(n)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=ci(t,e);if(!i)return o();const c=i+"end";let u=0;const p=()=>{t.removeEventListener(c,d),s()},d=e=>{e.target===t&&++u>=a&&p()};setTimeout(()=>{u<a&&p()},l+1),t.addEventListener(c,d)}function ci(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o(`${Gs}Delay`),s=o(`${Gs}Duration`),i=ui(r,s),l=o(`${Js}Delay`),a=o(`${Js}Duration`),c=ui(l,a);let u=null,p=0,d=0;t===Gs?i>0&&(u=Gs,p=i,d=s.length):t===Js?c>0&&(u=Js,p=c,d=a.length):(p=Math.max(i,c),u=p>0?i>c?Gs:Js:null,d=u?u===Gs?s.length:a.length:0);return{type:u,timeout:p,propCount:d,hasTransform:u===Gs&&/\b(transform|all)(,|$)/.test(o(`${Gs}Property`).toString())}}function ui(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max(...e.map((e,t)=>pi(e)+pi(n[t])))}function pi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function di(){return document.body.offsetHeight}const fi=Symbol("_vod"),hi={beforeMount(e,{value:t},{transition:n}){e[fi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):mi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),mi(e,!0),o.enter(e)):o.leave(e,()=>{mi(e,!1)}):mi(e,t))},beforeUnmount(e,{value:t}){mi(e,t)}};function mi(e,t){e.style.display=t?e[fi]:"none"}const vi=Symbol("");function gi(n,o){if(128&n.shapeFlag){const e=n.suspense;n=e.activeBranch,e.pendingBranch&&!e.isHydrating&&e.effects.push(()=>{gi(e.activeBranch,o)})}for(;n.component;)n=n.component.subTree;if(1&n.shapeFlag&&n.el)yi(n.el,o);else if(n.type===ee)n.children.forEach(e=>gi(e,o));else if(n.type===Yr){let{el:e,anchor:t}=n;for(;e&&(yi(e,o),e!==t);)e=e.nextSibling}}function yi(n,o){if(1===n.nodeType){const e=n.style;let t="";for(const n in o)e.setProperty(`--${n}`,o[n]),t+=`--${n}: ${o[n]};`;e[vi]=t}}const _i=/\s*!important$/;function bi(t,n,o){if(E(o))o.forEach(e=>bi(t,n,e));else if(null==o&&(o=""),n.startsWith("--"))t.setProperty(n,o);else{const e=function(t,n){const o=Si[n];if(o)return o;let r=Q(n);if("filter"!==r&&r in t)return Si[n]=r;r=H(r);for(let e=0;e<xi.length;e++){const o=xi[e]+r;if(o in t)return Si[n]=o}return n}(t,n);_i.test(o)?t.setProperty(se(e),o.replace(_i,""),"important"):t[e]=o}}const xi=["Webkit","Moz","ms"],Si={};const Ci="http://www.w3.org/1999/xlink";function wi(e,t,n,o){e.addEventListener(t,n,o)}const Ti=Symbol("_vei");function Ai(t,n,o,r,s=null){const i=t[Ti]||(t[Ti]={}),l=i[n];if(r&&l)l.value=r;else{const[o,e]=function(t){let n;if(ki.test(t)){let e;for(n={};e=t.match(ki);)t=t.slice(0,t.length-e[0].length),n[e[0].toLowerCase()]=!0}const e=":"===t[2]?t.slice(3):se(t.slice(2));return[e,n]}(n);if(r){const l=i[n]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();dn(function(t,n){if(E(n)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},n.map(t=>e=>!e._stopped&&t&&t(e))}return n}(e,n.value),t,5,[e])};return n.value=e,n.attached=Pi(),n}(r,s);wi(t,o,l,e)}else l&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(t,o,l,e),i[n]=void 0)}}const ki=/(?:Once|Passive|Capture)$/;let Ni=0;const Ei=Promise.resolve(),Pi=()=>Ni||(Ei.then(()=>Ni=0),Ni=Date.now());const Ri=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;function Ii(e,t){const n=Co(e);class o extends $i{constructor(e){super(n,e,t)}}return o.def=n,o}const Oi="undefined"!=typeof HTMLElement?HTMLElement:class{};class $i extends Oi{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Sn(()=>{this._connected||(dl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(t=>{for(const e of t)this._setAttr(e.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(t,e=!1)=>{const{props:n,styles:o}=t;let r;if(n&&!E(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=ce(this._props[e])),(r||(r=Object.create(null)))[Q(e)]=!0)}this._numberProps=r,e&&this._resolveProps(t),this._applyStyles(o),this._update()},e=this._def.__asyncLoader;e?e().then(e=>t(e,!0)):t(this._def)}_resolveProps(e){const{props:t}=e,n=E(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e],!0,!1);for(const t of n.map(Q))Object.defineProperty(this,t,{get(){return this._getProp(t)},set(e){this._setProp(t,e)}})}_setAttr(e){let t=this.getAttribute(e);const n=Q(e);this._numberProps&&this._numberProps[n]&&(t=ce(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(se(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute(se(e),t+""):t||this.removeAttribute(se(e))))}_update(){dl(this._createVNode(),this.shadowRoot)}_createVNode(){const e=ne(this._def,N({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const n=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...t)=>{n(e,t),se(e)!==e&&n(se(e),t)};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof $i){e.parent=t._instance,e.provides=t._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)})}}const Mi=new WeakMap,Li=new WeakMap,Fi=Symbol("_moveCb"),Ui=Symbol("_enterCb"),Vi={name:"TransitionGroup",props:N({},Ys,{tag:String,moveClass:String}),setup(o,{slots:r}){const s=ws(),i=fo();let l,a;return jo(()=>{if(!l.length)return;const r=o.moveClass||`${o.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode(),r=e[Qs];r&&r.forEach(e=>{e.split(/\s+/).forEach(e=>e&&o.classList.remove(e))});n.split(/\s+/).forEach(e=>e&&o.classList.add(e)),o.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(o);const{hasTransform:i}=ci(o);return s.removeChild(o),i}(l[0].el,s.vnode.el,r))return;l.forEach(Di),l.forEach(Bi);const e=l.filter(Hi);di(),e.forEach(e=>{const t=e.el,n=t.style;ri(t,r),n.transform=n.webkitTransform=n.transitionDuration="";const o=t[Fi]=e=>{e&&e.target!==t||e&&!/transform$/.test(e.propertyName)||(t.removeEventListener("transitionend",o),t[Fi]=null,si(t,r))};t.addEventListener("transitionend",o)})}),()=>{const e=X(o),t=ni(e);let n=e.tag||ee;l=a,a=r.default?So(r.default()):[];for(let e=0;e<a.length;e++){const r=a[e];null!=r.key&&xo(r,yo(r,t,i,s))}if(l)for(let e=0;e<l.length;e++){const r=l[e];xo(r,yo(r,t,i,s)),Mi.set(r,r.el.getBoundingClientRect())}return ne(n,null,a)}}},ji=Vi;function Di(e){const t=e.el;t[Fi]&&t[Fi](),t[Ui]&&t[Ui]()}function Bi(e){Li.set(e,e.el.getBoundingClientRect())}function Hi(e){const t=Mi.get(e),n=Li.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const qi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return E(t)?e=>ie(t,e):t};function Wi(e){e.target.composing=!0}function zi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ki=Symbol("_assign"),Gi={created(n,{modifiers:{lazy:e,trim:o,number:t}},r){n[Ki]=qi(r);const s=t||r.props&&"number"===r.props.type;wi(n,e?"change":"input",e=>{if(e.target.composing)return;let t=n.value;o&&(t=t.trim()),s&&(t=ae(t)),n[Ki](t)}),o&&wi(n,"change",()=>{n.value=n.value.trim()}),e||(wi(n,"compositionstart",Wi),wi(n,"compositionend",zi),wi(n,"change",zi))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},s){if(e[Ki]=qi(s),e.composing)return;const i=null==t?"":t;if((r||"number"===e.type?ae(e.value):e.value)!==i){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===i)return}e.value=i}}},Ji={deep:!0,created(s,e,t){s[Ki]=qi(t),wi(s,"change",()=>{const t=s._modelValue,n=el(s),o=s.checked,r=s[Ki];if(E(t)){const s=Ae(t,n),e=-1!==s;if(o&&!e)r(t.concat(n));else if(!o&&e){const n=[...t];n.splice(s,1),r(n)}}else if(g(t)){const s=new Set(t);o?s.add(n):s.delete(n),r(s)}else r(tl(s,o))})},mounted:Qi,beforeUpdate(e,t,n){e[Ki]=qi(n),Qi(e,t,n)}};function Qi(e,{value:t,oldValue:n},o){e._modelValue=t,E(t)?e.checked=Ae(t,o.props.value)>-1:g(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Te(t,tl(e,!0)))}const Xi={created(e,{value:t},n){e.checked=Te(t,n.props.value),e[Ki]=qi(n),wi(e,"change",()=>{e[Ki](el(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[Ki]=qi(o),t!==n&&(e.checked=Te(t,o.props.value))}},Zi={deep:!0,created(t,{value:e,modifiers:{number:n}},o){const r=g(e);wi(t,"change",()=>{const e=Array.prototype.filter.call(t.options,e=>e.selected).map(e=>n?ae(el(e)):el(e));t[Ki](t.multiple?r?new Set(e):e:e[0]),t._assigning=!0,Sn(()=>{t._assigning=!1})}),t[Ki]=qi(o)},mounted(e,{value:t,oldValue:n,modifiers:{number:o}}){Yi(e,t,n,o)},beforeUpdate(e,t,n){e[Ki]=qi(n)},updated(e,{value:t,oldValue:n,modifiers:{number:o}}){e._assigning||Yi(e,t,n,o)}};function Yi(o,r,e,s){const i=o.multiple,l=E(r);if((!i||l||g(r))&&(!l||!Te(r,e))){for(let n=0,e=o.options.length;n<e;n++){const e=o.options[n],t=el(e);if(i)if(l){const o=typeof t;e.selected="string"===o||"number"===o?r.includes(s?ae(t):t):Ae(r,t)>-1}else e.selected=r.has(t);else if(Te(el(e),r))return void(o.selectedIndex!==n&&(o.selectedIndex=n))}i||-1===o.selectedIndex||(o.selectedIndex=-1)}}function el(e){return"_value"in e?e._value:e.value}function tl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const nl={created(e,t,n){ol(e,t,n,null,"created")},mounted(e,t,n){ol(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){ol(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){ol(e,t,n,o,"updated")}};function ol(e,t,n,o,r){const s=function(e,t){switch(e){case"SELECT":return Zi;case"TEXTAREA":return Gi;default:switch(t){case"checkbox":return Ji;case"radio":return Xi;default:return Gi}}}(e.tagName,n.props&&n.props.type)[r];s&&s(e,t,n,o)}const rl=["ctrl","shift","alt","meta"],sl={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:(t,n)=>rl.some(e=>t[`${e}Key`]&&!n.includes(e))},il={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ll=N({patchProp:(e,t,n,o,r,s,i,l,a)=>{const c="svg"===r;"class"===t?function(e,t,n){const o=e[Qs];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,c):"style"===t?function(e,t,n){const o=e.style,r=o.display,s=T(n);if(n&&!s){if(t&&!T(t))for(const e in t)null==n[e]&&bi(o,e,"");for(const e in n)bi(o,e,n[e])}else if(s){if(t!==n){const e=o[vi];e&&(n+=";"+e),o.cssText=n}}else t&&e.removeAttribute("style");fi in e&&(o.display=r)}(e,n,o):P(t)?b(t)||Ai(e,t,0,o,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ri(t)&&R(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ri(t)&&T(n))return!1;return t in e}(e,t,o,c))?function(e,t,n,o,r,s,i){if("innerHTML"===t||"textContent"===t)return o&&i(o,r,s),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){e._value=n;const o=null==n?"":n;return("OPTION"===l?e.getAttribute("value"):e.value)!==o&&(e.value=o),void(null==n&&e.removeAttribute(t))}let a=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=we(n):null==n&&"string"===o?(n="",a=!0):"number"===o&&(n=0,a=!0)}try{e[t]=n}catch(e){}a&&e.removeAttribute(t)}(e,t,o,s,i,l,a):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ci,t.slice(6,t.length)):e.setAttributeNS(Ci,t,n);else{const o=Ce(t);null==n||o&&!we(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,c))}},Ks);let al,cl=!1;function ul(){return al||(al=Fr(ll))}function pl(){return al=cl?al:Ur(ll),cl=!0,al}const dl=(...e)=>{ul().render(...e)},fl=(...e)=>{pl().hydrate(...e)};function hl(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function ml(e){if(T(e)){return document.querySelector(e)}return e}const vl=G,gl=Symbol(""),yl=Symbol(""),_l=Symbol(""),bl=Symbol(""),xl=Symbol(""),Sl=Symbol(""),Cl=Symbol(""),wl=Symbol(""),Tl=Symbol(""),Al=Symbol(""),kl=Symbol(""),Nl=Symbol(""),El=Symbol(""),Pl=Symbol(""),Rl=Symbol(""),Il=Symbol(""),Ol=Symbol(""),$l=Symbol(""),Ml=Symbol(""),Ll=Symbol(""),Fl=Symbol(""),Ul=Symbol(""),Vl=Symbol(""),jl=Symbol(""),Dl=Symbol(""),Bl=Symbol(""),Hl=Symbol(""),ql=Symbol(""),Wl=Symbol(""),zl=Symbol(""),Kl=Symbol(""),Gl=Symbol(""),Jl=Symbol(""),Ql=Symbol(""),Xl=Symbol(""),Zl=Symbol(""),Yl=Symbol(""),ea=Symbol(""),ta=Symbol(""),na={[gl]:"Fragment",[yl]:"Teleport",[_l]:"Suspense",[bl]:"KeepAlive",[xl]:"BaseTransition",[Sl]:"openBlock",[Cl]:"createBlock",[wl]:"createElementBlock",[Tl]:"createVNode",[Al]:"createElementVNode",[kl]:"createCommentVNode",[Nl]:"createTextVNode",[El]:"createStaticVNode",[Pl]:"resolveComponent",[Rl]:"resolveDynamicComponent",[Il]:"resolveDirective",[Ol]:"resolveFilter",[$l]:"withDirectives",[Ml]:"renderList",[Ll]:"renderSlot",[Fl]:"createSlots",[Ul]:"toDisplayString",[Vl]:"mergeProps",[jl]:"normalizeClass",[Dl]:"normalizeStyle",[Bl]:"normalizeProps",[Hl]:"guardReactiveProps",[ql]:"toHandlers",[Wl]:"camelize",[zl]:"capitalize",[Kl]:"toHandlerKey",[Gl]:"setBlockTracking",[Jl]:"pushScopeId",[Ql]:"popScopeId",[Xl]:"withCtx",[Zl]:"unref",[Yl]:"isRef",[ea]:"withMemo",[ta]:"isMemoSame"};const oa={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function ra(e,t,n,o,r,s,i,l=!1,a=!1,c=!1,u=oa){return e&&(l?(e.helper(Sl),e.helper(pa(e.inSSR,c))):e.helper(ua(e.inSSR,c)),i&&e.helper($l)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:s,directives:i,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function sa(e,t=oa){return{type:17,loc:t,elements:e}}function ia(e,t=oa){return{type:15,loc:t,properties:e}}function A(e,t){return{type:16,loc:oa,key:T(e)?k(e,!0):e,value:t}}function k(e,t=!1,n=oa,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function la(e,t=oa){return{type:8,loc:t,children:e}}function $(e,t=[],n=oa){return{type:14,loc:n,callee:e,arguments:t}}function aa(e,t=void 0,n=!1,o=!1,r=oa){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function ca(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:oa}}function ua(e,t){return e||t?Tl:Al}function pa(e,t){return e||t?Cl:wl}function da(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(ua(o,e.isComponent)),t(Sl),t(pa(o,e.isComponent)))}const fa=new Uint8Array([123,123]),ha=new Uint8Array([125,125]);function ma(e){return e>=97&&e<=122||e>=65&&e<=90}function va(e){return 32===e||10===e||9===e||12===e||13===e}function ga(e){return 47===e||62===e||va(e)}function ya(t){const n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}const n={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};function _a(e){throw e}function ba(e){}function M(e,t,n,o){const r=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return r.code=e,r.loc=t,r}const xa=e=>4===e.type&&e.isStatic;function Sa(e){switch(e){case"Teleport":case"teleport":return yl;case"Suspense":case"suspense":return _l;case"KeepAlive":case"keep-alive":return bl;case"BaseTransition":case"base-transition":return xl}}const Ca=/^\d|[^\$\w]/,wa=e=>!Ca.test(e),Ta=/[A-Za-z_$\xA0-\uFFFF]/,Aa=/[\.\?\w$\xA0-\uFFFF]/,ka=/\s+[.[]\s*|\s*[.[]\s+/g,Na=n=>{n=n.trim().replace(ka,e=>e.trim());let o=0,r=[],s=0,i=0,l=null;for(let t=0;t<n.length;t++){const e=n.charAt(t);switch(o){case 0:if("["===e)r.push(o),o=1,s++;else if("("===e)r.push(o),o=2,i++;else if(!(0===t?Ta:Aa).test(e))return!1;break;case 1:"'"===e||'"'===e||"`"===e?(r.push(o),o=3,l=e):"["===e?s++:"]"===e&&(--s||(o=r.pop()));break;case 2:if("'"===e||'"'===e||"`"===e)r.push(o),o=3,l=e;else if("("===e)i++;else if(")"===e){if(t===n.length-1)return!1;--i||(o=r.pop())}break;case 3:e===l&&(o=r.pop(),l=null)}}return!s&&!i};function Ea(n,o,r=!1){for(let t=0;t<n.props.length;t++){const e=n.props[t];if(7===e.type&&(r||e.exp)&&(T(o)?e.name===o:o.test(e.name)))return e}}function Pa(n,o,r=!1,s=!1){for(let t=0;t<n.props.length;t++){const e=n.props[t];if(6===e.type){if(r)continue;if(e.name===o&&(e.value||s))return e}else if("bind"===e.name&&(e.exp||s)&&Ra(e.arg,o))return e}}function Ra(e,t){return!(!e||!xa(e)||e.content!==t)}function Ia(e){return 5===e.type||2===e.type}function Oa(e){return 7===e.type&&"slot"===e.name}function $a(e){return 1===e.type&&3===e.tagType}function Ma(e){return 1===e.type&&2===e.tagType}const La=new Set([Bl,Hl]);function Fa(t,n=[]){if(t&&!T(t)&&14===t.type){const e=t.callee;if(!T(e)&&La.has(e))return Fa(t.arguments[0],n.concat(t))}return[t,n]}function Ua(e,t,n){let o,r,s=13===e.type?e.props:e.arguments[2],i=[];if(s&&!T(s)&&14===s.type){const e=Fa(s);s=e[0],i=e[1],r=i[i.length-1]}if(null==s||T(s))o=ia([t]);else if(14===s.type){const e=s.arguments[0];T(e)||15!==e.type?s.callee===ql?o=$(n.helper(Vl),[ia([t]),s]):s.arguments.unshift(ia([t])):Va(t,e)||e.properties.unshift(t),!o&&(o=s)}else 15===s.type?(Va(t,s)||s.properties.unshift(t),o=s):(o=$(n.helper(Vl),[ia([t]),s]),r&&r.callee===Hl&&(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 Va(e,n){let o=!1;if(4===e.key.type){const t=e.key.content;o=n.properties.some(e=>4===e.key.type&&e.key.content===t)}return o}function ja(n,e){return`_${e}_${n.replace(/[^\w]/g,(e,t)=>"-"===e?"_":n.charCodeAt(t).toString())}`}const Da=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Ba={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:o,isPreTag:o,isCustomElement:o,onError:_a,onWarn:ba,comments:!1,prefixIdentifiers:!1};let u=Ba,Ha=null,qa="",s=null,i=null,Wa="",za=-1,Ka=-1,Ga=0,Ja=!1,Qa=null;const l=[],a=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=fa,this.delimiterClose=ha,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=fa,this.delimiterClose=ha}getPos(n){let o=1,r=n+1;for(let t=this.newlines.length-1;t>=0;t--){const e=this.newlines[t];if(n>e){o=t+2,r=n-e;break}}return{column:r,line:o,offset:n}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.state=this.inRCDATA?32:1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?ga(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(62===t||va(t)){const e=this.index-this.currentSequence.length;if(this.sectionStart<e){const t=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=t}return this.sectionStart=e+2,this.stateInClosingTagName(t),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|t)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===n.TitleEnd||this.currentSequence===n.TextareaEnd&&!this.inSFCRoot?t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===t)}stateCDATASequence(e){e===n.Cdata[this.sequenceIndex]?++this.sequenceIndex===n.Cdata.length&&(this.state=28,this.currentSequence=n.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);if(10===e&&this.newlines.push(this.index),e===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===n.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(t){if(33===t)this.state=22,this.sectionStart=this.index+1;else if(63===t)this.state=24,this.sectionStart=this.index+1;else if(ma(t))if(this.sectionStart=this.index,0===this.mode)this.state=6;else if(this.inSFCRoot)this.state=34;else if(this.inXML)this.state=6;else{const e=32|t;this.state=116===e?30:115===e?29:6}else 47===t?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(e){ga(e)&&this.handleTagName(e)}stateInSFCRootTagName(t){if(ga(t)){const e=this.buffer.slice(this.sectionStart,this.index);"template"!==e&&this.enterRCDATA(ya("</"+e),0),this.handleTagName(t)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){va(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=ma(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||va(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.state=this.inRCDATA?32:1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):va(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):va(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||ga(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||ga(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||ga(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||ga(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||ga(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):va(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):va(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){va(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=n.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=32|e;t===n.ScriptEnd[3]?this.startSpecial(n.ScriptEnd,4):t===n.StyleEnd[3]?this.startSpecial(n.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=32|e;t===n.TitleEnd[3]?this.startSpecial(n.TitleEnd,4):t===n.TextareaEnd[3]?this.startSpecial(n.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===n.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(l,{onerr:fc,ontext(e,t){ec(p(e,t),e,t)},ontextentity(e,t,n){ec(e,t,n)},oninterpolation(e,t){if(Ja)return ec(p(e,t),e,t);let n=e+a.delimiterOpen.length,o=t-a.delimiterClose.length;for(;va(qa.charCodeAt(n));)n++;for(;va(qa.charCodeAt(o-1));)o--;let r=p(n,o);r.includes("&")&&(r=u.decodeEntities(r,!1)),cc({type:5,content:dc(r,!1,d(n,o)),loc:d(e,t)})},onopentagname(e,t){const n=p(e,t);s={type:1,tag:n,ns:u.getNamespace(n,l[0],u.ns),tagType:0,props:[],children:[],loc:d(e-1,t),codegenNode:void 0}},onopentagend(e){Ya(e)},onclosetag(t,n){const o=p(t,n);if(!u.isVoidTag(o)){let e=!1;for(let t=0;t<l.length;t++){if(l[t].tag.toLowerCase()===o.toLowerCase()){e=!0;for(let e=0;e<=t;e++){tc(l.shift(),n,e<t)}break}}e||nc(t,60)}},onselfclosingtag(e){var t;const n=s.tag;s.isSelfClosing=!0,Ya(e),(null==(t=l[0])?void 0:t.tag)===n&&tc(l.shift(),e)},onattribname(e,t){i={type:6,name:p(e,t),nameLoc:d(e,t),value:void 0,loc:d(e)}},ondirname(t,e){const n=p(t,e),o="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Ja||""===o)i={type:6,name:n,nameLoc:d(t,e),value:void 0,loc:d(t)};else if(i={type:7,name:o,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?["prop"]:[],loc:d(t)},"pre"===o){Ja=a.inVPre=!0,Qa=s;const t=s.props;for(let e=0;e<t.length;e++)7===t[e].type&&(t[e]=pc(t[e]))}},ondirarg(t,n){if(t===n)return;const o=p(t,n);if(Ja)i.name+=o,uc(i.nameLoc,n);else{const e="["!==o[0];i.arg=dc(e?o:o.slice(1,-1),e,d(t,n),e?3:0)}},ondirmodifier(e,t){const n=p(e,t);if(Ja)i.name+="."+n,uc(i.nameLoc,t);else if("slot"===i.name){const e=i.arg;e&&(e.content+="."+n,uc(e.loc,t))}else i.modifiers.push(n)},onattribdata(e,t){Wa+=p(e,t),za<0&&(za=e),Ka=t},onattribentity(e,t,n){Wa+=e,za<0&&(za=t),Ka=n},onattribnameend(e){const t=p(i.loc.start.offset,e);7===i.type&&(i.rawName=t),s.props.some(e=>(7===e.type?e.rawName:e.name)===t)},onattribend(e,t){if(s&&i){if(uc(i.loc,t),0!==e)if(Wa.includes("&")&&(Wa=u.decodeEntities(Wa,!0)),6===i.type)"class"===i.name&&(Wa=ac(Wa).trim()),i.value={type:2,content:Wa,loc:1===e?d(za,Ka):d(za-1,Ka+1)},a.inSFCRoot&&"template"===s.tag&&"lang"===i.name&&Wa&&"html"!==Wa&&a.enterRCDATA(ya("</template"),0);else{let e=0;i.exp=dc(Wa,!1,d(za,Ka),0,e),"for"===i.name&&(i.forParseResult=function(t){const r=t.loc,n=t.content,o=n.match(Da);if(!o)return;const[,e,s]=o,i=(e,t,n=!1)=>{const o=r.start.offset+t;return dc(e,!1,d(o,o+e.length),0,n?1:0)},l={source:i(s.trim(),n.indexOf(s,e.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=e.trim().replace(Za,"").trim();const c=e.indexOf(a),u=a.match(Xa);if(u){a=a.replace(Xa,"").trim();const t=u[1].trim();let e;if(t&&(e=n.indexOf(t,c+a.length),l.key=i(t,e,!0)),u[2]){const o=u[2].trim();o&&(l.index=i(o,n.indexOf(o,l.key?e+t.length:c+a.length),!0))}}a&&(l.value=i(a,c,!0));return l}(i.exp))}7===i.type&&"pre"===i.name||s.props.push(i)}Wa="",za=Ka=-1},oncomment(e,t){u.comments&&cc({type:3,content:p(e,t),loc:d(e-4,t+3)})},onend(){const t=qa.length;for(let e=0;e<l.length;e++)tc(l[e],t-1)},oncdata(e,t){0!==l[0].ns&&ec(p(e,t),e,t)},onprocessinginstruction(e){0===(l[0]?l[0].ns:u.ns)&&fc(21,e-1)}}),Xa=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Za=/^\(|\)$/g;function p(e,t){return qa.slice(e,t)}function Ya(e){a.inSFCRoot&&(s.innerLoc=d(e+1,e+1)),cc(s);const{tag:t,ns:n}=s;0===n&&u.isPreTag(t)&&Ga++,u.isVoidTag(t)?tc(s,e):(l.unshift(s),1!==n&&2!==n||(a.inXML=!0)),s=null}function ec(e,t,n){var o;{const t=null==(o=l[0])?void 0:o.tag;"script___"!==t&&"style___"!==t&&e.includes("&")&&(e=u.decodeEntities(e,!1))}const r=l[0]||Ha,s=r.children[r.children.length-1];2===(null==s?void 0:s.type)?(s.content+=e,uc(s.loc,n)):r.children.push({type:2,content:e,loc:d(t,n)})}function tc(e,t,n=!1){uc(e.loc,n?nc(t,60):t+1),a.inSFCRoot&&(e.innerLoc.end=N({},e.children.length?e.children[e.children.length-1].loc.end:e.innerLoc.start),e.innerLoc.source=p(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:o,ns:r}=e;Ja||("slot"===o?e.tagType=2:!function({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&oc.has(t[e].name))return!0;return!1}(e)?function({tag:t,props:n}){var e;if(u.isCustomElement(t))return!1;if("component"===t||(o=t.charCodeAt(0),o>64&&o<91)||Sa(t)||(null==(e=u.isBuiltInComponent)?void 0:e.call(u,t))||u.isNativeTag&&!u.isNativeTag(t))return!0;var o;for(let e=0;e<n.length;e++){const t=n[e];if(6===t.type&&"is"===t.name&&t.value&&t.value.content.startsWith("vue:"))return!0}return!1}(e)&&(e.tagType=1):e.tagType=3),a.inRCDATA||(e.children=sc(e.children,e.tag)),0===r&&u.isPreTag(o)&&Ga--,Qa===e&&(Ja=a.inVPre=!1,Qa=null),a.inXML&&0===(l[0]?l[0].ns:u.ns)&&(a.inXML=!1)}function nc(e,t){let n=e;for(;qa.charCodeAt(n)!==t&&n>=0;)n--;return n}const oc=new Set(["if","else","else-if","for","slot"]);const rc=/\r\n/g;function sc(o,r){var s,i;const l="preserve"!==u.whitespace;let a=!1;for(let n=0;n<o.length;n++){const r=o[n];if(2===r.type)if(Ga)r.content=r.content.replace(rc,"\n");else if(ic(r.content)){const e=null==(s=o[n-1])?void 0:s.type,t=null==(i=o[n+1])?void 0:i.type;!e||!t||l&&(3===e&&(3===t||1===t)||1===e&&(3===t||1===t&&lc(r.content)))?(a=!0,o[n]=null):r.content=" "}else l&&(r.content=ac(r.content))}if(Ga&&r&&u.isPreTag(r)){const r=o[0];r&&2===r.type&&(r.content=r.content.replace(/^\r?\n/,""))}return a?o.filter(Boolean):o}function ic(t){for(let e=0;e<t.length;e++)if(!va(t.charCodeAt(e)))return!1;return!0}function lc(n){for(let t=0;t<n.length;t++){const e=n.charCodeAt(t);if(10===e||13===e)return!0}return!1}function ac(t){let n="",o=!1;for(let e=0;e<t.length;e++)va(t.charCodeAt(e))?o||(n+=" ",o=!0):(n+=t[e],o=!1);return n}function cc(e){(l[0]||Ha).children.push(e)}function d(e,t){return{start:a.getPos(e),end:null==t?t:a.getPos(t),source:null==t?t:p(e,t)}}function uc(e,t){e.end=a.getPos(t),e.source=p(e.start.offset,t)}function pc(t){const n={type:6,name:t.rawName,nameLoc:d(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const e=t.exp.loc;e.end.offset<t.loc.end.offset&&(e.start.offset--,e.start.column--,e.end.offset++,e.end.column++),n.value={type:2,content:t.exp.content,loc:e}}return n}function dc(e,t=!1,n,o=0,r=0){return k(e,t,n,o)}function fc(e,t,n){u.onError(M(e,d(t,t)))}function hc(e,t){if(a.reset(),s=null,i=null,Wa="",za=-1,Ka=-1,l.length=0,qa=e,u=N({},Ba),t){let e;for(e in t)null!=t[e]&&(u[e]=t[e])}a.mode="html"===u.parseMode?1:"sfc"===u.parseMode?2:0,a.inXML=1===u.ns||2===u.ns;const n=null==t?void 0:t.delimiters;n&&(a.delimiterOpen=ya(n[0]),a.delimiterClose=ya(n[1]));const o=Ha=function(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:oa}}([],e);return a.parse(qa),o.loc=d(0,e.length),o.children=sc(o.children),Ha=null,o}function mc(e,t){gc(e,t,vc(e,e.children[0]))}function vc(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!Ma(t)}function gc(t,n,o=!1){const{children:r}=t,e=r.length;let s=0;for(let e=0;e<r.length;e++){const t=r[e];if(1===t.type&&0===t.tagType){const r=o?0:yc(t,n);if(r>0){if(r>=2){t.codegenNode.patchFlag="-1",t.codegenNode=n.hoist(t.codegenNode),s++;continue}}else{const o=t.codegenNode;if(13===o.type){const r=Cc(o);if((!r||512===r||1===r)&&xc(t,n)>=2){const r=Sc(t);r&&(o.props=n.hoist(r))}o.dynamicProps&&(o.dynamicProps=n.hoist(o.dynamicProps))}}}if(1===t.type){const o=1===t.tagType;o&&n.scopes.vSlot++,gc(t,n),o&&n.scopes.vSlot--}else if(11===t.type)gc(t,n,1===t.children.length);else if(9===t.type)for(let e=0;e<t.branches.length;e++)gc(t.branches[e],n,1===t.branches[e].children.length)}if(s&&n.transformHoist&&n.transformHoist(r,n,t),s&&s===e&&1===t.type&&0===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&E(t.codegenNode.children)){const o=n.hoist(sa(t.codegenNode.children));n.hmr&&(o.content=`[...${o.content}]`),t.codegenNode.children=o}}function yc(r,s){const{constantCache:i}=s;switch(r.type){case 1:if(0!==r.tagType)return 0;const e=i.get(r);if(void 0!==e)return e;const t=r.codegenNode;if(13!==t.type)return 0;if(t.isBlock&&"svg"!==r.tag&&"foreignObject"!==r.tag)return 0;if(Cc(t))return i.set(r,0),0;{let n=3;const e=xc(r,s);if(0===e)return i.set(r,0),0;e<n&&(n=e);for(let t=0;t<r.children.length;t++){const e=yc(r.children[t],s);if(0===e)return i.set(r,0),0;e<n&&(n=e)}if(n>1)for(let e=0;e<r.props.length;e++){const t=r.props[e];if(7===t.type&&"bind"===t.name&&t.exp){const e=yc(t.exp,s);if(0===e)return i.set(r,0),0;e<n&&(n=e)}}if(t.isBlock){for(let e=0;e<r.props.length;e++){if(7===r.props[e].type)return i.set(r,0),0}s.removeHelper(Sl),s.removeHelper(pa(s.inSSR,t.isComponent)),t.isBlock=!1,s.helper(ua(s.inSSR,t.isComponent))}return i.set(r,n),n}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return yc(r.content,s);case 4:return r.constType;case 8:let o=3;for(let n=0;n<r.children.length;n++){const e=r.children[n];if(T(e)||L(e))continue;const t=yc(e,s);if(0===t)return 0;t<o&&(o=t)}return o}}const _c=new Set([jl,Dl,Bl,Hl]);function bc(t,n){if(14===t.type&&!T(t.callee)&&_c.has(t.callee)){const e=t.arguments[0];if(4===e.type)return yc(e,n);if(14===e.type)return bc(e,n)}return 0}function xc(s,i){let l=3;const e=Sc(s);if(e&&15===e.type){const{properties:s}=e;for(let r=0;r<s.length;r++){const{key:e,value:t}=s[r],n=yc(e,i);if(0===n)return n;let o;if(n<l&&(l=n),o=4===t.type?yc(t,i):14===t.type?bc(t,i):0,0===o)return o;o<l&&(l=o)}}return l}function Sc(e){const t=e.codegenNode;if(13===t.type)return t.props}function Cc(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function wc(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,hmr:r=!1,cacheHandlers:s=!1,nodeTransforms:i=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=G,isCustomElement:u=G,expressionPlugins:p=[],scopeId:d=null,slotted:f=!0,ssr:h=!1,inSSR:m=!1,ssrCssVars:v="",bindingMetadata:g=z,inline:y=!1,isTS:_=!1,onError:b=_a,onWarn:x=ba,compatConfig:S}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),w={filename:t,selfName:C&&H(Q(C[1])),prefixIdentifiers:n,hoistStatic:o,hmr:r,cacheHandlers:s,nodeTransforms:i,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:p,scopeId:d,slotted:f,ssr:h,inSSR:m,ssrCssVars:v,bindingMetadata:g,inline:y,isTS:_,onError:b,onWarn:x,compatConfig:S,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,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=w.helpers.get(e)||0;return w.helpers.set(e,t+1),e},removeHelper(t){const n=w.helpers.get(t);if(n){const e=n-1;e?w.helpers.set(t,e):w.helpers.delete(t)}},helperString:e=>`_${na[w.helper(e)]}`,replaceNode(e){w.parent.children[w.childIndex]=w.currentNode=e},removeNode(e){const t=e?w.parent.children.indexOf(e):w.currentNode?w.childIndex:-1;e&&e!==w.currentNode?w.childIndex>t&&(w.childIndex--,w.onNodeRemoved()):(w.currentNode=null,w.onNodeRemoved()),w.parent.children.splice(t,1)},onNodeRemoved:G,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){T(e)&&(e=k(e)),w.hoists.push(e);const t=k(`_hoisted_${w.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:oa}}(w.cached++,e,t)};return w}function Tc(e,t){const n=wc(e,t);Ac(e,n),t.hoistStatic&&mc(e,n),t.ssr||function(t,n){const{helper:o}=n,{children:e}=t;if(1===e.length){const o=e[0];if(vc(t,o)&&o.codegenNode){const e=o.codegenNode;13===e.type&&da(e,n),t.codegenNode=e}else t.codegenNode=o}else if(e.length>1){let e=64;t.codegenNode=ra(n,o(gl),void 0,t.children,e+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...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.transformed=!0}function Ac(t,n){n.currentNode=t;const{nodeTransforms:o}=n,r=[];for(let e=0;e<o.length;e++){const s=o[e](t,n);if(s&&(E(s)?r.push(...s):r.push(s)),!n.currentNode)return;t=n.currentNode}switch(t.type){case 3:n.ssr||n.helper(kl);break;case 5:n.ssr||n.helper(Ul);break;case 9:for(let e=0;e<t.branches.length;e++)Ac(t.branches[e],n);break;case 10:case 11:case 1:case 0:!function(t,n){let o=0;const r=()=>{o--};for(;o<t.children.length;o++){const e=t.children[o];T(e)||(n.parent=t,n.childIndex=o,n.onNodeRemoved=r,Ac(e,n))}}(t,n)}n.currentNode=t;let s=r.length;for(;s--;)r[s]()}function kc(t,i){const l=T(t)?e=>e===t:e=>t.test(e);return(r,s)=>{if(1===r.type){const{props:n}=r;if(3===r.tagType&&n.some(Oa))return;const o=[];for(let t=0;t<n.length;t++){const e=n[t];if(7===e.type&&l(e.name)){n.splice(t,1),t--;const l=i(r,e,s);l&&o.push(l)}}return o}}}const Nc="/*#__PURE__*/",Ec=e=>`${na[e]}: _${na[e]}`;function Pc(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:p=!1,inSSR:d=!1}){const f={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:s,optimizeImports:i,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:p,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${na[e]}`,push(e,t=-2,n){f.code+=e},indent(){h(++f.indentLevel)},deindent(e=!1){e?--f.indentLevel:h(--f.indentLevel)},newline(){h(f.indentLevel)}};function h(e){f.push("\n"+" ".repeat(e),0)}return f}function Rc(t,e={}){const n=Pc(t,e);e.onContextCreated&&e.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:s,indent:i,deindent:l,newline:a,ssr:c}=n,u=Array.from(t.helpers),p=u.length>0,d=!s&&"module"!==o,f=n;!function(e,t){const{push:n,newline:o,runtimeGlobalName:r}=t,s=r,i=Array.from(e.helpers);if(i.length>0&&(n(`const _Vue = ${s}\n`,-1),e.hoists.length)){n(`const { ${[Tl,Al,kl,Nl,El].filter(e=>i.includes(e)).map(Ec).join(", ")} } = _Vue\n`,-1)}(function(n,o){if(!n.length)return;o.pure=!0;const{push:r,newline:s}=o;s();for(let t=0;t<n.length;t++){const e=n[t];e&&(r(`const _hoisted_${t+1} = `),m(e,o),s())}o.pure=!1})(e.hoists,t),o(),n("return ")}(t,f);if(r(`function ${c?"ssrRender":"render"}(${(c?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),d&&(r("with (_ctx) {"),i(),p&&(r(`const { ${u.map(Ec).join(", ")} } = _Vue\n`,-1),a())),t.components.length&&(Ic(t.components,"component",n),(t.directives.length||t.temps>0)&&a()),t.directives.length&&(Ic(t.directives,"directive",n),t.temps>0&&a()),t.temps>0){r("let ");for(let e=0;e<t.temps;e++)r(`${e>0?", ":""}_temp${e}`)}return(t.components.length||t.directives.length||t.temps)&&(r("\n",0),a()),c||r("return "),t.codegenNode?m(t.codegenNode,n):r("null"),d&&(l(),r("}")),l(),r("}"),{ast:t,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Ic(o,r,{helper:e,push:s,newline:i,isTS:l}){const a=e("component"===r?Pl:Il);for(let n=0;n<o.length;n++){let e=o[n];const t=e.endsWith("__self");t&&(e=e.slice(0,-6)),s(`const ${ja(e,r)} = ${a}(${JSON.stringify(e)}${t?", true":""})${l?"!":""}`),n<o.length-1&&i()}}function Oc(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),$c(e,t,n),n&&t.deindent(),t.push("]")}function $c(n,o,r=!1,s=!0){const{push:i,newline:l}=o;for(let t=0;t<n.length;t++){const e=n[t];T(e)?i(e,-3):E(e)?Oc(e,o):m(e,o),t<n.length-1&&(r?(s&&i(","),l()):s&&i(", "))}}function m(e,t){if(T(e))t.push(e,-3);else if(L(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:m(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:Mc(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Nc);n(`${o(Ul)}(`),m(e.content,t),n(")")}(e,t);break;case 8:Lc(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(Nc);n(`${o(kl)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:s,props:i,children:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:p,disableTracking:d,isComponent:f}=e;u&&n(o($l)+"(");p&&n(`(${o(Sl)}(${d?"true":""}), `);r&&n(Nc);const h=p?pa(t.inSSR,f):ua(t.inSSR,f);n(o(h)+"(",-2,e),$c(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([s,i,l,a,c]),t),n(")"),p&&n(")");u&&(n(", "),m(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:r}=t,s=T(e.callee)?e.callee:o(e.callee);r&&n(Nc);n(s+"(",-2,e),$c(e.arguments,t),n(")")}(e,t);break;case 15:!function(t,n){const{push:o,indent:r,deindent:e,newline:s}=n,{properties:i}=t;if(!i.length)return void o("{}",-2,t);const l=i.length>1||!1;o(l?"{":"{ "),l&&r();for(let e=0;e<i.length;e++){const{key:t,value:r}=i[e];Fc(t,n),o(": "),m(r,n),e<i.length-1&&(o(","),s())}l&&e(),o(l?"}":" }")}(e,t);break;case 17:!function(e,t){Oc(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:r}=t,{params:s,returns:i,body:l,newline:a,isSlot:c}=e;c&&n(`_${na[Xl]}(`);n("(",-2,e),E(s)?$c(s,t):s&&m(s,t);n(") => "),(a||l)&&(n("{"),o());i?(a&&n("return "),E(i)?Oc(i,t):m(i,t)):l&&m(l,t);(a||l)&&(r(),n("}"));c&&n(")")}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:s}=e,{push:i,indent:l,deindent:a,newline:c}=t;if(4===n.type){const e=!wa(n.content);e&&i("("),Mc(n,t),e&&i(")")}else i("("),m(n,t),i(")");s&&l(),t.indentLevel++,s||i(" "),i("? "),m(o,t),t.indentLevel--,s&&c(),s||i(" "),i(": ");const u=19===r.type;u||t.indentLevel++;m(r,t),u||t.indentLevel--;s&&a(!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(Gl)}(-1),`),i());n(`_cache[${e.index}] = `),m(e.value,t),e.isVNode&&(n(","),i(),n(`${o(Gl)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:$c(e.body,t,!0,!1)}}function Mc(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,-3,e)}function Lc(n,o){for(let t=0;t<n.children.length;t++){const e=n.children[t];T(e)?o.push(e,-3):m(e,o)}}function Fc(e,t){const{push:n}=t;if(8===e.type)n("["),Lc(e,t),n("]");else if(e.isStatic){n(wa(e.content)?e.content:JSON.stringify(e.content),-2,e)}else n(`[${e.content}]`,-3,e)}const Uc=kc(/^(if|else|else-if)$/,(e,t,i)=>function(o,r,s,i){if(!("else"===r.name||r.exp&&r.exp.content.trim())){const i=r.exp?r.exp.loc:o.loc;s.onError(M(28,r.loc)),r.exp=k("true",!1,i)}if("if"===r.name){const e=Vc(o,r),t={type:9,loc:o.loc,branches:[e]};if(s.replaceNode(t),i)return i(t,e,!0)}else{const e=s.parent.children;let t=e.indexOf(o);for(;t-- >=-1;){const n=e[t];if(n&&3===n.type)s.removeNode(n);else{if(!n||2!==n.type||n.content.trim().length){if(n&&9===n.type){"else-if"===r.name&&void 0===n.branches[n.branches.length-1].condition&&s.onError(M(30,o.loc)),s.removeNode();const e=Vc(o,r);n.branches.push(e);const t=i&&i(n,e,!1);Ac(e,s),t&&t(),s.currentNode=null}else s.onError(M(30,o.loc));break}s.removeNode(n)}}}}(e,t,i,(e,t,n)=>{const o=i.parent.children;let r=o.indexOf(e),s=0;for(;r-- >=0;){const e=o[r];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(n)e.codegenNode=jc(t,s,i);else{const n=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);n.alternate=jc(t,s+e.branches.length-1,i)}}}));function Vc(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!Ea(e,"for")?e.children:[e],userKey:Pa(e,"key"),isTemplateIf:n}}function jc(e,t,n){return e.condition?ca(e.condition,Dc(e,t,n),$(n.helper(kl),['""',"true"])):Dc(e,t,n)}function Dc(t,e,n){const{helper:o}=n,r=A("key",k(`${e}`,!1,oa,2)),{children:s}=t,i=s[0];if(1!==s.length||1!==i.type){if(1===s.length&&11===i.type){const t=i.codegenNode;return Ua(t,r,n),t}{let e=64;return ra(n,o(gl),ia([r]),s,e+"",void 0,void 0,!0,!1,!1,t.loc)}}{const t=i.codegenNode,e=14===(l=t).type&&l.callee===ea?l.arguments[1].returns:l;return 13===e.type&&da(e,n),Ua(e,r,n),t}var l}const Bc=kc("for",(p,e,d)=>{const{helper:f,removeHelper:h}=d;return function(e,t,n,o){if(!t.exp)return void n.onError(M(31,t.loc));const r=t.forParseResult;if(!r)return void n.onError(M(32,t.loc));Hc(r);const{scopes:s}=n,{source:i,value:l,key:a,index:c}=r,u={type:11,loc:t.loc,source:i,valueAlias:l,keyAlias:a,objectIndexAlias:c,parseResult:r,children:$a(e)?e.children:[e]};n.replaceNode(u),s.vFor++;const p=o&&o(u);return()=>{s.vFor--,p&&p()}}(p,e,d,r=>{const s=$(f(Ml),[r.source]),i=$a(p),l=Ea(p,"memo"),e=Pa(p,"key"),a=e&&(6===e.type?k(e.value.content,!0):e.exp),c=e?A("key",a):null,u=4===r.source.type&&r.source.constType>0,t=u?64:e?128:256;return r.codegenNode=ra(d,f(gl),void 0,s,t+"",void 0,void 0,!0,!u,!1,p.loc),()=>{let e;const{children:t}=r,n=1!==t.length||1!==t[0].type,o=Ma(p)?p:i&&1===p.children.length&&Ma(p.children[0])?p.children[0]:null;if(o?(e=o.codegenNode,i&&c&&Ua(e,c,d)):n?e=ra(d,f(gl),c?ia([c]):void 0,p.children,"64",void 0,void 0,!0,void 0,!1):(e=t[0].codegenNode,i&&c&&Ua(e,c,d),e.isBlock!==!u&&(e.isBlock?(h(Sl),h(pa(d.inSSR,e.isComponent))):h(ua(d.inSSR,e.isComponent))),e.isBlock=!u,e.isBlock?(f(Sl),f(pa(d.inSSR,e.isComponent))):f(ua(d.inSSR,e.isComponent))),l){const p=aa(qc(r.parseResult,[k("_cached")]));p.body={type:21,body:[la(["const _memo = (",l.exp,")"]),la(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${d.helperString(ta)}(_cached, _memo)) return _cached`]),la(["const _item = ",e]),k("_item.memo = _memo"),k("return _item")],loc:oa},s.arguments.push(p,k("_cache"),k(String(d.cached++)))}else s.arguments.push(aa(qc(r.parseResult),e,!0))}})});function Hc(e,t){e.finalized||(e.finalized=!0)}function qc({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||k("_".repeat(t+1),!1))}([e,t,n,...o])}const Wc=k("undefined",!1),zc=(t,n)=>{if(1===t.type&&(1===t.tagType||3===t.tagType)){const e=Ea(t,"slot");if(e)return n.scopes.vSlot++,()=>{n.scopes.vSlot--}}},Kc=(e,t,n,o)=>aa(e,n,!1,!0,n.length?n[0].loc:o);function Gc(u,p,d=Kc){p.helper(Xl);const{children:f,loc:n}=u,h=[],m=[];let v=p.scopes.vSlot>0||p.scopes.vFor>0;const g=Ea(u,"slot",!0);if(g){const{arg:u,exp:p}=g;u&&!xa(u)&&(v=!0),h.push(A(u||k("default",!0),d(p,void 0,f,n)))}let y=!1,_=!1;const b=[],x=new Set;let S=0;for(let c=0;c<f.length;c++){const u=f[c];let e;if(!$a(u)||!(e=Ea(u,"slot",!0))){3!==u.type&&b.push(u);continue}if(g){p.onError(M(37,e.loc));break}y=!0;const{children:C,loc:w}=u,{arg:n=k("default",!0),exp:t,loc:o}=e;let r;xa(n)?r=n?n.content:"default":v=!0;const s=Ea(u,"for"),i=d(t,s,C,w);let l,a;if(l=Ea(u,"if"))v=!0,m.push(ca(l.exp,Jc(n,i,S++),Wc));else if(a=Ea(u,/^else(-if)?$/,!0)){let e,t=c;for(;t--&&(e=f[t],3===e.type););if(e&&$a(e)&&Ea(e,"if")){f.splice(c,1),c--;let e=m[m.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=a.exp?ca(a.exp,Jc(n,i,S++),Wc):Jc(n,i,S++)}else p.onError(M(30,a.loc))}else if(s){v=!0;const u=s.forParseResult;u?(Hc(u),m.push($(p.helper(Ml),[u.source,aa(qc(u),Jc(n,i),!0)]))):p.onError(M(32,s.loc))}else{if(r){if(x.has(r)){p.onError(M(38,o));continue}x.add(r),"default"===r&&(_=!0)}h.push(A(n,i))}}if(!g){const u=(e,t)=>A("default",d(e,void 0,t,n));y?b.length&&b.some(e=>Xc(e))&&(_?p.onError(M(39,b[0].loc)):h.push(u(void 0,b))):h.push(u(void 0,f))}const C=v?2:Qc(u.children)?3:1;let w=ia(h.concat(A("_",k(C+"",!1))),n);return m.length&&(w=$(p.helper(Fl),[w,sa(m)])),{slots:w,hasDynamicSlots:v}}function Jc(e,t,n){const o=[A("name",e),A("fn",t)];return null!=n&&o.push(A("key",k(String(n),!0))),ia(o)}function Qc(n){for(let t=0;t<n.length;t++){const e=n[t];switch(e.type){case 1:if(2===e.tagType||Qc(e.children))return!0;break;case 9:if(Qc(e.branches))return!0;break;case 10:case 11:if(Qc(e.children))return!0}}return!1}function Xc(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Xc(e.content))}const Zc=new WeakMap,Yc=(f,h)=>function(){if(1!==(f=h.currentNode).type||0!==f.tagType&&1!==f.tagType)return;const{tag:e,props:t}=f,n=1===f.tagType;let o=n?function(e,t,n=!1){let{tag:o}=e;const r=ou(o),s=Pa(e,"is");if(s)if(r){const e=6===s.type?s.value&&k(s.value.content,!0):s.exp;if(e)return $(t.helper(Rl),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(o=s.value.content.slice(4));const i=Sa(o)||t.isBuiltInComponent(o);if(i)return n||t.helper(i),i;return t.helper(Pl),t.components.add(o),ja(o,"component")}(f,h):`"${e}"`;const r=I(o)&&o.callee===Rl;let s,i,l,a,c,u,p=0,d=r||o===yl||o===_l||!n&&("svg"===e||"foreignObject"===e);if(t.length>0){const e=eu(f,h,void 0,n,r);s=e.props,p=e.patchFlag,c=e.dynamicPropNames;const t=e.directives;u=t&&t.length?sa(t.map(e=>function(e,t){const n=[],o=Zc.get(e);o?n.push(t.helperString(o)):(t.helper(Il),t.directives.add(e.name),n.push(ja(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=k("true",!1,r);n.push(ia(e.modifiers.map(e=>A(e,t)),r))}return sa(n,e.loc)}(e,h))):void 0,e.shouldUseBlock&&(d=!0)}if(f.children.length>0){o===bl&&(d=!0,p|=1024);if(n&&o!==yl&&o!==bl){const{slots:e,hasDynamicSlots:t}=Gc(f,h);i=e,t&&(p|=1024)}else if(1===f.children.length&&o!==yl){const e=f.children[0],t=e.type,n=5===t||8===t;n&&0===yc(e,h)&&(p|=1),i=n||2===t?e:f.children}else i=f.children}0!==p&&(l=String(p),c&&c.length&&(a=function(n){let o="[";for(let e=0,t=n.length;e<t;e++)o+=JSON.stringify(n[e]),e<t-1&&(o+=", ");return o+"]"}(c))),f.codegenNode=ra(h,o,s,i,l,a,u,!!d,!1,n,f.loc)};function eu(t,r,n=t.props,s,i,l=!1){const{tag:o,loc:a,children:c}=t;let u=[];const p=[],d=[],f=c.length>0;let h=!1,m=0,v=!1,g=!1,y=!1,_=!1,b=!1,x=!1;const S=[],C=e=>{u.length&&(p.push(ia(tu(u),a)),u=[]),e&&p.push(e)},w=({key:n,value:o})=>{if(xa(n)){const e=n.content,t=P(e);if(!t||s&&!i||"onclick"===e.toLowerCase()||"onUpdate:modelValue"===e||re(e)||(_=!0),t&&re(e)&&(x=!0),t&&14===o.type&&(o=o.arguments[0]),20===o.type||(4===o.type||8===o.type)&&yc(o,r)>0)return;"ref"===e?v=!0:"class"===e?g=!0:"style"===e?y=!0:"key"===e||S.includes(e)||S.push(e),!s||"class"!==e&&"style"!==e||S.includes(e)||S.push(e)}else b=!0};for(let e=0;e<n.length;e++){const i=n[e];if(6===i.type){const{loc:t,name:n,nameLoc:s,value:l}=i;let e=!0;if("ref"===n&&(v=!0,r.scopes.vFor>0&&u.push(A(k("ref_for",!0),k("true")))),"is"===n&&(ou(o)||l&&l.content.startsWith("vue:")))continue;u.push(A(k(n,!0,s),k(l?l.content:"",e,l?l.loc:t)))}else{const{name:n,arg:P,exp:c,loc:v,modifiers:g}=i,y="bind"===n,_="on"===n;if("slot"===n){s||r.onError(M(40,v));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&Ra(P,"is")&&ou(o))continue;if(_&&l)continue;if((y&&Ra(P,"key")||_&&f&&Ra(P,"vue:before-update"))&&(h=!0),y&&Ra(P,"ref")&&r.scopes.vFor>0&&u.push(A(k("ref_for",!0),k("true"))),!P&&(y||_)){b=!0,c?y?(C(),p.push(c)):C({type:14,loc:v,callee:r.helper(ql),arguments:s?[c]:[c,"true"]}):r.onError(M(y?34:35,v));continue}y&&g.includes("prop")&&(m|=32);const x=r.directiveTransforms[n];if(x){const{props:n,needRuntime:s}=x(i,t,r);!l&&n.forEach(w),_&&P&&!xa(P)?C(ia(n,a)):u.push(...n),s&&(d.push(i),L(s)&&Zc.set(i,s))}else V(n)||(d.push(i),f&&(h=!0))}}let T;if(p.length?(C(),T=p.length>1?$(r.helper(Vl),p,a):p[0]):u.length&&(T=ia(tu(u),a)),b?m|=16:(g&&!s&&(m|=2),y&&!s&&(m|=4),S.length&&(m|=8),_&&(m|=32)),h||0!==m&&32!==m||!(v||x||d.length>0)||(m|=512),!r.inSSR&&T)switch(T.type){case 15:let t=-1,n=-1,o=!1;for(let e=0;e<T.properties.length;e++){const i=T.properties[e].key;xa(i)?"class"===i.content?t=e:"style"===i.content&&(n=e):i.isHandlerKey||(o=!0)}const i=T.properties[t],l=T.properties[n];o?T=$(r.helper(Bl),[T]):(i&&!xa(i.value)&&(i.value=$(r.helper(jl),[i.value])),l&&(y||4===l.value.type&&"["===l.value.content.trim()[0]||17===l.value.type)&&(l.value=$(r.helper(Dl),[l.value])));break;case 14:break;default:T=$(r.helper(Bl),[$(r.helper(Hl),[T])])}return{props:T,directives:d,patchFlag:m,dynamicPropNames:S,shouldUseBlock:h}}function tu(r){const s=new Map,i=[];for(let o=0;o<r.length;o++){const e=r[o];if(8===e.key.type||!e.key.isStatic){i.push(e);continue}const t=e.key.content,n=s.get(t);n?("style"===t||"class"===t||P(t))&&nu(n,e):(s.set(t,e),i.push(e))}return i}function nu(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=sa([e.value,t.value],e.loc)}function ou(e){return"component"===e||"Component"===e}const ru=(i,l)=>{if(Ma(i)){const{children:e,loc:t}=i,{slotName:n,slotProps:o}=function(t,n){let o,r='"default"';const s=[];for(let e=0;e<t.props.length;e++){const n=t.props[e];6===n.type?n.value&&("name"===n.name?r=JSON.stringify(n.value.content):(n.name=Q(n.name),s.push(n))):"bind"===n.name&&Ra(n.arg,"name")?n.exp&&(r=n.exp):("bind"===n.name&&n.arg&&xa(n.arg)&&(n.arg.content=Q(n.arg.content)),s.push(n))}if(s.length>0){const{props:r,directives:e}=eu(t,n,s,!1,!1);o=r,e.length&&n.onError(M(36,e[0].loc))}return{slotName:r,slotProps:o}}(i,l),r=[l.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let s=2;o&&(r[2]=o,s=3),e.length&&(r[3]=aa([],e,!1,!1,t),s=4),l.scopeId&&!l.slotted&&(s=5),r.splice(s),i.codegenNode=$(l.helper(Ll),r,t)}};const su=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,iu=(e,t,n,o)=>{const{loc:r,modifiers:s,arg:i}=e;let l;if(4===i.type)if(i.isStatic){let e=i.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);l=k(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?q(Q(e)):`on:${e}`,!0,i.loc)}else l=la([`${n.helperString(Kl)}(`,i,")"]);else l=i,l.children.unshift(`${n.helperString(Kl)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const e=Na(a.content),t=!(e||su.test(a.content)),n=a.content.includes(";");(t||c&&e)&&(a=la([`${t?"$event":"(...args)"} => ${n?"{":"("}`,a,n?"}":")"]))}let u={props:[A(l,a||k("() => {}",!1,r))]};return o&&(u=o(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(e=>e.key.isHandlerKey=!0),u},lu=(e,t,n)=>{const{modifiers:o,loc:r}=e,s=e.arg;let{exp:i}=e;if(!i&&4===s.type){const t=Q(s.content);i=e.exp=k(t,!1,s.loc)}return 4!==s.type?(s.children.unshift("("),s.children.push(') || ""')):s.isStatic||(s.content=`${s.content} || ""`),o.includes("camel")&&(4===s.type?s.content=s.isStatic?Q(s.content):`${n.helperString(Wl)}(${s.content})`:(s.children.unshift(`${n.helperString(Wl)}(`),s.children.push(")"))),n.inSSR||(o.includes("prop")&&au(s,"."),o.includes("attr")&&au(s,"^")),!i||4===i.type&&!i.content.trim()?{props:[A(s,k("",!0,r))]}:{props:[A(s,i)]}},au=(e,t)=>{4===e.type?e.content=e.isStatic?t+e.content:`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},cu=(e,s)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const o=e.children;let r,t=!1;for(let n=0;n<o.length;n++){const s=o[n];if(Ia(s)){t=!0;for(let t=n+1;t<o.length;t++){const e=o[t];if(!Ia(e)){r=void 0;break}r||(r=o[n]=la([s],s.loc)),r.children.push(" + ",e),o.splice(t,1),t--}}}if(t&&(1!==o.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!s.directiveTransforms[e.name]))))for(let e=0;e<o.length;e++){const r=o[e];if(Ia(r)||8===r.type){const t=[];2===r.type&&" "===r.content||t.push(r),s.ssr||0!==yc(r,s)||t.push("1"),o[e]={type:12,content:r,loc:r.loc,codegenNode:$(s.helper(Nl),t)}}}}},uu=new WeakSet,pu=(e,t)=>{if(1===e.type&&Ea(e,"once",!0)){if(uu.has(e)||t.inVOnce||t.inSSR)return;return uu.add(e),t.inVOnce=!0,t.helper(Gl),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},du=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(M(41,e.loc)),fu();const s=o.loc.source,i=4===o.type?o.content:s,l=n.bindingMetadata[s];if("props"===l||"props-aliased"===l)return fu();if(!i.trim()||!Na(i))return n.onError(M(42,o.loc)),fu();const a=r||k("modelValue",!0),c=r?xa(r)?`onUpdate:${Q(r.content)}`:la(['"onUpdate:" + ',r]):"onUpdate:modelValue";let u;u=la([`${n.isTS?"($event: any)":"$event"} => ((`,o,") = $event)"]);const p=[A(a,e.exp),A(c,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(wa(e)?e:JSON.stringify(e))+": true").join(", "),n=r?xa(r)?`${r.content}Modifiers`:la([r,' + "Modifiers"']):"modelModifiers";p.push(A(n,k(`{ ${t} }`,!1,e.loc,2)))}return fu(p)};function fu(e=[]){return{props:e}}const hu=new WeakSet,mu=(n,o)=>{if(1===n.type){const t=Ea(n,"memo");if(!t||hu.has(n))return;return hu.add(n),()=>{const e=n.codegenNode||o.currentNode.codegenNode;e&&13===e.type&&(1!==n.tagType&&da(e,o),n.codegenNode=$(o.helper(ea),[t.exp,aa(void 0,e),"_cache",String(o.cached++)]))}}};function vu(e,t={}){const n=t.onError||_a,o="module"===t.mode;!0===t.prefixIdentifiers?n(M(47)):o&&n(M(48));t.cacheHandlers&&n(M(49)),t.scopeId&&!o&&n(M(50));const r=N({},t,{prefixIdentifiers:!1}),s=T(e)?hc(e,r):e,[i,l]=[[pu,Uc,mu,Bc,ru,Yc,zc,cu],{on:iu,bind:lu,model:du}];return Tc(s,N({},r,{nodeTransforms:[...i,...t.nodeTransforms||[]],directiveTransforms:N({},l,t.directiveTransforms||{})})),Rc(s,r)}const gu=Symbol(""),yu=Symbol(""),_u=Symbol(""),bu=Symbol(""),xu=Symbol(""),Su=Symbol(""),Cu=Symbol(""),wu=Symbol(""),Tu=Symbol(""),Au=Symbol("");var ku;let Nu;ku={[gu]:"vModelRadio",[yu]:"vModelCheckbox",[_u]:"vModelText",[bu]:"vModelSelect",[xu]:"vModelDynamic",[Su]:"withModifiers",[Cu]:"withKeys",[wu]:"vShow",[Tu]:"Transition",[Au]:"TransitionGroup"},Object.getOwnPropertySymbols(ku).forEach(e=>{na[e]=ku[e]});const Eu={parseMode:"html",isVoidTag:Se,isNativeTag:e=>_e(e)||be(e)||xe(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Nu||(Nu=document.createElement("div")),t?(Nu.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Nu.children[0].getAttribute("foo")):(Nu.innerHTML=e,Nu.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Tu:"TransitionGroup"===e||"transition-group"===e?Au:void 0,getNamespace(e,t,n){let o=t?t.ns:n;if(t&&2===o)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))&&(o=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(o=0);else t&&1===o&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(o=0));if(0===o){if("svg"===e)return 1;if("math"===e)return 2}return o}},Pu=(e,t)=>{const n=ge(e);return k(JSON.stringify(n),!1,t,3)};function Ru(e,t){return M(e,t)}const Iu=t("passive,once,capture"),Ou=t("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),$u=t("left,right"),Mu=t("onkeyup,onkeydown,onkeypress",!0),Lu=(e,t)=>xa(e)&&"onclick"===e.content.toLowerCase()?k(t,!0):4!==e.type?la(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Fu=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Uu=[n=>{1===n.type&&n.props.forEach((e,t)=>{6===e.type&&"style"===e.name&&e.value&&(n.props[t]={type:7,name:"bind",arg:k("style",!0,e.loc),exp:Pu(e.value.content,e.loc),modifiers:[],loc:e.loc})})}],Vu={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Ru(53,r)),t.children.length&&(n.onError(Ru(54,r)),t.children.length=0),{props:[A(k("innerHTML",!0,r),o||k("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Ru(55,r)),t.children.length&&(n.onError(Ru(56,r)),t.children.length=0),{props:[A(k("textContent",!0),o?yc(o,n)>0?o:$(n.helperString(Ul),[o],r):k("",!0))]}},model:(n,o,r)=>{const s=du(n,o,r);if(!s.props.length||1===o.tagType)return s;n.arg&&r.onError(Ru(58,n.arg.loc));const{tag:i}=o,l=r.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||l){let e=_u,t=!1;if("input"===i||l){const s=Pa(o,"type");if(s){if(7===s.type)e=xu;else if(s.value)switch(s.value.content){case"radio":e=gu;break;case"checkbox":e=yu;break;case"file":t=!0,r.onError(Ru(59,n.loc))}}else(function(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))})(o)&&(e=xu)}else"select"===i&&(e=bu);t||(s.needRuntime=r.helper(e))}else r.onError(Ru(57,n.loc));return s.props=s.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),s},on:(l,e,a)=>iu(l,e,a,e=>{const{modifiers:t}=l;if(!t.length)return e;let{key:n,value:o}=e.props[0];const{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}=((t,n,o,e)=>{const r=[],s=[],i=[];for(let e=0;e<n.length;e++){const o=n[e];Iu(o)?i.push(o):$u(o)?xa(t)?Mu(t.content)?r.push(o):s.push(o):(r.push(o),s.push(o)):Ou(o)?s.push(o):r.push(o)}return{keyModifiers:r,nonKeyModifiers:s,eventOptionModifiers:i}})(n,t);if(s.includes("right")&&(n=Lu(n,"onContextmenu")),s.includes("middle")&&(n=Lu(n,"onMouseup")),s.length&&(o=$(a.helper(Su),[o,JSON.stringify(s)])),!r.length||xa(n)&&!Mu(n.content)||(o=$(a.helper(Cu),[o,JSON.stringify(r)])),i.length){const l=i.map(H).join("");n=xa(n)?k(`${n.content}${l}`,!0):la(["(",n,`) + "${l}"`])}return{props:[A(n,o)]}}),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(Ru(61,r)),{props:[],needRuntime:n.helper(wu)}}};const ju=new WeakMap;function Du(e,t){if(!T(e)){if(!e.nodeType)return G;e=e.innerHTML}const n=e,o=function(e){let t=ju.get(null!=e?e:z);return t||(t=Object.create(null),ju.set(null!=e?e:z,t)),t}(t),r=o[n];if(r)return r;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const s=N({hoistStatic:!0,onError:void 0,onWarn:G},t);s.isCustomElement||"undefined"==typeof customElements||(s.isCustomElement=e=>!!customElements.get(e));const{code:i}=function(e,t={}){return vu(e,N({},Eu,t,{nodeTransforms:[Fu,...Uu,...t.nodeTransforms||[]],directiveTransforms:N({},Vu,t.directiveTransforms||{}),transformHoist:null}))}(e,s),l=new Function(i)();return l._rc=!0,o[n]=l}return $s(Du),e.BaseTransition=vo,e.BaseTransitionPropsValidators=mo,e.Comment=te,e.DeprecationTypes=null,e.EffectScope=Re,e.ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},e.ErrorTypeStrings=null,e.Fragment=ee,e.KeepAlive=ko,e.ReactiveEffect=$e,e.Static=Yr,e.Suspense=Gn,e.Teleport=Qr,e.Text=Zr,e.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},e.Transition=Xs,e.TransitionGroup=ji,e.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},e.VueElement=$i,e.assertNumber=function(e,t){},e.callWithAsyncErrorHandling=dn,e.callWithErrorHandling=pn,e.camelize=Q,e.capitalize=H,e.cloneVNode=ms,e.compatUtils=null,e.compile=Du,e.computed=Vs,e.createApp=(...e)=>{const r=ul().createApp(...e),{mount:s}=r;return r.mount=e=>{const t=ml(e);if(!t)return;const n=r._component;R(n)||n.render||n.template||(n.template=t.innerHTML),t.innerHTML="";const o=s(t,!1,hl(t));return t instanceof Element&&(t.removeAttribute("v-cloak"),t.setAttribute("data-v-app","")),o},r},e.createBlock=ls,e.createCommentVNode=function(e="",t=!1){return t?(ns(),ls(te,null,e)):ne(te,null,e)},e.createElementBlock=function(e,t,n,o,r,s){return is(fs(e,t,n,o,r,s,!0))},e.createElementVNode=fs,e.createHydrationRenderer=Ur,e.createPropsRestProxy=function(t,n){const o={};for(const e in t)n.includes(e)||Object.defineProperty(o,e,{enumerable:!0,get:()=>t[e]});return o},e.createRenderer=Fr,e.createSSRApp=(...e)=>{const t=pl().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=ml(e);if(t)return n(t,!0,hl(t))},t},e.createSlots=function(t,o){for(let e=0;e<o.length;e++){const n=o[e];if(E(n))for(let e=0;e<n.length;e++)t[n[e].name]=n[e].fn;else n&&(t[n.name]=n.key?(...e)=>{const t=n.fn(...e);return t&&(t.key=n.key),t}:n.fn)}return t},e.createStaticVNode=function(e,t){const n=ne(Yr,null,e);return n.staticCount=t,n},e.createTextVNode=vs,e.createVNode=ne,e.customRef=ln,e.defineAsyncComponent=function(e){R(e)&&(e={loader:e});const{loader:n,loadingComponent:s,errorComponent:i,delay:l=200,timeout:a,suspensible:c=!0,onError:o}=e;let u,p=null,r=0;const d=()=>{let t;return p||(t=p=n().catch(n=>{if(n=n instanceof Error?n:new Error(String(n)),o)return new Promise((e,t)=>{o(n,()=>e((r++,p=null,d())),()=>t(n),r+1)});throw n}).then(e=>t!==p&&p?p:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),u=e,e)))};return Co({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const t=_;if(u)return()=>To(u,t);const n=e=>{p=null,fn(e,t,13,!i)};if(c&&t.suspense)return d().then(e=>()=>To(e,t)).catch(e=>(n(e),()=>i?ne(i,{error:e}):null));const e=Yt(!1),o=Yt(),r=Yt(!!l);return l&&setTimeout(()=>{r.value=!1},l),null!=a&&setTimeout(()=>{if(!e.value&&!o.value){const e=new Error(`Async component timed out after ${a}ms.`);n(e),o.value=e}},a),d().then(()=>{e.value=!0,t.parent&&Ao(t.parent.vnode)&&(t.parent.effect.dirty=!0,Cn(t.parent.update))}).catch(e=>{n(e),o.value=e}),()=>e.value&&u?To(u,t):o.value&&i?ne(i,{error:o.value}):s&&!r.value?ne(s):void 0}})},e.defineComponent=Co,e.defineCustomElement=Ii,e.defineEmits=function(){return null},e.defineExpose=function(e){},e.defineModel=function(){},e.defineOptions=function(e){},e.defineProps=function(){return null},e.defineSSRCustomElement=e=>Ii(e,fl),e.defineSlots=function(){return null},e.devtools=void 0,e.effect=function(e,t){e.effect instanceof $e&&(e=e.effect.fn);const n=new $e(e,G,()=>{n.dirty&&n.run()});t&&(N(n,t),t.scope&&Ie(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o},e.effectScope=function(e){return new Re(e)},e.getCurrentInstance=ws,e.getCurrentScope=Oe,e.getTransitionRawChildren=So,e.guardReactiveProps=hs,e.h=js,e.handleError=fn,e.hasInjectionContext=function(){return!!(_||c||mr)},e.hydrate=fl,e.initCustomFormatter=function(){},e.initDirectivesForSSR=vl,e.inject=gr,e.isMemoSame=Ds,e.isProxy=zt,e.isReactive=Ht,e.isReadonly=qt,e.isRef=O,e.isRuntimeOnly=()=>!Ps,e.isShallow=Wt,e.isVNode=as,e.markRaw=Kt,e.mergeDefaults=function(e,n){const o=er(e);for(const t in n){if(t.startsWith("__skip"))continue;let e=o[t];e?E(e)||R(e)?e=o[t]={type:e,default:n[t]}:e.default=n[t]:null===e&&(e=o[t]={default:n[t]}),e&&n[`__skip_${t}`]&&(e.skipFactory=!0)}return o},e.mergeModels=function(e,t){return e&&t?E(e)&&E(t)?e.concat(t):N({},er(e),er(t)):e||t},e.mergeProps=bs,e.nextTick=Sn,e.normalizeClass=ye,e.normalizeProps=function(e){if(!e)return null;let{class:t,style:n}=e;return t&&!T(t)&&(e.class=ye(t)),n&&(e.style=fe(n)),e},e.normalizeStyle=fe,e.onActivated=Eo,e.onBeforeMount=Fo,e.onBeforeUnmount=Do,e.onBeforeUpdate=Vo,e.onDeactivated=Po,e.onErrorCaptured=zo,e.onMounted=Uo,e.onRenderTracked=Wo,e.onRenderTriggered=qo,e.onScopeDispose=function(e){Ee&&Ee.cleanups.push(e)},e.onServerPrefetch=Ho,e.onUnmounted=Bo,e.onUpdated=jo,e.openBlock=ns,e.popScopeId=function(){$n=null},e.provide=vr,e.proxyRefs=rn,e.pushScopeId=function(e){$n=e},e.queuePostFlushCb=Tn,e.reactive=Vt,e.readonly=Dt,e.ref=Yt,e.registerRuntimeCompiler=$s,e.render=dl,e.renderList=function(n,o,r,e){let s;const i=r&&r[e];if(E(n)||T(n)){s=new Array(n.length);for(let e=0,t=n.length;e<t;e++)s[e]=o(n[e],e,void 0,i&&i[e])}else if("number"==typeof n){s=new Array(n);for(let e=0;e<n;e++)s[e]=o(e+1,e,void 0,i&&i[e])}else if(I(n))if(n[Symbol.iterator])s=Array.from(n,(e,t)=>o(e,t,void 0,i&&i[t]));else{const r=Object.keys(n);s=new Array(r.length);for(let t=0,e=r.length;t<e;t++){const e=r[t];s[t]=o(n[e],e,t,i&&i[t])}}else s=[];return r&&(r[e]=s),s},e.renderSlot=function(e,t,n={},o,r){if(c.isCE||c.parent&&wo(c.parent)&&c.parent.isCE)return"default"!==t&&(n.name=t),ne("slot",n,o&&o());let s=e[t];s&&s._c&&(s._d=!1),ns();const i=s&&Ko(s(n)),l=ls(ee,{key:n.key||i&&i.key||`_${t}`},i||(o?o():[]),i&&1===e._?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l},e.resolveComponent=function(e,t){return qn(Bn,e,!0,t)||e},e.resolveDirective=function(e){return qn("directives",e)},e.resolveDynamicComponent=function(e){return T(e)?qn(Bn,e,!1)||e:e||Hn},e.resolveFilter=null,e.resolveTransitionHooks=yo,e.setBlockTracking=ss,e.setDevtoolsHook=qs,e.setTransitionHooks=xo,e.shallowReactive=jt,e.shallowReadonly=function(e){return Bt(e,!0,dt,$t,Ut)},e.shallowRef=function(e){return en(e,!0)},e.ssrContextKey=eo,e.ssrUtils=null,e.stop=function(e){e.effect.stop()},e.toDisplayString=e=>T(e)?e:null==e?"":E(e)||I(e)&&(e.toString===S||!R(e.toString))?JSON.stringify(e,ke,2):String(e),e.toHandlerKey=q,e.toHandlers=function(t,n){const o={};for(const e in t)o[n&&/[A-Z]/.test(e)?`on:${e}`:q(e)]=t[e];return o},e.toRaw=X,e.toRef=function(e,t,n){return O(e)?e:R(e)?new cn(e):I(e)&&arguments.length>1?un(e,t,n):Yt(e)},e.toRefs=function(t){const n=E(t)?new Array(t.length):{};for(const e in t)n[e]=un(t,e);return n},e.toValue=function(e){return R(e)?e():nn(e)},e.transformVNodeArgs=function(e){},e.triggerRef=function(e){Zt(e,2)},e.unref=nn,e.useAttrs=function(){return Yo().attrs},e.useCssModule=function(e="$style"){return z},e.useCssVars=function(n){const o=ws();if(!o)return;const t=o.ut=(t=n(o.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${o.uid}"]`)).forEach(e=>yi(e,t))},r=()=>{const e=n(o.proxy);gi(o.subTree,e),t(e)};to(r),Uo(()=>{const e=new MutationObserver(r);e.observe(o.subTree.el.parentNode,{childList:!0}),Bo(()=>e.disconnect())})},e.useModel=function(t,r,s=z){const i=ws(),l=Q(r),a=se(r),n=ln((e,n)=>{let o;return no(()=>{const e=t[r];W(o,e)&&(o=e,n())}),{get:()=>(e(),s.get?s.get(o):o),set(e){const t=i.vnode.props;t&&(r in t||l in t||a in t)&&(`onUpdate:${r}`in t||`onUpdate:${l}`in t||`onUpdate:${a}`in t)||!W(e,o)||(o=e,n()),i.emit(`update:${r}`,s.set?s.set(e):e)}}}),o="modelValue"===r?"modelModifiers":`${r}Modifiers`;return n[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?t[o]||{}:n,done:!1}:{done:!0}}},n},e.useSSRContext=()=>{},e.useSlots=function(){return Yo().slots},e.useTransitionState=fo,e.vModelCheckbox=Ji,e.vModelDynamic=nl,e.vModelRadio=Xi,e.vModelSelect=Zi,e.vModelText=Gi,e.vShow=hi,e.version=Bs,e.warn=Hs,e.watch=ro,e.watchEffect=function(e,t){return so(e,null,t)},e.watchPostEffect=to,e.watchSyncEffect=no,e.withAsyncContext=function(e){const t=ws();let n=e();return Ns(),oe(n)&&(n=n.catch(e=>{throw ks(t),e})),[n,()=>ks(t)]},e.withCtx=Ln,e.withDefaults=function(e,t){return null},e.withDirectives=function(e,s){if(null===c)return e;const i=Fs(c)||c.proxy,l=e.dirs||(e.dirs=[]);for(let r=0;r<s.length;r++){let[e,t,n,o=z]=s[r];e&&(R(e)&&(e={mounted:e,updated:e}),e.deep&&ao(t),l.push({dir:e,instance:i,value:t,oldValue:void 0,arg:n,modifiers:o}))}return e},e.withKeys=(n,o)=>{const e=n._withKeys||(n._withKeys={}),t=o.join(".");return e[t]||(e[t]=e=>{if(!("key"in e))return;const t=se(e.key);return o.some(e=>e===t||il[e]===t)?n(e):void 0})},e.withMemo=function(e,t,n,o){const r=n[o];if(r&&Ds(r,e))return r;const s=t();return s.memo=e.slice(),n[o]=s},e.withModifiers=(e,o)=>{const t=e._withMods||(e._withMods={}),n=o.join(".");return t[n]||(t[n]=(t,...n)=>{for(let e=0;e<o.length;e++){const n=sl[o[e]];if(n&&n(t,o))return}return e(t,...n)})},e.withScopeId=e=>Ln,e}({});window.Vue=Vue;function build(options,exports){if(typeof exports=="undefined"){exports={}}var _options={resolveModulesParallelly:true,removeStyleWhenUnmount:false,mobile:function(){return false},httpGet:function(e){return fetch(e)},httpGetSync:function(e){if(useRelativePath){if(e.length&&e[0]=="/"){e=e.substr(1)}}var t=new XMLHttpRequest;t.open("get",e,false);t.send();return t.responseText},onNotFound:function(e,t){if(e.indexOf("/404")==0){throw"No not-found template found"}if(t){return Redirect("/404?"+_serializeOptionsToUrl(t))}else{return Redirect("/404")}},reuseContainerActiveView(e){return true},callCreatedWhenReuseContainerActiveView(e){return true},callMountedWhenReuseContainerActiveView(e){return true},callUnmountedWhenReuseContainerActiveView(e){return true},resetDataWhenReuseContainerActiveView(e){return true},generateTitle(e){return e.join(" - ")}};_combineObject(options,_options);var _cache={};var _css={};function _httpCached(e){return!!_cache[e]}function _httpGet(n){if(_cache[n]){return Promise.resolve(_cache[n])}var e=n;if(_options.version){if(n.indexOf("?")>0){e+="&"}else{e+="?"}e+="v="+_options.version}return _options.httpGet(e).then(function(e){if(e.status>300||e.status<200){return Promise.reject(e)}var t=e.text();_cache[n]=t;return Promise.resolve(t)}).catch(function(e){Promise.reject(e)})}function _httpExist(e){return _httpGet(e).then(function(){return Promise.resolve(true)}).catch(function(){return Promise.resolve(false)})}function _serializeOptionsToUrl(e){var t=Object.getOwnPropertyNames(e);var n="";for(var o=0;o<t.length;++o){n+=encodeURIComponent(t[o])+"="+encodeURIComponent(e[t[o]])+"&"}if(n[n.length-1]==="&"){n=n.substr(0,n.length-1)}return n}var _root=null;function root(){return _root}exports._rules=[];function useRoutes(e){var t=_options.httpGetSync(e);t=JSON.parse(t);if(!exports._rules){exports._rules={}}_combineObject(t,exports._rules)}function _combineObject(e,t){if(!e){return}var n=Object.getOwnPropertyNames(e);for(var o=0;o<n.length;++o){t[n[o]]=e[n[o]]}}function _getQueryString(){var e=window.location.search;if(window.location.hash.indexOf("?")>0){var t=window.location.hash.substr(window.location.hash.indexOf("?"));if(e){e+="&"+t.substr(1)}else{e=t}}return e}function _parseQueryString(e){var t=_getQueryString();if(!t){return}var n=t;if(n[0]=="?"){n=n.substr(1)}var o=n.split("&");for(var r=0;r<o.length;++r){var s=o[r].split("=");var i=decodeURIComponent(s[0]);var l=decodeURIComponent(s[1]);_fillObjectField(i,l,e)}}function _resolveModules(e,n){if(!e){return Promise.resolve()}if(_options.resolveModulesParallelly){var t=[];for(var o=0;o<e.length;++o){t.push(LoadScript(parseMacroPath(n,e[o])))}return Promise.all(t)}else{var r=Promise.resolve(null);var s=function(t){return function(e){return LoadScript(parseMacroPath(n,t))}};for(var o=0;o<e.length;++o){var i=e[o];r=r.then(s(i))}return r}}function _buildApp(url,params,mobile,parent){var componentObject={};return _httpGet(url+".js").then(function(js){var Page=function(e){componentObject=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url+".js");hookMountedAndUnmounted(componentObject,url+(mobile?".m":""));return _resolveModules(componentObject.modules||[],url).then(function(){return Promise.resolve(componentObject)})}).then(function(t){var e=null;if(mobile){e=_httpExist(url+".m.html").then(function(e){return _httpGet(url+(e?".m.html":".html"))})}else{e=_httpGet(url+".html")}return e.then(function(e){if(!t.template){t.template=e}_patchComponent(url,t);return Promise.resolve(t)})}).then(function(s){var o=s.setup;s.setup=function(e,t){if(typeof o=="function"){o(e,t)}var n=Vue.getCurrentInstance();n.$parent=parent||exports.root();n.$root=exports.root()||parent;n.$view=url;n.$app=exports;n.$data=s.data||function(){return{}};n.$created=s.created||function(){};n.$mounted=s.mounted||function(){};n.$unmounted=s.unmounted||function(){};_attachContainer(n)};var t=s.data||function(){return{}};s.data=function(){var e=t.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};return _resolveModules(s.modules,url).then(function(){var e=s.components||[];return _loadComponents(e,url).then(function(e){var t=Vue.createApp(s);for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}var r=t.mount||function(){};t.mount=function(e){t.proxy=r(e);return t.proxy};return Promise.resolve(t)})})})}function _replace(e,t,n){var o=e.indexOf(t);if(o<0){return e}var r=e.substr(0,o)+n+e.substr(o+t.length);return r}function sleep(t){return new Promise(function(e){setTimeout(function(){e()},t)})}function yield(){return sleep(0)}function _attachContainer(c){if(!c){console.warn("Invalid view model")}if(!c.$containers){c.$containers=[]}if(!c.$containers){c.$containers=[]}var n=c.$containers;c.$container=function(t){var e=n.filter(e=>e.selector==t)[0];if(!e){e={element:document.querySelector(t),selector:t,open:function(e,o){var t=_options.mobile();var n=null;if(c.proxy){n=c.proxy}if(c.$&&c.$.proxy){n=c.$.proxy}if(!this.active||this.active.$view!=e||!_options.reuseContainerActiveView()){this.close()}var r=this;o=generateParametersFromRoute(o);_parseQueryString(o);if(_options.reuseContainerActiveView()&&this.active?.$view==e){var s=function(t){var e=Promise.resolve();if(!t||!t.active){return e}if(_options.callUnmountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$unmounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}e=e.then(function(){var e=t.active.$data();if(_options.resetDataWhenReuseContainerActiveView()){_combineObject(e,t.active)}_combineObject(o,t.active);return Promise.resolve()});if(_options.callCreatedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$created();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(_options.callMountedWhenReuseContainerActiveView(t.active.$view)){e=e.then(function(){var e=t.active.$mounted();if(e instanceof Promise){return e}else{return Promise.resolve()}})}if(t.active.$containers&&t.active.$containers.length){for(var n=0;n<t.active.$containers.length;++n){s(t.active.$containers[n])}}return e.then(function(){t.active.$forceUpdate();return Promise.resolve(t.active)})};return Promise.resolve(s(this))}var i;var l=20;var a=function(){return new Promise(function(e,t){var n=i.mount(r.selector);if(n){r.active=n;return Promise.resolve(n)}if(--l>0){return sleep(50).then(function(){return a()})}else{return Promise.reject("Mount component to "+r.selector+" failed")}})};return _buildApp(e,o,t,n).then(function(e){i=e;return a()})},close:function(n=true){function o(e){if(e.active&&e.active.$){if(n){for(var t=0;t<e.active.$containers.length;++t){o(e.active.$containers[t])}}e.active.$.appContext.app.unmount();e.active=null}}o(this)},active:null};n.push(e)}return e}}function Root(r,s,t){r=r||{};if(typeof r.setup!="function"){r.setup=function(){}}var n=r.setup;r.setup=function(){n();var e=Vue.getCurrentInstance();e.$parent=parent||exports.root();e.$root=exports.root()||parent;e.$onUpdating=r.onUpdating;e.$app=exports;if(t){e.$layout=t;e.$view=t}_attachContainer(e)};return _resolveModules(r.modules,t).then(function(){return _loadComponents(r.components||[],t).then(function(e){var t=Vue.createApp(r||{});for(var n=0;n<e.length;++n){var o=e[n];t.component(o.name,o.options)}_root=t.mount(s);_root.$.proxy=_root})})}function mount(){function o(e){if(!e){return null}if(!e.getAttribute){return null}var t=e.getAttribute("target")||"_self";var n=e.getAttribute("static-link")||e.getAttribute("v-static")||e.getAttribute("pomelo-static");if(n==null&&t.toLowerCase()=="_self"&&e.tagName.toLowerCase()=="a"){return e.getAttribute("href")}return o(e.parentNode)}window.addEventListener("click",function(e){if(!e)return;var t=o(e.target);if(t){if(e.ctrlKey||e.metaKey){return}exports.redirect(t);e.preventDefault();return}});window.onpopstate=function(){UpdateLayout()};return UpdateLayout()}function UseConfig(e){_combineObject(e,_options)}function MapRoute(e,t){if(!exports._rules){exports._rules={}}exports._rules[e]=t}function ForceUpdate(e=exports.root()){if(!e)return;e.$forceUpdate();if(e.$containers){for(var t=0;t<e.$containers.length;++t){if(e.$containers[t].active){ForceUpdate(e.$containers[t].active)}}}}function MatchRoute(){function e(e,t,n){return e.replace(new RegExp(t,"g"),n)}function t(e){var t=[];if(!e){return t}var n=-1;var o=0;for(var r=0;r<e.length;++r){if(e[r]=="{"&&!o){n=r;o=0}else if(e[r]=="("){++o}else if(e[r]==")"){--o}else if(e[r]=="}"&&!o){t.push(e.substring(n,r+1))}}return t}function n(e){if(e[0]==="{"){return e.substr(1,e.length-2)}else{return e}}function o(e){return e.replace(/[-[\]{}()*+!<=:?.\/\\^$|#\s,]/g,"\\$&")}function r(e){var t=0;if(e){for(var n=0;n<e.length;++n){if(e[n]=="("){++t}if(e[n]=="?"&&n>0&&e[n-1]=="("){--t}}}return t}var s=Object.getOwnPropertyNames(exports._rules);for(var i=0;i<s.length;++i){var l=s[i];var a=l[0]=="#";var c=exports._rules[s[i]];var u=t(l);var p=[];var d=[];for(var f=0;f<u.length;++f){var h=u[f];var m=n(h);regex="([^/]+)";if(m[0]=="*"){regex="(.*)";m=m.substr(1)}if(m.indexOf("=")>0){var v=m.substr(m.indexOf("=")+1);regex=`(${o(v)})`;p.push(m.substr(0,m.indexOf("=")))}else if(h.indexOf(":")>0){regex=h.substr(h.indexOf(":")+1);regex=regex.substr(0,regex.length-1);p.push(m.substr(0,m.indexOf(":")))}else{p.push(m)}d.push(r(regex));l=_replace(l,h,regex)}var g=new RegExp("^"+l+"$");var u=g.exec(a?window.location.hash||"#":window.location.pathname);if(u){var y={view:c,params:[]};var _=u;u=[];var b=0;for(var f=1;f<_.length;++f){u.push(_[f]);for(var m=0;m<d[b]-1;++m){++f}++b}var x=u.map(function(e){return decodeURIComponent(e)});for(var f=0;f<p.length;++f){y.params.push({key:p[f],value:x[f]})}return y}}return null}function _fillObjectField(e,t,n){if(!n){return}var o=e.split(".");for(var r=0;r<o.length-1;++r){if(!n[o[r]]){n[o[r]]={}}n=n[o[r]]}n[o[o.length-1]]=t}function _applyLayoutHtml(i){return _httpGet(i+(_options.mobile()?".m.html":".html")).then(function(e){var t=e.indexOf("<html");var n=e.indexOf(">",t);e=e.substr(n+1);var o=e.lastIndexOf("</html>");e=e.substr(0,o);e=_patchTemplate(i,e);document.querySelector("html").innerHTML=e;var r=(new Date).getTime();var s="pomelo-"+r;document.querySelector("body").innerHTML='<div id="'+s+'">'+document.querySelector("body").innerHTML+"</div>";return Promise.resolve(s)})}function generateParametersFromRoute(e={}){var t=null;t=MatchRoute();if(t==null){try{_options.onNotFound(window.location.pathname+window.location.search);return}catch(e){throw"No available route found."}}for(var n=0;n<t.params.length;++n){var o=t.params[n];_fillObjectField(o.key,o.value,e)}return e}function parseMacroPath(e,t){if(!t){t=""}if(t.indexOf("@")<0){return t}var n="/";var o=e.lastIndexOf("/");if(o>=0){n=e.substr(0,o)}t=t.replaceAll("@(view)",e).replaceAll("@(js)",e+".js").replaceAll("@(html)",e+".html").replaceAll("@(mobileHtml)",e+".m.html").replaceAll("@(css)",e+".css").replaceAll("@(mobileCss)",e+".m.css").replaceAll("@(less)",e+".less").replaceAll("@(mobileLess)",e+".m.less").replaceAll("@(mobileSass)",e+".m.sass").replaceAll("@(mobileScss)",e+".m.scss").replaceAll("@(containingFolder)",n);if(t.length&&t[0]!="/"&&t.indexOf("http")==-1){t=getContainingFolder(e)+t}return t}function appendCssReference(e,t){if(typeof t=="boolean"){var n=e+".css";if(_options.version){n+="?v="+_options.version}internalAppendCssReference(e,n)}else if(typeof t=="string"){var n=parseMacroPath(e,t);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}else if(t instanceof Array){for(var o=0;o<t.length;++o){if(typeof t[o]!="string"){continue}var n=parseMacroPath(e,t[o]);n=resolveRelativePath(n,getContainingFolder(e));if(_options.version){if(n.indexOf(">")<0){n+="?v="+_options.version}else{n+="&v="+_options.version}}internalAppendCssReference(e,n)}}else{throw"style type not supported"}}function getContainingFolder(e){if(!e){console.warn("getContainingFolder: absolutePath is invalid")}var t=e.lastIndexOf("/");if(t<0){return"/"}return e.substr(0,t)+"/"}function internalAppendCssReference(e,t){if(document.querySelectorAll('link[data-style="'+e+'"][href="'+t+'"]').length){return}var n=document.createElement("link");n.rel="stylesheet";n.type="text/"+getStyleSheetType(t);n.setAttribute("data-style",e);n.href=t;try{document.querySelector("head").appendChild(n)}catch(e){}}function getStyleSheetType(e){var t=e.lastIndexOf("?");if(t>=0){e=e.substr(0,t)}var n=e.lastIndexOf(".");if(n<0){return null}return e.substr(n+1).toLowerCase()}function removeCssReference(e){if(!_options.removeStyleWhenUnmount){return}var t=document.querySelectorAll('link[data-style="'+e+'"]');if(t&&t.length){for(var n=0;n<t.length;++n){t[n].remove()}}}function hookMountedAndUnmounted(e,t){if(!e){return}if(!e.mounted){e.mounted=function(){}}if(!e.unmounted){e.unmounted=function(){}}if(!e.created){e.created=function(){}}if(e.style){var n=e.created;e.created=function(){if(!_css[t]){_css[t]=0}if(_css[t]==0){appendCssReference(t,e.style)}++_css[t];return n.call(this)};var o=e.mounted;e.mounted=function(){return o.call(this)};var r=e.unmounted;e.unmounted=function(){if(!_css[t]){return}--_css[t];if(_css[t]<=0){removeCssReference(t);delete _css[t]}return r.call(this)}}}function pomeUiPassTitle(e){if(e){this.pomeUiSubTitles=e}var t=JSON.parse(JSON.stringify(this.pomeUiSubTitles));if(this.title){t.push(this.title)}if(this.$parent&&this.$parent!=window&&this.$parent.pomeUiPassTitle){this.$parent.pomeUiPassTitle(t)}else{document.querySelector("title").innerHTML=_options.generateTitle(t)}}function UpdateLayout(){var mobile=_options.mobile();var params={};var route=null;var layout=_options.layout;route=MatchRoute();params=generateParametersFromRoute();var _def;var viewName=route.view+(_options.mobile()?".m":"");return _httpGet(route.view+".js").then(function(def){_def=def;var modules=null;var _opt;var Page=function(e){_opt=e;layout=e.layout||layout;modules=e.modules};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}def=eval(def+"\r\n//# sourceURL="+route.view+".js");hookMountedAndUnmounted(_opt,viewName);return _resolveModules(modules,viewName)}).then(function(){if(exports.root()&&exports.root().$layout){if(exports.root().$layout===layout){_parseQueryString(params);var fields=Object.getOwnPropertyNames(params);for(var i=0;i<fields.length;++i){var val=params[fields[i]];exports.root()[fields[i]]=val}exports.root().$containers[0].open(route.view,params);var promise=Promise.resolve();if(typeof exports.root().$.$onUpdating=="function"){var result=exports.root().$.$onUpdating.call(exports.root());if(result instanceof Promise){promise=result}}return promise}exports.root().$.appContext.app.unmount()}if(layout){var layoutName=layout+(mobile?".m":"");var _layoutHtml;return _httpGet(layoutName+".html").then(function(e){_layoutHtml=e;return _httpGet(layout+".js")}).then(function(js){var _opt=null;var Layout=function(e){_opt=e};var LayoutNext=function(e){if(!e.data){e.data=function(){return{}}}var o=e.setup||function(e,t){};e.setup=function(e,t){o(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_opt.template=_layoutHtml;_patchComponent(layout,_opt);_layoutHtml=_opt.template;var t=_layoutHtml.indexOf("<html");var n=_layoutHtml.indexOf(">",t);_layoutHtml=_layoutHtml.substr(n+1);var r=_layoutHtml.lastIndexOf("</html>");_layoutHtml=_layoutHtml.substr(0,r);document.querySelector("html").innerHTML=_layoutHtml;var s=e.data;e.data=function(){var e=s.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};var i=(new Date).getTime();var l="pomelo-"+i;var a="container-"+i;var c=document.querySelector("body").innerHTML.replace("<render-body></render-body>",'<div id="'+a+'"></div>');document.querySelector("body").innerHTML='<div id="'+l+'">'+c+"</div>";e.template=null;if(!e.mounted){e.mounted=function(){}}mountedFunc=e.mounted;e.mounted=function(){var e=this.$container("#"+a);e.open(route.view,params);return mountedFunc.call(this)};Root(e,"#"+l,layout)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(layout);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+layout+".js");hookMountedAndUnmounted(_opt,layoutName);return _resolveModules(_opt.modules,layout).then(function(){LayoutNext(_opt);return Promise.resolve()})})}else{var viewName=route.view+(_options.mobile()?".m":"");return _applyLayoutHtml(route.view).then(function(appId){var _opt=null;var components=null;var Page=function(e){_opt=e};var PageNext=function(e){modules=e.modules;components=e.components||[];Root(e,"#"+appId,route.view)};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(route.view);return PomeloModule.require(e,t,n)}}eval(_def+"\r\n//# sourceURL="+route.view+".js");if(!_opt){_opt={}}if(!_opt.data){_opt.data=function(){return{}}}var dataFunc=_opt.data;_opt.data=function(){var e=dataFunc.call(this,exports);_combineObject(params,e);_parseQueryString(e);return e};hookMountedAndUnmounted(_opt,viewName);_patchComponent(viewName,_opt);return _resolveModules(_opt.modules,viewName).then(function(){PageNext(_opt);return Promise.resolve()})})}}).then(function(){ForceUpdate()}).catch(function(e){console.error(e)})}function Redirect(e){var t=null;var n=document.querySelector("title");if(n){t=n.innerText}window.history.pushState(null,t,e);UpdateLayout()}function LoadScript(url){if(_httpCached(url)){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(_cache[url]+"\r\n//# sourceURL="+url)}return Promise.resolve()}return _httpGet(url).then(function(js){with(window){if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(url);return PomeloModule.require(e,t,n)}}eval(js+"\r\n//# sourceURL="+url)}_cache[url]=js;return Promise.resolve()}).catch(e=>{console.error("Load module "+url+" failed.");console.error(e)})}function resolveRelativePathPlain(e){if(e.indexOf("./")==-1&&e.indexOf("../")==-1){return e}var t=e.lastIndexOf("../");if(t==0){return e}e=e.replaceAll("/./","/");if(e.indexOf("./")==0){e=e.substr(2)}if(t){var n=e.substr(0,t);var o=e.substr(t);return resolveRelativePath(o,n)}}function resolveRelativePath(e,t){if(e.length&&e[0]=="/"||e.indexOf("http")==0){return resolveRelativePathPlain(e)}if(e.length&&e[0]!="."){return resolveRelativePathPlain(t+e)}if(e.indexOf("./")==0){return resolveRelativePath(e.substr(2),t)}if(e.indexOf("../")==0){e=e.substr(3);t=getContainingFolder(t.substr(0,t.length-1));return resolveRelativePath(e,t)}}function _loadComponents(components,viewName){var ret=[];if(!components.length){return Promise.resolve(ret)}var workingDirectory=getContainingFolder(viewName||"/");var viewName;var subComponentRefs=[];return Promise.all(components.map(function(c){c=resolveRelativePath(parseMacroPath(viewName,c),workingDirectory);viewName=c;var _html;var _name;var _opt;return _httpGet(c+".html").then(function(e){_html=e;return _httpGet(c+".js")}).then(function(comJs){var Component=function(e,t){_opt=t;_name=e};if(PomeloModule){var require=function(e,t,n){t=t||PomeloModule.getContainingFolder(c);return PomeloModule.require(e,t,n)}}eval(comJs+"\r\n//# sourceURL="+c+".js");subComponentRefs=_opt.components;hookMountedAndUnmounted(_opt,c);if(!_opt.template){_opt.template=_html}if(!_opt.setup){_opt.setup=function(){}}var originSetup=_opt.setup;_opt.setup=function(e,t){originSetup(e,t);var n=Vue.getCurrentInstance();n.$app=exports};_patchComponent(c,_opt);var originData=_opt.data||function(){return{}};_opt.data=function(){return originData.call(this,exports)};return _resolveModules(_opt.modules,c)}).then(function(){ret.push({name:_name,options:_opt});return Promise.resolve()})})).then(function(){return _loadComponents(subComponentRefs||[],viewName)}).then(function(e){for(var t=0;t<e.length;++t){var n=e[t];if(ret.filter(e=>e.name==n.name).length){continue}ret.push(n)}return Promise.resolve(ret)})}exports._addins=[];function _patchComponent(n,s){prepared=true;if(!s.data){s.data=function(){return{}}}if(!s.style){s.style=[]}if(!s.style instanceof Array){if(s.style instanceof String){s.style=[s.style]}else{s.style=["@(css)"]}}if(!s.components){s.components=[]}if(!s.created){s.created=function(){}}if(!s.mounted){s.mounted=function(){}}if(!s.unmounted){s.unmounted=function(){}}if(!s.destroyed){s.destroyed=function(){}}if(!s.watch){s.watch={}}if(!s.computed){s.computed={}}let o=s.data;s.data=function(e){var t=o.call(this,e);var n={pomeUiSubTitles:[]};_combineObject(n,t);return t};if(!s.methods){s.methods={}}s.methods.pomeUiPassTitle=pomeUiPassTitle;if(!s.watch){s.watch={}}if(!s.watch.title){s.watch.title=function(){}}let r=s.watch.title;s.watch.title=async function(){var e=r.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};for(let t=0;t<exports._addins.length;++t){let e=exports._addins[t].view;let r=exports._addins[t].opt;if(e!="*"&&n!=e){continue}if(r.data){let o=s.data;s.data=function(e){var t=o.call(this,e);var n={};try{n=r.data.call(this,e)}catch(e){console.error(e)}_combineObject(n,t);return t}}if(r.style){if(r.style instanceof Boolean){r.style=["@(css)"]}if(r.style instanceof String){r.style=[r.style]}r.style.forEach(function(t){if(!s.style.some(e=>e==t)){s.push(t)}})}if(r.components){r.components.forEach(function(t){if(!s.components.some(e=>e==t)){s.components.push(t)}})}if(r.layout){s.layout=r.layout}if(r.props){if(!s.props){s.props=[]}r.props.forEach(function(t){if(!s.props.some(e=>e==t)){s.props.push(t)}})}if(r.watch){var i=Object.getOwnPropertyNames(r.watch);i.forEach(function(n){var o=s.watch[n];s.watch[n]=function(e,t){o.invoke(this,e,t);try{r.watch[n].invoke(this,e,t)}catch(e){console.error(e)}}})}if(r.computed){var i=Object.getOwnPropertyNames(r.computed);i.forEach(function(e){s.computed[e]=r.computed[e]})}if(r.methods){var l=s.setup||function(e,t){};s.setup=function(e,t){l(e,t);var n={};var o=Object.getOwnPropertyNames(s.methods);o.forEach(function(e){n[e]=s.methods[e]});var r=Vue.getCurrentInstance();r.$baseMethods=n};var a=Object.getOwnPropertyNames(r.methods);a.forEach(function(e){s.methods[e]=r.methods[e]})}if(r.created){let n=s.created;s.created=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=r.created.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.mounted){let n=s.mounted;s.mounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=r.mounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.unmounted){let n=s.unmounted;s.unmounted=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e;try{e=r.unmounted.call(t)}catch(e){console.error(e)}if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.destroyed){let n=s.destroyed;s.destroyed=async function(){var e=n.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=r.destroyed.call(t);if(!e instanceof Promise){e=Promise.resolve()}return e})}}if(r.template){if(r.template instanceof Function){if(s.template){if(s.template.indexOf("<html")>=0){var c=(new DOMParser).parseFromString(s.template,"text/html");r.template(c);s.template=(new XMLSerializer).serializeToString(c)}else{s.template=`<pome-ui-template>${s.template}</pome-ui-template>`;var c=(new DOMParser).parseFromString(s.template,"text/html");r.template(c);s.template=(new XMLSerializer).serializeToString(c);s.template=s.template.substr(s.template.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);s.template=s.template.substr(0,s.template.indexOf("</pome-ui-template>"))}}}else{s.template=r.template}}}let u=s.created;s.created=async function(){var e=u.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle();return e})};let p=s.unmounted;s.unmounted=async function(){var e=p.call(this);if(!e||!e instanceof Promise){e=Promise.resolve()}var t=this;return e.then(function(){var e=Promise.resolve();t.pomeUiPassTitle([]);return e})}}function _patchTemplate(o,r){for(let n=0;n<exports._addins.length;++n){let e=exports._addins[n].view;let t=exports._addins[n].opt;if(e!="*"&&o!=e){continue}if(t.template){if(t.template instanceof Function){if(r.indexOf("<html")>=0){var s=(new DOMParser).parseFromString(r,"text/html");t.template(s);r=(new XMLSerializer).serializeToString(s)}else{r=`<pome-ui-template>${r}</pome-ui-template>`;var s=(new DOMParser).parseFromString(r,"text/html");t.template(s);r=(new XMLSerializer).serializeToString(s);r=r.substr(r.indexOf("<pome-ui-template>")+"<pome-ui-template>".length);r=r.substr(0,r.indexOf("</pome-ui-template>"))}}else{r=t.template}}}return r}function UseAddin(addinUrl){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};var js=_options.httpGetSync(addinUrl);eval(js)}function UseInlineAddin(script){var Addin=function(e,t){exports._addins.push({view:e,opt:t})};eval(script)}exports.root=root;exports.useConfig=UseConfig;exports.mapRoute=MapRoute;exports.matchRoute=MatchRoute;exports.updateLayout=UpdateLayout;exports.redirect=Redirect;exports.loadScript=LoadScript;exports.forceUpdate=ForceUpdate;exports.mount=mount;exports.useRoutes=useRoutes;exports.useAddin=UseAddin;exports.useInlineAddin=UseInlineAddin;return exports}exports.build=build;