text: /* Riot v4.9.0, @license MIT */
  (function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t():typeof define==="function"&&define.amd?define(t):(e=e||self,e.riot=t())})(this,(function(){"use strict";const e=new Map,t=Symbol("riot-component"),r=new Set,n="is",i="value",a="mount",s="update",o="unmount",l="shouldUpdate",u="onBeforeMount",c="onMounted",f="onBeforeUpdate",h="onUpdated",p="onBeforeUnmount",d="onUnmounted",m="props",v="state",g="slots",y="root",x=Symbol.for("pure"),E=Symbol("parent"),b=Symbol("attributes"),S=Symbol("template");var D=Object.freeze({__proto__:null,COMPONENTS_IMPLEMENTATION_MAP:e,DOM_COMPONENT_INSTANCE_PROPERTY:t,PLUGINS_SET:r,IS_DIRECTIVE:n,VALUE_ATTRIBUTE:i,MOUNT_METHOD_KEY:a,UPDATE_METHOD_KEY:s,UNMOUNT_METHOD_KEY:o,SHOULD_UPDATE_KEY:l,ON_BEFORE_MOUNT_KEY:u,ON_MOUNTED_KEY:c,ON_BEFORE_UPDATE_KEY:f,ON_UPDATED_KEY:h,ON_BEFORE_UNMOUNT_KEY:p,ON_UNMOUNTED_KEY:d,PROPS_KEY:m,STATE_KEY:v,SLOTS_KEY:g,ROOT_KEY:y,IS_PURE_SYMBOL:x,PARENT_KEY_SYMBOL:E,ATTRIBUTES_KEY_SYMBOL:b,TEMPLATE_KEY_SYMBOL:S});function C(e,t){return typeof e===t}function w(e){return C(e,"function")}function A(){return this}function T(e,t){t.forEach(t=>{e[t]=e[t].bind(e)});return e}function k(e){return w(e)?e.prototype&&e.prototype.constructor?new e:e():e}function _(e){return e.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function P(e,t){if(e.firstChild){t.appendChild(e.firstChild);P(e,t)}}function F(e){I(e.childNodes)}function I(e){Array.from(e).forEach(M)}function M(e){const{parentNode:t}=e;if(e.remove)e.remove();else if(t)t.removeChild(e)}const N=0;const L=1;const B=2;const O=3;const R=4;var j={EACH:N,IF:L,SIMPLE:B,TAG:O,SLOT:R};const U=0;const V=1;const G=2;const z=3;var X={ATTRIBUTE:U,EVENT:V,TEXT:G,VALUE:z};function J(e){const t=e.dom.cloneNode(true);return{avoidDOMInjection:true,fragment:t,children:Array.from(t.childNodes)}}const{indexOf:q}=[];const W=(e,t,r,n,i,a)=>{const s="selectedIndex"in t;let o=s;while(n<i){const i=e(r[n],1);t.insertBefore(i,a);if(s&&o&&i.selected){o=!o;let{selectedIndex:e}=t;t.selectedIndex=e<0?n:q.call(t.querySelectorAll("option"),i)}n++}};const H=(e,t)=>e==t;const K=e=>e;const $=(e,t,r,n,i,a,s)=>{const o=a-i;if(o<1)return-1;while(r-t>=o){let o=t;let l=i;while(o<r&&l<a&&s(e[o],n[l])){o++;l++}if(l===a)return t;t=o+1}return-1};const Y=(e,t,r,n,i,a)=>{while(n<i&&a(r[n],e[t-1])){n++;t--}return t===0};const Q=(e,t,r,n,i)=>r<n?e(t[r],0):0<r?e(t[r-1],-0).nextSibling:i;const Z=(e,t,r,n)=>{while(r<n)ue(e(t[r++],-1))};const ee=-1;const te=1;const re=0;const ne=50;const ie=(e,t,r,n,i,a,s,o)=>{let l=0;let u=n<o?n:o;const c=Array(u++);const f=Array(u);f[0]=-1;for(let e=1;e<u;e++)f[e]=s;const h=i.slice(a,s);for(let n=t;n<r;n++){const t=h.indexOf(e[n]);if(-1<t){const e=t+a;l=oe(f,u,e);if(-1<l){f[l]=e;c[l]={newi:n,oldi:e,prev:c[l-1]}}}}l=--u;--s;while(f[l]>s)--l;u=o+n-l;const p=Array(u);let d=c[l];--r;while(d){const{newi:e,oldi:t}=d;while(r>e){p[--u]=te;--r}while(s>t){p[--u]=ee;--s}p[--u]=re;--r;--s;d=d.prev}while(r>=t){p[--u]=te;--r}while(s>=a){p[--u]=ee;--s}return p};const ae=(e,t,r,n,i,a,s)=>{const o=r+a;const l=[];let u,c,f,h,p,d,m;e:for(u=0;u<=o;u++){if(u>ne)return null;m=u-1;p=u?l[u-1]:[0,0];d=l[u]=[];for(c=-u;c<=u;c+=2){if(c===-u||c!==u&&p[m+c-1]<p[m+c+1]){h=p[m+c+1]}else{h=p[m+c-1]+1}f=h-c;while(h<a&&f<r&&s(n[i+h],e[t+f])){h++;f++}if(h===a&&f===r){break e}d[u+c]=h}}const v=Array(u/2+o/2);let g=v.length-1;for(u=l.length-1;u>=0;u--){while(h>0&&f>0&&s(n[i+h-1],e[t+f-1])){v[g--]=re;h--;f--}if(!u)break;m=u-1;p=u?l[u-1]:[0,0];c=h-f;if(c===-u||c!==u&&p[m+c-1]<p[m+c+1]){f--;v[g--]=te}else{h--;v[g--]=ee}}return v};const se=(e,t,r,n,i,a,s,o,l)=>{const u=[];const c=e.length;let f=s;let h=0;while(h<c){switch(e[h++]){case re:i++;f++;break;case te:u.push(n[i]);W(t,r,n,i++,i,f<o?t(a[f],0):l);break;case ee:f++;break}}h=0;while(h<c){switch(e[h++]){case re:s++;break;case ee:if(-1<u.indexOf(a[s]))s++;else Z(t,a,s++,s);break}}};const oe=(e,t,r)=>{let n=1;let i=t;while(n<i){const t=(n+i)/2>>>0;if(r<e[t])i=t;else n=t+1}return n};const le=(e,t,r,n,i,a,s,o,l,u,c,f,h)=>{se(ae(r,n,a,s,o,u,f)||ie(r,n,i,a,s,o,l,u),e,t,r,n,s,o,c,h)};const ue=e=>(e.remove||ce).call(e);function ce(){const{parentNode:e}=this;if(e)e.removeChild(this)}
  /*! (c) 2018 Andrea Giammarchi (ISC) */const fe=(e,t,r,n)=>{if(!n)n={};const i=n.compare||H;const a=n.node||K;const s=n.before==null?null:a(n.before,0);const o=t.length;let l=o;let u=0;let c=r.length;let f=0;while(u<l&&f<c&&i(t[u],r[f])){u++;f++}while(u<l&&f<c&&i(t[l-1],r[c-1])){l--;c--}const h=u===l;const p=f===c;if(h&&p)return r;if(h&&f<c){W(a,e,r,f,c,Q(a,t,u,o,s));return r}if(p&&u<l){Z(a,t,u,l);return r}const d=l-u;const m=c-f;let v=-1;if(d<m){v=$(r,f,c,t,u,l,i);if(-1<v){W(a,e,r,f,v,a(t[u],0));W(a,e,r,v+d,c,Q(a,t,l,o,s));return r}}else if(m<d){v=$(t,u,l,r,f,c,i);if(-1<v){Z(a,t,u,v);Z(a,t,v+m,l);return r}}if(d<2||m<2){W(a,e,r,f,c,a(t[u],0));Z(a,t,u,l);return r}if(d===m&&Y(r,c,t,u,l,i)){W(a,e,r,f,c,Q(a,t,l,o,s));return r}le(a,e,r,f,c,m,t,u,l,d,o,i,s);return r};function he(e,t){return typeof e===t}function pe(e){const t=e.ownerSVGElement;return!!t||t===null}function de(e){return!ye(e.content)}function me(e){return he(e,"function")}function ve(e){return he(e,"boolean")}function ge(e){return!ye(e)&&he(e,"object")}function ye(e){return e===null||e===undefined}const xe=Symbol("unmount");const Ee=Object.seal({nodes:[],mount(e,t){return this.update(e,t)},update(e,t){const{placeholder:r,nodes:n,childrenMap:i}=this;const a=e===xe?null:this.evaluate(e);const s=a?Array.from(a):[];const o=r.parentNode;const{newChildrenMap:l,batches:u,futureNodes:c}=Ce(s,e,t,this);fe(o,n,c,{before:r,node:be(Array.from(i.values()),t)});u.forEach(e=>e());this.childrenMap=l;this.nodes=c;return this},unmount(e,t){this.update(xe,t);return this}});function be(e,t){return(r,n)=>{if(n<0){const r=e.pop();if(r){const{template:e,context:n}=r;e.unmount(n,t,null)}}return r}}function Se(e,t){return e?Boolean(e(t))===false:false}function De(e,t){let{itemName:r,indexName:n,index:i,item:a}=t;e[r]=a;if(n)e[n]=i;return e}function Ce(e,t,r,n){const{condition:i,template:a,childrenMap:s,itemName:o,getKey:l,indexName:u,root:c,isTemplateTag:f}=n;const h=new Map;const p=[];const d=[];e.forEach((e,n)=>{const m=De(Object.create(t),{itemName:o,indexName:u,index:n,item:e});const v=l?l(m):n;const g=s.get(v);if(Se(i,m)){return}const y=g?g.template:a.clone();const x=g?y.el:c.cloneNode();const E=!g;const b=f&&E?J(y):{};if(E){p.push(()=>y.mount(x,m,r,b))}else{p.push(()=>y.update(m,r))}if(f){const e=b.children||y.children;d.push(...e)}else{d.push(x)}s.delete(v);h.set(v,{template:y,context:m,index:n})});return{newChildrenMap:h,batches:p,futureNodes:d}}function we(e,t){let{evaluate:r,condition:n,itemName:i,indexName:a,getKey:s,template:o}=t;const l=document.createTextNode("");const u=e.parentNode;const c=e.cloneNode();u.insertBefore(l,e);M(e);return Object.assign({},Ee,{childrenMap:new Map,node:e,root:c,condition:n,evaluate:r,isTemplateTag:de(c),template:o.createDOM(e),getKey:s,indexName:a,itemName:i,placeholder:l})}const Ae=Object.seal({mount(e,t){return this.update(e,t)},update(e,t){const r=!!this.evaluate(e);const n=!this.value&&r;const i=this.value&&!r;const a=()=>{const r=this.node.cloneNode();this.placeholder.parentNode.insertBefore(r,this.placeholder);this.template=this.template.clone();this.template.mount(r,e,t)};switch(true){case n:a();break;case i:this.unmount(e);break;default:if(r)this.template.update(e,t)}this.value=r;return this},unmount(e,t){this.template.unmount(e,t,true);return this}});function Te(e,t){let{evaluate:r,template:n}=t;const i=e.parentNode;const a=document.createTextNode("");i.insertBefore(a,e);M(e);return Object.assign({},Ae,{node:e,evaluate:r,placeholder:a,template:n.createDOM(e)})}function ke(e){const t=new Map;const r=r=>t.has(r)?t.get(r):t.set(r,e.call(this,r))&&t.get(r);r.cache=t;return r}function _e(e){return e.reduce((e,t)=>{const{value:r,type:n}=t;switch(true){case!t.name&&n===U:return Object.assign({},e,{},r);case n===z:e.value=t.value;break;default:e[_(t.name)]=t.value}return e},{})}const Pe="removeAttribute";const Fe="setAttribute";const Ie=typeof Element==="undefined"?{}:Element.prototype;const Me=ke(e=>Ie.hasOwnProperty(e));function Ne(e,t){Object.entries(t).forEach(t=>{let[r,n]=t;return Be(e,{name:r},n)})}function Le(e,t,r){const n=t?Object.keys(t):[];Object.keys(r).filter(e=>!n.includes(e)).forEach(t=>e.removeAttribute(t))}function Be(e,t,r,n){let{name:i}=t;if(!i){if(n){Le(e,r,n)}if(r){Ne(e,r)}return}if(!Me(i)&&(ve(r)||ge(r)||me(r))){e[i]=r}e[Oe(r)](i,Re(i,r))}function Oe(e){return ye(e)||e===false||e===""||ge(e)||me(e)?Pe:Fe}function Re(e,t){if(t===true)return e;return t}const je=/^on/;function Ue(e,t,r,n){let{name:i}=t;const a=i.replace(je,"");if(n){e.removeEventListener(a,n)}if(r){e.addEventListener(a,r,false)}}function Ve(e){return ye(e)?"":e}const Ge=(e,t)=>{const r=e.childNodes[t];if(r.nodeType===Node.COMMENT_NODE){const t=document.createTextNode("");e.replaceChild(t,r);return t}return r};function ze(e,t,r){e.data=Ve(r)}function Xe(e,t,r){e.value=Ve(r)}var Je={[U]:Be,[V]:Ue,[G]:ze,[z]:Xe};const qe=Object.seal({mount(e){this.value=this.evaluate(e);We(this,this.value);return this},update(e){const t=this.evaluate(e);if(this.value!==t){We(this,t);this.value=t}return this},unmount(){if(this.type===V)We(this,null);return this}});function We(e,t){return Je[e.type](e.node,e,t,e.value)}function He(e,t){return Object.assign({},qe,{},t,{node:t.type===G?Ge(e,t.childNodeIndex):e})}function Ke(e,t,r){return t.reduce((t,n)=>Object.assign({},t,{[n]:t=>e.map(e=>e[n](t))&&r}),{})}function $e(e,t){let{expressions:r}=t;return Object.assign({},Ke(r.map(t=>He(e,t)),["mount","update","unmount"]))}function Ye(e,t,r){if(!e||!e.length)return r;const n=e.map(e=>Object.assign({},e,{value:e.evaluate(t)}));return Object.assign(Object.create(r||null),_e(n))}const Qe=Object.seal({attributes:[],getTemplateScope(e,t){return Ye(this.attributes,e,t)},mount(e,t){const r=e.slots?e.slots.find(e=>{let{id:t}=e;return t===this.name}):false;const{parentNode:n}=this.node;this.template=r&&mt(r.html,r.bindings).createDOM(n);if(this.template){this.template.mount(this.node,this.getTemplateScope(e,t));this.template.children=Ze(this.node)}M(this.node);return this},update(e,t){if(this.template){this.template.update(this.getTemplateScope(e,t))}return this},unmount(e,t,r){if(this.template){this.template.unmount(this.getTemplateScope(e,t),null,r)}return this}});function Ze(e,t){if(t===void 0){t=[]}const r=e.firstChild;if(r){e.parentNode.insertBefore(r,e);return[r,...Ze(e)]}return t}function et(e,t){let{name:r,attributes:n}=t;return Object.assign({},Qe,{attributes:n,node:e,name:r})}function tt(e,t,r){if(t===void 0){t=[]}if(r===void 0){r=[]}if(e){return e({slots:t,attributes:r})}return mt(nt(t),[...rt(t),{expressions:r.map(e=>Object.assign({type:U},e))}])}function rt(e){return e.reduce((e,t)=>{let{bindings:r}=t;return e.concat(r)},[])}function nt(e){return e.reduce((e,t)=>e+t.html,"")}const it=Object.seal({mount(e){return this.update(e)},update(e,t){const r=this.evaluate(e);if(r===this.name){this.tag.update(e)}else{this.unmount(e,t,true);this.name=r;this.tag=tt(this.getComponent(r),this.slots,this.attributes);this.tag.mount(this.node,e)}return this},unmount(e,t,r){if(this.tag){this.tag.unmount(r)}return this}});function at(e,t){let{evaluate:r,getComponent:n,slots:i,attributes:a}=t;return Object.assign({},it,{node:e,evaluate:r,slots:i,attributes:a,getComponent:n})}var st={[L]:Te,[B]:$e,[N]:we,[O]:at,[R]:et};function ot(e,t){return e.map(e=>e.type===G?Object.assign({},e,{childNodeIndex:e.childNodeIndex+t}):e)}function lt(e,t,r){const{selector:n,type:i,redundantAttribute:a,expressions:s}=t;const o=n?e.querySelector(n):e;if(a)o.removeAttribute(a);const l=s||[];return(st[i]||st[B])(o,Object.assign({},t,{expressions:r&&!n?ot(l,r):l}))}function ut(e,t){const r=de(t)?t:document.createElement("template");r.innerHTML=e;return r.content}function ct(e,t){const r=t.ownerDocument.importNode((new window.DOMParser).parseFromString(`<svg xmlns="http://www.w3.org/2000/svg">${e}</svg>`,"application/xml").documentElement,true);return r}function ft(e,t){if(pe(e))return ct(t,e);return ut(t,e)}function ht(e,t){switch(true){case pe(e):P(t,e);break;case de(e):e.parentNode.replaceChild(t,e);break;default:e.appendChild(t)}}function pt(e,t){return t&&(typeof t==="string"?ft(e,t):t)}const dt=Object.freeze({createDOM(e){this.dom=this.dom||pt(e,this.html);return this},mount(e,t,r,n){if(n===void 0){n={}}if(!e)throw new Error("Please provide DOM node to mount properly your template");if(this.el)this.unmount(t);const{fragment:i,children:a,avoidDOMInjection:s}=n;const{parentNode:o}=a?a[0]:e;const l=de(e);const u=l?Math.max(Array.from(o.children).indexOf(e),0):null;this.isTemplateTag=l;this.createDOM(e);if(this.dom){this.fragment=i||this.dom.cloneNode(true)}this.el=this.isTemplateTag?o:e;this.children=this.isTemplateTag?a||Array.from(this.fragment.childNodes):null;if(!s&&this.fragment)ht(e,this.fragment);this.bindings=this.bindingsData.map(e=>lt(this.el,e,u));this.bindings.forEach(e=>e.mount(t,r));return this},update(e,t){this.bindings.forEach(r=>r.update(e,t));return this},unmount(e,t,r){if(this.el){this.bindings.forEach(n=>n.unmount(e,t,r));switch(true){case this.children&&r!==null:I(this.children);break;case r===true:M(this.el);break;case r!==null:F(this.el);break}this.el=null}return this},clone(){return Object.assign({},this,{el:null})}});function mt(e,t){if(t===void 0){t=[]}return Object.assign({},dt,{html:e,bindingsData:t})}function vt(e,t,r,n){if(n===void 0){n={}}Object.defineProperty(e,t,Object.assign({value:r,enumerable:false,writable:false,configurable:true},n));return e}function gt(e,t,r){Object.entries(t).forEach(t=>{let[n,i]=t;vt(e,n,i,r)});return e}function yt(e,t){Object.entries(t).forEach(t=>{let[r,n]=t;if(!e[r])e[r]=n});return e}const xt=0;const Et=3;function bt(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function St(e){return e.replace(/-(\w)/g,(e,t)=>t.toUpperCase())}function Dt(e){throw new Error(e)}function Ct(e){return e.reduce((e,t)=>{const{value:r,type:n}=t;switch(true){case!t.name&&n===xt:return Object.assign({},e,{},r);case n===Et:e.value=t.value;break;default:e[St(t.name)]=t.value}return e},{})}function wt(e){if(!Array.isArray(e)){if(/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&typeof e.length==="number")return Array.from(e);else return[e]}return e}function At(e,t){return wt(typeof e==="string"?(t||document).querySelectorAll(e):e)}const Tt=e=>e.length===1?e[0]:e;function kt(e,t,r){const n=typeof t==="string"?[t]:t;return Tt(wt(e).map(e=>Tt(n.map(t=>e[r](t)))))}function _t(e,t,r){const n=typeof t==="object"?t:{[t]:r};const i=Object.keys(n);wt(e).forEach(e=>{i.forEach(t=>e.setAttribute(t,n[t]))});return e}function Pt(e,t){return kt(e,t,"getAttribute")}const Ft=new Map;const It="style[riot]";const Mt=(e=>()=>{if(e)return e;e=At(It)[0]||document.createElement("style");_t(e,"type","text/css");if(!e.parentNode)document.head.appendChild(e);return e})();var Nt={CSS_BY_NAME:Ft,add(e,t){if(!Ft.has(e)){Ft.set(e,t);this.inject()}return this},inject(){Mt().innerHTML=[...Ft.values()].join("\n");return this},remove(e){if(Ft.has(e)){Ft.delete(e);this.inject()}return this}};function Lt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++){n[i]=arguments[i]}n=[...r,...n];return n.length<e.length?Lt(e,...n):e(...n)}}function Bt(e){return Pt(e,n)||e.tagName.toLowerCase()}const Ot=Object.freeze({$(e){return At(e,this.root)[0]},$$(e){return At(e,this.root)}});const Rt=Object.freeze({[a]:A,[s]:A,[o]:A});const jt=Object.freeze({[l]:A,[u]:A,[c]:A,[f]:A,[h]:A,[p]:A,[d]:A});const Ut=Object.assign({},Rt,{clone:A,createDOM:A});const Vt=(e,r)=>e[t]=r;function Gt(e){return[a,s,o].reduce((t,r)=>{t[r]=e(r);return t},{})}function zt(t,r){return t(mt,X,j,t=>r[t]||e.get(t))}function Xt(e,t){let{slots:r,attributes:n,props:i,css:s,template:o}=t;if(o)Dt("Pure components can not have html");if(s)Dt("Pure components do not have css");const l=yt(e({slots:r,attributes:n,props:i}),Rt);return Gt(e=>function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++){r[n]=arguments[n]}if(e===a){const[e]=r;Vt(e,l)}l[e](...r);return l})}function Jt(e){let{css:t,template:r,exports:n,name:i}=e;const a=r?zt(r,n?Ht(n.components):{}):Ut;return e=>{let{slots:s,attributes:o,props:l}=e;if(n&&n[x])return Xt(n,{slots:s,attributes:o,props:l,css:t,template:r});const u=k(n)||{};const c=qt({css:t,template:a,componentAPI:u,name:i})({slots:s,attributes:o,props:l});return{mount(e,t,r){return c.mount(e,r,t)},update(e,t){return c.update(t,e)},unmount(e){return c.unmount(e)}}}}function qt(e){let{css:t,template:r,componentAPI:n,name:i}=e;if(t&&i)Nt.add(i,t);return Lt(Qt)(gt(yt(n,Object.assign({},jt,{[v]:{}})),Object.assign({[g]:null,[y]:null},Ot,{name:i,css:t,template:r})))}function Wt(e,t){if(t===void 0){t=[]}const r=t.map(t=>He(e,t));const n={};return Object.assign(n,Object.assign({expressions:r},Gt(e=>t=>{r.forEach(r=>r[e](t));return n})))}function Ht(e){if(e===void 0){e={}}return Object.entries(k(e)).reduce((e,t)=>{let[r,n]=t;e[bt(r)]=Jt(n);return e},{})}function Kt(e){return[...r].reduce((e,t)=>t(e)||e,e)}function $t(e,t){return Object.assign({},e,{},k(t))}function Yt(e,t){if(Bt(e)!==t){_t(e,n,t)}}function Qt(e,t){let{slots:r,attributes:n,props:i}=t;return T(Kt(gt(Object.create(e),{mount(t,a,s){if(a===void 0){a={}}this[b]=Wt(t,n).mount(s);vt(this,m,Object.freeze(Object.assign({},i,{},Ct(this[b].expressions))));this[v]=$t(this[v],a);this[S]=this.template.createDOM(t).clone();Vt(t,this);e.name&&Yt(t,e.name);vt(this,y,t);vt(this,g,r);this[u](this[m],this[v]);this[S].mount(t,this,s);this[E]=s;this[c](this[m],this[v]);return this},update(e,t){if(e===void 0){e={}}if(t){this[b].update(t)}const r=Ct(this[b].expressions);if(this[l](r,this[m])===false)return;vt(this,m,Object.freeze(Object.assign({},i,{},r)));this[v]=$t(this[v],e);this[f](this[m],this[v]);this[S].update(this,this[E]);this[h](this[m],this[v]);return this},unmount(e){this[p](this[m],this[v]);this[b].unmount();this[S].unmount(this,this[E],e===null?null:!e);this[d](this[m],this[v]);return this}})),Object.keys(e).filter(t=>w(e[t])))}function Zt(t,r,n){const i=n||Bt(t);if(!e.has(i))Dt(`The component named "${i}" was never registered`);const a=e.get(i)({props:r});return a.mount(t)}function er(e){return Array.from(e.attributes).reduce((e,t)=>{e[St(t.name)]=t.value;return e},{})}function tr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return t.reduce((e,t)=>function(){return e(t(...arguments))})}const{DOM_COMPONENT_INSTANCE_PROPERTY:rr,COMPONENTS_IMPLEMENTATION_MAP:nr,PLUGINS_SET:ir}=D;function ar(e,t){if(t===void 0){t=[]}return Object.assign({},er(e),{},k(t))}function sr(e,t){let{css:r,template:n,exports:i}=t;if(nr.has(e))Dt(`The component "${e}" was already registered`);nr.set(e,Jt({name:e,css:r,template:n,exports:i}));return nr}function or(e){if(!nr.has(e))Dt(`The component "${e}" was never registered`);nr.delete(e);Nt.remove(e);return nr}function lr(e,t,r){return At(e).map(e=>Zt(e,ar(e,t),r))}function ur(e,t){return At(e).map(e=>{if(e[rr]){e[rr].unmount(t)}return e})}function cr(e){if(!w(e))Dt("Plugins must be of type function");if(ir.has(e))Dt("This plugin was already install");ir.add(e);return ir}function fr(e){if(!ir.has(e))Dt("This plugin was never installed");ir.delete(e);return ir}function hr(e){return function(t,r,n){let{slots:i,attributes:a,parentScope:s}=n===void 0?{}:n;return tr(e=>e.mount(t,s),e=>e({props:ar(t,r),slots:i,attributes:a}),Jt)(e)}}function pr(e){if(!w(e))Dt('riot.pure accepts only arguments of type "function"');e[x]=true;return e}const dr="v4.9.0";const mr={cssManager:Nt,createComponent:Jt,defineComponent:qt,globals:D};var vr=Object.freeze({__proto__:null,register:sr,unregister:or,mount:lr,unmount:ur,install:cr,uninstall:fr,component:hr,pure:pr,version:dr,__:mr});var gr=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function yr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function xr(e,t){return t={exports:{}},e(t,t.exports),t.exports}function Er(e){return e&&e["default"]||e}var br={};var Sr=Object.freeze({__proto__:null,default:br});var Dr=Er(Sr);var Cr=xr((function(e,t){/* Riot Compiler v4.9.0, @license MIT */(function(e,r){r(t,Dr,Dr)})(gr,(function(e,t,r){t=t&&t.hasOwnProperty("default")?t["default"]:t;r=r&&r.hasOwnProperty("default")?r["default"]:r;function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}function i(e,t){return t={exports:{}},e(t,t.exports),t.exports}function a(e){return e&&e["default"]||e}var s=i((function(e,t){var r=this&&this.__extends||function(){var e=function t(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return e(r,n)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var n=Object.prototype;var i=n.toString;var a=n.hasOwnProperty;var s=function(){function e(){}e.prototype.assert=function(e,t){if(!this.check(e,t)){var r=d(e);throw new Error(r+" does not match type "+this)}return true};e.prototype.arrayOf=function(){var e=this;return new o(e)};return e}();var o=function(e){r(t,e);function t(t){var r=e.call(this)||this;r.elemType=t;r.kind="ArrayType";return r}t.prototype.toString=function(){return"["+this.elemType+"]"};t.prototype.check=function(e,t){var r=this;return Array.isArray(e)&&e.every((function(e){return r.elemType.check(e,t)}))};return t}(s);var l=function(e){r(t,e);function t(t){var r=e.call(this)||this;r.value=t;r.kind="IdentityType";return r}t.prototype.toString=function(){return String(this.value)};t.prototype.check=function(e,t){var r=e===this.value;if(!r&&typeof t==="function"){t(this,e)}return r};return t}(s);var u=function(e){r(t,e);function t(t){var r=e.call(this)||this;r.fields=t;r.kind="ObjectType";return r}t.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"};t.prototype.check=function(e,t){return i.call(e)===i.call({})&&this.fields.every((function(r){return r.type.check(e[r.name],t)}))};return t}(s);var c=function(e){r(t,e);function t(t){var r=e.call(this)||this;r.types=t;r.kind="OrType";return r}t.prototype.toString=function(){return this.types.join(" | ")};t.prototype.check=function(e,t){return this.types.some((function(r){return r.check(e,t)}))};return t}(s);var f=function(e){r(t,e);function t(t,r){var n=e.call(this)||this;n.name=t;n.predicate=r;n.kind="PredicateType";return n}t.prototype.toString=function(){return this.name};t.prototype.check=function(e,t){var r=this.predicate(e,t);if(!r&&typeof t==="function"){t(this,e)}return r};return t}(s);var h=function(){function e(e,t){this.type=e;this.typeName=t;this.baseNames=[];this.ownFields=Object.create(null);this.allSupertypes=Object.create(null);this.supertypeList=[];this.allFields=Object.create(null);this.fieldNames=[];this.finalized=false;this.buildable=false;this.buildParams=[]}e.prototype.isSupertypeOf=function(t){if(t instanceof e){if(this.finalized!==true||t.finalized!==true){throw new Error("")}return a.call(t.allSupertypes,this.typeName)}else{throw new Error(t+" is not a Def")}};e.prototype.checkAllFields=function(e,t){var r=this.allFields;if(this.finalized!==true){throw new Error(""+this.typeName)}function n(n){var i=r[n];var a=i.type;var s=i.getValue(e);return a.check(s,t)}return e!==null&&typeof e==="object"&&Object.keys(r).every(n)};e.prototype.bases=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=this.baseNames;if(this.finalized){if(e.length!==r.length){throw new Error("")}for(var n=0;n<e.length;n++){if(e[n]!==r[n]){throw new Error("")}}return this}e.forEach((function(e){if(r.indexOf(e)<0){r.push(e)}}));return this};return e}();t.Def=h;var p=function(){function e(e,t,r,n){this.name=e;this.type=t;this.defaultFn=r;this.hidden=!!n}e.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type};e.prototype.getValue=function(e){var t=e[this.name];if(typeof t!=="undefined"){return t}if(typeof this.defaultFn==="function"){t=this.defaultFn.call(e)}return t};return e}();function d(e){if(Array.isArray(e)){return"["+e.map(d).join(", ")+"]"}if(e&&typeof e==="object"){return"{ "+Object.keys(e).map((function(t){return t+": "+e[t]})).join(", ")+" }"}return JSON.stringify(e)}function m(e){var t={or:function e(){var r=[];for(var n=0;n<arguments.length;n++){r[n]=arguments[n]}return new c(r.map((function(e){return t.from(e)})))},from:function e(r,i){if(r instanceof o||r instanceof l||r instanceof u||r instanceof c||r instanceof f){return r}if(r instanceof h){return r.type}if(x.check(r)){if(r.length!==1){throw new Error("only one element type is permitted for typed arrays")}return new o(t.from(r[0]))}if(E.check(r)){return new u(Object.keys(r).map((function(e){return new p(e,t.from(r[e],e))})))}if(typeof r==="function"){var a=n.indexOf(r);if(a>=0){return s[a]}if(typeof i!=="string"){throw new Error("missing name")}return new f(i,r)}return new l(r)},def:function e(t){return a.call(T,t)?T[t]:T[t]=new _(t)},hasDef:function e(t){return a.call(T,t)}};var n=[];var s=[];var m={};function v(e,t){var r=i.call(e);var a=new f(t,(function(e){return i.call(e)===r}));m[t]=a;if(e&&typeof e.constructor==="function"){n.push(e.constructor);s.push(a)}return a}var g=v("truthy","string");var y=v((function(){}),"function");var x=v([],"array");var E=v({},"object");var b=v(/./,"RegExp");var S=v(new Date,"Date");var D=v(3,"number");var C=v(true,"boolean");var w=v(null,"null");var A=v(void 0,"undefined");var T=Object.create(null);function k(e){if(e&&typeof e==="object"){var t=e.type;if(typeof t==="string"&&a.call(T,t)){var r=T[t];if(r.finalized){return r}}}return null}var _=function(e){r(n,e);function n(t){var r=e.call(this,new f(t,(function(e,t){return r.check(e,t)})),t)||this;return r}n.prototype.check=function(e,t){if(this.finalized!==true){throw new Error("prematurely checking unfinalized type "+this.typeName)}if(e===null||typeof e!=="object"){return false}var r=k(e);if(!r){if(this.typeName==="SourceLocation"||this.typeName==="Position"){return this.checkAllFields(e,t)}return false}if(t&&r===this){return this.checkAllFields(e,t)}if(!this.isSupertypeOf(r)){return false}if(!t){return true}return r.checkAllFields(e,t)&&this.checkAllFields(e,false)};n.prototype.build=function(){var e=this;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}this.buildParams=t;if(this.buildable){return this}this.field("type",String,(function(){return e.typeName}));this.buildable=true;var n=function t(r,n,i,s){if(a.call(r,n))return;var o=e.allFields;if(!a.call(o,n)){throw new Error(""+n)}var l=o[n];var u=l.type;var c;if(s){c=i}else if(l.defaultFn){c=l.defaultFn.call(r)}else{var f="no value or default function given for field "+JSON.stringify(n)+" of "+e.typeName+"("+e.buildParams.map((function(e){return o[e]})).join(", ")+")";throw new Error(f)}if(!u.check(c)){throw new Error(d(c)+" does not match field "+l+" of type "+e.typeName)}r[n]=c};var i=function t(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}var a=r.length;if(!e.finalized){throw new Error("attempting to instantiate unfinalized type "+e.typeName)}var s=Object.create(M);e.buildParams.forEach((function(e,t){if(t<a){n(s,e,r[t],true)}else{n(s,e,null,false)}}));Object.keys(e.allFields).forEach((function(e){n(s,e,null,false)}));if(s.type!==e.typeName){throw new Error("")}return s};i.from=function(t){if(!e.finalized){throw new Error("attempting to instantiate unfinalized type "+e.typeName)}var r=Object.create(M);Object.keys(e.allFields).forEach((function(e){if(a.call(t,e)){n(r,e,t[e],true)}else{n(r,e,null,false)}}));if(r.type!==e.typeName){throw new Error("")}return r};Object.defineProperty(I,L(this.typeName),{enumerable:true,value:i});return this};n.prototype.field=function(e,r,n,i){if(this.finalized){console.error("Ignoring attempt to redefine field "+JSON.stringify(e)+" of finalized type "+JSON.stringify(this.typeName));return this}this.ownFields[e]=new p(e,t.from(r),n,i);return this};n.prototype.finalize=function(){var e=this;if(!this.finalized){var t=this.allFields;var r=this.allSupertypes;this.baseNames.forEach((function(n){var i=T[n];if(i instanceof h){i.finalize();X(t,i.allFields);X(r,i.allSupertypes)}else{var a="unknown supertype name "+JSON.stringify(n)+" for subtype "+JSON.stringify(e.typeName);throw new Error(a)}}));X(t,this.ownFields);r[this.typeName]=this;this.fieldNames.length=0;for(var n in t){if(a.call(t,n)&&!t[n].hidden){this.fieldNames.push(n)}}Object.defineProperty(O,this.typeName,{enumerable:true,value:this.type});this.finalized=true;z(this.typeName,this.supertypeList);if(this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0){G(this.typeName)}}};return n}(h);function P(e){if(!a.call(T,e)){throw new Error("")}var t=T[e];if(t.finalized!==true){throw new Error("")}return t.supertypeList.slice(1)}function F(e){var t={};var r=Object.keys(T);var n=r.length;for(var i=0;i<n;++i){var s=r[i];var o=T[s];if(o.finalized!==true){throw new Error(""+s)}for(var l=0;l<o.supertypeList.length;++l){var u=o.supertypeList[l];if(a.call(e,u)){t[s]=u;break}}}return t}var I=Object.create(null);var M={};function N(e,t){var r=M[e];if(A.check(t)){delete M[e]}else{y.assert(t);Object.defineProperty(M,e,{enumerable:true,configurable:true,value:t})}return r}function L(e){return e.replace(/^[A-Z]+/,(function(e){var t=e.length;switch(t){case 0:return"";case 1:return e.toLowerCase();default:return e.slice(0,t-1).toLowerCase()+e.charAt(t-1)}}))}function B(e){e=L(e);return e.replace(/(Expression)?$/,"Statement")}var O={};function R(e){var t=k(e);if(t){return t.fieldNames.slice(0)}if("type"in e){throw new Error("did not recognize object of type "+JSON.stringify(e.type))}return Object.keys(e)}function j(e,t){var r=k(e);if(r){var n=r.allFields[t];if(n){return n.getValue(e)}}return e&&e[t]}function U(e,t,r){R(e).forEach((function(r){t.call(this,r,j(e,r))}),r)}function V(e,t,r){return R(e).some((function(r){return t.call(this,r,j(e,r))}),r)}function G(e){var t=B(e);if(I[t])return;var r=I[L(e)];if(!r)return;var n=function e(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}return I.expressionStatement(r.apply(I,t))};n.from=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return I.expressionStatement(r.from.apply(I,e))};I[t]=n}function z(e,t){t.length=0;t.push(e);var r=Object.create(null);for(var n=0;n<t.length;++n){e=t[n];var i=T[e];if(i.finalized!==true){throw new Error("")}if(a.call(r,e)){delete t[r[e]]}r[e]=n;t.push.apply(t,i.baseNames)}for(var s=0,o=s,l=t.length;o<l;++o){if(a.call(t,o)){t[s++]=t[o]}}t.length=s}function X(e,t){Object.keys(t).forEach((function(r){e[r]=t[r]}));return e}function J(){Object.keys(T).forEach((function(e){T[e].finalize()}))}return{Type:t,builtInTypes:m,getSupertypeNames:P,computeSupertypeLookupTable:F,builders:I,defineMethod:N,getBuilderName:L,getStatementBuilderName:B,namedTypes:O,getFieldNames:R,getFieldValue:j,eachField:U,someField:V,finalize:J}}t.default=m}));n(s);var o=s.Def;var l=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=Object.prototype;var a=i.hasOwnProperty;function o(e){var t=e.use(n.default);var r=t.builtInTypes.array;var i=t.builtInTypes.number;var s=function e(t,r,n){if(!(this instanceof e)){throw new Error("Path constructor cannot be invoked without 'new'")}if(r){if(!(r instanceof e)){throw new Error("")}}else{r=null;n=null}this.value=t;this.parentPath=r;this.name=n;this.__childCache=null};var o=s.prototype;function l(e){return e.__childCache||(e.__childCache=Object.create(null))}function u(e,t){var r=l(e);var n=e.getValueProperty(t);var i=r[t];if(!a.call(r,t)||i.value!==n){i=r[t]=new e.constructor(n,e,t)}return i}o.getValueProperty=function e(t){return this.value[t]};o.get=function e(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}var n=this;var i=t.length;for(var a=0;a<i;++a){n=u(n,t[a])}return n};o.each=function e(t,r){var n=[];var i=this.value.length;var s=0;for(var s=0;s<i;++s){if(a.call(this.value,s)){n[s]=this.get(s)}}r=r||this;for(s=0;s<i;++s){if(a.call(n,s)){t.call(r,n[s])}}};o.map=function e(t,r){var n=[];this.each((function(e){n.push(t.call(this,e))}),r);return n};o.filter=function e(t,r){var n=[];this.each((function(e){if(t.call(this,e)){n.push(e)}}),r);return n};function c(){}function f(e,t,n,s){r.assert(e.value);if(t===0){return c}var o=e.value.length;if(o<1){return c}var u=arguments.length;if(u===2){n=0;s=o}else if(u===3){n=Math.max(n,0);s=o}else{n=Math.max(n,0);s=Math.min(s,o)}i.assert(n);i.assert(s);var f=Object.create(null);var h=l(e);for(var p=n;p<s;++p){if(a.call(e.value,p)){var d=e.get(p);if(d.name!==p){throw new Error("")}var m=p+t;d.name=m;f[m]=d;delete h[p]}}delete h.length;return function(){for(var t in f){var r=f[t];if(r.name!==+t){throw new Error("")}h[t]=r;e.value[t]=r.value}}}o.shift=function e(){var t=f(this,-1);var r=this.value.shift();t();return r};o.unshift=function e(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}var n=f(this,t.length);var i=this.value.unshift.apply(this.value,t);n();return i};o.push=function e(){var t=[];for(var n=0;n<arguments.length;n++){t[n]=arguments[n]}r.assert(this.value);delete l(this).length;return this.value.push.apply(this.value,t)};o.pop=function e(){r.assert(this.value);var t=l(this);delete t[this.value.length-1];delete t.length;return this.value.pop()};o.insertAt=function e(t){var r=arguments.length;var n=f(this,r-1,t);if(n===c&&r<=1){return this}t=Math.max(t,0);for(var i=1;i<r;++i){this.value[t+i-1]=arguments[i]}n();return this};o.insertBefore=function e(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}var n=this.parentPath;var i=t.length;var a=[this.name];for(var s=0;s<i;++s){a.push(t[s])}return n.insertAt.apply(n,a)};o.insertAfter=function e(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}var n=this.parentPath;var i=t.length;var a=[this.name+1];for(var s=0;s<i;++s){a.push(t[s])}return n.insertAt.apply(n,a)};function h(e){if(!(e instanceof s)){throw new Error("")}var t=e.parentPath;if(!t){return e}var n=t.value;var i=l(t);if(n[e.name]===e.value){i[e.name]=e}else if(r.check(n)){var a=n.indexOf(e.value);if(a>=0){i[e.name=a]=e}}else{n[e.name]=e.value;i[e.name]=e}if(n[e.name]!==e.value){throw new Error("")}if(e.parentPath.get(e.name)!==e){throw new Error("")}return e}o.replace=function e(t){var n=[];var i=this.parentPath.value;var a=l(this.parentPath);var s=arguments.length;h(this);if(r.check(i)){var o=i.length;var u=f(this.parentPath,s-1,this.name+1);var c=[this.name,1];for(var p=0;p<s;++p){c.push(arguments[p])}var d=i.splice.apply(i,c);if(d[0]!==this.value){throw new Error("")}if(i.length!==o-1+s){throw new Error("")}u();if(s===0){delete this.value;delete a[this.name];this.__childCache=null}else{if(i[this.name]!==t){throw new Error("")}if(this.value!==t){this.value=t;this.__childCache=null}for(p=0;p<s;++p){n.push(this.parentPath.get(this.name+p))}if(n[0]!==this){throw new Error("")}}}else if(s===1){if(this.value!==t){this.__childCache=null}this.value=i[this.name]=t;n.push(this)}else if(s===0){delete i[this.name];delete this.value;this.__childCache=null}else{throw new Error("Could not replace path")}return n};return s}t.default=o;e.exports=t["default"]}));n(l);var u=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=Object.prototype.hasOwnProperty;function a(e){var t=e.use(n.default);var r=t.Type;var a=t.namedTypes;var s=a.Node;var o=a.Expression;var l=t.builtInTypes.array;var u=t.builders;var c=function e(t,r){if(!(this instanceof e)){throw new Error("Scope constructor cannot be invoked without 'new'")}h.assert(t.value);var n;if(r){if(!(r instanceof e)){throw new Error("")}n=r.depth+1}else{r=null;n=0}Object.defineProperties(this,{path:{value:t},node:{value:t.value},isGlobal:{value:!r,enumerable:true},depth:{value:n},parent:{value:r},bindings:{value:{}},types:{value:{}}})};var f=[a.Program,a.Function,a.CatchClause];var h=r.or.apply(r,f);c.isEstablishedBy=function(e){return h.check(e)};var p=c.prototype;p.didScan=false;p.declares=function(e){this.scan();return i.call(this.bindings,e)};p.declaresType=function(e){this.scan();return i.call(this.types,e)};p.declareTemporary=function(e){if(e){if(!/^[a-z$_]/i.test(e)){throw new Error("")}}else{e="t$"}e+=this.depth.toString(36)+"$";this.scan();var r=0;while(this.declares(e+r)){++r}var n=e+r;return this.bindings[n]=t.builders.identifier(n)};p.injectTemporary=function(e,t){e||(e=this.declareTemporary());var r=this.path.get("body");if(a.BlockStatement.check(r.value)){r=r.get("body")}r.unshift(u.variableDeclaration("var",[u.variableDeclarator(e,t||null)]));return e};p.scan=function(e){if(e||!this.didScan){for(var t in this.bindings){delete this.bindings[t]}d(this.path,this.bindings,this.types);this.didScan=true}};p.getBindings=function(){this.scan();return this.bindings};p.getTypes=function(){this.scan();return this.types};function d(e,t,r){var n=e.value;h.assert(n);if(a.CatchClause.check(n)){y(e.get("param"),t)}else{m(e,t,r)}}function m(e,r,n){var i=e.value;if(e.parent&&a.FunctionExpression.check(e.parent.node)&&e.parent.node.id){y(e.parent.get("id"),r)}if(!i);else if(l.check(i)){e.each((function(e){g(e,r,n)}))}else if(a.Function.check(i)){e.get("params").each((function(e){y(e,r)}));g(e.get("body"),r,n)}else if(a.TypeAlias&&a.TypeAlias.check(i)||a.InterfaceDeclaration&&a.InterfaceDeclaration.check(i)||a.TSTypeAliasDeclaration&&a.TSTypeAliasDeclaration.check(i)||a.TSInterfaceDeclaration&&a.TSInterfaceDeclaration.check(i)){x(e.get("id"),n)}else if(a.VariableDeclarator.check(i)){y(e.get("id"),r);g(e.get("init"),r,n)}else if(i.type==="ImportSpecifier"||i.type==="ImportNamespaceSpecifier"||i.type==="ImportDefaultSpecifier"){y(e.get(i.local?"local":i.name?"name":"id"),r)}else if(s.check(i)&&!o.check(i)){t.eachField(i,(function(t,i){var a=e.get(t);if(!v(a,i)){throw new Error("")}g(a,r,n)}))}}function v(e,t){if(e.value===t){return true}if(Array.isArray(e.value)&&e.value.length===0&&Array.isArray(t)&&t.length===0){return true}return false}function g(e,t,r){var n=e.value;if(!n||o.check(n));else if(a.FunctionDeclaration.check(n)&&n.id!==null){y(e.get("id"),t)}else if(a.ClassDeclaration&&a.ClassDeclaration.check(n)){y(e.get("id"),t)}else if(h.check(n)){if(a.CatchClause.check(n)&&a.Identifier.check(n.param)){var s=n.param.name;var l=i.call(t,s);m(e.get("body"),t,r);if(!l){delete t[s]}}}else{m(e,t,r)}}function y(e,t){var r=e.value;a.Pattern.assert(r);if(a.Identifier.check(r)){if(i.call(t,r.name)){t[r.name].push(e)}else{t[r.name]=[e]}}else if(a.AssignmentPattern&&a.AssignmentPattern.check(r)){y(e.get("left"),t)}else if(a.ObjectPattern&&a.ObjectPattern.check(r)){e.get("properties").each((function(e){var r=e.value;if(a.Pattern.check(r)){y(e,t)}else if(a.Property.check(r)){y(e.get("value"),t)}else if(a.SpreadProperty&&a.SpreadProperty.check(r)){y(e.get("argument"),t)}}))}else if(a.ArrayPattern&&a.ArrayPattern.check(r)){e.get("elements").each((function(e){var r=e.value;if(a.Pattern.check(r)){y(e,t)}else if(a.SpreadElement&&a.SpreadElement.check(r)){y(e.get("argument"),t)}}))}else if(a.PropertyPattern&&a.PropertyPattern.check(r)){y(e.get("pattern"),t)}else if(a.SpreadElementPattern&&a.SpreadElementPattern.check(r)||a.SpreadPropertyPattern&&a.SpreadPropertyPattern.check(r)){y(e.get("argument"),t)}}function x(e,t){var r=e.value;a.Pattern.assert(r);if(a.Identifier.check(r)){if(i.call(t,r.name)){t[r.name].push(e)}else{t[r.name]=[e]}}}p.lookup=function(e){for(var t=this;t;t=t.parent)if(t.declares(e))break;return t};p.lookupType=function(e){for(var t=this;t;t=t.parent)if(t.declaresType(e))break;return t};p.getGlobalScope=function(){var e=this;while(!e.isGlobal)e=e.parent;return e};return c}t.default=a;e.exports=t["default"]}));n(u);var c=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=r(l);var a=r(u);function o(e){var t=e.use(n.default);var r=t.namedTypes;var s=t.builders;var o=t.builtInTypes.number;var l=t.builtInTypes.array;var u=e.use(i.default);var c=e.use(a.default);var f=function e(t,r,n){if(!(this instanceof e)){throw new Error("NodePath constructor cannot be invoked without 'new'")}u.call(this,t,r,n)};var h=f.prototype=Object.create(u.prototype,{constructor:{value:f,enumerable:false,writable:true,configurable:true}});Object.defineProperties(h,{node:{get:function e(){Object.defineProperty(this,"node",{configurable:true,value:this._computeNode()});return this.node}},parent:{get:function e(){Object.defineProperty(this,"parent",{configurable:true,value:this._computeParent()});return this.parent}},scope:{get:function e(){Object.defineProperty(this,"scope",{configurable:true,value:this._computeScope()});return this.scope}}});h.replace=function(){delete this.node;delete this.parent;delete this.scope;return u.prototype.replace.apply(this,arguments)};h.prune=function(){var e=this.parent;this.replace();return g(e)};h._computeNode=function(){var e=this.value;if(r.Node.check(e)){return e}var t=this.parentPath;return t&&t.node||null};h._computeParent=function(){var e=this.value;var t=this.parentPath;if(!r.Node.check(e)){while(t&&!r.Node.check(t.value)){t=t.parentPath}if(t){t=t.parentPath}}while(t&&!r.Node.check(t.value)){t=t.parentPath}return t||null};h._computeScope=function(){var e=this.value;var t=this.parentPath;var n=t&&t.scope;if(r.Node.check(e)&&c.isEstablishedBy(e)){n=new c(this,n)}return n||null};h.getValueProperty=function(e){return t.getFieldValue(this.value,e)};h.needsParens=function(e){var t=this.parentPath;if(!t){return false}var n=this.value;if(!r.Expression.check(n)){return false}if(n.type==="Identifier"){return false}while(!r.Node.check(t.value)){t=t.parentPath;if(!t){return false}}var i=t.value;switch(n.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return i.type==="MemberExpression"&&this.name==="object"&&i.object===n;case"BinaryExpression":case"LogicalExpression":switch(i.type){case"CallExpression":return this.name==="callee"&&i.callee===n;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return true;case"MemberExpression":return this.name==="object"&&i.object===n;case"BinaryExpression":case"LogicalExpression":{var a=n;var s=i.operator;var l=d[s];var u=a.operator;var c=d[u];if(l>c){return true}if(l===c&&this.name==="right"){if(i.right!==a){throw new Error("Nodes must be equal")}return true}}default:return false}case"SequenceExpression":switch(i.type){case"ForStatement":return false;case"ExpressionStatement":return this.name!=="expression";default:return true}case"YieldExpression":switch(i.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return true;default:return false}case"Literal":return i.type==="MemberExpression"&&o.check(n.value)&&this.name==="object"&&i.object===n;case"AssignmentExpression":case"ConditionalExpression":switch(i.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return true;case"CallExpression":return this.name==="callee"&&i.callee===n;case"ConditionalExpression":return this.name==="test"&&i.test===n;case"MemberExpression":return this.name==="object"&&i.object===n;default:return false}default:if(i.type==="NewExpression"&&this.name==="callee"&&i.callee===n){return m(n)}}if(e!==true&&!this.canBeFirstInStatement()&&this.firstInStatement())return true;return false};function p(e){return r.BinaryExpression.check(e)||r.LogicalExpression.check(e)}var d={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach((function(e,t){e.forEach((function(e){d[e]=t}))}));function m(e){if(r.CallExpression.check(e)){return true}if(l.check(e)){return e.some(m)}if(r.Node.check(e)){return t.someField(e,(function(e,t){return m(t)}))}return false}h.canBeFirstInStatement=function(){var e=this.node;return!r.FunctionExpression.check(e)&&!r.ObjectExpression.check(e)};h.firstInStatement=function(){return v(this)};function v(e){for(var t,n;e.parent;e=e.parent){t=e.node;n=e.parent.node;if(r.BlockStatement.check(n)&&e.parent.name==="body"&&e.name===0){if(n.body[0]!==t){throw new Error("Nodes must be equal")}return true}if(r.ExpressionStatement.check(n)&&e.name==="expression"){if(n.expression!==t){throw new Error("Nodes must be equal")}return true}if(r.SequenceExpression.check(n)&&e.parent.name==="expressions"&&e.name===0){if(n.expressions[0]!==t){throw new Error("Nodes must be equal")}continue}if(r.CallExpression.check(n)&&e.name==="callee"){if(n.callee!==t){throw new Error("Nodes must be equal")}continue}if(r.MemberExpression.check(n)&&e.name==="object"){if(n.object!==t){throw new Error("Nodes must be equal")}continue}if(r.ConditionalExpression.check(n)&&e.name==="test"){if(n.test!==t){throw new Error("Nodes must be equal")}continue}if(p(n)&&e.name==="left"){if(n.left!==t){throw new Error("Nodes must be equal")}continue}if(r.UnaryExpression.check(n)&&!n.prefix&&e.name==="argument"){if(n.argument!==t){throw new Error("Nodes must be equal")}continue}return false}return true}function g(e){if(r.VariableDeclaration.check(e.node)){var t=e.get("declarations").value;if(!t||t.length===0){return e.prune()}}else if(r.ExpressionStatement.check(e.node)){if(!e.get("expression").value){return e.prune()}}else if(r.IfStatement.check(e.node)){y(e)}return e}function y(e){var t=e.get("test").value;var n=e.get("alternate").value;var i=e.get("consequent").value;if(!i&&!n){var a=s.expressionStatement(t);e.replace(a)}else if(!i&&n){var o=s.unaryExpression("!",t,true);if(r.UnaryExpression.check(t)&&t.operator==="!"){o=t.argument}e.get("test").replace(o);e.get("consequent").replace(n);e.get("alternate").replace()}}return f}t.default=o;e.exports=t["default"]}));n(c);var f=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=r(c);var a=Object.prototype.hasOwnProperty;function o(e){var t=e.use(n.default);var r=e.use(i.default);var s=t.builtInTypes.array;var o=t.builtInTypes.object;var l=t.builtInTypes.function;var u;var c=function e(){if(!(this instanceof e)){throw new Error("PathVisitor constructor cannot be invoked without 'new'")}this._reusableContextStack=[];this._methodNameTable=f(this);this._shouldVisitComments=a.call(this._methodNameTable,"Block")||a.call(this._methodNameTable,"Line");this.Context=m(this);this._visiting=false;this._changeReported=false};function f(e){var r=Object.create(null);for(var n in e){if(/^visit[A-Z]/.test(n)){r[n.slice("visit".length)]=true}}var i=t.computeSupertypeLookupTable(r);var a=Object.create(null);var s=Object.keys(i);var o=s.length;for(var u=0;u<o;++u){var c=s[u];n="visit"+i[c];if(l.check(e[n])){a[c]=n}}return a}c.fromMethodsObject=function e(t){if(t instanceof c){return t}if(!o.check(t)){return new c}var r=function e(){if(!(this instanceof e)){throw new Error("Visitor constructor cannot be invoked without 'new'")}c.call(this)};var n=r.prototype=Object.create(p);n.constructor=r;h(n,t);h(r,c);l.assert(r.fromMethodsObject);l.assert(r.visit);return new r};function h(e,t){for(var r in t){if(a.call(t,r)){e[r]=t[r]}}return e}c.visit=function e(t,r){return c.fromMethodsObject(r).visit(t)};var p=c.prototype;p.visit=function(){if(this._visiting){throw new Error("Recursively calling visitor.visit(path) resets visitor state. "+"Try this.visit(path) or this.traverse(path) instead.")}this._visiting=true;this._changeReported=false;this._abortRequested=false;var e=arguments.length;var t=new Array(e);for(var n=0;n<e;++n){t[n]=arguments[n]}if(!(t[0]instanceof r)){t[0]=new r({root:t[0]}).get("root")}this.reset.apply(this,t);var i;try{var a=this.visitWithoutReset(t[0]);i=true}finally{this._visiting=false;if(!i&&this._abortRequested){return t[0].value}}return a};p.AbortRequest=function e(){};p.abort=function(){var e=this;e._abortRequested=true;var t=new e.AbortRequest;t.cancel=function(){e._abortRequested=false};throw t};p.reset=function(e){};p.visitWithoutReset=function(e){if(this instanceof this.Context){return this.visitor.visitWithoutReset(e)}if(!(e instanceof r)){throw new Error("")}var t=e.value;var n=t&&typeof t==="object"&&typeof t.type==="string"&&this._methodNameTable[t.type];if(n){var i=this.acquireContext(e);try{return i.invokeVisitorMethod(n)}finally{this.releaseContext(i)}}else{return d(e,this)}};function d(e,n){if(!(e instanceof r)){throw new Error("")}if(!(n instanceof c)){throw new Error("")}var i=e.value;if(s.check(i)){e.each(n.visitWithoutReset,n)}else if(!o.check(i));else{var l=t.getFieldNames(i);if(n._shouldVisitComments&&i.comments&&l.indexOf("comments")<0){l.push("comments")}var u=l.length;var f=[];for(var h=0;h<u;++h){var p=l[h];if(!a.call(i,p)){i[p]=t.getFieldValue(i,p)}f.push(e.get(p))}for(var h=0;h<u;++h){n.visitWithoutReset(f[h])}}return e.value}p.acquireContext=function(e){if(this._reusableContextStack.length===0){return new this.Context(e)}return this._reusableContextStack.pop().reset(e)};p.releaseContext=function(e){if(!(e instanceof this.Context)){throw new Error("")}this._reusableContextStack.push(e);e.currentPath=null};p.reportChanged=function(){this._changeReported=true};p.wasChangeReported=function(){return this._changeReported};function m(e){function t(n){if(!(this instanceof t)){throw new Error("")}if(!(this instanceof c)){throw new Error("")}if(!(n instanceof r)){throw new Error("")}Object.defineProperty(this,"visitor",{value:e,writable:false,enumerable:true,configurable:false});this.currentPath=n;this.needToCallTraverse=true;Object.seal(this)}if(!(e instanceof c)){throw new Error("")}var n=t.prototype=Object.create(e);n.constructor=t;h(n,v);return t}var v=Object.create(null);v.reset=function e(t){if(!(this instanceof this.Context)){throw new Error("")}if(!(t instanceof r)){throw new Error("")}this.currentPath=t;this.needToCallTraverse=true;return this};v.invokeVisitorMethod=function e(t){if(!(this instanceof this.Context)){throw new Error("")}if(!(this.currentPath instanceof r)){throw new Error("")}var n=this.visitor[t].call(this,this.currentPath);if(n===false){this.needToCallTraverse=false}else if(n!==u){this.currentPath=this.currentPath.replace(n)[0];if(this.needToCallTraverse){this.traverse(this.currentPath)}}if(this.needToCallTraverse!==false){throw new Error("Must either call this.traverse or return false in "+t)}var i=this.currentPath;return i&&i.value};v.traverse=function e(t,n){if(!(this instanceof this.Context)){throw new Error("")}if(!(t instanceof r)){throw new Error("")}if(!(this.currentPath instanceof r)){throw new Error("")}this.needToCallTraverse=false;return d(t,c.fromMethodsObject(n||this.visitor))};v.visit=function e(t,n){if(!(this instanceof this.Context)){throw new Error("")}if(!(t instanceof r)){throw new Error("")}if(!(this.currentPath instanceof r)){throw new Error("")}this.needToCallTraverse=false;return c.fromMethodsObject(n||this.visitor).visitWithoutReset(t)};v.reportChanged=function e(){this.visitor.reportChanged()};v.abort=function e(){this.needToCallTraverse=false;this.visitor.abort()};return c}t.default=o;e.exports=t["default"]}));n(f);var h=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);function i(e){var t=e.use(n.default);var r=t.getFieldNames;var i=t.getFieldValue;var a=t.builtInTypes.array;var s=t.builtInTypes.object;var o=t.builtInTypes.Date;var l=t.builtInTypes.RegExp;var u=Object.prototype.hasOwnProperty;function c(e,t,r){if(a.check(r)){r.length=0}else{r=null}return h(e,t,r)}c.assert=function(e,t){var r=[];if(!c(e,t,r)){if(r.length===0){if(e!==t){throw new Error("Nodes must be equal")}}else{throw new Error("Nodes differ in the following path: "+r.map(f).join(""))}}};function f(e){if(/[_$a-z][_$a-z0-9]*/i.test(e)){return"."+e}return"["+JSON.stringify(e)+"]"}function h(e,t,r){if(e===t){return true}if(a.check(e)){return p(e,t,r)}if(s.check(e)){return d(e,t,r)}if(o.check(e)){return o.check(t)&&+e===+t}if(l.check(e)){return l.check(t)&&e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.ignoreCase===t.ignoreCase}return e==t}function p(e,t,r){a.assert(e);var n=e.length;if(!a.check(t)||t.length!==n){if(r){r.push("length")}return false}for(var i=0;i<n;++i){if(r){r.push(i)}if(i in e!==i in t){return false}if(!h(e[i],t[i],r)){return false}if(r){var s=r.pop();if(s!==i){throw new Error(""+s)}}}return true}function d(e,t,n){s.assert(e);if(!s.check(t)){return false}if(e.type!==t.type){if(n){n.push("type")}return false}var a=r(e);var o=a.length;var l=r(t);var c=l.length;if(o===c){for(var f=0;f<o;++f){var p=a[f];var d=i(e,p);var m=i(t,p);if(n){n.push(p)}if(!h(d,m,n)){return false}if(n){var v=n.pop();if(v!==p){throw new Error(""+v)}}}return true}if(!n){return false}var g=Object.create(null);for(f=0;f<o;++f){g[a[f]]=true}for(f=0;f<c;++f){p=l[f];if(!u.call(g,p)){n.push(p);return false}delete g[p]}for(p in g){n.push(p);break}return false}return c}t.default=i;e.exports=t["default"]}));n(h);var p=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=r(f);var a=r(h);var o=r(l);var u=r(c);function p(e){var t=d();var r=t.use(n.default);e.forEach(t.use);r.finalize();var s=t.use(i.default);return{Type:r.Type,builtInTypes:r.builtInTypes,namedTypes:r.namedTypes,builders:r.builders,defineMethod:r.defineMethod,getFieldNames:r.getFieldNames,getFieldValue:r.getFieldValue,eachField:r.eachField,someField:r.someField,getSupertypeNames:r.getSupertypeNames,getBuilderName:r.getBuilderName,astNodesAreEquivalent:t.use(a.default),finalize:r.finalize,Path:t.use(o.default),NodePath:t.use(u.default),PathVisitor:s,use:t.use,visit:s.visit}}t.default=p;function d(){var e=[];var t=[];function r(r){var i=e.indexOf(r);if(i===-1){i=e.length;e.push(r);t[i]=r(n)}return t[i]}var n={use:r};return n}e.exports=t["default"]}));n(p);var d=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);function i(e){var t=e.use(n.default);var r=t.Type;var i=t.builtInTypes;var a=i.number;function s(e){return r.from((function(t){return a.check(t)&&t>=e}),a+" >= "+e)}var o={null:function e(){return null},emptyArray:function e(){return[]},false:function e(){return false},true:function e(){return true},undefined:function e(){},"use strict":function e(){return"use strict"}};var l=r.or(i.string,i.number,i.boolean,i.null,i.undefined);var u=r.from((function(e){if(e===null)return true;var t=typeof e;if(t==="object"||t==="function"){return false}return true}),l.toString());return{geq:s,defaults:o,isPrimitive:u}}t.default=i;e.exports=t["default"]}));n(d);var m=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=r(d);function a(e){var t=e.use(n.default);var r=t.Type;var a=r.def;var s=r.or;var o=e.use(i.default);var l=o.defaults;var u=o.geq;a("Printable").field("loc",s(a("SourceLocation"),null),l["null"],true);a("Node").bases("Printable").field("type",String).field("comments",s([a("Comment")],null),l["null"],true);a("SourceLocation").field("start",a("Position")).field("end",a("Position")).field("source",s(String,null),l["null"]);a("Position").field("line",u(1)).field("column",u(0));a("File").bases("Node").build("program","name").field("program",a("Program")).field("name",s(String,null),l["null"]);a("Program").bases("Node").build("body").field("body",[a("Statement")]);a("Function").bases("Node").field("id",s(a("Identifier"),null),l["null"]).field("params",[a("Pattern")]).field("body",a("BlockStatement")).field("generator",Boolean,l["false"]).field("async",Boolean,l["false"]);a("Statement").bases("Node");a("EmptyStatement").bases("Statement").build();a("BlockStatement").bases("Statement").build("body").field("body",[a("Statement")]);a("ExpressionStatement").bases("Statement").build("expression").field("expression",a("Expression"));a("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",a("Expression")).field("consequent",a("Statement")).field("alternate",s(a("Statement"),null),l["null"]);a("LabeledStatement").bases("Statement").build("label","body").field("label",a("Identifier")).field("body",a("Statement"));a("BreakStatement").bases("Statement").build("label").field("label",s(a("Identifier"),null),l["null"]);a("ContinueStatement").bases("Statement").build("label").field("label",s(a("Identifier"),null),l["null"]);a("WithStatement").bases("Statement").build("object","body").field("object",a("Expression")).field("body",a("Statement"));a("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",a("Expression")).field("cases",[a("SwitchCase")]).field("lexical",Boolean,l["false"]);a("ReturnStatement").bases("Statement").build("argument").field("argument",s(a("Expression"),null));a("ThrowStatement").bases("Statement").build("argument").field("argument",a("Expression"));a("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",a("BlockStatement")).field("handler",s(a("CatchClause"),null),(function(){return this.handlers&&this.handlers[0]||null})).field("handlers",[a("CatchClause")],(function(){return this.handler?[this.handler]:[]}),true).field("guardedHandlers",[a("CatchClause")],l.emptyArray).field("finalizer",s(a("BlockStatement"),null),l["null"]);a("CatchClause").bases("Node").build("param","guard","body").field("param",s(a("Pattern"),null),l["null"]).field("guard",s(a("Expression"),null),l["null"]).field("body",a("BlockStatement"));a("WhileStatement").bases("Statement").build("test","body").field("test",a("Expression")).field("body",a("Statement"));a("DoWhileStatement").bases("Statement").build("body","test").field("body",a("Statement")).field("test",a("Expression"));a("ForStatement").bases("Statement").build("init","test","update","body").field("init",s(a("VariableDeclaration"),a("Expression"),null)).field("test",s(a("Expression"),null)).field("update",s(a("Expression"),null)).field("body",a("Statement"));a("ForInStatement").bases("Statement").build("left","right","body").field("left",s(a("VariableDeclaration"),a("Expression"))).field("right",a("Expression")).field("body",a("Statement"));a("DebuggerStatement").bases("Statement").build();a("Declaration").bases("Statement");a("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",a("Identifier"));a("FunctionExpression").bases("Function","Expression").build("id","params","body");a("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",s("var","let","const")).field("declarations",[a("VariableDeclarator")]);a("VariableDeclarator").bases("Node").build("id","init").field("id",a("Pattern")).field("init",s(a("Expression"),null),l["null"]);a("Expression").bases("Node");a("ThisExpression").bases("Expression").build();a("ArrayExpression").bases("Expression").build("elements").field("elements",[s(a("Expression"),null)]);a("ObjectExpression").bases("Expression").build("properties").field("properties",[a("Property")]);a("Property").bases("Node").build("kind","key","value").field("kind",s("init","get","set")).field("key",s(a("Literal"),a("Identifier"))).field("value",a("Expression"));a("SequenceExpression").bases("Expression").build("expressions").field("expressions",[a("Expression")]);var c=s("-","+","!","~","typeof","void","delete");a("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",c).field("argument",a("Expression")).field("prefix",Boolean,l["true"]);var f=s("==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","**","&","|","^","in","instanceof");a("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",f).field("left",a("Expression")).field("right",a("Expression"));var h=s("=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&=");a("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",h).field("left",s(a("Pattern"),a("MemberExpression"))).field("right",a("Expression"));var p=s("++","--");a("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",p).field("argument",a("Expression")).field("prefix",Boolean);var d=s("||","&&");a("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",d).field("left",a("Expression")).field("right",a("Expression"));a("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",a("Expression")).field("consequent",a("Expression")).field("alternate",a("Expression"));a("NewExpression").bases("Expression").build("callee","arguments").field("callee",a("Expression")).field("arguments",[a("Expression")]);a("CallExpression").bases("Expression").build("callee","arguments").field("callee",a("Expression")).field("arguments",[a("Expression")]);a("MemberExpression").bases("Expression").build("object","property","computed").field("object",a("Expression")).field("property",s(a("Identifier"),a("Expression"))).field("computed",Boolean,(function(){var e=this.property.type;if(e==="Literal"||e==="MemberExpression"||e==="BinaryExpression"){return true}return false}));a("Pattern").bases("Node");a("SwitchCase").bases("Node").build("test","consequent").field("test",s(a("Expression"),null)).field("consequent",[a("Statement")]);a("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,l["false"]);a("Literal").bases("Expression").build("value").field("value",s(String,Boolean,null,Number,RegExp)).field("regex",s({pattern:String,flags:String},null),(function(){if(this.value instanceof RegExp){var e="";if(this.value.ignoreCase)e+="i";if(this.value.multiline)e+="m";if(this.value.global)e+="g";return{pattern:this.value.source,flags:e}}return null}));a("Comment").bases("Printable").field("value",String).field("leading",Boolean,l["true"]).field("trailing",Boolean,l["false"])}t.default=a;e.exports=t["default"]}));n(m);var v=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(m);var i=r(s);var a=r(d);function o(e){e.use(n.default);var t=e.use(i.default);var r=t.Type.def;var s=t.Type.or;var o=e.use(a.default).defaults;r("Function").field("generator",Boolean,o["false"]).field("expression",Boolean,o["false"]).field("defaults",[s(r("Expression"),null)],o.emptyArray).field("rest",s(r("Identifier"),null),o["null"]);r("RestElement").bases("Pattern").build("argument").field("argument",r("Pattern")).field("typeAnnotation",s(r("TypeAnnotation"),r("TSTypeAnnotation"),null),o["null"]);r("SpreadElementPattern").bases("Pattern").build("argument").field("argument",r("Pattern"));r("FunctionDeclaration").build("id","params","body","generator","expression");r("FunctionExpression").build("id","params","body","generator","expression");r("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,o["null"]).field("body",s(r("BlockStatement"),r("Expression"))).field("generator",false,o["false"]);r("ForOfStatement").bases("Statement").build("left","right","body").field("left",s(r("VariableDeclaration"),r("Pattern"))).field("right",r("Expression")).field("body",r("Statement"));r("YieldExpression").bases("Expression").build("argument","delegate").field("argument",s(r("Expression"),null)).field("delegate",Boolean,o["false"]);r("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",s(r("Expression"),null));r("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",s(r("Expression"),null));r("ComprehensionBlock").bases("Node").build("left","right","each").field("left",r("Pattern")).field("right",r("Expression")).field("each",Boolean);r("Property").field("key",s(r("Literal"),r("Identifier"),r("Expression"))).field("value",s(r("Expression"),r("Pattern"))).field("method",Boolean,o["false"]).field("shorthand",Boolean,o["false"]).field("computed",Boolean,o["false"]);r("ObjectProperty").field("shorthand",Boolean,o["false"]);r("PropertyPattern").bases("Pattern").build("key","pattern").field("key",s(r("Literal"),r("Identifier"),r("Expression"))).field("pattern",r("Pattern")).field("computed",Boolean,o["false"]);r("ObjectPattern").bases("Pattern").build("properties").field("properties",[s(r("PropertyPattern"),r("Property"))]);r("ArrayPattern").bases("Pattern").build("elements").field("elements",[s(r("Pattern"),null)]);r("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",s("constructor","method","get","set")).field("key",r("Expression")).field("value",r("Function")).field("computed",Boolean,o["false"]).field("static",Boolean,o["false"]);r("SpreadElement").bases("Node").build("argument").field("argument",r("Expression"));r("ArrayExpression").field("elements",[s(r("Expression"),r("SpreadElement"),r("RestElement"),null)]);r("NewExpression").field("arguments",[s(r("Expression"),r("SpreadElement"))]);r("CallExpression").field("arguments",[s(r("Expression"),r("SpreadElement"))]);r("AssignmentPattern").bases("Pattern").build("left","right").field("left",r("Pattern")).field("right",r("Expression"));var l=s(r("MethodDefinition"),r("VariableDeclarator"),r("ClassPropertyDefinition"),r("ClassProperty"));r("ClassProperty").bases("Declaration").build("key").field("key",s(r("Literal"),r("Identifier"),r("Expression"))).field("computed",Boolean,o["false"]);r("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",l);r("ClassBody").bases("Declaration").build("body").field("body",[l]);r("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",s(r("Identifier"),null)).field("body",r("ClassBody")).field("superClass",s(r("Expression"),null),o["null"]);r("ClassExpression").bases("Expression").build("id","body","superClass").field("id",s(r("Identifier"),null),o["null"]).field("body",r("ClassBody")).field("superClass",s(r("Expression"),null),o["null"]);r("Specifier").bases("Node");r("ModuleSpecifier").bases("Specifier").field("local",s(r("Identifier"),null),o["null"]).field("id",s(r("Identifier"),null),o["null"]).field("name",s(r("Identifier"),null),o["null"]);r("ImportSpecifier").bases("ModuleSpecifier").build("id","name");r("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("id");r("ImportDefaultSpecifier").bases("ModuleSpecifier").build("id");r("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[s(r("ImportSpecifier"),r("ImportNamespaceSpecifier"),r("ImportDefaultSpecifier"))],o.emptyArray).field("source",r("Literal")).field("importKind",s("value","type"),(function(){return"value"}));r("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",r("Expression")).field("quasi",r("TemplateLiteral"));r("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[r("TemplateElement")]).field("expressions",[r("Expression")]);r("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean)}t.default=o;e.exports=t["default"]}));n(v);var g=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(v);var i=r(s);var a=r(d);function o(e){e.use(n.default);var t=e.use(i.default);var r=t.Type.def;var s=t.Type.or;var o=e.use(a.default).defaults;r("Function").field("async",Boolean,o["false"]);r("SpreadProperty").bases("Node").build("argument").field("argument",r("Expression"));r("ObjectExpression").field("properties",[s(r("Property"),r("SpreadProperty"),r("SpreadElement"))]);r("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",r("Pattern"));r("ObjectPattern").field("properties",[s(r("Property"),r("PropertyPattern"),r("SpreadPropertyPattern"))]);r("AwaitExpression").bases("Expression").build("argument","all").field("argument",s(r("Expression"),null)).field("all",Boolean,o["false"])}t.default=o;e.exports=t["default"]}));n(g);var y=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(g);var i=r(s);var a=r(d);function o(e){e.use(n.default);var t=e.use(i.default);var r=t.Type.def;var s=t.Type.or;var o=e.use(a.default).defaults;r("JSXAttribute").bases("Node").build("name","value").field("name",s(r("JSXIdentifier"),r("JSXNamespacedName"))).field("value",s(r("Literal"),r("JSXExpressionContainer"),null),o["null"]);r("JSXIdentifier").bases("Identifier").build("name").field("name",String);r("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",r("JSXIdentifier")).field("name",r("JSXIdentifier"));r("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",s(r("JSXIdentifier"),r("JSXMemberExpression"))).field("property",r("JSXIdentifier")).field("computed",Boolean,o.false);var l=s(r("JSXIdentifier"),r("JSXNamespacedName"),r("JSXMemberExpression"));r("JSXSpreadAttribute").bases("Node").build("argument").field("argument",r("Expression"));var u=[s(r("JSXAttribute"),r("JSXSpreadAttribute"))];r("JSXExpressionContainer").bases("Expression").build("expression").field("expression",r("Expression"));r("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",r("JSXOpeningElement")).field("closingElement",s(r("JSXClosingElement"),null),o["null"]).field("children",[s(r("JSXElement"),r("JSXExpressionContainer"),r("JSXFragment"),r("JSXText"),r("Literal"))],o.emptyArray).field("name",l,(function(){return this.openingElement.name}),true).field("selfClosing",Boolean,(function(){return this.openingElement.selfClosing}),true).field("attributes",u,(function(){return this.openingElement.attributes}),true);r("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",l).field("attributes",u,o.emptyArray).field("selfClosing",Boolean,o["false"]);r("JSXClosingElement").bases("Node").build("name").field("name",l);r("JSXFragment").bases("Expression").build("openingElement","closingElement","children").field("openingElement",r("JSXOpeningFragment")).field("closingElement",r("JSXClosingFragment")).field("children",[s(r("JSXElement"),r("JSXExpressionContainer"),r("JSXFragment"),r("JSXText"),r("Literal"))],o.emptyArray);r("JSXOpeningFragment").bases("Node").build();r("JSXClosingFragment").bases("Node").build();r("JSXText").bases("Literal").build("value").field("value",String);r("JSXEmptyExpression").bases("Expression").build();r("JSXSpreadChild").bases("Expression").build("expression").field("expression",r("Expression"))}t.default=o;e.exports=t["default"]}));n(y);var x=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=r(d);function a(e){var t=e.use(n.default);var r=t.Type.def;var a=t.Type.or;var s=e.use(i.default).defaults;var o=a(r("TypeAnnotation"),r("TSTypeAnnotation"),null);var l=a(r("TypeParameterDeclaration"),r("TSTypeParameterDeclaration"),null);r("Identifier").field("typeAnnotation",o,s["null"]);r("ObjectPattern").field("typeAnnotation",o,s["null"]);r("Function").field("returnType",o,s["null"]).field("typeParameters",l,s["null"]);r("ClassProperty").build("key","value","typeAnnotation","static").field("value",a(r("Expression"),null)).field("static",Boolean,s["false"]).field("typeAnnotation",o,s["null"]);["ClassDeclaration","ClassExpression"].forEach((function(e){r(e).field("typeParameters",l,s["null"]).field("superTypeParameters",a(r("TypeParameterInstantiation"),r("TSTypeParameterInstantiation"),null),s["null"]).field("implements",a([r("ClassImplements")],[r("TSExpressionWithTypeArguments")]),s.emptyArray)}))}t.default=a;e.exports=t["default"]}));n(x);var E=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(g);var i=r(x);var a=r(s);var o=r(d);function l(e){e.use(n.default);e.use(i.default);var t=e.use(a.default);var r=t.Type.def;var s=t.Type.or;var l=e.use(o.default).defaults;r("Flow").bases("Node");r("FlowType").bases("Flow");r("AnyTypeAnnotation").bases("FlowType").build();r("EmptyTypeAnnotation").bases("FlowType").build();r("MixedTypeAnnotation").bases("FlowType").build();r("VoidTypeAnnotation").bases("FlowType").build();r("NumberTypeAnnotation").bases("FlowType").build();r("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String);r("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String);r("StringTypeAnnotation").bases("FlowType").build();r("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String);r("BooleanTypeAnnotation").bases("FlowType").build();r("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String);r("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",r("FlowType"));r("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",r("FlowType"));r("NullLiteralTypeAnnotation").bases("FlowType").build();r("NullTypeAnnotation").bases("FlowType").build();r("ThisTypeAnnotation").bases("FlowType").build();r("ExistsTypeAnnotation").bases("FlowType").build();r("ExistentialTypeParam").bases("FlowType").build();r("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[r("FunctionTypeParam")]).field("returnType",r("FlowType")).field("rest",s(r("FunctionTypeParam"),null)).field("typeParameters",s(r("TypeParameterDeclaration"),null));r("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",r("Identifier")).field("typeAnnotation",r("FlowType")).field("optional",Boolean);r("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",r("FlowType"));r("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[s(r("ObjectTypeProperty"),r("ObjectTypeSpreadProperty"))]).field("indexers",[r("ObjectTypeIndexer")],l.emptyArray).field("callProperties",[r("ObjectTypeCallProperty")],l.emptyArray).field("inexact",s(Boolean,void 0),l["undefined"]).field("exact",Boolean,l["false"]).field("internalSlots",[r("ObjectTypeInternalSlot")],l.emptyArray);r("Variance").bases("Node").build("kind").field("kind",s("plus","minus"));var u=s(r("Variance"),"plus","minus",null);r("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",s(r("Literal"),r("Identifier"))).field("value",r("FlowType")).field("optional",Boolean).field("variance",u,l["null"]);r("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",r("Identifier")).field("key",r("FlowType")).field("value",r("FlowType")).field("variance",u,l["null"]);r("ObjectTypeCallProperty").bases("Node").build("value").field("value",r("FunctionTypeAnnotation")).field("static",Boolean,l["false"]);r("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",s(r("Identifier"),r("QualifiedTypeIdentifier"))).field("id",r("Identifier"));r("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",s(r("Identifier"),r("QualifiedTypeIdentifier"))).field("typeParameters",s(r("TypeParameterInstantiation"),null));r("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",r("Identifier")).field("property",s(r("MemberTypeAnnotation"),r("GenericTypeAnnotation")));r("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]);r("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]);r("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",r("FlowType"));r("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",r("FlowType"));r("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",r("Identifier")).field("value",r("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean);r("TypeParameterDeclaration").bases("Node").build("params").field("params",[r("TypeParameter")]);r("TypeParameterInstantiation").bases("Node").build("params").field("params",[r("FlowType")]);r("TypeParameter").bases("FlowType").build("name","variance","bound").field("name",String).field("variance",u,l["null"]).field("bound",s(r("TypeAnnotation"),null),l["null"]);r("ClassProperty").field("variance",u,l["null"]);r("ClassImplements").bases("Node").build("id").field("id",r("Identifier")).field("superClass",s(r("Expression"),null),l["null"]).field("typeParameters",s(r("TypeParameterInstantiation"),null),l["null"]);r("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",r("ObjectTypeAnnotation")).field("extends",s([r("InterfaceExtends")],null),l["null"]);r("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterDeclaration"),null),l["null"]).field("body",r("ObjectTypeAnnotation")).field("extends",[r("InterfaceExtends")]);r("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends");r("InterfaceExtends").bases("Node").build("id").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterInstantiation"),null),l["null"]);r("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterDeclaration"),null)).field("right",r("FlowType"));r("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",r("Identifier")).field("typeParameters",s(r("TypeParameterDeclaration"),null)).field("impltype",r("FlowType")).field("supertype",r("FlowType"));r("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right");r("DeclareOpaqueType").bases("TypeAlias").build("id","typeParameters","supertype");r("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",r("Expression")).field("typeAnnotation",r("TypeAnnotation"));r("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]);r("DeclareVariable").bases("Statement").build("id").field("id",r("Identifier"));r("DeclareFunction").bases("Statement").build("id").field("id",r("Identifier"));r("DeclareClass").bases("InterfaceDeclaration").build("id");r("DeclareModule").bases("Statement").build("id","body").field("id",s(r("Identifier"),r("Literal"))).field("body",r("BlockStatement"));r("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",r("TypeAnnotation"));r("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",s(r("DeclareVariable"),r("DeclareFunction"),r("DeclareClass"),r("FlowType"),null)).field("specifiers",[s(r("ExportSpecifier"),r("ExportBatchSpecifier"))],l.emptyArray).field("source",s(r("Literal"),null),l["null"]);r("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",s(r("Literal"),null),l["null"]);r("FlowPredicate").bases("Flow");r("InferredPredicate").bases("FlowPredicate").build();r("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",r("Expression"));r("CallExpression").field("typeArguments",s(null,r("TypeParameterInstantiation")),l["null"]);r("NewExpression").field("typeArguments",s(null,r("TypeParameterInstantiation")),l["null"])}t.default=l;e.exports=t["default"]}));n(E);var b=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(g);var i=r(s);var a=r(d);function o(e){e.use(n.default);var t=e.use(i.default);var r=e.use(a.default).defaults;var s=t.Type.def;var o=t.Type.or;s("VariableDeclaration").field("declarations",[o(s("VariableDeclarator"),s("Identifier"))]);s("Property").field("value",o(s("Expression"),s("Pattern")));s("ArrayPattern").field("elements",[o(s("Pattern"),s("SpreadElement"),null)]);s("ObjectPattern").field("properties",[o(s("Property"),s("PropertyPattern"),s("SpreadPropertyPattern"),s("SpreadProperty"))]);s("ExportSpecifier").bases("ModuleSpecifier").build("id","name");s("ExportBatchSpecifier").bases("Specifier").build();s("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",o(s("Declaration"),s("Expression"),null)).field("specifiers",[o(s("ExportSpecifier"),s("ExportBatchSpecifier"))],r.emptyArray).field("source",o(s("Literal"),null),r["null"]);s("Block").bases("Comment").build("value","leading","trailing");s("Line").bases("Comment").build("value","leading","trailing")}t.default=o;e.exports=t["default"]}));n(b);var S=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=r(d);var a=r(g);function o(e){e.use(a.default);var t=e.use(n.default);var r=e.use(i.default).defaults;var s=t.Type.def;var o=t.Type.or;s("Noop").bases("Statement").build();s("DoExpression").bases("Expression").build("body").field("body",[s("Statement")]);s("Super").bases("Expression").build();s("BindExpression").bases("Expression").build("object","callee").field("object",o(s("Expression"),null)).field("callee",s("Expression"));s("Decorator").bases("Node").build("expression").field("expression",s("Expression"));s("Property").field("decorators",o([s("Decorator")],null),r["null"]);s("MethodDefinition").field("decorators",o([s("Decorator")],null),r["null"]);s("MetaProperty").bases("Expression").build("meta","property").field("meta",s("Identifier")).field("property",s("Identifier"));s("ParenthesizedExpression").bases("Expression").build("expression").field("expression",s("Expression"));s("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",s("Identifier"));s("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local");s("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local");s("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",o(s("Declaration"),s("Expression")));s("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",o(s("Declaration"),null)).field("specifiers",[s("ExportSpecifier")],r.emptyArray).field("source",o(s("Literal"),null),r["null"]);s("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",s("Identifier"));s("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",s("Identifier"));s("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",s("Identifier"));s("ExportAllDeclaration").bases("Declaration").build("exported","source").field("exported",o(s("Identifier"),null)).field("source",s("Literal"));s("CommentBlock").bases("Comment").build("value","leading","trailing");s("CommentLine").bases("Comment").build("value","leading","trailing");s("Directive").bases("Node").build("value").field("value",s("DirectiveLiteral"));s("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,r["use strict"]);s("InterpreterDirective").bases("Node").build("value").field("value",String);s("BlockStatement").bases("Statement").build("body").field("body",[s("Statement")]).field("directives",[s("Directive")],r.emptyArray);s("Program").bases("Node").build("body").field("body",[s("Statement")]).field("directives",[s("Directive")],r.emptyArray).field("interpreter",o(s("InterpreterDirective"),null),r["null"]);s("StringLiteral").bases("Literal").build("value").field("value",String);s("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",o(String,null),r["null"]).field("extra",{rawValue:Number,raw:String},(function e(){return{rawValue:this.value,raw:this.value+""}}));s("BigIntLiteral").bases("Literal").build("value").field("value",o(String,Number)).field("extra",{rawValue:String,raw:String},(function e(){return{rawValue:String(this.value),raw:this.value+"n"}}));s("NullLiteral").bases("Literal").build().field("value",null,r["null"]);s("BooleanLiteral").bases("Literal").build("value").field("value",Boolean);s("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,(function(){return new RegExp(this.pattern,this.flags)}));var l=o(s("Property"),s("ObjectMethod"),s("ObjectProperty"),s("SpreadProperty"),s("SpreadElement"));s("ObjectExpression").bases("Expression").build("properties").field("properties",[l]);s("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",o("method","get","set")).field("key",o(s("Literal"),s("Identifier"),s("Expression"))).field("params",[s("Pattern")]).field("body",s("BlockStatement")).field("computed",Boolean,r["false"]).field("generator",Boolean,r["false"]).field("async",Boolean,r["false"]).field("accessibility",o(s("Literal"),null),r["null"]).field("decorators",o([s("Decorator")],null),r["null"]);s("ObjectProperty").bases("Node").build("key","value").field("key",o(s("Literal"),s("Identifier"),s("Expression"))).field("value",o(s("Expression"),s("Pattern"))).field("accessibility",o(s("Literal"),null),r["null"]).field("computed",Boolean,r["false"]);var u=o(s("MethodDefinition"),s("VariableDeclarator"),s("ClassPropertyDefinition"),s("ClassProperty"),s("ClassPrivateProperty"),s("ClassMethod"),s("ClassPrivateMethod"));s("ClassBody").bases("Declaration").build("body").field("body",[u]);s("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",o(s("Literal"),s("Identifier"),s("Expression")));s("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",s("PrivateName"));["ClassMethod","ClassPrivateMethod"].forEach((function(e){s(e).field("kind",o("get","set","method","constructor"),(function(){return"method"})).field("body",s("BlockStatement")).field("computed",Boolean,r["false"]).field("static",o(Boolean,null),r["null"]).field("abstract",o(Boolean,null),r["null"]).field("access",o("public","private","protected",null),r["null"]).field("accessibility",o("public","private","protected",null),r["null"]).field("decorators",o([s("Decorator")],null),r["null"]).field("optional",o(Boolean,null),r["null"])}));s("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",s("PrivateName")).field("value",o(s("Expression"),null),r["null"]);s("PrivateName").bases("Expression","Pattern").build("id").field("id",s("Identifier"));var c=o(s("Property"),s("PropertyPattern"),s("SpreadPropertyPattern"),s("SpreadProperty"),s("ObjectProperty"),s("RestProperty"));s("ObjectPattern").bases("Pattern").build("properties").field("properties",[c]).field("decorators",o([s("Decorator")],null),r["null"]);s("SpreadProperty").bases("Node").build("argument").field("argument",s("Expression"));s("RestProperty").bases("Node").build("argument").field("argument",s("Expression"));s("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",o(s("VariableDeclaration"),s("Expression"))).field("right",s("Expression")).field("body",s("Statement"));s("Import").bases("Expression").build()}t.default=o;e.exports=t["default"]}));n(S);var D=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(S);var i=r(E);function a(e){e.use(n.default);e.use(i.default)}t.default=a;e.exports=t["default"]}));n(D);var C=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(S);var i=r(x);var a=r(s);var o=r(d);function l(e){e.use(n.default);e.use(i.default);var t=e.use(a.default);var r=t.namedTypes;var s=t.Type.def;var l=t.Type.or;var u=e.use(o.default).defaults;var c=t.Type.from((function(e,t){if(r.StringLiteral&&r.StringLiteral.check(e,t)){return true}if(r.Literal&&r.Literal.check(e,t)&&typeof e.value==="string"){return true}return false}),"StringLiteral");s("TSType").bases("Node");var f=l(s("Identifier"),s("TSQualifiedName"));s("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",f);s("TSHasOptionalTypeParameterInstantiation").field("typeParameters",l(s("TSTypeParameterInstantiation"),null),u["null"]);s("TSHasOptionalTypeParameters").field("typeParameters",l(s("TSTypeParameterDeclaration"),null,void 0),u["null"]);s("TSHasOptionalTypeAnnotation").field("typeAnnotation",l(s("TSTypeAnnotation"),null),u["null"]);s("TSQualifiedName").bases("Node").build("left","right").field("left",f).field("right",f);s("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",s("Expression")).field("typeAnnotation",s("TSType")).field("extra",l({parenthesized:Boolean},null),u["null"]);s("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",s("Expression"));["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSThisType"].forEach((function(e){s(e).bases("TSType").build()}));s("TSArrayType").bases("TSType").build("elementType").field("elementType",s("TSType"));s("TSLiteralType").bases("TSType").build("literal").field("literal",l(s("NumericLiteral"),s("StringLiteral"),s("BooleanLiteral"),s("TemplateLiteral"),s("UnaryExpression")));["TSUnionType","TSIntersectionType"].forEach((function(e){s(e).bases("TSType").build("types").field("types",[s("TSType")])}));s("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",s("TSType")).field("extendsType",s("TSType")).field("trueType",s("TSType")).field("falseType",s("TSType"));s("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",s("TSTypeParameter"));s("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",s("TSType"));var h=[l(s("Identifier"),s("RestElement"),s("ArrayPattern"),s("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach((function(e){s(e).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",h)}));s("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,u["false"]).field("async",Boolean,u["false"]).field("generator",Boolean,u["false"]).field("id",l(s("Identifier"),null),u["null"]).field("params",[s("Pattern")]).field("returnType",l(s("TSTypeAnnotation"),s("Noop"),null),u["null"]);s("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,u["false"]).field("generator",Boolean,u["false"]).field("params",[s("Pattern")]).field("abstract",Boolean,u["false"]).field("accessibility",l("public","private","protected",void 0),u["undefined"]).field("static",Boolean,u["false"]).field("computed",Boolean,u["false"]).field("optional",Boolean,u["false"]).field("key",l(s("Identifier"),s("StringLiteral"),s("NumericLiteral"),s("Expression"))).field("kind",l("get","set","method","constructor"),(function e(){return"method"})).field("access",l("public","private","protected",void 0),u["undefined"]).field("decorators",l([s("Decorator")],null),u["null"]).field("returnType",l(s("TSTypeAnnotation"),s("Noop"),null),u["null"]);s("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",l(Boolean,"+","-"),u["false"]).field("typeParameter",s("TSTypeParameter")).field("optional",l(Boolean,"+","-"),u["false"]).field("typeAnnotation",l(s("TSType"),null),u["null"]);s("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[s("TSType")]);s("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",s("TSType"));s("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",s("TSType"));s("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",s("TSType")).field("indexType",s("TSType"));s("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",s("TSType"));s("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",l(s("TSType"),s("TSTypeAnnotation")));s("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[s("Identifier")]).field("readonly",Boolean,u["false"]);s("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",s("Expression")).field("computed",Boolean,u["false"]).field("readonly",Boolean,u["false"]).field("optional",Boolean,u["false"]).field("initializer",l(s("Expression"),null),u["null"]);s("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",s("Expression")).field("computed",Boolean,u["false"]).field("optional",Boolean,u["false"]).field("parameters",h);s("TSTypePredicate").bases("TSTypeAnnotation").build("parameterName","typeAnnotation").field("parameterName",l(s("Identifier"),s("TSThisType"))).field("typeAnnotation",s("TSTypeAnnotation"));["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach((function(e){s(e).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",h)}));s("TSEnumMember").bases("Node").build("id","initializer").field("id",l(s("Identifier"),c)).field("initializer",l(s("Expression"),null),u["null"]);s("TSTypeQuery").bases("TSType").build("exprName").field("exprName",l(f,s("TSImportType")));var p=l(s("TSCallSignatureDeclaration"),s("TSConstructSignatureDeclaration"),s("TSIndexSignature"),s("TSMethodSignature"),s("TSPropertySignature"));s("TSTypeLiteral").bases("TSType").build("members").field("members",[p]);s("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",l(s("TSType"),void 0),u["undefined"]).field("default",l(s("TSType"),void 0),u["undefined"]);s("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",s("TSType")).field("expression",s("Expression")).field("extra",l({parenthesized:Boolean},null),u["null"]);s("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[s("TSTypeParameter")]);s("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[s("TSType")]);s("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",s("Identifier")).field("const",Boolean,u["false"]).field("declare",Boolean,u["false"]).field("members",[s("TSEnumMember")]).field("initializer",l(s("Expression"),null),u["null"]);s("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",s("Identifier")).field("declare",Boolean,u["false"]).field("typeAnnotation",s("TSType"));s("TSModuleBlock").bases("Node").build("body").field("body",[s("Statement")]);s("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",l(c,f)).field("declare",Boolean,u["false"]).field("global",Boolean,u["false"]).field("body",l(s("TSModuleBlock"),s("TSModuleDeclaration"),null),u["null"]);s("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",c).field("qualifier",l(f,void 0),u["undefined"]);s("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",s("Identifier")).field("isExport",Boolean,u["false"]).field("moduleReference",l(f,s("TSExternalModuleReference")));s("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",c);s("TSExportAssignment").bases("Statement").build("expression").field("expression",s("Expression"));s("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",s("Identifier"));s("TSInterfaceBody").bases("Node").build("body").field("body",[p]);s("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",f);s("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",f).field("declare",Boolean,u["false"]).field("extends",l([s("TSExpressionWithTypeArguments")],null),u["null"]).field("body",s("TSInterfaceBody"));s("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",l("public","private","protected",void 0),u["undefined"]).field("readonly",Boolean,u["false"]).field("parameter",l(s("Identifier"),s("AssignmentPattern")));s("ClassProperty").field("access",l("public","private","protected",void 0),u["undefined"]);s("ClassBody").field("body",[l(s("MethodDefinition"),s("VariableDeclarator"),s("ClassPropertyDefinition"),s("ClassProperty"),s("ClassPrivateProperty"),s("ClassMethod"),s("ClassPrivateMethod"),s("TSDeclareMethod"),p)])}t.default=l;e.exports=t["default"]}));n(C);var w=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(s);var i=r(d);var a=r(m);function o(e){e.use(a.default);var t=e.use(n.default);var r=t.Type;var s=t.Type.def;var o=r.or;var l=e.use(i.default);var u=l.defaults;s("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,u["true"]);s("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,u["true"]);var c=o("||","&&","??");s("LogicalExpression").field("operator",c)}t.default=o;e.exports=t["default"]}));n(w);var A=i((function(e,t){Object.defineProperty(t,"__esModule",{value:true});var r;(function(e){})(r=t.namedTypes||(t.namedTypes={}))}));n(A);var T=A.namedTypes;var k=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(p);var i=r(m);var a=r(v);var s=r(g);var o=r(y);var l=r(E);var u=r(b);var c=r(D);var f=r(C);var h=r(w);t.namedTypes=A.namedTypes;var d=n.default([i.default,a.default,s.default,o.default,l.default,u.default,c.default,f.default,h.default]),x=d.astNodesAreEquivalent,S=d.builders,T=d.builtInTypes,k=d.defineMethod,_=d.eachField,P=d.finalize,F=d.getBuilderName,I=d.getFieldNames,M=d.getFieldValue,N=d.getSupertypeNames,L=d.namedTypes,B=d.NodePath,O=d.Path,R=d.PathVisitor,j=d.someField,U=d.Type,V=d.use,G=d.visit;t.astNodesAreEquivalent=x;t.builders=S;t.builtInTypes=T;t.defineMethod=k;t.eachField=_;t.finalize=P;t.getBuilderName=F;t.getFieldNames=I;t.getFieldValue=M;t.getSupertypeNames=N;t.NodePath=B;t.Path=O;t.PathVisitor=R;t.someField=j;t.Type=U;t.use=V;t.visit=G;Object.assign(A.namedTypes,L)}));n(k);var _=k.namedTypes;var P=k.astNodesAreEquivalent;var F=k.builders;var I=k.builtInTypes;var M=k.defineMethod;var N=k.eachField;var L=k.finalize;var B=k.getBuilderName;var O=k.getFieldNames;var R=k.getFieldValue;var j=k.getSupertypeNames;var U=k.NodePath;var V=k.Path;var G=k.PathVisitor;var z=k.someField;var X=k.Type;var J=k.use;var q=k.visit;const{def:W}=X;(function(){W("ImportExpression").bases("Expression").build("source").field("source",W("Expression"));L()})();const H="exports";const K="css";const $="template";const Y="name";var Q=[];var Z=[];var ee=typeof Uint8Array!=="undefined"?Uint8Array:Array;var te=false;function re(){te=true;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var t=0,r=e.length;t<r;++t){Q[t]=e[t];Z[e.charCodeAt(t)]=t}Z["-".charCodeAt(0)]=62;Z["_".charCodeAt(0)]=63}function ne(e){if(!te){re()}var t,r,n,i,a,s;var o=e.length;if(o%4>0){throw new Error("Invalid string. Length must be a multiple of 4")}a=e[o-2]==="="?2:e[o-1]==="="?1:0;s=new ee(o*3/4-a);n=a>0?o-4:o;var l=0;for(t=0,r=0;t<n;t+=4,r+=3){i=Z[e.charCodeAt(t)]<<18|Z[e.charCodeAt(t+1)]<<12|Z[e.charCodeAt(t+2)]<<6|Z[e.charCodeAt(t+3)];s[l++]=i>>16&255;s[l++]=i>>8&255;s[l++]=i&255}if(a===2){i=Z[e.charCodeAt(t)]<<2|Z[e.charCodeAt(t+1)]>>4;s[l++]=i&255}else if(a===1){i=Z[e.charCodeAt(t)]<<10|Z[e.charCodeAt(t+1)]<<4|Z[e.charCodeAt(t+2)]>>2;s[l++]=i>>8&255;s[l++]=i&255}return s}function ie(e){return Q[e>>18&63]+Q[e>>12&63]+Q[e>>6&63]+Q[e&63]}function ae(e,t,r){var n;var i=[];for(var a=t;a<r;a+=3){n=(e[a]<<16)+(e[a+1]<<8)+e[a+2];i.push(ie(n))}return i.join("")}function se(e){if(!te){re()}var t;var r=e.length;var n=r%3;var i="";var a=[];var s=16383;for(var o=0,l=r-n;o<l;o+=s){a.push(ae(e,o,o+s>l?l:o+s))}if(n===1){t=e[r-1];i+=Q[t>>2];i+=Q[t<<4&63];i+="=="}else if(n===2){t=(e[r-2]<<8)+e[r-1];i+=Q[t>>10];i+=Q[t>>4&63];i+=Q[t<<2&63];i+="="}a.push(i);return a.join("")}function oe(e,t,r,n,i){var a,s;var o=i*8-n-1;var l=(1<<o)-1;var u=l>>1;var c=-7;var f=r?i-1:0;var h=r?-1:1;var p=e[t+f];f+=h;a=p&(1<<-c)-1;p>>=-c;c+=o;for(;c>0;a=a*256+e[t+f],f+=h,c-=8){}s=a&(1<<-c)-1;a>>=-c;c+=n;for(;c>0;s=s*256+e[t+f],f+=h,c-=8){}if(a===0){a=1-u}else if(a===l){return s?NaN:(p?-1:1)*Infinity}else{s=s+Math.pow(2,n);a=a-u}return(p?-1:1)*s*Math.pow(2,a-n)}function le(e,t,r,n,i,a){var s,o,l;var u=a*8-i-1;var c=(1<<u)-1;var f=c>>1;var h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0;var p=n?0:a-1;var d=n?1:-1;var m=t<0||t===0&&1/t<0?1:0;t=Math.abs(t);if(isNaN(t)||t===Infinity){o=isNaN(t)?1:0;s=c}else{s=Math.floor(Math.log(t)/Math.LN2);if(t*(l=Math.pow(2,-s))<1){s--;l*=2}if(s+f>=1){t+=h/l}else{t+=h*Math.pow(2,1-f)}if(t*l>=2){s++;l/=2}if(s+f>=c){o=0;s=c}else if(s+f>=1){o=(t*l-1)*Math.pow(2,i);s=s+f}else{o=t*Math.pow(2,f-1)*Math.pow(2,i);s=0}}for(;i>=8;e[r+p]=o&255,p+=d,o/=256,i-=8){}s=s<<i|o;u+=i;for(;u>0;e[r+p]=s&255,p+=d,s/=256,u-=8){}e[r+p-d]|=m*128}var ue={}.toString;var ce=Array.isArray||function(e){return ue.call(e)=="[object Array]"};
  /*!
    	 * The buffer module from node.js, for the browser.
    	 *
    	 * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
    	 * @license  MIT
    	 */var fe=50;de.TYPED_ARRAY_SUPPORT=gr.TYPED_ARRAY_SUPPORT!==undefined?gr.TYPED_ARRAY_SUPPORT:true;function he(){return de.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function pe(e,t){if(he()<t){throw new RangeError("Invalid typed array length")}if(de.TYPED_ARRAY_SUPPORT){e=new Uint8Array(t);e.__proto__=de.prototype}else{if(e===null){e=new de(t)}e.length=t}return e}function de(e,t,r){if(!de.TYPED_ARRAY_SUPPORT&&!(this instanceof de)){return new de(e,t,r)}if(typeof e==="number"){if(typeof t==="string"){throw new Error("If encoding is specified then the first argument must be a string")}return ye(this,e)}return me(this,e,t,r)}de.poolSize=8192;de._augment=function(e){e.__proto__=de.prototype;return e};function me(e,t,r,n){if(typeof t==="number"){throw new TypeError('"value" argument must not be a number')}if(typeof ArrayBuffer!=="undefined"&&t instanceof ArrayBuffer){return be(e,t,r,n)}if(typeof t==="string"){return xe(e,t,r)}return Se(e,t)}de.from=function(e,t,r){return me(null,e,t,r)};if(de.TYPED_ARRAY_SUPPORT){de.prototype.__proto__=Uint8Array.prototype;de.__proto__=Uint8Array}function ve(e){if(typeof e!=="number"){throw new TypeError('"size" argument must be a number')}else if(e<0){throw new RangeError('"size" argument must not be negative')}}function ge(e,t,r,n){ve(t);if(t<=0){return pe(e,t)}if(r!==undefined){return typeof n==="string"?pe(e,t).fill(r,n):pe(e,t).fill(r)}return pe(e,t)}de.alloc=function(e,t,r){return ge(null,e,t,r)};function ye(e,t){ve(t);e=pe(e,t<0?0:De(t)|0);if(!de.TYPED_ARRAY_SUPPORT){for(var r=0;r<t;++r){e[r]=0}}return e}de.allocUnsafe=function(e){return ye(null,e)};de.allocUnsafeSlow=function(e){return ye(null,e)};function xe(e,t,r){if(typeof r!=="string"||r===""){r="utf8"}if(!de.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}var n=we(t,r)|0;e=pe(e,n);var i=e.write(t,r);if(i!==n){e=e.slice(0,i)}return e}function Ee(e,t){var r=t.length<0?0:De(t.length)|0;e=pe(e,r);for(var n=0;n<r;n+=1){e[n]=t[n]&255}return e}function be(e,t,r,n){t.byteLength;if(r<0||t.byteLength<r){throw new RangeError("'offset' is out of bounds")}if(t.byteLength<r+(n||0)){throw new RangeError("'length' is out of bounds")}if(r===undefined&&n===undefined){t=new Uint8Array(t)}else if(n===undefined){t=new Uint8Array(t,r)}else{t=new Uint8Array(t,r,n)}if(de.TYPED_ARRAY_SUPPORT){e=t;e.__proto__=de.prototype}else{e=Ee(e,t)}return e}function Se(e,t){if(Ce(t)){var r=De(t.length)|0;e=pe(e,r);if(e.length===0){return e}t.copy(e,0,0,r);return e}if(t){if(typeof ArrayBuffer!=="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t){if(typeof t.length!=="number"||st(t.length)){return pe(e,0)}return Ee(e,t)}if(t.type==="Buffer"&&ce(t.data)){return Ee(e,t.data)}}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function De(e){if(e>=he()){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+he().toString(16)+" bytes")}return e|0}de.isBuffer=ot;function Ce(e){return!!(e!=null&&e._isBuffer)}de.compare=function e(t,r){if(!Ce(t)||!Ce(r)){throw new TypeError("Arguments must be Buffers")}if(t===r)return 0;var n=t.length;var i=r.length;for(var a=0,s=Math.min(n,i);a<s;++a){if(t[a]!==r[a]){n=t[a];i=r[a];break}}if(n<i)return-1;if(i<n)return 1;return 0};de.isEncoding=function e(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return true;default:return false}};de.concat=function e(t,r){if(!ce(t)){throw new TypeError('"list" argument must be an Array of Buffers')}if(t.length===0){return de.alloc(0)}var n;if(r===undefined){r=0;for(n=0;n<t.length;++n){r+=t[n].length}}var i=de.allocUnsafe(r);var a=0;for(n=0;n<t.length;++n){var s=t[n];if(!Ce(s)){throw new TypeError('"list" argument must be an Array of Buffers')}s.copy(i,a);a+=s.length}return i};function we(e,t){if(Ce(e)){return e.length}if(typeof ArrayBuffer!=="undefined"&&typeof ArrayBuffer.isView==="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)){return e.byteLength}if(typeof e!=="string"){e=""+e}var r=e.length;if(r===0)return 0;var n=false;for(;;){switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case undefined:return tt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return it(e).length;default:if(n)return tt(e).length;t=(""+t).toLowerCase();n=true}}}de.byteLength=we;function Ae(e,t,r){var n=false;if(t===undefined||t<0){t=0}if(t>this.length){return""}if(r===undefined||r>this.length){r=this.length}if(r<=0){return""}r>>>=0;t>>>=0;if(r<=t){return""}if(!e)e="utf8";while(true){switch(e){case"hex":return Ge(this,t,r);case"utf8":case"utf-8":return Oe(this,t,r);case"ascii":return Ue(this,t,r);case"latin1":case"binary":return Ve(this,t,r);case"base64":return Be(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ze(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase();n=true}}}de.prototype._isBuffer=true;function Te(e,t,r){var n=e[t];e[t]=e[r];e[r]=n}de.prototype.swap16=function e(){var t=this.length;if(t%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits")}for(var r=0;r<t;r+=2){Te(this,r,r+1)}return this};de.prototype.swap32=function e(){var t=this.length;if(t%4!==0){throw new RangeError("Buffer size must be a multiple of 32-bits")}for(var r=0;r<t;r+=4){Te(this,r,r+3);Te(this,r+1,r+2)}return this};de.prototype.swap64=function e(){var t=this.length;if(t%8!==0){throw new RangeError("Buffer size must be a multiple of 64-bits")}for(var r=0;r<t;r+=8){Te(this,r,r+7);Te(this,r+1,r+6);Te(this,r+2,r+5);Te(this,r+3,r+4)}return this};de.prototype.toString=function e(){var t=this.length|0;if(t===0)return"";if(arguments.length===0)return Oe(this,0,t);return Ae.apply(this,arguments)};de.prototype.equals=function e(t){if(!Ce(t))throw new TypeError("Argument must be a Buffer");if(this===t)return true;return de.compare(this,t)===0};de.prototype.inspect=function e(){var t="";var r=fe;if(this.length>0){t=this.toString("hex",0,r).match(/.{2}/g).join(" ");if(this.length>r)t+=" ... "}return"<Buffer "+t+">"};de.prototype.compare=function e(t,r,n,i,a){if(!Ce(t)){throw new TypeError("Argument must be a Buffer")}if(r===undefined){r=0}if(n===undefined){n=t?t.length:0}if(i===undefined){i=0}if(a===undefined){a=this.length}if(r<0||n>t.length||i<0||a>this.length){throw new RangeError("out of range index")}if(i>=a&&r>=n){return 0}if(i>=a){return-1}if(r>=n){return 1}r>>>=0;n>>>=0;i>>>=0;a>>>=0;if(this===t)return 0;var s=a-i;var o=n-r;var l=Math.min(s,o);var u=this.slice(i,a);var c=t.slice(r,n);for(var f=0;f<l;++f){if(u[f]!==c[f]){s=u[f];o=c[f];break}}if(s<o)return-1;if(o<s)return 1;return 0};function ke(e,t,r,n,i){if(e.length===0)return-1;if(typeof r==="string"){n=r;r=0}else if(r>2147483647){r=2147483647}else if(r<-2147483648){r=-2147483648}r=+r;if(isNaN(r)){r=i?0:e.length-1}if(r<0)r=e.length+r;if(r>=e.length){if(i)return-1;else r=e.length-1}else if(r<0){if(i)r=0;else return-1}if(typeof t==="string"){t=de.from(t,n)}if(Ce(t)){if(t.length===0){return-1}return _e(e,t,r,n,i)}else if(typeof t==="number"){t=t&255;if(de.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==="function"){if(i){return Uint8Array.prototype.indexOf.call(e,t,r)}else{return Uint8Array.prototype.lastIndexOf.call(e,t,r)}}return _e(e,[t],r,n,i)}throw new TypeError("val must be string, number or Buffer")}function _e(e,t,r,n,i){var a=1;var s=e.length;var o=t.length;if(n!==undefined){n=String(n).toLowerCase();if(n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le"){if(e.length<2||t.length<2){return-1}a=2;s/=2;o/=2;r/=2}}function l(e,t){if(a===1){return e[t]}else{return e.readUInt16BE(t*a)}}var u;if(i){var c=-1;for(u=r;u<s;u++){if(l(e,u)===l(t,c===-1?0:u-c)){if(c===-1)c=u;if(u-c+1===o)return c*a}else{if(c!==-1)u-=u-c;c=-1}}}else{if(r+o>s)r=s-o;for(u=r;u>=0;u--){var f=true;for(var h=0;h<o;h++){if(l(e,u+h)!==l(t,h)){f=false;break}}if(f)return u}}return-1}de.prototype.includes=function e(t,r,n){return this.indexOf(t,r,n)!==-1};de.prototype.indexOf=function e(t,r,n){return ke(this,t,r,n,true)};de.prototype.lastIndexOf=function e(t,r,n){return ke(this,t,r,n,false)};function Pe(e,t,r,n){r=Number(r)||0;var i=e.length-r;if(!n){n=i}else{n=Number(n);if(n>i){n=i}}var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");if(n>a/2){n=a/2}for(var s=0;s<n;++s){var o=parseInt(t.substr(s*2,2),16);if(isNaN(o))return s;e[r+s]=o}return s}function Fe(e,t,r,n){return at(tt(t,e.length-r),e,r,n)}function Ie(e,t,r,n){return at(rt(t),e,r,n)}function Me(e,t,r,n){return Ie(e,t,r,n)}function Ne(e,t,r,n){return at(it(t),e,r,n)}function Le(e,t,r,n){return at(nt(t,e.length-r),e,r,n)}de.prototype.write=function e(t,r,n,i){if(r===undefined){i="utf8";n=this.length;r=0}else if(n===undefined&&typeof r==="string"){i=r;n=this.length;r=0}else if(isFinite(r)){r=r|0;if(isFinite(n)){n=n|0;if(i===undefined)i="utf8"}else{i=n;n=undefined}}else{throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")}var a=this.length-r;if(n===undefined||n>a)n=a;if(t.length>0&&(n<0||r<0)||r>this.length){throw new RangeError("Attempt to write outside buffer bounds")}if(!i)i="utf8";var s=false;for(;;){switch(i){case"hex":return Pe(this,t,r,n);case"utf8":case"utf-8":return Fe(this,t,r,n);case"ascii":return Ie(this,t,r,n);case"latin1":case"binary":return Me(this,t,r,n);case"base64":return Ne(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Le(this,t,r,n);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase();s=true}}};de.prototype.toJSON=function e(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Be(e,t,r){if(t===0&&r===e.length){return se(e)}else{return se(e.slice(t,r))}}function Oe(e,t,r){r=Math.min(e.length,r);var n=[];var i=t;while(i<r){var a=e[i];var s=null;var o=a>239?4:a>223?3:a>191?2:1;if(i+o<=r){var l,u,c,f;switch(o){case 1:if(a<128){s=a}break;case 2:l=e[i+1];if((l&192)===128){f=(a&31)<<6|l&63;if(f>127){s=f}}break;case 3:l=e[i+1];u=e[i+2];if((l&192)===128&&(u&192)===128){f=(a&15)<<12|(l&63)<<6|u&63;if(f>2047&&(f<55296||f>57343)){s=f}}break;case 4:l=e[i+1];u=e[i+2];c=e[i+3];if((l&192)===128&&(u&192)===128&&(c&192)===128){f=(a&15)<<18|(l&63)<<12|(u&63)<<6|c&63;if(f>65535&&f<1114112){s=f}}}}if(s===null){s=65533;o=1}else if(s>65535){s-=65536;n.push(s>>>10&1023|55296);s=56320|s&1023}n.push(s);i+=o}return je(n)}var Re=4096;function je(e){var t=e.length;if(t<=Re){return String.fromCharCode.apply(String,e)}var r="";var n=0;while(n<t){r+=String.fromCharCode.apply(String,e.slice(n,n+=Re))}return r}function Ue(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i){n+=String.fromCharCode(e[i]&127)}return n}function Ve(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i){n+=String.fromCharCode(e[i])}return n}function Ge(e,t,r){var n=e.length;if(!t||t<0)t=0;if(!r||r<0||r>n)r=n;var i="";for(var a=t;a<r;++a){i+=et(e[a])}return i}function ze(e,t,r){var n=e.slice(t,r);var i="";for(var a=0;a<n.length;a+=2){i+=String.fromCharCode(n[a]+n[a+1]*256)}return i}de.prototype.slice=function e(t,r){var n=this.length;t=~~t;r=r===undefined?n:~~r;if(t<0){t+=n;if(t<0)t=0}else if(t>n){t=n}if(r<0){r+=n;if(r<0)r=0}else if(r>n){r=n}if(r<t)r=t;var i;if(de.TYPED_ARRAY_SUPPORT){i=this.subarray(t,r);i.__proto__=de.prototype}else{var a=r-t;i=new de(a,undefined);for(var s=0;s<a;++s){i[s]=this[s+t]}}return i};function Xe(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}de.prototype.readUIntLE=function e(t,r,n){t=t|0;r=r|0;if(!n)Xe(t,r,this.length);var i=this[t];var a=1;var s=0;while(++s<r&&(a*=256)){i+=this[t+s]*a}return i};de.prototype.readUIntBE=function e(t,r,n){t=t|0;r=r|0;if(!n){Xe(t,r,this.length)}var i=this[t+--r];var a=1;while(r>0&&(a*=256)){i+=this[t+--r]*a}return i};de.prototype.readUInt8=function e(t,r){if(!r)Xe(t,1,this.length);return this[t]};de.prototype.readUInt16LE=function e(t,r){if(!r)Xe(t,2,this.length);return this[t]|this[t+1]<<8};de.prototype.readUInt16BE=function e(t,r){if(!r)Xe(t,2,this.length);return this[t]<<8|this[t+1]};de.prototype.readUInt32LE=function e(t,r){if(!r)Xe(t,4,this.length);return(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};de.prototype.readUInt32BE=function e(t,r){if(!r)Xe(t,4,this.length);return this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};de.prototype.readIntLE=function e(t,r,n){t=t|0;r=r|0;if(!n)Xe(t,r,this.length);var i=this[t];var a=1;var s=0;while(++s<r&&(a*=256)){i+=this[t+s]*a}a*=128;if(i>=a)i-=Math.pow(2,8*r);return i};de.prototype.readIntBE=function e(t,r,n){t=t|0;r=r|0;if(!n)Xe(t,r,this.length);var i=r;var a=1;var s=this[t+--i];while(i>0&&(a*=256)){s+=this[t+--i]*a}a*=128;if(s>=a)s-=Math.pow(2,8*r);return s};de.prototype.readInt8=function e(t,r){if(!r)Xe(t,1,this.length);if(!(this[t]&128))return this[t];return(255-this[t]+1)*-1};de.prototype.readInt16LE=function e(t,r){if(!r)Xe(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};de.prototype.readInt16BE=function e(t,r){if(!r)Xe(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};de.prototype.readInt32LE=function e(t,r){if(!r)Xe(t,4,this.length);return this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};de.prototype.readInt32BE=function e(t,r){if(!r)Xe(t,4,this.length);return this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};de.prototype.readFloatLE=function e(t,r){if(!r)Xe(t,4,this.length);return oe(this,t,true,23,4)};de.prototype.readFloatBE=function e(t,r){if(!r)Xe(t,4,this.length);return oe(this,t,false,23,4)};de.prototype.readDoubleLE=function e(t,r){if(!r)Xe(t,8,this.length);return oe(this,t,true,52,8)};de.prototype.readDoubleBE=function e(t,r){if(!r)Xe(t,8,this.length);return oe(this,t,false,52,8)};function Je(e,t,r,n,i,a){if(!Ce(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}de.prototype.writeUIntLE=function e(t,r,n,i){t=+t;r=r|0;n=n|0;if(!i){var a=Math.pow(2,8*n)-1;Je(this,t,r,n,a,0)}var s=1;var o=0;this[r]=t&255;while(++o<n&&(s*=256)){this[r+o]=t/s&255}return r+n};de.prototype.writeUIntBE=function e(t,r,n,i){t=+t;r=r|0;n=n|0;if(!i){var a=Math.pow(2,8*n)-1;Je(this,t,r,n,a,0)}var s=n-1;var o=1;this[r+s]=t&255;while(--s>=0&&(o*=256)){this[r+s]=t/o&255}return r+n};de.prototype.writeUInt8=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,1,255,0);if(!de.TYPED_ARRAY_SUPPORT)t=Math.floor(t);this[r]=t&255;return r+1};function qe(e,t,r,n){if(t<0)t=65535+t+1;for(var i=0,a=Math.min(e.length-r,2);i<a;++i){e[r+i]=(t&255<<8*(n?i:1-i))>>>(n?i:1-i)*8}}de.prototype.writeUInt16LE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,2,65535,0);if(de.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{qe(this,t,r,true)}return r+2};de.prototype.writeUInt16BE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,2,65535,0);if(de.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{qe(this,t,r,false)}return r+2};function We(e,t,r,n){if(t<0)t=4294967295+t+1;for(var i=0,a=Math.min(e.length-r,4);i<a;++i){e[r+i]=t>>>(n?i:3-i)*8&255}}de.prototype.writeUInt32LE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,4,4294967295,0);if(de.TYPED_ARRAY_SUPPORT){this[r+3]=t>>>24;this[r+2]=t>>>16;this[r+1]=t>>>8;this[r]=t&255}else{We(this,t,r,true)}return r+4};de.prototype.writeUInt32BE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,4,4294967295,0);if(de.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{We(this,t,r,false)}return r+4};de.prototype.writeIntLE=function e(t,r,n,i){t=+t;r=r|0;if(!i){var a=Math.pow(2,8*n-1);Je(this,t,r,n,a-1,-a)}var s=0;var o=1;var l=0;this[r]=t&255;while(++s<n&&(o*=256)){if(t<0&&l===0&&this[r+s-1]!==0){l=1}this[r+s]=(t/o>>0)-l&255}return r+n};de.prototype.writeIntBE=function e(t,r,n,i){t=+t;r=r|0;if(!i){var a=Math.pow(2,8*n-1);Je(this,t,r,n,a-1,-a)}var s=n-1;var o=1;var l=0;this[r+s]=t&255;while(--s>=0&&(o*=256)){if(t<0&&l===0&&this[r+s+1]!==0){l=1}this[r+s]=(t/o>>0)-l&255}return r+n};de.prototype.writeInt8=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,1,127,-128);if(!de.TYPED_ARRAY_SUPPORT)t=Math.floor(t);if(t<0)t=255+t+1;this[r]=t&255;return r+1};de.prototype.writeInt16LE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,2,32767,-32768);if(de.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8}else{qe(this,t,r,true)}return r+2};de.prototype.writeInt16BE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,2,32767,-32768);if(de.TYPED_ARRAY_SUPPORT){this[r]=t>>>8;this[r+1]=t&255}else{qe(this,t,r,false)}return r+2};de.prototype.writeInt32LE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,4,2147483647,-2147483648);if(de.TYPED_ARRAY_SUPPORT){this[r]=t&255;this[r+1]=t>>>8;this[r+2]=t>>>16;this[r+3]=t>>>24}else{We(this,t,r,true)}return r+4};de.prototype.writeInt32BE=function e(t,r,n){t=+t;r=r|0;if(!n)Je(this,t,r,4,2147483647,-2147483648);if(t<0)t=4294967295+t+1;if(de.TYPED_ARRAY_SUPPORT){this[r]=t>>>24;this[r+1]=t>>>16;this[r+2]=t>>>8;this[r+3]=t&255}else{We(this,t,r,false)}return r+4};function He(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Ke(e,t,r,n,i){if(!i){He(e,t,r,4)}le(e,t,r,n,23,4);return r+4}de.prototype.writeFloatLE=function e(t,r,n){return Ke(this,t,r,true,n)};de.prototype.writeFloatBE=function e(t,r,n){return Ke(this,t,r,false,n)};function $e(e,t,r,n,i){if(!i){He(e,t,r,8)}le(e,t,r,n,52,8);return r+8}de.prototype.writeDoubleLE=function e(t,r,n){return $e(this,t,r,true,n)};de.prototype.writeDoubleBE=function e(t,r,n){return $e(this,t,r,false,n)};de.prototype.copy=function e(t,r,n,i){if(!n)n=0;if(!i&&i!==0)i=this.length;if(r>=t.length)r=t.length;if(!r)r=0;if(i>0&&i<n)i=n;if(i===n)return 0;if(t.length===0||this.length===0)return 0;if(r<0){throw new RangeError("targetStart out of bounds")}if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");if(i>this.length)i=this.length;if(t.length-r<i-n){i=t.length-r+n}var a=i-n;var s;if(this===t&&n<r&&r<i){for(s=a-1;s>=0;--s){t[s+r]=this[s+n]}}else if(a<1e3||!de.TYPED_ARRAY_SUPPORT){for(s=0;s<a;++s){t[s+r]=this[s+n]}}else{Uint8Array.prototype.set.call(t,this.subarray(n,n+a),r)}return a};de.prototype.fill=function e(t,r,n,i){if(typeof t==="string"){if(typeof r==="string"){i=r;r=0;n=this.length}else if(typeof n==="string"){i=n;n=this.length}if(t.length===1){var a=t.charCodeAt(0);if(a<256){t=a}}if(i!==undefined&&typeof i!=="string"){throw new TypeError("encoding must be a string")}if(typeof i==="string"&&!de.isEncoding(i)){throw new TypeError("Unknown encoding: "+i)}}else if(typeof t==="number"){t=t&255}if(r<0||this.length<r||this.length<n){throw new RangeError("Out of range index")}if(n<=r){return this}r=r>>>0;n=n===undefined?this.length:n>>>0;if(!t)t=0;var s;if(typeof t==="number"){for(s=r;s<n;++s){this[s]=t}}else{var o=Ce(t)?t:tt(new de(t,i).toString());var l=o.length;for(s=0;s<n-r;++s){this[s+r]=o[s%l]}}return this};var Ye=/[^+\/0-9A-Za-z-_]/g;function Qe(e){e=Ze(e).replace(Ye,"");if(e.length<2)return"";while(e.length%4!==0){e=e+"="}return e}function Ze(e){if(e.trim)return e.trim();return e.replace(/^\s+|\s+$/g,"")}function et(e){if(e<16)return"0"+e.toString(16);return e.toString(16)}function tt(e,t){t=t||Infinity;var r;var n=e.length;var i=null;var a=[];for(var s=0;s<n;++s){r=e.charCodeAt(s);if(r>55295&&r<57344){if(!i){if(r>56319){if((t-=3)>-1)a.push(239,191,189);continue}else if(s+1===n){if((t-=3)>-1)a.push(239,191,189);continue}i=r;continue}if(r<56320){if((t-=3)>-1)a.push(239,191,189);i=r;continue}r=(i-55296<<10|r-56320)+65536}else if(i){if((t-=3)>-1)a.push(239,191,189)}i=null;if(r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else{throw new Error("Invalid code point")}}return a}function rt(e){var t=[];for(var r=0;r<e.length;++r){t.push(e.charCodeAt(r)&255)}return t}function nt(e,t){var r,n,i;var a=[];for(var s=0;s<e.length;++s){if((t-=2)<0)break;r=e.charCodeAt(s);n=r>>8;i=r%256;a.push(i);a.push(n)}return a}function it(e){return ne(Qe(e))}function at(e,t,r,n){for(var i=0;i<n;++i){if(i+r>=t.length||i>=e.length)break;t[i+r]=e[i]}return i}function st(e){return e!==e}function ot(e){return e!=null&&(!!e._isBuffer||lt(e)||ut(e))}function lt(e){return!!e.constructor&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function ut(e){return typeof e.readFloatLE==="function"&&typeof e.slice==="function"&&lt(e.slice(0,0))}var ct;if(typeof Object.create==="function"){ct=function e(t,r){t.super_=r;t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}else{ct=function e(t,r){t.super_=r;var n=function e(){};n.prototype=r.prototype;t.prototype=new n;t.prototype.constructor=t}}var ft=ct;function ht(e,t){var r={seen:[],stylize:dt};if(arguments.length>=3)r.depth=arguments[2];if(arguments.length>=4)r.colors=arguments[3];if(Dt(t)){r.showHidden=t}else if(t){Lt(r,t)}if(Tt(r.showHidden))r.showHidden=false;if(Tt(r.depth))r.depth=2;if(Tt(r.colors))r.colors=false;if(Tt(r.customInspect))r.customInspect=true;if(r.colors)r.stylize=pt;return vt(r,e,r.depth)}ht.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};ht.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function pt(e,t){var r=ht.styles[t];if(r){return"["+ht.colors[r][0]+"m"+e+"["+ht.colors[r][1]+"m"}else{return e}}function dt(e,t){return e}function mt(e){var t={};e.forEach((function(e,r){t[e]=true}));return t}function vt(e,t,r){if(e.customInspect&&t&&It(t.inspect)&&t.inspect!==ht&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);if(!At(n)){n=vt(e,n,r)}return n}var i=gt(e,t);if(i){return i}var a=Object.keys(t);var s=mt(a);if(e.showHidden){a=Object.getOwnPropertyNames(t)}if(Ft(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0)){return yt(t)}if(a.length===0){if(It(t)){var o=t.name?": "+t.name:"";return e.stylize("[Function"+o+"]","special")}if(kt(t)){return e.stylize(RegExp.prototype.toString.call(t),"regexp")}if(Pt(t)){return e.stylize(Date.prototype.toString.call(t),"date")}if(Ft(t)){return yt(t)}}var l="",u=false,c=["{","}"];if(St(t)){u=true;c=["[","]"]}if(It(t)){var f=t.name?": "+t.name:"";l=" [Function"+f+"]"}if(kt(t)){l=" "+RegExp.prototype.toString.call(t)}if(Pt(t)){l=" "+Date.prototype.toUTCString.call(t)}if(Ft(t)){l=" "+yt(t)}if(a.length===0&&(!u||t.length==0)){return c[0]+l+c[1]}if(r<0){if(kt(t)){return e.stylize(RegExp.prototype.toString.call(t),"regexp")}else{return e.stylize("[Object]","special")}}e.seen.push(t);var h;if(u){h=xt(e,t,r,s,a)}else{h=a.map((function(n){return Et(e,t,r,s,n,u)}))}e.seen.pop();return bt(h,l,c)}function gt(e,t){if(Tt(t))return e.stylize("undefined","undefined");if(At(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(wt(t))return e.stylize(""+t,"number");if(Dt(t))return e.stylize(""+t,"boolean");if(Ct(t))return e.stylize("null","null")}function yt(e){return"["+Error.prototype.toString.call(e)+"]"}function xt(e,t,r,n,i){var a=[];for(var s=0,o=t.length;s<o;++s){if(Bt(t,String(s))){a.push(Et(e,t,r,n,String(s),true))}else{a.push("")}}i.forEach((function(i){if(!i.match(/^\d+$/)){a.push(Et(e,t,r,n,i,true))}}));return a}function Et(e,t,r,n,i,a){var s,o,l;l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(l.get){if(l.set){o=e.stylize("[Getter/Setter]","special")}else{o=e.stylize("[Getter]","special")}}else{if(l.set){o=e.stylize("[Setter]","special")}}if(!Bt(n,i)){s="["+i+"]"}if(!o){if(e.seen.indexOf(l.value)<0){if(Ct(r)){o=vt(e,l.value,null)}else{o=vt(e,l.value,r-1)}if(o.indexOf("\n")>-1){if(a){o=o.split("\n").map((function(e){return"  "+e})).join("\n").substr(2)}else{o="\n"+o.split("\n").map((function(e){return"   "+e})).join("\n")}}}else{o=e.stylize("[Circular]","special")}}if(Tt(s)){if(a&&i.match(/^\d+$/)){return o}s=JSON.stringify(""+i);if(s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){s=s.substr(1,s.length-2);s=e.stylize(s,"name")}else{s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");s=e.stylize(s,"string")}}return s+": "+o}function bt(e,t,r){var n=e.reduce((function(e,t){if(t.indexOf("\n")>=0);return e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60){return r[0]+(t===""?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]}return r[0]+t+" "+e.join(", ")+" "+r[1]}function St(e){return Array.isArray(e)}function Dt(e){return typeof e==="boolean"}function Ct(e){return e===null}function wt(e){return typeof e==="number"}function At(e){return typeof e==="string"}function Tt(e){return e===void 0}function kt(e){return _t(e)&&Nt(e)==="[object RegExp]"}function _t(e){return typeof e==="object"&&e!==null}function Pt(e){return _t(e)&&Nt(e)==="[object Date]"}function Ft(e){return _t(e)&&(Nt(e)==="[object Error]"||e instanceof Error)}function It(e){return typeof e==="function"}function Mt(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}function Nt(e){return Object.prototype.toString.call(e)}function Lt(e,t){if(!t||!_t(t))return e;var r=Object.keys(t);var n=r.length;while(n--){e[r[n]]=t[r[n]]}return e}function Bt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ot(e,t){if(e===t){return 0}var r=e.length;var n=t.length;for(var i=0,a=Math.min(r,n);i<a;++i){if(e[i]!==t[i]){r=e[i];n=t[i];break}}if(r<n){return-1}if(n<r){return 1}return 0}var Rt=Object.prototype.hasOwnProperty;var jt=Object.keys||function(e){var t=[];for(var r in e){if(Rt.call(e,r))t.push(r)}return t};var Ut=Array.prototype.slice;var Vt;function Gt(){if(typeof Vt!=="undefined"){return Vt}return Vt=function(){return function e(){}.name==="foo"}()}function zt(e){return Object.prototype.toString.call(e)}function Xt(e){if(ot(e)){return false}if(typeof gr.ArrayBuffer!=="function"){return false}if(typeof ArrayBuffer.isView==="function"){return ArrayBuffer.isView(e)}if(!e){return false}if(e instanceof DataView){return true}if(e.buffer&&e.buffer instanceof ArrayBuffer){return true}return false}function Jt(e,t){if(!e)Qt(e,true,t,"==",Zt)}var qt=/\s*function\s+([^\(\s]*)\s*/;function Wt(e){if(!It(e)){return}if(Gt()){return e.name}var t=e.toString();var r=t.match(qt);return r&&r[1]}Jt.AssertionError=Ht;function Ht(e){this.name="AssertionError";this.actual=e.actual;this.expected=e.expected;this.operator=e.operator;if(e.message){this.message=e.message;this.generatedMessage=false}else{this.message=Yt(this);this.generatedMessage=true}var t=e.stackStartFunction||Qt;if(Error.captureStackTrace){Error.captureStackTrace(this,t)}else{var r=new Error;if(r.stack){var n=r.stack;var i=Wt(t);var a=n.indexOf("\n"+i);if(a>=0){var s=n.indexOf("\n",a+1);n=n.substring(s+1)}this.stack=n}}}ft(Ht,Error);function Kt(e,t){if(typeof e==="string"){return e.length<t?e:e.slice(0,t)}else{return e}}function $t(e){if(Gt()||!It(e)){return ht(e)}var t=Wt(e);var r=t?": "+t:"";return"[Function"+r+"]"}function Yt(e){return Kt($t(e.actual),128)+" "+e.operator+" "+Kt($t(e.expected),128)}function Qt(e,t,r,n,i){throw new Ht({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}Jt.fail=Qt;function Zt(e,t){if(!e)Qt(e,true,t,"==",Zt)}Jt.ok=Zt;Jt.equal=er;function er(e,t,r){if(e!=t)Qt(e,t,r,"==",er)}Jt.notEqual=tr;function tr(e,t,r){if(e==t){Qt(e,t,r,"!=",tr)}}Jt.deepEqual=rr;function rr(e,t,r){if(!ir(e,t,false)){Qt(e,t,r,"deepEqual",rr)}}Jt.deepStrictEqual=nr;function nr(e,t,r){if(!ir(e,t,true)){Qt(e,t,r,"deepStrictEqual",nr)}}function ir(e,t,r,n){if(e===t){return true}else if(ot(e)&&ot(t)){return Ot(e,t)===0}else if(Pt(e)&&Pt(t)){return e.getTime()===t.getTime()}else if(kt(e)&&kt(t)){return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase}else if((e===null||typeof e!=="object")&&(t===null||typeof t!=="object")){return r?e===t:e==t}else if(Xt(e)&&Xt(t)&&zt(e)===zt(t)&&!(e instanceof Float32Array||e instanceof Float64Array)){return Ot(new Uint8Array(e.buffer),new Uint8Array(t.buffer))===0}else if(ot(e)!==ot(t)){return false}else{n=n||{actual:[],expected:[]};var i=n.actual.indexOf(e);if(i!==-1){if(i===n.expected.indexOf(t)){return true}}n.actual.push(e);n.expected.push(t);return sr(e,t,r,n)}}function ar(e){return Object.prototype.toString.call(e)=="[object Arguments]"}function sr(e,t,r,n){if(e===null||e===undefined||t===null||t===undefined)return false;if(Mt(e)||Mt(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return false;var i=ar(e);var a=ar(t);if(i&&!a||!i&&a)return false;if(i){e=Ut.call(e);t=Ut.call(t);return ir(e,t,r)}var s=jt(e);var o=jt(t);var l,u;if(s.length!==o.length)return false;s.sort();o.sort();for(u=s.length-1;u>=0;u--){if(s[u]!==o[u])return false}for(u=s.length-1;u>=0;u--){l=s[u];if(!ir(e[l],t[l],r,n))return false}return true}Jt.notDeepEqual=or;function or(e,t,r){if(ir(e,t,false)){Qt(e,t,r,"notDeepEqual",or)}}Jt.notDeepStrictEqual=lr;function lr(e,t,r){if(ir(e,t,true)){Qt(e,t,r,"notDeepStrictEqual",lr)}}Jt.strictEqual=ur;function ur(e,t,r){if(e!==t){Qt(e,t,r,"===",ur)}}Jt.notStrictEqual=cr;function cr(e,t,r){if(e===t){Qt(e,t,r,"!==",cr)}}function fr(e,t){if(!e||!t){return false}if(Object.prototype.toString.call(t)=="[object RegExp]"){return t.test(e)}try{if(e instanceof t){return true}}catch(e){}if(Error.isPrototypeOf(t)){return false}return t.call({},e)===true}function hr(e){var t;try{e()}catch(e){t=e}return t}function pr(e,t,r,n){var i;if(typeof t!=="function"){throw new TypeError('"block" argument must be a function')}if(typeof r==="string"){n=r;r=null}i=hr(t);n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:".");if(e&&!i){Qt(i,r,"Missing expected exception"+n)}var a=typeof n==="string";var s=!e&&Ft(i);var o=!e&&i&&!r;if(s&&a&&fr(i,r)||o){Qt(i,r,"Got unwanted exception"+n)}if(e&&i&&r&&!fr(i,r)||!e&&i){throw i}}Jt.throws=dr;function dr(e,t,r){pr(true,e,t,r)}Jt.doesNotThrow=mr;function mr(e,t,r){pr(false,e,t,r)}Jt.ifError=vr;function vr(e){if(e)throw e}var yr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");var xr=function e(t){if(0<=t&&t<yr.length){return yr[t]}throw new TypeError("Must be between 0 and 63: "+t)};var Er=function e(t){var r=65;var n=90;var i=97;var a=122;var s=48;var o=57;var l=43;var u=47;var c=26;var f=52;if(r<=t&&t<=n){return t-r}if(i<=t&&t<=a){return t-i+c}if(s<=t&&t<=o){return t-s+f}if(t==l){return 62}if(t==u){return 63}return-1};var br={encode:xr,decode:Er};var Sr=5;var Dr=1<<Sr;var Cr=Dr-1;var wr=Dr;function Ar(e){return e<0?(-e<<1)+1:(e<<1)+0}function Tr(e){var t=(e&1)===1;var r=e>>1;return t?-r:r}var kr=function e(t){var r="";var n;var i=Ar(t);do{n=i&Cr;i>>>=Sr;if(i>0){n|=wr}r+=br.encode(n)}while(i>0);return r};var _r=function e(t,r,n){var i=t.length;var a=0;var s=0;var o,l;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}l=br.decode(t.charCodeAt(r++));if(l===-1){throw new Error("Invalid base64 digit: "+t.charAt(r-1))}o=!!(l&wr);l&=Cr;a=a+(l<<s);s+=Sr}while(o);n.value=Tr(a);n.rest=r};var Pr={encode:kr,decode:_r};var Fr=i((function(e,t){function r(e,t,r){if(t in e){return e[t]}else if(arguments.length===3){return r}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=r;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var i=/^data:.+\,.+$/;function a(e){var t=e.match(n);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=a;function s(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=s;function o(e){var r=e;var n=a(e);if(n){if(!n.path){return e}r=n.path}var i=t.isAbsolute(r);var o=r.split(/\/+/);for(var l,u=0,c=o.length-1;c>=0;c--){l=o[c];if(l==="."){o.splice(c,1)}else if(l===".."){u++}else if(u>0){if(l===""){o.splice(c+1,u);u=0}else{o.splice(c,2);u--}}}r=o.join("/");if(r===""){r=i?"/":"."}if(n){n.path=r;return s(n)}return r}t.normalize=o;function l(e,t){if(e===""){e="."}if(t===""){t="."}var r=a(t);var n=a(e);if(n){e=n.path||"/"}if(r&&!r.scheme){if(n){r.scheme=n.scheme}return s(r)}if(r||t.match(i)){return t}if(n&&!n.host&&!n.path){n.host=t;return s(n)}var l=t.charAt(0)==="/"?t:o(e.replace(/\/+$/,"")+"/"+t);if(n){n.path=l;return s(n)}return l}t.join=l;t.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function u(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var r=0;while(t.indexOf(e+"/")!==0){var n=e.lastIndexOf("/");if(n<0){return t}e=e.slice(0,n);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++r}return Array(r+1).join("../")+t.substr(e.length+1)}t.relative=u;var c=function(){var e=Object.create(null);return!("__proto__"in e)}();function f(e){return e}function h(e){if(d(e)){return"$"+e}return e}t.toSetString=c?f:h;function p(e){if(d(e)){return e.slice(1)}return e}t.fromSetString=c?f:p;function d(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var r=t-10;r>=0;r--){if(e.charCodeAt(r)!==36){return false}}return true}function m(e,t,r){var n=g(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0||r){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=e.generatedLine-t.generatedLine;if(n!==0){return n}return g(e.name,t.name)}t.compareByOriginalPositions=m;function v(e,t,r){var n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0||r){return n}n=g(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return g(e.name,t.name)}t.compareByGeneratedPositionsDeflated=v;function g(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function y(e,t){var r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=g(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return g(e.name,t.name)}t.compareByGeneratedPositionsInflated=y;function x(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=x;function E(e,t,r){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(r){var n=a(r);if(!n){throw new Error("sourceMapURL could not be parsed")}if(n.path){var i=n.path.lastIndexOf("/");if(i>=0){n.path=n.path.substring(0,i+1)}}t=l(s(n),t)}return o(t)}t.computeSourceURL=E}));var Ir=Fr.getArg;var Mr=Fr.urlParse;var Nr=Fr.urlGenerate;var Lr=Fr.normalize;var Br=Fr.join;var Or=Fr.isAbsolute;var Rr=Fr.relative;var jr=Fr.toSetString;var Ur=Fr.fromSetString;var Vr=Fr.compareByOriginalPositions;var Gr=Fr.compareByGeneratedPositionsDeflated;var zr=Fr.compareByGeneratedPositionsInflated;var Xr=Fr.parseSourceMapInput;var Jr=Fr.computeSourceURL;var qr=Object.prototype.hasOwnProperty;var Wr=typeof Map!=="undefined";function Hr(){this._array=[];this._set=Wr?new Map:Object.create(null)}Hr.fromArray=function e(t,r){var n=new Hr;for(var i=0,a=t.length;i<a;i++){n.add(t[i],r)}return n};Hr.prototype.size=function e(){return Wr?this._set.size:Object.getOwnPropertyNames(this._set).length};Hr.prototype.add=function e(t,r){var n=Wr?t:Fr.toSetString(t);var i=Wr?this.has(t):qr.call(this._set,n);var a=this._array.length;if(!i||r){this._array.push(t)}if(!i){if(Wr){this._set.set(t,a)}else{this._set[n]=a}}};Hr.prototype.has=function e(t){if(Wr){return this._set.has(t)}else{var r=Fr.toSetString(t);return qr.call(this._set,r)}};Hr.prototype.indexOf=function e(t){if(Wr){var r=this._set.get(t);if(r>=0){return r}}else{var n=Fr.toSetString(t);if(qr.call(this._set,n)){return this._set[n]}}throw new Error('"'+t+'" is not in the set.')};Hr.prototype.at=function e(t){if(t>=0&&t<this._array.length){return this._array[t]}throw new Error("No element indexed by "+t)};Hr.prototype.toArray=function e(){return this._array.slice()};var Kr=Hr;var $r={ArraySet:Kr};function Yr(e,t){var r=e.generatedLine;var n=t.generatedLine;var i=e.generatedColumn;var a=t.generatedColumn;return n>r||n==r&&a>=i||Fr.compareByGeneratedPositionsInflated(e,t)<=0}function Qr(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}Qr.prototype.unsortedForEach=function e(t,r){this._array.forEach(t,r)};Qr.prototype.add=function e(t){if(Yr(this._last,t)){this._last=t;this._array.push(t)}else{this._sorted=false;this._array.push(t)}};Qr.prototype.toArray=function e(){if(!this._sorted){this._array.sort(Fr.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};var Zr=Qr;var en={MappingList:Zr};var tn=$r.ArraySet;var rn=en.MappingList;function nn(e){if(!e){e={}}this._file=Fr.getArg(e,"file",null);this._sourceRoot=Fr.getArg(e,"sourceRoot",null);this._skipValidation=Fr.getArg(e,"skipValidation",false);this._sources=new tn;this._names=new tn;this._mappings=new rn;this._sourcesContents=null}nn.prototype._version=3;nn.fromSourceMap=function e(t){var r=t.sourceRoot;var n=new nn({file:t.file,sourceRoot:r});t.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=Fr.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)}));t.sources.forEach((function(e){var i=e;if(r!==null){i=Fr.relative(r,e)}if(!n._sources.has(i)){n._sources.add(i)}var a=t.sourceContentFor(e);if(a!=null){n.setSourceContent(e,a)}}));return n};nn.prototype.addMapping=function e(t){var r=Fr.getArg(t,"generated");var n=Fr.getArg(t,"original",null);var i=Fr.getArg(t,"source",null);var a=Fr.getArg(t,"name",null);if(!this._skipValidation){this._validateMapping(r,n,i,a)}if(i!=null){i=String(i);if(!this._sources.has(i)){this._sources.add(i)}}if(a!=null){a=String(a);if(!this._names.has(a)){this._names.add(a)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:a})};nn.prototype.setSourceContent=function e(t,r){var n=t;if(this._sourceRoot!=null){n=Fr.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[Fr.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[Fr.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};nn.prototype.applySourceMap=function e(t,r,n){var i=r;if(r==null){if(t.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}i=t.file}var a=this._sourceRoot;if(a!=null){i=Fr.relative(a,i)}var s=new tn;var o=new tn;this._mappings.unsortedForEach((function(e){if(e.source===i&&e.originalLine!=null){var r=t.originalPositionFor({line:e.originalLine,column:e.originalColumn});if(r.source!=null){e.source=r.source;if(n!=null){e.source=Fr.join(n,e.source)}if(a!=null){e.source=Fr.relative(a,e.source)}e.originalLine=r.line;e.originalColumn=r.column;if(r.name!=null){e.name=r.name}}}var l=e.source;if(l!=null&&!s.has(l)){s.add(l)}var u=e.name;if(u!=null&&!o.has(u)){o.add(u)}}),this);this._sources=s;this._names=o;t.sources.forEach((function(e){var r=t.sourceContentFor(e);if(r!=null){if(n!=null){e=Fr.join(n,e)}if(a!=null){e=Fr.relative(a,e)}this.setSourceContent(e,r)}}),this)};nn.prototype._validateMapping=function e(t,r,n,i){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i){return}else if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};nn.prototype._serializeMappings=function e(){var t=0;var r=1;var n=0;var i=0;var a=0;var s=0;var o="";var l;var u;var c;var f;var h=this._mappings.toArray();for(var p=0,d=h.length;p<d;p++){u=h[p];l="";if(u.generatedLine!==r){t=0;while(u.generatedLine!==r){l+=";";r++}}else{if(p>0){if(!Fr.compareByGeneratedPositionsInflated(u,h[p-1])){continue}l+=","}}l+=Pr.encode(u.generatedColumn-t);t=u.generatedColumn;if(u.source!=null){f=this._sources.indexOf(u.source);l+=Pr.encode(f-s);s=f;l+=Pr.encode(u.originalLine-1-i);i=u.originalLine-1;l+=Pr.encode(u.originalColumn-n);n=u.originalColumn;if(u.name!=null){c=this._names.indexOf(u.name);l+=Pr.encode(c-a);a=c}}o+=l}return o};nn.prototype._generateSourcesContent=function e(t,r){return t.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=Fr.relative(r,e)}var t=Fr.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,t)?this._sourcesContents[t]:null}),this)};nn.prototype.toJSON=function e(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){t.file=this._file}if(this._sourceRoot!=null){t.sourceRoot=this._sourceRoot}if(this._sourcesContents){t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)}return t};nn.prototype.toString=function e(){return JSON.stringify(this.toJSON())};var an=nn;var sn={SourceMapGenerator:an};var on=i((function(e,t){t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function r(e,n,i,a,s,o){var l=Math.floor((n-e)/2)+e;var u=s(i,a[l],true);if(u===0){return l}else if(u>0){if(n-l>1){return r(l,n,i,a,s,o)}if(o==t.LEAST_UPPER_BOUND){return n<a.length?n:-1}else{return l}}else{if(l-e>1){return r(e,l,i,a,s,o)}if(o==t.LEAST_UPPER_BOUND){return l}else{return e<0?-1:e}}}t.search=function e(n,i,a,s){if(i.length===0){return-1}var o=r(-1,i.length,n,i,a,s||t.GREATEST_LOWER_BOUND);if(o<0){return-1}while(o-1>=0){if(a(i[o],i[o-1],true)!==0){break}--o}return o}}));var ln=on.GREATEST_LOWER_BOUND;var un=on.LEAST_UPPER_BOUND;var cn=on.search;function fn(e,t,r){var n=e[t];e[t]=e[r];e[r]=n}function hn(e,t){return Math.round(e+Math.random()*(t-e))}function pn(e,t,r,n){if(r<n){var i=hn(r,n);var a=r-1;fn(e,i,n);var s=e[n];for(var o=r;o<n;o++){if(t(e[o],s)<=0){a+=1;fn(e,a,o)}}fn(e,a+1,o);var l=a+1;pn(e,t,r,l-1);pn(e,t,l+1,n)}}var dn=function e(t,r){pn(t,r,0,t.length-1)};var mn={quickSort:dn};var vn=$r.ArraySet;var gn=mn.quickSort;function yn(e,t){var r=e;if(typeof e==="string"){r=Fr.parseSourceMapInput(e)}return r.sections!=null?new Dn(r,t):new En(r,t)}yn.fromSourceMap=function(e,t){return En.fromSourceMap(e,t)};yn.prototype._version=3;yn.prototype.__generatedMappings=null;Object.defineProperty(yn.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function e(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});yn.prototype.__originalMappings=null;Object.defineProperty(yn.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function e(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});yn.prototype._charIsMappingSeparator=function e(t,r){var n=t.charAt(r);return n===";"||n===","};yn.prototype._parseMappings=function e(t,r){throw new Error("Subclasses must implement _parseMappings")};yn.GENERATED_ORDER=1;yn.ORIGINAL_ORDER=2;yn.GREATEST_LOWER_BOUND=1;yn.LEAST_UPPER_BOUND=2;yn.prototype.eachMapping=function e(t,r,n){var i=r||null;var a=n||yn.GENERATED_ORDER;var s;switch(a){case yn.GENERATED_ORDER:s=this._generatedMappings;break;case yn.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;s.map((function(e){var t=e.source===null?null:this._sources.at(e.source);t=Fr.computeSourceURL(o,t,this._sourceMapURL);return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(t,i)};yn.prototype.allGeneratedPositionsFor=function e(t){var r=Fr.getArg(t,"line");var n={source:Fr.getArg(t,"source"),originalLine:r,originalColumn:Fr.getArg(t,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var i=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Fr.compareByOriginalPositions,on.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(t.column===undefined){var o=s.originalLine;while(s&&s.originalLine===o){i.push({line:Fr.getArg(s,"generatedLine",null),column:Fr.getArg(s,"generatedColumn",null),lastColumn:Fr.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++a]}}else{var l=s.originalColumn;while(s&&s.originalLine===r&&s.originalColumn==l){i.push({line:Fr.getArg(s,"generatedLine",null),column:Fr.getArg(s,"generatedColumn",null),lastColumn:Fr.getArg(s,"lastGeneratedColumn",null)});s=this._originalMappings[++a]}}}return i};var xn=yn;function En(e,t){var r=e;if(typeof e==="string"){r=Fr.parseSourceMapInput(e)}var n=Fr.getArg(r,"version");var i=Fr.getArg(r,"sources");var a=Fr.getArg(r,"names",[]);var s=Fr.getArg(r,"sourceRoot",null);var o=Fr.getArg(r,"sourcesContent",null);var l=Fr.getArg(r,"mappings");var u=Fr.getArg(r,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}if(s){s=Fr.normalize(s)}i=i.map(String).map(Fr.normalize).map((function(e){return s&&Fr.isAbsolute(s)&&Fr.isAbsolute(e)?Fr.relative(s,e):e}));this._names=vn.fromArray(a.map(String),true);this._sources=vn.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return Fr.computeSourceURL(s,e,t)}));this.sourceRoot=s;this.sourcesContent=o;this._mappings=l;this._sourceMapURL=t;this.file=u}En.prototype=Object.create(yn.prototype);En.prototype.consumer=yn;En.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null){t=Fr.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var r;for(r=0;r<this._absoluteSources.length;++r){if(this._absoluteSources[r]==e){return r}}return-1};En.fromSourceMap=function e(t,r){var n=Object.create(En.prototype);var i=n._names=vn.fromArray(t._names.toArray(),true);var a=n._sources=vn.fromArray(t._sources.toArray(),true);n.sourceRoot=t._sourceRoot;n.sourcesContent=t._generateSourcesContent(n._sources.toArray(),n.sourceRoot);n.file=t._file;n._sourceMapURL=r;n._absoluteSources=n._sources.toArray().map((function(e){return Fr.computeSourceURL(n.sourceRoot,e,r)}));var s=t._mappings.toArray().slice();var o=n.__generatedMappings=[];var l=n.__originalMappings=[];for(var u=0,c=s.length;u<c;u++){var f=s[u];var h=new bn;h.generatedLine=f.generatedLine;h.generatedColumn=f.generatedColumn;if(f.source){h.source=a.indexOf(f.source);h.originalLine=f.originalLine;h.originalColumn=f.originalColumn;if(f.name){h.name=i.indexOf(f.name)}l.push(h)}o.push(h)}gn(n.__originalMappings,Fr.compareByOriginalPositions);return n};En.prototype._version=3;Object.defineProperty(En.prototype,"sources",{get:function e(){return this._absoluteSources.slice()}});function bn(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}En.prototype._parseMappings=function e(t,r){var n=1;var i=0;var a=0;var s=0;var o=0;var l=0;var u=t.length;var c=0;var f={};var h={};var p=[];var d=[];var m,v,g,y,x;while(c<u){if(t.charAt(c)===";"){n++;c++;i=0}else if(t.charAt(c)===","){c++}else{m=new bn;m.generatedLine=n;for(y=c;y<u;y++){if(this._charIsMappingSeparator(t,y)){break}}v=t.slice(c,y);g=f[v];if(g){c+=v.length}else{g=[];while(c<y){Pr.decode(t,c,h);x=h.value;c=h.rest;g.push(x)}if(g.length===2){throw new Error("Found a source, but no line and column")}if(g.length===3){throw new Error("Found a source and line, but no column")}f[v]=g}m.generatedColumn=i+g[0];i=m.generatedColumn;if(g.length>1){m.source=o+g[1];o+=g[1];m.originalLine=a+g[2];a=m.originalLine;m.originalLine+=1;m.originalColumn=s+g[3];s=m.originalColumn;if(g.length>4){m.name=l+g[4];l+=g[4]}}d.push(m);if(typeof m.originalLine==="number"){p.push(m)}}}gn(d,Fr.compareByGeneratedPositionsDeflated);this.__generatedMappings=d;gn(p,Fr.compareByOriginalPositions);this.__originalMappings=p};En.prototype._findMapping=function e(t,r,n,i,a,s){if(t[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+t[n])}if(t[i]<0){throw new TypeError("Column must be greater than or equal to 0, got "+t[i])}return on.search(t,r,a,s)};En.prototype.computeColumnSpans=function e(){for(var t=0;t<this._generatedMappings.length;++t){var r=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var n=this._generatedMappings[t+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=Infinity}};En.prototype.originalPositionFor=function e(t){var r={generatedLine:Fr.getArg(t,"line"),generatedColumn:Fr.getArg(t,"column")};var n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Fr.compareByGeneratedPositionsDeflated,Fr.getArg(t,"bias",yn.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var a=Fr.getArg(i,"source",null);if(a!==null){a=this._sources.at(a);a=Fr.computeSourceURL(this.sourceRoot,a,this._sourceMapURL)}var s=Fr.getArg(i,"name",null);if(s!==null){s=this._names.at(s)}return{source:a,line:Fr.getArg(i,"originalLine",null),column:Fr.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};En.prototype.hasContentsOfAllSources=function e(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};En.prototype.sourceContentFor=function e(t,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(t);if(n>=0){return this.sourcesContent[n]}var i=t;if(this.sourceRoot!=null){i=Fr.relative(this.sourceRoot,i)}var a;if(this.sourceRoot!=null&&(a=Fr.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if(a.scheme=="file"&&this._sources.has(s)){return this.sourcesContent[this._sources.indexOf(s)]}if((!a.path||a.path=="/")&&this._sources.has("/"+i)){return this.sourcesContent[this._sources.indexOf("/"+i)]}}if(r){return null}else{throw new Error('"'+i+'" is not in the SourceMap.')}};En.prototype.generatedPositionFor=function e(t){var r=Fr.getArg(t,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:Fr.getArg(t,"line"),originalColumn:Fr.getArg(t,"column")};var i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Fr.compareByOriginalPositions,Fr.getArg(t,"bias",yn.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===n.source){return{line:Fr.getArg(a,"generatedLine",null),column:Fr.getArg(a,"generatedColumn",null),lastColumn:Fr.getArg(a,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};var Sn=En;function Dn(e,t){var r=e;if(typeof e==="string"){r=Fr.parseSourceMapInput(e)}var n=Fr.getArg(r,"version");var i=Fr.getArg(r,"sections");if(n!=this._version){throw new Error("Unsupported version: "+n)}this._sources=new vn;this._names=new vn;var a={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var r=Fr.getArg(e,"offset");var n=Fr.getArg(r,"line");var i=Fr.getArg(r,"column");if(n<a.line||n===a.line&&i<a.column){throw new Error("Section offsets must be ordered and non-overlapping.")}a=r;return{generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:new yn(Fr.getArg(e,"map"),t)}}))}Dn.prototype=Object.create(yn.prototype);Dn.prototype.constructor=yn;Dn.prototype._version=3;Object.defineProperty(Dn.prototype,"sources",{get:function e(){var t=[];for(var r=0;r<this._sections.length;r++){for(var n=0;n<this._sections[r].consumer.sources.length;n++){t.push(this._sections[r].consumer.sources[n])}}return t}});Dn.prototype.originalPositionFor=function e(t){var r={generatedLine:Fr.getArg(t,"line"),generatedColumn:Fr.getArg(t,"column")};var n=on.search(r,this._sections,(function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;if(r){return r}return e.generatedColumn-t.generatedOffset.generatedColumn}));var i=this._sections[n];if(!i){return{source:null,line:null,column:null,name:null}}return i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:t.bias})};Dn.prototype.hasContentsOfAllSources=function e(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))};Dn.prototype.sourceContentFor=function e(t,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n];var a=i.consumer.sourceContentFor(t,true);if(a){return a}}if(r){return null}else{throw new Error('"'+t+'" is not in the SourceMap.')}};Dn.prototype.generatedPositionFor=function e(t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(Fr.getArg(t,"source"))===-1){continue}var i=n.consumer.generatedPositionFor(t);if(i){var a={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return a}}return{line:null,column:null}};Dn.prototype._parseMappings=function e(t,r){this.__generatedMappings=[];this.__originalMappings=[];for(var n=0;n<this._sections.length;n++){var i=this._sections[n];var a=i.consumer._generatedMappings;for(var s=0;s<a.length;s++){var o=a[s];var l=i.consumer._sources.at(o.source);l=Fr.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL);this._sources.add(l);l=this._sources.indexOf(l);var u=null;if(o.name){u=i.consumer._names.at(o.name);this._names.add(u);u=this._names.indexOf(u)}var c={source:l,generatedLine:o.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(i.generatedOffset.generatedLine===o.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:u};this.__generatedMappings.push(c);if(typeof c.originalLine==="number"){this.__originalMappings.push(c)}}}gn(this.__generatedMappings,Fr.compareByGeneratedPositionsDeflated);gn(this.__originalMappings,Fr.compareByOriginalPositions)};var Cn=Dn;var wn={SourceMapConsumer:xn,BasicSourceMapConsumer:Sn,IndexedSourceMapConsumer:Cn};var An=sn.SourceMapGenerator;var Tn=/(\r?\n)/;var kn=10;var _n="$$$isSourceNode$$$";function Pn(e,t,r,n,i){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=r==null?null:r;this.name=i==null?null:i;this[_n]=true;if(n!=null)this.add(n)}Pn.fromStringWithSourceMap=function e(t,r,n){var i=new Pn;var a=t.split(Tn);var s=0;var o=function e(){var t=n();var r=n()||"";return t+r;function n(){return s<a.length?a[s++]:undefined}};var l=1,u=0;var c=null;r.eachMapping((function(e){if(c!==null){if(l<e.generatedLine){f(c,o());l++;u=0}else{var t=a[s]||"";var r=t.substr(0,e.generatedColumn-u);a[s]=t.substr(e.generatedColumn-u);u=e.generatedColumn;f(c,r);c=e;return}}while(l<e.generatedLine){i.add(o());l++}if(u<e.generatedColumn){var t=a[s]||"";i.add(t.substr(0,e.generatedColumn));a[s]=t.substr(e.generatedColumn);u=e.generatedColumn}c=e}),this);if(s<a.length){if(c){f(c,o())}i.add(a.splice(s).join(""))}r.sources.forEach((function(e){var t=r.sourceContentFor(e);if(t!=null){if(n!=null){e=Fr.join(n,e)}i.setSourceContent(e,t)}}));return i;function f(e,t){if(e===null||e.source===undefined){i.add(t)}else{var r=n?Fr.join(n,e.source):e.source;i.add(new Pn(e.originalLine,e.originalColumn,r,t,e.name))}}};Pn.prototype.add=function e(t){if(Array.isArray(t)){t.forEach((function(e){this.add(e)}),this)}else if(t[_n]||typeof t==="string"){if(t){this.children.push(t)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t)}return this};Pn.prototype.prepend=function e(t){if(Array.isArray(t)){for(var r=t.length-1;r>=0;r--){this.prepend(t[r])}}else if(t[_n]||typeof t==="string"){this.children.unshift(t)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t)}return this};Pn.prototype.walk=function e(t){var r;for(var n=0,i=this.children.length;n<i;n++){r=this.children[n];if(r[_n]){r.walk(t)}else{if(r!==""){t(r,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};Pn.prototype.join=function e(t){var r;var n;var i=this.children.length;if(i>0){r=[];for(n=0;n<i-1;n++){r.push(this.children[n]);r.push(t)}r.push(this.children[n]);this.children=r}return this};Pn.prototype.replaceRight=function e(t,r){var n=this.children[this.children.length-1];if(n[_n]){n.replaceRight(t,r)}else if(typeof n==="string"){this.children[this.children.length-1]=n.replace(t,r)}else{this.children.push("".replace(t,r))}return this};Pn.prototype.setSourceContent=function e(t,r){this.sourceContents[Fr.toSetString(t)]=r};Pn.prototype.walkSourceContents=function e(t){for(var r=0,n=this.children.length;r<n;r++){if(this.children[r][_n]){this.children[r].walkSourceContents(t)}}var i=Object.keys(this.sourceContents);for(var r=0,n=i.length;r<n;r++){t(Fr.fromSetString(i[r]),this.sourceContents[i[r]])}};Pn.prototype.toString=function e(){var t="";this.walk((function(e){t+=e}));return t};Pn.prototype.toStringWithSourceMap=function e(t){var r={code:"",line:1,column:0};var n=new An(t);var i=false;var a=null;var s=null;var o=null;var l=null;this.walk((function(e,t){r.code+=e;if(t.source!==null&&t.line!==null&&t.column!==null){if(a!==t.source||s!==t.line||o!==t.column||l!==t.name){n.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:r.line,column:r.column},name:t.name})}a=t.source;s=t.line;o=t.column;l=t.name;i=true}else if(i){n.addMapping({generated:{line:r.line,column:r.column}});a=null;i=false}for(var u=0,c=e.length;u<c;u++){if(e.charCodeAt(u)===kn){r.line++;r.column=0;if(u+1===c){a=null;i=false}else if(i){n.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:r.line,column:r.column},name:t.name})}}else{r.column++}}}));this.walkSourceContents((function(e,t){n.setSourceContent(e,t)}));return{code:r.code,map:n}};var Fn=Pn;var In={SourceNode:Fn};var Mn=sn.SourceMapGenerator;var Nn=wn.SourceMapConsumer;var Ln=In.SourceNode;var Bn={SourceMapGenerator:Mn,SourceMapConsumer:Nn,SourceNode:Ln};var On=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});var i=r(Jt);var a=n(k);var s=a.namedTypes;var o=r(Bn);var l=o.default.SourceMapConsumer;var u=o.default.SourceMapGenerator;var c=Object.prototype.hasOwnProperty;function f(e,t,r){if(e&&c.call(e,t)){return e[t]}return r}t.getOption=f;function h(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r={};var n=e.length;for(var i=0;i<n;++i){var a=Object.keys(e[i]);var s=a.length;for(var o=0;o<s;++o){r[a[o]]=true}}return r}t.getUnionOfKeys=h;function p(e,t){return e.line-t.line||e.column-t.column}t.comparePos=p;function d(e){return{line:e.line,column:e.column}}t.copyPos=d;function m(e,t){if(e){if(!t){return e}}else{return t||null}var r=new l(e);var n=new l(t);var i=new u({file:t.file,sourceRoot:t.sourceRoot});var a={};n.eachMapping((function(e){var t=r.originalPositionFor({line:e.originalLine,column:e.originalColumn});var n=t.source;if(n===null){return}i.addMapping({source:n,original:d(t),generated:{line:e.generatedLine,column:e.generatedColumn},name:e.name});var s=r.sourceContentFor(n);if(s&&!c.call(a,n)){a[n]=s;i.setSourceContent(n,s)}}));return i.toJSON()}t.composeSourceMaps=m;function v(e,t){if(!e.loc){return null}var r={start:e.loc.start,end:e.loc.end};function n(e){g(r,e.loc)}if(e.declaration&&e.declaration.decorators&&b(e)){e.declaration.decorators.forEach(n)}if(p(r.start,r.end)<0){r.start=d(r.start);t.skipSpaces(r.start,false,true);if(p(r.start,r.end)<0){r.end=d(r.end);t.skipSpaces(r.end,true,true)}}if(e.comments){e.comments.forEach(n)}return r}t.getTrueLoc=v;function g(e,t){if(e&&t){if(p(t.start,e.start)<0){e.start=t.start}if(p(e.end,t.end)<0){e.end=t.end}}}function y(e,t){var r=e.loc;if(r){if(r.start.line<1){r.start.line=1}if(r.end.line<1){r.end.line=1}}if(e.type==="File"){r.start=t.firstPos();r.end=t.lastPos()}x(e,t);E(e,t);if(r&&e.decorators){e.decorators.forEach((function(e){g(r,e.loc)}))}else if(e.declaration&&b(e)){e.declaration.loc=null;var n=e.declaration.decorators;if(n){n.forEach((function(e){g(r,e.loc)}))}}else if(s.MethodDefinition&&s.MethodDefinition.check(e)||s.Property.check(e)&&(e.method||e.shorthand)){e.value.loc=null;if(s.FunctionExpression.check(e.value)){e.value.id=null}}else if(e.type==="ObjectTypeProperty"){var r=e.loc;var i=r&&r.end;if(i){i=d(i);if(t.prevPos(i)&&t.charAt(i)===","){if(i=t.skipSpaces(i,true,true)){r.end=i}}}}}t.fixFaultyLocations=y;function x(e,t){if(e.type!=="ForStatement"){return}function r(e){var r=e&&e.loc;var n=r&&r.start;var i=r&&d(r.end);while(n&&i&&p(n,i)<0){t.prevPos(i);if(t.charAt(i)===";"){r.end.line=i.line;r.end.column=i.column}else{break}}}r(e.init);r(e.test);r(e.update)}function E(e,t){if(e.type!=="TemplateLiteral"){return}if(e.quasis.length===0){return}if(e.loc){var r=d(e.loc.start);i.default.strictEqual(t.charAt(r),"`");i.default.ok(t.nextPos(r));var n=e.quasis[0];if(p(n.loc.start,r)<0){n.loc.start=r}var a=d(e.loc.end);i.default.ok(t.prevPos(a));i.default.strictEqual(t.charAt(a),"`");var s=e.quasis[e.quasis.length-1];if(p(a,s.loc.end)<0){s.loc.end=a}}e.expressions.forEach((function(r,n){var a=t.skipSpaces(r.loc.start,true,false);if(t.prevPos(a)&&t.charAt(a)==="{"&&t.prevPos(a)&&t.charAt(a)==="$"){var s=e.quasis[n];if(p(a,s.loc.end)<0){s.loc.end=a}}var o=t.skipSpaces(r.loc.end,false,false);if(t.charAt(o)==="}"){i.default.ok(t.nextPos(o));var l=e.quasis[n+1];if(p(l.loc.start,o)<0){l.loc.start=o}}}))}function b(e){if(e)switch(e.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return true}return false}t.isExportDeclaration=b;function S(e){var t=e.getParentNode();if(e.getName()==="declaration"&&b(t)){return t}return null}t.getParentExportDeclaration=S;function D(e,t){var r=e.trailingComma;if(typeof r==="object"){return!!r[t]}return!!r}t.isTrailingCommaEnabled=D}));n(On);var Rn=On.getOption;var jn=On.getUnionOfKeys;var Un=On.comparePos;var Vn=On.copyPos;var Gn=On.composeSourceMaps;var zn=On.getTrueLoc;var Xn=On.fixFaultyLocations;var Jn=On.isExportDeclaration;var qn=On.getParentExportDeclaration;var Wn=On.isTrailingCommaEnabled;var Hn=i((function(e,t){(function t(r,n){e.exports=n()})(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:false};e[n].call(i.exports,i,i.exports,r);i.loaded=true;return i.exports}r.m=e;r.c=t;r.p="";return r(0)}([function(e,t,r){Object.defineProperty(t,"__esModule",{value:true});var n=r(1);var i=r(3);var a=r(8);var s=r(15);function o(e,t,r){var s=null;var o=function e(t,n){if(r){r(t,n)}if(s){s.visit(t,n)}};var l=typeof r==="function"?o:null;var u=false;if(t){u=typeof t.comment==="boolean"&&t.comment;var c=typeof t.attachComment==="boolean"&&t.attachComment;if(u||c){s=new n.CommentHandler;s.attach=c;t.comment=true;l=o}}var f=false;if(t&&typeof t.sourceType==="string"){f=t.sourceType==="module"}var h;if(t&&typeof t.jsx==="boolean"&&t.jsx){h=new i.JSXParser(e,t,l)}else{h=new a.Parser(e,t,l)}var p=f?h.parseModule():h.parseScript();var d=p;if(u&&s){d.comments=s.comments}if(h.config.tokens){d.tokens=h.tokens}if(h.config.tolerant){d.errors=h.errorHandler.errors}return d}t.parse=o;function l(e,t,r){var n=t||{};n.sourceType="module";return o(e,n,r)}t.parseModule=l;function u(e,t,r){var n=t||{};n.sourceType="script";return o(e,n,r)}t.parseScript=u;function c(e,t,r){var n=new s.Tokenizer(e,t);var i;i=[];try{while(true){var a=n.getNextToken();if(!a){break}if(r){a=r(a)}i.push(a)}}catch(e){n.errorHandler.tolerate(e)}if(n.errorHandler.tolerant){i.errors=n.errors()}return i}t.tokenize=c;var f=r(2);t.Syntax=f.Syntax;t.version="4.0.1"},function(e,t,r){Object.defineProperty(t,"__esModule",{value:true});var n=r(2);var i=function(){function e(){this.attach=false;this.comments=[];this.stack=[];this.leading=[];this.trailing=[]}e.prototype.insertInnerComments=function(e,t){if(e.type===n.Syntax.BlockStatement&&e.body.length===0){var r=[];for(var i=this.leading.length-1;i>=0;--i){var a=this.leading[i];if(t.end.offset>=a.start){r.unshift(a.comment);this.leading.splice(i,1);this.trailing.splice(i,1)}}if(r.length){e.innerComments=r}}};e.prototype.findTrailingComments=function(e){var t=[];if(this.trailing.length>0){for(var r=this.trailing.length-1;r>=0;--r){var n=this.trailing[r];if(n.start>=e.end.offset){t.unshift(n.comment)}}this.trailing.length=0;return t}var i=this.stack[this.stack.length-1];if(i&&i.node.trailingComments){var a=i.node.trailingComments[0];if(a&&a.range[0]>=e.end.offset){t=i.node.trailingComments;delete i.node.trailingComments}}return t};e.prototype.findLeadingComments=function(e){var t=[];var r;while(this.stack.length>0){var n=this.stack[this.stack.length-1];if(n&&n.start>=e.start.offset){r=n.node;this.stack.pop()}else{break}}if(r){var i=r.leadingComments?r.leadingComments.length:0;for(var a=i-1;a>=0;--a){var s=r.leadingComments[a];if(s.range[1]<=e.start.offset){t.unshift(s);r.leadingComments.splice(a,1)}}if(r.leadingComments&&r.leadingComments.length===0){delete r.leadingComments}return t}for(var a=this.leading.length-1;a>=0;--a){var n=this.leading[a];if(n.start<=e.start.offset){t.unshift(n.comment);this.leading.splice(a,1)}}return t};e.prototype.visitNode=function(e,t){if(e.type===n.Syntax.Program&&e.body.length>0){return}this.insertInnerComments(e,t);var r=this.findTrailingComments(t);var i=this.findLeadingComments(t);if(i.length>0){e.leadingComments=i}if(r.length>0){e.trailingComments=r}this.stack.push({node:e,start:t.start.offset})};e.prototype.visitComment=function(e,t){var r=e.type[0]==="L"?"Line":"Block";var n={type:r,value:e.value};if(e.range){n.range=e.range}if(e.loc){n.loc=e.loc}this.comments.push(n);if(this.attach){var i={comment:{type:r,value:e.value,range:[t.start.offset,t.end.offset]},start:t.start.offset};if(e.loc){i.comment.loc=e.loc}e.type=r;this.leading.push(i);this.trailing.push(i)}};e.prototype.visit=function(e,t){if(e.type==="LineComment"){this.visitComment(e,t)}else if(e.type==="BlockComment"){this.visitComment(e,t)}else if(this.attach){this.visitNode(e,t)}};return e}();t.CommentHandler=i},function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(e,t,r){var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(t.hasOwnProperty(r))e[r]=t[r]};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:true});var i=r(4);var a=r(5);var s=r(6);var o=r(7);var l=r(8);var u=r(13);var c=r(14);u.TokenName[100]="JSXIdentifier";u.TokenName[101]="JSXText";function f(e){var t;switch(e.type){case s.JSXSyntax.JSXIdentifier:var r=e;t=r.name;break;case s.JSXSyntax.JSXNamespacedName:var n=e;t=f(n.namespace)+":"+f(n.name);break;case s.JSXSyntax.JSXMemberExpression:var i=e;t=f(i.object)+"."+f(i.property);break}return t}var h=function(e){n(t,e);function t(t,r,n){return e.call(this,t,r,n)||this}t.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():e.prototype.parsePrimaryExpression.call(this)};t.prototype.startJSX=function(){this.scanner.index=this.startMarker.index;this.scanner.lineNumber=this.startMarker.line;this.scanner.lineStart=this.startMarker.index-this.startMarker.column};t.prototype.finishJSX=function(){this.nextToken()};t.prototype.reenterJSX=function(){this.startJSX();this.expectJSX("}");if(this.config.tokens){this.tokens.pop()}};t.prototype.createJSXNode=function(){this.collectComments();return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}};t.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}};t.prototype.scanXHTMLEntity=function(e){var t="&";var r=true;var n=false;var a=false;var s=false;while(!this.scanner.eof()&&r&&!n){var o=this.scanner.source[this.scanner.index];if(o===e){break}n=o===";";t+=o;++this.scanner.index;if(!n){switch(t.length){case 2:a=o==="#";break;case 3:if(a){s=o==="x";r=s||i.Character.isDecimalDigit(o.charCodeAt(0));a=a&&!s}break;default:r=r&&!(a&&!i.Character.isDecimalDigit(o.charCodeAt(0)));r=r&&!(s&&!i.Character.isHexDigit(o.charCodeAt(0)));break}}}if(r&&n&&t.length>2){var l=t.substr(1,t.length-2);if(a&&l.length>1){t=String.fromCharCode(parseInt(l.substr(1),10))}else if(s&&l.length>2){t=String.fromCharCode(parseInt("0"+l.substr(1),16))}else if(!a&&!s&&c.XHTMLEntities[l]){t=c.XHTMLEntities[l]}}return t};t.prototype.lexJSX=function(){var e=this.scanner.source.charCodeAt(this.scanner.index);if(e===60||e===62||e===47||e===58||e===61||e===123||e===125){var t=this.scanner.source[this.scanner.index++];return{type:7,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(e===34||e===39){var r=this.scanner.index;var n=this.scanner.source[this.scanner.index++];var a="";while(!this.scanner.eof()){var s=this.scanner.source[this.scanner.index++];if(s===n){break}else if(s==="&"){a+=this.scanXHTMLEntity(n)}else{a+=s}}return{type:8,value:a,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:r,end:this.scanner.index}}if(e===46){var o=this.scanner.source.charCodeAt(this.scanner.index+1);var l=this.scanner.source.charCodeAt(this.scanner.index+2);var t=o===46&&l===46?"...":".";var r=this.scanner.index;this.scanner.index+=t.length;return{type:7,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:r,end:this.scanner.index}}if(e===96){return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index}}if(i.Character.isIdentifierStart(e)&&e!==92){var r=this.scanner.index;++this.scanner.index;while(!this.scanner.eof()){var s=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(s)&&s!==92){++this.scanner.index}else if(s===45){++this.scanner.index}else{break}}var u=this.scanner.source.slice(r,this.scanner.index);return{type:100,value:u,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:r,end:this.scanner.index}}return this.scanner.lex()};t.prototype.nextJSXToken=function(){this.collectComments();this.startMarker.index=this.scanner.index;this.startMarker.line=this.scanner.lineNumber;this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.lexJSX();this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;if(this.config.tokens){this.tokens.push(this.convertToken(e))}return e};t.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index;this.startMarker.line=this.scanner.lineNumber;this.startMarker.column=this.scanner.index-this.scanner.lineStart;var e=this.scanner.index;var t="";while(!this.scanner.eof()){var r=this.scanner.source[this.scanner.index];if(r==="{"||r==="<"){break}++this.scanner.index;t+=r;if(i.Character.isLineTerminator(r.charCodeAt(0))){++this.scanner.lineNumber;if(r==="\r"&&this.scanner.source[this.scanner.index]==="\n"){++this.scanner.index}this.scanner.lineStart=this.scanner.index}}this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var n={type:101,value:t,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:e,end:this.scanner.index};if(t.length>0&&this.config.tokens){this.tokens.push(this.convertToken(n))}return n};t.prototype.peekJSXToken=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.lexJSX();this.scanner.restoreState(e);return t};t.prototype.expectJSX=function(e){var t=this.nextJSXToken();if(t.type!==7||t.value!==e){this.throwUnexpectedToken(t)}};t.prototype.matchJSX=function(e){var t=this.peekJSXToken();return t.type===7&&t.value===e};t.prototype.parseJSXIdentifier=function(){var e=this.createJSXNode();var t=this.nextJSXToken();if(t.type!==100){this.throwUnexpectedToken(t)}return this.finalize(e,new a.JSXIdentifier(t.value))};t.prototype.parseJSXElementName=function(){var e=this.createJSXNode();var t=this.parseJSXIdentifier();if(this.matchJSX(":")){var r=t;this.expectJSX(":");var n=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXNamespacedName(r,n))}else if(this.matchJSX(".")){while(this.matchJSX(".")){var i=t;this.expectJSX(".");var s=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXMemberExpression(i,s))}}return t};t.prototype.parseJSXAttributeName=function(){var e=this.createJSXNode();var t;var r=this.parseJSXIdentifier();if(this.matchJSX(":")){var n=r;this.expectJSX(":");var i=this.parseJSXIdentifier();t=this.finalize(e,new a.JSXNamespacedName(n,i))}else{t=r}return t};t.prototype.parseJSXStringLiteralAttribute=function(){var e=this.createJSXNode();var t=this.nextJSXToken();if(t.type!==8){this.throwUnexpectedToken(t)}var r=this.getTokenRaw(t);return this.finalize(e,new o.Literal(t.value,r))};t.prototype.parseJSXExpressionAttribute=function(){var e=this.createJSXNode();this.expectJSX("{");this.finishJSX();if(this.match("}")){this.tolerateError("JSX attributes must only be assigned a non-empty expression")}var t=this.parseAssignmentExpression();this.reenterJSX();return this.finalize(e,new a.JSXExpressionContainer(t))};t.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()};t.prototype.parseJSXNameValueAttribute=function(){var e=this.createJSXNode();var t=this.parseJSXAttributeName();var r=null;if(this.matchJSX("=")){this.expectJSX("=");r=this.parseJSXAttributeValue()}return this.finalize(e,new a.JSXAttribute(t,r))};t.prototype.parseJSXSpreadAttribute=function(){var e=this.createJSXNode();this.expectJSX("{");this.expectJSX("...");this.finishJSX();var t=this.parseAssignmentExpression();this.reenterJSX();return this.finalize(e,new a.JSXSpreadAttribute(t))};t.prototype.parseJSXAttributes=function(){var e=[];while(!this.matchJSX("/")&&!this.matchJSX(">")){var t=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();e.push(t)}return e};t.prototype.parseJSXOpeningElement=function(){var e=this.createJSXNode();this.expectJSX("<");var t=this.parseJSXElementName();var r=this.parseJSXAttributes();var n=this.matchJSX("/");if(n){this.expectJSX("/")}this.expectJSX(">");return this.finalize(e,new a.JSXOpeningElement(t,n,r))};t.prototype.parseJSXBoundaryElement=function(){var e=this.createJSXNode();this.expectJSX("<");if(this.matchJSX("/")){this.expectJSX("/");var t=this.parseJSXElementName();this.expectJSX(">");return this.finalize(e,new a.JSXClosingElement(t))}var r=this.parseJSXElementName();var n=this.parseJSXAttributes();var i=this.matchJSX("/");if(i){this.expectJSX("/")}this.expectJSX(">");return this.finalize(e,new a.JSXOpeningElement(r,i,n))};t.prototype.parseJSXEmptyExpression=function(){var e=this.createJSXChildNode();this.collectComments();this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;return this.finalize(e,new a.JSXEmptyExpression)};t.prototype.parseJSXExpressionContainer=function(){var e=this.createJSXNode();this.expectJSX("{");var t;if(this.matchJSX("}")){t=this.parseJSXEmptyExpression();this.expectJSX("}")}else{this.finishJSX();t=this.parseAssignmentExpression();this.reenterJSX()}return this.finalize(e,new a.JSXExpressionContainer(t))};t.prototype.parseJSXChildren=function(){var e=[];while(!this.scanner.eof()){var t=this.createJSXChildNode();var r=this.nextJSXText();if(r.start<r.end){var n=this.getTokenRaw(r);var i=this.finalize(t,new a.JSXText(r.value,n));e.push(i)}if(this.scanner.source[this.scanner.index]==="{"){var s=this.parseJSXExpressionContainer();e.push(s)}else{break}}return e};t.prototype.parseComplexJSXElement=function(e){var t=[];while(!this.scanner.eof()){e.children=e.children.concat(this.parseJSXChildren());var r=this.createJSXChildNode();var n=this.parseJSXBoundaryElement();if(n.type===s.JSXSyntax.JSXOpeningElement){var i=n;if(i.selfClosing){var o=this.finalize(r,new a.JSXElement(i,[],null));e.children.push(o)}else{t.push(e);e={node:r,opening:i,closing:null,children:[]}}}if(n.type===s.JSXSyntax.JSXClosingElement){e.closing=n;var l=f(e.opening.name);var u=f(e.closing.name);if(l!==u){this.tolerateError("Expected corresponding JSX closing tag for %0",l)}if(t.length>0){var o=this.finalize(e.node,new a.JSXElement(e.opening,e.children,e.closing));e=t[t.length-1];e.children.push(o);t.pop()}else{break}}}return e};t.prototype.parseJSXElement=function(){var e=this.createJSXNode();var t=this.parseJSXOpeningElement();var r=[];var n=null;if(!t.selfClosing){var i=this.parseComplexJSXElement({node:e,opening:t,closing:n,children:r});r=i.children;n=i.closing}return this.finalize(e,new a.JSXElement(t,r,n))};t.prototype.parseJSXRoot=function(){if(this.config.tokens){this.tokens.pop()}this.startJSX();var e=this.parseJSXElement();this.finishJSX();return e};t.prototype.isStartOfExpression=function(){return e.prototype.isStartOfExpression.call(this)||this.match("<")};return t}(l.Parser);t.JSXParser=h},function(e,t){Object.defineProperty(t,"__esModule",{value:true});var r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function e(t){return t<65536?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10))+String.fromCharCode(56320+(t-65536&1023))},isWhiteSpace:function e(t){return t===32||t===9||t===11||t===12||t===160||t>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(t)>=0},isLineTerminator:function e(t){return t===10||t===13||t===8232||t===8233},isIdentifierStart:function e(n){return n===36||n===95||n>=65&&n<=90||n>=97&&n<=122||n===92||n>=128&&r.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(n))},isIdentifierPart:function e(n){return n===36||n===95||n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===92||n>=128&&r.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(n))},isDecimalDigit:function e(t){return t>=48&&t<=57},isHexDigit:function e(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102},isOctalDigit:function e(t){return t>=48&&t<=55}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:true});var n=r(6);var i=function(){function e(e){this.type=n.JSXSyntax.JSXClosingElement;this.name=e}return e}();t.JSXClosingElement=i;var a=function(){function e(e,t,r){this.type=n.JSXSyntax.JSXElement;this.openingElement=e;this.children=t;this.closingElement=r}return e}();t.JSXElement=a;var s=function(){function e(){this.type=n.JSXSyntax.JSXEmptyExpression}return e}();t.JSXEmptyExpression=s;var o=function(){function e(e){this.type=n.JSXSyntax.JSXExpressionContainer;this.expression=e}return e}();t.JSXExpressionContainer=o;var l=function(){function e(e){this.type=n.JSXSyntax.JSXIdentifier;this.name=e}return e}();t.JSXIdentifier=l;var u=function(){function e(e,t){this.type=n.JSXSyntax.JSXMemberExpression;this.object=e;this.property=t}return e}();t.JSXMemberExpression=u;var c=function(){function e(e,t){this.type=n.JSXSyntax.JSXAttribute;this.name=e;this.value=t}return e}();t.JSXAttribute=c;var f=function(){function e(e,t){this.type=n.JSXSyntax.JSXNamespacedName;this.namespace=e;this.name=t}return e}();t.JSXNamespacedName=f;var h=function(){function e(e,t,r){this.type=n.JSXSyntax.JSXOpeningElement;this.name=e;this.selfClosing=t;this.attributes=r}return e}();t.JSXOpeningElement=h;var p=function(){function e(e){this.type=n.JSXSyntax.JSXSpreadAttribute;this.argument=e}return e}();t.JSXSpreadAttribute=p;var d=function(){function e(e,t){this.type=n.JSXSyntax.JSXText;this.value=e;this.raw=t}return e}();t.JSXText=d},function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:true});var n=r(2);var i=function(){function e(e){this.type=n.Syntax.ArrayExpression;this.elements=e}return e}();t.ArrayExpression=i;var a=function(){function e(e){this.type=n.Syntax.ArrayPattern;this.elements=e}return e}();t.ArrayPattern=a;var s=function(){function e(e,t,r){this.type=n.Syntax.ArrowFunctionExpression;this.id=null;this.params=e;this.body=t;this.generator=false;this.expression=r;this.async=false}return e}();t.ArrowFunctionExpression=s;var o=function(){function e(e,t,r){this.type=n.Syntax.AssignmentExpression;this.operator=e;this.left=t;this.right=r}return e}();t.AssignmentExpression=o;var l=function(){function e(e,t){this.type=n.Syntax.AssignmentPattern;this.left=e;this.right=t}return e}();t.AssignmentPattern=l;var u=function(){function e(e,t,r){this.type=n.Syntax.ArrowFunctionExpression;this.id=null;this.params=e;this.body=t;this.generator=false;this.expression=r;this.async=true}return e}();t.AsyncArrowFunctionExpression=u;var c=function(){function e(e,t,r){this.type=n.Syntax.FunctionDeclaration;this.id=e;this.params=t;this.body=r;this.generator=false;this.expression=false;this.async=true}return e}();t.AsyncFunctionDeclaration=c;var f=function(){function e(e,t,r){this.type=n.Syntax.FunctionExpression;this.id=e;this.params=t;this.body=r;this.generator=false;this.expression=false;this.async=true}return e}();t.AsyncFunctionExpression=f;var h=function(){function e(e){this.type=n.Syntax.AwaitExpression;this.argument=e}return e}();t.AwaitExpression=h;var p=function(){function e(e,t,r){var i=e==="||"||e==="&&";this.type=i?n.Syntax.LogicalExpression:n.Syntax.BinaryExpression;this.operator=e;this.left=t;this.right=r}return e}();t.BinaryExpression=p;var d=function(){function e(e){this.type=n.Syntax.BlockStatement;this.body=e}return e}();t.BlockStatement=d;var m=function(){function e(e){this.type=n.Syntax.BreakStatement;this.label=e}return e}();t.BreakStatement=m;var v=function(){function e(e,t){this.type=n.Syntax.CallExpression;this.callee=e;this.arguments=t}return e}();t.CallExpression=v;var g=function(){function e(e,t){this.type=n.Syntax.CatchClause;this.param=e;this.body=t}return e}();t.CatchClause=g;var y=function(){function e(e){this.type=n.Syntax.ClassBody;this.body=e}return e}();t.ClassBody=y;var x=function(){function e(e,t,r){this.type=n.Syntax.ClassDeclaration;this.id=e;this.superClass=t;this.body=r}return e}();t.ClassDeclaration=x;var E=function(){function e(e,t,r){this.type=n.Syntax.ClassExpression;this.id=e;this.superClass=t;this.body=r}return e}();t.ClassExpression=E;var b=function(){function e(e,t){this.type=n.Syntax.MemberExpression;this.computed=true;this.object=e;this.property=t}return e}();t.ComputedMemberExpression=b;var S=function(){function e(e,t,r){this.type=n.Syntax.ConditionalExpression;this.test=e;this.consequent=t;this.alternate=r}return e}();t.ConditionalExpression=S;var D=function(){function e(e){this.type=n.Syntax.ContinueStatement;this.label=e}return e}();t.ContinueStatement=D;var C=function(){function e(){this.type=n.Syntax.DebuggerStatement}return e}();t.DebuggerStatement=C;var w=function(){function e(e,t){this.type=n.Syntax.ExpressionStatement;this.expression=e;this.directive=t}return e}();t.Directive=w;var A=function(){function e(e,t){this.type=n.Syntax.DoWhileStatement;this.body=e;this.test=t}return e}();t.DoWhileStatement=A;var T=function(){function e(){this.type=n.Syntax.EmptyStatement}return e}();t.EmptyStatement=T;var k=function(){function e(e){this.type=n.Syntax.ExportAllDeclaration;this.source=e}return e}();t.ExportAllDeclaration=k;var _=function(){function e(e){this.type=n.Syntax.ExportDefaultDeclaration;this.declaration=e}return e}();t.ExportDefaultDeclaration=_;var P=function(){function e(e,t,r){this.type=n.Syntax.ExportNamedDeclaration;this.declaration=e;this.specifiers=t;this.source=r}return e}();t.ExportNamedDeclaration=P;var F=function(){function e(e,t){this.type=n.Syntax.ExportSpecifier;this.exported=t;this.local=e}return e}();t.ExportSpecifier=F;var I=function(){function e(e){this.type=n.Syntax.ExpressionStatement;this.expression=e}return e}();t.ExpressionStatement=I;var M=function(){function e(e,t,r){this.type=n.Syntax.ForInStatement;this.left=e;this.right=t;this.body=r;this.each=false}return e}();t.ForInStatement=M;var N=function(){function e(e,t,r){this.type=n.Syntax.ForOfStatement;this.left=e;this.right=t;this.body=r}return e}();t.ForOfStatement=N;var L=function(){function e(e,t,r,i){this.type=n.Syntax.ForStatement;this.init=e;this.test=t;this.update=r;this.body=i}return e}();t.ForStatement=L;var B=function(){function e(e,t,r,i){this.type=n.Syntax.FunctionDeclaration;this.id=e;this.params=t;this.body=r;this.generator=i;this.expression=false;this.async=false}return e}();t.FunctionDeclaration=B;var O=function(){function e(e,t,r,i){this.type=n.Syntax.FunctionExpression;this.id=e;this.params=t;this.body=r;this.generator=i;this.expression=false;this.async=false}return e}();t.FunctionExpression=O;var R=function(){function e(e){this.type=n.Syntax.Identifier;this.name=e}return e}();t.Identifier=R;var j=function(){function e(e,t,r){this.type=n.Syntax.IfStatement;this.test=e;this.consequent=t;this.alternate=r}return e}();t.IfStatement=j;var U=function(){function e(e,t){this.type=n.Syntax.ImportDeclaration;this.specifiers=e;this.source=t}return e}();t.ImportDeclaration=U;var V=function(){function e(e){this.type=n.Syntax.ImportDefaultSpecifier;this.local=e}return e}();t.ImportDefaultSpecifier=V;var G=function(){function e(e){this.type=n.Syntax.ImportNamespaceSpecifier;this.local=e}return e}();t.ImportNamespaceSpecifier=G;var z=function(){function e(e,t){this.type=n.Syntax.ImportSpecifier;this.local=e;this.imported=t}return e}();t.ImportSpecifier=z;var X=function(){function e(e,t){this.type=n.Syntax.LabeledStatement;this.label=e;this.body=t}return e}();t.LabeledStatement=X;var J=function(){function e(e,t){this.type=n.Syntax.Literal;this.value=e;this.raw=t}return e}();t.Literal=J;var q=function(){function e(e,t){this.type=n.Syntax.MetaProperty;this.meta=e;this.property=t}return e}();t.MetaProperty=q;var W=function(){function e(e,t,r,i,a){this.type=n.Syntax.MethodDefinition;this.key=e;this.computed=t;this.value=r;this.kind=i;this.static=a}return e}();t.MethodDefinition=W;var H=function(){function e(e){this.type=n.Syntax.Program;this.body=e;this.sourceType="module"}return e}();t.Module=H;var K=function(){function e(e,t){this.type=n.Syntax.NewExpression;this.callee=e;this.arguments=t}return e}();t.NewExpression=K;var $=function(){function e(e){this.type=n.Syntax.ObjectExpression;this.properties=e}return e}();t.ObjectExpression=$;var Y=function(){function e(e){this.type=n.Syntax.ObjectPattern;this.properties=e}return e}();t.ObjectPattern=Y;var Q=function(){function e(e,t,r,i,a,s){this.type=n.Syntax.Property;this.key=t;this.computed=r;this.value=i;this.kind=e;this.method=a;this.shorthand=s}return e}();t.Property=Q;var Z=function(){function e(e,t,r,i){this.type=n.Syntax.Literal;this.value=e;this.raw=t;this.regex={pattern:r,flags:i}}return e}();t.RegexLiteral=Z;var ee=function(){function e(e){this.type=n.Syntax.RestElement;this.argument=e}return e}();t.RestElement=ee;var te=function(){function e(e){this.type=n.Syntax.ReturnStatement;this.argument=e}return e}();t.ReturnStatement=te;var re=function(){function e(e){this.type=n.Syntax.Program;this.body=e;this.sourceType="script"}return e}();t.Script=re;var ne=function(){function e(e){this.type=n.Syntax.SequenceExpression;this.expressions=e}return e}();t.SequenceExpression=ne;var ie=function(){function e(e){this.type=n.Syntax.SpreadElement;this.argument=e}return e}();t.SpreadElement=ie;var ae=function(){function e(e,t){this.type=n.Syntax.MemberExpression;this.computed=false;this.object=e;this.property=t}return e}();t.StaticMemberExpression=ae;var se=function(){function e(){this.type=n.Syntax.Super}return e}();t.Super=se;var oe=function(){function e(e,t){this.type=n.Syntax.SwitchCase;this.test=e;this.consequent=t}return e}();t.SwitchCase=oe;var le=function(){function e(e,t){this.type=n.Syntax.SwitchStatement;this.discriminant=e;this.cases=t}return e}();t.SwitchStatement=le;var ue=function(){function e(e,t){this.type=n.Syntax.TaggedTemplateExpression;this.tag=e;this.quasi=t}return e}();t.TaggedTemplateExpression=ue;var ce=function(){function e(e,t){this.type=n.Syntax.TemplateElement;this.value=e;this.tail=t}return e}();t.TemplateElement=ce;var fe=function(){function e(e,t){this.type=n.Syntax.TemplateLiteral;this.quasis=e;this.expressions=t}return e}();t.TemplateLiteral=fe;var he=function(){function e(){this.type=n.Syntax.ThisExpression}return e}();t.ThisExpression=he;var pe=function(){function e(e){this.type=n.Syntax.ThrowStatement;this.argument=e}return e}();t.ThrowStatement=pe;var de=function(){function e(e,t,r){this.type=n.Syntax.TryStatement;this.block=e;this.handler=t;this.finalizer=r}return e}();t.TryStatement=de;var me=function(){function e(e,t){this.type=n.Syntax.UnaryExpression;this.operator=e;this.argument=t;this.prefix=true}return e}();t.UnaryExpression=me;var ve=function(){function e(e,t,r){this.type=n.Syntax.UpdateExpression;this.operator=e;this.argument=t;this.prefix=r}return e}();t.UpdateExpression=ve;var ge=function(){function e(e,t){this.type=n.Syntax.VariableDeclaration;this.declarations=e;this.kind=t}return e}();t.VariableDeclaration=ge;var ye=function(){function e(e,t){this.type=n.Syntax.VariableDeclarator;this.id=e;this.init=t}return e}();t.VariableDeclarator=ye;var xe=function(){function e(e,t){this.type=n.Syntax.WhileStatement;this.test=e;this.body=t}return e}();t.WhileStatement=xe;var Ee=function(){function e(e,t){this.type=n.Syntax.WithStatement;this.object=e;this.body=t}return e}();t.WithStatement=Ee;var be=function(){function e(e,t){this.type=n.Syntax.YieldExpression;this.argument=e;this.delegate=t}return e}();t.YieldExpression=be},function(e,t,r){Object.defineProperty(t,"__esModule",{value:true});var n=r(9);var i=r(10);var a=r(11);var s=r(7);var o=r(12);var l=r(2);var u=r(13);var c="ArrowParameterPlaceHolder";var f=function(){function e(e,t,r){if(t===void 0){t={}}this.config={range:typeof t.range==="boolean"&&t.range,loc:typeof t.loc==="boolean"&&t.loc,source:null,tokens:typeof t.tokens==="boolean"&&t.tokens,comment:typeof t.comment==="boolean"&&t.comment,tolerant:typeof t.tolerant==="boolean"&&t.tolerant};if(this.config.loc&&t.source&&t.source!==null){this.config.source=String(t.source)}this.delegate=r;this.errorHandler=new i.ErrorHandler;this.errorHandler.tolerant=this.config.tolerant;this.scanner=new o.Scanner(e,this.errorHandler);this.scanner.trackComment=this.config.comment;this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11};this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0};this.hasLineTerminator=false;this.context={isModule:false,await:false,allowIn:true,allowStrictDirective:true,allowYield:true,firstCoverInitializedNameError:null,isAssignmentTarget:false,isBindingElement:false,inFunctionBody:false,inIteration:false,inSwitch:false,labelSet:{},strict:false};this.tokens=[];this.startMarker={index:0,line:this.scanner.lineNumber,column:0};this.lastMarker={index:0,line:this.scanner.lineNumber,column:0};this.nextToken();this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}e.prototype.throwError=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}var i=Array.prototype.slice.call(arguments,1);var a=e.replace(/%(\d)/g,(function(e,t){n.assert(t<i.length,"Message reference must be in range");return i[t]}));var s=this.lastMarker.index;var o=this.lastMarker.line;var l=this.lastMarker.column+1;throw this.errorHandler.createError(s,o,l,a)};e.prototype.tolerateError=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}var i=Array.prototype.slice.call(arguments,1);var a=e.replace(/%(\d)/g,(function(e,t){n.assert(t<i.length,"Message reference must be in range");return i[t]}));var s=this.lastMarker.index;var o=this.scanner.lineNumber;var l=this.lastMarker.column+1;this.errorHandler.tolerateError(s,o,l,a)};e.prototype.unexpectedTokenError=function(e,t){var r=t||a.Messages.UnexpectedToken;var n;if(e){if(!t){r=e.type===2?a.Messages.UnexpectedEOS:e.type===3?a.Messages.UnexpectedIdentifier:e.type===6?a.Messages.UnexpectedNumber:e.type===8?a.Messages.UnexpectedString:e.type===10?a.Messages.UnexpectedTemplate:a.Messages.UnexpectedToken;if(e.type===4){if(this.scanner.isFutureReservedWord(e.value)){r=a.Messages.UnexpectedReserved}else if(this.context.strict&&this.scanner.isStrictModeReservedWord(e.value)){r=a.Messages.StrictReservedWord}}}n=e.value}else{n="ILLEGAL"}r=r.replace("%0",n);if(e&&typeof e.lineNumber==="number"){var i=e.start;var s=e.lineNumber;var o=this.lastMarker.index-this.lastMarker.column;var l=e.start-o+1;return this.errorHandler.createError(i,s,l,r)}else{var i=this.lastMarker.index;var s=this.lastMarker.line;var l=this.lastMarker.column+1;return this.errorHandler.createError(i,s,l,r)}};e.prototype.throwUnexpectedToken=function(e,t){throw this.unexpectedTokenError(e,t)};e.prototype.tolerateUnexpectedToken=function(e,t){this.errorHandler.tolerate(this.unexpectedTokenError(e,t))};e.prototype.collectComments=function(){if(!this.config.comment){this.scanner.scanComments()}else{var e=this.scanner.scanComments();if(e.length>0&&this.delegate){for(var t=0;t<e.length;++t){var r=e[t];var n=void 0;n={type:r.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(r.slice[0],r.slice[1])};if(this.config.range){n.range=r.range}if(this.config.loc){n.loc=r.loc}var i={start:{line:r.loc.start.line,column:r.loc.start.column,offset:r.range[0]},end:{line:r.loc.end.line,column:r.loc.end.column,offset:r.range[1]}};this.delegate(n,i)}}}};e.prototype.getTokenRaw=function(e){return this.scanner.source.slice(e.start,e.end)};e.prototype.convertToken=function(e){var t={type:u.TokenName[e.type],value:this.getTokenRaw(e)};if(this.config.range){t.range=[e.start,e.end]}if(this.config.loc){t.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}}if(e.type===9){var r=e.pattern;var n=e.flags;t.regex={pattern:r,flags:n}}return t};e.prototype.nextToken=function(){var e=this.lookahead;this.lastMarker.index=this.scanner.index;this.lastMarker.line=this.scanner.lineNumber;this.lastMarker.column=this.scanner.index-this.scanner.lineStart;this.collectComments();if(this.scanner.index!==this.startMarker.index){this.startMarker.index=this.scanner.index;this.startMarker.line=this.scanner.lineNumber;this.startMarker.column=this.scanner.index-this.scanner.lineStart}var t=this.scanner.lex();this.hasLineTerminator=e.lineNumber!==t.lineNumber;if(t&&this.context.strict&&t.type===3){if(this.scanner.isStrictModeReservedWord(t.value)){t.type=4}}this.lookahead=t;if(this.config.tokens&&t.type!==2){this.tokens.push(this.convertToken(t))}return e};e.prototype.nextRegexToken=function(){this.collectComments();var e=this.scanner.scanRegExp();if(this.config.tokens){this.tokens.pop();this.tokens.push(this.convertToken(e))}this.lookahead=e;this.nextToken();return e};e.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}};e.prototype.startNode=function(e,t){if(t===void 0){t=0}var r=e.start-e.lineStart;var n=e.lineNumber;if(r<0){r+=t;n--}return{index:e.start,line:n,column:r}};e.prototype.finalize=function(e,t){if(this.config.range){t.range=[e.index,this.lastMarker.index]}if(this.config.loc){t.loc={start:{line:e.line,column:e.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}};if(this.config.source){t.loc.source=this.config.source}}if(this.delegate){var r={start:{line:e.line,column:e.column,offset:e.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(t,r)}return t};e.prototype.expect=function(e){var t=this.nextToken();if(t.type!==7||t.value!==e){this.throwUnexpectedToken(t)}};e.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var e=this.lookahead;if(e.type===7&&e.value===","){this.nextToken()}else if(e.type===7&&e.value===";"){this.nextToken();this.tolerateUnexpectedToken(e)}else{this.tolerateUnexpectedToken(e,a.Messages.UnexpectedToken)}}else{this.expect(",")}};e.prototype.expectKeyword=function(e){var t=this.nextToken();if(t.type!==4||t.value!==e){this.throwUnexpectedToken(t)}};e.prototype.match=function(e){return this.lookahead.type===7&&this.lookahead.value===e};e.prototype.matchKeyword=function(e){return this.lookahead.type===4&&this.lookahead.value===e};e.prototype.matchContextualKeyword=function(e){return this.lookahead.type===3&&this.lookahead.value===e};e.prototype.matchAssign=function(){if(this.lookahead.type!==7){return false}var e=this.lookahead.value;return e==="="||e==="*="||e==="**="||e==="/="||e==="%="||e==="+="||e==="-="||e==="<<="||e===">>="||e===">>>="||e==="&="||e==="^="||e==="|="};e.prototype.isolateCoverGrammar=function(e){var t=this.context.isBindingElement;var r=this.context.isAssignmentTarget;var n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=true;this.context.isAssignmentTarget=true;this.context.firstCoverInitializedNameError=null;var i=e.call(this);if(this.context.firstCoverInitializedNameError!==null){this.throwUnexpectedToken(this.context.firstCoverInitializedNameError)}this.context.isBindingElement=t;this.context.isAssignmentTarget=r;this.context.firstCoverInitializedNameError=n;return i};e.prototype.inheritCoverGrammar=function(e){var t=this.context.isBindingElement;var r=this.context.isAssignmentTarget;var n=this.context.firstCoverInitializedNameError;this.context.isBindingElement=true;this.context.isAssignmentTarget=true;this.context.firstCoverInitializedNameError=null;var i=e.call(this);this.context.isBindingElement=this.context.isBindingElement&&t;this.context.isAssignmentTarget=this.context.isAssignmentTarget&&r;this.context.firstCoverInitializedNameError=n||this.context.firstCoverInitializedNameError;return i};e.prototype.consumeSemicolon=function(){if(this.match(";")){this.nextToken()}else if(!this.hasLineTerminator){if(this.lookahead.type!==2&&!this.match("}")){this.throwUnexpectedToken(this.lookahead)}this.lastMarker.index=this.startMarker.index;this.lastMarker.line=this.startMarker.line;this.lastMarker.column=this.startMarker.column}};e.prototype.parsePrimaryExpression=function(){var e=this.createNode();var t;var r,n;switch(this.lookahead.type){case 3:if((this.context.isModule||this.context.await)&&this.lookahead.value==="await"){this.tolerateUnexpectedToken(this.lookahead)}t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(e,new s.Identifier(this.nextToken().value));break;case 6:case 8:if(this.context.strict&&this.lookahead.octal){this.tolerateUnexpectedToken(this.lookahead,a.Messages.StrictOctalLiteral)}this.context.isAssignmentTarget=false;this.context.isBindingElement=false;r=this.nextToken();n=this.getTokenRaw(r);t=this.finalize(e,new s.Literal(r.value,n));break;case 1:this.context.isAssignmentTarget=false;this.context.isBindingElement=false;r=this.nextToken();n=this.getTokenRaw(r);t=this.finalize(e,new s.Literal(r.value==="true",n));break;case 5:this.context.isAssignmentTarget=false;this.context.isBindingElement=false;r=this.nextToken();n=this.getTokenRaw(r);t=this.finalize(e,new s.Literal(null,n));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=false;t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=false;this.context.isBindingElement=false;this.scanner.index=this.startMarker.index;r=this.nextRegexToken();n=this.getTokenRaw(r);t=this.finalize(e,new s.RegexLiteral(r.regex,n,r.pattern,r.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:if(!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")){t=this.parseIdentifierName()}else if(!this.context.strict&&this.matchKeyword("let")){t=this.finalize(e,new s.Identifier(this.nextToken().value))}else{this.context.isAssignmentTarget=false;this.context.isBindingElement=false;if(this.matchKeyword("function")){t=this.parseFunctionExpression()}else if(this.matchKeyword("this")){this.nextToken();t=this.finalize(e,new s.ThisExpression)}else if(this.matchKeyword("class")){t=this.parseClassExpression()}else{t=this.throwUnexpectedToken(this.nextToken())}}break;default:t=this.throwUnexpectedToken(this.nextToken())}return t};e.prototype.parseSpreadElement=function(){var e=this.createNode();this.expect("...");var t=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(e,new s.SpreadElement(t))};e.prototype.parseArrayInitializer=function(){var e=this.createNode();var t=[];this.expect("[");while(!this.match("]")){if(this.match(",")){this.nextToken();t.push(null)}else if(this.match("...")){var r=this.parseSpreadElement();if(!this.match("]")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;this.expect(",")}t.push(r)}else{t.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(!this.match("]")){this.expect(",")}}}this.expect("]");return this.finalize(e,new s.ArrayExpression(t))};e.prototype.parsePropertyMethod=function(e){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var t=this.context.strict;var r=this.context.allowStrictDirective;this.context.allowStrictDirective=e.simple;var n=this.isolateCoverGrammar(this.parseFunctionSourceElements);if(this.context.strict&&e.firstRestricted){this.tolerateUnexpectedToken(e.firstRestricted,e.message)}if(this.context.strict&&e.stricted){this.tolerateUnexpectedToken(e.stricted,e.message)}this.context.strict=t;this.context.allowStrictDirective=r;return n};e.prototype.parsePropertyMethodFunction=function(){var e=false;var t=this.createNode();var r=this.context.allowYield;this.context.allowYield=true;var n=this.parseFormalParameters();var i=this.parsePropertyMethod(n);this.context.allowYield=r;return this.finalize(t,new s.FunctionExpression(null,n.params,i,e))};e.prototype.parsePropertyMethodAsyncFunction=function(){var e=this.createNode();var t=this.context.allowYield;var r=this.context.await;this.context.allowYield=false;this.context.await=true;var n=this.parseFormalParameters();var i=this.parsePropertyMethod(n);this.context.allowYield=t;this.context.await=r;return this.finalize(e,new s.AsyncFunctionExpression(null,n.params,i))};e.prototype.parseObjectPropertyKey=function(){var e=this.createNode();var t=this.nextToken();var r;switch(t.type){case 8:case 6:if(this.context.strict&&t.octal){this.tolerateUnexpectedToken(t,a.Messages.StrictOctalLiteral)}var n=this.getTokenRaw(t);r=this.finalize(e,new s.Literal(t.value,n));break;case 3:case 1:case 5:case 4:r=this.finalize(e,new s.Identifier(t.value));break;case 7:if(t.value==="["){r=this.isolateCoverGrammar(this.parseAssignmentExpression);this.expect("]")}else{r=this.throwUnexpectedToken(t)}break;default:r=this.throwUnexpectedToken(t)}return r};e.prototype.isPropertyKey=function(e,t){return e.type===l.Syntax.Identifier&&e.name===t||e.type===l.Syntax.Literal&&e.value===t};e.prototype.parseObjectProperty=function(e){var t=this.createNode();var r=this.lookahead;var n;var i=null;var o=null;var l=false;var u=false;var c=false;var f=false;if(r.type===3){var h=r.value;this.nextToken();l=this.match("[");f=!this.hasLineTerminator&&h==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(",");i=f?this.parseObjectPropertyKey():this.finalize(t,new s.Identifier(h))}else if(this.match("*")){this.nextToken()}else{l=this.match("[");i=this.parseObjectPropertyKey()}var p=this.qualifiedPropertyName(this.lookahead);if(r.type===3&&!f&&r.value==="get"&&p){n="get";l=this.match("[");i=this.parseObjectPropertyKey();this.context.allowYield=false;o=this.parseGetterMethod()}else if(r.type===3&&!f&&r.value==="set"&&p){n="set";l=this.match("[");i=this.parseObjectPropertyKey();o=this.parseSetterMethod()}else if(r.type===7&&r.value==="*"&&p){n="init";l=this.match("[");i=this.parseObjectPropertyKey();o=this.parseGeneratorMethod();u=true}else{if(!i){this.throwUnexpectedToken(this.lookahead)}n="init";if(this.match(":")&&!f){if(!l&&this.isPropertyKey(i,"__proto__")){if(e.value){this.tolerateError(a.Messages.DuplicateProtoProperty)}e.value=true}this.nextToken();o=this.inheritCoverGrammar(this.parseAssignmentExpression)}else if(this.match("(")){o=f?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction();u=true}else if(r.type===3){var h=this.finalize(t,new s.Identifier(r.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead;this.nextToken();c=true;var d=this.isolateCoverGrammar(this.parseAssignmentExpression);o=this.finalize(t,new s.AssignmentPattern(h,d))}else{c=true;o=h}}else{this.throwUnexpectedToken(this.nextToken())}}return this.finalize(t,new s.Property(n,i,l,o,u,c))};e.prototype.parseObjectInitializer=function(){var e=this.createNode();this.expect("{");var t=[];var r={value:false};while(!this.match("}")){t.push(this.parseObjectProperty(r));if(!this.match("}")){this.expectCommaSeparator()}}this.expect("}");return this.finalize(e,new s.ObjectExpression(t))};e.prototype.parseTemplateHead=function(){n.assert(this.lookahead.head,"Template literal must start with a template head");var e=this.createNode();var t=this.nextToken();var r=t.value;var i=t.cooked;return this.finalize(e,new s.TemplateElement({raw:r,cooked:i},t.tail))};e.prototype.parseTemplateElement=function(){if(this.lookahead.type!==10){this.throwUnexpectedToken()}var e=this.createNode();var t=this.nextToken();var r=t.value;var n=t.cooked;return this.finalize(e,new s.TemplateElement({raw:r,cooked:n},t.tail))};e.prototype.parseTemplateLiteral=function(){var e=this.createNode();var t=[];var r=[];var n=this.parseTemplateHead();r.push(n);while(!n.tail){t.push(this.parseExpression());n=this.parseTemplateElement();r.push(n)}return this.finalize(e,new s.TemplateLiteral(r,t))};e.prototype.reinterpretExpressionAsPattern=function(e){switch(e.type){case l.Syntax.Identifier:case l.Syntax.MemberExpression:case l.Syntax.RestElement:case l.Syntax.AssignmentPattern:break;case l.Syntax.SpreadElement:e.type=l.Syntax.RestElement;this.reinterpretExpressionAsPattern(e.argument);break;case l.Syntax.ArrayExpression:e.type=l.Syntax.ArrayPattern;for(var t=0;t<e.elements.length;t++){if(e.elements[t]!==null){this.reinterpretExpressionAsPattern(e.elements[t])}}break;case l.Syntax.ObjectExpression:e.type=l.Syntax.ObjectPattern;for(var t=0;t<e.properties.length;t++){this.reinterpretExpressionAsPattern(e.properties[t].value)}break;case l.Syntax.AssignmentExpression:e.type=l.Syntax.AssignmentPattern;delete e.operator;this.reinterpretExpressionAsPattern(e.left);break}};e.prototype.parseGroupExpression=function(){var e;this.expect("(");if(this.match(")")){this.nextToken();if(!this.match("=>")){this.expect("=>")}e={type:c,params:[],async:false}}else{var t=this.lookahead;var r=[];if(this.match("...")){e=this.parseRestElement(r);this.expect(")");if(!this.match("=>")){this.expect("=>")}e={type:c,params:[e],async:false}}else{var n=false;this.context.isBindingElement=true;e=this.inheritCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];this.context.isAssignmentTarget=false;i.push(e);while(this.lookahead.type!==2){if(!this.match(",")){break}this.nextToken();if(this.match(")")){this.nextToken();for(var a=0;a<i.length;a++){this.reinterpretExpressionAsPattern(i[a])}n=true;e={type:c,params:i,async:false}}else if(this.match("...")){if(!this.context.isBindingElement){this.throwUnexpectedToken(this.lookahead)}i.push(this.parseRestElement(r));this.expect(")");if(!this.match("=>")){this.expect("=>")}this.context.isBindingElement=false;for(var a=0;a<i.length;a++){this.reinterpretExpressionAsPattern(i[a])}n=true;e={type:c,params:i,async:false}}else{i.push(this.inheritCoverGrammar(this.parseAssignmentExpression))}if(n){break}}if(!n){e=this.finalize(this.startNode(t),new s.SequenceExpression(i))}}if(!n){this.expect(")");if(this.match("=>")){if(e.type===l.Syntax.Identifier&&e.name==="yield"){n=true;e={type:c,params:[e],async:false}}if(!n){if(!this.context.isBindingElement){this.throwUnexpectedToken(this.lookahead)}if(e.type===l.Syntax.SequenceExpression){for(var a=0;a<e.expressions.length;a++){this.reinterpretExpressionAsPattern(e.expressions[a])}}else{this.reinterpretExpressionAsPattern(e)}var o=e.type===l.Syntax.SequenceExpression?e.expressions:[e];e={type:c,params:o,async:false}}}this.context.isBindingElement=false}}}return e};e.prototype.parseArguments=function(){this.expect("(");var e=[];if(!this.match(")")){while(true){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);e.push(t);if(this.match(")")){break}this.expectCommaSeparator();if(this.match(")")){break}}}this.expect(")");return e};e.prototype.isIdentifierName=function(e){return e.type===3||e.type===4||e.type===1||e.type===5};e.prototype.parseIdentifierName=function(){var e=this.createNode();var t=this.nextToken();if(!this.isIdentifierName(t)){this.throwUnexpectedToken(t)}return this.finalize(e,new s.Identifier(t.value))};e.prototype.parseNewExpression=function(){var e=this.createNode();var t=this.parseIdentifierName();n.assert(t.name==="new","New expression must start with `new`");var r;if(this.match(".")){this.nextToken();if(this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var i=this.parseIdentifierName();r=new s.MetaProperty(t,i)}else{this.throwUnexpectedToken(this.lookahead)}}else{var a=this.isolateCoverGrammar(this.parseLeftHandSideExpression);var o=this.match("(")?this.parseArguments():[];r=new s.NewExpression(a,o);this.context.isAssignmentTarget=false;this.context.isBindingElement=false}return this.finalize(e,r)};e.prototype.parseAsyncArgument=function(){var e=this.parseAssignmentExpression();this.context.firstCoverInitializedNameError=null;return e};e.prototype.parseAsyncArguments=function(){this.expect("(");var e=[];if(!this.match(")")){while(true){var t=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);e.push(t);if(this.match(")")){break}this.expectCommaSeparator();if(this.match(")")){break}}}this.expect(")");return e};e.prototype.parseLeftHandSideExpressionAllowCall=function(){var e=this.lookahead;var t=this.matchContextualKeyword("async");var r=this.context.allowIn;this.context.allowIn=true;var n;if(this.matchKeyword("super")&&this.context.inFunctionBody){n=this.createNode();this.nextToken();n=this.finalize(n,new s.Super);if(!this.match("(")&&!this.match(".")&&!this.match("[")){this.throwUnexpectedToken(this.lookahead)}}else{n=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression)}while(true){if(this.match(".")){this.context.isBindingElement=false;this.context.isAssignmentTarget=true;this.expect(".");var i=this.parseIdentifierName();n=this.finalize(this.startNode(e),new s.StaticMemberExpression(n,i))}else if(this.match("(")){var a=t&&e.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=false;this.context.isAssignmentTarget=false;var o=a?this.parseAsyncArguments():this.parseArguments();n=this.finalize(this.startNode(e),new s.CallExpression(n,o));if(a&&this.match("=>")){for(var l=0;l<o.length;++l){this.reinterpretExpressionAsPattern(o[l])}n={type:c,params:o,async:true}}}else if(this.match("[")){this.context.isBindingElement=false;this.context.isAssignmentTarget=true;this.expect("[");var i=this.isolateCoverGrammar(this.parseExpression);this.expect("]");n=this.finalize(this.startNode(e),new s.ComputedMemberExpression(n,i))}else if(this.lookahead.type===10&&this.lookahead.head){var u=this.parseTemplateLiteral();n=this.finalize(this.startNode(e),new s.TaggedTemplateExpression(n,u))}else{break}}this.context.allowIn=r;return n};e.prototype.parseSuper=function(){var e=this.createNode();this.expectKeyword("super");if(!this.match("[")&&!this.match(".")){this.throwUnexpectedToken(this.lookahead)}return this.finalize(e,new s.Super)};e.prototype.parseLeftHandSideExpression=function(){n.assert(this.context.allowIn,"callee of new expression always allow in keyword.");var e=this.startNode(this.lookahead);var t=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);while(true){if(this.match("[")){this.context.isBindingElement=false;this.context.isAssignmentTarget=true;this.expect("[");var r=this.isolateCoverGrammar(this.parseExpression);this.expect("]");t=this.finalize(e,new s.ComputedMemberExpression(t,r))}else if(this.match(".")){this.context.isBindingElement=false;this.context.isAssignmentTarget=true;this.expect(".");var r=this.parseIdentifierName();t=this.finalize(e,new s.StaticMemberExpression(t,r))}else if(this.lookahead.type===10&&this.lookahead.head){var i=this.parseTemplateLiteral();t=this.finalize(e,new s.TaggedTemplateExpression(t,i))}else{break}}return t};e.prototype.parseUpdateExpression=function(){var e;var t=this.lookahead;if(this.match("++")||this.match("--")){var r=this.startNode(t);var n=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression);if(this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)){this.tolerateError(a.Messages.StrictLHSPrefix)}if(!this.context.isAssignmentTarget){this.tolerateError(a.Messages.InvalidLHSInAssignment)}var i=true;e=this.finalize(r,new s.UpdateExpression(n.value,e,i));this.context.isAssignmentTarget=false;this.context.isBindingElement=false}else{e=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall);if(!this.hasLineTerminator&&this.lookahead.type===7){if(this.match("++")||this.match("--")){if(this.context.strict&&e.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(e.name)){this.tolerateError(a.Messages.StrictLHSPostfix)}if(!this.context.isAssignmentTarget){this.tolerateError(a.Messages.InvalidLHSInAssignment)}this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var o=this.nextToken().value;var i=false;e=this.finalize(this.startNode(t),new s.UpdateExpression(o,e,i))}}}return e};e.prototype.parseAwaitExpression=function(){var e=this.createNode();this.nextToken();var t=this.parseUnaryExpression();return this.finalize(e,new s.AwaitExpression(t))};e.prototype.parseUnaryExpression=function(){var e;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var t=this.startNode(this.lookahead);var r=this.nextToken();e=this.inheritCoverGrammar(this.parseUnaryExpression);e=this.finalize(t,new s.UnaryExpression(r.value,e));if(this.context.strict&&e.operator==="delete"&&e.argument.type===l.Syntax.Identifier){this.tolerateError(a.Messages.StrictDelete)}this.context.isAssignmentTarget=false;this.context.isBindingElement=false}else if(this.context.await&&this.matchContextualKeyword("await")){e=this.parseAwaitExpression()}else{e=this.parseUpdateExpression()}return e};e.prototype.parseExponentiationExpression=function(){var e=this.lookahead;var t=this.inheritCoverGrammar(this.parseUnaryExpression);if(t.type!==l.Syntax.UnaryExpression&&this.match("**")){this.nextToken();this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var r=t;var n=this.isolateCoverGrammar(this.parseExponentiationExpression);t=this.finalize(this.startNode(e),new s.BinaryExpression("**",r,n))}return t};e.prototype.binaryPrecedence=function(e){var t=e.value;var r;if(e.type===7){r=this.operatorPrecedence[t]||0}else if(e.type===4){r=t==="instanceof"||this.context.allowIn&&t==="in"?7:0}else{r=0}return r};e.prototype.parseBinaryExpression=function(){var e=this.lookahead;var t=this.inheritCoverGrammar(this.parseExponentiationExpression);var r=this.lookahead;var n=this.binaryPrecedence(r);if(n>0){this.nextToken();this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var i=[e,this.lookahead];var a=t;var o=this.isolateCoverGrammar(this.parseExponentiationExpression);var l=[a,r.value,o];var u=[n];while(true){n=this.binaryPrecedence(this.lookahead);if(n<=0){break}while(l.length>2&&n<=u[u.length-1]){o=l.pop();var c=l.pop();u.pop();a=l.pop();i.pop();var f=this.startNode(i[i.length-1]);l.push(this.finalize(f,new s.BinaryExpression(c,a,o)))}l.push(this.nextToken().value);u.push(n);i.push(this.lookahead);l.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var h=l.length-1;t=l[h];var p=i.pop();while(h>1){var d=i.pop();var m=p&&p.lineStart;var f=this.startNode(d,m);var c=l[h-1];t=this.finalize(f,new s.BinaryExpression(c,l[h-2],t));h-=2;p=d}}return t};e.prototype.parseConditionalExpression=function(){var e=this.lookahead;var t=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var r=this.context.allowIn;this.context.allowIn=true;var n=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=r;this.expect(":");var i=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(e),new s.ConditionalExpression(t,n,i));this.context.isAssignmentTarget=false;this.context.isBindingElement=false}return t};e.prototype.checkPatternParam=function(e,t){switch(t.type){case l.Syntax.Identifier:this.validateParam(e,t,t.name);break;case l.Syntax.RestElement:this.checkPatternParam(e,t.argument);break;case l.Syntax.AssignmentPattern:this.checkPatternParam(e,t.left);break;case l.Syntax.ArrayPattern:for(var r=0;r<t.elements.length;r++){if(t.elements[r]!==null){this.checkPatternParam(e,t.elements[r])}}break;case l.Syntax.ObjectPattern:for(var r=0;r<t.properties.length;r++){this.checkPatternParam(e,t.properties[r].value)}break}e.simple=e.simple&&t instanceof s.Identifier};e.prototype.reinterpretAsCoverFormalsList=function(e){var t=[e];var r;var n=false;switch(e.type){case l.Syntax.Identifier:break;case c:t=e.params;n=e.async;break;default:return null}r={simple:true,paramSet:{}};for(var i=0;i<t.length;++i){var s=t[i];if(s.type===l.Syntax.AssignmentPattern){if(s.right.type===l.Syntax.YieldExpression){if(s.right.argument){this.throwUnexpectedToken(this.lookahead)}s.right.type=l.Syntax.Identifier;s.right.name="yield";delete s.right.argument;delete s.right.delegate}}else if(n&&s.type===l.Syntax.Identifier&&s.name==="await"){this.throwUnexpectedToken(this.lookahead)}this.checkPatternParam(r,s);t[i]=s}if(this.context.strict||!this.context.allowYield){for(var i=0;i<t.length;++i){var s=t[i];if(s.type===l.Syntax.YieldExpression){this.throwUnexpectedToken(this.lookahead)}}}if(r.message===a.Messages.StrictParamDupe){var o=this.context.strict?r.stricted:r.firstRestricted;this.throwUnexpectedToken(o,r.message)}return{simple:r.simple,params:t,stricted:r.stricted,firstRestricted:r.firstRestricted,message:r.message}};e.prototype.parseAssignmentExpression=function(){var e;if(!this.context.allowYield&&this.matchKeyword("yield")){e=this.parseYieldExpression()}else{var t=this.lookahead;var r=t;e=this.parseConditionalExpression();if(r.type===3&&r.lineNumber===this.lookahead.lineNumber&&r.value==="async"){if(this.lookahead.type===3||this.matchKeyword("yield")){var n=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(n);e={type:c,params:[n],async:true}}}if(e.type===c||this.match("=>")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false;var i=e.async;var o=this.reinterpretAsCoverFormalsList(e);if(o){if(this.hasLineTerminator){this.tolerateUnexpectedToken(this.lookahead)}this.context.firstCoverInitializedNameError=null;var u=this.context.strict;var f=this.context.allowStrictDirective;this.context.allowStrictDirective=o.simple;var h=this.context.allowYield;var p=this.context.await;this.context.allowYield=true;this.context.await=i;var d=this.startNode(t);this.expect("=>");var m=void 0;if(this.match("{")){var v=this.context.allowIn;this.context.allowIn=true;m=this.parseFunctionSourceElements();this.context.allowIn=v}else{m=this.isolateCoverGrammar(this.parseAssignmentExpression)}var g=m.type!==l.Syntax.BlockStatement;if(this.context.strict&&o.firstRestricted){this.throwUnexpectedToken(o.firstRestricted,o.message)}if(this.context.strict&&o.stricted){this.tolerateUnexpectedToken(o.stricted,o.message)}e=i?this.finalize(d,new s.AsyncArrowFunctionExpression(o.params,m,g)):this.finalize(d,new s.ArrowFunctionExpression(o.params,m,g));this.context.strict=u;this.context.allowStrictDirective=f;this.context.allowYield=h;this.context.await=p}}else{if(this.matchAssign()){if(!this.context.isAssignmentTarget){this.tolerateError(a.Messages.InvalidLHSInAssignment)}if(this.context.strict&&e.type===l.Syntax.Identifier){var y=e;if(this.scanner.isRestrictedWord(y.name)){this.tolerateUnexpectedToken(r,a.Messages.StrictLHSAssignment)}if(this.scanner.isStrictModeReservedWord(y.name)){this.tolerateUnexpectedToken(r,a.Messages.StrictReservedWord)}}if(!this.match("=")){this.context.isAssignmentTarget=false;this.context.isBindingElement=false}else{this.reinterpretExpressionAsPattern(e)}r=this.nextToken();var x=r.value;var E=this.isolateCoverGrammar(this.parseAssignmentExpression);e=this.finalize(this.startNode(t),new s.AssignmentExpression(x,e,E));this.context.firstCoverInitializedNameError=null}}}return e};e.prototype.parseExpression=function(){var e=this.lookahead;var t=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var r=[];r.push(t);while(this.lookahead.type!==2){if(!this.match(",")){break}this.nextToken();r.push(this.isolateCoverGrammar(this.parseAssignmentExpression))}t=this.finalize(this.startNode(e),new s.SequenceExpression(r))}return t};e.prototype.parseStatementListItem=function(){var e;this.context.isAssignmentTarget=true;this.context.isBindingElement=true;if(this.lookahead.type===4){switch(this.lookahead.value){case"export":if(!this.context.isModule){this.tolerateUnexpectedToken(this.lookahead,a.Messages.IllegalExportDeclaration)}e=this.parseExportDeclaration();break;case"import":if(!this.context.isModule){this.tolerateUnexpectedToken(this.lookahead,a.Messages.IllegalImportDeclaration)}e=this.parseImportDeclaration();break;case"const":e=this.parseLexicalDeclaration({inFor:false});break;case"function":e=this.parseFunctionDeclaration();break;case"class":e=this.parseClassDeclaration();break;case"let":e=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:false}):this.parseStatement();break;default:e=this.parseStatement();break}}else{e=this.parseStatement()}return e};e.prototype.parseBlock=function(){var e=this.createNode();this.expect("{");var t=[];while(true){if(this.match("}")){break}t.push(this.parseStatementListItem())}this.expect("}");return this.finalize(e,new s.BlockStatement(t))};e.prototype.parseLexicalBinding=function(e,t){var r=this.createNode();var n=[];var i=this.parsePattern(n,e);if(this.context.strict&&i.type===l.Syntax.Identifier){if(this.scanner.isRestrictedWord(i.name)){this.tolerateError(a.Messages.StrictVarName)}}var o=null;if(e==="const"){if(!this.matchKeyword("in")&&!this.matchContextualKeyword("of")){if(this.match("=")){this.nextToken();o=this.isolateCoverGrammar(this.parseAssignmentExpression)}else{this.throwError(a.Messages.DeclarationMissingInitializer,"const")}}}else if(!t.inFor&&i.type!==l.Syntax.Identifier||this.match("=")){this.expect("=");o=this.isolateCoverGrammar(this.parseAssignmentExpression)}return this.finalize(r,new s.VariableDeclarator(i,o))};e.prototype.parseBindingList=function(e,t){var r=[this.parseLexicalBinding(e,t)];while(this.match(",")){this.nextToken();r.push(this.parseLexicalBinding(e,t))}return r};e.prototype.isLexicalDeclaration=function(){var e=this.scanner.saveState();this.scanner.scanComments();var t=this.scanner.lex();this.scanner.restoreState(e);return t.type===3||t.type===7&&t.value==="["||t.type===7&&t.value==="{"||t.type===4&&t.value==="let"||t.type===4&&t.value==="yield"};e.prototype.parseLexicalDeclaration=function(e){var t=this.createNode();var r=this.nextToken().value;n.assert(r==="let"||r==="const","Lexical declaration must be either let or const");var i=this.parseBindingList(r,e);this.consumeSemicolon();return this.finalize(t,new s.VariableDeclaration(i,r))};e.prototype.parseBindingRestElement=function(e,t){var r=this.createNode();this.expect("...");var n=this.parsePattern(e,t);return this.finalize(r,new s.RestElement(n))};e.prototype.parseArrayPattern=function(e,t){var r=this.createNode();this.expect("[");var n=[];while(!this.match("]")){if(this.match(",")){this.nextToken();n.push(null)}else{if(this.match("...")){n.push(this.parseBindingRestElement(e,t));break}else{n.push(this.parsePatternWithDefault(e,t))}if(!this.match("]")){this.expect(",")}}}this.expect("]");return this.finalize(r,new s.ArrayPattern(n))};e.prototype.parsePropertyPattern=function(e,t){var r=this.createNode();var n=false;var i=false;var a=false;var o;var l;if(this.lookahead.type===3){var u=this.lookahead;o=this.parseVariableIdentifier();var c=this.finalize(r,new s.Identifier(u.value));if(this.match("=")){e.push(u);i=true;this.nextToken();var f=this.parseAssignmentExpression();l=this.finalize(this.startNode(u),new s.AssignmentPattern(c,f))}else if(!this.match(":")){e.push(u);i=true;l=c}else{this.expect(":");l=this.parsePatternWithDefault(e,t)}}else{n=this.match("[");o=this.parseObjectPropertyKey();this.expect(":");l=this.parsePatternWithDefault(e,t)}return this.finalize(r,new s.Property("init",o,n,l,a,i))};e.prototype.parseObjectPattern=function(e,t){var r=this.createNode();var n=[];this.expect("{");while(!this.match("}")){n.push(this.parsePropertyPattern(e,t));if(!this.match("}")){this.expect(",")}}this.expect("}");return this.finalize(r,new s.ObjectPattern(n))};e.prototype.parsePattern=function(e,t){var r;if(this.match("[")){r=this.parseArrayPattern(e,t)}else if(this.match("{")){r=this.parseObjectPattern(e,t)}else{if(this.matchKeyword("let")&&(t==="const"||t==="let")){this.tolerateUnexpectedToken(this.lookahead,a.Messages.LetInLexicalBinding)}e.push(this.lookahead);r=this.parseVariableIdentifier(t)}return r};e.prototype.parsePatternWithDefault=function(e,t){var r=this.lookahead;var n=this.parsePattern(e,t);if(this.match("=")){this.nextToken();var i=this.context.allowYield;this.context.allowYield=true;var a=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=i;n=this.finalize(this.startNode(r),new s.AssignmentPattern(n,a))}return n};e.prototype.parseVariableIdentifier=function(e){var t=this.createNode();var r=this.nextToken();if(r.type===4&&r.value==="yield"){if(this.context.strict){this.tolerateUnexpectedToken(r,a.Messages.StrictReservedWord)}else if(!this.context.allowYield){this.throwUnexpectedToken(r)}}else if(r.type!==3){if(this.context.strict&&r.type===4&&this.scanner.isStrictModeReservedWord(r.value)){this.tolerateUnexpectedToken(r,a.Messages.StrictReservedWord)}else{if(this.context.strict||r.value!=="let"||e!=="var"){this.throwUnexpectedToken(r)}}}else if((this.context.isModule||this.context.await)&&r.type===3&&r.value==="await"){this.tolerateUnexpectedToken(r)}return this.finalize(t,new s.Identifier(r.value))};e.prototype.parseVariableDeclaration=function(e){var t=this.createNode();var r=[];var n=this.parsePattern(r,"var");if(this.context.strict&&n.type===l.Syntax.Identifier){if(this.scanner.isRestrictedWord(n.name)){this.tolerateError(a.Messages.StrictVarName)}}var i=null;if(this.match("=")){this.nextToken();i=this.isolateCoverGrammar(this.parseAssignmentExpression)}else if(n.type!==l.Syntax.Identifier&&!e.inFor){this.expect("=")}return this.finalize(t,new s.VariableDeclarator(n,i))};e.prototype.parseVariableDeclarationList=function(e){var t={inFor:e.inFor};var r=[];r.push(this.parseVariableDeclaration(t));while(this.match(",")){this.nextToken();r.push(this.parseVariableDeclaration(t))}return r};e.prototype.parseVariableStatement=function(){var e=this.createNode();this.expectKeyword("var");var t=this.parseVariableDeclarationList({inFor:false});this.consumeSemicolon();return this.finalize(e,new s.VariableDeclaration(t,"var"))};e.prototype.parseEmptyStatement=function(){var e=this.createNode();this.expect(";");return this.finalize(e,new s.EmptyStatement)};e.prototype.parseExpressionStatement=function(){var e=this.createNode();var t=this.parseExpression();this.consumeSemicolon();return this.finalize(e,new s.ExpressionStatement(t))};e.prototype.parseIfClause=function(){if(this.context.strict&&this.matchKeyword("function")){this.tolerateError(a.Messages.StrictFunction)}return this.parseStatement()};e.prototype.parseIfStatement=function(){var e=this.createNode();var t;var r=null;this.expectKeyword("if");this.expect("(");var n=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());t=this.finalize(this.createNode(),new s.EmptyStatement)}else{this.expect(")");t=this.parseIfClause();if(this.matchKeyword("else")){this.nextToken();r=this.parseIfClause()}}return this.finalize(e,new s.IfStatement(n,t,r))};e.prototype.parseDoWhileStatement=function(){var e=this.createNode();this.expectKeyword("do");var t=this.context.inIteration;this.context.inIteration=true;var r=this.parseStatement();this.context.inIteration=t;this.expectKeyword("while");this.expect("(");var n=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken())}else{this.expect(")");if(this.match(";")){this.nextToken()}}return this.finalize(e,new s.DoWhileStatement(r,n))};e.prototype.parseWhileStatement=function(){var e=this.createNode();var t;this.expectKeyword("while");this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());t=this.finalize(this.createNode(),new s.EmptyStatement)}else{this.expect(")");var n=this.context.inIteration;this.context.inIteration=true;t=this.parseStatement();this.context.inIteration=n}return this.finalize(e,new s.WhileStatement(r,t))};e.prototype.parseForStatement=function(){var e=null;var t=null;var r=null;var n=true;var i,o;var u=this.createNode();this.expectKeyword("for");this.expect("(");if(this.match(";")){this.nextToken()}else{if(this.matchKeyword("var")){e=this.createNode();this.nextToken();var c=this.context.allowIn;this.context.allowIn=false;var f=this.parseVariableDeclarationList({inFor:true});this.context.allowIn=c;if(f.length===1&&this.matchKeyword("in")){var h=f[0];if(h.init&&(h.id.type===l.Syntax.ArrayPattern||h.id.type===l.Syntax.ObjectPattern||this.context.strict)){this.tolerateError(a.Messages.ForInOfLoopInitializer,"for-in")}e=this.finalize(e,new s.VariableDeclaration(f,"var"));this.nextToken();i=e;o=this.parseExpression();e=null}else if(f.length===1&&f[0].init===null&&this.matchContextualKeyword("of")){e=this.finalize(e,new s.VariableDeclaration(f,"var"));this.nextToken();i=e;o=this.parseAssignmentExpression();e=null;n=false}else{e=this.finalize(e,new s.VariableDeclaration(f,"var"));this.expect(";")}}else if(this.matchKeyword("const")||this.matchKeyword("let")){e=this.createNode();var p=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in"){e=this.finalize(e,new s.Identifier(p));this.nextToken();i=e;o=this.parseExpression();e=null}else{var c=this.context.allowIn;this.context.allowIn=false;var f=this.parseBindingList(p,{inFor:true});this.context.allowIn=c;if(f.length===1&&f[0].init===null&&this.matchKeyword("in")){e=this.finalize(e,new s.VariableDeclaration(f,p));this.nextToken();i=e;o=this.parseExpression();e=null}else if(f.length===1&&f[0].init===null&&this.matchContextualKeyword("of")){e=this.finalize(e,new s.VariableDeclaration(f,p));this.nextToken();i=e;o=this.parseAssignmentExpression();e=null;n=false}else{this.consumeSemicolon();e=this.finalize(e,new s.VariableDeclaration(f,p))}}}else{var d=this.lookahead;var c=this.context.allowIn;this.context.allowIn=false;e=this.inheritCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=c;if(this.matchKeyword("in")){if(!this.context.isAssignmentTarget||e.type===l.Syntax.AssignmentExpression){this.tolerateError(a.Messages.InvalidLHSInForIn)}this.nextToken();this.reinterpretExpressionAsPattern(e);i=e;o=this.parseExpression();e=null}else if(this.matchContextualKeyword("of")){if(!this.context.isAssignmentTarget||e.type===l.Syntax.AssignmentExpression){this.tolerateError(a.Messages.InvalidLHSInForLoop)}this.nextToken();this.reinterpretExpressionAsPattern(e);i=e;o=this.parseAssignmentExpression();e=null;n=false}else{if(this.match(",")){var m=[e];while(this.match(",")){this.nextToken();m.push(this.isolateCoverGrammar(this.parseAssignmentExpression))}e=this.finalize(this.startNode(d),new s.SequenceExpression(m))}this.expect(";")}}}if(typeof i==="undefined"){if(!this.match(";")){t=this.parseExpression()}this.expect(";");if(!this.match(")")){r=this.parseExpression()}}var v;if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());v=this.finalize(this.createNode(),new s.EmptyStatement)}else{this.expect(")");var g=this.context.inIteration;this.context.inIteration=true;v=this.isolateCoverGrammar(this.parseStatement);this.context.inIteration=g}return typeof i==="undefined"?this.finalize(u,new s.ForStatement(e,t,r,v)):n?this.finalize(u,new s.ForInStatement(i,o,v)):this.finalize(u,new s.ForOfStatement(i,o,v))};e.prototype.parseContinueStatement=function(){var e=this.createNode();this.expectKeyword("continue");var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var r=this.parseVariableIdentifier();t=r;var n="$"+r.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,n)){this.throwError(a.Messages.UnknownLabel,r.name)}}this.consumeSemicolon();if(t===null&&!this.context.inIteration){this.throwError(a.Messages.IllegalContinue)}return this.finalize(e,new s.ContinueStatement(t))};e.prototype.parseBreakStatement=function(){var e=this.createNode();this.expectKeyword("break");var t=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var r=this.parseVariableIdentifier();var n="$"+r.name;if(!Object.prototype.hasOwnProperty.call(this.context.labelSet,n)){this.throwError(a.Messages.UnknownLabel,r.name)}t=r}this.consumeSemicolon();if(t===null&&!this.context.inIteration&&!this.context.inSwitch){this.throwError(a.Messages.IllegalBreak)}return this.finalize(e,new s.BreakStatement(t))};e.prototype.parseReturnStatement=function(){if(!this.context.inFunctionBody){this.tolerateError(a.Messages.IllegalReturn)}var e=this.createNode();this.expectKeyword("return");var t=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10;var r=t?this.parseExpression():null;this.consumeSemicolon();return this.finalize(e,new s.ReturnStatement(r))};e.prototype.parseWithStatement=function(){if(this.context.strict){this.tolerateError(a.Messages.StrictModeWith)}var e=this.createNode();var t;this.expectKeyword("with");this.expect("(");var r=this.parseExpression();if(!this.match(")")&&this.config.tolerant){this.tolerateUnexpectedToken(this.nextToken());t=this.finalize(this.createNode(),new s.EmptyStatement)}else{this.expect(")");t=this.parseStatement()}return this.finalize(e,new s.WithStatement(r,t))};e.prototype.parseSwitchCase=function(){var e=this.createNode();var t;if(this.matchKeyword("default")){this.nextToken();t=null}else{this.expectKeyword("case");t=this.parseExpression()}this.expect(":");var r=[];while(true){if(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case")){break}r.push(this.parseStatementListItem())}return this.finalize(e,new s.SwitchCase(t,r))};e.prototype.parseSwitchStatement=function(){var e=this.createNode();this.expectKeyword("switch");this.expect("(");var t=this.parseExpression();this.expect(")");var r=this.context.inSwitch;this.context.inSwitch=true;var n=[];var i=false;this.expect("{");while(true){if(this.match("}")){break}var o=this.parseSwitchCase();if(o.test===null){if(i){this.throwError(a.Messages.MultipleDefaultsInSwitch)}i=true}n.push(o)}this.expect("}");this.context.inSwitch=r;return this.finalize(e,new s.SwitchStatement(t,n))};e.prototype.parseLabelledStatement=function(){var e=this.createNode();var t=this.parseExpression();var r;if(t.type===l.Syntax.Identifier&&this.match(":")){this.nextToken();var n=t;var i="$"+n.name;if(Object.prototype.hasOwnProperty.call(this.context.labelSet,i)){this.throwError(a.Messages.Redeclaration,"Label",n.name)}this.context.labelSet[i]=true;var o=void 0;if(this.matchKeyword("class")){this.tolerateUnexpectedToken(this.lookahead);o=this.parseClassDeclaration()}else if(this.matchKeyword("function")){var u=this.lookahead;var c=this.parseFunctionDeclaration();if(this.context.strict){this.tolerateUnexpectedToken(u,a.Messages.StrictFunction)}else if(c.generator){this.tolerateUnexpectedToken(u,a.Messages.GeneratorInLegacyContext)}o=c}else{o=this.parseStatement()}delete this.context.labelSet[i];r=new s.LabeledStatement(n,o)}else{this.consumeSemicolon();r=new s.ExpressionStatement(t)}return this.finalize(e,r)};e.prototype.parseThrowStatement=function(){var e=this.createNode();this.expectKeyword("throw");if(this.hasLineTerminator){this.throwError(a.Messages.NewlineAfterThrow)}var t=this.parseExpression();this.consumeSemicolon();return this.finalize(e,new s.ThrowStatement(t))};e.prototype.parseCatchClause=function(){var e=this.createNode();this.expectKeyword("catch");this.expect("(");if(this.match(")")){this.throwUnexpectedToken(this.lookahead)}var t=[];var r=this.parsePattern(t);var n={};for(var i=0;i<t.length;i++){var o="$"+t[i].value;if(Object.prototype.hasOwnProperty.call(n,o)){this.tolerateError(a.Messages.DuplicateBinding,t[i].value)}n[o]=true}if(this.context.strict&&r.type===l.Syntax.Identifier){if(this.scanner.isRestrictedWord(r.name)){this.tolerateError(a.Messages.StrictCatchVariable)}}this.expect(")");var u=this.parseBlock();return this.finalize(e,new s.CatchClause(r,u))};e.prototype.parseFinallyClause=function(){this.expectKeyword("finally");return this.parseBlock()};e.prototype.parseTryStatement=function(){var e=this.createNode();this.expectKeyword("try");var t=this.parseBlock();var r=this.matchKeyword("catch")?this.parseCatchClause():null;var n=this.matchKeyword("finally")?this.parseFinallyClause():null;if(!r&&!n){this.throwError(a.Messages.NoCatchOrFinally)}return this.finalize(e,new s.TryStatement(t,r,n))};e.prototype.parseDebuggerStatement=function(){var e=this.createNode();this.expectKeyword("debugger");this.consumeSemicolon();return this.finalize(e,new s.DebuggerStatement)};e.prototype.parseStatement=function(){var e;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:e=this.parseExpressionStatement();break;case 7:var t=this.lookahead.value;if(t==="{"){e=this.parseBlock()}else if(t==="("){e=this.parseExpressionStatement()}else if(t===";"){e=this.parseEmptyStatement()}else{e=this.parseExpressionStatement()}break;case 3:e=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":e=this.parseBreakStatement();break;case"continue":e=this.parseContinueStatement();break;case"debugger":e=this.parseDebuggerStatement();break;case"do":e=this.parseDoWhileStatement();break;case"for":e=this.parseForStatement();break;case"function":e=this.parseFunctionDeclaration();break;case"if":e=this.parseIfStatement();break;case"return":e=this.parseReturnStatement();break;case"switch":e=this.parseSwitchStatement();break;case"throw":e=this.parseThrowStatement();break;case"try":e=this.parseTryStatement();break;case"var":e=this.parseVariableStatement();break;case"while":e=this.parseWhileStatement();break;case"with":e=this.parseWithStatement();break;default:e=this.parseExpressionStatement();break}break;default:e=this.throwUnexpectedToken(this.lookahead)}return e};e.prototype.parseFunctionSourceElements=function(){var e=this.createNode();this.expect("{");var t=this.parseDirectivePrologues();var r=this.context.labelSet;var n=this.context.inIteration;var i=this.context.inSwitch;var a=this.context.inFunctionBody;this.context.labelSet={};this.context.inIteration=false;this.context.inSwitch=false;this.context.inFunctionBody=true;while(this.lookahead.type!==2){if(this.match("}")){break}t.push(this.parseStatementListItem())}this.expect("}");this.context.labelSet=r;this.context.inIteration=n;this.context.inSwitch=i;this.context.inFunctionBody=a;return this.finalize(e,new s.BlockStatement(t))};e.prototype.validateParam=function(e,t,r){var n="$"+r;if(this.context.strict){if(this.scanner.isRestrictedWord(r)){e.stricted=t;e.message=a.Messages.StrictParamName}if(Object.prototype.hasOwnProperty.call(e.paramSet,n)){e.stricted=t;e.message=a.Messages.StrictParamDupe}}else if(!e.firstRestricted){if(this.scanner.isRestrictedWord(r)){e.firstRestricted=t;e.message=a.Messages.StrictParamName}else if(this.scanner.isStrictModeReservedWord(r)){e.firstRestricted=t;e.message=a.Messages.StrictReservedWord}else if(Object.prototype.hasOwnProperty.call(e.paramSet,n)){e.stricted=t;e.message=a.Messages.StrictParamDupe}}if(typeof Object.defineProperty==="function"){Object.defineProperty(e.paramSet,n,{value:true,enumerable:true,writable:true,configurable:true})}else{e.paramSet[n]=true}};e.prototype.parseRestElement=function(e){var t=this.createNode();this.expect("...");var r=this.parsePattern(e);if(this.match("=")){this.throwError(a.Messages.DefaultRestParameter)}if(!this.match(")")){this.throwError(a.Messages.ParameterAfterRestParameter)}return this.finalize(t,new s.RestElement(r))};e.prototype.parseFormalParameter=function(e){var t=[];var r=this.match("...")?this.parseRestElement(t):this.parsePatternWithDefault(t);for(var n=0;n<t.length;n++){this.validateParam(e,t[n],t[n].value)}e.simple=e.simple&&r instanceof s.Identifier;e.params.push(r)};e.prototype.parseFormalParameters=function(e){var t;t={simple:true,params:[],firstRestricted:e};this.expect("(");if(!this.match(")")){t.paramSet={};while(this.lookahead.type!==2){this.parseFormalParameter(t);if(this.match(")")){break}this.expect(",");if(this.match(")")){break}}}this.expect(")");return{simple:t.simple,params:t.params,stricted:t.stricted,firstRestricted:t.firstRestricted,message:t.message}};e.prototype.matchAsyncFunction=function(){var e=this.matchContextualKeyword("async");if(e){var t=this.scanner.saveState();this.scanner.scanComments();var r=this.scanner.lex();this.scanner.restoreState(t);e=t.lineNumber===r.lineNumber&&r.type===4&&r.value==="function"}return e};e.prototype.parseFunctionDeclaration=function(e){var t=this.createNode();var r=this.matchContextualKeyword("async");if(r){this.nextToken()}this.expectKeyword("function");var n=r?false:this.match("*");if(n){this.nextToken()}var i;var o=null;var l=null;if(!e||!this.match("(")){var u=this.lookahead;o=this.parseVariableIdentifier();if(this.context.strict){if(this.scanner.isRestrictedWord(u.value)){this.tolerateUnexpectedToken(u,a.Messages.StrictFunctionName)}}else{if(this.scanner.isRestrictedWord(u.value)){l=u;i=a.Messages.StrictFunctionName}else if(this.scanner.isStrictModeReservedWord(u.value)){l=u;i=a.Messages.StrictReservedWord}}}var c=this.context.await;var f=this.context.allowYield;this.context.await=r;this.context.allowYield=!n;var h=this.parseFormalParameters(l);var p=h.params;var d=h.stricted;l=h.firstRestricted;if(h.message){i=h.message}var m=this.context.strict;var v=this.context.allowStrictDirective;this.context.allowStrictDirective=h.simple;var g=this.parseFunctionSourceElements();if(this.context.strict&&l){this.throwUnexpectedToken(l,i)}if(this.context.strict&&d){this.tolerateUnexpectedToken(d,i)}this.context.strict=m;this.context.allowStrictDirective=v;this.context.await=c;this.context.allowYield=f;return r?this.finalize(t,new s.AsyncFunctionDeclaration(o,p,g)):this.finalize(t,new s.FunctionDeclaration(o,p,g,n))};e.prototype.parseFunctionExpression=function(){var e=this.createNode();var t=this.matchContextualKeyword("async");if(t){this.nextToken()}this.expectKeyword("function");var r=t?false:this.match("*");if(r){this.nextToken()}var n;var i=null;var o;var l=this.context.await;var u=this.context.allowYield;this.context.await=t;this.context.allowYield=!r;if(!this.match("(")){var c=this.lookahead;i=!this.context.strict&&!r&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier();if(this.context.strict){if(this.scanner.isRestrictedWord(c.value)){this.tolerateUnexpectedToken(c,a.Messages.StrictFunctionName)}}else{if(this.scanner.isRestrictedWord(c.value)){o=c;n=a.Messages.StrictFunctionName}else if(this.scanner.isStrictModeReservedWord(c.value)){o=c;n=a.Messages.StrictReservedWord}}}var f=this.parseFormalParameters(o);var h=f.params;var p=f.stricted;o=f.firstRestricted;if(f.message){n=f.message}var d=this.context.strict;var m=this.context.allowStrictDirective;this.context.allowStrictDirective=f.simple;var v=this.parseFunctionSourceElements();if(this.context.strict&&o){this.throwUnexpectedToken(o,n)}if(this.context.strict&&p){this.tolerateUnexpectedToken(p,n)}this.context.strict=d;this.context.allowStrictDirective=m;this.context.await=l;this.context.allowYield=u;return t?this.finalize(e,new s.AsyncFunctionExpression(i,h,v)):this.finalize(e,new s.FunctionExpression(i,h,v,r))};e.prototype.parseDirective=function(){var e=this.lookahead;var t=this.createNode();var r=this.parseExpression();var n=r.type===l.Syntax.Literal?this.getTokenRaw(e).slice(1,-1):null;this.consumeSemicolon();return this.finalize(t,n?new s.Directive(r,n):new s.ExpressionStatement(r))};e.prototype.parseDirectivePrologues=function(){var e=null;var t=[];while(true){var r=this.lookahead;if(r.type!==8){break}var n=this.parseDirective();t.push(n);var i=n.directive;if(typeof i!=="string"){break}if(i==="use strict"){this.context.strict=true;if(e){this.tolerateUnexpectedToken(e,a.Messages.StrictOctalLiteral)}if(!this.context.allowStrictDirective){this.tolerateUnexpectedToken(r,a.Messages.IllegalLanguageModeDirective)}}else{if(!e&&r.octal){e=r}}}return t};e.prototype.qualifiedPropertyName=function(e){switch(e.type){case 3:case 8:case 1:case 5:case 6:case 4:return true;case 7:return e.value==="["}return false};e.prototype.parseGetterMethod=function(){var e=this.createNode();var t=false;var r=this.context.allowYield;this.context.allowYield=!t;var n=this.parseFormalParameters();if(n.params.length>0){this.tolerateError(a.Messages.BadGetterArity)}var i=this.parsePropertyMethod(n);this.context.allowYield=r;return this.finalize(e,new s.FunctionExpression(null,n.params,i,t))};e.prototype.parseSetterMethod=function(){var e=this.createNode();var t=false;var r=this.context.allowYield;this.context.allowYield=!t;var n=this.parseFormalParameters();if(n.params.length!==1){this.tolerateError(a.Messages.BadSetterArity)}else if(n.params[0]instanceof s.RestElement){this.tolerateError(a.Messages.BadSetterRestParameter)}var i=this.parsePropertyMethod(n);this.context.allowYield=r;return this.finalize(e,new s.FunctionExpression(null,n.params,i,t))};e.prototype.parseGeneratorMethod=function(){var e=this.createNode();var t=true;var r=this.context.allowYield;this.context.allowYield=true;var n=this.parseFormalParameters();this.context.allowYield=false;var i=this.parsePropertyMethod(n);this.context.allowYield=r;return this.finalize(e,new s.FunctionExpression(null,n.params,i,t))};e.prototype.isStartOfExpression=function(){var e=true;var t=this.lookahead.value;switch(this.lookahead.type){case 7:e=t==="["||t==="("||t==="{"||t==="+"||t==="-"||t==="!"||t==="~"||t==="++"||t==="--"||t==="/"||t==="/=";break;case 4:e=t==="class"||t==="delete"||t==="function"||t==="let"||t==="new"||t==="super"||t==="this"||t==="typeof"||t==="void"||t==="yield";break}return e};e.prototype.parseYieldExpression=function(){var e=this.createNode();this.expectKeyword("yield");var t=null;var r=false;if(!this.hasLineTerminator){var n=this.context.allowYield;this.context.allowYield=false;r=this.match("*");if(r){this.nextToken();t=this.parseAssignmentExpression()}else if(this.isStartOfExpression()){t=this.parseAssignmentExpression()}this.context.allowYield=n}return this.finalize(e,new s.YieldExpression(t,r))};e.prototype.parseClassElement=function(e){var t=this.lookahead;var r=this.createNode();var n="";var i=null;var o=null;var l=false;var u=false;var c=false;var f=false;if(this.match("*")){this.nextToken()}else{l=this.match("[");i=this.parseObjectPropertyKey();var h=i;if(h.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))){t=this.lookahead;c=true;l=this.match("[");if(this.match("*")){this.nextToken()}else{i=this.parseObjectPropertyKey()}}if(t.type===3&&!this.hasLineTerminator&&t.value==="async"){var p=this.lookahead.value;if(p!==":"&&p!=="("&&p!=="*"){f=true;t=this.lookahead;i=this.parseObjectPropertyKey();if(t.type===3&&t.value==="constructor"){this.tolerateUnexpectedToken(t,a.Messages.ConstructorIsAsync)}}}}var d=this.qualifiedPropertyName(this.lookahead);if(t.type===3){if(t.value==="get"&&d){n="get";l=this.match("[");i=this.parseObjectPropertyKey();this.context.allowYield=false;o=this.parseGetterMethod()}else if(t.value==="set"&&d){n="set";l=this.match("[");i=this.parseObjectPropertyKey();o=this.parseSetterMethod()}}else if(t.type===7&&t.value==="*"&&d){n="init";l=this.match("[");i=this.parseObjectPropertyKey();o=this.parseGeneratorMethod();u=true}if(!n&&i&&this.match("(")){n="init";o=f?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction();u=true}if(!n){this.throwUnexpectedToken(this.lookahead)}if(n==="init"){n="method"}if(!l){if(c&&this.isPropertyKey(i,"prototype")){this.throwUnexpectedToken(t,a.Messages.StaticPrototype)}if(!c&&this.isPropertyKey(i,"constructor")){if(n!=="method"||!u||o&&o.generator){this.throwUnexpectedToken(t,a.Messages.ConstructorSpecialMethod)}if(e.value){this.throwUnexpectedToken(t,a.Messages.DuplicateConstructor)}else{e.value=true}n="constructor"}}return this.finalize(r,new s.MethodDefinition(i,l,o,n,c))};e.prototype.parseClassElementList=function(){var e=[];var t={value:false};this.expect("{");while(!this.match("}")){if(this.match(";")){this.nextToken()}else{e.push(this.parseClassElement(t))}}this.expect("}");return e};e.prototype.parseClassBody=function(){var e=this.createNode();var t=this.parseClassElementList();return this.finalize(e,new s.ClassBody(t))};e.prototype.parseClassDeclaration=function(e){var t=this.createNode();var r=this.context.strict;this.context.strict=true;this.expectKeyword("class");var n=e&&this.lookahead.type!==3?null:this.parseVariableIdentifier();var i=null;if(this.matchKeyword("extends")){this.nextToken();i=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)}var a=this.parseClassBody();this.context.strict=r;return this.finalize(t,new s.ClassDeclaration(n,i,a))};e.prototype.parseClassExpression=function(){var e=this.createNode();var t=this.context.strict;this.context.strict=true;this.expectKeyword("class");var r=this.lookahead.type===3?this.parseVariableIdentifier():null;var n=null;if(this.matchKeyword("extends")){this.nextToken();n=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall)}var i=this.parseClassBody();this.context.strict=t;return this.finalize(e,new s.ClassExpression(r,n,i))};e.prototype.parseModule=function(){this.context.strict=true;this.context.isModule=true;this.scanner.isModule=true;var e=this.createNode();var t=this.parseDirectivePrologues();while(this.lookahead.type!==2){t.push(this.parseStatementListItem())}return this.finalize(e,new s.Module(t))};e.prototype.parseScript=function(){var e=this.createNode();var t=this.parseDirectivePrologues();while(this.lookahead.type!==2){t.push(this.parseStatementListItem())}return this.finalize(e,new s.Script(t))};e.prototype.parseModuleSpecifier=function(){var e=this.createNode();if(this.lookahead.type!==8){this.throwError(a.Messages.InvalidModuleSpecifier)}var t=this.nextToken();var r=this.getTokenRaw(t);return this.finalize(e,new s.Literal(t.value,r))};e.prototype.parseImportSpecifier=function(){var e=this.createNode();var t;var r;if(this.lookahead.type===3){t=this.parseVariableIdentifier();r=t;if(this.matchContextualKeyword("as")){this.nextToken();r=this.parseVariableIdentifier()}}else{t=this.parseIdentifierName();r=t;if(this.matchContextualKeyword("as")){this.nextToken();r=this.parseVariableIdentifier()}else{this.throwUnexpectedToken(this.nextToken())}}return this.finalize(e,new s.ImportSpecifier(r,t))};e.prototype.parseNamedImports=function(){this.expect("{");var e=[];while(!this.match("}")){e.push(this.parseImportSpecifier());if(!this.match("}")){this.expect(",")}}this.expect("}");return e};e.prototype.parseImportDefaultSpecifier=function(){var e=this.createNode();var t=this.parseIdentifierName();return this.finalize(e,new s.ImportDefaultSpecifier(t))};e.prototype.parseImportNamespaceSpecifier=function(){var e=this.createNode();this.expect("*");if(!this.matchContextualKeyword("as")){this.throwError(a.Messages.NoAsAfterImportNamespace)}this.nextToken();var t=this.parseIdentifierName();return this.finalize(e,new s.ImportNamespaceSpecifier(t))};e.prototype.parseImportDeclaration=function(){if(this.context.inFunctionBody){this.throwError(a.Messages.IllegalImportDeclaration)}var e=this.createNode();this.expectKeyword("import");var t;var r=[];if(this.lookahead.type===8){t=this.parseModuleSpecifier()}else{if(this.match("{")){r=r.concat(this.parseNamedImports())}else if(this.match("*")){r.push(this.parseImportNamespaceSpecifier())}else if(this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")){r.push(this.parseImportDefaultSpecifier());if(this.match(",")){this.nextToken();if(this.match("*")){r.push(this.parseImportNamespaceSpecifier())}else if(this.match("{")){r=r.concat(this.parseNamedImports())}else{this.throwUnexpectedToken(this.lookahead)}}}else{this.throwUnexpectedToken(this.nextToken())}if(!this.matchContextualKeyword("from")){var n=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken();t=this.parseModuleSpecifier()}this.consumeSemicolon();return this.finalize(e,new s.ImportDeclaration(r,t))};e.prototype.parseExportSpecifier=function(){var e=this.createNode();var t=this.parseIdentifierName();var r=t;if(this.matchContextualKeyword("as")){this.nextToken();r=this.parseIdentifierName()}return this.finalize(e,new s.ExportSpecifier(t,r))};e.prototype.parseExportDeclaration=function(){if(this.context.inFunctionBody){this.throwError(a.Messages.IllegalExportDeclaration)}var e=this.createNode();this.expectKeyword("export");var t;if(this.matchKeyword("default")){this.nextToken();if(this.matchKeyword("function")){var r=this.parseFunctionDeclaration(true);t=this.finalize(e,new s.ExportDefaultDeclaration(r))}else if(this.matchKeyword("class")){var r=this.parseClassDeclaration(true);t=this.finalize(e,new s.ExportDefaultDeclaration(r))}else if(this.matchContextualKeyword("async")){var r=this.matchAsyncFunction()?this.parseFunctionDeclaration(true):this.parseAssignmentExpression();t=this.finalize(e,new s.ExportDefaultDeclaration(r))}else{if(this.matchContextualKeyword("from")){this.throwError(a.Messages.UnexpectedToken,this.lookahead.value)}var r=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon();t=this.finalize(e,new s.ExportDefaultDeclaration(r))}}else if(this.match("*")){this.nextToken();if(!this.matchContextualKeyword("from")){var n=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}this.nextToken();var i=this.parseModuleSpecifier();this.consumeSemicolon();t=this.finalize(e,new s.ExportAllDeclaration(i))}else if(this.lookahead.type===4){var r=void 0;switch(this.lookahead.value){case"let":case"const":r=this.parseLexicalDeclaration({inFor:false});break;case"var":case"class":case"function":r=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(e,new s.ExportNamedDeclaration(r,[],null))}else if(this.matchAsyncFunction()){var r=this.parseFunctionDeclaration();t=this.finalize(e,new s.ExportNamedDeclaration(r,[],null))}else{var o=[];var l=null;var u=false;this.expect("{");while(!this.match("}")){u=u||this.matchKeyword("default");o.push(this.parseExportSpecifier());if(!this.match("}")){this.expect(",")}}this.expect("}");if(this.matchContextualKeyword("from")){this.nextToken();l=this.parseModuleSpecifier();this.consumeSemicolon()}else if(u){var n=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(n,this.lookahead.value)}else{this.consumeSemicolon()}t=this.finalize(e,new s.ExportNamedDeclaration(null,o,l))}return t};return e}();t.Parser=f},function(e,t){Object.defineProperty(t,"__esModule",{value:true});function r(e,t){if(!e){throw new Error("ASSERT: "+t)}}t.assert=r},function(e,t){Object.defineProperty(t,"__esModule",{value:true});var r=function(){function e(){this.errors=[];this.tolerant=false}e.prototype.recordError=function(e){this.errors.push(e)};e.prototype.tolerate=function(e){if(this.tolerant){this.recordError(e)}else{throw e}};e.prototype.constructError=function(e,t){var r=new Error(e);try{throw r}catch(e){if(Object.create&&Object.defineProperty){r=Object.create(e);Object.defineProperty(r,"column",{value:t})}}return r};e.prototype.createError=function(e,t,r,n){var i="Line "+t+": "+n;var a=this.constructError(i,r);a.index=e;a.lineNumber=t;a.description=n;return a};e.prototype.throwError=function(e,t,r,n){throw this.createError(e,t,r,n)};e.prototype.tolerateError=function(e,t,r,n){var i=this.createError(e,t,r,n);if(this.tolerant){this.recordError(i)}else{throw i}};return e}();t.ErrorHandler=r},function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:true});var n=r(9);var i=r(4);var a=r(11);function s(e){return"0123456789abcdef".indexOf(e.toLowerCase())}function o(e){return"01234567".indexOf(e)}var l=function(){function e(e,t){this.source=e;this.errorHandler=t;this.trackComment=false;this.isModule=false;this.length=e.length;this.index=0;this.lineNumber=e.length>0?1:0;this.lineStart=0;this.curlyStack=[]}e.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}};e.prototype.restoreState=function(e){this.index=e.index;this.lineNumber=e.lineNumber;this.lineStart=e.lineStart};e.prototype.eof=function(){return this.index>=this.length};e.prototype.throwUnexpectedToken=function(e){if(e===void 0){e=a.Messages.UnexpectedTokenIllegal}return this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,e)};e.prototype.tolerateUnexpectedToken=function(e){if(e===void 0){e=a.Messages.UnexpectedTokenIllegal}this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,e)};e.prototype.skipSingleLineComment=function(e){var t=[];var r,n;if(this.trackComment){t=[];r=this.index-e;n={start:{line:this.lineNumber,column:this.index-this.lineStart-e},end:{}}}while(!this.eof()){var a=this.source.charCodeAt(this.index);++this.index;if(i.Character.isLineTerminator(a)){if(this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart-1};var s={multiLine:false,slice:[r+e,this.index-1],range:[r,this.index-1],loc:n};t.push(s)}if(a===13&&this.source.charCodeAt(this.index)===10){++this.index}++this.lineNumber;this.lineStart=this.index;return t}}if(this.trackComment){n.end={line:this.lineNumber,column:this.index-this.lineStart};var s={multiLine:false,slice:[r+e,this.index],range:[r,this.index],loc:n};t.push(s)}return t};e.prototype.skipMultiLineComment=function(){var e=[];var t,r;if(this.trackComment){e=[];t=this.index-2;r={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}}}while(!this.eof()){var n=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(n)){if(n===13&&this.source.charCodeAt(this.index+1)===10){++this.index}++this.lineNumber;++this.index;this.lineStart=this.index}else if(n===42){if(this.source.charCodeAt(this.index+1)===47){this.index+=2;if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};var a={multiLine:true,slice:[t+2,this.index-2],range:[t,this.index],loc:r};e.push(a)}return e}++this.index}else{++this.index}}if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};var a={multiLine:true,slice:[t+2,this.index],range:[t,this.index],loc:r};e.push(a)}this.tolerateUnexpectedToken();return e};e.prototype.scanComments=function(){var e;if(this.trackComment){e=[]}var t=this.index===0;while(!this.eof()){var r=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(r)){++this.index}else if(i.Character.isLineTerminator(r)){++this.index;if(r===13&&this.source.charCodeAt(this.index)===10){++this.index}++this.lineNumber;this.lineStart=this.index;t=true}else if(r===47){r=this.source.charCodeAt(this.index+1);if(r===47){this.index+=2;var n=this.skipSingleLineComment(2);if(this.trackComment){e=e.concat(n)}t=true}else if(r===42){this.index+=2;var n=this.skipMultiLineComment();if(this.trackComment){e=e.concat(n)}}else{break}}else if(t&&r===45){if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var n=this.skipSingleLineComment(3);if(this.trackComment){e=e.concat(n)}}else{break}}else if(r===60&&!this.isModule){if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var n=this.skipSingleLineComment(4);if(this.trackComment){e=e.concat(n)}}else{break}}else{break}}return e};e.prototype.isFutureReservedWord=function(e){switch(e){case"enum":case"export":case"import":case"super":return true;default:return false}};e.prototype.isStrictModeReservedWord=function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return true;default:return false}};e.prototype.isRestrictedWord=function(e){return e==="eval"||e==="arguments"};e.prototype.isKeyword=function(e){switch(e.length){case 2:return e==="if"||e==="in"||e==="do";case 3:return e==="var"||e==="for"||e==="new"||e==="try"||e==="let";case 4:return e==="this"||e==="else"||e==="case"||e==="void"||e==="with"||e==="enum";case 5:return e==="while"||e==="break"||e==="catch"||e==="throw"||e==="const"||e==="yield"||e==="class"||e==="super";case 6:return e==="return"||e==="typeof"||e==="delete"||e==="switch"||e==="export"||e==="import";case 7:return e==="default"||e==="finally"||e==="extends";case 8:return e==="function"||e==="continue"||e==="debugger";case 10:return e==="instanceof";default:return false}};e.prototype.codePointAt=function(e){var t=this.source.charCodeAt(e);if(t>=55296&&t<=56319){var r=this.source.charCodeAt(e+1);if(r>=56320&&r<=57343){var n=t;t=(n-55296)*1024+r-56320+65536}}return t};e.prototype.scanHexEscape=function(e){var t=e==="u"?4:2;var r=0;for(var n=0;n<t;++n){if(!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index))){r=r*16+s(this.source[this.index++])}else{return null}}return String.fromCharCode(r)};e.prototype.scanUnicodeCodePointEscape=function(){var e=this.source[this.index];var t=0;if(e==="}"){this.throwUnexpectedToken()}while(!this.eof()){e=this.source[this.index++];if(!i.Character.isHexDigit(e.charCodeAt(0))){break}t=t*16+s(e)}if(t>1114111||e!=="}"){this.throwUnexpectedToken()}return i.Character.fromCodePoint(t)};e.prototype.getIdentifier=function(){var e=this.index++;while(!this.eof()){var t=this.source.charCodeAt(this.index);if(t===92){this.index=e;return this.getComplexIdentifier()}else if(t>=55296&&t<57343){this.index=e;return this.getComplexIdentifier()}if(i.Character.isIdentifierPart(t)){++this.index}else{break}}return this.source.slice(e,this.index)};e.prototype.getComplexIdentifier=function(){var e=this.codePointAt(this.index);var t=i.Character.fromCodePoint(e);this.index+=t.length;var r;if(e===92){if(this.source.charCodeAt(this.index)!==117){this.throwUnexpectedToken()}++this.index;if(this.source[this.index]==="{"){++this.index;r=this.scanUnicodeCodePointEscape()}else{r=this.scanHexEscape("u");if(r===null||r==="\\"||!i.Character.isIdentifierStart(r.charCodeAt(0))){this.throwUnexpectedToken()}}t=r}while(!this.eof()){e=this.codePointAt(this.index);if(!i.Character.isIdentifierPart(e)){break}r=i.Character.fromCodePoint(e);t+=r;this.index+=r.length;if(e===92){t=t.substr(0,t.length-1);if(this.source.charCodeAt(this.index)!==117){this.throwUnexpectedToken()}++this.index;if(this.source[this.index]==="{"){++this.index;r=this.scanUnicodeCodePointEscape()}else{r=this.scanHexEscape("u");if(r===null||r==="\\"||!i.Character.isIdentifierPart(r.charCodeAt(0))){this.throwUnexpectedToken()}}t+=r}}return t};e.prototype.octalToDecimal=function(e){var t=e!=="0";var r=o(e);if(!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))){t=true;r=r*8+o(this.source[this.index++]);if("0123".indexOf(e)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))){r=r*8+o(this.source[this.index++])}}return{code:r,octal:t}};e.prototype.scanIdentifier=function(){var e;var t=this.index;var r=this.source.charCodeAt(t)===92?this.getComplexIdentifier():this.getIdentifier();if(r.length===1){e=3}else if(this.isKeyword(r)){e=4}else if(r==="null"){e=5}else if(r==="true"||r==="false"){e=1}else{e=3}if(e!==3&&t+r.length!==this.index){var n=this.index;this.index=t;this.tolerateUnexpectedToken(a.Messages.InvalidEscapedReservedWord);this.index=n}return{type:e,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};e.prototype.scanPunctuator=function(){var e=this.index;var t=this.source[this.index];switch(t){case"(":case"{":if(t==="{"){this.curlyStack.push("{")}++this.index;break;case".":++this.index;if(this.source[this.index]==="."&&this.source[this.index+1]==="."){this.index+=2;t="..."}break;case"}":++this.index;this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:t=this.source.substr(this.index,4);if(t===">>>="){this.index+=4}else{t=t.substr(0,3);if(t==="==="||t==="!=="||t===">>>"||t==="<<="||t===">>="||t==="**="){this.index+=3}else{t=t.substr(0,2);if(t==="&&"||t==="||"||t==="=="||t==="!="||t==="+="||t==="-="||t==="*="||t==="/="||t==="++"||t==="--"||t==="<<"||t===">>"||t==="&="||t==="|="||t==="^="||t==="%="||t==="<="||t===">="||t==="=>"||t==="**"){this.index+=2}else{t=this.source[this.index];if("<>=!+-*%&|^/".indexOf(t)>=0){++this.index}}}}}if(this.index===e){this.throwUnexpectedToken()}return{type:7,value:t,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};e.prototype.scanHexLiteral=function(e){var t="";while(!this.eof()){if(!i.Character.isHexDigit(this.source.charCodeAt(this.index))){break}t+=this.source[this.index++]}if(t.length===0){this.throwUnexpectedToken()}if(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))){this.throwUnexpectedToken()}return{type:6,value:parseInt("0x"+t,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};e.prototype.scanBinaryLiteral=function(e){var t="";var r;while(!this.eof()){r=this.source[this.index];if(r!=="0"&&r!=="1"){break}t+=this.source[this.index++]}if(t.length===0){this.throwUnexpectedToken()}if(!this.eof()){r=this.source.charCodeAt(this.index);if(i.Character.isIdentifierStart(r)||i.Character.isDecimalDigit(r)){this.throwUnexpectedToken()}}return{type:6,value:parseInt(t,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};e.prototype.scanOctalLiteral=function(e,t){var r="";var n=false;if(i.Character.isOctalDigit(e.charCodeAt(0))){n=true;r="0"+this.source[this.index++]}else{++this.index}while(!this.eof()){if(!i.Character.isOctalDigit(this.source.charCodeAt(this.index))){break}r+=this.source[this.index++]}if(!n&&r.length===0){this.throwUnexpectedToken()}if(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index))){this.throwUnexpectedToken()}return{type:6,value:parseInt(r,8),octal:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}};e.prototype.isImplicitOctalLiteral=function(){for(var e=this.index+1;e<this.length;++e){var t=this.source[e];if(t==="8"||t==="9"){return false}if(!i.Character.isOctalDigit(t.charCodeAt(0))){return true}}return true};e.prototype.scanNumericLiteral=function(){var e=this.index;var t=this.source[e];n.assert(i.Character.isDecimalDigit(t.charCodeAt(0))||t===".","Numeric literal must start with a decimal digit or a decimal point");var r="";if(t!=="."){r=this.source[this.index++];t=this.source[this.index];if(r==="0"){if(t==="x"||t==="X"){++this.index;return this.scanHexLiteral(e)}if(t==="b"||t==="B"){++this.index;return this.scanBinaryLiteral(e)}if(t==="o"||t==="O"){return this.scanOctalLiteral(t,e)}if(t&&i.Character.isOctalDigit(t.charCodeAt(0))){if(this.isImplicitOctalLiteral()){return this.scanOctalLiteral(t,e)}}}while(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))){r+=this.source[this.index++]}t=this.source[this.index]}if(t==="."){r+=this.source[this.index++];while(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))){r+=this.source[this.index++]}t=this.source[this.index]}if(t==="e"||t==="E"){r+=this.source[this.index++];t=this.source[this.index];if(t==="+"||t==="-"){r+=this.source[this.index++]}if(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))){while(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))){r+=this.source[this.index++]}}else{this.throwUnexpectedToken()}}if(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))){this.throwUnexpectedToken()}return{type:6,value:parseFloat(r),lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};e.prototype.scanStringLiteral=function(){var e=this.index;var t=this.source[e];n.assert(t==="'"||t==='"',"String literal must starts with a quote");++this.index;var r=false;var s="";while(!this.eof()){var o=this.source[this.index++];if(o===t){t="";break}else if(o==="\\"){o=this.source[this.index++];if(!o||!i.Character.isLineTerminator(o.charCodeAt(0))){switch(o){case"u":if(this.source[this.index]==="{"){++this.index;s+=this.scanUnicodeCodePointEscape()}else{var l=this.scanHexEscape(o);if(l===null){this.throwUnexpectedToken()}s+=l}break;case"x":var u=this.scanHexEscape(o);if(u===null){this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence)}s+=u;break;case"n":s+="\n";break;case"r":s+="\r";break;case"t":s+="\t";break;case"b":s+="\b";break;case"f":s+="\f";break;case"v":s+="\v";break;case"8":case"9":s+=o;this.tolerateUnexpectedToken();break;default:if(o&&i.Character.isOctalDigit(o.charCodeAt(0))){var c=this.octalToDecimal(o);r=c.octal||r;s+=String.fromCharCode(c.code)}else{s+=o}break}}else{++this.lineNumber;if(o==="\r"&&this.source[this.index]==="\n"){++this.index}this.lineStart=this.index}}else if(i.Character.isLineTerminator(o.charCodeAt(0))){break}else{s+=o}}if(t!==""){this.index=e;this.throwUnexpectedToken()}return{type:8,value:s,octal:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};e.prototype.scanTemplate=function(){var e="";var t=false;var r=this.index;var n=this.source[r]==="`";var s=false;var o=2;++this.index;while(!this.eof()){var l=this.source[this.index++];if(l==="`"){o=1;s=true;t=true;break}else if(l==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${");++this.index;t=true;break}e+=l}else if(l==="\\"){l=this.source[this.index++];if(!i.Character.isLineTerminator(l.charCodeAt(0))){switch(l){case"n":e+="\n";break;case"r":e+="\r";break;case"t":e+="\t";break;case"u":if(this.source[this.index]==="{"){++this.index;e+=this.scanUnicodeCodePointEscape()}else{var u=this.index;var c=this.scanHexEscape(l);if(c!==null){e+=c}else{this.index=u;e+=l}}break;case"x":var f=this.scanHexEscape(l);if(f===null){this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence)}e+=f;break;case"b":e+="\b";break;case"f":e+="\f";break;case"v":e+="\v";break;default:if(l==="0"){if(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))){this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral)}e+="\0"}else if(i.Character.isOctalDigit(l.charCodeAt(0))){this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral)}else{e+=l}break}}else{++this.lineNumber;if(l==="\r"&&this.source[this.index]==="\n"){++this.index}this.lineStart=this.index}}else if(i.Character.isLineTerminator(l.charCodeAt(0))){++this.lineNumber;if(l==="\r"&&this.source[this.index]==="\n"){++this.index}this.lineStart=this.index;e+="\n"}else{e+=l}}if(!t){this.throwUnexpectedToken()}if(!n){this.curlyStack.pop()}return{type:10,value:this.source.slice(r+1,this.index-o),cooked:e,head:n,tail:s,lineNumber:this.lineNumber,lineStart:this.lineStart,start:r,end:this.index}};e.prototype.testRegExp=function(e,t){var r="";var n=e;var i=this;if(t.indexOf("u")>=0){n=n.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,(function(e,t,n){var s=parseInt(t||n,16);if(s>1114111){i.throwUnexpectedToken(a.Messages.InvalidRegExp)}if(s<=65535){return String.fromCharCode(s)}return r})).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r)}try{RegExp(n)}catch(e){this.throwUnexpectedToken(a.Messages.InvalidRegExp)}try{return new RegExp(e,t)}catch(e){return null}};e.prototype.scanRegExpBody=function(){var e=this.source[this.index];n.assert(e==="/","Regular expression literal must start with a slash");var t=this.source[this.index++];var r=false;var s=false;while(!this.eof()){e=this.source[this.index++];t+=e;if(e==="\\"){e=this.source[this.index++];if(i.Character.isLineTerminator(e.charCodeAt(0))){this.throwUnexpectedToken(a.Messages.UnterminatedRegExp)}t+=e}else if(i.Character.isLineTerminator(e.charCodeAt(0))){this.throwUnexpectedToken(a.Messages.UnterminatedRegExp)}else if(r){if(e==="]"){r=false}}else{if(e==="/"){s=true;break}else if(e==="["){r=true}}}if(!s){this.throwUnexpectedToken(a.Messages.UnterminatedRegExp)}return t.substr(1,t.length-2)};e.prototype.scanRegExpFlags=function(){var e="";var t="";while(!this.eof()){var r=this.source[this.index];if(!i.Character.isIdentifierPart(r.charCodeAt(0))){break}++this.index;if(r==="\\"&&!this.eof()){r=this.source[this.index];if(r==="u"){++this.index;var n=this.index;var a=this.scanHexEscape("u");if(a!==null){t+=a;for(e+="\\u";n<this.index;++n){e+=this.source[n]}}else{this.index=n;t+="u";e+="\\u"}this.tolerateUnexpectedToken()}else{e+="\\";this.tolerateUnexpectedToken()}}else{t+=r;e+=r}}return t};e.prototype.scanRegExp=function(){var e=this.index;var t=this.scanRegExpBody();var r=this.scanRegExpFlags();var n=this.testRegExp(t,r);return{type:9,value:"",pattern:t,flags:r,regex:n,lineNumber:this.lineNumber,lineStart:this.lineStart,start:e,end:this.index}};e.prototype.lex=function(){if(this.eof()){return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index}}var e=this.source.charCodeAt(this.index);if(i.Character.isIdentifierStart(e)){return this.scanIdentifier()}if(e===40||e===41||e===59){return this.scanPunctuator()}if(e===39||e===34){return this.scanStringLiteral()}if(e===46){if(i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))){return this.scanNumericLiteral()}return this.scanPunctuator()}if(i.Character.isDecimalDigit(e)){return this.scanNumericLiteral()}if(e===96||e===125&&this.curlyStack[this.curlyStack.length-1]==="${"){return this.scanTemplate()}if(e>=55296&&e<57343){if(i.Character.isIdentifierStart(this.codePointAt(this.index))){return this.scanIdentifier()}}return this.scanPunctuator()};return e}();t.Scanner=l},function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.TokenName={};t.TokenName[1]="Boolean";t.TokenName[2]="<end>";t.TokenName[3]="Identifier";t.TokenName[4]="Keyword";t.TokenName[5]="Null";t.TokenName[6]="Numeric";t.TokenName[7]="Punctuator";t.TokenName[8]="String";t.TokenName[9]="RegularExpression";t.TokenName[10]="Template"},function(e,t){Object.defineProperty(t,"__esModule",{value:true});t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:true});var n=r(10);var i=r(12);var a=r(13);var s=function(){function e(){this.values=[];this.curly=this.paren=-1}e.prototype.beforeFunctionExpression=function(e){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(e)>=0};e.prototype.isRegexStart=function(){var e=this.values[this.values.length-1];var t=e!==null;switch(e){case"this":case"]":t=false;break;case")":var r=this.values[this.paren-1];t=r==="if"||r==="while"||r==="for"||r==="with";break;case"}":t=false;if(this.values[this.curly-3]==="function"){var n=this.values[this.curly-4];t=n?!this.beforeFunctionExpression(n):false}else if(this.values[this.curly-4]==="function"){var n=this.values[this.curly-5];t=n?!this.beforeFunctionExpression(n):true}break}return t};e.prototype.push=function(e){if(e.type===7||e.type===4){if(e.value==="{"){this.curly=this.values.length}else if(e.value==="("){this.paren=this.values.length}this.values.push(e.value)}else{this.values.push(null)}};return e}();var o=function(){function e(e,t){this.errorHandler=new n.ErrorHandler;this.errorHandler.tolerant=t?typeof t.tolerant==="boolean"&&t.tolerant:false;this.scanner=new i.Scanner(e,this.errorHandler);this.scanner.trackComment=t?typeof t.comment==="boolean"&&t.comment:false;this.trackRange=t?typeof t.range==="boolean"&&t.range:false;this.trackLoc=t?typeof t.loc==="boolean"&&t.loc:false;this.buffer=[];this.reader=new s}e.prototype.errors=function(){return this.errorHandler.errors};e.prototype.getNextToken=function(){if(this.buffer.length===0){var e=this.scanner.scanComments();if(this.scanner.trackComment){for(var t=0;t<e.length;++t){var r=e[t];var n=this.scanner.source.slice(r.slice[0],r.slice[1]);var i={type:r.multiLine?"BlockComment":"LineComment",value:n};if(this.trackRange){i.range=r.range}if(this.trackLoc){i.loc=r.loc}this.buffer.push(i)}}if(!this.scanner.eof()){var s=void 0;if(this.trackLoc){s={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}}}var o=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart();var l=o?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(l);var u={type:a.TokenName[l.type],value:this.scanner.source.slice(l.start,l.end)};if(this.trackRange){u.range=[l.start,l.end]}if(this.trackLoc){s.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart};u.loc=s}if(l.type===9){var c=l.pattern;var f=l.flags;u.regex={pattern:c,flags:f}}this.buffer.push(u)}}return this.buffer.shift()};return e}();t.Tokenizer=o}])}))}));n(Hn);var Kn=i((function(e,t){Object.defineProperty(t,"__esModule",{value:true});function r(e,t){var r=[];var n=Hn.parse(e,{loc:true,locations:true,comment:true,onComment:r,range:On.getOption(t,"range",false),tolerant:On.getOption(t,"tolerant",true),tokens:true});if(!Array.isArray(n.comments)){n.comments=r}return n}t.parse=r}));n(Kn);var $n=Kn.parse;var Yn;function Qn(){if(typeof Yn==="undefined"){var e=new ArrayBuffer(2);var t=new Uint8Array(e);var r=new Uint16Array(e);t[0]=1;t[1]=2;if(r[0]===258){Yn="BE"}else if(r[0]===513){Yn="LE"}else{throw new Error("unable to figure out endianess")}}return Yn}function Zn(){if(typeof gr.location!=="undefined"){return gr.location.hostname}else return""}function ei(){return[]}function ti(){return 0}function ri(){return Number.MAX_VALUE}function ni(){return Number.MAX_VALUE}function ii(){return[]}function ai(){return"Browser"}function si(){if(typeof gr.navigator!=="undefined"){return gr.navigator.appVersion}return""}function oi(){}function li(){}function ui(){return"/tmp"}var ci=ui;var fi="\n";var hi={EOL:fi,tmpdir:ci,tmpDir:ui,networkInterfaces:oi,getNetworkInterfaces:li,release:si,type:ai,cpus:ii,totalmem:ni,freemem:ri,uptime:ti,loadavg:ei,hostname:Zn,endianness:Qn};var pi=i((function(e,t){Object.defineProperty(t,"__esModule",{value:true});var r={parser:Kn,tabWidth:4,useTabs:false,reuseWhitespace:true,lineTerminator:hi.EOL,wrapColumn:74,sourceFileName:null,sourceMapName:null,sourceRoot:null,inputSourceMap:null,range:false,tolerant:true,quote:null,trailingComma:false,arrayBracketSpacing:false,objectCurlySpacing:true,arrowParensAlways:false,flowObjectCommas:true,tokens:true},n=r.hasOwnProperty;function i(e){var t=e||r;function i(e){return n.call(t,e)?t[e]:r[e]}return{tabWidth:+i("tabWidth"),useTabs:!!i("useTabs"),reuseWhitespace:!!i("reuseWhitespace"),lineTerminator:i("lineTerminator"),wrapColumn:Math.max(i("wrapColumn"),0),sourceFileName:i("sourceFileName"),sourceMapName:i("sourceMapName"),sourceRoot:i("sourceRoot"),inputSourceMap:i("inputSourceMap"),parser:i("esprima")||i("parser"),range:i("range"),tolerant:i("tolerant"),quote:i("quote"),trailingComma:i("trailingComma"),arrayBracketSpacing:i("arrayBracketSpacing"),objectCurlySpacing:i("objectCurlySpacing"),arrowParensAlways:i("arrowParensAlways"),flowObjectCommas:i("flowObjectCommas"),tokens:!!i("tokens")}}t.normalize=i}));n(pi);var di=pi.normalize;var mi=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var n=r(Jt);var i=function(){function e(e,t,r){if(r===void 0){r=t}this.sourceLines=e;this.sourceLoc=t;this.targetLoc=r}e.prototype.slice=function(t,r,i){if(i===void 0){i=t.lastPos()}var a=this.sourceLines;var l=this.sourceLoc;var u=this.targetLoc;function c(e){var s=l[e];var c=u[e];var f=r;if(e==="end"){f=i}else{n.default.strictEqual(e,"start")}return o(a,s,t,c,f)}if(On.comparePos(r,u.start)<=0){if(On.comparePos(u.end,i)<=0){u={start:s(u.start,r.line,r.column),end:s(u.end,r.line,r.column)}}else if(On.comparePos(i,u.start)<=0){return null}else{l={start:l.start,end:c("end")};u={start:s(u.start,r.line,r.column),end:s(i,r.line,r.column)}}}else{if(On.comparePos(u.end,r)<=0){return null}if(On.comparePos(u.end,i)<=0){l={start:c("start"),end:l.end};u={start:{line:1,column:0},end:s(u.end,r.line,r.column)}}else{l={start:c("start"),end:c("end")};u={start:{line:1,column:0},end:s(i,r.line,r.column)}}}return new e(this.sourceLines,l,u)};e.prototype.add=function(t,r){return new e(this.sourceLines,this.sourceLoc,{start:a(this.targetLoc.start,t,r),end:a(this.targetLoc.end,t,r)})};e.prototype.subtract=function(t,r){return new e(this.sourceLines,this.sourceLoc,{start:s(this.targetLoc.start,t,r),end:s(this.targetLoc.end,t,r)})};e.prototype.indent=function(t,r,n){if(r===void 0){r=false}if(n===void 0){n=false}if(t===0){return this}var i=this.targetLoc;var a=i.start.line;var s=i.end.line;if(r&&a===1&&s===1){return this}i={start:i.start,end:i.end};if(!r||a>1){var o=i.start.column+t;i.start={line:a,column:n?Math.max(0,o):o}}if(!r||s>1){var l=i.end.column+t;i.end={line:s,column:n?Math.max(0,l):l}}return new e(this.sourceLines,this.sourceLoc,i)};return e}();t.default=i;function a(e,t,r){return{line:e.line+t-1,column:e.line===1?e.column+r:e.column}}function s(e,t,r){return{line:e.line-t+1,column:e.line===t?e.column-r:e.column}}function o(e,t,r,i,a){var s=On.comparePos(i,a);if(s===0){return t}if(s<0){var o=e.skipSpaces(t)||e.lastPos();var l=r.skipSpaces(i)||r.lastPos();var u=a.line-l.line;o.line+=u;l.line+=u;if(u>0){o.column=0;l.column=0}else{n.default.strictEqual(u,0)}while(On.comparePos(l,a)<0&&r.nextPos(l,true)){n.default.ok(e.nextPos(o,true));n.default.strictEqual(e.charAt(o),r.charAt(l))}}else{var o=e.skipSpaces(t,true)||e.firstPos();var l=r.skipSpaces(i,true)||r.firstPos();var u=a.line-l.line;o.line+=u;l.line+=u;if(u<0){o.column=e.getLineLength(o.line);l.column=r.getLineLength(l.line)}else{n.default.strictEqual(u,0)}while(On.comparePos(a,l)<0&&r.prevPos(l,true)){n.default.ok(e.prevPos(o,true));n.default.strictEqual(e.charAt(o),r.charAt(l))}}return o}}));n(mi);var vi=i((function(e,t){var r=this&&this.__assign||function(){r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return r.apply(this,arguments)};var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var i=n(Jt);var a=n(Bn);var s=n(mi);var o=function(){function e(e,t){if(t===void 0){t=null}this.infos=e;this.mappings=[];this.cachedSourceMap=null;this.cachedTabWidth=void 0;i.default.ok(e.length>0);this.length=e.length;this.name=t||null;if(this.name){this.mappings.push(new s.default(this,{start:this.firstPos(),end:this.lastPos()}))}}e.prototype.toString=function(e){return this.sliceString(this.firstPos(),this.lastPos(),e)};e.prototype.getSourceMap=function(e,t){if(!e){return null}var r=this;function n(r){r=r||{};r.file=e;if(t){r.sourceRoot=t}return r}if(r.cachedSourceMap){return n(r.cachedSourceMap.toJSON())}var s=new a.default.SourceMapGenerator(n());var o={};r.mappings.forEach((function(e){var t=e.sourceLines.skipSpaces(e.sourceLoc.start)||e.sourceLines.lastPos();var n=r.skipSpaces(e.targetLoc.start)||r.lastPos();while(On.comparePos(t,e.sourceLoc.end)<0&&On.comparePos(n,e.targetLoc.end)<0){var a=e.sourceLines.charAt(t);var l=r.charAt(n);i.default.strictEqual(a,l);var c=e.sourceLines.name;s.addMapping({source:c,original:{line:t.line,column:t.column},generated:{line:n.line,column:n.column}});if(!u.call(o,c)){var f=e.sourceLines.toString();s.setSourceContent(c,f);o[c]=f}r.nextPos(n,true);e.sourceLines.nextPos(t,true)}}));r.cachedSourceMap=s;return s.toJSON()};e.prototype.bootstrapCharAt=function(e){i.default.strictEqual(typeof e,"object");i.default.strictEqual(typeof e.line,"number");i.default.strictEqual(typeof e.column,"number");var t=e.line,r=e.column,n=this.toString().split(p),a=n[t-1];if(typeof a==="undefined")return"";if(r===a.length&&t<n.length)return"\n";if(r>=a.length)return"";return a.charAt(r)};e.prototype.charAt=function(e){i.default.strictEqual(typeof e,"object");i.default.strictEqual(typeof e.line,"number");i.default.strictEqual(typeof e.column,"number");var t=e.line,r=e.column,n=this,a=n.infos,s=a[t-1],o=r;if(typeof s==="undefined"||o<0)return"";var l=this.getIndentAt(t);if(o<l)return" ";o+=s.sliceStart-l;if(o===s.sliceEnd&&t<this.length)return"\n";if(o>=s.sliceEnd)return"";return s.line.charAt(o)};e.prototype.stripMargin=function(t,n){if(t===0)return this;i.default.ok(t>0,"negative margin: "+t);if(n&&this.length===1)return this;var a=new e(this.infos.map((function(e,i){if(e.line&&(i>0||!n)){e=r({},e,{indent:Math.max(0,e.indent-t)})}return e})));if(this.mappings.length>0){var s=a.mappings;i.default.strictEqual(s.length,0);this.mappings.forEach((function(e){s.push(e.indent(t,n,true))}))}return a};e.prototype.indent=function(t){if(t===0){return this}var n=new e(this.infos.map((function(e){if(e.line&&!e.locked){e=r({},e,{indent:e.indent+t})}return e})));if(this.mappings.length>0){var a=n.mappings;i.default.strictEqual(a.length,0);this.mappings.forEach((function(e){a.push(e.indent(t))}))}return n};e.prototype.indentTail=function(t){if(t===0){return this}if(this.length<2){return this}var n=new e(this.infos.map((function(e,n){if(n>0&&e.line&&!e.locked){e=r({},e,{indent:e.indent+t})}return e})));if(this.mappings.length>0){var a=n.mappings;i.default.strictEqual(a.length,0);this.mappings.forEach((function(e){a.push(e.indent(t,true))}))}return n};e.prototype.lockIndentTail=function(){if(this.length<2){return this}return new e(this.infos.map((function(e,t){return r({},e,{locked:t>0})})))};e.prototype.getIndentAt=function(e){i.default.ok(e>=1,"no line "+e+" (line numbers start from 1)");return Math.max(this.infos[e-1].indent,0)};e.prototype.guessTabWidth=function(){if(typeof this.cachedTabWidth==="number"){return this.cachedTabWidth}var e=[];var t=0;for(var r=1,n=this.length;r<=n;++r){var i=this.infos[r-1];var a=i.line.slice(i.sliceStart,i.sliceEnd);if(m(a)){continue}var s=Math.abs(i.indent-t);e[s]=~~e[s]+1;t=i.indent}var o=-1;var l=2;for(var c=1;c<e.length;c+=1){if(u.call(e,c)&&e[c]>o){o=e[c];l=c}}return this.cachedTabWidth=l};e.prototype.startsWithComment=function(){if(this.infos.length===0){return false}var e=this.infos[0],t=e.sliceStart,r=e.sliceEnd,n=e.line.slice(t,r).trim();return n.length===0||n.slice(0,2)==="//"||n.slice(0,2)==="/*"};e.prototype.isOnlyWhitespace=function(){return m(this.toString())};e.prototype.isPrecededOnlyByWhitespace=function(e){var t=this.infos[e.line-1];var r=Math.max(t.indent,0);var n=e.column-r;if(n<=0){return true}var i=t.sliceStart;var a=Math.min(i+n,t.sliceEnd);var s=t.line.slice(i,a);return m(s)};e.prototype.getLineLength=function(e){var t=this.infos[e-1];return this.getIndentAt(e)+t.sliceEnd-t.sliceStart};e.prototype.nextPos=function(e,t){if(t===void 0){t=false}var r=Math.max(e.line,0),n=Math.max(e.column,0);if(n<this.getLineLength(r)){e.column+=1;return t?!!this.skipSpaces(e,false,true):true}if(r<this.length){e.line+=1;e.column=0;return t?!!this.skipSpaces(e,false,true):true}return false};e.prototype.prevPos=function(e,t){if(t===void 0){t=false}var r=e.line,n=e.column;if(n<1){r-=1;if(r<1)return false;n=this.getLineLength(r)}else{n=Math.min(n-1,this.getLineLength(r))}e.line=r;e.column=n;return t?!!this.skipSpaces(e,true,true):true};e.prototype.firstPos=function(){return{line:1,column:0}};e.prototype.lastPos=function(){return{line:this.length,column:this.getLineLength(this.length)}};e.prototype.skipSpaces=function(e,t,r){if(t===void 0){t=false}if(r===void 0){r=false}if(e){e=r?e:{line:e.line,column:e.column}}else if(t){e=this.lastPos()}else{e=this.firstPos()}if(t){while(this.prevPos(e)){if(!m(this.charAt(e))&&this.nextPos(e)){return e}}return null}else{while(m(this.charAt(e))){if(!this.nextPos(e)){return null}}return e}};e.prototype.trimLeft=function(){var e=this.skipSpaces(this.firstPos(),false,true);return e?this.slice(e):y};e.prototype.trimRight=function(){var e=this.skipSpaces(this.lastPos(),true,true);return e?this.slice(this.firstPos(),e):y};e.prototype.trim=function(){var e=this.skipSpaces(this.firstPos(),false,true);if(e===null){return y}var t=this.skipSpaces(this.lastPos(),true,true);if(t===null){return y}return this.slice(e,t)};e.prototype.eachPos=function(e,t,r){if(t===void 0){t=this.firstPos()}if(r===void 0){r=false}var n=this.firstPos();if(t){n.line=t.line,n.column=t.column}if(r&&!this.skipSpaces(n,false,true)){return}do{e.call(this,n)}while(this.nextPos(n,r))};e.prototype.bootstrapSlice=function(e,t){var r=this.toString().split(p).slice(e.line-1,t.line);if(r.length>0){r.push(r.pop().slice(0,t.column));r[0]=r[0].slice(e.column)}return d(r.join("\n"))};e.prototype.slice=function(t,r){if(!r){if(!t){return this}r=this.lastPos()}if(!t){throw new Error("cannot slice with end but not start")}var n=this.infos.slice(t.line-1,r.line);if(t.line===r.line){n[0]=v(n[0],t.column,r.column)}else{i.default.ok(t.line<r.line);n[0]=v(n[0],t.column);n.push(v(n.pop(),0,r.column))}var a=new e(n);if(this.mappings.length>0){var s=a.mappings;i.default.strictEqual(s.length,0);this.mappings.forEach((function(e){var n=e.slice(this,t,r);if(n){s.push(n)}}),this)}return a};e.prototype.bootstrapSliceString=function(e,t,r){return this.slice(e,t).toString(r)};e.prototype.sliceString=function(e,t,r){if(e===void 0){e=this.firstPos()}if(t===void 0){t=this.lastPos()}r=pi.normalize(r);var n=[];var i=r.tabWidth,a=i===void 0?2:i;for(var s=e.line;s<=t.line;++s){var o=this.infos[s-1];if(s===e.line){if(s===t.line){o=v(o,e.column,t.column)}else{o=v(o,e.column)}}else if(s===t.line){o=v(o,0,t.column)}var l=Math.max(o.indent,0);var u=o.line.slice(0,o.sliceStart);if(r.reuseWhitespace&&m(u)&&f(u,r.tabWidth)===l){n.push(o.line.slice(0,o.sliceEnd));continue}var c=0;var h=l;if(r.useTabs){c=Math.floor(l/a);h-=c*a}var p="";if(c>0){p+=new Array(c+1).join("\t")}if(h>0){p+=new Array(h+1).join(" ")}p+=o.line.slice(o.sliceStart,o.sliceEnd);n.push(p)}return n.join(r.lineTerminator)};e.prototype.isEmpty=function(){return this.length<2&&this.getLineLength(1)<1};e.prototype.join=function(t){var n=this;var i=[];var a=[];var s;function o(e){if(e===null){return}if(s){var t=e.infos[0];var n=new Array(t.indent+1).join(" ");var o=i.length;var l=Math.max(s.indent,0)+s.sliceEnd-s.sliceStart;s.line=s.line.slice(0,s.sliceEnd)+n+t.line.slice(t.sliceStart,t.sliceEnd);s.locked=s.locked||t.locked;s.sliceEnd=s.line.length;if(e.mappings.length>0){e.mappings.forEach((function(e){a.push(e.add(o,l))}))}}else if(e.mappings.length>0){a.push.apply(a,e.mappings)}e.infos.forEach((function(e,t){if(!s||t>0){s=r({},e);i.push(s)}}))}function l(e,t){if(t>0)o(n);o(e)}t.map((function(e){var t=d(e);if(t.isEmpty())return null;return t})).forEach((function(e,t){if(n.isEmpty()){o(e)}else{l(e,t)}}));if(i.length<1)return y;var u=new e(i);u.mappings=a;return u};e.prototype.concat=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=[this];r.push.apply(r,e);i.default.strictEqual(r.length,e.length+1);return y.join(r)};return e}();t.Lines=o;var l={};var u=l.hasOwnProperty;var c=10;function f(e,t){var r=0;var n=e.length;for(var a=0;a<n;++a){switch(e.charCodeAt(a)){case 9:i.default.strictEqual(typeof t,"number");i.default.ok(t>0);var s=Math.ceil(r/t)*t;if(s===r){r+=t}else{r=s}break;case 11:case 12:case 13:case 65279:break;case 32:default:r+=1;break}}return r}t.countSpaces=f;var h=/^\s*/;var p=/\u000D\u000A|\u000D(?!\u000A)|\u000A|\u2028|\u2029/;function d(e,t){if(e instanceof o)return e;e+="";var r=t&&t.tabWidth;var n=e.indexOf("\t")<0;var a=!t&&n&&e.length<=c;i.default.ok(r||n,"No tab width specified but encountered tabs in string\n"+e);if(a&&u.call(l,e))return l[e];var s=new o(e.split(p).map((function(e){var t=h.exec(e)[0];return{line:e,indent:f(t,r),locked:false,sliceStart:t.length,sliceEnd:e.length}})),pi.normalize(t).sourceFileName);if(a)l[e]=s;return s}t.fromString=d;function m(e){return!/\S/.test(e)}function v(e,t,r){var n=e.sliceStart;var a=e.sliceEnd;var s=Math.max(e.indent,0);var o=s+a-n;if(typeof r==="undefined"){r=o}t=Math.max(t,0);r=Math.min(r,o);r=Math.max(r,t);if(r<s){s=r;a=n}else{a-=o-r}o=r;o-=t;if(t<s){s-=t}else{t-=s;s=0;n+=t}i.default.ok(s>=0);i.default.ok(n<=a);i.default.strictEqual(o,s+a-n);if(e.indent===s&&e.sliceStart===n&&e.sliceEnd===a){return e}return{line:e.line,indent:s,locked:false,sliceStart:n,sliceEnd:a}}function g(e){return y.join(e)}t.concat=g;var y=d("")}));n(vi);var gi=vi.Lines;var yi=vi.countSpaces;var xi=vi.fromString;var Ei=vi.concat;var bi=Object;var Si=Object.defineProperty;var Di=Object.create;function Ci(e,t,r){if(Si)try{Si.call(bi,e,t,{value:r})}catch(n){e[t]=r}else{e[t]=r}}function wi(e){if(e){Ci(e,"call",e.call);Ci(e,"apply",e.apply)}return e}wi(Si);wi(Di);var Ai=wi(Object.prototype.hasOwnProperty);var Ti=wi(Number.prototype.toString);var ki=wi(String.prototype.slice);var _i=function e(){};function Pi(e){if(Di){return Di.call(bi,e)}_i.prototype=e||null;return new _i}var Fi=Math.random;var Ii=Pi(null);function Mi(){do{var e=Ni(ki.call(Ti.call(Fi(),36),2))}while(Ai.call(Ii,e));return Ii[e]=e}function Ni(e){var t={};t[e]=true;return Object.keys(t)[0]}var Li=Mi;var Bi=Object.getOwnPropertyNames;Object.getOwnPropertyNames=function e(t){for(var r=Bi(t),n=0,i=0,a=r.length;n<a;++n){if(!Ai.call(Ii,r[n])){if(n>i){r[i]=r[n]}++i}}r.length=i;return r};function Oi(e){return Pi(null)}function Ri(e){var t=Mi();var r=Pi(null);e=e||Oi;function n(n){var i;function a(t,a){if(t===r){return a?i=null:i||(i=e(n))}}Ci(n,t,a)}function i(e){if(!Ai.call(e,t))n(e);return e[t](r)}i.forget=function(e){if(Ai.call(e,t))e[t](r,true)};return i}var ji=Ri;var Ui={makeUniqueKey:Li,makeAccessor:ji};var Vi=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});var i=r(Jt);var a=n(k);var s=a.namedTypes;var o=a.builtInTypes.array;var l=a.builtInTypes.object;var u=Ui.makeUniqueKey();function c(e,t,r){if(!e){return}On.fixFaultyLocations(e,t);if(r){if(s.Node.check(e)&&s.SourceLocation.check(e.loc)){for(var n=r.length-1;n>=0;--n){if(On.comparePos(r[n].loc.end,e.loc.start)<=0){break}}r.splice(n+1,0,e);return}}else if(e[u]){return e[u]}var i;if(o.check(e)){i=Object.keys(e)}else if(l.check(e)){i=a.getFieldNames(e)}else{return}if(!r){Object.defineProperty(e,u,{value:r=[],enumerable:false})}for(var n=0,f=i.length;n<f;++n){c(e[i[n]],t,r)}return r}function f(e,t,r){var n=c(e,r);var i=0,a=n.length;while(i<a){var s=i+a>>1;var o=n[s];if(On.comparePos(o.loc.start,t.loc.start)<=0&&On.comparePos(t.loc.end,o.loc.end)<=0){f(t.enclosingNode=o,t,r);return}if(On.comparePos(o.loc.end,t.loc.start)<=0){var l=o;i=s+1;continue}if(On.comparePos(t.loc.end,o.loc.start)<=0){var u=o;a=s;continue}throw new Error("Comment location overlaps with node location")}if(l){t.precedingNode=l}if(u){t.followingNode=u}}function h(e,t,r){if(!o.check(e)){return}var n=[];e.forEach((function(e){e.loc.lines=r;f(t,e,r);var a=e.precedingNode;var s=e.enclosingNode;var o=e.followingNode;if(a&&o){var l=n.length;if(l>0){var u=n[l-1];i.default.strictEqual(u.precedingNode===e.precedingNode,u.followingNode===e.followingNode);if(u.followingNode!==e.followingNode){p(n,r)}}n.push(e)}else if(a){p(n,r);g(a,e)}else if(o){p(n,r);m(o,e)}else if(s){p(n,r);v(s,e)}else{throw new Error("AST contains no nodes at all?")}}));p(n,r);e.forEach((function(e){delete e.precedingNode;delete e.enclosingNode;delete e.followingNode}))}t.attach=h;function p(e,t){var r=e.length;if(r===0){return}var n=e[0].precedingNode;var a=e[0].followingNode;var s=a.loc.start;for(var o=r;o>0;--o){var l=e[o-1];i.default.strictEqual(l.precedingNode,n);i.default.strictEqual(l.followingNode,a);var u=t.sliceString(l.loc.end,s);if(/\S/.test(u)){break}s=l.loc.start}while(o<=r&&(l=e[o])&&(l.type==="Line"||l.type==="CommentLine")&&l.loc.start.column>a.loc.start.column){++o}e.forEach((function(e,t){if(t<o){g(n,e)}else{m(a,e)}}));e.length=0}function d(e,t){var r=e.comments||(e.comments=[]);r.push(t)}function m(e,t){t.leading=true;t.trailing=false;d(e,t)}function v(e,t){t.leading=false;t.trailing=false;d(e,t)}function g(e,t){t.leading=false;t.trailing=true;d(e,t)}function y(e,t){var r=e.getValue();s.Comment.assert(r);var n=r.loc;var i=n&&n.lines;var a=[t(e)];if(r.trailing){a.push("\n")}else if(i instanceof vi.Lines){var o=i.slice(n.end,i.skipSpaces(n.end)||i.lastPos());if(o.length===1){a.push(o)}else{a.push(new Array(o.length).join("\n"))}}else{a.push("\n")}return vi.concat(a)}function x(e,t){var r=e.getValue(e);s.Comment.assert(r);var n=r.loc;var i=n&&n.lines;var a=[];if(i instanceof vi.Lines){var o=i.skipSpaces(n.start,true)||i.firstPos();var l=i.slice(o,n.start);if(l.length===1){a.push(l)}else{a.push(new Array(l.length).join("\n"))}}a.push(t(e));return vi.concat(a)}function E(e,t){var r=e.getValue();var n=t(e);var i=s.Node.check(r)&&a.getFieldValue(r,"comments");if(!i||i.length===0){return n}var o=[];var l=[n];e.each((function(e){var n=e.getValue();var i=a.getFieldValue(n,"leading");var u=a.getFieldValue(n,"trailing");if(i||u&&!(s.Statement.check(r)||n.type==="Block"||n.type==="CommentBlock")){o.push(y(e,t))}else if(u){l.push(x(e,t))}}),"comments");o.push.apply(o,l);return vi.concat(o)}t.printComments=E}));n(Vi);var Gi=Vi.attach;var zi=Vi.printComments;var Xi=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});var i=r(Jt);var a=n(k);var s=a.builders;var o=a.builtInTypes.object;var l=a.builtInTypes.array;var u=n(On);function c(e,t){t=pi.normalize(t);var r=vi.fromString(e,t);var n=r.toString({tabWidth:t.tabWidth,reuseWhitespace:false,useTabs:false});var i=[];var a=t.parser.parse(n,{jsx:true,loc:true,locations:true,range:t.range,comment:true,onComment:i,tolerant:u.getOption(t,"tolerant",true),ecmaVersion:6,sourceType:u.getOption(t,"sourceType","module")});var o=Array.isArray(a.tokens)?a.tokens:Hn.tokenize(n,{loc:true});delete a.tokens;o.forEach((function(e){if(typeof e.value!=="string"){e.value=r.sliceString(e.loc.start,e.loc.end)}}));if(Array.isArray(a.comments)){i=a.comments;delete a.comments}if(a.loc){u.fixFaultyLocations(a,r)}else{a.loc={start:r.firstPos(),end:r.lastPos()}}a.loc.lines=r;a.loc.indent=0;var l;var c;if(a.type==="Program"){c=a;l=s.file(a,t.sourceFileName||null);l.loc={start:r.firstPos(),end:r.lastPos(),lines:r,indent:0}}else if(a.type==="File"){l=a;c=l.program}if(t.tokens){l.tokens=o}var h=u.getTrueLoc({type:c.type,loc:c.loc,body:[],comments:i},r);c.loc.start=h.start;c.loc.end=h.end;Vi.attach(i,c.body.length?l.program:l,r);return new f(r,o).copy(l)}t.parse=c;var f=function e(t,r){i.default.ok(this instanceof e);this.lines=t;this.tokens=r;this.startTokenIndex=0;this.endTokenIndex=r.length;this.indent=0;this.seen=new Map};var h=f.prototype;h.copy=function(e){if(this.seen.has(e)){return this.seen.get(e)}if(l.check(e)){var t=new Array(e.length);this.seen.set(e,t);e.forEach((function(e,r){t[r]=this.copy(e)}),this);return t}if(!o.check(e)){return e}u.fixFaultyLocations(e,this.lines);var t=Object.create(Object.getPrototypeOf(e),{original:{value:e,configurable:false,enumerable:false,writable:true}});this.seen.set(e,t);var r=e.loc;var n=this.indent;var i=n;var a=this.startTokenIndex;var s=this.endTokenIndex;if(r){if(e.type==="Block"||e.type==="Line"||e.type==="CommentBlock"||e.type==="CommentLine"||this.lines.isPrecededOnlyByWhitespace(r.start)){i=this.indent=r.start.column}r.lines=this.lines;r.tokens=this.tokens;r.indent=i;this.findTokenRange(r)}var c=Object.keys(e);var f=c.length;for(var h=0;h<f;++h){var p=c[h];if(p==="loc"){t[p]=e[p]}else if(p==="tokens"&&e.type==="File"){t[p]=e[p]}else{t[p]=this.copy(e[p])}}this.indent=n;this.startTokenIndex=a;this.endTokenIndex=s;return t};h.findTokenRange=function(e){while(this.startTokenIndex>0){var t=e.tokens[this.startTokenIndex];if(u.comparePos(e.start,t.loc.start)<0){--this.startTokenIndex}else break}while(this.endTokenIndex<e.tokens.length){var t=e.tokens[this.endTokenIndex];if(u.comparePos(t.loc.end,e.end)<0){++this.endTokenIndex}else break}while(this.startTokenIndex<this.endTokenIndex){var t=e.tokens[this.startTokenIndex];if(u.comparePos(t.loc.start,e.start)<0){++this.startTokenIndex}else break}e.start.token=this.startTokenIndex;while(this.endTokenIndex>this.startTokenIndex){var t=e.tokens[this.endTokenIndex-1];if(u.comparePos(e.end,t.loc.end)<0){--this.endTokenIndex}else break}e.end.token=this.endTokenIndex}}));n(Xi);var Ji=Xi.parse;var qi=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});var i=r(Jt);var a=n(k);var s=a.namedTypes;var o=a.builtInTypes.array;var l=a.builtInTypes.number;var u=n(On);var c=function e(t){i.default.ok(this instanceof e);this.stack=[t]};var f=c.prototype;c.from=function(e){if(e instanceof c){return e.copy()}if(e instanceof a.NodePath){var t=Object.create(c.prototype);var r=[e.value];for(var n;n=e.parentPath;e=n)r.push(e.name,n.value);t.stack=r.reverse();return t}return new c(e)};f.copy=function e(){var e=Object.create(c.prototype);e.stack=this.stack.slice(0);return e};f.getName=function e(){var t=this.stack;var r=t.length;if(r>1){return t[r-2]}return null};f.getValue=function e(){var t=this.stack;return t[t.length-1]};f.valueIsDuplicate=function(){var e=this.stack;var t=e.length-1;return e.lastIndexOf(e[t],t-1)>=0};function h(e,t){var r=e.stack;for(var n=r.length-1;n>=0;n-=2){var i=r[n];if(s.Node.check(i)&&--t<0){return i}}return null}f.getNode=function e(t){if(t===void 0){t=0}return h(this,~~t)};f.getParentNode=function e(t){if(t===void 0){t=0}return h(this,~~t+1)};f.getRootValue=function e(){var t=this.stack;if(t.length%2===0){return t[1]}return t[0]};f.call=function e(t){var r=this.stack;var n=r.length;var i=r[n-1];var a=arguments.length;for(var s=1;s<a;++s){var o=arguments[s];i=i[o];r.push(o,i)}var l=t(this);r.length=n;return l};f.each=function e(t){var r=this.stack;var n=r.length;var i=r[n-1];var a=arguments.length;for(var s=1;s<a;++s){var o=arguments[s];i=i[o];r.push(o,i)}for(var s=0;s<i.length;++s){if(s in i){r.push(s,i[s]);t(this);r.length-=2}}r.length=n};f.map=function e(t){var r=this.stack;var n=r.length;var i=r[n-1];var a=arguments.length;for(var s=1;s<a;++s){var o=arguments[s];i=i[o];r.push(o,i)}var l=new Array(i.length);for(var s=0;s<i.length;++s){if(s in i){r.push(s,i[s]);l[s]=t(this,s);r.length-=2}}r.length=n;return l};f.hasParens=function(){var e=this.getNode();var t=this.getPrevToken(e);if(!t){return false}var r=this.getNextToken(e);if(!r){return false}if(t.value==="("){if(r.value===")"){return true}var n=!this.canBeFirstInStatement()&&this.firstInStatement()&&!this.needsParens(true);if(n){return true}}return false};f.getPrevToken=function(e){e=e||this.getNode();var t=e&&e.loc;var r=t&&t.tokens;if(r&&t.start.token>0){var n=r[t.start.token-1];if(n){var i=this.getRootValue().loc;if(u.comparePos(i.start,n.loc.start)<=0){return n}}}return null};f.getNextToken=function(e){e=e||this.getNode();var t=e&&e.loc;var r=t&&t.tokens;if(r&&t.end.token<r.length){var n=r[t.end.token];if(n){var i=this.getRootValue().loc;if(u.comparePos(n.loc.end,i.end)<=0){return n}}}return null};f.needsParens=function(e){var t=this.getNode();if(t.type==="AssignmentExpression"&&t.left.type==="ObjectPattern"){return true}var r=this.getParentNode();if(!r){return false}var n=this.getName();if(this.getValue()!==t){return false}if(s.Statement.check(t)){return false}if(t.type==="Identifier"){return false}if(r.type==="ParenthesizedExpression"){return false}switch(t.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return r.type==="MemberExpression"&&n==="object"&&r.object===t;case"BinaryExpression":case"LogicalExpression":switch(r.type){case"CallExpression":return n==="callee"&&r.callee===t;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return true;case"MemberExpression":return n==="object"&&r.object===t;case"BinaryExpression":case"LogicalExpression":var a=r.operator;var o=d[a];var u=t.operator;var c=d[u];if(o>c){return true}if(o===c&&n==="right"){i.default.strictEqual(r.right,t);return true}default:return false}case"SequenceExpression":switch(r.type){case"ReturnStatement":return false;case"ForStatement":return false;case"ExpressionStatement":return n!=="expression";default:return true}case"YieldExpression":switch(r.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return true;default:return false}case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return r.type==="NullableTypeAnnotation";case"Literal":return r.type==="MemberExpression"&&l.check(t.value)&&n==="object"&&r.object===t;case"NumericLiteral":return r.type==="MemberExpression"&&n==="object"&&r.object===t;case"AssignmentExpression":case"ConditionalExpression":switch(r.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return true;case"CallExpression":case"NewExpression":return n==="callee"&&r.callee===t;case"ConditionalExpression":return n==="test"&&r.test===t;case"MemberExpression":return n==="object"&&r.object===t;default:return false}case"ArrowFunctionExpression":if(s.CallExpression.check(r)&&n==="callee"){return true}if(s.MemberExpression.check(r)&&n==="object"){return true}return p(r);case"ObjectExpression":if(r.type==="ArrowFunctionExpression"&&n==="body"){return true}break;case"TSAsExpression":if(r.type==="ArrowFunctionExpression"&&n==="body"&&t.expression.type==="ObjectExpression"){return true}break;case"CallExpression":if(n==="declaration"&&s.ExportDefaultDeclaration.check(r)&&s.FunctionExpression.check(t.callee)){return true}}if(r.type==="NewExpression"&&n==="callee"&&r.callee===t){return m(t)}if(e!==true&&!this.canBeFirstInStatement()&&this.firstInStatement()){return true}return false};function p(e){return s.BinaryExpression.check(e)||s.LogicalExpression.check(e)}var d={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%","**"]].forEach((function(e,t){e.forEach((function(e){d[e]=t}))}));function m(e){if(s.CallExpression.check(e)){return true}if(o.check(e)){return e.some(m)}if(s.Node.check(e)){return a.someField(e,(function(e,t){return m(t)}))}return false}f.canBeFirstInStatement=function(){var e=this.getNode();if(s.FunctionExpression.check(e)){return false}if(s.ObjectExpression.check(e)){return false}if(s.ClassExpression.check(e)){return false}return true};f.firstInStatement=function(){var e=this.stack;var t,r;var n,a;for(var o=e.length-1;o>=0;o-=2){if(s.Node.check(e[o])){n=t;a=r;t=e[o-1];r=e[o]}if(!r||!a){continue}if(s.BlockStatement.check(r)&&t==="body"&&n===0){i.default.strictEqual(r.body[0],a);return true}if(s.ExpressionStatement.check(r)&&n==="expression"){i.default.strictEqual(r.expression,a);return true}if(s.AssignmentExpression.check(r)&&n==="left"){i.default.strictEqual(r.left,a);return true}if(s.ArrowFunctionExpression.check(r)&&n==="body"){i.default.strictEqual(r.body,a);return true}if(s.SequenceExpression.check(r)&&t==="expressions"&&n===0){i.default.strictEqual(r.expressions[0],a);continue}if(s.CallExpression.check(r)&&n==="callee"){i.default.strictEqual(r.callee,a);continue}if(s.MemberExpression.check(r)&&n==="object"){i.default.strictEqual(r.object,a);continue}if(s.ConditionalExpression.check(r)&&n==="test"){i.default.strictEqual(r.test,a);continue}if(p(r)&&n==="left"){i.default.strictEqual(r.left,a);continue}if(s.UnaryExpression.check(r)&&!r.prefix&&n==="argument"){i.default.strictEqual(r.argument,a);continue}return false}return true};t.default=c}));n(qi);var Wi=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});var i=r(Jt);var a=n(vi);var s=n(k);var o=s.namedTypes.Printable;var l=s.namedTypes.Expression;var u=s.namedTypes.ReturnStatement;var c=s.namedTypes.SourceLocation;var f=r(qi);var h=s.builtInTypes.object;var p=s.builtInTypes.array;var d=s.builtInTypes.string;var m=/[0-9a-z_$]/i;var v=function e(t){i.default.ok(this instanceof e);i.default.ok(t instanceof a.Lines);var r=this,n=[];r.replace=function(e,t){if(d.check(t))t=a.fromString(t);n.push({lines:t,start:e.start,end:e.end})};r.get=function(e){e=e||{start:{line:1,column:0},end:{line:t.length,column:t.getLineLength(t.length)}};var r=e.start,s=[];function o(e,r){i.default.ok(On.comparePos(e,r)<=0);s.push(t.slice(e,r))}n.sort((function(e,t){return On.comparePos(e.start,t.start)})).forEach((function(e){if(On.comparePos(r,e.start)>0);else{o(r,e.start);s.push(e.lines);r=e.end}}));o(r,e.end);return a.concat(s)}};t.Patcher=v;var g=v.prototype;g.tryToReprintComments=function(e,t,r){var n=this;if(!e.comments&&!t.comments){return true}var a=f.default.from(e);var s=f.default.from(t);a.stack.push("comments",y(e));s.stack.push("comments",y(t));var o=[];var l=C(a,s,o);if(l&&o.length>0){o.forEach((function(e){var t=e.oldPath.getValue();i.default.ok(t.leading||t.trailing);n.replace(t.loc,r(e.newPath).indentTail(t.loc.indent))}))}return l};function y(e){var t=[];if(e.comments&&e.comments.length>0){e.comments.forEach((function(e){if(e.leading||e.trailing){t.push(e)}}))}return t}g.deleteComments=function(e){if(!e.comments){return}var t=this;e.comments.forEach((function(r){if(r.leading){t.replace({start:r.loc.start,end:e.loc.lines.skipSpaces(r.loc.end,false,false)},"")}else if(r.trailing){t.replace({start:e.loc.lines.skipSpaces(r.loc.start,true,false),end:r.loc.end},"")}}))};function x(e){i.default.ok(e instanceof f.default);var t=e.getValue();if(!o.check(t))return;var r=t.original;var n=r&&r.loc;var s=n&&n.lines;var l=[];if(!s||!S(e,l))return;return function(t){var i=new v(s);l.forEach((function(e){var r=e.newPath.getValue();var n=e.oldPath.getValue();c.assert(n.loc,true);var o=!i.tryToReprintComments(r,n,t);if(o){i.deleteComments(n)}var l=t(e.newPath,{includeComments:o,avoidRootParens:n.type===r.type&&e.oldPath.hasParens()}).indentTail(n.loc.indent);var u=E(s,n.loc,l);var f=b(s,n.loc,l);if(u||f){var h=[];u&&h.push(" ");h.push(l);f&&h.push(" ");l=a.concat(h)}i.replace(n.loc,l)}));var o=i.get(n).indentTail(-r.loc.indent);if(e.needsParens()){return a.concat(["(",o,")"])}return o}}t.getReprinter=x;function E(e,t,r){var n=On.copyPos(t.start);var i=e.prevPos(n)&&e.charAt(n);var a=r.charAt(r.firstPos());return i&&m.test(i)&&a&&m.test(a)}function b(e,t,r){var n=e.charAt(t.end);var i=r.lastPos();var a=r.prevPos(i)&&r.charAt(i);return a&&m.test(a)&&n&&m.test(n)}function S(e,t){var r=e.getValue();o.assert(r);var n=r.original;o.assert(n);i.default.deepEqual(t,[]);if(r.type!==n.type){return false}var a=new f.default(n);var s=A(e,a,t);if(!s){t.length=0}return s}function D(e,t,r){var n=e.getValue();var i=t.getValue();if(n===i)return true;if(p.check(n))return C(e,t,r);if(h.check(n))return w(e,t,r);return false}function C(e,t,r){var n=e.getValue();var i=t.getValue();if(n===i||e.valueIsDuplicate()||t.valueIsDuplicate()){return true}p.assert(n);var a=n.length;if(!(p.check(i)&&i.length===a))return false;for(var s=0;s<a;++s){e.stack.push(s,n[s]);t.stack.push(s,i[s]);var o=D(e,t,r);e.stack.length-=2;t.stack.length-=2;if(!o){return false}}return true}function w(e,t,r){var n=e.getValue();h.assert(n);if(n.original===null){return false}var i=t.getValue();if(!h.check(i))return false;if(n===i||e.valueIsDuplicate()||t.valueIsDuplicate()){return true}if(o.check(n)){if(!o.check(i)){return false}if(n.type===i.type){var a=[];if(A(e,t,a)){r.push.apply(r,a)}else if(i.loc){r.push({oldPath:t.copy(),newPath:e.copy()})}else{return false}return true}if(l.check(n)&&l.check(i)&&i.loc){r.push({oldPath:t.copy(),newPath:e.copy()});return true}return false}return A(e,t,r)}function A(e,t,r){var n=e.getValue();var i=t.getValue();h.assert(n);h.assert(i);if(n.original===null){return false}if(e.needsParens()&&!t.hasParens()){return false}var a=On.getUnionOfKeys(i,n);if(i.type==="File"||n.type==="File"){delete a.tokens}delete a.loc;var o=r.length;for(var l in a){if(l.charAt(0)==="_"){continue}e.stack.push(l,s.getFieldValue(n,l));t.stack.push(l,s.getFieldValue(i,l));var c=D(e,t,r);e.stack.length-=2;t.stack.length-=2;if(!c){return false}}if(u.check(e.getNode())&&r.length>o){return false}return true}}));n(Wi);var Hi=Wi.Patcher;var Ki=Wi.getReprinter;var $i=i((function(e,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});var i=r(Jt);var a=n(k);var s=a.namedTypes;var o=a.builtInTypes.string;var l=a.builtInTypes.object;var u=r(qi);var c=n(On);var f=function e(t,r){i.default.ok(this instanceof e);o.assert(t);this.code=t;if(r){l.assert(r);this.map=r}};var h=f.prototype;var p=false;h.toString=function(){if(!p){console.warn("Deprecation warning: recast.print now returns an object with "+"a .code property. You appear to be treating the object as a "+"string, which might still work but is strongly discouraged.");p=true}return this.code};var d=new f("");var m=function e(t){i.default.ok(this instanceof e);var r=t&&t.tabWidth;t=pi.normalize(t);t.sourceFileName=null;function n(e,t){e=Object.assign({},e,t);return function(t){return a(t,e)}}function a(e,s){i.default.ok(e instanceof u.default);s=s||{};if(s.includeComments){return Vi.printComments(e,n(s,{includeComments:false}))}var o=t.tabWidth;if(!r){var l=e.getNode().loc;if(l&&l.lines&&l.lines.guessTabWidth){t.tabWidth=l.lines.guessTabWidth()}}var c=Wi.getReprinter(e);var f=c?c(a):v(e,t,s,n(s,{includeComments:true,avoidRootParens:false}));t.tabWidth=o;return f}this.print=function(e){if(!e){return d}var r=a(u.default.from(e),{includeComments:true,avoidRootParens:false});return new f(r.toString(t),c.composeSourceMaps(t.inputSourceMap,r.getSourceMap(t.sourceMapName,t.sourceRoot)))};this.printGenerically=function(e){if(!e){return d}function r(e){return Vi.printComments(e,(function(e){return v(e,t,{includeComments:true,avoidRootParens:false},r)}))}var n=u.default.from(e);var i=t.reuseWhitespace;t.reuseWhitespace=false;var a=new f(r(n).toString(t));t.reuseWhitespace=i;return a}};t.Printer=m;function v(e,t,r,n){i.default.ok(e instanceof u.default);var a=e.getValue();var s=[];var o=g(e,t,n);if(!a||o.isEmpty()){return o}var l=false;var c=y(e,n);if(c.isEmpty()){if(!r.avoidRootParens){l=e.needsParens()}}else{s.push(c)}if(l){s.unshift("(")}s.push(o);if(l){s.push(")")}return vi.concat(s)}function g(e,t,r){var n=e.getValue();if(!n){return vi.fromString("")}if(typeof n==="string"){return vi.fromString(n,t)}s.Printable.assert(n);var a=[];switch(n.type){case"File":return e.call(r,"program");case"Program":if(n.directives){e.each((function(e){a.push(r(e),";\n")}),"directives")}if(n.interpreter){a.push(e.call(r,"interpreter"))}a.push(e.call((function(e){return x(e,t,r)}),"body"));return vi.concat(a);case"Noop":case"EmptyStatement":return vi.fromString("");case"ExpressionStatement":return vi.concat([e.call(r,"expression"),";"]);case"ParenthesizedExpression":return vi.concat(["(",e.call(r,"expression"),")"]);case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":return vi.fromString(" ").join([e.call(r,"left"),n.operator,e.call(r,"right")]);case"AssignmentPattern":return vi.concat([e.call(r,"left")," = ",e.call(r,"right")]);case"MemberExpression":case"OptionalMemberExpression":a.push(e.call(r,"object"));var o=e.call(r,"property");var l=n.type==="OptionalMemberExpression"&&n.optional;if(n.computed){a.push(l?"?.[":"[",o,"]")}else{a.push(l?"?.":".",o)}return vi.concat(a);case"MetaProperty":return vi.concat([e.call(r,"meta"),".",e.call(r,"property")]);case"BindExpression":if(n.object){a.push(e.call(r,"object"))}a.push("::",e.call(r,"callee"));return vi.concat(a);case"Path":return vi.fromString(".").join(n.body);case"Identifier":return vi.concat([vi.fromString(n.name,t),n.optional?"?":"",e.call(r,"typeAnnotation")]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"ObjectTypeSpreadProperty":case"RestElement":return vi.concat(["...",e.call(r,"argument"),e.call(r,"typeAnnotation")]);case"FunctionDeclaration":case"FunctionExpression":case"TSDeclareFunction":if(n.declare){a.push("declare ")}if(n.async){a.push("async ")}a.push("function");if(n.generator)a.push("*");if(n.id){a.push(" ",e.call(r,"id"),e.call(r,"typeParameters"))}else{if(n.typeParameters){a.push(e.call(r,"typeParameters"))}}a.push("(",D(e,t,r),")",e.call(r,"returnType"));if(n.body){a.push(" ",e.call(r,"body"))}return vi.concat(a);case"ArrowFunctionExpression":if(n.async){a.push("async ")}if(n.typeParameters){a.push(e.call(r,"typeParameters"))}if(!t.arrowParensAlways&&n.params.length===1&&!n.rest&&n.params[0].type==="Identifier"&&!n.params[0].typeAnnotation&&!n.returnType){a.push(e.call(r,"params",0))}else{a.push("(",D(e,t,r),")",e.call(r,"returnType"))}a.push(" => ",e.call(r,"body"));return vi.concat(a);case"MethodDefinition":return b(e,t,r);case"YieldExpression":a.push("yield");if(n.delegate)a.push("*");if(n.argument)a.push(" ",e.call(r,"argument"));return vi.concat(a);case"AwaitExpression":a.push("await");if(n.all)a.push("*");if(n.argument)a.push(" ",e.call(r,"argument"));return vi.concat(a);case"ModuleDeclaration":a.push("module",e.call(r,"id"));if(n.source){i.default.ok(!n.body);a.push("from",e.call(r,"source"))}else{a.push(e.call(r,"body"))}return vi.fromString(" ").join(a);case"ImportSpecifier":if(n.importKind&&n.importKind!=="value"){a.push(n.importKind+" ")}if(n.imported){a.push(e.call(r,"imported"));if(n.local&&n.local.name!==n.imported.name){a.push(" as ",e.call(r,"local"))}}else if(n.id){a.push(e.call(r,"id"));if(n.name){a.push(" as ",e.call(r,"name"))}}return vi.concat(a);case"ExportSpecifier":if(n.local){a.push(e.call(r,"local"));if(n.exported&&n.exported.name!==n.local.name){a.push(" as ",e.call(r,"exported"))}}else if(n.id){a.push(e.call(r,"id"));if(n.name){a.push(" as ",e.call(r,"name"))}}return vi.concat(a);case"ExportBatchSpecifier":return vi.fromString("*");case"ImportNamespaceSpecifier":a.push("* as ");if(n.local){a.push(e.call(r,"local"))}else if(n.id){a.push(e.call(r,"id"))}return vi.concat(a);case"ImportDefaultSpecifier":if(n.local){return e.call(r,"local")}return e.call(r,"id");case"TSExportAssignment":return vi.concat(["export = ",e.call(r,"expression")]);case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return C(e,t,r);case"ExportAllDeclaration":a.push("export *");if(n.exported){a.push(" as ",e.call(r,"exported"))}a.push(" from ",e.call(r,"source"),";");return vi.concat(a);case"TSNamespaceExportDeclaration":a.push("export as namespace ",e.call(r,"id"));return M(vi.concat(a));case"ExportNamespaceSpecifier":return vi.concat(["* as ",e.call(r,"exported")]);case"ExportDefaultSpecifier":return e.call(r,"exported");case"Import":return vi.fromString("import",t);case"ImportDeclaration":{a.push("import ");if(n.importKind&&n.importKind!=="value"){a.push(n.importKind+" ")}if(n.specifiers&&n.specifiers.length>0){var u=[];var f=[];e.each((function(e){var t=e.getValue();if(t.type==="ImportSpecifier"){f.push(r(e))}else if(t.type==="ImportDefaultSpecifier"||t.type==="ImportNamespaceSpecifier"){u.push(r(e))}}),"specifiers");u.forEach((function(e,t){if(t>0){a.push(", ")}a.push(e)}));if(f.length>0){var h=vi.fromString(", ").join(f);if(h.getLineLength(1)>t.wrapColumn){h=vi.concat([vi.fromString(",\n").join(f).indent(t.tabWidth),","])}if(u.length>0){a.push(", ")}if(h.length>1){a.push("{\n",h,"\n}")}else if(t.objectCurlySpacing){a.push("{ ",h," }")}else{a.push("{",h,"}")}}a.push(" from ")}a.push(e.call(r,"source"),";");return vi.concat(a)}case"BlockStatement":var p=e.call((function(e){return x(e,t,r)}),"body");if(p.isEmpty()){if(!n.directives||n.directives.length===0){return vi.fromString("{}")}}a.push("{\n");if(n.directives){e.each((function(e){a.push(M(r(e).indent(t.tabWidth)),n.directives.length>1||!p.isEmpty()?"\n":"")}),"directives")}a.push(p.indent(t.tabWidth));a.push("\n}");return vi.concat(a);case"ReturnStatement":a.push("return");if(n.argument){var d=e.call(r,"argument");if(d.startsWithComment()||d.length>1&&s.JSXElement&&s.JSXElement.check(n.argument)){a.push(" (\n",d.indent(t.tabWidth),"\n)")}else{a.push(" ",d)}}a.push(";");return vi.concat(a);case"CallExpression":case"OptionalCallExpression":a.push(e.call(r,"callee"));if(n.typeParameters){a.push(e.call(r,"typeParameters"))}if(n.typeArguments){a.push(e.call(r,"typeArguments"))}if(n.type==="OptionalCallExpression"&&n.callee.type!=="OptionalMemberExpression"){a.push("?.")}a.push(S(e,t,r));return vi.concat(a);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":var m=false;var v=n.type==="ObjectTypeAnnotation";var g=t.flowObjectCommas?",":v?";":",";var y=[];if(v){y.push("indexers","callProperties");if(n.internalSlots!=null){y.push("internalSlots")}}y.push("properties");var E=0;y.forEach((function(e){E+=n[e].length}));var k=v&&E===1||E===0;var _=n.exact?"{|":"{";var F=n.exact?"|}":"}";a.push(k?_:_+"\n");var N=a.length-1;var L=0;y.forEach((function(n){e.each((function(e){var n=r(e);if(!k){n=n.indent(t.tabWidth)}var i=!v&&n.length>1;if(i&&m){a.push("\n")}a.push(n);if(L<E-1){a.push(g+(i?"\n\n":"\n"));m=!i}else if(E!==1&&v){a.push(g)}else if(!k&&c.isTrailingCommaEnabled(t,"objects")){a.push(g)}L++}),n)}));if(n.inexact){var B=vi.fromString("...",t);if(k){if(E>0){a.push(g," ")}a.push(B)}else{a.push("\n",B.indent(t.tabWidth))}}a.push(k?F:"\n"+F);if(L!==0&&k&&t.objectCurlySpacing){a[N]=_+" ";a[a.length-1]=" "+F}if(n.typeAnnotation){a.push(e.call(r,"typeAnnotation"))}return vi.concat(a);case"PropertyPattern":return vi.concat([e.call(r,"key"),": ",e.call(r,"pattern")]);case"ObjectProperty":case"Property":if(n.method||n.kind==="get"||n.kind==="set"){return b(e,t,r)}if(n.shorthand&&n.value.type==="AssignmentPattern"){return e.call(r,"value")}var O=e.call(r,"key");if(n.computed){a.push("[",O,"]")}else{a.push(O)}if(!n.shorthand){a.push(": ",e.call(r,"value"))}return vi.concat(a);case"ClassMethod":case"ObjectMethod":case"ClassPrivateMethod":case"TSDeclareMethod":return b(e,t,r);case"PrivateName":return vi.concat(["#",e.call(r,"id")]);case"Decorator":return vi.concat(["@",e.call(r,"expression")]);case"ArrayExpression":case"ArrayPattern":var R=n.elements,E=R.length;var j=e.map(r,"elements");var U=vi.fromString(", ").join(j);var k=U.getLineLength(1)<=t.wrapColumn;if(k){if(t.arrayBracketSpacing){a.push("[ ")}else{a.push("[")}}else{a.push("[\n")}e.each((function(e){var r=e.getName();var n=e.getValue();if(!n){a.push(",")}else{var i=j[r];if(k){if(r>0)a.push(" ")}else{i=i.indent(t.tabWidth)}a.push(i);if(r<E-1||!k&&c.isTrailingCommaEnabled(t,"arrays"))a.push(",");if(!k)a.push("\n")}}),"elements");if(k&&t.arrayBracketSpacing){a.push(" ]")}else{a.push("]")}if(n.typeAnnotation){a.push(e.call(r,"typeAnnotation"))}return vi.concat(a);case"SequenceExpression":return vi.fromString(", ").join(e.map(r,"expressions"));case"ThisExpression":return vi.fromString("this");case"Super":return vi.fromString("super");case"NullLiteral":return vi.fromString("null");case"RegExpLiteral":return vi.fromString(n.extra.raw);case"BigIntLiteral":return vi.fromString(n.value+"n");case"NumericLiteral":if(n.extra&&typeof n.extra.raw==="string"&&Number(n.extra.raw)===n.value){return vi.fromString(n.extra.raw,t)}return vi.fromString(n.value,t);case"BooleanLiteral":case"StringLiteral":case"Literal":if(typeof n.value==="number"&&typeof n.raw==="string"&&Number(n.raw)===n.value){return vi.fromString(n.raw,t)}if(typeof n.value!=="string"){return vi.fromString(n.value,t)}return vi.fromString(I(n.value,t),t);case"Directive":return e.call(r,"value");case"DirectiveLiteral":return vi.fromString(I(n.value,t));case"InterpreterDirective":return vi.fromString("#!"+n.value+"\n",t);case"ModuleSpecifier":if(n.local){throw new Error("The ESTree ModuleSpecifier type should be abstract")}return vi.fromString(I(n.value,t),t);case"UnaryExpression":a.push(n.operator);if(/[a-z]$/.test(n.operator))a.push(" ");a.push(e.call(r,"argument"));return vi.concat(a);case"UpdateExpression":a.push(e.call(r,"argument"),n.operator);if(n.prefix)a.reverse();return vi.concat(a);case"ConditionalExpression":return vi.concat([e.call(r,"test")," ? ",e.call(r,"consequent")," : ",e.call(r,"alternate")]);case"NewExpression":a.push("new ",e.call(r,"callee"));if(n.typeParameters){a.push(e.call(r,"typeParameters"))}if(n.typeArguments){a.push(e.call(r,"typeArguments"))}var V=n.arguments;if(V){a.push(S(e,t,r))}return vi.concat(a);case"VariableDeclaration":if(n.declare){a.push("declare ")}a.push(n.kind," ");var G=0;var j=e.map((function(e){var t=r(e);G=Math.max(t.length,G);return t}),"declarations");if(G===1){a.push(vi.fromString(", ").join(j))}else if(j.length>1){a.push(vi.fromString(",\n").join(j).indentTail(n.kind.length+1))}else{a.push(j[0])}var z=e.getParentNode();if(!s.ForStatement.check(z)&&!s.ForInStatement.check(z)&&!(s.ForOfStatement&&s.ForOfStatement.check(z))&&!(s.ForAwaitStatement&&s.ForAwaitStatement.check(z))){a.push(";")}return vi.concat(a);case"VariableDeclarator":return n.init?vi.fromString(" = ").join([e.call(r,"id"),e.call(r,"init")]):e.call(r,"id");case"WithStatement":return vi.concat(["with (",e.call(r,"object"),") ",e.call(r,"body")]);case"IfStatement":var X=T(e.call(r,"consequent"),t);a.push("if (",e.call(r,"test"),")",X);if(n.alternate)a.push(P(X)?" else":"\nelse",T(e.call(r,"alternate"),t));return vi.concat(a);case"ForStatement":var J=e.call(r,"init"),q=J.length>1?";\n":"; ",W="for (",H=vi.fromString(q).join([J,e.call(r,"test"),e.call(r,"update")]).indentTail(W.length),K=vi.concat([W,H,")"]),$=T(e.call(r,"body"),t);a.push(K);if(K.length>1){a.push("\n");$=$.trimLeft()}a.push($);return vi.concat(a);case"WhileStatement":return vi.concat(["while (",e.call(r,"test"),")",T(e.call(r,"body"),t)]);case"ForInStatement":return vi.concat([n.each?"for each (":"for (",e.call(r,"left")," in ",e.call(r,"right"),")",T(e.call(r,"body"),t)]);case"ForOfStatement":case"ForAwaitStatement":a.push("for ");if(n.await||n.type==="ForAwaitStatement"){a.push("await ")}a.push("(",e.call(r,"left")," of ",e.call(r,"right"),")",T(e.call(r,"body"),t));return vi.concat(a);case"DoWhileStatement":var Y=vi.concat(["do",T(e.call(r,"body"),t)]);a.push(Y);if(P(Y))a.push(" while");else a.push("\nwhile");a.push(" (",e.call(r,"test"),");");return vi.concat(a);case"DoExpression":var Q=e.call((function(e){return x(e,t,r)}),"body");return vi.concat(["do {\n",Q.indent(t.tabWidth),"\n}"]);case"BreakStatement":a.push("break");if(n.label)a.push(" ",e.call(r,"label"));a.push(";");return vi.concat(a);case"ContinueStatement":a.push("continue");if(n.label)a.push(" ",e.call(r,"label"));a.push(";");return vi.concat(a);case"LabeledStatement":return vi.concat([e.call(r,"label"),":\n",e.call(r,"body")]);case"TryStatement":a.push("try ",e.call(r,"block"));if(n.handler){a.push(" ",e.call(r,"handler"))}else if(n.handlers){e.each((function(e){a.push(" ",r(e))}),"handlers")}if(n.finalizer){a.push(" finally ",e.call(r,"finalizer"))}return vi.concat(a);case"CatchClause":a.push("catch ");if(n.param){a.push("(",e.call(r,"param"))}if(n.guard){a.push(" if ",e.call(r,"guard"))}if(n.param){a.push(") ")}a.push(e.call(r,"body"));return vi.concat(a);case"ThrowStatement":return vi.concat(["throw ",e.call(r,"argument"),";"]);case"SwitchStatement":return vi.concat(["switch (",e.call(r,"discriminant"),") {\n",vi.fromString("\n").join(e.map(r,"cases")),"\n}"]);case"SwitchCase":if(n.test)a.push("case ",e.call(r,"test"),":");else a.push("default:");if(n.consequent.length>0){a.push("\n",e.call((function(e){return x(e,t,r)}),"consequent").indent(t.tabWidth))}return vi.concat(a);case"DebuggerStatement":return vi.fromString("debugger;");case"JSXAttribute":a.push(e.call(r,"name"));if(n.value)a.push("=",e.call(r,"value"));return vi.concat(a);case"JSXIdentifier":return vi.fromString(n.name,t);case"JSXNamespacedName":return vi.fromString(":").join([e.call(r,"namespace"),e.call(r,"name")]);case"JSXMemberExpression":return vi.fromString(".").join([e.call(r,"object"),e.call(r,"property")]);case"JSXSpreadAttribute":return vi.concat(["{...",e.call(r,"argument"),"}"]);case"JSXSpreadChild":return vi.concat(["{...",e.call(r,"expression"),"}"]);case"JSXExpressionContainer":return vi.concat(["{",e.call(r,"expression"),"}"]);case"JSXElement":case"JSXFragment":var Z="opening"+(n.type==="JSXElement"?"Element":"Fragment");var ee="closing"+(n.type==="JSXElement"?"Element":"Fragment");var te=e.call(r,Z);if(n[Z].selfClosing){i.default.ok(!n[ee],"unexpected "+ee+" element in self-closing "+n.type);return te}var re=vi.concat(e.map((function(e){var t=e.getValue();if(s.Literal.check(t)&&typeof t.value==="string"){if(/\S/.test(t.value)){return t.value.replace(/^\s+|\s+$/g,"")}else if(/\n/.test(t.value)){return"\n"}}return r(e)}),"children")).indentTail(t.tabWidth);var ne=e.call(r,ee);return vi.concat([te,re,ne]);case"JSXOpeningElement":a.push("<",e.call(r,"name"));var ie=[];e.each((function(e){ie.push(" ",r(e))}),"attributes");var ae=vi.concat(ie);var se=ae.length>1||ae.getLineLength(1)>t.wrapColumn;if(se){ie.forEach((function(e,t){if(e===" "){i.default.strictEqual(t%2,0);ie[t]="\n"}}));ae=vi.concat(ie).indentTail(t.tabWidth)}a.push(ae,n.selfClosing?" />":">");return vi.concat(a);case"JSXClosingElement":return vi.concat(["</",e.call(r,"name"),">"]);case"JSXOpeningFragment":return vi.fromString("<>");case"JSXClosingFragment":return vi.fromString("</>");case"JSXText":return vi.fromString(n.value,t);case"JSXEmptyExpression":return vi.fromString("");case"TypeAnnotatedIdentifier":return vi.concat([e.call(r,"annotation")," ",e.call(r,"identifier")]);case"ClassBody":if(n.body.length===0){return vi.fromString("{}")}return vi.concat(["{\n",e.call((function(e){return x(e,t,r)}),"body").indent(t.tabWidth),"\n}"]);case"ClassPropertyDefinition":a.push("static ",e.call(r,"definition"));if(!s.MethodDefinition.check(n.definition))a.push(";");return vi.concat(a);case"ClassProperty":var oe=n.accessibility||n.access;if(typeof oe==="string"){a.push(oe," ")}if(n.static){a.push("static ")}if(n.abstract){a.push("abstract ")}if(n.readonly){a.push("readonly ")}var O=e.call(r,"key");if(n.computed){O=vi.concat(["[",O,"]"])}if(n.variance){O=vi.concat([A(e,r),O])}a.push(O);if(n.optional){a.push("?")}if(n.typeAnnotation){a.push(e.call(r,"typeAnnotation"))}if(n.value){a.push(" = ",e.call(r,"value"))}a.push(";");return vi.concat(a);case"ClassPrivateProperty":if(n.static){a.push("static ")}a.push(e.call(r,"key"));if(n.typeAnnotation){a.push(e.call(r,"typeAnnotation"))}if(n.value){a.push(" = ",e.call(r,"value"))}a.push(";");return vi.concat(a);case"ClassDeclaration":case"ClassExpression":if(n.declare){a.push("declare ")}if(n.abstract){a.push("abstract ")}a.push("class");if(n.id){a.push(" ",e.call(r,"id"))}if(n.typeParameters){a.push(e.call(r,"typeParameters"))}if(n.superClass){a.push(" extends ",e.call(r,"superClass"),e.call(r,"superTypeParameters"))}if(n["implements"]&&n["implements"].length>0){a.push(" implements ",vi.fromString(", ").join(e.map(r,"implements")))}a.push(" ",e.call(r,"body"));return vi.concat(a);case"TemplateElement":return vi.fromString(n.value.raw,t).lockIndentTail();case"TemplateLiteral":var le=e.map(r,"expressions");a.push("`");e.each((function(e){var t=e.getName();a.push(r(e));if(t<le.length){a.push("${",le[t],"}")}}),"quasis");a.push("`");return vi.concat(a).lockIndentTail();case"TaggedTemplateExpression":return vi.concat([e.call(r,"tag"),e.call(r,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"Flow":case"FlowType":case"FlowPredicate":case"MemberTypeAnnotation":case"Type":case"TSHasOptionalTypeParameterInstantiation":case"TSHasOptionalTypeParameters":case"TSHasOptionalTypeAnnotation":throw new Error("unprintable type: "+JSON.stringify(n.type));case"CommentBlock":case"Block":return vi.concat(["/*",vi.fromString(n.value,t),"*/"]);case"CommentLine":case"Line":return vi.concat(["//",vi.fromString(n.value,t)]);case"TypeAnnotation":if(n.typeAnnotation){if(n.typeAnnotation.type!=="FunctionTypeAnnotation"){a.push(": ")}a.push(e.call(r,"typeAnnotation"));return vi.concat(a)}return vi.fromString("");case"ExistentialTypeParam":case"ExistsTypeAnnotation":return vi.fromString("*",t);case"EmptyTypeAnnotation":return vi.fromString("empty",t);case"AnyTypeAnnotation":return vi.fromString("any",t);case"MixedTypeAnnotation":return vi.fromString("mixed",t);case"ArrayTypeAnnotation":return vi.concat([e.call(r,"elementType"),"[]"]);case"TupleTypeAnnotation":var j=e.map(r,"types");var U=vi.fromString(", ").join(j);var k=U.getLineLength(1)<=t.wrapColumn;if(k){if(t.arrayBracketSpacing){a.push("[ ")}else{a.push("[")}}else{a.push("[\n")}e.each((function(e){var r=e.getName();var i=e.getValue();if(!i){a.push(",")}else{var s=j[r];if(k){if(r>0)a.push(" ")}else{s=s.indent(t.tabWidth)}a.push(s);if(r<n.types.length-1||!k&&c.isTrailingCommaEnabled(t,"arrays"))a.push(",");if(!k)a.push("\n")}}),"types");if(k&&t.arrayBracketSpacing){a.push(" ]")}else{a.push("]")}return vi.concat(a);case"BooleanTypeAnnotation":return vi.fromString("boolean",t);case"BooleanLiteralTypeAnnotation":i.default.strictEqual(typeof n.value,"boolean");return vi.fromString(""+n.value,t);case"InterfaceTypeAnnotation":a.push("interface");if(n.extends&&n.extends.length>0){a.push(" extends ",vi.fromString(", ").join(e.map(r,"extends")))}a.push(" ",e.call(r,"body"));return vi.concat(a);case"DeclareClass":return w(e,["class ",e.call(r,"id")," ",e.call(r,"body")]);case"DeclareFunction":return w(e,["function ",e.call(r,"id"),";"]);case"DeclareModule":return w(e,["module ",e.call(r,"id")," ",e.call(r,"body")]);case"DeclareModuleExports":return w(e,["module.exports",e.call(r,"typeAnnotation")]);case"DeclareVariable":return w(e,["var ",e.call(r,"id"),";"]);case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return vi.concat(["declare ",C(e,t,r)]);case"InferredPredicate":return vi.fromString("%checks",t);case"DeclaredPredicate":return vi.concat(["%checks(",e.call(r,"value"),")"]);case"FunctionTypeAnnotation":var ue=e.getParentNode(0);var ce=!(s.ObjectTypeCallProperty.check(ue)||s.ObjectTypeInternalSlot.check(ue)&&ue.method||s.DeclareFunction.check(e.getParentNode(2)));var fe=ce&&!s.FunctionTypeParam.check(ue);if(fe){a.push(": ")}a.push("(",D(e,t,r),")");if(n.returnType){a.push(ce?" => ":": ",e.call(r,"returnType"))}return vi.concat(a);case"FunctionTypeParam":return vi.concat([e.call(r,"name"),n.optional?"?":"",": ",e.call(r,"typeAnnotation")]);case"GenericTypeAnnotation":return vi.concat([e.call(r,"id"),e.call(r,"typeParameters")]);case"DeclareInterface":a.push("declare ");case"InterfaceDeclaration":case"TSInterfaceDeclaration":if(n.declare){a.push("declare ")}a.push("interface ",e.call(r,"id"),e.call(r,"typeParameters")," ");if(n["extends"]&&n["extends"].length>0){a.push("extends ",vi.fromString(", ").join(e.map(r,"extends"))," ")}if(n.body){a.push(e.call(r,"body"))}return vi.concat(a);case"ClassImplements":case"InterfaceExtends":return vi.concat([e.call(r,"id"),e.call(r,"typeParameters")]);case"IntersectionTypeAnnotation":return vi.fromString(" & ").join(e.map(r,"types"));case"NullableTypeAnnotation":return vi.concat(["?",e.call(r,"typeAnnotation")]);case"NullLiteralTypeAnnotation":return vi.fromString("null",t);case"ThisTypeAnnotation":return vi.fromString("this",t);case"NumberTypeAnnotation":return vi.fromString("number",t);case"ObjectTypeCallProperty":return e.call(r,"value");case"ObjectTypeIndexer":return vi.concat([A(e,r),"[",e.call(r,"id"),": ",e.call(r,"key"),"]: ",e.call(r,"value")]);case"ObjectTypeProperty":return vi.concat([A(e,r),e.call(r,"key"),n.optional?"?":"",": ",e.call(r,"value")]);case"ObjectTypeInternalSlot":return vi.concat([n.static?"static ":"","[[",e.call(r,"id"),"]]",n.optional?"?":"",n.value.type!=="FunctionTypeAnnotation"?": ":"",e.call(r,"value")]);case"QualifiedTypeIdentifier":return vi.concat([e.call(r,"qualification"),".",e.call(r,"id")]);case"StringLiteralTypeAnnotation":return vi.fromString(I(n.value,t),t);case"NumberLiteralTypeAnnotation":case"NumericLiteralTypeAnnotation":i.default.strictEqual(typeof n.value,"number");return vi.fromString(JSON.stringify(n.value),t);case"StringTypeAnnotation":return vi.fromString("string",t);case"DeclareTypeAlias":a.push("declare ");case"TypeAlias":return vi.concat(["type ",e.call(r,"id"),e.call(r,"typeParameters")," = ",e.call(r,"right"),";"]);case"DeclareOpaqueType":a.push("declare ");case"OpaqueType":a.push("opaque type ",e.call(r,"id"),e.call(r,"typeParameters"));if(n["supertype"]){a.push(": ",e.call(r,"supertype"))}if(n["impltype"]){a.push(" = ",e.call(r,"impltype"))}a.push(";");return vi.concat(a);case"TypeCastExpression":return vi.concat(["(",e.call(r,"expression"),e.call(r,"typeAnnotation"),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return vi.concat(["<",vi.fromString(", ").join(e.map(r,"params")),">"]);case"Variance":if(n.kind==="plus"){return vi.fromString("+")}if(n.kind==="minus"){return vi.fromString("-")}return vi.fromString("");case"TypeParameter":if(n.variance){a.push(A(e,r))}a.push(e.call(r,"name"));if(n.bound){a.push(e.call(r,"bound"))}if(n["default"]){a.push("=",e.call(r,"default"))}return vi.concat(a);case"TypeofTypeAnnotation":return vi.concat([vi.fromString("typeof ",t),e.call(r,"argument")]);case"UnionTypeAnnotation":return vi.fromString(" | ").join(e.map(r,"types"));case"VoidTypeAnnotation":return vi.fromString("void",t);case"NullTypeAnnotation":return vi.fromString("null",t);case"TSType":throw new Error("unprintable type: "+JSON.stringify(n.type));case"TSNumberKeyword":return vi.fromString("number",t);case"TSBigIntKeyword":return vi.fromString("bigint",t);case"TSObjectKeyword":return vi.fromString("object",t);case"TSBooleanKeyword":return vi.fromString("boolean",t);case"TSStringKeyword":return vi.fromString("string",t);case"TSSymbolKeyword":return vi.fromString("symbol",t);case"TSAnyKeyword":return vi.fromString("any",t);case"TSVoidKeyword":return vi.fromString("void",t);case"TSThisType":return vi.fromString("this",t);case"TSNullKeyword":return vi.fromString("null",t);case"TSUndefinedKeyword":return vi.fromString("undefined",t);case"TSUnknownKeyword":return vi.fromString("unknown",t);case"TSNeverKeyword":return vi.fromString("never",t);case"TSArrayType":return vi.concat([e.call(r,"elementType"),"[]"]);case"TSLiteralType":return e.call(r,"literal");case"TSUnionType":return vi.fromString(" | ").join(e.map(r,"types"));case"TSIntersectionType":return vi.fromString(" & ").join(e.map(r,"types"));case"TSConditionalType":a.push(e.call(r,"checkType")," extends ",e.call(r,"extendsType")," ? ",e.call(r,"trueType")," : ",e.call(r,"falseType"));return vi.concat(a);case"TSInferType":a.push("infer ",e.call(r,"typeParameter"));return vi.concat(a);case"TSParenthesizedType":return vi.concat(["(",e.call(r,"typeAnnotation"),")"]);case"TSFunctionType":return vi.concat([e.call(r,"typeParameters"),"(",D(e,t,r),")",e.call(r,"typeAnnotation")]);case"TSConstructorType":return vi.concat(["new ",e.call(r,"typeParameters"),"(",D(e,t,r),")",e.call(r,"typeAnnotation")]);case"TSMappedType":{a.push(n.readonly?"readonly ":"","[",e.call(r,"typeParameter"),"]",n.optional?"?":"");if(n.typeAnnotation){a.push(": ",e.call(r,"typeAnnotation"),";")}return vi.concat(["{\n",vi.concat(a).indent(t.tabWidth),"\n}"])}case"TSTupleType":return vi.concat(["[",vi.fromString(", ").join(e.map(r,"elementTypes")),"]"]);case"TSRestType":return vi.concat(["...",e.call(r,"typeAnnotation"),"[]"]);case"TSOptionalType":return vi.concat([e.call(r,"typeAnnotation"),"?"]);case"TSIndexedAccessType":return vi.concat([e.call(r,"objectType"),"[",e.call(r,"indexType"),"]"]);case"TSTypeOperator":return vi.concat([e.call(r,"operator")," ",e.call(r,"typeAnnotation")]);case"TSTypeLiteral":{var he=vi.fromString(",\n").join(e.map(r,"members"));if(he.isEmpty()){return vi.fromString("{}",t)}a.push("{\n",he.indent(t.tabWidth),"\n}");return vi.concat(a)}case"TSEnumMember":a.push(e.call(r,"id"));if(n.initializer){a.push(" = ",e.call(r,"initializer"))}return vi.concat(a);case"TSTypeQuery":return vi.concat(["typeof ",e.call(r,"exprName")]);case"TSParameterProperty":if(n.accessibility){a.push(n.accessibility," ")}if(n.export){a.push("export ")}if(n.static){a.push("static ")}if(n.readonly){a.push("readonly ")}a.push(e.call(r,"parameter"));return vi.concat(a);case"TSTypeReference":return vi.concat([e.call(r,"typeName"),e.call(r,"typeParameters")]);case"TSQualifiedName":return vi.concat([e.call(r,"left"),".",e.call(r,"right")]);case"TSAsExpression":{var pe=n.extra&&n.extra.parenthesized===true;if(pe)a.push("(");a.push(e.call(r,"expression"),vi.fromString(" as "),e.call(r,"typeAnnotation"));if(pe)a.push(")");return vi.concat(a)}case"TSNonNullExpression":return vi.concat([e.call(r,"expression"),"!"]);case"TSTypeAnnotation":{var ue=e.getParentNode(0);var de=": ";if(s.TSFunctionType.check(ue)||s.TSConstructorType.check(ue)){de=" => "}if(s.TSTypePredicate.check(ue)){de=" is "}return vi.concat([de,e.call(r,"typeAnnotation")])}case"TSIndexSignature":return vi.concat([n.readonly?"readonly ":"","[",e.map(r,"parameters"),"]",e.call(r,"typeAnnotation")]);case"TSPropertySignature":a.push(A(e,r),n.readonly?"readonly ":"");if(n.computed){a.push("[",e.call(r,"key"),"]")}else{a.push(e.call(r,"key"))}a.push(n.optional?"?":"",e.call(r,"typeAnnotation"));return vi.concat(a);case"TSMethodSignature":if(n.computed){a.push("[",e.call(r,"key"),"]")}else{a.push(e.call(r,"key"))}if(n.optional){a.push("?")}a.push(e.call(r,"typeParameters"),"(",D(e,t,r),")",e.call(r,"typeAnnotation"));return vi.concat(a);case"TSTypePredicate":return vi.concat([e.call(r,"parameterName"),e.call(r,"typeAnnotation")]);case"TSCallSignatureDeclaration":return vi.concat([e.call(r,"typeParameters"),"(",D(e,t,r),")",e.call(r,"typeAnnotation")]);case"TSConstructSignatureDeclaration":if(n.typeParameters){a.push("new",e.call(r,"typeParameters"))}else{a.push("new ")}a.push("(",D(e,t,r),")",e.call(r,"typeAnnotation"));return vi.concat(a);case"TSTypeAliasDeclaration":return vi.concat([n.declare?"declare ":"","type ",e.call(r,"id"),e.call(r,"typeParameters")," = ",e.call(r,"typeAnnotation"),";"]);case"TSTypeParameter":a.push(e.call(r,"name"));var ue=e.getParentNode(0);var me=s.TSMappedType.check(ue);if(n.constraint){a.push(me?" in ":" extends ",e.call(r,"constraint"))}if(n["default"]){a.push(" = ",e.call(r,"default"))}return vi.concat(a);case"TSTypeAssertion":var pe=n.extra&&n.extra.parenthesized===true;if(pe){a.push("(")}a.push("<",e.call(r,"typeAnnotation"),"> ",e.call(r,"expression"));if(pe){a.push(")")}return vi.concat(a);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return vi.concat(["<",vi.fromString(", ").join(e.map(r,"params")),">"]);case"TSEnumDeclaration":a.push(n.declare?"declare ":"",n.const?"const ":"","enum ",e.call(r,"id"));var ve=vi.fromString(",\n").join(e.map(r,"members"));if(ve.isEmpty()){a.push(" {}")}else{a.push(" {\n",ve.indent(t.tabWidth),"\n}")}return vi.concat(a);case"TSExpressionWithTypeArguments":return vi.concat([e.call(r,"expression"),e.call(r,"typeParameters")]);case"TSInterfaceBody":var ge=vi.fromString(";\n").join(e.map(r,"body"));if(ge.isEmpty()){return vi.fromString("{}",t)}return vi.concat(["{\n",ge.indent(t.tabWidth),";","\n}"]);case"TSImportType":a.push("import(",e.call(r,"argument"),")");if(n.qualifier){a.push(".",e.call(r,"qualifier"))}if(n.typeParameters){a.push(e.call(r,"typeParameters"))}return vi.concat(a);case"TSImportEqualsDeclaration":if(n.isExport){a.push("export ")}a.push("import ",e.call(r,"id")," = ",e.call(r,"moduleReference"));return M(vi.concat(a));case"TSExternalModuleReference":return vi.concat(["require(",e.call(r,"expression"),")"]);case"TSModuleDeclaration":{var ye=e.getParentNode();if(ye.type==="TSModuleDeclaration"){a.push(".")}else{if(n.declare){a.push("declare ")}if(!n.global){var xe=n.id.type==="StringLiteral"||n.id.type==="Literal"&&typeof n.id.value==="string";if(xe){a.push("module ")}else if(n.loc&&n.loc.lines&&n.id.loc){var Ee=n.loc.lines.sliceString(n.loc.start,n.id.loc.start);if(Ee.indexOf("module")>=0){a.push("module ")}else{a.push("namespace ")}}else{a.push("namespace ")}}}a.push(e.call(r,"id"));if(n.body&&n.body.type==="TSModuleDeclaration"){a.push(e.call(r,"body"))}else if(n.body){var be=e.call(r,"body");if(be.isEmpty()){a.push(" {}")}else{a.push(" {\n",be.indent(t.tabWidth),"\n}")}}return vi.concat(a)}case"TSModuleBlock":return e.call((function(e){return x(e,t,r)}),"body");case"ClassHeritage":case"ComprehensionBlock":case"ComprehensionExpression":case"Glob":case"GeneratorExpression":case"LetStatement":case"LetExpression":case"GraphExpression":case"GraphIndexExpression":case"XMLDefaultDeclaration":case"XMLAnyName":case"XMLQualifiedIdentifier":case"XMLFunctionQualifiedIdentifier":case"XMLAttributeSelector":case"XMLFilterExpression":case"XML":case"XMLElement":case"XMLList":case"XMLEscape":case"XMLText":case"XMLStartTag":case"XMLEndTag":case"XMLPointTag":case"XMLName":case"XMLAttribute":case"XMLCdata":case"XMLComment":case"XMLProcessingInstruction":default:debugger;throw new Error("unknown type: "+JSON.stringify(n.type))}}function y(e,t){var r=[];var n=e.getValue();if(n.decorators&&n.decorators.length>0&&!c.getParentExportDeclaration(e)){e.each((function(e){r.push(t(e),"\n")}),"decorators")}else if(c.isExportDeclaration(n)&&n.declaration&&n.declaration.decorators){e.each((function(e){r.push(t(e),"\n")}),"declaration","decorators")}return vi.concat(r)}function x(e,t,r){var n=[];var a=false;var l=false;e.each((function(e){var t=e.getValue();if(!t){return}if(t.type==="EmptyStatement"&&!(t.comments&&t.comments.length>0)){return}if(s.Comment.check(t)){a=true}else if(s.Statement.check(t)){l=true}else{o.assert(t)}n.push({node:t,printed:r(e)})}));if(a){i.default.strictEqual(l,false,"Comments may appear as statements in otherwise empty statement "+"lists, but may not coexist with non-Comment nodes.")}var u=null;var f=n.length;var h=[];n.forEach((function(e,r){var n=e.printed;var i=e.node;var a=n.length>1;var s=r>0;var o=r<f-1;var l;var p;var d=i&&i.loc&&i.loc.lines;var m=d&&t.reuseWhitespace&&c.getTrueLoc(i,d);if(s){if(m){var v=d.skipSpaces(m.start,true);var g=v?v.line:1;var y=m.start.line-g;l=Array(y+1).join("\n")}else{l=a?"\n\n":"\n"}}else{l=""}if(o){if(m){var x=d.skipSpaces(m.end);var b=x?x.line:d.length;var S=b-m.end.line;p=Array(S+1).join("\n")}else{p=a?"\n\n":"\n"}}else{p=""}h.push(E(u,l),n);if(o){u=p}else if(p){h.push(p)}}));return vi.concat(h)}function E(e,t){if(!e&&!t){return vi.fromString("")}if(!e){return vi.fromString(t)}if(!t){return vi.fromString(e)}var r=vi.fromString(e);var n=vi.fromString(t);if(n.length>r.length){return n}return r}function b(e,t,r){var n=e.getNode();var i=n.kind;var a=[];var o=n.value;if(!s.FunctionExpression.check(o)){o=n}var l=n.accessibility||n.access;if(typeof l==="string"){a.push(l," ")}if(n.static){a.push("static ")}if(n.abstract){a.push("abstract ")}if(n.readonly){a.push("readonly ")}if(o.async){a.push("async ")}if(o.generator){a.push("*")}if(i==="get"||i==="set"){a.push(i," ")}var u=e.call(r,"key");if(n.computed){u=vi.concat(["[",u,"]"])}a.push(u);if(n.optional){a.push("?")}if(n===o){a.push(e.call(r,"typeParameters"),"(",D(e,t,r),")",e.call(r,"returnType"));if(n.body){a.push(" ",e.call(r,"body"))}else{a.push(";")}}else{a.push(e.call(r,"value","typeParameters"),"(",e.call((function(e){return D(e,t,r)}),"value"),")",e.call(r,"value","returnType"));if(o.body){a.push(" ",e.call(r,"value","body"))}else{a.push(";")}}return vi.concat(a)}function S(e,t,r){var n=e.map(r,"arguments");var i=c.isTrailingCommaEnabled(t,"parameters");var a=vi.fromString(", ").join(n);if(a.getLineLength(1)>t.wrapColumn){a=vi.fromString(",\n").join(n);return vi.concat(["(\n",a.indent(t.tabWidth),i?",\n)":"\n)"])}return vi.concat(["(",a,")"])}function D(e,t,r){var n=e.getValue();if(n.params){var i=n.params;var a=e.map(r,"params")}else if(n.parameters){i=n.parameters;a=e.map(r,"parameters")}if(n.defaults){e.each((function(e){var t=e.getName();var n=a[t];if(n&&e.getValue()){a[t]=vi.concat([n," = ",r(e)])}}),"defaults")}if(n.rest){a.push(vi.concat(["...",e.call(r,"rest")]))}var s=vi.fromString(", ").join(a);if(s.length>1||s.getLineLength(1)>t.wrapColumn){s=vi.fromString(",\n").join(a);if(c.isTrailingCommaEnabled(t,"parameters")&&!n.rest&&i[i.length-1].type!=="RestElement"){s=vi.concat([s,",\n"])}else{s=vi.concat([s,"\n"])}return vi.concat(["\n",s.indent(t.tabWidth)])}return s}function C(e,t,r){var n=e.getValue();var i=["export "];if(n.exportKind&&n.exportKind!=="value"){i.push(n.exportKind+" ")}var a=t.objectCurlySpacing;s.Declaration.assert(n);if(n["default"]||n.type==="ExportDefaultDeclaration"){i.push("default ")}if(n.declaration){i.push(e.call(r,"declaration"))}else if(n.specifiers){if(n.specifiers.length===1&&n.specifiers[0].type==="ExportBatchSpecifier"){i.push("*")}else if(n.specifiers.length===0){i.push("{}")}else if(n.specifiers[0].type==="ExportDefaultSpecifier"){var o=[];var l=[];e.each((function(e){var t=e.getValue();if(t.type==="ExportDefaultSpecifier"){o.push(r(e))}else{l.push(r(e))}}),"specifiers");o.forEach((function(e,t){if(t>0){i.push(", ")}i.push(e)}));if(l.length>0){var u=vi.fromString(", ").join(l);if(u.getLineLength(1)>t.wrapColumn){u=vi.concat([vi.fromString(",\n").join(l).indent(t.tabWidth),","])}if(o.length>0){i.push(", ")}if(u.length>1){i.push("{\n",u,"\n}")}else if(t.objectCurlySpacing){i.push("{ ",u," }")}else{i.push("{",u,"}")}}}else{i.push(a?"{ ":"{",vi.fromString(", ").join(e.map(r,"specifiers")),a?" }":"}")}if(n.source){i.push(" from ",e.call(r,"source"))}}var c=vi.concat(i);if(_(c)!==";"&&!(n.declaration&&(n.declaration.type==="FunctionDeclaration"||n.declaration.type==="ClassDeclaration"||n.declaration.type==="TSModuleDeclaration"||n.declaration.type==="TSInterfaceDeclaration"||n.declaration.type==="TSEnumDeclaration"))){c=vi.concat([c,";"])}return c}function w(e,t){var r=c.getParentExportDeclaration(e);if(r){i.default.strictEqual(r.type,"DeclareExportDeclaration")}else{t.unshift("declare ")}return vi.concat(t)}function A(e,t){return e.call((function(e){var r=e.getValue();if(r){if(r==="plus"){return vi.fromString("+")}if(r==="minus"){return vi.fromString("-")}return t(e)}return vi.fromString("")}),"variance")}function T(e,t){if(e.length>1)return vi.concat([" ",e]);return vi.concat(["\n",M(e).indent(t.tabWidth)])}function _(e){var t=e.lastPos();do{var r=e.charAt(t);if(/\S/.test(r))return r}while(e.prevPos(t))}function P(e){return _(e)==="}"}function F(e){return e.replace(/['"]/g,(function(e){return e==='"'?"'":'"'}))}function I(e,t){o.assert(e);switch(t.quote){case"auto":var r=JSON.stringify(e);var n=F(JSON.stringify(F(e)));return r.length>n.length?n:r;case"single":return F(JSON.stringify(F(e)));case"double":default:return JSON.stringify(e)}}function M(e){var t=_(e);if(!t||"\n};".indexOf(t)<0)return vi.concat([e,";"]);return e}}));n($i);var Yi=$i.Printer;var Qi=i((function(e,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(r,"__esModule",{value:true});var a=n(t);var s=i(k);r.types=s;r.parse=Xi.parse;var o=k;r.visit=o.visit;function l(e,t){return new $i.Printer(t).print(e)}r.print=l;function u(e,t){return new $i.Printer(t).printGenerically(e)}r.prettyPrint=u;function c(e,t){return f(process.argv[2],e,t)}r.run=c;function f(e,t,r){a.default.readFile(e,"utf-8",(function(e,n){if(e){console.error(e);return}p(n,t,r)}))}function h(e){process.stdout.write(e)}function p(e,t,r){var n=r&&r.writeback||h;t(Xi.parse(e,r),(function(e){n(l(e,r).code)}))}}));n(Qi);var Zi=Qi.types;var ea=Qi.parse;var ta=Qi.visit;var ra=Qi.print;var na=Qi.prettyPrint;var ia=Qi.run;const aa=Zi;const sa=Zi.builders;const oa=Zi.namedTypes;function la(){return sa.literal(null)}function ua(e,t){return sa.property("init",sa.literal(e),t,false)}function ca(e){if(e&&e.toJSON)return e.toJSON();return e}function fa(e,t){return typeof e===t}function ha(e){return!pa(e)&&fa(e,"object")}function pa(e){return e===null||e===undefined}function da(){return typeof process!=="undefined"}function ma(e,t){if(da()&&e&&t&&t.mappings){return Gn(ca(e),ca(t))}else if(da()&&e){return ca(e)}return{}}const va="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");var ga=function e(t){if(0<=t&&t<va.length){return va[t]}throw new TypeError("Must be between 0 and 63: "+t)};var ya={encode:ga};const xa=5;const Ea=1<<xa;const ba=Ea-1;const Sa=Ea;function Da(e){return e<0?(-e<<1)+1:(e<<1)+0}var Ca=function e(t){let r="";let n;let i=Da(t);do{n=i&ba;i>>>=xa;if(i>0){n|=Sa}r+=ya.encode(n)}while(i>0);return r};var wa={encode:Ca};var Aa=i((function(e,t){function r(e,t,r){if(t in e){return e[t]}else if(arguments.length===3){return r}throw new Error('"'+t+'" is a required argument.')}t.getArg=r;const n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const i=/^data:.+\,.+$/;function a(e){const t=e.match(n);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=a;function s(e){let t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=s;const o=32;function l(e){const t=[];return function(r){for(let e=0;e<t.length;e++){if(t[e].input===r){const r=t[0];t[0]=t[e];t[e]=r;return t[0].result}}const n=e(r);t.unshift({input:r,result:n});if(t.length>o){t.pop()}return n}}const u=l((function e(r){let n=r;const i=a(r);if(i){if(!i.path){return r}n=i.path}const o=t.isAbsolute(n);const l=[];let u=0;let c=0;while(true){u=c;c=n.indexOf("/",u);if(c===-1){l.push(n.slice(u));break}else{l.push(n.slice(u,c));while(c<n.length&&n[c]==="/"){c++}}}let f=0;for(c=l.length-1;c>=0;c--){const e=l[c];if(e==="."){l.splice(c,1)}else if(e===".."){f++}else if(f>0){if(e===""){l.splice(c+1,f);f=0}else{l.splice(c,2);f--}}}n=l.join("/");if(n===""){n=o?"/":"."}if(i){i.path=n;return s(i)}return n}));t.normalize=u;function c(e,t){if(e===""){e="."}if(t===""){t="."}const r=a(t);const n=a(e);if(n){e=n.path||"/"}if(r&&!r.scheme){if(n){r.scheme=n.scheme}return s(r)}if(r||t.match(i)){return t}if(n&&!n.host&&!n.path){n.host=t;return s(n)}const o=t.charAt(0)==="/"?t:u(e.replace(/\/+$/,"")+"/"+t);if(n){n.path=o;return s(n)}return o}t.join=c;t.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function f(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");let r=0;while(t.indexOf(e+"/")!==0){const n=e.lastIndexOf("/");if(n<0){return t}e=e.slice(0,n);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++r}return Array(r+1).join("../")+t.substr(e.length+1)}t.relative=f;const h=function(){const e=Object.create(null);return!("__proto__"in e)}();function p(e){return e}function d(e){if(v(e)){return"$"+e}return e}t.toSetString=h?p:d;function m(e){if(v(e)){return e.slice(1)}return e}t.fromSetString=h?p:m;function v(e){if(!e){return false}const t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(let r=t-10;r>=0;r--){if(e.charCodeAt(r)!==36){return false}}return true}function g(e,t,r){let n=x(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0||r){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=e.generatedLine-t.generatedLine;if(n!==0){return n}return x(e.name,t.name)}t.compareByOriginalPositions=g;function y(e,t,r){let n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0||r){return n}n=x(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return x(e.name,t.name)}t.compareByGeneratedPositionsDeflated=y;function x(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function E(e,t){let r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=x(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return x(e.name,t.name)}t.compareByGeneratedPositionsInflated=E;function b(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=b;function S(e,t,r){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(r){const e=a(r);if(!e){throw new Error("sourceMapURL could not be parsed")}if(e.path){const t=e.path.lastIndexOf("/");if(t>=0){e.path=e.path.substring(0,t+1)}}t=c(s(e),t)}return u(t)}t.computeSourceURL=S}));var Ta=Aa.getArg;var ka=Aa.urlParse;var _a=Aa.urlGenerate;var Pa=Aa.normalize;var Fa=Aa.join;var Ia=Aa.isAbsolute;var Ma=Aa.relative;var Na=Aa.toSetString;var La=Aa.fromSetString;var Ba=Aa.compareByOriginalPositions;var Oa=Aa.compareByGeneratedPositionsDeflated;var Ra=Aa.compareByGeneratedPositionsInflated;var ja=Aa.parseSourceMapInput;var Ua=Aa.computeSourceURL;class Va{constructor(){this._array=[];this._set=new Map}static fromArray(e,t){const r=new Va;for(let n=0,i=e.length;n<i;n++){r.add(e[n],t)}return r}size(){return this._set.size}add(e,t){const r=this.has(e);const n=this._array.length;if(!r||t){this._array.push(e)}if(!r){this._set.set(e,n)}}has(e){return this._set.has(e)}indexOf(e){const t=this._set.get(e);if(t>=0){return t}throw new Error('"'+e+'" is not in the set.')}at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)}toArray(){return this._array.slice()}}var Ga=Va;var za={ArraySet:Ga};function Xa(e,t){const r=e.generatedLine;const n=t.generatedLine;const i=e.generatedColumn;const a=t.generatedColumn;return n>r||n==r&&a>=i||Aa.compareByGeneratedPositionsInflated(e,t)<=0}class Ja{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(e,t){this._array.forEach(e,t)}add(e){if(Xa(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}}toArray(){if(!this._sorted){this._array.sort(Aa.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}var qa=Ja;var Wa={MappingList:qa};const Ha=za.ArraySet;const Ka=Wa.MappingList;class $a{constructor(e){if(!e){e={}}this._file=Aa.getArg(e,"file",null);this._sourceRoot=Aa.getArg(e,"sourceRoot",null);this._skipValidation=Aa.getArg(e,"skipValidation",false);this._sources=new Ha;this._names=new Ha;this._mappings=new Ka;this._sourcesContents=null}static fromSourceMap(e){const t=e.sourceRoot;const r=new $a({file:e.file,sourceRoot:t});e.eachMapping((function(e){const n={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){n.source=e.source;if(t!=null){n.source=Aa.relative(t,n.source)}n.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){n.name=e.name}}r.addMapping(n)}));e.sources.forEach((function(n){let i=n;if(t!==null){i=Aa.relative(t,n)}if(!r._sources.has(i)){r._sources.add(i)}const a=e.sourceContentFor(n);if(a!=null){r.setSourceContent(n,a)}}));return r}addMapping(e){const t=Aa.getArg(e,"generated");const r=Aa.getArg(e,"original",null);let n=Aa.getArg(e,"source",null);let i=Aa.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,r,n,i)}if(n!=null){n=String(n);if(!this._sources.has(n)){this._sources.add(n)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:n,name:i})}setSourceContent(e,t){let r=e;if(this._sourceRoot!=null){r=Aa.relative(this._sourceRoot,r)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[Aa.toSetString(r)]=t}else if(this._sourcesContents){delete this._sourcesContents[Aa.toSetString(r)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(e,t,r){let n=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}n=e.file}const i=this._sourceRoot;if(i!=null){n=Aa.relative(i,n)}const a=this._mappings.toArray().length>0?new Ha:this._sources;const s=new Ha;this._mappings.unsortedForEach((function(t){if(t.source===n&&t.originalLine!=null){const n=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(n.source!=null){t.source=n.source;if(r!=null){t.source=Aa.join(r,t.source)}if(i!=null){t.source=Aa.relative(i,t.source)}t.originalLine=n.line;t.originalColumn=n.column;if(n.name!=null){t.name=n.name}}}const o=t.source;if(o!=null&&!a.has(o)){a.add(o)}const l=t.name;if(l!=null&&!s.has(l)){s.add(l)}}),this);this._sources=a;this._names=s;e.sources.forEach((function(t){const n=e.sourceContentFor(t);if(n!=null){if(r!=null){t=Aa.join(r,t)}if(i!=null){t=Aa.relative(i,t)}this.setSourceContent(t,n)}}),this)}_validateMapping(e,t,r,n){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!n);else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r);else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))}}_serializeMappings(){let e=0;let t=1;let r=0;let n=0;let i=0;let a=0;let s="";let o;let l;let u;let c;const f=this._mappings.toArray();for(let h=0,p=f.length;h<p;h++){l=f[h];o="";if(l.generatedLine!==t){e=0;while(l.generatedLine!==t){o+=";";t++}}else if(h>0){if(!Aa.compareByGeneratedPositionsInflated(l,f[h-1])){continue}o+=","}o+=wa.encode(l.generatedColumn-e);e=l.generatedColumn;if(l.source!=null){c=this._sources.indexOf(l.source);o+=wa.encode(c-a);a=c;o+=wa.encode(l.originalLine-1-n);n=l.originalLine-1;o+=wa.encode(l.originalColumn-r);r=l.originalColumn;if(l.name!=null){u=this._names.indexOf(l.name);o+=wa.encode(u-i);i=u}}s+=o}return s}_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=Aa.relative(t,e)}const r=Aa.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)}toJSON(){const e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e}toString(){return JSON.stringify(this.toJSON())}}$a.prototype._version=3;var Ya=$a;var Qa={SourceMapGenerator:Ya};var Za=i((function(e,t){t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function r(e,n,i,a,s,o){const l=Math.floor((n-e)/2)+e;const u=s(i,a[l],true);if(u===0){return l}else if(u>0){if(n-l>1){return r(l,n,i,a,s,o)}if(o==t.LEAST_UPPER_BOUND){return n<a.length?n:-1}return l}if(l-e>1){return r(e,l,i,a,s,o)}if(o==t.LEAST_UPPER_BOUND){return l}return e<0?-1:e}t.search=function e(n,i,a,s){if(i.length===0){return-1}let o=r(-1,i.length,n,i,a,s||t.GREATEST_LOWER_BOUND);if(o<0){return-1}while(o-1>=0){if(a(i[o],i[o-1],true)!==0){break}--o}return o}}));var es=Za.GREATEST_LOWER_BOUND;var ts=Za.LEAST_UPPER_BOUND;var rs=Za.search;var ns=i((function(e){if(typeof fetch==="function"){let t=null;e.exports=function e(){if(typeof t!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(t).then(e=>e.arrayBuffer())};e.exports.initialize=e=>t=e}else{const n=t;const i=r;e.exports=function e(){return new Promise((e,t)=>{const r=i.join(__dirname,"mappings.wasm");n.readFile(r,null,(r,n)=>{if(r){t(r);return}e(n.buffer)})})};e.exports.initialize=e=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}}));var is=ns.initialize;function as(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let ss=null;var os=function e(){if(ss){return ss}const t=[];ss=ns().then(e=>WebAssembly.instantiate(e,{env:{mapping_callback(e,r,n,i,a,s,o,l,u,c){const f=new as;f.generatedLine=e+1;f.generatedColumn=r;if(n){f.lastGeneratedColumn=i-1}if(a){f.source=s;f.originalLine=o+1;f.originalColumn=l;if(u){f.name=c}}t[t.length-1](f)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}})).then(e=>({exports:e.instance.exports,withMappingCallback:(e,r)=>{t.push(e);try{r()}finally{t.pop()}}})).then(null,e=>{ss=null;throw e});return ss};const ls=za.ArraySet;const us=Symbol("smcInternal");class cs{constructor(e,t){if(e==us){return Promise.resolve(this)}return ps(e,t)}static initialize(e){ns.initialize(e["lib/mappings.wasm"])}static fromSourceMap(e,t){return ds(e,t)}static with(e,t,r){let n=null;const i=new cs(e,t);return i.then(e=>{n=e;return r(e)}).then(e=>{if(n){n.destroy()}return e},e=>{if(n){n.destroy()}throw e})}_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")}eachMapping(e,t,r){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(e){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}cs.prototype._version=3;cs.GENERATED_ORDER=1;cs.ORIGINAL_ORDER=2;cs.GREATEST_LOWER_BOUND=1;cs.LEAST_UPPER_BOUND=2;class fs extends cs{constructor(e,t){return super(us).then(r=>{let n=e;if(typeof e==="string"){n=Aa.parseSourceMapInput(e)}const i=Aa.getArg(n,"version");let a=Aa.getArg(n,"sources");const s=Aa.getArg(n,"names",[]);let o=Aa.getArg(n,"sourceRoot",null);const l=Aa.getArg(n,"sourcesContent",null);const u=Aa.getArg(n,"mappings");const c=Aa.getArg(n,"file",null);if(i!=r._version){throw new Error("Unsupported version: "+i)}if(o){o=Aa.normalize(o)}a=a.map(String).map(Aa.normalize).map((function(e){return o&&Aa.isAbsolute(o)&&Aa.isAbsolute(e)?Aa.relative(o,e):e}));r._names=ls.fromArray(s.map(String),true);r._sources=ls.fromArray(a,true);r._absoluteSources=r._sources.toArray().map((function(e){return Aa.computeSourceURL(o,e,t)}));r.sourceRoot=o;r.sourcesContent=l;r._mappings=u;r._sourceMapURL=t;r.file=c;r._computedColumnSpans=false;r._mappingsPtr=0;r._wasm=null;return os().then(e=>{r._wasm=e;return r})})}_findSourceIndex(e){let t=e;if(this.sourceRoot!=null){t=Aa.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}for(let t=0;t<this._absoluteSources.length;++t){if(this._absoluteSources[t]==e){return t}}return-1}static fromSourceMap(e,t){return new fs(e.toString())}get sources(){return this._absoluteSources.slice()}_getMappingsPtr(){if(this._mappingsPtr===0){this._parseMappings(this._mappings,this.sourceRoot)}return this._mappingsPtr}_parseMappings(e,t){const r=e.length;const n=this._wasm.exports.allocate_mappings(r);const i=new Uint8Array(this._wasm.exports.memory.buffer,n,r);for(let t=0;t<r;t++){i[t]=e.charCodeAt(t)}const a=this._wasm.exports.parse_mappings(n);if(!a){const e=this._wasm.exports.get_last_error();let t=`Error parsing mappings (code ${e}): `;switch(e){case 1:t+="the mappings contained a negative line, column, source index, or name index";break;case 2:t+="the mappings contained a number larger than 2**32";break;case 3:t+="reached EOF while in the middle of parsing a VLQ";break;case 4:t+="invalid base 64 character while parsing a VLQ";break;default:t+="unknown error code";break}throw new Error(t)}this._mappingsPtr=a}eachMapping(e,t,r){const n=t||null;const i=r||cs.GENERATED_ORDER;const a=this.sourceRoot;this._wasm.withMappingCallback(t=>{if(t.source!==null){t.source=this._sources.at(t.source);t.source=Aa.computeSourceURL(a,t.source,this._sourceMapURL);if(t.name!==null){t.name=this._names.at(t.name)}}e.call(n,t)},()=>{switch(i){case cs.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case cs.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}})}allGeneratedPositionsFor(e){let t=Aa.getArg(e,"source");const r=Aa.getArg(e,"line");const n=e.column||0;t=this._findSourceIndex(t);if(t<0){return[]}if(r<1){throw new Error("Line numbers must be >= 1")}if(n<0){throw new Error("Column numbers must be >= 0")}const i=[];this._wasm.withMappingCallback(e=>{let t=e.lastGeneratedColumn;if(this._computedColumnSpans&&t===null){t=Infinity}i.push({line:e.generatedLine,column:e.generatedColumn,lastColumn:t})},()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),t,r-1,"column"in e,n)});return i}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(e){const t={generatedLine:Aa.getArg(e,"line"),generatedColumn:Aa.getArg(e,"column")};if(t.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(t.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let r=Aa.getArg(e,"bias",cs.GREATEST_LOWER_BOUND);if(r==null){r=cs.GREATEST_LOWER_BOUND}let n;this._wasm.withMappingCallback(e=>n=e,()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),t.generatedLine-1,t.generatedColumn,r)});if(n){if(n.generatedLine===t.generatedLine){let e=Aa.getArg(n,"source",null);if(e!==null){e=this._sources.at(e);e=Aa.computeSourceURL(this.sourceRoot,e,this._sourceMapURL)}let t=Aa.getArg(n,"name",null);if(t!==null){t=this._names.at(t)}return{source:e,line:Aa.getArg(n,"originalLine",null),column:Aa.getArg(n,"originalColumn",null),name:t}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))}sourceContentFor(e,t){if(!this.sourcesContent){return null}const r=this._findSourceIndex(e);if(r>=0){return this.sourcesContent[r]}let n=e;if(this.sourceRoot!=null){n=Aa.relative(this.sourceRoot,n)}let i;if(this.sourceRoot!=null&&(i=Aa.urlParse(this.sourceRoot))){const e=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(e)){return this.sourcesContent[this._sources.indexOf(e)]}if((!i.path||i.path=="/")&&this._sources.has("/"+n)){return this.sourcesContent[this._sources.indexOf("/"+n)]}}if(t){return null}throw new Error('"'+n+'" is not in the SourceMap.')}generatedPositionFor(e){let t=Aa.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}const r={source:t,originalLine:Aa.getArg(e,"line"),originalColumn:Aa.getArg(e,"column")};if(r.originalLine<1){throw new Error("Line numbers must be >= 1")}if(r.originalColumn<0){throw new Error("Column numbers must be >= 0")}let n=Aa.getArg(e,"bias",cs.GREATEST_LOWER_BOUND);if(n==null){n=cs.GREATEST_LOWER_BOUND}let i;this._wasm.withMappingCallback(e=>i=e,()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),r.source,r.originalLine-1,r.originalColumn,n)});if(i){if(i.source===r.source){let e=i.lastGeneratedColumn;if(this._computedColumnSpans&&e===null){e=Infinity}return{line:Aa.getArg(i,"generatedLine",null),column:Aa.getArg(i,"generatedColumn",null),lastColumn:e}}}return{line:null,column:null,lastColumn:null}}}fs.prototype.consumer=cs;class hs extends cs{constructor(e,t){return super(us).then(r=>{let n=e;if(typeof e==="string"){n=Aa.parseSourceMapInput(e)}const i=Aa.getArg(n,"version");const a=Aa.getArg(n,"sections");if(i!=r._version){throw new Error("Unsupported version: "+i)}r._sources=new ls;r._names=new ls;r.__generatedMappings=null;r.__originalMappings=null;r.__generatedMappingsUnsorted=null;r.__originalMappingsUnsorted=null;let s={line:-1,column:0};return Promise.all(a.map(e=>{if(e.url){throw new Error("Support for url field in sections not implemented.")}const r=Aa.getArg(e,"offset");const n=Aa.getArg(r,"line");const i=Aa.getArg(r,"column");if(n<s.line||n===s.line&&i<s.column){throw new Error("Section offsets must be ordered and non-overlapping.")}s=r;const a=new cs(Aa.getArg(e,"map"),t);return a.then(e=>({generatedOffset:{generatedLine:n+1,generatedColumn:i+1},consumer:e}))})).then(e=>{r._sections=e;return r})})}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const e=this._generatedMappingsUnsorted;e.sort(Aa.compareByGeneratedPositionsDeflated);this.__generatedMappings=e}_sortOriginalMappings(){const e=this._originalMappingsUnsorted;e.sort(Aa.compareByOriginalPositions);this.__originalMappings=e}get sources(){const e=[];for(let t=0;t<this._sections.length;t++){for(let r=0;r<this._sections[t].consumer.sources.length;r++){e.push(this._sections[t].consumer.sources[r])}}return e}originalPositionFor(e){const t={generatedLine:Aa.getArg(e,"line"),generatedColumn:Aa.getArg(e,"column")};const r=Za.search(t,this._sections,(function(e,t){const r=e.generatedLine-t.generatedOffset.generatedLine;if(r){return r}return e.generatedColumn-t.generatedOffset.generatedColumn}));const n=this._sections[r];if(!n){return{source:null,line:null,column:null,name:null}}return n.consumer.originalPositionFor({line:t.generatedLine-(n.generatedOffset.generatedLine-1),column:t.generatedColumn-(n.generatedOffset.generatedLine===t.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:e.bias})}hasContentsOfAllSources(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))}sourceContentFor(e,t){for(let t=0;t<this._sections.length;t++){const r=this._sections[t];const n=r.consumer.sourceContentFor(e,true);if(n){return n}}if(t){return null}throw new Error('"'+e+'" is not in the SourceMap.')}generatedPositionFor(e){for(let t=0;t<this._sections.length;t++){const r=this._sections[t];if(r.consumer._findSourceIndex(Aa.getArg(e,"source"))===-1){continue}const n=r.consumer.generatedPositionFor(e);if(n){const e={line:n.line+(r.generatedOffset.generatedLine-1),column:n.column+(r.generatedOffset.generatedLine===n.line?r.generatedOffset.generatedColumn-1:0)};return e}}return{line:null,column:null}}_parseMappings(e,t){const r=this.__generatedMappingsUnsorted=[];const n=this.__originalMappingsUnsorted=[];for(let e=0;e<this._sections.length;e++){const t=this._sections[e];const i=[];t.consumer.eachMapping(e=>i.push(e));for(let e=0;e<i.length;e++){const a=i[e];let s=Aa.computeSourceURL(t.consumer.sourceRoot,null,this._sourceMapURL);this._sources.add(s);s=this._sources.indexOf(s);let o=null;if(a.name){this._names.add(a.name);o=this._names.indexOf(a.name)}const l={source:s,generatedLine:a.generatedLine+(t.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(t.generatedOffset.generatedLine===a.generatedLine?t.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:o};r.push(l);if(typeof l.originalLine==="number"){n.push(l)}}}}eachMapping(e,t,r){const n=t||null;const i=r||cs.GENERATED_ORDER;let a;switch(i){case cs.GENERATED_ORDER:a=this._generatedMappings;break;case cs.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}const s=this.sourceRoot;a.map((function(e){let t=null;if(e.source!==null){t=this._sources.at(e.source);t=Aa.computeSourceURL(s,t,this._sourceMapURL)}return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,n)}_findMapping(e,t,r,n,i,a){if(e[r]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[r])}if(e[n]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[n])}return Za.search(e,t,i,a)}allGeneratedPositionsFor(e){const t=Aa.getArg(e,"line");const r={source:Aa.getArg(e,"source"),originalLine:t,originalColumn:Aa.getArg(e,"column",0)};r.source=this._findSourceIndex(r.source);if(r.source<0){return[]}if(r.originalLine<1){throw new Error("Line numbers must be >= 1")}if(r.originalColumn<0){throw new Error("Column numbers must be >= 0")}const n=[];let i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Aa.compareByOriginalPositions,Za.LEAST_UPPER_BOUND);if(i>=0){let r=this._originalMappings[i];if(e.column===undefined){const e=r.originalLine;while(r&&r.originalLine===e){let e=r.lastGeneratedColumn;if(this._computedColumnSpans&&e===null){e=Infinity}n.push({line:Aa.getArg(r,"generatedLine",null),column:Aa.getArg(r,"generatedColumn",null),lastColumn:e});r=this._originalMappings[++i]}}else{const e=r.originalColumn;while(r&&r.originalLine===t&&r.originalColumn==e){let e=r.lastGeneratedColumn;if(this._computedColumnSpans&&e===null){e=Infinity}n.push({line:Aa.getArg(r,"generatedLine",null),column:Aa.getArg(r,"generatedColumn",null),lastColumn:e});r=this._originalMappings[++i]}}}return n}destroy(){for(let e=0;e<this._sections.length;e++){this._sections[e].consumer.destroy()}}}function ps(e,t){let r=e;if(typeof e==="string"){r=Aa.parseSourceMapInput(e)}const n=r.sections!=null?new hs(r,t):new fs(r,t);return Promise.resolve(n)}function ds(e,t){return fs.fromSourceMap(e,t)}var ms=Qa.SourceMapGenerator;function vs(e){return new ms(e)}const gs=Object.freeze({code:"",ast:[],meta:{},map:null});function ys(e,t){const r=Object.assign({},gs,{},e,{meta:t});if(!r.map&&t&&t.options&&t.options.file)return Object.assign({},r,{map:vs({file:t.options.file})});return r}function xs(e,t,r){const n=e?e(r,t):{code:r};return ys(n,t)}function Es(e){throw new Error(e)}const bs=new Set;function Ss(e){if(bs.has(e)){Es(`This postprocessor "${e.name||e.toString()}" was already registered`)}bs.add(e);return bs}function Ds(e,t){return Array.from(bs).reduce((function(e,r){const{code:n,map:i}=e;const a=r(n,t);return{code:a.code,map:ma(i,a.map)}}),ys(e,t))}const Cs=Object.freeze({javascript:new Map,css:new Map,template:(new Map).set("default",e=>({code:e}))});function ws(e){Es(`No preprocessor of type "${e}" was found, please make sure to use one of these: 'javascript', 'css' or 'template'`)}function As(e){Es(`No preprocessor named "${e}" was found, are you sure you have registered it?'`)}function Ts(e,t,r){if(!e)Es("Please define the type of preprocessor you want to register 'javascript', 'css' or 'template'");if(!t)Es("Please define a name for your preprocessor");if(!r)Es("Please provide a preprocessor function");if(!Cs[e])ws(e);if(Cs[e].has(t))Es(`The preprocessor ${t} was already registered before`);Cs[e].set(t,r);return Cs}function ks(e,t,r,n){if(!Cs[e])ws(e);if(!Cs[e].has(t))As(t);return xs(Cs[e].get(t),r,n)}function _s(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return t.reduce((e,t)=>function(){return e(t(...arguments))})}/*! https://mths.be/cssesc v3.0.0 by @mathias */var Ps={};var Fs=Ps.hasOwnProperty;var Is=function e(t,r){if(!t){return r}var n={};for(var i in r){n[i]=Fs.call(t,i)?t[i]:r[i]}return n};var Ms=/[ -,\.\/:-@\[-\^`\{-~]/;var Ns=/[ -,\.\/:-@\[\]\^`\{-~]/;var Ls=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var Bs=function e(t,r){r=Is(r,e.options);if(r.quotes!="single"&&r.quotes!="double"){r.quotes="single"}var n=r.quotes=="double"?'"':"'";var i=r.isIdentifier;var a=t.charAt(0);var s="";var o=0;var l=t.length;while(o<l){var u=t.charAt(o++);var c=u.charCodeAt();var f=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&o<l){var h=t.charCodeAt(o++);if((h&64512)==56320){c=((c&1023)<<10)+(h&1023)+65536}else{o--}}f="\\"+c.toString(16).toUpperCase()+" "}else{if(r.escapeEverything){if(Ms.test(u)){f="\\"+u}else{f="\\"+c.toString(16).toUpperCase()+" "}}else if(/[\t\n\f\r\x0B]/.test(u)){f="\\"+c.toString(16).toUpperCase()+" "}else if(u=="\\"||!i&&(u=='"'&&n==u||u=="'"&&n==u)||i&&Ns.test(u)){f="\\"+u}else{f=u}}s+=f}if(i){if(/^-[-\d]/.test(s)){s="\\-"+s.slice(1)}else if(/\d/.test(a)){s="\\3"+a+" "+s.slice(1)}}s=s.replace(Ls,(function(e,t,r){if(t&&t.length%2){return e}return(t||"")+r}));if(!i&&r.wrap){return n+s+n}return s};Bs.options={escapeEverything:false,isIdentifier:false,quotes:"single",wrap:false};Bs.version="3.0.0";var Os=Bs;const Rs="type";function js(e){const t=e.attributes?e.attributes.find(e=>e.name===Rs):null;return t?Us(t.value):null}function Us(e){return e.replace("text/","")}function Vs(e,t,r,n){const i=n.text;return t?ks(e,t,r,i):{code:i}}const Gs=/\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//g;const zs=/"[^"\n\\]*(?:\\[\S\s][^"\n\\]*)*"|'[^'\n\\]*(?:\\[\S\s][^'\n\\]*)*'/.source;const Xs=RegExp(`([{}]|^)[; ]*((?:[^@ ;{}][^{}]*)?[^@ ;{}:] ?)(?={)|${zs}`,"g");function Js(e,t){const r=":host";const n=["from","to"];return t.replace(Xs,(function(t,i,a){if(!a)return t;a=a.replace(/[^,]+/g,(function(t){const i=t.trim();if(i.indexOf(e)===0){return t}if(!i||n.indexOf(i)>-1||i.slice(-1)==="%"){return t}if(i.indexOf(r)<0){return`${e} ${i},[is="${e}"] ${i}`}else{return`${i.replace(r,e)},${i.replace(r,`[is="${e}"]`)}`}}));return i?`${i} ${a}`:a}))}function qs(e){return e.replace(Gs,"").replace(/\s+/g," ").trim()}const Ws=e=>e.replace(/\\/g,"\\\\");const Hs=e=>Ws(Os(e,{isIdentifier:true}));function Ks(e,t,r,n){const i=js(e);const{options:a}=r;const s=Vs("css",i,r,e.text);const o=qs(s.code);const l=Hs(r.tagName);const u=(a.scopedCss?Js(l,Ws(o)):Ws(o)).trim();aa.visit(n,{visitProperty(e){if(e.value.key.value===K){e.value.value=sa.templateLiteral([sa.templateElement({raw:u,cooked:""},false)],[]);return false}this.traverse(e)}});return n}function $s(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++){n[i]=arguments[i]}n=[...r,...n];return n.length<e.length?$s(e,...n):e(...n)}}function Ys(e,t){return ra(e,Object.assign({},t,{tabWidth:2,quote:"single"}))}function Qs(e,t,r){const n=e?[t.substr(0,e.start),t.substr(e.end,t.length)].join("").trim():"";if(n){const{template:e,javascript:t,css:i}=r(n).output;return[e,t,i].some(ha)}return false}function Zs(e){return!e||!e.mappings||!e.mappings.length}const eo=/\r\n?|\n/g;function to(e){return e.split(eo)}function ro(e,t){const r=to(e.slice(0,t));return{line:r.length,column:r[r.length-1].length}}function no(e,t,r){const{column:n,line:i}=ro(t,r.start);return`${"\n".repeat(i-1)}${" ".repeat(n+1)}${e}`}var io={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var ao="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var so={5:ao,"5module":ao+" export import",6:ao+" const class extends export import super"};var oo=/^in(stanceof)?$/;var lo="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-Ᶎꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭧꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ﬀ-ﬆﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼＡ-Ｚａ-ｚｦ-ﾾￂ-ￇￊ-ￏￒ-ￗￚ-ￜ";var uo="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏０-９＿";var co=new RegExp("["+lo+"]");var fo=new RegExp("["+lo+uo+"]");lo=uo=null;var ho=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541];var po=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,232,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];function mo(e,t){var r=65536;for(var n=0;n<t.length;n+=2){r+=t[n];if(r>e){return false}r+=t[n+1];if(r>=e){return true}}}function vo(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&co.test(String.fromCharCode(e))}if(t===false){return false}return mo(e,ho)}function go(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&fo.test(String.fromCharCode(e))}if(t===false){return false}return mo(e,ho)||mo(e,po)}var yo=function e(t,r){if(r===void 0)r={};this.label=t;this.keyword=r.keyword;this.beforeExpr=!!r.beforeExpr;this.startsExpr=!!r.startsExpr;this.isLoop=!!r.isLoop;this.isAssign=!!r.isAssign;this.prefix=!!r.prefix;this.postfix=!!r.postfix;this.binop=r.binop||null;this.updateContext=null};function xo(e,t){return new yo(e,{beforeExpr:true,binop:t})}var Eo={beforeExpr:true},bo={startsExpr:true};var So={};function Do(e,t){if(t===void 0)t={};t.keyword=e;return So[e]=new yo(e,t)}var Co={num:new yo("num",bo),regexp:new yo("regexp",bo),string:new yo("string",bo),name:new yo("name",bo),eof:new yo("eof"),bracketL:new yo("[",{beforeExpr:true,startsExpr:true}),bracketR:new yo("]"),braceL:new yo("{",{beforeExpr:true,startsExpr:true}),braceR:new yo("}"),parenL:new yo("(",{beforeExpr:true,startsExpr:true}),parenR:new yo(")"),comma:new yo(",",Eo),semi:new yo(";",Eo),colon:new yo(":",Eo),dot:new yo("."),question:new yo("?",Eo),arrow:new yo("=>",Eo),template:new yo("template"),invalidTemplate:new yo("invalidTemplate"),ellipsis:new yo("...",Eo),backQuote:new yo("`",bo),dollarBraceL:new yo("${",{beforeExpr:true,startsExpr:true}),eq:new yo("=",{beforeExpr:true,isAssign:true}),assign:new yo("_=",{beforeExpr:true,isAssign:true}),incDec:new yo("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new yo("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:xo("||",1),logicalAND:xo("&&",2),bitwiseOR:xo("|",3),bitwiseXOR:xo("^",4),bitwiseAND:xo("&",5),equality:xo("==/!=/===/!==",6),relational:xo("</>/<=/>=",7),bitShift:xo("<</>>/>>>",8),plusMin:new yo("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:xo("%",10),star:xo("*",10),slash:xo("/",10),starstar:new yo("**",{beforeExpr:true}),_break:Do("break"),_case:Do("case",Eo),_catch:Do("catch"),_continue:Do("continue"),_debugger:Do("debugger"),_default:Do("default",Eo),_do:Do("do",{isLoop:true,beforeExpr:true}),_else:Do("else",Eo),_finally:Do("finally"),_for:Do("for",{isLoop:true}),_function:Do("function",bo),_if:Do("if"),_return:Do("return",Eo),_switch:Do("switch"),_throw:Do("throw",Eo),_try:Do("try"),_var:Do("var"),_const:Do("const"),_while:Do("while",{isLoop:true}),_with:Do("with"),_new:Do("new",{beforeExpr:true,startsExpr:true}),_this:Do("this",bo),_super:Do("super",bo),_class:Do("class",bo),_extends:Do("extends",Eo),_export:Do("export"),_import:Do("import",bo),_null:Do("null",bo),_true:Do("true",bo),_false:Do("false",bo),_in:Do("in",{beforeExpr:true,binop:7}),_instanceof:Do("instanceof",{beforeExpr:true,binop:7}),_typeof:Do("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:Do("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:Do("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var wo=/\r\n?|\n|\u2028|\u2029/;var Ao=new RegExp(wo.source,"g");function To(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var ko=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var _o=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var Po=Object.prototype;var Fo=Po.hasOwnProperty;var Io=Po.toString;function Mo(e,t){return Fo.call(e,t)}var No=Array.isArray||function(e){return Io.call(e)==="[object Array]"};function Lo(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Bo=function e(t,r){this.line=t;this.column=r};Bo.prototype.offset=function e(t){return new Bo(this.line,this.column+t)};var Oo=function e(t,r,n){this.start=r;this.end=n;if(t.sourceFile!==null){this.source=t.sourceFile}};function Ro(e,t){for(var r=1,n=0;;){Ao.lastIndex=n;var i=Ao.exec(e);if(i&&i.index<t){++r;n=i.index+i[0].length}else{return new Bo(r,t-n)}}}var jo={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:false,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};function Uo(e){var t={};for(var r in jo){t[r]=e&&Mo(e,r)?e[r]:jo[r]}if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(No(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}if(No(t.onComment)){t.onComment=Vo(t,t.onComment)}return t}function Vo(e,t){return function(r,n,i,a,s,o){var l={type:r?"Block":"Line",value:n,start:i,end:a};if(e.locations){l.loc=new Oo(this,s,o)}if(e.ranges){l.range=[i,a]}t.push(l)}}var Go=1,zo=2,Xo=Go|zo,Jo=4,qo=8,Wo=16,Ho=32,Ko=64,$o=128;function Yo(e,t){return zo|(e?Jo:0)|(t?qo:0)}var Qo=0,Zo=1,el=2,tl=3,rl=4,nl=5;var il=function e(t,r,n){this.options=t=Uo(t);this.sourceFile=t.sourceFile;this.keywords=Lo(so[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";if(t.allowReserved!==true){for(var a=t.ecmaVersion;;a--){if(i=io[a]){break}}if(t.sourceType==="module"){i+=" await"}}this.reservedWords=Lo(i);var s=(i?i+" ":"")+io.strict;this.reservedWordsStrict=Lo(s);this.reservedWordsStrictBind=Lo(s+" "+io.strictBind);this.input=String(r);this.containsEsc=false;if(n){this.pos=n;this.lineStart=this.input.lastIndexOf("\n",n-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(wo).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Co.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=t.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Go);this.regexpState=null};var al={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};il.prototype.parse=function e(){var t=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(t)};al.inFunction.get=function(){return(this.currentVarScope().flags&zo)>0};al.inGenerator.get=function(){return(this.currentVarScope().flags&qo)>0};al.inAsync.get=function(){return(this.currentVarScope().flags&Jo)>0};al.allowSuper.get=function(){return(this.currentThisScope().flags&Ko)>0};al.allowDirectSuper.get=function(){return(this.currentThisScope().flags&$o)>0};al.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};il.prototype.inNonArrowFunction=function e(){return(this.currentThisScope().flags&zo)>0};il.extend=function e(){var t=[],r=arguments.length;while(r--)t[r]=arguments[r];var n=this;for(var i=0;i<t.length;i++){n=t[i](n)}return n};il.parse=function e(t,r){return new this(r,t).parse()};il.parseExpressionAt=function e(t,r,n){var i=new this(n,t,r);i.nextToken();return i.parseExpression()};il.tokenizer=function e(t,r){return new this(r,t)};Object.defineProperties(il.prototype,al);var sl=il.prototype;var ol=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;sl.strictDirective=function(e){for(;;){_o.lastIndex=e;e+=_o.exec(this.input)[0].length;var t=ol.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){return true}e+=t[0].length;_o.lastIndex=e;e+=_o.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};sl.eat=function(e){if(this.type===e){this.next();return true}else{return false}};sl.isContextual=function(e){return this.type===Co.name&&this.value===e&&!this.containsEsc};sl.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};sl.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};sl.canInsertSemicolon=function(){return this.type===Co.eof||this.type===Co.braceR||wo.test(this.input.slice(this.lastTokEnd,this.start))};sl.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};sl.semicolon=function(){if(!this.eat(Co.semi)&&!this.insertSemicolon()){this.unexpected()}};sl.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};sl.expect=function(e){this.eat(e)||this.unexpected()};sl.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function ll(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}sl.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var r=t?e.parenthesizedAssign:e.parenthesizedBind;if(r>-1){this.raiseRecoverable(r,"Parenthesized pattern")}};sl.checkExpressionErrors=function(e,t){if(!e){return false}var r=e.shorthandAssign;var n=e.doubleProto;if(!t){return r>=0||n>=0}if(r>=0){this.raise(r,"Shorthand property assignments are valid only in destructuring patterns")}if(n>=0){this.raiseRecoverable(n,"Redefinition of __proto__ property")}};sl.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};sl.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var ul=il.prototype;ul.parseTopLevel=function(e){var t={};if(!e.body){e.body=[]}while(this.type!==Co.eof){var r=this.parseStatement(null,true,t);e.body.push(r)}if(this.inModule){for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var a=i[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var cl={kind:"loop"},fl={kind:"switch"};ul.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}_o.lastIndex=this.pos;var t=_o.exec(this.input);var r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91){return true}if(e){return false}if(n===123){return true}if(vo(n,true)){var i=r+1;while(go(this.input.charCodeAt(i),true)){++i}var a=this.input.slice(r,i);if(!oo.test(a)){return true}}return false};ul.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}_o.lastIndex=this.pos;var e=_o.exec(this.input);var t=this.pos+e[0].length;return!wo.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!go(this.input.charAt(t+8)))};ul.parseStatement=function(e,t,r){var n=this.type,i=this.startNode(),a;if(this.isLet(e)){n=Co._var;a="let"}switch(n){case Co._break:case Co._continue:return this.parseBreakContinueStatement(i,n.keyword);case Co._debugger:return this.parseDebuggerStatement(i);case Co._do:return this.parseDoStatement(i);case Co._for:return this.parseForStatement(i);case Co._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(i,false,!e);case Co._class:if(e){this.unexpected()}return this.parseClass(i,true);case Co._if:return this.parseIfStatement(i);case Co._return:return this.parseReturnStatement(i);case Co._switch:return this.parseSwitchStatement(i);case Co._throw:return this.parseThrowStatement(i);case Co._try:return this.parseTryStatement(i);case Co._const:case Co._var:a=a||this.value;if(e&&a!=="var"){this.unexpected()}return this.parseVarStatement(i,a);case Co._while:return this.parseWhileStatement(i);case Co._with:return this.parseWithStatement(i);case Co.braceL:return this.parseBlock(true,i);case Co.semi:return this.parseEmptyStatement(i);case Co._export:case Co._import:if(this.options.ecmaVersion>10&&n===Co._import){_o.lastIndex=this.pos;var s=_o.exec(this.input);var o=this.pos+s[0].length,l=this.input.charCodeAt(o);if(l===40){return this.parseExpressionStatement(i,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return n===Co._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(i,true,!e)}var u=this.value,c=this.parseExpression();if(n===Co.name&&c.type==="Identifier"&&this.eat(Co.colon)){return this.parseLabeledStatement(i,u,c,e)}else{return this.parseExpressionStatement(i,c)}}};ul.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next();if(this.eat(Co.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==Co.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var n=0;for(;n<this.labels.length;++n){var i=this.labels[n];if(e.label==null||i.name===e.label.name){if(i.kind!=null&&(r||i.kind==="loop")){break}if(e.label&&r){break}}}if(n===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,r?"BreakStatement":"ContinueStatement")};ul.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};ul.parseDoStatement=function(e){this.next();this.labels.push(cl);e.body=this.parseStatement("do");this.labels.pop();this.expect(Co._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(Co.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};ul.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(cl);this.enterScope(0);this.expect(Co.parenL);if(this.type===Co.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var r=this.isLet();if(this.type===Co._var||this.type===Co._const||r){var n=this.startNode(),i=r?"let":this.value;this.next();this.parseVar(n,true,i);this.finishNode(n,"VariableDeclaration");if((this.type===Co._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Co._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,n)}if(t>-1){this.unexpected(t)}return this.parseFor(e,n)}var a=new ll;var s=this.parseExpression(true,a);if(this.type===Co._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Co._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(s,false,a);this.checkLVal(s);return this.parseForIn(e,s)}else{this.checkExpressionErrors(a,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)};ul.parseFunctionStatement=function(e,t,r){this.next();return this.parseFunction(e,pl|(r?0:dl),false,t)};ul.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(Co._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};ul.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Co.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};ul.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(Co.braceL);this.labels.push(fl);this.enterScope(0);var t;for(var r=false;this.type!==Co.braceR;){if(this.type===Co._case||this.type===Co._default){var n=this.type===Co._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(n){t.test=this.parseExpression()}else{if(r){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}r=true;t.test=null}this.expect(Co.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};ul.parseThrowStatement=function(e){this.next();if(wo.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var hl=[];ul.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===Co._catch){var t=this.startNode();this.next();if(this.eat(Co.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Ho:0);this.checkLVal(t.param,r?rl:el);this.expect(Co.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(Co._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};ul.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};ul.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(cl);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};ul.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};ul.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};ul.parseLabeledStatement=function(e,t,r,n){for(var i=0,a=this.labels;i<a.length;i+=1){var s=a[i];if(s.name===t){this.raise(r.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===Co._switch?"switch":null;for(var l=this.labels.length-1;l>=0;l--){var u=this.labels[l];if(u.statementStart===e.start){u.statementStart=this.start;u.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label");this.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")};ul.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};ul.parseBlock=function(e,t){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(Co.braceL);if(e){this.enterScope(0)}while(!this.eat(Co.braceR)){var r=this.parseStatement(null);t.body.push(r)}if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};ul.parseFor=function(e,t){e.init=t;this.expect(Co.semi);e.test=this.type===Co.semi?null:this.parseExpression();this.expect(Co.semi);e.update=this.type===Co.parenR?null:this.parseExpression();this.expect(Co.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};ul.parseForIn=function(e,t){var r=this.type===Co._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(t.type==="AssignmentPattern"){this.raise(t.start,"Invalid left-hand side in for-loop")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssign();this.expect(Co.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")};ul.parseVar=function(e,t,r){e.declarations=[];e.kind=r;for(;;){var n=this.startNode();this.parseVarId(n,r);if(this.eat(Co.eq)){n.init=this.parseMaybeAssign(t)}else if(r==="const"&&!(this.type===Co._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(n.id.type!=="Identifier"&&!(t&&(this.type===Co._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{n.init=null}e.declarations.push(this.finishNode(n,"VariableDeclarator"));if(!this.eat(Co.comma)){break}}return e};ul.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,t==="var"?Zo:el,false)};var pl=1,dl=2,ml=4;ul.parseFunction=function(e,t,r,n){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n){if(this.type===Co.star&&t&dl){this.unexpected()}e.generator=this.eat(Co.star)}if(this.options.ecmaVersion>=8){e.async=!!n}if(t&pl){e.id=t&ml&&this.type!==Co.name?null:this.parseIdent();if(e.id&&!(t&dl)){this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Zo:el:tl)}}var i=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(Yo(e.async,e.generator));if(!(t&pl)){e.id=this.type===Co.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,r,false);this.yieldPos=i;this.awaitPos=a;this.awaitIdentPos=s;return this.finishNode(e,t&pl?"FunctionDeclaration":"FunctionExpression")};ul.parseFunctionParams=function(e){this.expect(Co.parenL);e.params=this.parseBindingList(Co.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ul.parseClass=function(e,t){this.next();var r=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var n=this.startNode();var i=false;n.body=[];this.expect(Co.braceL);while(!this.eat(Co.braceR)){var a=this.parseClassElement(e.superClass!==null);if(a){n.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(i){this.raise(a.start,"Duplicate constructor in the same class")}i=true}}}e.body=this.finishNode(n,"ClassBody");this.strict=r;return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};ul.parseClassElement=function(e){var t=this;if(this.eat(Co.semi)){return null}var r=this.startNode();var n=function e(n,i){if(i===void 0)i=false;var a=t.start,s=t.startLoc;if(!t.eatContextual(n)){return false}if(t.type!==Co.parenL&&(!i||!t.canInsertSemicolon())){return true}if(r.key){t.unexpected()}r.computed=false;r.key=t.startNodeAt(a,s);r.key.name=n;t.finishNode(r.key,"Identifier");return false};r.kind="method";r.static=n("static");var i=this.eat(Co.star);var a=false;if(!i){if(this.options.ecmaVersion>=8&&n("async",true)){a=true;i=this.options.ecmaVersion>=9&&this.eat(Co.star)}else if(n("get")){r.kind="get"}else if(n("set")){r.kind="set"}}if(!r.key){this.parsePropertyName(r)}var s=r.key;var o=false;if(!r.computed&&!r.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")){if(r.kind!=="method"){this.raise(s.start,"Constructor can't have get/set modifier")}if(i){this.raise(s.start,"Constructor can't be a generator")}if(a){this.raise(s.start,"Constructor can't be an async method")}r.kind="constructor";o=e}else if(r.static&&s.type==="Identifier"&&s.name==="prototype"){this.raise(s.start,"Classes may not have a static property named prototype")}this.parseClassMethod(r,i,a,o);if(r.kind==="get"&&r.value.params.length!==0){this.raiseRecoverable(r.value.start,"getter should have no params")}if(r.kind==="set"&&r.value.params.length!==1){this.raiseRecoverable(r.value.start,"setter should have exactly one param")}if(r.kind==="set"&&r.value.params[0].type==="RestElement"){this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params")}return r};ul.parseClassMethod=function(e,t,r,n){e.value=this.parseMethod(t,r,n);return this.finishNode(e,"MethodDefinition")};ul.parseClassId=function(e,t){if(this.type===Co.name){e.id=this.parseIdent();if(t){this.checkLVal(e.id,el,false)}}else{if(t===true){this.unexpected()}e.id=null}};ul.parseClassSuper=function(e){e.superClass=this.eat(Co._extends)?this.parseExprSubscripts():null};ul.parseExport=function(e,t){this.next();if(this.eat(Co.star)){this.expectContextual("from");if(this.type!==Co.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(Co._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===Co._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next();if(r){this.next()}e.declaration=this.parseFunction(n,pl|ml,false,r)}else if(this.type===Co._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==Co.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var a=0,s=e.specifiers;a<s.length;a+=1){var o=s[a];this.checkUnreserved(o.local);this.checkLocalExport(o.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};ul.checkExport=function(e,t,r){if(!e){return}if(Mo(e,t)){this.raiseRecoverable(r,"Duplicate export '"+t+"'")}e[t]=true};ul.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier"){this.checkExport(e,t.name,t.start)}else if(r==="ObjectPattern"){for(var n=0,i=t.properties;n<i.length;n+=1){var a=i[n];this.checkPatternExport(e,a)}}else if(r==="ArrayPattern"){for(var s=0,o=t.elements;s<o.length;s+=1){var l=o[s];if(l){this.checkPatternExport(e,l)}}}else if(r==="Property"){this.checkPatternExport(e,t.value)}else if(r==="AssignmentPattern"){this.checkPatternExport(e,t.left)}else if(r==="RestElement"){this.checkPatternExport(e,t.argument)}else if(r==="ParenthesizedExpression"){this.checkPatternExport(e,t.expression)}};ul.checkVariableExport=function(e,t){if(!e){return}for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}};ul.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};ul.parseExportSpecifiers=function(e){var t=[],r=true;this.expect(Co.braceL);while(!this.eat(Co.braceR)){if(!r){this.expect(Co.comma);if(this.afterTrailingComma(Co.braceR)){break}}else{r=false}var n=this.startNode();n.local=this.parseIdent(true);n.exported=this.eatContextual("as")?this.parseIdent(true):n.local;this.checkExport(e,n.exported.name,n.exported.start);t.push(this.finishNode(n,"ExportSpecifier"))}return t};ul.parseImport=function(e){this.next();if(this.type===Co.string){e.specifiers=hl;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===Co.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};ul.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===Co.name){var r=this.startNode();r.local=this.parseIdent();this.checkLVal(r.local,el);e.push(this.finishNode(r,"ImportDefaultSpecifier"));if(!this.eat(Co.comma)){return e}}if(this.type===Co.star){var n=this.startNode();this.next();this.expectContextual("as");n.local=this.parseIdent();this.checkLVal(n.local,el);e.push(this.finishNode(n,"ImportNamespaceSpecifier"));return e}this.expect(Co.braceL);while(!this.eat(Co.braceR)){if(!t){this.expect(Co.comma);if(this.afterTrailingComma(Co.braceR)){break}}else{t=false}var i=this.startNode();i.imported=this.parseIdent(true);if(this.eatContextual("as")){i.local=this.parseIdent()}else{this.checkUnreserved(i.imported);i.local=i.imported}this.checkLVal(i.local,el);e.push(this.finishNode(i,"ImportSpecifier"))}return e};ul.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t){e[t].directive=e[t].expression.raw.slice(1,-1)}};ul.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var vl=il.prototype;vl.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(r){this.checkPatternErrors(r,true)}for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.toAssignable(a,t);if(a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")){this.raise(a.argument.start,"Unexpected token")}}break;case"Property":if(e.kind!=="init"){this.raise(e.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern";if(r){this.checkPatternErrors(r,true)}this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement";this.toAssignable(e.argument,t);if(e.argument.type==="AssignmentPattern"){this.raise(e.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(e.operator!=="="){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.")}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"MemberExpression":if(!t){break}default:this.raise(e.start,"Assigning to rvalue")}}else if(r){this.checkPatternErrors(r,true)}return e};vl.toAssignableList=function(e,t){var r=e.length;for(var n=0;n<r;n++){var i=e[n];if(i){this.toAssignable(i,t)}}if(r){var a=e[r-1];if(this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"){this.unexpected(a.argument.start)}}return e};vl.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};vl.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==Co.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};vl.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case Co.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(Co.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case Co.braceL:return this.parseObj(true)}}return this.parseIdent()};vl.parseBindingList=function(e,t,r){var n=[],i=true;while(!this.eat(e)){if(i){i=false}else{this.expect(Co.comma)}if(t&&this.type===Co.comma){n.push(null)}else if(r&&this.afterTrailingComma(e)){break}else if(this.type===Co.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a);n.push(a);if(this.type===Co.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{var s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s);n.push(s)}}return n};vl.parseBindingListItem=function(e){return e};vl.parseMaybeDefault=function(e,t,r){r=r||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Co.eq)){return r}var n=this.startNodeAt(e,t);n.left=r;n.right=this.parseMaybeAssign();return this.finishNode(n,"AssignmentPattern")};vl.checkLVal=function(e,t,r){if(t===void 0)t=Qo;switch(e.type){case"Identifier":if(t===el&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(r){if(Mo(r,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}r[e.name]=true}if(t!==Qo&&t!==nl){this.declareName(e.name,t,e.start)}break;case"MemberExpression":if(t){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.checkLVal(a,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var s=0,o=e.elements;s<o.length;s+=1){var l=o[s];if(l){this.checkLVal(l,t,r)}}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var gl=il.prototype;gl.checkPropClash=function(e,t,r){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var n=e.key;var i;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){if(i==="__proto__"&&a==="init"){if(t.proto){if(r&&r.doubleProto<0){r.doubleProto=n.start}else{this.raiseRecoverable(n.start,"Redefinition of __proto__ property")}}t.proto=true}return}i="$"+i;var s=t[i];if(s){var o;if(a==="init"){o=this.strict&&s.init||s.get||s.set}else{o=s.init||s[a]}if(o){this.raiseRecoverable(n.start,"Redefinition of property")}}else{s=t[i]={init:false,get:false,set:false}}s[a]=true};gl.parseExpression=function(e,t){var r=this.start,n=this.startLoc;var i=this.parseMaybeAssign(e,t);if(this.type===Co.comma){var a=this.startNodeAt(r,n);a.expressions=[i];while(this.eat(Co.comma)){a.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(a,"SequenceExpression")}return i};gl.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var n=false,i=-1,a=-1,s=-1;if(t){i=t.parenthesizedAssign;a=t.trailingComma;s=t.shorthandAssign;t.parenthesizedAssign=t.trailingComma=t.shorthandAssign=-1}else{t=new ll;n=true}var o=this.start,l=this.startLoc;if(this.type===Co.parenL||this.type===Co.name){this.potentialArrowAt=this.start}var u=this.parseMaybeConditional(e,t);if(r){u=r.call(this,u,o,l)}if(this.type.isAssign){var c=this.startNodeAt(o,l);c.operator=this.value;c.left=this.type===Co.eq?this.toAssignable(u,false,t):u;if(!n){ll.call(t)}t.shorthandAssign=-1;this.checkLVal(u);this.next();c.right=this.parseMaybeAssign(e);return this.finishNode(c,"AssignmentExpression")}else{if(n){this.checkExpressionErrors(t,true)}}if(i>-1){t.parenthesizedAssign=i}if(a>-1){t.trailingComma=a}if(s>-1){t.shorthandAssign=s}return u};gl.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc;var i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return i}if(this.eat(Co.question)){var a=this.startNodeAt(r,n);a.test=i;a.consequent=this.parseMaybeAssign();this.expect(Co.colon);a.alternate=this.parseMaybeAssign(e);return this.finishNode(a,"ConditionalExpression")}return i};gl.parseExprOps=function(e,t){var r=this.start,n=this.startLoc;var i=this.parseMaybeUnary(t,false);if(this.checkExpressionErrors(t)){return i}return i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,n,-1,e)};gl.parseExprOp=function(e,t,r,n,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==Co._in)){if(a>n){var s=this.type===Co.logicalOR||this.type===Co.logicalAND;var o=this.value;this.next();var l=this.start,u=this.startLoc;var c=this.parseExprOp(this.parseMaybeUnary(null,false),l,u,a,i);var f=this.buildBinary(t,r,e,c,o,s);return this.parseExprOp(f,t,r,n,i)}}return e};gl.buildBinary=function(e,t,r,n,i,a){var s=this.startNodeAt(e,t);s.left=r;s.operator=i;s.right=n;return this.finishNode(s,a?"LogicalExpression":"BinaryExpression")};gl.parseMaybeUnary=function(e,t){var r=this.start,n=this.startLoc,i;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)){i=this.parseAwait();t=true}else if(this.type.prefix){var a=this.startNode(),s=this.type===Co.incDec;a.operator=this.value;a.prefix=true;this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(s){this.checkLVal(a.argument)}else if(this.strict&&a.operator==="delete"&&a.argument.type==="Identifier"){this.raiseRecoverable(a.start,"Deleting local variable in strict mode")}else{t=true}i=this.finishNode(a,s?"UpdateExpression":"UnaryExpression")}else{i=this.parseExprSubscripts(e);if(this.checkExpressionErrors(e)){return i}while(this.type.postfix&&!this.canInsertSemicolon()){var o=this.startNodeAt(r,n);o.operator=this.value;o.prefix=false;o.argument=i;this.checkLVal(i);this.next();i=this.finishNode(o,"UpdateExpression")}}if(!t&&this.eat(Co.starstar)){return this.buildBinary(r,n,i,this.parseMaybeUnary(null,false),"**",false)}else{return i}};gl.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc;var n=this.parseExprAtom(e);var i=n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")";if(this.checkExpressionErrors(e)||i){return n}var a=this.parseSubscripts(n,t,r);if(e&&a.type==="MemberExpression"){if(e.parenthesizedAssign>=a.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=a.start){e.parenthesizedBind=-1}}return a};gl.parseSubscripts=function(e,t,r,n){var i=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&this.input.slice(e.start,e.end)==="async";while(true){var a=this.parseSubscript(e,t,r,n,i);if(a===e||a.type==="ArrowFunctionExpression"){return a}e=a}};gl.parseSubscript=function(e,t,r,n,i){var a=this.eat(Co.bracketL);if(a||this.eat(Co.dot)){var s=this.startNodeAt(t,r);s.object=e;s.property=a?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never");s.computed=!!a;if(a){this.expect(Co.bracketR)}e=this.finishNode(s,"MemberExpression")}else if(!n&&this.eat(Co.parenL)){var o=new ll,l=this.yieldPos,u=this.awaitPos,c=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var f=this.parseExprList(Co.parenR,this.options.ecmaVersion>=8,false,o);if(i&&!this.canInsertSemicolon()&&this.eat(Co.arrow)){this.checkPatternErrors(o,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=l;this.awaitPos=u;this.awaitIdentPos=c;return this.parseArrowExpression(this.startNodeAt(t,r),f,true)}this.checkExpressionErrors(o,true);this.yieldPos=l||this.yieldPos;this.awaitPos=u||this.awaitPos;this.awaitIdentPos=c||this.awaitIdentPos;var h=this.startNodeAt(t,r);h.callee=e;h.arguments=f;e=this.finishNode(h,"CallExpression")}else if(this.type===Co.backQuote){var p=this.startNodeAt(t,r);p.tag=e;p.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(p,"TaggedTemplateExpression")}return e};gl.parseExprAtom=function(e){if(this.type===Co.slash){this.readRegexp()}var t,r=this.potentialArrowAt===this.start;switch(this.type){case Co._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}t=this.startNode();this.next();if(this.type===Co.parenL&&!this.allowDirectSuper){this.raise(t.start,"super() call outside constructor of a subclass")}if(this.type!==Co.dot&&this.type!==Co.bracketL&&this.type!==Co.parenL){this.unexpected()}return this.finishNode(t,"Super");case Co._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case Co.name:var n=this.start,i=this.startLoc,a=this.containsEsc;var s=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!a&&s.name==="async"&&!this.canInsertSemicolon()&&this.eat(Co._function)){return this.parseFunction(this.startNodeAt(n,i),0,false,true)}if(r&&!this.canInsertSemicolon()){if(this.eat(Co.arrow)){return this.parseArrowExpression(this.startNodeAt(n,i),[s],false)}if(this.options.ecmaVersion>=8&&s.name==="async"&&this.type===Co.name&&!a){s=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Co.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(n,i),[s],true)}}return s;case Co.regexp:var o=this.value;t=this.parseLiteral(o.value);t.regex={pattern:o.pattern,flags:o.flags};return t;case Co.num:case Co.string:return this.parseLiteral(this.value);case Co._null:case Co._true:case Co._false:t=this.startNode();t.value=this.type===Co._null?null:this.type===Co._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case Co.parenL:var l=this.start,u=this.parseParenAndDistinguishExpression(r);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)){e.parenthesizedAssign=l}if(e.parenthesizedBind<0){e.parenthesizedBind=l}}return u;case Co.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(Co.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case Co.braceL:return this.parseObj(false,e);case Co._function:t=this.startNode();this.next();return this.parseFunction(t,0);case Co._class:return this.parseClass(this.startNode(),false);case Co._new:return this.parseNew();case Co.backQuote:return this.parseTemplate();case Co._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};gl.parseExprImport=function(){var e=this.startNode();this.next();switch(this.type){case Co.parenL:return this.parseDynamicImport(e);default:this.unexpected()}};gl.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(Co.parenR)){var t=this.start;if(this.eat(Co.comma)&&this.eat(Co.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};gl.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1)}this.next();return this.finishNode(t,"Literal")};gl.parseParenExpression=function(){this.expect(Co.parenL);var e=this.parseExpression();this.expect(Co.parenR);return e};gl.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,n,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,s=this.startLoc;var o=[],l=true,u=false;var c=new ll,f=this.yieldPos,h=this.awaitPos,p;this.yieldPos=0;this.awaitPos=0;while(this.type!==Co.parenR){l?l=false:this.expect(Co.comma);if(i&&this.afterTrailingComma(Co.parenR,true)){u=true;break}else if(this.type===Co.ellipsis){p=this.start;o.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Co.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{o.push(this.parseMaybeAssign(false,c,this.parseParenItem))}}var d=this.start,m=this.startLoc;this.expect(Co.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(Co.arrow)){this.checkPatternErrors(c,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=f;this.awaitPos=h;return this.parseParenArrowList(t,r,o)}if(!o.length||u){this.unexpected(this.lastTokStart)}if(p){this.unexpected(p)}this.checkExpressionErrors(c,true);this.yieldPos=f||this.yieldPos;this.awaitPos=h||this.awaitPos;if(o.length>1){n=this.startNodeAt(a,s);n.expressions=o;this.finishNodeAt(n,"SequenceExpression",d,m)}else{n=o[0]}}else{n=this.parseParenExpression()}if(this.options.preserveParens){var v=this.startNodeAt(t,r);v.expression=n;return this.finishNode(v,"ParenthesizedExpression")}else{return n}};gl.parseParenItem=function(e){return e};gl.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var yl=[];gl.parseNew=function(){var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Co.dot)){e.meta=t;var r=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"||r){this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target")}if(!this.inNonArrowFunction()){this.raiseRecoverable(e.start,"new.target can only be used in functions")}return this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc,a=this.type===Co._import;e.callee=this.parseSubscripts(this.parseExprAtom(),n,i,true);if(a&&e.callee.type==="ImportExpression"){this.raise(n,"Cannot use new with import()")}if(this.eat(Co.parenL)){e.arguments=this.parseExprList(Co.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=yl}return this.finishNode(e,"NewExpression")};gl.parseTemplateElement=function(e){var t=e.isTagged;var r=this.startNode();if(this.type===Co.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}r.value={raw:this.value,cooked:null}}else{r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();r.tail=this.type===Co.backQuote;return this.finishNode(r,"TemplateElement")};gl.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var r=this.startNode();this.next();r.expressions=[];var n=this.parseTemplateElement({isTagged:t});r.quasis=[n];while(!n.tail){if(this.type===Co.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Co.dollarBraceL);r.expressions.push(this.parseExpression());this.expect(Co.braceR);r.quasis.push(n=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(r,"TemplateLiteral")};gl.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===Co.name||this.type===Co.num||this.type===Co.string||this.type===Co.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Co.star)&&!wo.test(this.input.slice(this.lastTokEnd,this.start))};gl.parseObj=function(e,t){var r=this.startNode(),n=true,i={};r.properties=[];this.next();while(!this.eat(Co.braceR)){if(!n){this.expect(Co.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Co.braceR)){break}}else{n=false}var a=this.parseProperty(e,t);if(!e){this.checkPropClash(a,i,t)}r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};gl.parseProperty=function(e,t){var r=this.startNode(),n,i,a,s;if(this.options.ecmaVersion>=9&&this.eat(Co.ellipsis)){if(e){r.argument=this.parseIdent(false);if(this.type===Co.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(r,"RestElement")}if(this.type===Co.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}r.argument=this.parseMaybeAssign(false,t);if(this.type===Co.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(r,"SpreadElement")}if(this.options.ecmaVersion>=6){r.method=false;r.shorthand=false;if(e||t){a=this.start;s=this.startLoc}if(!e){n=this.eat(Co.star)}}var o=this.containsEsc;this.parsePropertyName(r);if(!e&&!o&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)){i=true;n=this.options.ecmaVersion>=9&&this.eat(Co.star);this.parsePropertyName(r,t)}else{i=false}this.parsePropertyValue(r,e,n,i,a,s,t,o);return this.finishNode(r,"Property")};gl.parsePropertyValue=function(e,t,r,n,i,a,s,o){if((r||n)&&this.type===Co.colon){this.unexpected()}if(this.eat(Co.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,s);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Co.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(r,n)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==Co.comma&&this.type!==Co.braceR){if(r||n){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var l=e.kind==="get"?0:1;if(e.value.params.length!==l){var u=e.value.start;if(e.kind==="get"){this.raiseRecoverable(u,"getter should have no params")}else{this.raiseRecoverable(u,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(r||n){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i}e.kind="init";if(t){e.value=this.parseMaybeDefault(i,a,e.key)}else if(this.type===Co.eq&&s){if(s.shorthandAssign<0){s.shorthandAssign=this.start}e.value=this.parseMaybeDefault(i,a,e.key)}else{e.value=e.key}e.shorthand=true}else{this.unexpected()}};gl.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(Co.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(Co.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===Co.num||this.type===Co.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};gl.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};gl.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;this.initFunction(n);if(this.options.ecmaVersion>=6){n.generator=e}if(this.options.ecmaVersion>=8){n.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(Yo(t,n.generator)|Ko|(r?$o:0));this.expect(Co.parenL);n.params=this.parseBindingList(Co.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(n,false,true);this.yieldPos=i;this.awaitPos=a;this.awaitIdentPos=s;return this.finishNode(n,"FunctionExpression")};gl.parseArrowExpression=function(e,t,r){var n=this.yieldPos,i=this.awaitPos,a=this.awaitIdentPos;this.enterScope(Yo(r,false)|Wo);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!r}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=n;this.awaitPos=i;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};gl.parseFunctionBody=function(e,t,r){var n=t&&this.type!==Co.braceL;var i=this.strict,a=false;if(n){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!i||s){a=this.strictDirective(this.end);if(a&&s){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var o=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!i&&!a&&!t&&!r&&this.isSimpleParamList(e.params));e.body=this.parseBlock(false);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=o}this.exitScope();if(this.strict&&e.id){this.checkLVal(e.id,nl)}this.strict=i};gl.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier"){return false}}return true};gl.checkParams=function(e,t){var r={};for(var n=0,i=e.params;n<i.length;n+=1){var a=i[n];this.checkLVal(a,Zo,t?null:r)}};gl.parseExprList=function(e,t,r,n){var i=[],a=true;while(!this.eat(e)){if(!a){this.expect(Co.comma);if(t&&this.afterTrailingComma(e)){break}}else{a=false}var s=void 0;if(r&&this.type===Co.comma){s=null}else if(this.type===Co.ellipsis){s=this.parseSpread(n);if(n&&this.type===Co.comma&&n.trailingComma<0){n.trailingComma=this.start}}else{s=this.parseMaybeAssign(false,n)}i.push(s)}return i};gl.checkUnreserved=function(e){var t=e.start;var r=e.end;var n=e.name;if(this.inGenerator&&n==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(this.keywords.test(n)){this.raise(t,"Unexpected keyword '"+n+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1){return}var i=this.strict?this.reservedWordsStrict:this.reservedWords;if(i.test(n)){if(!this.inAsync&&n==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+n+"' is reserved")}};gl.parseIdent=function(e,t){var r=this.startNode();if(this.type===Co.name){r.name=this.value}else if(this.type.keyword){r.name=this.type.keyword;if((r.name==="class"||r.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next();this.finishNode(r,"Identifier");if(!e){this.checkUnreserved(r);if(r.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=r.start}}return r};gl.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===Co.semi||this.canInsertSemicolon()||this.type!==Co.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(Co.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};gl.parseAwait=function(){if(!this.awaitPos){this.awaitPos=this.start}var e=this.startNode();this.next();e.argument=this.parseMaybeUnary(null,true);return this.finishNode(e,"AwaitExpression")};var xl=il.prototype;xl.raise=function(e,t){var r=Ro(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);n.pos=e;n.loc=r;n.raisedAt=this.pos;throw n};xl.raiseRecoverable=xl.raise;xl.curPosition=function(){if(this.options.locations){return new Bo(this.curLine,this.pos-this.lineStart)}};var El=il.prototype;var bl=function e(t){this.flags=t;this.var=[];this.lexical=[];this.functions=[]};El.enterScope=function(e){this.scopeStack.push(new bl(e))};El.exitScope=function(){this.scopeStack.pop()};El.treatFunctionsAsVarInScope=function(e){return e.flags&zo||!this.inModule&&e.flags&Go};El.declareName=function(e,t,r){var n=false;if(t===el){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1;i.lexical.push(e);if(this.inModule&&i.flags&Go){delete this.undefinedExports[e]}}else if(t===rl){var a=this.currentScope();a.lexical.push(e)}else if(t===tl){var s=this.currentScope();if(this.treatFunctionsAsVar){n=s.lexical.indexOf(e)>-1}else{n=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1}s.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var l=this.scopeStack[o];if(l.lexical.indexOf(e)>-1&&!(l.flags&Ho&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){n=true;break}l.var.push(e);if(this.inModule&&l.flags&Go){delete this.undefinedExports[e]}if(l.flags&Xo){break}}}if(n){this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")}};El.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};El.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};El.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Xo){return t}}};El.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Xo&&!(t.flags&Wo)){return t}}};var Sl=function e(t,r,n){this.type="";this.start=r;this.end=0;if(t.options.locations){this.loc=new Oo(t,n)}if(t.options.directSourceFile){this.sourceFile=t.options.directSourceFile}if(t.options.ranges){this.range=[r,0]}};var Dl=il.prototype;Dl.startNode=function(){return new Sl(this,this.start,this.startLoc)};Dl.startNodeAt=function(e,t){return new Sl(this,e,t)};function Cl(e,t,r,n){e.type=t;e.end=r;if(this.options.locations){e.loc.end=n}if(this.options.ranges){e.range[1]=r}return e}Dl.finishNode=function(e,t){return Cl.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Dl.finishNodeAt=function(e,t,r,n){return Cl.call(this,e,t,r,n)};var wl=function e(t,r,n,i,a){this.token=t;this.isExpr=!!r;this.preserveSpace=!!n;this.override=i;this.generator=!!a};var Al={b_stat:new wl("{",false),b_expr:new wl("{",true),b_tmpl:new wl("${",false),p_stat:new wl("(",false),p_expr:new wl("(",true),q_tmpl:new wl("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new wl("function",false),f_expr:new wl("function",true),f_expr_gen:new wl("function",true,false,null,true),f_gen:new wl("function",false,false,null,true)};var Tl=il.prototype;Tl.initialContext=function(){return[Al.b_stat]};Tl.braceIsBlock=function(e){var t=this.curContext();if(t===Al.f_expr||t===Al.f_stat){return true}if(e===Co.colon&&(t===Al.b_stat||t===Al.b_expr)){return!t.isExpr}if(e===Co._return||e===Co.name&&this.exprAllowed){return wo.test(this.input.slice(this.lastTokEnd,this.start))}if(e===Co._else||e===Co.semi||e===Co.eof||e===Co.parenR||e===Co.arrow){return true}if(e===Co.braceL){return t===Al.b_stat}if(e===Co._var||e===Co._const||e===Co.name){return false}return!this.exprAllowed};Tl.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};Tl.updateContext=function(e){var t,r=this.type;if(r.keyword&&e===Co.dot){this.exprAllowed=false}else if(t=r.updateContext){t.call(this,e)}else{this.exprAllowed=r.beforeExpr}};Co.parenR.updateContext=Co.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===Al.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};Co.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Al.b_stat:Al.b_expr);this.exprAllowed=true};Co.dollarBraceL.updateContext=function(){this.context.push(Al.b_tmpl);this.exprAllowed=true};Co.parenL.updateContext=function(e){var t=e===Co._if||e===Co._for||e===Co._with||e===Co._while;this.context.push(t?Al.p_stat:Al.p_expr);this.exprAllowed=true};Co.incDec.updateContext=function(){};Co._function.updateContext=Co._class.updateContext=function(e){if(e.beforeExpr&&e!==Co.semi&&e!==Co._else&&!(e===Co._return&&wo.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===Co.colon||e===Co.braceL)&&this.curContext()===Al.b_stat)){this.context.push(Al.f_expr)}else{this.context.push(Al.f_stat)}this.exprAllowed=false};Co.backQuote.updateContext=function(){if(this.curContext()===Al.q_tmpl){this.context.pop()}else{this.context.push(Al.q_tmpl)}this.exprAllowed=false};Co.star.updateContext=function(e){if(e===Co._function){var t=this.context.length-1;if(this.context[t]===Al.f_expr){this.context[t]=Al.f_expr_gen}else{this.context[t]=Al.f_gen}}this.exprAllowed=true};Co.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==Co.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var kl="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var _l=kl+" Extended_Pictographic";var Pl=_l;var Fl={9:kl,10:_l,11:Pl};var Il="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Ml="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Nl=Ml+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ll=Nl+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Bl={9:Ml,10:Nl,11:Ll};var Ol={};function Rl(e){var t=Ol[e]={binary:Lo(Fl[e]+" "+Il),nonBinary:{General_Category:Lo(Il),Script:Lo(Bl[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}Rl(9);Rl(10);Rl(11);var jl=il.prototype;var Ul=function e(t){this.parser=t;this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Ol[t.options.ecmaVersion>=11?11:t.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ul.prototype.reset=function e(t,r,n){var i=n.indexOf("u")!==-1;this.start=t|0;this.source=r+"";this.flags=n;this.switchU=i&&this.parser.options.ecmaVersion>=6;this.switchN=i&&this.parser.options.ecmaVersion>=9};Ul.prototype.raise=function e(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ul.prototype.at=function e(t){var r=this.source;var n=r.length;if(t>=n){return-1}var i=r.charCodeAt(t);if(!this.switchU||i<=55295||i>=57344||t+1>=n){return i}return(i<<10)+r.charCodeAt(t+1)-56613888};Ul.prototype.nextIndex=function e(t){var r=this.source;var n=r.length;if(t>=n){return n}var i=r.charCodeAt(t);if(!this.switchU||i<=55295||i>=57344||t+1>=n){return t+1}return t+2};Ul.prototype.current=function e(){return this.at(this.pos)};Ul.prototype.lookahead=function e(){return this.at(this.nextIndex(this.pos))};Ul.prototype.advance=function e(){this.pos=this.nextIndex(this.pos)};Ul.prototype.eat=function e(t){if(this.current()===t){this.advance();return true}return false};function Vl(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}jl.validateRegExpFlags=function(e){var t=e.validFlags;var r=e.flags;for(var n=0;n<r.length;n++){var i=r.charAt(n);if(t.indexOf(i)===-1){this.raise(e.start,"Invalid regular expression flag")}if(r.indexOf(i,n+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}}};jl.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};jl.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];if(e.groupNames.indexOf(n)===-1){e.raise("Invalid named capture referenced")}}};jl.regexp_disjunction=function(e){this.regexp_alternative(e);while(e.eat(124)){this.regexp_alternative(e)}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};jl.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};jl.regexp_eatTerm=function(e){if(this.regexp_eatAssertion(e)){if(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)){if(e.switchU){e.raise("Invalid quantifier")}}return true}if(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e)){this.regexp_eatQuantifier(e);return true}return false};jl.regexp_eatAssertion=function(e){var t=e.pos;e.lastAssertionIsQuantifiable=false;if(e.eat(94)||e.eat(36)){return true}if(e.eat(92)){if(e.eat(66)||e.eat(98)){return true}e.pos=t}if(e.eat(40)&&e.eat(63)){var r=false;if(this.options.ecmaVersion>=9){r=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!r;return true}}e.pos=t;return false};jl.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};jl.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};jl.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)){n=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){i=e.lastIntValue}if(e.eat(125)){if(i!==-1&&i<n&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=r}return false};jl.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};jl.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};jl.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}e.pos=t}return false};jl.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};jl.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};jl.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};jl.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(Gl(t)){e.lastIntValue=t;e.advance();return true}return false};function Gl(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}jl.regexp_eatPatternCharacters=function(e){var t=e.pos;var r=0;while((r=e.current())!==-1&&!Gl(r)){e.advance()}return e.pos!==t};jl.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};jl.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};jl.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};jl.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=Vl(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=Vl(e.lastIntValue)}return true}return false};jl.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var r=e.current();e.advance();if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e)){r=e.lastIntValue}if(zl(r)){e.lastIntValue=r;return true}e.pos=t;return false};function zl(e){return vo(e,true)||e===36||e===95}jl.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var r=e.current();e.advance();if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e)){r=e.lastIntValue}if(Xl(r)){e.lastIntValue=r;return true}e.pos=t;return false};function Xl(e){return go(e,true)||e===36||e===95||e===8204||e===8205}jl.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};jl.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU){if(r>e.maxBackReference){e.maxBackReference=r}return true}if(r<=e.numCapturingParens){return true}e.pos=t}return false};jl.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};jl.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};jl.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};jl.regexp_eatZero=function(e){if(e.current()===48&&!$l(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};jl.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};jl.regexp_eatControlLetter=function(e){var t=e.current();if(Jl(t)){e.lastIntValue=t%32;e.advance();return true}return false};function Jl(e){return e>=65&&e<=90||e>=97&&e<=122}jl.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(i>=56320&&i<=57343){e.lastIntValue=(r-55296)*1024+(i-56320)+65536;return true}}e.pos=n;e.lastIntValue=r}return true}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&ql(e.lastIntValue)){return true}if(e.switchU){e.raise("Invalid unicode escape")}e.pos=t}return false};function ql(e){return e>=0&&e<=1114111}jl.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};jl.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};jl.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Wl(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function Wl(e){return e===100||e===68||e===115||e===83||e===119||e===87}jl.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,r,n);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,i);return true}return false};jl.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){if(!Mo(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(r)){e.raise("Invalid property value")}};jl.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};jl.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(Hl(t=e.current())){e.lastStringValue+=Vl(t);e.advance()}return e.lastStringValue!==""};function Hl(e){return Jl(e)||e===95}jl.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(Kl(t=e.current())){e.lastStringValue+=Vl(t);e.advance()}return e.lastStringValue!==""};function Kl(e){return Hl(e)||$l(e)}jl.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};jl.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};jl.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;if(e.switchU&&(t===-1||r===-1)){e.raise("Invalid character class")}if(t!==-1&&r!==-1&&t>r){e.raise("Range out of order in character class")}}}};jl.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var r=e.current();if(r===99||Zl(r)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var n=e.current();if(n!==93){e.lastIntValue=n;e.advance();return true}return false};jl.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};jl.regexp_eatClassControlLetter=function(e){var t=e.current();if($l(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};jl.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};jl.regexp_eatDecimalDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while($l(r=e.current())){e.lastIntValue=10*e.lastIntValue+(r-48);e.advance()}return e.pos!==t};function $l(e){return e>=48&&e<=57}jl.regexp_eatHexDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(Yl(r=e.current())){e.lastIntValue=16*e.lastIntValue+Ql(r);e.advance()}return e.pos!==t};function Yl(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ql(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}jl.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+r*8+e.lastIntValue}else{e.lastIntValue=t*8+r}}else{e.lastIntValue=t}return true}return false};jl.regexp_eatOctalDigit=function(e){var t=e.current();if(Zl(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function Zl(e){return e>=48&&e<=55}jl.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!Yl(i)){e.pos=r;return false}e.lastIntValue=16*e.lastIntValue+Ql(i);e.advance()}return true};var eu=function e(t){this.type=t.type;this.value=t.value;this.start=t.start;this.end=t.end;if(t.options.locations){this.loc=new Oo(t,t.startLoc,t.endLoc)}if(t.options.ranges){this.range=[t.start,t.end]}};var tu=il.prototype;tu.next=function(){if(this.options.onToken){this.options.onToken(new eu(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};tu.getToken=function(){this.next();return new eu(this)};if(typeof Symbol!=="undefined"){tu[Symbol.iterator]=function(){var e=this;return{next:function t(){var r=e.getToken();return{done:r.type===Co.eof,value:r}}}}}tu.curContext=function(){return this.context[this.context.length-1]};tu.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(Co.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};tu.readToken=function(e){if(vo(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};tu.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};tu.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=r+2;if(this.options.locations){Ao.lastIndex=t;var n;while((n=Ao.exec(this.input))&&n.index<this.pos){++this.curLine;this.lineStart=n.index+n[0].length}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())}};tu.skipLineComment=function(e){var t=this.pos;var r=this.options.onComment&&this.curPosition();var n=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!To(n)){n=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())}};tu.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&ko.test(String.fromCharCode(e))){++this.pos}else{break e}}}};tu.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var r=this.type;this.type=e;this.value=t;this.updateContext(r)};tu.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(Co.ellipsis)}else{++this.pos;return this.finishToken(Co.dot)}};tu.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(Co.assign,2)}return this.finishOp(Co.slash,1)};tu.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;var n=e===42?Co.star:Co.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++r;n=Co.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(Co.assign,r+1)}return this.finishOp(n,r)};tu.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){return this.finishOp(e===124?Co.logicalOR:Co.logicalAND,2)}if(t===61){return this.finishOp(Co.assign,2)}return this.finishOp(e===124?Co.bitwiseOR:Co.bitwiseAND,1)};tu.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(Co.assign,2)}return this.finishOp(Co.bitwiseXOR,1)};tu.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||wo.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Co.incDec,2)}if(t===61){return this.finishOp(Co.assign,2)}return this.finishOp(Co.plusMin,1)};tu.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;if(t===e){r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+r)===61){return this.finishOp(Co.assign,r+1)}return this.finishOp(Co.bitShift,r)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){r=2}return this.finishOp(Co.relational,r)};tu.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(Co.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Co.arrow)}return this.finishOp(e===61?Co.eq:Co.prefix,1)};tu.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Co.parenL);case 41:++this.pos;return this.finishToken(Co.parenR);case 59:++this.pos;return this.finishToken(Co.semi);case 44:++this.pos;return this.finishToken(Co.comma);case 91:++this.pos;return this.finishToken(Co.bracketL);case 93:++this.pos;return this.finishToken(Co.bracketR);case 123:++this.pos;return this.finishToken(Co.braceL);case 125:++this.pos;return this.finishToken(Co.braceR);case 58:++this.pos;return this.finishToken(Co.colon);case 63:++this.pos;return this.finishToken(Co.question);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Co.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(Co.prefix,1)}this.raise(this.pos,"Unexpected character '"+ru(e)+"'")};tu.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,r)};tu.readRegexp=function(){var e,t,r=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(r,"Unterminated regular expression")}var n=this.input.charAt(this.pos);if(wo.test(n)){this.raise(r,"Unterminated regular expression")}if(!e){if(n==="["){t=true}else if(n==="]"&&t){t=false}else if(n==="/"&&!t){break}e=n==="\\"}else{e=false}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var a=this.pos;var s=this.readWord1();if(this.containsEsc){this.unexpected(a)}var o=this.regexpState||(this.regexpState=new Ul(this));o.reset(r,i,s);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var l=null;try{l=new RegExp(i,s)}catch(e){}return this.finishToken(Co.regexp,{pattern:i,flags:s,value:l})};tu.readInt=function(e,t){var r=this.pos,n=0;for(var i=0,a=t==null?Infinity:t;i<a;++i){var s=this.input.charCodeAt(this.pos),o=void 0;if(s>=97){o=s-97+10}else if(s>=65){o=s-65+10}else if(s>=48&&s<=57){o=s-48}else{o=Infinity}if(o>=e){break}++this.pos;n=n*e+o}if(this.pos===r||t!=null&&this.pos-r!==t){return null}return n};tu.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);if(r==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){r=typeof BigInt!=="undefined"?BigInt(this.input.slice(t,this.pos)):null;++this.pos}else if(vo(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Co.num,r)};tu.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10)===null){this.raise(t,"Invalid number")}var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(r&&this.strict){this.raise(t,"Invalid number")}if(r&&/[89]/.test(this.input.slice(t,this.pos))){r=false}var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var i=this.input.slice(t,this.pos);var a=typeof BigInt!=="undefined"?BigInt(i):null;++this.pos;if(vo(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Co.num,a)}if(n===46&&!r){++this.pos;this.readInt(10);n=this.input.charCodeAt(this.pos)}if((n===69||n===101)&&!r){n=this.input.charCodeAt(++this.pos);if(n===43||n===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(vo(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=this.input.slice(t,this.pos);var o=r?parseInt(s,8):parseFloat(s);return this.finishToken(Co.num,o)};tu.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(r,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function ru(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}tu.readString=function(e){var t="",r=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var n=this.input.charCodeAt(this.pos);if(n===e){break}if(n===92){t+=this.input.slice(r,this.pos);t+=this.readEscapedChar(false);r=this.pos}else{if(To(n,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(r,this.pos++);return this.finishToken(Co.string,t)};var nu={};tu.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===nu){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};tu.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw nu}else{this.raise(e,t)}};tu.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Co.template||this.type===Co.invalidTemplate)){if(r===36){this.pos+=2;return this.finishToken(Co.dollarBraceL)}else{++this.pos;return this.finishToken(Co.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(Co.template,e)}if(r===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(To(r)){e+=this.input.slice(t,this.pos);++this.pos;switch(r){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};tu.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(Co.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};tu.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);++this.pos;switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ru(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var n=parseInt(r,8);if(n>255){r=r.slice(0,-1);n=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(n)}if(To(t)){return""}return String.fromCharCode(t)}};tu.readHexChar=function(e){var t=this.pos;var r=this.readInt(16,e);if(r===null){this.invalidStringToken(t,"Bad character escape sequence")}return r};tu.readWord1=function(){this.containsEsc=false;var e="",t=true,r=this.pos;var n=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var i=this.fullCharCodeAtPos();if(go(i,n)){this.pos+=i<=65535?1:2}else if(i===92){this.containsEsc=true;e+=this.input.slice(r,this.pos);var a=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var s=this.readCodePoint();if(!(t?vo:go)(s,n)){this.invalidStringToken(a,"Invalid Unicode escape")}e+=ru(s);r=this.pos}else{break}t=false}return e+this.input.slice(r,this.pos)};tu.readWord=function(){var e=this.readWord1();var t=Co.name;if(this.keywords.test(e)){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+e)}t=So[e]}return this.finishToken(t,e)};var iu="7.1.0";il.acorn={Parser:il,version:iu,defaultOptions:jo,Position:Bo,SourceLocation:Oo,getLineInfo:Ro,Node:Sl,TokenType:yo,tokTypes:Co,keywordTypes:So,TokContext:wl,tokContexts:Al,isIdentifierChar:go,isIdentifierStart:vo,Token:eu,isNewLine:To,lineBreak:wo,lineBreakG:Ao,nonASCIIwhitespace:ko};function au(e,t){return ea(e,Object.assign({parser:{parse(e,t){return il.parse(e,Object.assign({},t,{ecmaVersion:2020}))}}},t))}var su={Array:false,ArrayBuffer:false,Atomics:false,BigInt:false,BigInt64Array:false,BigUint64Array:false,Boolean:false,constructor:false,DataView:false,Date:false,decodeURI:false,decodeURIComponent:false,encodeURI:false,encodeURIComponent:false,Error:false,escape:false,eval:false,EvalError:false,Float32Array:false,Float64Array:false,Function:false,globalThis:false,hasOwnProperty:false,Infinity:false,Int16Array:false,Int32Array:false,Int8Array:false,isFinite:false,isNaN:false,isPrototypeOf:false,JSON:false,Map:false,Math:false,NaN:false,Number:false,Object:false,parseFloat:false,parseInt:false,Promise:false,propertyIsEnumerable:false,Proxy:false,RangeError:false,ReferenceError:false,Reflect:false,RegExp:false,Set:false,SharedArrayBuffer:false,String:false,Symbol:false,SyntaxError:false,toLocaleString:false,toString:false,TypeError:false,Uint16Array:false,Uint32Array:false,Uint8Array:false,Uint8ClampedArray:false,undefined:false,unescape:false,URIError:false,valueOf:false,WeakMap:false,WeakSet:false};var ou={Array:false,Boolean:false,constructor:false,Date:false,decodeURI:false,decodeURIComponent:false,encodeURI:false,encodeURIComponent:false,Error:false,escape:false,eval:false,EvalError:false,Function:false,hasOwnProperty:false,Infinity:false,isFinite:false,isNaN:false,isPrototypeOf:false,JSON:false,Math:false,NaN:false,Number:false,Object:false,parseFloat:false,parseInt:false,propertyIsEnumerable:false,RangeError:false,ReferenceError:false,RegExp:false,String:false,SyntaxError:false,toLocaleString:false,toString:false,TypeError:false,undefined:false,unescape:false,URIError:false,valueOf:false};var lu={Array:false,ArrayBuffer:false,Boolean:false,constructor:false,DataView:false,Date:false,decodeURI:false,decodeURIComponent:false,encodeURI:false,encodeURIComponent:false,Error:false,escape:false,eval:false,EvalError:false,Float32Array:false,Float64Array:false,Function:false,hasOwnProperty:false,Infinity:false,Int16Array:false,Int32Array:false,Int8Array:false,isFinite:false,isNaN:false,isPrototypeOf:false,JSON:false,Map:false,Math:false,NaN:false,Number:false,Object:false,parseFloat:false,parseInt:false,Promise:false,propertyIsEnumerable:false,Proxy:false,RangeError:false,ReferenceError:false,Reflect:false,RegExp:false,Set:false,String:false,Symbol:false,SyntaxError:false,toLocaleString:false,toString:false,TypeError:false,Uint16Array:false,Uint32Array:false,Uint8Array:false,Uint8ClampedArray:false,undefined:false,unescape:false,URIError:false,valueOf:false,WeakMap:false,WeakSet:false};var uu={Array:false,ArrayBuffer:false,Atomics:false,Boolean:false,constructor:false,DataView:false,Date:false,decodeURI:false,decodeURIComponent:false,encodeURI:false,encodeURIComponent:false,Error:false,escape:false,eval:false,EvalError:false,Float32Array:false,Float64Array:false,Function:false,hasOwnProperty:false,Infinity:false,Int16Array:false,Int32Array:false,Int8Array:false,isFinite:false,isNaN:false,isPrototypeOf:false,JSON:false,Map:false,Math:false,NaN:false,Number:false,Object:false,parseFloat:false,parseInt:false,Promise:false,propertyIsEnumerable:false,Proxy:false,RangeError:false,ReferenceError:false,Reflect:false,RegExp:false,Set:false,SharedArrayBuffer:false,String:false,Symbol:false,SyntaxError:false,toLocaleString:false,toString:false,TypeError:false,Uint16Array:false,Uint32Array:false,Uint8Array:false,Uint8ClampedArray:false,undefined:false,unescape:false,URIError:false,valueOf:false,WeakMap:false,WeakSet:false};var cu={AbortController:false,AbortSignal:false,addEventListener:false,alert:false,AnalyserNode:false,Animation:false,AnimationEffectReadOnly:false,AnimationEffectTiming:false,AnimationEffectTimingReadOnly:false,AnimationEvent:false,AnimationPlaybackEvent:false,AnimationTimeline:false,applicationCache:false,ApplicationCache:false,ApplicationCacheErrorEvent:false,atob:false,Attr:false,Audio:false,AudioBuffer:false,AudioBufferSourceNode:false,AudioContext:false,AudioDestinationNode:false,AudioListener:false,AudioNode:false,AudioParam:false,AudioProcessingEvent:false,AudioScheduledSourceNode:false,"AudioWorkletGlobalScope ":false,AudioWorkletNode:false,AudioWorkletProcessor:false,BarProp:false,BaseAudioContext:false,BatteryManager:false,BeforeUnloadEvent:false,BiquadFilterNode:false,Blob:false,BlobEvent:false,blur:false,BroadcastChannel:false,btoa:false,BudgetService:false,ByteLengthQueuingStrategy:false,Cache:false,caches:false,CacheStorage:false,cancelAnimationFrame:false,cancelIdleCallback:false,CanvasCaptureMediaStreamTrack:false,CanvasGradient:false,CanvasPattern:false,CanvasRenderingContext2D:false,ChannelMergerNode:false,ChannelSplitterNode:false,CharacterData:false,clearInterval:false,clearTimeout:false,clientInformation:false,ClipboardEvent:false,close:false,closed:false,CloseEvent:false,Comment:false,CompositionEvent:false,confirm:false,console:false,ConstantSourceNode:false,ConvolverNode:false,CountQueuingStrategy:false,createImageBitmap:false,Credential:false,CredentialsContainer:false,crypto:false,Crypto:false,CryptoKey:false,CSS:false,CSSConditionRule:false,CSSFontFaceRule:false,CSSGroupingRule:false,CSSImportRule:false,CSSKeyframeRule:false,CSSKeyframesRule:false,CSSMediaRule:false,CSSNamespaceRule:false,CSSPageRule:false,CSSRule:false,CSSRuleList:false,CSSStyleDeclaration:false,CSSStyleRule:false,CSSStyleSheet:false,CSSSupportsRule:false,CustomElementRegistry:false,customElements:false,CustomEvent:false,DataTransfer:false,DataTransferItem:false,DataTransferItemList:false,defaultstatus:false,defaultStatus:false,DelayNode:false,DeviceMotionEvent:false,DeviceOrientationEvent:false,devicePixelRatio:false,dispatchEvent:false,document:false,Document:false,DocumentFragment:false,DocumentType:false,DOMError:false,DOMException:false,DOMImplementation:false,DOMMatrix:false,DOMMatrixReadOnly:false,DOMParser:false,DOMPoint:false,DOMPointReadOnly:false,DOMQuad:false,DOMRect:false,DOMRectReadOnly:false,DOMStringList:false,DOMStringMap:false,DOMTokenList:false,DragEvent:false,DynamicsCompressorNode:false,Element:false,ErrorEvent:false,event:false,Event:false,EventSource:false,EventTarget:false,external:false,fetch:false,File:false,FileList:false,FileReader:false,find:false,focus:false,FocusEvent:false,FontFace:false,FontFaceSetLoadEvent:false,FormData:false,frameElement:false,frames:false,GainNode:false,Gamepad:false,GamepadButton:false,GamepadEvent:false,getComputedStyle:false,getSelection:false,HashChangeEvent:false,Headers:false,history:false,History:false,HTMLAllCollection:false,HTMLAnchorElement:false,HTMLAreaElement:false,HTMLAudioElement:false,HTMLBaseElement:false,HTMLBodyElement:false,HTMLBRElement:false,HTMLButtonElement:false,HTMLCanvasElement:false,HTMLCollection:false,HTMLContentElement:false,HTMLDataElement:false,HTMLDataListElement:false,HTMLDetailsElement:false,HTMLDialogElement:false,HTMLDirectoryElement:false,HTMLDivElement:false,HTMLDListElement:false,HTMLDocument:false,HTMLElement:false,HTMLEmbedElement:false,HTMLFieldSetElement:false,HTMLFontElement:false,HTMLFormControlsCollection:false,HTMLFormElement:false,HTMLFrameElement:false,HTMLFrameSetElement:false,HTMLHeadElement:false,HTMLHeadingElement:false,HTMLHRElement:false,HTMLHtmlElement:false,HTMLIFrameElement:false,HTMLImageElement:false,HTMLInputElement:false,HTMLLabelElement:false,HTMLLegendElement:false,HTMLLIElement:false,HTMLLinkElement:false,HTMLMapElement:false,HTMLMarqueeElement:false,HTMLMediaElement:false,HTMLMenuElement:false,HTMLMetaElement:false,HTMLMeterElement:false,HTMLModElement:false,HTMLObjectElement:false,HTMLOListElement:false,HTMLOptGroupElement:false,HTMLOptionElement:false,HTMLOptionsCollection:false,HTMLOutputElement:false,HTMLParagraphElement:false,HTMLParamElement:false,HTMLPictureElement:false,HTMLPreElement:false,HTMLProgressElement:false,HTMLQuoteElement:false,HTMLScriptElement:false,HTMLSelectElement:false,HTMLShadowElement:false,HTMLSlotElement:false,HTMLSourceElement:false,HTMLSpanElement:false,HTMLStyleElement:false,HTMLTableCaptionElement:false,HTMLTableCellElement:false,HTMLTableColElement:false,HTMLTableElement:false,HTMLTableRowElement:false,HTMLTableSectionElement:false,HTMLTemplateElement:false,HTMLTextAreaElement:false,HTMLTimeElement:false,HTMLTitleElement:false,HTMLTrackElement:false,HTMLUListElement:false,HTMLUnknownElement:false,HTMLVideoElement:false,IDBCursor:false,IDBCursorWithValue:false,IDBDatabase:false,IDBFactory:false,IDBIndex:false,IDBKeyRange:false,IDBObjectStore:false,IDBOpenDBRequest:false,IDBRequest:false,IDBTransaction:false,IDBVersionChangeEvent:false,IdleDeadline:false,IIRFilterNode:false,Image:false,ImageBitmap:false,ImageBitmapRenderingContext:false,ImageCapture:false,ImageData:false,indexedDB:false,innerHeight:false,innerWidth:false,InputEvent:false,IntersectionObserver:false,IntersectionObserverEntry:false,Intl:false,isSecureContext:false,KeyboardEvent:false,KeyframeEffect:false,KeyframeEffectReadOnly:false,length:false,localStorage:false,location:true,Location:false,locationbar:false,matchMedia:false,MediaDeviceInfo:false,MediaDevices:false,MediaElementAudioSourceNode:false,MediaEncryptedEvent:false,MediaError:false,MediaKeyMessageEvent:false,MediaKeySession:false,MediaKeyStatusMap:false,MediaKeySystemAccess:false,MediaList:false,MediaQueryList:false,MediaQueryListEvent:false,MediaRecorder:false,MediaSettingsRange:false,MediaSource:false,MediaStream:false,MediaStreamAudioDestinationNode:false,MediaStreamAudioSourceNode:false,MediaStreamEvent:false,MediaStreamTrack:false,MediaStreamTrackEvent:false,menubar:false,MessageChannel:false,MessageEvent:false,MessagePort:false,MIDIAccess:false,MIDIConnectionEvent:false,MIDIInput:false,MIDIInputMap:false,MIDIMessageEvent:false,MIDIOutput:false,MIDIOutputMap:false,MIDIPort:false,MimeType:false,MimeTypeArray:false,MouseEvent:false,moveBy:false,moveTo:false,MutationEvent:false,MutationObserver:false,MutationRecord:false,name:false,NamedNodeMap:false,NavigationPreloadManager:false,navigator:false,Navigator:false,NetworkInformation:false,Node:false,NodeFilter:false,NodeIterator:false,NodeList:false,Notification:false,OfflineAudioCompletionEvent:false,OfflineAudioContext:false,offscreenBuffering:false,OffscreenCanvas:true,onabort:true,onafterprint:true,onanimationend:true,onanimationiteration:true,onanimationstart:true,onappinstalled:true,onauxclick:true,onbeforeinstallprompt:true,onbeforeprint:true,onbeforeunload:true,onblur:true,oncancel:true,oncanplay:true,oncanplaythrough:true,onchange:true,onclick:true,onclose:true,oncontextmenu:true,oncuechange:true,ondblclick:true,ondevicemotion:true,ondeviceorientation:true,ondeviceorientationabsolute:true,ondrag:true,ondragend:true,ondragenter:true,ondragleave:true,ondragover:true,ondragstart:true,ondrop:true,ondurationchange:true,onemptied:true,onended:true,onerror:true,onfocus:true,ongotpointercapture:true,onhashchange:true,oninput:true,oninvalid:true,onkeydown:true,onkeypress:true,onkeyup:true,onlanguagechange:true,onload:true,onloadeddata:true,onloadedmetadata:true,onloadstart:true,onlostpointercapture:true,onmessage:true,onmessageerror:true,onmousedown:true,onmouseenter:true,onmouseleave:true,onmousemove:true,onmouseout:true,onmouseover:true,onmouseup:true,onmousewheel:true,onoffline:true,ononline:true,onpagehide:true,onpageshow:true,onpause:true,onplay:true,onplaying:true,onpointercancel:true,onpointerdown:true,onpointerenter:true,onpointerleave:true,onpointermove:true,onpointerout:true,onpointerover:true,onpointerup:true,onpopstate:true,onprogress:true,onratechange:true,onrejectionhandled:true,onreset:true,onresize:true,onscroll:true,onsearch:true,onseeked:true,onseeking:true,onselect:true,onstalled:true,onstorage:true,onsubmit:true,onsuspend:true,ontimeupdate:true,ontoggle:true,ontransitionend:true,onunhandledrejection:true,onunload:true,onvolumechange:true,onwaiting:true,onwheel:true,open:false,openDatabase:false,opener:false,Option:false,origin:false,OscillatorNode:false,outerHeight:false,outerWidth:false,PageTransitionEvent:false,pageXOffset:false,pageYOffset:false,PannerNode:false,parent:false,Path2D:false,PaymentAddress:false,PaymentRequest:false,PaymentRequestUpdateEvent:false,PaymentResponse:false,performance:false,Performance:false,PerformanceEntry:false,PerformanceLongTaskTiming:false,PerformanceMark:false,PerformanceMeasure:false,PerformanceNavigation:false,PerformanceNavigationTiming:false,PerformanceObserver:false,PerformanceObserverEntryList:false,PerformancePaintTiming:false,PerformanceResourceTiming:false,PerformanceTiming:false,PeriodicWave:false,Permissions:false,PermissionStatus:false,personalbar:false,PhotoCapabilities:false,Plugin:false,PluginArray:false,PointerEvent:false,PopStateEvent:false,postMessage:false,Presentation:false,PresentationAvailability:false,PresentationConnection:false,PresentationConnectionAvailableEvent:false,PresentationConnectionCloseEvent:false,PresentationConnectionList:false,PresentationReceiver:false,PresentationRequest:false,print:false,ProcessingInstruction:false,ProgressEvent:false,PromiseRejectionEvent:false,prompt:false,PushManager:false,PushSubscription:false,PushSubscriptionOptions:false,queueMicrotask:false,RadioNodeList:false,Range:false,ReadableStream:false,registerProcessor:false,RemotePlayback:false,removeEventListener:false,Request:false,requestAnimationFrame:false,requestIdleCallback:false,resizeBy:false,ResizeObserver:false,ResizeObserverEntry:false,resizeTo:false,Response:false,RTCCertificate:false,RTCDataChannel:false,RTCDataChannelEvent:false,RTCDtlsTransport:false,RTCIceCandidate:false,RTCIceGatherer:false,RTCIceTransport:false,RTCPeerConnection:false,RTCPeerConnectionIceEvent:false,RTCRtpContributingSource:false,RTCRtpReceiver:false,RTCRtpSender:false,RTCSctpTransport:false,RTCSessionDescription:false,RTCStatsReport:false,RTCTrackEvent:false,screen:false,Screen:false,screenLeft:false,ScreenOrientation:false,screenTop:false,screenX:false,screenY:false,ScriptProcessorNode:false,scroll:false,scrollbars:false,scrollBy:false,scrollTo:false,scrollX:false,scrollY:false,SecurityPolicyViolationEvent:false,Selection:false,self:false,ServiceWorker:false,ServiceWorkerContainer:false,ServiceWorkerRegistration:false,sessionStorage:false,setInterval:false,setTimeout:false,ShadowRoot:false,SharedWorker:false,SourceBuffer:false,SourceBufferList:false,speechSynthesis:false,SpeechSynthesisEvent:false,SpeechSynthesisUtterance:false,StaticRange:false,status:false,statusbar:false,StereoPannerNode:false,stop:false,Storage:false,StorageEvent:false,StorageManager:false,styleMedia:false,StyleSheet:false,StyleSheetList:false,SubtleCrypto:false,SVGAElement:false,SVGAngle:false,SVGAnimatedAngle:false,SVGAnimatedBoolean:false,SVGAnimatedEnumeration:false,SVGAnimatedInteger:false,SVGAnimatedLength:false,SVGAnimatedLengthList:false,SVGAnimatedNumber:false,SVGAnimatedNumberList:false,SVGAnimatedPreserveAspectRatio:false,SVGAnimatedRect:false,SVGAnimatedString:false,SVGAnimatedTransformList:false,SVGAnimateElement:false,SVGAnimateMotionElement:false,SVGAnimateTransformElement:false,SVGAnimationElement:false,SVGCircleElement:false,SVGClipPathElement:false,SVGComponentTransferFunctionElement:false,SVGDefsElement:false,SVGDescElement:false,SVGDiscardElement:false,SVGElement:false,SVGEllipseElement:false,SVGFEBlendElement:false,SVGFEColorMatrixElement:false,SVGFEComponentTransferElement:false,SVGFECompositeElement:false,SVGFEConvolveMatrixElement:false,SVGFEDiffuseLightingElement:false,SVGFEDisplacementMapElement:false,SVGFEDistantLightElement:false,SVGFEDropShadowElement:false,SVGFEFloodElement:false,SVGFEFuncAElement:false,SVGFEFuncBElement:false,SVGFEFuncGElement:false,SVGFEFuncRElement:false,SVGFEGaussianBlurElement:false,SVGFEImageElement:false,SVGFEMergeElement:false,SVGFEMergeNodeElement:false,SVGFEMorphologyElement:false,SVGFEOffsetElement:false,SVGFEPointLightElement:false,SVGFESpecularLightingElement:false,SVGFESpotLightElement:false,SVGFETileElement:false,SVGFETurbulenceElement:false,SVGFilterElement:false,SVGForeignObjectElement:false,SVGGElement:false,SVGGeometryElement:false,SVGGradientElement:false,SVGGraphicsElement:false,SVGImageElement:false,SVGLength:false,SVGLengthList:false,SVGLinearGradientElement:false,SVGLineElement:false,SVGMarkerElement:false,SVGMaskElement:false,SVGMatrix:false,SVGMetadataElement:false,SVGMPathElement:false,SVGNumber:false,SVGNumberList:false,SVGPathElement:false,SVGPatternElement:false,SVGPoint:false,SVGPointList:false,SVGPolygonElement:false,SVGPolylineElement:false,SVGPreserveAspectRatio:false,SVGRadialGradientElement:false,SVGRect:false,SVGRectElement:false,SVGScriptElement:false,SVGSetElement:false,SVGStopElement:false,SVGStringList:false,SVGStyleElement:false,SVGSVGElement:false,SVGSwitchElement:false,SVGSymbolElement:false,SVGTextContentElement:false,SVGTextElement:false,SVGTextPathElement:false,SVGTextPositioningElement:false,SVGTitleElement:false,SVGTransform:false,SVGTransformList:false,SVGTSpanElement:false,SVGUnitTypes:false,SVGUseElement:false,SVGViewElement:false,TaskAttributionTiming:false,Text:false,TextDecoder:false,TextEncoder:false,TextEvent:false,TextMetrics:false,TextTrack:false,TextTrackCue:false,TextTrackCueList:false,TextTrackList:false,TimeRanges:false,toolbar:false,top:false,Touch:false,TouchEvent:false,TouchList:false,TrackEvent:false,TransitionEvent:false,TreeWalker:false,UIEvent:false,URL:false,URLSearchParams:false,ValidityState:false,visualViewport:false,VisualViewport:false,VTTCue:false,WaveShaperNode:false,WebAssembly:false,WebGL2RenderingContext:false,WebGLActiveInfo:false,WebGLBuffer:false,WebGLContextEvent:false,WebGLFramebuffer:false,WebGLProgram:false,WebGLQuery:false,WebGLRenderbuffer:false,WebGLRenderingContext:false,WebGLSampler:false,WebGLShader:false,WebGLShaderPrecisionFormat:false,WebGLSync:false,WebGLTexture:false,WebGLTransformFeedback:false,WebGLUniformLocation:false,WebGLVertexArrayObject:false,WebSocket:false,WheelEvent:false,window:false,Window:false,Worker:false,WritableStream:false,XMLDocument:false,XMLHttpRequest:false,XMLHttpRequestEventTarget:false,XMLHttpRequestUpload:false,XMLSerializer:false,XPathEvaluator:false,XPathExpression:false,XPathResult:false,XSLTProcessor:false};var fu={addEventListener:false,applicationCache:false,atob:false,Blob:false,BroadcastChannel:false,btoa:false,Cache:false,caches:false,clearInterval:false,clearTimeout:false,close:true,console:false,fetch:false,FileReaderSync:false,FormData:false,Headers:false,IDBCursor:false,IDBCursorWithValue:false,IDBDatabase:false,IDBFactory:false,IDBIndex:false,IDBKeyRange:false,IDBObjectStore:false,IDBOpenDBRequest:false,IDBRequest:false,IDBTransaction:false,IDBVersionChangeEvent:false,ImageData:false,importScripts:true,indexedDB:false,location:false,MessageChannel:false,MessagePort:false,name:false,navigator:false,Notification:false,onclose:true,onconnect:true,onerror:true,onlanguagechange:true,onmessage:true,onoffline:true,ononline:true,onrejectionhandled:true,onunhandledrejection:true,performance:false,Performance:false,PerformanceEntry:false,PerformanceMark:false,PerformanceMeasure:false,PerformanceNavigation:false,PerformanceResourceTiming:false,PerformanceTiming:false,postMessage:true,Promise:false,queueMicrotask:false,removeEventListener:false,Request:false,Response:false,self:true,ServiceWorkerRegistration:false,setInterval:false,setTimeout:false,TextDecoder:false,TextEncoder:false,URL:false,URLSearchParams:false,WebSocket:false,Worker:false,WorkerGlobalScope:false,XMLHttpRequest:false};var hu={__dirname:false,__filename:false,Buffer:false,clearImmediate:false,clearInterval:false,clearTimeout:false,console:false,exports:true,global:false,Intl:false,module:false,process:false,queueMicrotask:false,require:false,setImmediate:false,setInterval:false,setTimeout:false,TextDecoder:false,TextEncoder:false,URL:false,URLSearchParams:false};var pu={exports:true,global:false,module:false,require:false};var du={define:false,require:false};var mu={after:false,afterEach:false,before:false,beforeEach:false,context:false,describe:false,it:false,mocha:false,run:false,setup:false,specify:false,suite:false,suiteSetup:false,suiteTeardown:false,teardown:false,test:false,xcontext:false,xdescribe:false,xit:false,xspecify:false};var vu={afterAll:false,afterEach:false,beforeAll:false,beforeEach:false,describe:false,expect:false,expectAsync:false,fail:false,fdescribe:false,fit:false,it:false,jasmine:false,pending:false,runs:false,spyOn:false,spyOnAllFunctions:false,spyOnProperty:false,waits:false,waitsFor:false,xdescribe:false,xit:false};var gu={afterAll:false,afterEach:false,beforeAll:false,beforeEach:false,describe:false,expect:false,fdescribe:false,fit:false,it:false,jest:false,pit:false,require:false,test:false,xdescribe:false,xit:false,xtest:false};var yu={asyncTest:false,deepEqual:false,equal:false,expect:false,module:false,notDeepEqual:false,notEqual:false,notOk:false,notPropEqual:false,notStrictEqual:false,ok:false,propEqual:false,QUnit:false,raises:false,start:false,stop:false,strictEqual:false,test:false,throws:false};var xu={console:true,exports:true,phantom:true,require:true,WebPage:true};var Eu={emit:false,exports:false,getRow:false,log:false,module:false,provides:false,require:false,respond:false,send:false,start:false,sum:false};var bu={defineClass:false,deserialize:false,gc:false,help:false,importClass:false,importPackage:false,java:false,load:false,loadClass:false,Packages:false,print:false,quit:false,readFile:false,readUrl:false,runCommand:false,seal:false,serialize:false,spawn:false,sync:false,toint32:false,version:false};var Su={__DIR__:false,__FILE__:false,__LINE__:false,com:false,edu:false,exit:false,java:false,Java:false,javafx:false,JavaImporter:false,javax:false,JSAdapter:false,load:false,loadWithNewGlobal:false,org:false,Packages:false,print:false,quit:false};var Du={ActiveXObject:true,CollectGarbage:true,Debug:true,Enumerator:true,GetObject:true,RuntimeObject:true,ScriptEngine:true,ScriptEngineBuildVersion:true,ScriptEngineMajorVersion:true,ScriptEngineMinorVersion:true,VBArray:true,WScript:true,WSH:true,XDomainRequest:true};var Cu={$:false,jQuery:false};var wu={YAHOO:false,YAHOO_config:false,YUI:false,YUI_config:false};var Au={cat:false,cd:false,chmod:false,config:false,cp:false,dirs:false,echo:false,env:false,error:false,exec:false,exit:false,find:false,grep:false,ln:false,ls:false,mkdir:false,mv:false,popd:false,pushd:false,pwd:false,rm:false,sed:false,set:false,target:false,tempdir:false,test:false,touch:false,which:false};var Tu={$:false,$$:false,$A:false,$break:false,$continue:false,$F:false,$H:false,$R:false,$w:false,Abstract:false,Ajax:false,Autocompleter:false,Builder:false,Class:false,Control:false,Draggable:false,Draggables:false,Droppables:false,Effect:false,Element:false,Enumerable:false,Event:false,Field:false,Form:false,Hash:false,Insertion:false,ObjectRange:false,PeriodicalExecuter:false,Position:false,Prototype:false,Scriptaculous:false,Selector:false,Sortable:false,SortableObserver:false,Sound:false,Template:false,Toggle:false,Try:false};var ku={_:false,$:false,Accounts:false,AccountsClient:false,AccountsCommon:false,AccountsServer:false,App:false,Assets:false,Blaze:false,check:false,Cordova:false,DDP:false,DDPRateLimiter:false,DDPServer:false,Deps:false,EJSON:false,Email:false,HTTP:false,Log:false,Match:false,Meteor:false,Mongo:false,MongoInternals:false,Npm:false,Package:false,Plugin:false,process:false,Random:false,ReactiveDict:false,ReactiveVar:false,Router:false,ServiceConfiguration:false,Session:false,share:false,Spacebars:false,Template:false,Tinytest:false,Tracker:false,UI:false,Utils:false,WebApp:false,WebAppInternals:false};var _u={_isWindows:false,_rand:false,BulkWriteResult:false,cat:false,cd:false,connect:false,db:false,getHostName:false,getMemInfo:false,hostname:false,ISODate:false,listFiles:false,load:false,ls:false,md5sumFile:false,mkdir:false,Mongo:false,NumberInt:false,NumberLong:false,ObjectId:false,PlanCache:false,print:false,printjson:false,pwd:false,quit:false,removeFile:false,rs:false,sh:false,UUID:false,version:false,WriteResult:false};var Pu={$:false,Application:false,Automation:false,console:false,delay:false,Library:false,ObjC:false,ObjectSpecifier:false,Path:false,Progress:false,Ref:false};var Fu={addEventListener:false,applicationCache:false,atob:false,Blob:false,BroadcastChannel:false,btoa:false,Cache:false,caches:false,CacheStorage:false,clearInterval:false,clearTimeout:false,Client:false,clients:false,Clients:false,close:true,console:false,ExtendableEvent:false,ExtendableMessageEvent:false,fetch:false,FetchEvent:false,FileReaderSync:false,FormData:false,Headers:false,IDBCursor:false,IDBCursorWithValue:false,IDBDatabase:false,IDBFactory:false,IDBIndex:false,IDBKeyRange:false,IDBObjectStore:false,IDBOpenDBRequest:false,IDBRequest:false,IDBTransaction:false,IDBVersionChangeEvent:false,ImageData:false,importScripts:false,indexedDB:false,location:false,MessageChannel:false,MessagePort:false,name:false,navigator:false,Notification:false,onclose:true,onconnect:true,onerror:true,onfetch:true,oninstall:true,onlanguagechange:true,onmessage:true,onmessageerror:true,onnotificationclick:true,onnotificationclose:true,onoffline:true,ononline:true,onpush:true,onpushsubscriptionchange:true,onrejectionhandled:true,onsync:true,onunhandledrejection:true,performance:false,Performance:false,PerformanceEntry:false,PerformanceMark:false,PerformanceMeasure:false,PerformanceNavigation:false,PerformanceResourceTiming:false,PerformanceTiming:false,postMessage:true,Promise:false,queueMicrotask:false,registration:false,removeEventListener:false,Request:false,Response:false,self:false,ServiceWorker:false,ServiceWorkerContainer:false,ServiceWorkerGlobalScope:false,ServiceWorkerMessageEvent:false,ServiceWorkerRegistration:false,setInterval:false,setTimeout:false,skipWaiting:false,TextDecoder:false,TextEncoder:false,URL:false,URLSearchParams:false,WebSocket:false,WindowClient:false,Worker:false,WorkerGlobalScope:false,XMLHttpRequest:false};var Iu={advanceClock:false,fakeClearInterval:false,fakeClearTimeout:false,fakeSetInterval:false,fakeSetTimeout:false,resetTimeouts:false,waitsForPromise:false};var Mu={andThen:false,click:false,currentPath:false,currentRouteName:false,currentURL:false,fillIn:false,find:false,findAll:false,findWithAssert:false,keyEvent:false,pauseTest:false,resumeTest:false,triggerEvent:false,visit:false,wait:false};var Nu={$:false,$$:false,browser:false,by:false,By:false,DartObject:false,element:false,protractor:false};var Lu={browser:false,chrome:false,opr:false};var Bu={cloneInto:false,createObjectIn:false,exportFunction:false,GM:false,GM_addStyle:false,GM_deleteValue:false,GM_getResourceText:false,GM_getResourceURL:false,GM_getValue:false,GM_info:false,GM_listValues:false,GM_log:false,GM_openInTab:false,GM_registerMenuCommand:false,GM_setClipboard:false,GM_setValue:false,GM_xmlhttpRequest:false,unsafeWindow:false};var Ou={$:false,$_:false,$$:false,$0:false,$1:false,$2:false,$3:false,$4:false,$x:false,chrome:false,clear:false,copy:false,debug:false,dir:false,dirxml:false,getEventListeners:false,inspect:false,keys:false,monitor:false,monitorEvents:false,profile:false,profileEnd:false,queryObjects:false,table:false,undebug:false,unmonitor:false,unmonitorEvents:false,values:false};var Ru={builtin:su,es5:ou,es2015:lu,es2017:uu,browser:cu,worker:fu,node:hu,commonjs:pu,amd:du,mocha:mu,jasmine:vu,jest:gu,qunit:yu,phantomjs:xu,couch:Eu,rhino:bu,nashorn:Su,wsh:Du,jquery:Cu,yui:wu,shelljs:Au,prototypejs:Tu,meteor:ku,mongo:_u,applescript:Pu,serviceworker:Fu,atomtest:Iu,embertest:Mu,protractor:Nu,"shared-node-browser":{clearInterval:false,clearTimeout:false,console:false,setInterval:false,setTimeout:false,URL:false,URLSearchParams:false},webextensions:Lu,greasemonkey:Bu,devtools:Ou};var ju=Object.freeze({__proto__:null,builtin:su,es5:ou,es2015:lu,es2017:uu,browser:cu,worker:fu,node:hu,commonjs:pu,amd:du,mocha:mu,jasmine:vu,jest:gu,qunit:yu,phantomjs:xu,couch:Eu,rhino:bu,nashorn:Su,wsh:Du,jquery:Cu,yui:wu,shelljs:Au,prototypejs:Tu,meteor:ku,mongo:_u,applescript:Pu,serviceworker:Fu,atomtest:Iu,embertest:Mu,protractor:Nu,webextensions:Lu,greasemonkey:Bu,devtools:Ou,default:Ru});var Uu=a(ju);var Vu=Uu;const Gu=Object.keys(Vu.browser);const zu=Object.keys(Vu.builtin);const Xu=e=>oa.Identifier.check(e);const Ju=e=>oa.Literal.check(e);const qu=e=>oa.ExpressionStatement.check(e);const Wu=e=>oa.ThisExpression.check(e);const Hu=e=>oa.NewExpression.check(e);const Ku=e=>oa.SequenceExpression.check(e);const $u=e=>oa.BinaryExpression.check(e);const Yu=e=>oa.ExportDefaultDeclaration.check(e);const Qu=e=>oa.MemberExpression.check(e);const Zu=e=>{let{name:t}=e;return Gu.includes(t)};const ec=e=>{let{name:t}=e;return zu.includes(t)};const tc=e=>e&&e.raw;function rc(e){return e.find(Yu)}function nc(e){return e.filter(e=>!Yu(e))}function ic(e){return e.body||e.program.body}function ac(e,t){aa.visit(e,{visitProperty(e){if(e.value.key.value===H){e.value.value=t.declaration;return false}this.traverse(e)}});return e}function sc(e,t,r,n){const i=js(e);const a=no(e.text.text,t,e);const{options:s}=r;const o=Vs("javascript",i,r,Object.assign({},e,{text:a}));const l=ca(o.map);const u=au(o.code,{sourceFileName:s.file,inputSourceMap:Zs(l)?null:l});const c=ic(u);const f=nc(c);const h=rc(c);const p=ic(n);p.unshift(...f);if(h)ac(n,h);return n}const oc="javascript";const lc="css";const uc="template";const cc="script";const fc="style";const hc="textarea";const pc="isRaw";const dc="isSelfClosing";const mc="isVoid";const vc="isBoolean";const gc="isCustom";const yc="isSpread";var xc=Object.freeze({__proto__:null,JAVASCRIPT_OUTPUT_NAME:oc,CSS_OUTPUT_NAME:lc,TEMPLATE_OUTPUT_NAME:uc,JAVASCRIPT_TAG:cc,STYLE_TAG:fc,TEXTAREA_TAG:hc,IS_RAW:pc,IS_SELF_CLOSING:dc,IS_VOID:mc,IS_BOOLEAN:vc,IS_CUSTOM:gc,IS_SPREAD:yc});const Ec=1;const bc=2;const Sc=3;const Dc=4;const Cc=8;const wc=9;const Ac=10;const Tc=11;var kc=Object.freeze({__proto__:null,TAG:Ec,ATTR:bc,TEXT:Sc,CDATA:Dc,COMMENT:Cc,DOCUMENT:wc,DOCTYPE:Ac,DOCUMENT_FRAGMENT:Tc});const _c="Root tag not found.";const Pc="Unclosed ES6 template literal.";const Fc="Unexpected end of file.";const Ic="Unclosed comment.";const Mc='Unclosed "%1" block.';const Nc='Duplicate tag "<%1>".';const Lc="Unexpected character %1.";const Bc="Unclosed expression.";const Oc=/^(?:\/[a-zA-Z]|[a-zA-Z][^\s>/]?)/;const Rc=/(\/?[^\s>/]+)\s*(>)?/g;const jc=/(\S[^>/=\s]*)(?:\s*=\s*([^>/])?)?/g;const Uc=/\.\.\./;const Vc={script:/<\/script\s*>/gi,style:/<\/style\s*>/gi,textarea:/<\/textarea\s*>/gi};const Gc=/^\/?(?:pre|textarea)$/;function zc(e,t){if(e===void 0){e=[]}e.push(t);return e}function Xc(e,t,r){e.lastIndex=t;return e.exec(r)}var Jc=e=>e.replace(/(?=[-[\](){^*+?.$|\\])/g,"\\");function qc(e,t,r){if(!r){r=e.length}const n=(e.slice(0,r).match(/\r\n?|\n/g)||"").length+1;let i=0;while(--r>=0&&!/[\r\n]/.test(e[r])){++i}return`[${n},${i}]: ${t}`}const Wc="`";function Hc(e,t,r){const n=/[`$\\]/g;let i;while(n.lastIndex=t,n.exec(e)){t=n.lastIndex;i=e[t-1];if(i==="`"){return t}if(i==="$"&&e[t++]==="{"){r.push(Wc,"}");return t}}throw qc(e,Pc,t)}function Kc(e,t,r){const n=qc(e,t,r);throw new Error(n)}const $c="[{(,;:?=|&!^~>%*/";const Yc=`${$c}+-`;const Qc=["case","default","do","else","in","instanceof","prefix","return","typeof","void","yield"];const Zc=Qc.reduce((e,t)=>e+t.slice(-1),"");const ef=/^\/(?=[^*>/])[^[/\\]*(?:(?:\\.|\[(?:\\.|[^\]\\]*)*\])[^[\\/]*)*?\/[gimuy]*/;const tf=/[$\w]/;const rf=/.*/g;function nf(e,t){while(--t>=0&&/\s/.test(e[t]));return t}function af(e,t){let r=rf.lastIndex=t++;const n=(rf.exec(e)||" ")[0].match(ef);if(n){const i=r+n[0].length;r=nf(e,r);let a=e[r];if(r<0||$c.includes(a)){return i}if(a==="."){if(e[r-1]==="."){t=i}}else{if(a==="+"||a==="-"){if(e[--r]!==a||(r=nf(e,r))<0||Yc.includes(a=e[r])){return i}}if(Zc.includes(a)){const n=r+1;while(--r>=0&&tf.test(e[r]));if(Qc.includes(e.slice(r+1,n))){t=i}}}}return t}const sf=/'[^'\n\r\\]*(?:\\(?:\r\n?|[\S\s])[^'\n\r\\]*)*'/.source;const of=`${sf}|${sf.replace(/'/g,'"')}`;const lf={};function uf(e){let t=lf[e];if(!t){let r=Jc(e);if(e.length>1){r=`${r}|[`}else{r=/[{}[\]()]/.test(e)?"[":`[${r}`}lf[e]=t=new RegExp(`${of}|${r}\`/\\{}[\\]()]`,"g")}return t}function cf(e,t,r,n){let i=0;switch(t){case"[":case"(":case"{":e.push(t==="["?"]":t==="("?")":"}");break;case")":case"]":case"}":if(t!==e.pop()){Kc(n,Lc.replace("%1",t),i)}if(t==="}"&&e[e.length-1]===Wc){t=e.pop()}i=r+1;break;case"/":i=af(n,r)}return{char:t,index:i}}function ff(e,t,r){const[n,i]=r;const a=t+n.length;const s=[];const o=uf(i);o.lastIndex=a;let l;let u;while(u=o.exec(e)){const r=u.index;const n=u[0];l=o.lastIndex;if(n===i&&!s.length){return{text:e.slice(a,r),start:t,end:l}}const{char:c,index:f}=cf(s,n[0],r,e);l=f||l;o.lastIndex=c===Wc?Hc(e,l,s):l}if(s.length){Kc(e,Bc,l)}}function hf(e){const t=e.last;e.last=null;if(t&&e.root){e.builder.push(t)}}function pf(e,t,r){return e.slice(t,r)}function df(e,t,r,n){if(n===void 0){n={}}const i=pf(e.data,t,r);const a=n.expressions;const s=n.unescape;let o=e.last;e.pos=r;if(o&&o.type===Sc){o.text+=i;o.end=r}else{hf(e);e.last=o={type:Sc,text:i,start:t,end:r}}if(a&&a.length){o.expressions=(o.expressions||[]).concat(a)}if(s){o.unescape=s}return Sc}function mf(e,t,r,n){const i=gf(e,r);i.lastIndex=n;const{unescape:a,expressions:s,end:o}=vf(e,i);if(t){if(a){t.unescape=a}if(s.length){t.expressions=s}}else{df(e,n,o,{expressions:s,unescape:a})}return o}function vf(e,t){const{data:r,options:n}=e;const{brackets:i}=n;const a=[];let s,o,l;while((l=t.exec(r))&&!l[1]){o=l.index;if(r[o-1]==="\\"){s=l[0]}else{const e=ff(r,o,i);if(e){a.push(e);t.lastIndex=e.end}}}if(!l){Kc(r,Fc,o)}return{unescape:s,expressions:a,end:l.index}}function gf(e,t){const{brackets:r}=e.options;const n=e.regexCache[t];if(n)return n;const i=Jc(r[0]);Object.assign(e.regexCache,{[t]:new RegExp(`(${t})|${i}`,"g")});return e.regexCache[t]}const yf=e=>e.filter((e,t,r)=>r.indexOf(e)===t);const xf=["circle","ellipse","line","path","polygon","polyline","rect","stop","use"];const Ef=["button","data","input","select","li","meter","option","output","progress","textarea","param"];const bf=yf(["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","animation","audio","canvas","clipPath","color-profile","cursor","defs","desc","discard","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","handler","hatch","hatchpath","hkern","iframe","image","linearGradient","listener","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","pattern","prefetch","radialGradient","script","set","solidColor","solidcolor","style","svg","switch","symbol","tbreak","text","textArea","textPath","title","tref","tspan","unknown","video","view","vkern"].concat(xf)).sort();const Sf=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];const Df=yf(["a","abbr","address","article","aside","audio","b","bdi","bdo","blockquote","body","canvas","caption","cite","code","colgroup","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","html","i","iframe","ins","kbd","label","legend","main","map","mark","math","menu","nav","noscript","object","ol","optgroup","p","picture","pre","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","tfoot","th","thead","time","title","tr","u","ul","var","video"].concat(Sf).concat(Ef)).sort();const Cf=["disabled","visible","checked","readonly","required","allowfullscreen","autofocus","autoplay","compact","controls","default","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","noresize","noshade","novalidate","nowrap","open","reversed","seamless","selected","sortable","truespeed","typemustmatch"];function wf(e){return e.join("|")}function Af(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return new RegExp(`^/?(?:${wf(t.map(wf))})$`,"i")}const Tf=Af(Df);const kf=Af(bf);const _f=Af(Sf);const Pf=Af(xf);const Ff=Af(Ef);const If=Af(Cf);function Mf(e){return[_f,Pf].some(t=>t.test(e))}function Nf(e){return[Tf,kf].every(t=>!t.test(e))}function Lf(e){return Ff.test(e)}function Bf(e){return If.test(e)}function Of(e){const t=new WeakMap;return function(){if(t.has(arguments.length<=0?undefined:arguments[0]))return t.get(arguments.length<=0?undefined:arguments[0]);const r=e(...arguments);t.set(arguments.length<=0?undefined:arguments[0],r);return r}}const Rf=Of(e=>RegExp(`(${e[0]}[^${e[1]}]*?${e[1]})`,"g"));const jf=e=>Uc.test(e);const Uf=(e,t)=>e[0]===t[0];const Vf=(e,t)=>mf(e,t,"[>/\\s]",t.start);function Gf(e){const{data:t,last:r,pos:n,root:i}=e;const a=r;const s=/\S/g;const o=Xc(s,n,t);switch(true){case!o:e.pos=t.length;break;case o[0]===">":e.pos=a.end=s.lastIndex;if(a[dc]){e.scryle=null;if(i&&i.name===a.name){e.count--}}return Sc;case o[0]==="/":e.pos=s.lastIndex;a[dc]=true;break;default:delete a[dc];zf(e,o.index,a)}return bc}function zf(e,t,r){const{data:n}=e;const i=Rf(e.options.brackets);const a=jc;const s=a.lastIndex=i.lastIndex=t;const o=a.exec(n);const l=Uf(o[1],e.options.brackets);const u=l?[null,i.exec(n)[1],null]:o;if(u){const t=a.lastIndex;const n=Wf(e,u,s,t,l);e.pos=r.end=n.end;r.attributes=zc(r.attributes,n)}}function Xf(e,t,r){const{data:n}=e;let{end:i}=t;if(Bf(t.name)){t[vc]=true}if(r){let a=i;if(r!=='"'&&r!=="'"){r="";a--}i=mf(e,t,r||"[>/\\s]",a);return Object.assign(t,{value:pf(n,a,i),valueStart:a,end:r?++i:i})}return t}function Jf(e,t){const r=Vf(e,t);return{[yc]:true,start:t.start,expressions:t.expressions.map(e=>Object.assign(e,{text:e.text.replace(Uc,"").trim()})),end:r}}function qf(e,t){const r=Vf(e,t);return{start:t.start,name:t.expressions[0].text.trim(),expressions:t.expressions,end:r}}function Wf(e,t,r,n,i){const a={name:t[1],value:"",start:r,end:n};const s=t[2];switch(true){case jf(a.name):return Jf(e,a);case i===true:return qf(e,a);default:return Xf(e,a,s)}}function Hf(e,t,r){const n=r+2;const i=t.substr(n,2)==="--"?"--\x3e":">";const a=t.indexOf(i,n);if(a<0){Kc(t,Ic,r)}Kf(e,r,a+i.length);return Sc}function Kf(e,t,r){hf(e);e.pos=r;if(e.options.comments===true){e.last={type:Cc,start:t,end:r}}}function $f(e,t,r,n){const i=e.root;const a={type:Ec,name:t,start:r,end:n};if(Nf(t)){a[gc]=true}if(Mf(t)){a[mc]=true}e.pos=n;if(i){if(t===i.name){e.count++}else if(t===i.close){e.count--}hf(e)}else{e.root={name:a.name,close:`/${t}`};e.count=1}e.last=a}function Yf(e){const{pos:t,data:r}=e;const n=t-1;const i=r.substr(t,2);switch(true){case i[0]==="!":return Hf(e,r,n);case Oc.test(i):return Qf(e,n);default:return df(e,n,t)}}function Qf(e,t){const{data:r,pos:n}=e;const i=Rc;const a=Xc(i,n,r);const s=i.lastIndex;const o=a[1].toLowerCase();if(o in Vc){e.scryle=o}$f(e,o,t,s);if(!a[2]){return bc}return Sc}function Zf(e){const{pos:t,data:r,scryle:n}=e;switch(true){case typeof n==="string":{const i=n;const a=Vc[i];const s=Xc(a,t,r);if(!s){Kc(r,Mc.replace("%1",i),t-1)}const o=s.index;const l=a.lastIndex;e.scryle=null;if(o>t){eh(e,i,s)}$f(e,`/${i}`,o,l);break}case r[t]==="<":e.pos++;return Ec;default:mf(e,null,"<",t)}return Sc}function eh(e,t,r){const{pos:n}=e;const i=r.index;if(t===hc){mf(e,null,r[0],n)}else{df(e,n,i)}}function th(e){return e.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}function rh(e){return e.replace(/\\/g,"\\\\")}function nh(e){return e.replace(/\s+/g," ")}const ih=Object.seal({get(){const e=this.store;return{[uc]:e.root.nodes[0],[lc]:e[fc],[oc]:e[cc]}},push(e){const t=this.store;switch(e.type){case Sc:this.pushText(t,e);break;case Ec:{const r=e.name;const n="/";const[i]=r;if(i===n&&!e.isVoid){this.closeTag(t,e,r)}else if(i!==n){this.openTag(t,e)}break}}},closeTag(e,t){const r=e.scryle||e.last;r.end=t.end;if(e.scryle){e.scryle=null}else{e.last=e.stack.pop()}},openTag(e,t){const r=t.name;const n=t.attributes;if([cc,fc].includes(r)){if(e[r]){Kc(this.store.data,Nc.replace("%1",r),t.start)}e[r]=t;e.scryle=e[r]}else{const n=e.last;const i=t;n.nodes.push(i);if(n[pc]||Gc.test(r)){t[pc]=true}if(!t[dc]&&!t[mc]){e.stack.push(n);i.nodes=[];e.last=i}}if(n){this.attrs(n)}},attrs(e){e.forEach(e=>{if(e.value){this.split(e,e.value,e.valueStart,true)}})},pushText(e,t){const r=t.text;const n=!/\S/.test(r);const i=e.scryle;if(!i){const i=e.last;const a=this.compact&&!i[pc];if(a&&n){return}this.split(t,r,t.start,a);i.nodes.push(t)}else if(!n){i.text=t}},split(e,t,r,n){const i=e.expressions;const a=[];if(i){let s=0;i.forEach(i=>{const o=t.slice(s,i.start-r);const l=i.text;a.push(this.sanitise(e,o,n),th(rh(l).trim()));s=i.end-r});if(s<e.end){a.push(this.sanitise(e,t.slice(s),n))}}else{a[0]=this.sanitise(e,t,n)}e.parts=a.filter(e=>e)},sanitise(e,t,r){let n=e.unescape;if(n){let e=0;n=`\\${n}`;while((e=t.indexOf(n,e))!==-1){t=t.substr(0,e)+t.substr(e+1);e++}}t=rh(t);return r?nh(t):th(t)}});function ah(e,t){const r={type:Ec,name:"",start:0,end:0,nodes:[]};return Object.assign(Object.create(ih),{compact:t.compact!==false,store:{last:r,stack:[],scryle:null,root:r,style:null,script:null,data:e}})}function sh(e,t){const r=$s(oh)(e,t||ah);return{parse:e=>lh(r(e))}}function oh(e,t,r){const n=Object.assign({brackets:["{","}"]},e);return{options:n,regexCache:{},pos:0,count:-1,root:null,last:null,scryle:null,builder:t(r,n),data:r}}function lh(e){const{data:t}=e;uh(e);hf(e);if(e.count){Kc(t,e.count>0?Fc:_c,e.pos)}return{data:t,output:e.builder.get()}}function uh(e,t){const{data:r}=e;const n=r.length;if(e.pos<n&&e.count){uh(e,ch(e,t))}}function ch(e,t){switch(t){case Ec:return Yf(e);case bc:return Gf(e);default:return Zf(e)}}const fh=xc;const hh=kc;const ph="bindingTypes";const dh="EACH";const mh="IF";const vh="TAG";const gh="SLOT";const yh="expressionTypes";const xh="ATTRIBUTE";const Eh="VALUE";const bh="TEXT";const Sh="EVENT";const Dh="template";const Ch="scope";const wh="getComponent";const Ah="selector";const Th="getComponent";const kh="template";const _h="type";const Ph="redundantAttribute";const Fh="condition";const Ih="itemName";const Mh="getKey";const Nh="indexName";const Lh="evaluate";const Bh="name";const Oh="slots";const Rh="expressions";const jh="childNodeIndex";const Uh="bindings";const Vh="id";const Gh="html";const zh="attributes";const Xh="if";const Jh="each";const qh="key";const Wh="slot";const Hh="name";const Kh="is";const $h="default";const Yh=" ";const Qh="expr";const Zh="slot";const ep="progress";const tp=fh.IS_RAW;const rp=fh.IS_VOID;const np=fh.IS_CUSTOM;const ip=fh.IS_BOOLEAN;const ap=fh.IS_SPREAD;function sp(e){return[xp,Tp,Ap,up,cp].every(t=>!t(e))}function op(e){let{scope:t,node:r}=e;if(r.object){return op({node:r.object,scope:t})}return Boolean(tc(r)||ec(r)||Zu(r)||Hu(r)||lp(t,r))}function lp(e,t){const r=function r(n){if(n===void 0){n=false}aa.visit(t,{visitIdentifier(t){if(e.lookup(Iy(t.node))){n=true}this.abort()}});return n};return r()}function up(e){return!!(e[np]||Dp(e))}function cp(e){return e.name===Zh}function fp(e){return!!e[rp]}function hp(e){return e.type===hh.TAG}function pp(e){return e.type===hh.TEXT}function dp(e){return e.isRoot}function mp(e){return e[ap]}function vp(e){return e.name==="value"}function gp(e){return e.name===ep}const yp=(()=>{const e=/^on/;return t=>e.test(t.name)})();function xp(e){return!!(e.expressions||tx(e).some(e=>xp(e))||e.nodes&&e.nodes.some(e=>pp(e)&&xp(e)))}function Ep(e){return[Tp,Ap,up].some(t=>t(e))}const bp=_s(Boolean,Ap);const Sp=_s(Boolean,Tp);const Dp=_s(Boolean,_p);const Cp=_s(Boolean,kp);function wp(e,t){return t.attributes&&t.attributes.find(t=>Iy(t)===e)}function Ap(e){return wp(Xh,e)}function Tp(e){return wp(Jh,e)}function kp(e){return wp(qh,e)}function _p(e){return wp(Kh,e)}function Pp(e){return tx(e).filter(e=>!xp(e))}function Fp(e){return tx(e).filter(xp)}function Ip(e,t,r){return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(yh),sa.identifier(xh),false)),ua(Bh,mp(e)?la():sa.literal(e.name)),ua(Lh,fx(e,t,r))])}function Mp(e,t,r){return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(yh),sa.identifier(Sh),false)),ua(Bh,sa.literal(e.name)),ua(Lh,fx(e,t,r))])}var Np='"';var Lp="&";var Bp="'";var Op="<";var Rp=">";var jp=" ";var Up="¡";var Vp="¢";var Gp="£";var zp="¤";var Xp="¥";var Jp="¦";var qp="§";var Wp="¨";var Hp="©";var Kp="ª";var $p="«";var Yp="¬";var Qp="­";var Zp="®";var ed="¯";var td="°";var rd="±";var nd="²";var id="³";var ad="´";var sd="µ";var od="¶";var ld="·";var ud="¸";var cd="¹";var fd="º";var hd="»";var pd="¼";var dd="½";var md="¾";var vd="¿";var gd="À";var yd="Á";var xd="Â";var Ed="Ã";var bd="Ä";var Sd="Å";var Dd="Æ";var Cd="Ç";var wd="È";var Ad="É";var Td="Ê";var kd="Ë";var _d="Ì";var Pd="Í";var Fd="Î";var Id="Ï";var Md="Ð";var Nd="Ñ";var Ld="Ò";var Bd="Ó";var Od="Ô";var Rd="Õ";var jd="Ö";var Ud="×";var Vd="Ø";var Gd="Ù";var zd="Ú";var Xd="Û";var Jd="Ü";var qd="Ý";var Wd="Þ";var Hd="ß";var Kd="à";var $d="á";var Yd="â";var Qd="ã";var Zd="ä";var em="å";var tm="æ";var rm="ç";var nm="è";var im="é";var am="ê";var sm="ë";var om="ì";var lm="í";var um="î";var cm="ï";var fm="ð";var hm="ñ";var pm="ò";var dm="ó";var mm="ô";var vm="õ";var gm="ö";var ym="÷";var xm="ø";var Em="ù";var bm="ú";var Sm="û";var Dm="ü";var Cm="ý";var wm="þ";var Am="ÿ";var Tm="Œ";var km="œ";var _m="Š";var Pm="š";var Fm="Ÿ";var Im="ƒ";var Mm="ˆ";var Nm="˜";var Lm="Α";var Bm="Β";var Om="Γ";var Rm="Δ";var jm="Ε";var Um="Ζ";var Vm="Η";var Gm="Θ";var zm="Ι";var Xm="Κ";var Jm="Λ";var qm="Μ";var Wm="Ν";var Hm="Ξ";var Km="Ο";var $m="Π";var Ym="Ρ";var Qm="Σ";var Zm="Τ";var ev="Υ";var tv="Φ";var rv="Χ";var nv="Ψ";var iv="Ω";var av="α";var sv="β";var ov="γ";var lv="δ";var uv="ε";var cv="ζ";var fv="η";var hv="θ";var pv="ι";var dv="κ";var mv="λ";var vv="μ";var gv="ν";var yv="ξ";var xv="ο";var Ev="π";var bv="ρ";var Sv="ς";var Dv="σ";var Cv="τ";var wv="υ";var Av="φ";var Tv="χ";var kv="ψ";var _v="ω";var Pv="ϑ";var Fv="ϒ";var Iv="ϖ";var Mv=" ";var Nv=" ";var Lv=" ";var Bv="‌";var Ov="‍";var Rv="‎";var jv="‏";var Uv="–";var Vv="—";var Gv="‘";var zv="’";var Xv="‚";var Jv="“";var qv="”";var Wv="„";var Hv="†";var Kv="‡";var $v="•";var Yv="…";var Qv="‰";var Zv="′";var eg="″";var tg="‹";var rg="›";var ng="‾";var ig="⁄";var ag="€";var sg="ℑ";var og="℘";var lg="ℜ";var ug="™";var cg="ℵ";var fg="←";var hg="↑";var pg="→";var dg="↓";var mg="↔";var vg="↵";var gg="⇐";var yg="⇑";var xg="⇒";var Eg="⇓";var bg="⇔";var Sg="∀";var Dg="∂";var Cg="∃";var wg="∅";var Ag="∇";var Tg="∈";var kg="∉";var _g="∋";var Pg="∏";var Fg="∑";var Ig="−";var Mg="∗";var Ng="√";var Lg="∝";var Bg="∞";var Og="∠";var Rg="∧";var jg="∨";var Ug="∩";var Vg="∪";var Gg="∫";var zg="∴";var Xg="∼";var Jg="≅";var qg="≈";var Wg="≠";var Hg="≡";var Kg="≤";var $g="≥";var Yg="⊂";var Qg="⊃";var Zg="⊄";var ey="⊆";var ty="⊇";var ry="⊕";var ny="⊗";var iy="⊥";var ay="⋅";var sy="⌈";var oy="⌉";var ly="⌊";var uy="⌋";var cy="〈";var fy="〉";var hy="◊";var py="♠";var dy="♣";var my="♥";var vy="♦";var gy={quot:Np,amp:Lp,apos:Bp,lt:Op,gt:Rp,nbsp:jp,iexcl:Up,cent:Vp,pound:Gp,curren:zp,yen:Xp,brvbar:Jp,sect:qp,uml:Wp,copy:Hp,ordf:Kp,laquo:$p,not:Yp,shy:Qp,reg:Zp,macr:ed,deg:td,plusmn:rd,sup2:nd,sup3:id,acute:ad,micro:sd,para:od,middot:ld,cedil:ud,sup1:cd,ordm:fd,raquo:hd,frac14:pd,frac12:dd,frac34:md,iquest:vd,Agrave:gd,Aacute:yd,Acirc:xd,Atilde:Ed,Auml:bd,Aring:Sd,AElig:Dd,Ccedil:Cd,Egrave:wd,Eacute:Ad,Ecirc:Td,Euml:kd,Igrave:_d,Iacute:Pd,Icirc:Fd,Iuml:Id,ETH:Md,Ntilde:Nd,Ograve:Ld,Oacute:Bd,Ocirc:Od,Otilde:Rd,Ouml:jd,times:Ud,Oslash:Vd,Ugrave:Gd,Uacute:zd,Ucirc:Xd,Uuml:Jd,Yacute:qd,THORN:Wd,szlig:Hd,agrave:Kd,aacute:$d,acirc:Yd,atilde:Qd,auml:Zd,aring:em,aelig:tm,ccedil:rm,egrave:nm,eacute:im,ecirc:am,euml:sm,igrave:om,iacute:lm,icirc:um,iuml:cm,eth:fm,ntilde:hm,ograve:pm,oacute:dm,ocirc:mm,otilde:vm,ouml:gm,divide:ym,oslash:xm,ugrave:Em,uacute:bm,ucirc:Sm,uuml:Dm,yacute:Cm,thorn:wm,yuml:Am,OElig:Tm,oelig:km,Scaron:_m,scaron:Pm,Yuml:Fm,fnof:Im,circ:Mm,tilde:Nm,Alpha:Lm,Beta:Bm,Gamma:Om,Delta:Rm,Epsilon:jm,Zeta:Um,Eta:Vm,Theta:Gm,Iota:zm,Kappa:Xm,Lambda:Jm,Mu:qm,Nu:Wm,Xi:Hm,Omicron:Km,Pi:$m,Rho:Ym,Sigma:Qm,Tau:Zm,Upsilon:ev,Phi:tv,Chi:rv,Psi:nv,Omega:iv,alpha:av,beta:sv,gamma:ov,delta:lv,epsilon:uv,zeta:cv,eta:fv,theta:hv,iota:pv,kappa:dv,lambda:mv,mu:vv,nu:gv,xi:yv,omicron:xv,pi:Ev,rho:bv,sigmaf:Sv,sigma:Dv,tau:Cv,upsilon:wv,phi:Av,chi:Tv,psi:kv,omega:_v,thetasym:Pv,upsih:Fv,piv:Iv,ensp:Mv,emsp:Nv,thinsp:Lv,zwnj:Bv,zwj:Ov,lrm:Rv,rlm:jv,ndash:Uv,mdash:Vv,lsquo:Gv,rsquo:zv,sbquo:Xv,ldquo:Jv,rdquo:qv,bdquo:Wv,dagger:Hv,Dagger:Kv,bull:$v,hellip:Yv,permil:Qv,prime:Zv,Prime:eg,lsaquo:tg,rsaquo:rg,oline:ng,frasl:ig,euro:ag,image:sg,weierp:og,real:lg,trade:ug,alefsym:cg,larr:fg,uarr:hg,rarr:pg,darr:dg,harr:mg,crarr:vg,lArr:gg,uArr:yg,rArr:xg,dArr:Eg,hArr:bg,forall:Sg,part:Dg,exist:Cg,empty:wg,nabla:Ag,isin:Tg,notin:kg,ni:_g,prod:Pg,sum:Fg,minus:Ig,lowast:Mg,radic:Ng,prop:Lg,infin:Bg,ang:Og,and:Rg,or:jg,cap:Ug,cup:Vg,int:Gg,there4:zg,sim:Xg,cong:Jg,asymp:qg,ne:Wg,equiv:Hg,le:Kg,ge:$g,sub:Yg,sup:Qg,nsub:Zg,sube:ey,supe:ty,oplus:ry,otimes:ny,perp:iy,sdot:ay,lceil:sy,rceil:oy,lfloor:ly,rfloor:uy,lang:cy,rang:fy,loz:hy,spades:py,clubs:dy,hearts:my,diams:vy};const yy=/&(\S+);/g;const xy=/^[\da-fA-F]+$/;const Ey=/^\d+$/;function by(e){const t=e.substr(2);return xy.test(t)?String.fromCodePoint(parseInt(t,16)):e}function Sy(e){const t=e.substr(1);return Ey.test(t)?String.fromCodePoint(parseInt(t,10)):e}function Dy(e){return e.replace(yy,(e,t)=>{const[r,n]=t;if(r==="#"){return n==="x"?by(t):Sy(t)}else{return gy[t]||t}})}function Cy(e,t){return e.replace(RegExp(`\\\\${t}`,"gm"),t)}function wy(e,t){return e.expressions.reduce((r,n,i)=>{const a=i?e.expressions[i-1].end:e.start;const s=Dy(t.substring(a,n.start));r.push(i===0?s.trimStart():s);if(i===e.expressions.length-1)r.push(Dy(t.substring(n.end,e.end).trimEnd()));return r},[]).map(t=>e.unescape?Cy(t,e.unescape):t)}function Ay(e,t,r){if(e.parts.length===1)return Xy(e.expressions[0],t,r);const n=wy(e,r);const i=n.reduce((n,i,a)=>{const s=e.expressions[a];return[...n,sa.literal(i),s?Xy(s,t,r):la()]},[]).filter(e=>!Ju(e)||e.value);return ox(i)}function Ty(e,t,r,n){return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(yh),sa.identifier(bh),false)),ua(jh,sa.literal(n)),ua(Lh,Gy(Ay(e,t,r)))])}function ky(e,t,r){return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(yh),sa.identifier(Eh),false)),ua(Lh,fx(e,t,r))])}function _y(e,t,r,n,i){switch(true){case pp(e):return Ty(e,t,r,n);case vp(e)&&Lf(i.name)&&!gp(i):return ky(e,t,r);case yp(e):return Mp(e,t,r);default:return Ip(e,t,r)}}function Py(e,t,r){return Fp(e).map(n=>_y(n,t,r,0,e))}const Fy=sa.identifier(Ch);const Iy=e=>e&&e.name?e.name:e;function My(e,t){e.replace(sa.memberExpression(Fy,t,false))}function Ny(e){if(!op(e)){My(e,e.node);return false}this.traverse(e)}function Ly(e){if(!op(e)){if(e.value.computed){this.traverse(e)}else if($u(e.node.object)||e.node.object.computed){this.traverse(e.get("object"))}else if(!e.node.object.callee){My(e,Wu(e.node.object)?e.node.property:e.node)}else{this.traverse(e.get("object"))}}return false}function By(e){const t=e.node.value;const r=e.node.shorthand;if(Xu(t)||Qu(t)||r){if(r)e.node.shorthand=false;Ny(e.get("value"))}else{this.traverse(e.get("value"))}return false}function Oy(e){e.replace(Fy);this.traverse(e)}function Ry(e){const t=()=>false;aa.visit(e,{visitIdentifier:Ny,visitMemberExpression:Ly,visitProperty:By,visitThisExpression:Oy,visitClassExpression:t});return e}function jy(e,t,r){const n=t?no(e.text,r,e):e.text;return au(`(${n})`,{sourceFileName:t})}function Uy(e){return ua(kh,e?qy(...e):la())}function Vy(e){return e.expressions?e.expressions[0]:Object.assign({},e,{text:e.value})}function Gy(e){return sa.functionExpression(null,[Fy],sa.blockStatement([sa.returnStatement(e)]))}function zy(e,t,r){return _s(Gy,Xy)(e,t,r)}function Xy(e,t,r){return _s(Jy,Ry,jy)(e,t,r)}function Jy(e){const t=e.program.body;return t[0]?t[0].expression:t}function qy(e,t){return sa.callExpression(sa.identifier(Dh),[e?sa.literal(e):la(),t?sa.arrayExpression(t):la()])}const Wy=e=>`[${e}]`;function Hy(e){return e?[ua(Ph,sa.literal(e)),ua(Ah,_s(sa.literal,Wy)(e))]:[]}function Ky(e,t){return Object.assign({},e,{attributes:$y(tx(e),t)})}function $y(e,t){if(t)return e.filter(e=>e.name!==t);return e}function Yy(e){return tx(e).filter(e=>![Xh,Jh,qh,Wh,Kh].includes(e.name))}function Qy(e){return{nodes:ex(e),isRoot:true,attributes:_s(Zy,Yy)(e)}}function Zy(e){return e.map(e=>{if(e.expressions)return e;return Object.assign({},e,{expressions:[{start:e.valueStart,end:e.end,text:`'${e.value}'`}]})})}function ex(e){return e&&e.nodes?e.nodes:[]}function tx(e){return e.attributes?e.attributes:[]}function rx(e){const t=_p(e);const r=e=>`'${e}'`;if(t){return t.expressions?t.expressions[0]:Object.assign({},t,{text:r(t.value)})}return Object.assign({},e,{text:r(Iy(e))})}function nx(e){return Pp(e).map(e=>e[ip]||!e.value?e.name:`${e.name}="${ix(e,"value").value}"`).join(" ")}function ix(e,t){if(e.unescape){return Object.assign({},e,{[t]:Cy(e[t],e.unescape)})}return e}function ax(e){const t=nx(e);switch(true){case hp(e):return`<${e.name}${t?` ${t}`:""}${fp(e)?"/":""}>`;case pp(e):return xp(e)?Yh:ix(e,"text").text;default:return""}}function sx(e){return e.name?`</${e.name}>`:""}function ox(e){return sa.callExpression(sa.memberExpression(sa.arrayExpression(e),sa.identifier("join"),false),[sa.literal("")])}function lx(e,t,r){if(!e.parts||e.parts.length===1){return Xy(e.expressions[0],t,r)}const n=[...e.parts.reduce((n,i)=>{const a=e.expressions.find(e=>e.text.trim()===i);return[...n,a?Xy(a,t,r):sa.literal(Dy(i))]},[])].filter(e=>!Ju(e)||e.value);return ox(n)}const ux=function e(t){if(t===void 0){t=0}return()=>`${Qh}${t++}`}();function cx(e,t,r,n){return sa.arrayExpression([..._s(t=>t.map(t=>_y(t,r,n,0,e)),e=>$y(e,t),Yy)(e)])}function fx(e,t,r){return xp(e)?Gy(lx(e,t,r)):sa.functionExpression(null,[],sa.blockStatement([sa.returnStatement(sa.literal(e.value||true))]))}function hx(e){return JSON.parse(JSON.stringify(e))}const px=e=>Ku(e.left)?e.left.expressions[0]:e.left;const dx=e=>Ku(e.left)?e.left.expressions[1]:null;const mx=e=>e.right;const vx=_s(sa.literal,Iy);const gx=e=>ua(Ih,_s(vx,px)(e));const yx=e=>ua(Nh,_s(vx,dx)(e));const xx=(e,t,r,n)=>ua(Lh,_s(e=>zy(e,r,n),e=>Object.assign({},t,{text:Ys(e).code}),mx)(e));function Ex(e,t,r){const n=jy(e,t,r);const i=n.program.body;const a=i[0];if(!qu(a)){Es(`The each directives supported should be of type "ExpressionStatement",you have provided a "${a.type}"`)}const{expression:s}=a;return[gx(s),yx(s),xx(s,e,t,r)]}function bx(e,t,r,n){const[i,a,s]=[Ap,Tp,kp].map(t=>t(e));const o=e=>e?zy(Vy(e),r,n):la();return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(ph),sa.identifier(dh),false)),ua(Mh,o(s)),ua(Fh,o(i)),Uy(Bx(e,r,n,t)),...Hy(t),..._s(Ex,Vy)(a)])}function Sx(e,t,r,n){const i=Ap(e);return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(ph),sa.identifier(mh),false)),ua(Lh,zy(i.expressions[0],r,n)),...Hy(t),Uy(Bx(e,r,n,t))])}function Dx(e,t,r){const n=ex(e);return n.filter(pp).filter(xp).map(i=>_y(i,t,r,n.indexOf(i),e))}function Cx(e,t,r,n){return sa.objectExpression([...Hy(t),ua(Rh,sa.arrayExpression([...Dx(e,r,n),...Py(e,r,n)]))])}function wx(e,t,r,n){const i=wp(Hh,e);const a=i?i.value:$h;return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(ph),sa.identifier(gh),false)),ua(zh,cx(Object.assign({},e,{attributes:tx(e).filter(e=>Iy(e)!==Hh)}),t,r,n)),ua(Bh,sa.literal(a)),...Hy(t)])}function Ax(e){return ex(e).reduce((e,t)=>{const r=_x(t);if(r){e[r.value]=t}else{e.default=Qy({nodes:[...ex(e.default),t]})}return e},{default:null})}function Tx(e,t,r,n){const i=Object.assign({},t,{attributes:tx(t).filter(e=>e.name!==Wh)});const[a,s]=Ox(i,r,n);return sa.objectExpression([ua(Vh,sa.literal(e)),ua(Gh,sa.literal(a)),ua(Uh,sa.arrayExpression(s))])}function kx(e,t,r){return sa.arrayExpression([..._s(e=>e.map(e=>{let[n,i]=e;return Tx(n,i,t,r)}),e=>e.filter(e=>{let[,t]=e;return t}),Object.entries,Ax)(e)])}function _x(e){return tx(e).find(e=>e.name===Wh)}function Px(e,t,r,n){return sa.objectExpression([ua(_h,sa.memberExpression(sa.identifier(ph),sa.identifier(vh),false)),ua(Th,sa.identifier(wh)),ua(Lh,zy(rx(e),r,n)),ua(Oh,kx(e,r,n)),ua(zh,cx(e,t,r,n)),...Hy(t)])}const Fx=Object.freeze({html:[],bindings:[],parent:null});function Ix(e,t){if(!t)return e;return Object.assign({},e,{attributes:[{name:t,value:t},...tx(e)]})}function Mx(e,t,r,n){switch(true){case pp(e):return[ax(e),[]];default:return Nx(e,t,r)}}function Nx(e,t,r){const n=dp(e)?null:ux();const i=Ix(e,n);const a=ax(i);switch(true){case Sp(i):return[a,[bx(i,n,t,r)]];case bp(i):return[a,[Sx(i,n,t,r)]];case up(i):return[a,[Px(i,n,t,r)]];case cp(i):return[a,[wx(i,n)]];default:return[a,[Cx(i,n,t,r)]]}}function Lx(e,t,r,n){if(sp(e))return[ax(e),[]];return Mx(e,t,r)}function Bx(e,t,r,n){const i=up(e);const a=Ky(e,n);return i?[null,[Px(a,null,t,r)]]:Ox(Qy(a),t,r)}function Ox(e,t,r,n){if(!e)Es("Something went wrong with your tag DOM parsing, your tag template can't be created");const[i,a]=Lx(e,t,r);const s=ex(e);const o=Object.assign({},hx(Fx),{},n);o.html.push(...i);o.bindings.push(...a);if(s.length&&!Ep(e)){s.forEach(n=>Ox(n,t,r,Object.assign({parent:e},o)))}if(hp(e)&&!fp(e)){o.html.push(sx(e))}return[o.html.join(""),o.bindings]}const Rx=[Dh,yh,ph,wh].map(sa.identifier);function jx(e,t,r){return sa.blockStatement([sa.returnStatement(qy(...Ox(Qy(e),t,r)))])}function Ux(e,t,r,n){aa.visit(e,{visitProperty(e){if(e.value.key.value===$){e.value.value=sa.functionExpression(null,Rx,jx(n,t,r));return false}this.traverse(e)}});return e}function Vx(e,t,r,n){const{options:i}=r;return Ux(n,i.file,t,e)}const Gx={template:"default",file:"[unknown-source-file]",scopedCss:true};function zx(e){let{tagName:t}=e;return sa.program([sa.exportDefaultDeclaration(sa.objectExpression([ua(K,la()),ua(H,la()),ua($,la()),ua(Y,sa.literal(t))]))])}function Xx(e){const t=ca(e);return Zs(t)?null:t}function Jx(e,t){return Object.assign({},e,{sourcesContent:[t]})}function qx(e,t){return{tagName:null,fragments:null,options:Object.assign({},Gx,{},t),source:e}}function Wx(e,t){if(t===void 0){t={}}const r=qx(e,t);const{options:n}=r;const{code:i,map:a}=ks("template",n.template,r,e);const{parse:s}=sh(n);const{template:o,css:l,javascript:u}=s(i).output;if(Qs(o||l||u,i,s)){throw new Error("Multiple HTML root nodes are not supported")}Object.assign(r,{tagName:o.name,fragments:{template:o,css:l,javascript:u}});return _s(e=>Object.assign({},e,{meta:r}),e=>Ds(e,r),t=>Object.assign({},t,{map:Jx(t.map,e)}),e=>r.ast=e&&Ys(e,{sourceMapName:`${n.file}.map`,inputSourceMap:Xx(a)}),Hx(Vx,o,i,r),Hx(sc,u,i,r),Hx(Ks,l,i,r))(zx(r))}function Hx(e,t,r,n){if(!t||t.nodes&&!t.nodes.length||!t.nodes&&!t.text){return e=>e}return $s(e)(t,r,n)}const Kx=Ts;const $x=Ss;e.compile=Wx;e.createInitialInput=zx;e.registerPostprocessor=$x;e.registerPreprocessor=Kx;Object.defineProperty(e,"__esModule",{value:true})}))}));var wr=yr(Cr);const Ar="__riot_registry__";window[Ar]={};function Tr(e,t){const r=document.createElement("script");const n=document.documentElement;if(t)r.text=`${e}\n//# sourceURL=${t}.js`;n.appendChild(r);n.removeChild(r)}function kr(e){return`(function (global){${e}})(this)`.replace("export default","return")}function _r(e,t,r){Tr(`window.${Ar}['${t}'] = ${kr(e)}`,r);sr(t,window[Ar][t])}function Pr(e,t){return wr.compile(e,t)}async function Fr(e,t){const r=await fetch(e);const n=await r.text();return wr.compile(n,Object.assign({file:e},t))}async function Ir(e){const t=At('script[type="riot"]');const r=t.map(e=>Pt(e,"src")||Pt(e,"data-src"));const n=await Promise.all(r.map(t=>Fr(t,e)));n.forEach((e,t)=>{let{code:n,meta:i}=e;const a=r[t];const{tagName:s}=i;_r(n,s,a)})}var Mr=Object.assign({},vr,{compile:Ir,inject:_r,compileFromUrl:Fr,compileFromString:Pr,compiler:wr});return Mr}));
  