From 8b104818ee4655b8897d0d316334b66b09fa31e7 Mon Sep 17 00:00:00 2001 From: FineArchs Date: Fri, 3 Nov 2023 12:48:52 +0000 Subject: [PATCH] deploy: 2b08f5e343c0c3e755ca8e173bfd1eb82602f1c1 --- .gitkeep | 0 .nojekyll | 0 assets/index.96a97432.js | 52 +++++++++++++++++++++++++++++++++++++++ assets/index.e0965cc5.css | 1 + index.html | 14 +++++++++++ 5 files changed, 67 insertions(+) create mode 100644 .gitkeep create mode 100644 .nojekyll create mode 100644 assets/index.96a97432.js create mode 100644 assets/index.e0965cc5.css create mode 100644 index.html diff --git a/.gitkeep b/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/assets/index.96a97432.js b/assets/index.96a97432.js new file mode 100644 index 0000000..29f98e6 --- /dev/null +++ b/assets/index.96a97432.js @@ -0,0 +1,52 @@ +var mh=Object.defineProperty;var wh=(t,r,e)=>r in t?mh(t,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[r]=e;var Qe=(t,r,e)=>(wh(t,typeof r!="symbol"?r+"":r,e),e);const xh=function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))n(c);new MutationObserver(c=>{for(const p of c)if(p.type==="childList")for(const x of p.addedNodes)x.tagName==="LINK"&&x.rel==="modulepreload"&&n(x)}).observe(document,{childList:!0,subtree:!0});function e(c){const p={};return c.integrity&&(p.integrity=c.integrity),c.referrerpolicy&&(p.referrerPolicy=c.referrerpolicy),c.crossorigin==="use-credentials"?p.credentials="include":c.crossorigin==="anonymous"?p.credentials="omit":p.credentials="same-origin",p}function n(c){if(c.ep)return;c.ep=!0;const p=e(c);fetch(c.href,p)}};xh();function zo(t,r){const e=Object.create(null),n=t.split(",");for(let c=0;c!!e[c.toLowerCase()]:c=>!!e[c]}const ot={},ln=[],Fr=()=>{},bh=()=>!1,$h=/^on[^a-z]/,Na=t=>$h.test(t),Bo=t=>t.startsWith("onUpdate:"),Ot=Object.assign,Ko=(t,r)=>{const e=t.indexOf(r);e>-1&&t.splice(e,1)},Ah=Object.prototype.hasOwnProperty,Ke=(t,r)=>Ah.call(t,r),Me=Array.isArray,un=t=>ja(t)==="[object Map]",rc=t=>ja(t)==="[object Set]",Ne=t=>typeof t=="function",$t=t=>typeof t=="string",Ra=t=>typeof t=="symbol",ft=t=>t!==null&&typeof t=="object",sc=t=>(ft(t)||Ne(t))&&Ne(t.then)&&Ne(t.catch),nc=Object.prototype.toString,ja=t=>nc.call(t),_h=t=>ja(t).slice(8,-1),ic=t=>ja(t)==="[object Object]",qo=t=>$t(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ga=zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Da=t=>{const r=Object.create(null);return e=>r[e]||(r[e]=t(e))},Ch=/-(\w)/g,vn=Da(t=>t.replace(Ch,(r,e)=>e?e.toUpperCase():"")),Ph=/\B([A-Z])/g,bn=Da(t=>t.replace(Ph,"-$1").toLowerCase()),ac=Da(t=>t.charAt(0).toUpperCase()+t.slice(1)),no=Da(t=>t?`on${ac(t)}`:""),Ss=(t,r)=>!Object.is(t,r),io=(t,r)=>{for(let e=0;e{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:e})},kh=t=>{const r=parseFloat(t);return isNaN(r)?t:r};let pf;const bo=()=>pf||(pf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Wo(t){if(Me(t)){const r={};for(let e=0;e{if(e){const n=e.split(Mh);n.length>1&&(r[n[0].trim()]=n[1].trim())}}),r}function qr(t){let r="";if($t(t))r=t;else if(Me(t))for(let e=0;e$t(t)?t:t==null?"":Me(t)||ft(t)&&(t.toString===nc||!Ne(t.toString))?JSON.stringify(t,uc,2):String(t),uc=(t,r)=>r&&r.__v_isRef?uc(t,r.value):un(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((e,[n,c])=>(e[`${n} =>`]=c,e),{})}:rc(r)?{[`Set(${r.size})`]:[...r.values()]}:ft(r)&&!Me(r)&&!ic(r)?String(r):r;let Pr;class Ih{constructor(r=!1){this.detached=r,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Pr,!r&&Pr&&(this.index=(Pr.scopes||(Pr.scopes=[])).push(this)-1)}get active(){return this._active}run(r){if(this._active){const e=Pr;try{return Pr=this,r()}finally{Pr=e}}}on(){Pr=this}off(){Pr=this.parent}stop(r){if(this._active){let e,n;for(e=0,n=this.effects.length;e{const r=new Set(t);return r.w=0,r.n=0,r},oc=t=>(t.w&os)>0,fc=t=>(t.n&os)>0,jh=({deps:t})=>{if(t.length)for(let r=0;r{const{deps:r}=t;if(r.length){let e=0;for(let n=0;n{(C==="length"||!Ra(C)&&C>=b)&&y.push($)})}else switch(e!==void 0&&y.push(x.get(e)),r){case"add":Me(t)?qo(e)&&y.push(x.get("length")):(y.push(x.get(Ps)),un(t)&&y.push(x.get(_o)));break;case"delete":Me(t)||(y.push(x.get(Ps)),un(t)&&y.push(x.get(_o)));break;case"set":un(t)&&y.push(x.get(Ps));break}if(y.length===1)y[0]&&Co(y[0]);else{const b=[];for(const $ of y)$&&b.push(...$);Co(Vo(b))}}function Co(t,r){const e=Me(t)?t:[...t];for(const n of e)n.computed&&df(n);for(const n of e)n.computed||df(n)}function df(t,r){(t!==Er||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Lh=zo("__proto__,__v_isRef,__isVue"),pc=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ra)),vf=Hh();function Hh(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...e){const n=Je(this);for(let p=0,x=this.length;p{t[r]=function(...e){$n();const n=Je(this)[r].apply(this,e);return An(),n}}),t}function Uh(t){const r=Je(this);return sr(r,"has",t),r.hasOwnProperty(t)}class gc{constructor(r=!1,e=!1){this._isReadonly=r,this._shallow=e}get(r,e,n){const c=this._isReadonly,p=this._shallow;if(e==="__v_isReactive")return!c;if(e==="__v_isReadonly")return c;if(e==="__v_isShallow")return p;if(e==="__v_raw"&&n===(c?p?ep:mc:p?yc:vc).get(r))return r;const x=Me(r);if(!c){if(x&&Ke(vf,e))return Reflect.get(vf,e,n);if(e==="hasOwnProperty")return Uh}const y=Reflect.get(r,e,n);return(Ra(e)?pc.has(e):Lh(e))||(c||sr(r,"get",e),p)?y:Ht(y)?x&&qo(e)?y:y.value:ft(y)?c?wc(y):Yo(y):y}}class dc extends gc{constructor(r=!1){super(!1,r)}set(r,e,n,c){let p=r[e];if(yn(p)&&Ht(p)&&!Ht(n))return!1;if(!this._shallow&&(!ka(n)&&!yn(n)&&(p=Je(p),n=Je(n)),!Me(r)&&Ht(p)&&!Ht(n)))return p.value=n,!0;const x=Me(r)&&qo(e)?Number(e)t,La=t=>Reflect.getPrototypeOf(t);function ia(t,r,e=!1,n=!1){t=t.__v_raw;const c=Je(t),p=Je(r);e||(Ss(r,p)&&sr(c,"get",r),sr(c,"get",p));const{has:x}=La(c),y=n?Zo:e?Go:ei;if(x.call(c,r))return y(t.get(r));if(x.call(c,p))return y(t.get(p));t!==c&&t.get(r)}function aa(t,r=!1){const e=this.__v_raw,n=Je(e),c=Je(t);return r||(Ss(t,c)&&sr(n,"has",t),sr(n,"has",c)),t===c?e.has(t):e.has(t)||e.has(c)}function la(t,r=!1){return t=t.__v_raw,!r&&sr(Je(t),"iterate",Ps),Reflect.get(t,"size",t)}function yf(t){t=Je(t);const r=Je(this);return La(r).has.call(r,t)||(r.add(t),Jr(r,"add",t,t)),this}function mf(t,r){r=Je(r);const e=Je(this),{has:n,get:c}=La(e);let p=n.call(e,t);p||(t=Je(t),p=n.call(e,t));const x=c.call(e,t);return e.set(t,r),p?Ss(r,x)&&Jr(e,"set",t,r):Jr(e,"add",t,r),this}function wf(t){const r=Je(this),{has:e,get:n}=La(r);let c=e.call(r,t);c||(t=Je(t),c=e.call(r,t)),n&&n.call(r,t);const p=r.delete(t);return c&&Jr(r,"delete",t,void 0),p}function xf(){const t=Je(this),r=t.size!==0,e=t.clear();return r&&Jr(t,"clear",void 0,void 0),e}function ua(t,r){return function(n,c){const p=this,x=p.__v_raw,y=Je(x),b=r?Zo:t?Go:ei;return!t&&sr(y,"iterate",Ps),x.forEach(($,C)=>n.call(c,b($),b(C),p))}}function oa(t,r,e){return function(...n){const c=this.__v_raw,p=Je(c),x=un(p),y=t==="entries"||t===Symbol.iterator&&x,b=t==="keys"&&x,$=c[t](...n),C=e?Zo:r?Go:ei;return!r&&sr(p,"iterate",b?_o:Ps),{next(){const{value:P,done:N}=$.next();return N?{value:P,done:N}:{value:y?[C(P[0]),C(P[1])]:C(P),done:N}},[Symbol.iterator](){return this}}}}function ts(t){return function(...r){return t==="delete"?!1:this}}function Wh(){const t={get(p){return ia(this,p)},get size(){return la(this)},has:aa,add:yf,set:mf,delete:wf,clear:xf,forEach:ua(!1,!1)},r={get(p){return ia(this,p,!1,!0)},get size(){return la(this)},has:aa,add:yf,set:mf,delete:wf,clear:xf,forEach:ua(!1,!0)},e={get(p){return ia(this,p,!0)},get size(){return la(this,!0)},has(p){return aa.call(this,p,!0)},add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear"),forEach:ua(!0,!1)},n={get(p){return ia(this,p,!0,!0)},get size(){return la(this,!0)},has(p){return aa.call(this,p,!0)},add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear"),forEach:ua(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(p=>{t[p]=oa(p,!1,!1),e[p]=oa(p,!0,!1),r[p]=oa(p,!1,!0),n[p]=oa(p,!0,!0)}),[t,e,r,n]}const[Vh,Jh,Zh,Xh]=Wh();function Xo(t,r){const e=r?t?Xh:Zh:t?Jh:Vh;return(n,c,p)=>c==="__v_isReactive"?!t:c==="__v_isReadonly"?t:c==="__v_raw"?n:Reflect.get(Ke(e,c)&&c in n?e:n,c,p)}const Yh={get:Xo(!1,!1)},Qh={get:Xo(!1,!0)},Gh={get:Xo(!0,!1)},vc=new WeakMap,yc=new WeakMap,mc=new WeakMap,ep=new WeakMap;function tp(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rp(t){return t.__v_skip||!Object.isExtensible(t)?0:tp(_h(t))}function Yo(t){return yn(t)?t:Qo(t,!1,Bh,Yh,vc)}function sp(t){return Qo(t,!1,qh,Qh,yc)}function wc(t){return Qo(t,!0,Kh,Gh,mc)}function Qo(t,r,e,n,c){if(!ft(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const p=c.get(t);if(p)return p;const x=rp(t);if(x===0)return t;const y=new Proxy(t,x===2?n:e);return c.set(t,y),y}function on(t){return yn(t)?on(t.__v_raw):!!(t&&t.__v_isReactive)}function yn(t){return!!(t&&t.__v_isReadonly)}function ka(t){return!!(t&&t.__v_isShallow)}function xc(t){return on(t)||yn(t)}function Je(t){const r=t&&t.__v_raw;return r?Je(r):t}function bc(t){return Pa(t,"__v_skip",!0),t}const ei=t=>ft(t)?Yo(t):t,Go=t=>ft(t)?wc(t):t;function $c(t){ls&&Er&&(t=Je(t),hc(t.dep||(t.dep=Vo())))}function Ac(t,r){t=Je(t);const e=t.dep;e&&Co(e)}function Ht(t){return!!(t&&t.__v_isRef===!0)}function Vr(t){return np(t,!1)}function np(t,r){return Ht(t)?t:new ip(t,r)}class ip{constructor(r,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?r:Je(r),this._value=e?r:ei(r)}get value(){return $c(this),this._value}set value(r){const e=this.__v_isShallow||ka(r)||yn(r);r=e?r:Je(r),Ss(r,this._rawValue)&&(this._rawValue=r,this._value=e?r:ei(r),Ac(this))}}function ef(t){return Ht(t)?t.value:t}const ap={get:(t,r,e)=>ef(Reflect.get(t,r,e)),set:(t,r,e,n)=>{const c=t[r];return Ht(c)&&!Ht(e)?(c.value=e,!0):Reflect.set(t,r,e,n)}};function _c(t){return on(t)?t:new Proxy(t,ap)}class lp{constructor(r,e,n,c){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Jo(r,()=>{this._dirty||(this._dirty=!0,Ac(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!c,this.__v_isReadonly=n}get value(){const r=Je(this);return $c(r),(r._dirty||!r._cacheable)&&(r._dirty=!1,r._value=r.effect.run()),r._value}set value(r){this._setter(r)}}function up(t,r,e=!1){let n,c;const p=Ne(t);return p?(n=t,c=Fr):(n=t.get,c=t.set),new lp(n,c,p||!c,e)}function us(t,r,e,n){let c;try{c=n?t(...n):t()}catch(p){Ha(p,r,e)}return c}function Sr(t,r,e,n){if(Ne(t)){const p=us(t,r,e,n);return p&&sc(p)&&p.catch(x=>{Ha(x,r,e)}),p}const c=[];for(let p=0;p>>1,c=Dt[n],p=ri(c);pHr&&Dt.splice(r,1)}function pp(t){Me(t)?fn.push(...t):(!Kr||!Kr.includes(t,t.allowRecurse?$s+1:$s))&&fn.push(t),Pc()}function bf(t,r=ti?Hr+1:0){for(;rri(e)-ri(n)),$s=0;$st.id==null?1/0:t.id,gp=(t,r)=>{const e=ri(t)-ri(r);if(e===0){if(t.pre&&!r.pre)return-1;if(r.pre&&!t.pre)return 1}return e};function Ec(t){Po=!1,ti=!0,Dt.sort(gp);const r=Fr;try{for(Hr=0;Hr$t(q)?q.trim():q)),P&&(c=e.map(kh))}let y,b=n[y=no(r)]||n[y=no(vn(r))];!b&&p&&(b=n[y=no(bn(r))]),b&&Sr(b,t,6,c);const $=n[y+"Once"];if($){if(!t.emitted)t.emitted={};else if(t.emitted[y])return;t.emitted[y]=!0,Sr($,t,6,c)}}function Mc(t,r,e=!1){const n=r.emitsCache,c=n.get(t);if(c!==void 0)return c;const p=t.emits;let x={},y=!1;if(!Ne(t)){const b=$=>{const C=Mc($,r,!0);C&&(y=!0,Ot(x,C))};!e&&r.mixins.length&&r.mixins.forEach(b),t.extends&&b(t.extends),t.mixins&&t.mixins.forEach(b)}return!p&&!y?(ft(t)&&n.set(t,null),null):(Me(p)?p.forEach(b=>x[b]=null):Ot(x,p),ft(t)&&n.set(t,x),x)}function Ua(t,r){return!t||!Na(r)?!1:(r=r.slice(2).replace(/Once$/,""),Ke(t,r[0].toLowerCase()+r.slice(1))||Ke(t,bn(r))||Ke(t,r))}let rr=null,za=null;function Ea(t){const r=rr;return rr=t,za=t&&t.type.__scopeId||null,r}function Fc(t){za=t}function Sc(){za=null}function Cr(t,r=rr,e){if(!r||t._n)return t;const n=(...c)=>{n._d&&Sf(-1);const p=Ea(r);let x;try{x=t(...c)}finally{Ea(p),n._d&&Sf(1)}return x};return n._n=!0,n._c=!0,n._d=!0,n}function ao(t){const{type:r,vnode:e,proxy:n,withProxy:c,props:p,propsOptions:[x],slots:y,attrs:b,emit:$,render:C,renderCache:P,data:N,setupState:q,ctx:le,inheritAttrs:se}=t;let oe,me;const O=Ea(t);try{if(e.shapeFlag&4){const S=c||n;oe=Lr(C.call(S,S,P,p,q,N,le)),me=b}else{const S=r;oe=Lr(S.length>1?S(p,{attrs:b,slots:y,emit:$}):S(p,null)),me=r.props?b:vp(b)}}catch(S){Qn.length=0,Ha(S,t,1),oe=yt(fs)}let M=oe;if(me&&se!==!1){const S=Object.keys(me),{shapeFlag:D}=M;S.length&&D&7&&(x&&S.some(Bo)&&(me=yp(me,x)),M=mn(M,me))}return e.dirs&&(M=mn(M),M.dirs=M.dirs?M.dirs.concat(e.dirs):e.dirs),e.transition&&(M.transition=e.transition),oe=M,Ea(O),oe}const vp=t=>{let r;for(const e in t)(e==="class"||e==="style"||Na(e))&&((r||(r={}))[e]=t[e]);return r},yp=(t,r)=>{const e={};for(const n in t)(!Bo(n)||!(n.slice(9)in r))&&(e[n]=t[n]);return e};function mp(t,r,e){const{props:n,children:c,component:p}=t,{props:x,children:y,patchFlag:b}=r,$=p.emitsOptions;if(r.dirs||r.transition)return!0;if(e&&b>=0){if(b&1024)return!0;if(b&16)return n?$f(n,x,$):!!x;if(b&8){const C=r.dynamicProps;for(let P=0;Pt.__isSuspense;function bp(t,r){r&&r.pendingBranch?Me(t)?r.effects.push(...t):r.effects.push(t):pp(t)}const fa={};function Zn(t,r,e){return Tc(t,r,e)}function Tc(t,r,{immediate:e,deep:n,flush:c,onTrack:p,onTrigger:x}=ot){var y;const b=Rh()===((y=Lt)==null?void 0:y.scope)?Lt:null;let $,C=!1,P=!1;if(Ht(t)?($=()=>t.value,C=ka(t)):on(t)?($=()=>t,n=!0):Me(t)?(P=!0,C=t.some(S=>on(S)||ka(S)),$=()=>t.map(S=>{if(Ht(S))return S.value;if(on(S))return sn(S);if(Ne(S))return us(S,b,2)})):Ne(t)?r?$=()=>us(t,b,2):$=()=>{if(!(b&&b.isUnmounted))return N&&N(),Sr(t,b,3,[q])}:$=Fr,r&&n){const S=$;$=()=>sn(S())}let N,q=S=>{N=O.onStop=()=>{us(S,b,4)}},le;if(ni)if(q=Fr,r?e&&Sr(r,b,3,[$(),P?[]:void 0,q]):$(),c==="sync"){const S=dg();le=S.__watcherHandles||(S.__watcherHandles=[])}else return Fr;let se=P?new Array(t.length).fill(fa):fa;const oe=()=>{if(!!O.active)if(r){const S=O.run();(n||C||(P?S.some((D,H)=>Ss(D,se[H])):Ss(S,se)))&&(N&&N(),Sr(r,b,3,[S,se===fa?void 0:P&&se[0]===fa?[]:se,q]),se=S)}else O.run()};oe.allowRecurse=!!r;let me;c==="sync"?me=oe:c==="post"?me=()=>tr(oe,b&&b.suspense):(oe.pre=!0,b&&(oe.id=b.uid),me=()=>rf(oe));const O=new Jo($,me);r?e?oe():se=O.run():c==="post"?tr(O.run.bind(O),b&&b.suspense):O.run();const M=()=>{O.stop(),b&&b.scope&&Ko(b.scope.effects,O)};return le&&le.push(M),M}function $p(t,r,e){const n=this.proxy,c=$t(t)?t.includes(".")?Oc(n,t):()=>n[t]:t.bind(n,n);let p;Ne(r)?p=r:(p=r.handler,e=r);const x=Lt;xn(this);const y=Tc(c,p.bind(n),e);return x?xn(x):ks(),y}function Oc(t,r){const e=r.split(".");return()=>{let n=t;for(let c=0;c{sn(e,r)});else if(ic(t))for(const e in t)sn(t[e],r);return t}function ws(t,r,e,n){const c=t.dirs,p=r&&r.dirs;for(let x=0;xOt({name:t.name},r,{setup:t}))():t}const Xn=t=>!!t.type.__asyncLoader,Ic=t=>t.type.__isKeepAlive;function Ap(t,r){Nc(t,"a",r)}function _p(t,r){Nc(t,"da",r)}function Nc(t,r,e=Lt){const n=t.__wdc||(t.__wdc=()=>{let c=e;for(;c;){if(c.isDeactivated)return;c=c.parent}return t()});if(Ka(r,n,e),e){let c=e.parent;for(;c&&c.parent;)Ic(c.parent.vnode)&&Cp(n,r,e,c),c=c.parent}}function Cp(t,r,e,n){const c=Ka(r,t,n,!0);Rc(()=>{Ko(n[r],c)},e)}function Ka(t,r,e=Lt,n=!1){if(e){const c=e[t]||(e[t]=[]),p=r.__weh||(r.__weh=(...x)=>{if(e.isUnmounted)return;$n(),xn(e);const y=Sr(r,e,t,x);return ks(),An(),y});return n?c.unshift(p):c.push(p),p}}const Zr=t=>(r,e=Lt)=>(!ni||t==="sp")&&Ka(t,(...n)=>r(...n),e),Pp=Zr("bm"),kp=Zr("m"),Ep=Zr("bu"),Mp=Zr("u"),Fp=Zr("bum"),Rc=Zr("um"),Sp=Zr("sp"),Tp=Zr("rtg"),Op=Zr("rtc");function Ip(t,r=Lt){Ka("ec",t,r)}const Np=Symbol.for("v-ndc");function sf(t,r,e,n){let c;const p=e&&e[n];if(Me(t)||$t(t)){c=new Array(t.length);for(let x=0,y=t.length;xr(x,y,void 0,p&&p[y]));else{const x=Object.keys(t);c=new Array(x.length);for(let y=0,b=x.length;yTa(r)?!(r.type===fs||r.type===Zt&&!jc(r.children)):!0)?t:null}const ko=t=>t?Jc(t)?of(t)||t.proxy:ko(t.parent):null,Yn=Ot(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>ko(t.parent),$root:t=>ko(t.root),$emit:t=>t.emit,$options:t=>nf(t),$forceUpdate:t=>t.f||(t.f=()=>rf(t.update)),$nextTick:t=>t.n||(t.n=fp.bind(t.proxy)),$watch:t=>$p.bind(t)}),uo=(t,r)=>t!==ot&&!t.__isScriptSetup&&Ke(t,r),Rp={get({_:t},r){const{ctx:e,setupState:n,data:c,props:p,accessCache:x,type:y,appContext:b}=t;let $;if(r[0]!=="$"){const q=x[r];if(q!==void 0)switch(q){case 1:return n[r];case 2:return c[r];case 4:return e[r];case 3:return p[r]}else{if(uo(n,r))return x[r]=1,n[r];if(c!==ot&&Ke(c,r))return x[r]=2,c[r];if(($=t.propsOptions[0])&&Ke($,r))return x[r]=3,p[r];if(e!==ot&&Ke(e,r))return x[r]=4,e[r];Eo&&(x[r]=0)}}const C=Yn[r];let P,N;if(C)return r==="$attrs"&&sr(t,"get",r),C(t);if((P=y.__cssModules)&&(P=P[r]))return P;if(e!==ot&&Ke(e,r))return x[r]=4,e[r];if(N=b.config.globalProperties,Ke(N,r))return N[r]},set({_:t},r,e){const{data:n,setupState:c,ctx:p}=t;return uo(c,r)?(c[r]=e,!0):n!==ot&&Ke(n,r)?(n[r]=e,!0):Ke(t.props,r)||r[0]==="$"&&r.slice(1)in t?!1:(p[r]=e,!0)},has({_:{data:t,setupState:r,accessCache:e,ctx:n,appContext:c,propsOptions:p}},x){let y;return!!e[x]||t!==ot&&Ke(t,x)||uo(r,x)||(y=p[0])&&Ke(y,x)||Ke(n,x)||Ke(Yn,x)||Ke(c.config.globalProperties,x)},defineProperty(t,r,e){return e.get!=null?t._.accessCache[r]=0:Ke(e,"value")&&this.set(t,r,e.value,null),Reflect.defineProperty(t,r,e)}};function Af(t){return Me(t)?t.reduce((r,e)=>(r[e]=null,r),{}):t}let Eo=!0;function jp(t){const r=nf(t),e=t.proxy,n=t.ctx;Eo=!1,r.beforeCreate&&_f(r.beforeCreate,t,"bc");const{data:c,computed:p,methods:x,watch:y,provide:b,inject:$,created:C,beforeMount:P,mounted:N,beforeUpdate:q,updated:le,activated:se,deactivated:oe,beforeDestroy:me,beforeUnmount:O,destroyed:M,unmounted:S,render:D,renderTracked:H,renderTriggered:K,errorCaptured:X,serverPrefetch:J,expose:ve,inheritAttrs:ye,components:Ee,directives:Be,filters:nt}=r;if($&&Dp($,n,null),x)for(const Ue in x){const we=x[Ue];Ne(we)&&(n[Ue]=we.bind(e))}if(c){const Ue=c.call(e,e);ft(Ue)&&(t.data=Yo(Ue))}if(Eo=!0,p)for(const Ue in p){const we=p[Ue],De=Ne(we)?we.bind(e,e):Ne(we.get)?we.get.bind(e,e):Fr,it=!Ne(we)&&Ne(we.set)?we.set.bind(e):Fr,ct=pg({get:De,set:it});Object.defineProperty(n,Ue,{enumerable:!0,configurable:!0,get:()=>ct.value,set:Ie=>ct.value=Ie})}if(y)for(const Ue in y)Dc(y[Ue],n,e,Ue);if(b){const Ue=Ne(b)?b.call(e):b;Reflect.ownKeys(Ue).forEach(we=>{Kp(we,Ue[we])})}C&&_f(C,t,"c");function Ve(Ue,we){Me(we)?we.forEach(De=>Ue(De.bind(e))):we&&Ue(we.bind(e))}if(Ve(Pp,P),Ve(kp,N),Ve(Ep,q),Ve(Mp,le),Ve(Ap,se),Ve(_p,oe),Ve(Ip,X),Ve(Op,H),Ve(Tp,K),Ve(Fp,O),Ve(Rc,S),Ve(Sp,J),Me(ve))if(ve.length){const Ue=t.exposed||(t.exposed={});ve.forEach(we=>{Object.defineProperty(Ue,we,{get:()=>e[we],set:De=>e[we]=De})})}else t.exposed||(t.exposed={});D&&t.render===Fr&&(t.render=D),ye!=null&&(t.inheritAttrs=ye),Ee&&(t.components=Ee),Be&&(t.directives=Be)}function Dp(t,r,e=Fr){Me(t)&&(t=Mo(t));for(const n in t){const c=t[n];let p;ft(c)?"default"in c?p=da(c.from||n,c.default,!0):p=da(c.from||n):p=da(c),Ht(p)?Object.defineProperty(r,n,{enumerable:!0,configurable:!0,get:()=>p.value,set:x=>p.value=x}):r[n]=p}}function _f(t,r,e){Sr(Me(t)?t.map(n=>n.bind(r.proxy)):t.bind(r.proxy),r,e)}function Dc(t,r,e,n){const c=n.includes(".")?Oc(e,n):()=>e[n];if($t(t)){const p=r[t];Ne(p)&&Zn(c,p)}else if(Ne(t))Zn(c,t.bind(e));else if(ft(t))if(Me(t))t.forEach(p=>Dc(p,r,e,n));else{const p=Ne(t.handler)?t.handler.bind(e):r[t.handler];Ne(p)&&Zn(c,p,t)}}function nf(t){const r=t.type,{mixins:e,extends:n}=r,{mixins:c,optionsCache:p,config:{optionMergeStrategies:x}}=t.appContext,y=p.get(r);let b;return y?b=y:!c.length&&!e&&!n?b=r:(b={},c.length&&c.forEach($=>Ma(b,$,x,!0)),Ma(b,r,x)),ft(r)&&p.set(r,b),b}function Ma(t,r,e,n=!1){const{mixins:c,extends:p}=r;p&&Ma(t,p,e,!0),c&&c.forEach(x=>Ma(t,x,e,!0));for(const x in r)if(!(n&&x==="expose")){const y=Lp[x]||e&&e[x];t[x]=y?y(t[x],r[x]):r[x]}return t}const Lp={data:Cf,props:Pf,emits:Pf,methods:Jn,computed:Jn,beforeCreate:Wt,created:Wt,beforeMount:Wt,mounted:Wt,beforeUpdate:Wt,updated:Wt,beforeDestroy:Wt,beforeUnmount:Wt,destroyed:Wt,unmounted:Wt,activated:Wt,deactivated:Wt,errorCaptured:Wt,serverPrefetch:Wt,components:Jn,directives:Jn,watch:Up,provide:Cf,inject:Hp};function Cf(t,r){return r?t?function(){return Ot(Ne(t)?t.call(this,this):t,Ne(r)?r.call(this,this):r)}:r:t}function Hp(t,r){return Jn(Mo(t),Mo(r))}function Mo(t){if(Me(t)){const r={};for(let e=0;e1)return e&&Ne(r)?r.call(n&&n.proxy):r}}function qp(t,r,e,n=!1){const c={},p={};Pa(p,Wa,1),t.propsDefaults=Object.create(null),Hc(t,r,c,p);for(const x in t.propsOptions[0])x in c||(c[x]=void 0);e?t.props=n?c:sp(c):t.type.props?t.props=c:t.props=p,t.attrs=p}function Wp(t,r,e,n){const{props:c,attrs:p,vnode:{patchFlag:x}}=t,y=Je(c),[b]=t.propsOptions;let $=!1;if((n||x>0)&&!(x&16)){if(x&8){const C=t.vnode.dynamicProps;for(let P=0;P{b=!0;const[N,q]=Uc(P,r,!0);Ot(x,N),q&&y.push(...q)};!e&&r.mixins.length&&r.mixins.forEach(C),t.extends&&C(t.extends),t.mixins&&t.mixins.forEach(C)}if(!p&&!b)return ft(t)&&n.set(t,ln),ln;if(Me(p))for(let C=0;C-1,q[1]=se<0||le-1||Ke(q,"default"))&&y.push(P)}}}const $=[x,y];return ft(t)&&n.set(t,$),$}function kf(t){return t[0]!=="$"}function Ef(t){const r=t&&t.toString().match(/^\s*(function|class) (\w+)/);return r?r[2]:t===null?"null":""}function Mf(t,r){return Ef(t)===Ef(r)}function Ff(t,r){return Me(r)?r.findIndex(e=>Mf(e,t)):Ne(r)&&Mf(r,t)?0:-1}const zc=t=>t[0]==="_"||t==="$stable",af=t=>Me(t)?t.map(Lr):[Lr(t)],Vp=(t,r,e)=>{if(r._n)return r;const n=Cr((...c)=>af(r(...c)),e);return n._c=!1,n},Bc=(t,r,e)=>{const n=t._ctx;for(const c in t){if(zc(c))continue;const p=t[c];if(Ne(p))r[c]=Vp(c,p,n);else if(p!=null){const x=af(p);r[c]=()=>x}}},Kc=(t,r)=>{const e=af(r);t.slots.default=()=>e},Jp=(t,r)=>{if(t.vnode.shapeFlag&32){const e=r._;e?(t.slots=Je(r),Pa(r,"_",e)):Bc(r,t.slots={})}else t.slots={},r&&Kc(t,r);Pa(t.slots,Wa,1)},Zp=(t,r,e)=>{const{vnode:n,slots:c}=t;let p=!0,x=ot;if(n.shapeFlag&32){const y=r._;y?e&&y===1?p=!1:(Ot(c,r),!e&&y===1&&delete c._):(p=!r.$stable,Bc(r,c)),x=r}else r&&(Kc(t,r),x={default:1});if(p)for(const y in c)!zc(y)&&x[y]==null&&delete c[y]};function So(t,r,e,n,c=!1){if(Me(t)){t.forEach((N,q)=>So(N,r&&(Me(r)?r[q]:r),e,n,c));return}if(Xn(n)&&!c)return;const p=n.shapeFlag&4?of(n.component)||n.component.proxy:n.el,x=c?null:p,{i:y,r:b}=t,$=r&&r.r,C=y.refs===ot?y.refs={}:y.refs,P=y.setupState;if($!=null&&$!==b&&($t($)?(C[$]=null,Ke(P,$)&&(P[$]=null)):Ht($)&&($.value=null)),Ne(b))us(b,y,12,[x,C]);else{const N=$t(b),q=Ht(b);if(N||q){const le=()=>{if(t.f){const se=N?Ke(P,b)?P[b]:C[b]:b.value;c?Me(se)&&Ko(se,p):Me(se)?se.includes(p)||se.push(p):N?(C[b]=[p],Ke(P,b)&&(P[b]=C[b])):(b.value=[p],t.k&&(C[t.k]=b.value))}else N?(C[b]=x,Ke(P,b)&&(P[b]=x)):q&&(b.value=x,t.k&&(C[t.k]=x))};x?(le.id=-1,tr(le,e)):le()}}}const tr=bp;function Xp(t){return Yp(t)}function Yp(t,r){const e=bo();e.__VUE__=!0;const{insert:n,remove:c,patchProp:p,createElement:x,createText:y,createComment:b,setText:$,setElementText:C,parentNode:P,nextSibling:N,setScopeId:q=Fr,insertStaticContent:le}=t,se=(T,L,V,Q=null,G=null,ne=null,ge=!1,ae=null,fe=!!L.dynamicChildren)=>{if(T===L)return;T&&!qn(T,L)&&(Q=At(T),Ie(T,G,ne,!0),T=null),L.patchFlag===-2&&(fe=!1,L.dynamicChildren=null);const{type:te,ref:_e,shapeFlag:xe}=L;switch(te){case qa:oe(T,L,V,Q);break;case fs:me(T,L,V,Q);break;case oo:T==null&&O(L,V,Q,ge);break;case Zt:Ee(T,L,V,Q,G,ne,ge,ae,fe);break;default:xe&1?D(T,L,V,Q,G,ne,ge,ae,fe):xe&6?Be(T,L,V,Q,G,ne,ge,ae,fe):(xe&64||xe&128)&&te.process(T,L,V,Q,G,ne,ge,ae,fe,It)}_e!=null&&G&&So(_e,T&&T.ref,ne,L||T,!L)},oe=(T,L,V,Q)=>{if(T==null)n(L.el=y(L.children),V,Q);else{const G=L.el=T.el;L.children!==T.children&&$(G,L.children)}},me=(T,L,V,Q)=>{T==null?n(L.el=b(L.children||""),V,Q):L.el=T.el},O=(T,L,V,Q)=>{[T.el,T.anchor]=le(T.children,L,V,Q,T.el,T.anchor)},M=({el:T,anchor:L},V,Q)=>{let G;for(;T&&T!==L;)G=N(T),n(T,V,Q),T=G;n(L,V,Q)},S=({el:T,anchor:L})=>{let V;for(;T&&T!==L;)V=N(T),c(T),T=V;c(L)},D=(T,L,V,Q,G,ne,ge,ae,fe)=>{ge=ge||L.type==="svg",T==null?H(L,V,Q,G,ne,ge,ae,fe):J(T,L,G,ne,ge,ae,fe)},H=(T,L,V,Q,G,ne,ge,ae)=>{let fe,te;const{type:_e,props:xe,shapeFlag:Ce,transition:Pe,dirs:Te}=T;if(fe=T.el=x(T.type,ne,xe&&xe.is,xe),Ce&8?C(fe,T.children):Ce&16&&X(T.children,fe,null,Q,G,ne&&_e!=="foreignObject",ge,ae),Te&&ws(T,null,Q,"created"),K(fe,T,T.scopeId,ge,Q),xe){for(const Le in xe)Le!=="value"&&!ga(Le)&&p(fe,Le,null,xe[Le],ne,T.children,Q,G,st);"value"in xe&&p(fe,"value",null,xe.value),(te=xe.onVnodeBeforeMount)&&Dr(te,Q,T)}Te&&ws(T,null,Q,"beforeMount");const ze=Qp(G,Pe);ze&&Pe.beforeEnter(fe),n(fe,L,V),((te=xe&&xe.onVnodeMounted)||ze||Te)&&tr(()=>{te&&Dr(te,Q,T),ze&&Pe.enter(fe),Te&&ws(T,null,Q,"mounted")},G)},K=(T,L,V,Q,G)=>{if(V&&q(T,V),Q)for(let ne=0;ne{for(let te=fe;te{const ae=L.el=T.el;let{patchFlag:fe,dynamicChildren:te,dirs:_e}=L;fe|=T.patchFlag&16;const xe=T.props||ot,Ce=L.props||ot;let Pe;V&&xs(V,!1),(Pe=Ce.onVnodeBeforeUpdate)&&Dr(Pe,V,L,T),_e&&ws(L,T,V,"beforeUpdate"),V&&xs(V,!0);const Te=G&&L.type!=="foreignObject";if(te?ve(T.dynamicChildren,te,ae,V,Q,Te,ne):ge||we(T,L,ae,null,V,Q,Te,ne,!1),fe>0){if(fe&16)ye(ae,L,xe,Ce,V,Q,G);else if(fe&2&&xe.class!==Ce.class&&p(ae,"class",null,Ce.class,G),fe&4&&p(ae,"style",xe.style,Ce.style,G),fe&8){const ze=L.dynamicProps;for(let Le=0;Le{Pe&&Dr(Pe,V,L,T),_e&&ws(L,T,V,"updated")},Q)},ve=(T,L,V,Q,G,ne,ge)=>{for(let ae=0;ae{if(V!==Q){if(V!==ot)for(const ae in V)!ga(ae)&&!(ae in Q)&&p(T,ae,V[ae],null,ge,L.children,G,ne,st);for(const ae in Q){if(ga(ae))continue;const fe=Q[ae],te=V[ae];fe!==te&&ae!=="value"&&p(T,ae,te,fe,ge,L.children,G,ne,st)}"value"in Q&&p(T,"value",V.value,Q.value)}},Ee=(T,L,V,Q,G,ne,ge,ae,fe)=>{const te=L.el=T?T.el:y(""),_e=L.anchor=T?T.anchor:y("");let{patchFlag:xe,dynamicChildren:Ce,slotScopeIds:Pe}=L;Pe&&(ae=ae?ae.concat(Pe):Pe),T==null?(n(te,V,Q),n(_e,V,Q),X(L.children,V,_e,G,ne,ge,ae,fe)):xe>0&&xe&64&&Ce&&T.dynamicChildren?(ve(T.dynamicChildren,Ce,V,G,ne,ge,ae),(L.key!=null||G&&L===G.subTree)&&qc(T,L,!0)):we(T,L,V,_e,G,ne,ge,ae,fe)},Be=(T,L,V,Q,G,ne,ge,ae,fe)=>{L.slotScopeIds=ae,T==null?L.shapeFlag&512?G.ctx.activate(L,V,Q,ge,fe):nt(L,V,Q,G,ne,ge,fe):Pt(T,L,fe)},nt=(T,L,V,Q,G,ne,ge)=>{const ae=T.component=lg(T,Q,G);if(Ic(T)&&(ae.ctx.renderer=It),ug(ae),ae.asyncDep){if(G&&G.registerDep(ae,Ve),!T.el){const fe=ae.subTree=yt(fs);me(null,fe,L,V)}return}Ve(ae,T,L,V,G,ne,ge)},Pt=(T,L,V)=>{const Q=L.component=T.component;if(mp(T,L,V))if(Q.asyncDep&&!Q.asyncResolved){Ue(Q,L,V);return}else Q.next=L,hp(Q.update),Q.update();else L.el=T.el,Q.vnode=L},Ve=(T,L,V,Q,G,ne,ge)=>{const ae=()=>{if(T.isMounted){let{next:_e,bu:xe,u:Ce,parent:Pe,vnode:Te}=T,ze=_e,Le;xs(T,!1),_e?(_e.el=Te.el,Ue(T,_e,ge)):_e=Te,xe&&io(xe),(Le=_e.props&&_e.props.onVnodeBeforeUpdate)&&Dr(Le,Pe,_e,Te),xs(T,!0);const Ye=ao(T),xt=T.subTree;T.subTree=Ye,se(xt,Ye,P(xt.el),At(xt),T,G,ne),_e.el=Ye.el,ze===null&&wp(T,Ye.el),Ce&&tr(Ce,G),(Le=_e.props&&_e.props.onVnodeUpdated)&&tr(()=>Dr(Le,Pe,_e,Te),G)}else{let _e;const{el:xe,props:Ce}=L,{bm:Pe,m:Te,parent:ze}=T,Le=Xn(L);if(xs(T,!1),Pe&&io(Pe),!Le&&(_e=Ce&&Ce.onVnodeBeforeMount)&&Dr(_e,ze,L),xs(T,!0),xe&>){const Ye=()=>{T.subTree=ao(T),gt(xe,T.subTree,T,G,null)};Le?L.type.__asyncLoader().then(()=>!T.isUnmounted&&Ye()):Ye()}else{const Ye=T.subTree=ao(T);se(null,Ye,V,Q,T,G,ne),L.el=Ye.el}if(Te&&tr(Te,G),!Le&&(_e=Ce&&Ce.onVnodeMounted)){const Ye=L;tr(()=>Dr(_e,ze,Ye),G)}(L.shapeFlag&256||ze&&Xn(ze.vnode)&&ze.vnode.shapeFlag&256)&&T.a&&tr(T.a,G),T.isMounted=!0,L=V=Q=null}},fe=T.effect=new Jo(ae,()=>rf(te),T.scope),te=T.update=()=>fe.run();te.id=T.uid,xs(T,!0),te()},Ue=(T,L,V)=>{L.component=T;const Q=T.vnode.props;T.vnode=L,T.next=null,Wp(T,L.props,Q,V),Zp(T,L.children,V),$n(),bf(),An()},we=(T,L,V,Q,G,ne,ge,ae,fe=!1)=>{const te=T&&T.children,_e=T?T.shapeFlag:0,xe=L.children,{patchFlag:Ce,shapeFlag:Pe}=L;if(Ce>0){if(Ce&128){it(te,xe,V,Q,G,ne,ge,ae,fe);return}else if(Ce&256){De(te,xe,V,Q,G,ne,ge,ae,fe);return}}Pe&8?(_e&16&&st(te,G,ne),xe!==te&&C(V,xe)):_e&16?Pe&16?it(te,xe,V,Q,G,ne,ge,ae,fe):st(te,G,ne,!0):(_e&8&&C(V,""),Pe&16&&X(xe,V,Q,G,ne,ge,ae,fe))},De=(T,L,V,Q,G,ne,ge,ae,fe)=>{T=T||ln,L=L||ln;const te=T.length,_e=L.length,xe=Math.min(te,_e);let Ce;for(Ce=0;Ce_e?st(T,G,ne,!0,!1,xe):X(L,V,Q,G,ne,ge,ae,fe,xe)},it=(T,L,V,Q,G,ne,ge,ae,fe)=>{let te=0;const _e=L.length;let xe=T.length-1,Ce=_e-1;for(;te<=xe&&te<=Ce;){const Pe=T[te],Te=L[te]=fe?ns(L[te]):Lr(L[te]);if(qn(Pe,Te))se(Pe,Te,V,null,G,ne,ge,ae,fe);else break;te++}for(;te<=xe&&te<=Ce;){const Pe=T[xe],Te=L[Ce]=fe?ns(L[Ce]):Lr(L[Ce]);if(qn(Pe,Te))se(Pe,Te,V,null,G,ne,ge,ae,fe);else break;xe--,Ce--}if(te>xe){if(te<=Ce){const Pe=Ce+1,Te=Pe<_e?L[Pe].el:Q;for(;te<=Ce;)se(null,L[te]=fe?ns(L[te]):Lr(L[te]),V,Te,G,ne,ge,ae,fe),te++}}else if(te>Ce)for(;te<=xe;)Ie(T[te],G,ne,!0),te++;else{const Pe=te,Te=te,ze=new Map;for(te=Te;te<=Ce;te++){const dt=L[te]=fe?ns(L[te]):Lr(L[te]);dt.key!=null&&ze.set(dt.key,te)}let Le,Ye=0;const xt=Ce-Te+1;let bt=!1,Qt=0;const zr=new Array(xt);for(te=0;te=xt){Ie(dt,G,ne,!0);continue}let at;if(dt.key!=null)at=ze.get(dt.key);else for(Le=Te;Le<=Ce;Le++)if(zr[Le-Te]===0&&qn(dt,L[Le])){at=Le;break}at===void 0?Ie(dt,G,ne,!0):(zr[at-Te]=te+1,at>=Qt?Qt=at:bt=!0,se(dt,L[at],V,null,G,ne,ge,ae,fe),Ye++)}const Br=bt?Gp(zr):ln;for(Le=Br.length-1,te=xt-1;te>=0;te--){const dt=Te+te,at=L[dt],Bt=dt+1<_e?L[dt+1].el:Q;zr[te]===0?se(null,at,V,Bt,G,ne,ge,ae,fe):bt&&(Le<0||te!==Br[Le]?ct(at,V,Bt,2):Le--)}}},ct=(T,L,V,Q,G=null)=>{const{el:ne,type:ge,transition:ae,children:fe,shapeFlag:te}=T;if(te&6){ct(T.component.subTree,L,V,Q);return}if(te&128){T.suspense.move(L,V,Q);return}if(te&64){ge.move(T,L,V,It);return}if(ge===Zt){n(ne,L,V);for(let xe=0;xeae.enter(ne),G);else{const{leave:xe,delayLeave:Ce,afterLeave:Pe}=ae,Te=()=>n(ne,L,V),ze=()=>{xe(ne,()=>{Te(),Pe&&Pe()})};Ce?Ce(ne,Te,ze):ze()}else n(ne,L,V)},Ie=(T,L,V,Q=!1,G=!1)=>{const{type:ne,props:ge,ref:ae,children:fe,dynamicChildren:te,shapeFlag:_e,patchFlag:xe,dirs:Ce}=T;if(ae!=null&&So(ae,null,V,T,!0),_e&256){L.ctx.deactivate(T);return}const Pe=_e&1&&Ce,Te=!Xn(T);let ze;if(Te&&(ze=ge&&ge.onVnodeBeforeUnmount)&&Dr(ze,L,T),_e&6)kt(T.component,V,Q);else{if(_e&128){T.suspense.unmount(V,Q);return}Pe&&ws(T,null,L,"beforeUnmount"),_e&64?T.type.remove(T,L,V,G,It,Q):te&&(ne!==Zt||xe>0&&xe&64)?st(te,L,V,!1,!0):(ne===Zt&&xe&384||!G&&_e&16)&&st(fe,L,V),Q&&dr(T)}(Te&&(ze=ge&&ge.onVnodeUnmounted)||Pe)&&tr(()=>{ze&&Dr(ze,L,T),Pe&&ws(T,null,L,"unmounted")},V)},dr=T=>{const{type:L,el:V,anchor:Q,transition:G}=T;if(L===Zt){ht(V,Q);return}if(L===oo){S(T);return}const ne=()=>{c(V),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(T.shapeFlag&1&&G&&!G.persisted){const{leave:ge,delayLeave:ae}=G,fe=()=>ge(V,ne);ae?ae(T.el,ne,fe):fe()}else ne()},ht=(T,L)=>{let V;for(;T!==L;)V=N(T),c(T),T=V;c(L)},kt=(T,L,V)=>{const{bum:Q,scope:G,update:ne,subTree:ge,um:ae}=T;Q&&io(Q),G.stop(),ne&&(ne.active=!1,Ie(ge,T,L,V)),ae&&tr(ae,L),tr(()=>{T.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},st=(T,L,V,Q=!1,G=!1,ne=0)=>{for(let ge=ne;geT.shapeFlag&6?At(T.component.subTree):T.shapeFlag&128?T.suspense.next():N(T.anchor||T.el),Yt=(T,L,V)=>{T==null?L._vnode&&Ie(L._vnode,null,null,!0):se(L._vnode||null,T,L,null,null,null,V),bf(),kc(),L._vnode=T},It={p:se,um:Ie,m:ct,r:dr,mt:nt,mc:X,pc:we,pbc:ve,n:At,o:t};let zt,gt;return r&&([zt,gt]=r(It)),{render:Yt,hydrate:zt,createApp:Bp(Yt,zt)}}function xs({effect:t,update:r},e){t.allowRecurse=r.allowRecurse=e}function Qp(t,r){return(!t||t&&!t.pendingBranch)&&r&&!r.persisted}function qc(t,r,e=!1){const n=t.children,c=r.children;if(Me(n)&&Me(c))for(let p=0;p>1,t[e[y]]<$?p=y+1:x=y;$0&&(r[n]=e[p-1]),e[p]=n)}}for(p=e.length,x=e[p-1];p-- >0;)e[p]=x,x=r[x];return e}const eg=t=>t.__isTeleport,Zt=Symbol.for("v-fgt"),qa=Symbol.for("v-txt"),fs=Symbol.for("v-cmt"),oo=Symbol.for("v-stc"),Qn=[];let Mr=null;function Tt(t=!1){Qn.push(Mr=t?null:[])}function tg(){Qn.pop(),Mr=Qn[Qn.length-1]||null}let si=1;function Sf(t){si+=t}function Wc(t){return t.dynamicChildren=si>0?Mr||ln:null,tg(),si>0&&Mr&&Mr.push(t),t}function hr(t,r,e,n,c,p){return Wc(je(t,r,e,n,c,p,!0))}function Sa(t,r,e,n,c){return Wc(yt(t,r,e,n,c,!0))}function Ta(t){return t?t.__v_isVNode===!0:!1}function qn(t,r){return t.type===r.type&&t.key===r.key}const Wa="__vInternal",Vc=({key:t})=>t!=null?t:null,va=({ref:t,ref_key:r,ref_for:e})=>(typeof t=="number"&&(t=""+t),t!=null?$t(t)||Ht(t)||Ne(t)?{i:rr,r:t,k:r,f:!!e}:t:null);function je(t,r=null,e=null,n=0,c=null,p=t===Zt?0:1,x=!1,y=!1){const b={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&Vc(r),ref:r&&va(r),scopeId:za,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:p,patchFlag:n,dynamicProps:c,dynamicChildren:null,appContext:null,ctx:rr};return y?(lf(b,e),p&128&&t.normalize(b)):e&&(b.shapeFlag|=$t(e)?8:16),si>0&&!x&&Mr&&(b.patchFlag>0||p&6)&&b.patchFlag!==32&&Mr.push(b),b}const yt=rg;function rg(t,r=null,e=null,n=0,c=null,p=!1){if((!t||t===Np)&&(t=fs),Ta(t)){const y=mn(t,r,!0);return e&&lf(y,e),si>0&&!p&&Mr&&(y.shapeFlag&6?Mr[Mr.indexOf(t)]=y:Mr.push(y)),y.patchFlag|=-2,y}if(hg(t)&&(t=t.__vccOpts),r){r=sg(r);let{class:y,style:b}=r;y&&!$t(y)&&(r.class=qr(y)),ft(b)&&(xc(b)&&!Me(b)&&(b=Ot({},b)),r.style=Wo(b))}const x=$t(t)?1:xp(t)?128:eg(t)?64:ft(t)?4:Ne(t)?2:0;return je(t,r,e,n,c,x,p,!0)}function sg(t){return t?xc(t)||Wa in t?Ot({},t):t:null}function mn(t,r,e=!1){const{props:n,ref:c,patchFlag:p,children:x}=t,y=r?ng(n||{},r):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:y,key:y&&Vc(y),ref:r&&r.ref?e&&c?Me(c)?c.concat(va(r)):[c,va(r)]:va(r):c,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:x,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Zt?p===-1?16:p|16:p,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&mn(t.ssContent),ssFallback:t.ssFallback&&mn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function kr(t=" ",r=0){return yt(qa,null,t,r)}function wn(t="",r=!1){return r?(Tt(),Sa(fs,null,t)):yt(fs,null,t)}function Lr(t){return t==null||typeof t=="boolean"?yt(fs):Me(t)?yt(Zt,null,t.slice()):typeof t=="object"?ns(t):yt(qa,null,String(t))}function ns(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:mn(t)}function lf(t,r){let e=0;const{shapeFlag:n}=t;if(r==null)r=null;else if(Me(r))e=16;else if(typeof r=="object")if(n&65){const c=r.default;c&&(c._c&&(c._d=!1),lf(t,c()),c._c&&(c._d=!0));return}else{e=32;const c=r._;!c&&!(Wa in r)?r._ctx=rr:c===3&&rr&&(rr.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else Ne(r)?(r={default:r,_ctx:rr},e=32):(r=String(r),n&64?(e=16,r=[kr(r)]):e=8);t.children=r,t.shapeFlag|=e}function ng(...t){const r={};for(let e=0;eLt=t),uf=t=>{tn.length>1?tn.forEach(r=>r(t)):tn[0](t)};const xn=t=>{uf(t),t.scope.on()},ks=()=>{Lt&&Lt.scope.off(),uf(null)};function Jc(t){return t.vnode.shapeFlag&4}let ni=!1;function ug(t,r=!1){ni=r;const{props:e,children:n}=t.vnode,c=Jc(t);qp(t,e,c,r),Jp(t,n);const p=c?og(t,r):void 0;return ni=!1,p}function og(t,r){const e=t.type;t.accessCache=Object.create(null),t.proxy=bc(new Proxy(t.ctx,Rp));const{setup:n}=e;if(n){const c=t.setupContext=n.length>1?cg(t):null;xn(t),$n();const p=us(n,t,0,[t.props,c]);if(An(),ks(),sc(p)){if(p.then(ks,ks),r)return p.then(x=>{Of(t,x,r)}).catch(x=>{Ha(x,t,0)});t.asyncDep=p}else Of(t,p,r)}else Zc(t,r)}function Of(t,r,e){Ne(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:ft(r)&&(t.setupState=_c(r)),Zc(t,e)}let If;function Zc(t,r,e){const n=t.type;if(!t.render){if(!r&&If&&!n.render){const c=n.template||nf(t).template;if(c){const{isCustomElement:p,compilerOptions:x}=t.appContext.config,{delimiters:y,compilerOptions:b}=n,$=Ot(Ot({isCustomElement:p,delimiters:y},x),b);n.render=If(c,$)}}t.render=n.render||Fr}{xn(t),$n();try{jp(t)}finally{An(),ks()}}}function fg(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(r,e){return sr(t,"get","$attrs"),r[e]}}))}function cg(t){const r=e=>{t.exposed=e||{}};return{get attrs(){return fg(t)},slots:t.slots,emit:t.emit,expose:r}}function of(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(_c(bc(t.exposed)),{get(r,e){if(e in r)return r[e];if(e in Yn)return Yn[e](t)},has(r,e){return e in r||e in Yn}}))}function hg(t){return Ne(t)&&"__vccOpts"in t}const pg=(t,r)=>up(t,r,ni);function bs(t,r,e){const n=arguments.length;return n===2?ft(r)&&!Me(r)?Ta(r)?yt(t,null,[r]):yt(t,r):yt(t,null,r):(n>3?e=Array.prototype.slice.call(arguments,2):n===3&&Ta(e)&&(e=[e]),yt(t,r,e))}const gg=Symbol.for("v-scx"),dg=()=>da(gg),vg="3.3.7",yg="http://www.w3.org/2000/svg",As=typeof document!="undefined"?document:null,Nf=As&&As.createElement("template"),mg={insert:(t,r,e)=>{r.insertBefore(t,e||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,e,n)=>{const c=r?As.createElementNS(yg,t):As.createElement(t,e?{is:e}:void 0);return t==="select"&&n&&n.multiple!=null&&c.setAttribute("multiple",n.multiple),c},createText:t=>As.createTextNode(t),createComment:t=>As.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>As.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},insertStaticContent(t,r,e,n,c,p){const x=e?e.previousSibling:r.lastChild;if(c&&(c===p||c.nextSibling))for(;r.insertBefore(c.cloneNode(!0),e),!(c===p||!(c=c.nextSibling)););else{Nf.innerHTML=n?`${t}`:t;const y=Nf.content;if(n){const b=y.firstChild;for(;b.firstChild;)y.appendChild(b.firstChild);y.removeChild(b)}r.insertBefore(y,e)}return[x?x.nextSibling:r.firstChild,e?e.previousSibling:r.lastChild]}},wg=Symbol("_vtc");function xg(t,r,e){const n=t[wg];n&&(r=(r?[r,...n]:[...n]).join(" ")),r==null?t.removeAttribute("class"):e?t.setAttribute("class",r):t.className=r}const bg=Symbol("_vod");function $g(t,r,e){const n=t.style,c=$t(e);if(e&&!c){if(r&&!$t(r))for(const p in r)e[p]==null&&To(n,p,"");for(const p in e)To(n,p,e[p])}else{const p=n.display;c?r!==e&&(n.cssText=e):r&&t.removeAttribute("style"),bg in t&&(n.display=p)}}const Rf=/\s*!important$/;function To(t,r,e){if(Me(e))e.forEach(n=>To(t,r,n));else if(e==null&&(e=""),r.startsWith("--"))t.setProperty(r,e);else{const n=Ag(t,r);Rf.test(e)?t.setProperty(bn(n),e.replace(Rf,""),"important"):t[n]=e}}const jf=["Webkit","Moz","ms"],fo={};function Ag(t,r){const e=fo[r];if(e)return e;let n=vn(r);if(n!=="filter"&&n in t)return fo[r]=n;n=ac(n);for(let c=0;cco||(Fg.then(()=>co=0),co=Date.now());function Tg(t,r){const e=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=e.attached)return;Sr(Og(n,e.value),r,5,[n])};return e.value=t,e.attached=Sg(),e}function Og(t,r){if(Me(r)){const e=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{e.call(t),t._stopped=!0},r.map(n=>c=>!c._stopped&&n&&n(c))}else return r}const Uf=/^on[a-z]/,Ig=(t,r,e,n,c=!1,p,x,y,b)=>{r==="class"?xg(t,n,c):r==="style"?$g(t,e,n):Na(r)?Bo(r)||Eg(t,r,e,n,x):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Ng(t,r,n,c))?Cg(t,r,n,p,x,y,b):(r==="true-value"?t._trueValue=n:r==="false-value"&&(t._falseValue=n),_g(t,r,n,c))};function Ng(t,r,e,n){return n?!!(r==="innerHTML"||r==="textContent"||r in t&&Uf.test(r)&&Ne(e)):r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||Uf.test(r)&&$t(e)?!1:r in t}const Rg=Ot({patchProp:Ig},mg);let zf;function jg(){return zf||(zf=Xp(Rg))}const Dg=(...t)=>{const r=jg().createApp(...t),{mount:e}=r;return r.mount=n=>{const c=Lg(n);if(!c)return;const p=r._component;!Ne(p)&&!p.render&&!p.template&&(p.template=c.innerHTML),c.innerHTML="";const x=e(c,!1,c instanceof SVGElement);return c instanceof Element&&(c.removeAttribute("v-cloak"),c.setAttribute("data-v-app","")),x},r};function Lg(t){return $t(t)?document.querySelector(t):t}function pt(t,r,e){let n=e.value;return{configurable:!0,get(){const c=n.bind(this);return Object.defineProperty(this,r,{configurable:!0,writable:!0,value:c}),c},set(c){n=c}}}class _n extends Error{constructor(e,n){super(e);Qe(this,"info");this.info=n,Error.captureStackTrace&&Error.captureStackTrace(this,_n)}}class Hg extends _n{constructor(r){super(`Internal Error. ${r}`,r)}}class Ts extends _n{constructor(r,e){super(r,e)}}class et extends _n{constructor(r,e){super(r,e)}}class Ug extends et{constructor(r,e){super(r,e)}}var cs=globalThis&&globalThis.__decorate||function(t,r,e,n){var c=arguments.length,p=c<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,e):n,x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(t,r,e,n);else for(var y=t.length-1;y>=0;y--)(x=t[y])&&(p=(c<3?x(p):c>3?x(r,e,p):x(r,e))||p);return c>3&&p&&Object.defineProperty(r,e,p),p};class Tr{constructor(r=[],e,n){Qe(this,"parent");Qe(this,"layerdStates");Qe(this,"name");Qe(this,"opts",{});this.layerdStates=r,this.parent=e,this.name=n||(r.length===1?"":"")}log(r,e){this.parent?this.parent.log(r,e):this.opts.log&&this.opts.log(r,e)}onUpdated(r,e){this.parent?this.parent.onUpdated(r,e):this.opts.onUpdated&&this.opts.onUpdated(r,e)}createChildScope(r=new Map,e){const n=[r,...this.layerdStates];return new Tr(n,this,e)}get(r){for(const e of this.layerdStates)if(e.has(r)){const n=e.get(r).value;return this.log("read",{var:r,val:n}),n}throw new et(`No such variable '${r}' in scope '${this.name}'`,{scope:this.layerdStates})}exists(r){for(const e of this.layerdStates)if(e.has(r))return this.log("exists",{var:r}),!0;return this.log("not exists",{var:r}),!1}getAll(){const r=this.layerdStates.reduce((e,n)=>[...e,...n],[]);return new Map(r)}add(r,e){this.log("add",{var:r,val:e});const n=this.layerdStates[0];if(n.has(r))throw new et(`Variable '${r}' is alerady exists in scope '${this.name}'`,{scope:this.layerdStates});n.set(r,e),this.parent==null&&this.onUpdated(r,e.value)}assign(r,e){let n=1;for(const c of this.layerdStates){if(c.has(r)){const p=c.get(r);if(!p.isMutable)throw new et(`Cannot assign to an immutable variable ${r}.`);p.value=e,this.log("assign",{var:r,val:e}),n===this.layerdStates.length&&this.onUpdated(r,e);return}n++}throw new et(`No such variable '${r}' in scope '${this.name}'`,{scope:this.layerdStates})}}cs([pt],Tr.prototype,"log",null);cs([pt],Tr.prototype,"onUpdated",null);cs([pt],Tr.prototype,"createChildScope",null);cs([pt],Tr.prototype,"get",null);cs([pt],Tr.prototype,"exists",null);cs([pt],Tr.prototype,"getAll",null);cs([pt],Tr.prototype,"add",null);cs([pt],Tr.prototype,"assign",null);let ca;const zg=new Uint8Array(16);function Bg(){if(!ca&&(ca=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ca))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ca(zg)}const Ft=[];for(let t=0;t<256;++t)Ft.push((t+256).toString(16).slice(1));function Kg(t,r=0){return Ft[t[r+0]]+Ft[t[r+1]]+Ft[t[r+2]]+Ft[t[r+3]]+"-"+Ft[t[r+4]]+Ft[t[r+5]]+"-"+Ft[t[r+6]]+Ft[t[r+7]]+"-"+Ft[t[r+8]]+Ft[t[r+9]]+"-"+Ft[t[r+10]]+Ft[t[r+11]]+Ft[t[r+12]]+Ft[t[r+13]]+Ft[t[r+14]]+Ft[t[r+15]]}const qg=typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var Bf={randomUUID:qg};function Wg(t,r,e){if(Bf.randomUUID&&!r&&!t)return Bf.randomUUID();t=t||{};const n=t.random||(t.rng||Bg)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,r){e=e||0;for(let c=0;c<16;++c)r[e+c]=n[c];return r}return Kg(n)}var pr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Xc={exports:{}};(function(t){(function(r,e,n){function c(b){var $=this,C=y();$.next=function(){var P=2091639*$.s0+$.c*23283064365386963e-26;return $.s0=$.s1,$.s1=$.s2,$.s2=P-($.c=P|0)},$.c=1,$.s0=C(" "),$.s1=C(" "),$.s2=C(" "),$.s0-=C(b),$.s0<0&&($.s0+=1),$.s1-=C(b),$.s1<0&&($.s1+=1),$.s2-=C(b),$.s2<0&&($.s2+=1),C=null}function p(b,$){return $.c=b.c,$.s0=b.s0,$.s1=b.s1,$.s2=b.s2,$}function x(b,$){var C=new c(b),P=$&&$.state,N=C.next;return N.int32=function(){return C.next()*4294967296|0},N.double=function(){return N()+(N()*2097152|0)*11102230246251565e-32},N.quick=N,P&&(typeof P=="object"&&p(P,C),N.state=function(){return p(C,{})}),N}function y(){var b=4022871197,$=function(C){C=String(C);for(var P=0;P>>0,N-=b,N*=b,b=N>>>0,N-=b,b+=N*4294967296}return(b>>>0)*23283064365386963e-26};return $}e&&e.exports?e.exports=x:n&&n.amd?n(function(){return x}):this.alea=x})(pr,t,!1)})(Xc);var Yc={exports:{}};(function(t){(function(r,e,n){function c(y){var b=this,$="";b.x=0,b.y=0,b.z=0,b.w=0,b.next=function(){var P=b.x^b.x<<11;return b.x=b.y,b.y=b.z,b.z=b.w,b.w^=b.w>>>19^P^P>>>8},y===(y|0)?b.x=y:$+=y;for(var C=0;C<$.length+64;C++)b.x^=$.charCodeAt(C)|0,b.next()}function p(y,b){return b.x=y.x,b.y=y.y,b.z=y.z,b.w=y.w,b}function x(y,b){var $=new c(y),C=b&&b.state,P=function(){return($.next()>>>0)/4294967296};return P.double=function(){do var N=$.next()>>>11,q=($.next()>>>0)/4294967296,le=(N+q)/(1<<21);while(le===0);return le},P.int32=$.next,P.quick=P,C&&(typeof C=="object"&&p(C,$),P.state=function(){return p($,{})}),P}e&&e.exports?e.exports=x:n&&n.amd?n(function(){return x}):this.xor128=x})(pr,t,!1)})(Yc);var Qc={exports:{}};(function(t){(function(r,e,n){function c(y){var b=this,$="";b.next=function(){var P=b.x^b.x>>>2;return b.x=b.y,b.y=b.z,b.z=b.w,b.w=b.v,(b.d=b.d+362437|0)+(b.v=b.v^b.v<<4^(P^P<<1))|0},b.x=0,b.y=0,b.z=0,b.w=0,b.v=0,y===(y|0)?b.x=y:$+=y;for(var C=0;C<$.length+64;C++)b.x^=$.charCodeAt(C)|0,C==$.length&&(b.d=b.x<<10^b.x>>>4),b.next()}function p(y,b){return b.x=y.x,b.y=y.y,b.z=y.z,b.w=y.w,b.v=y.v,b.d=y.d,b}function x(y,b){var $=new c(y),C=b&&b.state,P=function(){return($.next()>>>0)/4294967296};return P.double=function(){do var N=$.next()>>>11,q=($.next()>>>0)/4294967296,le=(N+q)/(1<<21);while(le===0);return le},P.int32=$.next,P.quick=P,C&&(typeof C=="object"&&p(C,$),P.state=function(){return p($,{})}),P}e&&e.exports?e.exports=x:n&&n.amd?n(function(){return x}):this.xorwow=x})(pr,t,!1)})(Qc);var Gc={exports:{}};(function(t){(function(r,e,n){function c(y){var b=this;b.next=function(){var C=b.x,P=b.i,N,q;return N=C[P],N^=N>>>7,q=N^N<<24,N=C[P+1&7],q^=N^N>>>10,N=C[P+3&7],q^=N^N>>>3,N=C[P+4&7],q^=N^N<<7,N=C[P+7&7],N=N^N<<13,q^=N^N<<9,C[P]=q,b.i=P+1&7,q};function $(C,P){var N,q=[];if(P===(P|0))q[0]=P;else for(P=""+P,N=0;N0;--N)C.next()}$(b,y)}function p(y,b){return b.x=y.x.slice(),b.i=y.i,b}function x(y,b){y==null&&(y=+new Date);var $=new c(y),C=b&&b.state,P=function(){return($.next()>>>0)/4294967296};return P.double=function(){do var N=$.next()>>>11,q=($.next()>>>0)/4294967296,le=(N+q)/(1<<21);while(le===0);return le},P.int32=$.next,P.quick=P,C&&(C.x&&p(C,$),P.state=function(){return p($,{})}),P}e&&e.exports?e.exports=x:n&&n.amd?n(function(){return x}):this.xorshift7=x})(pr,t,!1)})(Gc);var eh={exports:{}};(function(t){(function(r,e,n){function c(y){var b=this;b.next=function(){var C=b.w,P=b.X,N=b.i,q,le;return b.w=C=C+1640531527|0,le=P[N+34&127],q=P[N=N+1&127],le^=le<<13,q^=q<<17,le^=le>>>15,q^=q>>>12,le=P[N]=le^q,b.i=N,le+(C^C>>>16)|0};function $(C,P){var N,q,le,se,oe,me=[],O=128;for(P===(P|0)?(q=P,P=null):(P=P+"\0",q=0,O=Math.max(O,P.length)),le=0,se=-32;se>>15,q^=q<<4,q^=q>>>13,se>=0&&(oe=oe+1640531527|0,N=me[se&127]^=q+oe,le=N==0?le+1:0);for(le>=128&&(me[(P&&P.length||0)&127]=-1),le=127,se=4*128;se>0;--se)q=me[le+34&127],N=me[le=le+1&127],q^=q<<13,N^=N<<17,q^=q>>>15,N^=N>>>12,me[le]=q^N;C.w=oe,C.X=me,C.i=le}$(b,y)}function p(y,b){return b.i=y.i,b.w=y.w,b.X=y.X.slice(),b}function x(y,b){y==null&&(y=+new Date);var $=new c(y),C=b&&b.state,P=function(){return($.next()>>>0)/4294967296};return P.double=function(){do var N=$.next()>>>11,q=($.next()>>>0)/4294967296,le=(N+q)/(1<<21);while(le===0);return le},P.int32=$.next,P.quick=P,C&&(C.X&&p(C,$),P.state=function(){return p($,{})}),P}e&&e.exports?e.exports=x:n&&n.amd?n(function(){return x}):this.xor4096=x})(pr,t,!1)})(eh);var th={exports:{}};(function(t){(function(r,e,n){function c(y){var b=this,$="";b.next=function(){var P=b.b,N=b.c,q=b.d,le=b.a;return P=P<<25^P>>>7^N,N=N-q|0,q=q<<24^q>>>8^le,le=le-P|0,b.b=P=P<<20^P>>>12^N,b.c=N=N-q|0,b.d=q<<16^N>>>16^le,b.a=le-P|0},b.a=0,b.b=0,b.c=-1640531527,b.d=1367130551,y===Math.floor(y)?(b.a=y/4294967296|0,b.b=y|0):$+=y;for(var C=0;C<$.length+20;C++)b.b^=$.charCodeAt(C)|0,b.next()}function p(y,b){return b.a=y.a,b.b=y.b,b.c=y.c,b.d=y.d,b}function x(y,b){var $=new c(y),C=b&&b.state,P=function(){return($.next()>>>0)/4294967296};return P.double=function(){do var N=$.next()>>>11,q=($.next()>>>0)/4294967296,le=(N+q)/(1<<21);while(le===0);return le},P.int32=$.next,P.quick=P,C&&(typeof C=="object"&&p(C,$),P.state=function(){return p($,{})}),P}e&&e.exports?e.exports=x:n&&n.amd?n(function(){return x}):this.tychei=x})(pr,t,!1)})(th);var rh={exports:{}};(function(t){(function(r,e,n){var c=256,p=6,x=52,y="random",b=n.pow(c,p),$=n.pow(2,x),C=$*2,P=c-1,N;function q(S,D,H){var K=[];D=D==!0?{entropy:!0}:D||{};var X=me(oe(D.entropy?[S,M(e)]:S==null?O():S,3),K),J=new le(K),ve=function(){for(var ye=J.g(p),Ee=b,Be=0;ye<$;)ye=(ye+Be)*c,Ee*=c,Be=J.g(1);for(;ye>=C;)ye/=2,Ee/=2,Be>>>=1;return(ye+Be)/Ee};return ve.int32=function(){return J.g(4)|0},ve.quick=function(){return J.g(4)/4294967296},ve.double=ve,me(M(J.S),e),(D.pass||H||function(ye,Ee,Be,nt){return nt&&(nt.S&&se(nt,J),ye.state=function(){return se(J,{})}),Be?(n[y]=ye,Ee):ye})(ve,X,"global"in D?D.global:this==n,D.state)}function le(S){var D,H=S.length,K=this,X=0,J=K.i=K.j=0,ve=K.S=[];for(H||(S=[H++]);X({type:"num",value:t}),Ge=t=>({type:"str",value:t}),Es=t=>({type:"bool",value:t}),ff=t=>({type:"obj",value:t}),Rt=t=>({type:"arr",value:t}),Gg=(t,r,e)=>({type:"fn",args:t,statements:r,scope:e}),Z=t=>({type:"fn",native:t}),ed=t=>({type:"return",value:t}),td=()=>({type:"break",value:null}),rd=()=>({type:"continue",value:null}),sd=t=>t.type==="return"?t.value:t,nh=(t,r)=>({type:"error",value:t,info:r});function fr(t){if(t==null)throw new et("Expect anything, but got nothing.")}function Vt(t){if(t==null)throw new et("Expect boolean, but got nothing.");if(t.type!=="bool")throw new et(`Expect boolean, but got ${t.type}.`)}function is(t){if(t==null)throw new et("Expect function, but got nothing.");if(t.type!=="fn")throw new et(`Expect function, but got ${t.type}.`)}function mt(t){if(t==null)throw new et("Expect string, but got nothing.");if(t.type!=="str")throw new et(`Expect string, but got ${t.type}.`)}function ue(t){if(t==null)throw new et("Expect number, but got nothing.");if(t.type!=="num")throw new et(`Expect number, but got ${t.type}.`)}function rs(t){if(t==null)throw new et("Expect object, but got nothing.");if(t.type!=="obj")throw new et(`Expect object, but got ${t.type}.`)}function Oa(t){if(t==null)throw new et("Expect array, but got nothing.");if(t.type!=="arr")throw new et(`Expect array, but got ${t.type}.`)}function ho(t){return t.type==="obj"}function Kf(t){return t.type==="arr"}function Oo(t,r){return t.type==="fn"||r.type==="fn"?!1:t.type==="null"&&r.type==="null"?!0:t.type==="null"||r.type==="null"?!1:t.value===r.value}function Io(t,r=!1){if(r){if(t.type==="num")return t.value.toString();if(t.type==="bool")return t.value?"true":"false";if(t.type==="str")return`"${t.value}"`;if(t.type==="arr")return`[${t.value.map(n=>Io(n,!0)).join(", ")}]`;if(t.type==="null")return"(null)"}const e=t.type==="num"||t.type==="bool"?t.value:t.type==="str"?`"${t.value}"`:t.type==="fn"||t.type==="obj"?"...":t.type==="null"?"":null;return`${t.type}<${e}>`}function No(t){switch(t.type){case"fn":return"";case"arr":return t.value.map(r=>No(r));case"bool":return t.value;case"null":return null;case"num":return t.value;case"obj":{const r={};for(const[e,n]of t.value.entries())r[e]=No(n);return r}case"str":return t.value;default:throw new Error(`Unrecognized value type: ${t.type}`)}}function Ro(t){if(t===null)return We;if(typeof t=="boolean")return Es(t);if(typeof t=="string")return Ge(t);if(typeof t=="number")return he(t);if(Array.isArray(t))return Rt(t.map(r=>Ro(r)));if(typeof t=="object"){const r=new Map;for(const[e,n]of Object.entries(t))r.set(e,Ro(n));return ff(r)}return We}function cn(t,r=!1,e=new Set){var n;if((t.type==="arr"||t.type==="obj")&&e.has(t.value))return"...";if(r&&t.type==="str")return'"'+t.value.replace(/["\\\r\n]/g,c=>`\\${c}`)+'"';if(t.type==="str")return t.value;if(t.type==="num")return t.value.toString();if(t.type==="arr"){e.add(t.value);const c=[];for(const p of t.value)c.push(cn(p,!0,e));return"[ "+c.join(", ")+" ]"}if(t.type==="obj"){e.add(t.value);const c=[];for(const[p,x]of t.value)c.push(`${p}: ${cn(x,!0,e)}`);return"{ "+c.join(", ")+" }"}return t.type==="bool"?t.value.toString():t.type==="null"?"null":t.type==="fn"?`@( ${((n=t.args)!=null?n:[]).join(", ")} ) { ... }`:"?"}const nd={help:Ge("SEE: https://github.com/syuilo/aiscript/blob/master/docs/get-started.md"),"Core:v":Ge("0.16.0"),"Core:ai":Ge("kawaii"),"Core:not":Z(([t])=>(Vt(t),t.value?ur:xr)),"Core:eq":Z(([t,r])=>(fr(t),fr(r),Oo(t,r)?xr:ur)),"Core:neq":Z(([t,r])=>(fr(t),fr(r),Oo(t,r)?ur:xr)),"Core:and":Z(([t,r])=>(Vt(t),t.value?(Vt(r),r.value?xr:ur):ur)),"Core:or":Z(([t,r])=>(Vt(t),t.value?xr:(Vt(r),r.value?xr:ur))),"Core:add":Z(([t,r])=>(ue(t),ue(r),he(t.value+r.value))),"Core:sub":Z(([t,r])=>(ue(t),ue(r),he(t.value-r.value))),"Core:mul":Z(([t,r])=>(ue(t),ue(r),he(t.value*r.value))),"Core:pow":Z(([t,r])=>{ue(t),ue(r);const e=t.value**r.value;if(isNaN(e))throw new et("Invalid operation.");return he(e)}),"Core:div":Z(([t,r])=>{ue(t),ue(r);const e=t.value/r.value;if(isNaN(e))throw new et("Invalid operation.");return he(e)}),"Core:mod":Z(([t,r])=>(ue(t),ue(r),he(t.value%r.value))),"Core:gt":Z(([t,r])=>(ue(t),ue(r),t.value>r.value?xr:ur)),"Core:lt":Z(([t,r])=>(ue(t),ue(r),t.value(ue(t),ue(r),t.value>=r.value?xr:ur)),"Core:lteq":Z(([t,r])=>(ue(t),ue(r),t.value<=r.value?xr:ur)),"Core:type":Z(([t])=>(fr(t),Ge(t.type))),"Core:to_str":Z(([t])=>(fr(t),Ge(cn(t)))),"Core:range":Z(([t,r])=>(ue(t),ue(r),t.valuehe(n+t.value))):t.value>r.value?Rt(Array.from({length:t.value-r.value+1},(e,n)=>he(t.value-n))):Rt([t]))),"Core:sleep":Z(async([t])=>(ue(t),await new Promise(r=>setTimeout(r,t.value)),We)),"Util:uuid":Z(()=>Ge(Wg())),"Json:stringify":Z(([t])=>(fr(t),Ge(JSON.stringify(No(t))))),"Json:parse":Z(([t])=>{mt(t);try{return Ro(JSON.parse(t.value))}catch{return nh("not_json")}}),"Json:parsable":Z(([t])=>{mt(t);try{JSON.parse(t.value)}catch{return Es(!1)}return Es(!0)}),"Date:now":Z(()=>he(Date.now())),"Date:year":Z(([t])=>(t&&ue(t),he(new Date((t==null?void 0:t.value)||Date.now()).getFullYear()))),"Date:month":Z(([t])=>(t&&ue(t),he(new Date((t==null?void 0:t.value)||Date.now()).getMonth()+1))),"Date:day":Z(([t])=>(t&&ue(t),he(new Date((t==null?void 0:t.value)||Date.now()).getDate()))),"Date:hour":Z(([t])=>(t&&ue(t),he(new Date((t==null?void 0:t.value)||Date.now()).getHours()))),"Date:minute":Z(([t])=>(t&&ue(t),he(new Date((t==null?void 0:t.value)||Date.now()).getMinutes()))),"Date:second":Z(([t])=>(t&&ue(t),he(new Date((t==null?void 0:t.value)||Date.now()).getSeconds()))),"Date:parse":Z(([t])=>(mt(t),he(new Date(t.value).getTime()))),"Math:Infinity":he(1/0),"Math:E":he(Math.E),"Math:LN2":he(Math.LN2),"Math:LN10":he(Math.LN10),"Math:LOG2E":he(Math.LOG2E),"Math:LOG10E":he(Math.LOG10E),"Math:PI":he(Math.PI),"Math:SQRT1_2":he(Math.SQRT1_2),"Math:SQRT2":he(Math.SQRT2),"Math:abs":Z(([t])=>(ue(t),he(Math.abs(t.value)))),"Math:acos":Z(([t])=>(ue(t),he(Math.acos(t.value)))),"Math:acosh":Z(([t])=>(ue(t),he(Math.acosh(t.value)))),"Math:asin":Z(([t])=>(ue(t),he(Math.asin(t.value)))),"Math:asinh":Z(([t])=>(ue(t),he(Math.asinh(t.value)))),"Math:atan":Z(([t])=>(ue(t),he(Math.atan(t.value)))),"Math:atanh":Z(([t])=>(ue(t),he(Math.atanh(t.value)))),"Math:atan2":Z(([t,r])=>(ue(t),ue(r),he(Math.atan2(t.value,r.value)))),"Math:cbrt":Z(([t])=>(ue(t),he(Math.cbrt(t.value)))),"Math:ceil":Z(([t])=>(ue(t),he(Math.ceil(t.value)))),"Math:clz32":Z(([t])=>(ue(t),he(Math.clz32(t.value)))),"Math:cos":Z(([t])=>(ue(t),he(Math.cos(t.value)))),"Math:cosh":Z(([t])=>(ue(t),he(Math.cosh(t.value)))),"Math:exp":Z(([t])=>(ue(t),he(Math.exp(t.value)))),"Math:expm1":Z(([t])=>(ue(t),he(Math.expm1(t.value)))),"Math:floor":Z(([t])=>(ue(t),he(Math.floor(t.value)))),"Math:fround":Z(([t])=>(ue(t),he(Math.fround(t.value)))),"Math:hypot":Z(([t])=>{Oa(t);const r=[];for(const e of t.value)ue(e),r.push(e.value);return he(Math.hypot(...r))}),"Math:imul":Z(([t,r])=>(ue(t),ue(r),he(Math.imul(t.value,r.value)))),"Math:log":Z(([t])=>(ue(t),he(Math.log(t.value)))),"Math:log1p":Z(([t])=>(ue(t),he(Math.log1p(t.value)))),"Math:log10":Z(([t])=>(ue(t),he(Math.log10(t.value)))),"Math:log2":Z(([t])=>(ue(t),he(Math.log2(t.value)))),"Math:max":Z(([t,r])=>(ue(t),ue(r),he(Math.max(t.value,r.value)))),"Math:min":Z(([t,r])=>(ue(t),ue(r),he(Math.min(t.value,r.value)))),"Math:pow":Z(([t,r])=>(ue(t),ue(r),he(Math.pow(t.value,r.value)))),"Math:round":Z(([t])=>(ue(t),he(Math.round(t.value)))),"Math:sign":Z(([t])=>(ue(t),he(Math.sign(t.value)))),"Math:sin":Z(([t])=>(ue(t),he(Math.sin(t.value)))),"Math:sinh":Z(([t])=>(ue(t),he(Math.sinh(t.value)))),"Math:sqrt":Z(([t])=>{ue(t);const r=Math.sqrt(t.value);if(isNaN(r))throw new et("Invalid operation.");return he(r)}),"Math:tan":Z(([t])=>(ue(t),he(Math.tan(t.value)))),"Math:tanh":Z(([t])=>(ue(t),he(Math.tanh(t.value)))),"Math:trunc":Z(([t])=>(ue(t),he(Math.trunc(t.value)))),"Math:rnd":Z(([t,r])=>t&&t.type==="num"&&r&&r.type==="num"?he(Math.floor(Math.random()*(Math.floor(r.value)-Math.ceil(t.value)+1)+Math.ceil(t.value))):he(Math.random())),"Math:gen_rng":Z(([t])=>{if(fr(t),t.type!=="num"&&t.type!=="str")return We;const r=sh(t.value.toString());return Z(([e,n])=>e&&e.type==="num"&&n&&n.type==="num"?he(Math.floor(r()*(Math.floor(n.value)-Math.ceil(e.value)+1)+Math.ceil(e.value))):he(r()))}),"Num:to_hex":Z(([t])=>(ue(t),Ge(t.value.toString(16)))),"Num:from_hex":Z(([t])=>(mt(t),he(parseInt(t.value,16)))),"Str:lf":Ge(` +`),"Str:lt":Z(([t,r])=>(mt(t),mt(r),t.value(mt(t),mt(r),t.value>r.value?he(-1):t.value===r.value?he(0):he(1))),"Str:from_codepoint":Z(([t])=>(ue(t),Ge(String.fromCodePoint(t.value)))),"Obj:keys":Z(([t])=>(rs(t),Rt(Array.from(t.value.keys()).map(r=>Ge(r))))),"Obj:vals":Z(([t])=>(rs(t),Rt(Array.from(t.value.values())))),"Obj:kvs":Z(([t])=>(rs(t),Rt(Array.from(t.value.entries()).map(([r,e])=>Rt([Ge(r),e]))))),"Obj:get":Z(([t,r])=>{var e;return rs(t),mt(r),(e=t.value.get(r.value))!=null?e:We}),"Obj:set":Z(([t,r,e])=>(rs(t),mt(r),fr(e),t.value.set(r.value,e),We)),"Obj:has":Z(([t,r])=>(rs(t),mt(r),Es(t.value.has(r.value)))),"Obj:copy":Z(([t])=>(rs(t),ff(new Map(t.value)))),"Async:interval":Z(async([t,r,e],n)=>{ue(t),is(r),e&&(Vt(e),e.value&&n.call(r,[]));const c=setInterval(()=>{n.topCall(r,[])},t.value),p=()=>{clearInterval(c)};return n.registerAbortHandler(p),Z(([],x)=>{clearInterval(c),x.unregisterAbortHandler(p)})}),"Async:timeout":Z(async([t,r],e)=>{ue(t),is(r);const n=setTimeout(()=>{e.topCall(r,[])},t.value),c=()=>{clearTimeout(n)};return e.registerAbortHandler(c),Z(([],p)=>{clearTimeout(n),p.unregisterAbortHandler(c)})})};var Ns={},id=()=>{const t="\\ud800-\\udfff",r="\\u0300-\\u036f",e="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",c="\\u1ab0-\\u1aff",p="\\u1dc0-\\u1dff",x=r+e+n+c+p,y="\\ufe0e\\ufe0f",b="\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83C\\uDF93",$=`[${t}]`,C=`[${x}]`,P="\\ud83c[\\udffb-\\udfff]",N=`(?:${C}|${P})`,q=`[^${t}]`,le="(?:\\uD83C[\\uDDE6-\\uDDFF]){2}",se="[\\ud800-\\udbff][\\udc00-\\udfff]",oe="\\u200d",me="(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40(?:\\udc65|\\udc73|\\udc77)\\udb40(?:\\udc6e|\\udc63|\\udc6c)\\udb40(?:\\udc67|\\udc74|\\udc73)\\udb40\\udc7f)",O=`[${b}]`,M=`${N}?`,S=`[${y}]?`,D=`(?:${oe}(?:${[q,le,se].join("|")})${S+M})*`,H=S+M+D,X=`(?:${[`${q}${C}?`,C,le,se,$,O].join("|")})`;return new RegExp(`${me}|${P}(?=${P})|${X+H}`,"g")},ad=pr&&pr.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ns,"__esModule",{value:!0});var Va=ad(id);function jo(t){if(typeof t!="string")throw new Error("A string is expected as input");return t.match(Va.default())||[]}var Ia=Ns.toArray=jo;function cf(t){if(typeof t!="string")throw new Error("Input must be a string");var r=t.match(Va.default());return r===null?0:r.length}var ih=Ns.length=cf;function ah(t,r,e){if(r===void 0&&(r=0),typeof t!="string")throw new Error("Input must be a string");(typeof r!="number"||r<0)&&(r=0),typeof e=="number"&&e<0&&(e=0);var n=t.match(Va.default());return n?n.slice(r,e).join(""):""}var lh=Ns.substring=ah;function ld(t,r,e){if(r===void 0&&(r=0),typeof t!="string")throw new Error("Input must be a string");var n=cf(t);if(typeof r!="number"&&(r=parseInt(r,10)),r>=n)return"";r<0&&(r+=n);var c;typeof e=="undefined"?c=n:(typeof e!="number"&&(e=parseInt(e,10)),c=e>=0?e+r:r);var p=t.match(Va.default());return p?p.slice(r,c).join(""):""}Ns.substr=ld;function ud(t,r,e,n){if(r===void 0&&(r=16),e===void 0&&(e="#"),n===void 0&&(n="right"),typeof t!="string"||typeof r!="number")throw new Error("Invalid arguments specified");if(["left","right"].indexOf(n)===-1)throw new Error("Pad position should be either left or right");typeof e!="string"&&(e=String(e));var c=cf(t);if(c>r)return ah(t,0,r);if(c=n.length)return r===""?n.length:-1;if(r==="")return e;var c=jo(r),p=!1,x;for(x=e;xZ(async(r,e)=>Ge(t.value.toString()))},str:{to_num:t=>Z(async(r,e)=>{const n=parseInt(t.value,10);return isNaN(n)?We:he(n)}),len:t=>he(ih(t.value)),replace:t=>Z(async([r,e],n)=>(mt(r),mt(e),Ge(t.value.split(r.value).join(e.value)))),index_of:t=>Z(async([r],e)=>(mt(r),he(uh(t.value,r.value)))),incl:t=>Z(async([r],e)=>(mt(r),t.value.includes(r.value)?xr:ur)),trim:t=>Z(async(r,e)=>Ge(t.value.trim())),upper:t=>Z(async(r,e)=>Ge(t.value.toUpperCase())),lower:t=>Z(async(r,e)=>Ge(t.value.toLowerCase())),split:t=>Z(async([r],e)=>(r&&mt(r),Rt(r?t.value.split(r?r.value:"").map(n=>Ge(n)):Ia(t.value).map(n=>Ge(n))))),slice:t=>Z(async([r,e],n)=>(ue(r),ue(e),Ge(lh(t.value,r.value,e.value)))),pick:t=>Z(async([r],e)=>{ue(r);const c=Ia(t.value)[r.value];return c?Ge(c):We}),codepoint_at:t=>Z(([r],e)=>{ue(r);const n=t.value.charCodeAt(r.value);return Number.isNaN(n)?We:he(n)})},arr:{len:t=>he(t.value.length),push:t=>Z(async([r],e)=>(fr(r),t.value.push(r),t)),unshift:t=>Z(async([r],e)=>(fr(r),t.value.unshift(r),t)),pop:t=>Z(async(r,e)=>{var n;return(n=t.value.pop())!=null?n:We}),shift:t=>Z(async(r,e)=>{var n;return(n=t.value.shift())!=null?n:We}),concat:t=>Z(async([r],e)=>(Oa(r),Rt(t.value.concat(r.value)))),slice:t=>Z(async([r,e],n)=>(ue(r),ue(e),Rt(t.value.slice(r.value,e.value)))),join:t=>Z(async([r],e)=>(r&&mt(r),Ge(t.value.map(n=>n.type==="str"?n.value:"").join(r?r.value:"")))),map:t=>Z(async([r],e)=>{is(r);const n=t.value.map(async(c,p)=>await e.call(r,[c,he(p)]));return Rt(await Promise.all(n))}),filter:t=>Z(async([r],e)=>{is(r);const n=[];for(let c=0;cZ(async([r,e],n)=>{is(r);const c=e!=null;let p=c?e:t.value[0];for(let x=c?0:1;xZ(async([r],e)=>{is(r);for(let n=0;nZ(async([r],e)=>(fr(r),r.type!=="str"&&r.type!=="num"&&r.type!=="bool"&&r.type!=="null"?ur:(c=>c.value.map(p=>p.type==="str"||p.type==="num"||p.type==="bool"?p.value:p.type==="null"?null:Symbol()))(t).includes(r.type==="null"?null:r.value)?xr:ur)),reverse:t=>Z(async(r,e)=>(t.value.reverse(),We)),copy:t=>Z(async(r,e)=>Rt([...t.value])),sort:t=>Z(async([r],e)=>{const n=async(p,x)=>{if(p.length<=1)return p;const y=Math.floor(p.length/2),b=await n(p.slice(0,y),x),$=await n(p.slice(y),x);return c(b,$,x)},c=async(p,x,y)=>{const b=[];let $=0,C=0;for(;$Ge(t.value),info:t=>{var r;return(r=t.info)!=null?r:We}}};function fd(t,r){if(Object.hasOwn(qf,t.type)){const e=qf[t.type];if(Object.hasOwn(e,r))return e[r](t);throw new et(`No such prop (${r}) in ${t.type}.`)}else throw new et(`Cannot read prop of ${t.type}. (reading ${r})`)}const cd={mut(t){return{isMutable:!0,value:t}},const(t){return{isMutable:!1,value:t}}};var Xt=globalThis&&globalThis.__decorate||function(t,r,e,n){var c=arguments.length,p=c<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,e):n,x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(t,r,e,n);else for(var y=t.length-1;y>=0;y--)(x=t[y])&&(p=(c<3?x(p):c>3?x(r,e,p):x(r,e))||p);return c>3&&p&&Object.defineProperty(r,e,p),p};const oh=300,hd=oh-1;class Ut{constructor(r,e={}){Qe(this,"opts");Qe(this,"stepCount",0);Qe(this,"stop",!1);Qe(this,"scope");Qe(this,"abortHandlers",[]);Qe(this,"vars",{});this.opts=e;const n={print:Z(([c])=>{fr(c),this.opts.out&&this.opts.out(c)}),readline:Z(async c=>{const p=c[0];if(mt(p),this.opts.in==null)return We;const x=await this.opts.in(p.value);return Ge(x)})};this.vars=Object.fromEntries(Object.entries({...r,...nd,...n}).map(([c,p])=>[c,cd.const(p)])),this.scope=new Tr([new Map(Object.entries(this.vars))]),this.scope.opts.log=(c,p)=>{switch(c){case"add":this.log("var:add",p);break;case"read":this.log("var:read",p);break;case"write":this.log("var:write",p);break}}}async exec(r){if(!(r==null||r.length===0))try{await this.collectNs(r);const e=await this._run(r,this.scope);this.log("end",{val:e})}catch(e){this.handleError(e)}}async execFn(r,e){return await this._fn(r,e).catch(n=>(this.handleError(n),nh("func_failed")))}execFnSimple(r,e){return this._fn(r,e)}static collectMetadata(r){if(r==null||r.length===0)return;function e(c){switch(c.type){case"arr":return c.value.map(p=>e(p));case"bool":return c.value;case"null":return null;case"num":return c.value;case"obj":{const p={};for(const[x,y]of c.value.entries())p[x]=e(y);return p}case"str":return c.value;default:return}}const n=new Map;for(const c of r)switch(c.type){case"meta":{n.set(c.name,e(c.value));break}}return n}handleError(r){if(this.opts.err)this.stop||(this.abort(),r instanceof _n?this.opts.err(r):this.opts.err(new Hg(r)));else throw r}log(r,e){this.opts.log&&this.opts.log(r,e)}async collectNs(r){for(const e of r)switch(e.type){case"ns":{await this.collectNsMember(e);break}}}async collectNsMember(r){const e=this.scope.createChildScope();for(const n of r.members)switch(n.type){case"def":{if(n.mut)throw new Error("Namespaces cannot include mutable variable: "+n.name);const c={isMutable:n.mut,value:await this._eval(n.expr,e)};e.add(n.name,c),this.scope.add(r.name+":"+n.name,c);break}case"ns":break;default:throw new Error("invalid ns member type: "+n.type)}}async _fn(r,e){var n;if(r.native){const c=r.native(e,{call:this.execFnSimple,topCall:this.execFn,registerAbortHandler:this.registerAbortHandler,unregisterAbortHandler:this.unregisterAbortHandler});return c!=null?c:We}else{const c=new Map;for(let x=0;x<((n=r.args)!=null?n:[]).length;x++)c.set(r.args[x],{isMutable:!0,value:e[x]});const p=r.scope.createChildScope(c);return sd(await this._run(r.statements,p))}}async _eval(r,e){if(this.stop)return We;if(this.stepCount%oh===hd&&await new Promise(n=>setTimeout(n,5)),this.stepCount++,this.opts.maxStep&&this.stepCount>this.opts.maxStep)throw new et("max step exceeded");switch(r.type){case"call":{const n=await this._eval(r.target,e);is(n);const c=await Promise.all(r.args.map(p=>this._eval(p,e)));return this._fn(n,c)}case"if":{const n=await this._eval(r.cond,e);if(Vt(n),n.value)return this._eval(r.then,e);if(r.elseif&&r.elseif.length>0){for(const c of r.elseif){const p=await this._eval(c.cond,e);if(Vt(p),p.value)return this._eval(c.then,e)}if(r.else)return this._eval(r.else,e)}else if(r.else)return this._eval(r.else,e);return We}case"match":{const n=await this._eval(r.about,e);for(const c of r.qs){const p=await this._eval(c.q,e);if(Oo(n,p))return await this._eval(c.a,e)}return r.default?await this._eval(r.default,e):We}case"loop":{for(;;){const n=await this._run(r.statements,e.createChildScope());if(n.type==="break")break;if(n.type==="return")return n}return We}case"for":{if(r.times){const n=await this._eval(r.times,e);ue(n);for(let c=0;c0){const c=[];for(const p of r.attr)c.push({name:p.name,value:await this._eval(p.value,e)});n.attr=c}return e.add(r.name,{isMutable:r.mut,value:n}),We}case"identifier":return e.get(r.name);case"assign":{const n=await this._eval(r.expr,e);return await this.assign(e,r.dest,n),We}case"addAssign":{const n=await this._eval(r.dest,e);ue(n);const c=await this._eval(r.expr,e);return ue(c),await this.assign(e,r.dest,he(n.value+c.value)),We}case"subAssign":{const n=await this._eval(r.dest,e);ue(n);const c=await this._eval(r.expr,e);return ue(c),await this.assign(e,r.dest,he(n.value-c.value)),We}case"null":return We;case"bool":return Es(r.value);case"num":return he(r.value);case"str":return Ge(r.value);case"arr":return Rt(await Promise.all(r.value.map(n=>this._eval(n,e))));case"obj":{const n=new Map;for(const c of r.value.keys())n.set(c,await this._eval(r.value.get(c),e));return ff(n)}case"prop":{const n=await this._eval(r.target,e);return ho(n)?n.value.has(r.name)?n.value.get(r.name):We:fd(n,r.name)}case"index":{const n=await this._eval(r.target,e),c=await this._eval(r.index,e);if(Kf(n)){ue(c);const p=n.value[c.value];if(p===void 0)throw new Ug(`Index out of range. index: ${c.value} max: ${n.value.length-1}`);return p}else{if(ho(n))return mt(c),n.value.has(c.value)?n.value.get(c.value):We;throw new et(`Cannot read prop (${cn(c)}) of ${n.type}.`)}}case"not":{const n=await this._eval(r.expr,e);return Vt(n),Es(!n.value)}case"fn":return Gg(r.args.map(n=>n.name),r.children,e);case"block":return this._run(r.statements,e.createChildScope());case"exists":return Es(e.exists(r.identifier.name));case"tmpl":{let n="";for(const c of r.tmpl)if(typeof c=="string")n+=c;else{const p=await this._eval(c,e);n+=cn(p)}return Ge(n)}case"return":{const n=await this._eval(r.expr,e);return this.log("block:return",{scope:e.name,val:n}),ed(n)}case"break":return this.log("block:break",{scope:e.name}),td();case"continue":return this.log("block:continue",{scope:e.name}),rd();case"ns":return We;case"meta":return We;case"and":{const n=await this._eval(r.left,e);if(Vt(n),n.value){const c=await this._eval(r.right,e);return Vt(c),c}else return n}case"or":{const n=await this._eval(r.left,e);if(Vt(n),n.value)return n;{const c=await this._eval(r.right,e);return Vt(c),c}}default:throw new Error("invalid node type")}}async _run(r,e){this.log("block:enter",{scope:e.name});let n=We;for(let c=0;ce!==r)}abort(){this.stop=!0;for(const r of this.abortHandlers)r();this.abortHandlers=[]}async assign(r,e,n){if(e.type==="identifier")r.assign(e.name,n);else if(e.type==="index"){const c=await this._eval(e.target,r),p=await this._eval(e.index,r);if(Kf(c))ue(p),c.value[p.value]=n;else if(ho(c))mt(p),c.value.set(p.value,n);else throw new et(`Cannot read prop (${cn(p)}) of ${c.type}.`)}else if(e.type==="prop"){const c=await this._eval(e.target,r);rs(c),c.value.set(e.name,n)}else throw new et("The left-hand side of an assignment expression must be a variable or a property/index access.")}}Xt([pt],Ut.prototype,"exec",null);Xt([pt],Ut.prototype,"execFn",null);Xt([pt],Ut.prototype,"execFnSimple",null);Xt([pt],Ut.prototype,"handleError",null);Xt([pt],Ut.prototype,"log",null);Xt([pt],Ut.prototype,"collectNs",null);Xt([pt],Ut.prototype,"collectNsMember",null);Xt([pt],Ut.prototype,"_fn",null);Xt([pt],Ut.prototype,"_eval",null);Xt([pt],Ut.prototype,"_run",null);Xt([pt],Ut.prototype,"registerAbortHandler",null);Xt([pt],Ut.prototype,"unregisterAbortHandler",null);Xt([pt],Ut.prototype,"abort",null);Xt([pt],Ut.prototype,"assign",null);Xt([pt],Ut,"collectMetadata",null);function pd(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Ms(t,r,e,n){var c=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(c,Ms.prototype),c.expected=r,c.found=e,c.location=n,c.name="SyntaxError",c}pd(Ms,Error);function po(t,r,e){return e=e||" ",t.length>r?t:(r-=t.length,e+=e.repeat(r),t+e.slice(0,r))}Ms.prototype.format=function(t){var r="Error: "+this.message;if(this.location){var e=null,n;for(n=0;n `+x+` +`+b+` | +`+p.line+" | "+$+` +`+b+" | "+po("",c.column-1," ")+po("",P,"^")}else r+=` + at `+x}return r};Ms.buildMessage=function(t,r){var e={literal:function($){return'"'+c($.text)+'"'},class:function($){var C=$.parts.map(function(P){return Array.isArray(P)?p(P[0])+"-"+p(P[1]):p(P)});return"["+($.inverted?"^":"")+C.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function($){return $.description}};function n($){return $.charCodeAt(0).toString(16).toUpperCase()}function c($){return $.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(C){return"\\x0"+n(C)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(C){return"\\x"+n(C)})}function p($){return $.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(C){return"\\x0"+n(C)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(C){return"\\x"+n(C)})}function x($){return e[$.type]($)}function y($){var C=$.map(x),P,N;if(C.sort(),C.length>0){for(P=1,N=1;P=",Ie="<",dr=">",ht="+",kt="-",st="*",At="^",Yt="/",It="%",zt="!",gt="[",T=".",L="if",V="elif",Q="else",G="match",ne="=>",ge="eval",ae="exists",fe="`",te='"',_e="'",xe='\\"',Ce="\\'",Pe="true",Te="false",ze="null",Le=";",Ye="@",xt="@(",bt=`\r +`,Qt=/^[A-Z0-9_:]/i,zr=/^[^`{]/,Br=/^[{}`]/,dt=/^[+\-]/,at=/^[1-9]/,Bt=/^[0-9]/,ai=/^[A-Z_]/i,li=/^[A-Z0-9_]/i,Ya=/^[\r\n]/,Qa=/^[ \t\r\n]/,vr=/^[ \t]/,yr=Ys(),Ga=$e("//",!1),Cn=$e("/*",!1),Or=$e("*/",!1),Kt=$e("(",!1),Ir=$e(")",!1),mr=$e("::",!1),vt=$e("{",!1),ir=$e("}",!1),Xr=$e("###",!1),Et=$e("let",!1),Mt=$e(":",!1),hs=$e("=",!1),el=$e("var",!1),tl=$e("<:",!1),js=$e("#[",!1),ps=$e("]",!1),Nt=$e("each",!1),_t=$e(",",!1),Ds=$e("for",!1),$r=$e("return",!1),Ar=Gt([["A","Z"],["0","9"],"_",":"],!1,!0),rl=$e("loop",!1),sl=$e("break",!1),nl=$e("continue",!1),il=$e("+=",!1),ui=$e("-=",!1),oi=$e("\\",!1),al=$e("||",!1),ll=$e("&&",!1),ul=$e("==",!1),ol=$e("!=",!1),fl=$e("<=",!1),fi=$e(">=",!1),Pn=$e("<",!1),ci=$e(">",!1),cl=$e("+",!1),hi=$e("-",!1),pi=$e("*",!1),hl=$e("^",!1),pl=$e("/",!1),gl=$e("%",!1),kn=$e("!",!1),gs=$e("[",!1),En=$e(".",!1),dl=$e("if",!1),vl=$e("elif",!1),yl=$e("else",!1),Ls=$e("match",!1),Hs=$e("=>",!1),Us=$e("eval",!1),ml=$e("exists",!1),zs=$e("`",!1),Bs=Gt(["`","{"],!0,!1),Ks=Gt(["{","}","`"],!1,!1),qs=$e('"',!1),Ws=$e("'",!1),Vs=$e('\\"',!1),gi=$e("\\'",!1),qt=Gt(["+","-"],!1,!1),di=Gt([["1","9"]],!1,!1),wr=Gt([["0","9"]],!1,!1),wl=$e("true",!1),Js=$e("false",!1),xl=$e("null",!1),ds=$e(";",!1),bl=$e("@",!1),Mn=$e("@(",!1),$l=Gt([["A","Z"],"_"],!1,!0),vi=Gt([["A","Z"],["0","9"],"_"],!1,!0),Al=$e(`\r +`,!1),_l=Gt(["\r",` +`],!1,!1),Cl=Gt([" "," ","\r",` +`],!1,!1),Pl=Gt([" "," "],!1,!1),kl=function(s){return s.join("")},El=function(){return de()},Ml=function(){return de()},Fl=function(){return""},yi=function(){return""},Sl=function(s){return s!=null?s:[]},Fn=function(s,u){return u},Tl=function(s,u){return[s,...u]},Sn=function(s,u){return u},Ol=function(s,u){return[s,...u]},mi=function(s,u){return u},Il=function(s,u){return[s,...u]},Nl=function(s){return s},Rl=function(s,u){return h("ns",{name:s,members:u})},jl=function(s,u){return h("meta",{name:s,value:u})},Dl=function(s){return h("meta",{name:null,value:s})},Ll=function(s,u,g){return h("def",{name:s,varType:u,expr:g,mut:!1,attr:[]})},Hl=function(s,u,g){return h("def",{name:s,varType:u,expr:g,mut:!0,attr:[]})},Ul=function(s){return h("identifier",{name:"print",chain:[h("callChain",{args:[s]})]})},zl=function(s,u){return h("attr",{name:s,value:u!=null?u:h("bool",{value:!0})})},Bl=function(s,u,g){return h("each",{var:s,items:u,for:g})},Kl=function(s,u,g){return h("each",{var:s,items:u,for:g})},ql=function(s,u){return u},Wl=function(s,u,g,o){return h("for",{var:s,from:u!=null?u:h("num",{value:0}),to:g,for:o})},Vl=function(s,u){return u},Jl=function(s,u,g,o){return h("for",{var:s,from:u!=null?u:h("num",{value:0}),to:g,for:o})},Zl=function(s,u){return h("for",{times:s,for:u})},Xl=function(s,u){return h("for",{times:s,for:u})},Yl=function(s){return h("return",{expr:s})},Ql=function(s){return h("loop",{statements:s})},Gl=function(){return h("break",{})},wi=function(){return h("continue",{})},eu=function(s,u,g){return u==="+="?h("addAssign",{dest:s,expr:g}):u==="-="?h("subAssign",{dest:s,expr:g}):h("assign",{dest:s,expr:g})},xi=function(s,u,g){return{op:u,term:g}},tu=function(s,u){return h("infix",{operands:[s,...u.map(g=>g.term)],operators:u.map(g=>g.op)})},ru=function(){return de()},su=function(s){return h("not",{expr:s})},bi=function(s,u){return{...s,chain:u}},nu=function(s){return h("callChain",{args:s!=null?s:[]})},$i=function(s,u){return u},iu=function(s,u){return[s,...u]},au=function(s){return h("indexChain",{index:s})},lu=function(s){return h("propChain",{name:s})},uu=function(s,u,g,o){return h("if",{cond:s,then:u,elseif:g!=null?g:[],else:o})},ou=function(s,u){return[s,...u]},Ai=function(s,u){return{cond:s,then:u}},fu=function(s){return s},_i=function(s,u,g){return{q:u,a:g}},cu=function(s,u,g){return h("match",{about:s,qs:u!=null?u:[],default:g})},hu=function(s){return h("block",{statements:s})},pu=function(s){return h("exists",{identifier:s})},Ci=function(s){return h("identifier",{name:s})},gu=function(s){return h("tmpl",{tmpl:s})},Pi=function(s){return s.join("")},ki=function(s){return s},du=function(s){return h("str",{value:s.join("")})},Ei=function(s){return s},vu=function(s){return h("str",{value:s.join("")})},yu=function(){return'"'},mu=function(){return"'"},wu=function(){return h("num",{value:parseFloat(de())})},xu=function(){return h("num",{value:parseFloat(de())})},bu=function(){return h("num",{value:parseInt(de(),10)})},$u=function(){return h("num",{value:parseInt(de(),10)})},Mi=function(){return h("bool",{value:!0})},Au=function(){return h("bool",{value:!1})},Fi=function(){return h("null",{})},Si=function(s,u){return{k:s,v:u}},_u=function(s){const u=new Map;for(const g of s)u.set(g.k,g.v);return h("obj",{value:u})},Ti=function(s){return s},Cu=function(s){return h("arr",{value:s})},Pu=function(s,u){return{name:s,argType:u}},Oi=function(s,u){return[s,...u]},ku=function(s,u,g,o,v,d){return(s.length>0||g.length>0)&&Iu("Cannot use spaces before or after the function name."),h("def",{name:u,expr:h("fn",{args:o!=null?o:[],retType:v},d!=null?d:[]),mut:!1,attr:[]})},Ii=function(s,u,g){return h("fn",{args:s!=null?s:[],retType:u},g!=null?g:[])},Ni=function(s){return s},Eu=function(s){return h("arr",{value:s})},Ri=function(s,u){return{k:s,v:u}},Mu=function(s){const u=new Map;for(const g of s)u.set(g.k,g.v);return h("obj",{value:u})},Fu=function(s,u){return h("fnTypeSource",{args:s!=null?s:[],result:u})},Su=function(s,u){return[s,...u]},Tu=function(s,u){return h("namedTypeSource",{name:s,inner:u})},Ou=function(s){return h("namedTypeSource",{name:s,inner:null})},a=function(){return de()},re=function(){return de()},Zs=function(s){return h("block",{statements:s!=null?s:[]})},i=0,ee=0,E=[{line:1,column:1}],U=0,Yr=[],k=0,z={},Xs;if("startRule"in r){if(!(r.startRule in c))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');p=c[r.startRule]}function de(){return t.substring(ee,i)}function ar(){return Qs(ee,i)}function Iu(s,u){throw u=u!==void 0?u:Qs(ee,i),Di(s,u)}function $e(s,u){return{type:"literal",text:s,ignoreCase:u}}function Gt(s,u,g){return{type:"class",parts:s,inverted:u,ignoreCase:g}}function Ys(){return{type:"any"}}function j(){return{type:"end"}}function ji(s){var u=E[s],g;if(u)return u;for(g=s-1;!E[g];)g--;for(u=E[g],u={line:u.line,column:u.column};gU&&(U=i,Yr=[]),Yr.push(s))}function Di(s,u){return new Ms(s,null,null,u)}function Nu(s,u,g){return new Ms(Ms.buildMessage(s,u),s,u,g)}function Li(){var s,u,g,o=i*77+0,v=z[o];if(v)return i=v.nextPos,v.result;for(s=i,u=[],g=Hi();g!==e;)u.push(g),g=Hi();return ee=s,u=kl(u),s=u,z[o]={nextPos:i,result:s},s}function Hi(){var s,u,g=i*77+1,o=z[g];return o?(i=o.nextPos,o.result):(s=i,u=en(),u!==e&&(ee=s,u=El()),s=u,s===e&&(s=i,u=Ln(),u!==e&&(ee=s,u=Ml()),s=u,s===e&&(s=Ru(),s===e&&(t.length>i?(s=t.charAt(i),i++):(s=e,k===0&&R(yr))))),z[g]={nextPos:i,result:s},s)}function Ru(){var s,u,g,o,v,d,A=i*77+2,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.substr(i,2)===x?(u=x,i+=2):(u=e,k===0&&R(Ga)),u!==e){for(g=[],o=i,v=i,k++,d=l(),k--,d===e?v=void 0:(i=v,v=e),v!==e?(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr)),d!==e?(v=[v,d],o=v):(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=i,k++,d=l(),k--,d===e?v=void 0:(i=v,v=e),v!==e?(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr)),d!==e?(v=[v,d],o=v):(i=o,o=e)):(i=o,o=e);ee=s,s=Fl()}else i=s,s=e;if(s===e)if(s=i,t.substr(i,2)===y?(u=y,i+=2):(u=e,k===0&&R(Cn)),u!==e){for(g=[],o=i,v=i,k++,t.substr(i,2)===b?(d=b,i+=2):(d=e,k===0&&R(Or)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr)),d!==e?(v=[v,d],o=v):(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=i,k++,t.substr(i,2)===b?(d=b,i+=2):(d=e,k===0&&R(Or)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr)),d!==e?(v=[v,d],o=v):(i=o,o=e)):(i=o,o=e);t.substr(i,2)===b?(o=b,i+=2):(o=e,k===0&&R(Or)),o!==e?(ee=s,s=yi()):(i=s,s=e)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function vs(){var s,u,g,o,v,d=i*77+3,A=z[d];if(A)return i=A.nextPos,A.result;for(s=i,u=[],g=f();g!==e;)u.push(g),g=f();for(g=Tn(),g===e&&(g=null),o=[],v=f();v!==e;)o.push(v),v=f();return ee=s,s=Sl(g),z[d]={nextPos:i,result:s},s}function Tn(){var s,u,g,o,v,d,A,w,F=i*77+4,I=z[F];if(I)return i=I.nextPos,I.result;if(s=i,u=He(),u!==e){for(g=[],o=i,v=[],d=m();d!==e;)v.push(d),d=m();if(d=Ae(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();w=He(),w!==e?(ee=o,o=Fn(u,w)):(i=o,o=e)}else i=o,o=e;for(;o!==e;){for(g.push(o),o=i,v=[],d=m();d!==e;)v.push(d),d=m();if(d=Ae(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();w=He(),w!==e?(ee=o,o=Fn(u,w)):(i=o,o=e)}else i=o,o=e}ee=s,s=Tl(u,g)}else i=s,s=e;return z[F]={nextPos:i,result:s},s}function On(){var s,u,g,o,v,d,A,w,F=i*77+5,I=z[F];if(I)return i=I.nextPos,I.result;if(s=i,u=Qr(),u!==e){for(g=[],o=i,v=[],d=m();d!==e;)v.push(d),d=m();if(d=Ae(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();w=Qr(),w!==e?(ee=o,o=Sn(u,w)):(i=o,o=e)}else i=o,o=e;for(;o!==e;){for(g.push(o),o=i,v=[],d=m();d!==e;)v.push(d),d=m();if(d=Ae(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();w=Qr(),w!==e?(ee=o,o=Sn(u,w)):(i=o,o=e)}else i=o,o=e}ee=s,s=Ol(u,g)}else i=s,s=e;return z[F]={nextPos:i,result:s},s}function _r(){var s,u,g,o,v,d,A,w,F=i*77+6,I=z[F];if(I)return i=I.nextPos,I.result;if(s=i,u=Gr(),u!==e){for(g=[],o=i,v=[],d=m();d!==e;)v.push(d),d=m();if(d=Ae(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();w=Gr(),w!==e?(ee=o,o=mi(u,w)):(i=o,o=e)}else i=o,o=e;for(;o!==e;){for(g.push(o),o=i,v=[],d=m();d!==e;)v.push(d),d=m();if(d=Ae(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();w=Gr(),w!==e?(ee=o,o=mi(u,w)):(i=o,o=e)}else i=o,o=e}ee=s,s=Il(u,g)}else i=s,s=e;return z[F]={nextPos:i,result:s},s}function He(){var s,u=i*77+7,g=z[u];return g?(i=g.nextPos,g.result):(s=zi(),s===e&&(s=ju(),s===e&&(s=Gr())),z[u]={nextPos:i,result:s},s)}function Qr(){var s,u=i*77+8,g=z[u];return g?(i=g.nextPos,g.result):(s=Bi(),s===e&&(s=lr(),s===e&&(s=zi())),z[u]={nextPos:i,result:s},s)}function Gr(){var s,u=i*77+9,g=z[u];return g?(i=g.nextPos,g.result):(s=Bi(),s===e&&(s=lr(),s===e&&(s=Du(),s===e&&(s=zu(),s===e&&(s=Lu(),s===e&&(s=Hu(),s===e&&(s=Uu(),s===e&&(s=Bu(),s===e&&(s=Ku(),s===e&&(s=Rr(),s===e&&(s=Ki(),s===e&&(s=Re()))))))))))),z[u]={nextPos:i,result:s},s)}function Re(){var s,u=i*77+10,g=z[u];return g?(i=g.nextPos,g.result):(s=qu(),s===e&&(s=ys()),z[u]={nextPos:i,result:s},s)}function ys(){var s,u=i*77+11,g=z[u];return g?(i=g.nextPos,g.result):(s=Ju(),s===e&&(s=eo(),s===e&&(s=qi(),s===e&&(s=Ui()))),z[u]={nextPos:i,result:s},s)}function Ui(){var s,u,g,o,v,d,A=i*77+12,w=z[A];if(w)return i=w.nextPos,w.result;if(s=Vi(),s===e&&(s=Ji(),s===e&&(s=Zi(),s===e&&(s=en(),s===e&&(s=Ln(),s===e&&(s=Gi(),s===e&&(s=ta(),s===e&&(s=zn(),s===e&&(s=ra(),s===e&&(s=Gu(),s===e&&(s=Wu(),s===e&&(s=Xi(),s===e))))))))))))if(s=i,t.charCodeAt(i)===40?(u=$,i++):(u=e,k===0&&R(Kt)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(o=Re(),o!==e){for(v=[],d=f();d!==e;)v.push(d),d=f();t.charCodeAt(i)===41?(d=C,i++):(d=e,k===0&&R(Ir)),d!==e?(ee=s,s=Nl(o)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function Nr(){var s,u=i*77+13,g=z[u];return g?(i=g.nextPos,g.result):(s=Gi(),s===e&&(s=Ln(),s===e&&(s=ta(),s===e&&(s=to(),s===e&&(s=ro(),s===e&&(s=zn()))))),z[u]={nextPos:i,result:s},s)}function zi(){var s,u,g,o,v,d,A,w,F,I,B=i*77+14,W=z[B];if(W)return i=W.nextPos,W.result;if(s=i,t.substr(i,2)===P?(u=P,i+=2):(u=e,k===0&&R(mr)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;if(g!==e)if(o=Ze(),o!==e){if(v=[],d=f(),d!==e)for(;d!==e;)v.push(d),d=f();else v=e;if(v!==e)if(t.charCodeAt(i)===123?(d=N,i++):(d=e,k===0&&R(vt)),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();for(w=On(),w===e&&(w=null),F=[],I=f();I!==e;)F.push(I),I=f();t.charCodeAt(i)===125?(I=q,i++):(I=e,k===0&&R(ir)),I!==e?(ee=s,s=Rl(o,w)):(i=s,s=e)}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;return z[B]={nextPos:i,result:s},s}function ju(){var s,u,g,o,v,d,A=i*77+15,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.substr(i,3)===le?(u=le,i+=3):(u=e,k===0&&R(Xr)),u!==e){for(g=[],o=m();o!==e;)g.push(o),o=m();if(o=Ze(),o!==e){for(v=[],d=f();d!==e;)v.push(d),d=f();d=Nr(),d!==e?(ee=s,s=jl(o,d)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;if(s===e)if(s=i,t.substr(i,3)===le?(u=le,i+=3):(u=e,k===0&&R(Xr)),u!==e){for(g=[],o=m();o!==e;)g.push(o),o=m();o=Nr(),o!==e?(ee=s,s=Dl(o)):(i=s,s=e)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function Bi(){var s,u,g,o,v,d,A,w,F,I=i*77+16,B=z[I];if(B)return i=B.nextPos,B.result;if(s=i,t.substr(i,3)===se?(u=se,i+=3):(u=e,k===0&&R(Et)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;if(g!==e)if(o=Ze(),o!==e){for(v=i,d=[],A=f();A!==e;)d.push(A),A=f();if(t.charCodeAt(i)===58?(A=oe,i++):(A=e,k===0&&R(Mt)),A!==e){for(w=[],F=f();F!==e;)w.push(F),F=f();F=qe(),F!==e?v=F:(i=v,v=e)}else i=v,v=e;for(v===e&&(v=null),d=[],A=f();A!==e;)d.push(A),A=f();if(t.charCodeAt(i)===61?(A=me,i++):(A=e,k===0&&R(hs)),A!==e){for(w=[],F=f();F!==e;)w.push(F),F=f();F=Re(),F!==e?(ee=s,s=Ll(o,v,F)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;if(s===e)if(s=i,t.substr(i,3)===O?(u=O,i+=3):(u=e,k===0&&R(el)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;if(g!==e)if(o=Ze(),o!==e){for(v=i,d=[],A=f();A!==e;)d.push(A),A=f();if(t.charCodeAt(i)===58?(A=oe,i++):(A=e,k===0&&R(Mt)),A!==e){for(w=[],F=f();F!==e;)w.push(F),F=f();F=qe(),F!==e?v=F:(i=v,v=e)}else i=v,v=e;for(v===e&&(v=null),d=[],A=f();A!==e;)d.push(A),A=f();if(t.charCodeAt(i)===61?(A=me,i++):(A=e,k===0&&R(hs)),A!==e){for(w=[],F=f();F!==e;)w.push(F),F=f();F=Re(),F!==e?(ee=s,s=Hl(o,v,F)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;return z[I]={nextPos:i,result:s},s}function Du(){var s,u,g,o,v=i*77+17,d=z[v];if(d)return i=d.nextPos,d.result;if(s=i,t.substr(i,2)===M?(u=M,i+=2):(u=e,k===0&&R(tl)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();o=Re(),o!==e?(ee=s,s=Ul(o)):(i=s,s=e)}else i=s,s=e;return z[v]={nextPos:i,result:s},s}function Lu(){var s,u,g,o,v,d,A,w=i*77+18,F=z[w];if(F)return i=F.nextPos,F.result;if(s=i,t.substr(i,2)===S?(u=S,i+=2):(u=e,k===0&&R(js)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(o=Ze(),o!==e){for(v=i,d=[],A=f();A!==e;)d.push(A),A=f();for(A=Nr(),A!==e?v=A:(i=v,v=e),v===e&&(v=null),d=[],A=f();A!==e;)d.push(A),A=f();t.charCodeAt(i)===93?(A=D,i++):(A=e,k===0&&R(ps)),A!==e?(ee=s,s=zl(o,v)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;return z[w]={nextPos:i,result:s},s}function Hu(){var s,u,g,o,v,d,A,w,F,I,B,W,ie,ke,be=i*77+19,lt=z[be];if(lt)return i=lt.nextPos,lt.result;if(s=i,t.substr(i,4)===H?(u=H,i+=4):(u=e,k===0&&R(Nt)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(t.charCodeAt(i)===40?(o=$,i++):(o=e,k===0&&R(Kt)),o!==e)if(t.substr(i,3)===se?(v=se,i+=3):(v=e,k===0&&R(Et)),v!==e){if(d=[],A=f(),A!==e)for(;A!==e;)d.push(A),A=f();else d=e;if(d!==e)if(A=Ze(),A!==e){for(w=[],F=f();F!==e;)w.push(F),F=f();for(t.charCodeAt(i)===44?(F=K,i++):(F=e,k===0&&R(_t)),F===e&&(F=null),I=[],B=f();B!==e;)I.push(B),B=f();if(B=Re(),B!==e)if(t.charCodeAt(i)===41?(W=C,i++):(W=e,k===0&&R(Ir)),W!==e){for(ie=[],ke=f();ke!==e;)ie.push(ke),ke=f();ke=Fe(),ke!==e?(ee=s,s=Bl(A,B,ke)):(i=s,s=e)}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;if(s===e)if(s=i,t.substr(i,4)===H?(u=H,i+=4):(u=e,k===0&&R(Nt)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;if(g!==e)if(t.substr(i,3)===se?(o=se,i+=3):(o=e,k===0&&R(Et)),o!==e){if(v=[],d=f(),d!==e)for(;d!==e;)v.push(d),d=f();else v=e;if(v!==e)if(d=Ze(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();for(t.charCodeAt(i)===44?(w=K,i++):(w=e,k===0&&R(_t)),w===e&&(w=null),F=[],I=f();I!==e;)F.push(I),I=f();if(I=Re(),I!==e){if(B=[],W=f(),W!==e)for(;W!==e;)B.push(W),W=f();else B=e;B!==e?(W=Fe(),W!==e?(ee=s,s=Kl(d,I,W)):(i=s,s=e)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;return z[be]={nextPos:i,result:s},s}function Uu(){var s,u,g,o,v,d,A,w,F,I,B,W,ie,ke,be,lt=i*77+20,ut=z[lt];if(ut)return i=ut.nextPos,ut.result;if(s=i,t.substr(i,3)===X?(u=X,i+=3):(u=e,k===0&&R(Ds)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(t.charCodeAt(i)===40?(o=$,i++):(o=e,k===0&&R(Kt)),o!==e)if(t.substr(i,3)===se?(v=se,i+=3):(v=e,k===0&&R(Et)),v!==e){if(d=[],A=f(),A!==e)for(;A!==e;)d.push(A),A=f();else d=e;if(d!==e)if(A=Ze(),A!==e){for(w=[],F=f();F!==e;)w.push(F),F=f();if(F=i,t.charCodeAt(i)===61?(I=me,i++):(I=e,k===0&&R(hs)),I!==e){for(B=[],W=f();W!==e;)B.push(W),W=f();W=Re(),W!==e?(ee=F,F=ql(A,W)):(i=F,F=e)}else i=F,F=e;for(F===e&&(F=null),t.charCodeAt(i)===44?(I=K,i++):(I=e,k===0&&R(_t)),I===e&&(I=null),B=[],W=f();W!==e;)B.push(W),W=f();if(W=Re(),W!==e)if(t.charCodeAt(i)===41?(ie=C,i++):(ie=e,k===0&&R(Ir)),ie!==e){for(ke=[],be=f();be!==e;)ke.push(be),be=f();be=Fe(),be!==e?(ee=s,s=Wl(A,F,W,be)):(i=s,s=e)}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;if(s===e){if(s=i,t.substr(i,3)===X?(u=X,i+=3):(u=e,k===0&&R(Ds)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;if(g!==e)if(t.substr(i,3)===se?(o=se,i+=3):(o=e,k===0&&R(Et)),o!==e){if(v=[],d=f(),d!==e)for(;d!==e;)v.push(d),d=f();else v=e;if(v!==e)if(d=Ze(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();if(w=i,t.charCodeAt(i)===61?(F=me,i++):(F=e,k===0&&R(hs)),F!==e){for(I=[],B=f();B!==e;)I.push(B),B=f();B=Re(),B!==e?(ee=w,w=Vl(d,B)):(i=w,w=e)}else i=w,w=e;for(w===e&&(w=null),t.charCodeAt(i)===44?(F=K,i++):(F=e,k===0&&R(_t)),F===e&&(F=null),I=[],B=f();B!==e;)I.push(B),B=f();if(B=Re(),B!==e){if(W=[],ie=f(),ie!==e)for(;ie!==e;)W.push(ie),ie=f();else W=e;W!==e?(ie=Fe(),ie!==e?(ee=s,s=Jl(d,w,B,ie)):(i=s,s=e)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;if(s===e){if(s=i,t.substr(i,3)===X?(u=X,i+=3):(u=e,k===0&&R(Ds)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(t.charCodeAt(i)===40?(o=$,i++):(o=e,k===0&&R(Kt)),o!==e)if(v=Re(),v!==e)if(t.charCodeAt(i)===41?(d=C,i++):(d=e,k===0&&R(Ir)),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();w=Fe(),w!==e?(ee=s,s=Zl(v,w)):(i=s,s=e)}else i=s,s=e;else i=s,s=e;else i=s,s=e}else i=s,s=e;if(s===e)if(s=i,t.substr(i,3)===X?(u=X,i+=3):(u=e,k===0&&R(Ds)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;if(g!==e)if(o=Re(),o!==e){if(v=[],d=f(),d!==e)for(;d!==e;)v.push(d),d=f();else v=e;v!==e?(d=Fe(),d!==e?(ee=s,s=Xl(o,d)):(i=s,s=e)):(i=s,s=e)}else i=s,s=e;else i=s,s=e}else i=s,s=e}}return z[lt]={nextPos:i,result:s},s}function zu(){var s,u,g,o,v,d=i*77+21,A=z[d];if(A)return i=A.nextPos,A.result;if(s=i,t.substr(i,6)===J?(u=J,i+=6):(u=e,k===0&&R($r)),u!==e)if(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e){for(o=[],v=f();v!==e;)o.push(v),v=f();v=Re(),v!==e?(ee=s,s=Yl(v)):(i=s,s=e)}else i=s,s=e;else i=s,s=e;return z[d]={nextPos:i,result:s},s}function Bu(){var s,u,g,o,v,d,A,w,F=i*77+22,I=z[F];if(I)return i=I.nextPos,I.result;if(s=i,t.substr(i,4)===ve?(u=ve,i+=4):(u=e,k===0&&R(rl)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(t.charCodeAt(i)===123?(o=N,i++):(o=e,k===0&&R(vt)),o!==e){for(v=[],d=f();d!==e;)v.push(d),d=f();if(d=_r(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();t.charCodeAt(i)===125?(w=q,i++):(w=e,k===0&&R(ir)),w!==e?(ee=s,s=Ql(d)):(i=s,s=e)}else i=s,s=e}else i=s,s=e}else i=s,s=e;return z[F]={nextPos:i,result:s},s}function Ku(){var s,u,g,o,v=i*77+23,d=z[v];return d?(i=d.nextPos,d.result):(s=i,t.substr(i,5)===ye?(u=ye,i+=5):(u=e,k===0&&R(sl)),u!==e?(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e?(ee=s,s=Gl()):(i=s,s=e)):(i=s,s=e),z[v]={nextPos:i,result:s},s)}function Rr(){var s,u,g,o,v=i*77+24,d=z[v];return d?(i=d.nextPos,d.result):(s=i,t.substr(i,8)===Ee?(u=Ee,i+=8):(u=e,k===0&&R(nl)),u!==e?(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e?(ee=s,s=wi()):(i=s,s=e)):(i=s,s=e),z[v]={nextPos:i,result:s},s)}function Ki(){var s,u,g,o,v,d,A=i*77+25,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,u=Re(),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(t.substr(i,2)===Be?(o=Be,i+=2):(o=e,k===0&&R(il)),o===e&&(t.substr(i,2)===nt?(o=nt,i+=2):(o=e,k===0&&R(ui)),o===e&&(t.charCodeAt(i)===61?(o=me,i++):(o=e,k===0&&R(hs)))),o!==e){for(v=[],d=f();d!==e;)v.push(d),d=f();d=Re(),d!==e?(ee=s,s=eu(u,o,d)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function qu(){var s,u,g,o,v,d,A,w,F=i*77+26,I=z[F];if(I)return i=I.nextPos,I.result;if(s=i,u=ys(),u!==e){for(g=[],o=i,v=[],d=jr();d!==e;)v.push(d),d=jr();if(d=In(),d!==e){for(A=[],w=jr();w!==e;)A.push(w),w=jr();w=ys(),w!==e?(ee=o,o=xi(u,d,w)):(i=o,o=e)}else i=o,o=e;if(o!==e)for(;o!==e;){for(g.push(o),o=i,v=[],d=jr();d!==e;)v.push(d),d=jr();if(d=In(),d!==e){for(A=[],w=jr();w!==e;)A.push(w),w=jr();w=ys(),w!==e?(ee=o,o=xi(u,d,w)):(i=o,o=e)}else i=o,o=e}else g=e;g!==e?(ee=s,s=tu(u,g)):(i=s,s=e)}else i=s,s=e;return z[F]={nextPos:i,result:s},s}function jr(){var s,u,g,o=i*77+27,v=z[o];return v?(i=v.nextPos,v.result):(s=i,t.charCodeAt(i)===92?(u=Pt,i++):(u=e,k===0&&R(oi)),u!==e?(g=Ae(),g!==e?(u=[u,g],s=u):(i=s,s=e)):(i=s,s=e),s===e&&(s=m()),z[o]={nextPos:i,result:s},s)}function In(){var s,u,g=i*77+28,o=z[g];return o?(i=o.nextPos,o.result):(s=i,t.substr(i,2)===Ve?(u=Ve,i+=2):(u=e,k===0&&R(al)),u===e&&(t.substr(i,2)===Ue?(u=Ue,i+=2):(u=e,k===0&&R(ll)),u===e&&(t.substr(i,2)===we?(u=we,i+=2):(u=e,k===0&&R(ul)),u===e&&(t.substr(i,2)===De?(u=De,i+=2):(u=e,k===0&&R(ol)),u===e&&(t.substr(i,2)===it?(u=it,i+=2):(u=e,k===0&&R(fl)),u===e&&(t.substr(i,2)===ct?(u=ct,i+=2):(u=e,k===0&&R(fi)),u===e&&(t.charCodeAt(i)===60?(u=Ie,i++):(u=e,k===0&&R(Pn)),u===e&&(t.charCodeAt(i)===62?(u=dr,i++):(u=e,k===0&&R(ci)),u===e&&(t.charCodeAt(i)===43?(u=ht,i++):(u=e,k===0&&R(cl)),u===e&&(t.charCodeAt(i)===45?(u=kt,i++):(u=e,k===0&&R(hi)),u===e&&(t.charCodeAt(i)===42?(u=st,i++):(u=e,k===0&&R(pi)),u===e&&(t.charCodeAt(i)===94?(u=At,i++):(u=e,k===0&&R(hl)),u===e&&(t.charCodeAt(i)===47?(u=Yt,i++):(u=e,k===0&&R(pl)),u===e&&(t.charCodeAt(i)===37?(u=It,i++):(u=e,k===0&&R(gl))))))))))))))),u!==e&&(ee=s,u=ru()),s=u,z[g]={nextPos:i,result:s},s)}function Wu(){var s,u,g,o=i*77+29,v=z[o];return v?(i=v.nextPos,v.result):(s=i,t.charCodeAt(i)===33?(u=zt,i++):(u=e,k===0&&R(kn)),u!==e?(g=Re(),g!==e?(ee=s,s=su(g)):(i=s,s=e)):(i=s,s=e),z[o]={nextPos:i,result:s},s)}function qi(){var s,u,g,o,v=i*77+30,d=z[v];if(d)return i=d.nextPos,d.result;if(s=i,u=Ui(),u!==e){if(g=[],o=Nn(),o===e&&(o=Wi(),o===e&&(o=Gs())),o!==e)for(;o!==e;)g.push(o),o=Nn(),o===e&&(o=Wi(),o===e&&(o=Gs()));else g=e;g!==e?(ee=s,s=bi(u,g)):(i=s,s=e)}else i=s,s=e;return z[v]={nextPos:i,result:s},s}function Nn(){var s,u,g,o,v,d,A=i*77+31,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.charCodeAt(i)===40?(u=$,i++):(u=e,k===0&&R(Kt)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();for(o=Vu(),o===e&&(o=null),v=[],d=f();d!==e;)v.push(d),d=f();t.charCodeAt(i)===41?(d=C,i++):(d=e,k===0&&R(Ir)),d!==e?(ee=s,s=nu(o)):(i=s,s=e)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function Vu(){var s,u,g,o,v,d,A=i*77+32,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,u=Re(),u!==e){for(g=[],o=i,v=_(),v!==e?(d=Re(),d!==e?(ee=o,o=$i(u,d)):(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=_(),v!==e?(d=Re(),d!==e?(ee=o,o=$i(u,d)):(i=o,o=e)):(i=o,o=e);ee=s,s=iu(u,g)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function Wi(){var s,u,g,o,v,d,A=i*77+33,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.charCodeAt(i)===91?(u=gt,i++):(u=e,k===0&&R(gs)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(o=Re(),o!==e){for(v=[],d=f();d!==e;)v.push(d),d=f();t.charCodeAt(i)===93?(d=D,i++):(d=e,k===0&&R(ps)),d!==e?(ee=s,s=au(o)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function Gs(){var s,u,g,o=i*77+34,v=z[o];return v?(i=v.nextPos,v.result):(s=i,t.charCodeAt(i)===46?(u=T,i++):(u=e,k===0&&R(En)),u!==e?(g=Ze(),g!==e?(ee=s,s=lu(g)):(i=s,s=e)):(i=s,s=e),z[o]={nextPos:i,result:s},s)}function Ju(){var s,u,g,o,v,d,A,w,F,I,B=i*77+35,W=z[B];if(W)return i=W.nextPos,W.result;if(s=i,t.substr(i,2)===L?(u=L,i+=2):(u=e,k===0&&R(dl)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;if(g!==e)if(o=Re(),o!==e){if(v=[],d=f(),d!==e)for(;d!==e;)v.push(d),d=f();else v=e;if(v!==e)if(d=Fe(),d!==e){if(A=i,w=[],F=f(),F!==e)for(;F!==e;)w.push(F),F=f();else w=e;if(w!==e?(F=Zu(),F!==e?A=F:(i=A,A=e)):(i=A,A=e),A===e&&(A=null),w=i,F=[],I=f(),I!==e)for(;I!==e;)F.push(I),I=f();else F=e;F!==e?(I=Xu(),I!==e?w=I:(i=w,w=e)):(i=w,w=e),w===e&&(w=null),ee=s,s=uu(o,d,A,w)}else i=s,s=e;else i=s,s=e}else i=s,s=e;else i=s,s=e}else i=s,s=e;return z[B]={nextPos:i,result:s},s}function Zu(){var s,u,g,o,v,d,A=i*77+36,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,u=Rn(),u!==e){for(g=[],o=i,v=[],d=f();d!==e;)v.push(d),d=f();for(d=Rn(),d!==e?o=d:(i=o,o=e);o!==e;){for(g.push(o),o=i,v=[],d=f();d!==e;)v.push(d),d=f();d=Rn(),d!==e?o=d:(i=o,o=e)}ee=s,s=ou(u,g)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function Rn(){var s,u,g,o,v,d,A,w=i*77+37,F=z[w];if(F)return i=F.nextPos,F.result;if(s=i,t.substr(i,4)===V?(u=V,i+=4):(u=e,k===0&&R(vl)),u!==e)if(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e){for(o=[],v=f();v!==e;)o.push(v),v=f();if(v=Re(),v!==e){for(d=[],A=f();A!==e;)d.push(A),A=f();A=Fe(),A!==e?(ee=s,s=Ai(v,A)):(i=s,s=e)}else i=s,s=e}else i=s,s=e;else i=s,s=e;return z[w]={nextPos:i,result:s},s}function Xu(){var s,u,g,o,v,d=i*77+38,A=z[d];if(A)return i=A.nextPos,A.result;if(s=i,t.substr(i,4)===Q?(u=Q,i+=4):(u=e,k===0&&R(yl)),u!==e)if(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e){for(o=[],v=f();v!==e;)o.push(v),v=f();v=Fe(),v!==e?(ee=s,s=fu(v)):(i=s,s=e)}else i=s,s=e;else i=s,s=e;return z[d]={nextPos:i,result:s},s}function Vi(){var s,u,g,o,v,d,A,w,F,I,B,W,ie,ke,be,lt,ut,Kn=i*77+39,ms=z[Kn];if(ms)return i=ms.nextPos,ms.result;if(s=i,t.substr(i,5)===G?(u=G,i+=5):(u=e,k===0&&R(Ls)),u!==e)if(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e){for(o=[],v=f();v!==e;)o.push(v),v=f();if(v=Re(),v!==e){for(d=[],A=f();A!==e;)d.push(A),A=f();if(t.charCodeAt(i)===123?(A=N,i++):(A=e,k===0&&R(vt)),A!==e){for(w=[],F=f();F!==e;)w.push(F),F=f();if(F=[],I=i,B=Re(),B!==e){for(W=[],ie=f();ie!==e;)W.push(ie),ie=f();if(t.substr(i,2)===ne?(ie=ne,i+=2):(ie=e,k===0&&R(Hs)),ie!==e){for(ke=[],be=f();be!==e;)ke.push(be),be=f();if(be=Fe(),be!==e){for(lt=[],ut=f();ut!==e;)lt.push(ut),ut=f();ee=I,I=_i(v,B,be)}else i=I,I=e}else i=I,I=e}else i=I,I=e;if(I!==e)for(;I!==e;)if(F.push(I),I=i,B=Re(),B!==e){for(W=[],ie=f();ie!==e;)W.push(ie),ie=f();if(t.substr(i,2)===ne?(ie=ne,i+=2):(ie=e,k===0&&R(Hs)),ie!==e){for(ke=[],be=f();be!==e;)ke.push(be),be=f();if(be=Fe(),be!==e){for(lt=[],ut=f();ut!==e;)lt.push(ut),ut=f();ee=I,I=_i(v,B,be)}else i=I,I=e}else i=I,I=e}else i=I,I=e;else F=e;if(F!==e){if(I=i,t.charCodeAt(i)===42?(B=st,i++):(B=e,k===0&&R(pi)),B!==e){for(W=[],ie=f();ie!==e;)W.push(ie),ie=f();if(t.substr(i,2)===ne?(ie=ne,i+=2):(ie=e,k===0&&R(Hs)),ie!==e){for(ke=[],be=f();be!==e;)ke.push(be),be=f();if(be=Fe(),be!==e){for(lt=[],ut=f();ut!==e;)lt.push(ut),ut=f();I=be}else i=I,I=e}else i=I,I=e}else i=I,I=e;for(I===e&&(I=null),B=[],W=f();W!==e;)B.push(W),W=f();t.charCodeAt(i)===125?(W=q,i++):(W=e,k===0&&R(ir)),W!==e?(ee=s,s=cu(v,F,I)):(i=s,s=e)}else i=s,s=e}else i=s,s=e}else i=s,s=e}else i=s,s=e;else i=s,s=e;return z[Kn]={nextPos:i,result:s},s}function Ji(){var s,u,g,o,v,d,A,w,F=i*77+40,I=z[F];if(I)return i=I.nextPos,I.result;if(s=i,t.substr(i,4)===ge?(u=ge,i+=4):(u=e,k===0&&R(Us)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(t.charCodeAt(i)===123?(o=N,i++):(o=e,k===0&&R(vt)),o!==e){for(v=[],d=f();d!==e;)v.push(d),d=f();if(d=_r(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();t.charCodeAt(i)===125?(w=q,i++):(w=e,k===0&&R(ir)),w!==e?(ee=s,s=hu(d)):(i=s,s=e)}else i=s,s=e}else i=s,s=e}else i=s,s=e;return z[F]={nextPos:i,result:s},s}function Zi(){var s,u,g,o,v=i*77+41,d=z[v];if(d)return i=d.nextPos,d.result;if(s=i,t.substr(i,6)===ae?(u=ae,i+=6):(u=e,k===0&&R(ml)),u!==e){if(g=[],o=f(),o!==e)for(;o!==e;)g.push(o),o=f();else g=e;g!==e?(o=Xi(),o!==e?(ee=s,s=pu(o)):(i=s,s=e)):(i=s,s=e)}else i=s,s=e;return z[v]={nextPos:i,result:s},s}function Xi(){var s,u,g=i*77+42,o=z[g];return o?(i=o.nextPos,o.result):(s=i,u=na(),u!==e&&(ee=s,u=Ci(u)),s=u,z[g]={nextPos:i,result:s},s)}function en(){var s,u,g,o,v,d,A=i*77+43,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.charCodeAt(i)===96?(u=fe,i++):(u=e,k===0&&R(zs)),u!==e){for(g=[],o=i,v=i,k++,t.charCodeAt(i)===96?(d=fe,i++):(d=e,k===0&&R(zs)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(d=jn(),d!==e?o=d:(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=i,k++,t.charCodeAt(i)===96?(d=fe,i++):(d=e,k===0&&R(zs)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(d=jn(),d!==e?o=d:(i=o,o=e)):(i=o,o=e);t.charCodeAt(i)===96?(o=fe,i++):(o=e,k===0&&R(zs)),o!==e?(ee=s,s=gu(g)):(i=s,s=e)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function jn(){var s,u,g,o,v,d,A=i*77+44,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.charCodeAt(i)===123?(u=N,i++):(u=e,k===0&&R(vt)),u!==e){for(g=[],o=m();o!==e;)g.push(o),o=m();if(o=Re(),o!==e){for(v=[],d=m();d!==e;)v.push(d),d=m();t.charCodeAt(i)===125?(d=q,i++):(d=e,k===0&&R(ir)),d!==e?s=o:(i=s,s=e)}else i=s,s=e}else i=s,s=e;if(s===e){if(s=i,u=[],g=Dn(),g!==e)for(;g!==e;)u.push(g),g=Dn();else u=e;u!==e&&(ee=s,u=Pi(u)),s=u}return z[A]={nextPos:i,result:s},s}function Dn(){var s,u=i*77+45,g=z[u];return g?(i=g.nextPos,g.result):(s=Yi(),s===e&&(zr.test(t.charAt(i))?(s=t.charAt(i),i++):(s=e,k===0&&R(Bs))),z[u]={nextPos:i,result:s},s)}function Yi(){var s,u,g,o=i*77+46,v=z[o];return v?(i=v.nextPos,v.result):(s=i,t.charCodeAt(i)===92?(u=Pt,i++):(u=e,k===0&&R(oi)),u!==e?(Br.test(t.charAt(i))?(g=t.charAt(i),i++):(g=e,k===0&&R(Ks)),g!==e?s=g:(i=s,s=e)):(i=s,s=e),z[o]={nextPos:i,result:s},s)}function Ln(){var s,u,g,o,v,d,A=i*77+47,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.charCodeAt(i)===34?(u=te,i++):(u=e,k===0&&R(qs)),u!==e){for(g=[],o=i,v=i,k++,t.charCodeAt(i)===34?(d=te,i++):(d=e,k===0&&R(qs)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(d=Qi(),d===e&&(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr))),d!==e?(ee=o,o=ki(d)):(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=i,k++,t.charCodeAt(i)===34?(d=te,i++):(d=e,k===0&&R(qs)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(d=Qi(),d===e&&(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr))),d!==e?(ee=o,o=ki(d)):(i=o,o=e)):(i=o,o=e);t.charCodeAt(i)===34?(o=te,i++):(o=e,k===0&&R(qs)),o!==e?(ee=s,s=du(g)):(i=s,s=e)}else i=s,s=e;if(s===e)if(s=i,t.charCodeAt(i)===39?(u=_e,i++):(u=e,k===0&&R(Ws)),u!==e){for(g=[],o=i,v=i,k++,t.charCodeAt(i)===39?(d=_e,i++):(d=e,k===0&&R(Ws)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(d=Hn(),d===e&&(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr))),d!==e?(ee=o,o=Ei(d)):(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=i,k++,t.charCodeAt(i)===39?(d=_e,i++):(d=e,k===0&&R(Ws)),k--,d===e?v=void 0:(i=v,v=e),v!==e?(d=Hn(),d===e&&(t.length>i?(d=t.charAt(i),i++):(d=e,k===0&&R(yr))),d!==e?(ee=o,o=Ei(d)):(i=o,o=e)):(i=o,o=e);t.charCodeAt(i)===39?(o=_e,i++):(o=e,k===0&&R(Ws)),o!==e?(ee=s,s=vu(g)):(i=s,s=e)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function Qi(){var s,u,g=i*77+48,o=z[g];return o?(i=o.nextPos,o.result):(s=i,t.substr(i,2)===xe?(u=xe,i+=2):(u=e,k===0&&R(Vs)),u!==e&&(ee=s,u=yu()),s=u,z[g]={nextPos:i,result:s},s)}function Hn(){var s,u,g=i*77+49,o=z[g];return o?(i=o.nextPos,o.result):(s=i,t.substr(i,2)===Ce?(u=Ce,i+=2):(u=e,k===0&&R(gi)),u!==e&&(ee=s,u=mu()),s=u,z[g]={nextPos:i,result:s},s)}function Gi(){var s,u=i*77+50,g=z[u];return g?(i=g.nextPos,g.result):(s=Yu(),s===e&&(s=ea()),z[u]={nextPos:i,result:s},s)}function Yu(){var s,u,g,o,v,d,A=i*77+51,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,dt.test(t.charAt(i))?(t.charAt(i),i++):k===0&&R(qt),at.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,k===0&&R(di)),u!==e){if(g=[],Bt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(wr)),o!==e)for(;o!==e;)g.push(o),Bt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(wr));else g=e;if(g!==e)if(t.charCodeAt(i)===46?(o=T,i++):(o=e,k===0&&R(En)),o!==e){if(v=[],Bt.test(t.charAt(i))?(d=t.charAt(i),i++):(d=e,k===0&&R(wr)),d!==e)for(;d!==e;)v.push(d),Bt.test(t.charAt(i))?(d=t.charAt(i),i++):(d=e,k===0&&R(wr));else v=e;v!==e?(ee=s,s=wu()):(i=s,s=e)}else i=s,s=e;else i=s,s=e}else i=s,s=e;if(s===e)if(s=i,dt.test(t.charAt(i))?(t.charAt(i),i++):k===0&&R(qt),Bt.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,k===0&&R(wr)),u!==e)if(t.charCodeAt(i)===46?(g=T,i++):(g=e,k===0&&R(En)),g!==e){if(o=[],Bt.test(t.charAt(i))?(v=t.charAt(i),i++):(v=e,k===0&&R(wr)),v!==e)for(;v!==e;)o.push(v),Bt.test(t.charAt(i))?(v=t.charAt(i),i++):(v=e,k===0&&R(wr));else o=e;o!==e?(ee=s,s=xu()):(i=s,s=e)}else i=s,s=e;else i=s,s=e;return z[A]={nextPos:i,result:s},s}function ea(){var s,u,g,o,v=i*77+52,d=z[v];if(d)return i=d.nextPos,d.result;if(s=i,dt.test(t.charAt(i))?(t.charAt(i),i++):k===0&&R(qt),at.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,k===0&&R(di)),u!==e){if(g=[],Bt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(wr)),o!==e)for(;o!==e;)g.push(o),Bt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(wr));else g=e;g!==e?(ee=s,s=bu()):(i=s,s=e)}else i=s,s=e;return s===e&&(s=i,dt.test(t.charAt(i))?(t.charAt(i),i++):k===0&&R(qt),Bt.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,k===0&&R(wr)),u!==e?(ee=s,s=$u()):(i=s,s=e)),z[v]={nextPos:i,result:s},s}function ta(){var s,u=i*77+53,g=z[u];return g?(i=g.nextPos,g.result):(s=Qu(),s===e&&(s=Un()),z[u]={nextPos:i,result:s},s)}function Qu(){var s,u,g,o,v=i*77+54,d=z[v];return d?(i=d.nextPos,d.result):(s=i,t.substr(i,4)===Pe?(u=Pe,i+=4):(u=e,k===0&&R(wl)),u!==e?(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e?(ee=s,s=Mi()):(i=s,s=e)):(i=s,s=e),z[v]={nextPos:i,result:s},s)}function Un(){var s,u,g,o,v=i*77+55,d=z[v];return d?(i=d.nextPos,d.result):(s=i,t.substr(i,5)===Te?(u=Te,i+=5):(u=e,k===0&&R(Js)),u!==e?(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e?(ee=s,s=Au()):(i=s,s=e)):(i=s,s=e),z[v]={nextPos:i,result:s},s)}function zn(){var s,u,g,o,v=i*77+56,d=z[v];return d?(i=d.nextPos,d.result):(s=i,t.substr(i,4)===ze?(u=ze,i+=4):(u=e,k===0&&R(xl)),u!==e?(g=i,k++,Qt.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(Ar)),k--,o===e?g=void 0:(i=g,g=e),g!==e?(ee=s,s=Fi()):(i=s,s=e)):(i=s,s=e),z[v]={nextPos:i,result:s},s)}function ra(){var s,u,g,o,v,d,A,w,F,I,B,W,ie,ke,be=i*77+57,lt=z[be];if(lt)return i=lt.nextPos,lt.result;if(s=i,t.charCodeAt(i)===123?(u=N,i++):(u=e,k===0&&R(vt)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(o=[],v=i,d=Ze(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();if(t.charCodeAt(i)===58?(w=oe,i++):(w=e,k===0&&R(Mt)),w!==e){if(F=[],I=f(),I!==e)for(;I!==e;)F.push(I),I=f();else F=e;if(F!==e)if(I=Re(),I!==e){for(B=[],W=f();W!==e;)B.push(W),W=f();for(t.charCodeAt(i)===44?(W=K,i++):(W=e,k===0&&R(_t)),W===e&&(t.charCodeAt(i)===59?(W=Le,i++):(W=e,k===0&&R(ds))),W===e&&(W=null),ie=[],ke=f();ke!==e;)ie.push(ke),ke=f();ee=v,v=Si(d,I)}else i=v,v=e;else i=v,v=e}else i=v,v=e}else i=v,v=e;for(;v!==e;)if(o.push(v),v=i,d=Ze(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();if(t.charCodeAt(i)===58?(w=oe,i++):(w=e,k===0&&R(Mt)),w!==e){if(F=[],I=f(),I!==e)for(;I!==e;)F.push(I),I=f();else F=e;if(F!==e)if(I=Re(),I!==e){for(B=[],W=f();W!==e;)B.push(W),W=f();for(t.charCodeAt(i)===44?(W=K,i++):(W=e,k===0&&R(_t)),W===e&&(t.charCodeAt(i)===59?(W=Le,i++):(W=e,k===0&&R(ds))),W===e&&(W=null),ie=[],ke=f();ke!==e;)ie.push(ke),ke=f();ee=v,v=Si(d,I)}else i=v,v=e;else i=v,v=e}else i=v,v=e}else i=v,v=e;t.charCodeAt(i)===125?(v=q,i++):(v=e,k===0&&R(ir)),v!==e?(ee=s,s=_u(o)):(i=s,s=e)}else i=s,s=e;return z[be]={nextPos:i,result:s},s}function Gu(){var s,u,g,o,v,d,A,w,F,I,B=i*77+58,W=z[B];if(W)return i=W.nextPos,W.result;if(s=i,t.charCodeAt(i)===91?(u=gt,i++):(u=e,k===0&&R(gs)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(o=[],v=i,d=Re(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();for(t.charCodeAt(i)===44?(w=K,i++):(w=e,k===0&&R(_t)),w===e&&(w=null),F=[],I=f();I!==e;)F.push(I),I=f();ee=v,v=Ti(d)}else i=v,v=e;for(;v!==e;)if(o.push(v),v=i,d=Re(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();for(t.charCodeAt(i)===44?(w=K,i++):(w=e,k===0&&R(_t)),w===e&&(w=null),F=[],I=f();I!==e;)F.push(I),I=f();ee=v,v=Ti(d)}else i=v,v=e;for(v=[],d=f();d!==e;)v.push(d),d=f();t.charCodeAt(i)===93?(d=D,i++):(d=e,k===0&&R(ps)),d!==e?(ee=s,s=Cu(o)):(i=s,s=e)}else i=s,s=e;return z[B]={nextPos:i,result:s},s}function Bn(){var s,u,g,o,v,d,A,w=i*77+59,F=z[w];if(F)return i=F.nextPos,F.result;if(s=i,u=Ze(),u!==e){for(g=i,o=[],v=f();v!==e;)o.push(v),v=f();if(t.charCodeAt(i)===58?(v=oe,i++):(v=e,k===0&&R(Mt)),v!==e){for(d=[],A=f();A!==e;)d.push(A),A=f();A=qe(),A!==e?g=A:(i=g,g=e)}else i=g,g=e;g===e&&(g=null),ee=s,s=Pu(u,g)}else i=s,s=e;return z[w]={nextPos:i,result:s},s}function sa(){var s,u,g,o,v,d,A=i*77+60,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,u=Bn(),u!==e){for(g=[],o=i,v=_(),v!==e?(d=Bn(),d!==e?o=d:(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=_(),v!==e?(d=Bn(),d!==e?o=d:(i=o,o=e)):(i=o,o=e);ee=s,s=Oi(u,g)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function lr(){var s,u,g,o,v,d,A,w,F,I,B,W,ie,ke,be,lt,ut,Kn=i*77+61,ms=z[Kn];if(ms)return i=ms.nextPos,ms.result;if(s=i,t.charCodeAt(i)===64?(u=Ye,i++):(u=e,k===0&&R(bl)),u!==e){for(g=[],o=m();o!==e;)g.push(o),o=m();if(o=Ze(),o!==e){for(v=[],d=m();d!==e;)v.push(d),d=m();if(t.charCodeAt(i)===40?(d=$,i++):(d=e,k===0&&R(Kt)),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();for(w=sa(),w===e&&(w=null),F=[],I=f();I!==e;)F.push(I),I=f();if(t.charCodeAt(i)===41?(I=C,i++):(I=e,k===0&&R(Ir)),I!==e){for(B=i,W=[],ie=f();ie!==e;)W.push(ie),ie=f();if(t.charCodeAt(i)===58?(ie=oe,i++):(ie=e,k===0&&R(Mt)),ie!==e){for(ke=[],be=f();be!==e;)ke.push(be),be=f();be=qe(),be!==e?B=be:(i=B,B=e)}else i=B,B=e;for(B===e&&(B=null),W=[],ie=f();ie!==e;)W.push(ie),ie=f();if(t.charCodeAt(i)===123?(ie=N,i++):(ie=e,k===0&&R(vt)),ie!==e){for(ke=[],be=f();be!==e;)ke.push(be),be=f();for(be=_r(),be===e&&(be=null),lt=[],ut=f();ut!==e;)lt.push(ut),ut=f();t.charCodeAt(i)===125?(ut=q,i++):(ut=e,k===0&&R(ir)),ut!==e?(ee=s,s=ku(g,o,v,w,B,be)):(i=s,s=e)}else i=s,s=e}else i=s,s=e}else i=s,s=e}else i=s,s=e}else i=s,s=e;return z[Kn]={nextPos:i,result:s},s}function eo(){var s,u,g,o,v,d,A,w,F,I,B,W,ie,ke=i*77+62,be=z[ke];if(be)return i=be.nextPos,be.result;if(s=i,t.substr(i,2)===xt?(u=xt,i+=2):(u=e,k===0&&R(Mn)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();for(o=sa(),o===e&&(o=null),v=[],d=f();d!==e;)v.push(d),d=f();if(t.charCodeAt(i)===41?(d=C,i++):(d=e,k===0&&R(Ir)),d!==e){for(A=i,w=[],F=f();F!==e;)w.push(F),F=f();if(t.charCodeAt(i)===58?(F=oe,i++):(F=e,k===0&&R(Mt)),F!==e){for(I=[],B=f();B!==e;)I.push(B),B=f();B=qe(),B!==e?A=B:(i=A,A=e)}else i=A,A=e;for(A===e&&(A=null),w=[],F=f();F!==e;)w.push(F),F=f();if(t.charCodeAt(i)===123?(F=N,i++):(F=e,k===0&&R(vt)),F!==e){for(I=[],B=f();B!==e;)I.push(B),B=f();for(B=_r(),B===e&&(B=null),W=[],ie=f();ie!==e;)W.push(ie),ie=f();t.charCodeAt(i)===125?(ie=q,i++):(ie=e,k===0&&R(ir)),ie!==e?(ee=s,s=Ii(o,A,B)):(i=s,s=e)}else i=s,s=e}else i=s,s=e}else i=s,s=e;return z[ke]={nextPos:i,result:s},s}function to(){var s,u,g,o,v,d,A,w,F,I,B=i*77+63,W=z[B];if(W)return i=W.nextPos,W.result;if(s=i,t.charCodeAt(i)===91?(u=gt,i++):(u=e,k===0&&R(gs)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(o=[],v=i,d=Nr(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();for(t.charCodeAt(i)===44?(w=K,i++):(w=e,k===0&&R(_t)),w===e&&(w=null),F=[],I=f();I!==e;)F.push(I),I=f();ee=v,v=Ni(d)}else i=v,v=e;for(;v!==e;)if(o.push(v),v=i,d=Nr(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();for(t.charCodeAt(i)===44?(w=K,i++):(w=e,k===0&&R(_t)),w===e&&(w=null),F=[],I=f();I!==e;)F.push(I),I=f();ee=v,v=Ni(d)}else i=v,v=e;for(v=[],d=f();d!==e;)v.push(d),d=f();t.charCodeAt(i)===93?(d=D,i++):(d=e,k===0&&R(ps)),d!==e?(ee=s,s=Eu(o)):(i=s,s=e)}else i=s,s=e;return z[B]={nextPos:i,result:s},s}function ro(){var s,u,g,o,v,d,A,w,F,I,B,W,ie,ke,be=i*77+64,lt=z[be];if(lt)return i=lt.nextPos,lt.result;if(s=i,t.charCodeAt(i)===123?(u=N,i++):(u=e,k===0&&R(vt)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();if(o=[],v=i,d=Ze(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();if(t.charCodeAt(i)===58?(w=oe,i++):(w=e,k===0&&R(Mt)),w!==e){if(F=[],I=f(),I!==e)for(;I!==e;)F.push(I),I=f();else F=e;if(F!==e)if(I=Nr(),I!==e){for(B=[],W=f();W!==e;)B.push(W),W=f();for(t.charCodeAt(i)===44?(W=K,i++):(W=e,k===0&&R(_t)),W===e&&(t.charCodeAt(i)===59?(W=Le,i++):(W=e,k===0&&R(ds))),W===e&&(W=null),ie=[],ke=f();ke!==e;)ie.push(ke),ke=f();ee=v,v=Ri(d,I)}else i=v,v=e;else i=v,v=e}else i=v,v=e}else i=v,v=e;for(;v!==e;)if(o.push(v),v=i,d=Ze(),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();if(t.charCodeAt(i)===58?(w=oe,i++):(w=e,k===0&&R(Mt)),w!==e){if(F=[],I=f(),I!==e)for(;I!==e;)F.push(I),I=f();else F=e;if(F!==e)if(I=Nr(),I!==e){for(B=[],W=f();W!==e;)B.push(W),W=f();for(t.charCodeAt(i)===44?(W=K,i++):(W=e,k===0&&R(_t)),W===e&&(t.charCodeAt(i)===59?(W=Le,i++):(W=e,k===0&&R(ds))),W===e&&(W=null),ie=[],ke=f();ke!==e;)ie.push(ke),ke=f();ee=v,v=Ri(d,I)}else i=v,v=e;else i=v,v=e}else i=v,v=e}else i=v,v=e;t.charCodeAt(i)===125?(v=q,i++):(v=e,k===0&&R(ir)),v!==e?(ee=s,s=Mu(o)):(i=s,s=e)}else i=s,s=e;return z[be]={nextPos:i,result:s},s}function qe(){var s,u=i*77+65,g=z[u];return g?(i=g.nextPos,g.result):(s=so(),s===e&&(s=er()),z[u]={nextPos:i,result:s},s)}function so(){var s,u,g,o,v,d,A,w,F,I,B=i*77+66,W=z[B];if(W)return i=W.nextPos,W.result;if(s=i,t.substr(i,2)===xt?(u=xt,i+=2):(u=e,k===0&&R(Mn)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();for(o=es(),o===e&&(o=null),v=[],d=f();d!==e;)v.push(d),d=f();if(t.charCodeAt(i)===41?(d=C,i++):(d=e,k===0&&R(Ir)),d!==e){for(A=[],w=f();w!==e;)A.push(w),w=f();if(t.substr(i,2)===ne?(w=ne,i+=2):(w=e,k===0&&R(Hs)),w!==e){for(F=[],I=f();I!==e;)F.push(I),I=f();I=qe(),I!==e?(ee=s,s=Fu(o,I)):(i=s,s=e)}else i=s,s=e}else i=s,s=e}else i=s,s=e;return z[B]={nextPos:i,result:s},s}function es(){var s,u,g,o,v,d,A=i*77+67,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,u=qe(),u!==e){for(g=[],o=i,v=_(),v!==e?(d=qe(),d!==e?o=d:(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,v=_(),v!==e?(d=qe(),d!==e?o=d:(i=o,o=e)):(i=o,o=e);ee=s,s=Su(u,g)}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function er(){var s,u,g,o,v,d,A,w,F=i*77+68,I=z[F];if(I)return i=I.nextPos,I.result;if(s=i,u=Ze(),u!==e){for(g=[],o=m();o!==e;)g.push(o),o=m();if(t.charCodeAt(i)===60?(o=Ie,i++):(o=e,k===0&&R(Pn)),o!==e){for(v=[],d=m();d!==e;)v.push(d),d=m();if(d=qe(),d!==e){for(A=[],w=m();w!==e;)A.push(w),w=m();t.charCodeAt(i)===62?(w=dr,i++):(w=e,k===0&&R(ci)),w!==e?(ee=s,s=Tu(u,d)):(i=s,s=e)}else i=s,s=e}else i=s,s=e}else i=s,s=e;return s===e&&(s=i,u=Ze(),u!==e&&(ee=s,u=Ou(u)),s=u),z[F]={nextPos:i,result:s},s}function Ze(){var s,u,g,o,v=i*77+69,d=z[v];if(d)return i=d.nextPos,d.result;if(s=i,ai.test(t.charAt(i))?(u=t.charAt(i),i++):(u=e,k===0&&R($l)),u!==e){for(g=[],li.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(vi));o!==e;)g.push(o),li.test(t.charAt(i))?(o=t.charAt(i),i++):(o=e,k===0&&R(vi));ee=s,s=a()}else i=s,s=e;return z[v]={nextPos:i,result:s},s}function na(){var s,u,g,o,v,d,A=i*77+70,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,u=Ze(),u!==e){for(g=[],o=i,t.charCodeAt(i)===58?(v=oe,i++):(v=e,k===0&&R(Mt)),v!==e?(d=Ze(),d!==e?(v=[v,d],o=v):(i=o,o=e)):(i=o,o=e);o!==e;)g.push(o),o=i,t.charCodeAt(i)===58?(v=oe,i++):(v=e,k===0&&R(Mt)),v!==e?(d=Ze(),d!==e?(v=[v,d],o=v):(i=o,o=e)):(i=o,o=e);ee=s,s=re()}else i=s,s=e;return z[A]={nextPos:i,result:s},s}function _(){var s,u,g,o,v,d=i*77+71,A=z[d];if(A)return i=A.nextPos,A.result;for(s=i,u=[],g=f();g!==e;)u.push(g),g=f();if(t.charCodeAt(i)===44?(g=K,i++):(g=e,k===0&&R(_t)),g!==e){for(o=[],v=f();v!==e;)o.push(v),v=f();u=[u,g,o],s=u}else i=s,s=e;if(s===e)if(s=[],u=f(),u!==e)for(;u!==e;)s.push(u),u=f();else s=e;return z[d]={nextPos:i,result:s},s}function Fe(){var s,u,g,o,v,d,A=i*77+72,w=z[A];if(w)return i=w.nextPos,w.result;if(s=i,t.charCodeAt(i)===123?(u=N,i++):(u=e,k===0&&R(vt)),u!==e){for(g=[],o=f();o!==e;)g.push(o),o=f();for(o=_r(),o===e&&(o=null),v=[],d=f();d!==e;)v.push(d),d=f();t.charCodeAt(i)===125?(d=q,i++):(d=e,k===0&&R(ir)),d!==e?(ee=s,s=Zs(o)):(i=s,s=e)}else i=s,s=e;return s===e&&(s=Gr()),z[A]={nextPos:i,result:s},s}function Ae(){var s,u=i*77+73,g=z[u];return g?(i=g.nextPos,g.result):(t.substr(i,2)===bt?(s=bt,i+=2):(s=e,k===0&&R(Al)),s===e&&(Ya.test(t.charAt(i))?(s=t.charAt(i),i++):(s=e,k===0&&R(_l))),z[u]={nextPos:i,result:s},s)}function l(){var s,u,g=i*77+74,o=z[g];return o?(i=o.nextPos,o.result):(s=i,k++,t.length>i?(u=t.charAt(i),i++):(u=e,k===0&&R(yr)),k--,u===e?s=void 0:(i=s,s=e),s===e&&(s=Ae()),z[g]={nextPos:i,result:s},s)}function f(){var s,u=i*77+75,g=z[u];return g?(i=g.nextPos,g.result):(Qa.test(t.charAt(i))?(s=t.charAt(i),i++):(s=e,k===0&&R(Cl)),z[u]={nextPos:i,result:s},s)}function m(){var s,u=i*77+76,g=z[u];return g?(i=g.nextPos,g.result):(vr.test(t.charAt(i))?(s=t.charAt(i),i++):(s=e,k===0&&R(Pl)),z[u]={nextPos:i,result:s},s)}function h(s,u,g){const o={type:s};u.children=g;for(const d of Object.keys(u))u[d]!==void 0&&(o[d]=u[d]);const v=ar();return o.loc={start:v.start.offset,end:v.end.offset-1},o}if(Xs=p(),Xs!==e&&i===t.length)return Xs;throw Xs!==e&&i`}else return t.name;case"fnTypeSource":{const r=t.args.map(n=>ya(n)).join(", "),e=ya(t.result);return`@(${r}) { ${e} }`}}}function hn(t){if(t.type==="namedTypeSource"){switch(t.name){case"null":case"bool":case"num":case"str":case"any":case"void":{if(t.inner==null)return Vf(t.name);break}case"arr":case"obj":{let r;return t.inner!=null?r=hn(t.inner):r=Vf("any"),bd(t.name,[r])}}throw new Ts(`Unknown type: '${ya(t)}'`)}else{const r=t.args.map(e=>hn(e));return $d(r,hn(t.result))}}function Ad(t){switch(t.type){case"def":{t.varType!=null&&hn(t.varType);break}case"fn":{for(const r of t.args)r.argType!=null&&hn(r.argType);t.retType!=null&&hn(t.retType);break}}return t}function _d(t){for(const r of t)Se(r,Ad);return t}function ma(t){const r=[],e=[];for(const n of t)if(n.type==="attr")e.push(n);else if(n.type==="def")n.attr==null&&(n.attr=[]),n.attr.push(...e),e.splice(0,e.length),n.expr.type==="fn"&&(n.expr.children=ma(n.expr.children)),r.push(n);else{if(e.length>0)throw new Ts("invalid attribute.");switch(n.type){case"fn":{n.children=ma(n.children);break}case"block":{n.statements=ma(n.statements);break}}r.push(n)}if(e.length>0)throw new Ts("invalid attribute.");return r}function Cd(t){if(dd(t)&&fh(t)&&t.chain!=null){const{chain:r,...e}=t;let n=e;for(const c of r)switch(c.type){case"callChain":{n=vd(n,c.args,c.loc);break}case"indexChain":{n=yd(n,c.index,c.loc);break}case"propChain":{n=md(n,c.name,c.loc);break}}return n}return t}function Pd(t){for(let r=0;r":{func:"Core:gt",priority:4},"<=":{func:"Core:lteq",priority:4},">=":{func:"Core:gteq",priority:4},"&&":{mapFn:t=>({type:"and",left:_s(t.left),right:_s(t.right)}),priority:3},"||":{mapFn:t=>({type:"or",left:_s(t.left),right:_s(t.right)}),priority:3}};function Ed(t){const r=t.operators.map(n=>{const c=kd[n];if(c==null)throw new Ts(`No such operator: ${n}.`);return c});let e=wa(t.operands[0],t.operands[1],r[0]);for(let n=0;ne.type==="infix"?Ed(e):e);return t}const nn=class{constructor(){Qe(this,"plugins");this.plugins={validate:[xd,_d],transform:[ma,Pd,Md]}}static parse(r){return nn.instance==null&&(nn.instance=new nn),nn.instance.parse(r)}addPlugin(r,e){switch(r){case"validate":this.plugins.validate.push(e);break;case"transform":this.plugins.transform.push(e);break;default:throw new Error("unknown plugin type")}}parse(r){let e;try{const n=Wf(r,{startRule:"Preprocess"});e=Wf(n,{startRule:"Main"})}catch(n){throw n.location?n.expected?new Ts(`Parsing error. (Line ${n.location.start.line}:${n.location.start.column})`,n):new Ts(`${n.message} (Line ${n.location.start.line}:${n.location.start.column})`,n):n}for(const n of this.plugins.validate)e=n(e);for(const n of this.plugins.transform)e=n(e);return e}};let xa=nn;Qe(xa,"instance");function Gn(){return Gn=Object.assign||function(t){for(var r=1;r";return r},lineNumbersCount:function(){var r=this.codeData.split(/\r\n|\n/).length;return r}},mounted:function(){this._recordCurrentState(),this.styleLineNumbers()},methods:{setLineNumbersHeight:function(){this.lineNumbersHeight=getComputedStyle(this.$refs.pre).height},styleLineNumbers:function(){if(!(!this.lineNumbers||!this.autoStyleLineNumbers)){var r=this.$refs.pre,e=this.$el.querySelector(".prism-editor__line-numbers"),n=window.getComputedStyle(r);this.$nextTick(function(){var c="border-top-left-radius",p="border-bottom-left-radius";if(!!e){e.style[c]=n[c],e.style[p]=n[p],r.style[c]="0",r.style[p]="0";var x=["background-color","margin-top","padding-top","font-family","font-size","line-height"];x.forEach(function(y){e.style[y]=n[y]}),e.style["margin-bottom"]="-"+n["padding-top"]}})}},_recordCurrentState:function(){var r=this.$refs.textarea;if(!!r){var e=r.value,n=r.selectionStart,c=r.selectionEnd;this._recordChange({value:e,selectionStart:n,selectionEnd:c})}},_getLines:function(r,e){return r.substring(0,e).split(` +`)},_applyEdits:function(r){var e=this.$refs.textarea,n=this.history.stack[this.history.offset];n&&e&&(this.history.stack[this.history.offset]=Gn({},n,{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd})),this._recordChange(r),this._updateInput(r)},_recordChange:function(r,e){e===void 0&&(e=!1);var n=this.history,c=n.stack,p=n.offset;if(c.length&&p>-1){this.history.stack=c.slice(0,p+1);var x=this.history.stack.length;if(x>Qf){var y=x-Qf;this.history.stack=c.slice(y,x),this.history.offset=Math.max(this.history.offset-y,0)}}var b=Date.now();if(e){var $=this.history.stack[this.history.offset];if($&&b-$.timestamp=P&&Be<=N&&Ee.startsWith($)?Ee.substring($.length):Ee}).join(` +`);if(x!==q){var le=C[P];this._applyEdits({value:q,selectionStart:le.startsWith($)?y-$.length:y,selectionEnd:b-(x.length-q.length)})}}else if(y!==b){var se=this._getLines(x,y),oe=se.length-1,me=this._getLines(x,b).length-1,O=se[oe];this._applyEdits({value:x.split(` +`).map(function(Ee,Be){return Be>=oe&&Be<=me?$+Ee:Ee}).join(` +`),selectionStart:/\S/.test(O)?y+$.length:y,selectionEnd:b+$.length*(me-oe+1)})}else{var M=y+$.length;this._applyEdits({value:x.substring(0,y)+$+x.substring(b),selectionStart:M,selectionEnd:M})}else if(r.keyCode===Td){var S=y!==b,D=x.substring(0,y);if(D.endsWith($)&&!S){r.preventDefault();var H=y-$.length;this._applyEdits({value:x.substring(0,y-$.length)+x.substring(b),selectionStart:H,selectionEnd:H})}}else if(r.keyCode===Fd){if(y===b){var K=this._getLines(x,y).pop(),X=K==null?void 0:K.match(/^\s+/);if(X&&X[0]){r.preventDefault();var J=` +`+X[0],ve=y+J.length;this._applyEdits({value:x.substring(0,y)+J+x.substring(b),selectionStart:ve,selectionEnd:ve})}}}else if(r.keyCode===Jf||r.keyCode===Zf||r.keyCode===Xf||r.keyCode===Yf){var ye;r.keyCode===Jf&&r.shiftKey?ye=["(",")"]:r.keyCode===Zf?r.shiftKey?ye=["{","}"]:ye=["[","]"]:r.keyCode===Xf?r.shiftKey?ye=['"','"']:ye=["'","'"]:r.keyCode===Yf&&!r.shiftKey&&(ye=["`","`"]),y!==b&&ye&&(r.preventDefault(),this._applyEdits({value:x.substring(0,y)+ye[0]+x.substring(y,b)+ye[1]+x.substring(b),selectionStart:y,selectionEnd:b+2}))}else(yo?r.metaKey&&r.keyCode===ha:r.ctrlKey&&r.keyCode===ha)&&!r.shiftKey&&!r.altKey?(r.preventDefault(),this._undoEdit()):(yo?r.metaKey&&r.keyCode===ha&&r.shiftKey:jd?r.ctrlKey&&r.keyCode===Od:r.ctrlKey&&r.keyCode===ha&&r.shiftKey)&&!r.altKey?(r.preventDefault(),this._redoEdit()):r.keyCode===Id&&r.ctrlKey&&(yo?r.shiftKey:!0)&&(r.preventDefault(),this.capture=!this.capture)}}},render:function(){var r=this,e=bs("div",{class:"prism-editor__line-width-calc",style:"height: 0px; visibility: hidden; pointer-events: none;"},"999"),n=bs("div",{class:"prism-editor__line-numbers",style:{"min-height":this.lineNumbersHeight},"aria-hidden":"true"},[e,Array.from(Array(this.lineNumbersCount).keys()).map(function(y,b){return bs("div",{class:"prism-editor__line-number token comment"},""+ ++b)})]),c=bs("textarea",{ref:"textarea",onInput:this.handleChange,onKeydown:this.handleKeyDown,onClick:function(b){r.$emit("click",b)},onKeyup:function(b){r.$emit("keyup",b)},onFocus:function(b){r.$emit("focus",b)},onBlur:function(b){r.$emit("blur",b)},class:{"prism-editor__textarea":!0,"prism-editor__textarea--empty":this.isEmpty},spellCheck:"false",autocapitalize:"off",autocomplete:"off",autocorrect:"off","data-gramm":"false",placeholder:this.placeholder,"data-testid":"textarea",readonly:this.readonly,value:this.codeData}),p=bs("pre",{ref:"pre",class:"prism-editor__editor","data-testid":"preview",innerHTML:this.content}),x=bs("div",{class:"prism-editor__container"},[c,p]);return bs("div",{class:"prism-editor-wrapper"},[this.lineNumbers&&n,x])}});var Dd={exports:{}};(function(t){var r=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var e=function(n){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,p=0,x={},y={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function O(M){return M instanceof b?new b(M.type,O(M.content),M.alias):Array.isArray(M)?M.map(O):M.replace(/&/g,"&").replace(/"+H.content+""};function $(O,M,S,D){O.lastIndex=M;var H=O.exec(S);if(H&&D&&H[1]){var K=H[1].length;H.index+=K,H[0]=H[0].slice(K)}return H}function C(O,M,S,D,H,K){for(var X in S)if(!(!S.hasOwnProperty(X)||!S[X])){var J=S[X];J=Array.isArray(J)?J:[J];for(var ve=0;ve=K.reach);De+=we.value.length,we=we.next){var it=we.value;if(M.length>O.length)return;if(!(it instanceof b)){var ct=1,Ie;if(nt){if(Ie=$(Ue,De,O,Be),!Ie||Ie.index>=O.length)break;var st=Ie.index,dr=Ie.index+Ie[0].length,ht=De;for(ht+=we.value.length;st>=ht;)we=we.next,ht+=we.value.length;if(ht-=we.value.length,De=ht,we.value instanceof b)continue;for(var kt=we;kt!==M.tail&&(htK.reach&&(K.reach=zt);var gt=we.prev;Yt&&(gt=N(M,gt,Yt),De+=Yt.length),q(M,gt,ct);var T=new b(X,Ee?y.tokenize(At,Ee):At,Pt,At);if(we=N(M,gt,T),It&&N(M,we,It),ct>1){var L={cause:X+","+ve,reach:zt};C(O,M,S,we.prev,De,L),K&&L.reach>K.reach&&(K.reach=L.reach)}}}}}}function P(){var O={value:null,prev:null,next:null},M={value:null,prev:O,next:null};O.next=M,this.head=O,this.tail=M,this.length=0}function N(O,M,S){var D=M.next,H={value:S,prev:M,next:D};return M.next=H,D.prev=H,O.length++,H}function q(O,M,S){for(var D=M.next,H=0;H/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(c,p){var x={};x["language-"+p]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[p]},x.cdata=/^$/i;var y={"included-cdata":{pattern://i,inside:x}};y["language-"+p]={pattern:/[\s\S]+/,inside:e.languages[p]};var b={};b[c]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return c}),"i"),lookbehind:!0,greedy:!0,inside:y},e.languages.insertBefore("markup","cdata",b)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(n,c){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[c,"language-"+c],inside:e.languages[c]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(n){var c=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+c.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+c.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+c.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+c.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:c,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var p=n.languages.markup;p&&(p.tag.addInlined("style","css"),p.tag.addAttribute("style","css"))}(e),e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript,function(){if(typeof e=="undefined"||typeof document=="undefined")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n="Loading\u2026",c=function(se,oe){return"\u2716 Error "+se+" while fetching file: "+oe},p="\u2716 Error: File does not exist or is empty",x={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},y="data-src-status",b="loading",$="loaded",C="failed",P="pre[data-src]:not(["+y+'="'+$+'"]):not(['+y+'="'+b+'"])';function N(se,oe,me){var O=new XMLHttpRequest;O.open("GET",se,!0),O.onreadystatechange=function(){O.readyState==4&&(O.status<400&&O.responseText?oe(O.responseText):O.status>=400?me(c(O.status,O.statusText)):me(p))},O.send(null)}function q(se){var oe=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(se||"");if(oe){var me=Number(oe[1]),O=oe[2],M=oe[3];return O?M?[me,Number(M)]:[me,void 0]:[me,me]}}e.hooks.add("before-highlightall",function(se){se.selector+=", "+P}),e.hooks.add("before-sanity-check",function(se){var oe=se.element;if(oe.matches(P)){se.code="",oe.setAttribute(y,b);var me=oe.appendChild(document.createElement("CODE"));me.textContent=n;var O=oe.getAttribute("data-src"),M=se.language;if(M==="none"){var S=(/\.(\w+)$/.exec(O)||[,"none"])[1];M=x[S]||S}e.util.setLanguage(me,M),e.util.setLanguage(oe,M);var D=e.plugins.autoloader;D&&D.loadLanguages(M),N(O,function(H){oe.setAttribute(y,$);var K=q(oe.getAttribute("data-range"));if(K){var X=H.split(/\r\n?|\n/g),J=K[0],ve=K[1]==null?X.length:K[1];J<0&&(J+=X.length),J=Math.max(0,Math.min(J-1,X.length)),ve<0&&(ve+=X.length),ve=Math.max(0,Math.min(ve,X.length)),H=X.slice(J,ve).join(` +`),oe.hasAttribute("data-start")||oe.setAttribute("data-start",String(J+1))}me.textContent=H,e.highlightElement(me)},function(H){oe.setAttribute(y,C),me.textContent=H})}}),e.plugins.fileHighlight={highlight:function(oe){for(var me=(oe||document).querySelectorAll(P),O=0,M;M=me[O++];)e.highlightElement(M)}};var le=!1;e.fileHighlight=function(){le||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),le=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Dd);var ii={exports:{}};(function(t){var r=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var e=function(n){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,p=0,x={},y={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function O(M){return M instanceof b?new b(M.type,O(M.content),M.alias):Array.isArray(M)?M.map(O):M.replace(/&/g,"&").replace(/"+H.content+""};function $(O,M,S,D){O.lastIndex=M;var H=O.exec(S);if(H&&D&&H[1]){var K=H[1].length;H.index+=K,H[0]=H[0].slice(K)}return H}function C(O,M,S,D,H,K){for(var X in S)if(!(!S.hasOwnProperty(X)||!S[X])){var J=S[X];J=Array.isArray(J)?J:[J];for(var ve=0;ve=K.reach);De+=we.value.length,we=we.next){var it=we.value;if(M.length>O.length)return;if(!(it instanceof b)){var ct=1,Ie;if(nt){if(Ie=$(Ue,De,O,Be),!Ie||Ie.index>=O.length)break;var st=Ie.index,dr=Ie.index+Ie[0].length,ht=De;for(ht+=we.value.length;st>=ht;)we=we.next,ht+=we.value.length;if(ht-=we.value.length,De=ht,we.value instanceof b)continue;for(var kt=we;kt!==M.tail&&(htK.reach&&(K.reach=zt);var gt=we.prev;Yt&&(gt=N(M,gt,Yt),De+=Yt.length),q(M,gt,ct);var T=new b(X,Ee?y.tokenize(At,Ee):At,Pt,At);if(we=N(M,gt,T),It&&N(M,we,It),ct>1){var L={cause:X+","+ve,reach:zt};C(O,M,S,we.prev,De,L),K&&L.reach>K.reach&&(K.reach=L.reach)}}}}}}function P(){var O={value:null,prev:null,next:null},M={value:null,prev:O,next:null};O.next=M,this.head=O,this.tail=M,this.length=0}function N(O,M,S){var D=M.next,H={value:S,prev:M,next:D};return M.next=H,D.prev=H,O.length++,H}function q(O,M,S){for(var D=M.next,H=0;H]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/};Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;const Ld="_container_ppjok_2",Hd="_header_ppjok_9",Ud="_main_ppjok_15",zd="_footer_ppjok_20";var Bd={container:Ld,header:Hd,main:Ud,footer:zd},Ja=(t,r)=>{const e=t.__vccOpts||t;for(const[n,c]of r)e[n]=c;return e};const Kd={computed:{hasHeader(){return!!this.$slots.header},hasFooter(){return!!this.$slots.footer}}};function qd(t,r,e,n,c,p){return Tt(),hr("div",{class:qr(t.$style.container)},[p.hasHeader?(Tt(),hr("header",{key:0,class:qr(t.$style.header)},[lo(t.$slots,"header")],2)):wn("",!0),je("main",{class:qr(t.$style.main)},[lo(t.$slots,"default")],2),p.hasFooter?(Tt(),hr("footer",{key:1,class:qr(t.$style.footer)},[lo(t.$slots,"footer")],2)):wn("",!0)],2)}const ph={};ph.$style=Bd;var Wn=Ja(Kd,[["render",qd],["__cssModules",ph]]);const Wd=t=>(Fc("data-v-75101e42"),t=t(),Sc(),t),Vd={id:"root"},Jd={id:"grid1"},Zd={key:0,class:"syntaxError"},Xd={class:"type"},Yd={id:"grid2"},Qd=Wd(()=>je("header",null,null,-1)),Gd=Ba({__name:"V0_16_0",setup(t){const r=Vr(window.localStorage.getItem("script")||'<: "Hello, AiScript!"'),e=Vr(null),n=Vr([]),c=Vr(null);Zn(r,()=>{window.localStorage.setItem("script",r.value);try{e.value=xa.parse(r.value),c.value=null}catch($){c.value=$.message,console.error($.info);return}},{immediate:!0});const p=()=>{r.value=`for (let i, 100) { + <: if (i % 15 == 0) "FizzBuzz" + elif (i % 3 == 0) "Fizz" + elif (i % 5 == 0) "Buzz" + else i +}`};let x=null;const y=async()=>{n.value=[],x==null||x.abort(),x=new Ut({},{in:$=>new Promise(C=>{const P=window.prompt($);C(P!=null?P:"")}),out:$=>{n.value.push({id:Math.random(),type:$.type,text:Io($,!0),print:!0})},err:$=>{window.alert($.toString())},log:($,C)=>{switch($){case"end":n.value.push({id:Math.random(),text:Io(C.val,!0),print:!1});break}}});try{await x.exec(e.value)}catch($){console.error($),window.alert("Internal Error: "+$)}},b=$=>ii.exports.highlight($,ii.exports.languages.js,"javascript");return($,C)=>(Tt(),hr("div",Vd,[je("div",Jd,[yt(Wn,{id:"editor"},{header:Cr(()=>[kr(" Input"),je("div",{class:"actions"},[je("button",{onClick:p},"FizzBuzz")])]),footer:Cr(()=>[c.value?(Tt(),hr("span",Zd,Wr(c.value),1)):wn("",!0),je("div",{class:"actions"},[je("button",{onClick:y},"RUN")])]),default:Cr(()=>[yt(ef(hh),{class:"code",modelValue:r.value,"onUpdate:modelValue":C[0]||(C[0]=P=>r.value=P),highlight:b,"line-numbers":!1},null,8,["modelValue"])]),_:1}),yt(Wn,{id:"logs"},{header:Cr(()=>[kr("Output")]),default:Cr(()=>[(Tt(!0),hr(Zt,null,sf(n.value,P=>(Tt(),hr("div",{class:qr(["log",[{print:P.print},P.type]]),key:P.id},[je("span",Xd,Wr(P.type),1),kr(" "+Wr(P.text),1)],2))),128))]),_:1})]),je("div",Yd,[yt(Wn,{id:"ast"},{header:Cr(()=>[kr("AST")]),default:Cr(()=>[je("pre",null,Wr(JSON.stringify(e.value,null," ")),1)]),_:1}),yt(Wn,{id:"bin"},{header:Cr(()=>[kr("Bytecode")]),default:Cr(()=>[Qd]),_:1}),yt(Wn,{id:"debugger"},{header:Cr(()=>[kr("Debugger")]),_:1})])]))}});var ev=Ja(Gd,[["__scopeId","data-v-75101e42"]]);function ba(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ba=function(e){return typeof e}:ba=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ba(t)}function gh(t,r,e){var n=e.value;if(typeof n!="function")throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(ba(n)));var c=!1;return{configurable:!0,get:function(){if(c||this===t.prototype||this.hasOwnProperty(r)||typeof n!="function")return n;var x=n.bind(this);return c=!0,Object.defineProperty(this,r,{configurable:!0,get:function(){return x},set:function(b){n=b,delete this[r]}}),c=!1,x},set:function(x){n=x}}}function tv(t){var r;return typeof Reflect!="undefined"&&typeof Reflect.ownKeys=="function"?r=Reflect.ownKeys(t.prototype):(r=Object.getOwnPropertyNames(t.prototype),typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(t.prototype)))),r.forEach(function(e){if(e!=="constructor"){var n=Object.getOwnPropertyDescriptor(t.prototype,e);typeof n.value=="function"&&Object.defineProperty(t.prototype,e,gh(t,e,n))}}),t}function wt(){return arguments.length===1?tv.apply(void 0,arguments):gh.apply(void 0,arguments)}class Za extends Error{constructor(e,n){super(e);Qe(this,"info");this.info=n,Error.captureStackTrace&&Error.captureStackTrace(this,Za)}}class Os extends Za{constructor(r,e){super(r,e)}}class rt extends Za{constructor(r,e){super(r,e)}}class rv extends rt{constructor(r,e){super(r,e)}}var Rs=globalThis&&globalThis.__decorate||function(t,r,e,n){var c=arguments.length,p=c<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,e):n,x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")p=Reflect.decorate(t,r,e,n);else for(var y=t.length-1;y>=0;y--)(x=t[y])&&(p=(c<3?x(p):c>3?x(r,e,p):x(r,e))||p);return c>3&&p&&Object.defineProperty(r,e,p),p};class Ur{constructor(r=[],e,n){Qe(this,"parent");Qe(this,"layerdStates");Qe(this,"name");Qe(this,"opts",{});this.layerdStates=r,this.parent=e,this.name=n||(r.length===1?"":"")}log(r,e){this.parent?this.parent.log(r,e):this.opts.log&&this.opts.log(r,e)}onUpdated(r,e){this.parent?this.parent.onUpdated(r,e):this.opts.onUpdated&&this.opts.onUpdated(r,e)}createChildScope(r=new Map,e){const n=[r,...this.layerdStates];return new Ur(n,this,e)}get(r){for(const e of this.layerdStates)if(e.has(r)){const n=e.get(r);return this.log("read",{var:r,val:n}),n}throw new rt(`No such variable '${r}' in scope '${this.name}'`,{scope:this.layerdStates})}getAll(){const r=this.layerdStates.reduce((e,n)=>[...e,...n],[]);return new Map(r)}add(r,e){this.log("add",{var:r,val:e});const n=this.layerdStates[0];if(n.has(r))throw new rt(`Variable '${r}' is alerady exists in scope '${this.name}'`,{scope:this.layerdStates});n.set(r,e),this.parent==null&&this.onUpdated(r,e)}assign(r,e){let n=1;for(const c of this.layerdStates){if(c.has(r)){c.set(r,e),this.log("assign",{var:r,val:e}),n===this.layerdStates.length&&this.onUpdated(r,e);return}n++}throw new rt(`No such variable '${r}' in scope '${this.name}'`,{scope:this.layerdStates})}}Rs([wt],Ur.prototype,"log",null);Rs([wt],Ur.prototype,"onUpdated",null);Rs([wt],Ur.prototype,"createChildScope",null);Rs([wt],Ur.prototype,"get",null);Rs([wt],Ur.prototype,"getAll",null);Rs([wt],Ur.prototype,"add",null);Rs([wt],Ur.prototype,"assign",null);let pa;const sv=new Uint8Array(16);function nv(){if(!pa&&(pa=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!pa))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return pa(sv)}const St=[];for(let t=0;t<256;++t)St.push((t+256).toString(16).slice(1));function iv(t,r=0){return(St[t[r+0]]+St[t[r+1]]+St[t[r+2]]+St[t[r+3]]+"-"+St[t[r+4]]+St[t[r+5]]+"-"+St[t[r+6]]+St[t[r+7]]+"-"+St[t[r+8]]+St[t[r+9]]+"-"+St[t[r+10]]+St[t[r+11]]+St[t[r+12]]+St[t[r+13]]+St[t[r+14]]+St[t[r+15]]).toLowerCase()}const av=typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var Gf={randomUUID:av};function lv(t,r,e){if(Gf.randomUUID&&!r&&!t)return Gf.randomUUID();t=t||{};const n=t.random||(t.rng||nv)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,r){e=e||0;for(let c=0;c<16;++c)r[e+c]=n[c];return r}return iv(n)}const Xe={type:"null"},br={type:"bool",value:!0},or={type:"bool",value:!1},pe=t=>({type:"num",value:t}),tt=t=>({type:"str",value:t}),pn=t=>({type:"bool",value:t}),hf=t=>({type:"obj",value:t}),jt=t=>({type:"arr",value:t}),uv=(t,r,e)=>({type:"fn",args:t,statements:r,scope:e}),Y=t=>({type:"fn",native:t}),ov=t=>({type:"return",value:t}),fv=()=>({type:"break",value:null}),cv=()=>({type:"continue",value:null}),hv=t=>t.type==="return"?t.value:t;function cr(t){if(t==null)throw new rt("Expect anything, but got nothing.")}function Jt(t){if(t==null)throw new rt("Expect boolean, but got nothing.");if(t.type!=="bool")throw new rt(`Expect boolean, but got ${t.type}.`)}function as(t){if(t==null)throw new rt("Expect function, but got nothing.");if(t.type!=="fn")throw new rt(`Expect function, but got ${t.type}.`)}function Ct(t){if(t==null)throw new rt("Expect string, but got nothing.");if(t.type!=="str")throw new rt(`Expect string, but got ${t.type}.`)}function ce(t){if(t==null)throw new rt("Expect number, but got nothing.");if(t.type!=="num")throw new rt(`Expect number, but got ${t.type}.`)}function ss(t){if(t==null)throw new rt("Expect object, but got nothing.");if(t.type!=="obj")throw new rt(`Expect object, but got ${t.type}.`)}function gn(t){if(t==null)throw new rt("Expect array, but got nothing.");if(t.type!=="arr")throw new rt(`Expect array, but got ${t.type}.`)}function pv(t){return t.type==="str"}function gv(t){return t.type==="num"}function dv(t){return t.type==="obj"}function vv(t){return t.type==="arr"}function Do(t,r){return t.type==="fn"||r.type==="fn"?!1:t.type==="null"&&r.type==="null"?!0:t.type==="null"||r.type==="null"?!1:t.value===r.value}function Lo(t,r=!1){if(r){if(t.type==="num")return t.value.toString();if(t.type==="bool")return t.value?"true":"false";if(t.type==="str")return`"${t.value}"`;if(t.type==="arr")return`[${t.value.map(n=>Lo(n,!0)).join(", ")}]`;if(t.type==="null")return"(null)"}const e=t.type==="num"||t.type==="bool"?t.value:t.type==="str"?`"${t.value}"`:t.type==="fn"||t.type==="obj"?"...":t.type==="null"?"":null;return`${t.type}<${e}>`}function Ho(t){switch(t.type){case"fn":return"";case"arr":return t.value.map(r=>Ho(r));case"bool":return t.value;case"null":return null;case"num":return t.value;case"obj":{const r={};for(const[e,n]of t.value.entries())r[e]=Ho(n);return r}case"str":return t.value;default:throw new Error(`Unrecognized value type: ${t.type}`)}}function Uo(t){if(t===null)return Xe;if(typeof t=="boolean")return pn(t);if(typeof t=="string")return tt(t);if(typeof t=="number")return pe(t);if(Array.isArray(t))return jt(t.map(r=>Uo(r)));if(typeof t=="object"){const r=new Map;for(const[e,n]of Object.entries(t))r.set(e,Uo(n));return hf(r)}return Xe}const yv={help:tt("SEE: https://github.com/syuilo/aiscript/blob/master/docs/get-started.md"),"Core:v":tt("0.14.1"),"Core:ai":tt("kawaii"),"Core:not":Y(([t])=>(Jt(t),t.value?or:br)),"Core:eq":Y(([t,r])=>(cr(t),cr(r),Do(t,r)?br:or)),"Core:neq":Y(([t,r])=>(cr(t),cr(r),Do(t,r)?or:br)),"Core:and":Y(([t,r])=>(Jt(t),t.value?(Jt(r),r.value?br:or):or)),"Core:or":Y(([t,r])=>(Jt(t),t.value?br:(Jt(r),r.value?br:or))),"Core:add":Y(([t,r])=>(ce(t),ce(r),pe(t.value+r.value))),"Core:sub":Y(([t,r])=>(ce(t),ce(r),pe(t.value-r.value))),"Core:mul":Y(([t,r])=>(ce(t),ce(r),pe(t.value*r.value))),"Core:pow":Y(([t,r])=>{ce(t),ce(r);const e=t.value**r.value;if(isNaN(e))throw new rt("Invalid operation.");return pe(e)}),"Core:div":Y(([t,r])=>{ce(t),ce(r);const e=t.value/r.value;if(isNaN(e))throw new rt("Invalid operation.");return pe(e)}),"Core:mod":Y(([t,r])=>(ce(t),ce(r),pe(t.value%r.value))),"Core:gt":Y(([t,r])=>(ce(t),ce(r),t.value>r.value?br:or)),"Core:lt":Y(([t,r])=>(ce(t),ce(r),t.value(ce(t),ce(r),t.value>=r.value?br:or)),"Core:lteq":Y(([t,r])=>(ce(t),ce(r),t.value<=r.value?br:or)),"Core:type":Y(([t])=>(cr(t),tt(t.type))),"Core:to_str":Y(([t])=>(cr(t),t.type==="str"?t:t.type==="num"?tt(t.value.toString()):tt("?"))),"Core:range":Y(([t,r])=>(ce(t),ce(r),t.valuepe(n+t.value))):t.value>r.value?jt(Array.from({length:t.value-r.value+1},(e,n)=>pe(t.value-n))):jt([t]))),"Util:uuid":Y(()=>tt(lv())),"Json:stringify":Y(([t])=>(cr(t),tt(JSON.stringify(Ho(t))))),"Json:parse":Y(([t])=>(Ct(t),Uo(JSON.parse(t.value)))),"Json:parsable":Y(([t])=>{Ct(t);try{JSON.parse(t.value)}catch{return pn(!1)}return pn(!0)}),"Date:now":Y(()=>pe(Date.now())),"Date:year":Y(([t])=>(t&&ce(t),pe(new Date((t==null?void 0:t.value)||Date.now()).getFullYear()))),"Date:month":Y(([t])=>(t&&ce(t),pe(new Date((t==null?void 0:t.value)||Date.now()).getMonth()+1))),"Date:day":Y(([t])=>(t&&ce(t),pe(new Date((t==null?void 0:t.value)||Date.now()).getDate()))),"Date:hour":Y(([t])=>(t&&ce(t),pe(new Date((t==null?void 0:t.value)||Date.now()).getHours()))),"Date:minute":Y(([t])=>(t&&ce(t),pe(new Date((t==null?void 0:t.value)||Date.now()).getMinutes()))),"Date:second":Y(([t])=>(t&&ce(t),pe(new Date((t==null?void 0:t.value)||Date.now()).getSeconds()))),"Date:parse":Y(([t])=>(Ct(t),pe(new Date(t.value).getTime()))),"Math:Infinity":pe(1/0),"Math:E":pe(Math.E),"Math:LN2":pe(Math.LN2),"Math:LN10":pe(Math.LN10),"Math:LOG2E":pe(Math.LOG2E),"Math:LOG10E":pe(Math.LOG10E),"Math:PI":pe(Math.PI),"Math:SQRT1_2":pe(Math.SQRT1_2),"Math:SQRT2":pe(Math.SQRT2),"Math:abs":Y(([t])=>(ce(t),pe(Math.abs(t.value)))),"Math:acos":Y(([t])=>(ce(t),pe(Math.acos(t.value)))),"Math:acosh":Y(([t])=>(ce(t),pe(Math.acosh(t.value)))),"Math:asin":Y(([t])=>(ce(t),pe(Math.asin(t.value)))),"Math:asinh":Y(([t])=>(ce(t),pe(Math.asinh(t.value)))),"Math:atan":Y(([t])=>(ce(t),pe(Math.atan(t.value)))),"Math:atanh":Y(([t])=>(ce(t),pe(Math.atanh(t.value)))),"Math:atan2":Y(([t,r])=>(ce(t),ce(r),pe(Math.atan2(t.value,r.value)))),"Math:cbrt":Y(([t])=>(ce(t),pe(Math.cbrt(t.value)))),"Math:ceil":Y(([t])=>(ce(t),pe(Math.ceil(t.value)))),"Math:clz32":Y(([t])=>(ce(t),pe(Math.clz32(t.value)))),"Math:cos":Y(([t])=>(ce(t),pe(Math.cos(t.value)))),"Math:cosh":Y(([t])=>(ce(t),pe(Math.cosh(t.value)))),"Math:exp":Y(([t])=>(ce(t),pe(Math.exp(t.value)))),"Math:expm1":Y(([t])=>(ce(t),pe(Math.expm1(t.value)))),"Math:floor":Y(([t])=>(ce(t),pe(Math.floor(t.value)))),"Math:fround":Y(([t])=>(ce(t),pe(Math.fround(t.value)))),"Math:hypot":Y(([t])=>{gn(t);const r=[];for(const e of t.value)ce(e),r.push(e.value);return pe(Math.hypot(...r))}),"Math:imul":Y(([t,r])=>(ce(t),ce(r),pe(Math.imul(t.value,r.value)))),"Math:log":Y(([t])=>(ce(t),pe(Math.log(t.value)))),"Math:log1p":Y(([t])=>(ce(t),pe(Math.log1p(t.value)))),"Math:log10":Y(([t])=>(ce(t),pe(Math.log10(t.value)))),"Math:log2":Y(([t])=>(ce(t),pe(Math.log2(t.value)))),"Math:max":Y(([t,r])=>(ce(t),ce(r),pe(Math.max(t.value,r.value)))),"Math:min":Y(([t,r])=>(ce(t),ce(r),pe(Math.min(t.value,r.value)))),"Math:pow":Y(([t,r])=>(ce(t),ce(r),pe(Math.pow(t.value,r.value)))),"Math:round":Y(([t])=>(ce(t),pe(Math.round(t.value)))),"Math:sign":Y(([t])=>(ce(t),pe(Math.sign(t.value)))),"Math:sin":Y(([t])=>(ce(t),pe(Math.sin(t.value)))),"Math:sinh":Y(([t])=>(ce(t),pe(Math.sinh(t.value)))),"Math:sqrt":Y(([t])=>{ce(t);const r=Math.sqrt(t.value);if(isNaN(r))throw new rt("Invalid operation.");return pe(r)}),"Math:tan":Y(([t])=>(ce(t),pe(Math.tan(t.value)))),"Math:tanh":Y(([t])=>(ce(t),pe(Math.tanh(t.value)))),"Math:trunc":Y(([t])=>(ce(t),pe(Math.trunc(t.value)))),"Math:rnd":Y(([t,r])=>t&&t.type==="num"&&r&&r.type==="num"?pe(Math.floor(Math.random()*(Math.floor(r.value)-Math.ceil(t.value)+1)+Math.ceil(t.value))):pe(Math.random())),"Math:gen_rng":Y(([t])=>{if(cr(t),t.type!=="num"&&t.type!=="str")return Xe;const r=sh(t.value.toString());return Y(([e,n])=>e&&e.type==="num"&&n&&n.type==="num"?pe(Math.floor(r()*(Math.floor(n.value)-Math.ceil(e.value)+1)+Math.ceil(e.value))):pe(r()))}),"Num:to_hex":Y(([t])=>(ce(t),tt(t.value.toString(16)))),"Num:from_hex":Y(([t])=>(Ct(t),pe(parseInt(t.value,16)))),"Str:lf":tt(` +`),"Str:lt":Y(([t,r])=>(Ct(t),Ct(r),t.value(Ct(t),Ct(r),t.value>r.value?pe(-1):t.value===r.value?pe(0):pe(1))),"Obj:keys":Y(([t])=>(ss(t),jt(Array.from(t.value.keys()).map(r=>tt(r))))),"Obj:vals":Y(([t])=>(ss(t),jt(Array.from(t.value.values())))),"Obj:kvs":Y(([t])=>(ss(t),jt(Array.from(t.value.entries()).map(([r,e])=>jt([tt(r),e]))))),"Obj:get":Y(([t,r])=>{var e;return ss(t),Ct(r),(e=t.value.get(r.value))!=null?e:Xe}),"Obj:set":Y(([t,r,e])=>(ss(t),Ct(r),cr(e),t.value.set(r.value,e),Xe)),"Obj:has":Y(([t,r])=>(ss(t),Ct(r),pn(t.value.has(r.value)))),"Obj:copy":Y(([t])=>(ss(t),hf(new Map(t.value)))),"Async:interval":Y(async([t,r,e],n)=>{ce(t),as(r),e&&(Jt(e),e.value&&n.call(r,[]));const c=setInterval(()=>{n.call(r,[])},t.value),p=()=>{clearInterval(c)};return n.registerAbortHandler(p),Y(([],x)=>{clearInterval(c),x.unregisterAbortHandler(p)})}),"Async:timeout":Y(async([t,r],e)=>{ce(t),as(r);const n=setTimeout(()=>{e.call(r,[])},t.value),c=()=>{clearTimeout(n)};return e.registerAbortHandler(c),Y(([],p)=>{clearTimeout(n),p.unregisterAbortHandler(c)})})},rn={num:{to_str:t=>Y(async(r,e)=>tt(t.value.toString()))},str:{to_num:t=>Y(async(r,e)=>{const n=parseInt(t.value,10);return isNaN(n)?Xe:pe(n)}),len:t=>pe(ih(t.value)),replace:t=>Y(async([r,e],n)=>(Ct(r),Ct(e),tt(t.value.split(r.value).join(e.value)))),index_of:t=>Y(async([r],e)=>(Ct(r),pe(uh(t.value,r.value)))),incl:t=>Y(async([r],e)=>(Ct(r),t.value.includes(r.value)?br:or)),trim:t=>Y(async(r,e)=>tt(t.value.trim())),upper:t=>Y(async(r,e)=>tt(t.value.toUpperCase())),lower:t=>Y(async(r,e)=>tt(t.value.toLowerCase())),split:t=>Y(async([r],e)=>(r&&Ct(r),jt(r?t.value.split(r?r.value:"").map(n=>tt(n)):Ia(t.value).map(n=>tt(n))))),slice:t=>Y(async([r,e],n)=>(ce(r),ce(e),tt(lh(t.value,r.value,e.value)))),pick:t=>Y(async([r],e)=>{ce(r);const c=Ia(t.value)[r.value];return c?tt(c):Xe})},arr:{len:t=>pe(t.value.length),push:t=>Y(async([r],e)=>(cr(r),t.value.push(r),t)),unshift:t=>Y(async([r],e)=>(cr(r),t.value.unshift(r),t)),pop:t=>Y(async(r,e)=>{var n;return(n=t.value.pop())!=null?n:Xe}),shift:t=>Y(async(r,e)=>{var n;return(n=t.value.shift())!=null?n:Xe}),concat:t=>Y(async([r],e)=>(gn(r),jt(t.value.concat(r.value)))),slice:t=>Y(async([r,e],n)=>(ce(r),ce(e),jt(t.value.slice(r.value,e.value)))),join:t=>Y(async([r],e)=>(r&&Ct(r),tt(t.value.map(n=>n.type==="str"?n.value:"").join(r?r.value:"")))),map:t=>Y(async([r],e)=>{as(r);const n=t.value.map(async(c,p)=>await e.call(r,[c,pe(p)]));return jt(await Promise.all(n))}),filter:t=>Y(async([r],e)=>{as(r);const n=[];for(let c=0;cY(async([r,e],n)=>{as(r);const c=e!=null;let p=c?e:t.value[0];for(let x=c?0:1;xY(async([r],e)=>{as(r);for(let n=0;nY(async([r],e)=>(cr(r),r.type!=="str"&&r.type!=="num"&&r.type!=="bool"&&r.type!=="null"?or:(c=>c.value.map(p=>p.type==="str"||p.type==="num"||p.type==="bool"?p.value:p.type==="null"?null:Symbol()))(t).includes(r.type==="null"?null:r.value)?br:or)),reverse:t=>Y(async(r,e)=>(t.value.reverse(),Xe)),copy:t=>Y(async(r,e)=>jt([...t.value])),sort:t=>Y(async([r],e)=>{const n=async(p,x)=>{if(p.length<=1)return p;const y=Math.floor(p.length/2),b=await n(p.slice(0,y),x),$=await n(p.slice(y),x);return c(b,$,x)},c=async(p,x,y)=>{const b=[];let $=0,C=0;for(;$=0;y--)(x=t[y])&&(p=(c<3?x(p):c>3?x(r,e,p):x(r,e))||p);return c>3&&p&&Object.defineProperty(r,e,p),p};const dh=300,mv=dh-1;class nr{constructor(r,e){Qe(this,"vars");Qe(this,"opts");Qe(this,"stepCount",0);Qe(this,"stop",!1);Qe(this,"scope");Qe(this,"abortHandlers",[]);this.opts=e!=null?e:{};const n={print:Y(([c])=>{cr(c),this.opts.out&&this.opts.out(c)}),readline:Y(async c=>{const p=c[0];if(Ct(p),this.opts.in==null)return Xe;const x=await this.opts.in(p.value);return tt(x)})};this.vars={...r,...yv,...n},this.scope=new Ur([new Map(Object.entries(this.vars))]),this.scope.opts.log=(c,p)=>{switch(c){case"add":this.log("var:add",p);break;case"read":this.log("var:read",p);break;case"write":this.log("var:write",p);break}}}async exec(r){if(r==null||r.length===0)return;await this.collectNs(r);const e=await this._run(r,this.scope);this.log("end",{val:e})}async execFn(r,e){return this._fn(r,e)}static collectMetadata(r){if(r==null||r.length===0)return;function e(c){switch(c.type){case"arr":return c.value.map(p=>e(p));case"bool":return c.value;case"null":return null;case"num":return c.value;case"obj":{const p={};for(const[x,y]of c.value.entries())p[x]=e(y);return p}case"str":return c.value;default:return}}const n=new Map;for(const c of r)switch(c.type){case"meta":{n.set(c.name,e(c.value));break}}return n}log(r,e){this.opts.log&&this.opts.log(r,e)}async collectNs(r){for(const e of r)switch(e.type){case"ns":{await this.collectNsMember(e);break}}}async collectNsMember(r){const e=this.scope.createChildScope();for(const n of r.members)switch(n.type){case"def":{const c=await this._eval(n.expr,e);e.add(n.name,c),this.scope.add(r.name+":"+n.name,c);break}case"ns":break;default:throw new Error("invalid ns member type: "+n.type)}}async _fn(r,e){var n;if(r.native){const c=r.native(e,{call:this._fn,registerAbortHandler:this.registerAbortHandler,unregisterAbortHandler:this.unregisterAbortHandler});return c!=null?c:Xe}else{const c=new Map;for(let x=0;x<((n=r.args)!=null?n:[]).length;x++)c.set(r.args[x],e[x]);const p=r.scope.createChildScope(c);return hv(await this._run(r.statements,p))}}async _eval(r,e){if(this.stop)return Xe;if(this.stepCount%dh===mv&&await new Promise(n=>setTimeout(n,5)),this.stepCount++,this.opts.maxStep&&this.stepCount>this.opts.maxStep)throw new rt("max step exceeded");switch(r.type){case"call":{const n=await this._eval(r.target,e);as(n);const c=await Promise.all(r.args.map(p=>this._eval(p,e)));return this._fn(n,c)}case"if":{const n=await this._eval(r.cond,e);if(Jt(n),n.value)return this._eval(r.then,e);if(r.elseif&&r.elseif.length>0){for(const c of r.elseif){const p=await this._eval(c.cond,e);if(Jt(p),p.value)return this._eval(c.then,e)}if(r.else)return this._eval(r.else,e)}else if(r.else)return this._eval(r.else,e);return Xe}case"match":{const n=await this._eval(r.about,e);for(const c of r.qs){const p=await this._eval(c.q,e);if(Do(n,p))return await this._eval(c.a,e)}return r.default?await this._eval(r.default,e):Xe}case"loop":{for(;;){const n=await this._run(r.statements,e.createChildScope());if(n.type==="break")break;if(n.type==="return")return n}return Xe}case"for":{if(r.times){const n=await this._eval(r.times,e);ce(n);for(let c=0;c0){const c=[];for(const p of r.attr)c.push({name:p.name,value:await this._eval(p.value,e)});n.attr=c}return e.add(r.name,n),Xe}case"identifier":return e.get(r.name);case"assign":{const n=await this._eval(r.expr,e);return await this.assign(e,r.dest,n),Xe}case"addAssign":{const n=await this._eval(r.dest,e);ce(n);const c=await this._eval(r.expr,e);return ce(c),await this.assign(e,r.dest,pe(n.value+c.value)),Xe}case"subAssign":{const n=await this._eval(r.dest,e);ce(n);const c=await this._eval(r.expr,e);return ce(c),await this.assign(e,r.dest,pe(n.value-c.value)),Xe}case"null":return Xe;case"bool":return pn(r.value);case"num":return pe(r.value);case"str":return tt(r.value);case"arr":return jt(await Promise.all(r.value.map(async n=>await this._eval(n,e))));case"obj":{const n=new Map;for(const c of r.value.keys())n.set(c,await this._eval(r.value.get(c),e));return hf(n)}case"prop":{const n=await this._eval(r.target,e);if(dv(n))return n.value.has(r.name)?n.value.get(r.name):Xe;if(gv(n)){if(Object.hasOwn(rn.num,r.name))return rn.num[r.name](n);throw new rt(`No such prop (${r.name}) in ${n.type}.`)}else if(pv(n)){if(Object.hasOwn(rn.str,r.name))return rn.str[r.name](n);throw new rt(`No such prop (${r.name}) in ${n.type}.`)}else if(vv(n)){if(Object.hasOwn(rn.arr,r.name))return rn.arr[r.name](n);throw new rt(`No such prop (${r.name}) in ${n.type}.`)}else throw new rt(`Cannot read prop (${r.name}) of ${n.type}.`)}case"index":{const n=await this._eval(r.target,e);gn(n);const c=await this._eval(r.index,e);ce(c);const p=n.value[c.value];if(p===void 0)throw new rv(`Index out of range. index: ${c.value} max: ${n.value.length-1}`);return p}case"not":{const n=await this._eval(r.expr,e);return Jt(n),pn(!n.value)}case"fn":return uv(r.args.map(n=>n.name),r.children,e);case"block":return this._run(r.statements,e.createChildScope());case"tmpl":{let n="";for(const c of r.tmpl)if(typeof c=="string")n+=c;else{const p=await this._eval(c,e);let x="";p.type==="str"?x=p.value:p.type==="num"&&(x=p.value.toString()),n+=x}return tt(n)}case"return":{const n=await this._eval(r.expr,e);return this.log("block:return",{scope:e.name,val:n}),ov(n)}case"break":return this.log("block:break",{scope:e.name}),fv();case"continue":return this.log("block:continue",{scope:e.name}),cv();case"ns":return Xe;case"meta":return Xe;case"and":{const n=await this._eval(r.left,e);if(Jt(n),n.value){const c=await this._eval(r.right,e);return Jt(c),c}else return n}case"or":{const n=await this._eval(r.left,e);if(Jt(n),n.value)return n;{const c=await this._eval(r.right,e);return Jt(c),c}}default:throw new Error("invalid node type")}}async _run(r,e){this.log("block:enter",{scope:e.name});let n=Xe;for(let c=0;ce!==r)}abort(){this.stop=!0;for(const r of this.abortHandlers)r();this.abortHandlers=[]}async assign(r,e,n){if(e.type==="identifier")r.assign(e.name,n);else if(e.type==="index"){const c=await this._eval(e.target,r);gn(c);const p=await this._eval(e.index,r);ce(p),c.value[p.value]=n}else if(e.type==="prop"){const c=await this._eval(e.target,r);ss(c),c.value.set(e.name,n)}else throw new rt("The left-hand side of an assignment expression must be a variable or a property/index access.")}}gr([wt],nr.prototype,"exec",null);gr([wt],nr.prototype,"execFn",null);gr([wt],nr.prototype,"log",null);gr([wt],nr.prototype,"collectNs",null);gr([wt],nr.prototype,"collectNsMember",null);gr([wt],nr.prototype,"_fn",null);gr([wt],nr.prototype,"_eval",null);gr([wt],nr.prototype,"_run",null);gr([wt],nr.prototype,"registerAbortHandler",null);gr([wt],nr.prototype,"unregisterAbortHandler",null);gr([wt],nr.prototype,"abort",null);gr([wt],nr.prototype,"assign",null);gr([wt],nr,"collectMetadata",null);function wv(t,r){function e(){this.constructor=t}e.prototype=r.prototype,t.prototype=new e}function Fs(t,r,e,n){var c=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(c,Fs.prototype),c.expected=r,c.found=e,c.location=n,c.name="SyntaxError",c}wv(Fs,Error);function mo(t,r,e){return e=e||" ",t.length>r?t:(r-=t.length,e+=e.repeat(r),t+e.slice(0,r))}Fs.prototype.format=function(t){var r="Error: "+this.message;if(this.location){var e=null,n;for(n=0;n `+x+` +`+b+` | +`+p.line+" | "+$+` +`+b+" | "+mo("",c.column-1," ")+mo("",P,"^")}else r+=` + at `+x}return r};Fs.buildMessage=function(t,r){var e={literal:function($){return'"'+c($.text)+'"'},class:function($){var C=$.parts.map(function(P){return Array.isArray(P)?p(P[0])+"-"+p(P[1]):p(P)});return"["+($.inverted?"^":"")+C.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function($){return $.description}};function n($){return $.charCodeAt(0).toString(16).toUpperCase()}function c($){return $.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(C){return"\\x0"+n(C)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(C){return"\\x"+n(C)})}function p($){return $.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(C){return"\\x0"+n(C)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(C){return"\\x"+n(C)})}function x($){return e[$.type]($)}function y($){var C=$.map(x),P,N;if(C.sort(),C.length>0){for(P=1,N=1;P=",Ie="<",dr=">",ht="+",kt="-",st="*",At="^",Yt="/",It="%",zt="!",gt="[",T=".",L="if",V="elif",Q="else",G="match",ne="=>",ge="eval",ae="`",fe='"',te="'",_e='\\"',xe="\\'",Ce="true",Pe="false",Te="null",ze=";",Le="@",Ye="@(",xt=`\r +`,bt=/^[A-Z0-9_:]/i,Qt=/^[^`{]/,zr=/^[{}`]/,Br=/^[+\-]/,dt=/^[1-9]/,at=/^[0-9]/,Bt=/^[A-Z_]/i,ai=/^[A-Z0-9_]/i,li=/^[\r\n]/,Ya=/^[ \t\r\n]/,Qa=/^[ \t]/,vr=Iu(),yr=de("//",!1),Ga=de("/*",!1),Cn=de("*/",!1),Or=de("(",!1),Kt=de(")",!1),Ir=de("::",!1),mr=de("{",!1),vt=de("}",!1),ir=de("###",!1),Xr=de("let",!1),Et=de(":",!1),Mt=de("=",!1),hs=de("var",!1),el=de("<:",!1),tl=de("#[",!1),js=de("]",!1),ps=de("each",!1),Nt=de(",",!1),_t=de("for",!1),Ds=de("return",!1),$r=ar([["A","Z"],["0","9"],"_",":"],!1,!0),Ar=de("loop",!1),rl=de("break",!1),sl=de("continue",!1),nl=de("+=",!1),il=de("-=",!1),ui=de("\\",!1),oi=de("||",!1),al=de("&&",!1),ll=de("==",!1),ul=de("!=",!1),ol=de("<=",!1),fl=de(">=",!1),fi=de("<",!1),Pn=de(">",!1),ci=de("+",!1),cl=de("-",!1),hi=de("*",!1),pi=de("^",!1),hl=de("/",!1),pl=de("%",!1),gl=de("!",!1),kn=de("[",!1),gs=de(".",!1),En=de("if",!1),dl=de("elif",!1),vl=de("else",!1),yl=de("match",!1),Ls=de("=>",!1),Hs=de("eval",!1),Us=de("`",!1),ml=ar(["`","{"],!0,!1),zs=ar(["{","}","`"],!1,!1),Bs=de('"',!1),Ks=de("'",!1),qs=de('\\"',!1),Ws=de("\\'",!1),Vs=ar(["+","-"],!1,!1),gi=ar([["1","9"]],!1,!1),qt=ar([["0","9"]],!1,!1),di=de("true",!1),wr=de("false",!1),wl=de("null",!1),Js=de(";",!1),xl=de("@",!1),ds=de("@(",!1),bl=ar([["A","Z"],"_"],!1,!0),Mn=ar([["A","Z"],["0","9"],"_"],!1,!0),$l=de(`\r +`,!1),vi=ar(["\r",` +`],!1,!1),Al=ar([" "," ","\r",` +`],!1,!1),_l=ar([" "," "],!1,!1),Cl=function(l){return l.join("")},Pl=function(){return k()},kl=function(){return k()},El=function(){return""},Ml=function(){return""},Fl=function(l){return l!=null?l:[]},yi=function(l,f){return f},Sl=function(l,f){return[l,...f]},Fn=function(l,f){return f},Tl=function(l,f){return[l,...f]},Sn=function(l,f){return f},Ol=function(l,f){return[l,...f]},mi=function(l){return l},Il=function(l,f){return Ae("ns",{name:l,members:f})},Nl=function(l,f){return Ae("meta",{name:l,value:f})},Rl=function(l){return Ae("meta",{name:null,value:l})},jl=function(l,f,m){return Ae("def",{name:l,varType:f,expr:m,mut:!1,attr:[]})},Dl=function(l,f,m){return Ae("def",{name:l,varType:f,expr:m,mut:!0,attr:[]})},Ll=function(l){return Ae("identifier",{name:"print",chain:[Ae("callChain",{args:[l]})]})},Hl=function(l,f){return Ae("attr",{name:l,value:f!=null?f:Ae("bool",{value:!0})})},Ul=function(l,f,m){return Ae("each",{var:l,items:f,for:m})},zl=function(l,f,m){return Ae("each",{var:l,items:f,for:m})},Bl=function(l,f){return f},Kl=function(l,f,m,h){return Ae("for",{var:l,from:f!=null?f:Ae("num",{value:0}),to:m,for:h})},ql=function(l,f){return f},Wl=function(l,f,m,h){return Ae("for",{var:l,from:f!=null?f:Ae("num",{value:0}),to:m,for:h})},Vl=function(l,f){return Ae("for",{times:l,for:f})},Jl=function(l,f){return Ae("for",{times:l,for:f})},Zl=function(l){return Ae("return",{expr:l})},Xl=function(l){return Ae("loop",{statements:l})},Yl=function(){return Ae("break",{})},Ql=function(){return Ae("continue",{})},Gl=function(l,f,m){return f==="+="?Ae("addAssign",{dest:l,expr:m}):f==="-="?Ae("subAssign",{dest:l,expr:m}):Ae("assign",{dest:l,expr:m})},wi=function(l,f,m){return{op:f,term:m}},eu=function(l,f){return Ae("infix",{operands:[l,...f.map(m=>m.term)],operators:f.map(m=>m.op)})},xi=function(){return k()},tu=function(l){return Ae("not",{expr:l})},ru=function(l,f){return{...l,chain:f}},su=function(l){return Ae("callChain",{args:l!=null?l:[]})},bi=function(l,f){return f},nu=function(l,f){return[l,...f]},$i=function(l){return Ae("indexChain",{index:l})},iu=function(l){return Ae("propChain",{name:l})},au=function(l,f,m,h){return Ae("if",{cond:l,then:f,elseif:m!=null?m:[],else:h})},lu=function(l,f){return[l,...f]},uu=function(l,f){return{cond:l,then:f}},ou=function(l){return l},Ai=function(l,f,m){return{q:f,a:m}},fu=function(l,f,m){return Ae("match",{about:l,qs:f!=null?f:[],default:m})},_i=function(l){return Ae("block",{statements:l})},cu=function(l){return Ae("identifier",{name:l})},hu=function(l){return Ae("tmpl",{tmpl:l})},pu=function(l){return l.join("")},Ci=function(l){return l},gu=function(l){return Ae("str",{value:l.join("")})},Pi=function(l){return l},ki=function(l){return Ae("str",{value:l.join("")})},du=function(){return'"'},Ei=function(){return"'"},vu=function(){return Ae("num",{value:parseFloat(k())})},yu=function(){return Ae("num",{value:parseFloat(k())})},mu=function(){return Ae("num",{value:parseInt(k(),10)})},wu=function(){return Ae("num",{value:parseInt(k(),10)})},xu=function(){return Ae("bool",{value:!0})},bu=function(){return Ae("bool",{value:!1})},$u=function(){return Ae("null",{})},Mi=function(l,f){return{k:l,v:f}},Au=function(l){const f=new Map;for(const m of l)f.set(m.k,m.v);return Ae("obj",{value:f})},Fi=function(l){return l},Si=function(l){return Ae("arr",{value:l})},_u=function(l,f){return{name:l,argType:f}},Ti=function(l,f){return[l,...f]},Cu=function(l,f,m,h,s,u){return(l.length>0||m.length>0)&&Xs("Cannot use spaces before or after the function name."),Ae("def",{name:f,expr:Ae("fn",{args:h!=null?h:[],retType:s},u!=null?u:[]),mut:!1,attr:[]})},Pu=function(l,f,m){return Ae("fn",{args:l!=null?l:[],retType:f},m!=null?m:[])},Oi=function(l){return l},ku=function(l){return Ae("arr",{value:l})},Ii=function(l,f){return{k:l,v:f}},Ni=function(l){const f=new Map;for(const m of l)f.set(m.k,m.v);return Ae("obj",{value:f})},Eu=function(l,f){return Ae("fnTypeSource",{args:l!=null?l:[],result:f})},Ri=function(l,f){return[l,...f]},Mu=function(l,f){return Ae("namedTypeSource",{name:l,inner:f})},Fu=function(l){return Ae("namedTypeSource",{name:l,inner:null})},Su=function(){return k()},Tu=function(){return k()},Ou=function(l){return Ae("block",{statements:l!=null?l:[]})},a=0,re=0,Zs=[{line:1,column:1}],i=0,ee=[],E=0,U={},Yr;if("startRule"in r){if(!(r.startRule in c))throw new Error(`Can't start parsing from rule "`+r.startRule+'".');p=c[r.startRule]}function k(){return t.substring(re,a)}function z(){return Ys(re,a)}function Xs(l,f){throw f=f!==void 0?f:Ys(re,a),ji(l,f)}function de(l,f){return{type:"literal",text:l,ignoreCase:f}}function ar(l,f,m){return{type:"class",parts:l,inverted:f,ignoreCase:m}}function Iu(){return{type:"any"}}function $e(){return{type:"end"}}function Gt(l){var f=Zs[l],m;if(f)return f;for(m=l-1;!Zs[m];)m--;for(f=Zs[m],f={line:f.line,column:f.column};mi&&(i=a,ee=[]),ee.push(l))}function ji(l,f){return new Fs(l,null,null,f)}function Qs(l,f,m){return new Fs(Fs.buildMessage(l,f),l,f,m)}function R(){var l,f,m,h=a*76+0,s=U[h];if(s)return a=s.nextPos,s.result;for(l=a,f=[],m=Di();m!==e;)f.push(m),m=Di();return re=l,f=Cl(f),l=f,U[h]={nextPos:a,result:l},l}function Di(){var l,f,m=a*76+1,h=U[m];return h?(a=h.nextPos,h.result):(l=a,f=Vi(),f!==e&&(re=l,f=Pl()),l=f,l===e&&(l=a,f=en(),f!==e&&(re=l,f=kl()),l=f,l===e&&(l=Nu(),l===e&&(t.length>a?(l=t.charAt(a),a++):(l=e,E===0&&j(vr))))),U[m]={nextPos:a,result:l},l)}function Nu(){var l,f,m,h,s,u,g=a*76+2,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.substr(a,2)===x?(f=x,a+=2):(f=e,E===0&&j(yr)),f!==e){for(m=[],h=a,s=a,E++,u=na(),E--,u===e?s=void 0:(a=s,s=e),s!==e?(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr)),u!==e?(s=[s,u],h=s):(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=a,E++,u=na(),E--,u===e?s=void 0:(a=s,s=e),s!==e?(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr)),u!==e?(s=[s,u],h=s):(a=h,h=e)):(a=h,h=e);re=l,l=El()}else a=l,l=e;if(l===e)if(l=a,t.substr(a,2)===y?(f=y,a+=2):(f=e,E===0&&j(Ga)),f!==e){for(m=[],h=a,s=a,E++,t.substr(a,2)===b?(u=b,a+=2):(u=e,E===0&&j(Cn)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr)),u!==e?(s=[s,u],h=s):(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=a,E++,t.substr(a,2)===b?(u=b,a+=2):(u=e,E===0&&j(Cn)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr)),u!==e?(s=[s,u],h=s):(a=h,h=e)):(a=h,h=e);t.substr(a,2)===b?(h=b,a+=2):(h=e,E===0&&j(Cn)),h!==e?(re=l,l=Ml()):(a=l,l=e)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Li(){var l,f,m,h,s,u=a*76+3,g=U[u];if(g)return a=g.nextPos,g.result;for(l=a,f=[],m=_();m!==e;)f.push(m),m=_();for(m=Hi(),m===e&&(m=null),h=[],s=_();s!==e;)h.push(s),s=_();return re=l,l=Fl(m),U[u]={nextPos:a,result:l},l}function Hi(){var l,f,m,h,s,u,g,o,v=a*76+4,d=U[v];if(d)return a=d.nextPos,d.result;if(l=a,f=Tn(),f!==e){for(m=[],h=a,s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(u=Ze(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();o=Tn(),o!==e?(re=h,h=yi(f,o)):(a=h,h=e)}else a=h,h=e;for(;h!==e;){for(m.push(h),h=a,s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(u=Ze(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();o=Tn(),o!==e?(re=h,h=yi(f,o)):(a=h,h=e)}else a=h,h=e}re=l,l=Sl(f,m)}else a=l,l=e;return U[v]={nextPos:a,result:l},l}function Ru(){var l,f,m,h,s,u,g,o,v=a*76+5,d=U[v];if(d)return a=d.nextPos,d.result;if(l=a,f=On(),f!==e){for(m=[],h=a,s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(u=Ze(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();o=On(),o!==e?(re=h,h=Fn(f,o)):(a=h,h=e)}else a=h,h=e;for(;h!==e;){for(m.push(h),h=a,s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(u=Ze(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();o=On(),o!==e?(re=h,h=Fn(f,o)):(a=h,h=e)}else a=h,h=e}re=l,l=Tl(f,m)}else a=l,l=e;return U[v]={nextPos:a,result:l},l}function vs(){var l,f,m,h,s,u,g,o,v=a*76+6,d=U[v];if(d)return a=d.nextPos,d.result;if(l=a,f=_r(),f!==e){for(m=[],h=a,s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(u=Ze(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();o=_r(),o!==e?(re=h,h=Sn(f,o)):(a=h,h=e)}else a=h,h=e;for(;h!==e;){for(m.push(h),h=a,s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(u=Ze(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();o=_r(),o!==e?(re=h,h=Sn(f,o)):(a=h,h=e)}else a=h,h=e}re=l,l=Ol(f,m)}else a=l,l=e;return U[v]={nextPos:a,result:l},l}function Tn(){var l,f=a*76+7,m=U[f];return m?(a=m.nextPos,m.result):(l=ys(),l===e&&(l=Ui(),l===e&&(l=_r())),U[f]={nextPos:a,result:l},l)}function On(){var l,f=a*76+8,m=U[f];return m?(a=m.nextPos,m.result):(l=Nr(),l===e&&(l=ra(),l===e&&(l=ys())),U[f]={nextPos:a,result:l},l)}function _r(){var l,f=a*76+9,m=U[f];return m?(a=m.nextPos,m.result):(l=Nr(),l===e&&(l=ra(),l===e&&(l=zi(),l===e&&(l=Lu(),l===e&&(l=ju(),l===e&&(l=Bi(),l===e&&(l=Du(),l===e&&(l=Hu(),l===e&&(l=Uu(),l===e&&(l=zu(),l===e&&(l=Bu(),l===e&&(l=He()))))))))))),U[f]={nextPos:a,result:l},l)}function He(){var l,f=a*76+10,m=U[f];return m?(a=m.nextPos,m.result):(l=Ku(),l===e&&(l=Qr()),U[f]={nextPos:a,result:l},l)}function Qr(){var l,f=a*76+11,m=U[f];return m?(a=m.nextPos,m.result):(l=Vu(),l===e&&(l=Gu(),l===e&&(l=jr(),l===e&&(l=Gr()))),U[f]={nextPos:a,result:l},l)}function Gr(){var l,f,m,h,s,u,g=a*76+12,o=U[g];if(o)return a=o.nextPos,o.result;if(l=Zu(),l===e&&(l=Rn(),l===e&&(l=Vi(),l===e&&(l=en(),l===e&&(l=Yi(),l===e&&(l=Hn(),l===e&&(l=ea(),l===e&&(l=ta(),l===e&&(l=Qu(),l===e&&(l=qu(),l===e&&(l=Xu(),l===e)))))))))))if(l=a,t.charCodeAt(a)===40?(f=$,a++):(f=e,E===0&&j(Or)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(h=He(),h!==e){for(s=[],u=_();u!==e;)s.push(u),u=_();t.charCodeAt(a)===41?(u=C,a++):(u=e,E===0&&j(Kt)),u!==e?(re=l,l=mi(h)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Re(){var l,f=a*76+13,m=U[f];return m?(a=m.nextPos,m.result):(l=Yi(),l===e&&(l=en(),l===e&&(l=Hn(),l===e&&(l=Bn(),l===e&&(l=sa(),l===e&&(l=ea()))))),U[f]={nextPos:a,result:l},l)}function ys(){var l,f,m,h,s,u,g,o,v,d,A=a*76+14,w=U[A];if(w)return a=w.nextPos,w.result;if(l=a,t.substr(a,2)===P?(f=P,a+=2):(f=e,E===0&&j(Ir)),f!==e){if(m=[],h=_(),h!==e)for(;h!==e;)m.push(h),h=_();else m=e;if(m!==e)if(h=qe(),h!==e){if(s=[],u=_(),u!==e)for(;u!==e;)s.push(u),u=_();else s=e;if(s!==e)if(t.charCodeAt(a)===123?(u=N,a++):(u=e,E===0&&j(mr)),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();for(o=Ru(),o===e&&(o=null),v=[],d=_();d!==e;)v.push(d),d=_();t.charCodeAt(a)===125?(d=q,a++):(d=e,E===0&&j(vt)),d!==e?(re=l,l=Il(h,o)):(a=l,l=e)}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;return U[A]={nextPos:a,result:l},l}function Ui(){var l,f,m,h,s,u,g=a*76+15,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.substr(a,3)===le?(f=le,a+=3):(f=e,E===0&&j(ir)),f!==e){for(m=[],h=Fe();h!==e;)m.push(h),h=Fe();if(h=qe(),h!==e){for(s=[],u=_();u!==e;)s.push(u),u=_();u=Re(),u!==e?(re=l,l=Nl(h,u)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;if(l===e)if(l=a,t.substr(a,3)===le?(f=le,a+=3):(f=e,E===0&&j(ir)),f!==e){for(m=[],h=Fe();h!==e;)m.push(h),h=Fe();h=Re(),h!==e?(re=l,l=Rl(h)):(a=l,l=e)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Nr(){var l,f,m,h,s,u,g,o,v,d=a*76+16,A=U[d];if(A)return a=A.nextPos,A.result;if(l=a,t.substr(a,3)===se?(f=se,a+=3):(f=e,E===0&&j(Xr)),f!==e){if(m=[],h=_(),h!==e)for(;h!==e;)m.push(h),h=_();else m=e;if(m!==e)if(h=qe(),h!==e){for(s=a,u=[],g=_();g!==e;)u.push(g),g=_();if(t.charCodeAt(a)===58?(g=oe,a++):(g=e,E===0&&j(Et)),g!==e){for(o=[],v=_();v!==e;)o.push(v),v=_();v=lr(),v!==e?s=v:(a=s,s=e)}else a=s,s=e;for(s===e&&(s=null),u=[],g=_();g!==e;)u.push(g),g=_();if(t.charCodeAt(a)===61?(g=me,a++):(g=e,E===0&&j(Mt)),g!==e){for(o=[],v=_();v!==e;)o.push(v),v=_();v=He(),v!==e?(re=l,l=jl(h,s,v)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;if(l===e)if(l=a,t.substr(a,3)===O?(f=O,a+=3):(f=e,E===0&&j(hs)),f!==e){if(m=[],h=_(),h!==e)for(;h!==e;)m.push(h),h=_();else m=e;if(m!==e)if(h=qe(),h!==e){for(s=a,u=[],g=_();g!==e;)u.push(g),g=_();if(t.charCodeAt(a)===58?(g=oe,a++):(g=e,E===0&&j(Et)),g!==e){for(o=[],v=_();v!==e;)o.push(v),v=_();v=lr(),v!==e?s=v:(a=s,s=e)}else a=s,s=e;for(s===e&&(s=null),u=[],g=_();g!==e;)u.push(g),g=_();if(t.charCodeAt(a)===61?(g=me,a++):(g=e,E===0&&j(Mt)),g!==e){for(o=[],v=_();v!==e;)o.push(v),v=_();v=He(),v!==e?(re=l,l=Dl(h,s,v)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;return U[d]={nextPos:a,result:l},l}function zi(){var l,f,m,h,s=a*76+17,u=U[s];if(u)return a=u.nextPos,u.result;if(l=a,t.substr(a,2)===M?(f=M,a+=2):(f=e,E===0&&j(el)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();h=He(),h!==e?(re=l,l=Ll(h)):(a=l,l=e)}else a=l,l=e;return U[s]={nextPos:a,result:l},l}function ju(){var l,f,m,h,s,u,g,o=a*76+18,v=U[o];if(v)return a=v.nextPos,v.result;if(l=a,t.substr(a,2)===S?(f=S,a+=2):(f=e,E===0&&j(tl)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(h=qe(),h!==e){for(s=a,u=[],g=_();g!==e;)u.push(g),g=_();for(g=Re(),g!==e?s=g:(a=s,s=e),s===e&&(s=null),u=[],g=_();g!==e;)u.push(g),g=_();t.charCodeAt(a)===93?(g=D,a++):(g=e,E===0&&j(js)),g!==e?(re=l,l=Hl(h,s)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;return U[o]={nextPos:a,result:l},l}function Bi(){var l,f,m,h,s,u,g,o,v,d,A,w,F,I,B=a*76+19,W=U[B];if(W)return a=W.nextPos,W.result;if(l=a,t.substr(a,4)===H?(f=H,a+=4):(f=e,E===0&&j(ps)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(t.charCodeAt(a)===40?(h=$,a++):(h=e,E===0&&j(Or)),h!==e)if(t.substr(a,3)===se?(s=se,a+=3):(s=e,E===0&&j(Xr)),s!==e){if(u=[],g=_(),g!==e)for(;g!==e;)u.push(g),g=_();else u=e;if(u!==e)if(g=qe(),g!==e){for(o=[],v=_();v!==e;)o.push(v),v=_();for(t.charCodeAt(a)===44?(v=K,a++):(v=e,E===0&&j(Nt)),v===e&&(v=null),d=[],A=_();A!==e;)d.push(A),A=_();if(A=He(),A!==e)if(t.charCodeAt(a)===41?(w=C,a++):(w=e,E===0&&j(Kt)),w!==e){for(F=[],I=_();I!==e;)F.push(I),I=_();I=er(),I!==e?(re=l,l=Ul(g,A,I)):(a=l,l=e)}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;if(l===e)if(l=a,t.substr(a,4)===H?(f=H,a+=4):(f=e,E===0&&j(ps)),f!==e){if(m=[],h=_(),h!==e)for(;h!==e;)m.push(h),h=_();else m=e;if(m!==e)if(t.substr(a,3)===se?(h=se,a+=3):(h=e,E===0&&j(Xr)),h!==e){if(s=[],u=_(),u!==e)for(;u!==e;)s.push(u),u=_();else s=e;if(s!==e)if(u=qe(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();for(t.charCodeAt(a)===44?(o=K,a++):(o=e,E===0&&j(Nt)),o===e&&(o=null),v=[],d=_();d!==e;)v.push(d),d=_();if(d=He(),d!==e){if(A=[],w=_(),w!==e)for(;w!==e;)A.push(w),w=_();else A=e;A!==e?(w=er(),w!==e?(re=l,l=zl(u,d,w)):(a=l,l=e)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;return U[B]={nextPos:a,result:l},l}function Du(){var l,f,m,h,s,u,g,o,v,d,A,w,F,I,B,W=a*76+20,ie=U[W];if(ie)return a=ie.nextPos,ie.result;if(l=a,t.substr(a,3)===X?(f=X,a+=3):(f=e,E===0&&j(_t)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(t.charCodeAt(a)===40?(h=$,a++):(h=e,E===0&&j(Or)),h!==e)if(t.substr(a,3)===se?(s=se,a+=3):(s=e,E===0&&j(Xr)),s!==e){if(u=[],g=_(),g!==e)for(;g!==e;)u.push(g),g=_();else u=e;if(u!==e)if(g=qe(),g!==e){for(o=[],v=_();v!==e;)o.push(v),v=_();if(v=a,t.charCodeAt(a)===61?(d=me,a++):(d=e,E===0&&j(Mt)),d!==e){for(A=[],w=_();w!==e;)A.push(w),w=_();w=He(),w!==e?(re=v,v=Bl(g,w)):(a=v,v=e)}else a=v,v=e;for(v===e&&(v=null),t.charCodeAt(a)===44?(d=K,a++):(d=e,E===0&&j(Nt)),d===e&&(d=null),A=[],w=_();w!==e;)A.push(w),w=_();if(w=He(),w!==e)if(t.charCodeAt(a)===41?(F=C,a++):(F=e,E===0&&j(Kt)),F!==e){for(I=[],B=_();B!==e;)I.push(B),B=_();B=er(),B!==e?(re=l,l=Kl(g,v,w,B)):(a=l,l=e)}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;if(l===e){if(l=a,t.substr(a,3)===X?(f=X,a+=3):(f=e,E===0&&j(_t)),f!==e){if(m=[],h=_(),h!==e)for(;h!==e;)m.push(h),h=_();else m=e;if(m!==e)if(t.substr(a,3)===se?(h=se,a+=3):(h=e,E===0&&j(Xr)),h!==e){if(s=[],u=_(),u!==e)for(;u!==e;)s.push(u),u=_();else s=e;if(s!==e)if(u=qe(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();if(o=a,t.charCodeAt(a)===61?(v=me,a++):(v=e,E===0&&j(Mt)),v!==e){for(d=[],A=_();A!==e;)d.push(A),A=_();A=He(),A!==e?(re=o,o=ql(u,A)):(a=o,o=e)}else a=o,o=e;for(o===e&&(o=null),t.charCodeAt(a)===44?(v=K,a++):(v=e,E===0&&j(Nt)),v===e&&(v=null),d=[],A=_();A!==e;)d.push(A),A=_();if(A=He(),A!==e){if(w=[],F=_(),F!==e)for(;F!==e;)w.push(F),F=_();else w=e;w!==e?(F=er(),F!==e?(re=l,l=Wl(u,o,A,F)):(a=l,l=e)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;if(l===e){if(l=a,t.substr(a,3)===X?(f=X,a+=3):(f=e,E===0&&j(_t)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(t.charCodeAt(a)===40?(h=$,a++):(h=e,E===0&&j(Or)),h!==e)if(s=He(),s!==e)if(t.charCodeAt(a)===41?(u=C,a++):(u=e,E===0&&j(Kt)),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();o=er(),o!==e?(re=l,l=Vl(s,o)):(a=l,l=e)}else a=l,l=e;else a=l,l=e;else a=l,l=e}else a=l,l=e;if(l===e)if(l=a,t.substr(a,3)===X?(f=X,a+=3):(f=e,E===0&&j(_t)),f!==e){if(m=[],h=_(),h!==e)for(;h!==e;)m.push(h),h=_();else m=e;if(m!==e)if(h=He(),h!==e){if(s=[],u=_(),u!==e)for(;u!==e;)s.push(u),u=_();else s=e;s!==e?(u=er(),u!==e?(re=l,l=Jl(h,u)):(a=l,l=e)):(a=l,l=e)}else a=l,l=e;else a=l,l=e}else a=l,l=e}}return U[W]={nextPos:a,result:l},l}function Lu(){var l,f,m,h,s,u=a*76+21,g=U[u];if(g)return a=g.nextPos,g.result;if(l=a,t.substr(a,6)===J?(f=J,a+=6):(f=e,E===0&&j(Ds)),f!==e)if(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e){for(h=[],s=_();s!==e;)h.push(s),s=_();s=He(),s!==e?(re=l,l=Zl(s)):(a=l,l=e)}else a=l,l=e;else a=l,l=e;return U[u]={nextPos:a,result:l},l}function Hu(){var l,f,m,h,s,u,g,o,v=a*76+22,d=U[v];if(d)return a=d.nextPos,d.result;if(l=a,t.substr(a,4)===ve?(f=ve,a+=4):(f=e,E===0&&j(Ar)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(t.charCodeAt(a)===123?(h=N,a++):(h=e,E===0&&j(mr)),h!==e){for(s=[],u=_();u!==e;)s.push(u),u=_();if(u=vs(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();t.charCodeAt(a)===125?(o=q,a++):(o=e,E===0&&j(vt)),o!==e?(re=l,l=Xl(u)):(a=l,l=e)}else a=l,l=e}else a=l,l=e}else a=l,l=e;return U[v]={nextPos:a,result:l},l}function Uu(){var l,f,m,h,s=a*76+23,u=U[s];return u?(a=u.nextPos,u.result):(l=a,t.substr(a,5)===ye?(f=ye,a+=5):(f=e,E===0&&j(rl)),f!==e?(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e?(re=l,l=Yl()):(a=l,l=e)):(a=l,l=e),U[s]={nextPos:a,result:l},l)}function zu(){var l,f,m,h,s=a*76+24,u=U[s];return u?(a=u.nextPos,u.result):(l=a,t.substr(a,8)===Ee?(f=Ee,a+=8):(f=e,E===0&&j(sl)),f!==e?(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e?(re=l,l=Ql()):(a=l,l=e)):(a=l,l=e),U[s]={nextPos:a,result:l},l)}function Bu(){var l,f,m,h,s,u,g=a*76+25,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,f=He(),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(t.substr(a,2)===Be?(h=Be,a+=2):(h=e,E===0&&j(nl)),h===e&&(t.substr(a,2)===nt?(h=nt,a+=2):(h=e,E===0&&j(il)),h===e&&(t.charCodeAt(a)===61?(h=me,a++):(h=e,E===0&&j(Mt)))),h!==e){for(s=[],u=_();u!==e;)s.push(u),u=_();u=He(),u!==e?(re=l,l=Gl(f,h,u)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Ku(){var l,f,m,h,s,u,g,o,v=a*76+26,d=U[v];if(d)return a=d.nextPos,d.result;if(l=a,f=Qr(),f!==e){for(m=[],h=a,s=[],u=Rr();u!==e;)s.push(u),u=Rr();if(u=Ki(),u!==e){for(g=[],o=Rr();o!==e;)g.push(o),o=Rr();o=Qr(),o!==e?(re=h,h=wi(f,u,o)):(a=h,h=e)}else a=h,h=e;if(h!==e)for(;h!==e;){for(m.push(h),h=a,s=[],u=Rr();u!==e;)s.push(u),u=Rr();if(u=Ki(),u!==e){for(g=[],o=Rr();o!==e;)g.push(o),o=Rr();o=Qr(),o!==e?(re=h,h=wi(f,u,o)):(a=h,h=e)}else a=h,h=e}else m=e;m!==e?(re=l,l=eu(f,m)):(a=l,l=e)}else a=l,l=e;return U[v]={nextPos:a,result:l},l}function Rr(){var l,f,m,h=a*76+27,s=U[h];return s?(a=s.nextPos,s.result):(l=a,t.charCodeAt(a)===92?(f=Pt,a++):(f=e,E===0&&j(ui)),f!==e?(m=Ze(),m!==e?(f=[f,m],l=f):(a=l,l=e)):(a=l,l=e),l===e&&(l=Fe()),U[h]={nextPos:a,result:l},l)}function Ki(){var l,f,m=a*76+28,h=U[m];return h?(a=h.nextPos,h.result):(l=a,t.substr(a,2)===Ve?(f=Ve,a+=2):(f=e,E===0&&j(oi)),f===e&&(t.substr(a,2)===Ue?(f=Ue,a+=2):(f=e,E===0&&j(al)),f===e&&(t.substr(a,2)===we?(f=we,a+=2):(f=e,E===0&&j(ll)),f===e&&(t.substr(a,2)===De?(f=De,a+=2):(f=e,E===0&&j(ul)),f===e&&(t.substr(a,2)===it?(f=it,a+=2):(f=e,E===0&&j(ol)),f===e&&(t.substr(a,2)===ct?(f=ct,a+=2):(f=e,E===0&&j(fl)),f===e&&(t.charCodeAt(a)===60?(f=Ie,a++):(f=e,E===0&&j(fi)),f===e&&(t.charCodeAt(a)===62?(f=dr,a++):(f=e,E===0&&j(Pn)),f===e&&(t.charCodeAt(a)===43?(f=ht,a++):(f=e,E===0&&j(ci)),f===e&&(t.charCodeAt(a)===45?(f=kt,a++):(f=e,E===0&&j(cl)),f===e&&(t.charCodeAt(a)===42?(f=st,a++):(f=e,E===0&&j(hi)),f===e&&(t.charCodeAt(a)===94?(f=At,a++):(f=e,E===0&&j(pi)),f===e&&(t.charCodeAt(a)===47?(f=Yt,a++):(f=e,E===0&&j(hl)),f===e&&(t.charCodeAt(a)===37?(f=It,a++):(f=e,E===0&&j(pl))))))))))))))),f!==e&&(re=l,f=xi()),l=f,U[m]={nextPos:a,result:l},l)}function qu(){var l,f,m,h=a*76+29,s=U[h];return s?(a=s.nextPos,s.result):(l=a,t.charCodeAt(a)===33?(f=zt,a++):(f=e,E===0&&j(gl)),f!==e?(m=He(),m!==e?(re=l,l=tu(m)):(a=l,l=e)):(a=l,l=e),U[h]={nextPos:a,result:l},l)}function jr(){var l,f,m,h,s=a*76+30,u=U[s];if(u)return a=u.nextPos,u.result;if(l=a,f=Gr(),f!==e){if(m=[],h=In(),h===e&&(h=qi(),h===e&&(h=Nn())),h!==e)for(;h!==e;)m.push(h),h=In(),h===e&&(h=qi(),h===e&&(h=Nn()));else m=e;m!==e?(re=l,l=ru(f,m)):(a=l,l=e)}else a=l,l=e;return U[s]={nextPos:a,result:l},l}function In(){var l,f,m,h,s,u,g=a*76+31,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.charCodeAt(a)===40?(f=$,a++):(f=e,E===0&&j(Or)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();for(h=Wu(),h===e&&(h=null),s=[],u=_();u!==e;)s.push(u),u=_();t.charCodeAt(a)===41?(u=C,a++):(u=e,E===0&&j(Kt)),u!==e?(re=l,l=su(h)):(a=l,l=e)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Wu(){var l,f,m,h,s,u,g=a*76+32,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,f=He(),f!==e){for(m=[],h=a,s=es(),s!==e?(u=He(),u!==e?(re=h,h=bi(f,u)):(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=es(),s!==e?(u=He(),u!==e?(re=h,h=bi(f,u)):(a=h,h=e)):(a=h,h=e);re=l,l=nu(f,m)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function qi(){var l,f,m,h,s,u,g=a*76+33,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.charCodeAt(a)===91?(f=gt,a++):(f=e,E===0&&j(kn)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(h=He(),h!==e){for(s=[],u=_();u!==e;)s.push(u),u=_();t.charCodeAt(a)===93?(u=D,a++):(u=e,E===0&&j(js)),u!==e?(re=l,l=$i(h)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Nn(){var l,f,m,h=a*76+34,s=U[h];return s?(a=s.nextPos,s.result):(l=a,t.charCodeAt(a)===46?(f=T,a++):(f=e,E===0&&j(gs)),f!==e?(m=qe(),m!==e?(re=l,l=iu(m)):(a=l,l=e)):(a=l,l=e),U[h]={nextPos:a,result:l},l)}function Vu(){var l,f,m,h,s,u,g,o,v,d,A=a*76+35,w=U[A];if(w)return a=w.nextPos,w.result;if(l=a,t.substr(a,2)===L?(f=L,a+=2):(f=e,E===0&&j(En)),f!==e){if(m=[],h=_(),h!==e)for(;h!==e;)m.push(h),h=_();else m=e;if(m!==e)if(h=He(),h!==e){if(s=[],u=_(),u!==e)for(;u!==e;)s.push(u),u=_();else s=e;if(s!==e)if(u=er(),u!==e){if(g=a,o=[],v=_(),v!==e)for(;v!==e;)o.push(v),v=_();else o=e;if(o!==e?(v=Wi(),v!==e?g=v:(a=g,g=e)):(a=g,g=e),g===e&&(g=null),o=a,v=[],d=_(),d!==e)for(;d!==e;)v.push(d),d=_();else v=e;v!==e?(d=Ju(),d!==e?o=d:(a=o,o=e)):(a=o,o=e),o===e&&(o=null),re=l,l=au(h,u,g,o)}else a=l,l=e;else a=l,l=e}else a=l,l=e;else a=l,l=e}else a=l,l=e;return U[A]={nextPos:a,result:l},l}function Wi(){var l,f,m,h,s,u,g=a*76+36,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,f=Gs(),f!==e){for(m=[],h=a,s=[],u=_();u!==e;)s.push(u),u=_();for(u=Gs(),u!==e?h=u:(a=h,h=e);h!==e;){for(m.push(h),h=a,s=[],u=_();u!==e;)s.push(u),u=_();u=Gs(),u!==e?h=u:(a=h,h=e)}re=l,l=lu(f,m)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Gs(){var l,f,m,h,s,u,g,o=a*76+37,v=U[o];if(v)return a=v.nextPos,v.result;if(l=a,t.substr(a,4)===V?(f=V,a+=4):(f=e,E===0&&j(dl)),f!==e)if(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e){for(h=[],s=_();s!==e;)h.push(s),s=_();if(s=He(),s!==e){for(u=[],g=_();g!==e;)u.push(g),g=_();g=er(),g!==e?(re=l,l=uu(s,g)):(a=l,l=e)}else a=l,l=e}else a=l,l=e;else a=l,l=e;return U[o]={nextPos:a,result:l},l}function Ju(){var l,f,m,h,s,u=a*76+38,g=U[u];if(g)return a=g.nextPos,g.result;if(l=a,t.substr(a,4)===Q?(f=Q,a+=4):(f=e,E===0&&j(vl)),f!==e)if(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e){for(h=[],s=_();s!==e;)h.push(s),s=_();s=er(),s!==e?(re=l,l=ou(s)):(a=l,l=e)}else a=l,l=e;else a=l,l=e;return U[u]={nextPos:a,result:l},l}function Zu(){var l,f,m,h,s,u,g,o,v,d,A,w,F,I,B,W,ie,ke=a*76+39,be=U[ke];if(be)return a=be.nextPos,be.result;if(l=a,t.substr(a,5)===G?(f=G,a+=5):(f=e,E===0&&j(yl)),f!==e)if(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e){for(h=[],s=_();s!==e;)h.push(s),s=_();if(s=He(),s!==e){for(u=[],g=_();g!==e;)u.push(g),g=_();if(t.charCodeAt(a)===123?(g=N,a++):(g=e,E===0&&j(mr)),g!==e){for(o=[],v=_();v!==e;)o.push(v),v=_();if(v=[],d=a,A=He(),A!==e){for(w=[],F=_();F!==e;)w.push(F),F=_();if(t.substr(a,2)===ne?(F=ne,a+=2):(F=e,E===0&&j(Ls)),F!==e){for(I=[],B=_();B!==e;)I.push(B),B=_();if(B=er(),B!==e){for(W=[],ie=_();ie!==e;)W.push(ie),ie=_();re=d,d=Ai(s,A,B)}else a=d,d=e}else a=d,d=e}else a=d,d=e;if(d!==e)for(;d!==e;)if(v.push(d),d=a,A=He(),A!==e){for(w=[],F=_();F!==e;)w.push(F),F=_();if(t.substr(a,2)===ne?(F=ne,a+=2):(F=e,E===0&&j(Ls)),F!==e){for(I=[],B=_();B!==e;)I.push(B),B=_();if(B=er(),B!==e){for(W=[],ie=_();ie!==e;)W.push(ie),ie=_();re=d,d=Ai(s,A,B)}else a=d,d=e}else a=d,d=e}else a=d,d=e;else v=e;if(v!==e){if(d=a,t.charCodeAt(a)===42?(A=st,a++):(A=e,E===0&&j(hi)),A!==e){for(w=[],F=_();F!==e;)w.push(F),F=_();if(t.substr(a,2)===ne?(F=ne,a+=2):(F=e,E===0&&j(Ls)),F!==e){for(I=[],B=_();B!==e;)I.push(B),B=_();if(B=er(),B!==e){for(W=[],ie=_();ie!==e;)W.push(ie),ie=_();d=B}else a=d,d=e}else a=d,d=e}else a=d,d=e;for(d===e&&(d=null),A=[],w=_();w!==e;)A.push(w),w=_();t.charCodeAt(a)===125?(w=q,a++):(w=e,E===0&&j(vt)),w!==e?(re=l,l=fu(s,v,d)):(a=l,l=e)}else a=l,l=e}else a=l,l=e}else a=l,l=e}else a=l,l=e;else a=l,l=e;return U[ke]={nextPos:a,result:l},l}function Rn(){var l,f,m,h,s,u,g,o,v=a*76+40,d=U[v];if(d)return a=d.nextPos,d.result;if(l=a,t.substr(a,4)===ge?(f=ge,a+=4):(f=e,E===0&&j(Hs)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(t.charCodeAt(a)===123?(h=N,a++):(h=e,E===0&&j(mr)),h!==e){for(s=[],u=_();u!==e;)s.push(u),u=_();if(u=vs(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();t.charCodeAt(a)===125?(o=q,a++):(o=e,E===0&&j(vt)),o!==e?(re=l,l=_i(u)):(a=l,l=e)}else a=l,l=e}else a=l,l=e}else a=l,l=e;return U[v]={nextPos:a,result:l},l}function Xu(){var l,f,m=a*76+41,h=U[m];return h?(a=h.nextPos,h.result):(l=a,f=so(),f!==e&&(re=l,f=cu(f)),l=f,U[m]={nextPos:a,result:l},l)}function Vi(){var l,f,m,h,s,u,g=a*76+42,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.charCodeAt(a)===96?(f=ae,a++):(f=e,E===0&&j(Us)),f!==e){for(m=[],h=a,s=a,E++,t.charCodeAt(a)===96?(u=ae,a++):(u=e,E===0&&j(Us)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(u=Ji(),u!==e?h=u:(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=a,E++,t.charCodeAt(a)===96?(u=ae,a++):(u=e,E===0&&j(Us)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(u=Ji(),u!==e?h=u:(a=h,h=e)):(a=h,h=e);t.charCodeAt(a)===96?(h=ae,a++):(h=e,E===0&&j(Us)),h!==e?(re=l,l=hu(m)):(a=l,l=e)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Ji(){var l,f,m,h,s,u,g=a*76+43,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.charCodeAt(a)===123?(f=N,a++):(f=e,E===0&&j(mr)),f!==e){for(m=[],h=Fe();h!==e;)m.push(h),h=Fe();if(h=He(),h!==e){for(s=[],u=Fe();u!==e;)s.push(u),u=Fe();t.charCodeAt(a)===125?(u=q,a++):(u=e,E===0&&j(vt)),u!==e?l=h:(a=l,l=e)}else a=l,l=e}else a=l,l=e;if(l===e){if(l=a,f=[],m=Zi(),m!==e)for(;m!==e;)f.push(m),m=Zi();else f=e;f!==e&&(re=l,f=pu(f)),l=f}return U[g]={nextPos:a,result:l},l}function Zi(){var l,f=a*76+44,m=U[f];return m?(a=m.nextPos,m.result):(l=Xi(),l===e&&(Qt.test(t.charAt(a))?(l=t.charAt(a),a++):(l=e,E===0&&j(ml))),U[f]={nextPos:a,result:l},l)}function Xi(){var l,f,m,h=a*76+45,s=U[h];return s?(a=s.nextPos,s.result):(l=a,t.charCodeAt(a)===92?(f=Pt,a++):(f=e,E===0&&j(ui)),f!==e?(zr.test(t.charAt(a))?(m=t.charAt(a),a++):(m=e,E===0&&j(zs)),m!==e?l=m:(a=l,l=e)):(a=l,l=e),U[h]={nextPos:a,result:l},l)}function en(){var l,f,m,h,s,u,g=a*76+46,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.charCodeAt(a)===34?(f=fe,a++):(f=e,E===0&&j(Bs)),f!==e){for(m=[],h=a,s=a,E++,t.charCodeAt(a)===34?(u=fe,a++):(u=e,E===0&&j(Bs)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(u=jn(),u===e&&(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr))),u!==e?(re=h,h=Ci(u)):(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=a,E++,t.charCodeAt(a)===34?(u=fe,a++):(u=e,E===0&&j(Bs)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(u=jn(),u===e&&(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr))),u!==e?(re=h,h=Ci(u)):(a=h,h=e)):(a=h,h=e);t.charCodeAt(a)===34?(h=fe,a++):(h=e,E===0&&j(Bs)),h!==e?(re=l,l=gu(m)):(a=l,l=e)}else a=l,l=e;if(l===e)if(l=a,t.charCodeAt(a)===39?(f=te,a++):(f=e,E===0&&j(Ks)),f!==e){for(m=[],h=a,s=a,E++,t.charCodeAt(a)===39?(u=te,a++):(u=e,E===0&&j(Ks)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(u=Dn(),u===e&&(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr))),u!==e?(re=h,h=Pi(u)):(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=a,E++,t.charCodeAt(a)===39?(u=te,a++):(u=e,E===0&&j(Ks)),E--,u===e?s=void 0:(a=s,s=e),s!==e?(u=Dn(),u===e&&(t.length>a?(u=t.charAt(a),a++):(u=e,E===0&&j(vr))),u!==e?(re=h,h=Pi(u)):(a=h,h=e)):(a=h,h=e);t.charCodeAt(a)===39?(h=te,a++):(h=e,E===0&&j(Ks)),h!==e?(re=l,l=ki(m)):(a=l,l=e)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function jn(){var l,f,m=a*76+47,h=U[m];return h?(a=h.nextPos,h.result):(l=a,t.substr(a,2)===_e?(f=_e,a+=2):(f=e,E===0&&j(qs)),f!==e&&(re=l,f=du()),l=f,U[m]={nextPos:a,result:l},l)}function Dn(){var l,f,m=a*76+48,h=U[m];return h?(a=h.nextPos,h.result):(l=a,t.substr(a,2)===xe?(f=xe,a+=2):(f=e,E===0&&j(Ws)),f!==e&&(re=l,f=Ei()),l=f,U[m]={nextPos:a,result:l},l)}function Yi(){var l,f=a*76+49,m=U[f];return m?(a=m.nextPos,m.result):(l=Ln(),l===e&&(l=Qi()),U[f]={nextPos:a,result:l},l)}function Ln(){var l,f,m,h,s,u,g=a*76+50,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,Br.test(t.charAt(a))?(t.charAt(a),a++):E===0&&j(Vs),dt.test(t.charAt(a))?(f=t.charAt(a),a++):(f=e,E===0&&j(gi)),f!==e){if(m=[],at.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j(qt)),h!==e)for(;h!==e;)m.push(h),at.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j(qt));else m=e;if(m!==e)if(t.charCodeAt(a)===46?(h=T,a++):(h=e,E===0&&j(gs)),h!==e){if(s=[],at.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,E===0&&j(qt)),u!==e)for(;u!==e;)s.push(u),at.test(t.charAt(a))?(u=t.charAt(a),a++):(u=e,E===0&&j(qt));else s=e;s!==e?(re=l,l=vu()):(a=l,l=e)}else a=l,l=e;else a=l,l=e}else a=l,l=e;if(l===e)if(l=a,Br.test(t.charAt(a))?(t.charAt(a),a++):E===0&&j(Vs),at.test(t.charAt(a))?(f=t.charAt(a),a++):(f=e,E===0&&j(qt)),f!==e)if(t.charCodeAt(a)===46?(m=T,a++):(m=e,E===0&&j(gs)),m!==e){if(h=[],at.test(t.charAt(a))?(s=t.charAt(a),a++):(s=e,E===0&&j(qt)),s!==e)for(;s!==e;)h.push(s),at.test(t.charAt(a))?(s=t.charAt(a),a++):(s=e,E===0&&j(qt));else h=e;h!==e?(re=l,l=yu()):(a=l,l=e)}else a=l,l=e;else a=l,l=e;return U[g]={nextPos:a,result:l},l}function Qi(){var l,f,m,h,s=a*76+51,u=U[s];if(u)return a=u.nextPos,u.result;if(l=a,Br.test(t.charAt(a))?(t.charAt(a),a++):E===0&&j(Vs),dt.test(t.charAt(a))?(f=t.charAt(a),a++):(f=e,E===0&&j(gi)),f!==e){if(m=[],at.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j(qt)),h!==e)for(;h!==e;)m.push(h),at.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j(qt));else m=e;m!==e?(re=l,l=mu()):(a=l,l=e)}else a=l,l=e;return l===e&&(l=a,Br.test(t.charAt(a))?(t.charAt(a),a++):E===0&&j(Vs),at.test(t.charAt(a))?(f=t.charAt(a),a++):(f=e,E===0&&j(qt)),f!==e?(re=l,l=wu()):(a=l,l=e)),U[s]={nextPos:a,result:l},l}function Hn(){var l,f=a*76+52,m=U[f];return m?(a=m.nextPos,m.result):(l=Gi(),l===e&&(l=Yu()),U[f]={nextPos:a,result:l},l)}function Gi(){var l,f,m,h,s=a*76+53,u=U[s];return u?(a=u.nextPos,u.result):(l=a,t.substr(a,4)===Ce?(f=Ce,a+=4):(f=e,E===0&&j(di)),f!==e?(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e?(re=l,l=xu()):(a=l,l=e)):(a=l,l=e),U[s]={nextPos:a,result:l},l)}function Yu(){var l,f,m,h,s=a*76+54,u=U[s];return u?(a=u.nextPos,u.result):(l=a,t.substr(a,5)===Pe?(f=Pe,a+=5):(f=e,E===0&&j(wr)),f!==e?(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e?(re=l,l=bu()):(a=l,l=e)):(a=l,l=e),U[s]={nextPos:a,result:l},l)}function ea(){var l,f,m,h,s=a*76+55,u=U[s];return u?(a=u.nextPos,u.result):(l=a,t.substr(a,4)===Te?(f=Te,a+=4):(f=e,E===0&&j(wl)),f!==e?(m=a,E++,bt.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j($r)),E--,h===e?m=void 0:(a=m,m=e),m!==e?(re=l,l=$u()):(a=l,l=e)):(a=l,l=e),U[s]={nextPos:a,result:l},l)}function ta(){var l,f,m,h,s,u,g,o,v,d,A,w,F,I,B=a*76+56,W=U[B];if(W)return a=W.nextPos,W.result;if(l=a,t.charCodeAt(a)===123?(f=N,a++):(f=e,E===0&&j(mr)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(h=[],s=a,u=qe(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();if(t.charCodeAt(a)===58?(o=oe,a++):(o=e,E===0&&j(Et)),o!==e){if(v=[],d=_(),d!==e)for(;d!==e;)v.push(d),d=_();else v=e;if(v!==e)if(d=He(),d!==e){for(A=[],w=_();w!==e;)A.push(w),w=_();for(t.charCodeAt(a)===44?(w=K,a++):(w=e,E===0&&j(Nt)),w===e&&(t.charCodeAt(a)===59?(w=ze,a++):(w=e,E===0&&j(Js))),w===e&&(w=null),F=[],I=_();I!==e;)F.push(I),I=_();re=s,s=Mi(u,d)}else a=s,s=e;else a=s,s=e}else a=s,s=e}else a=s,s=e;for(;s!==e;)if(h.push(s),s=a,u=qe(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();if(t.charCodeAt(a)===58?(o=oe,a++):(o=e,E===0&&j(Et)),o!==e){if(v=[],d=_(),d!==e)for(;d!==e;)v.push(d),d=_();else v=e;if(v!==e)if(d=He(),d!==e){for(A=[],w=_();w!==e;)A.push(w),w=_();for(t.charCodeAt(a)===44?(w=K,a++):(w=e,E===0&&j(Nt)),w===e&&(t.charCodeAt(a)===59?(w=ze,a++):(w=e,E===0&&j(Js))),w===e&&(w=null),F=[],I=_();I!==e;)F.push(I),I=_();re=s,s=Mi(u,d)}else a=s,s=e;else a=s,s=e}else a=s,s=e}else a=s,s=e;t.charCodeAt(a)===125?(s=q,a++):(s=e,E===0&&j(vt)),s!==e?(re=l,l=Au(h)):(a=l,l=e)}else a=l,l=e;return U[B]={nextPos:a,result:l},l}function Qu(){var l,f,m,h,s,u,g,o,v,d,A=a*76+57,w=U[A];if(w)return a=w.nextPos,w.result;if(l=a,t.charCodeAt(a)===91?(f=gt,a++):(f=e,E===0&&j(kn)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(h=[],s=a,u=He(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();for(t.charCodeAt(a)===44?(o=K,a++):(o=e,E===0&&j(Nt)),o===e&&(o=null),v=[],d=_();d!==e;)v.push(d),d=_();re=s,s=Fi(u)}else a=s,s=e;for(;s!==e;)if(h.push(s),s=a,u=He(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();for(t.charCodeAt(a)===44?(o=K,a++):(o=e,E===0&&j(Nt)),o===e&&(o=null),v=[],d=_();d!==e;)v.push(d),d=_();re=s,s=Fi(u)}else a=s,s=e;for(s=[],u=_();u!==e;)s.push(u),u=_();t.charCodeAt(a)===93?(u=D,a++):(u=e,E===0&&j(js)),u!==e?(re=l,l=Si(h)):(a=l,l=e)}else a=l,l=e;return U[A]={nextPos:a,result:l},l}function Un(){var l,f,m,h,s,u,g,o=a*76+58,v=U[o];if(v)return a=v.nextPos,v.result;if(l=a,f=qe(),f!==e){for(m=a,h=[],s=_();s!==e;)h.push(s),s=_();if(t.charCodeAt(a)===58?(s=oe,a++):(s=e,E===0&&j(Et)),s!==e){for(u=[],g=_();g!==e;)u.push(g),g=_();g=lr(),g!==e?m=g:(a=m,m=e)}else a=m,m=e;m===e&&(m=null),re=l,l=_u(f,m)}else a=l,l=e;return U[o]={nextPos:a,result:l},l}function zn(){var l,f,m,h,s,u,g=a*76+59,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,f=Un(),f!==e){for(m=[],h=a,s=es(),s!==e?(u=Un(),u!==e?h=u:(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=es(),s!==e?(u=Un(),u!==e?h=u:(a=h,h=e)):(a=h,h=e);re=l,l=Ti(f,m)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function ra(){var l,f,m,h,s,u,g,o,v,d,A,w,F,I,B,W,ie,ke=a*76+60,be=U[ke];if(be)return a=be.nextPos,be.result;if(l=a,t.charCodeAt(a)===64?(f=Le,a++):(f=e,E===0&&j(xl)),f!==e){for(m=[],h=Fe();h!==e;)m.push(h),h=Fe();if(h=qe(),h!==e){for(s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(t.charCodeAt(a)===40?(u=$,a++):(u=e,E===0&&j(Or)),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();for(o=zn(),o===e&&(o=null),v=[],d=_();d!==e;)v.push(d),d=_();if(t.charCodeAt(a)===41?(d=C,a++):(d=e,E===0&&j(Kt)),d!==e){for(A=a,w=[],F=_();F!==e;)w.push(F),F=_();if(t.charCodeAt(a)===58?(F=oe,a++):(F=e,E===0&&j(Et)),F!==e){for(I=[],B=_();B!==e;)I.push(B),B=_();B=lr(),B!==e?A=B:(a=A,A=e)}else a=A,A=e;for(A===e&&(A=null),w=[],F=_();F!==e;)w.push(F),F=_();if(t.charCodeAt(a)===123?(F=N,a++):(F=e,E===0&&j(mr)),F!==e){for(I=[],B=_();B!==e;)I.push(B),B=_();for(B=vs(),B===e&&(B=null),W=[],ie=_();ie!==e;)W.push(ie),ie=_();t.charCodeAt(a)===125?(ie=q,a++):(ie=e,E===0&&j(vt)),ie!==e?(re=l,l=Cu(m,h,s,o,A,B)):(a=l,l=e)}else a=l,l=e}else a=l,l=e}else a=l,l=e}else a=l,l=e}else a=l,l=e;return U[ke]={nextPos:a,result:l},l}function Gu(){var l,f,m,h,s,u,g,o,v,d,A,w,F,I=a*76+61,B=U[I];if(B)return a=B.nextPos,B.result;if(l=a,t.substr(a,2)===Ye?(f=Ye,a+=2):(f=e,E===0&&j(ds)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();for(h=zn(),h===e&&(h=null),s=[],u=_();u!==e;)s.push(u),u=_();if(t.charCodeAt(a)===41?(u=C,a++):(u=e,E===0&&j(Kt)),u!==e){for(g=a,o=[],v=_();v!==e;)o.push(v),v=_();if(t.charCodeAt(a)===58?(v=oe,a++):(v=e,E===0&&j(Et)),v!==e){for(d=[],A=_();A!==e;)d.push(A),A=_();A=lr(),A!==e?g=A:(a=g,g=e)}else a=g,g=e;for(g===e&&(g=null),o=[],v=_();v!==e;)o.push(v),v=_();if(t.charCodeAt(a)===123?(v=N,a++):(v=e,E===0&&j(mr)),v!==e){for(d=[],A=_();A!==e;)d.push(A),A=_();for(A=vs(),A===e&&(A=null),w=[],F=_();F!==e;)w.push(F),F=_();t.charCodeAt(a)===125?(F=q,a++):(F=e,E===0&&j(vt)),F!==e?(re=l,l=Pu(h,g,A)):(a=l,l=e)}else a=l,l=e}else a=l,l=e}else a=l,l=e;return U[I]={nextPos:a,result:l},l}function Bn(){var l,f,m,h,s,u,g,o,v,d,A=a*76+62,w=U[A];if(w)return a=w.nextPos,w.result;if(l=a,t.charCodeAt(a)===91?(f=gt,a++):(f=e,E===0&&j(kn)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(h=[],s=a,u=Re(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();for(t.charCodeAt(a)===44?(o=K,a++):(o=e,E===0&&j(Nt)),o===e&&(o=null),v=[],d=_();d!==e;)v.push(d),d=_();re=s,s=Oi(u)}else a=s,s=e;for(;s!==e;)if(h.push(s),s=a,u=Re(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();for(t.charCodeAt(a)===44?(o=K,a++):(o=e,E===0&&j(Nt)),o===e&&(o=null),v=[],d=_();d!==e;)v.push(d),d=_();re=s,s=Oi(u)}else a=s,s=e;for(s=[],u=_();u!==e;)s.push(u),u=_();t.charCodeAt(a)===93?(u=D,a++):(u=e,E===0&&j(js)),u!==e?(re=l,l=ku(h)):(a=l,l=e)}else a=l,l=e;return U[A]={nextPos:a,result:l},l}function sa(){var l,f,m,h,s,u,g,o,v,d,A,w,F,I,B=a*76+63,W=U[B];if(W)return a=W.nextPos,W.result;if(l=a,t.charCodeAt(a)===123?(f=N,a++):(f=e,E===0&&j(mr)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();if(h=[],s=a,u=qe(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();if(t.charCodeAt(a)===58?(o=oe,a++):(o=e,E===0&&j(Et)),o!==e){if(v=[],d=_(),d!==e)for(;d!==e;)v.push(d),d=_();else v=e;if(v!==e)if(d=Re(),d!==e){for(A=[],w=_();w!==e;)A.push(w),w=_();for(t.charCodeAt(a)===44?(w=K,a++):(w=e,E===0&&j(Nt)),w===e&&(t.charCodeAt(a)===59?(w=ze,a++):(w=e,E===0&&j(Js))),w===e&&(w=null),F=[],I=_();I!==e;)F.push(I),I=_();re=s,s=Ii(u,d)}else a=s,s=e;else a=s,s=e}else a=s,s=e}else a=s,s=e;for(;s!==e;)if(h.push(s),s=a,u=qe(),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();if(t.charCodeAt(a)===58?(o=oe,a++):(o=e,E===0&&j(Et)),o!==e){if(v=[],d=_(),d!==e)for(;d!==e;)v.push(d),d=_();else v=e;if(v!==e)if(d=Re(),d!==e){for(A=[],w=_();w!==e;)A.push(w),w=_();for(t.charCodeAt(a)===44?(w=K,a++):(w=e,E===0&&j(Nt)),w===e&&(t.charCodeAt(a)===59?(w=ze,a++):(w=e,E===0&&j(Js))),w===e&&(w=null),F=[],I=_();I!==e;)F.push(I),I=_();re=s,s=Ii(u,d)}else a=s,s=e;else a=s,s=e}else a=s,s=e}else a=s,s=e;t.charCodeAt(a)===125?(s=q,a++):(s=e,E===0&&j(vt)),s!==e?(re=l,l=Ni(h)):(a=l,l=e)}else a=l,l=e;return U[B]={nextPos:a,result:l},l}function lr(){var l,f=a*76+64,m=U[f];return m?(a=m.nextPos,m.result):(l=eo(),l===e&&(l=ro()),U[f]={nextPos:a,result:l},l)}function eo(){var l,f,m,h,s,u,g,o,v,d,A=a*76+65,w=U[A];if(w)return a=w.nextPos,w.result;if(l=a,t.substr(a,2)===Ye?(f=Ye,a+=2):(f=e,E===0&&j(ds)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();for(h=to(),h===e&&(h=null),s=[],u=_();u!==e;)s.push(u),u=_();if(t.charCodeAt(a)===41?(u=C,a++):(u=e,E===0&&j(Kt)),u!==e){for(g=[],o=_();o!==e;)g.push(o),o=_();if(t.substr(a,2)===ne?(o=ne,a+=2):(o=e,E===0&&j(Ls)),o!==e){for(v=[],d=_();d!==e;)v.push(d),d=_();d=lr(),d!==e?(re=l,l=Eu(h,d)):(a=l,l=e)}else a=l,l=e}else a=l,l=e}else a=l,l=e;return U[A]={nextPos:a,result:l},l}function to(){var l,f,m,h,s,u,g=a*76+66,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,f=lr(),f!==e){for(m=[],h=a,s=es(),s!==e?(u=lr(),u!==e?h=u:(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,s=es(),s!==e?(u=lr(),u!==e?h=u:(a=h,h=e)):(a=h,h=e);re=l,l=Ri(f,m)}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function ro(){var l,f,m,h,s,u,g,o,v=a*76+67,d=U[v];if(d)return a=d.nextPos,d.result;if(l=a,f=qe(),f!==e){for(m=[],h=Fe();h!==e;)m.push(h),h=Fe();if(t.charCodeAt(a)===60?(h=Ie,a++):(h=e,E===0&&j(fi)),h!==e){for(s=[],u=Fe();u!==e;)s.push(u),u=Fe();if(u=lr(),u!==e){for(g=[],o=Fe();o!==e;)g.push(o),o=Fe();t.charCodeAt(a)===62?(o=dr,a++):(o=e,E===0&&j(Pn)),o!==e?(re=l,l=Mu(f,u)):(a=l,l=e)}else a=l,l=e}else a=l,l=e}else a=l,l=e;return l===e&&(l=a,f=qe(),f!==e&&(re=l,f=Fu(f)),l=f),U[v]={nextPos:a,result:l},l}function qe(){var l,f,m,h,s=a*76+68,u=U[s];if(u)return a=u.nextPos,u.result;if(l=a,Bt.test(t.charAt(a))?(f=t.charAt(a),a++):(f=e,E===0&&j(bl)),f!==e){for(m=[],ai.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j(Mn));h!==e;)m.push(h),ai.test(t.charAt(a))?(h=t.charAt(a),a++):(h=e,E===0&&j(Mn));re=l,l=Su()}else a=l,l=e;return U[s]={nextPos:a,result:l},l}function so(){var l,f,m,h,s,u,g=a*76+69,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,f=qe(),f!==e){for(m=[],h=a,t.charCodeAt(a)===58?(s=oe,a++):(s=e,E===0&&j(Et)),s!==e?(u=qe(),u!==e?(s=[s,u],h=s):(a=h,h=e)):(a=h,h=e);h!==e;)m.push(h),h=a,t.charCodeAt(a)===58?(s=oe,a++):(s=e,E===0&&j(Et)),s!==e?(u=qe(),u!==e?(s=[s,u],h=s):(a=h,h=e)):(a=h,h=e);re=l,l=Tu()}else a=l,l=e;return U[g]={nextPos:a,result:l},l}function es(){var l,f,m,h,s,u=a*76+70,g=U[u];if(g)return a=g.nextPos,g.result;for(l=a,f=[],m=_();m!==e;)f.push(m),m=_();if(t.charCodeAt(a)===44?(m=K,a++):(m=e,E===0&&j(Nt)),m!==e){for(h=[],s=_();s!==e;)h.push(s),s=_();f=[f,m,h],l=f}else a=l,l=e;if(l===e)if(l=[],f=_(),f!==e)for(;f!==e;)l.push(f),f=_();else l=e;return U[u]={nextPos:a,result:l},l}function er(){var l,f,m,h,s,u,g=a*76+71,o=U[g];if(o)return a=o.nextPos,o.result;if(l=a,t.charCodeAt(a)===123?(f=N,a++):(f=e,E===0&&j(mr)),f!==e){for(m=[],h=_();h!==e;)m.push(h),h=_();for(h=vs(),h===e&&(h=null),s=[],u=_();u!==e;)s.push(u),u=_();t.charCodeAt(a)===125?(u=q,a++):(u=e,E===0&&j(vt)),u!==e?(re=l,l=Ou(h)):(a=l,l=e)}else a=l,l=e;return l===e&&(l=_r()),U[g]={nextPos:a,result:l},l}function Ze(){var l,f=a*76+72,m=U[f];return m?(a=m.nextPos,m.result):(t.substr(a,2)===xt?(l=xt,a+=2):(l=e,E===0&&j($l)),l===e&&(li.test(t.charAt(a))?(l=t.charAt(a),a++):(l=e,E===0&&j(vi))),U[f]={nextPos:a,result:l},l)}function na(){var l,f,m=a*76+73,h=U[m];return h?(a=h.nextPos,h.result):(l=a,E++,t.length>a?(f=t.charAt(a),a++):(f=e,E===0&&j(vr)),E--,f===e?l=void 0:(a=l,l=e),l===e&&(l=Ze()),U[m]={nextPos:a,result:l},l)}function _(){var l,f=a*76+74,m=U[f];return m?(a=m.nextPos,m.result):(Ya.test(t.charAt(a))?(l=t.charAt(a),a++):(l=e,E===0&&j(Al)),U[f]={nextPos:a,result:l},l)}function Fe(){var l,f=a*76+75,m=U[f];return m?(a=m.nextPos,m.result):(Qa.test(t.charAt(a))?(l=t.charAt(a),a++):(l=e,E===0&&j(_l)),U[f]={nextPos:a,result:l},l)}function Ae(l,f,m){const h={type:l};f.children=m;for(const u of Object.keys(f))f[u]!==void 0&&(h[u]=f[u]);const s=z();return h.loc={start:s.start.offset,end:s.end.offset-1},h}if(Yr=p(),Yr!==e&&a===t.length)return Yr;throw Yr!==e&&a`}else return t.name;case"fnTypeSource":{const r=t.args.map(n=>$a(n)).join(", "),e=$a(t.result);return`@(${r}) { ${e} }`}}}function dn(t){if(t.type==="namedTypeSource"){switch(t.name){case"null":case"bool":case"num":case"str":case"any":case"void":{if(t.inner==null)return tc(t.name);break}case"arr":case"obj":{let r;return t.inner!=null?r=dn(t.inner):r=tc("any"),kv(t.name,[r])}}throw new Os(`Unknown type: '${$a(t)}'`)}else{const r=t.args.map(e=>dn(e));return Ev(r,dn(t.result))}}function Mv(t){switch(t.type){case"def":{t.varType!=null&&dn(t.varType);break}case"fn":{for(const r of t.args)r.argType!=null&&dn(r.argType);t.retType!=null&&dn(t.retType);break}}return t}function Fv(t){for(const r of t)Oe(r,Mv);return t}function Aa(t){const r=[],e=[];for(const n of t)if(n.type==="attr")e.push(n);else if(n.type==="def")n.attr==null&&(n.attr=[]),n.attr.push(...e),e.splice(0,e.length),n.expr.type==="fn"&&(n.expr.children=Aa(n.expr.children)),r.push(n);else{if(e.length>0)throw new Os("invalid attribute.");switch(n.type){case"fn":{n.children=Aa(n.children);break}case"block":{n.statements=Aa(n.statements);break}}r.push(n)}if(e.length>0)throw new Os("invalid attribute.");return r}function Sv(t){if(bv(t)&&vh(t)&&t.chain!=null){const{chain:r,...e}=t;let n=e;for(const c of r)switch(c.type){case"callChain":{n=$v(n,c.args,c.loc);break}case"indexChain":{n=Av(n,c.index,c.loc);break}case"propChain":{n=_v(n,c.name,c.loc);break}}return n}return t}function Tv(t){for(let r=0;r":{func:"Core:gt",priority:4},"<=":{func:"Core:lteq",priority:4},">=":{func:"Core:gteq",priority:4},"&&":{mapFn:t=>({type:"and",left:Cs(t.left),right:Cs(t.right)}),priority:3},"||":{mapFn:t=>({type:"or",left:Cs(t.left),right:Cs(t.right)}),priority:3}};function Iv(t){const r=t.operators.map(n=>{const c=Ov[n];if(c==null)throw new Os(`No such operator: ${n}.`);return c});let e=_a(t.operands[0],t.operands[1],r[0]);for(let n=0;ne.type==="infix"?Iv(e):e);return t}const an=class{constructor(){Qe(this,"plugins");this.plugins={validate:[Pv,Fv],transform:[Aa,Tv,Nv]}}static parse(r){return an.instance==null&&(an.instance=new an),an.instance.parse(r)}addPlugin(r,e){switch(r){case"validate":this.plugins.validate.push(e);break;case"transform":this.plugins.transform.push(e);break;default:throw new Error("unknown plugin type")}}parse(r){let e;try{const n=ec(r,{startRule:"Preprocess"});e=ec(n,{startRule:"Main"})}catch(n){throw n.location?n.expected?new Os(`Parsing error. (Line ${n.location.start.line}:${n.location.start.column})`):new Os(`${n.message} (Line ${n.location.start.line}:${n.location.start.column})`):n}for(const n of this.plugins.validate)e=n(e);for(const n of this.plugins.transform)e=n(e);return e}};let Ca=an;Qe(Ca,"instance");const Xa=t=>(Fc("data-v-e4694df4"),t=t(),Sc(),t),Rv={id:"root"},jv={id:"grid1"},Dv={id:"editor",class:"container"},Lv={key:0,class:"syntaxError"},Hv={id:"logs",class:"container"},Uv=Xa(()=>je("header",null,"Output",-1)),zv={class:"type"},Bv={id:"grid2"},Kv={id:"ast",class:"container"},qv=Xa(()=>je("header",null,"AST",-1)),Wv=Xa(()=>je("div",{id:"bin",class:"container"},[je("header",null,"Bytecode"),je("div")],-1)),Vv=Xa(()=>je("div",{id:"debugger",class:"container"},[je("header",null,"Debugger"),je("div")],-1)),Jv=Ba({__name:"V0_15_0",setup(t){const r=Vr(window.localStorage.getItem("script")||'<: "Hello, AiScript!"'),e=Vr(null),n=Vr([]),c=Vr(null);Zn(r,()=>{window.localStorage.setItem("script",r.value);try{e.value=Ca.parse(r.value),c.value=null}catch($){c.value=$.message,console.error($.info);return}},{immediate:!0});const p=()=>{r.value=`for (let i, 100) { + <: if (i % 15 == 0) "FizzBuzz" + elif (i % 3 == 0) "Fizz" + elif (i % 5 == 0) "Buzz" + else i +}`};let x=null;const y=async()=>{n.value=[],x==null||x.abort(),x=new nr({},{in:$=>new Promise(C=>{const P=window.prompt($);C(P!=null?P:"")}),out:$=>{n.value.push({id:Math.random(),type:$.type,text:Lo($,!0),print:!0})},log:($,C)=>{switch($){case"end":n.value.push({id:Math.random(),text:Lo(C.val,!0),print:!1});break}}});try{await x.exec(e.value)}catch($){console.error($),window.alert($.toString())}},b=$=>ii.exports.highlight($,ii.exports.languages.js,"javascript");return($,C)=>(Tt(),hr("div",Rv,[je("div",jv,[je("div",Dv,[je("header",null,[kr("Input"),je("div",{class:"actions"},[je("button",{onClick:p},"FizzBuzz")])]),je("div",null,[yt(ef(hh),{class:"code",modelValue:r.value,"onUpdate:modelValue":C[0]||(C[0]=P=>r.value=P),highlight:b,"line-numbers":!1},null,8,["modelValue"])]),je("footer",null,[c.value?(Tt(),hr("span",Lv,Wr(c.value),1)):wn("",!0),je("div",{class:"actions"},[je("button",{onClick:y},"RUN")])])]),je("div",Hv,[Uv,je("div",null,[(Tt(!0),hr(Zt,null,sf(n.value,P=>(Tt(),hr("div",{class:qr(["log",[{print:P.print},P.type]]),key:P.id},[je("span",zv,Wr(P.type),1),kr(" "+Wr(P.text),1)],2))),128))])])]),je("div",Bv,[je("div",Kv,[qv,je("div",null,[je("pre",null,Wr(JSON.stringify(e.value,null," ")),1)])]),Wv,Vv])]))}});var Zv=Ja(Jv,[["__scopeId","data-v-e4694df4"]]);const Xv=Ba({__name:"App",setup(t){const r=Vr("0.16.0"),e=["0.16.0","0.15.0"];function n(c){if(c.target instanceof HTMLSelectElement)r.value=c.target.value;else throw new Error("onVersionSelect got non-select element.")}return(c,p)=>(Tt(),hr(Zt,null,[je("h1",null,[kr("AiScript ( "),je("select",{id:"version",onChange:n},[(Tt(),hr(Zt,null,sf(e,x=>je("option",null,Wr(x),1)),64))],32),kr(" ) Playground")]),r.value==="0.16.0"?(Tt(),Sa(ev,{key:0})):wn("",!0),r.value==="0.15.0"?(Tt(),Sa(Zv,{key:1})):wn("",!0)],64))}});var Yv=Ja(Xv,[["__scopeId","data-v-72705755"]]);Dg(Yv).mount("#app"); diff --git a/assets/index.e0965cc5.css b/assets/index.e0965cc5.css new file mode 100644 index 0000000..38d0966 --- /dev/null +++ b/assets/index.e0965cc5.css @@ -0,0 +1 @@ +.prism-editor-wrapper{width:100%;height:100%;display:flex;align-items:flex-start;overflow:auto;-o-tab-size:1.5em;tab-size:1.5em;-moz-tab-size:1.5em}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.prism-editor-wrapper .prism-editor__textarea{color:transparent!important}.prism-editor-wrapper .prism-editor__textarea::-moz-selection{background-color:#accef7!important;color:transparent!important}.prism-editor-wrapper .prism-editor__textarea::selection{background-color:#accef7!important;color:transparent!important}}.prism-editor-wrapper .prism-editor__container{position:relative;text-align:left;box-sizing:border-box;padding:0;overflow:hidden;width:100%}.prism-editor-wrapper .prism-editor__line-numbers{height:100%;overflow:hidden;flex-shrink:0;padding-top:4px;margin-top:0;margin-right:10px}.prism-editor-wrapper .prism-editor__line-number{text-align:right;white-space:nowrap}.prism-editor-wrapper .prism-editor__textarea{position:absolute;top:0;left:0;height:100%;width:100%;resize:none;color:inherit;overflow:hidden;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-text-fill-color:transparent}.prism-editor-wrapper .prism-editor__editor,.prism-editor-wrapper .prism-editor__textarea{margin:0;border:0;background:none;box-sizing:inherit;display:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-variant-ligatures:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;-moz-tab-size:inherit;-o-tab-size:inherit;tab-size:inherit;text-indent:inherit;text-rendering:inherit;text-transform:inherit;white-space:pre-wrap;word-wrap:keep-all;overflow-wrap:break-word;padding:0}.prism-editor-wrapper .prism-editor__textarea--empty{-webkit-text-fill-color:inherit!important}.prism-editor-wrapper .prism-editor__editor{position:relative;pointer-events:none}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#272822}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#8292a2}.token.punctuation{color:#f8f8f2}.token.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a6e22e}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#e6db74}.token.keyword{color:#66d9ef}.token.regex,.token.important{color:#fd971f}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}._container_ppjok_2{display:flex;flex-direction:column;border:solid var(--borderThickness) #555;border-radius:8px;background:#202020}._header_ppjok_9{display:flex;padding:8px 16px;border-bottom:dashed var(--borderThickness) #555;font-weight:700}._main_ppjok_15{flex:1;overflow:auto;padding:16px}._footer_ppjok_20{display:flex;padding:8px 16px;border-top:dashed var(--borderThickness) #555}pre[data-v-75101e42]{margin:0}#root[data-v-75101e42]{display:flex;flex-direction:column;height:100vh}#grid1[data-v-75101e42]{box-sizing:border-box;flex:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-gap:16px;padding:16px;min-height:0}#grid1>*[data-v-75101e42]{min-height:0}#grid2[data-v-75101e42]{box-sizing:border-box;flex:1;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;grid-gap:16px;padding:0 16px 16px;min-height:0}#grid2>*[data-v-75101e42]{min-height:0}#editor>.code[data-v-75101e42]{box-sizing:border-box;padding:16px}#editor .syntaxError[data-v-75101e42]{color:red}#logs .log .type[data-v-75101e42]{opacity:.5;color:#fff}#logs .log[data-v-75101e42]:not(.print){opacity:.7}#logs .log.num[data-v-75101e42]{color:#0ff}#logs .log.str[data-v-75101e42]{color:#ff0}.actions[data-v-75101e42]{margin-left:auto}pre[data-v-e4694df4]{margin:0}#root[data-v-e4694df4]{display:flex;flex-direction:column;height:100vh}#grid1[data-v-e4694df4]{box-sizing:border-box;flex:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr;grid-gap:16px;padding:16px;min-height:0}#grid1>*[data-v-e4694df4]{min-height:0}#grid2[data-v-e4694df4]{box-sizing:border-box;flex:1;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;grid-gap:16px;padding:0 16px 16px;min-height:0}#grid2>*[data-v-e4694df4]{min-height:0}#editor>.code[data-v-e4694df4]{box-sizing:border-box;padding:16px}#editor .syntaxError[data-v-e4694df4]{color:red}#logs .log .type[data-v-e4694df4]{opacity:.5;color:#fff}#logs .log[data-v-e4694df4]:not(.print){opacity:.7}#logs .log.num[data-v-e4694df4]{color:#0ff}#logs .log.str[data-v-e4694df4]{color:#ff0}.container[data-v-e4694df4]{display:flex;flex-direction:column;border:solid var(--borderThickness) #555;border-radius:8px;background:#202020}.container>header[data-v-e4694df4]{display:flex;padding:8px 16px;border-bottom:dashed var(--borderThickness) #555;font-weight:700}.container>header>.actions[data-v-e4694df4]{margin-left:auto}.container>div[data-v-e4694df4]{flex:1;overflow:auto;padding:16px}.container>footer[data-v-e4694df4]{display:flex;padding:8px 16px;border-top:dashed var(--borderThickness) #555}.container>footer>.actions[data-v-e4694df4]{margin-left:auto}:root{--borderThickness: 1px}*{font-family:Fira code,Fira Mono,Consolas,Menlo,Courier,monospace}html{background:#171717;color:#fff;tab-size:2}body{margin:0;padding:0}h1[data-v-72705755]{font-size:1.5em;margin:16px 16px 0} diff --git a/index.html b/index.html new file mode 100644 index 0000000..7feaa3d --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + AiScript Playground + + + + +
+ + +