@live-codes/browser-compilers 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mdx/mdx.js +34 -34
- package/package.json +2 -2
- package/vendor-licenses.md +3 -1
package/dist/mdx/mdx.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
var dh=Object.create,fr=Object.defineProperty,xh=Object.getPrototypeOf,gh=Object.prototype.hasOwnProperty,yh=Object.getOwnPropertyNames,bh=Object.getOwnPropertyDescriptor;var vh=e=>fr(e,"__esModule",{value:!0});var xn=(e,t)=>()=>(e&&(t=e(e=0)),t),yt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),pa=(e,t)=>{for(var i in t)fr(e,i,{get:t[i],enumerable:!0})},wh=(e,t,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of yh(t))!gh.call(e,r)&&r!=="default"&&fr(e,r,{get:()=>t[r],enumerable:!(i=bh(t,r))||i.enumerable});return e},Tt=e=>wh(vh(fr(e!=null?dh(xh(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);function fa(){throw new Error("setTimeout has not been defined")}function ma(){throw new Error("clearTimeout has not been defined")}function da(e){if(Gt===setTimeout)return setTimeout(e,0);if((Gt===fa||!Gt)&&setTimeout)return Gt=setTimeout,setTimeout(e,0);try{return Gt(e,0)}catch(t){try{return Gt.call(null,e,0)}catch(i){return Gt.call(this,e,0)}}}function kh(e){if(Yt===clearTimeout)return clearTimeout(e);if((Yt===ma||!Yt)&&clearTimeout)return Yt=clearTimeout,clearTimeout(e);try{return Yt(e)}catch(t){try{return Yt.call(null,e)}catch(i){return Yt.call(this,e)}}}function Eh(){!wi||!ri||(wi=!1,ri.length?Ot=ri.concat(Ot):mr=-1,Ot.length&&xa())}function xa(){if(!wi){var e=da(Eh);wi=!0;for(var t=Ot.length;t;){for(ri=Ot,Ot=[];++mr<t;)ri&&ri[mr].run();mr=-1,t=Ot.length}ri=null,wi=!1,kh(e)}}function Ch(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];Ot.push(new ga(e,t)),Ot.length===1&&!wi&&da(xa)}function ga(e,t){this.fun=e,this.array=t}function ni(){}function Uh(e){throw new Error("process.binding is not supported")}function zh(){return"/"}function Jh(e){throw new Error("process.chdir is not supported")}function qh(){return 0}function Hh(e){var t=Xh.call(ki)*.001,i=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(i=i-e[0],r=r-e[1],r<0&&(i--,r+=1e9)),[i,r]}function Gh(){var e=new Date,t=e-Wh;return t/1e3}var Gt,Yt,Ot,wi,ri,mr,Ah,Sh,_h,Ih,Fh,Th,Ph,Bh,Lh,Dh,Nh,Rh,Oh,Vh,Mh,jh,ki,Xh,Wh,I,ya,h=xn(()=>{Gt=fa,Yt=ma;typeof globalThis.setTimeout=="function"&&(Gt=setTimeout);typeof globalThis.clearTimeout=="function"&&(Yt=clearTimeout);Ot=[],wi=!1,mr=-1;ga.prototype.run=function(){this.fun.apply(null,this.array)};Ah="browser",Sh="browser",_h=!0,Ih={},Fh=[],Th="",Ph={},Bh={},Lh={};Dh=ni,Nh=ni,Rh=ni,Oh=ni,Vh=ni,Mh=ni,jh=ni;ki=globalThis.performance||{},Xh=ki.now||ki.mozNow||ki.msNow||ki.oNow||ki.webkitNow||function(){return new Date().getTime()};Wh=new Date;I={nextTick:Ch,title:Ah,browser:_h,env:Ih,argv:Fh,version:Th,versions:Ph,on:Dh,addListener:Nh,once:Rh,off:Oh,removeListener:Vh,removeAllListeners:Mh,emit:jh,binding:Uh,cwd:zh,chdir:Jh,umask:qh,hrtime:Hh,platform:Sh,release:Bh,config:Lh,uptime:Gh},ya={"env.NODE_ENV":"production"};Object.keys(ya).forEach(e=>{let t=e.split("."),i=I;for(let r=0;r<t.length;r++){let s=t[r];r===t.length-1?i[s]=ya[e]:i=i[s]||(i[s]={})}})});function ba(){gn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,i=e.length;t<i;++t)Pt[t]=e[t],lt[e.charCodeAt(t)]=t;lt["-".charCodeAt(0)]=62,lt["_".charCodeAt(0)]=63}function Qh(e){gn||ba();var t,i,r,s,a,o,l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=e[l-2]==="="?2:e[l-1]==="="?1:0,o=new Yh(l*3/4-a),r=a>0?l-4:l;var c=0;for(t=0,i=0;t<r;t+=4,i+=3)s=lt[e.charCodeAt(t)]<<18|lt[e.charCodeAt(t+1)]<<12|lt[e.charCodeAt(t+2)]<<6|lt[e.charCodeAt(t+3)],o[c++]=s>>16&255,o[c++]=s>>8&255,o[c++]=s&255;return a===2?(s=lt[e.charCodeAt(t)]<<2|lt[e.charCodeAt(t+1)]>>4,o[c++]=s&255):a===1&&(s=lt[e.charCodeAt(t)]<<10|lt[e.charCodeAt(t+1)]<<4|lt[e.charCodeAt(t+2)]>>2,o[c++]=s>>8&255,o[c++]=s&255),o}function Kh(e){return Pt[e>>18&63]+Pt[e>>12&63]+Pt[e>>6&63]+Pt[e&63]}function Zh(e,t,i){for(var r,s=[],a=t;a<i;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],s.push(Kh(r));return s.join("")}function va(e){gn||ba();for(var t,i=e.length,r=i%3,s="",a=[],o=16383,l=0,c=i-r;l<c;l+=o)a.push(Zh(e,l,l+o>c?c:l+o));return r===1?(t=e[i-1],s+=Pt[t>>2],s+=Pt[t<<4&63],s+="=="):r===2&&(t=(e[i-2]<<8)+e[i-1],s+=Pt[t>>10],s+=Pt[t>>4&63],s+=Pt[t<<2&63],s+="="),a.push(s),a.join("")}function dr(){return v.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Vt(e,t){if(dr()<t)throw new RangeError("Invalid typed array length");return v.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=v.prototype):(e===null&&(e=new v(t)),e.length=t),e}function v(e,t,i){if(!v.TYPED_ARRAY_SUPPORT&&!(this instanceof v))return new v(e,t,i);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return yn(this,e)}return wa(this,e,t,i)}function wa(e,t,i,r){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&t instanceof ArrayBuffer?ep(e,t,i,r):typeof t=="string"?$h(e,t,i):tp(e,t)}function ka(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function ip(e,t,i,r){return ka(t),t<=0?Vt(e,t):i!==void 0?typeof r=="string"?Vt(e,t).fill(i,r):Vt(e,t).fill(i):Vt(e,t)}function yn(e,t){if(ka(t),e=Vt(e,t<0?0:bn(t)|0),!v.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function $h(e,t,i){if((typeof i!="string"||i==="")&&(i="utf8"),!v.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var r=Ea(t,i)|0;e=Vt(e,r);var s=e.write(t,i);return s!==r&&(e=e.slice(0,s)),e}function vn(e,t){var i=t.length<0?0:bn(t.length)|0;e=Vt(e,i);for(var r=0;r<i;r+=1)e[r]=t[r]&255;return e}function ep(e,t,i,r){if(t.byteLength,i<0||t.byteLength<i)throw new RangeError("'offset' is out of bounds");if(t.byteLength<i+(r||0))throw new RangeError("'length' is out of bounds");return i===void 0&&r===void 0?t=new Uint8Array(t):r===void 0?t=new Uint8Array(t,i):t=new Uint8Array(t,i,r),v.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=v.prototype):e=vn(e,t),e}function tp(e,t){if(Bt(t)){var i=bn(t.length)|0;return e=Vt(e,i),e.length===0||t.copy(e,0,0,i),e}if(t){if(typeof ArrayBuffer!="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||rp(t.length)?Vt(e,0):vn(e,t);if(t.type==="Buffer"&&Array.isArray(t.data))return vn(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function bn(e){if(e>=dr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+dr().toString(16)+" bytes");return e|0}function Bt(e){return!!(e!=null&&e._isBuffer)}function Ea(e,t){if(Bt(e))return e.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var i=e.length;if(i===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return xr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return Ca(e).length;default:if(r)return xr(e).length;t=(""+t).toLowerCase(),r=!0}}function cp(e,t,i){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,t>>>=0,i<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return up(this,t,i);case"utf8":case"utf-8":return Aa(this,t,i);case"ascii":return ap(this,t,i);case"latin1":case"binary":return op(this,t,i);case"base64":return sp(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lp(this,t,i);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function si(e,t,i){var r=e[t];e[t]=e[i],e[i]=r}function _a(e,t,i,r,s){if(e.length===0)return-1;if(typeof i=="string"?(r=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=s?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(s)return-1;i=e.length-1}else if(i<0)if(s)i=0;else return-1;if(typeof t=="string"&&(t=v.from(t,r)),Bt(t))return t.length===0?-1:Sa(e,t,i,r,s);if(typeof t=="number")return t=t&255,v.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):Sa(e,[t],i,r,s);throw new TypeError("val must be string, number or Buffer")}function Sa(e,t,i,r,s){var a=1,o=e.length,l=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,i/=2}function c(g,E){return a===1?g[E]:g.readUInt16BE(E*a)}var d;if(s){var x=-1;for(d=i;d<o;d++)if(c(e,d)===c(t,x===-1?0:d-x)){if(x===-1&&(x=d),d-x+1===l)return x*a}else x!==-1&&(d-=d-x),x=-1}else for(i+l>o&&(i=o-l),d=i;d>=0;d--){for(var k=!0,C=0;C<l;C++)if(c(e,d+C)!==c(t,C)){k=!1;break}if(k)return d}return-1}function hp(e,t,i,r){i=Number(i)||0;var s=e.length-i;r?(r=Number(r),r>s&&(r=s)):r=s;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o<r;++o){var l=parseInt(t.substr(o*2,2),16);if(isNaN(l))return o;e[i+o]=l}return o}function pp(e,t,i,r){return gr(xr(t,e.length-i),e,i,r)}function Ia(e,t,i,r){return gr(fp(t),e,i,r)}function mp(e,t,i,r){return Ia(e,t,i,r)}function dp(e,t,i,r){return gr(Ca(t),e,i,r)}function gp(e,t,i,r){return gr(xp(t,e.length-i),e,i,r)}function sp(e,t,i){return t===0&&i===e.length?va(e):va(e.slice(t,i))}function Aa(e,t,i){i=Math.min(e.length,i);for(var r=[],s=t;s<i;){var a=e[s],o=null,l=a>239?4:a>223?3:a>191?2:1;if(s+l<=i){var c,d,x,k;switch(l){case 1:a<128&&(o=a);break;case 2:c=e[s+1],(c&192)==128&&(k=(a&31)<<6|c&63,k>127&&(o=k));break;case 3:c=e[s+1],d=e[s+2],(c&192)==128&&(d&192)==128&&(k=(a&15)<<12|(c&63)<<6|d&63,k>2047&&(k<55296||k>57343)&&(o=k));break;case 4:c=e[s+1],d=e[s+2],x=e[s+3],(c&192)==128&&(d&192)==128&&(x&192)==128&&(k=(a&15)<<18|(c&63)<<12|(d&63)<<6|x&63,k>65535&&k<1114112&&(o=k))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),s+=l}return yp(r)}function yp(e){var t=e.length;if(t<=Fa)return String.fromCharCode.apply(String,e);for(var i="",r=0;r<t;)i+=String.fromCharCode.apply(String,e.slice(r,r+=Fa));return i}function ap(e,t,i){var r="";i=Math.min(e.length,i);for(var s=t;s<i;++s)r+=String.fromCharCode(e[s]&127);return r}function op(e,t,i){var r="";i=Math.min(e.length,i);for(var s=t;s<i;++s)r+=String.fromCharCode(e[s]);return r}function up(e,t,i){var r=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>r)&&(i=r);for(var s="",a=t;a<i;++a)s+=bp(e[a]);return s}function lp(e,t,i){for(var r=e.slice(t,i),s="",a=0;a<r.length;a+=2)s+=String.fromCharCode(r[a]+r[a+1]*256);return s}function Re(e,t,i){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>i)throw new RangeError("Trying to access beyond buffer length")}function $e(e,t,i,r,s,a){if(!Bt(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||t<a)throw new RangeError('"value" argument is out of bounds');if(i+r>e.length)throw new RangeError("Index out of range")}function br(e,t,i,r){t<0&&(t=65535+t+1);for(var s=0,a=Math.min(e.length-i,2);s<a;++s)e[i+s]=(t&255<<8*(r?s:1-s))>>>(r?s:1-s)*8}function vr(e,t,i,r){t<0&&(t=4294967295+t+1);for(var s=0,a=Math.min(e.length-i,4);s<a;++s)e[i+s]=t>>>(r?s:3-s)*8&255}function Ta(e,t,i,r,s,a){if(i+r>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function Ba(e,t,i,r,s){return s||Ta(e,t,i,4,34028234663852886e22,-34028234663852886e22),Pa(e,t,i,r,23,4),i+4}function La(e,t,i,r,s){return s||Ta(e,t,i,8,17976931348623157e292,-17976931348623157e292),Pa(e,t,i,r,52,8),i+8}function kp(e){if(e=wp(e).replace(vp,""),e.length<2)return"";for(;e.length%4!=0;)e=e+"=";return e}function wp(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function bp(e){return e<16?"0"+e.toString(16):e.toString(16)}function xr(e,t){t=t||Infinity;for(var i,r=e.length,s=null,a=[],o=0;o<r;++o){if(i=e.charCodeAt(o),i>55295&&i<57344){if(!s){if(i>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}s=i;continue}if(i<56320){(t-=3)>-1&&a.push(239,191,189),s=i;continue}i=(s-55296<<10|i-56320)+65536}else s&&(t-=3)>-1&&a.push(239,191,189);if(s=null,i<128){if((t-=1)<0)break;a.push(i)}else if(i<2048){if((t-=2)<0)break;a.push(i>>6|192,i&63|128)}else if(i<65536){if((t-=3)<0)break;a.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((t-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return a}function fp(e){for(var t=[],i=0;i<e.length;++i)t.push(e.charCodeAt(i)&255);return t}function xp(e,t){for(var i,r,s,a=[],o=0;o<e.length&&!((t-=2)<0);++o)i=e.charCodeAt(o),r=i>>8,s=i%256,a.push(s),a.push(r);return a}function Ca(e){return Qh(kp(e))}function gr(e,t,i,r){for(var s=0;s<r&&!(s+i>=t.length||s>=e.length);++s)t[s+i]=e[s];return s}function rp(e){return e!==e}function np(e){return e!=null&&(!!e._isBuffer||Da(e)||Ep(e))}function Da(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Ep(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&Da(e.slice(0,0))}function yr(e,t,i,r,s){var a,o,l=s*8-r-1,c=(1<<l)-1,d=c>>1,x=-7,k=i?s-1:0,C=i?-1:1,g=e[t+k];for(k+=C,a=g&(1<<-x)-1,g>>=-x,x+=l;x>0;a=a*256+e[t+k],k+=C,x-=8);for(o=a&(1<<-x)-1,a>>=-x,x+=r;x>0;o=o*256+e[t+k],k+=C,x-=8);if(a===0)a=1-d;else{if(a===c)return o?NaN:(g?-1:1)*Infinity;o=o+Math.pow(2,r),a=a-d}return(g?-1:1)*o*Math.pow(2,a-r)}function Pa(e,t,i,r,s,a){var o,l,c,d=a*8-s-1,x=(1<<d)-1,k=x>>1,C=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=r?0:a-1,E=r?1:-1,_=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===Infinity?(l=isNaN(t)?1:0,o=x):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+k>=1?t+=C/c:t+=C*Math.pow(2,1-k),t*c>=2&&(o++,c/=2),o+k>=x?(l=0,o=x):o+k>=1?(l=(t*c-1)*Math.pow(2,s),o=o+k):(l=t*Math.pow(2,k-1)*Math.pow(2,s),o=0));s>=8;e[i+g]=l&255,g+=E,l/=256,s-=8);for(o=o<<s|l,d+=s;d>0;e[i+g]=o&255,g+=E,o/=256,d-=8);e[i+g-E]|=_*128}var Pt,lt,Yh,gn,Fa,vp,Na=xn(()=>{h();p();Pt=[],lt=[],Yh=typeof Uint8Array!="undefined"?Uint8Array:Array,gn=!1;v.TYPED_ARRAY_SUPPORT=globalThis.TYPED_ARRAY_SUPPORT!==void 0?globalThis.TYPED_ARRAY_SUPPORT:!0;v.poolSize=8192;v._augment=function(e){return e.__proto__=v.prototype,e};v.from=function(e,t,i){return wa(null,e,t,i)};v.kMaxLength=dr();v.TYPED_ARRAY_SUPPORT&&(v.prototype.__proto__=Uint8Array.prototype,v.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&v[Symbol.species]===v);v.alloc=function(e,t,i){return ip(null,e,t,i)};v.allocUnsafe=function(e){return yn(null,e)};v.allocUnsafeSlow=function(e){return yn(null,e)};v.isBuffer=np;v.compare=function(t,i){if(!Bt(t)||!Bt(i))throw new TypeError("Arguments must be Buffers");if(t===i)return 0;for(var r=t.length,s=i.length,a=0,o=Math.min(r,s);a<o;++a)if(t[a]!==i[a]){r=t[a],s=i[a];break}return r<s?-1:s<r?1:0};v.isEncoding=function(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!0;default:return!1}};v.concat=function(t,i){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return v.alloc(0);var r;if(i===void 0)for(i=0,r=0;r<t.length;++r)i+=t[r].length;var s=v.allocUnsafe(i),a=0;for(r=0;r<t.length;++r){var o=t[r];if(!Bt(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(s,a),a+=o.length}return s};v.byteLength=Ea;v.prototype._isBuffer=!0;v.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)si(this,i,i+1);return this};v.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)si(this,i,i+3),si(this,i+1,i+2);return this};v.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;i+=8)si(this,i,i+7),si(this,i+1,i+6),si(this,i+2,i+5),si(this,i+3,i+4);return this};v.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?Aa(this,0,t):cp.apply(this,arguments)};v.prototype.equals=function(t){if(!Bt(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:v.compare(this,t)===0};v.prototype.compare=function(t,i,r,s,a){if(!Bt(t))throw new TypeError("Argument must be a Buffer");if(i===void 0&&(i=0),r===void 0&&(r=t?t.length:0),s===void 0&&(s=0),a===void 0&&(a=this.length),i<0||r>t.length||s<0||a>this.length)throw new RangeError("out of range index");if(s>=a&&i>=r)return 0;if(s>=a)return-1;if(i>=r)return 1;if(i>>>=0,r>>>=0,s>>>=0,a>>>=0,this===t)return 0;for(var o=a-s,l=r-i,c=Math.min(o,l),d=this.slice(s,a),x=t.slice(i,r),k=0;k<c;++k)if(d[k]!==x[k]){o=d[k],l=x[k];break}return o<l?-1:l<o?1:0};v.prototype.includes=function(t,i,r){return this.indexOf(t,i,r)!==-1};v.prototype.indexOf=function(t,i,r){return _a(this,t,i,r,!0)};v.prototype.lastIndexOf=function(t,i,r){return _a(this,t,i,r,!1)};v.prototype.write=function(t,i,r,s){if(i===void 0)s="utf8",r=this.length,i=0;else if(r===void 0&&typeof i=="string")s=i,r=this.length,i=0;else if(isFinite(i))i=i|0,isFinite(r)?(r=r|0,s===void 0&&(s="utf8")):(s=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-i;if((r===void 0||r>a)&&(r=a),t.length>0&&(r<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var o=!1;;)switch(s){case"hex":return hp(this,t,i,r);case"utf8":case"utf-8":return pp(this,t,i,r);case"ascii":return Ia(this,t,i,r);case"latin1":case"binary":return mp(this,t,i,r);case"base64":return dp(this,t,i,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gp(this,t,i,r);default:if(o)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),o=!0}};v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};Fa=4096;v.prototype.slice=function(t,i){var r=this.length;t=~~t,i=i===void 0?r:~~i,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),i<0?(i+=r,i<0&&(i=0)):i>r&&(i=r),i<t&&(i=t);var s;if(v.TYPED_ARRAY_SUPPORT)s=this.subarray(t,i),s.__proto__=v.prototype;else{var a=i-t;s=new v(a,void 0);for(var o=0;o<a;++o)s[o]=this[o+t]}return s};v.prototype.readUIntLE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=this[t],a=1,o=0;++o<i&&(a*=256);)s+=this[t+o]*a;return s};v.prototype.readUIntBE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=this[t+--i],a=1;i>0&&(a*=256);)s+=this[t+--i]*a;return s};v.prototype.readUInt8=function(t,i){return i||Re(t,1,this.length),this[t]};v.prototype.readUInt16LE=function(t,i){return i||Re(t,2,this.length),this[t]|this[t+1]<<8};v.prototype.readUInt16BE=function(t,i){return i||Re(t,2,this.length),this[t]<<8|this[t+1]};v.prototype.readUInt32LE=function(t,i){return i||Re(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};v.prototype.readUInt32BE=function(t,i){return i||Re(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};v.prototype.readIntLE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=this[t],a=1,o=0;++o<i&&(a*=256);)s+=this[t+o]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*i)),s};v.prototype.readIntBE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=i,a=1,o=this[t+--s];s>0&&(a*=256);)o+=this[t+--s]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*i)),o};v.prototype.readInt8=function(t,i){return i||Re(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};v.prototype.readInt16LE=function(t,i){i||Re(t,2,this.length);var r=this[t]|this[t+1]<<8;return r&32768?r|4294901760:r};v.prototype.readInt16BE=function(t,i){i||Re(t,2,this.length);var r=this[t+1]|this[t]<<8;return r&32768?r|4294901760:r};v.prototype.readInt32LE=function(t,i){return i||Re(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};v.prototype.readInt32BE=function(t,i){return i||Re(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};v.prototype.readFloatLE=function(t,i){return i||Re(t,4,this.length),yr(this,t,!0,23,4)};v.prototype.readFloatBE=function(t,i){return i||Re(t,4,this.length),yr(this,t,!1,23,4)};v.prototype.readDoubleLE=function(t,i){return i||Re(t,8,this.length),yr(this,t,!0,52,8)};v.prototype.readDoubleBE=function(t,i){return i||Re(t,8,this.length),yr(this,t,!1,52,8)};v.prototype.writeUIntLE=function(t,i,r,s){if(t=+t,i=i|0,r=r|0,!s){var a=Math.pow(2,8*r)-1;$e(this,t,i,r,a,0)}var o=1,l=0;for(this[i]=t&255;++l<r&&(o*=256);)this[i+l]=t/o&255;return i+r};v.prototype.writeUIntBE=function(t,i,r,s){if(t=+t,i=i|0,r=r|0,!s){var a=Math.pow(2,8*r)-1;$e(this,t,i,r,a,0)}var o=r-1,l=1;for(this[i+o]=t&255;--o>=0&&(l*=256);)this[i+o]=t/l&255;return i+r};v.prototype.writeUInt8=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,1,255,0),v.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[i]=t&255,i+1};v.prototype.writeUInt16LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,65535,0),v.TYPED_ARRAY_SUPPORT?(this[i]=t&255,this[i+1]=t>>>8):br(this,t,i,!0),i+2};v.prototype.writeUInt16BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,65535,0),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>8,this[i+1]=t&255):br(this,t,i,!1),i+2};v.prototype.writeUInt32LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,4294967295,0),v.TYPED_ARRAY_SUPPORT?(this[i+3]=t>>>24,this[i+2]=t>>>16,this[i+1]=t>>>8,this[i]=t&255):vr(this,t,i,!0),i+4};v.prototype.writeUInt32BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,4294967295,0),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>24,this[i+1]=t>>>16,this[i+2]=t>>>8,this[i+3]=t&255):vr(this,t,i,!1),i+4};v.prototype.writeIntLE=function(t,i,r,s){if(t=+t,i=i|0,!s){var a=Math.pow(2,8*r-1);$e(this,t,i,r,a-1,-a)}var o=0,l=1,c=0;for(this[i]=t&255;++o<r&&(l*=256);)t<0&&c===0&&this[i+o-1]!==0&&(c=1),this[i+o]=(t/l>>0)-c&255;return i+r};v.prototype.writeIntBE=function(t,i,r,s){if(t=+t,i=i|0,!s){var a=Math.pow(2,8*r-1);$e(this,t,i,r,a-1,-a)}var o=r-1,l=1,c=0;for(this[i+o]=t&255;--o>=0&&(l*=256);)t<0&&c===0&&this[i+o+1]!==0&&(c=1),this[i+o]=(t/l>>0)-c&255;return i+r};v.prototype.writeInt8=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,1,127,-128),v.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[i]=t&255,i+1};v.prototype.writeInt16LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,32767,-32768),v.TYPED_ARRAY_SUPPORT?(this[i]=t&255,this[i+1]=t>>>8):br(this,t,i,!0),i+2};v.prototype.writeInt16BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,32767,-32768),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>8,this[i+1]=t&255):br(this,t,i,!1),i+2};v.prototype.writeInt32LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,2147483647,-2147483648),v.TYPED_ARRAY_SUPPORT?(this[i]=t&255,this[i+1]=t>>>8,this[i+2]=t>>>16,this[i+3]=t>>>24):vr(this,t,i,!0),i+4};v.prototype.writeInt32BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>24,this[i+1]=t>>>16,this[i+2]=t>>>8,this[i+3]=t&255):vr(this,t,i,!1),i+4};v.prototype.writeFloatLE=function(t,i,r){return Ba(this,t,i,!0,r)};v.prototype.writeFloatBE=function(t,i,r){return Ba(this,t,i,!1,r)};v.prototype.writeDoubleLE=function(t,i,r){return La(this,t,i,!0,r)};v.prototype.writeDoubleBE=function(t,i,r){return La(this,t,i,!1,r)};v.prototype.copy=function(t,i,r,s){if(r||(r=0),!s&&s!==0&&(s=this.length),i>=t.length&&(i=t.length),i||(i=0),s>0&&s<r&&(s=r),s===r||t.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),t.length-i<s-r&&(s=t.length-i+r);var a=s-r,o;if(this===t&&r<i&&i<s)for(o=a-1;o>=0;--o)t[o+i]=this[o+r];else if(a<1e3||!v.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)t[o+i]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+a),i);return a};v.prototype.fill=function(t,i,r,s){if(typeof t=="string"){if(typeof i=="string"?(s=i,i=0,r=this.length):typeof r=="string"&&(s=r,r=this.length),t.length===1){var a=t.charCodeAt(0);a<256&&(t=a)}if(s!==void 0&&typeof s!="string")throw new TypeError("encoding must be a string");if(typeof s=="string"&&!v.isEncoding(s))throw new TypeError("Unknown encoding: "+s)}else typeof t=="number"&&(t=t&255);if(i<0||this.length<i||this.length<r)throw new RangeError("Out of range index");if(r<=i)return this;i=i>>>0,r=r===void 0?this.length:r>>>0,t||(t=0);var o;if(typeof t=="number")for(o=i;o<r;++o)this[o]=t;else{var l=Bt(t)?t:xr(new v(t,s).toString()),c=l.length;for(o=0;o<r-i;++o)this[o+i]=l[o%c]}return this};vp=/[^+\/0-9A-Za-z-_]/g});var p=xn(()=>{Na()});var Oa=yt((Fd,Ra)=>{h();p();Ra.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var Ha=yt((Td,Va)=>{h();p();"use strict";var wr=Object.prototype.hasOwnProperty,Ma=Object.prototype.toString,ja=Object.defineProperty,Ua=Object.getOwnPropertyDescriptor,za=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Ma.call(t)==="[object Array]"},Ja=function(t){if(!t||Ma.call(t)!=="[object Object]")return!1;var i=wr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&wr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!r)return!1;var s;for(s in t);return typeof s=="undefined"||wr.call(t,s)},qa=function(t,i){ja&&i.name==="__proto__"?ja(t,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):t[i.name]=i.newValue},Xa=function(t,i){if(i==="__proto__")if(wr.call(t,i)){if(Ua)return Ua(t,i).value}else return;return t[i]};Va.exports=function e(){var t,i,r,s,a,o,l=arguments[0],c=1,d=arguments.length,x=!1;for(typeof l=="boolean"&&(x=l,l=arguments[1]||{},c=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});c<d;++c)if(t=arguments[c],t!=null)for(i in t)r=Xa(l,i),s=Xa(t,i),l!==s&&(x&&s&&(Ja(s)||(a=za(s)))?(a?(a=!1,o=r&&za(r)?r:[]):o=r&&Ja(r)?r:{},qa(l,{name:i,newValue:e(x,o,s)})):typeof s!="undefined"&&qa(l,{name:i,newValue:s}));return l}});var Ya=yt((Ld,Ga)=>{h();p();Ga.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var Go=yt((nx,Wo)=>{h();p();Wo.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}});var Hn=yt((Pr,Yo)=>{h();p();(function(e,t){typeof Pr=="object"&&typeof Yo!="undefined"?t(Pr):typeof define=="function"&&define.amd?define(["exports"],t):(e=e||self,t(e.acorn={}))})(Pr,function(e){"use strict";var t={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"},i="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",r={5:i,"5module":i+" export import",6:i+" const class extends export import super"},s=/^in(stanceof)?$/,a="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\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\u09FC\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\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",o="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",l=new RegExp("["+a+"]"),c=new RegExp("["+a+o+"]");a=o=null;var d=[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,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,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,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,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,190,0,80,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,1237,43,8,8952,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],x=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,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,2,11,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,71,5,2,1,3,3,2,0,2,1,13,9,120,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,82,0,12,1,19628,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,4759,9,787719,239];function k(n,u){for(var m=65536,b=0;b<u.length;b+=2){if(m+=u[b],m>n)return!1;if(m+=u[b+1],m>=n)return!0}}function C(n,u){return n<65?n===36:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&l.test(String.fromCharCode(n)):u===!1?!1:k(n,d)}function g(n,u){return n<48?n===36:n<58?!0:n<65?!1:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&c.test(String.fromCharCode(n)):u===!1?!1:k(n,d)||k(n,x)}var E=function(u,m){m===void 0&&(m={}),this.label=u,this.keyword=m.keyword,this.beforeExpr=!!m.beforeExpr,this.startsExpr=!!m.startsExpr,this.isLoop=!!m.isLoop,this.isAssign=!!m.isAssign,this.prefix=!!m.prefix,this.postfix=!!m.postfix,this.binop=m.binop||null,this.updateContext=null};function _(n,u){return new E(n,{beforeExpr:!0,binop:u})}var F={beforeExpr:!0},T={startsExpr:!0},N={};function L(n,u){return u===void 0&&(u={}),u.keyword=n,N[n]=new E(n,u)}var f={num:new E("num",T),regexp:new E("regexp",T),string:new E("string",T),name:new E("name",T),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",F),semi:new E(";",F),colon:new E(":",F),dot:new E("."),question:new E("?",F),questionDot:new E("?."),arrow:new E("=>",F),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",F),backQuote:new E("`",T),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:_("%",10),star:_("*",10),slash:_("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:_("??",1),_break:L("break"),_case:L("case",F),_catch:L("catch"),_continue:L("continue"),_debugger:L("debugger"),_default:L("default",F),_do:L("do",{isLoop:!0,beforeExpr:!0}),_else:L("else",F),_finally:L("finally"),_for:L("for",{isLoop:!0}),_function:L("function",T),_if:L("if"),_return:L("return",F),_switch:L("switch"),_throw:L("throw",F),_try:L("try"),_var:L("var"),_const:L("const"),_while:L("while",{isLoop:!0}),_with:L("with"),_new:L("new",{beforeExpr:!0,startsExpr:!0}),_this:L("this",T),_super:L("super",T),_class:L("class",T),_extends:L("extends",F),_export:L("export"),_import:L("import",T),_null:L("null",T),_true:L("true",T),_false:L("false",T),_in:L("in",{beforeExpr:!0,binop:7}),_instanceof:L("instanceof",{beforeExpr:!0,binop:7}),_typeof:L("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:L("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:L("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},V=/\r\n?|\n|\u2028|\u2029/,A=new RegExp(V.source,"g");function O(n,u){return n===10||n===13||!u&&(n===8232||n===8233)}var j=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,U=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ee=Object.prototype,G=ee.hasOwnProperty,W=ee.toString;function q(n,u){return G.call(n,u)}var se=Array.isArray||function(n){return W.call(n)==="[object Array]"};function ye(n){return new RegExp("^(?:"+n.replace(/ /g,"|")+")$")}var ke=function(u,m){this.line=u,this.column=m};ke.prototype.offset=function(u){return new ke(this.line,this.column+u)};var ae=function(u,m,b){this.start=m,this.end=b,u.sourceFile!==null&&(this.source=u.sourceFile)};function be(n,u){for(var m=1,b=0;;){A.lastIndex=b;var S=A.exec(n);if(S&&S.index<u)++m,b=S.index+S[0].length;else return new ke(m,u-b)}}var Se={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function _e(n){var u={};for(var m in Se)u[m]=n&&q(n,m)?n[m]:Se[m];if(u.ecmaVersion>=2015&&(u.ecmaVersion-=2009),u.allowReserved==null&&(u.allowReserved=u.ecmaVersion<5),se(u.onToken)){var b=u.onToken;u.onToken=function(S){return b.push(S)}}return se(u.onComment)&&(u.onComment=B(u,u.onComment)),u}function B(n,u){return function(m,b,S,D,M,X){var Y={type:m?"Block":"Line",value:b,start:S,end:D};n.locations&&(Y.loc=new ae(this,M,X)),n.ranges&&(Y.range=[S,D]),u.push(Y)}}var P=1,nt=2,qe=P|nt,dt=4,xt=8,Xe=16,Te=32,Ct=64,He=128;function ut(n,u){return nt|(n?dt:0)|(u?xt:0)}var Ne=0,At=1,Ke=2,di=3,xi=4,Ht=5,ve=function(u,m,b){this.options=u=_e(u),this.sourceFile=u.sourceFile,this.keywords=ye(r[u.ecmaVersion>=6?6:u.sourceType==="module"?"5module":5]);var S="";if(u.allowReserved!==!0){for(var D=u.ecmaVersion;!(S=t[D]);D--);u.sourceType==="module"&&(S+=" await")}this.reservedWords=ye(S);var M=(S?S+" ":"")+t.strict;this.reservedWordsStrict=ye(M),this.reservedWordsStrictBind=ye(M+" "+t.strictBind),this.input=String(m),this.containsEsc=!1,b?(this.pos=b,this.lineStart=this.input.lastIndexOf(`
|
|
2
|
-
`,b-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(V).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.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=!0,this.inModule=u.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&u.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(P),this.regexpState=null},st={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};ve.prototype.parse=function(){var u=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(u)},st.inFunction.get=function(){return(this.currentVarScope().flags&nt)>0},st.inGenerator.get=function(){return(this.currentVarScope().flags&xt)>0},st.inAsync.get=function(){return(this.currentVarScope().flags&dt)>0},st.allowSuper.get=function(){return(this.currentThisScope().flags&Ct)>0},st.allowDirectSuper.get=function(){return(this.currentThisScope().flags&He)>0},st.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ve.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&nt)>0},ve.extend=function(){for(var u=[],m=arguments.length;m--;)u[m]=arguments[m];for(var b=this,S=0;S<u.length;S++)b=u[S](b);return b},ve.parse=function(u,m){return new this(m,u).parse()},ve.parseExpressionAt=function(u,m,b){var S=new this(b,u,m);return S.nextToken(),S.parseExpression()},ve.tokenizer=function(u,m){return new this(m,u)},Object.defineProperties(ve.prototype,st);var Le=ve.prototype,Wt=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Le.strictDirective=function(n){for(;;){U.lastIndex=n,n+=U.exec(this.input)[0].length;var u=Wt.exec(this.input.slice(n));if(!u)return!1;if((u[1]||u[2])==="use strict"){U.lastIndex=n+u[0].length;var m=U.exec(this.input),b=m.index+m[0].length,S=this.input.charAt(b);return S===";"||S==="}"||V.test(m[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(S)||S==="!"&&this.input.charAt(b+1)==="=")}n+=u[0].length,U.lastIndex=n,n+=U.exec(this.input)[0].length,this.input[n]===";"&&n++}},Le.eat=function(n){return this.type===n?(this.next(),!0):!1},Le.isContextual=function(n){return this.type===f.name&&this.value===n&&!this.containsEsc},Le.eatContextual=function(n){return this.isContextual(n)?(this.next(),!0):!1},Le.expectContextual=function(n){this.eatContextual(n)||this.unexpected()},Le.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||V.test(this.input.slice(this.lastTokEnd,this.start))},Le.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Le.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},Le.afterTrailingComma=function(n,u){if(this.type===n)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),u||this.next(),!0},Le.expect=function(n){this.eat(n)||this.unexpected()},Le.unexpected=function(n){this.raise(n??this.start,"Unexpected token")};function St(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Le.checkPatternErrors=function(n,u){if(!!n){n.trailingComma>-1&&this.raiseRecoverable(n.trailingComma,"Comma is not permitted after the rest element");var m=u?n.parenthesizedAssign:n.parenthesizedBind;m>-1&&this.raiseRecoverable(m,"Parenthesized pattern")}},Le.checkExpressionErrors=function(n,u){if(!n)return!1;var m=n.shorthandAssign,b=n.doubleProto;if(!u)return m>=0||b>=0;m>=0&&this.raise(m,"Shorthand property assignments are valid only in destructuring patterns"),b>=0&&this.raiseRecoverable(b,"Redefinition of __proto__ property")},Le.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Le.isSimpleAssignTarget=function(n){return n.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(n.expression):n.type==="Identifier"||n.type==="MemberExpression"};var ie=ve.prototype;ie.parseTopLevel=function(n){var u={};for(n.body||(n.body=[]);this.type!==f.eof;){var m=this.parseStatement(null,!0,u);n.body.push(m)}if(this.inModule)for(var b=0,S=Object.keys(this.undefinedExports);b<S.length;b+=1){var D=S[b];this.raiseRecoverable(this.undefinedExports[D].start,"Export '"+D+"' is not defined")}return this.adaptDirectivePrologue(n.body),this.next(),n.sourceType=this.options.sourceType,this.finishNode(n,"Program")};var _t={kind:"loop"},Ce={kind:"switch"};ie.isLet=function(n){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;U.lastIndex=this.pos;var u=U.exec(this.input),m=this.pos+u[0].length,b=this.input.charCodeAt(m);if(b===91)return!0;if(n)return!1;if(b===123)return!0;if(C(b,!0)){for(var S=m+1;g(this.input.charCodeAt(S),!0);)++S;var D=this.input.slice(m,S);if(!s.test(D))return!0}return!1},ie.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;U.lastIndex=this.pos;var n=U.exec(this.input),u=this.pos+n[0].length;return!V.test(this.input.slice(this.pos,u))&&this.input.slice(u,u+8)==="function"&&(u+8===this.input.length||!g(this.input.charAt(u+8)))},ie.parseStatement=function(n,u,m){var b=this.type,S=this.startNode(),D;switch(this.isLet(n)&&(b=f._var,D="let"),b){case f._break:case f._continue:return this.parseBreakContinueStatement(S,b.keyword);case f._debugger:return this.parseDebuggerStatement(S);case f._do:return this.parseDoStatement(S);case f._for:return this.parseForStatement(S);case f._function:return n&&(this.strict||n!=="if"&&n!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(S,!1,!n);case f._class:return n&&this.unexpected(),this.parseClass(S,!0);case f._if:return this.parseIfStatement(S);case f._return:return this.parseReturnStatement(S);case f._switch:return this.parseSwitchStatement(S);case f._throw:return this.parseThrowStatement(S);case f._try:return this.parseTryStatement(S);case f._const:case f._var:return D=D||this.value,n&&D!=="var"&&this.unexpected(),this.parseVarStatement(S,D);case f._while:return this.parseWhileStatement(S);case f._with:return this.parseWithStatement(S);case f.braceL:return this.parseBlock(!0,S);case f.semi:return this.parseEmptyStatement(S);case f._export:case f._import:if(this.options.ecmaVersion>10&&b===f._import){U.lastIndex=this.pos;var M=U.exec(this.input),X=this.pos+M[0].length,Y=this.input.charCodeAt(X);if(Y===40||Y===46)return this.parseExpressionStatement(S,this.parseExpression())}return this.options.allowImportExportEverywhere||(u||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),b===f._import?this.parseImport(S):this.parseExport(S,m);default:if(this.isAsyncFunction())return n&&this.unexpected(),this.next(),this.parseFunctionStatement(S,!0,!n);var ce=this.value,Ae=this.parseExpression();return b===f.name&&Ae.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(S,ce,Ae,n):this.parseExpressionStatement(S,Ae)}},ie.parseBreakContinueStatement=function(n,u){var m=u==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?n.label=null:this.type!==f.name?this.unexpected():(n.label=this.parseIdent(),this.semicolon());for(var b=0;b<this.labels.length;++b){var S=this.labels[b];if((n.label==null||S.name===n.label.name)&&(S.kind!=null&&(m||S.kind==="loop")||n.label&&m))break}return b===this.labels.length&&this.raise(n.start,"Unsyntactic "+u),this.finishNode(n,m?"BreakStatement":"ContinueStatement")},ie.parseDebuggerStatement=function(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")},ie.parseDoStatement=function(n){return this.next(),this.labels.push(_t),n.body=this.parseStatement("do"),this.labels.pop(),this.expect(f._while),n.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(f.semi):this.semicolon(),this.finishNode(n,"DoWhileStatement")},ie.parseForStatement=function(n){this.next();var u=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(_t),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return u>-1&&this.unexpected(u),this.parseFor(n,null);var m=this.isLet();if(this.type===f._var||this.type===f._const||m){var b=this.startNode(),S=m?"let":this.value;return this.next(),this.parseVar(b,!0,S),this.finishNode(b,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&b.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?u>-1&&this.unexpected(u):n.await=u>-1),this.parseForIn(n,b)):(u>-1&&this.unexpected(u),this.parseFor(n,b))}var D=new St,M=this.parseExpression(!0,D);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?u>-1&&this.unexpected(u):n.await=u>-1),this.toAssignable(M,!1,D),this.checkLVal(M),this.parseForIn(n,M)):(this.checkExpressionErrors(D,!0),u>-1&&this.unexpected(u),this.parseFor(n,M))},ie.parseFunctionStatement=function(n,u,m){return this.next(),this.parseFunction(n,Nt|(m?0:R),!1,u)},ie.parseIfStatement=function(n){return this.next(),n.test=this.parseParenExpression(),n.consequent=this.parseStatement("if"),n.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(n,"IfStatement")},ie.parseReturnStatement=function(n){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")},ie.parseSwitchStatement=function(n){this.next(),n.discriminant=this.parseParenExpression(),n.cases=[],this.expect(f.braceL),this.labels.push(Ce),this.enterScope(0);for(var u,m=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var b=this.type===f._case;u&&this.finishNode(u,"SwitchCase"),n.cases.push(u=this.startNode()),u.consequent=[],this.next(),b?u.test=this.parseExpression():(m&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),m=!0,u.test=null),this.expect(f.colon)}else u||this.unexpected(),u.consequent.push(this.parseStatement(null));return this.exitScope(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(n,"SwitchStatement")},ie.parseThrowStatement=function(n){return this.next(),V.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")};var gi=[];ie.parseTryStatement=function(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.type===f._catch){var u=this.startNode();if(this.next(),this.eat(f.parenL)){u.param=this.parseBindingAtom();var m=u.param.type==="Identifier";this.enterScope(m?Te:0),this.checkLVal(u.param,m?xi:Ke),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),u.param=null,this.enterScope(0);u.body=this.parseBlock(!1),this.exitScope(),n.handler=this.finishNode(u,"CatchClause")}return n.finalizer=this.eat(f._finally)?this.parseBlock():null,!n.handler&&!n.finalizer&&this.raise(n.start,"Missing catch or finally clause"),this.finishNode(n,"TryStatement")},ie.parseVarStatement=function(n,u){return this.next(),this.parseVar(n,!1,u),this.semicolon(),this.finishNode(n,"VariableDeclaration")},ie.parseWhileStatement=function(n){return this.next(),n.test=this.parseParenExpression(),this.labels.push(_t),n.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(n,"WhileStatement")},ie.parseWithStatement=function(n){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),n.object=this.parseParenExpression(),n.body=this.parseStatement("with"),this.finishNode(n,"WithStatement")},ie.parseEmptyStatement=function(n){return this.next(),this.finishNode(n,"EmptyStatement")},ie.parseLabeledStatement=function(n,u,m,b){for(var S=0,D=this.labels;S<D.length;S+=1){var M=D[S];M.name===u&&this.raise(m.start,"Label '"+u+"' is already declared")}for(var X=this.type.isLoop?"loop":this.type===f._switch?"switch":null,Y=this.labels.length-1;Y>=0;Y--){var ce=this.labels[Y];if(ce.statementStart===n.start)ce.statementStart=this.start,ce.kind=X;else break}return this.labels.push({name:u,kind:X,statementStart:this.start}),n.body=this.parseStatement(b?b.indexOf("label")===-1?b+"label":b:"label"),this.labels.pop(),n.label=m,this.finishNode(n,"LabeledStatement")},ie.parseExpressionStatement=function(n,u){return n.expression=u,this.semicolon(),this.finishNode(n,"ExpressionStatement")},ie.parseBlock=function(n,u,m){for(n===void 0&&(n=!0),u===void 0&&(u=this.startNode()),u.body=[],this.expect(f.braceL),n&&this.enterScope(0);this.type!==f.braceR;){var b=this.parseStatement(null);u.body.push(b)}return m&&(this.strict=!1),this.next(),n&&this.exitScope(),this.finishNode(u,"BlockStatement")},ie.parseFor=function(n,u){return n.init=u,this.expect(f.semi),n.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),n.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,"ForStatement")},ie.parseForIn=function(n,u){var m=this.type===f._in;return this.next(),u.type==="VariableDeclaration"&&u.declarations[0].init!=null&&(!m||this.options.ecmaVersion<8||this.strict||u.kind!=="var"||u.declarations[0].id.type!=="Identifier")?this.raise(u.start,(m?"for-in":"for-of")+" loop variable declaration may not have an initializer"):u.type==="AssignmentPattern"&&this.raise(u.start,"Invalid left-hand side in for-loop"),n.left=u,n.right=m?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,m?"ForInStatement":"ForOfStatement")},ie.parseVar=function(n,u,m){for(n.declarations=[],n.kind=m;;){var b=this.startNode();if(this.parseVarId(b,m),this.eat(f.eq)?b.init=this.parseMaybeAssign(u):m==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():b.id.type!=="Identifier"&&!(u&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):b.init=null,n.declarations.push(this.finishNode(b,"VariableDeclarator")),!this.eat(f.comma))break}return n},ie.parseVarId=function(n,u){n.id=this.parseBindingAtom(),this.checkLVal(n.id,u==="var"?At:Ke,!1)};var Nt=1,R=2,w=4;ie.parseFunction=function(n,u,m,b){this.initFunction(n),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!b)&&(this.type===f.star&&u&R&&this.unexpected(),n.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(n.async=!!b),u&Nt&&(n.id=u&w&&this.type!==f.name?null:this.parseIdent(),n.id&&!(u&R)&&this.checkLVal(n.id,this.strict||n.generator||n.async?this.treatFunctionsAsVar?At:Ke:di));var S=this.yieldPos,D=this.awaitPos,M=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ut(n.async,n.generator)),u&Nt||(n.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(n),this.parseFunctionBody(n,m,!1),this.yieldPos=S,this.awaitPos=D,this.awaitIdentPos=M,this.finishNode(n,u&Nt?"FunctionDeclaration":"FunctionExpression")},ie.parseFunctionParams=function(n){this.expect(f.parenL),n.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ie.parseClass=function(n,u){this.next();var m=this.strict;this.strict=!0,this.parseClassId(n,u),this.parseClassSuper(n);var b=this.startNode(),S=!1;for(b.body=[],this.expect(f.braceL);this.type!==f.braceR;){var D=this.parseClassElement(n.superClass!==null);D&&(b.body.push(D),D.type==="MethodDefinition"&&D.kind==="constructor"&&(S&&this.raise(D.start,"Duplicate constructor in the same class"),S=!0))}return this.strict=m,this.next(),n.body=this.finishNode(b,"ClassBody"),this.finishNode(n,u?"ClassDeclaration":"ClassExpression")},ie.parseClassElement=function(n){var u=this;if(this.eat(f.semi))return null;var m=this.startNode(),b=function(Y,ce){ce===void 0&&(ce=!1);var Ae=u.start,ze=u.startLoc;return u.eatContextual(Y)?u.type!==f.parenL&&(!ce||!u.canInsertSemicolon())?!0:(m.key&&u.unexpected(),m.computed=!1,m.key=u.startNodeAt(Ae,ze),m.key.name=Y,u.finishNode(m.key,"Identifier"),!1):!1};m.kind="method",m.static=b("static");var S=this.eat(f.star),D=!1;S||(this.options.ecmaVersion>=8&&b("async",!0)?(D=!0,S=this.options.ecmaVersion>=9&&this.eat(f.star)):b("get")?m.kind="get":b("set")&&(m.kind="set")),m.key||this.parsePropertyName(m);var M=m.key,X=!1;return!m.computed&&!m.static&&(M.type==="Identifier"&&M.name==="constructor"||M.type==="Literal"&&M.value==="constructor")?(m.kind!=="method"&&this.raise(M.start,"Constructor can't have get/set modifier"),S&&this.raise(M.start,"Constructor can't be a generator"),D&&this.raise(M.start,"Constructor can't be an async method"),m.kind="constructor",X=n):m.static&&M.type==="Identifier"&&M.name==="prototype"&&this.raise(M.start,"Classes may not have a static property named prototype"),this.parseClassMethod(m,S,D,X),m.kind==="get"&&m.value.params.length!==0&&this.raiseRecoverable(m.value.start,"getter should have no params"),m.kind==="set"&&m.value.params.length!==1&&this.raiseRecoverable(m.value.start,"setter should have exactly one param"),m.kind==="set"&&m.value.params[0].type==="RestElement"&&this.raiseRecoverable(m.value.params[0].start,"Setter cannot use rest params"),m},ie.parseClassMethod=function(n,u,m,b){return n.value=this.parseMethod(u,m,b),this.finishNode(n,"MethodDefinition")},ie.parseClassId=function(n,u){this.type===f.name?(n.id=this.parseIdent(),u&&this.checkLVal(n.id,Ke,!1)):(u===!0&&this.unexpected(),n.id=null)},ie.parseClassSuper=function(n){n.superClass=this.eat(f._extends)?this.parseExprSubscripts():null},ie.parseExport=function(n,u){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(n.exported=this.parseIdent(!0),this.checkExport(u,n.exported.name,this.lastTokStart)):n.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),n.source=this.parseExprAtom(),this.semicolon(),this.finishNode(n,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(u,"default",this.lastTokStart);var m;if(this.type===f._function||(m=this.isAsyncFunction())){var b=this.startNode();this.next(),m&&this.next(),n.declaration=this.parseFunction(b,Nt|w,!1,m)}else if(this.type===f._class){var S=this.startNode();n.declaration=this.parseClass(S,"nullableID")}else n.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(n,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())n.declaration=this.parseStatement(null),n.declaration.type==="VariableDeclaration"?this.checkVariableExport(u,n.declaration.declarations):this.checkExport(u,n.declaration.id.name,n.declaration.id.start),n.specifiers=[],n.source=null;else{if(n.declaration=null,n.specifiers=this.parseExportSpecifiers(u),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),n.source=this.parseExprAtom();else{for(var D=0,M=n.specifiers;D<M.length;D+=1){var X=M[D];this.checkUnreserved(X.local),this.checkLocalExport(X.local)}n.source=null}this.semicolon()}return this.finishNode(n,"ExportNamedDeclaration")},ie.checkExport=function(n,u,m){!n||(q(n,u)&&this.raiseRecoverable(m,"Duplicate export '"+u+"'"),n[u]=!0)},ie.checkPatternExport=function(n,u){var m=u.type;if(m==="Identifier")this.checkExport(n,u.name,u.start);else if(m==="ObjectPattern")for(var b=0,S=u.properties;b<S.length;b+=1){var D=S[b];this.checkPatternExport(n,D)}else if(m==="ArrayPattern")for(var M=0,X=u.elements;M<X.length;M+=1){var Y=X[M];Y&&this.checkPatternExport(n,Y)}else m==="Property"?this.checkPatternExport(n,u.value):m==="AssignmentPattern"?this.checkPatternExport(n,u.left):m==="RestElement"?this.checkPatternExport(n,u.argument):m==="ParenthesizedExpression"&&this.checkPatternExport(n,u.expression)},ie.checkVariableExport=function(n,u){if(!!n)for(var m=0,b=u;m<b.length;m+=1){var S=b[m];this.checkPatternExport(n,S.id)}},ie.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},ie.parseExportSpecifiers=function(n){var u=[],m=!0;for(this.expect(f.braceL);!this.eat(f.braceR);){if(m)m=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;var b=this.startNode();b.local=this.parseIdent(!0),b.exported=this.eatContextual("as")?this.parseIdent(!0):b.local,this.checkExport(n,b.exported.name,b.exported.start),u.push(this.finishNode(b,"ExportSpecifier"))}return u},ie.parseImport=function(n){return this.next(),this.type===f.string?(n.specifiers=gi,n.source=this.parseExprAtom()):(n.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),n.source=this.type===f.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(n,"ImportDeclaration")},ie.parseImportSpecifiers=function(){var n=[],u=!0;if(this.type===f.name){var m=this.startNode();if(m.local=this.parseIdent(),this.checkLVal(m.local,Ke),n.push(this.finishNode(m,"ImportDefaultSpecifier")),!this.eat(f.comma))return n}if(this.type===f.star){var b=this.startNode();return this.next(),this.expectContextual("as"),b.local=this.parseIdent(),this.checkLVal(b.local,Ke),n.push(this.finishNode(b,"ImportNamespaceSpecifier")),n}for(this.expect(f.braceL);!this.eat(f.braceR);){if(u)u=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;var S=this.startNode();S.imported=this.parseIdent(!0),this.eatContextual("as")?S.local=this.parseIdent():(this.checkUnreserved(S.imported),S.local=S.imported),this.checkLVal(S.local,Ke),n.push(this.finishNode(S,"ImportSpecifier"))}return n},ie.adaptDirectivePrologue=function(n){for(var u=0;u<n.length&&this.isDirectiveCandidate(n[u]);++u)n[u].directive=n[u].expression.raw.slice(1,-1)},ie.isDirectiveCandidate=function(n){return n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&typeof n.expression.value=="string"&&(this.input[n.start]==='"'||this.input[n.start]==="'")};var Q=ve.prototype;Q.toAssignable=function(n,u,m){if(this.options.ecmaVersion>=6&&n)switch(n.type){case"Identifier":this.inAsync&&n.name==="await"&&this.raise(n.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":n.type="ObjectPattern",m&&this.checkPatternErrors(m,!0);for(var b=0,S=n.properties;b<S.length;b+=1){var D=S[b];this.toAssignable(D,u),D.type==="RestElement"&&(D.argument.type==="ArrayPattern"||D.argument.type==="ObjectPattern")&&this.raise(D.argument.start,"Unexpected token")}break;case"Property":n.kind!=="init"&&this.raise(n.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(n.value,u);break;case"ArrayExpression":n.type="ArrayPattern",m&&this.checkPatternErrors(m,!0),this.toAssignableList(n.elements,u);break;case"SpreadElement":n.type="RestElement",this.toAssignable(n.argument,u),n.argument.type==="AssignmentPattern"&&this.raise(n.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":n.operator!=="="&&this.raise(n.left.end,"Only '=' operator can be used for specifying default value."),n.type="AssignmentPattern",delete n.operator,this.toAssignable(n.left,u);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(n.expression,u,m);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!u)break;default:this.raise(n.start,"Assigning to rvalue")}else m&&this.checkPatternErrors(m,!0);return n},Q.toAssignableList=function(n,u){for(var m=n.length,b=0;b<m;b++){var S=n[b];S&&this.toAssignable(S,u)}if(m){var D=n[m-1];this.options.ecmaVersion===6&&u&&D&&D.type==="RestElement"&&D.argument.type!=="Identifier"&&this.unexpected(D.argument.start)}return n},Q.parseSpread=function(n){var u=this.startNode();return this.next(),u.argument=this.parseMaybeAssign(!1,n),this.finishNode(u,"SpreadElement")},Q.parseRestBinding=function(){var n=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==f.name&&this.unexpected(),n.argument=this.parseBindingAtom(),this.finishNode(n,"RestElement")},Q.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case f.bracketL:var n=this.startNode();return this.next(),n.elements=this.parseBindingList(f.bracketR,!0,!0),this.finishNode(n,"ArrayPattern");case f.braceL:return this.parseObj(!0)}return this.parseIdent()},Q.parseBindingList=function(n,u,m){for(var b=[],S=!0;!this.eat(n);)if(S?S=!1:this.expect(f.comma),u&&this.type===f.comma)b.push(null);else{if(m&&this.afterTrailingComma(n))break;if(this.type===f.ellipsis){var D=this.parseRestBinding();this.parseBindingListItem(D),b.push(D),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(n);break}else{var M=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(M),b.push(M)}}return b},Q.parseBindingListItem=function(n){return n},Q.parseMaybeDefault=function(n,u,m){if(m=m||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(f.eq))return m;var b=this.startNodeAt(n,u);return b.left=m,b.right=this.parseMaybeAssign(),this.finishNode(b,"AssignmentPattern")},Q.checkLVal=function(n,u,m){switch(u===void 0&&(u=Ne),n.type){case"Identifier":u===Ke&&n.name==="let"&&this.raiseRecoverable(n.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(n.name)&&this.raiseRecoverable(n.start,(u?"Binding ":"Assigning to ")+n.name+" in strict mode"),m&&(q(m,n.name)&&this.raiseRecoverable(n.start,"Argument name clash"),m[n.name]=!0),u!==Ne&&u!==Ht&&this.declareName(n.name,u,n.start);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":u&&this.raiseRecoverable(n.start,"Binding member expression");break;case"ObjectPattern":for(var b=0,S=n.properties;b<S.length;b+=1){var D=S[b];this.checkLVal(D,u,m)}break;case"Property":this.checkLVal(n.value,u,m);break;case"ArrayPattern":for(var M=0,X=n.elements;M<X.length;M+=1){var Y=X[M];Y&&this.checkLVal(Y,u,m)}break;case"AssignmentPattern":this.checkLVal(n.left,u,m);break;case"RestElement":this.checkLVal(n.argument,u,m);break;case"ParenthesizedExpression":this.checkLVal(n.expression,u,m);break;default:this.raise(n.start,(u?"Binding":"Assigning to")+" rvalue")}};var H=ve.prototype;H.checkPropClash=function(n,u,m){if(!(this.options.ecmaVersion>=9&&n.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(n.computed||n.method||n.shorthand))){var b=n.key,S;switch(b.type){case"Identifier":S=b.name;break;case"Literal":S=String(b.value);break;default:return}var D=n.kind;if(this.options.ecmaVersion>=6){S==="__proto__"&&D==="init"&&(u.proto&&(m?m.doubleProto<0&&(m.doubleProto=b.start):this.raiseRecoverable(b.start,"Redefinition of __proto__ property")),u.proto=!0);return}S="$"+S;var M=u[S];if(M){var X;D==="init"?X=this.strict&&M.init||M.get||M.set:X=M.init||M[D],X&&this.raiseRecoverable(b.start,"Redefinition of property")}else M=u[S]={init:!1,get:!1,set:!1};M[D]=!0}},H.parseExpression=function(n,u){var m=this.start,b=this.startLoc,S=this.parseMaybeAssign(n,u);if(this.type===f.comma){var D=this.startNodeAt(m,b);for(D.expressions=[S];this.eat(f.comma);)D.expressions.push(this.parseMaybeAssign(n,u));return this.finishNode(D,"SequenceExpression")}return S},H.parseMaybeAssign=function(n,u,m){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(n);this.exprAllowed=!1}var b=!1,S=-1,D=-1;u?(S=u.parenthesizedAssign,D=u.trailingComma,u.parenthesizedAssign=u.trailingComma=-1):(u=new St,b=!0);var M=this.start,X=this.startLoc;(this.type===f.parenL||this.type===f.name)&&(this.potentialArrowAt=this.start);var Y=this.parseMaybeConditional(n,u);if(m&&(Y=m.call(this,Y,M,X)),this.type.isAssign){var ce=this.startNodeAt(M,X);return ce.operator=this.value,ce.left=this.type===f.eq?this.toAssignable(Y,!1,u):Y,b||(u.parenthesizedAssign=u.trailingComma=u.doubleProto=-1),u.shorthandAssign>=ce.left.start&&(u.shorthandAssign=-1),this.checkLVal(Y),this.next(),ce.right=this.parseMaybeAssign(n),this.finishNode(ce,"AssignmentExpression")}else b&&this.checkExpressionErrors(u,!0);return S>-1&&(u.parenthesizedAssign=S),D>-1&&(u.trailingComma=D),Y},H.parseMaybeConditional=function(n,u){var m=this.start,b=this.startLoc,S=this.parseExprOps(n,u);if(this.checkExpressionErrors(u))return S;if(this.eat(f.question)){var D=this.startNodeAt(m,b);return D.test=S,D.consequent=this.parseMaybeAssign(),this.expect(f.colon),D.alternate=this.parseMaybeAssign(n),this.finishNode(D,"ConditionalExpression")}return S},H.parseExprOps=function(n,u){var m=this.start,b=this.startLoc,S=this.parseMaybeUnary(u,!1);return this.checkExpressionErrors(u)||S.start===m&&S.type==="ArrowFunctionExpression"?S:this.parseExprOp(S,m,b,-1,n)},H.parseExprOp=function(n,u,m,b,S){var D=this.type.binop;if(D!=null&&(!S||this.type!==f._in)&&D>b){var M=this.type===f.logicalOR||this.type===f.logicalAND,X=this.type===f.coalesce;X&&(D=f.logicalAND.binop);var Y=this.value;this.next();var ce=this.start,Ae=this.startLoc,ze=this.parseExprOp(this.parseMaybeUnary(null,!1),ce,Ae,D,S),ii=this.buildBinary(u,m,n,ze,Y,M||X);return(M&&this.type===f.coalesce||X&&(this.type===f.logicalOR||this.type===f.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(ii,u,m,b,S)}return n},H.buildBinary=function(n,u,m,b,S,D){var M=this.startNodeAt(n,u);return M.left=m,M.operator=S,M.right=b,this.finishNode(M,D?"LogicalExpression":"BinaryExpression")},H.parseMaybeUnary=function(n,u){var m=this.start,b=this.startLoc,S;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))S=this.parseAwait(),u=!0;else if(this.type.prefix){var D=this.startNode(),M=this.type===f.incDec;D.operator=this.value,D.prefix=!0,this.next(),D.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(n,!0),M?this.checkLVal(D.argument):this.strict&&D.operator==="delete"&&D.argument.type==="Identifier"?this.raiseRecoverable(D.start,"Deleting local variable in strict mode"):u=!0,S=this.finishNode(D,M?"UpdateExpression":"UnaryExpression")}else{if(S=this.parseExprSubscripts(n),this.checkExpressionErrors(n))return S;for(;this.type.postfix&&!this.canInsertSemicolon();){var X=this.startNodeAt(m,b);X.operator=this.value,X.prefix=!1,X.argument=S,this.checkLVal(S),this.next(),S=this.finishNode(X,"UpdateExpression")}}return!u&&this.eat(f.starstar)?this.buildBinary(m,b,S,this.parseMaybeUnary(null,!1),"**",!1):S},H.parseExprSubscripts=function(n){var u=this.start,m=this.startLoc,b=this.parseExprAtom(n);if(b.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return b;var S=this.parseSubscripts(b,u,m);return n&&S.type==="MemberExpression"&&(n.parenthesizedAssign>=S.start&&(n.parenthesizedAssign=-1),n.parenthesizedBind>=S.start&&(n.parenthesizedBind=-1)),S},H.parseSubscripts=function(n,u,m,b){for(var S=this.options.ecmaVersion>=8&&n.type==="Identifier"&&n.name==="async"&&this.lastTokEnd===n.end&&!this.canInsertSemicolon()&&n.end-n.start==5&&this.potentialArrowAt===n.start,D=!1;;){var M=this.parseSubscript(n,u,m,b,S,D);if(M.optional&&(D=!0),M===n||M.type==="ArrowFunctionExpression"){if(D){var X=this.startNodeAt(u,m);X.expression=M,M=this.finishNode(X,"ChainExpression")}return M}n=M}},H.parseSubscript=function(n,u,m,b,S,D){var M=this.options.ecmaVersion>=11,X=M&&this.eat(f.questionDot);b&&X&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Y=this.eat(f.bracketL);if(Y||X&&this.type!==f.parenL&&this.type!==f.backQuote||this.eat(f.dot)){var ce=this.startNodeAt(u,m);ce.object=n,ce.property=Y?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),ce.computed=!!Y,Y&&this.expect(f.bracketR),M&&(ce.optional=X),n=this.finishNode(ce,"MemberExpression")}else if(!b&&this.eat(f.parenL)){var Ae=new St,ze=this.yieldPos,ii=this.awaitPos,yi=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var pr=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1,Ae);if(S&&!X&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(Ae,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=ze,this.awaitPos=ii,this.awaitIdentPos=yi,this.parseArrowExpression(this.startNodeAt(u,m),pr,!0);this.checkExpressionErrors(Ae,!0),this.yieldPos=ze||this.yieldPos,this.awaitPos=ii||this.awaitPos,this.awaitIdentPos=yi||this.awaitIdentPos;var bi=this.startNodeAt(u,m);bi.callee=n,bi.arguments=pr,M&&(bi.optional=X),n=this.finishNode(bi,"CallExpression")}else if(this.type===f.backQuote){(X||D)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var vi=this.startNodeAt(u,m);vi.tag=n,vi.quasi=this.parseTemplate({isTagged:!0}),n=this.finishNode(vi,"TaggedTemplateExpression")}return n},H.parseExprAtom=function(n){this.type===f.slash&&this.readRegexp();var u,m=this.potentialArrowAt===this.start;switch(this.type){case f._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),u=this.startNode(),this.next(),this.type===f.parenL&&!this.allowDirectSuper&&this.raise(u.start,"super() call outside constructor of a subclass"),this.type!==f.dot&&this.type!==f.bracketL&&this.type!==f.parenL&&this.unexpected(),this.finishNode(u,"Super");case f._this:return u=this.startNode(),this.next(),this.finishNode(u,"ThisExpression");case f.name:var b=this.start,S=this.startLoc,D=this.containsEsc,M=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!D&&M.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(b,S),0,!1,!0);if(m&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(b,S),[M],!1);if(this.options.ecmaVersion>=8&&M.name==="async"&&this.type===f.name&&!D)return M=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(b,S),[M],!0)}return M;case f.regexp:var X=this.value;return u=this.parseLiteral(X.value),u.regex={pattern:X.pattern,flags:X.flags},u;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return u=this.startNode(),u.value=this.type===f._null?null:this.type===f._true,u.raw=this.type.keyword,this.next(),this.finishNode(u,"Literal");case f.parenL:var Y=this.start,ce=this.parseParenAndDistinguishExpression(m);return n&&(n.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)&&(n.parenthesizedAssign=Y),n.parenthesizedBind<0&&(n.parenthesizedBind=Y)),ce;case f.bracketL:return u=this.startNode(),this.next(),u.elements=this.parseExprList(f.bracketR,!0,!0,n),this.finishNode(u,"ArrayExpression");case f.braceL:return this.parseObj(!1,n);case f._function:return u=this.startNode(),this.next(),this.parseFunction(u,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},H.parseExprImport=function(){var n=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var u=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(n);case f.dot:return n.meta=u,this.parseImportMeta(n);default:this.unexpected()}},H.parseDynamicImport=function(n){if(this.next(),n.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var u=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(u,"Trailing comma is not allowed in import()"):this.unexpected(u)}return this.finishNode(n,"ImportExpression")},H.parseImportMeta=function(n){this.next();var u=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="meta"&&this.raiseRecoverable(n.property.start,"The only valid meta property for import is 'import.meta'"),u&&this.raiseRecoverable(n.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(n.start,"Cannot use 'import.meta' outside a module"),this.finishNode(n,"MetaProperty")},H.parseLiteral=function(n){var u=this.startNode();return u.value=n,u.raw=this.input.slice(this.start,this.end),u.raw.charCodeAt(u.raw.length-1)===110&&(u.bigint=u.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(u,"Literal")},H.parseParenExpression=function(){this.expect(f.parenL);var n=this.parseExpression();return this.expect(f.parenR),n},H.parseParenAndDistinguishExpression=function(n){var u=this.start,m=this.startLoc,b,S=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var D=this.start,M=this.startLoc,X=[],Y=!0,ce=!1,Ae=new St,ze=this.yieldPos,ii=this.awaitPos,yi;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(Y?Y=!1:this.expect(f.comma),S&&this.afterTrailingComma(f.parenR,!0)){ce=!0;break}else if(this.type===f.ellipsis){yi=this.start,X.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else X.push(this.parseMaybeAssign(!1,Ae,this.parseParenItem));var pr=this.start,bi=this.startLoc;if(this.expect(f.parenR),n&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(Ae,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=ze,this.awaitPos=ii,this.parseParenArrowList(u,m,X);(!X.length||ce)&&this.unexpected(this.lastTokStart),yi&&this.unexpected(yi),this.checkExpressionErrors(Ae,!0),this.yieldPos=ze||this.yieldPos,this.awaitPos=ii||this.awaitPos,X.length>1?(b=this.startNodeAt(D,M),b.expressions=X,this.finishNodeAt(b,"SequenceExpression",pr,bi)):b=X[0]}else b=this.parseParenExpression();if(this.options.preserveParens){var vi=this.startNodeAt(u,m);return vi.expression=b,this.finishNode(vi,"ParenthesizedExpression")}else return b},H.parseParenItem=function(n){return n},H.parseParenArrowList=function(n,u,m){return this.parseArrowExpression(this.startNodeAt(n,u),m)};var Ze=[];H.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var n=this.startNode(),u=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){n.meta=u;var m=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="target"&&this.raiseRecoverable(n.property.start,"The only valid meta property for new is 'new.target'"),m&&this.raiseRecoverable(n.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(n.start,"'new.target' can only be used in functions"),this.finishNode(n,"MetaProperty")}var b=this.start,S=this.startLoc,D=this.type===f._import;return n.callee=this.parseSubscripts(this.parseExprAtom(),b,S,!0),D&&n.callee.type==="ImportExpression"&&this.raise(b,"Cannot use new with import()"),this.eat(f.parenL)?n.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):n.arguments=Ze,this.finishNode(n,"NewExpression")},H.parseTemplateElement=function(n){var u=n.isTagged,m=this.startNode();return this.type===f.invalidTemplate?(u||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),m.value={raw:this.value,cooked:null}):m.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
3
|
-
`),cooked:this.value},this.next(),m.tail=this.type===f.backQuote,this.finishNode(m,"TemplateElement")},H.parseTemplate=function(n){n===void 0&&(n={});var u=n.isTagged;u===void 0&&(u=!1);var m=this.startNode();this.next(),m.expressions=[];var b=this.parseTemplateElement({isTagged:u});for(m.quasis=[b];!b.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),m.expressions.push(this.parseExpression()),this.expect(f.braceR),m.quasis.push(b=this.parseTemplateElement({isTagged:u}));return this.next(),this.finishNode(m,"TemplateLiteral")},H.isAsyncProp=function(n){return!n.computed&&n.key.type==="Identifier"&&n.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!V.test(this.input.slice(this.lastTokEnd,this.start))},H.parseObj=function(n,u){var m=this.startNode(),b=!0,S={};for(m.properties=[],this.next();!this.eat(f.braceR);){if(b)b=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var D=this.parseProperty(n,u);n||this.checkPropClash(D,S,u),m.properties.push(D)}return this.finishNode(m,n?"ObjectPattern":"ObjectExpression")},H.parseProperty=function(n,u){var m=this.startNode(),b,S,D,M;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return n?(m.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(m,"RestElement")):(this.type===f.parenL&&u&&(u.parenthesizedAssign<0&&(u.parenthesizedAssign=this.start),u.parenthesizedBind<0&&(u.parenthesizedBind=this.start)),m.argument=this.parseMaybeAssign(!1,u),this.type===f.comma&&u&&u.trailingComma<0&&(u.trailingComma=this.start),this.finishNode(m,"SpreadElement"));this.options.ecmaVersion>=6&&(m.method=!1,m.shorthand=!1,(n||u)&&(D=this.start,M=this.startLoc),n||(b=this.eat(f.star)));var X=this.containsEsc;return this.parsePropertyName(m),!n&&!X&&this.options.ecmaVersion>=8&&!b&&this.isAsyncProp(m)?(S=!0,b=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(m,u)):S=!1,this.parsePropertyValue(m,n,b,S,D,M,u,X),this.finishNode(m,"Property")},H.parsePropertyValue=function(n,u,m,b,S,D,M,X){if((m||b)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))n.value=u?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,M),n.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)u&&this.unexpected(),n.kind="init",n.method=!0,n.value=this.parseMethod(m,b);else if(!u&&!X&&this.options.ecmaVersion>=5&&!n.computed&&n.key.type==="Identifier"&&(n.key.name==="get"||n.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(m||b)&&this.unexpected(),n.kind=n.key.name,this.parsePropertyName(n),n.value=this.parseMethod(!1);var Y=n.kind==="get"?0:1;if(n.value.params.length!==Y){var ce=n.value.start;n.kind==="get"?this.raiseRecoverable(ce,"getter should have no params"):this.raiseRecoverable(ce,"setter should have exactly one param")}else n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!n.computed&&n.key.type==="Identifier"?((m||b)&&this.unexpected(),this.checkUnreserved(n.key),n.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=S),n.kind="init",u?n.value=this.parseMaybeDefault(S,D,n.key):this.type===f.eq&&M?(M.shorthandAssign<0&&(M.shorthandAssign=this.start),n.value=this.parseMaybeDefault(S,D,n.key)):n.value=n.key,n.shorthand=!0):this.unexpected()},H.parsePropertyName=function(n){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return n.computed=!0,n.key=this.parseMaybeAssign(),this.expect(f.bracketR),n.key;n.computed=!1}return n.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},H.initFunction=function(n){n.id=null,this.options.ecmaVersion>=6&&(n.generator=n.expression=!1),this.options.ecmaVersion>=8&&(n.async=!1)},H.parseMethod=function(n,u,m){var b=this.startNode(),S=this.yieldPos,D=this.awaitPos,M=this.awaitIdentPos;return this.initFunction(b),this.options.ecmaVersion>=6&&(b.generator=n),this.options.ecmaVersion>=8&&(b.async=!!u),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ut(u,b.generator)|Ct|(m?He:0)),this.expect(f.parenL),b.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(b,!1,!0),this.yieldPos=S,this.awaitPos=D,this.awaitIdentPos=M,this.finishNode(b,"FunctionExpression")},H.parseArrowExpression=function(n,u,m){var b=this.yieldPos,S=this.awaitPos,D=this.awaitIdentPos;return this.enterScope(ut(m,!1)|Xe),this.initFunction(n),this.options.ecmaVersion>=8&&(n.async=!!m),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,n.params=this.toAssignableList(u,!0),this.parseFunctionBody(n,!0,!1),this.yieldPos=b,this.awaitPos=S,this.awaitIdentPos=D,this.finishNode(n,"ArrowFunctionExpression")},H.parseFunctionBody=function(n,u,m){var b=u&&this.type!==f.braceL,S=this.strict,D=!1;if(b)n.body=this.parseMaybeAssign(),n.expression=!0,this.checkParams(n,!1);else{var M=this.options.ecmaVersion>=7&&!this.isSimpleParamList(n.params);(!S||M)&&(D=this.strictDirective(this.end),D&&M&&this.raiseRecoverable(n.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var X=this.labels;this.labels=[],D&&(this.strict=!0),this.checkParams(n,!S&&!D&&!u&&!m&&this.isSimpleParamList(n.params)),this.strict&&n.id&&this.checkLVal(n.id,Ht),n.body=this.parseBlock(!1,void 0,D&&!S),n.expression=!1,this.adaptDirectivePrologue(n.body.body),this.labels=X}this.exitScope()},H.isSimpleParamList=function(n){for(var u=0,m=n;u<m.length;u+=1){var b=m[u];if(b.type!=="Identifier")return!1}return!0},H.checkParams=function(n,u){for(var m={},b=0,S=n.params;b<S.length;b+=1){var D=S[b];this.checkLVal(D,At,u?null:m)}},H.parseExprList=function(n,u,m,b){for(var S=[],D=!0;!this.eat(n);){if(D)D=!1;else if(this.expect(f.comma),u&&this.afterTrailingComma(n))break;var M=void 0;m&&this.type===f.comma?M=null:this.type===f.ellipsis?(M=this.parseSpread(b),b&&this.type===f.comma&&b.trailingComma<0&&(b.trailingComma=this.start)):M=this.parseMaybeAssign(!1,b),S.push(M)}return S},H.checkUnreserved=function(n){var u=n.start,m=n.end,b=n.name;if(this.inGenerator&&b==="yield"&&this.raiseRecoverable(u,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&b==="await"&&this.raiseRecoverable(u,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(b)&&this.raise(u,"Unexpected keyword '"+b+"'"),!(this.options.ecmaVersion<6&&this.input.slice(u,m).indexOf("\\")!==-1)){var S=this.strict?this.reservedWordsStrict:this.reservedWords;S.test(b)&&(!this.inAsync&&b==="await"&&this.raiseRecoverable(u,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(u,"The keyword '"+b+"' is reserved"))}},H.parseIdent=function(n,u){var m=this.startNode();return this.type===f.name?m.name=this.value:this.type.keyword?(m.name=this.type.keyword,(m.name==="class"||m.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!n),this.finishNode(m,"Identifier"),n||(this.checkUnreserved(m),m.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=m.start)),m},H.parseYield=function(n){this.yieldPos||(this.yieldPos=this.start);var u=this.startNode();return this.next(),this.type===f.semi||this.canInsertSemicolon()||this.type!==f.star&&!this.type.startsExpr?(u.delegate=!1,u.argument=null):(u.delegate=this.eat(f.star),u.argument=this.parseMaybeAssign(n)),this.finishNode(u,"YieldExpression")},H.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var n=this.startNode();return this.next(),n.argument=this.parseMaybeUnary(null,!1),this.finishNode(n,"AwaitExpression")};var It=ve.prototype;It.raise=function(n,u){var m=be(this.input,n);u+=" ("+m.line+":"+m.column+")";var b=new SyntaxError(u);throw b.pos=n,b.loc=m,b.raisedAt=this.pos,b},It.raiseRecoverable=It.raise,It.curPosition=function(){if(this.options.locations)return new ke(this.curLine,this.pos-this.lineStart)};var pe=ve.prototype,De=function(u){this.flags=u,this.var=[],this.lexical=[],this.functions=[]};pe.enterScope=function(n){this.scopeStack.push(new De(n))},pe.exitScope=function(){this.scopeStack.pop()},pe.treatFunctionsAsVarInScope=function(n){return n.flags&nt||!this.inModule&&n.flags&P},pe.declareName=function(n,u,m){var b=!1;if(u===Ke){var S=this.currentScope();b=S.lexical.indexOf(n)>-1||S.functions.indexOf(n)>-1||S.var.indexOf(n)>-1,S.lexical.push(n),this.inModule&&S.flags&P&&delete this.undefinedExports[n]}else if(u===xi){var D=this.currentScope();D.lexical.push(n)}else if(u===di){var M=this.currentScope();this.treatFunctionsAsVar?b=M.lexical.indexOf(n)>-1:b=M.lexical.indexOf(n)>-1||M.var.indexOf(n)>-1,M.functions.push(n)}else for(var X=this.scopeStack.length-1;X>=0;--X){var Y=this.scopeStack[X];if(Y.lexical.indexOf(n)>-1&&!(Y.flags&Te&&Y.lexical[0]===n)||!this.treatFunctionsAsVarInScope(Y)&&Y.functions.indexOf(n)>-1){b=!0;break}if(Y.var.push(n),this.inModule&&Y.flags&P&&delete this.undefinedExports[n],Y.flags&qe)break}b&&this.raiseRecoverable(m,"Identifier '"+n+"' has already been declared")},pe.checkLocalExport=function(n){this.scopeStack[0].lexical.indexOf(n.name)===-1&&this.scopeStack[0].var.indexOf(n.name)===-1&&(this.undefinedExports[n.name]=n)},pe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pe.currentVarScope=function(){for(var n=this.scopeStack.length-1;;n--){var u=this.scopeStack[n];if(u.flags&qe)return u}},pe.currentThisScope=function(){for(var n=this.scopeStack.length-1;;n--){var u=this.scopeStack[n];if(u.flags&qe&&!(u.flags&Xe))return u}};var gt=function(u,m,b){this.type="",this.start=m,this.end=0,u.options.locations&&(this.loc=new ae(u,b)),u.options.directSourceFile&&(this.sourceFile=u.options.directSourceFile),u.options.ranges&&(this.range=[m,0])},Ft=ve.prototype;Ft.startNode=function(){return new gt(this,this.start,this.startLoc)},Ft.startNodeAt=function(n,u){return new gt(this,n,u)};function Ie(n,u,m,b){return n.type=u,n.end=m,this.options.locations&&(n.loc.end=b),this.options.ranges&&(n.range[1]=m),n}Ft.finishNode=function(n,u){return Ie.call(this,n,u,this.lastTokEnd,this.lastTokEndLoc)},Ft.finishNodeAt=function(n,u,m,b){return Ie.call(this,n,u,m,b)};var Ue=function(u,m,b,S,D){this.token=u,this.isExpr=!!m,this.preserveSpace=!!b,this.override=S,this.generator=!!D},de={b_stat:new Ue("{",!1),b_expr:new Ue("{",!0),b_tmpl:new Ue("${",!1),p_stat:new Ue("(",!1),p_expr:new Ue("(",!0),q_tmpl:new Ue("`",!0,!0,function(n){return n.tryReadTemplateToken()}),f_stat:new Ue("function",!1),f_expr:new Ue("function",!0),f_expr_gen:new Ue("function",!0,!1,null,!0),f_gen:new Ue("function",!1,!1,null,!0)},ur=ve.prototype;ur.initialContext=function(){return[de.b_stat]},ur.braceIsBlock=function(n){var u=this.curContext();return u===de.f_expr||u===de.f_stat?!0:n===f.colon&&(u===de.b_stat||u===de.b_expr)?!u.isExpr:n===f._return||n===f.name&&this.exprAllowed?V.test(this.input.slice(this.lastTokEnd,this.start)):n===f._else||n===f.semi||n===f.eof||n===f.parenR||n===f.arrow?!0:n===f.braceL?u===de.b_stat:n===f._var||n===f._const||n===f.name?!1:!this.exprAllowed},ur.inGeneratorContext=function(){for(var n=this.context.length-1;n>=1;n--){var u=this.context[n];if(u.token==="function")return u.generator}return!1},ur.updateContext=function(n){var u,m=this.type;m.keyword&&n===f.dot?this.exprAllowed=!1:(u=m.updateContext)?u.call(this,n):this.exprAllowed=m.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var n=this.context.pop();n===de.b_stat&&this.curContext().token==="function"&&(n=this.context.pop()),this.exprAllowed=!n.isExpr},f.braceL.updateContext=function(n){this.context.push(this.braceIsBlock(n)?de.b_stat:de.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(de.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(n){var u=n===f._if||n===f._for||n===f._with||n===f._while;this.context.push(u?de.p_stat:de.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(n){n.beforeExpr&&n!==f.semi&&n!==f._else&&!(n===f._return&&V.test(this.input.slice(this.lastTokEnd,this.start)))&&!((n===f.colon||n===f.braceL)&&this.curContext()===de.b_stat)?this.context.push(de.f_expr):this.context.push(de.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===de.q_tmpl?this.context.pop():this.context.push(de.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(n){if(n===f._function){var u=this.context.length-1;this.context[u]===de.f_expr?this.context[u]=de.f_expr_gen:this.context[u]=de.f_gen}this.exprAllowed=!0},f.name.updateContext=function(n){var u=!1;this.options.ecmaVersion>=6&&n!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(u=!0),this.exprAllowed=u};var Ks="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",Zs=Ks+" Extended_Pictographic",ih=Zs,rh={9:Ks,10:Zs,11:ih},$s="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",ea="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",ta=ea+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",nh=ta+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",sh={9:ea,10:ta,11:nh},ia={};function mn(n){var u=ia[n]={binary:ye(rh[n]+" "+$s),nonBinary:{General_Category:ye($s),Script:ye(sh[n])}};u.nonBinary.Script_Extensions=u.nonBinary.Script,u.nonBinary.gc=u.nonBinary.General_Category,u.nonBinary.sc=u.nonBinary.Script,u.nonBinary.scx=u.nonBinary.Script_Extensions}mn(9),mn(10),mn(11);var K=ve.prototype,Rt=function(u){this.parser=u,this.validFlags="gim"+(u.options.ecmaVersion>=6?"uy":"")+(u.options.ecmaVersion>=9?"s":""),this.unicodeProperties=ia[u.options.ecmaVersion>=11?11:u.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Rt.prototype.reset=function(u,m,b){var S=b.indexOf("u")!==-1;this.start=u|0,this.source=m+"",this.flags=b,this.switchU=S&&this.parser.options.ecmaVersion>=6,this.switchN=S&&this.parser.options.ecmaVersion>=9},Rt.prototype.raise=function(u){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+u)},Rt.prototype.at=function(u,m){m===void 0&&(m=!1);var b=this.source,S=b.length;if(u>=S)return-1;var D=b.charCodeAt(u);if(!(m||this.switchU)||D<=55295||D>=57344||u+1>=S)return D;var M=b.charCodeAt(u+1);return M>=56320&&M<=57343?(D<<10)+M-56613888:D},Rt.prototype.nextIndex=function(u,m){m===void 0&&(m=!1);var b=this.source,S=b.length;if(u>=S)return S;var D=b.charCodeAt(u),M;return!(m||this.switchU)||D<=55295||D>=57344||u+1>=S||(M=b.charCodeAt(u+1))<56320||M>57343?u+1:u+2},Rt.prototype.current=function(u){return u===void 0&&(u=!1),this.at(this.pos,u)},Rt.prototype.lookahead=function(u){return u===void 0&&(u=!1),this.at(this.nextIndex(this.pos,u),u)},Rt.prototype.advance=function(u){u===void 0&&(u=!1),this.pos=this.nextIndex(this.pos,u)},Rt.prototype.eat=function(u,m){return m===void 0&&(m=!1),this.current(m)===u?(this.advance(m),!0):!1};function lr(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}K.validateRegExpFlags=function(n){for(var u=n.validFlags,m=n.flags,b=0;b<m.length;b++){var S=m.charAt(b);u.indexOf(S)===-1&&this.raise(n.start,"Invalid regular expression flag"),m.indexOf(S,b+1)>-1&&this.raise(n.start,"Duplicate regular expression flag")}},K.validateRegExpPattern=function(n){this.regexp_pattern(n),!n.switchN&&this.options.ecmaVersion>=9&&n.groupNames.length>0&&(n.switchN=!0,this.regexp_pattern(n))},K.regexp_pattern=function(n){n.pos=0,n.lastIntValue=0,n.lastStringValue="",n.lastAssertionIsQuantifiable=!1,n.numCapturingParens=0,n.maxBackReference=0,n.groupNames.length=0,n.backReferenceNames.length=0,this.regexp_disjunction(n),n.pos!==n.source.length&&(n.eat(41)&&n.raise("Unmatched ')'"),(n.eat(93)||n.eat(125))&&n.raise("Lone quantifier brackets")),n.maxBackReference>n.numCapturingParens&&n.raise("Invalid escape");for(var u=0,m=n.backReferenceNames;u<m.length;u+=1){var b=m[u];n.groupNames.indexOf(b)===-1&&n.raise("Invalid named capture referenced")}},K.regexp_disjunction=function(n){for(this.regexp_alternative(n);n.eat(124);)this.regexp_alternative(n);this.regexp_eatQuantifier(n,!0)&&n.raise("Nothing to repeat"),n.eat(123)&&n.raise("Lone quantifier brackets")},K.regexp_alternative=function(n){for(;n.pos<n.source.length&&this.regexp_eatTerm(n););},K.regexp_eatTerm=function(n){return this.regexp_eatAssertion(n)?(n.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(n)&&n.switchU&&n.raise("Invalid quantifier"),!0):(n.switchU?this.regexp_eatAtom(n):this.regexp_eatExtendedAtom(n))?(this.regexp_eatQuantifier(n),!0):!1},K.regexp_eatAssertion=function(n){var u=n.pos;if(n.lastAssertionIsQuantifiable=!1,n.eat(94)||n.eat(36))return!0;if(n.eat(92)){if(n.eat(66)||n.eat(98))return!0;n.pos=u}if(n.eat(40)&&n.eat(63)){var m=!1;if(this.options.ecmaVersion>=9&&(m=n.eat(60)),n.eat(61)||n.eat(33))return this.regexp_disjunction(n),n.eat(41)||n.raise("Unterminated group"),n.lastAssertionIsQuantifiable=!m,!0}return n.pos=u,!1},K.regexp_eatQuantifier=function(n,u){return u===void 0&&(u=!1),this.regexp_eatQuantifierPrefix(n,u)?(n.eat(63),!0):!1},K.regexp_eatQuantifierPrefix=function(n,u){return n.eat(42)||n.eat(43)||n.eat(63)||this.regexp_eatBracedQuantifier(n,u)},K.regexp_eatBracedQuantifier=function(n,u){var m=n.pos;if(n.eat(123)){var b=0,S=-1;if(this.regexp_eatDecimalDigits(n)&&(b=n.lastIntValue,n.eat(44)&&this.regexp_eatDecimalDigits(n)&&(S=n.lastIntValue),n.eat(125)))return S!==-1&&S<b&&!u&&n.raise("numbers out of order in {} quantifier"),!0;n.switchU&&!u&&n.raise("Incomplete quantifier"),n.pos=m}return!1},K.regexp_eatAtom=function(n){return this.regexp_eatPatternCharacters(n)||n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)},K.regexp_eatReverseSolidusAtomEscape=function(n){var u=n.pos;if(n.eat(92)){if(this.regexp_eatAtomEscape(n))return!0;n.pos=u}return!1},K.regexp_eatUncapturingGroup=function(n){var u=n.pos;if(n.eat(40)){if(n.eat(63)&&n.eat(58)){if(this.regexp_disjunction(n),n.eat(41))return!0;n.raise("Unterminated group")}n.pos=u}return!1},K.regexp_eatCapturingGroup=function(n){if(n.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(n):n.current()===63&&n.raise("Invalid group"),this.regexp_disjunction(n),n.eat(41))return n.numCapturingParens+=1,!0;n.raise("Unterminated group")}return!1},K.regexp_eatExtendedAtom=function(n){return n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)||this.regexp_eatInvalidBracedQuantifier(n)||this.regexp_eatExtendedPatternCharacter(n)},K.regexp_eatInvalidBracedQuantifier=function(n){return this.regexp_eatBracedQuantifier(n,!0)&&n.raise("Nothing to repeat"),!1},K.regexp_eatSyntaxCharacter=function(n){var u=n.current();return ra(u)?(n.lastIntValue=u,n.advance(),!0):!1};function ra(n){return n===36||n>=40&&n<=43||n===46||n===63||n>=91&&n<=94||n>=123&&n<=125}K.regexp_eatPatternCharacters=function(n){for(var u=n.pos,m=0;(m=n.current())!==-1&&!ra(m);)n.advance();return n.pos!==u},K.regexp_eatExtendedPatternCharacter=function(n){var u=n.current();return u!==-1&&u!==36&&!(u>=40&&u<=43)&&u!==46&&u!==63&&u!==91&&u!==94&&u!==124?(n.advance(),!0):!1},K.regexp_groupSpecifier=function(n){if(n.eat(63)){if(this.regexp_eatGroupName(n)){n.groupNames.indexOf(n.lastStringValue)!==-1&&n.raise("Duplicate capture group name"),n.groupNames.push(n.lastStringValue);return}n.raise("Invalid group")}},K.regexp_eatGroupName=function(n){if(n.lastStringValue="",n.eat(60)){if(this.regexp_eatRegExpIdentifierName(n)&&n.eat(62))return!0;n.raise("Invalid capture group name")}return!1},K.regexp_eatRegExpIdentifierName=function(n){if(n.lastStringValue="",this.regexp_eatRegExpIdentifierStart(n)){for(n.lastStringValue+=lr(n.lastIntValue);this.regexp_eatRegExpIdentifierPart(n);)n.lastStringValue+=lr(n.lastIntValue);return!0}return!1},K.regexp_eatRegExpIdentifierStart=function(n){var u=n.pos,m=this.options.ecmaVersion>=11,b=n.current(m);return n.advance(m),b===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,m)&&(b=n.lastIntValue),ah(b)?(n.lastIntValue=b,!0):(n.pos=u,!1)};function ah(n){return C(n,!0)||n===36||n===95}K.regexp_eatRegExpIdentifierPart=function(n){var u=n.pos,m=this.options.ecmaVersion>=11,b=n.current(m);return n.advance(m),b===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,m)&&(b=n.lastIntValue),oh(b)?(n.lastIntValue=b,!0):(n.pos=u,!1)};function oh(n){return g(n,!0)||n===36||n===95||n===8204||n===8205}K.regexp_eatAtomEscape=function(n){return this.regexp_eatBackReference(n)||this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)||n.switchN&&this.regexp_eatKGroupName(n)?!0:(n.switchU&&(n.current()===99&&n.raise("Invalid unicode escape"),n.raise("Invalid escape")),!1)},K.regexp_eatBackReference=function(n){var u=n.pos;if(this.regexp_eatDecimalEscape(n)){var m=n.lastIntValue;if(n.switchU)return m>n.maxBackReference&&(n.maxBackReference=m),!0;if(m<=n.numCapturingParens)return!0;n.pos=u}return!1},K.regexp_eatKGroupName=function(n){if(n.eat(107)){if(this.regexp_eatGroupName(n))return n.backReferenceNames.push(n.lastStringValue),!0;n.raise("Invalid named reference")}return!1},K.regexp_eatCharacterEscape=function(n){return this.regexp_eatControlEscape(n)||this.regexp_eatCControlLetter(n)||this.regexp_eatZero(n)||this.regexp_eatHexEscapeSequence(n)||this.regexp_eatRegExpUnicodeEscapeSequence(n,!1)||!n.switchU&&this.regexp_eatLegacyOctalEscapeSequence(n)||this.regexp_eatIdentityEscape(n)},K.regexp_eatCControlLetter=function(n){var u=n.pos;if(n.eat(99)){if(this.regexp_eatControlLetter(n))return!0;n.pos=u}return!1},K.regexp_eatZero=function(n){return n.current()===48&&!cr(n.lookahead())?(n.lastIntValue=0,n.advance(),!0):!1},K.regexp_eatControlEscape=function(n){var u=n.current();return u===116?(n.lastIntValue=9,n.advance(),!0):u===110?(n.lastIntValue=10,n.advance(),!0):u===118?(n.lastIntValue=11,n.advance(),!0):u===102?(n.lastIntValue=12,n.advance(),!0):u===114?(n.lastIntValue=13,n.advance(),!0):!1},K.regexp_eatControlLetter=function(n){var u=n.current();return na(u)?(n.lastIntValue=u%32,n.advance(),!0):!1};function na(n){return n>=65&&n<=90||n>=97&&n<=122}K.regexp_eatRegExpUnicodeEscapeSequence=function(n,u){u===void 0&&(u=!1);var m=n.pos,b=u||n.switchU;if(n.eat(117)){if(this.regexp_eatFixedHexDigits(n,4)){var S=n.lastIntValue;if(b&&S>=55296&&S<=56319){var D=n.pos;if(n.eat(92)&&n.eat(117)&&this.regexp_eatFixedHexDigits(n,4)){var M=n.lastIntValue;if(M>=56320&&M<=57343)return n.lastIntValue=(S-55296)*1024+(M-56320)+65536,!0}n.pos=D,n.lastIntValue=S}return!0}if(b&&n.eat(123)&&this.regexp_eatHexDigits(n)&&n.eat(125)&&uh(n.lastIntValue))return!0;b&&n.raise("Invalid unicode escape"),n.pos=m}return!1};function uh(n){return n>=0&&n<=1114111}K.regexp_eatIdentityEscape=function(n){if(n.switchU)return this.regexp_eatSyntaxCharacter(n)?!0:n.eat(47)?(n.lastIntValue=47,!0):!1;var u=n.current();return u!==99&&(!n.switchN||u!==107)?(n.lastIntValue=u,n.advance(),!0):!1},K.regexp_eatDecimalEscape=function(n){n.lastIntValue=0;var u=n.current();if(u>=49&&u<=57){do n.lastIntValue=10*n.lastIntValue+(u-48),n.advance();while((u=n.current())>=48&&u<=57);return!0}return!1},K.regexp_eatCharacterClassEscape=function(n){var u=n.current();if(lh(u))return n.lastIntValue=-1,n.advance(),!0;if(n.switchU&&this.options.ecmaVersion>=9&&(u===80||u===112)){if(n.lastIntValue=-1,n.advance(),n.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(n)&&n.eat(125))return!0;n.raise("Invalid property name")}return!1};function lh(n){return n===100||n===68||n===115||n===83||n===119||n===87}K.regexp_eatUnicodePropertyValueExpression=function(n){var u=n.pos;if(this.regexp_eatUnicodePropertyName(n)&&n.eat(61)){var m=n.lastStringValue;if(this.regexp_eatUnicodePropertyValue(n)){var b=n.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(n,m,b),!0}}if(n.pos=u,this.regexp_eatLoneUnicodePropertyNameOrValue(n)){var S=n.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(n,S),!0}return!1},K.regexp_validateUnicodePropertyNameAndValue=function(n,u,m){q(n.unicodeProperties.nonBinary,u)||n.raise("Invalid property name"),n.unicodeProperties.nonBinary[u].test(m)||n.raise("Invalid property value")},K.regexp_validateUnicodePropertyNameOrValue=function(n,u){n.unicodeProperties.binary.test(u)||n.raise("Invalid property name")},K.regexp_eatUnicodePropertyName=function(n){var u=0;for(n.lastStringValue="";sa(u=n.current());)n.lastStringValue+=lr(u),n.advance();return n.lastStringValue!==""};function sa(n){return na(n)||n===95}K.regexp_eatUnicodePropertyValue=function(n){var u=0;for(n.lastStringValue="";ch(u=n.current());)n.lastStringValue+=lr(u),n.advance();return n.lastStringValue!==""};function ch(n){return sa(n)||cr(n)}K.regexp_eatLoneUnicodePropertyNameOrValue=function(n){return this.regexp_eatUnicodePropertyValue(n)},K.regexp_eatCharacterClass=function(n){if(n.eat(91)){if(n.eat(94),this.regexp_classRanges(n),n.eat(93))return!0;n.raise("Unterminated character class")}return!1},K.regexp_classRanges=function(n){for(;this.regexp_eatClassAtom(n);){var u=n.lastIntValue;if(n.eat(45)&&this.regexp_eatClassAtom(n)){var m=n.lastIntValue;n.switchU&&(u===-1||m===-1)&&n.raise("Invalid character class"),u!==-1&&m!==-1&&u>m&&n.raise("Range out of order in character class")}}},K.regexp_eatClassAtom=function(n){var u=n.pos;if(n.eat(92)){if(this.regexp_eatClassEscape(n))return!0;if(n.switchU){var m=n.current();(m===99||ua(m))&&n.raise("Invalid class escape"),n.raise("Invalid escape")}n.pos=u}var b=n.current();return b!==93?(n.lastIntValue=b,n.advance(),!0):!1},K.regexp_eatClassEscape=function(n){var u=n.pos;if(n.eat(98))return n.lastIntValue=8,!0;if(n.switchU&&n.eat(45))return n.lastIntValue=45,!0;if(!n.switchU&&n.eat(99)){if(this.regexp_eatClassControlLetter(n))return!0;n.pos=u}return this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)},K.regexp_eatClassControlLetter=function(n){var u=n.current();return cr(u)||u===95?(n.lastIntValue=u%32,n.advance(),!0):!1},K.regexp_eatHexEscapeSequence=function(n){var u=n.pos;if(n.eat(120)){if(this.regexp_eatFixedHexDigits(n,2))return!0;n.switchU&&n.raise("Invalid escape"),n.pos=u}return!1},K.regexp_eatDecimalDigits=function(n){var u=n.pos,m=0;for(n.lastIntValue=0;cr(m=n.current());)n.lastIntValue=10*n.lastIntValue+(m-48),n.advance();return n.pos!==u};function cr(n){return n>=48&&n<=57}K.regexp_eatHexDigits=function(n){var u=n.pos,m=0;for(n.lastIntValue=0;aa(m=n.current());)n.lastIntValue=16*n.lastIntValue+oa(m),n.advance();return n.pos!==u};function aa(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function oa(n){return n>=65&&n<=70?10+(n-65):n>=97&&n<=102?10+(n-97):n-48}K.regexp_eatLegacyOctalEscapeSequence=function(n){if(this.regexp_eatOctalDigit(n)){var u=n.lastIntValue;if(this.regexp_eatOctalDigit(n)){var m=n.lastIntValue;u<=3&&this.regexp_eatOctalDigit(n)?n.lastIntValue=u*64+m*8+n.lastIntValue:n.lastIntValue=u*8+m}else n.lastIntValue=u;return!0}return!1},K.regexp_eatOctalDigit=function(n){var u=n.current();return ua(u)?(n.lastIntValue=u-48,n.advance(),!0):(n.lastIntValue=0,!1)};function ua(n){return n>=48&&n<=55}K.regexp_eatFixedHexDigits=function(n,u){var m=n.pos;n.lastIntValue=0;for(var b=0;b<u;++b){var S=n.current();if(!aa(S))return n.pos=m,!1;n.lastIntValue=16*n.lastIntValue+oa(S),n.advance()}return!0};var hr=function(u){this.type=u.type,this.value=u.value,this.start=u.start,this.end=u.end,u.options.locations&&(this.loc=new ae(u,u.startLoc,u.endLoc)),u.options.ranges&&(this.range=[u.start,u.end])},oe=ve.prototype;oe.next=function(n){!n&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new hr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},oe.getToken=function(){return this.next(),new hr(this)},typeof Symbol!="undefined"&&(oe[Symbol.iterator]=function(){var n=this;return{next:function(){var u=n.getToken();return{done:u.type===f.eof,value:u}}}}),oe.curContext=function(){return this.context[this.context.length-1]},oe.nextToken=function(){var n=this.curContext();if((!n||!n.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(f.eof);if(n.override)return n.override(this);this.readToken(this.fullCharCodeAtPos())},oe.readToken=function(n){return C(n,this.options.ecmaVersion>=6)||n===92?this.readWord():this.getTokenFromCode(n)},oe.fullCharCodeAtPos=function(){var n=this.input.charCodeAt(this.pos);if(n<=55295||n>=57344)return n;var u=this.input.charCodeAt(this.pos+1);return(n<<10)+u-56613888},oe.skipBlockComment=function(){var n=this.options.onComment&&this.curPosition(),u=this.pos,m=this.input.indexOf("*/",this.pos+=2);if(m===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=m+2,this.options.locations){A.lastIndex=u;for(var b;(b=A.exec(this.input))&&b.index<this.pos;)++this.curLine,this.lineStart=b.index+b[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(u+2,m),u,this.pos,n,this.curPosition())},oe.skipLineComment=function(n){for(var u=this.pos,m=this.options.onComment&&this.curPosition(),b=this.input.charCodeAt(this.pos+=n);this.pos<this.input.length&&!O(b);)b=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(u+n,this.pos),u,this.pos,m,this.curPosition())},oe.skipSpace=function(){e:for(;this.pos<this.input.length;){var n=this.input.charCodeAt(this.pos);switch(n){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,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(n>8&&n<14||n>=5760&&j.test(String.fromCharCode(n)))++this.pos;else break e}}},oe.finishToken=function(n,u){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var m=this.type;this.type=n,this.value=u,this.updateContext(m)},oe.readToken_dot=function(){var n=this.input.charCodeAt(this.pos+1);if(n>=48&&n<=57)return this.readNumber(!0);var u=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&n===46&&u===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},oe.readToken_slash=function(){var n=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):n===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},oe.readToken_mult_modulo_exp=function(n){var u=this.input.charCodeAt(this.pos+1),m=1,b=n===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&n===42&&u===42&&(++m,b=f.starstar,u=this.input.charCodeAt(this.pos+2)),u===61?this.finishOp(f.assign,m+1):this.finishOp(b,m)},oe.readToken_pipe_amp=function(n){var u=this.input.charCodeAt(this.pos+1);if(u===n){if(this.options.ecmaVersion>=12){var m=this.input.charCodeAt(this.pos+2);if(m===61)return this.finishOp(f.assign,3)}return this.finishOp(n===124?f.logicalOR:f.logicalAND,2)}return u===61?this.finishOp(f.assign,2):this.finishOp(n===124?f.bitwiseOR:f.bitwiseAND,1)},oe.readToken_caret=function(){var n=this.input.charCodeAt(this.pos+1);return n===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},oe.readToken_plus_min=function(n){var u=this.input.charCodeAt(this.pos+1);return u===n?u===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||V.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):u===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},oe.readToken_lt_gt=function(n){var u=this.input.charCodeAt(this.pos+1),m=1;return u===n?(m=n===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+m)===61?this.finishOp(f.assign,m+1):this.finishOp(f.bitShift,m)):u===33&&n===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(u===61&&(m=2),this.finishOp(f.relational,m))},oe.readToken_eq_excl=function(n){var u=this.input.charCodeAt(this.pos+1);return u===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):n===61&&u===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(n===61?f.eq:f.prefix,1)},oe.readToken_question=function(){var n=this.options.ecmaVersion;if(n>=11){var u=this.input.charCodeAt(this.pos+1);if(u===46){var m=this.input.charCodeAt(this.pos+2);if(m<48||m>57)return this.finishOp(f.questionDot,2)}if(u===63){if(n>=12){var b=this.input.charCodeAt(this.pos+2);if(b===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},oe.getTokenFromCode=function(n){switch(n){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var u=this.input.charCodeAt(this.pos+1);if(u===120||u===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(u===111||u===79)return this.readRadixNumber(8);if(u===98||u===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(!1);case 34:case 39:return this.readString(n);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(n);case 124:case 38:return this.readToken_pipe_amp(n);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(n);case 60:case 62:return this.readToken_lt_gt(n);case 61:case 33:return this.readToken_eq_excl(n);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+dn(n)+"'")},oe.finishOp=function(n,u){var m=this.input.slice(this.pos,this.pos+u);return this.pos+=u,this.finishToken(n,m)},oe.readRegexp=function(){for(var n,u,m=this.pos;;){this.pos>=this.input.length&&this.raise(m,"Unterminated regular expression");var b=this.input.charAt(this.pos);if(V.test(b)&&this.raise(m,"Unterminated regular expression"),n)n=!1;else{if(b==="[")u=!0;else if(b==="]"&&u)u=!1;else if(b==="/"&&!u)break;n=b==="\\"}++this.pos}var S=this.input.slice(m,this.pos);++this.pos;var D=this.pos,M=this.readWord1();this.containsEsc&&this.unexpected(D);var X=this.regexpState||(this.regexpState=new Rt(this));X.reset(m,S,M),this.validateRegExpFlags(X),this.validateRegExpPattern(X);var Y=null;try{Y=new RegExp(S,M)}catch(ce){}return this.finishToken(f.regexp,{pattern:S,flags:M,value:Y})},oe.readInt=function(n,u,m){for(var b=this.options.ecmaVersion>=12&&u===void 0,S=m&&this.input.charCodeAt(this.pos)===48,D=this.pos,M=0,X=0,Y=0,ce=u??Infinity;Y<ce;++Y,++this.pos){var Ae=this.input.charCodeAt(this.pos),ze=void 0;if(b&&Ae===95){S&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),X===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Y===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),X=Ae;continue}if(Ae>=97?ze=Ae-97+10:Ae>=65?ze=Ae-65+10:Ae>=48&&Ae<=57?ze=Ae-48:ze=Infinity,ze>=n)break;X=Ae,M=M*n+ze}return b&&X===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===D||u!=null&&this.pos-D!==u?null:M};function hh(n,u){return u?parseInt(n,8):parseFloat(n.replace(/_/g,""))}function la(n){return typeof BigInt!="function"?null:BigInt(n.replace(/_/g,""))}oe.readRadixNumber=function(n){var u=this.pos;this.pos+=2;var m=this.readInt(n);return m==null&&this.raise(this.start+2,"Expected number in radix "+n),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(m=la(this.input.slice(u,this.pos)),++this.pos):C(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,m)},oe.readNumber=function(n){var u=this.pos;!n&&this.readInt(10,void 0,!0)===null&&this.raise(u,"Invalid number");var m=this.pos-u>=2&&this.input.charCodeAt(u)===48;m&&this.strict&&this.raise(u,"Invalid number");var b=this.input.charCodeAt(this.pos);if(!m&&!n&&this.options.ecmaVersion>=11&&b===110){var S=la(this.input.slice(u,this.pos));return++this.pos,C(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,S)}m&&/[89]/.test(this.input.slice(u,this.pos))&&(m=!1),b===46&&!m&&(++this.pos,this.readInt(10),b=this.input.charCodeAt(this.pos)),(b===69||b===101)&&!m&&(b=this.input.charCodeAt(++this.pos),(b===43||b===45)&&++this.pos,this.readInt(10)===null&&this.raise(u,"Invalid number")),C(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var D=hh(this.input.slice(u,this.pos),m);return this.finishToken(f.num,D)},oe.readCodePoint=function(){var n=this.input.charCodeAt(this.pos),u;if(n===123){this.options.ecmaVersion<6&&this.unexpected();var m=++this.pos;u=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,u>1114111&&this.invalidStringToken(m,"Code point out of bounds")}else u=this.readHexChar(4);return u};function dn(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}oe.readString=function(n){for(var u="",m=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var b=this.input.charCodeAt(this.pos);if(b===n)break;b===92?(u+=this.input.slice(m,this.pos),u+=this.readEscapedChar(!1),m=this.pos):(O(b,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return u+=this.input.slice(m,this.pos++),this.finishToken(f.string,u)};var ca={};oe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(n){if(n===ca)this.readInvalidTemplateToken();else throw n}this.inTemplateElement=!1},oe.invalidStringToken=function(n,u){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ca;this.raise(n,u)},oe.readTmplToken=function(){for(var n="",u=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var m=this.input.charCodeAt(this.pos);if(m===96||m===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?m===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(n+=this.input.slice(u,this.pos),this.finishToken(f.template,n));if(m===92)n+=this.input.slice(u,this.pos),n+=this.readEscapedChar(!0),u=this.pos;else if(O(m)){switch(n+=this.input.slice(u,this.pos),++this.pos,m){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:n+=`
|
|
4
|
-
`;break;default:n+=String.fromCharCode(
|
|
5
|
-
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return
|
|
1
|
+
var gh=Object.create,mr=Object.defineProperty,yh=Object.getPrototypeOf,bh=Object.prototype.hasOwnProperty,vh=Object.getOwnPropertyNames,wh=Object.getOwnPropertyDescriptor;var kh=e=>mr(e,"__esModule",{value:!0});var bn=(e,t)=>()=>(e&&(t=e(e=0)),t),yt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xa=(e,t)=>{for(var i in t)mr(e,i,{get:t[i],enumerable:!0})},Eh=(e,t,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of vh(t))!bh.call(e,r)&&r!=="default"&&mr(e,r,{get:()=>t[r],enumerable:!(i=wh(t,r))||i.enumerable});return e},Tt=e=>Eh(kh(mr(e!=null?gh(yh(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);function ga(){throw new Error("setTimeout has not been defined")}function ya(){throw new Error("clearTimeout has not been defined")}function ba(e){if(Yt===setTimeout)return setTimeout(e,0);if((Yt===ga||!Yt)&&setTimeout)return Yt=setTimeout,setTimeout(e,0);try{return Yt(e,0)}catch(t){try{return Yt.call(null,e,0)}catch(i){return Yt.call(this,e,0)}}}function Ch(e){if(Qt===clearTimeout)return clearTimeout(e);if((Qt===ya||!Qt)&&clearTimeout)return Qt=clearTimeout,clearTimeout(e);try{return Qt(e)}catch(t){try{return Qt.call(null,e)}catch(i){return Qt.call(this,e)}}}function Ah(){!wi||!ri||(wi=!1,ri.length?Ot=ri.concat(Ot):dr=-1,Ot.length&&va())}function va(){if(!wi){var e=ba(Ah);wi=!0;for(var t=Ot.length;t;){for(ri=Ot,Ot=[];++dr<t;)ri&&ri[dr].run();dr=-1,t=Ot.length}ri=null,wi=!1,Ch(e)}}function Sh(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];Ot.push(new wa(e,t)),Ot.length===1&&!wi&&ba(va)}function wa(e,t){this.fun=e,this.array=t}function ni(){}function Jh(e){throw new Error("process.binding is not supported")}function qh(){return"/"}function Xh(e){throw new Error("process.chdir is not supported")}function Hh(){return 0}function Gh(e){var t=Wh.call(ki)*.001,i=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(i=i-e[0],r=r-e[1],r<0&&(i--,r+=1e9)),[i,r]}function Qh(){var e=new Date,t=e-Yh;return t/1e3}var Yt,Qt,Ot,wi,ri,dr,_h,Ih,Fh,Th,Ph,Bh,Lh,Dh,Nh,Rh,Oh,Vh,jh,Mh,Uh,zh,ki,Wh,Yh,F,ka,h=bn(()=>{Yt=ga,Qt=ya;typeof globalThis.setTimeout=="function"&&(Yt=setTimeout);typeof globalThis.clearTimeout=="function"&&(Qt=clearTimeout);Ot=[],wi=!1,dr=-1;wa.prototype.run=function(){this.fun.apply(null,this.array)};_h="browser",Ih="browser",Fh=!0,Th={},Ph=[],Bh="",Lh={},Dh={},Nh={};Rh=ni,Oh=ni,Vh=ni,jh=ni,Mh=ni,Uh=ni,zh=ni;ki=globalThis.performance||{},Wh=ki.now||ki.mozNow||ki.msNow||ki.oNow||ki.webkitNow||function(){return new Date().getTime()};Yh=new Date;F={nextTick:Sh,title:_h,browser:Fh,env:Th,argv:Ph,version:Bh,versions:Lh,on:Rh,addListener:Oh,once:Vh,off:jh,removeListener:Mh,removeAllListeners:Uh,emit:zh,binding:Jh,cwd:qh,chdir:Xh,umask:Hh,hrtime:Gh,platform:Ih,release:Dh,config:Nh,uptime:Qh},ka={"env.NODE_ENV":"production"};Object.keys(ka).forEach(e=>{let t=e.split("."),i=F;for(let r=0;r<t.length;r++){let s=t[r];r===t.length-1?i[s]=ka[e]:i=i[s]||(i[s]={})}})});function Ea(){vn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,i=e.length;t<i;++t)Pt[t]=e[t],lt[e.charCodeAt(t)]=t;lt["-".charCodeAt(0)]=62,lt["_".charCodeAt(0)]=63}function Zh(e){vn||Ea();var t,i,r,s,a,o,l=e.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=e[l-2]==="="?2:e[l-1]==="="?1:0,o=new Kh(l*3/4-a),r=a>0?l-4:l;var c=0;for(t=0,i=0;t<r;t+=4,i+=3)s=lt[e.charCodeAt(t)]<<18|lt[e.charCodeAt(t+1)]<<12|lt[e.charCodeAt(t+2)]<<6|lt[e.charCodeAt(t+3)],o[c++]=s>>16&255,o[c++]=s>>8&255,o[c++]=s&255;return a===2?(s=lt[e.charCodeAt(t)]<<2|lt[e.charCodeAt(t+1)]>>4,o[c++]=s&255):a===1&&(s=lt[e.charCodeAt(t)]<<10|lt[e.charCodeAt(t+1)]<<4|lt[e.charCodeAt(t+2)]>>2,o[c++]=s>>8&255,o[c++]=s&255),o}function $h(e){return Pt[e>>18&63]+Pt[e>>12&63]+Pt[e>>6&63]+Pt[e&63]}function ep(e,t,i){for(var r,s=[],a=t;a<i;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],s.push($h(r));return s.join("")}function Ca(e){vn||Ea();for(var t,i=e.length,r=i%3,s="",a=[],o=16383,l=0,c=i-r;l<c;l+=o)a.push(ep(e,l,l+o>c?c:l+o));return r===1?(t=e[i-1],s+=Pt[t>>2],s+=Pt[t<<4&63],s+="=="):r===2&&(t=(e[i-2]<<8)+e[i-1],s+=Pt[t>>10],s+=Pt[t>>4&63],s+=Pt[t<<2&63],s+="="),a.push(s),a.join("")}function xr(){return v.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Vt(e,t){if(xr()<t)throw new RangeError("Invalid typed array length");return v.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=v.prototype):(e===null&&(e=new v(t)),e.length=t),e}function v(e,t,i){if(!v.TYPED_ARRAY_SUPPORT&&!(this instanceof v))return new v(e,t,i);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return wn(this,e)}return Aa(this,e,t,i)}function Aa(e,t,i,r){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&t instanceof ArrayBuffer?ip(e,t,i,r):typeof t=="string"?tp(e,t,i):rp(e,t)}function Sa(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function np(e,t,i,r){return Sa(t),t<=0?Vt(e,t):i!==void 0?typeof r=="string"?Vt(e,t).fill(i,r):Vt(e,t).fill(i):Vt(e,t)}function wn(e,t){if(Sa(t),e=Vt(e,t<0?0:kn(t)|0),!v.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function tp(e,t,i){if((typeof i!="string"||i==="")&&(i="utf8"),!v.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var r=_a(t,i)|0;e=Vt(e,r);var s=e.write(t,i);return s!==r&&(e=e.slice(0,s)),e}function En(e,t){var i=t.length<0?0:kn(t.length)|0;e=Vt(e,i);for(var r=0;r<i;r+=1)e[r]=t[r]&255;return e}function ip(e,t,i,r){if(t.byteLength,i<0||t.byteLength<i)throw new RangeError("'offset' is out of bounds");if(t.byteLength<i+(r||0))throw new RangeError("'length' is out of bounds");return i===void 0&&r===void 0?t=new Uint8Array(t):r===void 0?t=new Uint8Array(t,i):t=new Uint8Array(t,i,r),v.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=v.prototype):e=En(e,t),e}function rp(e,t){if(Bt(t)){var i=kn(t.length)|0;return e=Vt(e,i),e.length===0||t.copy(e,0,0,i),e}if(t){if(typeof ArrayBuffer!="undefined"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||sp(t.length)?Vt(e,0):En(e,t);if(t.type==="Buffer"&&Array.isArray(t.data))return En(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function kn(e){if(e>=xr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+xr().toString(16)+" bytes");return e|0}function Bt(e){return!!(e!=null&&e._isBuffer)}function _a(e,t){if(Bt(e))return e.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var i=e.length;if(i===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return gr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return Ia(e).length;default:if(r)return gr(e).length;t=(""+t).toLowerCase(),r=!0}}function pp(e,t,i){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,t>>>=0,i<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return cp(this,t,i);case"utf8":case"utf-8":return Fa(this,t,i);case"ascii":return up(this,t,i);case"latin1":case"binary":return lp(this,t,i);case"base64":return op(this,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hp(this,t,i);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function si(e,t,i){var r=e[t];e[t]=e[i],e[i]=r}function Pa(e,t,i,r,s){if(e.length===0)return-1;if(typeof i=="string"?(r=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=s?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(s)return-1;i=e.length-1}else if(i<0)if(s)i=0;else return-1;if(typeof t=="string"&&(t=v.from(t,r)),Bt(t))return t.length===0?-1:Ta(e,t,i,r,s);if(typeof t=="number")return t=t&255,v.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):Ta(e,[t],i,r,s);throw new TypeError("val must be string, number or Buffer")}function Ta(e,t,i,r,s){var a=1,o=e.length,l=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,i/=2}function c(g,E){return a===1?g[E]:g.readUInt16BE(E*a)}var m;if(s){var x=-1;for(m=i;m<o;m++)if(c(e,m)===c(t,x===-1?0:m-x)){if(x===-1&&(x=m),m-x+1===l)return x*a}else x!==-1&&(m-=m-x),x=-1}else for(i+l>o&&(i=o-l),m=i;m>=0;m--){for(var w=!0,A=0;A<l;A++)if(c(e,m+A)!==c(t,A)){w=!1;break}if(w)return m}return-1}function fp(e,t,i,r){i=Number(i)||0;var s=e.length-i;r?(r=Number(r),r>s&&(r=s)):r=s;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o<r;++o){var l=parseInt(t.substr(o*2,2),16);if(isNaN(l))return o;e[i+o]=l}return o}function mp(e,t,i,r){return yr(gr(t,e.length-i),e,i,r)}function Ba(e,t,i,r){return yr(dp(t),e,i,r)}function xp(e,t,i,r){return Ba(e,t,i,r)}function gp(e,t,i,r){return yr(Ia(t),e,i,r)}function bp(e,t,i,r){return yr(yp(t,e.length-i),e,i,r)}function op(e,t,i){return t===0&&i===e.length?Ca(e):Ca(e.slice(t,i))}function Fa(e,t,i){i=Math.min(e.length,i);for(var r=[],s=t;s<i;){var a=e[s],o=null,l=a>239?4:a>223?3:a>191?2:1;if(s+l<=i){var c,m,x,w;switch(l){case 1:a<128&&(o=a);break;case 2:c=e[s+1],(c&192)==128&&(w=(a&31)<<6|c&63,w>127&&(o=w));break;case 3:c=e[s+1],m=e[s+2],(c&192)==128&&(m&192)==128&&(w=(a&15)<<12|(c&63)<<6|m&63,w>2047&&(w<55296||w>57343)&&(o=w));break;case 4:c=e[s+1],m=e[s+2],x=e[s+3],(c&192)==128&&(m&192)==128&&(x&192)==128&&(w=(a&15)<<18|(c&63)<<12|(m&63)<<6|x&63,w>65535&&w<1114112&&(o=w))}}o===null?(o=65533,l=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|o&1023),r.push(o),s+=l}return vp(r)}function vp(e){var t=e.length;if(t<=La)return String.fromCharCode.apply(String,e);for(var i="",r=0;r<t;)i+=String.fromCharCode.apply(String,e.slice(r,r+=La));return i}function up(e,t,i){var r="";i=Math.min(e.length,i);for(var s=t;s<i;++s)r+=String.fromCharCode(e[s]&127);return r}function lp(e,t,i){var r="";i=Math.min(e.length,i);for(var s=t;s<i;++s)r+=String.fromCharCode(e[s]);return r}function cp(e,t,i){var r=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>r)&&(i=r);for(var s="",a=t;a<i;++a)s+=wp(e[a]);return s}function hp(e,t,i){for(var r=e.slice(t,i),s="",a=0;a<r.length;a+=2)s+=String.fromCharCode(r[a]+r[a+1]*256);return s}function Re(e,t,i){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>i)throw new RangeError("Trying to access beyond buffer length")}function $e(e,t,i,r,s,a){if(!Bt(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>s||t<a)throw new RangeError('"value" argument is out of bounds');if(i+r>e.length)throw new RangeError("Index out of range")}function vr(e,t,i,r){t<0&&(t=65535+t+1);for(var s=0,a=Math.min(e.length-i,2);s<a;++s)e[i+s]=(t&255<<8*(r?s:1-s))>>>(r?s:1-s)*8}function wr(e,t,i,r){t<0&&(t=4294967295+t+1);for(var s=0,a=Math.min(e.length-i,4);s<a;++s)e[i+s]=t>>>(r?s:3-s)*8&255}function Da(e,t,i,r,s,a){if(i+r>e.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function Ra(e,t,i,r,s){return s||Da(e,t,i,4,34028234663852886e22,-34028234663852886e22),Na(e,t,i,r,23,4),i+4}function Oa(e,t,i,r,s){return s||Da(e,t,i,8,17976931348623157e292,-17976931348623157e292),Na(e,t,i,r,52,8),i+8}function Cp(e){if(e=Ep(e).replace(kp,""),e.length<2)return"";for(;e.length%4!=0;)e=e+"=";return e}function Ep(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function wp(e){return e<16?"0"+e.toString(16):e.toString(16)}function gr(e,t){t=t||Infinity;for(var i,r=e.length,s=null,a=[],o=0;o<r;++o){if(i=e.charCodeAt(o),i>55295&&i<57344){if(!s){if(i>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}s=i;continue}if(i<56320){(t-=3)>-1&&a.push(239,191,189),s=i;continue}i=(s-55296<<10|i-56320)+65536}else s&&(t-=3)>-1&&a.push(239,191,189);if(s=null,i<128){if((t-=1)<0)break;a.push(i)}else if(i<2048){if((t-=2)<0)break;a.push(i>>6|192,i&63|128)}else if(i<65536){if((t-=3)<0)break;a.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((t-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return a}function dp(e){for(var t=[],i=0;i<e.length;++i)t.push(e.charCodeAt(i)&255);return t}function yp(e,t){for(var i,r,s,a=[],o=0;o<e.length&&!((t-=2)<0);++o)i=e.charCodeAt(o),r=i>>8,s=i%256,a.push(s),a.push(r);return a}function Ia(e){return Zh(Cp(e))}function yr(e,t,i,r){for(var s=0;s<r&&!(s+i>=t.length||s>=e.length);++s)t[s+i]=e[s];return s}function sp(e){return e!==e}function ap(e){return e!=null&&(!!e._isBuffer||Va(e)||Ap(e))}function Va(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Ap(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&Va(e.slice(0,0))}function br(e,t,i,r,s){var a,o,l=s*8-r-1,c=(1<<l)-1,m=c>>1,x=-7,w=i?s-1:0,A=i?-1:1,g=e[t+w];for(w+=A,a=g&(1<<-x)-1,g>>=-x,x+=l;x>0;a=a*256+e[t+w],w+=A,x-=8);for(o=a&(1<<-x)-1,a>>=-x,x+=r;x>0;o=o*256+e[t+w],w+=A,x-=8);if(a===0)a=1-m;else{if(a===c)return o?NaN:(g?-1:1)*Infinity;o=o+Math.pow(2,r),a=a-m}return(g?-1:1)*o*Math.pow(2,a-r)}function Na(e,t,i,r,s,a){var o,l,c,m=a*8-s-1,x=(1<<m)-1,w=x>>1,A=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=r?0:a-1,E=r?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===Infinity?(l=isNaN(t)?1:0,o=x):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+w>=1?t+=A/c:t+=A*Math.pow(2,1-w),t*c>=2&&(o++,c/=2),o+w>=x?(l=0,o=x):o+w>=1?(l=(t*c-1)*Math.pow(2,s),o=o+w):(l=t*Math.pow(2,w-1)*Math.pow(2,s),o=0));s>=8;e[i+g]=l&255,g+=E,l/=256,s-=8);for(o=o<<s|l,m+=s;m>0;e[i+g]=o&255,g+=E,o/=256,m-=8);e[i+g-E]|=S*128}var Pt,lt,Kh,vn,La,kp,ja=bn(()=>{h();p();Pt=[],lt=[],Kh=typeof Uint8Array!="undefined"?Uint8Array:Array,vn=!1;v.TYPED_ARRAY_SUPPORT=globalThis.TYPED_ARRAY_SUPPORT!==void 0?globalThis.TYPED_ARRAY_SUPPORT:!0;v.poolSize=8192;v._augment=function(e){return e.__proto__=v.prototype,e};v.from=function(e,t,i){return Aa(null,e,t,i)};v.kMaxLength=xr();v.TYPED_ARRAY_SUPPORT&&(v.prototype.__proto__=Uint8Array.prototype,v.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&v[Symbol.species]===v);v.alloc=function(e,t,i){return np(null,e,t,i)};v.allocUnsafe=function(e){return wn(null,e)};v.allocUnsafeSlow=function(e){return wn(null,e)};v.isBuffer=ap;v.compare=function(t,i){if(!Bt(t)||!Bt(i))throw new TypeError("Arguments must be Buffers");if(t===i)return 0;for(var r=t.length,s=i.length,a=0,o=Math.min(r,s);a<o;++a)if(t[a]!==i[a]){r=t[a],s=i[a];break}return r<s?-1:s<r?1:0};v.isEncoding=function(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!0;default:return!1}};v.concat=function(t,i){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return v.alloc(0);var r;if(i===void 0)for(i=0,r=0;r<t.length;++r)i+=t[r].length;var s=v.allocUnsafe(i),a=0;for(r=0;r<t.length;++r){var o=t[r];if(!Bt(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(s,a),a+=o.length}return s};v.byteLength=_a;v.prototype._isBuffer=!0;v.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)si(this,i,i+1);return this};v.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)si(this,i,i+3),si(this,i+1,i+2);return this};v.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;i+=8)si(this,i,i+7),si(this,i+1,i+6),si(this,i+2,i+5),si(this,i+3,i+4);return this};v.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?Fa(this,0,t):pp.apply(this,arguments)};v.prototype.equals=function(t){if(!Bt(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:v.compare(this,t)===0};v.prototype.compare=function(t,i,r,s,a){if(!Bt(t))throw new TypeError("Argument must be a Buffer");if(i===void 0&&(i=0),r===void 0&&(r=t?t.length:0),s===void 0&&(s=0),a===void 0&&(a=this.length),i<0||r>t.length||s<0||a>this.length)throw new RangeError("out of range index");if(s>=a&&i>=r)return 0;if(s>=a)return-1;if(i>=r)return 1;if(i>>>=0,r>>>=0,s>>>=0,a>>>=0,this===t)return 0;for(var o=a-s,l=r-i,c=Math.min(o,l),m=this.slice(s,a),x=t.slice(i,r),w=0;w<c;++w)if(m[w]!==x[w]){o=m[w],l=x[w];break}return o<l?-1:l<o?1:0};v.prototype.includes=function(t,i,r){return this.indexOf(t,i,r)!==-1};v.prototype.indexOf=function(t,i,r){return Pa(this,t,i,r,!0)};v.prototype.lastIndexOf=function(t,i,r){return Pa(this,t,i,r,!1)};v.prototype.write=function(t,i,r,s){if(i===void 0)s="utf8",r=this.length,i=0;else if(r===void 0&&typeof i=="string")s=i,r=this.length,i=0;else if(isFinite(i))i=i|0,isFinite(r)?(r=r|0,s===void 0&&(s="utf8")):(s=r,r=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-i;if((r===void 0||r>a)&&(r=a),t.length>0&&(r<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var o=!1;;)switch(s){case"hex":return fp(this,t,i,r);case"utf8":case"utf-8":return mp(this,t,i,r);case"ascii":return Ba(this,t,i,r);case"latin1":case"binary":return xp(this,t,i,r);case"base64":return gp(this,t,i,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bp(this,t,i,r);default:if(o)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),o=!0}};v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};La=4096;v.prototype.slice=function(t,i){var r=this.length;t=~~t,i=i===void 0?r:~~i,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),i<0?(i+=r,i<0&&(i=0)):i>r&&(i=r),i<t&&(i=t);var s;if(v.TYPED_ARRAY_SUPPORT)s=this.subarray(t,i),s.__proto__=v.prototype;else{var a=i-t;s=new v(a,void 0);for(var o=0;o<a;++o)s[o]=this[o+t]}return s};v.prototype.readUIntLE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=this[t],a=1,o=0;++o<i&&(a*=256);)s+=this[t+o]*a;return s};v.prototype.readUIntBE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=this[t+--i],a=1;i>0&&(a*=256);)s+=this[t+--i]*a;return s};v.prototype.readUInt8=function(t,i){return i||Re(t,1,this.length),this[t]};v.prototype.readUInt16LE=function(t,i){return i||Re(t,2,this.length),this[t]|this[t+1]<<8};v.prototype.readUInt16BE=function(t,i){return i||Re(t,2,this.length),this[t]<<8|this[t+1]};v.prototype.readUInt32LE=function(t,i){return i||Re(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};v.prototype.readUInt32BE=function(t,i){return i||Re(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};v.prototype.readIntLE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=this[t],a=1,o=0;++o<i&&(a*=256);)s+=this[t+o]*a;return a*=128,s>=a&&(s-=Math.pow(2,8*i)),s};v.prototype.readIntBE=function(t,i,r){t=t|0,i=i|0,r||Re(t,i,this.length);for(var s=i,a=1,o=this[t+--s];s>0&&(a*=256);)o+=this[t+--s]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*i)),o};v.prototype.readInt8=function(t,i){return i||Re(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};v.prototype.readInt16LE=function(t,i){i||Re(t,2,this.length);var r=this[t]|this[t+1]<<8;return r&32768?r|4294901760:r};v.prototype.readInt16BE=function(t,i){i||Re(t,2,this.length);var r=this[t+1]|this[t]<<8;return r&32768?r|4294901760:r};v.prototype.readInt32LE=function(t,i){return i||Re(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};v.prototype.readInt32BE=function(t,i){return i||Re(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};v.prototype.readFloatLE=function(t,i){return i||Re(t,4,this.length),br(this,t,!0,23,4)};v.prototype.readFloatBE=function(t,i){return i||Re(t,4,this.length),br(this,t,!1,23,4)};v.prototype.readDoubleLE=function(t,i){return i||Re(t,8,this.length),br(this,t,!0,52,8)};v.prototype.readDoubleBE=function(t,i){return i||Re(t,8,this.length),br(this,t,!1,52,8)};v.prototype.writeUIntLE=function(t,i,r,s){if(t=+t,i=i|0,r=r|0,!s){var a=Math.pow(2,8*r)-1;$e(this,t,i,r,a,0)}var o=1,l=0;for(this[i]=t&255;++l<r&&(o*=256);)this[i+l]=t/o&255;return i+r};v.prototype.writeUIntBE=function(t,i,r,s){if(t=+t,i=i|0,r=r|0,!s){var a=Math.pow(2,8*r)-1;$e(this,t,i,r,a,0)}var o=r-1,l=1;for(this[i+o]=t&255;--o>=0&&(l*=256);)this[i+o]=t/l&255;return i+r};v.prototype.writeUInt8=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,1,255,0),v.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[i]=t&255,i+1};v.prototype.writeUInt16LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,65535,0),v.TYPED_ARRAY_SUPPORT?(this[i]=t&255,this[i+1]=t>>>8):vr(this,t,i,!0),i+2};v.prototype.writeUInt16BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,65535,0),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>8,this[i+1]=t&255):vr(this,t,i,!1),i+2};v.prototype.writeUInt32LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,4294967295,0),v.TYPED_ARRAY_SUPPORT?(this[i+3]=t>>>24,this[i+2]=t>>>16,this[i+1]=t>>>8,this[i]=t&255):wr(this,t,i,!0),i+4};v.prototype.writeUInt32BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,4294967295,0),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>24,this[i+1]=t>>>16,this[i+2]=t>>>8,this[i+3]=t&255):wr(this,t,i,!1),i+4};v.prototype.writeIntLE=function(t,i,r,s){if(t=+t,i=i|0,!s){var a=Math.pow(2,8*r-1);$e(this,t,i,r,a-1,-a)}var o=0,l=1,c=0;for(this[i]=t&255;++o<r&&(l*=256);)t<0&&c===0&&this[i+o-1]!==0&&(c=1),this[i+o]=(t/l>>0)-c&255;return i+r};v.prototype.writeIntBE=function(t,i,r,s){if(t=+t,i=i|0,!s){var a=Math.pow(2,8*r-1);$e(this,t,i,r,a-1,-a)}var o=r-1,l=1,c=0;for(this[i+o]=t&255;--o>=0&&(l*=256);)t<0&&c===0&&this[i+o+1]!==0&&(c=1),this[i+o]=(t/l>>0)-c&255;return i+r};v.prototype.writeInt8=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,1,127,-128),v.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[i]=t&255,i+1};v.prototype.writeInt16LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,32767,-32768),v.TYPED_ARRAY_SUPPORT?(this[i]=t&255,this[i+1]=t>>>8):vr(this,t,i,!0),i+2};v.prototype.writeInt16BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,2,32767,-32768),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>8,this[i+1]=t&255):vr(this,t,i,!1),i+2};v.prototype.writeInt32LE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,2147483647,-2147483648),v.TYPED_ARRAY_SUPPORT?(this[i]=t&255,this[i+1]=t>>>8,this[i+2]=t>>>16,this[i+3]=t>>>24):wr(this,t,i,!0),i+4};v.prototype.writeInt32BE=function(t,i,r){return t=+t,i=i|0,r||$e(this,t,i,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),v.TYPED_ARRAY_SUPPORT?(this[i]=t>>>24,this[i+1]=t>>>16,this[i+2]=t>>>8,this[i+3]=t&255):wr(this,t,i,!1),i+4};v.prototype.writeFloatLE=function(t,i,r){return Ra(this,t,i,!0,r)};v.prototype.writeFloatBE=function(t,i,r){return Ra(this,t,i,!1,r)};v.prototype.writeDoubleLE=function(t,i,r){return Oa(this,t,i,!0,r)};v.prototype.writeDoubleBE=function(t,i,r){return Oa(this,t,i,!1,r)};v.prototype.copy=function(t,i,r,s){if(r||(r=0),!s&&s!==0&&(s=this.length),i>=t.length&&(i=t.length),i||(i=0),s>0&&s<r&&(s=r),s===r||t.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),t.length-i<s-r&&(s=t.length-i+r);var a=s-r,o;if(this===t&&r<i&&i<s)for(o=a-1;o>=0;--o)t[o+i]=this[o+r];else if(a<1e3||!v.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)t[o+i]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+a),i);return a};v.prototype.fill=function(t,i,r,s){if(typeof t=="string"){if(typeof i=="string"?(s=i,i=0,r=this.length):typeof r=="string"&&(s=r,r=this.length),t.length===1){var a=t.charCodeAt(0);a<256&&(t=a)}if(s!==void 0&&typeof s!="string")throw new TypeError("encoding must be a string");if(typeof s=="string"&&!v.isEncoding(s))throw new TypeError("Unknown encoding: "+s)}else typeof t=="number"&&(t=t&255);if(i<0||this.length<i||this.length<r)throw new RangeError("Out of range index");if(r<=i)return this;i=i>>>0,r=r===void 0?this.length:r>>>0,t||(t=0);var o;if(typeof t=="number")for(o=i;o<r;++o)this[o]=t;else{var l=Bt(t)?t:gr(new v(t,s).toString()),c=l.length;for(o=0;o<r-i;++o)this[o+i]=l[o%c]}return this};kp=/[^+\/0-9A-Za-z-_]/g});var p=bn(()=>{ja()});var Ua=yt((Ld,Ma)=>{h();p();Ma.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var Qa=yt((Dd,za)=>{h();p();"use strict";var kr=Object.prototype.hasOwnProperty,Ja=Object.prototype.toString,qa=Object.defineProperty,Xa=Object.getOwnPropertyDescriptor,Ha=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Ja.call(t)==="[object Array]"},Wa=function(t){if(!t||Ja.call(t)!=="[object Object]")return!1;var i=kr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&kr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!r)return!1;var s;for(s in t);return typeof s=="undefined"||kr.call(t,s)},Ga=function(t,i){qa&&i.name==="__proto__"?qa(t,i.name,{enumerable:!0,configurable:!0,value:i.newValue,writable:!0}):t[i.name]=i.newValue},Ya=function(t,i){if(i==="__proto__")if(kr.call(t,i)){if(Xa)return Xa(t,i).value}else return;return t[i]};za.exports=function e(){var t,i,r,s,a,o,l=arguments[0],c=1,m=arguments.length,x=!1;for(typeof l=="boolean"&&(x=l,l=arguments[1]||{},c=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});c<m;++c)if(t=arguments[c],t!=null)for(i in t)r=Ya(l,i),s=Ya(t,i),l!==s&&(x&&s&&(Wa(s)||(a=Ha(s)))?(a?(a=!1,o=r&&Ha(r)?r:[]):o=r&&Wa(r)?r:{},Ga(l,{name:i,newValue:e(x,o,s)})):typeof s!="undefined"&&Ga(l,{name:i,newValue:s}));return l}});var $a=yt((Od,Za)=>{h();p();Za.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var Zo=yt((ux,Ko)=>{h();p();Ko.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}});var Yn=yt((Br,$o)=>{h();p();(function(e,t){typeof Br=="object"&&typeof $o!="undefined"?t(Br):typeof define=="function"&&define.amd?define(["exports"],t):(e=e||self,t(e.acorn={}))})(Br,function(e){"use strict";var t={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"},i="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",r={5:i,"5module":i+" export import",6:i+" const class extends export import super"},s=/^in(stanceof)?$/,a="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\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\u09FC\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\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",o="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",l=new RegExp("["+a+"]"),c=new RegExp("["+a+o+"]");a=o=null;var m=[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,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,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,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,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,190,0,80,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,1237,43,8,8952,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],x=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,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,2,11,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,71,5,2,1,3,3,2,0,2,1,13,9,120,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,82,0,12,1,19628,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,4759,9,787719,239];function w(n,u){for(var f=65536,b=0;b<u.length;b+=2){if(f+=u[b],f>n)return!1;if(f+=u[b+1],f>=n)return!0}}function A(n,u){return n<65?n===36:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&l.test(String.fromCharCode(n)):u===!1?!1:w(n,m)}function g(n,u){return n<48?n===36:n<58?!0:n<65?!1:n<91?!0:n<97?n===95:n<123?!0:n<=65535?n>=170&&c.test(String.fromCharCode(n)):u===!1?!1:w(n,m)||w(n,x)}var E=function(u,f){f===void 0&&(f={}),this.label=u,this.keyword=f.keyword,this.beforeExpr=!!f.beforeExpr,this.startsExpr=!!f.startsExpr,this.isLoop=!!f.isLoop,this.isAssign=!!f.isAssign,this.prefix=!!f.prefix,this.postfix=!!f.postfix,this.binop=f.binop||null,this.updateContext=null};function S(n,u){return new E(n,{beforeExpr:!0,binop:u})}var T={beforeExpr:!0},_={startsExpr:!0},V={};function L(n,u){return u===void 0&&(u={}),u.keyword=n,V[n]=new E(n,u)}var d={num:new E("num",_),regexp:new E("regexp",_),string:new E("string",_),name:new E("name",_),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",T),semi:new E(";",T),colon:new E(":",T),dot:new E("."),question:new E("?",T),questionDot:new E("?."),arrow:new E("=>",T),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",T),backQuote:new E("`",_),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:S("||",1),logicalAND:S("&&",2),bitwiseOR:S("|",3),bitwiseXOR:S("^",4),bitwiseAND:S("&",5),equality:S("==/!=/===/!==",6),relational:S("</>/<=/>=",7),bitShift:S("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:S("%",10),star:S("*",10),slash:S("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:S("??",1),_break:L("break"),_case:L("case",T),_catch:L("catch"),_continue:L("continue"),_debugger:L("debugger"),_default:L("default",T),_do:L("do",{isLoop:!0,beforeExpr:!0}),_else:L("else",T),_finally:L("finally"),_for:L("for",{isLoop:!0}),_function:L("function",_),_if:L("if"),_return:L("return",T),_switch:L("switch"),_throw:L("throw",T),_try:L("try"),_var:L("var"),_const:L("const"),_while:L("while",{isLoop:!0}),_with:L("with"),_new:L("new",{beforeExpr:!0,startsExpr:!0}),_this:L("this",_),_super:L("super",_),_class:L("class",_),_extends:L("extends",T),_export:L("export"),_import:L("import",_),_null:L("null",_),_true:L("true",_),_false:L("false",_),_in:L("in",{beforeExpr:!0,binop:7}),_instanceof:L("instanceof",{beforeExpr:!0,binop:7}),_typeof:L("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:L("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:L("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},U=/\r\n?|\n|\u2028|\u2029/,C=new RegExp(U.source,"g");function D(n,u){return n===10||n===13||!u&&(n===8232||n===8233)}var M=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,j=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,W=Object.prototype,G=W.hasOwnProperty,Y=W.toString;function q(n,u){return G.call(n,u)}var se=Array.isArray||function(n){return Y.call(n)==="[object Array]"};function ye(n){return new RegExp("^(?:"+n.replace(/ /g,"|")+")$")}var ke=function(u,f){this.line=u,this.column=f};ke.prototype.offset=function(u){return new ke(this.line,this.column+u)};var ae=function(u,f,b){this.start=f,this.end=b,u.sourceFile!==null&&(this.source=u.sourceFile)};function be(n,u){for(var f=1,b=0;;){C.lastIndex=b;var I=C.exec(n);if(I&&I.index<u)++f,b=I.index+I[0].length;else return new ke(f,u-b)}}var Se={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function _e(n){var u={};for(var f in Se)u[f]=n&&q(n,f)?n[f]:Se[f];if(u.ecmaVersion>=2015&&(u.ecmaVersion-=2009),u.allowReserved==null&&(u.allowReserved=u.ecmaVersion<5),se(u.onToken)){var b=u.onToken;u.onToken=function(I){return b.push(I)}}return se(u.onComment)&&(u.onComment=B(u,u.onComment)),u}function B(n,u){return function(f,b,I,N,O,X){var Q={type:f?"Block":"Line",value:b,start:I,end:N};n.locations&&(Q.loc=new ae(this,O,X)),n.ranges&&(Q.range=[I,N]),u.push(Q)}}var P=1,nt=2,qe=P|nt,dt=4,xt=8,Xe=16,Te=32,Ct=64,He=128;function ut(n,u){return nt|(n?dt:0)|(u?xt:0)}var Ne=0,At=1,Ke=2,di=3,xi=4,Wt=5,ve=function(u,f,b){this.options=u=_e(u),this.sourceFile=u.sourceFile,this.keywords=ye(r[u.ecmaVersion>=6?6:u.sourceType==="module"?"5module":5]);var I="";if(u.allowReserved!==!0){for(var N=u.ecmaVersion;!(I=t[N]);N--);u.sourceType==="module"&&(I+=" await")}this.reservedWords=ye(I);var O=(I?I+" ":"")+t.strict;this.reservedWordsStrict=ye(O),this.reservedWordsStrictBind=ye(O+" "+t.strictBind),this.input=String(f),this.containsEsc=!1,b?(this.pos=b,this.lineStart=this.input.lastIndexOf(`
|
|
2
|
+
`,b-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(U).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=d.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=!0,this.inModule=u.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&u.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(P),this.regexpState=null},st={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};ve.prototype.parse=function(){var u=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(u)},st.inFunction.get=function(){return(this.currentVarScope().flags&nt)>0},st.inGenerator.get=function(){return(this.currentVarScope().flags&xt)>0},st.inAsync.get=function(){return(this.currentVarScope().flags&dt)>0},st.allowSuper.get=function(){return(this.currentThisScope().flags&Ct)>0},st.allowDirectSuper.get=function(){return(this.currentThisScope().flags&He)>0},st.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ve.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&nt)>0},ve.extend=function(){for(var u=[],f=arguments.length;f--;)u[f]=arguments[f];for(var b=this,I=0;I<u.length;I++)b=u[I](b);return b},ve.parse=function(u,f){return new this(f,u).parse()},ve.parseExpressionAt=function(u,f,b){var I=new this(b,u,f);return I.nextToken(),I.parseExpression()},ve.tokenizer=function(u,f){return new this(f,u)},Object.defineProperties(ve.prototype,st);var Le=ve.prototype,Gt=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Le.strictDirective=function(n){for(;;){j.lastIndex=n,n+=j.exec(this.input)[0].length;var u=Gt.exec(this.input.slice(n));if(!u)return!1;if((u[1]||u[2])==="use strict"){j.lastIndex=n+u[0].length;var f=j.exec(this.input),b=f.index+f[0].length,I=this.input.charAt(b);return I===";"||I==="}"||U.test(f[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(I)||I==="!"&&this.input.charAt(b+1)==="=")}n+=u[0].length,j.lastIndex=n,n+=j.exec(this.input)[0].length,this.input[n]===";"&&n++}},Le.eat=function(n){return this.type===n?(this.next(),!0):!1},Le.isContextual=function(n){return this.type===d.name&&this.value===n&&!this.containsEsc},Le.eatContextual=function(n){return this.isContextual(n)?(this.next(),!0):!1},Le.expectContextual=function(n){this.eatContextual(n)||this.unexpected()},Le.canInsertSemicolon=function(){return this.type===d.eof||this.type===d.braceR||U.test(this.input.slice(this.lastTokEnd,this.start))},Le.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Le.semicolon=function(){!this.eat(d.semi)&&!this.insertSemicolon()&&this.unexpected()},Le.afterTrailingComma=function(n,u){if(this.type===n)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),u||this.next(),!0},Le.expect=function(n){this.eat(n)||this.unexpected()},Le.unexpected=function(n){this.raise(n??this.start,"Unexpected token")};function St(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}Le.checkPatternErrors=function(n,u){if(!!n){n.trailingComma>-1&&this.raiseRecoverable(n.trailingComma,"Comma is not permitted after the rest element");var f=u?n.parenthesizedAssign:n.parenthesizedBind;f>-1&&this.raiseRecoverable(f,"Parenthesized pattern")}},Le.checkExpressionErrors=function(n,u){if(!n)return!1;var f=n.shorthandAssign,b=n.doubleProto;if(!u)return f>=0||b>=0;f>=0&&this.raise(f,"Shorthand property assignments are valid only in destructuring patterns"),b>=0&&this.raiseRecoverable(b,"Redefinition of __proto__ property")},Le.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Le.isSimpleAssignTarget=function(n){return n.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(n.expression):n.type==="Identifier"||n.type==="MemberExpression"};var ie=ve.prototype;ie.parseTopLevel=function(n){var u={};for(n.body||(n.body=[]);this.type!==d.eof;){var f=this.parseStatement(null,!0,u);n.body.push(f)}if(this.inModule)for(var b=0,I=Object.keys(this.undefinedExports);b<I.length;b+=1){var N=I[b];this.raiseRecoverable(this.undefinedExports[N].start,"Export '"+N+"' is not defined")}return this.adaptDirectivePrologue(n.body),this.next(),n.sourceType=this.options.sourceType,this.finishNode(n,"Program")};var _t={kind:"loop"},Ce={kind:"switch"};ie.isLet=function(n){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;j.lastIndex=this.pos;var u=j.exec(this.input),f=this.pos+u[0].length,b=this.input.charCodeAt(f);if(b===91)return!0;if(n)return!1;if(b===123)return!0;if(A(b,!0)){for(var I=f+1;g(this.input.charCodeAt(I),!0);)++I;var N=this.input.slice(f,I);if(!s.test(N))return!0}return!1},ie.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;j.lastIndex=this.pos;var n=j.exec(this.input),u=this.pos+n[0].length;return!U.test(this.input.slice(this.pos,u))&&this.input.slice(u,u+8)==="function"&&(u+8===this.input.length||!g(this.input.charAt(u+8)))},ie.parseStatement=function(n,u,f){var b=this.type,I=this.startNode(),N;switch(this.isLet(n)&&(b=d._var,N="let"),b){case d._break:case d._continue:return this.parseBreakContinueStatement(I,b.keyword);case d._debugger:return this.parseDebuggerStatement(I);case d._do:return this.parseDoStatement(I);case d._for:return this.parseForStatement(I);case d._function:return n&&(this.strict||n!=="if"&&n!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(I,!1,!n);case d._class:return n&&this.unexpected(),this.parseClass(I,!0);case d._if:return this.parseIfStatement(I);case d._return:return this.parseReturnStatement(I);case d._switch:return this.parseSwitchStatement(I);case d._throw:return this.parseThrowStatement(I);case d._try:return this.parseTryStatement(I);case d._const:case d._var:return N=N||this.value,n&&N!=="var"&&this.unexpected(),this.parseVarStatement(I,N);case d._while:return this.parseWhileStatement(I);case d._with:return this.parseWithStatement(I);case d.braceL:return this.parseBlock(!0,I);case d.semi:return this.parseEmptyStatement(I);case d._export:case d._import:if(this.options.ecmaVersion>10&&b===d._import){j.lastIndex=this.pos;var O=j.exec(this.input),X=this.pos+O[0].length,Q=this.input.charCodeAt(X);if(Q===40||Q===46)return this.parseExpressionStatement(I,this.parseExpression())}return this.options.allowImportExportEverywhere||(u||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),b===d._import?this.parseImport(I):this.parseExport(I,f);default:if(this.isAsyncFunction())return n&&this.unexpected(),this.next(),this.parseFunctionStatement(I,!0,!n);var ce=this.value,Ae=this.parseExpression();return b===d.name&&Ae.type==="Identifier"&&this.eat(d.colon)?this.parseLabeledStatement(I,ce,Ae,n):this.parseExpressionStatement(I,Ae)}},ie.parseBreakContinueStatement=function(n,u){var f=u==="break";this.next(),this.eat(d.semi)||this.insertSemicolon()?n.label=null:this.type!==d.name?this.unexpected():(n.label=this.parseIdent(),this.semicolon());for(var b=0;b<this.labels.length;++b){var I=this.labels[b];if((n.label==null||I.name===n.label.name)&&(I.kind!=null&&(f||I.kind==="loop")||n.label&&f))break}return b===this.labels.length&&this.raise(n.start,"Unsyntactic "+u),this.finishNode(n,f?"BreakStatement":"ContinueStatement")},ie.parseDebuggerStatement=function(n){return this.next(),this.semicolon(),this.finishNode(n,"DebuggerStatement")},ie.parseDoStatement=function(n){return this.next(),this.labels.push(_t),n.body=this.parseStatement("do"),this.labels.pop(),this.expect(d._while),n.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(d.semi):this.semicolon(),this.finishNode(n,"DoWhileStatement")},ie.parseForStatement=function(n){this.next();var u=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(_t),this.enterScope(0),this.expect(d.parenL),this.type===d.semi)return u>-1&&this.unexpected(u),this.parseFor(n,null);var f=this.isLet();if(this.type===d._var||this.type===d._const||f){var b=this.startNode(),I=f?"let":this.value;return this.next(),this.parseVar(b,!0,I),this.finishNode(b,"VariableDeclaration"),(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&b.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===d._in?u>-1&&this.unexpected(u):n.await=u>-1),this.parseForIn(n,b)):(u>-1&&this.unexpected(u),this.parseFor(n,b))}var N=new St,O=this.parseExpression(!0,N);return this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===d._in?u>-1&&this.unexpected(u):n.await=u>-1),this.toAssignable(O,!1,N),this.checkLVal(O),this.parseForIn(n,O)):(this.checkExpressionErrors(N,!0),u>-1&&this.unexpected(u),this.parseFor(n,O))},ie.parseFunctionStatement=function(n,u,f){return this.next(),this.parseFunction(n,Nt|(f?0:R),!1,u)},ie.parseIfStatement=function(n){return this.next(),n.test=this.parseParenExpression(),n.consequent=this.parseStatement("if"),n.alternate=this.eat(d._else)?this.parseStatement("if"):null,this.finishNode(n,"IfStatement")},ie.parseReturnStatement=function(n){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(d.semi)||this.insertSemicolon()?n.argument=null:(n.argument=this.parseExpression(),this.semicolon()),this.finishNode(n,"ReturnStatement")},ie.parseSwitchStatement=function(n){this.next(),n.discriminant=this.parseParenExpression(),n.cases=[],this.expect(d.braceL),this.labels.push(Ce),this.enterScope(0);for(var u,f=!1;this.type!==d.braceR;)if(this.type===d._case||this.type===d._default){var b=this.type===d._case;u&&this.finishNode(u,"SwitchCase"),n.cases.push(u=this.startNode()),u.consequent=[],this.next(),b?u.test=this.parseExpression():(f&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),f=!0,u.test=null),this.expect(d.colon)}else u||this.unexpected(),u.consequent.push(this.parseStatement(null));return this.exitScope(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(n,"SwitchStatement")},ie.parseThrowStatement=function(n){return this.next(),U.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),n.argument=this.parseExpression(),this.semicolon(),this.finishNode(n,"ThrowStatement")};var gi=[];ie.parseTryStatement=function(n){if(this.next(),n.block=this.parseBlock(),n.handler=null,this.type===d._catch){var u=this.startNode();if(this.next(),this.eat(d.parenL)){u.param=this.parseBindingAtom();var f=u.param.type==="Identifier";this.enterScope(f?Te:0),this.checkLVal(u.param,f?xi:Ke),this.expect(d.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),u.param=null,this.enterScope(0);u.body=this.parseBlock(!1),this.exitScope(),n.handler=this.finishNode(u,"CatchClause")}return n.finalizer=this.eat(d._finally)?this.parseBlock():null,!n.handler&&!n.finalizer&&this.raise(n.start,"Missing catch or finally clause"),this.finishNode(n,"TryStatement")},ie.parseVarStatement=function(n,u){return this.next(),this.parseVar(n,!1,u),this.semicolon(),this.finishNode(n,"VariableDeclaration")},ie.parseWhileStatement=function(n){return this.next(),n.test=this.parseParenExpression(),this.labels.push(_t),n.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(n,"WhileStatement")},ie.parseWithStatement=function(n){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),n.object=this.parseParenExpression(),n.body=this.parseStatement("with"),this.finishNode(n,"WithStatement")},ie.parseEmptyStatement=function(n){return this.next(),this.finishNode(n,"EmptyStatement")},ie.parseLabeledStatement=function(n,u,f,b){for(var I=0,N=this.labels;I<N.length;I+=1){var O=N[I];O.name===u&&this.raise(f.start,"Label '"+u+"' is already declared")}for(var X=this.type.isLoop?"loop":this.type===d._switch?"switch":null,Q=this.labels.length-1;Q>=0;Q--){var ce=this.labels[Q];if(ce.statementStart===n.start)ce.statementStart=this.start,ce.kind=X;else break}return this.labels.push({name:u,kind:X,statementStart:this.start}),n.body=this.parseStatement(b?b.indexOf("label")===-1?b+"label":b:"label"),this.labels.pop(),n.label=f,this.finishNode(n,"LabeledStatement")},ie.parseExpressionStatement=function(n,u){return n.expression=u,this.semicolon(),this.finishNode(n,"ExpressionStatement")},ie.parseBlock=function(n,u,f){for(n===void 0&&(n=!0),u===void 0&&(u=this.startNode()),u.body=[],this.expect(d.braceL),n&&this.enterScope(0);this.type!==d.braceR;){var b=this.parseStatement(null);u.body.push(b)}return f&&(this.strict=!1),this.next(),n&&this.exitScope(),this.finishNode(u,"BlockStatement")},ie.parseFor=function(n,u){return n.init=u,this.expect(d.semi),n.test=this.type===d.semi?null:this.parseExpression(),this.expect(d.semi),n.update=this.type===d.parenR?null:this.parseExpression(),this.expect(d.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,"ForStatement")},ie.parseForIn=function(n,u){var f=this.type===d._in;return this.next(),u.type==="VariableDeclaration"&&u.declarations[0].init!=null&&(!f||this.options.ecmaVersion<8||this.strict||u.kind!=="var"||u.declarations[0].id.type!=="Identifier")?this.raise(u.start,(f?"for-in":"for-of")+" loop variable declaration may not have an initializer"):u.type==="AssignmentPattern"&&this.raise(u.start,"Invalid left-hand side in for-loop"),n.left=u,n.right=f?this.parseExpression():this.parseMaybeAssign(),this.expect(d.parenR),n.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(n,f?"ForInStatement":"ForOfStatement")},ie.parseVar=function(n,u,f){for(n.declarations=[],n.kind=f;;){var b=this.startNode();if(this.parseVarId(b,f),this.eat(d.eq)?b.init=this.parseMaybeAssign(u):f==="const"&&!(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():b.id.type!=="Identifier"&&!(u&&(this.type===d._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):b.init=null,n.declarations.push(this.finishNode(b,"VariableDeclarator")),!this.eat(d.comma))break}return n},ie.parseVarId=function(n,u){n.id=this.parseBindingAtom(),this.checkLVal(n.id,u==="var"?At:Ke,!1)};var Nt=1,R=2,k=4;ie.parseFunction=function(n,u,f,b){this.initFunction(n),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!b)&&(this.type===d.star&&u&R&&this.unexpected(),n.generator=this.eat(d.star)),this.options.ecmaVersion>=8&&(n.async=!!b),u&Nt&&(n.id=u&k&&this.type!==d.name?null:this.parseIdent(),n.id&&!(u&R)&&this.checkLVal(n.id,this.strict||n.generator||n.async?this.treatFunctionsAsVar?At:Ke:di));var I=this.yieldPos,N=this.awaitPos,O=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ut(n.async,n.generator)),u&Nt||(n.id=this.type===d.name?this.parseIdent():null),this.parseFunctionParams(n),this.parseFunctionBody(n,f,!1),this.yieldPos=I,this.awaitPos=N,this.awaitIdentPos=O,this.finishNode(n,u&Nt?"FunctionDeclaration":"FunctionExpression")},ie.parseFunctionParams=function(n){this.expect(d.parenL),n.params=this.parseBindingList(d.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ie.parseClass=function(n,u){this.next();var f=this.strict;this.strict=!0,this.parseClassId(n,u),this.parseClassSuper(n);var b=this.startNode(),I=!1;for(b.body=[],this.expect(d.braceL);this.type!==d.braceR;){var N=this.parseClassElement(n.superClass!==null);N&&(b.body.push(N),N.type==="MethodDefinition"&&N.kind==="constructor"&&(I&&this.raise(N.start,"Duplicate constructor in the same class"),I=!0))}return this.strict=f,this.next(),n.body=this.finishNode(b,"ClassBody"),this.finishNode(n,u?"ClassDeclaration":"ClassExpression")},ie.parseClassElement=function(n){var u=this;if(this.eat(d.semi))return null;var f=this.startNode(),b=function(Q,ce){ce===void 0&&(ce=!1);var Ae=u.start,ze=u.startLoc;return u.eatContextual(Q)?u.type!==d.parenL&&(!ce||!u.canInsertSemicolon())?!0:(f.key&&u.unexpected(),f.computed=!1,f.key=u.startNodeAt(Ae,ze),f.key.name=Q,u.finishNode(f.key,"Identifier"),!1):!1};f.kind="method",f.static=b("static");var I=this.eat(d.star),N=!1;I||(this.options.ecmaVersion>=8&&b("async",!0)?(N=!0,I=this.options.ecmaVersion>=9&&this.eat(d.star)):b("get")?f.kind="get":b("set")&&(f.kind="set")),f.key||this.parsePropertyName(f);var O=f.key,X=!1;return!f.computed&&!f.static&&(O.type==="Identifier"&&O.name==="constructor"||O.type==="Literal"&&O.value==="constructor")?(f.kind!=="method"&&this.raise(O.start,"Constructor can't have get/set modifier"),I&&this.raise(O.start,"Constructor can't be a generator"),N&&this.raise(O.start,"Constructor can't be an async method"),f.kind="constructor",X=n):f.static&&O.type==="Identifier"&&O.name==="prototype"&&this.raise(O.start,"Classes may not have a static property named prototype"),this.parseClassMethod(f,I,N,X),f.kind==="get"&&f.value.params.length!==0&&this.raiseRecoverable(f.value.start,"getter should have no params"),f.kind==="set"&&f.value.params.length!==1&&this.raiseRecoverable(f.value.start,"setter should have exactly one param"),f.kind==="set"&&f.value.params[0].type==="RestElement"&&this.raiseRecoverable(f.value.params[0].start,"Setter cannot use rest params"),f},ie.parseClassMethod=function(n,u,f,b){return n.value=this.parseMethod(u,f,b),this.finishNode(n,"MethodDefinition")},ie.parseClassId=function(n,u){this.type===d.name?(n.id=this.parseIdent(),u&&this.checkLVal(n.id,Ke,!1)):(u===!0&&this.unexpected(),n.id=null)},ie.parseClassSuper=function(n){n.superClass=this.eat(d._extends)?this.parseExprSubscripts():null},ie.parseExport=function(n,u){if(this.next(),this.eat(d.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(n.exported=this.parseIdent(!0),this.checkExport(u,n.exported.name,this.lastTokStart)):n.exported=null),this.expectContextual("from"),this.type!==d.string&&this.unexpected(),n.source=this.parseExprAtom(),this.semicolon(),this.finishNode(n,"ExportAllDeclaration");if(this.eat(d._default)){this.checkExport(u,"default",this.lastTokStart);var f;if(this.type===d._function||(f=this.isAsyncFunction())){var b=this.startNode();this.next(),f&&this.next(),n.declaration=this.parseFunction(b,Nt|k,!1,f)}else if(this.type===d._class){var I=this.startNode();n.declaration=this.parseClass(I,"nullableID")}else n.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(n,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())n.declaration=this.parseStatement(null),n.declaration.type==="VariableDeclaration"?this.checkVariableExport(u,n.declaration.declarations):this.checkExport(u,n.declaration.id.name,n.declaration.id.start),n.specifiers=[],n.source=null;else{if(n.declaration=null,n.specifiers=this.parseExportSpecifiers(u),this.eatContextual("from"))this.type!==d.string&&this.unexpected(),n.source=this.parseExprAtom();else{for(var N=0,O=n.specifiers;N<O.length;N+=1){var X=O[N];this.checkUnreserved(X.local),this.checkLocalExport(X.local)}n.source=null}this.semicolon()}return this.finishNode(n,"ExportNamedDeclaration")},ie.checkExport=function(n,u,f){!n||(q(n,u)&&this.raiseRecoverable(f,"Duplicate export '"+u+"'"),n[u]=!0)},ie.checkPatternExport=function(n,u){var f=u.type;if(f==="Identifier")this.checkExport(n,u.name,u.start);else if(f==="ObjectPattern")for(var b=0,I=u.properties;b<I.length;b+=1){var N=I[b];this.checkPatternExport(n,N)}else if(f==="ArrayPattern")for(var O=0,X=u.elements;O<X.length;O+=1){var Q=X[O];Q&&this.checkPatternExport(n,Q)}else f==="Property"?this.checkPatternExport(n,u.value):f==="AssignmentPattern"?this.checkPatternExport(n,u.left):f==="RestElement"?this.checkPatternExport(n,u.argument):f==="ParenthesizedExpression"&&this.checkPatternExport(n,u.expression)},ie.checkVariableExport=function(n,u){if(!!n)for(var f=0,b=u;f<b.length;f+=1){var I=b[f];this.checkPatternExport(n,I.id)}},ie.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},ie.parseExportSpecifiers=function(n){var u=[],f=!0;for(this.expect(d.braceL);!this.eat(d.braceR);){if(f)f=!1;else if(this.expect(d.comma),this.afterTrailingComma(d.braceR))break;var b=this.startNode();b.local=this.parseIdent(!0),b.exported=this.eatContextual("as")?this.parseIdent(!0):b.local,this.checkExport(n,b.exported.name,b.exported.start),u.push(this.finishNode(b,"ExportSpecifier"))}return u},ie.parseImport=function(n){return this.next(),this.type===d.string?(n.specifiers=gi,n.source=this.parseExprAtom()):(n.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),n.source=this.type===d.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(n,"ImportDeclaration")},ie.parseImportSpecifiers=function(){var n=[],u=!0;if(this.type===d.name){var f=this.startNode();if(f.local=this.parseIdent(),this.checkLVal(f.local,Ke),n.push(this.finishNode(f,"ImportDefaultSpecifier")),!this.eat(d.comma))return n}if(this.type===d.star){var b=this.startNode();return this.next(),this.expectContextual("as"),b.local=this.parseIdent(),this.checkLVal(b.local,Ke),n.push(this.finishNode(b,"ImportNamespaceSpecifier")),n}for(this.expect(d.braceL);!this.eat(d.braceR);){if(u)u=!1;else if(this.expect(d.comma),this.afterTrailingComma(d.braceR))break;var I=this.startNode();I.imported=this.parseIdent(!0),this.eatContextual("as")?I.local=this.parseIdent():(this.checkUnreserved(I.imported),I.local=I.imported),this.checkLVal(I.local,Ke),n.push(this.finishNode(I,"ImportSpecifier"))}return n},ie.adaptDirectivePrologue=function(n){for(var u=0;u<n.length&&this.isDirectiveCandidate(n[u]);++u)n[u].directive=n[u].expression.raw.slice(1,-1)},ie.isDirectiveCandidate=function(n){return n.type==="ExpressionStatement"&&n.expression.type==="Literal"&&typeof n.expression.value=="string"&&(this.input[n.start]==='"'||this.input[n.start]==="'")};var K=ve.prototype;K.toAssignable=function(n,u,f){if(this.options.ecmaVersion>=6&&n)switch(n.type){case"Identifier":this.inAsync&&n.name==="await"&&this.raise(n.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":n.type="ObjectPattern",f&&this.checkPatternErrors(f,!0);for(var b=0,I=n.properties;b<I.length;b+=1){var N=I[b];this.toAssignable(N,u),N.type==="RestElement"&&(N.argument.type==="ArrayPattern"||N.argument.type==="ObjectPattern")&&this.raise(N.argument.start,"Unexpected token")}break;case"Property":n.kind!=="init"&&this.raise(n.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(n.value,u);break;case"ArrayExpression":n.type="ArrayPattern",f&&this.checkPatternErrors(f,!0),this.toAssignableList(n.elements,u);break;case"SpreadElement":n.type="RestElement",this.toAssignable(n.argument,u),n.argument.type==="AssignmentPattern"&&this.raise(n.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":n.operator!=="="&&this.raise(n.left.end,"Only '=' operator can be used for specifying default value."),n.type="AssignmentPattern",delete n.operator,this.toAssignable(n.left,u);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(n.expression,u,f);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!u)break;default:this.raise(n.start,"Assigning to rvalue")}else f&&this.checkPatternErrors(f,!0);return n},K.toAssignableList=function(n,u){for(var f=n.length,b=0;b<f;b++){var I=n[b];I&&this.toAssignable(I,u)}if(f){var N=n[f-1];this.options.ecmaVersion===6&&u&&N&&N.type==="RestElement"&&N.argument.type!=="Identifier"&&this.unexpected(N.argument.start)}return n},K.parseSpread=function(n){var u=this.startNode();return this.next(),u.argument=this.parseMaybeAssign(!1,n),this.finishNode(u,"SpreadElement")},K.parseRestBinding=function(){var n=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==d.name&&this.unexpected(),n.argument=this.parseBindingAtom(),this.finishNode(n,"RestElement")},K.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case d.bracketL:var n=this.startNode();return this.next(),n.elements=this.parseBindingList(d.bracketR,!0,!0),this.finishNode(n,"ArrayPattern");case d.braceL:return this.parseObj(!0)}return this.parseIdent()},K.parseBindingList=function(n,u,f){for(var b=[],I=!0;!this.eat(n);)if(I?I=!1:this.expect(d.comma),u&&this.type===d.comma)b.push(null);else{if(f&&this.afterTrailingComma(n))break;if(this.type===d.ellipsis){var N=this.parseRestBinding();this.parseBindingListItem(N),b.push(N),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(n);break}else{var O=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(O),b.push(O)}}return b},K.parseBindingListItem=function(n){return n},K.parseMaybeDefault=function(n,u,f){if(f=f||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(d.eq))return f;var b=this.startNodeAt(n,u);return b.left=f,b.right=this.parseMaybeAssign(),this.finishNode(b,"AssignmentPattern")},K.checkLVal=function(n,u,f){switch(u===void 0&&(u=Ne),n.type){case"Identifier":u===Ke&&n.name==="let"&&this.raiseRecoverable(n.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(n.name)&&this.raiseRecoverable(n.start,(u?"Binding ":"Assigning to ")+n.name+" in strict mode"),f&&(q(f,n.name)&&this.raiseRecoverable(n.start,"Argument name clash"),f[n.name]=!0),u!==Ne&&u!==Wt&&this.declareName(n.name,u,n.start);break;case"ChainExpression":this.raiseRecoverable(n.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":u&&this.raiseRecoverable(n.start,"Binding member expression");break;case"ObjectPattern":for(var b=0,I=n.properties;b<I.length;b+=1){var N=I[b];this.checkLVal(N,u,f)}break;case"Property":this.checkLVal(n.value,u,f);break;case"ArrayPattern":for(var O=0,X=n.elements;O<X.length;O+=1){var Q=X[O];Q&&this.checkLVal(Q,u,f)}break;case"AssignmentPattern":this.checkLVal(n.left,u,f);break;case"RestElement":this.checkLVal(n.argument,u,f);break;case"ParenthesizedExpression":this.checkLVal(n.expression,u,f);break;default:this.raise(n.start,(u?"Binding":"Assigning to")+" rvalue")}};var H=ve.prototype;H.checkPropClash=function(n,u,f){if(!(this.options.ecmaVersion>=9&&n.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(n.computed||n.method||n.shorthand))){var b=n.key,I;switch(b.type){case"Identifier":I=b.name;break;case"Literal":I=String(b.value);break;default:return}var N=n.kind;if(this.options.ecmaVersion>=6){I==="__proto__"&&N==="init"&&(u.proto&&(f?f.doubleProto<0&&(f.doubleProto=b.start):this.raiseRecoverable(b.start,"Redefinition of __proto__ property")),u.proto=!0);return}I="$"+I;var O=u[I];if(O){var X;N==="init"?X=this.strict&&O.init||O.get||O.set:X=O.init||O[N],X&&this.raiseRecoverable(b.start,"Redefinition of property")}else O=u[I]={init:!1,get:!1,set:!1};O[N]=!0}},H.parseExpression=function(n,u){var f=this.start,b=this.startLoc,I=this.parseMaybeAssign(n,u);if(this.type===d.comma){var N=this.startNodeAt(f,b);for(N.expressions=[I];this.eat(d.comma);)N.expressions.push(this.parseMaybeAssign(n,u));return this.finishNode(N,"SequenceExpression")}return I},H.parseMaybeAssign=function(n,u,f){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(n);this.exprAllowed=!1}var b=!1,I=-1,N=-1;u?(I=u.parenthesizedAssign,N=u.trailingComma,u.parenthesizedAssign=u.trailingComma=-1):(u=new St,b=!0);var O=this.start,X=this.startLoc;(this.type===d.parenL||this.type===d.name)&&(this.potentialArrowAt=this.start);var Q=this.parseMaybeConditional(n,u);if(f&&(Q=f.call(this,Q,O,X)),this.type.isAssign){var ce=this.startNodeAt(O,X);return ce.operator=this.value,ce.left=this.type===d.eq?this.toAssignable(Q,!1,u):Q,b||(u.parenthesizedAssign=u.trailingComma=u.doubleProto=-1),u.shorthandAssign>=ce.left.start&&(u.shorthandAssign=-1),this.checkLVal(Q),this.next(),ce.right=this.parseMaybeAssign(n),this.finishNode(ce,"AssignmentExpression")}else b&&this.checkExpressionErrors(u,!0);return I>-1&&(u.parenthesizedAssign=I),N>-1&&(u.trailingComma=N),Q},H.parseMaybeConditional=function(n,u){var f=this.start,b=this.startLoc,I=this.parseExprOps(n,u);if(this.checkExpressionErrors(u))return I;if(this.eat(d.question)){var N=this.startNodeAt(f,b);return N.test=I,N.consequent=this.parseMaybeAssign(),this.expect(d.colon),N.alternate=this.parseMaybeAssign(n),this.finishNode(N,"ConditionalExpression")}return I},H.parseExprOps=function(n,u){var f=this.start,b=this.startLoc,I=this.parseMaybeUnary(u,!1);return this.checkExpressionErrors(u)||I.start===f&&I.type==="ArrowFunctionExpression"?I:this.parseExprOp(I,f,b,-1,n)},H.parseExprOp=function(n,u,f,b,I){var N=this.type.binop;if(N!=null&&(!I||this.type!==d._in)&&N>b){var O=this.type===d.logicalOR||this.type===d.logicalAND,X=this.type===d.coalesce;X&&(N=d.logicalAND.binop);var Q=this.value;this.next();var ce=this.start,Ae=this.startLoc,ze=this.parseExprOp(this.parseMaybeUnary(null,!1),ce,Ae,N,I),ii=this.buildBinary(u,f,n,ze,Q,O||X);return(O&&this.type===d.coalesce||X&&(this.type===d.logicalOR||this.type===d.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(ii,u,f,b,I)}return n},H.buildBinary=function(n,u,f,b,I,N){var O=this.startNodeAt(n,u);return O.left=f,O.operator=I,O.right=b,this.finishNode(O,N?"LogicalExpression":"BinaryExpression")},H.parseMaybeUnary=function(n,u){var f=this.start,b=this.startLoc,I;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))I=this.parseAwait(),u=!0;else if(this.type.prefix){var N=this.startNode(),O=this.type===d.incDec;N.operator=this.value,N.prefix=!0,this.next(),N.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(n,!0),O?this.checkLVal(N.argument):this.strict&&N.operator==="delete"&&N.argument.type==="Identifier"?this.raiseRecoverable(N.start,"Deleting local variable in strict mode"):u=!0,I=this.finishNode(N,O?"UpdateExpression":"UnaryExpression")}else{if(I=this.parseExprSubscripts(n),this.checkExpressionErrors(n))return I;for(;this.type.postfix&&!this.canInsertSemicolon();){var X=this.startNodeAt(f,b);X.operator=this.value,X.prefix=!1,X.argument=I,this.checkLVal(I),this.next(),I=this.finishNode(X,"UpdateExpression")}}return!u&&this.eat(d.starstar)?this.buildBinary(f,b,I,this.parseMaybeUnary(null,!1),"**",!1):I},H.parseExprSubscripts=function(n){var u=this.start,f=this.startLoc,b=this.parseExprAtom(n);if(b.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return b;var I=this.parseSubscripts(b,u,f);return n&&I.type==="MemberExpression"&&(n.parenthesizedAssign>=I.start&&(n.parenthesizedAssign=-1),n.parenthesizedBind>=I.start&&(n.parenthesizedBind=-1)),I},H.parseSubscripts=function(n,u,f,b){for(var I=this.options.ecmaVersion>=8&&n.type==="Identifier"&&n.name==="async"&&this.lastTokEnd===n.end&&!this.canInsertSemicolon()&&n.end-n.start==5&&this.potentialArrowAt===n.start,N=!1;;){var O=this.parseSubscript(n,u,f,b,I,N);if(O.optional&&(N=!0),O===n||O.type==="ArrowFunctionExpression"){if(N){var X=this.startNodeAt(u,f);X.expression=O,O=this.finishNode(X,"ChainExpression")}return O}n=O}},H.parseSubscript=function(n,u,f,b,I,N){var O=this.options.ecmaVersion>=11,X=O&&this.eat(d.questionDot);b&&X&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Q=this.eat(d.bracketL);if(Q||X&&this.type!==d.parenL&&this.type!==d.backQuote||this.eat(d.dot)){var ce=this.startNodeAt(u,f);ce.object=n,ce.property=Q?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),ce.computed=!!Q,Q&&this.expect(d.bracketR),O&&(ce.optional=X),n=this.finishNode(ce,"MemberExpression")}else if(!b&&this.eat(d.parenL)){var Ae=new St,ze=this.yieldPos,ii=this.awaitPos,yi=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var fr=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,!1,Ae);if(I&&!X&&!this.canInsertSemicolon()&&this.eat(d.arrow))return this.checkPatternErrors(Ae,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=ze,this.awaitPos=ii,this.awaitIdentPos=yi,this.parseArrowExpression(this.startNodeAt(u,f),fr,!0);this.checkExpressionErrors(Ae,!0),this.yieldPos=ze||this.yieldPos,this.awaitPos=ii||this.awaitPos,this.awaitIdentPos=yi||this.awaitIdentPos;var bi=this.startNodeAt(u,f);bi.callee=n,bi.arguments=fr,O&&(bi.optional=X),n=this.finishNode(bi,"CallExpression")}else if(this.type===d.backQuote){(X||N)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var vi=this.startNodeAt(u,f);vi.tag=n,vi.quasi=this.parseTemplate({isTagged:!0}),n=this.finishNode(vi,"TaggedTemplateExpression")}return n},H.parseExprAtom=function(n){this.type===d.slash&&this.readRegexp();var u,f=this.potentialArrowAt===this.start;switch(this.type){case d._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),u=this.startNode(),this.next(),this.type===d.parenL&&!this.allowDirectSuper&&this.raise(u.start,"super() call outside constructor of a subclass"),this.type!==d.dot&&this.type!==d.bracketL&&this.type!==d.parenL&&this.unexpected(),this.finishNode(u,"Super");case d._this:return u=this.startNode(),this.next(),this.finishNode(u,"ThisExpression");case d.name:var b=this.start,I=this.startLoc,N=this.containsEsc,O=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!N&&O.name==="async"&&!this.canInsertSemicolon()&&this.eat(d._function))return this.parseFunction(this.startNodeAt(b,I),0,!1,!0);if(f&&!this.canInsertSemicolon()){if(this.eat(d.arrow))return this.parseArrowExpression(this.startNodeAt(b,I),[O],!1);if(this.options.ecmaVersion>=8&&O.name==="async"&&this.type===d.name&&!N)return O=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(d.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(b,I),[O],!0)}return O;case d.regexp:var X=this.value;return u=this.parseLiteral(X.value),u.regex={pattern:X.pattern,flags:X.flags},u;case d.num:case d.string:return this.parseLiteral(this.value);case d._null:case d._true:case d._false:return u=this.startNode(),u.value=this.type===d._null?null:this.type===d._true,u.raw=this.type.keyword,this.next(),this.finishNode(u,"Literal");case d.parenL:var Q=this.start,ce=this.parseParenAndDistinguishExpression(f);return n&&(n.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)&&(n.parenthesizedAssign=Q),n.parenthesizedBind<0&&(n.parenthesizedBind=Q)),ce;case d.bracketL:return u=this.startNode(),this.next(),u.elements=this.parseExprList(d.bracketR,!0,!0,n),this.finishNode(u,"ArrayExpression");case d.braceL:return this.parseObj(!1,n);case d._function:return u=this.startNode(),this.next(),this.parseFunction(u,0);case d._class:return this.parseClass(this.startNode(),!1);case d._new:return this.parseNew();case d.backQuote:return this.parseTemplate();case d._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},H.parseExprImport=function(){var n=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var u=this.parseIdent(!0);switch(this.type){case d.parenL:return this.parseDynamicImport(n);case d.dot:return n.meta=u,this.parseImportMeta(n);default:this.unexpected()}},H.parseDynamicImport=function(n){if(this.next(),n.source=this.parseMaybeAssign(),!this.eat(d.parenR)){var u=this.start;this.eat(d.comma)&&this.eat(d.parenR)?this.raiseRecoverable(u,"Trailing comma is not allowed in import()"):this.unexpected(u)}return this.finishNode(n,"ImportExpression")},H.parseImportMeta=function(n){this.next();var u=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="meta"&&this.raiseRecoverable(n.property.start,"The only valid meta property for import is 'import.meta'"),u&&this.raiseRecoverable(n.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(n.start,"Cannot use 'import.meta' outside a module"),this.finishNode(n,"MetaProperty")},H.parseLiteral=function(n){var u=this.startNode();return u.value=n,u.raw=this.input.slice(this.start,this.end),u.raw.charCodeAt(u.raw.length-1)===110&&(u.bigint=u.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(u,"Literal")},H.parseParenExpression=function(){this.expect(d.parenL);var n=this.parseExpression();return this.expect(d.parenR),n},H.parseParenAndDistinguishExpression=function(n){var u=this.start,f=this.startLoc,b,I=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var N=this.start,O=this.startLoc,X=[],Q=!0,ce=!1,Ae=new St,ze=this.yieldPos,ii=this.awaitPos,yi;for(this.yieldPos=0,this.awaitPos=0;this.type!==d.parenR;)if(Q?Q=!1:this.expect(d.comma),I&&this.afterTrailingComma(d.parenR,!0)){ce=!0;break}else if(this.type===d.ellipsis){yi=this.start,X.push(this.parseParenItem(this.parseRestBinding())),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else X.push(this.parseMaybeAssign(!1,Ae,this.parseParenItem));var fr=this.start,bi=this.startLoc;if(this.expect(d.parenR),n&&!this.canInsertSemicolon()&&this.eat(d.arrow))return this.checkPatternErrors(Ae,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=ze,this.awaitPos=ii,this.parseParenArrowList(u,f,X);(!X.length||ce)&&this.unexpected(this.lastTokStart),yi&&this.unexpected(yi),this.checkExpressionErrors(Ae,!0),this.yieldPos=ze||this.yieldPos,this.awaitPos=ii||this.awaitPos,X.length>1?(b=this.startNodeAt(N,O),b.expressions=X,this.finishNodeAt(b,"SequenceExpression",fr,bi)):b=X[0]}else b=this.parseParenExpression();if(this.options.preserveParens){var vi=this.startNodeAt(u,f);return vi.expression=b,this.finishNode(vi,"ParenthesizedExpression")}else return b},H.parseParenItem=function(n){return n},H.parseParenArrowList=function(n,u,f){return this.parseArrowExpression(this.startNodeAt(n,u),f)};var Ze=[];H.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var n=this.startNode(),u=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(d.dot)){n.meta=u;var f=this.containsEsc;return n.property=this.parseIdent(!0),n.property.name!=="target"&&this.raiseRecoverable(n.property.start,"The only valid meta property for new is 'new.target'"),f&&this.raiseRecoverable(n.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(n.start,"'new.target' can only be used in functions"),this.finishNode(n,"MetaProperty")}var b=this.start,I=this.startLoc,N=this.type===d._import;return n.callee=this.parseSubscripts(this.parseExprAtom(),b,I,!0),N&&n.callee.type==="ImportExpression"&&this.raise(b,"Cannot use new with import()"),this.eat(d.parenL)?n.arguments=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,!1):n.arguments=Ze,this.finishNode(n,"NewExpression")},H.parseTemplateElement=function(n){var u=n.isTagged,f=this.startNode();return this.type===d.invalidTemplate?(u||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),f.value={raw:this.value,cooked:null}):f.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
3
|
+
`),cooked:this.value},this.next(),f.tail=this.type===d.backQuote,this.finishNode(f,"TemplateElement")},H.parseTemplate=function(n){n===void 0&&(n={});var u=n.isTagged;u===void 0&&(u=!1);var f=this.startNode();this.next(),f.expressions=[];var b=this.parseTemplateElement({isTagged:u});for(f.quasis=[b];!b.tail;)this.type===d.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(d.dollarBraceL),f.expressions.push(this.parseExpression()),this.expect(d.braceR),f.quasis.push(b=this.parseTemplateElement({isTagged:u}));return this.next(),this.finishNode(f,"TemplateLiteral")},H.isAsyncProp=function(n){return!n.computed&&n.key.type==="Identifier"&&n.key.name==="async"&&(this.type===d.name||this.type===d.num||this.type===d.string||this.type===d.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===d.star)&&!U.test(this.input.slice(this.lastTokEnd,this.start))},H.parseObj=function(n,u){var f=this.startNode(),b=!0,I={};for(f.properties=[],this.next();!this.eat(d.braceR);){if(b)b=!1;else if(this.expect(d.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(d.braceR))break;var N=this.parseProperty(n,u);n||this.checkPropClash(N,I,u),f.properties.push(N)}return this.finishNode(f,n?"ObjectPattern":"ObjectExpression")},H.parseProperty=function(n,u){var f=this.startNode(),b,I,N,O;if(this.options.ecmaVersion>=9&&this.eat(d.ellipsis))return n?(f.argument=this.parseIdent(!1),this.type===d.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(f,"RestElement")):(this.type===d.parenL&&u&&(u.parenthesizedAssign<0&&(u.parenthesizedAssign=this.start),u.parenthesizedBind<0&&(u.parenthesizedBind=this.start)),f.argument=this.parseMaybeAssign(!1,u),this.type===d.comma&&u&&u.trailingComma<0&&(u.trailingComma=this.start),this.finishNode(f,"SpreadElement"));this.options.ecmaVersion>=6&&(f.method=!1,f.shorthand=!1,(n||u)&&(N=this.start,O=this.startLoc),n||(b=this.eat(d.star)));var X=this.containsEsc;return this.parsePropertyName(f),!n&&!X&&this.options.ecmaVersion>=8&&!b&&this.isAsyncProp(f)?(I=!0,b=this.options.ecmaVersion>=9&&this.eat(d.star),this.parsePropertyName(f,u)):I=!1,this.parsePropertyValue(f,n,b,I,N,O,u,X),this.finishNode(f,"Property")},H.parsePropertyValue=function(n,u,f,b,I,N,O,X){if((f||b)&&this.type===d.colon&&this.unexpected(),this.eat(d.colon))n.value=u?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,O),n.kind="init";else if(this.options.ecmaVersion>=6&&this.type===d.parenL)u&&this.unexpected(),n.kind="init",n.method=!0,n.value=this.parseMethod(f,b);else if(!u&&!X&&this.options.ecmaVersion>=5&&!n.computed&&n.key.type==="Identifier"&&(n.key.name==="get"||n.key.name==="set")&&this.type!==d.comma&&this.type!==d.braceR&&this.type!==d.eq){(f||b)&&this.unexpected(),n.kind=n.key.name,this.parsePropertyName(n),n.value=this.parseMethod(!1);var Q=n.kind==="get"?0:1;if(n.value.params.length!==Q){var ce=n.value.start;n.kind==="get"?this.raiseRecoverable(ce,"getter should have no params"):this.raiseRecoverable(ce,"setter should have exactly one param")}else n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!n.computed&&n.key.type==="Identifier"?((f||b)&&this.unexpected(),this.checkUnreserved(n.key),n.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=I),n.kind="init",u?n.value=this.parseMaybeDefault(I,N,n.key):this.type===d.eq&&O?(O.shorthandAssign<0&&(O.shorthandAssign=this.start),n.value=this.parseMaybeDefault(I,N,n.key)):n.value=n.key,n.shorthand=!0):this.unexpected()},H.parsePropertyName=function(n){if(this.options.ecmaVersion>=6){if(this.eat(d.bracketL))return n.computed=!0,n.key=this.parseMaybeAssign(),this.expect(d.bracketR),n.key;n.computed=!1}return n.key=this.type===d.num||this.type===d.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},H.initFunction=function(n){n.id=null,this.options.ecmaVersion>=6&&(n.generator=n.expression=!1),this.options.ecmaVersion>=8&&(n.async=!1)},H.parseMethod=function(n,u,f){var b=this.startNode(),I=this.yieldPos,N=this.awaitPos,O=this.awaitIdentPos;return this.initFunction(b),this.options.ecmaVersion>=6&&(b.generator=n),this.options.ecmaVersion>=8&&(b.async=!!u),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ut(u,b.generator)|Ct|(f?He:0)),this.expect(d.parenL),b.params=this.parseBindingList(d.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(b,!1,!0),this.yieldPos=I,this.awaitPos=N,this.awaitIdentPos=O,this.finishNode(b,"FunctionExpression")},H.parseArrowExpression=function(n,u,f){var b=this.yieldPos,I=this.awaitPos,N=this.awaitIdentPos;return this.enterScope(ut(f,!1)|Xe),this.initFunction(n),this.options.ecmaVersion>=8&&(n.async=!!f),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,n.params=this.toAssignableList(u,!0),this.parseFunctionBody(n,!0,!1),this.yieldPos=b,this.awaitPos=I,this.awaitIdentPos=N,this.finishNode(n,"ArrowFunctionExpression")},H.parseFunctionBody=function(n,u,f){var b=u&&this.type!==d.braceL,I=this.strict,N=!1;if(b)n.body=this.parseMaybeAssign(),n.expression=!0,this.checkParams(n,!1);else{var O=this.options.ecmaVersion>=7&&!this.isSimpleParamList(n.params);(!I||O)&&(N=this.strictDirective(this.end),N&&O&&this.raiseRecoverable(n.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var X=this.labels;this.labels=[],N&&(this.strict=!0),this.checkParams(n,!I&&!N&&!u&&!f&&this.isSimpleParamList(n.params)),this.strict&&n.id&&this.checkLVal(n.id,Wt),n.body=this.parseBlock(!1,void 0,N&&!I),n.expression=!1,this.adaptDirectivePrologue(n.body.body),this.labels=X}this.exitScope()},H.isSimpleParamList=function(n){for(var u=0,f=n;u<f.length;u+=1){var b=f[u];if(b.type!=="Identifier")return!1}return!0},H.checkParams=function(n,u){for(var f={},b=0,I=n.params;b<I.length;b+=1){var N=I[b];this.checkLVal(N,At,u?null:f)}},H.parseExprList=function(n,u,f,b){for(var I=[],N=!0;!this.eat(n);){if(N)N=!1;else if(this.expect(d.comma),u&&this.afterTrailingComma(n))break;var O=void 0;f&&this.type===d.comma?O=null:this.type===d.ellipsis?(O=this.parseSpread(b),b&&this.type===d.comma&&b.trailingComma<0&&(b.trailingComma=this.start)):O=this.parseMaybeAssign(!1,b),I.push(O)}return I},H.checkUnreserved=function(n){var u=n.start,f=n.end,b=n.name;if(this.inGenerator&&b==="yield"&&this.raiseRecoverable(u,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&b==="await"&&this.raiseRecoverable(u,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(b)&&this.raise(u,"Unexpected keyword '"+b+"'"),!(this.options.ecmaVersion<6&&this.input.slice(u,f).indexOf("\\")!==-1)){var I=this.strict?this.reservedWordsStrict:this.reservedWords;I.test(b)&&(!this.inAsync&&b==="await"&&this.raiseRecoverable(u,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(u,"The keyword '"+b+"' is reserved"))}},H.parseIdent=function(n,u){var f=this.startNode();return this.type===d.name?f.name=this.value:this.type.keyword?(f.name=this.type.keyword,(f.name==="class"||f.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!n),this.finishNode(f,"Identifier"),n||(this.checkUnreserved(f),f.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=f.start)),f},H.parseYield=function(n){this.yieldPos||(this.yieldPos=this.start);var u=this.startNode();return this.next(),this.type===d.semi||this.canInsertSemicolon()||this.type!==d.star&&!this.type.startsExpr?(u.delegate=!1,u.argument=null):(u.delegate=this.eat(d.star),u.argument=this.parseMaybeAssign(n)),this.finishNode(u,"YieldExpression")},H.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var n=this.startNode();return this.next(),n.argument=this.parseMaybeUnary(null,!1),this.finishNode(n,"AwaitExpression")};var It=ve.prototype;It.raise=function(n,u){var f=be(this.input,n);u+=" ("+f.line+":"+f.column+")";var b=new SyntaxError(u);throw b.pos=n,b.loc=f,b.raisedAt=this.pos,b},It.raiseRecoverable=It.raise,It.curPosition=function(){if(this.options.locations)return new ke(this.curLine,this.pos-this.lineStart)};var pe=ve.prototype,De=function(u){this.flags=u,this.var=[],this.lexical=[],this.functions=[]};pe.enterScope=function(n){this.scopeStack.push(new De(n))},pe.exitScope=function(){this.scopeStack.pop()},pe.treatFunctionsAsVarInScope=function(n){return n.flags&nt||!this.inModule&&n.flags&P},pe.declareName=function(n,u,f){var b=!1;if(u===Ke){var I=this.currentScope();b=I.lexical.indexOf(n)>-1||I.functions.indexOf(n)>-1||I.var.indexOf(n)>-1,I.lexical.push(n),this.inModule&&I.flags&P&&delete this.undefinedExports[n]}else if(u===xi){var N=this.currentScope();N.lexical.push(n)}else if(u===di){var O=this.currentScope();this.treatFunctionsAsVar?b=O.lexical.indexOf(n)>-1:b=O.lexical.indexOf(n)>-1||O.var.indexOf(n)>-1,O.functions.push(n)}else for(var X=this.scopeStack.length-1;X>=0;--X){var Q=this.scopeStack[X];if(Q.lexical.indexOf(n)>-1&&!(Q.flags&Te&&Q.lexical[0]===n)||!this.treatFunctionsAsVarInScope(Q)&&Q.functions.indexOf(n)>-1){b=!0;break}if(Q.var.push(n),this.inModule&&Q.flags&P&&delete this.undefinedExports[n],Q.flags&qe)break}b&&this.raiseRecoverable(f,"Identifier '"+n+"' has already been declared")},pe.checkLocalExport=function(n){this.scopeStack[0].lexical.indexOf(n.name)===-1&&this.scopeStack[0].var.indexOf(n.name)===-1&&(this.undefinedExports[n.name]=n)},pe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},pe.currentVarScope=function(){for(var n=this.scopeStack.length-1;;n--){var u=this.scopeStack[n];if(u.flags&qe)return u}},pe.currentThisScope=function(){for(var n=this.scopeStack.length-1;;n--){var u=this.scopeStack[n];if(u.flags&qe&&!(u.flags&Xe))return u}};var gt=function(u,f,b){this.type="",this.start=f,this.end=0,u.options.locations&&(this.loc=new ae(u,b)),u.options.directSourceFile&&(this.sourceFile=u.options.directSourceFile),u.options.ranges&&(this.range=[f,0])},Ft=ve.prototype;Ft.startNode=function(){return new gt(this,this.start,this.startLoc)},Ft.startNodeAt=function(n,u){return new gt(this,n,u)};function Ie(n,u,f,b){return n.type=u,n.end=f,this.options.locations&&(n.loc.end=b),this.options.ranges&&(n.range[1]=f),n}Ft.finishNode=function(n,u){return Ie.call(this,n,u,this.lastTokEnd,this.lastTokEndLoc)},Ft.finishNodeAt=function(n,u,f,b){return Ie.call(this,n,u,f,b)};var Ue=function(u,f,b,I,N){this.token=u,this.isExpr=!!f,this.preserveSpace=!!b,this.override=I,this.generator=!!N},de={b_stat:new Ue("{",!1),b_expr:new Ue("{",!0),b_tmpl:new Ue("${",!1),p_stat:new Ue("(",!1),p_expr:new Ue("(",!0),q_tmpl:new Ue("`",!0,!0,function(n){return n.tryReadTemplateToken()}),f_stat:new Ue("function",!1),f_expr:new Ue("function",!0),f_expr_gen:new Ue("function",!0,!1,null,!0),f_gen:new Ue("function",!1,!1,null,!0)},lr=ve.prototype;lr.initialContext=function(){return[de.b_stat]},lr.braceIsBlock=function(n){var u=this.curContext();return u===de.f_expr||u===de.f_stat?!0:n===d.colon&&(u===de.b_stat||u===de.b_expr)?!u.isExpr:n===d._return||n===d.name&&this.exprAllowed?U.test(this.input.slice(this.lastTokEnd,this.start)):n===d._else||n===d.semi||n===d.eof||n===d.parenR||n===d.arrow?!0:n===d.braceL?u===de.b_stat:n===d._var||n===d._const||n===d.name?!1:!this.exprAllowed},lr.inGeneratorContext=function(){for(var n=this.context.length-1;n>=1;n--){var u=this.context[n];if(u.token==="function")return u.generator}return!1},lr.updateContext=function(n){var u,f=this.type;f.keyword&&n===d.dot?this.exprAllowed=!1:(u=f.updateContext)?u.call(this,n):this.exprAllowed=f.beforeExpr},d.parenR.updateContext=d.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var n=this.context.pop();n===de.b_stat&&this.curContext().token==="function"&&(n=this.context.pop()),this.exprAllowed=!n.isExpr},d.braceL.updateContext=function(n){this.context.push(this.braceIsBlock(n)?de.b_stat:de.b_expr),this.exprAllowed=!0},d.dollarBraceL.updateContext=function(){this.context.push(de.b_tmpl),this.exprAllowed=!0},d.parenL.updateContext=function(n){var u=n===d._if||n===d._for||n===d._with||n===d._while;this.context.push(u?de.p_stat:de.p_expr),this.exprAllowed=!0},d.incDec.updateContext=function(){},d._function.updateContext=d._class.updateContext=function(n){n.beforeExpr&&n!==d.semi&&n!==d._else&&!(n===d._return&&U.test(this.input.slice(this.lastTokEnd,this.start)))&&!((n===d.colon||n===d.braceL)&&this.curContext()===de.b_stat)?this.context.push(de.f_expr):this.context.push(de.f_stat),this.exprAllowed=!1},d.backQuote.updateContext=function(){this.curContext()===de.q_tmpl?this.context.pop():this.context.push(de.q_tmpl),this.exprAllowed=!1},d.star.updateContext=function(n){if(n===d._function){var u=this.context.length-1;this.context[u]===de.f_expr?this.context[u]=de.f_expr_gen:this.context[u]=de.f_gen}this.exprAllowed=!0},d.name.updateContext=function(n){var u=!1;this.options.ecmaVersion>=6&&n!==d.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(u=!0),this.exprAllowed=u};var ta="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",ia=ta+" Extended_Pictographic",nh=ia,sh={9:ta,10:ia,11:nh},ra="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",na="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",sa=na+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ah=sa+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",oh={9:na,10:sa,11:ah},aa={};function gn(n){var u=aa[n]={binary:ye(sh[n]+" "+ra),nonBinary:{General_Category:ye(ra),Script:ye(oh[n])}};u.nonBinary.Script_Extensions=u.nonBinary.Script,u.nonBinary.gc=u.nonBinary.General_Category,u.nonBinary.sc=u.nonBinary.Script,u.nonBinary.scx=u.nonBinary.Script_Extensions}gn(9),gn(10),gn(11);var Z=ve.prototype,Rt=function(u){this.parser=u,this.validFlags="gim"+(u.options.ecmaVersion>=6?"uy":"")+(u.options.ecmaVersion>=9?"s":""),this.unicodeProperties=aa[u.options.ecmaVersion>=11?11:u.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Rt.prototype.reset=function(u,f,b){var I=b.indexOf("u")!==-1;this.start=u|0,this.source=f+"",this.flags=b,this.switchU=I&&this.parser.options.ecmaVersion>=6,this.switchN=I&&this.parser.options.ecmaVersion>=9},Rt.prototype.raise=function(u){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+u)},Rt.prototype.at=function(u,f){f===void 0&&(f=!1);var b=this.source,I=b.length;if(u>=I)return-1;var N=b.charCodeAt(u);if(!(f||this.switchU)||N<=55295||N>=57344||u+1>=I)return N;var O=b.charCodeAt(u+1);return O>=56320&&O<=57343?(N<<10)+O-56613888:N},Rt.prototype.nextIndex=function(u,f){f===void 0&&(f=!1);var b=this.source,I=b.length;if(u>=I)return I;var N=b.charCodeAt(u),O;return!(f||this.switchU)||N<=55295||N>=57344||u+1>=I||(O=b.charCodeAt(u+1))<56320||O>57343?u+1:u+2},Rt.prototype.current=function(u){return u===void 0&&(u=!1),this.at(this.pos,u)},Rt.prototype.lookahead=function(u){return u===void 0&&(u=!1),this.at(this.nextIndex(this.pos,u),u)},Rt.prototype.advance=function(u){u===void 0&&(u=!1),this.pos=this.nextIndex(this.pos,u)},Rt.prototype.eat=function(u,f){return f===void 0&&(f=!1),this.current(f)===u?(this.advance(f),!0):!1};function cr(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}Z.validateRegExpFlags=function(n){for(var u=n.validFlags,f=n.flags,b=0;b<f.length;b++){var I=f.charAt(b);u.indexOf(I)===-1&&this.raise(n.start,"Invalid regular expression flag"),f.indexOf(I,b+1)>-1&&this.raise(n.start,"Duplicate regular expression flag")}},Z.validateRegExpPattern=function(n){this.regexp_pattern(n),!n.switchN&&this.options.ecmaVersion>=9&&n.groupNames.length>0&&(n.switchN=!0,this.regexp_pattern(n))},Z.regexp_pattern=function(n){n.pos=0,n.lastIntValue=0,n.lastStringValue="",n.lastAssertionIsQuantifiable=!1,n.numCapturingParens=0,n.maxBackReference=0,n.groupNames.length=0,n.backReferenceNames.length=0,this.regexp_disjunction(n),n.pos!==n.source.length&&(n.eat(41)&&n.raise("Unmatched ')'"),(n.eat(93)||n.eat(125))&&n.raise("Lone quantifier brackets")),n.maxBackReference>n.numCapturingParens&&n.raise("Invalid escape");for(var u=0,f=n.backReferenceNames;u<f.length;u+=1){var b=f[u];n.groupNames.indexOf(b)===-1&&n.raise("Invalid named capture referenced")}},Z.regexp_disjunction=function(n){for(this.regexp_alternative(n);n.eat(124);)this.regexp_alternative(n);this.regexp_eatQuantifier(n,!0)&&n.raise("Nothing to repeat"),n.eat(123)&&n.raise("Lone quantifier brackets")},Z.regexp_alternative=function(n){for(;n.pos<n.source.length&&this.regexp_eatTerm(n););},Z.regexp_eatTerm=function(n){return this.regexp_eatAssertion(n)?(n.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(n)&&n.switchU&&n.raise("Invalid quantifier"),!0):(n.switchU?this.regexp_eatAtom(n):this.regexp_eatExtendedAtom(n))?(this.regexp_eatQuantifier(n),!0):!1},Z.regexp_eatAssertion=function(n){var u=n.pos;if(n.lastAssertionIsQuantifiable=!1,n.eat(94)||n.eat(36))return!0;if(n.eat(92)){if(n.eat(66)||n.eat(98))return!0;n.pos=u}if(n.eat(40)&&n.eat(63)){var f=!1;if(this.options.ecmaVersion>=9&&(f=n.eat(60)),n.eat(61)||n.eat(33))return this.regexp_disjunction(n),n.eat(41)||n.raise("Unterminated group"),n.lastAssertionIsQuantifiable=!f,!0}return n.pos=u,!1},Z.regexp_eatQuantifier=function(n,u){return u===void 0&&(u=!1),this.regexp_eatQuantifierPrefix(n,u)?(n.eat(63),!0):!1},Z.regexp_eatQuantifierPrefix=function(n,u){return n.eat(42)||n.eat(43)||n.eat(63)||this.regexp_eatBracedQuantifier(n,u)},Z.regexp_eatBracedQuantifier=function(n,u){var f=n.pos;if(n.eat(123)){var b=0,I=-1;if(this.regexp_eatDecimalDigits(n)&&(b=n.lastIntValue,n.eat(44)&&this.regexp_eatDecimalDigits(n)&&(I=n.lastIntValue),n.eat(125)))return I!==-1&&I<b&&!u&&n.raise("numbers out of order in {} quantifier"),!0;n.switchU&&!u&&n.raise("Incomplete quantifier"),n.pos=f}return!1},Z.regexp_eatAtom=function(n){return this.regexp_eatPatternCharacters(n)||n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)},Z.regexp_eatReverseSolidusAtomEscape=function(n){var u=n.pos;if(n.eat(92)){if(this.regexp_eatAtomEscape(n))return!0;n.pos=u}return!1},Z.regexp_eatUncapturingGroup=function(n){var u=n.pos;if(n.eat(40)){if(n.eat(63)&&n.eat(58)){if(this.regexp_disjunction(n),n.eat(41))return!0;n.raise("Unterminated group")}n.pos=u}return!1},Z.regexp_eatCapturingGroup=function(n){if(n.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(n):n.current()===63&&n.raise("Invalid group"),this.regexp_disjunction(n),n.eat(41))return n.numCapturingParens+=1,!0;n.raise("Unterminated group")}return!1},Z.regexp_eatExtendedAtom=function(n){return n.eat(46)||this.regexp_eatReverseSolidusAtomEscape(n)||this.regexp_eatCharacterClass(n)||this.regexp_eatUncapturingGroup(n)||this.regexp_eatCapturingGroup(n)||this.regexp_eatInvalidBracedQuantifier(n)||this.regexp_eatExtendedPatternCharacter(n)},Z.regexp_eatInvalidBracedQuantifier=function(n){return this.regexp_eatBracedQuantifier(n,!0)&&n.raise("Nothing to repeat"),!1},Z.regexp_eatSyntaxCharacter=function(n){var u=n.current();return oa(u)?(n.lastIntValue=u,n.advance(),!0):!1};function oa(n){return n===36||n>=40&&n<=43||n===46||n===63||n>=91&&n<=94||n>=123&&n<=125}Z.regexp_eatPatternCharacters=function(n){for(var u=n.pos,f=0;(f=n.current())!==-1&&!oa(f);)n.advance();return n.pos!==u},Z.regexp_eatExtendedPatternCharacter=function(n){var u=n.current();return u!==-1&&u!==36&&!(u>=40&&u<=43)&&u!==46&&u!==63&&u!==91&&u!==94&&u!==124?(n.advance(),!0):!1},Z.regexp_groupSpecifier=function(n){if(n.eat(63)){if(this.regexp_eatGroupName(n)){n.groupNames.indexOf(n.lastStringValue)!==-1&&n.raise("Duplicate capture group name"),n.groupNames.push(n.lastStringValue);return}n.raise("Invalid group")}},Z.regexp_eatGroupName=function(n){if(n.lastStringValue="",n.eat(60)){if(this.regexp_eatRegExpIdentifierName(n)&&n.eat(62))return!0;n.raise("Invalid capture group name")}return!1},Z.regexp_eatRegExpIdentifierName=function(n){if(n.lastStringValue="",this.regexp_eatRegExpIdentifierStart(n)){for(n.lastStringValue+=cr(n.lastIntValue);this.regexp_eatRegExpIdentifierPart(n);)n.lastStringValue+=cr(n.lastIntValue);return!0}return!1},Z.regexp_eatRegExpIdentifierStart=function(n){var u=n.pos,f=this.options.ecmaVersion>=11,b=n.current(f);return n.advance(f),b===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,f)&&(b=n.lastIntValue),uh(b)?(n.lastIntValue=b,!0):(n.pos=u,!1)};function uh(n){return A(n,!0)||n===36||n===95}Z.regexp_eatRegExpIdentifierPart=function(n){var u=n.pos,f=this.options.ecmaVersion>=11,b=n.current(f);return n.advance(f),b===92&&this.regexp_eatRegExpUnicodeEscapeSequence(n,f)&&(b=n.lastIntValue),lh(b)?(n.lastIntValue=b,!0):(n.pos=u,!1)};function lh(n){return g(n,!0)||n===36||n===95||n===8204||n===8205}Z.regexp_eatAtomEscape=function(n){return this.regexp_eatBackReference(n)||this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)||n.switchN&&this.regexp_eatKGroupName(n)?!0:(n.switchU&&(n.current()===99&&n.raise("Invalid unicode escape"),n.raise("Invalid escape")),!1)},Z.regexp_eatBackReference=function(n){var u=n.pos;if(this.regexp_eatDecimalEscape(n)){var f=n.lastIntValue;if(n.switchU)return f>n.maxBackReference&&(n.maxBackReference=f),!0;if(f<=n.numCapturingParens)return!0;n.pos=u}return!1},Z.regexp_eatKGroupName=function(n){if(n.eat(107)){if(this.regexp_eatGroupName(n))return n.backReferenceNames.push(n.lastStringValue),!0;n.raise("Invalid named reference")}return!1},Z.regexp_eatCharacterEscape=function(n){return this.regexp_eatControlEscape(n)||this.regexp_eatCControlLetter(n)||this.regexp_eatZero(n)||this.regexp_eatHexEscapeSequence(n)||this.regexp_eatRegExpUnicodeEscapeSequence(n,!1)||!n.switchU&&this.regexp_eatLegacyOctalEscapeSequence(n)||this.regexp_eatIdentityEscape(n)},Z.regexp_eatCControlLetter=function(n){var u=n.pos;if(n.eat(99)){if(this.regexp_eatControlLetter(n))return!0;n.pos=u}return!1},Z.regexp_eatZero=function(n){return n.current()===48&&!hr(n.lookahead())?(n.lastIntValue=0,n.advance(),!0):!1},Z.regexp_eatControlEscape=function(n){var u=n.current();return u===116?(n.lastIntValue=9,n.advance(),!0):u===110?(n.lastIntValue=10,n.advance(),!0):u===118?(n.lastIntValue=11,n.advance(),!0):u===102?(n.lastIntValue=12,n.advance(),!0):u===114?(n.lastIntValue=13,n.advance(),!0):!1},Z.regexp_eatControlLetter=function(n){var u=n.current();return ua(u)?(n.lastIntValue=u%32,n.advance(),!0):!1};function ua(n){return n>=65&&n<=90||n>=97&&n<=122}Z.regexp_eatRegExpUnicodeEscapeSequence=function(n,u){u===void 0&&(u=!1);var f=n.pos,b=u||n.switchU;if(n.eat(117)){if(this.regexp_eatFixedHexDigits(n,4)){var I=n.lastIntValue;if(b&&I>=55296&&I<=56319){var N=n.pos;if(n.eat(92)&&n.eat(117)&&this.regexp_eatFixedHexDigits(n,4)){var O=n.lastIntValue;if(O>=56320&&O<=57343)return n.lastIntValue=(I-55296)*1024+(O-56320)+65536,!0}n.pos=N,n.lastIntValue=I}return!0}if(b&&n.eat(123)&&this.regexp_eatHexDigits(n)&&n.eat(125)&&ch(n.lastIntValue))return!0;b&&n.raise("Invalid unicode escape"),n.pos=f}return!1};function ch(n){return n>=0&&n<=1114111}Z.regexp_eatIdentityEscape=function(n){if(n.switchU)return this.regexp_eatSyntaxCharacter(n)?!0:n.eat(47)?(n.lastIntValue=47,!0):!1;var u=n.current();return u!==99&&(!n.switchN||u!==107)?(n.lastIntValue=u,n.advance(),!0):!1},Z.regexp_eatDecimalEscape=function(n){n.lastIntValue=0;var u=n.current();if(u>=49&&u<=57){do n.lastIntValue=10*n.lastIntValue+(u-48),n.advance();while((u=n.current())>=48&&u<=57);return!0}return!1},Z.regexp_eatCharacterClassEscape=function(n){var u=n.current();if(hh(u))return n.lastIntValue=-1,n.advance(),!0;if(n.switchU&&this.options.ecmaVersion>=9&&(u===80||u===112)){if(n.lastIntValue=-1,n.advance(),n.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(n)&&n.eat(125))return!0;n.raise("Invalid property name")}return!1};function hh(n){return n===100||n===68||n===115||n===83||n===119||n===87}Z.regexp_eatUnicodePropertyValueExpression=function(n){var u=n.pos;if(this.regexp_eatUnicodePropertyName(n)&&n.eat(61)){var f=n.lastStringValue;if(this.regexp_eatUnicodePropertyValue(n)){var b=n.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(n,f,b),!0}}if(n.pos=u,this.regexp_eatLoneUnicodePropertyNameOrValue(n)){var I=n.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(n,I),!0}return!1},Z.regexp_validateUnicodePropertyNameAndValue=function(n,u,f){q(n.unicodeProperties.nonBinary,u)||n.raise("Invalid property name"),n.unicodeProperties.nonBinary[u].test(f)||n.raise("Invalid property value")},Z.regexp_validateUnicodePropertyNameOrValue=function(n,u){n.unicodeProperties.binary.test(u)||n.raise("Invalid property name")},Z.regexp_eatUnicodePropertyName=function(n){var u=0;for(n.lastStringValue="";la(u=n.current());)n.lastStringValue+=cr(u),n.advance();return n.lastStringValue!==""};function la(n){return ua(n)||n===95}Z.regexp_eatUnicodePropertyValue=function(n){var u=0;for(n.lastStringValue="";ph(u=n.current());)n.lastStringValue+=cr(u),n.advance();return n.lastStringValue!==""};function ph(n){return la(n)||hr(n)}Z.regexp_eatLoneUnicodePropertyNameOrValue=function(n){return this.regexp_eatUnicodePropertyValue(n)},Z.regexp_eatCharacterClass=function(n){if(n.eat(91)){if(n.eat(94),this.regexp_classRanges(n),n.eat(93))return!0;n.raise("Unterminated character class")}return!1},Z.regexp_classRanges=function(n){for(;this.regexp_eatClassAtom(n);){var u=n.lastIntValue;if(n.eat(45)&&this.regexp_eatClassAtom(n)){var f=n.lastIntValue;n.switchU&&(u===-1||f===-1)&&n.raise("Invalid character class"),u!==-1&&f!==-1&&u>f&&n.raise("Range out of order in character class")}}},Z.regexp_eatClassAtom=function(n){var u=n.pos;if(n.eat(92)){if(this.regexp_eatClassEscape(n))return!0;if(n.switchU){var f=n.current();(f===99||pa(f))&&n.raise("Invalid class escape"),n.raise("Invalid escape")}n.pos=u}var b=n.current();return b!==93?(n.lastIntValue=b,n.advance(),!0):!1},Z.regexp_eatClassEscape=function(n){var u=n.pos;if(n.eat(98))return n.lastIntValue=8,!0;if(n.switchU&&n.eat(45))return n.lastIntValue=45,!0;if(!n.switchU&&n.eat(99)){if(this.regexp_eatClassControlLetter(n))return!0;n.pos=u}return this.regexp_eatCharacterClassEscape(n)||this.regexp_eatCharacterEscape(n)},Z.regexp_eatClassControlLetter=function(n){var u=n.current();return hr(u)||u===95?(n.lastIntValue=u%32,n.advance(),!0):!1},Z.regexp_eatHexEscapeSequence=function(n){var u=n.pos;if(n.eat(120)){if(this.regexp_eatFixedHexDigits(n,2))return!0;n.switchU&&n.raise("Invalid escape"),n.pos=u}return!1},Z.regexp_eatDecimalDigits=function(n){var u=n.pos,f=0;for(n.lastIntValue=0;hr(f=n.current());)n.lastIntValue=10*n.lastIntValue+(f-48),n.advance();return n.pos!==u};function hr(n){return n>=48&&n<=57}Z.regexp_eatHexDigits=function(n){var u=n.pos,f=0;for(n.lastIntValue=0;ca(f=n.current());)n.lastIntValue=16*n.lastIntValue+ha(f),n.advance();return n.pos!==u};function ca(n){return n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102}function ha(n){return n>=65&&n<=70?10+(n-65):n>=97&&n<=102?10+(n-97):n-48}Z.regexp_eatLegacyOctalEscapeSequence=function(n){if(this.regexp_eatOctalDigit(n)){var u=n.lastIntValue;if(this.regexp_eatOctalDigit(n)){var f=n.lastIntValue;u<=3&&this.regexp_eatOctalDigit(n)?n.lastIntValue=u*64+f*8+n.lastIntValue:n.lastIntValue=u*8+f}else n.lastIntValue=u;return!0}return!1},Z.regexp_eatOctalDigit=function(n){var u=n.current();return pa(u)?(n.lastIntValue=u-48,n.advance(),!0):(n.lastIntValue=0,!1)};function pa(n){return n>=48&&n<=55}Z.regexp_eatFixedHexDigits=function(n,u){var f=n.pos;n.lastIntValue=0;for(var b=0;b<u;++b){var I=n.current();if(!ca(I))return n.pos=f,!1;n.lastIntValue=16*n.lastIntValue+ha(I),n.advance()}return!0};var pr=function(u){this.type=u.type,this.value=u.value,this.start=u.start,this.end=u.end,u.options.locations&&(this.loc=new ae(u,u.startLoc,u.endLoc)),u.options.ranges&&(this.range=[u.start,u.end])},oe=ve.prototype;oe.next=function(n){!n&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new pr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},oe.getToken=function(){return this.next(),new pr(this)},typeof Symbol!="undefined"&&(oe[Symbol.iterator]=function(){var n=this;return{next:function(){var u=n.getToken();return{done:u.type===d.eof,value:u}}}}),oe.curContext=function(){return this.context[this.context.length-1]},oe.nextToken=function(){var n=this.curContext();if((!n||!n.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(d.eof);if(n.override)return n.override(this);this.readToken(this.fullCharCodeAtPos())},oe.readToken=function(n){return A(n,this.options.ecmaVersion>=6)||n===92?this.readWord():this.getTokenFromCode(n)},oe.fullCharCodeAtPos=function(){var n=this.input.charCodeAt(this.pos);if(n<=55295||n>=57344)return n;var u=this.input.charCodeAt(this.pos+1);return(n<<10)+u-56613888},oe.skipBlockComment=function(){var n=this.options.onComment&&this.curPosition(),u=this.pos,f=this.input.indexOf("*/",this.pos+=2);if(f===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=f+2,this.options.locations){C.lastIndex=u;for(var b;(b=C.exec(this.input))&&b.index<this.pos;)++this.curLine,this.lineStart=b.index+b[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(u+2,f),u,this.pos,n,this.curPosition())},oe.skipLineComment=function(n){for(var u=this.pos,f=this.options.onComment&&this.curPosition(),b=this.input.charCodeAt(this.pos+=n);this.pos<this.input.length&&!D(b);)b=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(u+n,this.pos),u,this.pos,f,this.curPosition())},oe.skipSpace=function(){e:for(;this.pos<this.input.length;){var n=this.input.charCodeAt(this.pos);switch(n){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,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(n>8&&n<14||n>=5760&&M.test(String.fromCharCode(n)))++this.pos;else break e}}},oe.finishToken=function(n,u){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var f=this.type;this.type=n,this.value=u,this.updateContext(f)},oe.readToken_dot=function(){var n=this.input.charCodeAt(this.pos+1);if(n>=48&&n<=57)return this.readNumber(!0);var u=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&n===46&&u===46?(this.pos+=3,this.finishToken(d.ellipsis)):(++this.pos,this.finishToken(d.dot))},oe.readToken_slash=function(){var n=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):n===61?this.finishOp(d.assign,2):this.finishOp(d.slash,1)},oe.readToken_mult_modulo_exp=function(n){var u=this.input.charCodeAt(this.pos+1),f=1,b=n===42?d.star:d.modulo;return this.options.ecmaVersion>=7&&n===42&&u===42&&(++f,b=d.starstar,u=this.input.charCodeAt(this.pos+2)),u===61?this.finishOp(d.assign,f+1):this.finishOp(b,f)},oe.readToken_pipe_amp=function(n){var u=this.input.charCodeAt(this.pos+1);if(u===n){if(this.options.ecmaVersion>=12){var f=this.input.charCodeAt(this.pos+2);if(f===61)return this.finishOp(d.assign,3)}return this.finishOp(n===124?d.logicalOR:d.logicalAND,2)}return u===61?this.finishOp(d.assign,2):this.finishOp(n===124?d.bitwiseOR:d.bitwiseAND,1)},oe.readToken_caret=function(){var n=this.input.charCodeAt(this.pos+1);return n===61?this.finishOp(d.assign,2):this.finishOp(d.bitwiseXOR,1)},oe.readToken_plus_min=function(n){var u=this.input.charCodeAt(this.pos+1);return u===n?u===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||U.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(d.incDec,2):u===61?this.finishOp(d.assign,2):this.finishOp(d.plusMin,1)},oe.readToken_lt_gt=function(n){var u=this.input.charCodeAt(this.pos+1),f=1;return u===n?(f=n===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+f)===61?this.finishOp(d.assign,f+1):this.finishOp(d.bitShift,f)):u===33&&n===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(u===61&&(f=2),this.finishOp(d.relational,f))},oe.readToken_eq_excl=function(n){var u=this.input.charCodeAt(this.pos+1);return u===61?this.finishOp(d.equality,this.input.charCodeAt(this.pos+2)===61?3:2):n===61&&u===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(d.arrow)):this.finishOp(n===61?d.eq:d.prefix,1)},oe.readToken_question=function(){var n=this.options.ecmaVersion;if(n>=11){var u=this.input.charCodeAt(this.pos+1);if(u===46){var f=this.input.charCodeAt(this.pos+2);if(f<48||f>57)return this.finishOp(d.questionDot,2)}if(u===63){if(n>=12){var b=this.input.charCodeAt(this.pos+2);if(b===61)return this.finishOp(d.assign,3)}return this.finishOp(d.coalesce,2)}}return this.finishOp(d.question,1)},oe.getTokenFromCode=function(n){switch(n){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(d.parenL);case 41:return++this.pos,this.finishToken(d.parenR);case 59:return++this.pos,this.finishToken(d.semi);case 44:return++this.pos,this.finishToken(d.comma);case 91:return++this.pos,this.finishToken(d.bracketL);case 93:return++this.pos,this.finishToken(d.bracketR);case 123:return++this.pos,this.finishToken(d.braceL);case 125:return++this.pos,this.finishToken(d.braceR);case 58:return++this.pos,this.finishToken(d.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(d.backQuote);case 48:var u=this.input.charCodeAt(this.pos+1);if(u===120||u===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(u===111||u===79)return this.readRadixNumber(8);if(u===98||u===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(!1);case 34:case 39:return this.readString(n);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(n);case 124:case 38:return this.readToken_pipe_amp(n);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(n);case 60:case 62:return this.readToken_lt_gt(n);case 61:case 33:return this.readToken_eq_excl(n);case 63:return this.readToken_question();case 126:return this.finishOp(d.prefix,1)}this.raise(this.pos,"Unexpected character '"+yn(n)+"'")},oe.finishOp=function(n,u){var f=this.input.slice(this.pos,this.pos+u);return this.pos+=u,this.finishToken(n,f)},oe.readRegexp=function(){for(var n,u,f=this.pos;;){this.pos>=this.input.length&&this.raise(f,"Unterminated regular expression");var b=this.input.charAt(this.pos);if(U.test(b)&&this.raise(f,"Unterminated regular expression"),n)n=!1;else{if(b==="[")u=!0;else if(b==="]"&&u)u=!1;else if(b==="/"&&!u)break;n=b==="\\"}++this.pos}var I=this.input.slice(f,this.pos);++this.pos;var N=this.pos,O=this.readWord1();this.containsEsc&&this.unexpected(N);var X=this.regexpState||(this.regexpState=new Rt(this));X.reset(f,I,O),this.validateRegExpFlags(X),this.validateRegExpPattern(X);var Q=null;try{Q=new RegExp(I,O)}catch(ce){}return this.finishToken(d.regexp,{pattern:I,flags:O,value:Q})},oe.readInt=function(n,u,f){for(var b=this.options.ecmaVersion>=12&&u===void 0,I=f&&this.input.charCodeAt(this.pos)===48,N=this.pos,O=0,X=0,Q=0,ce=u??Infinity;Q<ce;++Q,++this.pos){var Ae=this.input.charCodeAt(this.pos),ze=void 0;if(b&&Ae===95){I&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),X===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Q===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),X=Ae;continue}if(Ae>=97?ze=Ae-97+10:Ae>=65?ze=Ae-65+10:Ae>=48&&Ae<=57?ze=Ae-48:ze=Infinity,ze>=n)break;X=Ae,O=O*n+ze}return b&&X===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===N||u!=null&&this.pos-N!==u?null:O};function fh(n,u){return u?parseInt(n,8):parseFloat(n.replace(/_/g,""))}function fa(n){return typeof BigInt!="function"?null:BigInt(n.replace(/_/g,""))}oe.readRadixNumber=function(n){var u=this.pos;this.pos+=2;var f=this.readInt(n);return f==null&&this.raise(this.start+2,"Expected number in radix "+n),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(f=fa(this.input.slice(u,this.pos)),++this.pos):A(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(d.num,f)},oe.readNumber=function(n){var u=this.pos;!n&&this.readInt(10,void 0,!0)===null&&this.raise(u,"Invalid number");var f=this.pos-u>=2&&this.input.charCodeAt(u)===48;f&&this.strict&&this.raise(u,"Invalid number");var b=this.input.charCodeAt(this.pos);if(!f&&!n&&this.options.ecmaVersion>=11&&b===110){var I=fa(this.input.slice(u,this.pos));return++this.pos,A(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(d.num,I)}f&&/[89]/.test(this.input.slice(u,this.pos))&&(f=!1),b===46&&!f&&(++this.pos,this.readInt(10),b=this.input.charCodeAt(this.pos)),(b===69||b===101)&&!f&&(b=this.input.charCodeAt(++this.pos),(b===43||b===45)&&++this.pos,this.readInt(10)===null&&this.raise(u,"Invalid number")),A(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var N=fh(this.input.slice(u,this.pos),f);return this.finishToken(d.num,N)},oe.readCodePoint=function(){var n=this.input.charCodeAt(this.pos),u;if(n===123){this.options.ecmaVersion<6&&this.unexpected();var f=++this.pos;u=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,u>1114111&&this.invalidStringToken(f,"Code point out of bounds")}else u=this.readHexChar(4);return u};function yn(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}oe.readString=function(n){for(var u="",f=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var b=this.input.charCodeAt(this.pos);if(b===n)break;b===92?(u+=this.input.slice(f,this.pos),u+=this.readEscapedChar(!1),f=this.pos):(D(b,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return u+=this.input.slice(f,this.pos++),this.finishToken(d.string,u)};var ma={};oe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(n){if(n===ma)this.readInvalidTemplateToken();else throw n}this.inTemplateElement=!1},oe.invalidStringToken=function(n,u){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ma;this.raise(n,u)},oe.readTmplToken=function(){for(var n="",u=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var f=this.input.charCodeAt(this.pos);if(f===96||f===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===d.template||this.type===d.invalidTemplate)?f===36?(this.pos+=2,this.finishToken(d.dollarBraceL)):(++this.pos,this.finishToken(d.backQuote)):(n+=this.input.slice(u,this.pos),this.finishToken(d.template,n));if(f===92)n+=this.input.slice(u,this.pos),n+=this.readEscapedChar(!0),u=this.pos;else if(D(f)){switch(n+=this.input.slice(u,this.pos),++this.pos,f){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:n+=`
|
|
4
|
+
`;break;default:n+=String.fromCharCode(f);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),u=this.pos}else++this.pos}},oe.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(d.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},oe.readEscapedChar=function(n){var u=this.input.charCodeAt(++this.pos);switch(++this.pos,u){case 110:return`
|
|
5
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return yn(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(n){var f=this.pos-1;return this.invalidStringToken(f,"Invalid escape sequence in template string"),null}default:if(u>=48&&u<=55){var b=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],I=parseInt(b,8);return I>255&&(b=b.slice(0,-1),I=parseInt(b,8)),this.pos+=b.length-1,u=this.input.charCodeAt(this.pos),(b!=="0"||u===56||u===57)&&(this.strict||n)&&this.invalidStringToken(this.pos-1-b.length,n?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(I)}return D(u)?"":String.fromCharCode(u)}},oe.readHexChar=function(n){var u=this.pos,f=this.readInt(16,n);return f===null&&this.invalidStringToken(u,"Bad character escape sequence"),f},oe.readWord1=function(){this.containsEsc=!1;for(var n="",u=!0,f=this.pos,b=this.options.ecmaVersion>=6;this.pos<this.input.length;){var I=this.fullCharCodeAtPos();if(g(I,b))this.pos+=I<=65535?1:2;else if(I===92){this.containsEsc=!0,n+=this.input.slice(f,this.pos);var N=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var O=this.readCodePoint();(u?A:g)(O,b)||this.invalidStringToken(N,"Invalid Unicode escape"),n+=yn(O),f=this.pos}else break;u=!1}return n+this.input.slice(f,this.pos)},oe.readWord=function(){var n=this.readWord1(),u=d.name;return this.keywords.test(n)&&(u=V[n]),this.finishToken(u,n)};var da="7.4.1";ve.acorn={Parser:ve,version:da,defaultOptions:Se,Position:ke,SourceLocation:ae,getLineInfo:be,Node:gt,TokenType:E,tokTypes:d,keywordTypes:V,TokContext:Ue,tokContexts:de,isIdentifierChar:g,isIdentifierStart:A,Token:pr,isNewLine:D,lineBreak:U,lineBreakG:C,nonASCIIwhitespace:M};function mh(n,u){return ve.parse(n,u)}function dh(n,u,f){return ve.parseExpressionAt(n,u,f)}function xh(n,u){return ve.tokenizer(n,u)}e.Node=gt,e.Parser=ve,e.Position=ke,e.SourceLocation=ae,e.TokContext=Ue,e.Token=pr,e.TokenType=E,e.defaultOptions=Se,e.getLineInfo=be,e.isIdentifierChar=g,e.isIdentifierStart=A,e.isNewLine=D,e.keywordTypes=V,e.lineBreak=U,e.lineBreakG=C,e.nonASCIIwhitespace=M,e.parse=mh,e.parseExpressionAt=dh,e.tokContexts=de,e.tokTypes=d,e.tokenizer=xh,e.version=da,Object.defineProperty(e,"__esModule",{value:!0})})});var iu=yt((lx,Qn)=>{h();p();"use strict";var mf=Zo(),df=/^[\da-fA-F]+$/,xf=/^\d+$/,eu=new WeakMap;function tu(e){e=e.Parser.acorn||e;let t=eu.get(e);if(!t){let i=e.tokTypes,r=e.TokContext,s=e.TokenType,a=new r("<tag",!1),o=new r("</tag",!1),l=new r("<tag>...</tag>",!0,!0),c={tc_oTag:a,tc_cTag:o,tc_expr:l},m={jsxName:new s("jsxName"),jsxText:new s("jsxText",{beforeExpr:!0}),jsxTagStart:new s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new s("jsxTagEnd")};m.jsxTagStart.updateContext=function(){this.context.push(l),this.context.push(a),this.exprAllowed=!1},m.jsxTagEnd.updateContext=function(x){let w=this.context.pop();w===a&&x===i.slash||w===o?(this.context.pop(),this.exprAllowed=this.curContext()===l):this.exprAllowed=!0},t={tokContexts:c,tokTypes:m},eu.set(e,t)}return t}function Gi(e){if(!e)return e;if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return Gi(e.object)+"."+Gi(e.property)}Qn.exports=function(e){return e=e||{},function(t){return gf({allowNamespaces:e.allowNamespaces!==!1,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}};Object.defineProperty(Qn.exports,"tokTypes",{get:function(){return tu(Yn()).tokTypes},configurable:!0,enumerable:!0});function gf(e,t){let i=t.acorn||Yn(),r=tu(i),s=i.tokTypes,a=r.tokTypes,o=i.tokContexts,l=r.tokContexts.tc_oTag,c=r.tokContexts.tc_cTag,m=r.tokContexts.tc_expr,x=i.isNewLine,w=i.isIdentifierStart,A=i.isIdentifierChar;return class extends t{static get acornJsx(){return r}jsx_readToken(){let g="",E=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let S=this.input.charCodeAt(this.pos);switch(S){case 60:case 123:return this.pos===this.start?S===60&&this.exprAllowed?(++this.pos,this.finishToken(a.jsxTagStart)):this.getTokenFromCode(S):(g+=this.input.slice(E,this.pos),this.finishToken(a.jsxText,g));case 38:g+=this.input.slice(E,this.pos),g+=this.jsx_readEntity(),E=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(S===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:x(S)?(g+=this.input.slice(E,this.pos),g+=this.jsx_readNewLine(!0),E=this.pos):++this.pos}}}jsx_readNewLine(g){let E=this.input.charCodeAt(this.pos),S;return++this.pos,E===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,S=g?`
|
|
6
6
|
`:`\r
|
|
7
|
-
`):
|
|
8
|
-
`,Fc="/",Tc="*",mi="",sd="comment",ad="declaration";_c.exports=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var i=1,r=1;function s(_){var F=_.match(K0);F&&(i+=F.length);var T=_.lastIndexOf(nd);r=~T?_.length-T:r+_.length}function a(){var _={line:i,column:r};return function(F){return F.position=new o(_),x(),F}}function o(_){this.start=_,this.end={line:i,column:r},this.source=t.source}o.prototype.content=e;var l=[];function c(_){var F=new Error(t.source+":"+i+":"+r+": "+_);if(F.reason=_,F.filename=t.source,F.line=i,F.column=r,F.source=e,t.silent)l.push(F);else throw F}function d(_){var F=_.exec(e);if(!!F){var T=F[0];return s(T),e=e.slice(T.length),F}}function x(){d(Z0)}function k(_){var F;for(_=_||[];F=C();)F!==!1&&_.push(F);return _}function C(){var _=a();if(!(Fc!=e.charAt(0)||Tc!=e.charAt(1))){for(var F=2;mi!=e.charAt(F)&&(Tc!=e.charAt(F)||Fc!=e.charAt(F+1));)++F;if(F+=2,mi===e.charAt(F-1))return c("End of comment missing");var T=e.slice(2,F-2);return r+=2,s(T),e=e.slice(F),r+=2,_({type:sd,comment:T})}}function g(){var _=a(),F=d($0);if(!!F){if(C(),!d(ed))return c("property missing ':'");var T=d(td),N=_({type:ad,property:Pc(F[0].replace(Ic,mi)),value:T?Pc(T[0].replace(Ic,mi)):mi});return d(id),N}}function E(){var _=[];k(_);for(var F;F=g();)F!==!1&&(_.push(F),k(_));return _}return x(),E()};function Pc(e){return e?e.replace(rd,mi):mi}});var Dc=yt((jE,Lc)=>{h();p();var od=Bc();function ud(e,t){var i=null;if(!e||typeof e!="string")return i;for(var r,s=od(e),a=typeof t=="function",o,l,c=0,d=s.length;c<d;c++)r=s[c],o=r.property,l=r.value,a?t(o,l,r):l&&(i||(i={}),i[o]=l);return i}Lc.exports=ud});var Yc=yt((bC,Gc)=>{Gc.exports=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"]});var Kc=yt((vC,Qc)=>{h();p();"use strict";Qc.exports=Yc()});h();p();h();p();h();p();h();p();h();p();h();p();function wn(e){if(e)throw e}var io=Tt(Oa()),Sn=Tt(Ha());h();p();function Vi(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}h();p();function Wa(){let e=[],t={run:i,use:r};return t;function i(...s){let a=-1,o=s.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);l(null,...s);function l(c,...d){let x=e[++a],k=-1;if(c){o(c);return}for(;++k<s.length;)(d[k]===null||d[k]===void 0)&&(d[k]=s[k]);s=d,x?Cp(x,l)(...d):o(null,...d)}}function r(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function Cp(e,t){let i;return r;function r(...o){let l=e.length>o.length,c;l&&o.push(s);try{c=e(...o)}catch(d){let x=d;if(l&&i)throw x;return s(x)}l||(c instanceof Promise?c.then(a,s):c instanceof Error?s(c):a(c))}function s(o,...l){i||(i=!0,t(o,...l))}function a(o){s(null,o)}}h();p();h();p();var eo=Tt(Ya());h();p();h();p();var Ei={}.hasOwnProperty;function Ve(e){return!e||typeof e!="object"?"":Ei.call(e,"position")||Ei.call(e,"type")?Qa(e.position):Ei.call(e,"start")||Ei.call(e,"end")?Qa(e):Ei.call(e,"line")||Ei.call(e,"column")?kn(e):""}function kn(e){return Ka(e&&e.line)+":"+Ka(e&&e.column)}function Qa(e){return kn(e&&e.start)+"-"+kn(e&&e.end)}function Ka(e){return e&&typeof e=="number"?e:1}var ue=class extends Error{constructor(t,i,r){var s=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}},o;super();typeof i=="string"&&(r=i,i=null),typeof r=="string"&&(o=r.indexOf(":"),o===-1?s[1]=r:(s[0]=r.slice(0,o),s[1]=r.slice(o+1))),i&&("type"in i||"position"in i?i.position&&(a=i.position):"start"in i||"end"in i?a=i:("line"in i||"column"in i)&&(a.start=i)),this.name=Ve(i)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack=typeof t=="object"?t.stack:"",this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.source=s[0],this.ruleId=s[1],this.position=a,this.actual,this.expected,this.file,this.url,this.note}};ue.prototype.file="";ue.prototype.name="";ue.prototype.reason="";ue.prototype.message="";ue.prototype.stack="";ue.prototype.fatal=null;ue.prototype.column=null;ue.prototype.line=null;ue.prototype.source=null;ue.prototype.ruleId=null;ue.prototype.position=null;h();p();var bt={basename:Ap,dirname:Sp,extname:_p,join:Ip,sep:"/"};function Ap(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Mi(e);let i=0,r=-1,s=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.charCodeAt(s)===47){if(a){i=s+1;break}}else r<0&&(a=!0,r=s+1);return r<0?"":e.slice(i,r)}if(t===e)return"";let o=-1,l=t.length-1;for(;s--;)if(e.charCodeAt(s)===47){if(a){i=s+1;break}}else o<0&&(a=!0,o=s+1),l>-1&&(e.charCodeAt(s)===t.charCodeAt(l--)?l<0&&(r=s):(l=-1,r=o));return i===r?r=o:r<0&&(r=e.length),e.slice(i,r)}function Sp(e){if(Mi(e),e.length===0)return".";let t=-1,i=e.length,r;for(;--i;)if(e.charCodeAt(i)===47){if(r){t=i;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function _p(e){Mi(e);let t=e.length,i=-1,r=0,s=-1,a=0,o;for(;t--;){let l=e.charCodeAt(t);if(l===47){if(o){r=t+1;break}continue}i<0&&(o=!0,i=t+1),l===46?s<0?s=t:a!==1&&(a=1):s>-1&&(a=-1)}return s<0||i<0||a===0||a===1&&s===i-1&&s===r+1?"":e.slice(s,i)}function Ip(...e){let t=-1,i;for(;++t<e.length;)Mi(e[t]),e[t]&&(i=i===void 0?e[t]:i+"/"+e[t]);return i===void 0?".":Fp(i)}function Fp(e){Mi(e);let t=e.charCodeAt(0)===47,i=Tp(e,!t);return i.length===0&&!t&&(i="."),i.length>0&&e.charCodeAt(e.length-1)===47&&(i+="/"),t?"/"+i:i}function Tp(e,t){let i="",r=0,s=-1,a=0,o=-1,l,c;for(;++o<=e.length;){if(o<e.length)l=e.charCodeAt(o);else{if(l===47)break;l=47}if(l===47){if(!(s===o-1||a===1))if(s!==o-1&&a===2){if(i.length<2||r!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){if(c=i.lastIndexOf("/"),c!==i.length-1){c<0?(i="",r=0):(i=i.slice(0,c),r=i.length-1-i.lastIndexOf("/")),s=o,a=0;continue}}else if(i.length>0){i="",r=0,s=o,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",r=2)}else i.length>0?i+="/"+e.slice(s+1,o):i=e.slice(s+1,o),r=o-s-1;s=o,a=0}else l===46&&a>-1?a++:a=-1}return i}function Mi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}h();p();var Za={cwd:Pp};function Pp(){return"/"}h();p();h();p();function Ci(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function $a(e){if(typeof e=="string")e=new URL(e);else if(!Ci(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Bp(e)}function Bp(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let t=e.pathname,i=-1;for(;++i<t.length;)if(t.charCodeAt(i)===37&&t.charCodeAt(i+1)===50){let r=t.charCodeAt(i+2);if(r===70||r===102){let s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}var En=["history","path","basename","stem","extname","dirname"],Ai=class{constructor(t){let i;t?typeof t=="string"||(0,eo.default)(t)?i={value:t}:Ci(t)?i={path:t}:i=t:i={},this.data={},this.messages=[],this.history=[],this.cwd=Za.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<En.length;){let a=En[r];a in i&&i[a]!==void 0&&(this[a]=a==="history"?[...i[a]]:i[a])}let s;for(s in i)En.includes(s)||(this[s]=i[s])}get path(){return this.history[this.history.length-1]}set path(t){Ci(t)&&(t=$a(t)),An(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?bt.dirname(this.path):void 0}set dirname(t){to(this.basename,"dirname"),this.path=bt.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?bt.basename(this.path):void 0}set basename(t){An(t,"basename"),Cn(t,"basename"),this.path=bt.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?bt.extname(this.path):void 0}set extname(t){if(Cn(t,"extname"),to(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=bt.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?bt.basename(this.path,this.extname):void 0}set stem(t){An(t,"stem"),Cn(t,"stem"),this.path=bt.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t)}message(t,i,r){let s=new ue(t,i,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(t,i,r){let s=this.message(t,i,r);return s.fatal=null,s}fail(t,i,r){let s=this.message(t,i,r);throw s.fatal=!0,s}};function Cn(e,t){if(e&&e.includes(bt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+bt.sep+"`")}function An(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function to(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var _n=ro().freeze(),no={}.hasOwnProperty;function ro(){let e=Wa(),t=[],i={},r,s=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=l,a.attachers=t,a.use=c,a.parse=d,a.stringify=x,a.run=k,a.runSync=C,a.process=g,a.processSync=E,a;function a(){let _=ro(),F=-1;for(;++F<t.length;)_.use(...t[F]);return _.data((0,Sn.default)(!0,{},i)),_}function o(_,F){return typeof _=="string"?arguments.length===2?(Tn("data",r),i[_]=F,a):no.call(i,_)&&i[_]||null:_?(Tn("data",r),i=_,a):i}function l(){if(r)return a;for(;++s<t.length;){let[_,...F]=t[s];if(F[0]===!1)continue;F[0]===!0&&(F[1]=void 0);let T=_.call(a,...F);typeof T=="function"&&e.use(T)}return r=!0,s=Number.POSITIVE_INFINITY,a}function c(_,...F){let T;if(Tn("use",r),_!=null)if(typeof _=="function")V(_,...F);else if(typeof _=="object")Array.isArray(_)?f(_):L(_);else throw new TypeError("Expected usable value, not `"+_+"`");return T&&(i.settings=Object.assign(i.settings||{},T)),a;function N(A){if(typeof A=="function")V(A);else if(typeof A=="object")if(Array.isArray(A)){let[O,...j]=A;V(O,...j)}else L(A);else throw new TypeError("Expected usable value, not `"+A+"`")}function L(A){f(A.plugins),A.settings&&(T=Object.assign(T||{},A.settings))}function f(A){let O=-1;if(A!=null)if(Array.isArray(A))for(;++O<A.length;){let j=A[O];N(j)}else throw new TypeError("Expected a list of plugins, not `"+A+"`")}function V(A,O){let j=-1,U;for(;++j<t.length;)if(t[j][0]===A){U=t[j];break}U?(Vi(U[1])&&Vi(O)&&(O=(0,Sn.default)(!0,U[1],O)),U[1]=O):t.push([...arguments])}}function d(_){a.freeze();let F=ji(_),T=a.Parser;return In("parse",T),so(T,"parse")?new T(String(F),F).parse():T(String(F),F)}function x(_,F){a.freeze();let T=ji(F),N=a.Compiler;return Fn("stringify",N),ao(_),so(N,"compile")?new N(_,T).compile():N(_,T)}function k(_,F,T){if(ao(_),a.freeze(),!T&&typeof F=="function"&&(T=F,F=void 0),!T)return new Promise(N);N(null,T);function N(L,f){e.run(_,ji(F),V);function V(A,O,j){O=O||_,A?f(A):L?L(O):T(null,O,j)}}}function C(_,F){let T,N;return a.run(_,F,L),oo("runSync","run",N),T;function L(f,V){wn(f),T=V,N=!0}}function g(_,F){if(a.freeze(),In("process",a.Parser),Fn("process",a.Compiler),!F)return new Promise(T);T(null,F);function T(N,L){let f=ji(_);a.run(a.parse(f),f,(A,O,j)=>{if(A||!O||!j)V(A);else{let U=a.stringify(O,j);U==null||(Lp(U)?j.value=U:j.result=U),V(A,j)}});function V(A,O){A||!O?L(A):N?N(O):F(null,O)}}}function E(_){let F;a.freeze(),In("processSync",a.Parser),Fn("processSync",a.Compiler);let T=ji(_);return a.process(T,N),oo("processSync","process",F),T;function N(L){F=!0,wn(L)}}}function so(e,t){return typeof e=="function"&&e.prototype&&(Dp(e.prototype)||t in e.prototype)}function Dp(e){let t;for(t in e)if(no.call(e,t))return!0;return!1}function In(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Fn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Tn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ao(e){if(!Vi(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function oo(e,t,i){if(!i)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ji(e){return Np(e)?e:new Ai(e)}function Np(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Lp(e){return typeof e=="string"||(0,io.default)(e)}h();p();h();p();h();p();var Pn={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"},Bn="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",Rp={5:Bn,"5module":Bn+" export import",6:Bn+" const class extends export import super"},Op=/^in(stanceof)?$/,Ln="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u09FC\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",uo="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Vp=new RegExp("["+Ln+"]"),Mp=new RegExp("["+Ln+uo+"]");Ln=uo=null;var lo=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,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,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,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,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],jp=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,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,71,5,2,1,3,3,2,0,2,1,13,9,120,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Dn(e,t){for(var i=65536,r=0;r<t.length;r+=2){if(i+=t[r],i>e)return!1;if(i+=t[r+1],i>=e)return!0}}function Mt(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Vp.test(String.fromCharCode(e)):t===!1?!1:Dn(e,lo)}function Si(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Mp.test(String.fromCharCode(e)):t===!1?!1:Dn(e,lo)||Dn(e,jp)}var fe=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function ct(e,t){return new fe(e,{beforeExpr:!0,binop:t})}var ht={beforeExpr:!0},et={startsExpr:!0},Nn={};function he(e,t){return t===void 0&&(t={}),t.keyword=e,Nn[e]=new fe(e,t)}var y={num:new fe("num",et),regexp:new fe("regexp",et),string:new fe("string",et),name:new fe("name",et),privateId:new fe("privateId",et),eof:new fe("eof"),bracketL:new fe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new fe("]"),braceL:new fe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new fe("}"),parenL:new fe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new fe(")"),comma:new fe(",",ht),semi:new fe(";",ht),colon:new fe(":",ht),dot:new fe("."),question:new fe("?",ht),questionDot:new fe("?."),arrow:new fe("=>",ht),template:new fe("template"),invalidTemplate:new fe("invalidTemplate"),ellipsis:new fe("...",ht),backQuote:new fe("`",et),dollarBraceL:new fe("${",{beforeExpr:!0,startsExpr:!0}),eq:new fe("=",{beforeExpr:!0,isAssign:!0}),assign:new fe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new fe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new fe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ct("||",1),logicalAND:ct("&&",2),bitwiseOR:ct("|",3),bitwiseXOR:ct("^",4),bitwiseAND:ct("&",5),equality:ct("==/!=/===/!==",6),relational:ct("</>/<=/>=",7),bitShift:ct("<</>>/>>>",8),plusMin:new fe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ct("%",10),star:ct("*",10),slash:ct("/",10),starstar:new fe("**",{beforeExpr:!0}),coalesce:ct("??",1),_break:he("break"),_case:he("case",ht),_catch:he("catch"),_continue:he("continue"),_debugger:he("debugger"),_default:he("default",ht),_do:he("do",{isLoop:!0,beforeExpr:!0}),_else:he("else",ht),_finally:he("finally"),_for:he("for",{isLoop:!0}),_function:he("function",et),_if:he("if"),_return:he("return",ht),_switch:he("switch"),_throw:he("throw",ht),_try:he("try"),_var:he("var"),_const:he("const"),_while:he("while",{isLoop:!0}),_with:he("with"),_new:he("new",{beforeExpr:!0,startsExpr:!0}),_this:he("this",et),_super:he("super",et),_class:he("class",et),_extends:he("extends",ht),_export:he("export"),_import:he("import",et),_null:he("null",et),_true:he("true",et),_false:he("false",et),_in:he("in",{beforeExpr:!0,binop:7}),_instanceof:he("instanceof",{beforeExpr:!0,binop:7}),_typeof:he("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:he("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:he("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},pt=/\r\n?|\n|\u2028|\u2029/,Up=new RegExp(pt.source,"g");function _i(e){return e===10||e===13||e===8232||e===8233}function co(e,t,i){i===void 0&&(i=e.length);for(var r=t;r<i;r++){var s=e.charCodeAt(r);if(_i(s))return r<i-1&&s===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var ho=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ft=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,po=Object.prototype,zp=po.hasOwnProperty,Jp=po.toString,Ui=Object.hasOwn||function(e,t){return zp.call(e,t)},fo=Array.isArray||function(e){return Jp.call(e)==="[object Array]"};function ai(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var qp=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,zi=function(t,i){this.line=t,this.column=i};zi.prototype.offset=function(t){return new zi(this.line,this.column+t)};var kr=function(t,i,r){this.start=i,this.end=r,t.sourceFile!==null&&(this.source=t.sourceFile)};function mo(e,t){for(var i=1,r=0;;){var s=co(e,r,t);if(s<0)return new zi(i,t-r);++i,r=s}}var Rn={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},xo=!1;function Hp(e){var t={};for(var i in Rn)t[i]=e&&Ui(e,i)?e[i]:Rn[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!xo&&typeof console=="object"&&console.warn&&(xo=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
9
|
-
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),
|
|
10
|
-
`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(pt).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.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=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ji),this.regexpState=null,this.privateNameStack=[]},Lt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Be.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Lt.inFunction.get=function(){return(this.currentVarScope().flags&Ii)>0};Lt.inGenerator.get=function(){return(this.currentVarScope().flags&go)>0&&!this.currentVarScope().inClassFieldInit};Lt.inAsync.get=function(){return(this.currentVarScope().flags&On)>0&&!this.currentVarScope().inClassFieldInit};Lt.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&qi)return!1;if(t.flags&Ii)return(t.flags&On)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Lt.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&Vn)>0||i||this.options.allowSuperOutsideMethod};Lt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&vo)>0};Lt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Lt.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(Ii|qi))>0||i};Lt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&qi)>0};Be.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var r=this,s=0;s<t.length;s++)r=t[s](r);return r};Be.parse=function(t,i){return new this(i,t).parse()};Be.parseExpressionAt=function(t,i,r){var s=new this(r,t,i);return s.nextToken(),s.parseExpression()};Be.tokenizer=function(t,i){return new this(i,t)};Object.defineProperties(Be.prototype,Lt);var We=Be.prototype,Wp=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;We.strictDirective=function(e){for(;;){ft.lastIndex=e,e+=ft.exec(this.input)[0].length;var t=Wp.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){ft.lastIndex=e+t[0].length;var i=ft.exec(this.input),r=i.index+i[0].length,s=this.input.charAt(r);return s===";"||s==="}"||pt.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,ft.lastIndex=e,e+=ft.exec(this.input)[0].length,this.input[e]===";"&&e++}};We.eat=function(e){return this.type===e?(this.next(),!0):!1};We.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc};We.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};We.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};We.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||pt.test(this.input.slice(this.lastTokEnd,this.start))};We.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};We.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()};We.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};We.expect=function(e){this.eat(e)||this.unexpected()};We.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Cr(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}We.checkPatternErrors=function(e,t){if(!!e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,"Parenthesized pattern")}};We.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,r=e.doubleProto;if(!t)return i>=0||r>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")};We.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};We.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var te=Be.prototype;te.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==y.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var r=0,s=Object.keys(this.undefinedExports);r<s.length;r+=1){var a=s[r];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var zn={kind:"loop"},Gp={kind:"switch"};te.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ft.lastIndex=this.pos;var t=ft.exec(this.input),i=this.pos+t[0].length,r=this.input.charCodeAt(i);if(r===91||r===92||r>55295&&r<56320)return!0;if(e)return!1;if(r===123)return!0;if(Mt(r,!0)){for(var s=i+1;Si(r=this.input.charCodeAt(s),!0);)++s;if(r===92||r>55295&&r<56320)return!0;var a=this.input.slice(i,s);if(!Op.test(a))return!0}return!1};te.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ft.lastIndex=this.pos;var e=ft.exec(this.input),t=this.pos+e[0].length,i;return!pt.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Si(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};te.parseStatement=function(e,t,i){var r=this.type,s=this.startNode(),a;switch(this.isLet(e)&&(r=y._var,a="let"),r){case y._break:case y._continue:return this.parseBreakContinueStatement(s,r.keyword);case y._debugger:return this.parseDebuggerStatement(s);case y._do:return this.parseDoStatement(s);case y._for:return this.parseForStatement(s);case y._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case y._class:return e&&this.unexpected(),this.parseClass(s,!0);case y._if:return this.parseIfStatement(s);case y._return:return this.parseReturnStatement(s);case y._switch:return this.parseSwitchStatement(s);case y._throw:return this.parseThrowStatement(s);case y._try:return this.parseTryStatement(s);case y._const:case y._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case y._while:return this.parseWhileStatement(s);case y._with:return this.parseWithStatement(s);case y.braceL:return this.parseBlock(!0,s);case y.semi:return this.parseEmptyStatement(s);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){ft.lastIndex=this.pos;var o=ft.exec(this.input),l=this.pos+o[0].length,c=this.input.charCodeAt(l);if(c===40||c===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===y._import?this.parseImport(s):this.parseExport(s,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var d=this.value,x=this.parseExpression();return r===y.name&&x.type==="Identifier"&&this.eat(y.colon)?this.parseLabeledStatement(s,d,x,e):this.parseExpressionStatement(s,x)}};te.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type!==y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var s=this.labels[r];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(i||s.kind==="loop")||e.label&&i))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")};te.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};te.parseDoStatement=function(e){return this.next(),this.labels.push(zn),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};te.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(zn),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===y._var||this.type===y._const||i){var r=this.startNode(),s=i?"let":this.value;return this.next(),this.parseVar(r,!0,s),this.finishNode(r,"VariableDeclaration"),(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var a=this.isContextual("let"),o=!1,l=new Cr,c=this.parseExpression(t>-1?"await":!0,l);return this.type===y._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&o&&this.raise(c.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(c,!1,l),this.checkLValPattern(c),this.parseForIn(e,c)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))};te.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,Xi|(i?0:Jn),!1,t)};te.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};te.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};te.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(Gp),this.enterScope(0);for(var t,i=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var r=this.type===y._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};te.parseThrowStatement=function(e){return this.next(),pt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Yp=[];te.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();if(this.next(),this.eat(y.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?bo:0),this.checkLValPattern(t.param,i?ko:jt),this.expect(y.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};te.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};te.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(zn),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};te.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};te.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};te.parseLabeledStatement=function(e,t,i,r){for(var s=0,a=this.labels;s<a.length;s+=1){var o=a[s];o.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===y._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var d=this.labels[c];if(d.statementStart===e.start)d.statementStart=this.start,d.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};te.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};te.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(y.braceL),e&&this.enterScope(0);this.type!==y.braceR;){var r=this.parseStatement(null);t.body.push(r)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};te.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};te.parseForIn=function(e,t){var i=this.type===y._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};te.parseVar=function(e,t,i){for(e.declarations=[],e.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(y.eq)?r.init=this.parseMaybeAssign(t):i==="const"&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():r.id.type!=="Identifier"&&!(t&&(this.type===y._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return e};te.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Un:jt,!1)};var Xi=1,Jn=2,Co=4;te.parseFunction=function(e,t,i,r,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===y.star&&t&Jn&&this.unexpected(),e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&Xi&&(e.id=t&Co&&this.type!==y.name?null:this.parseIdent(),e.id&&!(t&Jn)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Un:jt:wo));var a=this.yieldPos,o=this.awaitPos,l=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(jn(e.async,e.generator)),t&Xi||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,s),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=l,this.finishNode(e,t&Xi?"FunctionDeclaration":"FunctionExpression")};te.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};te.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(y.braceL);this.type!==y.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(s.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(a&&this.raise(o.start,"Duplicate constructor in the same class"),a=!0):o.key&&o.key.type==="PrivateIdentifier"&&Qp(r,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};te.parseClassElement=function(e){if(this.eat(y.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),r="",s=!1,a=!1,o="method",l=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===y.star?l=!0:r="static"}if(i.static=l,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===y.star)&&!this.canInsertSemicolon()?a=!0:r="async"),!r&&(t>=9||!a)&&this.eat(y.star)&&(s=!0),!r&&!a&&!s){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=c:r=c)}if(r?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=r,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===y.parenL||o!=="method"||s||a){var d=!i.static&&Ar(i,"constructor"),x=d&&e;d&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=d?"constructor":o,this.parseClassMethod(i,s,a,x)}else this.parseClassField(i);return i};te.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword};te.parseClassElementName=function(e){this.type===y.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};te.parseClassMethod=function(e,t,i,r){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),i&&this.raise(s.start,"Constructor can't be an async method")):e.static&&Ar(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,i,r);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};te.parseClassField=function(e){if(Ar(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ar(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};te.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(qi|Vn);this.type!==y.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};te.parseClassId=function(e,t){this.type===y.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,jt,!1)):(t===!0&&this.unexpected(),e.id=null)};te.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts(!1):null};te.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};te.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,i=e.used,r=this.privateNameStack.length,s=r===0?null:this.privateNameStack[r-1],a=0;a<i.length;++a){var o=i[a];Ui(t,o.name)||(s?s.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}};function Qp(e,t){var i=t.key.name,r=e[i],s="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(s=(t.static?"s":"i")+t.kind),r==="iget"&&s==="iset"||r==="iset"&&s==="iget"||r==="sget"&&s==="sset"||r==="sset"&&s==="sget"?(e[i]="true",!1):r?!0:(e[i]=s,!1)}function Ar(e,t){var i=e.computed,r=e.key;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}te.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(y._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===y._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next(),i&&this.next(),e.declaration=this.parseFunction(r,Xi|Co,!1,i)}else if(this.type===y._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a<o.length;a+=1){var l=o[a];this.checkUnreserved(l.local),this.checkLocalExport(l.local),l.local.type==="Literal"&&this.raise(l.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};te.checkExport=function(e,t,i){!e||(Ui(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)};te.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t.name,t.start);else if(i==="ObjectPattern")for(var r=0,s=t.properties;r<s.length;r+=1){var a=s[r];this.checkPatternExport(e,a)}else if(i==="ArrayPattern")for(var o=0,l=t.elements;o<l.length;o+=1){var c=l[o];c&&this.checkPatternExport(e,c)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"?this.checkPatternExport(e,t.argument):i==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};te.checkVariableExport=function(e,t){if(!!e)for(var i=0,r=t;i<r.length;i+=1){var s=r[i];this.checkPatternExport(e,s.id)}};te.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};te.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(i)i=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var r=this.startNode();r.local=this.parseModuleExportName(),r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local,this.checkExport(e,r.exported[r.exported.type==="Identifier"?"name":"value"],r.exported.start),t.push(this.finishNode(r,"ExportSpecifier"))}return t};te.parseImport=function(e){return this.next(),this.type===y.string?(e.specifiers=Yp,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};te.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===y.name){var i=this.startNode();if(i.local=this.parseIdent(),this.checkLValSimple(i.local,jt),e.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(y.comma))return e}if(this.type===y.star){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLValSimple(r.local,jt),e.push(this.finishNode(r,"ImportNamespaceSpecifier")),e}for(this.expect(y.braceL);!this.eat(y.braceR);){if(t)t=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var s=this.startNode();s.imported=this.parseModuleExportName(),this.eatContextual("as")?s.local=this.parseIdent():(this.checkUnreserved(s.imported),s.local=s.imported),this.checkLValSimple(s.local,jt),e.push(this.finishNode(s,"ImportSpecifier"))}return e};te.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var e=this.parseLiteral(this.value);return qp.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};te.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)};te.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 vt=Be.prototype;vt.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var r=0,s=e.properties;r<s.length;r+=1){var a=s[r];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":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",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":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);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e};vt.toAssignableList=function(e,t){for(var i=e.length,r=0;r<i;r++){var s=e[r];s&&this.toAssignable(s,t)}if(i){var a=e[i-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};vt.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};vt.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==y.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};vt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()};vt.parseBindingList=function(e,t,i){for(var r=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(y.comma),t&&this.type===y.comma)r.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===y.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o),r.push(o)}}return r};vt.parseBindingListItem=function(e){return e};vt.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return i;var r=this.startNodeAt(e,t);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")};vt.checkLValSimple=function(e,t,i){t===void 0&&(t=Er);var r=t!==Er;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(t===jt&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(Ui(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==Eo&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};vt.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=Er),e.type){case"ObjectPattern":for(var r=0,s=e.properties;r<s.length;r+=1){var a=s[r];this.checkLValInnerPattern(a,t,i)}break;case"ArrayPattern":for(var o=0,l=e.elements;o<l.length;o+=1){var c=l[o];c&&this.checkLValInnerPattern(c,t,i)}break;default:this.checkLValSimple(e,t,i)}};vt.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=Er),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var wt=function(t,i,r,s,a){this.token=t,this.isExpr=!!i,this.preserveSpace=!!r,this.override=s,this.generator=!!a},Fe={b_stat:new wt("{",!1),b_expr:new wt("{",!0),b_tmpl:new wt("${",!1),p_stat:new wt("(",!1),p_expr:new wt("(",!0),q_tmpl:new wt("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new wt("function",!1),f_expr:new wt("function",!0),f_expr_gen:new wt("function",!0,!1,null,!0),f_gen:new wt("function",!1,!1,null,!0)},Fi=Be.prototype;Fi.initialContext=function(){return[Fe.b_stat]};Fi.curContext=function(){return this.context[this.context.length-1]};Fi.braceIsBlock=function(e){var t=this.curContext();return t===Fe.f_expr||t===Fe.f_stat?!0:e===y.colon&&(t===Fe.b_stat||t===Fe.b_expr)?!t.isExpr:e===y._return||e===y.name&&this.exprAllowed?pt.test(this.input.slice(this.lastTokEnd,this.start)):e===y._else||e===y.semi||e===y.eof||e===y.parenR||e===y.arrow?!0:e===y.braceL?t===Fe.b_stat:e===y._var||e===y._const||e===y.name?!1:!this.exprAllowed};Fi.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!1};Fi.updateContext=function(e){var t,i=this.type;i.keyword&&e===y.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr};Fi.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Fe.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Fe.b_stat:Fe.b_expr),this.exprAllowed=!0};y.dollarBraceL.updateContext=function(){this.context.push(Fe.b_tmpl),this.exprAllowed=!0};y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?Fe.p_stat:Fe.p_expr),this.exprAllowed=!0};y.incDec.updateContext=function(){};y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y._else&&!(e===y.semi&&this.curContext()!==Fe.p_stat)&&!(e===y._return&&pt.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===y.colon||e===y.braceL)&&this.curContext()===Fe.b_stat)?this.context.push(Fe.f_expr):this.context.push(Fe.f_stat),this.exprAllowed=!1};y.backQuote.updateContext=function(){this.curContext()===Fe.q_tmpl?this.context.pop():this.context.push(Fe.q_tmpl),this.exprAllowed=!1};y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===Fe.f_expr?this.context[t]=Fe.f_expr_gen:this.context[t]=Fe.f_gen}this.exprAllowed=!0};y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ne=Be.prototype;ne.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,s;switch(r.type){case"Identifier":s=r.name;break;case"Literal":s=String(r.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){s==="__proto__"&&a==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}s="$"+s;var o=t[s];if(o){var l;a==="init"?l=this.strict&&o.init||o.get||o.set:l=o.init||o[a],l&&this.raiseRecoverable(r.start,"Redefinition of property")}else o=t[s]={init:!1,get:!1,set:!1};o[a]=!0}};ne.parseExpression=function(e,t){var i=this.start,r=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===y.comma){var a=this.startNodeAt(i,r);for(a.expressions=[s];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return s};ne.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,s=-1,a=-1,o=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Cr,r=!0);var l=this.start,c=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var d=this.parseMaybeConditional(e,t);if(i&&(d=i.call(this,d,l,c)),this.type.isAssign){var x=this.startNodeAt(l,c);return x.operator=this.value,this.type===y.eq&&(d=this.toAssignable(d,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=d.start&&(t.shorthandAssign=-1),this.type===y.eq?this.checkLValPattern(d):this.checkLValSimple(d),x.left=d,this.next(),x.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(x,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),d};ne.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(y.question)){var a=this.startNodeAt(i,r);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s};ne.parseExprOps=function(e,t){var i=this.start,r=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===i&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,i,r,-1,e)};ne.parseExprOp=function(e,t,i,r,s){var a=this.type.binop;if(a!=null&&(!s||this.type!==y._in)&&a>r){var o=this.type===y.logicalOR||this.type===y.logicalAND,l=this.type===y.coalesce;l&&(a=y.logicalAND.binop);var c=this.value;this.next();var d=this.start,x=this.startLoc,k=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),d,x,a,s),C=this.buildBinary(t,i,e,k,c,o||l);return(o&&this.type===y.coalesce||l&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(C,t,i,r,s)}return e};ne.buildBinary=function(e,t,i,r,s,a){r.type==="PrivateIdentifier"&&this.raise(r.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=i,o.operator=s,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")};ne.parseMaybeUnary=function(e,t,i,r){var s=this.start,a=this.startLoc,o;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(r),t=!0;else if(this.type.prefix){var l=this.startNode(),c=this.type===y.incDec;l.operator=this.value,l.prefix=!0,this.next(),l.argument=this.parseMaybeUnary(null,!0,c,r),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(l.argument):this.strict&&l.operator==="delete"&&l.argument.type==="Identifier"?this.raiseRecoverable(l.start,"Deleting local variable in strict mode"):l.operator==="delete"&&Ao(l.argument)?this.raiseRecoverable(l.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(l,c?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===y.privateId)(r||this.privateNameStack.length===0)&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==y._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var d=this.startNodeAt(s,a);d.operator=this.value,d.prefix=!1,d.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(d,"UpdateExpression")}}if(!i&&this.eat(y.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(s,a,o,this.parseMaybeUnary(null,!1,!1,r),"**",!1);else return o};function Ao(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&Ao(e.expression)}ne.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc,s=this.parseExprAtom(e,t);if(s.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return s;var a=this.parseSubscripts(s,i,r,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};ne.parseSubscripts=function(e,t,i,r,s){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,o=!1;;){var l=this.parseSubscript(e,t,i,r,a,o,s);if(l.optional&&(o=!0),l===e||l.type==="ArrowFunctionExpression"){if(o){var c=this.startNodeAt(t,i);c.expression=l,l=this.finishNode(c,"ChainExpression")}return l}e=l}};ne.parseSubscript=function(e,t,i,r,s,a,o){var l=this.options.ecmaVersion>=11,c=l&&this.eat(y.questionDot);r&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var d=this.eat(y.bracketL);if(d||c&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var x=this.startNodeAt(t,i);x.object=e,d?(x.property=this.parseExpression(),this.expect(y.bracketR)):this.type===y.privateId&&e.type!=="Super"?x.property=this.parsePrivateIdent():x.property=this.parseIdent(this.options.allowReserved!=="never"),x.computed=!!d,l&&(x.optional=c),e=this.finishNode(x,"MemberExpression")}else if(!r&&this.eat(y.parenL)){var k=new Cr,C=this.yieldPos,g=this.awaitPos,E=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var _=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,k);if(s&&!c&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(k,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=C,this.awaitPos=g,this.awaitIdentPos=E,this.parseArrowExpression(this.startNodeAt(t,i),_,!0,o);this.checkExpressionErrors(k,!0),this.yieldPos=C||this.yieldPos,this.awaitPos=g||this.awaitPos,this.awaitIdentPos=E||this.awaitIdentPos;var F=this.startNodeAt(t,i);F.callee=e,F.arguments=_,l&&(F.optional=c),e=this.finishNode(F,"CallExpression")}else if(this.type===y.backQuote){(c||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var T=this.startNodeAt(t,i);T.tag=e,T.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(T,"TaggedTemplateExpression")}return e};ne.parseExprAtom=function(e,t){this.type===y.slash&&this.readRegexp();var i,r=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(i,"Super");case y._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case y.name:var s=this.start,a=this.startLoc,o=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(y._function))return this.overrideContext(Fe.f_expr),this.parseFunction(this.startNodeAt(s,a),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(s,a),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===y.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,a),[l],!0,t)}return l;case y.regexp:var c=this.value;return i=this.parseLiteral(c.value),i.regex={pattern:c.pattern,flags:c.flags},i;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return i=this.startNode(),i.value=this.type===y._null?null:this.type===y._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case y.parenL:var d=this.start,x=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(x)&&(e.parenthesizedAssign=d),e.parenthesizedBind<0&&(e.parenthesizedBind=d)),x;case y.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case y.braceL:return this.overrideContext(Fe.b_expr),this.parseObj(!1,e);case y._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};ne.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case y.parenL:return this.parseDynamicImport(e);case y.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};ne.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(y.parenR)){var t=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};ne.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};ne.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};ne.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e};ne.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,l=this.startLoc,c=[],d=!0,x=!1,k=new Cr,C=this.yieldPos,g=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;)if(d?d=!1:this.expect(y.comma),a&&this.afterTrailingComma(y.parenR,!0)){x=!0;break}else if(this.type===y.ellipsis){E=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,k,this.parseParenItem));var _=this.lastTokEnd,F=this.lastTokEndLoc;if(this.expect(y.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(k,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=C,this.awaitPos=g,this.parseParenArrowList(i,r,c,t);(!c.length||x)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(k,!0),this.yieldPos=C||this.yieldPos,this.awaitPos=g||this.awaitPos,c.length>1?(s=this.startNodeAt(o,l),s.expressions=c,this.finishNodeAt(s,"SequenceExpression",_,F)):s=c[0]}else s=this.parseParenExpression();if(this.options.preserveParens){var T=this.startNodeAt(i,r);return T.expression=s,this.finishNode(T,"ParenthesizedExpression")}else return s};ne.parseParenItem=function(e){return e};ne.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,r)};var Kp=[];ne.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,s=this.startLoc,a=this.type===y._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,s,!0,!1),a&&e.callee.type==="ImportExpression"&&this.raise(r,"Cannot use new with import()"),this.eat(y.parenL)?e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Kp,this.finishNode(e,"NewExpression")};ne.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
11
|
-
`),cooked:this.value},this.next(),i.tail=this.type===y.backQuote,this.finishNode(i,"TemplateElement")};ne.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(i.quasis=[r];!r.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(y.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};ne.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!pt.test(this.input.slice(this.lastTokEnd,this.start))};ne.parseObj=function(e,t){var i=this.startNode(),r=!0,s={};for(i.properties=[],this.next();!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),i.properties.push(a)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ne.parseProperty=function(e,t){var i=this.startNode(),r,s,a,o;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(this.type===y.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),i.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(a=this.start,o=this.startLoc),e||(r=this.eat(y.star)));var l=this.containsEsc;return this.parsePropertyName(i),!e&&!l&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)?(s=!0,r=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(i,t)):s=!1,this.parsePropertyValue(i,e,r,s,a,o,t,l),this.finishNode(i,"Property")};ne.parsePropertyValue=function(e,t,i,r,s,a,o,l){if((i||r)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,r);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq){(i||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c=e.kind==="get"?0:1;if(e.value.params.length!==c){var d=e.value.start;e.kind==="get"?this.raiseRecoverable(d,"getter should have no params"):this.raiseRecoverable(d,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===y.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};ne.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ne.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};ne.parseMethod=function(e,t,i){var r=this.startNode(),s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(jn(t,r.generator)|Vn|(i?vo:0)),this.expect(y.parenL),r.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")};ne.parseArrowExpression=function(e,t,i,r){var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(jn(i,!1)|yo),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};ne.parseFunctionBody=function(e,t,i,r){var s=t&&this.type!==y.braceL,a=this.strict,o=!1;if(s)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var l=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||l)&&(o=this.strictDirective(this.end),o&&l&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,Eo),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()};ne.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var r=i[t];if(r.type!=="Identifier")return!1}return!0};ne.checkParams=function(e,t){for(var i=Object.create(null),r=0,s=e.params;r<s.length;r+=1){var a=s[r];this.checkLValInnerPattern(a,Un,t?null:i)}};ne.parseExprList=function(e,t,i,r){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(y.comma),t&&this.afterTrailingComma(e))break;var o=void 0;i&&this.type===y.comma?o=null:this.type===y.ellipsis?(o=this.parseSpread(r),r&&this.type===y.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),s.push(o)}return s};ne.checkUnreserved=function(e){var t=e.start,i=e.end,r=e.name;if(this.inGenerator&&r==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&r==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(r==="arguments"||r==="await")&&this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1)){var s=this.strict?this.reservedWordsStrict:this.reservedWords;s.test(r)&&(!this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))}};ne.parseIdent=function(e,t){var i=this.startNode();return this.type===y.name?i.name=this.value:this.type.keyword?(i.name=this.type.keyword,(i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(i,"Identifier"),e||(this.checkUnreserved(i),i.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i.start)),i};ne.parsePrivateIdent=function(){var e=this.startNode();return this.type===y.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e};ne.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(y.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};ne.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Sr=Be.prototype;Sr.raise=function(e,t){var i=mo(this.input,e);t+=" ("+i.line+":"+i.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=i,r.raisedAt=this.pos,r};Sr.raiseRecoverable=Sr.raise;Sr.curPosition=function(){if(this.options.locations)return new zi(this.curLine,this.pos-this.lineStart)};var Qt=Be.prototype,Zp=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Qt.enterScope=function(e){this.scopeStack.push(new Zp(e))};Qt.exitScope=function(){this.scopeStack.pop()};Qt.treatFunctionsAsVarInScope=function(e){return e.flags&Ii||!this.inModule&&e.flags&Ji};Qt.declareName=function(e,t,i){var r=!1;if(t===jt){var s=this.currentScope();r=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&Ji&&delete this.undefinedExports[e]}else if(t===ko){var a=this.currentScope();a.lexical.push(e)}else if(t===wo){var o=this.currentScope();this.treatFunctionsAsVar?r=o.lexical.indexOf(e)>-1:r=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var c=this.scopeStack[l];if(c.lexical.indexOf(e)>-1&&!(c.flags&bo&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){r=!0;break}if(c.var.push(e),this.inModule&&c.flags&Ji&&delete this.undefinedExports[e],c.flags&Mn)break}r&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};Qt.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Qt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Qt.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Mn)return t}};Qt.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Mn&&!(t.flags&yo))return t}};var _r=function(t,i,r){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new kr(t,r)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},Hi=Be.prototype;Hi.startNode=function(){return new _r(this,this.start,this.startLoc)};Hi.startNodeAt=function(e,t){return new _r(this,e,t)};function So(e,t,i,r){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=i),e}Hi.finishNode=function(e,t){return So.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Hi.finishNodeAt=function(e,t,i,r){return So.call(this,e,t,i,r)};Hi.copyNode=function(e){var t=new _r(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var _o="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",Io=_o+" Extended_Pictographic",Fo=Io,To=Fo+" EBase EComp EMod EPres ExtPict",$p=To,ef={9:_o,10:Io,11:Fo,12:To,13:$p},Po="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",Bo="Adlam Adlm 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 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",Lo=Bo+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Do=Lo+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",No=Do+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",tf=No+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",rf={9:Bo,10:Lo,11:Do,12:No,13:tf},Ro={};function nf(e){var t=Ro[e]={binary:ai(ef[e]+" "+Po),nonBinary:{General_Category:ai(Po),Script:ai(rf[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}for(var qn=0,Oo=[9,10,11,12,13];qn<Oo.length;qn+=1)Vo=Oo[qn],nf(Vo);var Vo,Z=Be.prototype,Ut=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":""),this.unicodeProperties=Ro[t.options.ecmaVersion>=13?13:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Ut.prototype.reset=function(t,i,r){var s=r.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=r,this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchN=s&&this.parser.options.ecmaVersion>=9};Ut.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ut.prototype.at=function(t,i){i===void 0&&(i=!1);var r=this.source,s=r.length;if(t>=s)return-1;var a=r.charCodeAt(t);if(!(i||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var o=r.charCodeAt(t+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a};Ut.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var r=this.source,s=r.length;if(t>=s)return s;var a=r.charCodeAt(t),o;return!(i||this.switchU)||a<=55295||a>=57344||t+1>=s||(o=r.charCodeAt(t+1))<56320||o>57343?t+1:t+2};Ut.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ut.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ut.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ut.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};function Ir(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}Z.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,r=0;r<i.length;r++){var s=i.charAt(r);t.indexOf(s)===-1&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(s,r+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}};Z.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};Z.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var r=i[t];e.groupNames.indexOf(r)===-1&&e.raise("Invalid named capture referenced")}};Z.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};Z.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};Z.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};Z.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1};Z.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};Z.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Z.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1};Z.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)};Z.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};Z.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};Z.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};Z.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)};Z.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};Z.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Mo(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Mo(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Z.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!Mo(i);)e.advance();return e.pos!==t};Z.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};Z.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Z.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};Z.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Ir(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Ir(e.lastIntValue);return!0}return!1};Z.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),sf(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function sf(e){return Mt(e,!0)||e===36||e===95}Z.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),af(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function af(e){return Si(e,!0)||e===36||e===95||e===8204||e===8205}Z.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};Z.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1};Z.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};Z.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Z.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};Z.regexp_eatZero=function(e){return e.current()===48&&!Fr(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};Z.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};Z.regexp_eatControlLetter=function(e){var t=e.current();return jo(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function jo(e){return e>=65&&e<=90||e>=97&&e<=122}Z.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(r&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(s-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&of(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function of(e){return e>=0&&e<=1114111}Z.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};Z.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!0}return!1};Z.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(uf(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function uf(e){return e===100||e===68||e===115||e===83||e===119||e===87}Z.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1};Z.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){Ui(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")};Z.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};Z.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Uo(t=e.current());)e.lastStringValue+=Ir(t),e.advance();return e.lastStringValue!==""};function Uo(e){return jo(e)||e===95}Z.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";lf(t=e.current());)e.lastStringValue+=Ir(t),e.advance();return e.lastStringValue!==""};function lf(e){return Uo(e)||Fr(e)}Z.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Z.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};Z.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}};Z.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||zo(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1};Z.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Z.regexp_eatClassControlLetter=function(e){var t=e.current();return Fr(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};Z.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};Z.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Fr(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function Fr(e){return e>=48&&e<=57}Z.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Jo(i=e.current());)e.lastIntValue=16*e.lastIntValue+qo(i),e.advance();return e.pos!==t};function Jo(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function qo(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}Z.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1};Z.regexp_eatOctalDigit=function(e){var t=e.current();return zo(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function zo(e){return e>=48&&e<=55}Z.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var s=e.current();if(!Jo(s))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+qo(s),e.advance()}return!0};var Xn=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new kr(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},le=Be.prototype;le.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Xn(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};le.getToken=function(){return this.next(),new Xn(this)};typeof Symbol!="undefined"&&(le[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}});le.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(y.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};le.readToken=function(e){return Mt(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};le.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};le.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var r=void 0,s=t;(r=co(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};le.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!_i(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())};le.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,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&&ho.test(String.fromCharCode(e)))++this.pos;else break e}}};le.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)};le.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))};le.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(y.assign,2):this.finishOp(y.slash,1)};le.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,r=e===42?y.star:y.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,r=y.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(y.assign,i+1):this.finishOp(r,i)};le.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(y.assign,3)}return this.finishOp(e===124?y.logicalOR:y.logicalAND,2)}return t===61?this.finishOp(y.assign,2):this.finishOp(e===124?y.bitwiseOR:y.bitwiseAND,1)};le.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)};le.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||pt.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2):t===61?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)};le.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(y.assign,i+1):this.finishOp(y.bitShift,i)):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(),this.nextToken()):(t===61&&(i=2),this.finishOp(y.relational,i))};le.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(e===61?y.eq:y.prefix,1)};le.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(y.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(y.assign,3)}return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)};le.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Mt(t,!0)||t===92))return this.finishToken(y.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Tr(t)+"'")};le.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.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(!1);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 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Tr(e)+"'")};le.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};le.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(pt.test(r)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var s=this.input.slice(i,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var l=this.regexpState||(this.regexpState=new Ut(this));l.reset(i,s,o),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var c=null;try{c=new RegExp(s,o)}catch(d){}return this.finishToken(y.regexp,{pattern:s,flags:o,value:c})};le.readInt=function(e,t,i){for(var r=this.options.ecmaVersion>=12&&t===void 0,s=i&&this.input.charCodeAt(this.pos)===48,a=this.pos,o=0,l=0,c=0,d=t??Infinity;c<d;++c,++this.pos){var x=this.input.charCodeAt(this.pos),k=void 0;if(r&&x===95){s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),c===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=x;continue}if(x>=97?k=x-97+10:x>=65?k=x-65+10:x>=48&&x<=57?k=x-48:k=Infinity,k>=e)break;l=x,o=o*e+k}return r&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:o};function cf(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Xo(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}le.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Xo(this.input.slice(t,this.pos)),++this.pos):Mt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,i)};le.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var s=Xo(this.input.slice(t,this.pos));return++this.pos,Mt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,s)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),r===46&&!i&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!i&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Mt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=cf(this.input.slice(t,this.pos),i);return this.finishToken(y.num,a)};le.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t};function Tr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}le.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(_i(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(y.string,t)};var Ho={};le.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Ho)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};le.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ho;this.raise(e,t)};le.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(_i(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
7
|
+
`):S=String.fromCharCode(E),this.options.locations&&(++this.curLine,this.lineStart=this.pos),S}jsx_readString(g){let E="",S=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let T=this.input.charCodeAt(this.pos);if(T===g)break;T===38?(E+=this.input.slice(S,this.pos),E+=this.jsx_readEntity(),S=this.pos):x(T)?(E+=this.input.slice(S,this.pos),E+=this.jsx_readNewLine(!1),S=this.pos):++this.pos}return E+=this.input.slice(S,this.pos++),this.finishToken(s.string,E)}jsx_readEntity(){let g="",E=0,S,T=this.input[this.pos];T!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let _=++this.pos;for(;this.pos<this.input.length&&E++<10;){if(T=this.input[this.pos++],T===";"){g[0]==="#"?g[1]==="x"?(g=g.substr(2),df.test(g)&&(S=String.fromCharCode(parseInt(g,16)))):(g=g.substr(1),xf.test(g)&&(S=String.fromCharCode(parseInt(g,10)))):S=mf[g];break}g+=T}return S||(this.pos=_,"&")}jsx_readWord(){let g,E=this.pos;do g=this.input.charCodeAt(++this.pos);while(A(g)||g===45);return this.finishToken(a.jsxName,this.input.slice(E,this.pos))}jsx_parseIdentifier(){let g=this.startNode();return this.type===a.jsxName?g.name=this.value:this.type.keyword?g.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(g,"JSXIdentifier")}jsx_parseNamespacedName(){let g=this.start,E=this.startLoc,S=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(s.colon))return S;var T=this.startNodeAt(g,E);return T.namespace=S,T.name=this.jsx_parseIdentifier(),this.finishNode(T,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===a.jsxTagEnd)return"";let g=this.start,E=this.startLoc,S=this.jsx_parseNamespacedName();for(this.type===s.dot&&S.type==="JSXNamespacedName"&&!e.allowNamespacedObjects&&this.unexpected();this.eat(s.dot);){let T=this.startNodeAt(g,E);T.object=S,T.property=this.jsx_parseIdentifier(),S=this.finishNode(T,"JSXMemberExpression")}return S}jsx_parseAttributeValue(){switch(this.type){case s.braceL:let g=this.jsx_parseExpressionContainer();return g.expression.type==="JSXEmptyExpression"&&this.raise(g.start,"JSX attributes must only be assigned a non-empty expression"),g;case a.jsxTagStart:case s.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let g=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(g,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let g=this.startNode();return this.next(),g.expression=this.type===s.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(s.braceR),this.finishNode(g,"JSXExpressionContainer")}jsx_parseAttribute(){let g=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),g.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(g,"JSXSpreadAttribute")):(g.name=this.jsx_parseNamespacedName(),g.value=this.eat(s.eq)?this.jsx_parseAttributeValue():null,this.finishNode(g,"JSXAttribute"))}jsx_parseOpeningElementAt(g,E){let S=this.startNodeAt(g,E);S.attributes=[];let T=this.jsx_parseElementName();for(T&&(S.name=T);this.type!==s.slash&&this.type!==a.jsxTagEnd;)S.attributes.push(this.jsx_parseAttribute());return S.selfClosing=this.eat(s.slash),this.expect(a.jsxTagEnd),this.finishNode(S,T?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(g,E){let S=this.startNodeAt(g,E),T=this.jsx_parseElementName();return T&&(S.name=T),this.expect(a.jsxTagEnd),this.finishNode(S,T?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(g,E){let S=this.startNodeAt(g,E),T=[],_=this.jsx_parseOpeningElementAt(g,E),V=null;if(!_.selfClosing){e:for(;;)switch(this.type){case a.jsxTagStart:if(g=this.start,E=this.startLoc,this.next(),this.eat(s.slash)){V=this.jsx_parseClosingElementAt(g,E);break e}T.push(this.jsx_parseElementAt(g,E));break;case a.jsxText:T.push(this.parseExprAtom());break;case s.braceL:T.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}Gi(V.name)!==Gi(_.name)&&this.raise(V.start,"Expected corresponding JSX closing tag for <"+Gi(_.name)+">")}let L=_.name?"Element":"Fragment";return S["opening"+L]=_,S["closing"+L]=V,S.children=T,this.type===s.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(S,"JSX"+L)}jsx_parseText(){let g=this.parseLiteral(this.value);return g.type="JSXText",g}jsx_parseElement(){let g=this.start,E=this.startLoc;return this.next(),this.jsx_parseElementAt(g,E)}parseExprAtom(g){return this.type===a.jsxText?this.jsx_parseText():this.type===a.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(g)}readToken(g){let E=this.curContext();if(E===m)return this.jsx_readToken();if(E===l||E===c){if(w(g))return this.jsx_readWord();if(g==62)return++this.pos,this.finishToken(a.jsxTagEnd);if((g===34||g===39)&&E==l)return this.jsx_readString(g)}return g===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(a.jsxTagStart)):super.readToken(g)}updateContext(g){if(this.type==s.braceL){var E=this.curContext();E==l?this.context.push(o.b_expr):E==m?this.context.push(o.b_tmpl):super.updateContext(g),this.exprAllowed=!0}else if(this.type===s.slash&&g===a.jsxTagStart)this.context.length-=2,this.context.push(c),this.exprAllowed=!1;else return super.updateContext(g)}}}});var rr=yt((dw,Tl)=>{h();p();"use strict";var Pl={};function g0(e){var t,i,r=Pl[e];if(r)return r;for(r=Pl[e]=[],t=0;t<128;t++)i=String.fromCharCode(t),/^[0-9a-z]$/i.test(i)?r.push(i):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)r[e.charCodeAt(t)]=e[t];return r}function Kr(e,t,i){var r,s,a,o,l,c="";for(typeof t!="string"&&(i=t,t=Kr.defaultChars),typeof i=="undefined"&&(i=!0),l=g0(t),r=0,s=e.length;r<s;r++){if(a=e.charCodeAt(r),i&&a===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(e.slice(r+1,r+3))){c+=e.slice(r,r+3),r+=2;continue}if(a<128){c+=l[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&r+1<s&&(o=e.charCodeAt(r+1),o>=56320&&o<=57343)){c+=encodeURIComponent(e[r]+e[r+1]),r++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(e[r])}return c}Kr.defaultChars=";/?:@&=+$,-_.!~*'()#";Kr.componentChars="-_.!~*'()";Tl.exports=Kr});var Dc=yt((QE,Fc)=>{h();p();var Tc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,td=/\n/g,id=/^\s*/,rd=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,nd=/^:\s*/,sd=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ad=/^[;\s]*/,od=/^\s+|\s+$/g,ud=`
|
|
8
|
+
`,Pc="/",Bc="*",mi="",ld="comment",cd="declaration";Fc.exports=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var i=1,r=1;function s(S){var T=S.match(td);T&&(i+=T.length);var _=S.lastIndexOf(ud);r=~_?S.length-_:r+S.length}function a(){var S={line:i,column:r};return function(T){return T.position=new o(S),x(),T}}function o(S){this.start=S,this.end={line:i,column:r},this.source=t.source}o.prototype.content=e;var l=[];function c(S){var T=new Error(t.source+":"+i+":"+r+": "+S);if(T.reason=S,T.filename=t.source,T.line=i,T.column=r,T.source=e,t.silent)l.push(T);else throw T}function m(S){var T=S.exec(e);if(!!T){var _=T[0];return s(_),e=e.slice(_.length),T}}function x(){m(id)}function w(S){var T;for(S=S||[];T=A();)T!==!1&&S.push(T);return S}function A(){var S=a();if(!(Pc!=e.charAt(0)||Bc!=e.charAt(1))){for(var T=2;mi!=e.charAt(T)&&(Bc!=e.charAt(T)||Pc!=e.charAt(T+1));)++T;if(T+=2,mi===e.charAt(T-1))return c("End of comment missing");var _=e.slice(2,T-2);return r+=2,s(_),e=e.slice(T),r+=2,S({type:ld,comment:_})}}function g(){var S=a(),T=m(rd);if(!!T){if(A(),!m(nd))return c("property missing ':'");var _=m(sd),V=S({type:cd,property:Lc(T[0].replace(Tc,mi)),value:_?Lc(_[0].replace(Tc,mi)):mi});return m(ad),V}}function E(){var S=[];w(S);for(var T;T=g();)T!==!1&&(S.push(T),w(S));return S}return x(),E()};function Lc(e){return e?e.replace(od,mi):mi}});var Rc=yt((KE,Nc)=>{h();p();var hd=Dc();function pd(e,t){var i=null;if(!e||typeof e!="string")return i;for(var r,s=hd(e),a=typeof t=="function",o,l,c=0,m=s.length;c<m;c++)r=s[c],o=r.property,l=r.value,a?t(o,l,r):l&&(i||(i={}),i[o]=l);return i}Nc.exports=pd});var Kc=yt((TC,Qc)=>{Qc.exports=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"]});var $c=yt((PC,Zc)=>{h();p();"use strict";Zc.exports=Kc()});h();p();h();p();h();p();h();p();h();p();h();p();function Cn(e){if(e)throw e}var ao=Tt(Ua()),Fn=Tt(Qa());h();p();function ji(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}h();p();function Ka(){let e=[],t={run:i,use:r};return t;function i(...s){let a=-1,o=s.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);l(null,...s);function l(c,...m){let x=e[++a],w=-1;if(c){o(c);return}for(;++w<s.length;)(m[w]===null||m[w]===void 0)&&(m[w]=s[w]);s=m,x?Sp(x,l)(...m):o(null,...m)}}function r(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function Sp(e,t){let i;return r;function r(...o){let l=e.length>o.length,c;l&&o.push(s);try{c=e(...o)}catch(m){let x=m;if(l&&i)throw x;return s(x)}l||(c instanceof Promise?c.then(a,s):c instanceof Error?s(c):a(c))}function s(o,...l){i||(i=!0,t(o,...l))}function a(o){s(null,o)}}h();p();h();p();var no=Tt($a());h();p();h();p();var Ei={}.hasOwnProperty;function Ve(e){return!e||typeof e!="object"?"":Ei.call(e,"position")||Ei.call(e,"type")?eo(e.position):Ei.call(e,"start")||Ei.call(e,"end")?eo(e):Ei.call(e,"line")||Ei.call(e,"column")?An(e):""}function An(e){return to(e&&e.line)+":"+to(e&&e.column)}function eo(e){return An(e&&e.start)+"-"+An(e&&e.end)}function to(e){return e&&typeof e=="number"?e:1}var ue=class extends Error{constructor(t,i,r){var s=[null,null],a={start:{line:null,column:null},end:{line:null,column:null}},o;super();typeof i=="string"&&(r=i,i=null),typeof r=="string"&&(o=r.indexOf(":"),o===-1?s[1]=r:(s[0]=r.slice(0,o),s[1]=r.slice(o+1))),i&&("type"in i||"position"in i?i.position&&(a=i.position):"start"in i||"end"in i?a=i:("line"in i||"column"in i)&&(a.start=i)),this.name=Ve(i)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack=typeof t=="object"?t.stack:"",this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.source=s[0],this.ruleId=s[1],this.position=a,this.actual,this.expected,this.file,this.url,this.note}};ue.prototype.file="";ue.prototype.name="";ue.prototype.reason="";ue.prototype.message="";ue.prototype.stack="";ue.prototype.fatal=null;ue.prototype.column=null;ue.prototype.line=null;ue.prototype.source=null;ue.prototype.ruleId=null;ue.prototype.position=null;h();p();var bt={basename:_p,dirname:Ip,extname:Fp,join:Tp,sep:"/"};function _p(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Mi(e);let i=0,r=-1,s=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.charCodeAt(s)===47){if(a){i=s+1;break}}else r<0&&(a=!0,r=s+1);return r<0?"":e.slice(i,r)}if(t===e)return"";let o=-1,l=t.length-1;for(;s--;)if(e.charCodeAt(s)===47){if(a){i=s+1;break}}else o<0&&(a=!0,o=s+1),l>-1&&(e.charCodeAt(s)===t.charCodeAt(l--)?l<0&&(r=s):(l=-1,r=o));return i===r?r=o:r<0&&(r=e.length),e.slice(i,r)}function Ip(e){if(Mi(e),e.length===0)return".";let t=-1,i=e.length,r;for(;--i;)if(e.charCodeAt(i)===47){if(r){t=i;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function Fp(e){Mi(e);let t=e.length,i=-1,r=0,s=-1,a=0,o;for(;t--;){let l=e.charCodeAt(t);if(l===47){if(o){r=t+1;break}continue}i<0&&(o=!0,i=t+1),l===46?s<0?s=t:a!==1&&(a=1):s>-1&&(a=-1)}return s<0||i<0||a===0||a===1&&s===i-1&&s===r+1?"":e.slice(s,i)}function Tp(...e){let t=-1,i;for(;++t<e.length;)Mi(e[t]),e[t]&&(i=i===void 0?e[t]:i+"/"+e[t]);return i===void 0?".":Pp(i)}function Pp(e){Mi(e);let t=e.charCodeAt(0)===47,i=Bp(e,!t);return i.length===0&&!t&&(i="."),i.length>0&&e.charCodeAt(e.length-1)===47&&(i+="/"),t?"/"+i:i}function Bp(e,t){let i="",r=0,s=-1,a=0,o=-1,l,c;for(;++o<=e.length;){if(o<e.length)l=e.charCodeAt(o);else{if(l===47)break;l=47}if(l===47){if(!(s===o-1||a===1))if(s!==o-1&&a===2){if(i.length<2||r!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){if(c=i.lastIndexOf("/"),c!==i.length-1){c<0?(i="",r=0):(i=i.slice(0,c),r=i.length-1-i.lastIndexOf("/")),s=o,a=0;continue}}else if(i.length>0){i="",r=0,s=o,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",r=2)}else i.length>0?i+="/"+e.slice(s+1,o):i=e.slice(s+1,o),r=o-s-1;s=o,a=0}else l===46&&a>-1?a++:a=-1}return i}function Mi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}h();p();var io={cwd:Lp};function Lp(){return"/"}h();p();h();p();function Ci(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function ro(e){if(typeof e=="string")e=new URL(e);else if(!Ci(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Dp(e)}function Dp(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let t=e.pathname,i=-1;for(;++i<t.length;)if(t.charCodeAt(i)===37&&t.charCodeAt(i+1)===50){let r=t.charCodeAt(i+2);if(r===70||r===102){let s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}var Sn=["history","path","basename","stem","extname","dirname"],Ai=class{constructor(t){let i;t?typeof t=="string"||(0,no.default)(t)?i={value:t}:Ci(t)?i={path:t}:i=t:i={},this.data={},this.messages=[],this.history=[],this.cwd=io.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<Sn.length;){let a=Sn[r];a in i&&i[a]!==void 0&&(this[a]=a==="history"?[...i[a]]:i[a])}let s;for(s in i)Sn.includes(s)||(this[s]=i[s])}get path(){return this.history[this.history.length-1]}set path(t){Ci(t)&&(t=ro(t)),In(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?bt.dirname(this.path):void 0}set dirname(t){so(this.basename,"dirname"),this.path=bt.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?bt.basename(this.path):void 0}set basename(t){In(t,"basename"),_n(t,"basename"),this.path=bt.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?bt.extname(this.path):void 0}set extname(t){if(_n(t,"extname"),so(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=bt.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?bt.basename(this.path,this.extname):void 0}set stem(t){In(t,"stem"),_n(t,"stem"),this.path=bt.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t)}message(t,i,r){let s=new ue(t,i,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(t,i,r){let s=this.message(t,i,r);return s.fatal=null,s}fail(t,i,r){let s=this.message(t,i,r);throw s.fatal=!0,s}};function _n(e,t){if(e&&e.includes(bt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+bt.sep+"`")}function In(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function so(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var Tn=oo().freeze(),uo={}.hasOwnProperty;function oo(){let e=Ka(),t=[],i={},r,s=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=l,a.attachers=t,a.use=c,a.parse=m,a.stringify=x,a.run=w,a.runSync=A,a.process=g,a.processSync=E,a;function a(){let S=oo(),T=-1;for(;++T<t.length;)S.use(...t[T]);return S.data((0,Fn.default)(!0,{},i)),S}function o(S,T){return typeof S=="string"?arguments.length===2?(Ln("data",r),i[S]=T,a):uo.call(i,S)&&i[S]||null:S?(Ln("data",r),i=S,a):i}function l(){if(r)return a;for(;++s<t.length;){let[S,...T]=t[s];if(T[0]===!1)continue;T[0]===!0&&(T[1]=void 0);let _=S.call(a,...T);typeof _=="function"&&e.use(_)}return r=!0,s=Number.POSITIVE_INFINITY,a}function c(S,...T){let _;if(Ln("use",r),S!=null)if(typeof S=="function")U(S,...T);else if(typeof S=="object")Array.isArray(S)?d(S):L(S);else throw new TypeError("Expected usable value, not `"+S+"`");return _&&(i.settings=Object.assign(i.settings||{},_)),a;function V(C){if(typeof C=="function")U(C);else if(typeof C=="object")if(Array.isArray(C)){let[D,...M]=C;U(D,...M)}else L(C);else throw new TypeError("Expected usable value, not `"+C+"`")}function L(C){d(C.plugins),C.settings&&(_=Object.assign(_||{},C.settings))}function d(C){let D=-1;if(C!=null)if(Array.isArray(C))for(;++D<C.length;){let M=C[D];V(M)}else throw new TypeError("Expected a list of plugins, not `"+C+"`")}function U(C,D){let M=-1,j;for(;++M<t.length;)if(t[M][0]===C){j=t[M];break}j?(ji(j[1])&&ji(D)&&(D=(0,Fn.default)(!0,j[1],D)),j[1]=D):t.push([...arguments])}}function m(S){a.freeze();let T=Ui(S),_=a.Parser;return Pn("parse",_),lo(_,"parse")?new _(String(T),T).parse():_(String(T),T)}function x(S,T){a.freeze();let _=Ui(T),V=a.Compiler;return Bn("stringify",V),co(S),lo(V,"compile")?new V(S,_).compile():V(S,_)}function w(S,T,_){if(co(S),a.freeze(),!_&&typeof T=="function"&&(_=T,T=void 0),!_)return new Promise(V);V(null,_);function V(L,d){e.run(S,Ui(T),U);function U(C,D,M){D=D||S,C?d(C):L?L(D):_(null,D,M)}}}function A(S,T){let _,V;return a.run(S,T,L),ho("runSync","run",V),_;function L(d,U){Cn(d),_=U,V=!0}}function g(S,T){if(a.freeze(),Pn("process",a.Parser),Bn("process",a.Compiler),!T)return new Promise(_);_(null,T);function _(V,L){let d=Ui(S);a.run(a.parse(d),d,(C,D,M)=>{if(C||!D||!M)U(C);else{let j=a.stringify(D,M);j==null||(Np(j)?M.value=j:M.result=j),U(C,M)}});function U(C,D){C||!D?L(C):V?V(D):T(null,D)}}}function E(S){let T;a.freeze(),Pn("processSync",a.Parser),Bn("processSync",a.Compiler);let _=Ui(S);return a.process(_,V),ho("processSync","process",T),_;function V(L){T=!0,Cn(L)}}}function lo(e,t){return typeof e=="function"&&e.prototype&&(Rp(e.prototype)||t in e.prototype)}function Rp(e){let t;for(t in e)if(uo.call(e,t))return!0;return!1}function Pn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Bn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Ln(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function co(e){if(!ji(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ho(e,t,i){if(!i)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ui(e){return Op(e)?e:new Ai(e)}function Op(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Np(e){return typeof e=="string"||(0,ao.default)(e)}h();p();h();p();h();p();var Dn={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"},Nn="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",Vp={5:Nn,"5module":Nn+" export import",6:Nn+" const class extends export import super"},jp=/^in(stanceof)?$/,Rn="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u09FC\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",po="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Mp=new RegExp("["+Rn+"]"),Up=new RegExp("["+Rn+po+"]");Rn=po=null;var fo=[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,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,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,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,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,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,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,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,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,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,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,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],zp=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,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,71,5,2,1,3,3,2,0,2,1,13,9,120,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,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,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,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function On(e,t){for(var i=65536,r=0;r<t.length;r+=2){if(i+=t[r],i>e)return!1;if(i+=t[r+1],i>=e)return!0}}function jt(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Mp.test(String.fromCharCode(e)):t===!1?!1:On(e,fo)}function Si(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Up.test(String.fromCharCode(e)):t===!1?!1:On(e,fo)||On(e,zp)}var fe=function(t,i){i===void 0&&(i={}),this.label=t,this.keyword=i.keyword,this.beforeExpr=!!i.beforeExpr,this.startsExpr=!!i.startsExpr,this.isLoop=!!i.isLoop,this.isAssign=!!i.isAssign,this.prefix=!!i.prefix,this.postfix=!!i.postfix,this.binop=i.binop||null,this.updateContext=null};function ct(e,t){return new fe(e,{beforeExpr:!0,binop:t})}var ht={beforeExpr:!0},et={startsExpr:!0},Vn={};function he(e,t){return t===void 0&&(t={}),t.keyword=e,Vn[e]=new fe(e,t)}var y={num:new fe("num",et),regexp:new fe("regexp",et),string:new fe("string",et),name:new fe("name",et),privateId:new fe("privateId",et),eof:new fe("eof"),bracketL:new fe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new fe("]"),braceL:new fe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new fe("}"),parenL:new fe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new fe(")"),comma:new fe(",",ht),semi:new fe(";",ht),colon:new fe(":",ht),dot:new fe("."),question:new fe("?",ht),questionDot:new fe("?."),arrow:new fe("=>",ht),template:new fe("template"),invalidTemplate:new fe("invalidTemplate"),ellipsis:new fe("...",ht),backQuote:new fe("`",et),dollarBraceL:new fe("${",{beforeExpr:!0,startsExpr:!0}),eq:new fe("=",{beforeExpr:!0,isAssign:!0}),assign:new fe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new fe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new fe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ct("||",1),logicalAND:ct("&&",2),bitwiseOR:ct("|",3),bitwiseXOR:ct("^",4),bitwiseAND:ct("&",5),equality:ct("==/!=/===/!==",6),relational:ct("</>/<=/>=",7),bitShift:ct("<</>>/>>>",8),plusMin:new fe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ct("%",10),star:ct("*",10),slash:ct("/",10),starstar:new fe("**",{beforeExpr:!0}),coalesce:ct("??",1),_break:he("break"),_case:he("case",ht),_catch:he("catch"),_continue:he("continue"),_debugger:he("debugger"),_default:he("default",ht),_do:he("do",{isLoop:!0,beforeExpr:!0}),_else:he("else",ht),_finally:he("finally"),_for:he("for",{isLoop:!0}),_function:he("function",et),_if:he("if"),_return:he("return",ht),_switch:he("switch"),_throw:he("throw",ht),_try:he("try"),_var:he("var"),_const:he("const"),_while:he("while",{isLoop:!0}),_with:he("with"),_new:he("new",{beforeExpr:!0,startsExpr:!0}),_this:he("this",et),_super:he("super",et),_class:he("class",et),_extends:he("extends",ht),_export:he("export"),_import:he("import",et),_null:he("null",et),_true:he("true",et),_false:he("false",et),_in:he("in",{beforeExpr:!0,binop:7}),_instanceof:he("instanceof",{beforeExpr:!0,binop:7}),_typeof:he("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:he("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:he("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},pt=/\r\n?|\n|\u2028|\u2029/,Jp=new RegExp(pt.source,"g");function _i(e){return e===10||e===13||e===8232||e===8233}function mo(e,t,i){i===void 0&&(i=e.length);for(var r=t;r<i;r++){var s=e.charCodeAt(r);if(_i(s))return r<i-1&&s===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var xo=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ft=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,go=Object.prototype,qp=go.hasOwnProperty,Xp=go.toString,zi=Object.hasOwn||function(e,t){return qp.call(e,t)},yo=Array.isArray||function(e){return Xp.call(e)==="[object Array]"};function ai(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Hp=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Ji=function(t,i){this.line=t,this.column=i};Ji.prototype.offset=function(t){return new Ji(this.line,this.column+t)};var Er=function(t,i,r){this.start=i,this.end=r,t.sourceFile!==null&&(this.source=t.sourceFile)};function bo(e,t){for(var i=1,r=0;;){var s=mo(e,r,t);if(s<0)return new Ji(i,t-r);++i,r=s}}var jn={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},vo=!1;function Gp(e){var t={};for(var i in jn)t[i]=e&&zi(e,i)?e[i]:jn[i];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!vo&&typeof console=="object"&&console.warn&&(vo=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
9
|
+
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),yo(t.onToken)){var r=t.onToken;t.onToken=function(s){return r.push(s)}}return yo(t.onComment)&&(t.onComment=Wp(t,t.onComment)),t}function Wp(e,t){return function(i,r,s,a,o,l){var c={type:i?"Block":"Line",value:r,start:s,end:a};e.locations&&(c.loc=new Er(this,o,l)),e.ranges&&(c.range=[s,a]),t.push(c)}}var qi=1,Ii=2,Mn=4,wo=8,ko=16,Eo=32,Un=64,Co=128,Xi=256,zn=qi|Ii|Xi;function Jn(e,t){return Ii|(e?Mn:0)|(t?wo:0)}var Cr=0,qn=1,Mt=2,Ao=3,So=4,_o=5,Be=function(t,i,r){this.options=t=Gp(t),this.sourceFile=t.sourceFile,this.keywords=ai(Vp[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";t.allowReserved!==!0&&(s=Dn[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(s+=" await")),this.reservedWords=ai(s);var a=(s?s+" ":"")+Dn.strict;this.reservedWordsStrict=ai(a),this.reservedWordsStrictBind=ai(a+" "+Dn.strictBind),this.input=String(i),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(`
|
|
10
|
+
`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(pt).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.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=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(qi),this.regexpState=null,this.privateNameStack=[]},Lt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Be.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Lt.inFunction.get=function(){return(this.currentVarScope().flags&Ii)>0};Lt.inGenerator.get=function(){return(this.currentVarScope().flags&wo)>0&&!this.currentVarScope().inClassFieldInit};Lt.inAsync.get=function(){return(this.currentVarScope().flags&Mn)>0&&!this.currentVarScope().inClassFieldInit};Lt.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Xi)return!1;if(t.flags&Ii)return(t.flags&Mn)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Lt.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&Un)>0||i||this.options.allowSuperOutsideMethod};Lt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Co)>0};Lt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Lt.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,i=e.inClassFieldInit;return(t&(Ii|Xi))>0||i};Lt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Xi)>0};Be.extend=function(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];for(var r=this,s=0;s<t.length;s++)r=t[s](r);return r};Be.parse=function(t,i){return new this(i,t).parse()};Be.parseExpressionAt=function(t,i,r){var s=new this(r,t,i);return s.nextToken(),s.parseExpression()};Be.tokenizer=function(t,i){return new this(i,t)};Object.defineProperties(Be.prototype,Lt);var We=Be.prototype,Yp=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;We.strictDirective=function(e){for(;;){ft.lastIndex=e,e+=ft.exec(this.input)[0].length;var t=Yp.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){ft.lastIndex=e+t[0].length;var i=ft.exec(this.input),r=i.index+i[0].length,s=this.input.charAt(r);return s===";"||s==="}"||pt.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,ft.lastIndex=e,e+=ft.exec(this.input)[0].length,this.input[e]===";"&&e++}};We.eat=function(e){return this.type===e?(this.next(),!0):!1};We.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc};We.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};We.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};We.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||pt.test(this.input.slice(this.lastTokEnd,this.start))};We.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};We.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()};We.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};We.expect=function(e){this.eat(e)||this.unexpected()};We.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Ar(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}We.checkPatternErrors=function(e,t){if(!!e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var i=t?e.parenthesizedAssign:e.parenthesizedBind;i>-1&&this.raiseRecoverable(i,"Parenthesized pattern")}};We.checkExpressionErrors=function(e,t){if(!e)return!1;var i=e.shorthandAssign,r=e.doubleProto;if(!t)return i>=0||r>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")};We.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};We.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var te=Be.prototype;te.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==y.eof;){var i=this.parseStatement(null,!0,t);e.body.push(i)}if(this.inModule)for(var r=0,s=Object.keys(this.undefinedExports);r<s.length;r+=1){var a=s[r];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Xn={kind:"loop"},Qp={kind:"switch"};te.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ft.lastIndex=this.pos;var t=ft.exec(this.input),i=this.pos+t[0].length,r=this.input.charCodeAt(i);if(r===91||r===92||r>55295&&r<56320)return!0;if(e)return!1;if(r===123)return!0;if(jt(r,!0)){for(var s=i+1;Si(r=this.input.charCodeAt(s),!0);)++s;if(r===92||r>55295&&r<56320)return!0;var a=this.input.slice(i,s);if(!jp.test(a))return!0}return!1};te.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ft.lastIndex=this.pos;var e=ft.exec(this.input),t=this.pos+e[0].length,i;return!pt.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Si(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};te.parseStatement=function(e,t,i){var r=this.type,s=this.startNode(),a;switch(this.isLet(e)&&(r=y._var,a="let"),r){case y._break:case y._continue:return this.parseBreakContinueStatement(s,r.keyword);case y._debugger:return this.parseDebuggerStatement(s);case y._do:return this.parseDoStatement(s);case y._for:return this.parseForStatement(s);case y._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case y._class:return e&&this.unexpected(),this.parseClass(s,!0);case y._if:return this.parseIfStatement(s);case y._return:return this.parseReturnStatement(s);case y._switch:return this.parseSwitchStatement(s);case y._throw:return this.parseThrowStatement(s);case y._try:return this.parseTryStatement(s);case y._const:case y._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case y._while:return this.parseWhileStatement(s);case y._with:return this.parseWithStatement(s);case y.braceL:return this.parseBlock(!0,s);case y.semi:return this.parseEmptyStatement(s);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){ft.lastIndex=this.pos;var o=ft.exec(this.input),l=this.pos+o[0].length,c=this.input.charCodeAt(l);if(c===40||c===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===y._import?this.parseImport(s):this.parseExport(s,i);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var m=this.value,x=this.parseExpression();return r===y.name&&x.type==="Identifier"&&this.eat(y.colon)?this.parseLabeledStatement(s,m,x,e):this.parseExpressionStatement(s,x)}};te.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type!==y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var s=this.labels[r];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(i||s.kind==="loop")||e.label&&i))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,i?"BreakStatement":"ContinueStatement")};te.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};te.parseDoStatement=function(e){return this.next(),this.labels.push(Xn),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};te.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Xn),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var i=this.isLet();if(this.type===y._var||this.type===y._const||i){var r=this.startNode(),s=i?"let":this.value;return this.next(),this.parseVar(r,!0,s),this.finishNode(r,"VariableDeclaration"),(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var a=this.isContextual("let"),o=!1,l=new Ar,c=this.parseExpression(t>-1?"await":!0,l);return this.type===y._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&o&&this.raise(c.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(c,!1,l),this.checkLValPattern(c),this.parseForIn(e,c)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))};te.parseFunctionStatement=function(e,t,i){return this.next(),this.parseFunction(e,Hi|(i?0:Hn),!1,t)};te.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};te.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};te.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(Qp),this.enterScope(0);for(var t,i=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var r=this.type===y._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};te.parseThrowStatement=function(e){return this.next(),pt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Kp=[];te.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();if(this.next(),this.eat(y.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?Eo:0),this.checkLValPattern(t.param,i?So:Mt),this.expect(y.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};te.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};te.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Xn),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};te.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};te.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};te.parseLabeledStatement=function(e,t,i,r){for(var s=0,a=this.labels;s<a.length;s+=1){var o=a[s];o.name===t&&this.raise(i.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===y._switch?"switch":null,c=this.labels.length-1;c>=0;c--){var m=this.labels[c];if(m.statementStart===e.start)m.statementStart=this.start,m.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")};te.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};te.parseBlock=function(e,t,i){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(y.braceL),e&&this.enterScope(0);this.type!==y.braceR;){var r=this.parseStatement(null);t.body.push(r)}return i&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};te.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};te.parseForIn=function(e,t){var i=this.type===y._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,i?"ForInStatement":"ForOfStatement")};te.parseVar=function(e,t,i){for(e.declarations=[],e.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(y.eq)?r.init=this.parseMaybeAssign(t):i==="const"&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():r.id.type!=="Identifier"&&!(t&&(this.type===y._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return e};te.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?qn:Mt,!1)};var Hi=1,Hn=2,Io=4;te.parseFunction=function(e,t,i,r,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===y.star&&t&Hn&&this.unexpected(),e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&Hi&&(e.id=t&Io&&this.type!==y.name?null:this.parseIdent(),e.id&&!(t&Hn)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?qn:Mt:Ao));var a=this.yieldPos,o=this.awaitPos,l=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Jn(e.async,e.generator)),t&Hi||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,i,!1,s),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=l,this.finishNode(e,t&Hi?"FunctionDeclaration":"FunctionExpression")};te.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};te.parseClass=function(e,t){this.next();var i=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(y.braceL);this.type!==y.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(s.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"?(a&&this.raise(o.start,"Duplicate constructor in the same class"),a=!0):o.key&&o.key.type==="PrivateIdentifier"&&Zp(r,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=i,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};te.parseClassElement=function(e){if(this.eat(y.semi))return null;var t=this.options.ecmaVersion,i=this.startNode(),r="",s=!1,a=!1,o="method",l=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===y.star?l=!0:r="static"}if(i.static=l,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===y.star)&&!this.canInsertSemicolon()?a=!0:r="async"),!r&&(t>=9||!a)&&this.eat(y.star)&&(s=!0),!r&&!a&&!s){var c=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=c:r=c)}if(r?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=r,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),t<13||this.type===y.parenL||o!=="method"||s||a){var m=!i.static&&Sr(i,"constructor"),x=m&&e;m&&o!=="method"&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=m?"constructor":o,this.parseClassMethod(i,s,a,x)}else this.parseClassField(i);return i};te.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword};te.parseClassElementName=function(e){this.type===y.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};te.parseClassMethod=function(e,t,i,r){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),i&&this.raise(s.start,"Constructor can't be an async method")):e.static&&Sr(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,i,r);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};te.parseClassField=function(e){if(Sr(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Sr(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.eq)){var t=this.currentThisScope(),i=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=i}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};te.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Xi|Un);this.type!==y.braceR;){var i=this.parseStatement(null);e.body.push(i)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};te.parseClassId=function(e,t){this.type===y.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Mt,!1)):(t===!0&&this.unexpected(),e.id=null)};te.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts(!1):null};te.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};te.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,i=e.used,r=this.privateNameStack.length,s=r===0?null:this.privateNameStack[r-1],a=0;a<i.length;++a){var o=i[a];zi(t,o.name)||(s?s.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}};function Zp(e,t){var i=t.key.name,r=e[i],s="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(s=(t.static?"s":"i")+t.kind),r==="iget"&&s==="iset"||r==="iset"&&s==="iget"||r==="sget"&&s==="sset"||r==="sset"&&s==="sget"?(e[i]="true",!1):r?!0:(e[i]=s,!1)}function Sr(e,t){var i=e.computed,r=e.key;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}te.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(y._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===y._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next(),i&&this.next(),e.declaration=this.parseFunction(r,Hi|Io,!1,i)}else if(this.type===y._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a<o.length;a+=1){var l=o[a];this.checkUnreserved(l.local),this.checkLocalExport(l.local),l.local.type==="Literal"&&this.raise(l.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};te.checkExport=function(e,t,i){!e||(zi(e,t)&&this.raiseRecoverable(i,"Duplicate export '"+t+"'"),e[t]=!0)};te.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier")this.checkExport(e,t.name,t.start);else if(i==="ObjectPattern")for(var r=0,s=t.properties;r<s.length;r+=1){var a=s[r];this.checkPatternExport(e,a)}else if(i==="ArrayPattern")for(var o=0,l=t.elements;o<l.length;o+=1){var c=l[o];c&&this.checkPatternExport(e,c)}else i==="Property"?this.checkPatternExport(e,t.value):i==="AssignmentPattern"?this.checkPatternExport(e,t.left):i==="RestElement"?this.checkPatternExport(e,t.argument):i==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)};te.checkVariableExport=function(e,t){if(!!e)for(var i=0,r=t;i<r.length;i+=1){var s=r[i];this.checkPatternExport(e,s.id)}};te.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};te.parseExportSpecifiers=function(e){var t=[],i=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(i)i=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var r=this.startNode();r.local=this.parseModuleExportName(),r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local,this.checkExport(e,r.exported[r.exported.type==="Identifier"?"name":"value"],r.exported.start),t.push(this.finishNode(r,"ExportSpecifier"))}return t};te.parseImport=function(e){return this.next(),this.type===y.string?(e.specifiers=Kp,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};te.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===y.name){var i=this.startNode();if(i.local=this.parseIdent(),this.checkLValSimple(i.local,Mt),e.push(this.finishNode(i,"ImportDefaultSpecifier")),!this.eat(y.comma))return e}if(this.type===y.star){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLValSimple(r.local,Mt),e.push(this.finishNode(r,"ImportNamespaceSpecifier")),e}for(this.expect(y.braceL);!this.eat(y.braceR);){if(t)t=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var s=this.startNode();s.imported=this.parseModuleExportName(),this.eatContextual("as")?s.local=this.parseIdent():(this.checkUnreserved(s.imported),s.local=s.imported),this.checkLValSimple(s.local,Mt),e.push(this.finishNode(s,"ImportSpecifier"))}return e};te.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var e=this.parseLiteral(this.value);return Hp.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};te.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)};te.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 vt=Be.prototype;vt.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var r=0,s=e.properties;r<s.length;r+=1){var a=s[r];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":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",i&&this.checkPatternErrors(i,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":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);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return e};vt.toAssignableList=function(e,t){for(var i=e.length,r=0;r<i;r++){var s=e[r];s&&this.toAssignable(s,t)}if(i){var a=e[i-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};vt.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};vt.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==y.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};vt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()};vt.parseBindingList=function(e,t,i){for(var r=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(y.comma),t&&this.type===y.comma)r.push(null);else{if(i&&this.afterTrailingComma(e))break;if(this.type===y.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),r.push(a),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o),r.push(o)}}return r};vt.parseBindingListItem=function(e){return e};vt.parseMaybeDefault=function(e,t,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return i;var r=this.startNodeAt(e,t);return r.left=i,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")};vt.checkLValSimple=function(e,t,i){t===void 0&&(t=Cr);var r=t!==Cr;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(t===Mt&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),i&&(zi(i,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),i[e.name]=!0),t!==_o&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};vt.checkLValPattern=function(e,t,i){switch(t===void 0&&(t=Cr),e.type){case"ObjectPattern":for(var r=0,s=e.properties;r<s.length;r+=1){var a=s[r];this.checkLValInnerPattern(a,t,i)}break;case"ArrayPattern":for(var o=0,l=e.elements;o<l.length;o+=1){var c=l[o];c&&this.checkLValInnerPattern(c,t,i)}break;default:this.checkLValSimple(e,t,i)}};vt.checkLValInnerPattern=function(e,t,i){switch(t===void 0&&(t=Cr),e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var wt=function(t,i,r,s,a){this.token=t,this.isExpr=!!i,this.preserveSpace=!!r,this.override=s,this.generator=!!a},Fe={b_stat:new wt("{",!1),b_expr:new wt("{",!0),b_tmpl:new wt("${",!1),p_stat:new wt("(",!1),p_expr:new wt("(",!0),q_tmpl:new wt("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new wt("function",!1),f_expr:new wt("function",!0),f_expr_gen:new wt("function",!0,!1,null,!0),f_gen:new wt("function",!1,!1,null,!0)},Fi=Be.prototype;Fi.initialContext=function(){return[Fe.b_stat]};Fi.curContext=function(){return this.context[this.context.length-1]};Fi.braceIsBlock=function(e){var t=this.curContext();return t===Fe.f_expr||t===Fe.f_stat?!0:e===y.colon&&(t===Fe.b_stat||t===Fe.b_expr)?!t.isExpr:e===y._return||e===y.name&&this.exprAllowed?pt.test(this.input.slice(this.lastTokEnd,this.start)):e===y._else||e===y.semi||e===y.eof||e===y.parenR||e===y.arrow?!0:e===y.braceL?t===Fe.b_stat:e===y._var||e===y._const||e===y.name?!1:!this.exprAllowed};Fi.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!1};Fi.updateContext=function(e){var t,i=this.type;i.keyword&&e===y.dot?this.exprAllowed=!1:(t=i.updateContext)?t.call(this,e):this.exprAllowed=i.beforeExpr};Fi.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Fe.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Fe.b_stat:Fe.b_expr),this.exprAllowed=!0};y.dollarBraceL.updateContext=function(){this.context.push(Fe.b_tmpl),this.exprAllowed=!0};y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?Fe.p_stat:Fe.p_expr),this.exprAllowed=!0};y.incDec.updateContext=function(){};y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y._else&&!(e===y.semi&&this.curContext()!==Fe.p_stat)&&!(e===y._return&&pt.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===y.colon||e===y.braceL)&&this.curContext()===Fe.b_stat)?this.context.push(Fe.f_expr):this.context.push(Fe.f_stat),this.exprAllowed=!1};y.backQuote.updateContext=function(){this.curContext()===Fe.q_tmpl?this.context.pop():this.context.push(Fe.q_tmpl),this.exprAllowed=!1};y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===Fe.f_expr?this.context[t]=Fe.f_expr_gen:this.context[t]=Fe.f_gen}this.exprAllowed=!0};y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ne=Be.prototype;ne.checkPropClash=function(e,t,i){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,s;switch(r.type){case"Identifier":s=r.name;break;case"Literal":s=String(r.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){s==="__proto__"&&a==="init"&&(t.proto&&(i?i.doubleProto<0&&(i.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}s="$"+s;var o=t[s];if(o){var l;a==="init"?l=this.strict&&o.init||o.get||o.set:l=o.init||o[a],l&&this.raiseRecoverable(r.start,"Redefinition of property")}else o=t[s]={init:!1,get:!1,set:!1};o[a]=!0}};ne.parseExpression=function(e,t){var i=this.start,r=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===y.comma){var a=this.startNodeAt(i,r);for(a.expressions=[s];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return s};ne.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,s=-1,a=-1,o=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ar,r=!0);var l=this.start,c=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var m=this.parseMaybeConditional(e,t);if(i&&(m=i.call(this,m,l,c)),this.type.isAssign){var x=this.startNodeAt(l,c);return x.operator=this.value,this.type===y.eq&&(m=this.toAssignable(m,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=m.start&&(t.shorthandAssign=-1),this.type===y.eq?this.checkLValPattern(m):this.checkLValSimple(m),x.left=m,this.next(),x.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(x,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),m};ne.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(y.question)){var a=this.startNodeAt(i,r);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s};ne.parseExprOps=function(e,t){var i=this.start,r=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===i&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,i,r,-1,e)};ne.parseExprOp=function(e,t,i,r,s){var a=this.type.binop;if(a!=null&&(!s||this.type!==y._in)&&a>r){var o=this.type===y.logicalOR||this.type===y.logicalAND,l=this.type===y.coalesce;l&&(a=y.logicalAND.binop);var c=this.value;this.next();var m=this.start,x=this.startLoc,w=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),m,x,a,s),A=this.buildBinary(t,i,e,w,c,o||l);return(o&&this.type===y.coalesce||l&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(A,t,i,r,s)}return e};ne.buildBinary=function(e,t,i,r,s,a){r.type==="PrivateIdentifier"&&this.raise(r.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=i,o.operator=s,o.right=r,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")};ne.parseMaybeUnary=function(e,t,i,r){var s=this.start,a=this.startLoc,o;if(this.isContextual("await")&&this.canAwait)o=this.parseAwait(r),t=!0;else if(this.type.prefix){var l=this.startNode(),c=this.type===y.incDec;l.operator=this.value,l.prefix=!0,this.next(),l.argument=this.parseMaybeUnary(null,!0,c,r),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(l.argument):this.strict&&l.operator==="delete"&&l.argument.type==="Identifier"?this.raiseRecoverable(l.start,"Deleting local variable in strict mode"):l.operator==="delete"&&Fo(l.argument)?this.raiseRecoverable(l.start,"Private fields can not be deleted"):t=!0,o=this.finishNode(l,c?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===y.privateId)(r||this.privateNameStack.length===0)&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==y._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var m=this.startNodeAt(s,a);m.operator=this.value,m.prefix=!1,m.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(m,"UpdateExpression")}}if(!i&&this.eat(y.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(s,a,o,this.parseMaybeUnary(null,!1,!1,r),"**",!1);else return o};function Fo(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&Fo(e.expression)}ne.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc,s=this.parseExprAtom(e,t);if(s.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return s;var a=this.parseSubscripts(s,i,r,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};ne.parseSubscripts=function(e,t,i,r,s){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,o=!1;;){var l=this.parseSubscript(e,t,i,r,a,o,s);if(l.optional&&(o=!0),l===e||l.type==="ArrowFunctionExpression"){if(o){var c=this.startNodeAt(t,i);c.expression=l,l=this.finishNode(c,"ChainExpression")}return l}e=l}};ne.parseSubscript=function(e,t,i,r,s,a,o){var l=this.options.ecmaVersion>=11,c=l&&this.eat(y.questionDot);r&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var m=this.eat(y.bracketL);if(m||c&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var x=this.startNodeAt(t,i);x.object=e,m?(x.property=this.parseExpression(),this.expect(y.bracketR)):this.type===y.privateId&&e.type!=="Super"?x.property=this.parsePrivateIdent():x.property=this.parseIdent(this.options.allowReserved!=="never"),x.computed=!!m,l&&(x.optional=c),e=this.finishNode(x,"MemberExpression")}else if(!r&&this.eat(y.parenL)){var w=new Ar,A=this.yieldPos,g=this.awaitPos,E=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var S=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,w);if(s&&!c&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(w,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=A,this.awaitPos=g,this.awaitIdentPos=E,this.parseArrowExpression(this.startNodeAt(t,i),S,!0,o);this.checkExpressionErrors(w,!0),this.yieldPos=A||this.yieldPos,this.awaitPos=g||this.awaitPos,this.awaitIdentPos=E||this.awaitIdentPos;var T=this.startNodeAt(t,i);T.callee=e,T.arguments=S,l&&(T.optional=c),e=this.finishNode(T,"CallExpression")}else if(this.type===y.backQuote){(c||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var _=this.startNodeAt(t,i);_.tag=e,_.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(_,"TaggedTemplateExpression")}return e};ne.parseExprAtom=function(e,t){this.type===y.slash&&this.readRegexp();var i,r=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(i,"Super");case y._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case y.name:var s=this.start,a=this.startLoc,o=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(y._function))return this.overrideContext(Fe.f_expr),this.parseFunction(this.startNodeAt(s,a),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(s,a),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===y.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,a),[l],!0,t)}return l;case y.regexp:var c=this.value;return i=this.parseLiteral(c.value),i.regex={pattern:c.pattern,flags:c.flags},i;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return i=this.startNode(),i.value=this.type===y._null?null:this.type===y._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case y.parenL:var m=this.start,x=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(x)&&(e.parenthesizedAssign=m),e.parenthesizedBind<0&&(e.parenthesizedBind=m)),x;case y.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case y.braceL:return this.overrideContext(Fe.b_expr),this.parseObj(!1,e);case y._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};ne.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case y.parenL:return this.parseDynamicImport(e);case y.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};ne.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(y.parenR)){var t=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};ne.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};ne.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};ne.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e};ne.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,l=this.startLoc,c=[],m=!0,x=!1,w=new Ar,A=this.yieldPos,g=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;)if(m?m=!1:this.expect(y.comma),a&&this.afterTrailingComma(y.parenR,!0)){x=!0;break}else if(this.type===y.ellipsis){E=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,w,this.parseParenItem));var S=this.lastTokEnd,T=this.lastTokEndLoc;if(this.expect(y.parenR),e&&!this.canInsertSemicolon()&&this.eat(y.arrow))return this.checkPatternErrors(w,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=A,this.awaitPos=g,this.parseParenArrowList(i,r,c,t);(!c.length||x)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(w,!0),this.yieldPos=A||this.yieldPos,this.awaitPos=g||this.awaitPos,c.length>1?(s=this.startNodeAt(o,l),s.expressions=c,this.finishNodeAt(s,"SequenceExpression",S,T)):s=c[0]}else s=this.parseParenExpression();if(this.options.preserveParens){var _=this.startNodeAt(i,r);return _.expression=s,this.finishNode(_,"ParenthesizedExpression")}else return s};ne.parseParenItem=function(e){return e};ne.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,!1,r)};var $p=[];ne.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(y.dot)){e.meta=t;var i=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,s=this.startLoc,a=this.type===y._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,s,!0,!1),a&&e.callee.type==="ImportExpression"&&this.raise(r,"Cannot use new with import()"),this.eat(y.parenL)?e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=$p,this.finishNode(e,"NewExpression")};ne.parseTemplateElement=function(e){var t=e.isTagged,i=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
11
|
+
`),cooked:this.value},this.next(),i.tail=this.type===y.backQuote,this.finishNode(i,"TemplateElement")};ne.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var i=this.startNode();this.next(),i.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(i.quasis=[r];!r.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(y.braceR),i.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(i,"TemplateLiteral")};ne.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!pt.test(this.input.slice(this.lastTokEnd,this.start))};ne.parseObj=function(e,t){var i=this.startNode(),r=!0,s={};for(i.properties=[],this.next();!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),i.properties.push(a)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};ne.parseProperty=function(e,t){var i=this.startNode(),r,s,a,o;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===y.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(this.type===y.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),i.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(a=this.start,o=this.startLoc),e||(r=this.eat(y.star)));var l=this.containsEsc;return this.parsePropertyName(i),!e&&!l&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)?(s=!0,r=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(i,t)):s=!1,this.parsePropertyValue(i,e,r,s,a,o,t,l),this.finishNode(i,"Property")};ne.parsePropertyValue=function(e,t,i,r,s,a,o,l){if((i||r)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===y.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(i,r);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq){(i||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c=e.kind==="get"?0:1;if(e.value.params.length!==c){var m=e.value.start;e.kind==="get"?this.raiseRecoverable(m,"getter should have no params"):this.raiseRecoverable(m,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((i||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===y.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};ne.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ne.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};ne.parseMethod=function(e,t,i){var r=this.startNode(),s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Jn(t,r.generator)|Un|(i?Co:0)),this.expect(y.parenL),r.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")};ne.parseArrowExpression=function(e,t,i,r){var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Jn(i,!1)|ko),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")};ne.parseFunctionBody=function(e,t,i,r){var s=t&&this.type!==y.braceL,a=this.strict,o=!1;if(s)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var l=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||l)&&(o=this.strictDirective(this.end),o&&l&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!i&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,_o),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()};ne.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var r=i[t];if(r.type!=="Identifier")return!1}return!0};ne.checkParams=function(e,t){for(var i=Object.create(null),r=0,s=e.params;r<s.length;r+=1){var a=s[r];this.checkLValInnerPattern(a,qn,t?null:i)}};ne.parseExprList=function(e,t,i,r){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(y.comma),t&&this.afterTrailingComma(e))break;var o=void 0;i&&this.type===y.comma?o=null:this.type===y.ellipsis?(o=this.parseSpread(r),r&&this.type===y.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),s.push(o)}return s};ne.checkUnreserved=function(e){var t=e.start,i=e.end,r=e.name;if(this.inGenerator&&r==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&r==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(r==="arguments"||r==="await")&&this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1)){var s=this.strict?this.reservedWordsStrict:this.reservedWords;s.test(r)&&(!this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))}};ne.parseIdent=function(e,t){var i=this.startNode();return this.type===y.name?i.name=this.value:this.type.keyword?(i.name=this.type.keyword,(i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(i,"Identifier"),e||(this.checkUnreserved(i),i.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i.start)),i};ne.parsePrivateIdent=function(){var e=this.startNode();return this.type===y.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e),e};ne.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(y.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};ne.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var _r=Be.prototype;_r.raise=function(e,t){var i=bo(this.input,e);t+=" ("+i.line+":"+i.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=i,r.raisedAt=this.pos,r};_r.raiseRecoverable=_r.raise;_r.curPosition=function(){if(this.options.locations)return new Ji(this.curLine,this.pos-this.lineStart)};var Kt=Be.prototype,ef=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Kt.enterScope=function(e){this.scopeStack.push(new ef(e))};Kt.exitScope=function(){this.scopeStack.pop()};Kt.treatFunctionsAsVarInScope=function(e){return e.flags&Ii||!this.inModule&&e.flags&qi};Kt.declareName=function(e,t,i){var r=!1;if(t===Mt){var s=this.currentScope();r=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&qi&&delete this.undefinedExports[e]}else if(t===So){var a=this.currentScope();a.lexical.push(e)}else if(t===Ao){var o=this.currentScope();this.treatFunctionsAsVar?r=o.lexical.indexOf(e)>-1:r=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var c=this.scopeStack[l];if(c.lexical.indexOf(e)>-1&&!(c.flags&Eo&&c.lexical[0]===e)||!this.treatFunctionsAsVarInScope(c)&&c.functions.indexOf(e)>-1){r=!0;break}if(c.var.push(e),this.inModule&&c.flags&qi&&delete this.undefinedExports[e],c.flags&zn)break}r&&this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")};Kt.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Kt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Kt.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&zn)return t}};Kt.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&zn&&!(t.flags&ko))return t}};var Ir=function(t,i,r){this.type="",this.start=i,this.end=0,t.options.locations&&(this.loc=new Er(t,r)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[i,0])},Wi=Be.prototype;Wi.startNode=function(){return new Ir(this,this.start,this.startLoc)};Wi.startNodeAt=function(e,t){return new Ir(this,e,t)};function To(e,t,i,r){return e.type=t,e.end=i,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=i),e}Wi.finishNode=function(e,t){return To.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Wi.finishNodeAt=function(e,t,i,r){return To.call(this,e,t,i,r)};Wi.copyNode=function(e){var t=new Ir(this,e.start,this.startLoc);for(var i in e)t[i]=e[i];return t};var Po="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",Bo=Po+" Extended_Pictographic",Lo=Bo,Do=Lo+" EBase EComp EMod EPres ExtPict",tf=Do,rf={9:Po,10:Bo,11:Lo,12:Do,13:tf},No="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",Ro="Adlam Adlm 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 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",Oo=Ro+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Vo=Oo+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",jo=Vo+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",nf=jo+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",sf={9:Ro,10:Oo,11:Vo,12:jo,13:nf},Mo={};function af(e){var t=Mo[e]={binary:ai(rf[e]+" "+No),nonBinary:{General_Category:ai(No),Script:ai(sf[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}for(var Wn=0,Uo=[9,10,11,12,13];Wn<Uo.length;Wn+=1)zo=Uo[Wn],af(zo);var zo,$=Be.prototype,Ut=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":""),this.unicodeProperties=Mo[t.options.ecmaVersion>=13?13:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Ut.prototype.reset=function(t,i,r){var s=r.indexOf("u")!==-1;this.start=t|0,this.source=i+"",this.flags=r,this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchN=s&&this.parser.options.ecmaVersion>=9};Ut.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ut.prototype.at=function(t,i){i===void 0&&(i=!1);var r=this.source,s=r.length;if(t>=s)return-1;var a=r.charCodeAt(t);if(!(i||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var o=r.charCodeAt(t+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a};Ut.prototype.nextIndex=function(t,i){i===void 0&&(i=!1);var r=this.source,s=r.length;if(t>=s)return s;var a=r.charCodeAt(t),o;return!(i||this.switchU)||a<=55295||a>=57344||t+1>=s||(o=r.charCodeAt(t+1))<56320||o>57343?t+1:t+2};Ut.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ut.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ut.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ut.prototype.eat=function(t,i){return i===void 0&&(i=!1),this.current(i)===t?(this.advance(i),!0):!1};function Fr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}$.validateRegExpFlags=function(e){for(var t=e.validFlags,i=e.flags,r=0;r<i.length;r++){var s=i.charAt(r);t.indexOf(s)===-1&&this.raise(e.start,"Invalid regular expression flag"),i.indexOf(s,r+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}};$.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};$.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var r=i[t];e.groupNames.indexOf(r)===-1&&e.raise("Invalid named capture referenced")}};$.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};$.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};$.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};$.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!i,!0}return e.pos=t,!1};$.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};$.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};$.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=i}return!1};$.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)};$.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};$.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1};$.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};$.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)};$.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};$.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Jo(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Jo(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}$.regexp_eatPatternCharacters=function(e){for(var t=e.pos,i=0;(i=e.current())!==-1&&!Jo(i);)e.advance();return e.pos!==t};$.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};$.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};$.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};$.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Fr(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Fr(e.lastIntValue);return!0}return!1};$.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),of(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function of(e){return jt(e,!0)||e===36||e===95}$.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,i=this.options.ecmaVersion>=11,r=e.current(i);return e.advance(i),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)&&(r=e.lastIntValue),uf(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function uf(e){return Si(e,!0)||e===36||e===95||e===8204||e===8205}$.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};$.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU)return i>e.maxBackReference&&(e.maxBackReference=i),!0;if(i<=e.numCapturingParens)return!0;e.pos=t}return!1};$.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};$.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};$.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};$.regexp_eatZero=function(e){return e.current()===48&&!Tr(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};$.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};$.regexp_eatControlLetter=function(e){var t=e.current();return qo(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function qo(e){return e>=65&&e<=90||e>=97&&e<=122}$.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var i=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(r&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(s-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&lf(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=i}return!1};function lf(e){return e>=0&&e<=1114111}$.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};$.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!0}return!1};$.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(cf(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function cf(e){return e===100||e===68||e===115||e===83||e===119||e===87}$.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,i,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1};$.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){zi(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(i)||e.raise("Invalid property value")};$.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};$.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Xo(t=e.current());)e.lastStringValue+=Fr(t),e.advance();return e.lastStringValue!==""};function Xo(e){return qo(e)||e===95}$.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";hf(t=e.current());)e.lastStringValue+=Fr(t),e.advance();return e.lastStringValue!==""};function hf(e){return Xo(e)||Tr(e)}$.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};$.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};$.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;e.switchU&&(t===-1||i===-1)&&e.raise("Invalid character class"),t!==-1&&i!==-1&&t>i&&e.raise("Range out of order in character class")}}};$.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var i=e.current();(i===99||Ho(i))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1};$.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};$.regexp_eatClassControlLetter=function(e){var t=e.current();return Tr(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};$.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};$.regexp_eatDecimalDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Tr(i=e.current());)e.lastIntValue=10*e.lastIntValue+(i-48),e.advance();return e.pos!==t};function Tr(e){return e>=48&&e<=57}$.regexp_eatHexDigits=function(e){var t=e.pos,i=0;for(e.lastIntValue=0;Wo(i=e.current());)e.lastIntValue=16*e.lastIntValue+Go(i),e.advance();return e.pos!==t};function Wo(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Go(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}$.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+i*8+e.lastIntValue:e.lastIntValue=t*8+i}else e.lastIntValue=t;return!0}return!1};$.regexp_eatOctalDigit=function(e){var t=e.current();return Ho(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Ho(e){return e>=48&&e<=55}$.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var s=e.current();if(!Wo(s))return e.pos=i,!1;e.lastIntValue=16*e.lastIntValue+Go(s),e.advance()}return!0};var Gn=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Er(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},le=Be.prototype;le.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Gn(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};le.getToken=function(){return this.next(),new Gn(this)};typeof Symbol!="undefined"&&(le[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}});le.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(y.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};le.readToken=function(e){return jt(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};le.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};le.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var r=void 0,s=t;(r=mo(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())};le.skipLineComment=function(e){for(var t=this.pos,i=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!_i(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())};le.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,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&&xo.test(String.fromCharCode(e)))++this.pos;else break e}}};le.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=e,this.value=t,this.updateContext(i)};le.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))};le.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(y.assign,2):this.finishOp(y.slash,1)};le.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),i=1,r=e===42?y.star:y.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++i,r=y.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(y.assign,i+1):this.finishOp(r,i)};le.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(y.assign,3)}return this.finishOp(e===124?y.logicalOR:y.logicalAND,2)}return t===61?this.finishOp(y.assign,2):this.finishOp(e===124?y.bitwiseOR:y.bitwiseAND,1)};le.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)};le.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||pt.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2):t===61?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)};le.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),i=1;return t===e?(i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+i)===61?this.finishOp(y.assign,i+1):this.finishOp(y.bitShift,i)):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(),this.nextToken()):(t===61&&(i=2),this.finishOp(y.relational,i))};le.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(e===61?y.eq:y.prefix,1)};le.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(y.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(y.assign,3)}return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)};le.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),jt(t,!0)||t===92))return this.finishToken(y.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Pr(t)+"'")};le.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.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(!1);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 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Pr(e)+"'")};le.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,i)};le.readRegexp=function(){for(var e,t,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(pt.test(r)&&this.raise(i,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var s=this.input.slice(i,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var l=this.regexpState||(this.regexpState=new Ut(this));l.reset(i,s,o),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var c=null;try{c=new RegExp(s,o)}catch(m){}return this.finishToken(y.regexp,{pattern:s,flags:o,value:c})};le.readInt=function(e,t,i){for(var r=this.options.ecmaVersion>=12&&t===void 0,s=i&&this.input.charCodeAt(this.pos)===48,a=this.pos,o=0,l=0,c=0,m=t??Infinity;c<m;++c,++this.pos){var x=this.input.charCodeAt(this.pos),w=void 0;if(r&&x===95){s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),c===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=x;continue}if(x>=97?w=x-97+10:x>=65?w=x-65+10:x>=48&&x<=57?w=x-48:w=Infinity,w>=e)break;l=x,o=o*e+w}return r&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:o};function pf(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Yo(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}le.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);return i==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(i=Yo(this.input.slice(t,this.pos)),++this.pos):jt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,i)};le.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;i&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var s=Yo(this.input.slice(t,this.pos));return++this.pos,jt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,s)}i&&/[89]/.test(this.input.slice(t,this.pos))&&(i=!1),r===46&&!i&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!i&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),jt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=pf(this.input.slice(t,this.pos),i);return this.finishToken(y.num,a)};le.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(i,"Code point out of bounds")}else t=this.readHexChar(4);return t};function Pr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}le.readString=function(e){for(var t="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(i,this.pos),t+=this.readEscapedChar(!1),i=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(_i(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(i,this.pos++),this.finishToken(y.string,t)};var Qo={};le.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Qo)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};le.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Qo;this.raise(e,t)};le.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)?i===36?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e));if(i===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(_i(i)){switch(e+=this.input.slice(t,this.pos),++this.pos,i){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
12
12
|
`;break;default:e+=String.fromCharCode(i);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};le.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(y.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")};le.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
13
|
-
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Tr(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;return this.invalidStringToken(i,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(r,8);return s>255&&(r=r.slice(0,-1),s=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(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"),String.fromCharCode(s)}return _i(t)?"":String.fromCharCode(t)}};le.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i};le.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(Si(s,r))this.pos+=s<=65535?1:2;else if(s===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?Mt:Si)(o,r)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=Tr(o),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)};le.readWord=function(){var e=this.readWord1(),t=y.name;return this.keywords.test(e)&&(t=Nn[e]),this.finishToken(t,e)};var hf="8.7.0";Be.acorn={Parser:Be,version:hf,defaultOptions:Rn,Position:zi,SourceLocation:kr,getLineInfo:mo,Node:_r,TokenType:fe,tokTypes:y,keywordTypes:Nn,TokContext:wt,tokContexts:Fe,isIdentifierChar:Si,isIdentifierStart:Mt,Token:Xn,isNewLine:_i,lineBreak:pt,lineBreakG:Up,nonASCIIwhitespace:ho};var du=Tt(Zo());h();p();h();p();function Me(e,t,i,r){let s=e.length,a=0,o;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,i=i>0?i:0,r.length<1e4)o=Array.from(r),o.unshift(t,i),[].splice.apply(e,o);else for(i&&[].splice.apply(e,[t,i]);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function Ge(e,t){return e.length>0?(Me(e,e.length,0,t),e):t}var $o={}.hasOwnProperty;function Br(e){let t={},i=-1;for(;++i<e.length;)xf(t,e[i]);return t}function xf(e,t){let i;for(i in t){let s=($o.call(e,i)?e[i]:void 0)||(e[i]={}),a=t[i],o;for(o in a){$o.call(s,o)||(s[o]=[]);let l=a[o];gf(s[o],Array.isArray(l)?l:l?[l]:[])}}}function gf(e,t){let i=-1,r=[];for(;++i<t.length;)(t[i].add==="after"?e:r).push(t[i]);Me(e,0,0,r)}h();p();h();p();h();p();h();p();h();p();var eu=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var at=Kt(/[A-Za-z]/),Gi=Kt(/\d/),tu=Kt(/[\dA-Fa-f]/),Oe=Kt(/[\dA-Za-z]/),iu=Kt(/[!-/:-@[-`{-~]/),Gn=Kt(/[#-'*+\--9=?A-Z^-~]/);function Yi(e){return e!==null&&(e<32||e===127)}function Ee(e){return e!==null&&(e<0||e===32)}function J(e){return e!==null&&e<-2}function me(e){return e===-2||e===-1||e===32}var ot=Kt(/\s/),ru=Kt(eu);function Kt(e){return t;function t(i){return i!==null&&e.test(String.fromCharCode(i))}}h();p();function $(e,t,i,r){let s=r?r-1:Number.POSITIVE_INFINITY,a=0;return o;function o(c){return me(c)?(e.enter(i),l(c)):t(c)}function l(c){return me(c)&&a++<s?(e.consume(c),l):(e.exit(i),t(c))}}h();p();function tt(e){let t=e||{},i=t.loc||{},r=t.range||[0,0],s=r[0]||t.start,a=r[1]||t.end;return{start:{line:i.start&&typeof i.start.line=="number"&&i.start.line>-1?i.start.line:void 0,column:i.start&&typeof i.start.column=="number"&&i.start.column>-1?i.start.column+1:void 0,offset:typeof s=="number"&&s>-1?s:void 0},end:{line:i.end&&typeof i.end.line=="number"&&i.end.line>-1?i.end.line:void 0,column:i.end&&typeof i.end.column=="number"&&i.end.column>-1?i.end.column+1:void 0,offset:typeof a=="number"&&a>-1?a:void 0}}}h();p();h();p();h();p();function nu(e){return e}var yf={}.hasOwnProperty,bf=Symbol("continue"),vf=Symbol("skip"),Yn=Symbol("exit");function au(e,t){var i,r;typeof t=="function"?i=t:t&&typeof t=="object"&&(i=t.enter,r=t.leave),s(e,null,null,[])();function s(a,o,l,c){return Qn(a)&&(d.displayName="node ("+nu(a.type)+")"),d;function d(){var x=i?su(i(a,o,l,c)):[],k,C,g,E,_,F;if(x[0]===Yn)return x;if(x[0]!==vf){for(k in a)if(yf.call(a,k)&&a[k]&&typeof a[k]=="object"&&k!=="data"&&k!=="position"){if(_=a[k],g=c.concat(a),Array.isArray(_))for(C=0;C>-1&&C<_.length;)if(F=_[C],Qn(F)){if(E=s(F,k,C,g)(),E[0]===Yn)return E;C=typeof E[1]=="number"?E[1]:C+1}else C++;else if(Qn(_)&&(E=s(_,k,null,g)(),E[0]===Yn))return E}}return r?su(r(a,o,l,c)):x}}}function su(e){return Array.isArray(e)?e:typeof e=="number"?[bf,e]:[e]}function Qn(e){return Boolean(e&&typeof e=="object"&&typeof e.type=="string"&&e.type.length>0)}var wf={}.hasOwnProperty;function Lr(e,t){let{prefix:i="",suffix:r=""}=t,s=[],a=Object.assign({},t.acornOptions,{onComment:s,preserveParens:!0}),o=[],l={},c=-1,d=!1,x,k,C;for(t.start&&(C=t.start.offset,l[t.start.line]=t.start);++c<e.length;){let T=e[c][1];e[c][0]==="exit"&&(o.push(e[c][2].sliceSerialize(T)),C===void 0&&(C=e[c][1].start.offset),(!(T.start.line in l)||l[T.start.line].offset>T.start.offset)&&(l[T.start.line]=T.start))}let g=o.join(""),E=i+g+r,_=t.expression&&ou(g);if(_&&!t.allowEmpty)throw new ue("Unexpected empty expression",F(0),"micromark-extension-mdx-expression:unexpected-empty-expression");try{x=t.expression&&!_?t.acorn.parseExpressionAt(E,0,a):t.acorn.parse(E,a)}catch(T){let N=T,L=F(N.pos);N.message=String(N.message).replace(/ \(\d+:\d+\)$/,""),N.pos=L.offset,N.loc={line:L.line,column:L.column-1},k=N,d=N.raisedAt>=i.length+g.length||N.message==="Unterminated comment"}if(x&&t.expression&&!_)if(ou(E.slice(x.end,E.length-r.length)))x={type:"Program",start:0,end:i.length+g.length,body:[{type:"ExpressionStatement",expression:x,start:0,end:i.length+g.length}],sourceType:"module",comments:[]};else{let T=F(x.end);k=new Error("Unexpected content after expression"),k.pos=T.offset,k.loc={line:T.line,column:T.column-1},x=void 0}return x&&(x.comments=s,au(x,(T,N,L,f)=>{let V=f[f.length-1],A=N;T.type==="ParenthesizedExpression"&&V&&A&&(typeof L=="number"&&(V=V[A],A=L),V[A]=T.expression);let O=F(T.start),j=F(T.end);T.start=O.offset,T.end=j.offset,T.loc={start:{line:O.line,column:O.column-1},end:{line:j.line,column:j.column-1}},T.range=[T.start,T.end]})),{estree:x,error:k,swallow:d};function F(T){let N=T-i.length,L,f;N<0?N=0:N>g.length&&(N=g.length),N+=C;for(L in l)if(wf.call(l,L)){if(f||(f=l[L]),l[L].offset>T)break;f=l[L]}return{line:f.line,column:f.column+(N-f.offset),offset:N}}}function ou(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function Ti(e,t,i,r,s,a,o,l,c,d,x,k){let C=this,g=this.events.length+3,E=this.events[this.events.length-1],_=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,F=_?_+1:0,T=1,N,L;return f;function f(j){return e.enter(i),e.enter(r),e.consume(j),e.exit(r),N=C.now(),V}function V(j){if(j===null)throw L||new ue("Unexpected end of file in expression, expected a corresponding closing brace for `{`",C.now(),"micromark-extension-mdx-expression:unexpected-eof");if(j===125)return O(j);if(J(j)){e.enter("lineEnding"),e.consume(j),e.exit("lineEnding");let ee=k?k+4-C.now().column:0,G=Math.max(F,ee);return G?$(e,V,"linePrefix",G):V}let U=C.now();if(U.line!==N.line&&!x&&C.parser.lazy[U.line])throw new ue("Unexpected end of file in expression, expected a corresponding closing brace for `{`",C.now(),"micromark-extension-mdx-expression:unexpected-eof");return e.enter(s),A(j)}function A(j){return j===null||j===125||J(j)?(e.exit(s),V(j)):j===123&&!a?(e.consume(j),T++,A):(e.consume(j),A)}function O(j){if(T--,!a)return T?(e.enter(s),e.consume(j),A):(e.enter(r),e.consume(j),e.exit(r),e.exit(i),t);let U=Lr(C.events.slice(g),{acorn:a,acornOptions:o,start:N,expression:!0,allowEmpty:d,prefix:c?"({":"",suffix:c?"})":""}),ee=U.estree;if(c&&ee){let G=ee.body[0];if(G.type!=="ExpressionStatement"||G.expression.type!=="ObjectExpression")throw new ue("Unexpected `"+G.type+"` in code: expected an object spread (`{...spread}`)",tt(G).start,"micromark-extension-mdx-expression:non-spread");if(G.expression.properties[1])throw new ue("Unexpected extra content in spread: only a single spread is supported",tt(G.expression.properties[1]).start,"micromark-extension-mdx-expression:spread-extra");if(G.expression.properties[0]&&G.expression.properties[0].type!=="SpreadElement")throw new ue("Unexpected `"+G.expression.properties[0].type+"` in code: only spread elements are supported",tt(G.expression.properties[0]).start,"micromark-extension-mdx-expression:non-spread")}if(U.error){if(L=new ue("Could not parse expression with acorn: "+U.error.message,{line:U.error.loc.line,column:U.error.loc.column+1,offset:U.error.pos},"micromark-extension-mdx-expression:acorn"),j!==null&&U.swallow)return e.enter(s),e.consume(j),A;throw L}return e.enter(r),e.consume(j),e.exit(r),Object.assign(e.exit(i),l?{estree:ee}:void 0),t}}function Kn(e={}){let t=e.addResult,i=e.acorn,r=e.spread,s=e.allowEmpty,a;if(s==null&&(s=!0),i){if(!i.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");a=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions)}else if(e.acornOptions||e.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{[123]:{tokenize:o,concrete:!0}},text:{[123]:{tokenize:l}}};function o(c,d,x){let k=this;return C;function C(E){return Ti.call(k,c,$(c,g,"whitespace"),"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",i,a,t,r,s)(E)}function g(E){return E===null||J(E)?d(E):x(E)}}function l(c,d){let x=this;return k;function k(C){return Ti.call(x,c,d,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",i,a,t,r,s,!0)(C)}}}h();p();h();p();h();p();h();p();h();p();h();p();var Zn=/[$A-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\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\u09FC\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\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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]/,uu=/[\d\u00B7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]/;function je(e){return Zn.test(String.fromCharCode(e))}function kt(e){var t=String.fromCharCode(e);return Zn.test(t)||uu.test(t)}function Zt(e){for(var t=-1;++t<e.length;)if(!(t?kt:je)(e.charCodeAt(t)))return!1;return t>0}var Ef={tokenize:kf,partial:!0};function Dr(e,t,i,r,s,a,o,l,c,d,x,k,C,g,E,_,F,T,N,L,f,V,A,O,j,U,ee,G,W,q,se,ye){let ke=this,ae,be,Se;return _e;function _e(w){return Se=ke.now(),e.enter(l),e.enter(c),e.consume(w),e.exit(c),B}function B(w){return J(w)||me(w)?i(w):(ae=P,Ce(w))}function P(w){if(w===47)return e.enter(d),e.consume(w),e.exit(d),ae=nt,Ce;if(w===62)return _t(w);if(w!==null&&je(w))return e.enter(k),e.enter(C),e.consume(w),qe;R(w,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(w===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function nt(w){if(w===62)return _t(w);if(w!==null&&je(w))return e.enter(k),e.enter(C),e.consume(w),qe;R(w,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(w===42||w===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function qe(w){if(w===45||w!==null&&kt(w))return e.consume(w),qe;if(w===46||w===47||w===58||w===62||w===123||Ee(w)||ot(w))return e.exit(C),ae=dt,Ce(w);R(w,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(w===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function dt(w){if(w===46)return e.enter(g),e.consume(w),e.exit(g),ae=xt,Ce;if(w===58)return e.enter(_),e.consume(w),e.exit(_),ae=Ct,Ce;if(w===47||w===62||w===123||w!==null&&je(w))return e.exit(k),Ne(w);R(w,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function xt(w){if(w!==null&&je(w))return e.enter(E),e.consume(w),Xe;R(w,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Xe(w){if(w===45||w!==null&&kt(w))return e.consume(w),Xe;if(w===46||w===47||w===62||w===123||Ee(w)||ot(w))return e.exit(E),ae=Te,Ce(w);R(w,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(w===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Te(w){if(w===46)return e.enter(g),e.consume(w),e.exit(g),ae=xt,Ce;if(w===47||w===62||w===123||w!==null&&je(w))return e.exit(k),Ne(w);R(w,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Ct(w){if(w!==null&&je(w))return e.enter(F),e.consume(w),He;R(w,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(w===43||w!==null&&w>46&&w<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function He(w){if(w===45||w!==null&&kt(w))return e.consume(w),He;if(w===47||w===62||w===123||Ee(w)||ot(w))return e.exit(F),ae=ut,Ce(w);R(w,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function ut(w){if(w===47||w===62||w===123||w!==null&&je(w))return e.exit(k),Ne(w);R(w,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Ne(w){if(w===47)return e.enter(x),e.consume(w),e.exit(x),ae=ie,Ce;if(w===62)return _t(w);if(w===123)return Ti.call(ke,e,At,T,N,L,r,s,a,!0,!1,o,Se.column)(w);if(w!==null&&je(w))return e.enter(f),e.enter(V),e.enter(A),e.consume(w),Ke;R(w,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function At(w){return ae=Ne,Ce(w)}function Ke(w){if(w===45||w!==null&&kt(w))return e.consume(w),Ke;if(w===47||w===58||w===61||w===62||w===123||Ee(w)||ot(w))return e.exit(A),ae=di,Ce(w);R(w,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function di(w){if(w===58)return e.enter(O),e.consume(w),e.exit(O),ae=xi,Ce;if(w===61)return e.exit(V),e.enter(U),e.consume(w),e.exit(U),ae=st,Ce;if(w===47||w===62||w===123||Ee(w)||ot(w)||w!==null&&je(w))return e.exit(V),e.exit(f),ae=Ne,Ce(w);R(w,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function xi(w){if(w!==null&&je(w))return e.enter(j),e.consume(w),Ht;R(w,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Ht(w){if(w===45||w!==null&&kt(w))return e.consume(w),Ht;if(w===47||w===61||w===62||w===123||Ee(w)||ot(w))return e.exit(j),e.exit(V),ae=ve,Ce(w);R(w,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function ve(w){if(w===61)return e.enter(U),e.consume(w),e.exit(U),ae=st,Ce;if(w===47||w===62||w===123||w!==null&&je(w))return e.exit(f),Ne(w);R(w,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function st(w){if(w===34||w===39)return e.enter(ee),e.enter(G),e.consume(w),e.exit(G),be=w,Wt;if(w===123)return Ti.call(ke,e,Le,q,se,ye,r,s,a,!1,!1,o,Se.column)(w);R(w,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(w===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function Le(w){return e.exit(f),ae=Ne,Ce(w)}function Wt(w){return w===null&&R(w,"in attribute value","a corresponding closing quote `"+String.fromCharCode(be)+"`"),w===be?(e.enter(G),e.consume(w),e.exit(G),e.exit(ee),e.exit(f),be=void 0,ae=Ne,Ce):J(w)?(ae=Wt,Ce(w)):(e.enter(W),St(w))}function St(w){return w===null||w===be||J(w)?(e.exit(W),Wt(w)):(e.consume(w),St)}function ie(w){if(w===62)return _t(w);R(w,"after self-closing slash","`>` to end the tag"+(w===42||w===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function _t(w){return e.enter(c),e.consume(w),e.exit(c),e.exit(l),t}function Ce(w){return J(w)?o?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),$(e,Ce,"linePrefix",4)):e.attempt(Ef,$(e,Ce,"linePrefix",4),Nt)(w):me(w)||ot(w)?(e.enter("esWhitespace"),gi(w)):ae(w)}function gi(w){return J(w)||!(me(w)||ot(w))?(e.exit("esWhitespace"),Ce(w)):(e.consume(w),gi)}function Nt(){throw new ue("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",ke.now(),"micromark-extension-mdx-jsx:unexpected-eof")}function R(w,Q,H){throw new ue("Unexpected "+(w===null?"end of file":"character `"+(w===96?"` ` `":String.fromCharCode(w))+"` ("+Cf(w)+")")+" "+Q+", expected "+H,ke.now(),"micromark-extension-mdx-jsx:unexpected-"+(w===null?"eof":"character"))}}function kf(e,t,i){let r=this;return s;function s(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a}function a(o){return r.parser.lazy[r.now().line]?i(o):t(o)}}function Cf(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function lu(e,t,i){return{tokenize:r};function r(s,a,o){return Dr.call(this,s,a,o,e,t,i,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}h();p();function cu(e,t,i){return{tokenize:r,concrete:!0};function r(s,a,o){let l=this;return c;function c(x){return Dr.call(l,s,$(s,d,"whitespace"),o,e,t,i,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(x)}function d(x){return x===60?c(x):x===null||J(x)?a(x):o(x)}}}function $n(e={}){let t=e.acorn,i;if(t){if(!t.parse||!t.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");i=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions,{locations:!0})}else if(e.acornOptions||e.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{[60]:cu(t,i,e.addResult)},text:{[60]:lu(t,i,e.addResult)}}}h();p();var hu={disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}};h();p();h();p();h();p();h();p();h();p();function es(e){if(e===null||Ee(e)||ot(e))return 1;if(ru(e))return 2}h();p();function Pi(e,t,i){let r=[],s=-1;for(;++s<e.length;){let a=e[s].resolveAll;a&&!r.includes(a)&&(t=a(t,i),r.push(a))}return t}var Qi={name:"attention",tokenize:Sf,resolveAll:Af};function Af(e,t){let i=-1,r,s,a,o,l,c,d,x;for(;++i<e.length;)if(e[i][0]==="enter"&&e[i][1].type==="attentionSequence"&&e[i][1]._close){for(r=i;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[i][1]).charCodeAt(0)){if((e[r][1]._close||e[i][1]._open)&&(e[i][1].end.offset-e[i][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[i][1].end.offset-e[i][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[i][1].end.offset-e[i][1].start.offset>1?2:1;let k=Object.assign({},e[r][1].end),C=Object.assign({},e[i][1].start);pu(k,-c),pu(C,c),o={type:c>1?"strongSequence":"emphasisSequence",start:k,end:Object.assign({},e[r][1].end)},l={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[i][1].start),end:C},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[i][1].start)},s={type:c>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},o.start),e[i][1].start=Object.assign({},l.end),d=[],e[r][1].end.offset-e[r][1].start.offset&&(d=Ge(d,[["enter",e[r][1],t],["exit",e[r][1],t]])),d=Ge(d,[["enter",s,t],["enter",o,t],["exit",o,t],["enter",a,t]]),d=Ge(d,Pi(t.parser.constructs.insideSpan.null,e.slice(r+1,i),t)),d=Ge(d,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",s,t]]),e[i][1].end.offset-e[i][1].start.offset?(x=2,d=Ge(d,[["enter",e[i][1],t],["exit",e[i][1],t]])):x=0,Me(e,r-1,i-r+3,d),i=r+d.length-x-2;break}}for(i=-1;++i<e.length;)e[i][1].type==="attentionSequence"&&(e[i][1].type="data");return e}function Sf(e,t){let i=this.parser.constructs.attentionMarkers.null,r=this.previous,s=es(r),a;return o;function o(c){return e.enter("attentionSequence"),a=c,l(c)}function l(c){if(c===a)return e.consume(c),l;let d=e.exit("attentionSequence"),x=es(c),k=!x||x===2&&s||i.includes(c),C=!s||s===2&&x||i.includes(r);return d._open=Boolean(a===42?k:k&&(s||!C)),d._close=Boolean(a===42?C:C&&(x||!k)),t(c)}}function pu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}h();p();var ts={name:"autolink",tokenize:_f};function _f(e,t,i){let r=1;return s;function s(E){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(E){return at(E)?(e.consume(E),o):Gn(E)?d(E):i(E)}function o(E){return E===43||E===45||E===46||Oe(E)?l(E):d(E)}function l(E){return E===58?(e.consume(E),c):(E===43||E===45||E===46||Oe(E))&&r++<32?(e.consume(E),l):d(E)}function c(E){return E===62?(e.exit("autolinkProtocol"),g(E)):E===null||E===32||E===60||Yi(E)?i(E):(e.consume(E),c)}function d(E){return E===64?(e.consume(E),r=0,x):Gn(E)?(e.consume(E),d):i(E)}function x(E){return Oe(E)?k(E):i(E)}function k(E){return E===46?(e.consume(E),r=0,x):E===62?(e.exit("autolinkProtocol").type="autolinkEmail",g(E)):C(E)}function C(E){return(E===45||Oe(E))&&r++<63?(e.consume(E),E===45?C:k):i(E)}function g(E){return e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.exit("autolink"),t}}h();p();var Dt={tokenize:If,partial:!0};function If(e,t,i){return $(e,r,"linePrefix");function r(s){return s===null||J(s)?t(s):i(s)}}h();p();var Nr={name:"blockQuote",tokenize:Ff,continuation:{tokenize:Tf},exit:Pf};function Ff(e,t,i){let r=this;return s;function s(o){if(o===62){let l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return i(o)}function a(o){return me(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function Tf(e,t,i){return $(e,e.attempt(Nr,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Pf(e){e.exit("blockQuote")}h();p();var Rr={name:"characterEscape",tokenize:Bf};function Bf(e,t,i){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),s}function s(a){return iu(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):i(a)}}h();p();h();p();var fu=document.createElement("i");function zt(e){let t="&"+e+";";fu.innerHTML=t;let i=fu.textContent;return i.charCodeAt(i.length-1)===59&&e!=="semi"||i===t?!1:i}var Or={name:"characterReference",tokenize:Lf};function Lf(e,t,i){let r=this,s=0,a,o;return l;function l(k){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(k),e.exit("characterReferenceMarker"),c}function c(k){return k===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(k),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),a=31,o=Oe,x(k))}function d(k){return k===88||k===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(k),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=tu,x):(e.enter("characterReferenceValue"),a=7,o=Gi,x(k))}function x(k){let C;return k===59&&s?(C=e.exit("characterReferenceValue"),o===Oe&&!zt(r.sliceSerialize(C))?i(k):(e.enter("characterReferenceMarker"),e.consume(k),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)):o(k)&&s++<a?(e.consume(k),x):i(k)}}h();p();var Vr={name:"codeFenced",tokenize:Df,concrete:!0};function Df(e,t,i){let r=this,s={tokenize:V,partial:!0},a={tokenize:f,partial:!0},o=this.events[this.events.length-1],l=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,c=0,d;return x;function x(A){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d=A,k(A)}function k(A){return A===d?(e.consume(A),c++,k):(e.exit("codeFencedFenceSequence"),c<3?i(A):$(e,C,"whitespace")(A))}function C(A){return A===null||J(A)?F(A):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(A))}function g(A){return A===null||Ee(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$(e,E,"whitespace")(A)):A===96&&A===d?i(A):(e.consume(A),g)}function E(A){return A===null||J(A)?F(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(A))}function _(A){return A===null||J(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),F(A)):A===96&&A===d?i(A):(e.consume(A),_)}function F(A){return e.exit("codeFencedFence"),r.interrupt?t(A):T(A)}function T(A){return A===null?L(A):J(A)?e.attempt(a,e.attempt(s,L,l?$(e,T,"linePrefix",l+1):T),L)(A):(e.enter("codeFlowValue"),N(A))}function N(A){return A===null||J(A)?(e.exit("codeFlowValue"),T(A)):(e.consume(A),N)}function L(A){return e.exit("codeFenced"),t(A)}function f(A,O,j){let U=this;return ee;function ee(W){return A.enter("lineEnding"),A.consume(W),A.exit("lineEnding"),G}function G(W){return U.parser.lazy[U.now().line]?j(W):O(W)}}function V(A,O,j){let U=0;return $(A,ee,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ee(q){return A.enter("codeFencedFence"),A.enter("codeFencedFenceSequence"),G(q)}function G(q){return q===d?(A.consume(q),U++,G):U<c?j(q):(A.exit("codeFencedFenceSequence"),$(A,W,"whitespace")(q))}function W(q){return q===null||J(q)?(A.exit("codeFencedFence"),O(q)):j(q)}}}h();p();var Ki={name:"codeIndented",tokenize:Nf},Of={tokenize:Rf,partial:!0};function Nf(e,t,i){let r=this;return s;function s(d){return e.enter("codeIndented"),$(e,a,"linePrefix",4+1)(d)}function a(d){let x=r.events[r.events.length-1];return x&&x[1].type==="linePrefix"&&x[2].sliceSerialize(x[1],!0).length>=4?o(d):i(d)}function o(d){return d===null?c(d):J(d)?e.attempt(Of,o,c)(d):(e.enter("codeFlowValue"),l(d))}function l(d){return d===null||J(d)?(e.exit("codeFlowValue"),o(d)):(e.consume(d),l)}function c(d){return e.exit("codeIndented"),t(d)}}function Rf(e,t,i){let r=this;return s;function s(o){return r.parser.lazy[r.now().line]?i(o):J(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):$(e,a,"linePrefix",4+1)(o)}function a(o){let l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):J(o)?s(o):i(o)}}h();p();var is={name:"codeText",tokenize:jf,resolve:Vf,previous:Mf};function Vf(e){let t=e.length-4,i=3,r,s;if((e[i][1].type==="lineEnding"||e[i][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=i;++r<t;)if(e[r][1].type==="codeTextData"){e[i][1].type="codeTextPadding",e[t][1].type="codeTextPadding",i+=2,t-=2;break}}for(r=i-1,t++;++r<=t;)s===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(s=r):(r===t||e[r][1].type==="lineEnding")&&(e[s][1].type="codeTextData",r!==s+2&&(e[s][1].end=e[r-1][1].end,e.splice(s+2,r-s-2),t-=r-s-2,r=s+2),s=void 0);return e}function Mf(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function jf(e,t,i){let r=this,s=0,a,o;return l;function l(C){return e.enter("codeText"),e.enter("codeTextSequence"),c(C)}function c(C){return C===96?(e.consume(C),s++,c):(e.exit("codeTextSequence"),d(C))}function d(C){return C===null?i(C):C===96?(o=e.enter("codeTextSequence"),a=0,k(C)):C===32?(e.enter("space"),e.consume(C),e.exit("space"),d):J(C)?(e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),d):(e.enter("codeTextData"),x(C))}function x(C){return C===null||C===32||C===96||J(C)?(e.exit("codeTextData"),d(C)):(e.consume(C),x)}function k(C){return C===96?(e.consume(C),a++,k):a===s?(e.exit("codeTextSequence"),e.exit("codeText"),t(C)):(o.type="codeTextData",x(C))}}h();p();h();p();function Mr(e){let t={},i=-1,r,s,a,o,l,c,d;for(;++i<e.length;){for(;i in t;)i=t[i];if(r=e[i],i&&r[1].type==="chunkFlow"&&e[i-1][1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Uf(e,i)),i=t[i],d=!0);else if(r[1]._container){for(a=i,s=void 0;a--&&(o=e[a],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(s&&(e[s][1].type="lineEndingBlank"),o[1].type="lineEnding",s=a);s&&(r[1].end=Object.assign({},e[s][1].start),l=e.slice(s,i),l.unshift(r),Me(e,s,i-s+1,l))}}return!d}function Uf(e,t){let i=e[t][1],r=e[t][2],s=t-1,a=[],o=i._tokenizer||r.parser[i.contentType](i.start),l=o.events,c=[],d={},x,k,C=-1,g=i,E=0,_=0,F=[_];for(;g;){for(;e[++s][1]!==g;);a.push(s),g._tokenizer||(x=r.sliceStream(g),g.next||x.push(null),k&&o.defineSkip(g.start),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(x),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),k=g,g=g.next}for(g=i;++C<l.length;)l[C][0]==="exit"&&l[C-1][0]==="enter"&&l[C][1].type===l[C-1][1].type&&l[C][1].start.line!==l[C][1].end.line&&(_=C+1,F.push(_),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(o.events=[],g?(g._tokenizer=void 0,g.previous=void 0):F.pop(),C=F.length;C--;){let T=l.slice(F[C],F[C+1]),N=a.pop();c.unshift([N,N+T.length-1]),Me(e,N,2,T)}for(C=-1;++C<c.length;)d[E+c[C][0]]=E+c[C][1],E+=c[C][1]-c[C][0]-1;return d}var rs={tokenize:Jf,resolve:zf},Xf={tokenize:qf,partial:!0};function zf(e){return Mr(e),e}function Jf(e,t){let i;return r;function r(l){return e.enter("content"),i=e.enter("chunkContent",{contentType:"content"}),s(l)}function s(l){return l===null?a(l):J(l)?e.check(Xf,o,a)(l):(e.consume(l),s)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function o(l){return e.consume(l),e.exit("chunkContent"),i.next=e.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,s}}function qf(e,t,i){let r=this;return s;function s(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),$(e,a,"linePrefix")}function a(o){if(o===null||J(o))return i(o);let l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,i,t)(o)}}h();p();h();p();function jr(e,t,i,r,s,a,o,l,c){let d=c||Number.POSITIVE_INFINITY,x=0;return k;function k(T){return T===60?(e.enter(r),e.enter(s),e.enter(a),e.consume(T),e.exit(a),C):T===null||T===41||Yi(T)?i(T):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),_(T))}function C(T){return T===62?(e.enter(a),e.consume(T),e.exit(a),e.exit(s),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===62?(e.exit("chunkString"),e.exit(l),C(T)):T===null||T===60||J(T)?i(T):(e.consume(T),T===92?E:g)}function E(T){return T===60||T===62||T===92?(e.consume(T),g):g(T)}function _(T){return T===40?++x>d?i(T):(e.consume(T),_):T===41?x--?(e.consume(T),_):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(T)):T===null||Ee(T)?x?i(T):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(T)):Yi(T)?i(T):(e.consume(T),T===92?F:_)}function F(T){return T===40||T===41||T===92?(e.consume(T),_):_(T)}}h();p();function Ur(e,t,i,r,s,a){let o=this,l=0,c;return d;function d(g){return e.enter(r),e.enter(s),e.consume(g),e.exit(s),e.enter(a),x}function x(g){return g===null||g===91||g===93&&!c||g===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs||l>999?i(g):g===93?(e.exit(a),e.enter(s),e.consume(g),e.exit(s),e.exit(r),t):J(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),x):(e.enter("chunkString",{contentType:"string"}),k(g))}function k(g){return g===null||g===91||g===93||J(g)||l++>999?(e.exit("chunkString"),x(g)):(e.consume(g),c=c||!me(g),g===92?C:k)}function C(g){return g===91||g===92||g===93?(e.consume(g),l++,k):k(g)}}h();p();function zr(e,t,i,r,s,a){let o;return l;function l(C){return e.enter(r),e.enter(s),e.consume(C),e.exit(s),o=C===40?41:C,c}function c(C){return C===o?(e.enter(s),e.consume(C),e.exit(s),e.exit(r),t):(e.enter(a),d(C))}function d(C){return C===o?(e.exit(a),c(o)):C===null?i(C):J(C)?(e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),$(e,d,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),x(C))}function x(C){return C===o||C===null||J(C)?(e.exit("chunkString"),d(C)):(e.consume(C),C===92?k:x)}function k(C){return C===o||C===92?(e.consume(C),x):x(C)}}h();p();function oi(e,t){let i;return r;function r(s){return J(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i=!0,r):me(s)?$(e,r,i?"linePrefix":"lineSuffix")(s):t(s)}}h();p();function Jt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var ns={name:"definition",tokenize:Hf},Gf={tokenize:Wf,partial:!0};function Hf(e,t,i){let r=this,s;return a;function a(c){return e.enter("definition"),Ur.call(r,e,o,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function o(c){return s=Jt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),c===58?(e.enter("definitionMarker"),e.consume(c),e.exit("definitionMarker"),oi(e,jr(e,e.attempt(Gf,$(e,l,"whitespace"),$(e,l,"whitespace")),i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):i(c)}function l(c){return c===null||J(c)?(e.exit("definition"),r.parser.defined.includes(s)||r.parser.defined.push(s),t(c)):i(c)}}function Wf(e,t,i){return r;function r(o){return Ee(o)?oi(e,s)(o):i(o)}function s(o){return o===34||o===39||o===40?zr(e,$(e,a,"whitespace"),i,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):i(o)}function a(o){return o===null||J(o)?t(o):i(o)}}h();p();var ss={name:"hardBreakEscape",tokenize:Yf};function Yf(e,t,i){return r;function r(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),s}function s(a){return J(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):i(a)}}h();p();var as={name:"headingAtx",tokenize:Kf,resolve:Qf};function Qf(e,t){let i=e.length-2,r=3,s,a;return e[r][1].type==="whitespace"&&(r+=2),i-2>r&&e[i][1].type==="whitespace"&&(i-=2),e[i][1].type==="atxHeadingSequence"&&(r===i-1||i-4>r&&e[i-2][1].type==="whitespace")&&(i-=r+1===i?2:4),i>r&&(s={type:"atxHeadingText",start:e[r][1].start,end:e[i][1].end},a={type:"chunkText",start:e[r][1].start,end:e[i][1].end,contentType:"text"},Me(e,r,i-r+1,[["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t]])),e}function Kf(e,t,i){let r=this,s=0;return a;function a(x){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(x)}function o(x){return x===35&&s++<6?(e.consume(x),o):x===null||Ee(x)?(e.exit("atxHeadingSequence"),r.interrupt?t(x):l(x)):i(x)}function l(x){return x===35?(e.enter("atxHeadingSequence"),c(x)):x===null||J(x)?(e.exit("atxHeading"),t(x)):me(x)?$(e,l,"whitespace")(x):(e.enter("atxHeadingText"),d(x))}function c(x){return x===35?(e.consume(x),c):(e.exit("atxHeadingSequence"),l(x))}function d(x){return x===null||x===35||Ee(x)?(e.exit("atxHeadingText"),l(x)):(e.consume(x),d)}}h();p();h();p();var mu=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],os=["pre","script","style","textarea"];var us={name:"htmlFlow",tokenize:$f,resolveTo:Zf,concrete:!0},tm={tokenize:em,partial:!0};function Zf(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function $f(e,t,i){let r=this,s,a,o,l,c;return d;function d(P){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(P),x}function x(P){return P===33?(e.consume(P),k):P===47?(e.consume(P),E):P===63?(e.consume(P),s=3,r.interrupt?t:Se):at(P)?(e.consume(P),o=String.fromCharCode(P),a=!0,_):i(P)}function k(P){return P===45?(e.consume(P),s=2,C):P===91?(e.consume(P),s=5,o="CDATA[",l=0,g):at(P)?(e.consume(P),s=4,r.interrupt?t:Se):i(P)}function C(P){return P===45?(e.consume(P),r.interrupt?t:Se):i(P)}function g(P){return P===o.charCodeAt(l++)?(e.consume(P),l===o.length?r.interrupt?t:G:g):i(P)}function E(P){return at(P)?(e.consume(P),o=String.fromCharCode(P),_):i(P)}function _(P){return P===null||P===47||P===62||Ee(P)?P!==47&&a&&os.includes(o.toLowerCase())?(s=1,r.interrupt?t(P):G(P)):mu.includes(o.toLowerCase())?(s=6,P===47?(e.consume(P),F):r.interrupt?t(P):G(P)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?i(P):a?N(P):T(P)):P===45||Oe(P)?(e.consume(P),o+=String.fromCharCode(P),_):i(P)}function F(P){return P===62?(e.consume(P),r.interrupt?t:G):i(P)}function T(P){return me(P)?(e.consume(P),T):U(P)}function N(P){return P===47?(e.consume(P),U):P===58||P===95||at(P)?(e.consume(P),L):me(P)?(e.consume(P),N):U(P)}function L(P){return P===45||P===46||P===58||P===95||Oe(P)?(e.consume(P),L):f(P)}function f(P){return P===61?(e.consume(P),V):me(P)?(e.consume(P),f):N(P)}function V(P){return P===null||P===60||P===61||P===62||P===96?i(P):P===34||P===39?(e.consume(P),c=P,A):me(P)?(e.consume(P),V):(c=null,O(P))}function A(P){return P===null||J(P)?i(P):P===c?(e.consume(P),j):(e.consume(P),A)}function O(P){return P===null||P===34||P===39||P===60||P===61||P===62||P===96||Ee(P)?f(P):(e.consume(P),O)}function j(P){return P===47||P===62||me(P)?N(P):i(P)}function U(P){return P===62?(e.consume(P),ee):i(P)}function ee(P){return me(P)?(e.consume(P),ee):P===null||J(P)?G(P):i(P)}function G(P){return P===45&&s===2?(e.consume(P),ye):P===60&&s===1?(e.consume(P),ke):P===62&&s===4?(e.consume(P),_e):P===63&&s===3?(e.consume(P),Se):P===93&&s===5?(e.consume(P),be):J(P)&&(s===6||s===7)?e.check(tm,_e,W)(P):P===null||J(P)?W(P):(e.consume(P),G)}function W(P){return e.exit("htmlFlowData"),q(P)}function q(P){return P===null?B(P):J(P)?e.attempt({tokenize:se,partial:!0},q,B)(P):(e.enter("htmlFlowData"),G(P))}function se(P,nt,qe){return dt;function dt(Xe){return P.enter("lineEnding"),P.consume(Xe),P.exit("lineEnding"),xt}function xt(Xe){return r.parser.lazy[r.now().line]?qe(Xe):nt(Xe)}}function ye(P){return P===45?(e.consume(P),Se):G(P)}function ke(P){return P===47?(e.consume(P),o="",ae):G(P)}function ae(P){return P===62&&os.includes(o.toLowerCase())?(e.consume(P),_e):at(P)&&o.length<8?(e.consume(P),o+=String.fromCharCode(P),ae):G(P)}function be(P){return P===93?(e.consume(P),Se):G(P)}function Se(P){return P===62?(e.consume(P),_e):P===45&&s===2?(e.consume(P),Se):G(P)}function _e(P){return P===null||J(P)?(e.exit("htmlFlowData"),B(P)):(e.consume(P),_e)}function B(P){return e.exit("htmlFlow"),t(P)}}function em(e,t,i){return r;function r(s){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),e.attempt(Dt,t,i)}}h();p();var ls={name:"htmlText",tokenize:im};function im(e,t,i){let r=this,s,a,o,l;return c;function c(B){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(B),d}function d(B){return B===33?(e.consume(B),x):B===47?(e.consume(B),O):B===63?(e.consume(B),V):at(B)?(e.consume(B),ee):i(B)}function x(B){return B===45?(e.consume(B),k):B===91?(e.consume(B),a="CDATA[",o=0,F):at(B)?(e.consume(B),f):i(B)}function k(B){return B===45?(e.consume(B),C):i(B)}function C(B){return B===null||B===62?i(B):B===45?(e.consume(B),g):E(B)}function g(B){return B===null||B===62?i(B):E(B)}function E(B){return B===null?i(B):B===45?(e.consume(B),_):J(B)?(l=E,be(B)):(e.consume(B),E)}function _(B){return B===45?(e.consume(B),_e):E(B)}function F(B){return B===a.charCodeAt(o++)?(e.consume(B),o===a.length?T:F):i(B)}function T(B){return B===null?i(B):B===93?(e.consume(B),N):J(B)?(l=T,be(B)):(e.consume(B),T)}function N(B){return B===93?(e.consume(B),L):T(B)}function L(B){return B===62?_e(B):B===93?(e.consume(B),L):T(B)}function f(B){return B===null||B===62?_e(B):J(B)?(l=f,be(B)):(e.consume(B),f)}function V(B){return B===null?i(B):B===63?(e.consume(B),A):J(B)?(l=V,be(B)):(e.consume(B),V)}function A(B){return B===62?_e(B):V(B)}function O(B){return at(B)?(e.consume(B),j):i(B)}function j(B){return B===45||Oe(B)?(e.consume(B),j):U(B)}function U(B){return J(B)?(l=U,be(B)):me(B)?(e.consume(B),U):_e(B)}function ee(B){return B===45||Oe(B)?(e.consume(B),ee):B===47||B===62||Ee(B)?G(B):i(B)}function G(B){return B===47?(e.consume(B),_e):B===58||B===95||at(B)?(e.consume(B),W):J(B)?(l=G,be(B)):me(B)?(e.consume(B),G):_e(B)}function W(B){return B===45||B===46||B===58||B===95||Oe(B)?(e.consume(B),W):q(B)}function q(B){return B===61?(e.consume(B),se):J(B)?(l=q,be(B)):me(B)?(e.consume(B),q):G(B)}function se(B){return B===null||B===60||B===61||B===62||B===96?i(B):B===34||B===39?(e.consume(B),s=B,ye):J(B)?(l=se,be(B)):me(B)?(e.consume(B),se):(e.consume(B),s=void 0,ae)}function ye(B){return B===s?(e.consume(B),ke):B===null?i(B):J(B)?(l=ye,be(B)):(e.consume(B),ye)}function ke(B){return B===62||B===47||Ee(B)?G(B):i(B)}function ae(B){return B===null||B===34||B===39||B===60||B===61||B===96?i(B):B===62||Ee(B)?G(B):(e.consume(B),ae)}function be(B){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),$(e,Se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Se(B){return e.enter("htmlTextData"),l(B)}function _e(B){return B===62?(e.consume(B),e.exit("htmlTextData"),e.exit("htmlText"),t):i(B)}}h();p();var ui={name:"labelEnd",tokenize:sm,resolveTo:nm,resolveAll:rm},om={tokenize:am},lm={tokenize:um},hm={tokenize:cm};function rm(e){let t=-1,i;for(;++t<e.length;)i=e[t][1],(i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd")&&(e.splice(t+1,i.type==="labelImage"?4:2),i.type="data",t++);return e}function nm(e,t){let i=e.length,r=0,s,a,o,l;for(;i--;)if(s=e[i][1],a){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[i][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(o){if(e[i][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(a=i,s.type!=="labelLink")){r=2;break}}else s.type==="labelEnd"&&(o=i);let c={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},d={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},x={type:"labelText",start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return l=[["enter",c,t],["enter",d,t]],l=Ge(l,e.slice(a+1,a+r+3)),l=Ge(l,[["enter",x,t]]),l=Ge(l,Pi(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),l=Ge(l,[["exit",x,t],e[o-2],e[o-1],["exit",d,t]]),l=Ge(l,e.slice(o+1)),l=Ge(l,[["exit",c,t]]),Me(e,a,e.length,l),e}function sm(e,t,i){let r=this,s=r.events.length,a,o;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){a=r.events[s][1];break}return l;function l(x){return a?a._inactive?d(x):(o=r.parser.defined.includes(Jt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(x),e.exit("labelMarker"),e.exit("labelEnd"),c):i(x)}function c(x){return x===40?e.attempt(om,t,o?t:d)(x):x===91?e.attempt(lm,t,o?e.attempt(hm,t,d):d)(x):o?t(x):d(x)}function d(x){return a._balanced=!0,i(x)}}function am(e,t,i){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),oi(e,s)}function s(c){return c===41?l(c):jr(e,a,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function a(c){return Ee(c)?oi(e,o)(c):l(c)}function o(c){return c===34||c===39||c===40?zr(e,oi(e,l),i,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):l(c)}function l(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):i(c)}}function um(e,t,i){let r=this;return s;function s(o){return Ur.call(r,e,a,i,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(Jt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):i(o)}}function cm(e,t,i){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),s}function s(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):i(a)}}h();p();var cs={name:"labelStartImage",tokenize:pm,resolveAll:ui.resolveAll};function pm(e,t,i){let r=this;return s;function s(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),o):i(l)}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(l):t(l)}}h();p();var hs={name:"labelStartLink",tokenize:fm,resolveAll:ui.resolveAll};function fm(e,t,i){let r=this;return s;function s(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(o):t(o)}}h();p();var Zi={name:"lineEnding",tokenize:mm};function mm(e,t){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),$(e,t,"linePrefix")}}h();p();h();p();var li={name:"thematicBreak",tokenize:dm};function dm(e,t,i){let r=0,s;return a;function a(c){return e.enter("thematicBreak"),s=c,o(c)}function o(c){return c===s?(e.enter("thematicBreakSequence"),l(c)):me(c)?$(e,o,"whitespace")(c):r<3||c!==null&&!J(c)?i(c):(e.exit("thematicBreak"),t(c))}function l(c){return c===s?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),o(c))}}var Je={name:"list",tokenize:xm,continuation:{tokenize:gm},exit:ym},vm={tokenize:bm,partial:!0},km={tokenize:wm,partial:!0};function xm(e,t,i){let r=this,s=r.events[r.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,o=0;return l;function l(g){let E=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:Gi(g)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(li,i,d)(g):d(g);if(!r.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(g)}return i(g)}function c(g){return Gi(g)&&++o<10?(e.consume(g),c):(!r.interrupt||o<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),d(g)):i(g)}function d(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,e.check(Dt,r.interrupt?i:x,e.attempt(vm,C,k))}function x(g){return r.containerState.initialBlankLine=!0,a++,C(g)}function k(g){return me(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),C):i(g)}function C(g){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function gm(e,t,i){let r=this;return r.containerState._closeFlow=void 0,e.check(Dt,s,a);function s(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$(e,t,"listItemIndent",r.containerState.size+1)(l)}function a(l){return r.containerState.furtherBlankLines||!me(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(km,t,o)(l))}function o(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,$(e,e.attempt(Je,t,i),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function wm(e,t,i){let r=this;return $(e,s,"listItemIndent",r.containerState.size+1);function s(a){let o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):i(a)}}function ym(e){e.exit(this.containerState.type)}function bm(e,t,i){let r=this;return $(e,s,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(a){let o=r.events[r.events.length-1];return!me(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):i(a)}}h();p();var Jr={name:"setextUnderline",tokenize:Cm,resolveTo:Em};function Em(e,t){let i=e.length,r,s,a;for(;i--;)if(e[i][0]==="enter"){if(e[i][1].type==="content"){r=i;break}e[i][1].type==="paragraph"&&(s=i)}else e[i][1].type==="content"&&e.splice(i,1),!a&&e[i][1].type==="definition"&&(a=i);let o={type:"setextHeading",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[s][1].type="setextHeadingText",a?(e.splice(s,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function Cm(e,t,i){let r=this,s=r.events.length,a,o;for(;s--;)if(r.events[s][1].type!=="lineEnding"&&r.events[s][1].type!=="linePrefix"&&r.events[s][1].type!=="content"){o=r.events[s][1].type==="paragraph";break}return l;function l(x){return!r.parser.lazy[r.now().line]&&(r.interrupt||o)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=x,c(x)):i(x)}function c(x){return x===a?(e.consume(x),c):(e.exit("setextHeadingLineSequence"),$(e,d,"lineSuffix")(x))}function d(x){return x===null||J(x)?(e.exit("setextHeadingLine"),t(x)):i(x)}}var Sm={tokenize:Am,partial:!0},_m=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function ps(e){let t={tokenize:s,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");let i=e.acorn,r=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions);return{flow:{[101]:t,[105]:t}};function s(a,o,l){let c=this,d=c.parser.definedModuleSpecifiers||(c.parser.definedModuleSpecifiers=[]),x=this.events.length+1,k=0,C;return c.interrupt?l:g;function g(f){return c.now().column>1?l(f):(C=f===101?"export":"import",a.enter("mdxjsEsm"),a.enter("mdxjsEsmData"),E(f))}function E(f){return f===C.charCodeAt(k++)?(a.consume(f),k===C.length?_:E):l(f)}function _(f){return ot(f)?(a.consume(f),F):l(f)}function F(f){return f===null?L(f):J(f)?a.check(Sm,L,T)(f):(a.consume(f),F)}function T(f){return a.exit("mdxjsEsmData"),N(f)}function N(f){return J(f)?(a.enter("lineEnding"),a.consume(f),a.exit("lineEnding"),N):(a.enter("mdxjsEsmData"),F(f))}function L(f){a.exit("mdxjsEsmData");let V=-1,A=Lr(c.events.slice(x),{acorn:i,acornOptions:r,prefix:d.length>0?"var "+d.join(",")+`
|
|
14
|
-
`:""});if(
|
|
13
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Pr(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var i=this.pos-1;return this.invalidStringToken(i,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(r,8);return s>255&&(r=r.slice(0,-1),s=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(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"),String.fromCharCode(s)}return _i(t)?"":String.fromCharCode(t)}};le.readHexChar=function(e){var t=this.pos,i=this.readInt(16,e);return i===null&&this.invalidStringToken(t,"Bad character escape sequence"),i};le.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,i=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(Si(s,r))this.pos+=s<=65535?1:2;else if(s===92){this.containsEsc=!0,e+=this.input.slice(i,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?jt:Si)(o,r)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=Pr(o),i=this.pos}else break;t=!1}return e+this.input.slice(i,this.pos)};le.readWord=function(){var e=this.readWord1(),t=y.name;return this.keywords.test(e)&&(t=Vn[e]),this.finishToken(t,e)};var ff="8.7.0";Be.acorn={Parser:Be,version:ff,defaultOptions:jn,Position:Ji,SourceLocation:Er,getLineInfo:bo,Node:Ir,TokenType:fe,tokTypes:y,keywordTypes:Vn,TokContext:wt,tokContexts:Fe,isIdentifierChar:Si,isIdentifierStart:jt,Token:Gn,isNewLine:_i,lineBreak:pt,lineBreakG:Jp,nonASCIIwhitespace:xo};var bu=Tt(iu());h();p();h();p();function je(e,t,i,r){let s=e.length,a=0,o;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,i=i>0?i:0,r.length<1e4)o=Array.from(r),o.unshift(t,i),[].splice.apply(e,o);else for(i&&[].splice.apply(e,[t,i]);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),[].splice.apply(e,o),a+=1e4,t+=1e4}function Ge(e,t){return e.length>0?(je(e,e.length,0,t),e):t}var ru={}.hasOwnProperty;function Lr(e){let t={},i=-1;for(;++i<e.length;)yf(t,e[i]);return t}function yf(e,t){let i;for(i in t){let s=(ru.call(e,i)?e[i]:void 0)||(e[i]={}),a=t[i],o;for(o in a){ru.call(s,o)||(s[o]=[]);let l=a[o];bf(s[o],Array.isArray(l)?l:l?[l]:[])}}}function bf(e,t){let i=-1,r=[];for(;++i<t.length;)(t[i].add==="after"?e:r).push(t[i]);je(e,0,0,r)}h();p();h();p();h();p();h();p();h();p();var nu=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var at=Zt(/[A-Za-z]/),Yi=Zt(/\d/),su=Zt(/[\dA-Fa-f]/),Oe=Zt(/[\dA-Za-z]/),au=Zt(/[!-/:-@[-`{-~]/),Kn=Zt(/[#-'*+\--9=?A-Z^-~]/);function Qi(e){return e!==null&&(e<32||e===127)}function Ee(e){return e!==null&&(e<0||e===32)}function J(e){return e!==null&&e<-2}function me(e){return e===-2||e===-1||e===32}var ot=Zt(/\s/),ou=Zt(nu);function Zt(e){return t;function t(i){return i!==null&&e.test(String.fromCharCode(i))}}h();p();function ee(e,t,i,r){let s=r?r-1:Number.POSITIVE_INFINITY,a=0;return o;function o(c){return me(c)?(e.enter(i),l(c)):t(c)}function l(c){return me(c)&&a++<s?(e.consume(c),l):(e.exit(i),t(c))}}h();p();function tt(e){let t=e||{},i=t.loc||{},r=t.range||[0,0],s=r[0]||t.start,a=r[1]||t.end;return{start:{line:i.start&&typeof i.start.line=="number"&&i.start.line>-1?i.start.line:void 0,column:i.start&&typeof i.start.column=="number"&&i.start.column>-1?i.start.column+1:void 0,offset:typeof s=="number"&&s>-1?s:void 0},end:{line:i.end&&typeof i.end.line=="number"&&i.end.line>-1?i.end.line:void 0,column:i.end&&typeof i.end.column=="number"&&i.end.column>-1?i.end.column+1:void 0,offset:typeof a=="number"&&a>-1?a:void 0}}}h();p();h();p();h();p();function uu(e){return e}var vf={}.hasOwnProperty,wf=Symbol("continue"),kf=Symbol("skip"),Zn=Symbol("exit");function cu(e,t){var i,r;typeof t=="function"?i=t:t&&typeof t=="object"&&(i=t.enter,r=t.leave),s(e,null,null,[])();function s(a,o,l,c){return $n(a)&&(m.displayName="node ("+uu(a.type)+")"),m;function m(){var x=i?lu(i(a,o,l,c)):[],w,A,g,E,S,T;if(x[0]===Zn)return x;if(x[0]!==kf){for(w in a)if(vf.call(a,w)&&a[w]&&typeof a[w]=="object"&&w!=="data"&&w!=="position"){if(S=a[w],g=c.concat(a),Array.isArray(S))for(A=0;A>-1&&A<S.length;)if(T=S[A],$n(T)){if(E=s(T,w,A,g)(),E[0]===Zn)return E;A=typeof E[1]=="number"?E[1]:A+1}else A++;else if($n(S)&&(E=s(S,w,null,g)(),E[0]===Zn))return E}}return r?lu(r(a,o,l,c)):x}}}function lu(e){return Array.isArray(e)?e:typeof e=="number"?[wf,e]:[e]}function $n(e){return Boolean(e&&typeof e=="object"&&typeof e.type=="string"&&e.type.length>0)}var Ef={}.hasOwnProperty;function Dr(e,t){let{prefix:i="",suffix:r=""}=t,s=[],a=Object.assign({},t.acornOptions,{onComment:s,preserveParens:!0}),o=[],l={},c=-1,m=!1,x,w,A;for(t.start&&(A=t.start.offset,l[t.start.line]=t.start);++c<e.length;){let _=e[c][1];e[c][0]==="exit"&&(o.push(e[c][2].sliceSerialize(_)),A===void 0&&(A=e[c][1].start.offset),(!(_.start.line in l)||l[_.start.line].offset>_.start.offset)&&(l[_.start.line]=_.start))}let g=o.join(""),E=i+g+r,S=t.expression&&hu(g);if(S&&!t.allowEmpty)throw new ue("Unexpected empty expression",T(0),"micromark-extension-mdx-expression:unexpected-empty-expression");try{x=t.expression&&!S?t.acorn.parseExpressionAt(E,0,a):t.acorn.parse(E,a)}catch(_){let V=_,L=T(V.pos);V.message=String(V.message).replace(/ \(\d+:\d+\)$/,""),V.pos=L.offset,V.loc={line:L.line,column:L.column-1},w=V,m=V.raisedAt>=i.length+g.length||V.message==="Unterminated comment"}if(x&&t.expression&&!S)if(hu(E.slice(x.end,E.length-r.length)))x={type:"Program",start:0,end:i.length+g.length,body:[{type:"ExpressionStatement",expression:x,start:0,end:i.length+g.length}],sourceType:"module",comments:[]};else{let _=T(x.end);w=new Error("Unexpected content after expression"),w.pos=_.offset,w.loc={line:_.line,column:_.column-1},x=void 0}return x&&(x.comments=s,cu(x,(_,V,L,d)=>{let U=d[d.length-1],C=V;_.type==="ParenthesizedExpression"&&U&&C&&(typeof L=="number"&&(U=U[C],C=L),U[C]=_.expression);let D=T(_.start),M=T(_.end);_.start=D.offset,_.end=M.offset,_.loc={start:{line:D.line,column:D.column-1},end:{line:M.line,column:M.column-1}},_.range=[_.start,_.end]})),{estree:x,error:w,swallow:m};function T(_){let V=_-i.length,L,d;V<0?V=0:V>g.length&&(V=g.length),V+=A;for(L in l)if(Ef.call(l,L)){if(d||(d=l[L]),l[L].offset>_)break;d=l[L]}return{line:d.line,column:d.column+(V-d.offset),offset:V}}}function hu(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function Ti(e,t,i,r,s,a,o,l,c,m,x,w){let A=this,g=this.events.length+3,E=this.events[this.events.length-1],S=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,T=S?S+1:0,_=1,V,L;return d;function d(M){return e.enter(i),e.enter(r),e.consume(M),e.exit(r),V=A.now(),U}function U(M){if(M===null)throw L||new ue("Unexpected end of file in expression, expected a corresponding closing brace for `{`",A.now(),"micromark-extension-mdx-expression:unexpected-eof");if(M===125)return D(M);if(J(M)){e.enter("lineEnding"),e.consume(M),e.exit("lineEnding");let W=w?w+4-A.now().column:0,G=Math.max(T,W);return G?ee(e,U,"linePrefix",G):U}let j=A.now();if(j.line!==V.line&&!x&&A.parser.lazy[j.line])throw new ue("Unexpected end of file in expression, expected a corresponding closing brace for `{`",A.now(),"micromark-extension-mdx-expression:unexpected-eof");return e.enter(s),C(M)}function C(M){return M===null||M===125||J(M)?(e.exit(s),U(M)):M===123&&!a?(e.consume(M),_++,C):(e.consume(M),C)}function D(M){if(_--,!a)return _?(e.enter(s),e.consume(M),C):(e.enter(r),e.consume(M),e.exit(r),e.exit(i),t);let j=Dr(A.events.slice(g),{acorn:a,acornOptions:o,start:V,expression:!0,allowEmpty:m,prefix:c?"({":"",suffix:c?"})":""}),W=j.estree;if(c&&W){let G=W.body[0];if(G.type!=="ExpressionStatement"||G.expression.type!=="ObjectExpression")throw new ue("Unexpected `"+G.type+"` in code: expected an object spread (`{...spread}`)",tt(G).start,"micromark-extension-mdx-expression:non-spread");if(G.expression.properties[1])throw new ue("Unexpected extra content in spread: only a single spread is supported",tt(G.expression.properties[1]).start,"micromark-extension-mdx-expression:spread-extra");if(G.expression.properties[0]&&G.expression.properties[0].type!=="SpreadElement")throw new ue("Unexpected `"+G.expression.properties[0].type+"` in code: only spread elements are supported",tt(G.expression.properties[0]).start,"micromark-extension-mdx-expression:non-spread")}if(j.error){if(L=new ue("Could not parse expression with acorn: "+j.error.message,{line:j.error.loc.line,column:j.error.loc.column+1,offset:j.error.pos},"micromark-extension-mdx-expression:acorn"),M!==null&&j.swallow)return e.enter(s),e.consume(M),C;throw L}return e.enter(r),e.consume(M),e.exit(r),Object.assign(e.exit(i),l?{estree:W}:void 0),t}}function es(e={}){let t=e.addResult,i=e.acorn,r=e.spread,s=e.allowEmpty,a;if(s==null&&(s=!0),i){if(!i.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");a=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions)}else if(e.acornOptions||e.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{[123]:{tokenize:o,concrete:!0}},text:{[123]:{tokenize:l}}};function o(c,m,x){let w=this;return A;function A(E){return Ti.call(w,c,ee(c,g,"whitespace"),"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",i,a,t,r,s)(E)}function g(E){return E===null||J(E)?m(E):x(E)}}function l(c,m){let x=this;return w;function w(A){return Ti.call(x,c,m,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",i,a,t,r,s,!0)(A)}}}h();p();h();p();h();p();h();p();h();p();h();p();var ts=/[$A-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\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\u09FC\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\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1878\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\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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]/,pu=/[\d\u00B7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F]/;function Me(e){return ts.test(String.fromCharCode(e))}function kt(e){var t=String.fromCharCode(e);return ts.test(t)||pu.test(t)}function zt(e){for(var t=-1;++t<e.length;)if(!(t?kt:Me)(e.charCodeAt(t)))return!1;return t>0}var Af={tokenize:Cf,partial:!0};function Nr(e,t,i,r,s,a,o,l,c,m,x,w,A,g,E,S,T,_,V,L,d,U,C,D,M,j,W,G,Y,q,se,ye){let ke=this,ae,be,Se;return _e;function _e(k){return Se=ke.now(),e.enter(l),e.enter(c),e.consume(k),e.exit(c),B}function B(k){return J(k)||me(k)?i(k):(ae=P,Ce(k))}function P(k){if(k===47)return e.enter(m),e.consume(k),e.exit(m),ae=nt,Ce;if(k===62)return _t(k);if(k!==null&&Me(k))return e.enter(w),e.enter(A),e.consume(k),qe;R(k,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(k===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function nt(k){if(k===62)return _t(k);if(k!==null&&Me(k))return e.enter(w),e.enter(A),e.consume(k),qe;R(k,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(k===42||k===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function qe(k){if(k===45||k!==null&&kt(k))return e.consume(k),qe;if(k===46||k===47||k===58||k===62||k===123||Ee(k)||ot(k))return e.exit(A),ae=dt,Ce(k);R(k,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(k===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function dt(k){if(k===46)return e.enter(g),e.consume(k),e.exit(g),ae=xt,Ce;if(k===58)return e.enter(S),e.consume(k),e.exit(S),ae=Ct,Ce;if(k===47||k===62||k===123||k!==null&&Me(k))return e.exit(w),Ne(k);R(k,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function xt(k){if(k!==null&&Me(k))return e.enter(E),e.consume(k),Xe;R(k,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Xe(k){if(k===45||k!==null&&kt(k))return e.consume(k),Xe;if(k===46||k===47||k===62||k===123||Ee(k)||ot(k))return e.exit(E),ae=Te,Ce(k);R(k,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(k===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function Te(k){if(k===46)return e.enter(g),e.consume(k),e.exit(g),ae=xt,Ce;if(k===47||k===62||k===123||k!==null&&Me(k))return e.exit(w),Ne(k);R(k,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Ct(k){if(k!==null&&Me(k))return e.enter(T),e.consume(k),He;R(k,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(k===43||k!==null&&k>46&&k<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function He(k){if(k===45||k!==null&&kt(k))return e.consume(k),He;if(k===47||k===62||k===123||Ee(k)||ot(k))return e.exit(T),ae=ut,Ce(k);R(k,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function ut(k){if(k===47||k===62||k===123||k!==null&&Me(k))return e.exit(w),Ne(k);R(k,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Ne(k){if(k===47)return e.enter(x),e.consume(k),e.exit(x),ae=ie,Ce;if(k===62)return _t(k);if(k===123)return Ti.call(ke,e,At,_,V,L,r,s,a,!0,!1,o,Se.column)(k);if(k!==null&&Me(k))return e.enter(d),e.enter(U),e.enter(C),e.consume(k),Ke;R(k,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function At(k){return ae=Ne,Ce(k)}function Ke(k){if(k===45||k!==null&&kt(k))return e.consume(k),Ke;if(k===47||k===58||k===61||k===62||k===123||Ee(k)||ot(k))return e.exit(C),ae=di,Ce(k);R(k,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function di(k){if(k===58)return e.enter(D),e.consume(k),e.exit(D),ae=xi,Ce;if(k===61)return e.exit(U),e.enter(j),e.consume(k),e.exit(j),ae=st,Ce;if(k===47||k===62||k===123||Ee(k)||ot(k)||k!==null&&Me(k))return e.exit(U),e.exit(d),ae=Ne,Ce(k);R(k,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function xi(k){if(k!==null&&Me(k))return e.enter(M),e.consume(k),Wt;R(k,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Wt(k){if(k===45||k!==null&&kt(k))return e.consume(k),Wt;if(k===47||k===61||k===62||k===123||Ee(k)||ot(k))return e.exit(M),e.exit(U),ae=ve,Ce(k);R(k,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function ve(k){if(k===61)return e.enter(j),e.consume(k),e.exit(j),ae=st,Ce;if(k===47||k===62||k===123||k!==null&&Me(k))return e.exit(d),Ne(k);R(k,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function st(k){if(k===34||k===39)return e.enter(W),e.enter(G),e.consume(k),e.exit(G),be=k,Gt;if(k===123)return Ti.call(ke,e,Le,q,se,ye,r,s,a,!1,!1,o,Se.column)(k);R(k,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(k===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function Le(k){return e.exit(d),ae=Ne,Ce(k)}function Gt(k){return k===null&&R(k,"in attribute value","a corresponding closing quote `"+String.fromCharCode(be)+"`"),k===be?(e.enter(G),e.consume(k),e.exit(G),e.exit(W),e.exit(d),be=void 0,ae=Ne,Ce):J(k)?(ae=Gt,Ce(k)):(e.enter(Y),St(k))}function St(k){return k===null||k===be||J(k)?(e.exit(Y),Gt(k)):(e.consume(k),St)}function ie(k){if(k===62)return _t(k);R(k,"after self-closing slash","`>` to end the tag"+(k===42||k===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function _t(k){return e.enter(c),e.consume(k),e.exit(c),e.exit(l),t}function Ce(k){return J(k)?o?(e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),ee(e,Ce,"linePrefix",4)):e.attempt(Af,ee(e,Ce,"linePrefix",4),Nt)(k):me(k)||ot(k)?(e.enter("esWhitespace"),gi(k)):ae(k)}function gi(k){return J(k)||!(me(k)||ot(k))?(e.exit("esWhitespace"),Ce(k)):(e.consume(k),gi)}function Nt(){throw new ue("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",ke.now(),"micromark-extension-mdx-jsx:unexpected-eof")}function R(k,K,H){throw new ue("Unexpected "+(k===null?"end of file":"character `"+(k===96?"` ` `":String.fromCharCode(k))+"` ("+Sf(k)+")")+" "+K+", expected "+H,ke.now(),"micromark-extension-mdx-jsx:unexpected-"+(k===null?"eof":"character"))}}function Cf(e,t,i){let r=this;return s;function s(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a}function a(o){return r.parser.lazy[r.now().line]?i(o):t(o)}}function Sf(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function fu(e,t,i){return{tokenize:r};function r(s,a,o){return Nr.call(this,s,a,o,e,t,i,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}h();p();function mu(e,t,i){return{tokenize:r,concrete:!0};function r(s,a,o){let l=this;return c;function c(x){return Nr.call(l,s,ee(s,m,"whitespace"),o,e,t,i,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(x)}function m(x){return x===60?c(x):x===null||J(x)?a(x):o(x)}}}function is(e={}){let t=e.acorn,i;if(t){if(!t.parse||!t.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");i=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions,{locations:!0})}else if(e.acornOptions||e.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{[60]:mu(t,i,e.addResult)},text:{[60]:fu(t,i,e.addResult)}}}h();p();var du={disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}};h();p();h();p();h();p();h();p();h();p();function rs(e){if(e===null||Ee(e)||ot(e))return 1;if(ou(e))return 2}h();p();function Pi(e,t,i){let r=[],s=-1;for(;++s<e.length;){let a=e[s].resolveAll;a&&!r.includes(a)&&(t=a(t,i),r.push(a))}return t}var Ki={name:"attention",tokenize:If,resolveAll:_f};function _f(e,t){let i=-1,r,s,a,o,l,c,m,x;for(;++i<e.length;)if(e[i][0]==="enter"&&e[i][1].type==="attentionSequence"&&e[i][1]._close){for(r=i;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[i][1]).charCodeAt(0)){if((e[r][1]._close||e[i][1]._open)&&(e[i][1].end.offset-e[i][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[i][1].end.offset-e[i][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[i][1].end.offset-e[i][1].start.offset>1?2:1;let w=Object.assign({},e[r][1].end),A=Object.assign({},e[i][1].start);xu(w,-c),xu(A,c),o={type:c>1?"strongSequence":"emphasisSequence",start:w,end:Object.assign({},e[r][1].end)},l={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[i][1].start),end:A},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[i][1].start)},s={type:c>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},o.start),e[i][1].start=Object.assign({},l.end),m=[],e[r][1].end.offset-e[r][1].start.offset&&(m=Ge(m,[["enter",e[r][1],t],["exit",e[r][1],t]])),m=Ge(m,[["enter",s,t],["enter",o,t],["exit",o,t],["enter",a,t]]),m=Ge(m,Pi(t.parser.constructs.insideSpan.null,e.slice(r+1,i),t)),m=Ge(m,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",s,t]]),e[i][1].end.offset-e[i][1].start.offset?(x=2,m=Ge(m,[["enter",e[i][1],t],["exit",e[i][1],t]])):x=0,je(e,r-1,i-r+3,m),i=r+m.length-x-2;break}}for(i=-1;++i<e.length;)e[i][1].type==="attentionSequence"&&(e[i][1].type="data");return e}function If(e,t){let i=this.parser.constructs.attentionMarkers.null,r=this.previous,s=rs(r),a;return o;function o(c){return e.enter("attentionSequence"),a=c,l(c)}function l(c){if(c===a)return e.consume(c),l;let m=e.exit("attentionSequence"),x=rs(c),w=!x||x===2&&s||i.includes(c),A=!s||s===2&&x||i.includes(r);return m._open=Boolean(a===42?w:w&&(s||!A)),m._close=Boolean(a===42?A:A&&(x||!w)),t(c)}}function xu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}h();p();var ns={name:"autolink",tokenize:Ff};function Ff(e,t,i){let r=1;return s;function s(E){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(E){return at(E)?(e.consume(E),o):Kn(E)?m(E):i(E)}function o(E){return E===43||E===45||E===46||Oe(E)?l(E):m(E)}function l(E){return E===58?(e.consume(E),c):(E===43||E===45||E===46||Oe(E))&&r++<32?(e.consume(E),l):m(E)}function c(E){return E===62?(e.exit("autolinkProtocol"),g(E)):E===null||E===32||E===60||Qi(E)?i(E):(e.consume(E),c)}function m(E){return E===64?(e.consume(E),r=0,x):Kn(E)?(e.consume(E),m):i(E)}function x(E){return Oe(E)?w(E):i(E)}function w(E){return E===46?(e.consume(E),r=0,x):E===62?(e.exit("autolinkProtocol").type="autolinkEmail",g(E)):A(E)}function A(E){return(E===45||Oe(E))&&r++<63?(e.consume(E),E===45?A:w):i(E)}function g(E){return e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.exit("autolink"),t}}h();p();var Dt={tokenize:Tf,partial:!0};function Tf(e,t,i){return ee(e,r,"linePrefix");function r(s){return s===null||J(s)?t(s):i(s)}}h();p();var Rr={name:"blockQuote",tokenize:Pf,continuation:{tokenize:Bf},exit:Lf};function Pf(e,t,i){let r=this;return s;function s(o){if(o===62){let l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return i(o)}function a(o){return me(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function Bf(e,t,i){return ee(e,e.attempt(Rr,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Lf(e){e.exit("blockQuote")}h();p();var Or={name:"characterEscape",tokenize:Df};function Df(e,t,i){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),s}function s(a){return au(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):i(a)}}h();p();h();p();var gu=document.createElement("i");function Jt(e){let t="&"+e+";";gu.innerHTML=t;let i=gu.textContent;return i.charCodeAt(i.length-1)===59&&e!=="semi"||i===t?!1:i}var Vr={name:"characterReference",tokenize:Nf};function Nf(e,t,i){let r=this,s=0,a,o;return l;function l(w){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(w),e.exit("characterReferenceMarker"),c}function c(w){return w===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(w),e.exit("characterReferenceMarkerNumeric"),m):(e.enter("characterReferenceValue"),a=31,o=Oe,x(w))}function m(w){return w===88||w===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(w),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=su,x):(e.enter("characterReferenceValue"),a=7,o=Yi,x(w))}function x(w){let A;return w===59&&s?(A=e.exit("characterReferenceValue"),o===Oe&&!Jt(r.sliceSerialize(A))?i(w):(e.enter("characterReferenceMarker"),e.consume(w),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)):o(w)&&s++<a?(e.consume(w),x):i(w)}}h();p();var jr={name:"codeFenced",tokenize:Rf,concrete:!0};function Rf(e,t,i){let r=this,s={tokenize:U,partial:!0},a={tokenize:d,partial:!0},o=this.events[this.events.length-1],l=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,c=0,m;return x;function x(C){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m=C,w(C)}function w(C){return C===m?(e.consume(C),c++,w):(e.exit("codeFencedFenceSequence"),c<3?i(C):ee(e,A,"whitespace")(C))}function A(C){return C===null||J(C)?T(C):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(C))}function g(C){return C===null||Ee(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ee(e,E,"whitespace")(C)):C===96&&C===m?i(C):(e.consume(C),g)}function E(C){return C===null||J(C)?T(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),S(C))}function S(C){return C===null||J(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),T(C)):C===96&&C===m?i(C):(e.consume(C),S)}function T(C){return e.exit("codeFencedFence"),r.interrupt?t(C):_(C)}function _(C){return C===null?L(C):J(C)?e.attempt(a,e.attempt(s,L,l?ee(e,_,"linePrefix",l+1):_),L)(C):(e.enter("codeFlowValue"),V(C))}function V(C){return C===null||J(C)?(e.exit("codeFlowValue"),_(C)):(e.consume(C),V)}function L(C){return e.exit("codeFenced"),t(C)}function d(C,D,M){let j=this;return W;function W(Y){return C.enter("lineEnding"),C.consume(Y),C.exit("lineEnding"),G}function G(Y){return j.parser.lazy[j.now().line]?M(Y):D(Y)}}function U(C,D,M){let j=0;return ee(C,W,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function W(q){return C.enter("codeFencedFence"),C.enter("codeFencedFenceSequence"),G(q)}function G(q){return q===m?(C.consume(q),j++,G):j<c?M(q):(C.exit("codeFencedFenceSequence"),ee(C,Y,"whitespace")(q))}function Y(q){return q===null||J(q)?(C.exit("codeFencedFence"),D(q)):M(q)}}}h();p();var Zi={name:"codeIndented",tokenize:Of},jf={tokenize:Vf,partial:!0};function Of(e,t,i){let r=this;return s;function s(m){return e.enter("codeIndented"),ee(e,a,"linePrefix",4+1)(m)}function a(m){let x=r.events[r.events.length-1];return x&&x[1].type==="linePrefix"&&x[2].sliceSerialize(x[1],!0).length>=4?o(m):i(m)}function o(m){return m===null?c(m):J(m)?e.attempt(jf,o,c)(m):(e.enter("codeFlowValue"),l(m))}function l(m){return m===null||J(m)?(e.exit("codeFlowValue"),o(m)):(e.consume(m),l)}function c(m){return e.exit("codeIndented"),t(m)}}function Vf(e,t,i){let r=this;return s;function s(o){return r.parser.lazy[r.now().line]?i(o):J(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):ee(e,a,"linePrefix",4+1)(o)}function a(o){let l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):J(o)?s(o):i(o)}}h();p();var ss={name:"codeText",tokenize:zf,resolve:Mf,previous:Uf};function Mf(e){let t=e.length-4,i=3,r,s;if((e[i][1].type==="lineEnding"||e[i][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=i;++r<t;)if(e[r][1].type==="codeTextData"){e[i][1].type="codeTextPadding",e[t][1].type="codeTextPadding",i+=2,t-=2;break}}for(r=i-1,t++;++r<=t;)s===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(s=r):(r===t||e[r][1].type==="lineEnding")&&(e[s][1].type="codeTextData",r!==s+2&&(e[s][1].end=e[r-1][1].end,e.splice(s+2,r-s-2),t-=r-s-2,r=s+2),s=void 0);return e}function Uf(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function zf(e,t,i){let r=this,s=0,a,o;return l;function l(A){return e.enter("codeText"),e.enter("codeTextSequence"),c(A)}function c(A){return A===96?(e.consume(A),s++,c):(e.exit("codeTextSequence"),m(A))}function m(A){return A===null?i(A):A===96?(o=e.enter("codeTextSequence"),a=0,w(A)):A===32?(e.enter("space"),e.consume(A),e.exit("space"),m):J(A)?(e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),m):(e.enter("codeTextData"),x(A))}function x(A){return A===null||A===32||A===96||J(A)?(e.exit("codeTextData"),m(A)):(e.consume(A),x)}function w(A){return A===96?(e.consume(A),a++,w):a===s?(e.exit("codeTextSequence"),e.exit("codeText"),t(A)):(o.type="codeTextData",x(A))}}h();p();h();p();function Mr(e){let t={},i=-1,r,s,a,o,l,c,m;for(;++i<e.length;){for(;i in t;)i=t[i];if(r=e[i],i&&r[1].type==="chunkFlow"&&e[i-1][1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Jf(e,i)),i=t[i],m=!0);else if(r[1]._container){for(a=i,s=void 0;a--&&(o=e[a],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(s&&(e[s][1].type="lineEndingBlank"),o[1].type="lineEnding",s=a);s&&(r[1].end=Object.assign({},e[s][1].start),l=e.slice(s,i),l.unshift(r),je(e,s,i-s+1,l))}}return!m}function Jf(e,t){let i=e[t][1],r=e[t][2],s=t-1,a=[],o=i._tokenizer||r.parser[i.contentType](i.start),l=o.events,c=[],m={},x,w,A=-1,g=i,E=0,S=0,T=[S];for(;g;){for(;e[++s][1]!==g;);a.push(s),g._tokenizer||(x=r.sliceStream(g),g.next||x.push(null),w&&o.defineSkip(g.start),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(x),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),w=g,g=g.next}for(g=i;++A<l.length;)l[A][0]==="exit"&&l[A-1][0]==="enter"&&l[A][1].type===l[A-1][1].type&&l[A][1].start.line!==l[A][1].end.line&&(S=A+1,T.push(S),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(o.events=[],g?(g._tokenizer=void 0,g.previous=void 0):T.pop(),A=T.length;A--;){let _=l.slice(T[A],T[A+1]),V=a.pop();c.unshift([V,V+_.length-1]),je(e,V,2,_)}for(A=-1;++A<c.length;)m[E+c[A][0]]=E+c[A][1],E+=c[A][1]-c[A][0]-1;return m}var as={tokenize:Xf,resolve:qf},Wf={tokenize:Hf,partial:!0};function qf(e){return Mr(e),e}function Xf(e,t){let i;return r;function r(l){return e.enter("content"),i=e.enter("chunkContent",{contentType:"content"}),s(l)}function s(l){return l===null?a(l):J(l)?e.check(Wf,o,a)(l):(e.consume(l),s)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function o(l){return e.consume(l),e.exit("chunkContent"),i.next=e.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,s}}function Hf(e,t,i){let r=this;return s;function s(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ee(e,a,"linePrefix")}function a(o){if(o===null||J(o))return i(o);let l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,i,t)(o)}}h();p();h();p();function Ur(e,t,i,r,s,a,o,l,c){let m=c||Number.POSITIVE_INFINITY,x=0;return w;function w(_){return _===60?(e.enter(r),e.enter(s),e.enter(a),e.consume(_),e.exit(a),A):_===null||_===41||Qi(_)?i(_):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),S(_))}function A(_){return _===62?(e.enter(a),e.consume(_),e.exit(a),e.exit(s),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),g(_))}function g(_){return _===62?(e.exit("chunkString"),e.exit(l),A(_)):_===null||_===60||J(_)?i(_):(e.consume(_),_===92?E:g)}function E(_){return _===60||_===62||_===92?(e.consume(_),g):g(_)}function S(_){return _===40?++x>m?i(_):(e.consume(_),S):_===41?x--?(e.consume(_),S):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(_)):_===null||Ee(_)?x?i(_):(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(_)):Qi(_)?i(_):(e.consume(_),_===92?T:S)}function T(_){return _===40||_===41||_===92?(e.consume(_),S):S(_)}}h();p();function zr(e,t,i,r,s,a){let o=this,l=0,c;return m;function m(g){return e.enter(r),e.enter(s),e.consume(g),e.exit(s),e.enter(a),x}function x(g){return g===null||g===91||g===93&&!c||g===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs||l>999?i(g):g===93?(e.exit(a),e.enter(s),e.consume(g),e.exit(s),e.exit(r),t):J(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),x):(e.enter("chunkString",{contentType:"string"}),w(g))}function w(g){return g===null||g===91||g===93||J(g)||l++>999?(e.exit("chunkString"),x(g)):(e.consume(g),c=c||!me(g),g===92?A:w)}function A(g){return g===91||g===92||g===93?(e.consume(g),l++,w):w(g)}}h();p();function Jr(e,t,i,r,s,a){let o;return l;function l(A){return e.enter(r),e.enter(s),e.consume(A),e.exit(s),o=A===40?41:A,c}function c(A){return A===o?(e.enter(s),e.consume(A),e.exit(s),e.exit(r),t):(e.enter(a),m(A))}function m(A){return A===o?(e.exit(a),c(o)):A===null?i(A):J(A)?(e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),ee(e,m,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),x(A))}function x(A){return A===o||A===null||J(A)?(e.exit("chunkString"),m(A)):(e.consume(A),A===92?w:x)}function w(A){return A===o||A===92?(e.consume(A),x):x(A)}}h();p();function oi(e,t){let i;return r;function r(s){return J(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i=!0,r):me(s)?ee(e,r,i?"linePrefix":"lineSuffix")(s):t(s)}}h();p();function qt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var os={name:"definition",tokenize:Gf},Qf={tokenize:Yf,partial:!0};function Gf(e,t,i){let r=this,s;return a;function a(c){return e.enter("definition"),zr.call(r,e,o,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(c)}function o(c){return s=qt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),c===58?(e.enter("definitionMarker"),e.consume(c),e.exit("definitionMarker"),oi(e,Ur(e,e.attempt(Qf,ee(e,l,"whitespace"),ee(e,l,"whitespace")),i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):i(c)}function l(c){return c===null||J(c)?(e.exit("definition"),r.parser.defined.includes(s)||r.parser.defined.push(s),t(c)):i(c)}}function Yf(e,t,i){return r;function r(o){return Ee(o)?oi(e,s)(o):i(o)}function s(o){return o===34||o===39||o===40?Jr(e,ee(e,a,"whitespace"),i,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):i(o)}function a(o){return o===null||J(o)?t(o):i(o)}}h();p();var us={name:"hardBreakEscape",tokenize:Kf};function Kf(e,t,i){return r;function r(a){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(a),s}function s(a){return J(a)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(a)):i(a)}}h();p();var ls={name:"headingAtx",tokenize:$f,resolve:Zf};function Zf(e,t){let i=e.length-2,r=3,s,a;return e[r][1].type==="whitespace"&&(r+=2),i-2>r&&e[i][1].type==="whitespace"&&(i-=2),e[i][1].type==="atxHeadingSequence"&&(r===i-1||i-4>r&&e[i-2][1].type==="whitespace")&&(i-=r+1===i?2:4),i>r&&(s={type:"atxHeadingText",start:e[r][1].start,end:e[i][1].end},a={type:"chunkText",start:e[r][1].start,end:e[i][1].end,contentType:"text"},je(e,r,i-r+1,[["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t]])),e}function $f(e,t,i){let r=this,s=0;return a;function a(x){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),o(x)}function o(x){return x===35&&s++<6?(e.consume(x),o):x===null||Ee(x)?(e.exit("atxHeadingSequence"),r.interrupt?t(x):l(x)):i(x)}function l(x){return x===35?(e.enter("atxHeadingSequence"),c(x)):x===null||J(x)?(e.exit("atxHeading"),t(x)):me(x)?ee(e,l,"whitespace")(x):(e.enter("atxHeadingText"),m(x))}function c(x){return x===35?(e.consume(x),c):(e.exit("atxHeadingSequence"),l(x))}function m(x){return x===null||x===35||Ee(x)?(e.exit("atxHeadingText"),l(x)):(e.consume(x),m)}}h();p();h();p();var yu=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],cs=["pre","script","style","textarea"];var hs={name:"htmlFlow",tokenize:tm,resolveTo:em,concrete:!0},rm={tokenize:im,partial:!0};function em(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function tm(e,t,i){let r=this,s,a,o,l,c;return m;function m(P){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(P),x}function x(P){return P===33?(e.consume(P),w):P===47?(e.consume(P),E):P===63?(e.consume(P),s=3,r.interrupt?t:Se):at(P)?(e.consume(P),o=String.fromCharCode(P),a=!0,S):i(P)}function w(P){return P===45?(e.consume(P),s=2,A):P===91?(e.consume(P),s=5,o="CDATA[",l=0,g):at(P)?(e.consume(P),s=4,r.interrupt?t:Se):i(P)}function A(P){return P===45?(e.consume(P),r.interrupt?t:Se):i(P)}function g(P){return P===o.charCodeAt(l++)?(e.consume(P),l===o.length?r.interrupt?t:G:g):i(P)}function E(P){return at(P)?(e.consume(P),o=String.fromCharCode(P),S):i(P)}function S(P){return P===null||P===47||P===62||Ee(P)?P!==47&&a&&cs.includes(o.toLowerCase())?(s=1,r.interrupt?t(P):G(P)):yu.includes(o.toLowerCase())?(s=6,P===47?(e.consume(P),T):r.interrupt?t(P):G(P)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?i(P):a?V(P):_(P)):P===45||Oe(P)?(e.consume(P),o+=String.fromCharCode(P),S):i(P)}function T(P){return P===62?(e.consume(P),r.interrupt?t:G):i(P)}function _(P){return me(P)?(e.consume(P),_):j(P)}function V(P){return P===47?(e.consume(P),j):P===58||P===95||at(P)?(e.consume(P),L):me(P)?(e.consume(P),V):j(P)}function L(P){return P===45||P===46||P===58||P===95||Oe(P)?(e.consume(P),L):d(P)}function d(P){return P===61?(e.consume(P),U):me(P)?(e.consume(P),d):V(P)}function U(P){return P===null||P===60||P===61||P===62||P===96?i(P):P===34||P===39?(e.consume(P),c=P,C):me(P)?(e.consume(P),U):(c=null,D(P))}function C(P){return P===null||J(P)?i(P):P===c?(e.consume(P),M):(e.consume(P),C)}function D(P){return P===null||P===34||P===39||P===60||P===61||P===62||P===96||Ee(P)?d(P):(e.consume(P),D)}function M(P){return P===47||P===62||me(P)?V(P):i(P)}function j(P){return P===62?(e.consume(P),W):i(P)}function W(P){return me(P)?(e.consume(P),W):P===null||J(P)?G(P):i(P)}function G(P){return P===45&&s===2?(e.consume(P),ye):P===60&&s===1?(e.consume(P),ke):P===62&&s===4?(e.consume(P),_e):P===63&&s===3?(e.consume(P),Se):P===93&&s===5?(e.consume(P),be):J(P)&&(s===6||s===7)?e.check(rm,_e,Y)(P):P===null||J(P)?Y(P):(e.consume(P),G)}function Y(P){return e.exit("htmlFlowData"),q(P)}function q(P){return P===null?B(P):J(P)?e.attempt({tokenize:se,partial:!0},q,B)(P):(e.enter("htmlFlowData"),G(P))}function se(P,nt,qe){return dt;function dt(Xe){return P.enter("lineEnding"),P.consume(Xe),P.exit("lineEnding"),xt}function xt(Xe){return r.parser.lazy[r.now().line]?qe(Xe):nt(Xe)}}function ye(P){return P===45?(e.consume(P),Se):G(P)}function ke(P){return P===47?(e.consume(P),o="",ae):G(P)}function ae(P){return P===62&&cs.includes(o.toLowerCase())?(e.consume(P),_e):at(P)&&o.length<8?(e.consume(P),o+=String.fromCharCode(P),ae):G(P)}function be(P){return P===93?(e.consume(P),Se):G(P)}function Se(P){return P===62?(e.consume(P),_e):P===45&&s===2?(e.consume(P),Se):G(P)}function _e(P){return P===null||J(P)?(e.exit("htmlFlowData"),B(P)):(e.consume(P),_e)}function B(P){return e.exit("htmlFlow"),t(P)}}function im(e,t,i){return r;function r(s){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),e.attempt(Dt,t,i)}}h();p();var ps={name:"htmlText",tokenize:nm};function nm(e,t,i){let r=this,s,a,o,l;return c;function c(B){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(B),m}function m(B){return B===33?(e.consume(B),x):B===47?(e.consume(B),D):B===63?(e.consume(B),U):at(B)?(e.consume(B),W):i(B)}function x(B){return B===45?(e.consume(B),w):B===91?(e.consume(B),a="CDATA[",o=0,T):at(B)?(e.consume(B),d):i(B)}function w(B){return B===45?(e.consume(B),A):i(B)}function A(B){return B===null||B===62?i(B):B===45?(e.consume(B),g):E(B)}function g(B){return B===null||B===62?i(B):E(B)}function E(B){return B===null?i(B):B===45?(e.consume(B),S):J(B)?(l=E,be(B)):(e.consume(B),E)}function S(B){return B===45?(e.consume(B),_e):E(B)}function T(B){return B===a.charCodeAt(o++)?(e.consume(B),o===a.length?_:T):i(B)}function _(B){return B===null?i(B):B===93?(e.consume(B),V):J(B)?(l=_,be(B)):(e.consume(B),_)}function V(B){return B===93?(e.consume(B),L):_(B)}function L(B){return B===62?_e(B):B===93?(e.consume(B),L):_(B)}function d(B){return B===null||B===62?_e(B):J(B)?(l=d,be(B)):(e.consume(B),d)}function U(B){return B===null?i(B):B===63?(e.consume(B),C):J(B)?(l=U,be(B)):(e.consume(B),U)}function C(B){return B===62?_e(B):U(B)}function D(B){return at(B)?(e.consume(B),M):i(B)}function M(B){return B===45||Oe(B)?(e.consume(B),M):j(B)}function j(B){return J(B)?(l=j,be(B)):me(B)?(e.consume(B),j):_e(B)}function W(B){return B===45||Oe(B)?(e.consume(B),W):B===47||B===62||Ee(B)?G(B):i(B)}function G(B){return B===47?(e.consume(B),_e):B===58||B===95||at(B)?(e.consume(B),Y):J(B)?(l=G,be(B)):me(B)?(e.consume(B),G):_e(B)}function Y(B){return B===45||B===46||B===58||B===95||Oe(B)?(e.consume(B),Y):q(B)}function q(B){return B===61?(e.consume(B),se):J(B)?(l=q,be(B)):me(B)?(e.consume(B),q):G(B)}function se(B){return B===null||B===60||B===61||B===62||B===96?i(B):B===34||B===39?(e.consume(B),s=B,ye):J(B)?(l=se,be(B)):me(B)?(e.consume(B),se):(e.consume(B),s=void 0,ae)}function ye(B){return B===s?(e.consume(B),ke):B===null?i(B):J(B)?(l=ye,be(B)):(e.consume(B),ye)}function ke(B){return B===62||B===47||Ee(B)?G(B):i(B)}function ae(B){return B===null||B===34||B===39||B===60||B===61||B===96?i(B):B===62||Ee(B)?G(B):(e.consume(B),ae)}function be(B){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),ee(e,Se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Se(B){return e.enter("htmlTextData"),l(B)}function _e(B){return B===62?(e.consume(B),e.exit("htmlTextData"),e.exit("htmlText"),t):i(B)}}h();p();var ui={name:"labelEnd",tokenize:om,resolveTo:am,resolveAll:sm},lm={tokenize:um},hm={tokenize:cm},fm={tokenize:pm};function sm(e){let t=-1,i;for(;++t<e.length;)i=e[t][1],(i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd")&&(e.splice(t+1,i.type==="labelImage"?4:2),i.type="data",t++);return e}function am(e,t){let i=e.length,r=0,s,a,o,l;for(;i--;)if(s=e[i][1],a){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[i][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(o){if(e[i][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(a=i,s.type!=="labelLink")){r=2;break}}else s.type==="labelEnd"&&(o=i);let c={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},m={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},x={type:"labelText",start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return l=[["enter",c,t],["enter",m,t]],l=Ge(l,e.slice(a+1,a+r+3)),l=Ge(l,[["enter",x,t]]),l=Ge(l,Pi(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),l=Ge(l,[["exit",x,t],e[o-2],e[o-1],["exit",m,t]]),l=Ge(l,e.slice(o+1)),l=Ge(l,[["exit",c,t]]),je(e,a,e.length,l),e}function om(e,t,i){let r=this,s=r.events.length,a,o;for(;s--;)if((r.events[s][1].type==="labelImage"||r.events[s][1].type==="labelLink")&&!r.events[s][1]._balanced){a=r.events[s][1];break}return l;function l(x){return a?a._inactive?m(x):(o=r.parser.defined.includes(qt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(x),e.exit("labelMarker"),e.exit("labelEnd"),c):i(x)}function c(x){return x===40?e.attempt(lm,t,o?t:m)(x):x===91?e.attempt(hm,t,o?e.attempt(fm,t,m):m)(x):o?t(x):m(x)}function m(x){return a._balanced=!0,i(x)}}function um(e,t,i){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),oi(e,s)}function s(c){return c===41?l(c):Ur(e,a,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function a(c){return Ee(c)?oi(e,o)(c):l(c)}function o(c){return c===34||c===39||c===40?Jr(e,oi(e,l),i,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):l(c)}function l(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):i(c)}}function cm(e,t,i){let r=this;return s;function s(o){return zr.call(r,e,a,i,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(qt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):i(o)}}function pm(e,t,i){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),s}function s(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):i(a)}}h();p();var fs={name:"labelStartImage",tokenize:mm,resolveAll:ui.resolveAll};function mm(e,t,i){let r=this;return s;function s(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),o):i(l)}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(l):t(l)}}h();p();var ms={name:"labelStartLink",tokenize:dm,resolveAll:ui.resolveAll};function dm(e,t,i){let r=this;return s;function s(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?i(o):t(o)}}h();p();var $i={name:"lineEnding",tokenize:xm};function xm(e,t){return i;function i(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ee(e,t,"linePrefix")}}h();p();h();p();var li={name:"thematicBreak",tokenize:gm};function gm(e,t,i){let r=0,s;return a;function a(c){return e.enter("thematicBreak"),s=c,o(c)}function o(c){return c===s?(e.enter("thematicBreakSequence"),l(c)):me(c)?ee(e,o,"whitespace")(c):r<3||c!==null&&!J(c)?i(c):(e.exit("thematicBreak"),t(c))}function l(c){return c===s?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),o(c))}}var Je={name:"list",tokenize:ym,continuation:{tokenize:bm},exit:vm},km={tokenize:wm,partial:!0},Cm={tokenize:Em,partial:!0};function ym(e,t,i){let r=this,s=r.events[r.events.length-1],a=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,o=0;return l;function l(g){let E=r.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||g===r.containerState.marker:Yi(g)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(li,i,m)(g):m(g);if(!r.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(g)}return i(g)}function c(g){return Yi(g)&&++o<10?(e.consume(g),c):(!r.interrupt||o<2)&&(r.containerState.marker?g===r.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),m(g)):i(g)}function m(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||g,e.check(Dt,r.interrupt?i:x,e.attempt(km,A,w))}function x(g){return r.containerState.initialBlankLine=!0,a++,A(g)}function w(g){return me(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),A):i(g)}function A(g){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function bm(e,t,i){let r=this;return r.containerState._closeFlow=void 0,e.check(Dt,s,a);function s(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ee(e,t,"listItemIndent",r.containerState.size+1)(l)}function a(l){return r.containerState.furtherBlankLines||!me(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Cm,t,o)(l))}function o(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,ee(e,e.attempt(Je,t,i),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Em(e,t,i){let r=this;return ee(e,s,"listItemIndent",r.containerState.size+1);function s(a){let o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(a):i(a)}}function vm(e){e.exit(this.containerState.type)}function wm(e,t,i){let r=this;return ee(e,s,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function s(a){let o=r.events[r.events.length-1];return!me(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):i(a)}}h();p();var qr={name:"setextUnderline",tokenize:Sm,resolveTo:Am};function Am(e,t){let i=e.length,r,s,a;for(;i--;)if(e[i][0]==="enter"){if(e[i][1].type==="content"){r=i;break}e[i][1].type==="paragraph"&&(s=i)}else e[i][1].type==="content"&&e.splice(i,1),!a&&e[i][1].type==="definition"&&(a=i);let o={type:"setextHeading",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[s][1].type="setextHeadingText",a?(e.splice(s,0,["enter",o,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}function Sm(e,t,i){let r=this,s=r.events.length,a,o;for(;s--;)if(r.events[s][1].type!=="lineEnding"&&r.events[s][1].type!=="linePrefix"&&r.events[s][1].type!=="content"){o=r.events[s][1].type==="paragraph";break}return l;function l(x){return!r.parser.lazy[r.now().line]&&(r.interrupt||o)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=x,c(x)):i(x)}function c(x){return x===a?(e.consume(x),c):(e.exit("setextHeadingLineSequence"),ee(e,m,"lineSuffix")(x))}function m(x){return x===null||J(x)?(e.exit("setextHeadingLine"),t(x)):i(x)}}var Im={tokenize:_m,partial:!0},Fm=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function ds(e){let t={tokenize:s,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");let i=e.acorn,r=Object.assign({ecmaVersion:2020,sourceType:"module"},e.acornOptions);return{flow:{[101]:t,[105]:t}};function s(a,o,l){let c=this,m=c.parser.definedModuleSpecifiers||(c.parser.definedModuleSpecifiers=[]),x=this.events.length+1,w=0,A;return c.interrupt?l:g;function g(d){return c.now().column>1?l(d):(A=d===101?"export":"import",a.enter("mdxjsEsm"),a.enter("mdxjsEsmData"),E(d))}function E(d){return d===A.charCodeAt(w++)?(a.consume(d),w===A.length?S:E):l(d)}function S(d){return ot(d)?(a.consume(d),T):l(d)}function T(d){return d===null?L(d):J(d)?a.check(Im,L,_)(d):(a.consume(d),T)}function _(d){return a.exit("mdxjsEsmData"),V(d)}function V(d){return J(d)?(a.enter("lineEnding"),a.consume(d),a.exit("lineEnding"),V):(a.enter("mdxjsEsmData"),T(d))}function L(d){a.exit("mdxjsEsmData");let U=-1,C=Dr(c.events.slice(x),{acorn:i,acornOptions:r,prefix:m.length>0?"var "+m.join(",")+`
|
|
14
|
+
`:""});if(d!==null&&C.swallow)return V(d);if(C.error)throw new ue("Could not parse import/exports with acorn: "+String(C.error),{line:C.error.loc.line,column:C.error.loc.column+1,offset:C.error.pos},"micromark-extension-mdxjs-esm:acorn");for(m.length>0&&C.estree.body.shift();++U<C.estree.body.length;){let D=C.estree.body[U];if(!Fm.has(D.type))throw new ue("Unexpected `"+D.type+"` in code: only import/exports are supported",tt(D),"micromark-extension-mdxjs-esm:non-esm");if(D.type==="ImportDeclaration"&&!c.interrupt){let M=-1;for(;++M<D.specifiers.length;)m.push(D.specifiers[M].local.name)}}return Object.assign(a.exit("mdxjsEsm"),e.addResult?{estree:C.estree}:void 0),o(d)}}}function _m(e,t,i){return r;function r(s){return e.exit("mdxjsEsmData"),e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),e.attempt(Dt,t,i)}}function vu(e){let t=Object.assign({acorn:Be.extend((0,bu.default)()),acornOptions:{ecmaVersion:2020,sourceType:"module"},addResult:!0},e);return Lr([ds(t),es(t),is(t),du])}h();p();h();p();var Eu={enter:{mdxFlowExpression:Tm,mdxTextExpression:Pm},exit:{mdxFlowExpression:wu,mdxFlowExpressionChunk:ku,mdxTextExpression:wu,mdxTextExpressionChunk:ku}},Au={handlers:{mdxFlowExpression:Cu,mdxTextExpression:Cu},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]};function Tm(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function Pm(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function wu(e){let t=this.resume(),i=e.estree,r=this.exit(e);r.value=t,i&&(r.data={estree:i})}function ku(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Cu(e){let t=e.value||"";return"{"+t+"}"}h();p();h();p();h();p();function xs(e,t){let i=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=i.indexOf(t);for(;s!==-1;)r++,s=i.indexOf(t,s+t.length);return r}h();p();h();p();h();p();var Su=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];h();p();var gs={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};h();p();function Xr(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}h();p();function _u(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}h();p();h();p();function Iu(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function ys(e){return Iu(e)||Xr(e)}var Bi=String.fromCharCode,Bm=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function bs(e,t={}){let i=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[],s=0,a=-1,o="",l,c;t.position&&("start"in t.position||"indent"in t.position?(c=t.position.indent,l=t.position.start):l=t.position);let m=(l?l.line:0)||1,x=(l?l.column:0)||1,w=g(),A;for(s--;++s<=e.length;)if(A===10&&(x=(c?c[a]:0)||1),A=e.charCodeAt(s),A===38){let T=e.charCodeAt(s+1);if(T===9||T===10||T===12||T===32||T===38||T===60||Number.isNaN(T)||i&&T===i){o+=Bi(A),x++;continue}let _=s+1,V=_,L=_,d;if(T===35){L=++V;let Y=e.charCodeAt(L);Y===88||Y===120?(d="hexadecimal",L=++V):d="decimal"}else d="named";let U="",C="",D="",M=d==="named"?ys:d==="decimal"?Xr:_u;for(L--;++L<=e.length;){let Y=e.charCodeAt(L);if(!M(Y))break;D+=Bi(Y),d==="named"&&Su.includes(D)&&(U=D,C=Jt(D))}let j=e.charCodeAt(L)===59;if(j){L++;let Y=d==="named"?Jt(D):!1;Y&&(U=D,C=Y)}let W=1+L-_,G="";if(!(!j&&t.nonTerminated===!1))if(!D)d!=="named"&&E(4,W);else if(d==="named"){if(j&&!C)E(5,1);else if(U!==D&&(L=V+U.length,W=1+L-V,j=!1),!j){let Y=U?1:3;if(t.attribute){let q=e.charCodeAt(L);q===61?(E(Y,W),C=""):ys(q)?C="":E(Y,W)}else E(Y,W)}G=C}else{j||E(2,W);let Y=Number.parseInt(D,d==="hexadecimal"?16:10);if(Lm(Y))E(7,W),G=Bi(65533);else if(Y in gs)E(6,W),G=gs[Y];else{let q="";Dm(Y)&&E(6,W),Y>65535&&(Y-=65536,q+=Bi(Y>>>(10&1023)|55296),Y=56320|Y&1023),G=q+Bi(Y)}}if(G){S(),w=g(),s=L-1,x+=L-_+1,r.push(G);let Y=g();Y.offset++,t.reference&&t.reference.call(t.referenceContext,G,{start:w,end:Y},e.slice(_-1,L)),w=Y}else D=e.slice(_-1,L),o+=D,x+=D.length,s=L-1}else A===10&&(m++,a++,x=0),Number.isNaN(A)?S():(o+=Bi(A),x++);return r.join("");function g(){return{line:m,column:x,offset:s+((l?l.offset:0)||0)}}function E(T,_){let V;t.warning&&(V=g(),V.column+=_,V.offset+=_,t.warning.call(t.warningContext,Bm[T],V,T))}function S(){o&&(r.push(o),t.text&&t.text.call(t.textContext,o,{start:w,end:g()}),o="")}}function Lm(e){return e>=55296&&e<=57343||e>1114111}function Dm(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534}h();p();h();p();function Fu(e,t){if(e=e.replace(t.subset?Nm(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function i(s,a,o){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,o.charCodeAt(a+2),t)}function r(s,a,o){return t.format(s.charCodeAt(0),o.charCodeAt(a+1),t)}}function Nm(e){let t=[],i=-1;for(;++i<e.length;)t.push(e[i].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}h();p();function Tu(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Pu(e,t){return Fu(e,Object.assign({format:Tu},t))}h();p();h();p();function ci(e){let t=e||{},i=t.now||{},r=t.lineShift||0,s=i.line||1,a=i.column||1;return{move:c,current:o,shift:l};function o(){return{now:{line:s,column:a},lineShift:r}}function l(m){r+=m}function c(m=""){let x=m.split(/\r?\n|\r/g),w=x[x.length-1];return s+=x.length-1,a=x.length===1?a+w.length:1+w.length+r,m}}function Bu(e,t,i){let r=t.indexStack,s=e.children||[],a=ci(i),o=[],l=-1;for(r.push(-1);++l<s.length;){let m=s[l];r[r.length-1]=l,o.push(a.move(t.handle(m,e,t,{before:`
|
|
15
15
|
`,after:`
|
|
16
|
-
`,...a.current()}))),
|
|
17
|
-
`.repeat(1+
|
|
16
|
+
`,...a.current()}))),m.type!=="list"&&(t.bulletLastUsed=void 0),l<s.length-1&&o.push(a.move(c(m,s[l+1])))}return r.pop(),o.join("");function c(m,x){let w=t.join.length;for(;w--;){let A=t.join[w](m,x,e,t);if(A===!0||A===1)break;if(typeof A=="number")return`
|
|
17
|
+
`.repeat(1+A);if(A===!1)return`
|
|
18
18
|
|
|
19
19
|
<!---->
|
|
20
20
|
|
|
21
21
|
`}return`
|
|
22
22
|
|
|
23
|
-
`}}h();p();function
|
|
24
|
-
`)&&
|
|
25
|
-
`+
|
|
26
|
-
`),l)):
|
|
27
|
-
`)),E&&(
|
|
28
|
-
`),
|
|
29
|
-
`)):
|
|
23
|
+
`}}h();p();function Lu(e,t,i){let r=t.indexStack,s=e.children||[],a=[],o=-1,l=i.before;r.push(-1);let c=ci(i);for(;++o<s.length;){let m=s[o],x;if(r[r.length-1]=o,o+1<s.length){let w=t.handle.handlers[s[o+1].type];w&&w.peek&&(w=w.peek),x=w?w(s[o+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else x=i.after;a.length>0&&(l==="\r"||l===`
|
|
24
|
+
`)&&m.type==="html"&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),l=" ",c=ci(i),c.move(a.join(""))),a.push(c.move(t.handle(m,e,t,{...c.current(),before:l,after:x}))),l=a[a.length-1].slice(-1)}return r.pop(),a.join("")}h();p();var Rm=/\r?\n|\r/g;function vs(e,t){let i=[],r=0,s=0,a;for(;a=Rm.exec(e);)o(e.slice(r,a.index)),i.push(a[0]),r=a.index+a[0].length,s++;return o(e.slice(r)),i.join("");function o(l){i.push(t(l,s,!l))}}function ws(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:i,mdxJsxFlowTagClosingMarker:r,mdxJsxFlowTagAttribute:x,mdxJsxFlowTagExpressionAttribute:w,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:a,mdxJsxTextTag:i,mdxJsxTextTagClosingMarker:r,mdxJsxTextTagAttribute:x,mdxJsxTextTagExpressionAttribute:w,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:a},exit:{mdxJsxFlowTagClosingMarker:o,mdxJsxFlowTagNamePrimary:l,mdxJsxFlowTagNameMember:c,mdxJsxFlowTagNameLocal:m,mdxJsxFlowTagExpressionAttribute:A,mdxJsxFlowTagExpressionAttributeValue:t,mdxJsxFlowTagAttributeNamePrimary:g,mdxJsxFlowTagAttributeNameLocal:E,mdxJsxFlowTagAttributeValueLiteral:S,mdxJsxFlowTagAttributeValueLiteralValue:t,mdxJsxFlowTagAttributeValueExpression:T,mdxJsxFlowTagAttributeValueExpressionValue:t,mdxJsxFlowTagSelfClosingMarker:_,mdxJsxFlowTag:V,mdxJsxTextTagClosingMarker:o,mdxJsxTextTagNamePrimary:l,mdxJsxTextTagNameMember:c,mdxJsxTextTagNameLocal:m,mdxJsxTextTagExpressionAttribute:A,mdxJsxTextTagExpressionAttributeValue:t,mdxJsxTextTagAttributeNamePrimary:g,mdxJsxTextTagAttributeNameLocal:E,mdxJsxTextTagAttributeValueLiteral:S,mdxJsxTextTagAttributeValueLiteralValue:t,mdxJsxTextTagAttributeValueExpression:T,mdxJsxTextTagAttributeValueExpressionValue:t,mdxJsxTextTagSelfClosingMarker:_,mdxJsxTextTag:V}};function e(){this.buffer()}function t(C){this.config.enter.data.call(this,C),this.config.exit.data.call(this,C)}function i(C){let D={name:null,attributes:[],start:C.start,end:C.end};this.getData("mdxJsxTagStack")||this.setData("mdxJsxTagStack",[]),this.setData("mdxJsxTag",D),this.buffer()}function r(C){if(this.getData("mdxJsxTagStack").length===0)throw new ue("Unexpected closing slash `/` in tag, expected an open tag first",{start:C.start,end:C.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function s(C){if(this.getData("mdxJsxTag").close)throw new ue("Unexpected attribute in closing tag, expected the end of the tag",{start:C.start,end:C.end},"mdast-util-mdx-jsx:unexpected-attribute")}function a(C){if(this.getData("mdxJsxTag").close)throw new ue("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:C.start,end:C.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function o(){let C=this.getData("mdxJsxTag");C.close=!0}function l(C){let D=this.getData("mdxJsxTag");D.name=this.sliceSerialize(C)}function c(C){let D=this.getData("mdxJsxTag");D.name+="."+this.sliceSerialize(C)}function m(C){let D=this.getData("mdxJsxTag");D.name+=":"+this.sliceSerialize(C)}function x(C){let D=this.getData("mdxJsxTag");s.call(this,C),D.attributes.push({type:"mdxJsxAttribute",name:"",value:null})}function w(C){let D=this.getData("mdxJsxTag");s.call(this,C),D.attributes.push({type:"mdxJsxExpressionAttribute",value:""}),this.buffer()}function A(C){let D=this.getData("mdxJsxTag"),M=D.attributes[D.attributes.length-1],j=C.estree;M.value=this.resume(),j&&(M.data={estree:j})}function g(C){let D=this.getData("mdxJsxTag"),M=D.attributes[D.attributes.length-1];M.name=this.sliceSerialize(C)}function E(C){let D=this.getData("mdxJsxTag"),M=D.attributes[D.attributes.length-1];M.name+=":"+this.sliceSerialize(C)}function S(){let C=this.getData("mdxJsxTag");C.attributes[C.attributes.length-1].value=bs(this.resume(),{nonTerminated:!1})}function T(C){let D=this.getData("mdxJsxTag"),M=D.attributes[D.attributes.length-1],j={type:"mdxJsxAttributeValueExpression",value:this.resume()},W=C.estree;W&&(j.data={estree:W}),M.value=j}function _(){let C=this.getData("mdxJsxTag");C.selfClosing=!0}function V(C){let D=this.getData("mdxJsxTag"),M=this.getData("mdxJsxTagStack"),j=M[M.length-1];if(D.close&&j.name!==D.name)throw new ue("Unexpected closing tag `"+U(D)+"`, expected corresponding closing tag for `"+U(j)+"` ("+Ve(j)+")",{start:C.start,end:C.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),D.close?M.pop():this.enter({type:C.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:D.name,attributes:D.attributes,children:[]},C,L),D.selfClosing||D.close?this.exit(C,d):M.push(D)}function L(C,D){let M=this.getData("mdxJsxTag"),j=C?" before the end of `"+C.type+"`":"",W=C?{start:C.start,end:C.end}:void 0;throw new ue("Expected a closing tag for `"+U(M)+"` ("+Ve({start:D.start,end:D.end})+")"+j,W,"mdast-util-mdx-jsx:end-tag-mismatch")}function d(C,D){let M=this.getData("mdxJsxTag");throw new ue("Expected the closing tag `"+U(M)+"` either after the end of `"+D.type+"` ("+Ve(D.end)+") or another opening tag after the start of `"+D.type+"` ("+Ve(D.start)+")",{start:C.start,end:C.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function U(C){return"<"+(C.close?"/":"")+(C.name||"")+">"}}function ks(e={}){let{quote:t='"',quoteSmart:i,tightSelfClosing:r,printWidth:s=Number.POSITIVE_INFINITY}=e,a=t==='"'?"'":'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize attribute values with `"+t+"` for `options.quote`, expected `\"`, or `'`");return o.peek=c,{handlers:{mdxJsxFlowElement:o,mdxJsxTextElement:o},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function o(m,x,w,A){let g=ci(A),E=m.name&&(!m.children||m.children.length===0),S=w.enter(m.type),T=-1,_=[],V=g.move("<"+(m.name||""));if(m.attributes&&m.attributes.length>0){if(!m.name)throw new Error("Cannot serialize fragment w/ attributes");for(;++T<m.attributes.length;){let U=m.attributes[T],C;if(U.type==="mdxJsxExpressionAttribute")C="{"+(U.value||"")+"}";else{if(!U.name)throw new Error("Cannot serialize attribute w/o name");let D=U.value,M=U.name,j="";if(D!=null)if(typeof D=="object")j="{"+(D.value||"")+"}";else{let W=i&&xs(D,t)>xs(D,a)?a:t;j=W+Pu(D,{subset:[W]})+W}C=M+(j?"=":"")+j}_.push(C)}}let L=!1,d=_.join(" ");return m.type==="mdxJsxFlowElement"&&(/\r?\n|\r/.test(d)||g.current().now.column+d.length+(E?r?2:3:1)>s)&&(L=!0),L?V+=g.move(`
|
|
25
|
+
`+vs(_.join(`
|
|
26
|
+
`),l)):d&&(V+=g.move(" "+d)),L&&(V+=g.move(`
|
|
27
|
+
`)),E&&(V+=g.move((r||L?"":" ")+"/")),V+=g.move(">"),m.children&&m.children.length>0&&(m.type==="mdxJsxFlowElement"?(g.shift(2),V+=g.move(`
|
|
28
|
+
`),V+=g.move(vs(Bu(m,w,g.current()),l)),V+=g.move(`
|
|
29
|
+
`)):V+=g.move(Lu(m,w,{...g.current(),before:"<",after:">"}))),E||(V+=g.move("</"+(m.name||"")+">")),S(),V}function l(m,x,w){return(w?"":" ")+m}function c(){return"<"}}h();p();var Du={enter:{mdxjsEsm:Om},exit:{mdxjsEsm:Vm,mdxjsEsmData:jm}},Nu={handlers:{mdxjsEsm:Mm}};function Om(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function Vm(e){let t=this.resume(),i=this.exit(e),r=e.estree;i.value=t,r&&(i.data={estree:r})}function jm(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Mm(e){return e.value||""}function Ru(){return[Eu,ws(),Du]}function Ou(e){return{extensions:[Au,ks(e),Nu]}}function Es(e={}){let t=this.data();i("micromarkExtensions",vu(e)),i("fromMarkdownExtensions",Ru()),i("toMarkdownExtensions",Ou(e));function i(r,s){(t[r]?t[r]:t[r]=[]).push(s)}}h();p();h();p();h();p();h();p();h();p();function ju(e,t){var{includeImageAlt:i=!0}=t||{};return Vu(e,i)}function Vu(e,t){return e&&typeof e=="object"&&(e.value||(t?e.alt:"")||"children"in e&&Mu(e.children,t)||Array.isArray(e)&&Mu(e,t))||""}function Mu(e,t){for(var i=[],r=-1;++r<e.length;)i[r]=Vu(e[r],t);return i.join("")}h();p();h();p();var Uu={tokenize:Um};function Um(e){let t=e.attempt(this.parser.constructs.contentInitial,r,s),i;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ee(e,t,"linePrefix")}function s(l){return e.enter("paragraph"),a(l)}function a(l){let c=e.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=c),i=c,o(l)}function o(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return J(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),o)}}h();p();var zu={tokenize:zm},Ju={tokenize:Jm};function zm(e){let t=this,i=[],r=0,s,a,o;return l;function l(L){if(r<i.length){let d=i[r];return t.containerState=d[1],e.attempt(d[0].continuation,c,m)(L)}return m(L)}function c(L){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&V();let d=t.events.length,U=d,C;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){C=t.events[U][1].end;break}_(r);let D=d;for(;D<t.events.length;)t.events[D][1].end=Object.assign({},C),D++;return je(t.events,U+1,0,t.events.slice(d)),t.events.length=D,m(L)}return l(L)}function m(L){if(r===i.length){if(!s)return A(L);if(s.currentConstruct&&s.currentConstruct.concrete)return E(L);t.interrupt=Boolean(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ju,x,w)(L)}function x(L){return s&&V(),_(r),A(L)}function w(L){return t.parser.lazy[t.now().line]=r!==i.length,o=t.now().offset,E(L)}function A(L){return t.containerState={},e.attempt(Ju,g,E)(L)}function g(L){return r++,i.push([t.currentConstruct,t.containerState]),A(L)}function E(L){if(L===null){s&&V(),_(0),e.consume(L);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:s}),S(L)}function S(L){if(L===null){T(e.exit("chunkFlow"),!0),_(0),e.consume(L);return}return J(L)?(e.consume(L),T(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(L),S)}function T(L,d){let U=t.sliceStream(L);if(d&&U.push(null),L.previous=a,a&&(a.next=L),a=L,s.defineSkip(L.start),s.write(U),t.parser.lazy[L.start.line]){let C=s.events.length;for(;C--;)if(s.events[C][1].start.offset<o&&(!s.events[C][1].end||s.events[C][1].end.offset>o))return;let D=t.events.length,M=D,j,W;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(j){W=t.events[M][1].end;break}j=!0}for(_(r),C=D;C<t.events.length;)t.events[C][1].end=Object.assign({},W),C++;je(t.events,M+1,0,t.events.slice(D)),t.events.length=C}}function _(L){let d=i.length;for(;d-- >L;){let U=i[d];t.containerState=U[1],U[0].exit.call(t,e)}i.length=L}function V(){s.write([null]),a=void 0,s=void 0,t.containerState._closeFlow=void 0}}function Jm(e,t,i){return ee(e,e.attempt(this.parser.constructs.document,t,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}h();p();var qu={tokenize:qm};function qm(e){let t=this,i=e.attempt(Dt,r,e.attempt(this.parser.constructs.flowInitial,s,ee(e,e.attempt(this.parser.constructs.flow,s,e.attempt(as,s)),"linePrefix")));return i;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,i}function s(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,i}}h();p();var Hu={resolveAll:Xu()},Gu=Wu("string"),Yu=Wu("text");function Wu(e){return{tokenize:t,resolveAll:Xu(e==="text"?Xm:void 0)};function t(i){let r=this,s=this.parser.constructs[e],a=i.attempt(s,o,l);return o;function o(x){return m(x)?a(x):l(x)}function l(x){if(x===null){i.consume(x);return}return i.enter("data"),i.consume(x),c}function c(x){return m(x)?(i.exit("data"),a(x)):(i.consume(x),c)}function m(x){if(x===null)return!0;let w=s[x],A=-1;if(w)for(;++A<w.length;){let g=w[A];if(!g.previous||g.previous.call(r,r.previous))return!0}return!1}}}function Xu(e){return t;function t(i,r){let s=-1,a;for(;++s<=i.length;)a===void 0?i[s]&&i[s][1].type==="data"&&(a=s,s++):(!i[s]||i[s][1].type!=="data")&&(s!==a+2&&(i[a][1].end=i[s-1][1].end,i.splice(a+2,s-a-2),s=a+2),a=void 0);return e?e(i,r):i}}function Xm(e,t){let i=0;for(;++i<=e.length;)if((i===e.length||e[i][1].type==="lineEnding")&&e[i-1][1].type==="data"){let r=e[i-1][1],s=t.sliceStream(r),a=s.length,o=-1,l=0,c;for(;a--;){let m=s[a];if(typeof m=="string"){for(o=m.length;m.charCodeAt(o-1)===32;)l++,o--;if(o)break;o=-1}else if(m===-2)c=!0,l++;else if(m!==-1){a++;break}}if(l){let m={type:i===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},m.start),r.start.offset===r.end.offset?Object.assign(r,m):(e.splice(i,0,["enter",m,t],["exit",m,t]),i+=2)}i++}return e}h();p();function Qu(e,t,i){let r=Object.assign(i?Object.assign({},i):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),s={},a=[],o=[],l=[],c=!0,m={consume:d,enter:U,exit:C,attempt:j(D),check:j(M),interrupt:j(M,{interrupt:!0})},x={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:S,sliceSerialize:E,now:T,defineSkip:_,write:g},w=t.tokenize.call(x,m),A;return t.resolveAll&&a.push(t),x;function g(q){return o=Ge(o,q),V(),o[o.length-1]!==null?[]:(W(t,0),x.events=Pi(a,x.events,x),x.events)}function E(q,se){return Wm(S(q),se)}function S(q){return Hm(o,q)}function T(){return Object.assign({},r)}function _(q){s[q.line]=q.column,Y()}function V(){let q;for(;r._index<o.length;){let se=o[r._index];if(typeof se=="string")for(q=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===q&&r._bufferIndex<se.length;)L(se.charCodeAt(r._bufferIndex));else L(se)}}function L(q){c=void 0,A=q,w=w(q)}function d(q){J(q)?(r.line++,r.column=1,r.offset+=q===-3?2:1,Y()):q!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),x.previous=q,c=!0}function U(q,se){let ye=se||{};return ye.type=q,ye.start=T(),x.events.push(["enter",ye,x]),l.push(ye),ye}function C(q){let se=l.pop();return se.end=T(),x.events.push(["exit",se,x]),se}function D(q,se){W(q,se.from)}function M(q,se){se.restore()}function j(q,se){return ye;function ye(ke,ae,be){let Se,_e,B,P;return Array.isArray(ke)?qe(ke):"tokenize"in ke?qe([ke]):nt(ke);function nt(Te){return Ct;function Ct(He){let ut=He!==null&&Te[He],Ne=He!==null&&Te.null,At=[...Array.isArray(ut)?ut:ut?[ut]:[],...Array.isArray(Ne)?Ne:Ne?[Ne]:[]];return qe(At)(He)}}function qe(Te){return Se=Te,_e=0,Te.length===0?be:dt(Te[_e])}function dt(Te){return Ct;function Ct(He){return P=G(),B=Te,Te.partial||(x.currentConstruct=Te),Te.name&&x.parser.constructs.disable.null.includes(Te.name)?Xe(He):Te.tokenize.call(se?Object.assign(Object.create(x),se):x,m,xt,Xe)(He)}}function xt(Te){return c=!0,q(B,P),ae}function Xe(Te){return c=!0,P.restore(),++_e<Se.length?dt(Se[_e]):be}}}function W(q,se){q.resolveAll&&!a.includes(q)&&a.push(q),q.resolve&&je(x.events,se,x.events.length-se,q.resolve(x.events.slice(se),x)),q.resolveTo&&(x.events=q.resolveTo(x.events,x))}function G(){let q=T(),se=x.previous,ye=x.currentConstruct,ke=x.events.length,ae=Array.from(l);return{restore:be,from:ke};function be(){r=q,x.previous=se,x.currentConstruct=ye,x.events.length=ke,l=ae,Y()}}function Y(){r.line in s&&r.column<2&&(r.column=s[r.line],r.offset+=s[r.line]-1)}}function Hm(e,t){let i=t.start._index,r=t.start._bufferIndex,s=t.end._index,a=t.end._bufferIndex,o;return i===s?o=[e[i].slice(r,a)]:(o=e.slice(i,s),r>-1&&(o[0]=o[0].slice(r)),a>0&&o.push(e[s].slice(0,a))),o}function Wm(e,t){let i=-1,r=[],s;for(;++i<e.length;){let a=e[i],o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
30
30
|
`;break}case-3:{o=`\r
|
|
31
|
-
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&s)continue;o=" ";break}default:o=String.fromCharCode(a)}s=a===-2,r.push(o)}return r.join("")}var ws={};pa(ws,{attentionMarkers:()=>$m,contentInitial:()=>Wm,disable:()=>e0,document:()=>Hm,flow:()=>Ym,flowInitial:()=>Gm,insideSpan:()=>Zm,string:()=>Qm,text:()=>Km});h();p();var Hm={[42]:Je,[43]:Je,[45]:Je,[48]:Je,[49]:Je,[50]:Je,[51]:Je,[52]:Je,[53]:Je,[54]:Je,[55]:Je,[56]:Je,[57]:Je,[62]:Nr},Wm={[91]:ns},Gm={[-2]:Ki,[-1]:Ki,[32]:Ki},Ym={[35]:as,[42]:li,[45]:[Jr,li],[60]:us,[61]:Jr,[95]:li,[96]:Vr,[126]:Vr},Qm={[38]:Or,[92]:Rr},Km={[-5]:Zi,[-4]:Zi,[-3]:Zi,[33]:cs,[38]:Or,[42]:Qi,[60]:[ts,ls],[91]:hs,[92]:[ss,Rr],[93]:ui,[95]:Qi,[96]:is},Zm={null:[Qi,zu]},$m={null:[42,95]},e0={null:[]};function Wu(e={}){let t=Br([ws].concat(e.extensions||[])),i={defined:[],lazy:{},constructs:t,content:r(Ou),document:r(Vu),flow:r(ju),string:r(qu),text:r(Xu)};return i;function r(s){return a;function a(o){return Hu(i,s,o)}}}h();p();var Gu=/[\0\t\n\r]/g;function Yu(){let e=1,t="",i=!0,r;return s;function s(a,o,l){let c=[],d,x,k,C,g;for(a=t+a.toString(o),k=0,t="",i&&(a.charCodeAt(0)===65279&&k++,i=void 0);k<a.length;){if(Gu.lastIndex=k,d=Gu.exec(a),C=d&&d.index!==void 0?d.index:a.length,g=a.charCodeAt(C),!d){t=a.slice(k);break}if(g===10&&k===C&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),k<C&&(c.push(a.slice(k,C)),e+=C-k),g){case 0:{c.push(65533),e++;break}case 9:{for(x=Math.ceil(e/4)*4,c.push(-2);e++<x;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}k=C+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}h();p();function Qu(e){for(;!Mr(e););return e}h();p();function Xr(e,t){let i=Number.parseInt(e,t);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)==65535||(i&65535)==65534||i>1114111?"\uFFFD":String.fromCharCode(i)}h();p();var t0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ku(e){return e.replace(t0,i0)}function i0(e,t,i){if(t)return t;if(i.charCodeAt(0)===35){let s=i.charCodeAt(1),a=s===120||s===88;return Xr(i.slice(a?2:1),a?16:10)}return zt(i)||e}var ks={}.hasOwnProperty,Es=function(e,t,i){return typeof t!="string"&&(i=t,t=void 0),r0(i)(Qu(Wu(i).document().write(Yu()(e,t,!0))))};function r0(e={}){let t=Zu({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Wt),autolinkProtocol:W,autolinkEmail:W,atxHeading:c(Ht),blockQuote:c(Ne),characterEscape:W,characterReference:W,codeFenced:c(At),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:c(At,d),codeText:c(Ke,d),codeTextData:W,data:W,codeFlowValue:W,definition:c(di),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:c(xi),hardBreakEscape:c(ve),hardBreakTrailing:c(ve),htmlFlow:c(st,d),htmlFlowData:W,htmlText:c(st,d),htmlTextData:W,image:c(Le),label:d,link:c(Wt),listItem:c(ie),listItemValue:_,listOrdered:c(St,E),listUnordered:c(St),paragraph:c(_t),reference:xt,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:c(Ht),strong:c(Ce),thematicBreak:c(Nt)},exit:{atxHeading:k(),atxHeadingSequence:j,autolink:k(),autolinkEmail:ut,autolinkProtocol:He,blockQuote:k(),characterEscapeValue:q,characterReferenceMarkerHexadecimal:Te,characterReferenceMarkerNumeric:Te,characterReferenceValue:Ct,codeFenced:k(L),codeFencedFence:N,codeFencedFenceInfo:F,codeFencedFenceMeta:T,codeFlowValue:q,codeIndented:k(f),codeText:k(be),codeTextData:q,data:q,definition:k(),definitionDestinationString:O,definitionLabelString:V,definitionTitleString:A,emphasis:k(),hardBreakEscape:k(ye),hardBreakTrailing:k(ye),htmlFlow:k(ke),htmlFlowData:q,htmlText:k(ae),htmlTextData:q,image:k(_e),label:P,labelText:B,lineEnding:se,link:k(Se),listItem:k(),listOrdered:k(),listUnordered:k(),paragraph:k(),referenceString:Xe,resourceDestinationString:nt,resourceTitleString:qe,resource:dt,setextHeading:k(G),setextHeadingLineSequence:ee,setextHeadingText:U,strong:k(),thematicBreak:k()}},e.mdastExtensions||[]),i={};return r;function r(R){let w={type:"root",children:[]},Q=[w],H=[],Ze=[],It={stack:Q,tokenStack:H,config:t,enter:x,exit:C,buffer:d,resume:g,setData:a,getData:o},pe=-1;for(;++pe<R.length;)if(R[pe][1].type==="listOrdered"||R[pe][1].type==="listUnordered")if(R[pe][0]==="enter")Ze.push(pe);else{let De=Ze.pop();pe=s(R,De,pe)}for(pe=-1;++pe<R.length;){let De=t[R[pe][0]];ks.call(De,R[pe][1].type)&&De[R[pe][1].type].call(Object.assign({sliceSerialize:R[pe][2].sliceSerialize},It),R[pe][1])}if(H.length>0){let De=H[H.length-1];(De[1]||$u).call(It,void 0,De[0])}for(w.position={start:l(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:l(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},pe=-1;++pe<t.transforms.length;)w=t.transforms[pe](w)||w;return w}function s(R,w,Q){let H=w-1,Ze=-1,It=!1,pe,De,gt,Ft;for(;++H<=Q;){let Ie=R[H];if(Ie[1].type==="listUnordered"||Ie[1].type==="listOrdered"||Ie[1].type==="blockQuote"?(Ie[0]==="enter"?Ze++:Ze--,Ft=void 0):Ie[1].type==="lineEndingBlank"?Ie[0]==="enter"&&(pe&&!Ft&&!Ze&&!gt&&(gt=H),Ft=void 0):Ie[1].type==="linePrefix"||Ie[1].type==="listItemValue"||Ie[1].type==="listItemMarker"||Ie[1].type==="listItemPrefix"||Ie[1].type==="listItemPrefixWhitespace"||(Ft=void 0),!Ze&&Ie[0]==="enter"&&Ie[1].type==="listItemPrefix"||Ze===-1&&Ie[0]==="exit"&&(Ie[1].type==="listUnordered"||Ie[1].type==="listOrdered")){if(pe){let Ue=H;for(De=void 0;Ue--;){let de=R[Ue];if(de[1].type==="lineEnding"||de[1].type==="lineEndingBlank"){if(de[0]==="exit")continue;De&&(R[De][1].type="lineEndingBlank",It=!0),de[1].type="lineEnding",De=Ue}else if(!(de[1].type==="linePrefix"||de[1].type==="blockQuotePrefix"||de[1].type==="blockQuotePrefixWhitespace"||de[1].type==="blockQuoteMarker"||de[1].type==="listItemIndent"))break}gt&&(!De||gt<De)&&(pe._spread=!0),pe.end=Object.assign({},De?R[De][1].start:Ie[1].end),R.splice(De||H,0,["exit",pe,Ie[2]]),H++,Q++}Ie[1].type==="listItemPrefix"&&(pe={type:"listItem",_spread:!1,start:Object.assign({},Ie[1].start)},R.splice(H,0,["enter",pe,Ie[2]]),H++,Q++,gt=void 0,Ft=!0)}}return R[w][1]._spread=It,Q}function a(R,w){i[R]=w}function o(R){return i[R]}function l(R){return{line:R.line,column:R.column,offset:R.offset}}function c(R,w){return Q;function Q(H){x.call(this,R(H),H),w&&w.call(this,H)}}function d(){this.stack.push({type:"fragment",children:[]})}function x(R,w,Q){return this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([w,Q]),R.position={start:l(w.start)},R}function k(R){return w;function w(Q){R&&R.call(this,Q),C.call(this,Q)}}function C(R,w){let Q=this.stack.pop(),H=this.tokenStack.pop();if(H)H[0].type!==R.type&&(w?w.call(this,R,H[0]):(H[1]||$u).call(this,R,H[0]));else throw new Error("Cannot close `"+R.type+"` ("+Ve({start:R.start,end:R.end})+"): it\u2019s not open");return Q.position.end=l(R.end),Q}function g(){return Nu(this.stack.pop())}function E(){a("expectingFirstListItemValue",!0)}function _(R){if(o("expectingFirstListItemValue")){let w=this.stack[this.stack.length-2];w.start=Number.parseInt(this.sliceSerialize(R),10),a("expectingFirstListItemValue")}}function F(){let R=this.resume(),w=this.stack[this.stack.length-1];w.lang=R}function T(){let R=this.resume(),w=this.stack[this.stack.length-1];w.meta=R}function N(){o("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function L(){let R=this.resume(),w=this.stack[this.stack.length-1];w.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function f(){let R=this.resume(),w=this.stack[this.stack.length-1];w.value=R.replace(/(\r?\n|\r)$/g,"")}function V(R){let w=this.resume(),Q=this.stack[this.stack.length-1];Q.label=w,Q.identifier=Jt(this.sliceSerialize(R)).toLowerCase()}function A(){let R=this.resume(),w=this.stack[this.stack.length-1];w.title=R}function O(){let R=this.resume(),w=this.stack[this.stack.length-1];w.url=R}function j(R){let w=this.stack[this.stack.length-1];if(!w.depth){let Q=this.sliceSerialize(R).length;w.depth=Q}}function U(){a("setextHeadingSlurpLineEnding",!0)}function ee(R){let w=this.stack[this.stack.length-1];w.depth=this.sliceSerialize(R).charCodeAt(0)===61?1:2}function G(){a("setextHeadingSlurpLineEnding")}function W(R){let w=this.stack[this.stack.length-1],Q=w.children[w.children.length-1];(!Q||Q.type!=="text")&&(Q=gi(),Q.position={start:l(R.start)},w.children.push(Q)),this.stack.push(Q)}function q(R){let w=this.stack.pop();w.value+=this.sliceSerialize(R),w.position.end=l(R.end)}function se(R){let w=this.stack[this.stack.length-1];if(o("atHardBreak")){let Q=w.children[w.children.length-1];Q.position.end=l(R.end),a("atHardBreak");return}!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(w.type)&&(W.call(this,R),q.call(this,R))}function ye(){a("atHardBreak",!0)}function ke(){let R=this.resume(),w=this.stack[this.stack.length-1];w.value=R}function ae(){let R=this.resume(),w=this.stack[this.stack.length-1];w.value=R}function be(){let R=this.resume(),w=this.stack[this.stack.length-1];w.value=R}function Se(){let R=this.stack[this.stack.length-1];o("inReference")?(R.type+="Reference",R.referenceType=o("referenceType")||"shortcut",delete R.url,delete R.title):(delete R.identifier,delete R.label),a("referenceType")}function _e(){let R=this.stack[this.stack.length-1];o("inReference")?(R.type+="Reference",R.referenceType=o("referenceType")||"shortcut",delete R.url,delete R.title):(delete R.identifier,delete R.label),a("referenceType")}function B(R){let w=this.stack[this.stack.length-2],Q=this.sliceSerialize(R);w.label=Ku(Q),w.identifier=Jt(Q).toLowerCase()}function P(){let R=this.stack[this.stack.length-1],w=this.resume(),Q=this.stack[this.stack.length-1];a("inReference",!0),Q.type==="link"?Q.children=R.children:Q.alt=w}function nt(){let R=this.resume(),w=this.stack[this.stack.length-1];w.url=R}function qe(){let R=this.resume(),w=this.stack[this.stack.length-1];w.title=R}function dt(){a("inReference")}function xt(){a("referenceType","collapsed")}function Xe(R){let w=this.resume(),Q=this.stack[this.stack.length-1];Q.label=w,Q.identifier=Jt(this.sliceSerialize(R)).toLowerCase(),a("referenceType","full")}function Te(R){a("characterReferenceType",R.type)}function Ct(R){let w=this.sliceSerialize(R),Q=o("characterReferenceType"),H;Q?(H=Xr(w,Q==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):H=zt(w);let Ze=this.stack.pop();Ze.value+=H,Ze.position.end=l(R.end)}function He(R){q.call(this,R);let w=this.stack[this.stack.length-1];w.url=this.sliceSerialize(R)}function ut(R){q.call(this,R);let w=this.stack[this.stack.length-1];w.url="mailto:"+this.sliceSerialize(R)}function Ne(){return{type:"blockquote",children:[]}}function At(){return{type:"code",lang:null,meta:null,value:""}}function Ke(){return{type:"inlineCode",value:""}}function di(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function xi(){return{type:"emphasis",children:[]}}function Ht(){return{type:"heading",depth:void 0,children:[]}}function ve(){return{type:"break"}}function st(){return{type:"html",value:""}}function Le(){return{type:"image",title:null,url:"",alt:null}}function Wt(){return{type:"link",title:null,url:"",children:[]}}function St(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function ie(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function _t(){return{type:"paragraph",children:[]}}function Ce(){return{type:"strong",children:[]}}function gi(){return{type:"text",value:""}}function Nt(){return{type:"thematicBreak"}}}function Zu(e,t){let i=-1;for(;++i<t.length;){let r=t[i];Array.isArray(r)?Zu(e,r):n0(e,r)}return e}function n0(e,t){let i;for(i in t)if(ks.call(t,i)){let r=i==="canContainEols"||i==="transforms",a=(ks.call(e,i)?e[i]:void 0)||(e[i]=r?[]:{}),o=t[i];o&&(r?e[i]=[...a,...o]:Object.assign(a,o))}}function $u(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ve({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is still open")}function Cs(e){Object.assign(this,{Parser:i=>{let r=this.data("settings");return Es(i,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var el=Cs;h();p();h();p();h();p();h();p();var xe=function(e,t,i){var r={type:String(e)};return i==null&&(typeof t=="string"||Array.isArray(t))?i=t:Object.assign(r,t),Array.isArray(i)?r.children=i:i!=null&&(r.value=String(i)),r};var Hr={}.hasOwnProperty;function s0(e,t){let i=t.data||{};return"value"in t&&!(Hr.call(i,"hName")||Hr.call(i,"hProperties")||Hr.call(i,"hChildren"))?e.augment(t,xe("text",t.value)):e(t,"div",ge(e,t))}function As(e,t,i){let r=t&&t.type,s;if(!r)throw new Error("Expected node, got `"+t+"`");return Hr.call(e.handlers,r)?s=e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?s=a0:s=e.unknownHandler,(typeof s=="function"?s:s0)(e,t,i)}function a0(e,t){return"children"in t?{...t,children:ge(e,t)}:t}function ge(e,t){let i=[];if("children"in t){let r=t.children,s=-1;for(;++s<r.length;){let a=As(e,r[s],t);if(a){if(s&&r[s-1].type==="break"&&(!Array.isArray(a)&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,"")),!Array.isArray(a)&&a.type==="element")){let o=a.children[0];o&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,""))}Array.isArray(a)?i.push(...a):i.push(a)}}}return i}h();p();h();p();h();p();h();p();var $i=function(e){if(e==null)return c0;if(typeof e=="string")return l0(e);if(typeof e=="object")return Array.isArray(e)?o0(e):u0(e);if(typeof e=="function")return Wr(e);throw new Error("Expected function, string, or object as test")};function o0(e){let t=[],i=-1;for(;++i<e.length;)t[i]=$i(e[i]);return Wr(r);function r(...s){let a=-1;for(;++a<t.length;)if(t[a].call(this,...s))return!0;return!1}}function u0(e){return Wr(t);function t(i){let r;for(r in e)if(i[r]!==e[r])return!1;return!0}}function l0(e){return Wr(t);function t(i){return i&&i.type===e}}function Wr(e){return t;function t(...i){return Boolean(e.call(this,...i))}}function c0(){return!0}h();p();function tl(e){return e}var il=!0,rl="skip",Ss=!1,nl=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null);let s=$i(t),a=r?-1:1;o(e,null,[])();function o(l,c,d){let x=typeof l=="object"&&l!==null?l:{},k;return typeof x.type=="string"&&(k=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0,Object.defineProperty(C,"name",{value:"node ("+tl(x.type+(k?"<"+k+">":""))+")"})),C;function C(){let g=[],E,_,F;if((!t||s(l,c,d[d.length-1]||null))&&(g=h0(i(l,d)),g[0]===Ss))return g;if(l.children&&g[0]!==rl)for(_=(r?l.children.length:-1)+a,F=d.concat(l);_>-1&&_<l.children.length;){if(E=o(l.children[_],_,F)(),E[0]===Ss)return E;_=typeof E[1]=="number"?E[1]:_+a}return g}}};function h0(e){return Array.isArray(e)?e:typeof e=="number"?[il,e]:[e]}var Li=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null),nl(e,t,s,r);function s(a,o){let l=o[o.length-1];return i(a,l?l.children.indexOf(a):null,l)}};h();p();var er=sl("start"),tr=sl("end");function al(e){return{start:er(e),end:tr(e)}}function sl(e){return t;function t(i){var r=i&&i.position&&i.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}h();p();function ol(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}h();p();h();p();h();p();h();p();function ul(e){return e}var ll=!0,cl="skip",_s=!1,hl=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null);var s=$i(t),a=r?-1:1;o(e,null,[])();function o(l,c,d){var x=typeof l=="object"&&l!==null?l:{},k;return typeof x.type=="string"&&(k=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0,Object.defineProperty(C,"name",{value:"node ("+ul(x.type+(k?"<"+k+">":""))+")"})),C;function C(){var g=[],E,_,F;if((!t||s(l,c,d[d.length-1]||null))&&(g=p0(i(l,d)),g[0]===_s))return g;if(l.children&&g[0]!==cl)for(_=(r?l.children.length:-1)+a,F=d.concat(l);_>-1&&_<l.children.length;){if(E=o(l.children[_],_,F)(),E[0]===_s)return E;_=typeof E[1]=="number"?E[1]:_+a}return g}}};function p0(e){return Array.isArray(e)?e:typeof e=="number"?[ll,e]:[e]}var pl=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null),hl(e,t,s,r);function s(a,o){var l=o[o.length-1];return i(a,l?l.children.indexOf(a):null,l)}};var fl={}.hasOwnProperty;function dl(e){let t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return pl(e,"definition",i),r;function i(s){let a=ml(s.identifier);a&&!fl.call(t,a)&&(t[a]=s)}function r(s){let a=ml(s);return a&&fl.call(t,a)?t[a]:null}}function ml(e){return String(e||"").toUpperCase()}h();p();h();p();h();p();var f0={'"':"quot","&":"amp","<":"lt",">":"gt"};function xl(e){return e.replace(/["&<>]/g,t);function t(i){return"&"+f0[i]+";"}}function Gr(e,t){let i=xl(m0(e||""));if(!t)return i;let r=i.indexOf(":"),s=i.indexOf("?"),a=i.indexOf("#"),o=i.indexOf("/");return r<0||o>-1&&r>o||s>-1&&r>s||a>-1&&r>a||t.test(i.slice(0,r))?i:""}function m0(e){let t=[],i=-1,r=0,s=0;for(;++i<e.length;){let a=e.charCodeAt(i),o="";if(a===37&&Oe(e.charCodeAt(i+1))&&Oe(e.charCodeAt(i+2)))s=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let l=e.charCodeAt(i+1);a<56320&&l>56319&&l<57344?(o=String.fromCharCode(a,l),s=1):o="\uFFFD"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,i),encodeURIComponent(o)),r=i+s+1,o=""),s&&(i+=s,s=0)}return t.join("")+e.slice(r)}h();p();function it(e,t){let i=[],r=-1;for(t&&i.push(xe("text",`
|
|
31
|
+
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&s)continue;o=" ";break}default:o=String.fromCharCode(a)}s=a===-2,r.push(o)}return r.join("")}var Cs={};xa(Cs,{attentionMarkers:()=>t0,contentInitial:()=>Ym,disable:()=>i0,document:()=>Gm,flow:()=>Km,flowInitial:()=>Qm,insideSpan:()=>e0,string:()=>Zm,text:()=>$m});h();p();var Gm={[42]:Je,[43]:Je,[45]:Je,[48]:Je,[49]:Je,[50]:Je,[51]:Je,[52]:Je,[53]:Je,[54]:Je,[55]:Je,[56]:Je,[57]:Je,[62]:Rr},Ym={[91]:os},Qm={[-2]:Zi,[-1]:Zi,[32]:Zi},Km={[35]:ls,[42]:li,[45]:[qr,li],[60]:hs,[61]:qr,[95]:li,[96]:jr,[126]:jr},Zm={[38]:Vr,[92]:Or},$m={[-5]:$i,[-4]:$i,[-3]:$i,[33]:fs,[38]:Vr,[42]:Ki,[60]:[ns,ps],[91]:ms,[92]:[us,Or],[93]:ui,[95]:Ki,[96]:ss},e0={null:[Ki,Hu]},t0={null:[42,95]},i0={null:[]};function Ku(e={}){let t=Lr([Cs].concat(e.extensions||[])),i={defined:[],lazy:{},constructs:t,content:r(Uu),document:r(zu),flow:r(qu),string:r(Gu),text:r(Yu)};return i;function r(s){return a;function a(o){return Qu(i,s,o)}}}h();p();var Zu=/[\0\t\n\r]/g;function $u(){let e=1,t="",i=!0,r;return s;function s(a,o,l){let c=[],m,x,w,A,g;for(a=t+a.toString(o),w=0,t="",i&&(a.charCodeAt(0)===65279&&w++,i=void 0);w<a.length;){if(Zu.lastIndex=w,m=Zu.exec(a),A=m&&m.index!==void 0?m.index:a.length,g=a.charCodeAt(A),!m){t=a.slice(w);break}if(g===10&&w===A&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),w<A&&(c.push(a.slice(w,A)),e+=A-w),g){case 0:{c.push(65533),e++;break}case 9:{for(x=Math.ceil(e/4)*4,c.push(-2);e++<x;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}w=A+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}h();p();function el(e){for(;!Mr(e););return e}h();p();function Hr(e,t){let i=Number.parseInt(e,t);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)==65535||(i&65535)==65534||i>1114111?"\uFFFD":String.fromCharCode(i)}h();p();var r0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tl(e){return e.replace(r0,n0)}function n0(e,t,i){if(t)return t;if(i.charCodeAt(0)===35){let s=i.charCodeAt(1),a=s===120||s===88;return Hr(i.slice(a?2:1),a?16:10)}return Jt(i)||e}var As={}.hasOwnProperty,Ss=function(e,t,i){return typeof t!="string"&&(i=t,t=void 0),s0(i)(el(Ku(i).document().write($u()(e,t,!0))))};function s0(e={}){let t=il({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Gt),autolinkProtocol:Y,autolinkEmail:Y,atxHeading:c(Wt),blockQuote:c(Ne),characterEscape:Y,characterReference:Y,codeFenced:c(At),codeFencedFenceInfo:m,codeFencedFenceMeta:m,codeIndented:c(At,m),codeText:c(Ke,m),codeTextData:Y,data:Y,codeFlowValue:Y,definition:c(di),definitionDestinationString:m,definitionLabelString:m,definitionTitleString:m,emphasis:c(xi),hardBreakEscape:c(ve),hardBreakTrailing:c(ve),htmlFlow:c(st,m),htmlFlowData:Y,htmlText:c(st,m),htmlTextData:Y,image:c(Le),label:m,link:c(Gt),listItem:c(ie),listItemValue:S,listOrdered:c(St,E),listUnordered:c(St),paragraph:c(_t),reference:xt,referenceString:m,resourceDestinationString:m,resourceTitleString:m,setextHeading:c(Wt),strong:c(Ce),thematicBreak:c(Nt)},exit:{atxHeading:w(),atxHeadingSequence:M,autolink:w(),autolinkEmail:ut,autolinkProtocol:He,blockQuote:w(),characterEscapeValue:q,characterReferenceMarkerHexadecimal:Te,characterReferenceMarkerNumeric:Te,characterReferenceValue:Ct,codeFenced:w(L),codeFencedFence:V,codeFencedFenceInfo:T,codeFencedFenceMeta:_,codeFlowValue:q,codeIndented:w(d),codeText:w(be),codeTextData:q,data:q,definition:w(),definitionDestinationString:D,definitionLabelString:U,definitionTitleString:C,emphasis:w(),hardBreakEscape:w(ye),hardBreakTrailing:w(ye),htmlFlow:w(ke),htmlFlowData:q,htmlText:w(ae),htmlTextData:q,image:w(_e),label:P,labelText:B,lineEnding:se,link:w(Se),listItem:w(),listOrdered:w(),listUnordered:w(),paragraph:w(),referenceString:Xe,resourceDestinationString:nt,resourceTitleString:qe,resource:dt,setextHeading:w(G),setextHeadingLineSequence:W,setextHeadingText:j,strong:w(),thematicBreak:w()}},e.mdastExtensions||[]),i={};return r;function r(R){let k={type:"root",children:[]},K=[k],H=[],Ze=[],It={stack:K,tokenStack:H,config:t,enter:x,exit:A,buffer:m,resume:g,setData:a,getData:o},pe=-1;for(;++pe<R.length;)if(R[pe][1].type==="listOrdered"||R[pe][1].type==="listUnordered")if(R[pe][0]==="enter")Ze.push(pe);else{let De=Ze.pop();pe=s(R,De,pe)}for(pe=-1;++pe<R.length;){let De=t[R[pe][0]];As.call(De,R[pe][1].type)&&De[R[pe][1].type].call(Object.assign({sliceSerialize:R[pe][2].sliceSerialize},It),R[pe][1])}if(H.length>0){let De=H[H.length-1];(De[1]||rl).call(It,void 0,De[0])}for(k.position={start:l(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:l(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},pe=-1;++pe<t.transforms.length;)k=t.transforms[pe](k)||k;return k}function s(R,k,K){let H=k-1,Ze=-1,It=!1,pe,De,gt,Ft;for(;++H<=K;){let Ie=R[H];if(Ie[1].type==="listUnordered"||Ie[1].type==="listOrdered"||Ie[1].type==="blockQuote"?(Ie[0]==="enter"?Ze++:Ze--,Ft=void 0):Ie[1].type==="lineEndingBlank"?Ie[0]==="enter"&&(pe&&!Ft&&!Ze&&!gt&&(gt=H),Ft=void 0):Ie[1].type==="linePrefix"||Ie[1].type==="listItemValue"||Ie[1].type==="listItemMarker"||Ie[1].type==="listItemPrefix"||Ie[1].type==="listItemPrefixWhitespace"||(Ft=void 0),!Ze&&Ie[0]==="enter"&&Ie[1].type==="listItemPrefix"||Ze===-1&&Ie[0]==="exit"&&(Ie[1].type==="listUnordered"||Ie[1].type==="listOrdered")){if(pe){let Ue=H;for(De=void 0;Ue--;){let de=R[Ue];if(de[1].type==="lineEnding"||de[1].type==="lineEndingBlank"){if(de[0]==="exit")continue;De&&(R[De][1].type="lineEndingBlank",It=!0),de[1].type="lineEnding",De=Ue}else if(!(de[1].type==="linePrefix"||de[1].type==="blockQuotePrefix"||de[1].type==="blockQuotePrefixWhitespace"||de[1].type==="blockQuoteMarker"||de[1].type==="listItemIndent"))break}gt&&(!De||gt<De)&&(pe._spread=!0),pe.end=Object.assign({},De?R[De][1].start:Ie[1].end),R.splice(De||H,0,["exit",pe,Ie[2]]),H++,K++}Ie[1].type==="listItemPrefix"&&(pe={type:"listItem",_spread:!1,start:Object.assign({},Ie[1].start)},R.splice(H,0,["enter",pe,Ie[2]]),H++,K++,gt=void 0,Ft=!0)}}return R[k][1]._spread=It,K}function a(R,k){i[R]=k}function o(R){return i[R]}function l(R){return{line:R.line,column:R.column,offset:R.offset}}function c(R,k){return K;function K(H){x.call(this,R(H),H),k&&k.call(this,H)}}function m(){this.stack.push({type:"fragment",children:[]})}function x(R,k,K){return this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([k,K]),R.position={start:l(k.start)},R}function w(R){return k;function k(K){R&&R.call(this,K),A.call(this,K)}}function A(R,k){let K=this.stack.pop(),H=this.tokenStack.pop();if(H)H[0].type!==R.type&&(k?k.call(this,R,H[0]):(H[1]||rl).call(this,R,H[0]));else throw new Error("Cannot close `"+R.type+"` ("+Ve({start:R.start,end:R.end})+"): it\u2019s not open");return K.position.end=l(R.end),K}function g(){return ju(this.stack.pop())}function E(){a("expectingFirstListItemValue",!0)}function S(R){if(o("expectingFirstListItemValue")){let k=this.stack[this.stack.length-2];k.start=Number.parseInt(this.sliceSerialize(R),10),a("expectingFirstListItemValue")}}function T(){let R=this.resume(),k=this.stack[this.stack.length-1];k.lang=R}function _(){let R=this.resume(),k=this.stack[this.stack.length-1];k.meta=R}function V(){o("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function L(){let R=this.resume(),k=this.stack[this.stack.length-1];k.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function d(){let R=this.resume(),k=this.stack[this.stack.length-1];k.value=R.replace(/(\r?\n|\r)$/g,"")}function U(R){let k=this.resume(),K=this.stack[this.stack.length-1];K.label=k,K.identifier=qt(this.sliceSerialize(R)).toLowerCase()}function C(){let R=this.resume(),k=this.stack[this.stack.length-1];k.title=R}function D(){let R=this.resume(),k=this.stack[this.stack.length-1];k.url=R}function M(R){let k=this.stack[this.stack.length-1];if(!k.depth){let K=this.sliceSerialize(R).length;k.depth=K}}function j(){a("setextHeadingSlurpLineEnding",!0)}function W(R){let k=this.stack[this.stack.length-1];k.depth=this.sliceSerialize(R).charCodeAt(0)===61?1:2}function G(){a("setextHeadingSlurpLineEnding")}function Y(R){let k=this.stack[this.stack.length-1],K=k.children[k.children.length-1];(!K||K.type!=="text")&&(K=gi(),K.position={start:l(R.start)},k.children.push(K)),this.stack.push(K)}function q(R){let k=this.stack.pop();k.value+=this.sliceSerialize(R),k.position.end=l(R.end)}function se(R){let k=this.stack[this.stack.length-1];if(o("atHardBreak")){let K=k.children[k.children.length-1];K.position.end=l(R.end),a("atHardBreak");return}!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(k.type)&&(Y.call(this,R),q.call(this,R))}function ye(){a("atHardBreak",!0)}function ke(){let R=this.resume(),k=this.stack[this.stack.length-1];k.value=R}function ae(){let R=this.resume(),k=this.stack[this.stack.length-1];k.value=R}function be(){let R=this.resume(),k=this.stack[this.stack.length-1];k.value=R}function Se(){let R=this.stack[this.stack.length-1];o("inReference")?(R.type+="Reference",R.referenceType=o("referenceType")||"shortcut",delete R.url,delete R.title):(delete R.identifier,delete R.label),a("referenceType")}function _e(){let R=this.stack[this.stack.length-1];o("inReference")?(R.type+="Reference",R.referenceType=o("referenceType")||"shortcut",delete R.url,delete R.title):(delete R.identifier,delete R.label),a("referenceType")}function B(R){let k=this.stack[this.stack.length-2],K=this.sliceSerialize(R);k.label=tl(K),k.identifier=qt(K).toLowerCase()}function P(){let R=this.stack[this.stack.length-1],k=this.resume(),K=this.stack[this.stack.length-1];a("inReference",!0),K.type==="link"?K.children=R.children:K.alt=k}function nt(){let R=this.resume(),k=this.stack[this.stack.length-1];k.url=R}function qe(){let R=this.resume(),k=this.stack[this.stack.length-1];k.title=R}function dt(){a("inReference")}function xt(){a("referenceType","collapsed")}function Xe(R){let k=this.resume(),K=this.stack[this.stack.length-1];K.label=k,K.identifier=qt(this.sliceSerialize(R)).toLowerCase(),a("referenceType","full")}function Te(R){a("characterReferenceType",R.type)}function Ct(R){let k=this.sliceSerialize(R),K=o("characterReferenceType"),H;K?(H=Hr(k,K==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):H=Jt(k);let Ze=this.stack.pop();Ze.value+=H,Ze.position.end=l(R.end)}function He(R){q.call(this,R);let k=this.stack[this.stack.length-1];k.url=this.sliceSerialize(R)}function ut(R){q.call(this,R);let k=this.stack[this.stack.length-1];k.url="mailto:"+this.sliceSerialize(R)}function Ne(){return{type:"blockquote",children:[]}}function At(){return{type:"code",lang:null,meta:null,value:""}}function Ke(){return{type:"inlineCode",value:""}}function di(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function xi(){return{type:"emphasis",children:[]}}function Wt(){return{type:"heading",depth:void 0,children:[]}}function ve(){return{type:"break"}}function st(){return{type:"html",value:""}}function Le(){return{type:"image",title:null,url:"",alt:null}}function Gt(){return{type:"link",title:null,url:"",children:[]}}function St(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function ie(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function _t(){return{type:"paragraph",children:[]}}function Ce(){return{type:"strong",children:[]}}function gi(){return{type:"text",value:""}}function Nt(){return{type:"thematicBreak"}}}function il(e,t){let i=-1;for(;++i<t.length;){let r=t[i];Array.isArray(r)?il(e,r):a0(e,r)}return e}function a0(e,t){let i;for(i in t)if(As.call(t,i)){let r=i==="canContainEols"||i==="transforms",a=(As.call(e,i)?e[i]:void 0)||(e[i]=r?[]:{}),o=t[i];o&&(r?e[i]=[...a,...o]:Object.assign(a,o))}}function rl(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ve({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is still open")}function _s(e){Object.assign(this,{Parser:i=>{let r=this.data("settings");return Ss(i,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var nl=_s;h();p();h();p();h();p();h();p();var xe=function(e,t,i){var r={type:String(e)};return i==null&&(typeof t=="string"||Array.isArray(t))?i=t:Object.assign(r,t),Array.isArray(i)?r.children=i:i!=null&&(r.value=String(i)),r};var Wr={}.hasOwnProperty;function o0(e,t){let i=t.data||{};return"value"in t&&!(Wr.call(i,"hName")||Wr.call(i,"hProperties")||Wr.call(i,"hChildren"))?e.augment(t,xe("text",t.value)):e(t,"div",ge(e,t))}function Is(e,t,i){let r=t&&t.type,s;if(!r)throw new Error("Expected node, got `"+t+"`");return Wr.call(e.handlers,r)?s=e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?s=u0:s=e.unknownHandler,(typeof s=="function"?s:o0)(e,t,i)}function u0(e,t){return"children"in t?{...t,children:ge(e,t)}:t}function ge(e,t){let i=[];if("children"in t){let r=t.children,s=-1;for(;++s<r.length;){let a=Is(e,r[s],t);if(a){if(s&&r[s-1].type==="break"&&(!Array.isArray(a)&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,"")),!Array.isArray(a)&&a.type==="element")){let o=a.children[0];o&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,""))}Array.isArray(a)?i.push(...a):i.push(a)}}}return i}h();p();h();p();h();p();h();p();var er=function(e){if(e==null)return p0;if(typeof e=="string")return h0(e);if(typeof e=="object")return Array.isArray(e)?l0(e):c0(e);if(typeof e=="function")return Gr(e);throw new Error("Expected function, string, or object as test")};function l0(e){let t=[],i=-1;for(;++i<e.length;)t[i]=er(e[i]);return Gr(r);function r(...s){let a=-1;for(;++a<t.length;)if(t[a].call(this,...s))return!0;return!1}}function c0(e){return Gr(t);function t(i){let r;for(r in e)if(i[r]!==e[r])return!1;return!0}}function h0(e){return Gr(t);function t(i){return i&&i.type===e}}function Gr(e){return t;function t(...i){return Boolean(e.call(this,...i))}}function p0(){return!0}h();p();function sl(e){return e}var al=!0,ol="skip",Fs=!1,ul=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null);let s=er(t),a=r?-1:1;o(e,null,[])();function o(l,c,m){let x=typeof l=="object"&&l!==null?l:{},w;return typeof x.type=="string"&&(w=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0,Object.defineProperty(A,"name",{value:"node ("+sl(x.type+(w?"<"+w+">":""))+")"})),A;function A(){let g=[],E,S,T;if((!t||s(l,c,m[m.length-1]||null))&&(g=f0(i(l,m)),g[0]===Fs))return g;if(l.children&&g[0]!==ol)for(S=(r?l.children.length:-1)+a,T=m.concat(l);S>-1&&S<l.children.length;){if(E=o(l.children[S],S,T)(),E[0]===Fs)return E;S=typeof E[1]=="number"?E[1]:S+a}return g}}};function f0(e){return Array.isArray(e)?e:typeof e=="number"?[al,e]:[e]}var Li=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null),ul(e,t,s,r);function s(a,o){let l=o[o.length-1];return i(a,l?l.children.indexOf(a):null,l)}};h();p();var tr=ll("start"),ir=ll("end");function cl(e){return{start:tr(e),end:ir(e)}}function ll(e){return t;function t(i){var r=i&&i.position&&i.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}h();p();function hl(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}h();p();h();p();h();p();h();p();function pl(e){return e}var fl=!0,ml="skip",Ts=!1,dl=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null);var s=er(t),a=r?-1:1;o(e,null,[])();function o(l,c,m){var x=typeof l=="object"&&l!==null?l:{},w;return typeof x.type=="string"&&(w=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0,Object.defineProperty(A,"name",{value:"node ("+pl(x.type+(w?"<"+w+">":""))+")"})),A;function A(){var g=[],E,S,T;if((!t||s(l,c,m[m.length-1]||null))&&(g=m0(i(l,m)),g[0]===Ts))return g;if(l.children&&g[0]!==ml)for(S=(r?l.children.length:-1)+a,T=m.concat(l);S>-1&&S<l.children.length;){if(E=o(l.children[S],S,T)(),E[0]===Ts)return E;S=typeof E[1]=="number"?E[1]:S+a}return g}}};function m0(e){return Array.isArray(e)?e:typeof e=="number"?[fl,e]:[e]}var xl=function(e,t,i,r){typeof t=="function"&&typeof i!="function"&&(r=i,i=t,t=null),dl(e,t,s,r);function s(a,o){var l=o[o.length-1];return i(a,l?l.children.indexOf(a):null,l)}};var gl={}.hasOwnProperty;function bl(e){let t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return xl(e,"definition",i),r;function i(s){let a=yl(s.identifier);a&&!gl.call(t,a)&&(t[a]=s)}function r(s){let a=yl(s);return a&&gl.call(t,a)?t[a]:null}}function yl(e){return String(e||"").toUpperCase()}h();p();h();p();h();p();var d0={'"':"quot","&":"amp","<":"lt",">":"gt"};function vl(e){return e.replace(/["&<>]/g,t);function t(i){return"&"+d0[i]+";"}}function Yr(e,t){let i=vl(x0(e||""));if(!t)return i;let r=i.indexOf(":"),s=i.indexOf("?"),a=i.indexOf("#"),o=i.indexOf("/");return r<0||o>-1&&r>o||s>-1&&r>s||a>-1&&r>a||t.test(i.slice(0,r))?i:""}function x0(e){let t=[],i=-1,r=0,s=0;for(;++i<e.length;){let a=e.charCodeAt(i),o="";if(a===37&&Oe(e.charCodeAt(i+1))&&Oe(e.charCodeAt(i+2)))s=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let l=e.charCodeAt(i+1);a<56320&&l>56319&&l<57344?(o=String.fromCharCode(a,l),s=1):o="\uFFFD"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,i),encodeURIComponent(o)),r=i+s+1,o=""),s&&(i+=s,s=0)}return t.join("")+e.slice(r)}h();p();function it(e,t){let i=[],r=-1;for(t&&i.push(xe("text",`
|
|
32
32
|
`));++r<e.length;)r&&i.push(xe("text",`
|
|
33
33
|
`)),i.push(e[r]);return t&&e.length>0&&i.push(xe("text",`
|
|
34
|
-
`)),i}function
|
|
34
|
+
`)),i}function wl(e){let t=-1,i=[];for(;++t<e.footnoteOrder.length;){let r=e.footnoteById[e.footnoteOrder[t].toUpperCase()];if(!r)continue;let s=ge(e,r),a=String(r.identifier),o=Yr(a.toLowerCase()),l=0,c=[];for(;++l<=e.footnoteCounts[a];){let w={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};l>1&&w.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),c.length>0&&c.push({type:"text",value:" "}),c.push(w)}let m=s[s.length-1];if(m&&m.type==="element"&&m.tagName==="p"){let w=m.children[m.children.length-1];w&&w.type==="text"?w.value+=" ":m.children.push({type:"text",value:" "}),m.children.push(...c)}else s.push(...c);let x={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:it(s,!0)};r.position&&(x.position=r.position),i.push(x)}return i.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[xe("text",e.footnoteLabel)]},{type:"text",value:`
|
|
35
35
|
`},{type:"element",tagName:"ol",properties:{},children:it(i,!0)},{type:"text",value:`
|
|
36
|
-
`}]}}h();p();h();p();function
|
|
37
|
-
`)]}h();p();function
|
|
38
|
-
`:"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),s={};r&&(s.className=["language-"+r]);let a=e(t,"code",s,[xe("text",i)]);return t.meta&&(a.data={meta:t.meta}),e(t.position,"pre",[a])}h();p();function
|
|
39
|
-
`)),
|
|
40
|
-
`)),e(t,"li",a,o)}function
|
|
41
|
-
`),s),Array.isArray(r)?{type:"root",children:r}:r}h();p();var
|
|
36
|
+
`}]}}h();p();h();p();function kl(e,t){return e(t,"blockquote",it(ge(e,t),!0))}h();p();function El(e,t){return[e(t,"br"),xe("text",`
|
|
37
|
+
`)]}h();p();function Cl(e,t){let i=t.value?t.value+`
|
|
38
|
+
`:"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),s={};r&&(s.className=["language-"+r]);let a=e(t,"code",s,[xe("text",i)]);return t.meta&&(a.data={meta:t.meta}),e(t.position,"pre",[a])}h();p();function Al(e,t){return e(t,"del",ge(e,t))}h();p();function Sl(e,t){return e(t,"em",ge(e,t))}h();p();function Qr(e,t){let i=String(t.identifier),r=Yr(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),a;s===-1?(e.footnoteOrder.push(i),e.footnoteCounts[i]=1,a=e.footnoteOrder.length):(e.footnoteCounts[i]++,a=s+1);let o=e.footnoteCounts[i];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[xe("text",String(a))])])}h();p();function _l(e,t){let i=e.footnoteById,r=1;for(;r in i;)r++;let s=String(r);return i[s]={type:"footnoteDefinition",identifier:s,children:[{type:"paragraph",children:t.children}],position:t.position},Qr(e,{type:"footnoteReference",identifier:s,position:t.position})}h();p();function Il(e,t){return e(t,"h"+t.depth,ge(e,t))}h();p();function Fl(e,t){return e.dangerous?e.augment(t,xe("raw",t.value)):null}h();p();var Bl=Tt(rr());h();p();function Zr(e,t){let i=t.referenceType,r="]";if(i==="collapsed"?r+="[]":i==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return xe("text","!["+t.alt+r);let s=ge(e,t),a=s[0];a&&a.type==="text"?a.value="["+a.value:s.unshift(xe("text","["));let o=s[s.length-1];return o&&o.type==="text"?o.value+=r:s.push(xe("text",r)),s}function Ll(e,t){let i=e.definition(t.identifier);if(!i)return Zr(e,t);let r={src:(0,Bl.default)(i.url||""),alt:t.alt};return i.title!==null&&i.title!==void 0&&(r.title=i.title),e(t,"img",r)}h();p();var Dl=Tt(rr());function Nl(e,t){let i={src:(0,Dl.default)(t.url),alt:t.alt};return t.title!==null&&t.title!==void 0&&(i.title=t.title),e(t,"img",i)}h();p();function Rl(e,t){return e(t,"code",[xe("text",t.value.replace(/\r?\n|\r/g," "))])}h();p();var Ol=Tt(rr());function Vl(e,t){let i=e.definition(t.identifier);if(!i)return Zr(e,t);let r={href:(0,Ol.default)(i.url||"")};return i.title!==null&&i.title!==void 0&&(r.title=i.title),e(t,"a",r,ge(e,t))}h();p();var jl=Tt(rr());function Ml(e,t){let i={href:(0,jl.default)(t.url)};return t.title!==null&&t.title!==void 0&&(i.title=t.title),e(t,"a",i,ge(e,t))}h();p();function zl(e,t,i){let r=ge(e,t),s=i?y0(i):Ul(t),a={},o=[];if(typeof t.checked=="boolean"){let m;r[0]&&r[0].type==="element"&&r[0].tagName==="p"?m=r[0]:(m=e(null,"p",[]),r.unshift(m)),m.children.length>0&&m.children.unshift(xe("text"," ")),m.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),a.className=["task-list-item"]}let l=-1;for(;++l<r.length;){let m=r[l];(s||l!==0||m.type!=="element"||m.tagName!=="p")&&o.push(xe("text",`
|
|
39
|
+
`)),m.type==="element"&&m.tagName==="p"&&!s?o.push(...m.children):o.push(m)}let c=r[r.length-1];return c&&(s||!("tagName"in c)||c.tagName!=="p")&&o.push(xe("text",`
|
|
40
|
+
`)),e(t,"li",a,o)}function y0(e){let t=e.spread,i=e.children,r=-1;for(;!t&&++r<i.length;)t=Ul(i[r]);return Boolean(t)}function Ul(e){let t=e.spread;return t??e.children.length>1}h();p();function Jl(e,t){let i={},r=t.ordered?"ol":"ul",s=ge(e,t),a=-1;for(typeof t.start=="number"&&t.start!==1&&(i.start=t.start);++a<s.length;){let o=s[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}return e(t,r,i,it(s,!0))}h();p();function ql(e,t){return e(t,"p",ge(e,t))}h();p();function Xl(e,t){return e.augment(t,xe("root",it(ge(e,t))))}h();p();function Hl(e,t){return e(t,"strong",ge(e,t))}h();p();function Wl(e,t){let i=t.children,r=-1,s=t.align||[],a=[];for(;++r<i.length;){let o=i[r].children,l=r===0?"th":"td",c=[],m=-1,x=t.align?s.length:o.length;for(;++m<x;){let w=o[m];c.push(e(w,l,{align:s[m]},w?ge(e,w):[]))}a[r]=e(i[r],"tr",it(c,!0))}return e(t,"table",it([e(a[0].position,"thead",it([a[0]],!0))].concat(a[1]?e({start:tr(a[1]),end:ir(a[a.length-1])},"tbody",it(a.slice(1),!0)):[]),!0))}h();p();function Gl(e,t){return e.augment(t,xe("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))}h();p();function Yl(e,t){return e(t,"hr")}var Ps={blockquote:kl,break:El,code:Cl,delete:Al,emphasis:Sl,footnoteReference:Qr,footnote:_l,heading:Il,html:Fl,imageReference:Ll,image:Nl,inlineCode:Rl,linkReference:Vl,link:Ml,listItem:zl,list:Jl,paragraph:ql,root:Xl,strong:Hl,table:Wl,text:Gl,thematicBreak:Yl,toml:$r,yaml:$r,definition:$r,footnoteDefinition:$r};function $r(){return null}var b0={}.hasOwnProperty;function v0(e,t){let i=t||{},r=i.allowDangerousHtml||!1,s={};return o.dangerous=r,o.clobberPrefix=i.clobberPrefix===void 0||i.clobberPrefix===null?"user-content-":i.clobberPrefix,o.footnoteLabel=i.footnoteLabel||"Footnotes",o.footnoteBackLabel=i.footnoteBackLabel||"Back to content",o.definition=bl(e),o.footnoteById=s,o.footnoteOrder=[],o.footnoteCounts={},o.augment=a,o.handlers={...Ps,...i.handlers},o.unknownHandler=i.unknownHandler,o.passThrough=i.passThrough,Li(e,"footnoteDefinition",l=>{let c=String(l.identifier).toUpperCase();b0.call(s,c)||(s[c]=l)}),o;function a(l,c){if(l&&"data"in l&&l.data){let m=l.data;m.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=m.hName),c.type==="element"&&m.hProperties&&(c.properties={...c.properties,...m.hProperties}),"children"in c&&c.children&&m.hChildren&&(c.children=m.hChildren)}if(l){let m="type"in l?l:{position:l};hl(m)||(c.position={start:tr(m),end:ir(m)})}return c}function o(l,c,m,x){return Array.isArray(m)&&(x=m,m={}),a(l,{type:"element",tagName:c,properties:m||{},children:x||[]})}}function en(e,t){let i=v0(e,t),r=Is(i,e,null),s=wl(i);return s&&r.children.push(xe("text",`
|
|
41
|
+
`),s),Array.isArray(r)?{type:"root",children:r}:r}h();p();var E0=function(e,t){return e&&"run"in e?w0(e,t):k0(e||t)},Bs=E0;function w0(e,t){return(i,r,s)=>{e.run(en(i,t),r,a=>{s(a)})}}function k0(e){return t=>en(t,e)}h();p();h();p();h();p();h();p();h();p();var tn=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,i,r,s){t&&(r!==null?t[i][r]=s:t[i]=s)}remove(t,i,r){t&&(r!==null?t[i].splice(r,1):delete t[i])}};var Ls=class extends tn{constructor(t,i){super();this.enter=t,this.leave=i}visit(t,i,r,s){if(t){if(this.enter){let a=this.should_skip,o=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let c=this.should_skip,m=this.should_remove;if(this.should_skip=a,this.should_remove=o,this.replacement=l,c)return t;if(m)return null}for(let a in t){let o=t[a];if(typeof o=="object")if(Array.isArray(o))for(let l=0;l<o.length;l+=1)o[l]!==null&&typeof o[l].type=="string"&&(this.visit(o[l],t,a,l)||l--);else o!==null&&typeof o.type=="string"&&this.visit(o,t,a,null)}if(this.leave){let a=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let l=this.should_remove;if(this.replacement=a,this.should_remove=o,l)return null}}return t}};h();p();function Ql(e,{enter:t,leave:i}){return new Ls(t,i).visit(e,null)}var Kl=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function Zl(e,t={}){var i=t.runtime==="automatic",r={},s={};return Ql(e,{enter:a,leave:o}),e;function a(l){var c,m,x;if(l.type==="Program"){for(c=l.comments||[],m=-1;++m<c.length;)for(Kl.lastIndex=0;x=Kl.exec(c[m].value);)r[x[1]]=x[2];if(r.jsxRuntime)if(r.jsxRuntime==="automatic"){if(i=!0,r.jsx)throw new Error("Unexpected `@jsx` pragma w/ automatic runtime");if(r.jsxFrag)throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if(r.jsxRuntime==="classic"){if(i=!1,r.jsxImportSource)throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw new Error("Unexpected `jsxRuntime` `"+r.jsxRuntime+"`, expected `automatic` or `classic`")}}function o(l){var c=[],m=[],x=[],w=[],A=-1,g,E,S,T,_,V,L,d,U,C,D;if(l.type==="Program"&&(U=[],s.fragment&&U.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),s.jsx&&U.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),s.jsxs&&U.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),U.length>0&&l.body.unshift({type:"ImportDeclaration",specifiers:U,source:{type:"Literal",value:(r.jsxImportSource||t.importSource||"react")+"/jsx-runtime"}})),!(l.type!=="JSXElement"&&l.type!=="JSXFragment")){for(;++A<l.children.length;)g=l.children[A],g.type==="JSXExpressionContainer"?g.expression.type!=="JSXEmptyExpression"&&m.push(g.expression):g.type==="JSXText"?(D=g.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,`
|
|
42
42
|
`).replace(/\n+/g,`
|
|
43
|
-
`).replace(/\n+$/,"").replace(/\n/g," "),O&&d.push(rr(g,{type:"Literal",value:O}))):d.push(g);if(l.type==="JSXElement")for(E=tn(l.openingElement.name),E.type==="Identifier"&&/^[a-z]/.test(E.name)&&(E=rr(E,{type:"Literal",value:E.name})),F=l.openingElement.attributes,C=-1;++C<F.length;)if(T=F[C],T.type==="JSXSpreadAttribute")k.length>0&&(x.push({type:"ObjectExpression",properties:k}),k=[]),x.push(T.argument),N=!0;else if(A=k0(T),i&&A.key.type==="Identifier"&&A.key.name==="key"){if(N)throw new Error("Expected `key` to come before any spread expressions");L=A.value}else k.push(A);else i?(s.fragment=!0,E={type:"Identifier",name:"_Fragment"}):E=Ps(r.jsxFrag||t.pragmaFrag||"React.Fragment");i&&d.length>0?k.push({type:"Property",key:{type:"Identifier",name:"children"},value:d.length>1?{type:"ArrayExpression",elements:d}:d[0],kind:"init",method:!1,shorthand:!1,computed:!1}):c=d,k.length>0&&x.push({type:"ObjectExpression",properties:k}),x.length>1?(x[0].type!=="ObjectExpression"&&x.unshift({type:"ObjectExpression",properties:[]}),_={type:"CallExpression",callee:Ps("Object.assign"),arguments:x,optional:!1}):x.length>0&&(_=x[0]),i?(d.length>1?(s.jsxs=!0,f={type:"Identifier",name:"_jsxs"}):(s.jsx=!0,f={type:"Identifier",name:"_jsx"}),c.push(_||{type:"ObjectExpression",properties:[]}),L&&c.push(L)):((_||c.length>0)&&c.unshift(_||{type:"Literal",value:null}),f=Ps(r.jsx||t.pragma||"React.createElement")),c.unshift(E),this.replace(rr(l,{type:"CallExpression",callee:f,arguments:c,optional:!1}))}}}function k0(e){var t;return e.value?e.value.type==="JSXExpressionContainer"?t=e.value.expression:(t=e.value,delete t.raw):t={type:"Literal",value:!0},rr(e,{type:"Property",key:tn(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1})}function tn(e){var t,i;return e.type==="JSXMemberExpression"?(i=tn(e.property),t={type:"MemberExpression",object:tn(e.object),property:i,computed:i.type==="Literal",optional:!1}):e.type==="JSXNamespacedName"?t={type:"Literal",value:e.namespace.name+":"+e.name.name}:t=Zt(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name},rr(e,t)}function Ps(e){for(var t=e.split("."),i=-1,r,s;++i<t.length;)s=Zt(t[i])?{type:"Identifier",name:t[i]}:{type:"Literal",value:t[i]},r=i?{type:"MemberExpression",object:r,property:s,computed:i&&s.type==="Literal",optional:!1}:s;return r}function rr(e,t){for(var i=["start","end","loc","range","comments"],r=-1,s;++r<i.length;)s=i[r],s in e&&(t[s]=e[s]);return t}h();p();h();p();function qt(e,t){let i=["start","end","loc","range","comments"],r=-1;for(;++r<i.length;){let s=i[r];s in e&&(t[s]=e[s])}return t}function Di(e,t){let i=-1,r=[],s=[],a;for(;++i<e.length;){let o=e[i];o.type==="ImportNamespaceSpecifier"?a=o:s.push(o)}return a&&r.push(qt(a,{type:"VariableDeclarator",id:a.local,init:t})),r.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:s.map(o=>{let l=o.type==="ImportSpecifier"?o.imported:o.type==="ExportSpecifier"?o.exported:{type:"Identifier",name:"default"},c=o.local;return o.type==="ExportSpecifier"&&(c=l,l=o.local),qt(o,{type:"Property",kind:"init",shorthand:l.name===c.name,method:!1,computed:!1,key:l,value:c})})},init:a?{type:"Identifier",name:a.local.name}:t}),r}h();p();var hi=Yl("Identifier","MemberExpression",Zt),Bs=Yl("JSXIdentifier","JSXMemberExpression",E0);function Yl(e,t,i){return r;function r(s){let a=-1,o;for(;++a<s.length;){let l=s[a],c=typeof l=="string"&&i(l);if(e==="JSXIdentifier"&&!c)throw new Error("Cannot turn `"+l+"` into a JSX identifier");let d=c?{type:e,name:l}:{type:"Literal",value:l};o=o?{type:t,object:o,property:d,computed:d.type==="Literal",optional:!1}:d}if(!o)throw new Error("Expected non-empty `ids` to be passed");if(o.type==="Literal")throw new Error("Expected identifier as left-most value");return o}}function E0(e){let t=-1;for(;++t<e.length;)if(!(t?C0:je)(e.charCodeAt(t)))return!1;return t>0}function C0(e){return e===45||kt(e)}function Ql(e={}){let{outputFormat:t}=e;return i=>{Gl(i),t==="function-body"&&i.body[0]&&i.body[0].type==="ImportDeclaration"&&typeof i.body[0].source.value=="string"&&/\/jsx-runtime$/.test(i.body[0].source.value)&&(i.body[0]={type:"VariableDeclaration",kind:"const",declarations:Di(i.body[0].specifiers,hi(["arguments",0]))})}}h();p();h();p();h();p();h();p();h();p();var rn=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,i,r,s){t&&(r!==null?t[i][r]=s:t[i]=s)}remove(t,i,r){t&&(r!==null?t[i].splice(r,1):delete t[i])}};var Ls=class extends rn{constructor(t,i){super();this.enter=t,this.leave=i}visit(t,i,r,s){if(t){if(this.enter){let a=this.should_skip,o=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let c=this.should_skip,d=this.should_remove;if(this.should_skip=a,this.should_remove=o,this.replacement=l,c)return t;if(d)return null}for(let a in t){let o=t[a];if(typeof o=="object")if(Array.isArray(o))for(let l=0;l<o.length;l+=1)o[l]!==null&&typeof o[l].type=="string"&&(this.visit(o[l],t,a,l)||l--);else o!==null&&typeof o.type=="string"&&this.visit(o,t,a,null)}if(this.leave){let a=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let l=this.should_remove;if(this.replacement=a,this.should_remove=o,l)return null}}return t}};h();p();function Kl(e,{enter:t,leave:i}){return new Ls(t,i).visit(e,null)}h();p();function nn(e,t){if(e.type==="MemberExpression")return!e.computed&&nn(e.object,e);if(e.type==="Identifier"){if(!t)return!0;switch(t.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"PropertyDefinition":return t.computed||e===t.value;case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function sn(e){let t=new WeakMap,i=new Map,r=new pi(null,!1),s=[],a=r;Kl(e,{enter(o,l){switch(o.type){case"Identifier":nn(o,l)&&s.push([a,o]);break;case"ImportDeclaration":o.specifiers.forEach(c=>{a.declarations.set(c.local.name,c)});break;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":o.type==="FunctionDeclaration"?(o.id&&a.declarations.set(o.id.name,o),t.set(o,a=new pi(a,!1))):(t.set(o,a=new pi(a,!1)),o.type==="FunctionExpression"&&o.id&&a.declarations.set(o.id.name,o)),o.params.forEach(c=>{Ds(c).forEach(d=>{a.declarations.set(d,o)})});break;case"ForStatement":case"ForInStatement":case"ForOfStatement":t.set(o,a=new pi(a,!0));break;case"BlockStatement":t.set(o,a=new pi(a,!0));break;case"ClassDeclaration":case"VariableDeclaration":a.add_declaration(o);break;case"CatchClause":t.set(o,a=new pi(a,!0)),o.param&&Ds(o.param).forEach(c=>{a.declarations.set(c,o.param)});break}},leave(o){t.has(o)&&(a=a.parent)}});for(let o=s.length-1;o>=0;--o){let[l,c]=s[o];l.references.has(c.name)||Zl(l,c.name),l.find_owner(c.name)||i.set(c.name,c)}return{map:t,scope:r,globals:i}}function Zl(e,t){e.references.add(t),e.parent&&Zl(e.parent,t)}var pi=class{constructor(t,i){this.parent=t,this.block=i,this.declarations=new Map,this.initialised_declarations=new Set,this.references=new Set}add_declaration(t){if(t.type==="VariableDeclaration")if(t.kind==="var"&&this.block&&this.parent)this.parent.add_declaration(t);else{let i=r=>{Ds(r.id).forEach(s=>{this.declarations.set(s,t),r.init&&this.initialised_declarations.add(s)})};t.declarations.forEach(i)}else t.id&&this.declarations.set(t.id.name,t)}find_owner(t){return this.declarations.has(t)?this:this.parent&&this.parent.find_owner(t)}has(t){return this.declarations.has(t)||!!this.parent&&this.parent.has(t)}};function Ds(e){return Ni(e).map(t=>t.name)}function Ni(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let i=e;for(;i.type==="MemberExpression";)i=i.object;t.push(i);break;case"ObjectPattern":let r=a=>{a.type==="RestElement"?Ni(a.argument,t):Ni(a.value,t)};e.properties.forEach(r);break;case"ArrayPattern":let s=a=>{a&&Ni(a,t)};e.elements.forEach(s);break;case"RestElement":Ni(e.argument,t);break;case"AssignmentPattern":Ni(e.left,t);break}return t}h();p();function $l(e){if(e.type==="FunctionDeclaration")return{...e,type:"FunctionExpression"};if(e.type==="ClassDeclaration")return{...e,type:"ClassExpression"};throw new Error("Cannot turn `"+e.type+"` into an expression")}h();p();function ec(e){let t=e&&typeof e=="object"&&e.type;return Boolean(t==="FunctionDeclaration"||t==="ClassDeclaration"||t==="VariableDeclaration")}function tc(e={}){let{baseUrl:t,useDynamicImport:i,outputFormat:r="program",pragma:s="React.createElement",pragmaFrag:a="React.Fragment",pragmaImportSource:o="react",jsxImportSource:l="react",jsxRuntime:c="automatic"}=e;return(x,k)=>{let C=[],g=[],E=[],_=0,F,T,N;if(x.comments||(x.comments=[]),c&&E.push("@jsxRuntime "+c),c==="automatic"&&l&&E.push("@jsxImportSource "+l),c==="classic"&&s&&E.push("@jsx "+s),c==="classic"&&a&&E.push("@jsxFrag "+a),E.length>0&&x.comments.unshift({type:"Block",value:E.join(" ")}),c==="classic"&&o){if(!s)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");f({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:s.split(".")[0]}}],source:{type:"Literal",value:o}})}for(N of x.body)if(N.type==="ExportDefaultDeclaration")F&&k.fail("Cannot specify multiple layouts (previous: "+Ve(tt(F))+")",tt(N),"recma-document:duplicate-layout"),F=N,g.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:ec(N.declaration)?$l(N.declaration):N.declaration}]});else if(N.type==="ExportNamedDeclaration"&&N.source){let V=N.source;N.specifiers=N.specifiers.filter(A=>A.exported.name==="default"?(F&&k.fail("Cannot specify multiple layouts (previous: "+Ve(tt(F))+")",tt(N),"recma-document:duplicate-layout"),F=A,f(qt(A,{type:"ImportDeclaration",specifiers:[A.local.name==="default"?{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}}:qt(A.local,{type:"ImportSpecifier",imported:A.local,local:{type:"Identifier",name:"MDXLayout"}})],source:qt(V,{type:"Literal",value:V.value})})),!1):!0),N.specifiers.length>0&&L(N)}else N.type==="ExportNamedDeclaration"||N.type==="ExportAllDeclaration"?L(N):N.type==="ImportDeclaration"?f(N):N.type==="ExpressionStatement"&&(N.expression.type==="JSXFragment"||N.expression.type==="JSXElement")?(T=!0,g.push(d(N.expression))):g.push(N);T||g.push(d()),C.push(["MDXContent","default"]),r==="function-body"?g.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:_}).map((V,A)=>({type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(A+1)}})),...C.map(V=>({type:"Property",kind:"init",method:!1,computed:!1,shorthand:typeof V=="string",key:{type:"Identifier",name:typeof V=="string"?V:V[1]},value:{type:"Identifier",name:typeof V=="string"?V:V[0]}}))]}}):g.push({type:"ExportDefaultDeclaration",declaration:{type:"Identifier",name:"MDXContent"}}),x.body=g;function L(V){if(V.type==="ExportNamedDeclaration"){V.declaration&&C.push(...sn(V.declaration).scope.declarations.keys());for(N of V.specifiers)C.push(N.exported.name)}f(V)}function f(V){if(t&&V.source){let j=String(V.source.value);try{j=String(new URL(j))}catch{/^\.{0,2}\//.test(j)&&(j=String(new URL(j,t)))}V.source=qt(V.source,{type:"Literal",value:j})}let A,O;if(r==="function-body")if(V.type==="ImportDeclaration"||V.type==="ExportAllDeclaration"||V.type==="ExportNamedDeclaration"&&V.source){if(i||k.fail("Cannot use `import` or `export \u2026 from` in `evaluate` (outputting a function body) by default: please set `useDynamicImport: true` (and probably specify a `baseUrl`)",tt(V),"recma-document:invalid-esm-statement"),!V.source)throw new Error("Expected `node.source` to be defined");O={type:"AwaitExpression",argument:qt(V,{type:"ImportExpression",source:V.source})},(V.type==="ImportDeclaration"||V.type==="ExportNamedDeclaration")&&V.specifiers.length===0?A={type:"ExpressionStatement",expression:O}:A={type:"VariableDeclaration",kind:"const",declarations:V.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++_},init:O}]:Di(V.specifiers,O)}}else if(V.declaration)A=V.declaration;else{let j=V.specifiers.filter(U=>U.local.name!==U.exported.name).map(U=>({type:"VariableDeclarator",id:U.exported,init:U.local}));j.length>0&&(A={type:"VariableDeclaration",kind:"const",declarations:j})}else A=V;A&&g.push(A)}};function d(x){let C={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[],selfClosing:!0},closingElement:null,children:[]}]},g=x||{type:"Literal",value:null};return g&&g.type==="JSXFragment"&&g.children.length===1&&g.children[0].type==="JSXElement"&&(g=g.children[0]),{type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:{type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:C,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[],optional:!1}}},{type:"FunctionDeclaration",id:{type:"Identifier",name:"_createMdxContent"},params:[],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:g}]}}]}}}}h();p();h();p();h();p();h();p();var an=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,i,r,s){t&&(r!==null?t[i][r]=s:t[i]=s)}remove(t,i,r){t&&(r!==null?t[i].splice(r,1):delete t[i])}};var Ns=class extends an{constructor(t,i){super();this.enter=t,this.leave=i}visit(t,i,r,s){if(t){if(this.enter){let a=this.should_skip,o=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let c=this.should_skip,d=this.should_remove;if(this.should_skip=a,this.should_remove=o,this.replacement=l,c)return t;if(d)return null}for(let a in t){let o=t[a];if(typeof o=="object")if(Array.isArray(o))for(let l=0;l<o.length;l+=1)o[l]!==null&&typeof o[l].type=="string"&&(this.visit(o[l],t,a,l)||l--);else o!==null&&typeof o.type=="string"&&this.visit(o,t,a,null)}if(this.leave){let a=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let l=this.should_remove;if(this.replacement=a,this.should_remove=o,l)return null}}return t}};h();p();function ic(e,{enter:t,leave:i}){return new Ns(t,i).visit(e,null)}h();p();function Rs(e){let t=-1,i;for(;++t<e.length;){let r=e[t];i=i?{type:"BinaryExpression",left:i,operator:"+",right:r}:r}if(!i)throw new Error("Expected non-empty `expressions` to be passed");return i}var on={}.hasOwnProperty;function nc(e={}){let{development:t,providerImportSource:i,outputFormat:r}=e;return(s,a)=>{let o=sn(s),l=[],c,d,x;if(ic(s,{enter(k){let C=k;(C.type==="FunctionDeclaration"||C.type==="FunctionExpression"||C.type==="ArrowFunctionExpression")&&l.push({objects:[],components:[],tags:[],references:{},node:C});let g=l[0];if(!g||!un(g.node,"MDXContent")&&!i)return;l[1]&&un(l[1].node,"_createMdxContent")&&(g=l[1]);let E=o.map.get(C);if(E&&(E.node=C,x=E),x&&C.type==="JSXElement"){let _=C.openingElement.name;if(_.type==="JSXMemberExpression"){let F=[];for(;_.type==="JSXMemberExpression";)F.unshift(_.property.name),_=_.object;F.unshift(_.name);let T=F.join("."),N=_.name;on.call(g.references,T)||(g.references[T]={node:C,component:!0}),!g.objects.includes(N)&&!rc(x,N)&&g.objects.push(N)}else if(_.type!=="JSXNamespacedName"){if(Zt(_.name)&&!/^[a-z]/.test(_.name)){let F=_.name;rc(x,F)||(F!=="MDXLayout"&&!on.call(g.references,F)&&(g.references[F]={node:C,component:!0}),g.components.includes(F)||g.components.push(F))}else if(!(C.data&&C.data._mdxExplicitJsx)){let F=_.name;g.tags.includes(F)||g.tags.push(F),C.openingElement.name=Bs(["_components",F]),C.closingElement&&(C.closingElement.name=Bs(["_components",F]))}}}},leave(k){let C=[],g=[],E=[],_=[];if(x&&x.node===k&&(x=x.parent),k.type==="FunctionDeclaration"||k.type==="FunctionExpression"||k.type==="ArrowFunctionExpression"){let F=k,T=l[l.length-1],N;for(N of T.tags)C.push({type:"Property",kind:"init",key:Zt(N)?{type:"Identifier",name:N}:{type:"Literal",value:N},value:{type:"Literal",value:N},method:!1,shorthand:!1,computed:!1});g.push(...T.components);for(N of T.objects)g.includes(N)||g.push(N);let L;for(L in T.references)if(on.call(T.references,L)){let f=L.split("."),V=0;for(;++V<f.length;){let A=f.slice(0,V).join(".");on.call(T.references,A)||(T.references[A]={node:T.references[L].node,component:!1})}}if(C.length>0||g.length>0){i&&(c=!0,E.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(un(T.node,"MDXContent")||un(T.node,"_createMdxContent"))&&E.push(hi(["props","components"])),(C.length>0||E.length>1)&&E.unshift({type:"ObjectExpression",properties:C});let f=E.length>1?{type:"CallExpression",callee:hi(["Object","assign"]),arguments:E,optional:!1}:E[0].type==="MemberExpression"?{type:"LogicalExpression",operator:"||",left:E[0],right:{type:"ObjectExpression",properties:[]}}:E[0],V;g.length>0&&(V={type:"ObjectPattern",properties:g.map(U=>({type:"Property",kind:"init",key:{type:"Identifier",name:U==="MDXLayout"?"wrapper":U},value:{type:"Identifier",name:U},method:!1,shorthand:U!=="MDXLayout",computed:!1}))}),T.tags.length>0&&(_.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:f}),f={type:"Identifier",name:"_components"}),V&&_.push({type:"VariableDeclarator",id:V,init:f}),F.body.type!=="BlockStatement"&&(F.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:F.body}]});let A=[{type:"VariableDeclaration",kind:"const",declarations:_}],O=Object.keys(T.references).sort(),j=-1;for(;++j<O.length;){let U=O[j],ee=T.references[U],G=Ve(tt(ee.node)),W=[{type:"Literal",value:U},{type:"Literal",value:ee.component}];d=!0,t&&G!=="1:1-1:1"&&W.push({type:"Literal",value:G}),A.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:hi(U.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:W,optional:!1}},alternate:null})}F.body.body.unshift(...A)}l.pop()}}}),c&&i&&s.body.unshift(A0(i,r)),d){let k=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],C=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(k.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:Rs([{type:"Literal",value:"\nIt\u2019s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(a.path?"` in `"+a.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),C.push({type:"Identifier",name:"place"})),s.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:C,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[Rs(k)]}}]}})}}}function A0(e,t){let i=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return t==="function-body"?{type:"VariableDeclaration",kind:"const",declarations:Di(i,hi(["arguments",0]))}:{type:"ImportDeclaration",specifiers:i,source:{type:"Literal",value:e}}}function un(e,t){return Boolean(e&&"id"in e&&e.id&&e.id.name===t)}function rc(e,t){let i=e;for(;i;){if(i.declarations.has(t))return!0;i=i.parent}return!1}h();p();h();p();var{stringify:S0}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var ln={"||":3,"&&":4,"|":5,"??":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Et=17,_0={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:Et,ClassExpression:Et,FunctionExpression:Et,ObjectExpression:Et,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Ri(e,t){let{generator:i}=e;if(e.write("("),t!=null&&t.length>0){i[t[0].type](t[0],e);let{length:r}=t;for(let s=1;s<r;s++){let a=t[s];e.write(", "),i[a.type](a,e)}}e.write(")")}function sc(e,t,i,r){let s=e.expressionsPrecedence[t.type];if(s===Et)return!0;let a=e.expressionsPrecedence[i.type];return s!==a?!r&&s===15&&a===14&&i.operator==="**"||s<a:s!==13&&s!==14?!1:t.operator==="**"&&i.operator==="**"?!r:r?ln[t.operator]<=ln[i.operator]:ln[t.operator]<ln[i.operator]}function cn(e,t,i,r){let{generator:s}=e;sc(e,t,i,r)?(e.write("("),s[t.type](t,e),e.write(")")):s[t.type](t,e)}function I0(e,t,i,r){let s=t.split(`
|
|
43
|
+
`).replace(/\n+$/,"").replace(/\n/g," "),D&&m.push(nr(g,{type:"Literal",value:D}))):m.push(g);if(l.type==="JSXElement")for(E=rn(l.openingElement.name),E.type==="Identifier"&&/^[a-z]/.test(E.name)&&(E=nr(E,{type:"Literal",value:E.name})),T=l.openingElement.attributes,A=-1;++A<T.length;)if(_=T[A],_.type==="JSXSpreadAttribute")w.length>0&&(x.push({type:"ObjectExpression",properties:w}),w=[]),x.push(_.argument),V=!0;else if(C=C0(_),i&&C.key.type==="Identifier"&&C.key.name==="key"){if(V)throw new Error("Expected `key` to come before any spread expressions");L=C.value}else w.push(C);else i?(s.fragment=!0,E={type:"Identifier",name:"_Fragment"}):E=Ds(r.jsxFrag||t.pragmaFrag||"React.Fragment");i&&m.length>0?w.push({type:"Property",key:{type:"Identifier",name:"children"},value:m.length>1?{type:"ArrayExpression",elements:m}:m[0],kind:"init",method:!1,shorthand:!1,computed:!1}):c=m,w.length>0&&x.push({type:"ObjectExpression",properties:w}),x.length>1?(x[0].type!=="ObjectExpression"&&x.unshift({type:"ObjectExpression",properties:[]}),S={type:"CallExpression",callee:Ds("Object.assign"),arguments:x,optional:!1}):x.length>0&&(S=x[0]),i?(m.length>1?(s.jsxs=!0,d={type:"Identifier",name:"_jsxs"}):(s.jsx=!0,d={type:"Identifier",name:"_jsx"}),c.push(S||{type:"ObjectExpression",properties:[]}),L&&c.push(L)):((S||c.length>0)&&c.unshift(S||{type:"Literal",value:null}),d=Ds(r.jsx||t.pragma||"React.createElement")),c.unshift(E),this.replace(nr(l,{type:"CallExpression",callee:d,arguments:c,optional:!1}))}}}function C0(e){var t;return e.value?e.value.type==="JSXExpressionContainer"?t=e.value.expression:(t=e.value,delete t.raw):t={type:"Literal",value:!0},nr(e,{type:"Property",key:rn(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1})}function rn(e){var t,i;return e.type==="JSXMemberExpression"?(i=rn(e.property),t={type:"MemberExpression",object:rn(e.object),property:i,computed:i.type==="Literal",optional:!1}):e.type==="JSXNamespacedName"?t={type:"Literal",value:e.namespace.name+":"+e.name.name}:t=zt(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name},nr(e,t)}function Ds(e){for(var t=e.split("."),i=-1,r,s;++i<t.length;)s=zt(t[i])?{type:"Identifier",name:t[i]}:{type:"Literal",value:t[i]},r=i?{type:"MemberExpression",object:r,property:s,computed:i&&s.type==="Literal",optional:!1}:s;return r}function nr(e,t){for(var i=["start","end","loc","range","comments"],r=-1,s;++r<i.length;)s=i[r],s in e&&(t[s]=e[s]);return t}h();p();h();p();function Xt(e,t){let i=["start","end","loc","range","comments"],r=-1;for(;++r<i.length;){let s=i[r];s in e&&(t[s]=e[s])}}function Di(e,t){let i=-1,r=[],s=[],a;for(;++i<e.length;){let o=e[i];o.type==="ImportNamespaceSpecifier"?a=o:s.push(o)}if(a){let o={type:"VariableDeclarator",id:a.local,init:t};Xt(a,o),r.push(o)}return r.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:s.map(o=>{let l=o.type==="ImportSpecifier"?o.imported:o.type==="ExportSpecifier"?o.exported:{type:"Identifier",name:"default"},c=o.local;o.type==="ExportSpecifier"&&(c=l,l=o.local);let m={type:"Property",kind:"init",shorthand:l.name===c.name,method:!1,computed:!1,key:l,value:c};return Xt(o,m),m})},init:a?{type:"Identifier",name:a.local.name}:t}),r}h();p();var hi=$l("Identifier","MemberExpression",zt),Ns=$l("JSXIdentifier","JSXMemberExpression",A0);function $l(e,t,i){return r;function r(s){let a=-1,o;for(;++a<s.length;){let l=s[a],c=typeof l=="string"&&i(l);if(e==="JSXIdentifier"&&!c)throw new Error("Cannot turn `"+l+"` into a JSX identifier");let m=c?{type:e,name:l}:{type:"Literal",value:l};o=o?{type:t,object:o,property:m,computed:m.type==="Literal",optional:!1}:m}if(!o)throw new Error("Expected non-empty `ids` to be passed");if(o.type==="Literal")throw new Error("Expected identifier as left-most value");return o}}function A0(e){let t=-1;for(;++t<e.length;)if(!(t?S0:Me)(e.charCodeAt(t)))return!1;return t>0}function S0(e){return e===45||kt(e)}function ec(e){let{development:t,outputFormat:i}=e||{};return(r,s)=>{Zl(r,{development:t,filePath:s.history[0]}),i==="function-body"&&r.body[0]&&r.body[0].type==="ImportDeclaration"&&typeof r.body[0].source.value=="string"&&/\/jsx-(dev-)?runtime$/.test(r.body[0].source.value)&&(r.body[0]={type:"VariableDeclaration",kind:"const",declarations:Di(r.body[0].specifiers,hi(["arguments",0]))})}}h();p();h();p();h();p();h();p();h();p();var nn=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,i,r,s){t&&(r!==null?t[i][r]=s:t[i]=s)}remove(t,i,r){t&&(r!==null?t[i].splice(r,1):delete t[i])}};var Rs=class extends nn{constructor(t,i){super();this.enter=t,this.leave=i}visit(t,i,r,s){if(t){if(this.enter){let a=this.should_skip,o=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let c=this.should_skip,m=this.should_remove;if(this.should_skip=a,this.should_remove=o,this.replacement=l,c)return t;if(m)return null}for(let a in t){let o=t[a];if(typeof o=="object")if(Array.isArray(o))for(let l=0;l<o.length;l+=1)o[l]!==null&&typeof o[l].type=="string"&&(this.visit(o[l],t,a,l)||l--);else o!==null&&typeof o.type=="string"&&this.visit(o,t,a,null)}if(this.leave){let a=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let l=this.should_remove;if(this.replacement=a,this.should_remove=o,l)return null}}return t}};h();p();function tc(e,{enter:t,leave:i}){return new Rs(t,i).visit(e,null)}h();p();function sn(e,t){if(e.type==="MemberExpression")return!e.computed&&sn(e.object,e);if(e.type==="Identifier"){if(!t)return!0;switch(t.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"PropertyDefinition":return t.computed||e===t.value;case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function an(e){let t=new WeakMap,i=new Map,r=new pi(null,!1),s=[],a=r;tc(e,{enter(o,l){switch(o.type){case"Identifier":sn(o,l)&&s.push([a,o]);break;case"ImportDeclaration":o.specifiers.forEach(c=>{a.declarations.set(c.local.name,c)});break;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":o.type==="FunctionDeclaration"?(o.id&&a.declarations.set(o.id.name,o),t.set(o,a=new pi(a,!1))):(t.set(o,a=new pi(a,!1)),o.type==="FunctionExpression"&&o.id&&a.declarations.set(o.id.name,o)),o.params.forEach(c=>{Os(c).forEach(m=>{a.declarations.set(m,o)})});break;case"ForStatement":case"ForInStatement":case"ForOfStatement":t.set(o,a=new pi(a,!0));break;case"BlockStatement":t.set(o,a=new pi(a,!0));break;case"ClassDeclaration":case"VariableDeclaration":a.add_declaration(o);break;case"CatchClause":t.set(o,a=new pi(a,!0)),o.param&&Os(o.param).forEach(c=>{a.declarations.set(c,o.param)});break}},leave(o){t.has(o)&&(a=a.parent)}});for(let o=s.length-1;o>=0;--o){let[l,c]=s[o];l.references.has(c.name)||ic(l,c.name),l.find_owner(c.name)||i.set(c.name,c)}return{map:t,scope:r,globals:i}}function ic(e,t){e.references.add(t),e.parent&&ic(e.parent,t)}var pi=class{constructor(t,i){this.parent=t,this.block=i,this.declarations=new Map,this.initialised_declarations=new Set,this.references=new Set}add_declaration(t){if(t.type==="VariableDeclaration")if(t.kind==="var"&&this.block&&this.parent)this.parent.add_declaration(t);else{let i=r=>{Os(r.id).forEach(s=>{this.declarations.set(s,t),r.init&&this.initialised_declarations.add(s)})};t.declarations.forEach(i)}else t.id&&this.declarations.set(t.id.name,t)}find_owner(t){return this.declarations.has(t)?this:this.parent&&this.parent.find_owner(t)}has(t){return this.declarations.has(t)||!!this.parent&&this.parent.has(t)}};function Os(e){return Ni(e).map(t=>t.name)}function Ni(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let i=e;for(;i.type==="MemberExpression";)i=i.object;t.push(i);break;case"ObjectPattern":let r=a=>{a.type==="RestElement"?Ni(a.argument,t):Ni(a.value,t)};e.properties.forEach(r);break;case"ArrayPattern":let s=a=>{a&&Ni(a,t)};e.elements.forEach(s);break;case"RestElement":Ni(e.argument,t);break;case"AssignmentPattern":Ni(e.left,t);break}return t}h();p();h();p();h();p();var on=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,i,r,s){t&&(r!==null?t[i][r]=s:t[i]=s)}remove(t,i,r){t&&(r!==null?t[i].splice(r,1):delete t[i])}};var Vs=class extends on{constructor(t,i){super();this.enter=t,this.leave=i}visit(t,i,r,s){if(t){if(this.enter){let a=this.should_skip,o=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let c=this.should_skip,m=this.should_remove;if(this.should_skip=a,this.should_remove=o,this.replacement=l,c)return t;if(m)return null}for(let a in t){let o=t[a];if(typeof o=="object")if(Array.isArray(o))for(let l=0;l<o.length;l+=1)o[l]!==null&&typeof o[l].type=="string"&&(this.visit(o[l],t,a,l)||l--);else o!==null&&typeof o.type=="string"&&this.visit(o,t,a,null)}if(this.leave){let a=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,i,r,s),this.replacement&&(t=this.replacement,this.replace(i,r,s,t)),this.should_remove&&this.remove(i,r,s);let l=this.should_remove;if(this.replacement=a,this.should_remove=o,l)return null}}return t}};h();p();function un(e,{enter:t,leave:i}){return new Vs(t,i).visit(e,null)}h();p();function rc(e){if(e.type==="FunctionDeclaration")return{...e,type:"FunctionExpression"};if(e.type==="ClassDeclaration")return{...e,type:"ClassExpression"};throw new Error("Cannot turn `"+e.type+"` into an expression")}h();p();function nc(e){return Boolean(e.type==="FunctionDeclaration"||e.type==="ClassDeclaration"||e.type==="VariableDeclaration")}function sc(e){let t=e||{},i=t.baseUrl||void 0,r=t.useDynamicImport||void 0,s=t.outputFormat||"program",a=t.pragma===void 0?"React.createElement":t.pragma,o=t.pragmaFrag===void 0?"React.Fragment":t.pragmaFrag,l=t.pragmaImportSource||"react",c=t.jsxImportSource||"react",m=t.jsxRuntime||"automatic";return(w,A)=>{let g=[],E=[],S=[],T=0,_,V,L;if(w.comments||(w.comments=[]),m&&S.push("@jsxRuntime "+m),m==="automatic"&&c&&S.push("@jsxImportSource "+c),m==="classic"&&a&&S.push("@jsx "+a),m==="classic"&&o&&S.push("@jsxFrag "+o),S.length>0&&w.comments.unshift({type:"Block",value:S.join(" ")}),m==="classic"&&l){if(!a)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");U({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:a.split(".")[0]}}],source:{type:"Literal",value:l}})}for(L of w.body)if(L.type==="ExportDefaultDeclaration")_&&A.fail("Cannot specify multiple layouts (previous: "+Ve(tt(_))+")",tt(L),"recma-document:duplicate-layout"),_=L,E.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:nc(L.declaration)?rc(L.declaration):L.declaration}]});else if(L.type==="ExportNamedDeclaration"&&L.source){let C=L.source;L.specifiers=L.specifiers.filter(D=>{if(D.exported.name==="default"){_&&A.fail("Cannot specify multiple layouts (previous: "+Ve(tt(_))+")",tt(L),"recma-document:duplicate-layout"),_=D;let M=[];if(D.local.name==="default")M.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{let G={type:"ImportSpecifier",imported:D.local,local:{type:"Identifier",name:"MDXLayout"}};Xt(D.local,G),M.push(G)}let j={type:"Literal",value:C.value};Xt(C,j);let W={type:"ImportDeclaration",specifiers:M,source:j};return Xt(D,W),U(W),!1}return!0}),L.specifiers.length>0&&d(L)}else L.type==="ExportNamedDeclaration"||L.type==="ExportAllDeclaration"?d(L):L.type==="ImportDeclaration"?U(L):L.type==="ExpressionStatement"&&(L.expression.type==="JSXFragment"||L.expression.type==="JSXElement")?(V=!0,E.push(...x(L.expression,Boolean(_)))):E.push(L);V||E.push(...x(void 0,Boolean(_))),g.push(["MDXContent","default"]),s==="function-body"?E.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:T}).map((C,D)=>({type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(D+1)}})),...g.map(C=>({type:"Property",kind:"init",method:!1,computed:!1,shorthand:typeof C=="string",key:{type:"Identifier",name:typeof C=="string"?C:C[1]},value:{type:"Identifier",name:typeof C=="string"?C:C[0]}}))]}}):E.push({type:"ExportDefaultDeclaration",declaration:{type:"Identifier",name:"MDXContent"}}),w.body=E,i&&un(w,{enter(C){if(C.type==="MemberExpression"&&"object"in C&&C.object.type==="MetaProperty"&&C.property.type==="Identifier"&&C.object.meta.name==="import"&&C.object.property.name==="meta"&&C.property.name==="url"){let D={type:"Literal",value:i};this.replace(D)}}});function d(C){if(C.type==="ExportNamedDeclaration"){C.declaration&&g.push(...an(C.declaration).scope.declarations.keys());for(L of C.specifiers)g.push(L.exported.name)}U(C)}function U(C){if(i&&C.source){let j=String(C.source.value);try{j=String(new URL(j))}catch{/^\.{0,2}\//.test(j)&&(j=String(new URL(j,i)))}let W={type:"Literal",value:j};Xt(C.source,W),C.source=W}let D,M;if(s==="function-body")if(C.type==="ImportDeclaration"||C.type==="ExportAllDeclaration"||C.type==="ExportNamedDeclaration"&&C.source){if(r||A.fail("Cannot use `import` or `export \u2026 from` in `evaluate` (outputting a function body) by default: please set `useDynamicImport: true` (and probably specify a `baseUrl`)",tt(C),"recma-document:invalid-esm-statement"),!C.source)throw new Error("Expected `node.source` to be defined");let j={type:"ImportExpression",source:C.source};Xt(C,j),M={type:"AwaitExpression",argument:j},(C.type==="ImportDeclaration"||C.type==="ExportNamedDeclaration")&&C.specifiers.length===0?D={type:"ExpressionStatement",expression:M}:D={type:"VariableDeclaration",kind:"const",declarations:C.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++T},init:M}]:Di(C.specifiers,M)}}else if(C.declaration)D=C.declaration;else{let j=C.specifiers.filter(W=>W.local.name!==W.exported.name).map(W=>({type:"VariableDeclarator",id:W.exported,init:W.local}));j.length>0&&(D={type:"VariableDeclaration",kind:"const",declarations:j})}else D=C;D&&E.push(D)}};function x(w,A){let E={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};A||(E={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:E,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let S=w||{type:"Literal",value:null};return S&&S.type==="JSXFragment"&&S.children.length===1&&S.children[0].type==="JSXElement"&&(S=S.children[0]),[{type:"FunctionDeclaration",id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:S}]}},{type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:E}]}}]}}h();p();h();p();function js(e){let t=-1,i;for(;++t<e.length;){let r=e[t];i=i?{type:"BinaryExpression",left:i,operator:"+",right:r}:r}if(!i)throw new Error("Expected non-empty `expressions` to be passed");return i}var ln={}.hasOwnProperty;function ac(e){let{development:t,providerImportSource:i,outputFormat:r}=e||{};return(s,a)=>{let o=an(s),l=[],c=!1,m=!1,x;if(un(s,{enter(w){let A=o.map.get(w);(w.type==="FunctionDeclaration"||w.type==="FunctionExpression"||w.type==="ArrowFunctionExpression")&&(l.push({objects:[],components:[],tags:[],references:{},idToInvalidComponentName:new Map,node:w}),Ri(w,"MDXContent")&&A&&!Ms(A,"MDXLayout")&&l[0].components.push("MDXLayout"));let g=l[0];if(!(!g||!Ri(g.node,"_createMdxContent")&&!i)&&(A&&(A.node=w,x=A),x&&w.type==="JSXElement")){let E=w.openingElement.name;if(E.type==="JSXMemberExpression"){let S=[];for(;E.type==="JSXMemberExpression";)S.unshift(E.property.name),E=E.object;S.unshift(E.name);let T=S.join("."),_=E.name,V=Ms(x,_);if(!ln.call(g.references,T)){let L=x.parent;(!V||L&&L.node.type==="FunctionDeclaration"&&Ri(L.node,"_createMdxContent"))&&(g.references[T]={node:w,component:!0})}!g.objects.includes(_)&&!V&&g.objects.push(_)}else if(E.type!=="JSXNamespacedName"){if(zt(E.name)&&!/^[a-z]/.test(E.name)){let S=E.name;Ms(x,S)||(S!=="MDXLayout"&&!ln.call(g.references,S)&&(g.references[S]={node:w,component:!0}),g.components.includes(S)||g.components.push(S))}else if(!(w.data&&w.data._mdxExplicitJsx)){let S=E.name;g.tags.includes(S)||g.tags.push(S);let T=["_components",S];if(zt(S)===!1){let _=g.idToInvalidComponentName.get(S);_===void 0&&(_=`_component${g.idToInvalidComponentName.size}`,g.idToInvalidComponentName.set(S,_)),T=[_]}w.openingElement.name=Ns(T),w.closingElement&&(w.closingElement.name=Ns(T))}}}},leave(w){let A=[],g=[],E=[],S=[];if(x&&x.node===w&&(x=x.parent),w.type==="FunctionDeclaration"||w.type==="FunctionExpression"||w.type==="ArrowFunctionExpression"){let T=w,_=l[l.length-1],V;for(V of _.tags)A.push({type:"Property",kind:"init",key:zt(V)?{type:"Identifier",name:V}:{type:"Literal",value:V},value:{type:"Literal",value:V},method:!1,shorthand:!1,computed:!1});g.push(..._.components);for(V of _.objects)g.includes(V)||g.push(V);let L=[];if(A.length>0||g.length>0||_.idToInvalidComponentName.size>0){i&&(c=!0,E.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(Ri(_.node,"MDXContent")||Ri(_.node,"_createMdxContent"))&&E.push(hi(["props","components"])),(A.length>0||E.length>1)&&E.unshift({type:"ObjectExpression",properties:A});let D=E.length>1?{type:"CallExpression",callee:hi(["Object","assign"]),arguments:E,optional:!1}:E[0].type==="MemberExpression"?{type:"LogicalExpression",operator:"||",left:E[0],right:{type:"ObjectExpression",properties:[]}}:E[0],M;if(g.length>0&&(M={type:"ObjectPattern",properties:g.map(j=>({type:"Property",kind:"init",key:{type:"Identifier",name:j==="MDXLayout"?"wrapper":j},value:{type:"Identifier",name:j},method:!1,shorthand:j!=="MDXLayout",computed:!1}))}),_.tags.length>0&&(S.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:D}),D={type:"Identifier",name:"_components"}),Ri(_.node,"_createMdxContent"))for(let[j,W]of _.idToInvalidComponentName)S.push({type:"VariableDeclarator",id:{type:"Identifier",name:W},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:j},computed:!0,optional:!1}});M&&S.push({type:"VariableDeclarator",id:M,init:D}),S.length>0&&L.push({type:"VariableDeclaration",kind:"const",declarations:S})}let d;for(d in _.references)if(ln.call(_.references,d)){let D=d.split("."),M=0;for(;++M<D.length;){let j=D.slice(0,M).join(".");ln.call(_.references,j)||(_.references[j]={node:_.references[d].node,component:!1})}}let U=Object.keys(_.references).sort(),C=-1;for(;++C<U.length;){let D=U[C],M=_.references[D],j=Ve(tt(M.node)),W=[{type:"Literal",value:D},{type:"Literal",value:M.component}];m=!0,t&&j!=="1:1-1:1"&&W.push({type:"Literal",value:j}),L.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:hi(D.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:W,optional:!1}},alternate:null})}L.length>0&&(T.body.type!=="BlockStatement"&&(T.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:T.body}]}),T.body.body.unshift(...L)),l.pop()}}}),c&&i&&s.body.unshift(_0(i,r)),m){let w=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],A=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(w.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:js([{type:"Literal",value:"\nIt\u2019s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(a.path?"` in `"+a.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),A.push({type:"Identifier",name:"place"})),s.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:A,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[js(w)]}}]}})}}}function _0(e,t){let i=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return t==="function-body"?{type:"VariableDeclaration",kind:"const",declarations:Di(i,hi(["arguments",0]))}:{type:"ImportDeclaration",specifiers:i,source:{type:"Literal",value:e}}}function Ri(e,t){return Boolean(e&&"id"in e&&e.id&&e.id.name===t)}function Ms(e,t){let i=e;for(;i;){if(i.declarations.has(t))return!0;i=i.parent}return!1}h();p();h();p();h();p();h();p();var{stringify:I0}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var cn={"||":3,"&&":4,"|":5,"??":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Et=17,F0={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:Et,ClassExpression:Et,FunctionExpression:Et,ObjectExpression:Et,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Oi(e,t){let{generator:i}=e;if(e.write("("),t!=null&&t.length>0){i[t[0].type](t[0],e);let{length:r}=t;for(let s=1;s<r;s++){let a=t[s];e.write(", "),i[a.type](a,e)}}e.write(")")}function oc(e,t,i,r){let s=e.expressionsPrecedence[t.type];if(s===Et)return!0;let a=e.expressionsPrecedence[i.type];return s!==a?!r&&s===15&&a===14&&i.operator==="**"||s<a:s!==13&&s!==14?!1:t.operator==="**"&&i.operator==="**"?!r:r?cn[t.operator]<=cn[i.operator]:cn[t.operator]<cn[i.operator]}function hn(e,t,i,r){let{generator:s}=e;oc(e,t,i,r)?(e.write("("),s[t.type](t,e),e.write(")")):s[t.type](t,e)}function T0(e,t,i,r){let s=t.split(`
|
|
44
44
|
`),a=s.length-1;if(e.write(s[0].trim()),a>0){e.write(r);for(let o=1;o<a;o++)e.write(i+s[o].trim()+r);e.write(i+s[a].trim())}}function Ye(e,t,i,r){let{length:s}=t;for(let a=0;a<s;a++){let o=t[a];e.write(i),o.type[0]==="L"?e.write("// "+o.value.trim()+`
|
|
45
|
-
`,o):(e.write("/*"),I0(e,o.value,i,r),e.write("*/"+r))}}function F0(e){let t=e;for(;t!=null;){let{type:i}=t;if(i[0]==="C"&&i[1]==="a")return!0;if(i[0]==="M"&&i[1]==="e"&&i[2]==="m")t=t.object;else return!1}}function Os(e,t){let{generator:i}=e,{declarations:r}=t;e.write(t.kind+" ");let{length:s}=r;if(s>0){i.VariableDeclarator(r[0],e);for(let a=1;a<s;a++)e.write(", "),i.VariableDeclarator(r[a],e)}}var ac,oc,uc,lc,cc,hc,Vs={Program(e,t){let i=t.indent.repeat(t.indentLevel),{lineEnd:r,writeComments:s}=t;s&&e.comments!=null&&Ye(t,e.comments,i,r);let a=e.body,{length:o}=a;for(let l=0;l<o;l++){let c=a[l];s&&c.comments!=null&&Ye(t,c.comments,i,r),t.write(i),this[c.type](c,t),t.write(r)}s&&e.trailingComments!=null&&Ye(t,e.trailingComments,i,r)},BlockStatement:hc=function(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:s}=t,a=i+t.indent;t.write("{");let o=e.body;if(o!=null&&o.length>0){t.write(r),s&&e.comments!=null&&Ye(t,e.comments,a,r);let{length:l}=o;for(let c=0;c<l;c++){let d=o[c];s&&d.comments!=null&&Ye(t,d.comments,a,r),t.write(a),this[d.type](d,t),t.write(r)}t.write(i)}else s&&e.comments!=null&&(t.write(r),Ye(t,e.comments,a,r),t.write(i));s&&e.trailingComments!=null&&Ye(t,e.trailingComments,a,r),t.write("}"),t.indentLevel--},ClassBody:hc,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){let i=t.expressionsPrecedence[e.expression.type];i===Et||i===3&&e.expression.left.type[0]==="O"?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),e.alternate!=null&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:s}=t;t.indentLevel++;let a=i+t.indent,o=a+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+r);let{cases:l}=e,{length:c}=l;for(let d=0;d<c;d++){let x=l[d];s&&x.comments!=null&&Ye(t,x.comments,a,r),x.test?(t.write(a+"case "),this[x.test.type](x.test,t),t.write(":"+r)):t.write(a+"default:"+r);let{consequent:k}=x,{length:C}=k;for(let g=0;g<C;g++){let E=k[g];s&&E.comments!=null&&Ye(t,E.comments,o,r),t.write(o),this[E.type](E,t),t.write(r)}}t.indentLevel-=2,t.write(i+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){let{handler:i}=e;i.param==null?t.write(" catch "):(t.write(" catch ("),this[i.param.type](i.param,t),t.write(") ")),this[i.body.type](i.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),e.init!=null){let{init:i}=e;i.type[0]==="V"?Os(t,i):this[i.type](i,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:ac=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:i}=e;i.type[0]==="V"?Os(t,i):this[i.type](i,t),t.write(e.type[3]==="I"?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:ac,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:oc=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),Ri(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:oc,VariableDeclaration(e,t){Os(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),e.init!=null&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");let{superClass:i}=e,{type:r}=i,s=t.expressionsPrecedence[r];(r[0]!=="C"||r[1]!=="l"||r[5]!=="E")&&(s===Et||s<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");let{specifiers:i}=e,{length:r}=i,s=0;if(r>0){for(;s<r;){s>0&&t.write(", ");let a=i[s],o=a.type[6];if(o==="D")t.write(a.local.name,a),s++;else if(o==="N")t.write("* as "+a.local.name,a),s++;else break}if(s<r){for(t.write("{");;){let a=i[s],{name:o}=a.imported;if(t.write(o,a),o!==a.local.name&&t.write(" as "+a.local.name),++s<r)t.write(", ");else break}t.write("}")}t.write(" from ")}this.Literal(e.source,t),t.write(";")},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");let{specifiers:i}=e,{length:r}=i;if(r>0)for(let s=0;;){let a=i[s],{name:o}=a.local;if(t.write(o,a),o!==a.exported.name&&t.write(" as "+a.exported.name),++s<r)t.write(", ");else break}t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),t.write(";")}},ExportAllDeclaration(e,t){e.exported!=null?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");let i=e.kind[0];(i==="g"||i==="s")&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),Ri(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);let{params:i}=e;i!=null&&(i.length===1&&i[0].type[0]==="I"?t.write(i[0].name,i[0]):Ri(t,e.params)),t.write(" => "),e.body.type[0]==="O"?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:uc=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:uc,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),cn(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:i,expressions:r}=e;t.write("`");let{length:s}=r;for(let o=0;o<s;o++){let l=r[o],c=i[o];t.write(c.value.raw,c),t.write("${"),this[l.type](l,t),t.write("}")}let a=i[i.length-1];t.write(a.value.raw,a),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){cn(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:cc=function(e,t){if(t.write("["),e.elements.length>0){let{elements:i}=e,{length:r}=i;for(let s=0;;){let a=i[s];if(a!=null&&this[a.type](a,t),++s<r)t.write(", ");else{a==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:cc,ObjectExpression(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:s}=t,a=i+t.indent;if(t.write("{"),e.properties.length>0){t.write(r),s&&e.comments!=null&&Ye(t,e.comments,a,r);let o=","+r,{properties:l}=e,{length:c}=l;for(let d=0;;){let x=l[d];if(s&&x.comments!=null&&Ye(t,x.comments,a,r),t.write(a),this[x.type](x,t),++d<c)t.write(o);else break}t.write(r),s&&e.trailingComments!=null&&Ye(t,e.trailingComments,a,r),t.write(i+"}")}else s?e.comments!=null?(t.write(r),Ye(t,e.comments,a,r),e.trailingComments!=null&&Ye(t,e.trailingComments,a,r),t.write(i+"}")):e.trailingComments!=null?(t.write(r),Ye(t,e.trailingComments,a,r),t.write(i+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||e.kind[0]!=="i"?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){e.static&&t.write("static "),this[e.key.type](e.key,t),t.write(" = "),this[e.value.type](e.value,t)},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){let{properties:i}=e,{length:r}=i;for(let s=0;this[i[s].type](i[s],t),++s<r;)t.write(", ")}t.write("}")},SequenceExpression(e,t){Ri(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:i,argument:r,argument:{type:s}}=e;t.write(i);let a=sc(t,r,e);!a&&(i.length>1||s[0]==="U"&&(s[1]==="n"||s[1]==="p")&&r.prefix&&r.operator[0]===i&&(i==="+"||i==="-"))&&t.write(" "),a?(t.write(i.length>1?" (":"("),this[s](r,t),t.write(")")):this[s](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:lc=function(e,t){let i=e.operator==="in";i&&t.write("("),cn(t,e.left,e,!1),t.write(" "+e.operator+" "),cn(t,e.right,e,!0),i&&t.write(")")},LogicalExpression:lc,ConditionalExpression(e,t){let{test:i}=e,r=t.expressionsPrecedence[i.type];r===Et||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[i.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let i=t.expressionsPrecedence[e.callee.type];i===Et||i<t.expressionsPrecedence.CallExpression||F0(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),Ri(t,e.arguments)},CallExpression(e,t){let i=t.expressionsPrecedence[e.callee.type];i===Et||i<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),Ri(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let i=t.expressionsPrecedence[e.object.type];i===Et||i<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){e.raw!=null?t.write(e.raw,e):e.regex!=null?this.RegExpLiteral(e,t):e.bigint!=null?t.write(e.bigint+"n",e):t.write(S0(e.value),e)},RegExpLiteral(e,t){let{regex:i}=e;t.write(`/${i.pattern}/${i.flags}`,e)}},T0={};var pc=class{constructor(t){let i=t??T0;this.output="",i.output!=null?(this.output=i.output,this.write=this.writeToStream):this.output="",this.generator=i.generator!=null?i.generator:Vs,this.expressionsPrecedence=i.expressionsPrecedence!=null?i.expressionsPrecedence:_0,this.indent=i.indent!=null?i.indent:" ",this.lineEnd=i.lineEnd!=null?i.lineEnd:`
|
|
45
|
+
`,o):(e.write("/*"),T0(e,o.value,i,r),e.write("*/"+r))}}function P0(e){let t=e;for(;t!=null;){let{type:i}=t;if(i[0]==="C"&&i[1]==="a")return!0;if(i[0]==="M"&&i[1]==="e"&&i[2]==="m")t=t.object;else return!1}}function Us(e,t){let{generator:i}=e,{declarations:r}=t;e.write(t.kind+" ");let{length:s}=r;if(s>0){i.VariableDeclarator(r[0],e);for(let a=1;a<s;a++)e.write(", "),i.VariableDeclarator(r[a],e)}}var uc,lc,cc,hc,pc,fc,zs={Program(e,t){let i=t.indent.repeat(t.indentLevel),{lineEnd:r,writeComments:s}=t;s&&e.comments!=null&&Ye(t,e.comments,i,r);let a=e.body,{length:o}=a;for(let l=0;l<o;l++){let c=a[l];s&&c.comments!=null&&Ye(t,c.comments,i,r),t.write(i),this[c.type](c,t),t.write(r)}s&&e.trailingComments!=null&&Ye(t,e.trailingComments,i,r)},BlockStatement:fc=function(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:s}=t,a=i+t.indent;t.write("{");let o=e.body;if(o!=null&&o.length>0){t.write(r),s&&e.comments!=null&&Ye(t,e.comments,a,r);let{length:l}=o;for(let c=0;c<l;c++){let m=o[c];s&&m.comments!=null&&Ye(t,m.comments,a,r),t.write(a),this[m.type](m,t),t.write(r)}t.write(i)}else s&&e.comments!=null&&(t.write(r),Ye(t,e.comments,a,r),t.write(i));s&&e.trailingComments!=null&&Ye(t,e.trailingComments,a,r),t.write("}"),t.indentLevel--},ClassBody:fc,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){let i=t.expressionsPrecedence[e.expression.type];i===Et||i===3&&e.expression.left.type[0]==="O"?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),e.alternate!=null&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:s}=t;t.indentLevel++;let a=i+t.indent,o=a+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+r);let{cases:l}=e,{length:c}=l;for(let m=0;m<c;m++){let x=l[m];s&&x.comments!=null&&Ye(t,x.comments,a,r),x.test?(t.write(a+"case "),this[x.test.type](x.test,t),t.write(":"+r)):t.write(a+"default:"+r);let{consequent:w}=x,{length:A}=w;for(let g=0;g<A;g++){let E=w[g];s&&E.comments!=null&&Ye(t,E.comments,o,r),t.write(o),this[E.type](E,t),t.write(r)}}t.indentLevel-=2,t.write(i+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){let{handler:i}=e;i.param==null?t.write(" catch "):(t.write(" catch ("),this[i.param.type](i.param,t),t.write(") ")),this[i.body.type](i.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),e.init!=null){let{init:i}=e;i.type[0]==="V"?Us(t,i):this[i.type](i,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:uc=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:i}=e;i.type[0]==="V"?Us(t,i):this[i.type](i,t),t.write(e.type[3]==="I"?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:uc,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:lc=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),Oi(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:lc,VariableDeclaration(e,t){Us(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),e.init!=null&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");let{superClass:i}=e,{type:r}=i,s=t.expressionsPrecedence[r];(r[0]!=="C"||r[1]!=="l"||r[5]!=="E")&&(s===Et||s<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");let{specifiers:i}=e,{length:r}=i,s=0;if(r>0){for(;s<r;){s>0&&t.write(", ");let a=i[s],o=a.type[6];if(o==="D")t.write(a.local.name,a),s++;else if(o==="N")t.write("* as "+a.local.name,a),s++;else break}if(s<r){for(t.write("{");;){let a=i[s],{name:o}=a.imported;if(t.write(o,a),o!==a.local.name&&t.write(" as "+a.local.name),++s<r)t.write(", ");else break}t.write("}")}t.write(" from ")}this.Literal(e.source,t),t.write(";")},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");let{specifiers:i}=e,{length:r}=i;if(r>0)for(let s=0;;){let a=i[s],{name:o}=a.local;if(t.write(o,a),o!==a.exported.name&&t.write(" as "+a.exported.name),++s<r)t.write(", ");else break}t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),t.write(";")}},ExportAllDeclaration(e,t){e.exported!=null?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");let i=e.kind[0];(i==="g"||i==="s")&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),Oi(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);let{params:i}=e;i!=null&&(i.length===1&&i[0].type[0]==="I"?t.write(i[0].name,i[0]):Oi(t,e.params)),t.write(" => "),e.body.type[0]==="O"?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:cc=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:cc,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),hn(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:i,expressions:r}=e;t.write("`");let{length:s}=r;for(let o=0;o<s;o++){let l=r[o],c=i[o];t.write(c.value.raw,c),t.write("${"),this[l.type](l,t),t.write("}")}let a=i[i.length-1];t.write(a.value.raw,a),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){hn(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:pc=function(e,t){if(t.write("["),e.elements.length>0){let{elements:i}=e,{length:r}=i;for(let s=0;;){let a=i[s];if(a!=null&&this[a.type](a,t),++s<r)t.write(", ");else{a==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:pc,ObjectExpression(e,t){let i=t.indent.repeat(t.indentLevel++),{lineEnd:r,writeComments:s}=t,a=i+t.indent;if(t.write("{"),e.properties.length>0){t.write(r),s&&e.comments!=null&&Ye(t,e.comments,a,r);let o=","+r,{properties:l}=e,{length:c}=l;for(let m=0;;){let x=l[m];if(s&&x.comments!=null&&Ye(t,x.comments,a,r),t.write(a),this[x.type](x,t),++m<c)t.write(o);else break}t.write(r),s&&e.trailingComments!=null&&Ye(t,e.trailingComments,a,r),t.write(i+"}")}else s?e.comments!=null?(t.write(r),Ye(t,e.comments,a,r),e.trailingComments!=null&&Ye(t,e.trailingComments,a,r),t.write(i+"}")):e.trailingComments!=null?(t.write(r),Ye(t,e.trailingComments,a,r),t.write(i+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||e.kind[0]!=="i"?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),e.value==null){e.key.type[0]!=="F"&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){let{properties:i}=e,{length:r}=i;for(let s=0;this[i[s].type](i[s],t),++s<r;)t.write(", ")}t.write("}")},SequenceExpression(e,t){Oi(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:i,argument:r,argument:{type:s}}=e;t.write(i);let a=oc(t,r,e);!a&&(i.length>1||s[0]==="U"&&(s[1]==="n"||s[1]==="p")&&r.prefix&&r.operator[0]===i&&(i==="+"||i==="-"))&&t.write(" "),a?(t.write(i.length>1?" (":"("),this[s](r,t),t.write(")")):this[s](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:hc=function(e,t){let i=e.operator==="in";i&&t.write("("),hn(t,e.left,e,!1),t.write(" "+e.operator+" "),hn(t,e.right,e,!0),i&&t.write(")")},LogicalExpression:hc,ConditionalExpression(e,t){let{test:i}=e,r=t.expressionsPrecedence[i.type];r===Et||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[i.type](i,t),t.write(")")):this[i.type](i,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let i=t.expressionsPrecedence[e.callee.type];i===Et||i<t.expressionsPrecedence.CallExpression||P0(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),Oi(t,e.arguments)},CallExpression(e,t){let i=t.expressionsPrecedence[e.callee.type];i===Et||i<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),Oi(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let i=t.expressionsPrecedence[e.object.type];i===Et||i<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){e.raw!=null?t.write(e.raw,e):e.regex!=null?this.RegExpLiteral(e,t):e.bigint!=null?t.write(e.bigint+"n",e):t.write(I0(e.value),e)},RegExpLiteral(e,t){let{regex:i}=e;t.write(`/${i.pattern}/${i.flags}`,e)}},B0={};var mc=class{constructor(t){let i=t??B0;this.output="",i.output!=null?(this.output=i.output,this.write=this.writeToStream):this.output="",this.generator=i.generator!=null?i.generator:zs,this.expressionsPrecedence=i.expressionsPrecedence!=null?i.expressionsPrecedence:F0,this.indent=i.indent!=null?i.indent:" ",this.lineEnd=i.lineEnd!=null?i.lineEnd:`
|
|
46
46
|
`,this.indentLevel=i.startingIndentLevel!=null?i.startingIndentLevel:0,this.writeComments=i.comments?i.comments:!1,i.sourceMap!=null&&(this.write=i.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=i.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
|
|
47
|
-
`).length-1,this.mapping={original:null,generated:this,name:void 0,source:i.sourceMap.file||i.sourceMap._file})}write(t){this.output+=t}writeToStream(t){this.output.write(t)}writeAndMap(t,i){this.output+=t,this.map(t,i)}writeToStreamAndMap(t,i){this.output.write(t),this.map(t,i)}map(t,i){if(i!=null){let{type:a}=i;if(a[0]==="L"&&a[2]==="n"){this.column=0,this.line++;return}if(i.loc!=null){let{mapping:o}=this;o.original=i.loc.start,o.name=i.name,this.sourceMap.addMapping(o)}if(a[0]==="T"&&a[8]==="E"||a[0]==="L"&&a[1]==="i"&&typeof i.value=="string"){let{length:o}=t,{column:l,line:c}=this;for(let
|
|
48
|
-
`?(l=0,c++):l++;this.column=l,this.line=c;return}}let{length:r}=t,{lineEnd:s}=this;r>0&&(this.lineEndSize>0&&(s.length===1?t[r-1]===s:t.endsWith(s))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}};function fc(e,t){let i=new pc(t);return i.generator[e.type](e,i),i.output}function mc(e={}){let{SourceMapGenerator:t}=e;Object.assign(this,{Compiler:i});function i(r,s){let a;t&&(a=new t({file:s.path||"unknown.mdx"}));let o={...Vs,JSXAttribute:P0,JSXClosingElement:B0,JSXClosingFragment:L0,JSXElement:D0,JSXEmptyExpression:N0,JSXExpressionContainer:R0,JSXFragment:O0,JSXIdentifier:V0,JSXMemberExpression:M0,JSXNamespacedName:j0,JSXOpeningElement:U0,JSXOpeningFragment:z0,JSXSpreadAttribute:J0,JSXText:q0},l=fc(r,{generator:o,comments:!0,sourceMap:a});return a&&(s.map=a.toJSON()),l}}function P0(e,t){this[e.name.type](e.name,t),e.value!==void 0&&e.value!==null&&(t.write("="),e.value.type==="Literal"?t.write('"'+dc(String(e.value.value)).replace(/"/g,""")+'"',e):this[e.value.type](e.value,t))}function B0(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")}function L0(e,t){t.write("</>",e)}function D0(e,t){let i=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++i<e.children.length;){let r=e.children[i];if(r.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[r.type](r,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)}function N0(){}function R0(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")}function O0(e,t){let i=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++i<e.children.length;){let r=e.children[i];if(r.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[r.type](r,t)}this[e.closingFragment.type](e.closingFragment,t)}function V0(e,t){t.write(e.name,e)}function M0(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)}function j0(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)}function U0(e,t){let i=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++i<e.attributes.length;)t.write(" "),this[e.attributes[i].type](e.attributes[i],t);t.write(e.selfClosing?" />":">")}function z0(e,t){t.write("<>",e)}function J0(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")}function q0(e,t){t.write(dc(e.value).replace(/<|{/g,i=>i==="<"?"<":"{"),e)}function dc(e){return e.replace(/&(?=[#a-z])/gi,"&")}h();p();h();p();h();p();function xc(e,t){var i=t||{};return e[e.length-1]===""&&(e=e.concat("")),e.join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}h();p();var gc=[].push;function nr(e,t){var i=(t||[]).concat().sort(Ms);return i.length&&yc(e,{comments:i,index:0}),e}function yc(e,t){var i=[],r=[],s,a,o;if(t.index!==t.comments.length){for(s in e)if(a=e[s],a&&typeof a=="object"&&s!=="comments")if(Array.isArray(a))for(o=-1;++o<a.length;)a[o]&&typeof a[o].type=="string"&&i.push(a[o]);else typeof a.type=="string"&&i.push(a);for(i.sort(Ms),gc.apply(r,bc(t,e,!1,{leading:!0,trailing:!1})),o=-1;++o<i.length;)yc(i[o],t);gc.apply(r,bc(t,e,!0,{leading:!1,trailing:Boolean(i.length)})),r.length&&(e.comments=r)}}function bc(e,t,i,r){for(var s=[];e.comments[e.index]&&Ms(e.comments[e.index],t,i)<1;)s.push(Object.assign({},e.comments[e.index++],r));return s}function Ms(e,t,i){var r=i?"end":"start";return e.range&&t.range?e.range[0]-t.range[i?1:0]:e.loc&&e.loc.start&&t.loc&&t.loc[r]?e.loc.start.line-t.loc[r].line||e.loc.start.column-t.loc[r].column:"start"in e&&r in t?e.start-t[r]:NaN}h();p();function vc(e){var t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}h();p();h();p();h();p();var $t=class{constructor(t,i,r){this.property=t,this.normal=i,r&&(this.space=r)}};$t.prototype.property={};$t.prototype.normal={};$t.prototype.space=null;function js(e,t){let i={},r={},s=-1;for(;++s<e.length;)Object.assign(i,e[s].property),Object.assign(r,e[s].normal);return new $t(i,r,t)}h();p();h();p();h();p();function sr(e){return e.toLowerCase()}h();p();h();p();var Qe=class{constructor(t,i){this.property=t,this.attribute=i}};Qe.prototype.space=null;Qe.prototype.boolean=!1;Qe.prototype.booleanish=!1;Qe.prototype.overloadedBoolean=!1;Qe.prototype.number=!1;Qe.prototype.commaSeparated=!1;Qe.prototype.spaceSeparated=!1;Qe.prototype.commaOrSpaceSeparated=!1;Qe.prototype.mustUseProperty=!1;Qe.prototype.defined=!1;var ar={};pa(ar,{boolean:()=>re,booleanish:()=>Pe,commaOrSpaceSeparated:()=>rt,commaSeparated:()=>ei,number:()=>z,overloadedBoolean:()=>Us,spaceSeparated:()=>we});h();p();var X0=0,re=fi(),Pe=fi(),Us=fi(),z=fi(),we=fi(),ei=fi(),rt=fi();function fi(){return 2**++X0}var zs=Object.keys(ar),Oi=class extends Qe{constructor(t,i,r,s){let a=-1;super(t,i);if(wc(this,"space",s),typeof r=="number")for(;++a<zs.length;){let o=zs[a];wc(this,zs[a],(r&ar[o])===ar[o])}}};Oi.prototype.defined=!0;function wc(e,t,i){i&&(e[t]=i)}var H0={}.hasOwnProperty;function mt(e){let t={},i={},r;for(r in e.properties)if(H0.call(e.properties,r)){let s=e.properties[r],a=new Oi(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,i[sr(r)]=r,i[sr(a.attribute)]=r}return new $t(t,i,e.space)}var Js=mt({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});h();p();var qs=mt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});h();p();h();p();h();p();function hn(e,t){return t in e?e[t]:t}function pn(e,t){return hn(e,t.toLowerCase())}var Xs=mt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:pn,properties:{xmlns:null,xmlnsXLink:null}});h();p();var Hs=mt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Pe,ariaAutoComplete:null,ariaBusy:Pe,ariaChecked:Pe,ariaColCount:z,ariaColIndex:z,ariaColSpan:z,ariaControls:we,ariaCurrent:null,ariaDescribedBy:we,ariaDetails:null,ariaDisabled:Pe,ariaDropEffect:we,ariaErrorMessage:null,ariaExpanded:Pe,ariaFlowTo:we,ariaGrabbed:Pe,ariaHasPopup:null,ariaHidden:Pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:we,ariaLevel:z,ariaLive:null,ariaModal:Pe,ariaMultiLine:Pe,ariaMultiSelectable:Pe,ariaOrientation:null,ariaOwns:we,ariaPlaceholder:null,ariaPosInSet:z,ariaPressed:Pe,ariaReadOnly:Pe,ariaRelevant:null,ariaRequired:Pe,ariaRoleDescription:we,ariaRowCount:z,ariaRowIndex:z,ariaRowSpan:z,ariaSelected:Pe,ariaSetSize:z,ariaSort:null,ariaValueMax:z,ariaValueMin:z,ariaValueNow:z,ariaValueText:null,role:null}});h();p();var kc=mt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:pn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ei,acceptCharset:we,accessKey:we,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:we,autoFocus:re,autoPlay:re,capture:re,charSet:null,checked:re,cite:null,className:we,cols:z,colSpan:null,content:null,contentEditable:Pe,controls:re,controlsList:we,coords:z|ei,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:Us,draggable:Pe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:we,height:z,hidden:re,high:z,href:null,hrefLang:null,htmlFor:we,httpEquiv:we,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:we,itemRef:we,itemScope:re,itemType:we,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:z,manifest:null,max:null,maxLength:z,media:null,method:null,min:null,minLength:z,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:re,optimum:z,pattern:null,ping:we,placeholder:null,playsInline:re,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:we,required:re,reversed:re,rows:z,rowSpan:z,sandbox:we,scope:null,scoped:re,seamless:re,selected:re,shape:null,size:z,sizes:null,slot:null,span:z,spellCheck:Pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:z,step:null,style:null,tabIndex:z,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:Pe,width:z,wrap:null,align:null,aLink:null,archive:we,axis:null,background:null,bgColor:null,border:z,borderColor:null,bottomMargin:z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:z,leftMargin:z,link:null,longDesc:null,lowSrc:null,marginHeight:z,marginWidth:z,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:z,rules:null,scheme:null,scrolling:Pe,standby:null,summary:null,text:null,topMargin:z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:z,security:null,unselectable:null}});h();p();var Ec=mt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:hn,properties:{about:rt,accentHeight:z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:z,amplitude:z,arabicForm:null,ascent:z,attributeName:null,attributeType:null,azimuth:z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:z,by:null,calcMode:null,capHeight:z,className:we,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:z,diffuseConstant:z,direction:null,display:null,dur:null,divisor:z,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:z,enableBackground:null,end:null,event:null,exponent:z,externalResourcesRequired:null,fill:null,fillOpacity:z,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ei,g2:ei,glyphName:ei,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:z,horizOriginX:z,horizOriginY:z,id:null,ideographic:z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:z,k:z,k1:z,k2:z,k3:z,k4:z,kernelMatrix:rt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:z,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:z,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:z,overlineThickness:z,paintOrder:null,panose1:null,path:null,pathLength:z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:we,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:z,pointsAtY:z,pointsAtZ:z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rt,rev:rt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rt,requiredFeatures:rt,requiredFonts:rt,requiredFormats:rt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:z,specularExponent:z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:z,strikethroughThickness:z,string:null,stroke:null,strokeDashArray:rt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:z,strokeOpacity:z,strokeWidth:null,style:null,surfaceScale:z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rt,tabIndex:z,tableValues:null,target:null,targetX:z,targetY:z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rt,to:null,transform:null,u1:null,u2:null,underlinePosition:z,underlineThickness:z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:z,values:null,vAlphabetic:z,vMathematical:z,vectorEffect:null,vHanging:z,vIdeographic:z,version:null,vertAdvY:z,vertOriginX:z,vertOriginY:z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});h();p();var W0=/^data[-\w.:]+$/i,Cc=/-[a-z]/g,G0=/[A-Z]/g;function Ws(e,t){let i=sr(t),r=t,s=Qe;if(i in e.normal)return e.property[e.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&W0.test(t)){if(t.charAt(4)==="-"){let a=t.slice(5).replace(Cc,Q0);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{let a=t.slice(4);if(!Cc.test(a)){let o=a.replace(G0,Y0);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=Oi}return new s(r,t)}function Y0(e){return"-"+e.toLowerCase()}function Q0(e){return e.charAt(1).toUpperCase()}h();p();var Gs={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Ac=js([qs,Js,Xs,Hs,kc],"html"),fn=js([qs,Js,Xs,Hs,Ec],"svg");h();p();function Sc(e){return e.join(" ").trim()}var Oc=Tt(Dc());h();p();var Nc={}.hasOwnProperty;function Rc(e,t){var i=t||{};function r(s){var a=r.invalid,o=r.handlers;if(s&&Nc.call(s,e)&&(a=Nc.call(o,s[e])?o[s[e]]:r.unknown),a)return a.apply(this,arguments)}return r.handlers=i.handlers||{},r.invalid=i.invalid,r.unknown=i.unknown,r}var ld=Gs,Ys={}.hasOwnProperty,cd=new Set(["table","thead","tbody","tfoot","tr","th","td"]);function jc(e,t={}){let i={schema:t.space==="svg"?fn:Ac,comments:[],esm:[],handle:Rc("type",{invalid:hd,unknown:pd,handlers:Object.assign({},{comment:md,doctype:fd,element:dd,mdxjsEsm:xd,mdxFlowExpression:Vc,mdxJsxFlowElement:Mc,mdxJsxTextElement:Mc,mdxTextExpression:Vc,root:gd,text:yd},t.handlers)})},r=i.handle(e,i),s=i.esm;return r&&(r.type!=="JSXFragment"&&r.type!=="JSXElement"&&(r=ti(e,{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[r]})),s.push(ti(e,{type:"ExpressionStatement",expression:r}))),ti(e,{type:"Program",body:s,sourceType:"module",comments:i.comments})}function hd(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function pd(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function fd(){}function md(e,t){let i=Xt(e,{type:"Block",value:e.value});return t.comments.push(i),ti(e,{type:"JSXExpressionContainer",expression:ti(e,{type:"JSXEmptyExpression",comments:[Object.assign({},i,{leading:!1,trailing:!0})]})})}function dd(e,t){let i=t.schema,r=i,s=e.properties||{};i.space==="html"&&e.tagName.toLowerCase()==="svg"&&(r=fn,t.schema=r);let a=Qs(e,t),o=[],l;for(l in s)if(Ys.call(s,l)){let c=s[l],d=Ws(r,l),x;if(c==null||typeof c=="number"&&Number.isNaN(c)||c===!1||!c&&d.boolean)continue;if(l=d.space?ld[d.property]||d.property:d.attribute,Array.isArray(c)&&(c=d.commaSeparated?xc(c):Sc(c)),l==="style"){let k=typeof c=="string"?bd(c,e.tagName):c,C=[],g;for(g in k)Ys.call(k,g)&&C.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Identifier",name:g},value:{type:"Literal",value:String(k[g])},kind:"init"});x={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:C}}}else c===!0?x=null:x={type:"Literal",value:String(c)};vd(l)?o.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:l},value:x}):o.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(l)},value:x||{type:"Literal",value:!0},kind:"init"}]}})}return t.schema=i,Xt(e,{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:or(e.tagName),selfClosing:a.length===0},closingElement:a.length>0?{type:"JSXClosingElement",name:or(e.tagName)}:null,children:a})}function xd(e,t){let i=e.data&&e.data.estree,r=i&&i.comments||[];i&&(t.comments.push(...r),nr(i,r),t.esm.push(...i.body))}function Vc(e,t){let i=e.data&&e.data.estree,r=i&&i.comments||[],s;return i&&(t.comments.push(...r),nr(i,i.comments),s=i.body[0]&&i.body[0].type==="ExpressionStatement"&&i.body[0].expression||void 0),Xt(e,{type:"JSXExpressionContainer",expression:s||ti(e,{type:"JSXEmptyExpression"})})}function Mc(e,t){let i=t.schema,r=i,s=e.attributes||[],a=-1;e.name&&i.space==="html"&&e.name.toLowerCase()==="svg"&&(r=fn,t.schema=r);let o=Qs(e,t),l=[];for(;++a<s.length;){let c=s[a],d=c.value,x;if(c.type==="mdxJsxAttribute"){if(d==null)x=null;else if(typeof d=="object"){let k=d.data&&d.data.estree,C=k&&k.comments||[],g;k&&(t.comments.push(...C),nr(k,k.comments),g=k.body[0]&&k.body[0].type==="ExpressionStatement"&&k.body[0].expression||void 0),x=Xt(d,{type:"JSXExpressionContainer",expression:g||{type:"JSXEmptyExpression"}})}else x={type:"Literal",value:String(d)};l.push(Xt(c,{type:"JSXAttribute",name:or(c.name,!0),value:x}))}else{let k=c.data&&c.data.estree,C=k&&k.comments||[],g;k&&(t.comments.push(...C),nr(k,k.comments),g=k.body[0]&&k.body[0].type==="ExpressionStatement"&&k.body[0].expression&&k.body[0].expression.type==="ObjectExpression"&&k.body[0].expression.properties&&k.body[0].expression.properties[0]&&k.body[0].expression.properties[0].type==="SpreadElement"&&k.body[0].expression.properties[0].argument||void 0),l.push(Xt(c,{type:"JSXSpreadAttribute",argument:g||{type:"ObjectExpression",properties:[]}}))}}return t.schema=i,Xt(e,e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:l,name:or(e.name),selfClosing:o.length===0},closingElement:o.length>0?{type:"JSXClosingElement",name:or(e.name)}:null,children:o}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:o})}function gd(e,t){let i=Qs(e,t),r=[],s=-1,a;for(;++s<i.length;){let o=i[s];o.type==="JSXExpressionContainer"&&o.expression.type==="Literal"&&vc(o.expression.value)?a&&a.push(o):(a&&r.push(...a),r.push(o),a=[])}return Xt(e,{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:r})}function yd(e){let t=String(e.value||"");if(!!t)return ti(e,{type:"JSXExpressionContainer",expression:Xt(e,{type:"Literal",value:t})})}function Qs(e,t){let i=e.children||[],r=-1,s=[],a=t.schema.space==="html"&&e.type==="element"&&cd.has(e.tagName.toLowerCase());for(;++r<i.length;){let o=i[r];if(a&&o.type==="text"&&o.value===`
|
|
49
|
-
`)continue;let l=t.handle(o,t);Array.isArray(l)?s.push(...l):l&&s.push(l)}return s}function
|
|
47
|
+
`).length-1,this.mapping={original:null,generated:this,name:void 0,source:i.sourceMap.file||i.sourceMap._file})}write(t){this.output+=t}writeToStream(t){this.output.write(t)}writeAndMap(t,i){this.output+=t,this.map(t,i)}writeToStreamAndMap(t,i){this.output.write(t),this.map(t,i)}map(t,i){if(i!=null){let{type:a}=i;if(a[0]==="L"&&a[2]==="n"){this.column=0,this.line++;return}if(i.loc!=null){let{mapping:o}=this;o.original=i.loc.start,o.name=i.name,this.sourceMap.addMapping(o)}if(a[0]==="T"&&a[8]==="E"||a[0]==="L"&&a[1]==="i"&&typeof i.value=="string"){let{length:o}=t,{column:l,line:c}=this;for(let m=0;m<o;m++)t[m]===`
|
|
48
|
+
`?(l=0,c++):l++;this.column=l,this.line=c;return}}let{length:r}=t,{lineEnd:s}=this;r>0&&(this.lineEndSize>0&&(s.length===1?t[r-1]===s:t.endsWith(s))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}};function dc(e,t){let i=new mc(t);return i.generator[e.type](e,i),i.output}var L0=zs,D0=dc,pn=function(e,t){let{SourceMapGenerator:i,filePath:r,handlers:s}=t||{},a=i?new i({file:r||"<unknown>.js"}):void 0,o=D0(e,{comments:!0,generator:{...L0,...s},sourceMap:a}),l=a?a.toJSON():void 0;return{value:o,map:l}};h();p();var fn={JSXAttribute:N0,JSXClosingElement:R0,JSXClosingFragment:O0,JSXElement:V0,JSXEmptyExpression:j0,JSXExpressionContainer:M0,JSXFragment:U0,JSXIdentifier:z0,JSXMemberExpression:J0,JSXNamespacedName:q0,JSXOpeningElement:X0,JSXOpeningFragment:H0,JSXSpreadAttribute:W0,JSXText:G0};function N0(e,t){this[e.name.type](e.name,t),e.value!==void 0&&e.value!==null&&(t.write("="),e.value.type==="Literal"?t.write('"'+xc(String(e.value.value)).replace(/"/g,""")+'"',e):this[e.value.type](e.value,t))}function R0(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")}function O0(e,t){t.write("</>",e)}function V0(e,t){let i=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++i<e.children.length;){let r=e.children[i];if(r.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[r.type](r,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)}function j0(){}function M0(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")}function U0(e,t){let i=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++i<e.children.length;){let r=e.children[i];if(r.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[r.type](r,t)}this[e.closingFragment.type](e.closingFragment,t)}function z0(e,t){t.write(e.name,e)}function J0(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)}function q0(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)}function X0(e,t){let i=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++i<e.attributes.length;)t.write(" "),this[e.attributes[i].type](e.attributes[i],t);t.write(e.selfClosing?" />":">")}function H0(e,t){t.write("<>",e)}function W0(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")}function G0(e,t){t.write(xc(e.value).replace(/[<>{}]/g,i=>i==="<"?"<":i===">"?">":i==="{"?"{":"}"),e)}function xc(e){return e.replace(/&(?=[#a-z])/gi,"&")}function gc(e){let{SourceMapGenerator:t}=e||{};Object.assign(this,{Compiler:i});function i(r,s){let a=t?pn(r,{filePath:s.path||"unknown.mdx",SourceMapGenerator:t,handlers:fn}):pn(r,{handlers:fn});return s.map=a.map,a.value}}h();p();h();p();h();p();function yc(e,t){var i=t||{};return e[e.length-1]===""&&(e=e.concat("")),e.join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}h();p();var bc=[].push;function sr(e,t){var i=(t||[]).concat().sort(Js);return i.length&&vc(e,{comments:i,index:0}),e}function vc(e,t){var i=[],r=[],s,a,o;if(t.index!==t.comments.length){for(s in e)if(a=e[s],a&&typeof a=="object"&&s!=="comments")if(Array.isArray(a))for(o=-1;++o<a.length;)a[o]&&typeof a[o].type=="string"&&i.push(a[o]);else typeof a.type=="string"&&i.push(a);for(i.sort(Js),bc.apply(r,wc(t,e,!1,{leading:!0,trailing:!1})),o=-1;++o<i.length;)vc(i[o],t);bc.apply(r,wc(t,e,!0,{leading:!1,trailing:Boolean(i.length)})),r.length&&(e.comments=r)}}function wc(e,t,i,r){for(var s=[];e.comments[e.index]&&Js(e.comments[e.index],t,i)<1;)s.push(Object.assign({},e.comments[e.index++],r));return s}function Js(e,t,i){var r=i?"end":"start";return e.range&&t.range?e.range[0]-t.range[i?1:0]:e.loc&&e.loc.start&&t.loc&&t.loc[r]?e.loc.start.line-t.loc[r].line||e.loc.start.column-t.loc[r].column:"start"in e&&r in t?e.start-t[r]:NaN}h();p();function kc(e){var t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}h();p();h();p();h();p();var $t=class{constructor(t,i,r){this.property=t,this.normal=i,r&&(this.space=r)}};$t.prototype.property={};$t.prototype.normal={};$t.prototype.space=null;function qs(e,t){let i={},r={},s=-1;for(;++s<e.length;)Object.assign(i,e[s].property),Object.assign(r,e[s].normal);return new $t(i,r,t)}h();p();h();p();h();p();function ar(e){return e.toLowerCase()}h();p();h();p();var Qe=class{constructor(t,i){this.property=t,this.attribute=i}};Qe.prototype.space=null;Qe.prototype.boolean=!1;Qe.prototype.booleanish=!1;Qe.prototype.overloadedBoolean=!1;Qe.prototype.number=!1;Qe.prototype.commaSeparated=!1;Qe.prototype.spaceSeparated=!1;Qe.prototype.commaOrSpaceSeparated=!1;Qe.prototype.mustUseProperty=!1;Qe.prototype.defined=!1;var or={};xa(or,{boolean:()=>re,booleanish:()=>Pe,commaOrSpaceSeparated:()=>rt,commaSeparated:()=>ei,number:()=>z,overloadedBoolean:()=>Xs,spaceSeparated:()=>we});h();p();var Y0=0,re=fi(),Pe=fi(),Xs=fi(),z=fi(),we=fi(),ei=fi(),rt=fi();function fi(){return 2**++Y0}var Hs=Object.keys(or),Vi=class extends Qe{constructor(t,i,r,s){let a=-1;super(t,i);if(Ec(this,"space",s),typeof r=="number")for(;++a<Hs.length;){let o=Hs[a];Ec(this,Hs[a],(r&or[o])===or[o])}}};Vi.prototype.defined=!0;function Ec(e,t,i){i&&(e[t]=i)}var Q0={}.hasOwnProperty;function mt(e){let t={},i={},r;for(r in e.properties)if(Q0.call(e.properties,r)){let s=e.properties[r],a=new Vi(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,i[ar(r)]=r,i[ar(a.attribute)]=r}return new $t(t,i,e.space)}var Ws=mt({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});h();p();var Gs=mt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});h();p();h();p();h();p();function mn(e,t){return t in e?e[t]:t}function dn(e,t){return mn(e,t.toLowerCase())}var Ys=mt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:dn,properties:{xmlns:null,xmlnsXLink:null}});h();p();var Qs=mt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Pe,ariaAutoComplete:null,ariaBusy:Pe,ariaChecked:Pe,ariaColCount:z,ariaColIndex:z,ariaColSpan:z,ariaControls:we,ariaCurrent:null,ariaDescribedBy:we,ariaDetails:null,ariaDisabled:Pe,ariaDropEffect:we,ariaErrorMessage:null,ariaExpanded:Pe,ariaFlowTo:we,ariaGrabbed:Pe,ariaHasPopup:null,ariaHidden:Pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:we,ariaLevel:z,ariaLive:null,ariaModal:Pe,ariaMultiLine:Pe,ariaMultiSelectable:Pe,ariaOrientation:null,ariaOwns:we,ariaPlaceholder:null,ariaPosInSet:z,ariaPressed:Pe,ariaReadOnly:Pe,ariaRelevant:null,ariaRequired:Pe,ariaRoleDescription:we,ariaRowCount:z,ariaRowIndex:z,ariaRowSpan:z,ariaSelected:Pe,ariaSetSize:z,ariaSort:null,ariaValueMax:z,ariaValueMin:z,ariaValueNow:z,ariaValueText:null,role:null}});h();p();var Cc=mt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:dn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ei,acceptCharset:we,accessKey:we,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:we,autoFocus:re,autoPlay:re,capture:re,charSet:null,checked:re,cite:null,className:we,cols:z,colSpan:null,content:null,contentEditable:Pe,controls:re,controlsList:we,coords:z|ei,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:Xs,draggable:Pe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:we,height:z,hidden:re,high:z,href:null,hrefLang:null,htmlFor:we,httpEquiv:we,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:we,itemRef:we,itemScope:re,itemType:we,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:z,manifest:null,max:null,maxLength:z,media:null,method:null,min:null,minLength:z,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:re,optimum:z,pattern:null,ping:we,placeholder:null,playsInline:re,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:we,required:re,reversed:re,rows:z,rowSpan:z,sandbox:we,scope:null,scoped:re,seamless:re,selected:re,shape:null,size:z,sizes:null,slot:null,span:z,spellCheck:Pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:z,step:null,style:null,tabIndex:z,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:Pe,width:z,wrap:null,align:null,aLink:null,archive:we,axis:null,background:null,bgColor:null,border:z,borderColor:null,bottomMargin:z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:z,leftMargin:z,link:null,longDesc:null,lowSrc:null,marginHeight:z,marginWidth:z,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:z,rules:null,scheme:null,scrolling:Pe,standby:null,summary:null,text:null,topMargin:z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:z,security:null,unselectable:null}});h();p();var Ac=mt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:mn,properties:{about:rt,accentHeight:z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:z,amplitude:z,arabicForm:null,ascent:z,attributeName:null,attributeType:null,azimuth:z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:z,by:null,calcMode:null,capHeight:z,className:we,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:z,diffuseConstant:z,direction:null,display:null,dur:null,divisor:z,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:z,enableBackground:null,end:null,event:null,exponent:z,externalResourcesRequired:null,fill:null,fillOpacity:z,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ei,g2:ei,glyphName:ei,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:z,horizOriginX:z,horizOriginY:z,id:null,ideographic:z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:z,k:z,k1:z,k2:z,k3:z,k4:z,kernelMatrix:rt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:z,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:z,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:z,overlineThickness:z,paintOrder:null,panose1:null,path:null,pathLength:z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:we,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:z,pointsAtY:z,pointsAtZ:z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:rt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:rt,rev:rt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:rt,requiredFeatures:rt,requiredFonts:rt,requiredFormats:rt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:z,specularExponent:z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:z,strikethroughThickness:z,string:null,stroke:null,strokeDashArray:rt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:z,strokeOpacity:z,strokeWidth:null,style:null,surfaceScale:z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:rt,tabIndex:z,tableValues:null,target:null,targetX:z,targetY:z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:rt,to:null,transform:null,u1:null,u2:null,underlinePosition:z,underlineThickness:z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:z,values:null,vAlphabetic:z,vMathematical:z,vectorEffect:null,vHanging:z,vIdeographic:z,version:null,vertAdvY:z,vertOriginX:z,vertOriginY:z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});h();p();var K0=/^data[-\w.:]+$/i,Sc=/-[a-z]/g,Z0=/[A-Z]/g;function Ks(e,t){let i=ar(t),r=t,s=Qe;if(i in e.normal)return e.property[e.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&K0.test(t)){if(t.charAt(4)==="-"){let a=t.slice(5).replace(Sc,ed);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{let a=t.slice(4);if(!Sc.test(a)){let o=a.replace(Z0,$0);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=Vi}return new s(r,t)}function $0(e){return"-"+e.toLowerCase()}function ed(e){return e.charAt(1).toUpperCase()}h();p();var Zs={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var _c=qs([Gs,Ws,Ys,Qs,Cc],"html"),xn=qs([Gs,Ws,Ys,Qs,Ac],"svg");h();p();function Ic(e){return e.join(" ").trim()}var jc=Tt(Rc());h();p();var Oc={}.hasOwnProperty;function Vc(e,t){var i=t||{};function r(s){var a=r.invalid,o=r.handlers;if(s&&Oc.call(s,e)&&(a=Oc.call(o,s[e])?o[s[e]]:r.unknown),a)return a.apply(this,arguments)}return r.handlers=i.handlers||{},r.invalid=i.invalid,r.unknown=i.unknown,r}var fd=Zs,$s={}.hasOwnProperty,md=new Set(["table","thead","tbody","tfoot","tr","th","td"]);function zc(e,t={}){let i={schema:t.space==="svg"?xn:_c,comments:[],esm:[],handle:Vc("type",{invalid:dd,unknown:xd,handlers:Object.assign({},{comment:yd,doctype:gd,element:bd,mdxjsEsm:vd,mdxFlowExpression:Mc,mdxJsxFlowElement:Uc,mdxJsxTextElement:Uc,mdxTextExpression:Mc,root:wd,text:kd},t.handlers)})},r=i.handle(e,i),s=i.esm;return r&&(r.type!=="JSXFragment"&&r.type!=="JSXElement"&&(r=ti(e,{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[r]})),s.push(ti(e,{type:"ExpressionStatement",expression:r}))),ti(e,{type:"Program",body:s,sourceType:"module",comments:i.comments})}function dd(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function xd(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function gd(){}function yd(e,t){let i=Ht(e,{type:"Block",value:e.value});return t.comments.push(i),ti(e,{type:"JSXExpressionContainer",expression:ti(e,{type:"JSXEmptyExpression",comments:[Object.assign({},i,{leading:!1,trailing:!0})]})})}function bd(e,t){let i=t.schema,r=i,s=e.properties||{};i.space==="html"&&e.tagName.toLowerCase()==="svg"&&(r=xn,t.schema=r);let a=ea(e,t),o=[],l;for(l in s)if($s.call(s,l)){let c=s[l],m=Ks(r,l),x;if(c==null||typeof c=="number"&&Number.isNaN(c)||c===!1||!c&&m.boolean)continue;if(l=m.space?fd[m.property]||m.property:m.attribute,Array.isArray(c)&&(c=m.commaSeparated?yc(c):Ic(c)),l==="style"){let w=typeof c=="string"?Ed(c,e.tagName):c,A=[],g;for(g in w)$s.call(w,g)&&A.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Identifier",name:g},value:{type:"Literal",value:String(w[g])},kind:"init"});x={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:A}}}else c===!0?x=null:x={type:"Literal",value:String(c)};Cd(l)?o.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:l},value:x}):o.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(l)},value:x||{type:"Literal",value:!0},kind:"init"}]}})}return t.schema=i,Ht(e,{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:ur(e.tagName),selfClosing:a.length===0},closingElement:a.length>0?{type:"JSXClosingElement",name:ur(e.tagName)}:null,children:a})}function vd(e,t){let i=e.data&&e.data.estree,r=i&&i.comments||[];i&&(t.comments.push(...r),sr(i,r),t.esm.push(...i.body))}function Mc(e,t){let i=e.data&&e.data.estree,r=i&&i.comments||[],s;return i&&(t.comments.push(...r),sr(i,i.comments),s=i.body[0]&&i.body[0].type==="ExpressionStatement"&&i.body[0].expression||void 0),Ht(e,{type:"JSXExpressionContainer",expression:s||ti(e,{type:"JSXEmptyExpression"})})}function Uc(e,t){let i=t.schema,r=i,s=e.attributes||[],a=-1;e.name&&i.space==="html"&&e.name.toLowerCase()==="svg"&&(r=xn,t.schema=r);let o=ea(e,t),l=[];for(;++a<s.length;){let c=s[a],m=c.value,x;if(c.type==="mdxJsxAttribute"){if(m==null)x=null;else if(typeof m=="object"){let w=m.data&&m.data.estree,A=w&&w.comments||[],g;w&&(t.comments.push(...A),sr(w,w.comments),g=w.body[0]&&w.body[0].type==="ExpressionStatement"&&w.body[0].expression||void 0),x=Ht(m,{type:"JSXExpressionContainer",expression:g||{type:"JSXEmptyExpression"}})}else x={type:"Literal",value:String(m)};l.push(Ht(c,{type:"JSXAttribute",name:ur(c.name,!0),value:x}))}else{let w=c.data&&c.data.estree,A=w&&w.comments||[],g;w&&(t.comments.push(...A),sr(w,w.comments),g=w.body[0]&&w.body[0].type==="ExpressionStatement"&&w.body[0].expression&&w.body[0].expression.type==="ObjectExpression"&&w.body[0].expression.properties&&w.body[0].expression.properties[0]&&w.body[0].expression.properties[0].type==="SpreadElement"&&w.body[0].expression.properties[0].argument||void 0),l.push(Ht(c,{type:"JSXSpreadAttribute",argument:g||{type:"ObjectExpression",properties:[]}}))}}return t.schema=i,Ht(e,e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:l,name:ur(e.name),selfClosing:o.length===0},closingElement:o.length>0?{type:"JSXClosingElement",name:ur(e.name)}:null,children:o}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:o})}function wd(e,t){let i=ea(e,t),r=[],s=-1,a;for(;++s<i.length;){let o=i[s];o.type==="JSXExpressionContainer"&&o.expression.type==="Literal"&&kc(o.expression.value)?a&&a.push(o):(a&&r.push(...a),r.push(o),a=[])}return Ht(e,{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:r})}function kd(e){let t=String(e.value||"");if(!!t)return ti(e,{type:"JSXExpressionContainer",expression:Ht(e,{type:"Literal",value:t})})}function ea(e,t){let i=e.children||[],r=-1,s=[],a=t.schema.space==="html"&&e.type==="element"&&md.has(e.tagName.toLowerCase());for(;++r<i.length;){let o=i[r];if(a&&o.type==="text"&&o.value===`
|
|
49
|
+
`)continue;let l=t.handle(o,t);Array.isArray(l)?s.push(...l):l&&s.push(l)}return s}function Ht(e,t){let i=e.data,r,s;if(ti(e,t),i){for(s in i)$s.call(i,s)&&s!=="estree"&&(r||(r={}),r[s]=i[s]);r&&(t.data=r)}return t}function ti(e,t){let i=cl(e);return i.start.line&&i.start.offset!==void 0&&i.end.offset!==void 0&&(t.start=i.start.offset,t.end=i.end.offset,t.loc={start:{line:i.start.line,column:i.start.column-1},end:{line:i.end.line,column:i.end.column-1}},t.range=[i.start.offset,i.end.offset]),t}var ur=function(e,t){if(!t&&e.includes(".")){let i=e.split("."),r=i.shift(),s={type:"JSXIdentifier",name:r};for(;r=i.shift();)s={type:"JSXMemberExpression",object:s,property:{type:"JSXIdentifier",name:r}};return s}if(e.includes(":")){let i=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:i[0]},name:{type:"JSXIdentifier",name:i[1]}}}return{type:"JSXIdentifier",name:e}};function Ed(e,t){let i={};try{(0,jc.default)(e,r)}catch(s){let a=s;throw a.message=t+"[style]"+a.message.slice("undefined".length),s}return i;function r(s,a){s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),i[s.replace(/-([a-z])/g,Ad)]=a}}function Ad(e,t){return t.toUpperCase()}function Cd(e){let t=-1;for(;++t<e.length;)if(!(t?i:Me)(e.charCodeAt(t)))return!1;return t>0;function i(r){return kt(r)||r===45}}function Jc(e){return t=>zc(t,e)}h();p();function qc(){return e=>{Li(e,"raw",(t,i,r)=>{if(r&&typeof i=="number")return r.children.splice(i,1),i})}}h();p();function Xc(){return e=>{Li(e,(t,i,r)=>{let s=-1,a=!0,o=!1;if(r&&typeof i=="number"&&t.type==="paragraph"){let l=t.children;for(;++s<l.length;){let c=l[s];if(c.type==="mdxJsxTextElement"||c.type==="mdxTextExpression")o=!0;else if(!(c.type==="text"&&/^[\t\r\n ]+$/.test(String(c.value)))){a=!1;break}}if(a&&o){s=-1;let c=[];for(;++s<l.length;){let m=l[s];m.type==="mdxJsxTextElement"&&(m.type="mdxJsxFlowElement"),m.type==="mdxTextExpression"&&(m.type="mdxFlowExpression"),m.type==="text"&&/^[\t\r\n ]+$/.test(String(m.value))||c.push(m)}return r.children.splice(i,1,...c),i}}if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement"){let l=t.data||(t.data={});l._mdxExplicitJsx=!0}})}}h();p();var Hc=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"];h();p();var Wc=!1;var Gc=["filepath","compilers","hastPlugins","mdPlugins","skipExport","wrapExport"];function Yc(e){let{development:t,jsx:i,format:r,outputFormat:s,providerImportSource:a,recmaPlugins:o,rehypePlugins:l,remarkPlugins:c,remarkRehypeOptions:m,elementAttributeNameCase:x,stylePropertyNameCase:w,SourceMapGenerator:A,...g}=e||{},E=t??Wc,S=-1;for(;++S<Gc.length;){let V=Gc[S];if(e&&V in e)throw new Error("`options."+V+"` is no longer supported. Please see <https://mdxjs.com/migrating/v2/> for more information")}if(r==="detect")throw new Error("Incorrect `format: 'detect'`: `createProcessor` can support either `md` or `mdx`; it does not support detecting the format");let T=Tn().use(nl);r!=="md"&&T.use(Es);let _=m?m.passThrough||[]:[];return T.use(Xc).use(c||[]).use(Bs,{...m,allowDangerousHtml:!0,passThrough:[..._,...Hc]}).use(l||[]),r==="md"&&T.use(qc),T.use(Jc,{elementAttributeNameCase:x,stylePropertyNameCase:w}).use(sc,{...g,outputFormat:s}).use(ac,{development:E,providerImportSource:a,outputFormat:s}),i||T.use(ec,{development:E,outputFormat:s}),T.use(gc,{SourceMapGenerator:A}).use(o||[]),T}h();p();h();p();h();p();var eh=Tt($c());var th=eh.default.map(e=>"."+e);function ih(e,t){let i=Sd(e)?e:new Ai(e),{format:r,...s}=t||{};return{file:i,options:{format:r==="md"||r==="mdx"?r:i.extname&&(s.mdExtensions||th).includes(i.extname)?"md":"mdx",...s}}}function Sd(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function rh(e,t){let{file:i,options:r}=ih(e,t);return Yc(r).process(i)}export{rh as compile};
|
|
50
50
|
/*!
|
|
51
51
|
* Determine if an object is a Buffer
|
|
52
52
|
*
|