@mongodb-js/compass-web 0.32.0 → 0.33.0

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.
Files changed (37) hide show
  1. package/dist/118.e053f5cd27a6e79a2160.mjs +2 -0
  2. package/dist/230.e76b85a956b5ff0706c2.mjs +2 -0
  3. package/dist/230.e76b85a956b5ff0706c2.mjs.LICENSE.txt +6 -0
  4. package/dist/441.5fc410ee58ba58d47fe4.mjs +1 -0
  5. package/dist/48.be0392778da3c0562c52.mjs +1 -0
  6. package/dist/498.daea3dd5edc53dc0e66a.mjs +2 -0
  7. package/dist/498.daea3dd5edc53dc0e66a.mjs.LICENSE.txt +16 -0
  8. package/dist/544.d44513cb6f77c37e5b28.mjs +2 -0
  9. package/dist/544.d44513cb6f77c37e5b28.mjs.LICENSE.txt +8 -0
  10. package/dist/575.e6ea1ed27328d76d52dd.mjs +378 -0
  11. package/dist/699.7f14395b39c971cc925a.mjs +2 -0
  12. package/dist/{752.be311c1a6bd153169544.mjs.LICENSE.txt → 699.7f14395b39c971cc925a.mjs.LICENSE.txt} +7 -7
  13. package/dist/73.8077b03a81cbf9ba8573.mjs +2 -0
  14. package/dist/{170.0c7c13457f8ab6403681.mjs.LICENSE.txt → 73.8077b03a81cbf9ba8573.mjs.LICENSE.txt} +0 -9
  15. package/dist/745.mjs +1 -0
  16. package/dist/917.5b479086294f58103ccc.mjs +23 -0
  17. package/dist/{651.0fd082f957775274f3cb.mjs.LICENSE.txt → 917.5b479086294f58103ccc.mjs.LICENSE.txt} +23 -0
  18. package/dist/922.mjs +1 -0
  19. package/dist/assets-manifest.json +11 -9
  20. package/dist/compass-web.d.ts +3 -2
  21. package/dist/compass-web.mjs +25 -25
  22. package/dist/index-bde52cb3.4e8bced0562abda72f91.mjs +1 -0
  23. package/package.json +43 -42
  24. package/dist/17.362fcb811ee2ff871d32.mjs +0 -2
  25. package/dist/170.0c7c13457f8ab6403681.mjs +0 -2
  26. package/dist/285.2ddf9e15aaf11bb22b0e.mjs +0 -2
  27. package/dist/285.2ddf9e15aaf11bb22b0e.mjs.LICENSE.txt +0 -5
  28. package/dist/427.ea0869d385dd7ebc1ee3.mjs +0 -2
  29. package/dist/427.ea0869d385dd7ebc1ee3.mjs.LICENSE.txt +0 -6
  30. package/dist/638.dc747e993cad73ab20a0.mjs +0 -372
  31. package/dist/651.0fd082f957775274f3cb.mjs +0 -23
  32. package/dist/752.be311c1a6bd153169544.mjs +0 -2
  33. package/dist/955.d2cd8c12c1697a9c2d41.mjs +0 -2
  34. package/dist/955.d2cd8c12c1697a9c2d41.mjs.LICENSE.txt +0 -13
  35. package/dist/index-bde52cb3.0f5ab0c9a2dfc578bd9d.mjs +0 -1
  36. /package/dist/{17.362fcb811ee2ff871d32.mjs.LICENSE.txt → 118.e053f5cd27a6e79a2160.mjs.LICENSE.txt} +0 -0
  37. /package/dist/{638.dc747e993cad73ab20a0.mjs.LICENSE.txt → 575.e6ea1ed27328d76d52dd.mjs.LICENSE.txt} +0 -0
@@ -1,23 +0,0 @@
1
- /*! For license information please see 651.0fd082f957775274f3cb.mjs.LICENSE.txt */
2
- export const __webpack_esm_id__=651;export const __webpack_esm_ids__=[651];export const __webpack_esm_modules__={68:(e,t,r)=>{var n=r(63713);e.exports={preEmit:function(){},shouldEmit:function(){return!0},listen:function(e,t){t=t||this;var r=function(r){i||e.apply(t,r)},n=this,i=!1;return this.emitter.addListener(this.eventLabel,r),function(){i=!0,n.emitter.removeListener(n.eventLabel,r)}},trigger:function(){var e=arguments,t=this.preEmit.apply(this,e);e=void 0===t?e:n.isArguments(t)?t:[].concat(t),this.shouldEmit.apply(this,e)&&this.emitter.emit(this.eventLabel,e)},triggerAsync:function(){var e=arguments,t=this;n.nextTick((function(){t.trigger.apply(t,e)}))},deferWith:function(e){var t=this.trigger,r=this,n=function(){t.apply(r,arguments)};this.trigger=function(){e.apply(r,[n].concat([].splice.call(arguments,0)))}}}},227:(e,t,r)=>{t.publicEncrypt=r(84213),t.privateDecrypt=r(3647),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},758:(e,t,r)=>{const{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:s,ObjectSetPrototypeOf:o}=r(12450);e.exports=u;const a=r(11444),l=r(12244);o(u.prototype,a.prototype),o(u,a);{const e=s(l.prototype);for(let t=0;t<e.length;t++){const r=e[t];u.prototype[r]||(u.prototype[r]=l.prototype[r])}}function u(e){if(!(this instanceof u))return new u(e);a.call(this,e),l.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}let c,p;function h(){return void 0===c&&(c={}),c}n(u.prototype,{writable:{__proto__:null,...i(l.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(l.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(l.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(l.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(l.prototype,"writableLength")},writableFinished:{__proto__:null,...i(l.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(l.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(l.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(l.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),u.fromWeb=function(e,t){return h().newStreamDuplexFromReadableWritablePair(e,t)},u.toWeb=function(e){return h().newReadableWritablePairFromDuplex(e)},u.from=function(e){return p||(p=r(60558)),p(e,"body")}},1057:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70161),i=r(6022),s=r(63706),o=r(41381),a=function(e){function t(){return e.apply(this,arguments)||this}(0,i.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){var t=new s.FeatureGroup(this.getOptions(e));return this.contextValue=(0,n.A)({},e.leaflet,{layerContainer:t,popupContainer:t}),t},r.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.setStyle(this.props)},t}(r(50093).A);const l=(0,o.k0)(a)},2232:(e,t,r)=>{r.d(t,{D4:()=>a,OY:()=>s,lF:()=>o});const n=55296,i=56320;function s(e){let t=0;const r=e.length;for(let s=0;s<r;s+=1){const o=e.charCodeAt(s);if(o<=127)t+=1;else if(o<=2047)t+=2;else if((63488&o)!==n)t+=3;else{const n=s+1;n===r||o>=i||(64512&e.charCodeAt(n))!==i?t+=3:(s=n,t+=4)}}return t}function o(e,t,r){const a=e.length;null==r&&(r=0),void 0===t&&(t=new Uint8Array(s(e)+r));let l=r;for(let r=0;r<a;r+=1){let s=e.charCodeAt(r);if(s<=127)t[l++]=s;else if(s<=2047)t[l++]=192|(1984&s)>>6,t[l++]=128|63&s;else if((63488&s)!==n)t[l++]=224|(61440&s)>>12,t[l++]=128|(4032&s)>>6,t[l++]=128|63&s;else{const n=r+1;if(n===a||s>=i)t[l++]=239,t[l++]=191,t[l++]=189;else{const o=e.charCodeAt(n);(64512&o)!==i?(t[l++]=239,t[l++]=191,t[l++]=189):(r=n,s=65536|(1023&s)<<10|1023&o,t[l++]=240|(1835008&s)>>18,t[l++]=128|(258048&s)>>12,t[l++]=128|(4032&s)>>6,t[l++]=128|63&s)}}}return o.bytes=l-r,t}function a(e,t,r){let s="";null==t&&(t=0),null==r&&(r=e.length);for(let o=t;o<r;){const t=e[o++];let r;if(t<=128)r=t;else if(t>191&&t<224)r=(31&t)<<6|63&e[o++];else if(t>239&&t<365){r=((7&t)<<18|(63&e[o++])<<12|(63&e[o++])<<6|63&e[o++])-65536;const a=n|r>>10&1023;s+=String.fromCharCode(a),r=i|1023&r}else r=(15&t)<<12|(63&e[o++])<<6|63&e[o++];s+=String.fromCharCode(r)}return a.bytes=r-t,s}o.bytes=0,a.bytes=0},2563:(e,t,r)=>{r.d(t,{G1:()=>s,PW:()=>n,Y:()=>i});const n=o("start"),i=o("end");function s(e){return{start:n(e),end:i(e)}}function o(e){return function(t){const r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}},2943:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},3647:(e,t,r)=>{var n=r(28113),i=r(63793),s=r(90978),o=r(75722),a=r(32427),l=r(49453),u=r(62670),c=r(79696).Buffer;e.exports=function(e,t,r){var p;p=e.padding?e.padding:r?1:4;var h,d=n(e),f=d.modulus.byteLength();if(t.length>f||new o(t).cmp(d.modulus)>=0)throw new Error("decryption error");h=r?u(new o(t),d):a(t,d);var m=c.alloc(f-h.length);if(h=c.concat([m,h],f),4===p)return function(e,t){var r=e.modulus.byteLength(),n=l("sha1").update(c.alloc(0)).digest(),o=n.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,o+1),u=t.slice(o+1),p=s(a,i(u,o)),h=s(u,i(p,r-o-1));if(function(e,t){e=c.from(e),t=c.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));for(var i=-1;++i<n;)r+=e[i]^t[i];return r}(n,h.slice(0,o)))throw new Error("decryption error");for(var d=o;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}(d,h);if(1===p)return function(e,t,r){for(var n=t.slice(0,2),i=2,s=0;0!==t[i++];)if(i>=t.length){s++;break}var o=t.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&s++,o.length<8&&s++,s)throw new Error("decryption error");return t.slice(i)}(0,h,r);if(3===p)return h;throw new Error("unknown padding")}},3675:(e,t,r)=>{const n=r(10659),i=r(57931),s=i.implSymbol,o=i.ctorRegistrySymbol;function a(e,t){let r;return void 0!==t&&(r=t.prototype),i.isObject(r)||(r=e[o].URL.prototype),Object.create(r)}t.is=e=>i.isObject(e)&&i.hasOwn(e,s)&&e[s]instanceof u.implementation,t.isImpl=e=>i.isObject(e)&&e instanceof u.implementation,t.convert=(e,r,{context:n="The provided value"}={})=>{if(t.is(r))return i.implForWrapper(r);throw new e.TypeError(`${n} is not of type 'URL'.`)},t.create=(e,r,n)=>{const i=a(e);return t.setup(i,e,r,n)},t.createImpl=(e,r,n)=>{const s=t.create(e,r,n);return i.implForWrapper(s)},t._internalSetup=(e,t)=>{},t.setup=(e,r,n=[],o={})=>(o.wrapper=e,t._internalSetup(e,r),Object.defineProperty(e,s,{value:new u.implementation(r,n,o),configurable:!0}),e[s][i.wrapperSymbol]=e,u.init&&u.init(e[s]),e),t.new=(e,r)=>{const n=a(e,r);return t._internalSetup(n,e),Object.defineProperty(n,s,{value:Object.create(u.implementation.prototype),configurable:!0}),n[s][i.wrapperSymbol]=n,u.init&&u.init(n[s]),n[s]};const l=new Set(["Window","Worker"]);t.install=(e,r)=>{if(!r.some((e=>l.has(e))))return;const o=i.initCtorRegistry(e);class a{constructor(r){if(arguments.length<1)throw new e.TypeError(`Failed to construct 'URL': 1 argument required, but only ${arguments.length} present.`);const i=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to construct 'URL': parameter 1",globals:e}),i.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to construct 'URL': parameter 2",globals:e})),i.push(t)}return t.setup(Object.create(new.target.prototype),e,i)}toJSON(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'toJSON' called on an object that is not a valid instance of URL.");return r[s].toJSON()}get href(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get href' called on an object that is not a valid instance of URL.");return r[s].href}set href(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set href' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'href' property on 'URL': The provided value",globals:e}),i[s].href=r}toString(){if(!t.is(this))throw new e.TypeError("'toString' called on an object that is not a valid instance of URL.");return this[s].href}get origin(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get origin' called on an object that is not a valid instance of URL.");return r[s].origin}get protocol(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get protocol' called on an object that is not a valid instance of URL.");return r[s].protocol}set protocol(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set protocol' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'protocol' property on 'URL': The provided value",globals:e}),i[s].protocol=r}get username(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get username' called on an object that is not a valid instance of URL.");return r[s].username}set username(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set username' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'username' property on 'URL': The provided value",globals:e}),i[s].username=r}get password(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get password' called on an object that is not a valid instance of URL.");return r[s].password}set password(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set password' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'password' property on 'URL': The provided value",globals:e}),i[s].password=r}get host(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get host' called on an object that is not a valid instance of URL.");return r[s].host}set host(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set host' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'host' property on 'URL': The provided value",globals:e}),i[s].host=r}get hostname(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get hostname' called on an object that is not a valid instance of URL.");return r[s].hostname}set hostname(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set hostname' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'hostname' property on 'URL': The provided value",globals:e}),i[s].hostname=r}get port(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get port' called on an object that is not a valid instance of URL.");return r[s].port}set port(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set port' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'port' property on 'URL': The provided value",globals:e}),i[s].port=r}get pathname(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get pathname' called on an object that is not a valid instance of URL.");return r[s].pathname}set pathname(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set pathname' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'pathname' property on 'URL': The provided value",globals:e}),i[s].pathname=r}get search(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get search' called on an object that is not a valid instance of URL.");return r[s].search}set search(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set search' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'search' property on 'URL': The provided value",globals:e}),i[s].search=r}get searchParams(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get searchParams' called on an object that is not a valid instance of URL.");return i.getSameObject(this,"searchParams",(()=>i.tryWrapperForImpl(r[s].searchParams)))}get hash(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get hash' called on an object that is not a valid instance of URL.");return r[s].hash}set hash(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'set hash' called on an object that is not a valid instance of URL.");r=n.USVString(r,{context:"Failed to set the 'hash' property on 'URL': The provided value",globals:e}),i[s].hash=r}static canParse(t){if(arguments.length<1)throw new e.TypeError(`Failed to execute 'canParse' on 'URL': 1 argument required, but only ${arguments.length} present.`);const r=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'canParse' on 'URL': parameter 1",globals:e}),r.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to execute 'canParse' on 'URL': parameter 2",globals:e})),r.push(t)}return u.implementation.canParse(...r)}}Object.defineProperties(a.prototype,{toJSON:{enumerable:!0},href:{enumerable:!0},toString:{enumerable:!0},origin:{enumerable:!0},protocol:{enumerable:!0},username:{enumerable:!0},password:{enumerable:!0},host:{enumerable:!0},hostname:{enumerable:!0},port:{enumerable:!0},pathname:{enumerable:!0},search:{enumerable:!0},searchParams:{enumerable:!0},hash:{enumerable:!0},[Symbol.toStringTag]:{value:"URL",configurable:!0}}),Object.defineProperties(a,{canParse:{enumerable:!0}}),o.URL=a,Object.defineProperty(e,"URL",{configurable:!0,writable:!0,value:a}),r.includes("Window")&&Object.defineProperty(e,"webkitURL",{configurable:!0,writable:!0,value:a})};const u=r(60494)},3720:(e,t,r)=>{var n=r(25003),i=r(38049),s=r(79696).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function p(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,h=0;h<16;++h)r[h]=e.readInt32BE(4*h);for(;h<80;++h)r[h]=(t=r[h-3]^r[h-8]^r[h-14]^r[h-16])<<1|t>>>31;for(var d=0;d<80;++d){var f=~~(d/20),m=u(n)+p(f,i,s,a)+l+r[d]+o[f]|0;l=a,a=s,s=c(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},3981:(e,t,r)=>{r.d(t,{Ay:()=>y});var n=r(60752),i=r(6022),s=r(96652),o=r.n(s),a=r(46410),l=r.n(a);var u=r(28104),c="unmounted",p="exited",h="entering",d="entered",f="exiting",m=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var i,s=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?s?(i=p,n.appearStatus=h):i=d:i=t.unmountOnExit||t.mountOnEnter?c:p,n.state={status:i},n.nextCallback=null,n}(0,i.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:p}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==h&&r!==d&&(t=h):r!==h&&r!==d||(t=f)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:c})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,i=this.props.nodeRef?[n]:[l().findDOMNode(this),n],s=i[0],o=i[1],a=this.getTimeouts(),u=n?a.appear:a.enter;e||r?(this.props.onEnter(s,o),this.safeSetState({status:h},(function(){t.props.onEntering(s,o),t.onTransitionEnd(u,(function(){t.safeSetState({status:d},(function(){t.props.onEntered(s,o)}))}))}))):this.safeSetState({status:d},(function(){t.props.onEntered(s)}))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:l().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:f},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:p},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:p},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],s=i[0],o=i[1];this.props.addEndListener(s,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,r=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o().createElement(u.A.Provider,{value:null},"function"==typeof r?r(e,i):o().cloneElement(o().Children.only(r),i))},t}(o().Component);function g(){}m.contextType=u.A,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=c,m.EXITED=p,m.ENTERING=h,m.ENTERED=d,m.EXITING=f;const y=m},4607:(e,t,r)=>{r.d(t,{BN:()=>i,E3:()=>n,xT:()=>p});for(var n={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),o=("undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)),a="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),l=o||s&&+s[1]<57,u=0;u<10;u++)n[48+u]=n[96+u]=String(u);for(u=1;u<=24;u++)n[u+111]="F"+u;for(u=65;u<=90;u++)n[u]=String.fromCharCode(u+32),i[u]=String.fromCharCode(u);for(var c in n)i.hasOwnProperty(c)||(i[c]=n[c]);function p(e){var t=!(l&&(e.ctrlKey||e.altKey||e.metaKey)||a&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?i:n)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}},4683:(e,t,r)=>{const n=r(66089),i=r(73047),{safeRe:s,t:o}=r(42229);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){const n=t.includePrerelease?s[o.COERCERTLFULL]:s[o.COERCERTL];let i;for(;(i=n.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),n.lastIndex=i.index+i[1].length+i[2].length;n.lastIndex=-1}else r=e.match(t.includePrerelease?s[o.COERCEFULL]:s[o.COERCE]);if(null===r)return null;const a=r[2],l=r[3]||"0",u=r[4]||"0",c=t.includePrerelease&&r[5]?`-${r[5]}`:"",p=t.includePrerelease&&r[6]?`+${r[6]}`:"";return i(`${a}.${l}.${u}${c}${p}`,t)}},4855:(e,t,r)=>{e.exports=r(62955)()},5038:(e,t,r)=>{var n=r(25003),i=r(38049),s=r(79696).Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64);function l(){this.init(),this._w=a,i.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function p(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function d(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,f=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)r[y]=e.readInt32BE(4*y);for(;y<64;++y)r[y]=0|(((t=r[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[y-7]+d(r[y-15])+r[y-16];for(var b=0;b<64;++b){var v=g+h(l)+u(l,f,m)+o[b]+r[b]|0,D=p(n)+c(n,i,s)|0;g=m,m=f,f=l,l=a+v|0,a=s,s=i,i=n,n=v+D|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0,this._f=f+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=s.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},6586:(e,t,r)=>{r.d(t,{Ay:()=>p});var n=r(96652);let i;i="undefined"!=typeof window?window:"undefined"!=typeof self?self:r.g;let s=null,o=null;const a=i.clearTimeout,l=i.setTimeout,u=i.cancelAnimationFrame||i.mozCancelAnimationFrame||i.webkitCancelAnimationFrame,c=i.requestAnimationFrame||i.mozRequestAnimationFrame||i.webkitRequestAnimationFrame;null==u||null==c?(s=a,o=function(e){return l(e,20)}):(s=function([e,t]){u(e),a(t)},o=function(e){const t=c((function(){a(r),e()})),r=l((function(){u(t),e()}),20);return[t,r]});class p extends n.Component{constructor(...e){super(...e),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:e,disableWidth:t,onResize:r}=this.props;if(this._parentNode){const n=window.getComputedStyle(this._parentNode)||{},i=parseFloat(n.paddingLeft||"0"),s=parseFloat(n.paddingRight||"0"),o=parseFloat(n.paddingTop||"0"),a=parseFloat(n.paddingBottom||"0"),l=this._parentNode.getBoundingClientRect(),u=l.height-o-a,c=l.width-i-s,p=this._parentNode.offsetHeight-o-a,h=this._parentNode.offsetWidth-i-s;(e||this.state.height===p&&this.state.scaledHeight===u)&&(t||this.state.width===h&&this.state.scaledWidth===c)||(this.setState({height:p,width:h,scaledHeight:u,scaledWidth:c}),"function"==typeof r&&r({height:p,scaledHeight:u,scaledWidth:c,width:h}))}},this._setRef=e=>{this._autoSizer=e}}componentDidMount(){const{nonce:e}=this.props,t=this._autoSizer?this._autoSizer.parentNode:null;if(null!=t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){this._parentNode=t;const r=t.ownerDocument.defaultView.ResizeObserver;null!=r?(this._resizeObserver=new r((()=>{this._timeoutId=setTimeout(this._onResize,0)})),this._resizeObserver.observe(t)):(this._detectElementResize=function(e){let t,r,n,a,l,u,c;const p="undefined"!=typeof document&&document.attachEvent;if(!p){u=function(e){const t=e.__resizeTriggers__,r=t.firstElementChild,n=t.lastElementChild,i=r.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,i.style.width=r.offsetWidth+1+"px",i.style.height=r.offsetHeight+1+"px",r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight},l=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},c=function(e){if(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)return;const t=this;u(this),this.__resizeRAF__&&s(this.__resizeRAF__),this.__resizeRAF__=o((function(){l(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(r){r.call(t,e)})))}))};let e=!1,i="";n="animationstart";const p="Webkit Moz O ms".split(" ");let h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d="";{const t=document.createElement("fakeelement");if(void 0!==t.style.animationName&&(e=!0),!1===e)for(let r=0;r<p.length;r++)if(void 0!==t.style[p[r]+"AnimationName"]){d=p[r],i="-"+d.toLowerCase()+"-",n=h[r],e=!0;break}}r="resizeanim",t="@"+i+"keyframes "+r+" { from { opacity: 0; } to { opacity: 0; } } ",a=i+"animation: 1ms "+r+"; "}return{addResizeListener:function(s,o){if(p)s.attachEvent("onresize",o);else{if(!s.__resizeTriggers__){const o=s.ownerDocument,l=i.getComputedStyle(s);l&&"static"===l.position&&(s.style.position="relative"),function(r){if(!r.getElementById("detectElementResize")){const n=(t||"")+".resize-triggers { "+(a||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',i=r.head||r.getElementsByTagName("head")[0],s=r.createElement("style");s.id="detectElementResize",s.type="text/css",null!=e&&s.setAttribute("nonce",e),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(r.createTextNode(n)),i.appendChild(s)}}(o),s.__resizeLast__={},s.__resizeListeners__=[],(s.__resizeTriggers__=o.createElement("div")).className="resize-triggers";const p=o.createElement("div");p.className="expand-trigger",p.appendChild(o.createElement("div"));const h=o.createElement("div");h.className="contract-trigger",s.__resizeTriggers__.appendChild(p),s.__resizeTriggers__.appendChild(h),s.appendChild(s.__resizeTriggers__),u(s),s.addEventListener("scroll",c,!0),n&&(s.__resizeTriggers__.__animationListener__=function(e){e.animationName===r&&u(s)},s.__resizeTriggers__.addEventListener(n,s.__resizeTriggers__.__animationListener__))}s.__resizeListeners__.push(o)}},removeResizeListener:function(e,t){if(p)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",c,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(n,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(t,this._onResize)),this._onResize()}}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),null!==this._timeoutId&&clearTimeout(this._timeoutId),this._resizeObserver&&this._resizeObserver.disconnect())}render(){const{children:e,defaultHeight:t,defaultWidth:r,disableHeight:i=!1,disableWidth:s=!1,doNotBailOutOnEmptyChildren:o=!1,nonce:a,onResize:l,style:u={},tagName:c="div",...p}=this.props,{height:h,scaledHeight:d,scaledWidth:f,width:m}=this.state,g={overflow:"visible"},y={};let b=!1;return i||(0===h&&(b=!0),g.height=0,y.height=h,y.scaledHeight=d),s||(0===m&&(b=!0),g.width=0,y.width=m,y.scaledWidth=f),o&&(b=!1),(0,n.createElement)(c,{ref:this._setRef,style:{...g,...u},...p},!b&&e(y))}}},6654:(e,t,r)=>{var n=r(24589),i=r(28020),s=r(29390),o=r(8675),a=r(28028),l=r(46445),u=o("Object.prototype.toString"),c=r(60381)(),p="undefined"==typeof globalThis?r.g:globalThis,h=i(),d=o("String.prototype.slice"),f=o("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},m={__proto__:null};n(h,c&&a&&l?function(e){var t=new p[e];if(Symbol.toStringTag in t&&l){var r=l(t),n=a(r,Symbol.toStringTag);if(!n&&r){var i=l(r);n=a(i,Symbol.toStringTag)}m["$"+e]=s(n.get)}}:function(e){var t=new p[e],r=t.slice||t.set;r&&(m["$"+e]=s(r))}),e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(u(e),8,-1);return f(h,t)>-1?t:"Object"===t&&function(e){var t=!1;return n(m,(function(r,n){if(!t)try{r(e),t=d(n,1)}catch(e){}})),t}(e)}return a?function(e){var t=!1;return n(m,(function(r,n){if(!t)try{"$"+r(e)===n&&(t=d(n,1))}catch(e){}})),t}(e):null}},7341:(e,t,r)=>{var n=r(65994).e;const i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=i},7915:(e,t,r)=>{const n=globalThis.AbortController||r(64279).AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:s,ERR_MISSING_ARGS:o,ERR_OUT_OF_RANGE:a},AbortError:l}=r(26503),{validateAbortSignal:u,validateInteger:c,validateObject:p}=r(79337),h=r(12450).Symbol("kWeak"),d=r(12450).Symbol("kResistStopPropagation"),{finished:f}=r(42882),m=r(16362),{addAbortSignalNoValidate:g}=r(90951),{isWritable:y,isNodeStream:b}=r(97967),{deprecate:v}=r(46108),{ArrayPrototypePush:D,Boolean:E,MathFloor:x,Number:w,NumberIsNaN:S,Promise:C,PromiseReject:A,PromiseResolve:T,PromisePrototypeThen:P,Symbol:F}=r(12450),I=F("kEmpty"),N=F("kEof");function k(e,t){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);null!=t&&p(t,"options"),null!=(null==t?void 0:t.signal)&&u(t.signal,"options.signal");let n=1;null!=(null==t?void 0:t.concurrency)&&(n=x(t.concurrency));let i=n-1;return null!=(null==t?void 0:t.highWaterMark)&&(i=x(t.highWaterMark)),c(n,"options.concurrency",1),c(i,"options.highWaterMark",0),i+=n,async function*(){const s=r(46108).AbortSignalAny([null==t?void 0:t.signal].filter(E)),o=this,a=[],u={signal:s};let c,p,h=!1,d=0;function f(){h=!0,m()}function m(){d-=1,g()}function g(){p&&!h&&d<n&&a.length<i&&(p(),p=null)}!async function(){try{for await(let t of o){if(h)return;if(s.aborted)throw new l;try{if(t=e(t,u),t===I)continue;t=T(t)}catch(e){t=A(e)}d+=1,P(t,m,f),a.push(t),c&&(c(),c=null),!h&&(a.length>=i||d>=n)&&await new C((e=>{p=e}))}a.push(N)}catch(e){const t=A(e);P(t,m,f),a.push(t)}finally{h=!0,c&&(c(),c=null)}}();try{for(;;){for(;a.length>0;){const e=await a[0];if(e===N)return;if(s.aborted)throw new l;e!==I&&(yield e),a.shift(),g()}await new C((e=>{c=e}))}}finally{h=!0,p&&(p(),p=null)}}.call(this)}async function _(e,t=void 0){for await(const r of O.call(this,e,t))return!0;return!1}function O(e,t){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);return k.call(this,(async function(t,r){return await e(t,r)?t:I}),t)}class M extends o{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}}function L(e){if(e=w(e),S(e))return 0;if(e<0)throw new a("number",">= 0",e);return e}e.exports.streamReturningOperators={asIndexedPairs:v((function(e=void 0){return null!=e&&p(e,"options"),null!=(null==e?void 0:e.signal)&&u(e.signal,"options.signal"),async function*(){let t=0;for await(const n of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new l({cause:e.signal.reason});yield[t++,n]}}.call(this)}),"readable.asIndexedPairs will be removed in a future version."),drop:function(e,t=void 0){return null!=t&&p(t,"options"),null!=(null==t?void 0:t.signal)&&u(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new l;for await(const r of this){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new l;e--<=0&&(yield r)}}.call(this)},filter:O,flatMap:function(e,t){const r=k.call(this,e,t);return async function*(){for await(const e of r)yield*e}.call(this)},map:k,take:function(e,t=void 0){return null!=t&&p(t,"options"),null!=(null==t?void 0:t.signal)&&u(t.signal,"options.signal"),e=L(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new l;for await(const r of this){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new l;if(e-- >0&&(yield r),e<=0)return}}.call(this)},compose:function(e,t){if(null!=t&&p(t,"options"),null!=(null==t?void 0:t.signal)&&u(t.signal,"options.signal"),b(e)&&!y(e))throw new i("stream",e,"must be writable");const r=m(this,e);return null!=t&&t.signal&&g(t.signal,r),r}},e.exports.promiseReturningOperators={every:async function(e,t=void 0){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);return!await _.call(this,(async(...t)=>!await e(...t)),t)},forEach:async function(e,t){if("function"!=typeof e)throw new s("fn",["Function","AsyncFunction"],e);for await(const r of k.call(this,(async function(t,r){return await e(t,r),I}),t));},reduce:async function(e,t,r){var i;if("function"!=typeof e)throw new s("reducer",["Function","AsyncFunction"],e);null!=r&&p(r,"options"),null!=(null==r?void 0:r.signal)&&u(r.signal,"options.signal");let o=arguments.length>1;if(null!=r&&null!==(i=r.signal)&&void 0!==i&&i.aborted){const e=new l(void 0,{cause:r.signal.reason});throw this.once("error",(()=>{})),await f(this.destroy(e)),e}const a=new n,c=a.signal;if(null!=r&&r.signal){const e={once:!0,[h]:this,[d]:!0};r.signal.addEventListener("abort",(()=>a.abort()),e)}let m=!1;try{for await(const n of this){var g;if(m=!0,null!=r&&null!==(g=r.signal)&&void 0!==g&&g.aborted)throw new l;o?t=await e(t,n,{signal:c}):(t=n,o=!0)}if(!m&&!o)throw new M}finally{a.abort()}return t},toArray:async function(e){null!=e&&p(e,"options"),null!=(null==e?void 0:e.signal)&&u(e.signal,"options.signal");const t=[];for await(const n of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new l(void 0,{cause:e.signal.reason});D(t,n)}return t},some:_,find:async function(e,t){for await(const r of O.call(this,e,t))return r}}},9606:(e,t,r)=>{const{URL:n,URLSearchParams:i}=r(17066),s=r(28783),o=r(92161),a={Array,Object,Promise,String,TypeError};n.install(a,["Window"]),i.install(a,["Window"]),t.URL=a.URL,t.URLSearchParams=a.URLSearchParams,t.parseURL=s.parseURL,t.basicURLParse=s.basicURLParse,t.serializeURL=s.serializeURL,t.serializePath=s.serializePath,t.serializeHost=s.serializeHost,t.serializeInteger=s.serializeInteger,t.serializeURLOrigin=s.serializeURLOrigin,t.setTheUsername=s.setTheUsername,t.setThePassword=s.setThePassword,t.cannotHaveAUsernamePasswordPort=s.cannotHaveAUsernamePasswordPort,t.hasAnOpaquePath=s.hasAnOpaquePath,t.percentDecodeString=o.percentDecodeString,t.percentDecodeBytes=o.percentDecodeBytes},10626:(e,t,r)=>{var n=r(65994).e;void 0===n||!n.version||0===n.version.indexOf("v0.")||0===n.version.indexOf("v1.")&&0!==n.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var s,o,a=arguments.length;switch(a){case 0:case 1:return n.nextTick(e);case 2:return n.nextTick((function(){e.call(null,t)}));case 3:return n.nextTick((function(){e.call(null,t,r)}));case 4:return n.nextTick((function(){e.call(null,t,r,i)}));default:for(s=new Array(a-1),o=0;o<s.length;)s[o++]=arguments[o];return n.nextTick((function(){e.apply(null,s)}))}}}:e.exports=n},10659:(e,t)=>{function r(e,t,r){return r.globals&&(e=r.globals[e.name]),new e(`${r.context?r.context:"Value"} ${t}.`)}function n(e,t){if("bigint"==typeof e)throw r(TypeError,"is a BigInt which cannot be converted to a number",t);return t.globals?t.globals.Number(e):Number(e)}function i(e){return a(e>0&&e%1==.5&&!(1&e)||e<0&&e%1==-.5&&!(1&~e)?Math.floor(e):Math.round(e))}function s(e){return a(Math.trunc(e))}function o(e){return e<0?-1:1}function a(e){return 0===e?0:e}function l(e,{unsigned:t}){let l,u;t?(l=0,u=2**e-1):(l=-(2**(e-1)),u=2**(e-1)-1);const c=2**e,p=2**(e-1);return(e,h={})=>{let d=n(e,h);if(d=a(d),h.enforceRange){if(!Number.isFinite(d))throw r(TypeError,"is not a finite number",h);if(d=s(d),d<l||d>u)throw r(TypeError,`is outside the accepted range of ${l} to ${u}, inclusive`,h);return d}return!Number.isNaN(d)&&h.clamp?(d=Math.min(Math.max(d,l),u),d=i(d),d):Number.isFinite(d)&&0!==d?(d=s(d),d>=l&&d<=u?d:(d=function(e,t){const r=e%t;return o(t)!==o(r)?r+t:r}(d,c),!t&&d>=p?d-c:d)):0}}function u(e,{unsigned:t}){const o=Number.MAX_SAFE_INTEGER,l=t?0:Number.MIN_SAFE_INTEGER,u=t?BigInt.asUintN:BigInt.asIntN;return(t,c={})=>{let p=n(t,c);if(p=a(p),c.enforceRange){if(!Number.isFinite(p))throw r(TypeError,"is not a finite number",c);if(p=s(p),p<l||p>o)throw r(TypeError,`is outside the accepted range of ${l} to ${o}, inclusive`,c);return p}if(!Number.isNaN(p)&&c.clamp)return p=Math.min(Math.max(p,l),o),p=i(p),p;if(!Number.isFinite(p)||0===p)return 0;let h=BigInt(s(p));return h=u(e,h),Number(h)}}t.any=e=>e,t.undefined=()=>{},t.boolean=e=>Boolean(e),t.byte=l(8,{unsigned:!1}),t.octet=l(8,{unsigned:!0}),t.short=l(16,{unsigned:!1}),t["unsigned short"]=l(16,{unsigned:!0}),t.long=l(32,{unsigned:!1}),t["unsigned long"]=l(32,{unsigned:!0}),t["long long"]=u(64,{unsigned:!1}),t["unsigned long long"]=u(64,{unsigned:!0}),t.double=(e,t={})=>{const i=n(e,t);if(!Number.isFinite(i))throw r(TypeError,"is not a finite floating-point value",t);return i},t["unrestricted double"]=(e,t={})=>n(e,t),t.float=(e,t={})=>{const i=n(e,t);if(!Number.isFinite(i))throw r(TypeError,"is not a finite floating-point value",t);if(Object.is(i,-0))return i;const s=Math.fround(i);if(!Number.isFinite(s))throw r(TypeError,"is outside the range of a single-precision floating-point value",t);return s},t["unrestricted float"]=(e,t={})=>{const r=n(e,t);return isNaN(r)||Object.is(r,-0)?r:Math.fround(r)},t.DOMString=(e,t={})=>{if(t.treatNullAsEmptyString&&null===e)return"";if("symbol"==typeof e)throw r(TypeError,"is a symbol, which cannot be converted to a string",t);return(t.globals?t.globals.String:String)(e)},t.ByteString=(e,n={})=>{const i=t.DOMString(e,n);let s;for(let e=0;void 0!==(s=i.codePointAt(e));++e)if(s>255)throw r(TypeError,"is not a valid ByteString",n);return i},t.USVString=(e,r={})=>{const n=t.DOMString(e,r),i=n.length,s=[];for(let e=0;e<i;++e){const t=n.charCodeAt(e);if(t<55296||t>57343)s.push(String.fromCodePoint(t));else if(56320<=t&&t<=57343)s.push(String.fromCodePoint(65533));else if(e===i-1)s.push(String.fromCodePoint(65533));else{const r=n.charCodeAt(e+1);if(56320<=r&&r<=57343){const n=1023&t,i=1023&r;s.push(String.fromCodePoint(65536+1024*n+i)),++e}else s.push(String.fromCodePoint(65533))}}return s.join("")},t.object=(e,t={})=>{if(null===e||"object"!=typeof e&&"function"!=typeof e)throw r(TypeError,"is not an object",t);return e};const c=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,p="function"==typeof SharedArrayBuffer?Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get:null;function h(e){try{return c.call(e),!0}catch{return!1}}function d(e){try{return p.call(e),!0}catch{return!1}}function f(e){try{return new Uint8Array(e),!1}catch{return!0}}t.ArrayBuffer=(e,t={})=>{if(!h(e)){if(t.allowShared&&!d(e))throw r(TypeError,"is not an ArrayBuffer or SharedArrayBuffer",t);throw r(TypeError,"is not an ArrayBuffer",t)}if(f(e))throw r(TypeError,"is a detached ArrayBuffer",t);return e};const m=Object.getOwnPropertyDescriptor(DataView.prototype,"byteLength").get;t.DataView=(e,t={})=>{try{m.call(e)}catch(e){throw r(TypeError,"is not a DataView",t)}if(!t.allowShared&&d(e.buffer))throw r(TypeError,"is backed by a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw r(TypeError,"is backed by a detached ArrayBuffer",t);return e};const g=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Uint8Array).prototype,Symbol.toStringTag).get;[Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach((e=>{const{name:n}=e,i=/^[AEIOU]/u.test(n)?"an":"a";t[n]=(e,t={})=>{if(!ArrayBuffer.isView(e)||g.call(e)!==n)throw r(TypeError,`is not ${i} ${n} object`,t);if(!t.allowShared&&d(e.buffer))throw r(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw r(TypeError,"is a view on a detached ArrayBuffer",t);return e}})),t.ArrayBufferView=(e,t={})=>{if(!ArrayBuffer.isView(e))throw r(TypeError,"is not a view on an ArrayBuffer or SharedArrayBuffer",t);if(!t.allowShared&&d(e.buffer))throw r(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw r(TypeError,"is a view on a detached ArrayBuffer",t);return e},t.BufferSource=(e,t={})=>{if(ArrayBuffer.isView(e)){if(!t.allowShared&&d(e.buffer))throw r(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",t);if(f(e.buffer))throw r(TypeError,"is a view on a detached ArrayBuffer",t);return e}if(!t.allowShared&&!h(e))throw r(TypeError,"is not an ArrayBuffer or a view on one",t);if(t.allowShared&&!d(e)&&!h(e))throw r(TypeError,"is not an ArrayBuffer, SharedArrayBuffer, or a view on one",t);if(f(e))throw r(TypeError,"is a detached ArrayBuffer",t);return e},t.DOMTimeStamp=t["unsigned long long"]},10743:(e,t,r)=>{r.d(t,{E:()=>s});const n=9,i=32;function s(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),i=0;const s=[];for(;n;)s.push(o(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return s.push(o(t.slice(i),i>0,!1)),s.join("")}function o(e,t,r){let s=0,o=e.length;if(t){let t=e.codePointAt(s);for(;t===n||t===i;)s++,t=e.codePointAt(s)}if(r){let t=e.codePointAt(o-1);for(;t===n||t===i;)o--,t=e.codePointAt(o-1)}return o>s?e.slice(s,o):""}},10873:(e,t,r)=>{e.exports=r(93099)},11444:(e,t,r)=>{const n=r(98999),{ArrayPrototypeIndexOf:i,NumberIsInteger:s,NumberIsNaN:o,NumberParseInt:a,ObjectDefineProperties:l,ObjectKeys:u,ObjectSetPrototypeOf:c,Promise:p,SafeSet:h,SymbolAsyncDispose:d,SymbolAsyncIterator:f,Symbol:m}=r(12450);e.exports=X,X.ReadableState=K;const{EventEmitter:g}=r(8763),{Stream:y,prependListener:b}=r(39831),{Buffer:v}=r(67787),{addAbortSignal:D}=r(90951),E=r(42882);let x=r(46108).debuglog("stream",(e=>{x=e}));const w=r(97957),S=r(28476),{getHighWaterMark:C,getDefaultHighWaterMark:A}=r(97863),{aggregateTwoErrors:T,codes:{ERR_INVALID_ARG_TYPE:P,ERR_METHOD_NOT_IMPLEMENTED:F,ERR_OUT_OF_RANGE:I,ERR_STREAM_PUSH_AFTER_EOF:N,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:k},AbortError:_}=r(26503),{validateObject:O}=r(79337),M=m("kPaused"),{StringDecoder:L}=r(52244),B=r(79112);c(X.prototype,y.prototype),c(X,y);const R=()=>{},{errorOrDestroy:j}=S,$=1,U=16,z=32,V=64,W=2048,H=4096,q=65536;function G(e){return{enumerable:!1,get(){return!!(this.state&e)},set(t){t?this.state|=e:this.state&=~e}}}function K(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(758)),this.state=W|H|U|z,e&&e.objectMode&&(this.state|=$),n&&e&&e.readableObjectMode&&(this.state|=$),this.highWaterMark=e?C(this,e,"readableHighWaterMark",n):A(!1),this.buffer=new w,this.length=0,this.pipes=[],this.flowing=null,this[M]=null,e&&!1===e.emitClose&&(this.state&=~W),e&&!1===e.autoDestroy&&(this.state&=~H),this.errored=null,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new L(e.encoding),this.encoding=e.encoding)}function X(e){if(!(this instanceof X))return new X(e);const t=this instanceof r(758);this._readableState=new K(e,this,t),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&D(e.signal,this)),y.call(this,e),S.construct(this,(()=>{this._readableState.needReadable&&te(this,this._readableState)}))}function J(e,t,r,n){x("readableAddChunk",t);const i=e._readableState;let s;if(i.state&$||("string"==typeof t?(r=r||i.defaultEncoding,i.encoding!==r&&(n&&i.encoding?t=v.from(t,r).toString(i.encoding):(t=v.from(t,r),r=""))):t instanceof v?r="":y._isUint8Array(t)?(t=y._uint8ArrayToBuffer(t),r=""):null!=t&&(s=new P("chunk",["string","Buffer","Uint8Array"],t))),s)j(e,s);else if(null===t)i.state&=-9,function(e,t){if(x("onEofChunk"),!t.ended){if(t.decoder){const e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?Q(e):(t.needReadable=!1,t.emittedReadable=!0,ee(e))}}(e,i);else if(i.state&$||t&&t.length>0)if(n)if(4&i.state)j(e,new k);else{if(i.destroyed||i.errored)return!1;Y(e,i,t,!0)}else if(i.ended)j(e,new N);else{if(i.destroyed||i.errored)return!1;i.state&=-9,i.decoder&&!r?(t=i.decoder.write(t),i.objectMode||0!==t.length?Y(e,i,t,!1):te(e,i)):Y(e,i,t,!1)}else n||(i.state&=-9,te(e,i));return!i.ended&&(i.length<i.highWaterMark||0===i.length)}function Y(e,t,r,n){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(t.state&q?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.state&V&&Q(e)),te(e,t)}function Z(e,t){return e<=0||0===t.length&&t.ended?0:t.state&$?1:o(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function Q(e){const t=e._readableState;x("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(x("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(ee,e))}function ee(e){const t=e._readableState;x("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||t.errored||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,oe(e)}function te(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(re,e,t))}function re(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){const r=t.length;if(x("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function ne(e){const t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[M]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function ie(e){x("readable nexttick read 0"),e.read(0)}function se(e,t){x("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),oe(e),t.flowing&&!t.reading&&e.read(0)}function oe(e){const t=e._readableState;for(x("flow",t.flowing);t.flowing&&null!==e.read(););}function ae(e,t){"function"!=typeof e.read&&(e=X.wrap(e,{objectMode:!0}));const r=async function*(e,t){let r,n=R;function i(t){this===e?(n(),n=R):n=t}e.on("readable",i);const s=E(e,{writable:!1},(e=>{r=e?T(r,e):null,n(),n=R}));try{for(;;){const t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(r)throw r;if(null===r)return;await new p(i)}}}catch(e){throw r=T(r,e),r}finally{!r&&!1===(null==t?void 0:t.destroyOnReturn)||void 0!==r&&!e._readableState.autoDestroy?(e.off("readable",i),s()):S.destroyer(e,null)}}(e,t);return r.stream=e,r}function le(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function ue(e){const t=e._readableState;x("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(ce,t,e))}function ce(e,t){if(x("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)n.nextTick(pe,t);else if(e.autoDestroy){const e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function pe(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}let he;function de(){return void 0===he&&(he={}),he}l(K.prototype,{objectMode:G($),ended:G(2),endEmitted:G(4),reading:G(8),constructed:G(U),sync:G(z),needReadable:G(V),emittedReadable:G(128),readableListening:G(256),resumeScheduled:G(512),errorEmitted:G(1024),emitClose:G(W),autoDestroy:G(H),destroyed:G(8192),closed:G(16384),closeEmitted:G(32768),multiAwaitDrain:G(q),readingMore:G(1<<17),dataEmitted:G(1<<18)}),X.prototype.destroy=S.destroy,X.prototype._undestroy=S.undestroy,X.prototype._destroy=function(e,t){t(e)},X.prototype[g.captureRejectionSymbol]=function(e){this.destroy(e)},X.prototype[d]=function(){let e;return this.destroyed||(e=this.readableEnded?null:new _,this.destroy(e)),new p(((t,r)=>E(this,(n=>n&&n!==e?r(n):t(null)))))},X.prototype.push=function(e,t){return J(this,e,t,!1)},X.prototype.unshift=function(e,t){return J(this,e,t,!0)},X.prototype.isPaused=function(){const e=this._readableState;return!0===e[M]||!1===e.flowing},X.prototype.setEncoding=function(e){const t=new L(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;const r=this._readableState.buffer;let n="";for(const e of r)n+=t.write(e);return r.clear(),""!==n&&r.push(n),this._readableState.length=n.length,this},X.prototype.read=function(e){x("read",e),void 0===e?e=NaN:s(e)||(e=a(e,10));const t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new I("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.state&=-129),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return x("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?ue(this):Q(this),null;if(0===(e=Z(e,t))&&t.ended)return 0===t.length&&ue(this),null;let n,i=!!(t.state&V);if(x("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,x("length less than watermark",i)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)i=!1,x("reading, ended or constructing",i);else if(i){x("do read"),t.state|=8|z,0===t.length&&(t.state|=V);try{this._read(t.highWaterMark)}catch(e){j(this,e)}t.state&=~z,t.reading||(e=Z(r,t))}return n=e>0?le(e,t):null,null===n?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&ue(this)),null===n||t.errorEmitted||t.closeEmitted||(t.dataEmitted=!0,this.emit("data",n)),n},X.prototype._read=function(e){throw new F("_read()")},X.prototype.pipe=function(e,t){const r=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new h(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(e),x("pipe count=%d opts=%j",i.pipes.length,t);const s=t&&!1===t.end||e===n.stdout||e===n.stderr?m:o;function o(){x("onend"),e.end()}let a;i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",(function t(n,s){x("onunpipe"),n===r&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,x("cleanup"),e.removeListener("close",d),e.removeListener("finish",f),a&&e.removeListener("drain",a),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",o),r.removeListener("end",m),r.removeListener("data",c),l=!0,a&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&a())}));let l=!1;function u(){l||(1===i.pipes.length&&i.pipes[0]===e?(x("false write response, pause",0),i.awaitDrainWriters=e,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(e)&&(x("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(e)),r.pause()),a||(a=function(e,t){return function(){const r=e._readableState;r.awaitDrainWriters===t?(x("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(x("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),r.awaitDrainWriters&&0!==r.awaitDrainWriters.size||!e.listenerCount("data")||e.resume()}}(r,e),e.on("drain",a))}function c(t){x("ondata");const r=e.write(t);x("dest.write",r),!1===r&&u()}function p(t){if(x("onerror",t),m(),e.removeListener("error",p),0===e.listenerCount("error")){const r=e._writableState||e._readableState;r&&!r.errorEmitted?j(e,t):e.emit("error",t)}}function d(){e.removeListener("finish",f),m()}function f(){x("onfinish"),e.removeListener("close",d),m()}function m(){x("unpipe"),r.unpipe(e)}return r.on("data",c),b(e,"error",p),e.once("close",d),e.once("finish",f),e.emit("pipe",r),!0===e.writableNeedDrain?u():i.flowing||(x("pipe resume"),r.resume()),e},X.prototype.unpipe=function(e){const t=this._readableState;if(0===t.pipes.length)return this;if(!e){const e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}const r=i(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},X.prototype.on=function(e,t){const r=y.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,x("on readable",i.length,i.reading),i.length?Q(this):i.reading||n.nextTick(ie,this))),r},X.prototype.addListener=X.prototype.on,X.prototype.removeListener=function(e,t){const r=y.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(ne,this),r},X.prototype.off=X.prototype.removeListener,X.prototype.removeAllListeners=function(e){const t=y.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(ne,this),t},X.prototype.resume=function(){const e=this._readableState;return e.flowing||(x("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(se,e,t))}(this,e)),e[M]=!1,this},X.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[M]=!0,this},X.prototype.wrap=function(e){let t=!1;e.on("data",(r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{j(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};const r=u(e);for(let t=1;t<r.length;t++){const n=r[t];void 0===this[n]&&"function"==typeof e[n]&&(this[n]=e[n].bind(e))}return this},X.prototype[f]=function(){return ae(this)},X.prototype.iterator=function(e){return void 0!==e&&O(e,"options"),ae(this,e)},l(X.prototype,{readable:{__proto__:null,get(){const e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),l(K.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[M]},set(e){this[M]=!!e}}}),X._fromList=le,X.from=function(e,t){return B(X,e,t)},X.fromWeb=function(e,t){return de().newStreamReadableFromReadableStream(e,t)},X.toWeb=function(e,t){return de().newReadableStreamFromStreamReadable(e,t)},X.wrap=function(e,t){var r,n;return new X({objectMode:null===(r=null!==(n=e.readableObjectMode)&&void 0!==n?n:e.objectMode)||void 0===r||r,...t,destroy(t,r){S.destroyer(e,t),r(t)}}).wrap(e)}},12244:(e,t,r)=>{const n=r(98999),{ArrayPrototypeSlice:i,Error:s,FunctionPrototypeSymbolHasInstance:o,ObjectDefineProperty:a,ObjectDefineProperties:l,ObjectSetPrototypeOf:u,StringPrototypeToLowerCase:c,Symbol:p,SymbolHasInstance:h}=r(12450);e.exports=O,O.WritableState=k;const{EventEmitter:d}=r(8763),f=r(39831).Stream,{Buffer:m}=r(67787),g=r(28476),{addAbortSignal:y}=r(90951),{getHighWaterMark:b,getDefaultHighWaterMark:v}=r(97863),{ERR_INVALID_ARG_TYPE:D,ERR_METHOD_NOT_IMPLEMENTED:E,ERR_MULTIPLE_CALLBACK:x,ERR_STREAM_CANNOT_PIPE:w,ERR_STREAM_DESTROYED:S,ERR_STREAM_ALREADY_FINISHED:C,ERR_STREAM_NULL_VALUES:A,ERR_STREAM_WRITE_AFTER_END:T,ERR_UNKNOWN_ENCODING:P}=r(26503).codes,{errorOrDestroy:F}=g;function I(){}u(O.prototype,f.prototype),u(O,f);const N=p("kOnFinished");function k(e,t,n){"boolean"!=typeof n&&(n=t instanceof r(758)),this.objectMode=!(!e||!e.objectMode),n&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?b(this,e,"writableHighWaterMark",n):v(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const i=!(!e||!1!==e.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=R.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,_(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[N]=[]}function _(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function O(e){const t=this instanceof r(758);if(!t&&!o(O,this))return new O(e);this._writableState=new k(e,this,t),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&y(e.signal,this)),f.call(this,e),g.construct(this,(()=>{const e=this._writableState;e.writing||z(this,e),W(this,e)}))}function M(e,t,r,i){const s=e._writableState;if("function"==typeof r)i=r,r=s.defaultEncoding;else{if(r){if("buffer"!==r&&!m.isEncoding(r))throw new P(r)}else r=s.defaultEncoding;"function"!=typeof i&&(i=I)}if(null===t)throw new A;if(!s.objectMode)if("string"==typeof t)!1!==s.decodeStrings&&(t=m.from(t,r),r="buffer");else if(t instanceof m)r="buffer";else{if(!f._isUint8Array(t))throw new D("chunk",["string","Buffer","Uint8Array"],t);t=f._uint8ArrayToBuffer(t),r="buffer"}let o;return s.ending?o=new T:s.destroyed&&(o=new S("write")),o?(n.nextTick(i,o),F(e,o,!0),o):(s.pendingcb++,function(e,t,r,n,i){const s=t.objectMode?1:r.length;t.length+=s;const o=t.length<t.highWaterMark;return o||(t.needDrain=!0),t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:n,callback:i}),t.allBuffers&&"buffer"!==n&&(t.allBuffers=!1),t.allNoop&&i!==I&&(t.allNoop=!1)):(t.writelen=s,t.writecb=i,t.writing=!0,t.sync=!0,e._write(r,n,t.onwrite),t.sync=!1),o&&!t.errored&&!t.destroyed}(e,s,t,r,i))}function L(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new S("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function B(e,t,r,n){--t.pendingcb,n(r),U(t),F(e,r)}function R(e,t){const r=e._writableState,i=r.sync,s=r.writecb;"function"==typeof s?(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t?(t.stack,r.errored||(r.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),i?n.nextTick(B,e,r,t,s):B(e,r,t,s)):(r.buffered.length>r.bufferedIndex&&z(e,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===s?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:s,stream:e,state:r},n.nextTick(j,r.afterWriteTickInfo)):$(e,r,1,s))):F(e,new x)}function j({stream:e,state:t,count:r,cb:n}){return t.afterWriteTickInfo=null,$(e,t,r,n)}function $(e,t,r,n){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,n();t.destroyed&&U(t),W(e,t)}function U(e){if(e.writing)return;for(let r=e.bufferedIndex;r<e.buffered.length;++r){var t;const{chunk:n,callback:i}=e.buffered[r],s=e.objectMode?1:n.length;e.length-=s,i(null!==(t=e.errored)&&void 0!==t?t:new S("write"))}const r=e[N].splice(0);for(let t=0;t<r.length;t++){var n;r[t](null!==(n=e.errored)&&void 0!==n?n:new S("end"))}_(e)}function z(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;const{buffered:r,bufferedIndex:n,objectMode:s}=t,o=r.length-n;if(!o)return;let a=n;if(t.bufferProcessing=!0,o>1&&e._writev){t.pendingcb-=o-1;const n=t.allNoop?I:e=>{for(let t=a;t<r.length;++t)r[t].callback(e)},s=t.allNoop&&0===a?r:i(r,a);s.allBuffers=t.allBuffers,L(e,t,!0,t.length,s,"",n),_(t)}else{do{const{chunk:n,encoding:i,callback:o}=r[a];r[a++]=null,L(e,t,!1,s?1:n.length,n,i,o)}while(a<r.length&&!t.writing);a===r.length?_(t):a>256?(r.splice(0,a),t.bufferedIndex=0):t.bufferedIndex=a}t.bufferProcessing=!1}function V(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function W(e,t,r){V(t)&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let r=!1;function i(i){if(r)F(e,null!=i?i:x());else if(r=!0,t.pendingcb--,i){const r=t[N].splice(0);for(let e=0;e<r.length;e++)r[e](i);F(e,i,t.sync)}else V(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,n.nextTick(H,e,t))}t.sync=!0,t.pendingcb++;try{e._final(i)}catch(e){i(e)}t.sync=!1}(e,t)))}(e,t),0===t.pendingcb&&(r?(t.pendingcb++,n.nextTick(((e,t)=>{V(t)?H(e,t):t.pendingcb--}),e,t)):V(t)&&(t.pendingcb++,H(e,t))))}function H(e,t){t.pendingcb--,t.finished=!0;const r=t[N].splice(0);for(let e=0;e<r.length;e++)r[e]();if(e.emit("finish"),t.autoDestroy){const t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}k.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},a(k.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),a(O,h,{__proto__:null,value:function(e){return!!o(this,e)||this===O&&e&&e._writableState instanceof k}}),O.prototype.pipe=function(){F(this,new w)},O.prototype.write=function(e,t,r){return!0===M(this,e,t,r)},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){const e=this._writableState;e.corked&&(e.corked--,e.writing||z(this,e))},O.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!m.isEncoding(e))throw new P(e);return this._writableState.defaultEncoding=e,this},O.prototype._write=function(e,t,r){if(!this._writev)throw new E("_write()");this._writev([{chunk:e,encoding:t}],r)},O.prototype._writev=null,O.prototype.end=function(e,t,r){const i=this._writableState;let o;if("function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e){const r=M(this,e,t);r instanceof s&&(o=r)}return i.corked&&(i.corked=1,this.uncork()),o||(i.errored||i.ending?i.finished?o=new C("end"):i.destroyed&&(o=new S("end")):(i.ending=!0,W(this,i,!0),i.ended=!0)),"function"==typeof r&&(o||i.finished?n.nextTick(r,o):i[N].push(r)),this},l(O.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){const e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){const e=this._writableState;return!!e&&!e.destroyed&&!e.ending&&e.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});const q=g.destroy;let G;function K(){return void 0===G&&(G={}),G}O.prototype.destroy=function(e,t){const r=this._writableState;return!r.destroyed&&(r.bufferedIndex<r.buffered.length||r[N].length)&&n.nextTick(U,r),q.call(this,e,t),this},O.prototype._undestroy=g.undestroy,O.prototype._destroy=function(e,t){t(e)},O.prototype[d.captureRejectionSymbol]=function(e){this.destroy(e)},O.fromWeb=function(e,t){return K().newStreamWritableFromWritableStream(e,t)},O.toWeb=function(e){return K().newWritableStreamFromStreamWritable(e)}},12450:e=>{e.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),PromiseResolve:e=>Promise.resolve(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Boolean,Uint8Array}},13463:(e,t,r)=>{r.d(t,{Wx:()=>f});var n=r(96652);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}var o=new Map,a=new WeakMap,l=0,u=void 0;function c(e,t,r,n){if(void 0===r&&(r={}),void 0===n&&(n=u),void 0===window.IntersectionObserver&&void 0!==n){var i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var s=function(e){var t=function(e){return Object.keys(e).sort().filter((function(t){return void 0!==e[t]})).map((function(t){return t+"_"+("root"===t?(r=e.root)?(a.has(r)||(l+=1,a.set(r,l.toString())),a.get(r)):"0":e[t]);var r})).toString()}(e),r=o.get(t);if(!r){var n,i=new Map,s=new IntersectionObserver((function(t){t.forEach((function(t){var r,s=t.isIntersecting&&n.some((function(e){return t.intersectionRatio>=e}));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(r=i.get(t.target))||r.forEach((function(e){e(s,t)}))}))}),e);n=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:s,elements:i},o.set(t,r)}return r}(r),c=s.id,p=s.observer,h=s.elements,d=h.get(e)||[];return h.has(e)||h.set(e,d),d.push(t),p.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(h.delete(e),p.unobserve(e)),0===h.size&&(p.disconnect(),o.delete(c))}}var p=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function h(e){return"function"!=typeof e.children}var d=function(e){var t,r;function o(t){var r;return(r=e.call(this,t)||this).node=null,r._unobserveCb=null,r.handleNode=function(e){r.node&&(r.unobserve(),e||r.props.triggerOnce||r.props.skip||r.setState({inView:!!r.props.initialInView,entry:void 0})),r.node=e||null,r.observeNode()},r.handleChange=function(e,t){e&&r.props.triggerOnce&&r.unobserve(),h(r.props)||r.setState({inView:e,entry:t}),r.props.onChange&&r.props.onChange(e,t)},r.state={inView:!!t.initialInView,entry:void 0},r}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r);var a=o.prototype;return a.componentDidUpdate=function(e){e.rootMargin===this.props.rootMargin&&e.root===this.props.root&&e.threshold===this.props.threshold&&e.skip===this.props.skip&&e.trackVisibility===this.props.trackVisibility&&e.delay===this.props.delay||(this.unobserve(),this.observeNode())},a.componentWillUnmount=function(){this.unobserve(),this.node=null},a.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,r=e.root,n=e.rootMargin,i=e.trackVisibility,s=e.delay,o=e.fallbackInView;this._unobserveCb=c(this.node,this.handleChange,{threshold:t,root:r,rootMargin:n,trackVisibility:i,delay:s},o)}},a.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},a.render=function(){if(!h(this.props)){var e=this.state,t=e.inView,r=e.entry;return this.props.children({inView:t,entry:r,ref:this.handleNode})}var s=this.props,o=s.children,a=s.as,l=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(s,p);return n.createElement(a||"div",i({ref:this.handleNode},l),o)},o}(n.Component);function f(e){var t=void 0===e?{}:e,r=t.threshold,i=t.delay,s=t.trackVisibility,o=t.rootMargin,a=t.root,l=t.triggerOnce,u=t.skip,p=t.initialInView,h=t.fallbackInView,d=n.useRef(),f=n.useState({inView:!!p}),m=f[0],g=f[1],y=n.useCallback((function(e){void 0!==d.current&&(d.current(),d.current=void 0),u||e&&(d.current=c(e,(function(e,t){g({inView:e,entry:t}),t.isIntersecting&&l&&d.current&&(d.current(),d.current=void 0)}),{root:a,rootMargin:o,threshold:r,trackVisibility:s,delay:i},h))}),[Array.isArray(r)?r.toString():r,a,o,l,u,s,h,i]);(0,n.useEffect)((function(){d.current||!m.entry||l||u||g({inView:!!p})}));var b=[y,m.inView,m.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}d.displayName="InView",d.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},13496:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={version:{"reflux-core":"0.3.0"}};n.ActionMethods=r(46796),n.ListenerMethods=r(67670),n.PublisherMethods=r(68),n.StoreMethods=r(61255),n.createAction=r(18316),n.createStore=r(52753);var i=r(58073).T;n.joinTrailing=n.all=i("last"),n.joinLeading=i("first"),n.joinStrict=i("strict"),n.joinConcat=i("all");var s,o=n.utils=r(63713);n.EventEmitter=o.EventEmitter,n.Promise=o.Promise,n.createActions=(s=function(e,t){Object.keys(e).forEach((function(r){var i=e[r];t[r]=n.createAction(i)}))},function(e){var t={};return e instanceof Array?e.forEach((function(e){o.isObject(e)?s(e,t):t[e]=n.createAction(e)})):s(e,t),t}),n.setEventEmitter=function(e){n.EventEmitter=o.EventEmitter=e},n.nextTick=function(e){o.nextTick=e},n.use=function(e){e(n)},n.__keep=r(91471),Function.prototype.bind||console.error("Function.prototype.bind not available. ES5 shim required. https://github.com/spoike/refluxjs#es5"),t.default=n,e.exports=t.default},13607:e=>{e.exports=function(e,t){for(var r in t)if(Object.getOwnPropertyDescriptor&&Object.defineProperty){var n=Object.getOwnPropertyDescriptor(t,r);if(!n.value||"function"!=typeof n.value||!t.hasOwnProperty(r))continue;e[r]=t[r].bind(e)}else{var i=t[r];if("function"!=typeof i||!t.hasOwnProperty(r))continue;e[r]=i.bind(e)}return e}},14600:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>0!==n(e,t,r)},14896:(e,t,r)=>{const n=r(10659),i=r(57931);t.convert=(e,t,{context:r="The provided value"}={})=>{if("function"!=typeof t)throw new e.TypeError(r+" is not a function");function s(...s){const o=i.tryWrapperForImpl(this);let a;for(let e=0;e<s.length;e++)s[e]=i.tryWrapperForImpl(s[e]);return a=Reflect.apply(t,o,s),a=n.any(a,{context:r,globals:e}),a}return s.construct=(...s)=>{for(let e=0;e<s.length;e++)s[e]=i.tryWrapperForImpl(s[e]);let o=Reflect.construct(t,s);return o=n.any(o,{context:r,globals:e}),o},s[i.wrapperSymbol]=t,s.objectReference=t,s}},16091:(e,t,r)=>{r.d(t,{wE:()=>o});var n=r(62189),i=r(52682),s=r(34527);function o(e){return(0,s.VF)(a("",null,null,null,[""],e=(0,s.c4)(e),0,[0],e))}function a(e,t,r,n,o,p,h,d,f){for(var m=0,g=0,y=h,b=0,v=0,D=0,E=1,x=1,w=1,S=0,C="",A=o,T=p,P=n,F=C;x;)switch(D=S,S=(0,s.K2)()){case 40:if(108!=D&&58==(0,i.wN)(F,y-1)){-1!=(0,i.K5)(F+=(0,i.HC)((0,s.Tb)(S),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:F+=(0,s.Tb)(S);break;case 9:case 10:case 13:case 32:F+=(0,s.mw)(D);break;case 92:F+=(0,s.Nc)((0,s.OW)()-1,7);continue;case 47:switch((0,s.se)()){case 42:case 47:(0,i.BC)(u((0,s.nf)((0,s.K2)(),(0,s.OW)()),t,r),f);break;default:F+="/"}break;case 123*E:d[m++]=(0,i.b2)(F)*w;case 125*E:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+g:-1==w&&(F=(0,i.HC)(F,/\f/g,"")),v>0&&(0,i.b2)(F)-y&&(0,i.BC)(v>32?c(F+";",n,r,y-1):c((0,i.HC)(F," ","")+";",n,r,y-2),f);break;case 59:F+=";";default:if((0,i.BC)(P=l(F,t,r,m,g,o,d,C,A=[],T=[],y),p),123===S)if(0===g)a(F,t,P,P,A,p,y,d,T);else switch(99===b&&110===(0,i.wN)(F,3)?100:b){case 100:case 108:case 109:case 115:a(e,P,P,n&&(0,i.BC)(l(e,P,P,0,0,o,d,C,o,A=[],y),T),o,T,y,d,n?A:T);break;default:a(F,P,P,P,[""],T,0,d,T)}}m=g=v=0,E=w=1,C=F="",y=h;break;case 58:y=1+(0,i.b2)(F),v=D;default:if(E<1)if(123==S)--E;else if(125==S&&0==E++&&125==(0,s.YL)())continue;switch(F+=(0,i.HT)(S),S*E){case 38:w=g>0?1:(F+="\f",-1);break;case 44:d[m++]=((0,i.b2)(F)-1)*w,w=1;break;case 64:45===(0,s.se)()&&(F+=(0,s.Tb)((0,s.K2)())),b=(0,s.se)(),g=y=(0,i.b2)(C=F+=(0,s.Cv)((0,s.OW)())),S++;break;case 45:45===D&&2==(0,i.b2)(F)&&(E=0)}}return p}function l(e,t,r,o,a,l,u,c,p,h,d){for(var f=a-1,m=0===a?l:[""],g=(0,i.FK)(m),y=0,b=0,v=0;y<o;++y)for(var D=0,E=(0,i.c1)(e,f+1,f=(0,i.tn)(b=u[y])),x=e;D<g;++D)(x=(0,i.Bq)(b>0?m[D]+" "+E:(0,i.HC)(E,/&\f/g,m[D])))&&(p[v++]=x);return(0,s.rH)(e,t,r,0===a?n.XZ:c,p,h,d)}function u(e,t,r){return(0,s.rH)(e,t,r,n.YK,(0,i.HT)((0,s.Tp)()),(0,i.c1)(e,2,-2),0)}function c(e,t,r,o){return(0,s.rH)(e,t,r,n.LU,(0,i.c1)(e,0,o),(0,i.c1)(e,o+1,-1),o)}},16362:(e,t,r)=>{const{pipeline:n}=r(55930),i=r(758),{destroyer:s}=r(28476),{isNodeStream:o,isReadable:a,isWritable:l,isWebStream:u,isTransformStream:c,isWritableStream:p,isReadableStream:h}=r(97967),{AbortError:d,codes:{ERR_INVALID_ARG_VALUE:f,ERR_MISSING_ARGS:m}}=r(26503),g=r(42882);e.exports=function(...e){if(0===e.length)throw new m("streams");if(1===e.length)return i.from(e[0]);const t=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){const t=e.length-1;e[t]=i.from(e[t])}for(let r=0;r<e.length;++r)if(o(e[r])||u(e[r])){if(r<e.length-1&&!(a(e[r])||h(e[r])||c(e[r])))throw new f(`streams[${r}]`,t[r],"must be readable");if(r>0&&!(l(e[r])||p(e[r])||c(e[r])))throw new f(`streams[${r}]`,t[r],"must be writable")}let r,y,b,v,D;const E=e[0],x=n(e,(function(e){const t=v;v=null,t?t(e):e?D.destroy(e):S||w||D.destroy()})),w=!!(l(E)||p(E)||c(E)),S=!!(a(x)||h(x)||c(x));if(D=new i({writableObjectMode:!(null==E||!E.writableObjectMode),readableObjectMode:!(null==x||!x.readableObjectMode),writable:w,readable:S}),w){if(o(E))D._write=function(e,t,n){E.write(e,t)?n():r=n},D._final=function(e){E.end(),y=e},E.on("drain",(function(){if(r){const e=r;r=null,e()}}));else if(u(E)){const e=(c(E)?E.writable:E).getWriter();D._write=async function(t,r,n){try{await e.ready,e.write(t).catch((()=>{})),n()}catch(e){n(e)}},D._final=async function(t){try{await e.ready,e.close().catch((()=>{})),y=t}catch(e){t(e)}}}const e=c(x)?x.readable:x;g(e,(()=>{if(y){const e=y;y=null,e()}}))}if(S)if(o(x))x.on("readable",(function(){if(b){const e=b;b=null,e()}})),x.on("end",(function(){D.push(null)})),D._read=function(){for(;;){const e=x.read();if(null===e)return void(b=D._read);if(!D.push(e))return}};else if(u(x)){const e=(c(x)?x.readable:x).getReader();D._read=async function(){for(;;)try{const{value:t,done:r}=await e.read();if(!D.push(t))return;if(r)return void D.push(null)}catch{return}}}return D._destroy=function(e,t){e||null===v||(e=new d),b=null,r=null,y=null,null===v?t(e):(v=t,o(x)&&s(x,e))},D}},17066:(e,t,r)=>{const n=r(3675),i=r(59417);t.URL=n,t.URLSearchParams=i},17288:(e,t,r)=>{var n=r(1596),i=r(22554),s=r(81451)(),o=r(28028),a=r(91968),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new a("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&o){var c=o(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(s?i(e,"length",t,!0,!0):i(e,"length",t)),e}},17651:(e,t,r)=>{var n,i,s,o,a,l,u,c,p,h,d,f,m,g,y,b,v,D,E,x,w,S,C,A,T,P,F,I,N,k,_,O,M,L,B,R,j,$,U,z,V,W,H,q,G,K,X,J,Y,Z,Q,ee,te,re,ne,ie,se,oe,ae,le,ue,ce,pe,he,de,fe,me,ge,ye,be,ve,De,Ee,xe,we,Se,Ce,Ae,Te,Pe,Fe,Ie,Ne;e.exports=(i=(n=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports))(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),s=n(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),o=n(((e,t)=>{var r=s();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),a=n(((e,t)=>{var r=s();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),l=n(((e,t)=>{var r=a(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),u=n((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),c=n(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),p=n(((e,t)=>{var r=a(),n=Function.prototype,i=n.call,s=r&&n.bind.bind(i,i);t.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}})),h=n(((e,t)=>{var r=p(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),d=n(((e,t)=>{var r=p(),n=s(),i=h(),o=Object,a=r("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a(e,""):o(e)}:o})),f=n(((e,t)=>{t.exports=function(e){return null==e}})),m=n(((e,t)=>{var r=f(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),g=n(((e,t)=>{var r=d(),n=m();t.exports=function(e){return r(n(e))}})),y=n(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),b=n(((e,t)=>{var r=y(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),v=n(((e,t)=>{var r=b(),n=y(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),D=n(((e,t)=>{var r=i(),n=b();t.exports=function(e,t){return arguments.length<2?function(e){return n(e)?e:void 0}(r[e]):r[e]&&r[e][t]}})),E=n(((e,t)=>{var r=p();t.exports=r({}.isPrototypeOf)})),x=n(((e,t)=>{var r=D();t.exports=r("navigator","userAgent")||""})),w=n(((e,t)=>{var r,n,s=i(),o=x(),a=s.process,l=s.Deno,u=a&&a.versions||l&&l.version,c=u&&u.v8;c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),S=n(((e,t)=>{var r=w(),n=s();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),C=n(((e,t)=>{var r=S();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),A=n(((e,t)=>{var r=D(),n=b(),i=E(),s=C(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),T=n(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),P=n(((e,t)=>{var r=b(),n=T(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),F=n(((e,t)=>{var r=P(),n=f();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),I=n(((e,t)=>{var r=l(),n=b(),i=v(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),N=n(((e,t)=>{t.exports=!1})),k=n(((e,t)=>{var r=i(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),_=n(((e,t)=>{var r=i(),n=k(),s="__core-js_shared__",o=r[s]||n(s,{});t.exports=o})),O=n(((e,t)=>{var r=N(),n=_();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),M=n(((e,t)=>{var r=m(),n=Object;t.exports=function(e){return n(r(e))}})),L=n(((e,t)=>{var r=p(),n=M(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),B=n(((e,t)=>{var r=p(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),R=n(((e,t)=>{var r=i(),n=O(),s=L(),o=B(),a=S(),l=C(),u=n("wks"),c=r.Symbol,p=c&&c.for,h=l?c:c&&c.withoutSetter||o;t.exports=function(e){if(!s(u,e)||!a&&"string"!=typeof u[e]){var t="Symbol."+e;a&&s(c,e)?u[e]=c[e]:u[e]=l&&p?p(t):h(t)}return u[e]}})),j=n(((e,t)=>{var r=l(),n=v(),i=A(),s=F(),o=I(),a=R(),u=TypeError,c=a("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var a,l=s(e,c);if(l){if(void 0===t&&(t="default"),a=r(l,e,t),!n(a)||i(a))return a;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),$=n(((e,t)=>{var r=j(),n=A();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),U=n(((e,t)=>{var r=i(),n=v(),s=r.document,o=n(s)&&n(s.createElement);t.exports=function(e){return o?s.createElement(e):{}}})),z=n(((e,t)=>{var r=o(),n=s(),i=U();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),V=n((e=>{var t=o(),r=l(),n=u(),i=c(),s=g(),a=$(),p=L(),h=z(),d=Object.getOwnPropertyDescriptor;e.f=t?d:function(e,t){if(e=s(e),t=a(t),h)try{return d(e,t)}catch{}if(p(e,t))return i(!r(n.f,e,t),e[t])}})),W=n(((e,t)=>{var r=o(),n=s();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),H=n(((e,t)=>{var r=v(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),q=n((e=>{var t=o(),r=z(),n=W(),i=H(),s=$(),a=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(i(e),t=s(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=u(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return l(e,t,r)}:l:function(e,t,n){if(i(e),t=s(t),i(n),r)try{return l(e,t,n)}catch{}if("get"in n||"set"in n)throw a("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),G=n(((e,t)=>{var r=o(),n=q(),i=c();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),K=n(((e,t)=>{var r=o(),n=L(),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=n(i,"name"),l=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:l,CONFIGURABLE:u}})),X=n(((e,t)=>{var r=p(),n=b(),i=_(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),J=n(((e,t)=>{var r=i(),n=b(),s=r.WeakMap;t.exports=n(s)&&/native code/.test(String(s))})),Y=n(((e,t)=>{var r=O(),n=B(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),Z=n(((e,t)=>{t.exports={}})),Q=n(((e,t)=>{var r,n,s,o,a,l=J(),u=i(),c=v(),p=G(),h=L(),d=_(),f=Y(),m=Z(),g="Object already initialized",y=u.TypeError,b=u.WeakMap;l||d.state?((o=d.state||(d.state=new b)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw y(g);return t.facade=e,o.set(e,t),t},n=function(e){return o.get(e)||{}},s=function(e){return o.has(e)}):(m[a=f("state")]=!0,r=function(e,t){if(h(e,a))throw y(g);return t.facade=e,p(e,a,t),t},n=function(e){return h(e,a)?e[a]:{}},s=function(e){return h(e,a)}),t.exports={set:r,get:n,has:s,enforce:function(e){return s(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}})),ee=n(((e,t)=>{var r=s(),n=b(),i=L(),a=o(),l=K().CONFIGURABLE,u=X(),c=Q(),p=c.enforce,h=c.get,d=Object.defineProperty,f=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||l&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&i(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return i(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return n(this)&&h(this).source||u(this)}),"toString")})),te=n(((e,t)=>{var r=b(),n=q(),i=ee(),s=k();t.exports=function(e,t,o,a){a||(a={});var l=a.enumerable,u=void 0!==a.name?a.name:t;if(r(o)&&i(o,u,a),a.global)l?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch{}l?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),re=n(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),ne=n(((e,t)=>{var r=re();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}})),ie=n(((e,t)=>{var r=ne(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),se=n(((e,t)=>{var r=ne(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),oe=n(((e,t)=>{var r=se();t.exports=function(e){return r(e.length)}})),ae=n(((e,t)=>{var r=g(),n=ie(),i=oe(),s=function(e){return function(t,s,o){var a,l=r(t),u=i(l),c=n(o,u);if(e&&s!=s){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),le=n(((e,t)=>{var r=p(),n=L(),i=g(),s=ae().indexOf,o=Z(),a=r([].push);t.exports=function(e,t){var r,l=i(e),u=0,c=[];for(r in l)!n(o,r)&&n(l,r)&&a(c,r);for(;t.length>u;)n(l,r=t[u++])&&(~s(c,r)||a(c,r));return c}})),ue=n(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ce=n((e=>{var t=le(),r=ue().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),pe=n((e=>{e.f=Object.getOwnPropertySymbols})),he=n(((e,t)=>{var r=D(),n=p(),i=ce(),s=pe(),o=H(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),de=n(((e,t)=>{var r=L(),n=he(),i=V(),s=q();t.exports=function(e,t,o){for(var a=n(t),l=s.f,u=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&l(e,p,u(t,p))}}})),fe=n(((e,t)=>{var r=s(),n=b(),i=/#|\.prototype\./,o=function(e,t){var i=l[a(e)];return i==c||i!=u&&(n(t)?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o})),me=n(((e,t)=>{var r=i(),n=V().f,s=G(),o=te(),a=k(),l=de(),u=fe();t.exports=function(e,t){var i,c,p,h,d,f=e.target,m=e.global,g=e.stat;if(i=m?r:g?r[f]||a(f,{}):(r[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=n(i,c))&&d.value:i[c],!u(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;l(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),o(i,c,h,e)}}})),ge=n((()=>{var e=me(),t=i();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),ye=n((()=>{ge()})),be=n(((e,t)=>{var r=ee(),n=q();t.exports=function(e,t,i){return i.get&&r(i.get,t,{getter:!0}),i.set&&r(i.set,t,{setter:!0}),n.f(e,t,i)}})),ve=n(((e,t)=>{var r=H();t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),De=n((()=>{var e=i(),t=o(),r=be(),n=ve(),a=s(),l=e.RegExp,u=l.prototype;t&&a((function(){var e=!0;try{l(".","d")}catch{e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var o in e&&(s.hasIndices="d"),s)i(o,s[o]);return Object.getOwnPropertyDescriptor(u,"flags").get.call(t)!==n||r!==n}))&&r(u,"flags",{configurable:!0,get:n})})),Ee=n(((e,t)=>{var r=h();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),xe=n(((e,t)=>{var r=TypeError;t.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}})),we=n(((e,t)=>{var r=h(),n=p();t.exports=function(e){if("Function"===r(e))return n(e)}})),Se=n(((e,t)=>{var r=we(),n=P(),i=a(),s=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}})),Ce=n(((e,t)=>{var r=Ee(),n=oe(),i=xe(),s=Se(),o=function(e,t,a,l,u,c,p,h){for(var d,f,m=u,g=0,y=!!p&&s(p,h);g<l;)g in a&&(d=y?y(a[g],g,t):a[g],c>0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),g++;return m};t.exports=o})),Ae=n(((e,t)=>{var r={};r[R()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Te=n(((e,t)=>{var r=Ae(),n=b(),i=h(),s=R()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Pe=n(((e,t)=>{var r=p(),n=s(),i=b(),o=Te(),a=D(),l=X(),u=function(){},c=[],h=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),m=!d.exec(u),g=function(e){if(!i(e))return!1;try{return h(u,c,e),!0}catch{return!1}},y=function(e){if(!i(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!f(d,l(e))}catch{return!0}};y.sham=!0,t.exports=!h||n((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?y:g})),Fe=n(((e,t)=>{var r=Ee(),n=Pe(),i=v(),s=R()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Ie=n(((e,t)=>{var r=Fe();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),Ne=n((()=>{var e=me(),t=Ce(),r=P(),n=M(),i=oe(),s=Ie();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),l=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,l,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),n(((e,t)=>{ye(),De(),Ne();var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,o=(e,t)=>function(){return e&&(t=(0,e[i(e)[0]])(e=0)),t},a=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},l=e=>((e,t,o,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of i(t))!s.call(e,l)&&l!==o&&r(e,l,{get:()=>t[l],enumerable:!(a=n(t,l))||a.enumerable});return e})(r({},"__esModule",{value:!0}),e),u=o({"<define:process>"(){}}),c=a({"src/utils/try-combinations.js"(e,t){u(),t.exports=function(){let e;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(let[t,n]of r.entries())try{return{result:n()}}catch(r){0===t&&(e=r)}return{error:e}}}}),p=a({"src/language-js/utils/get-shebang.js"(e,t){u(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),h=a({"src/utils/text/skip-inline-comment.js"(e,t){u(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),d=a({"src/utils/text/skip-newline.js"(e,t){u(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),f=a({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}u();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),m=a({"src/utils/text/skip-trailing-comment.js"(e,t){u();var{skipEverythingButNewLine:r}=f();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),g=a({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){u();var r=h(),n=d(),i=m(),{skipSpaces:s}=f();t.exports=function(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}}}),y={};function b(){if(typeof k>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])k="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");k="LE"}}return k}function v(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function D(){return[]}function E(){return 0}function x(){return Number.MAX_VALUE}function w(){return Number.MAX_VALUE}function S(){return[]}function C(){return"Browser"}function A(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function T(){}function P(){}function F(){return"javascript"}function I(){return"browser"}function N(){return"/tmp"}((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(y,{EOL:()=>O,arch:()=>F,cpus:()=>S,default:()=>M,endianness:()=>b,freemem:()=>x,getNetworkInterfaces:()=>P,hostname:()=>v,loadavg:()=>D,networkInterfaces:()=>T,platform:()=>I,release:()=>A,tmpDir:()=>N,tmpdir:()=>_,totalmem:()=>w,type:()=>C,uptime:()=>E});var k,_,O,M,L=o({"node-modules-polyfills:os"(){u(),M={EOL:O="\n",tmpdir:_=N,tmpDir:N,networkInterfaces:T,getNetworkInterfaces:P,release:A,type:C,cpus:S,totalmem:w,freemem:x,uptime:E,loadavg:D,hostname:v,endianness:b}}}),B=a({"node-modules-polyfills-commonjs:os"(e,t){u();var r=(L(),l(y));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),R=a({"node_modules/detect-newline/index.js"(e,t){u();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),j=a({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=B();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(R());return r=function(){return e},e}u(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(s);return t?t[0].trimLeft():""},e.parse=function(e){return d(e).pragmas},e.parseWithComments=d,e.print=function(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o=" *",a=Object.keys(i),l=a.map((e=>f(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${o} ${e}${s}`)).join("");if(!n){if(0===a.length)return"";if(1===a.length&&!Array.isArray(i[a[0]])){let e=i[a[0]];return`/** ${f(a[0],e)[0]} */`}}let u=n.split(s).map((e=>`${o} ${e}`)).join(s)+s;return"/**"+s+(n?u:"")+(n&&a.length?o+s:"")+l+" */"},e.strip=function(e){let t=e.match(s);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*?/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,a=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,h=[];function d(e){let s=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(p,"$1");let u="";for(;u!==e;)u=e,e=e.replace(l,`${s}$1 $2${s}`);e=e.replace(a,"").trimRight();let d,f=Object.create(null),m=e.replace(c,"").replace(a,"").trimRight();for(;d=c.exec(e);){let e=d[2].replace(o,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=h.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function f(e,t){return h.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),$=a({"src/common/end-of-line.js"(e,t){u(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),U=a({"src/language-js/pragma.js"(e,t){u();var{parseWithComments:r,strip:n,extract:i,print:s}=j(),{normalizeEndOfLine:o}=$(),a=p();function l(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(l(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:a}=l(e),u=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(u.startsWith("\n")?"\n":"\n\n")+u}}}}),z=a({"src/utils/is-non-empty-array.js"(e,t){u(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),V=a({"src/language-js/loc.js"(e,t){u();var r=z();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:function(e,t){return s(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),W=a({"src/language-js/parse/utils/create-parser.js"(e,t){u();var{hasPragma:r}=U(),{locStart:n,locEnd:i}=V();t.exports=function(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:n,locEnd:i},e)}}}),H=a({"src/common/parser-create-error.js"(e,t){u(),t.exports=function(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}}}),q=a({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){u();var r=H();t.exports=function(e){let{message:t,loc:n}=e;return r(t.replace(/ \(.*\)/,""),{start:{line:n?n.line:0,column:n?n.column+1:0}})}}}),G=a({"src/language-js/utils/is-ts-keyword-type.js"(e,t){u(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),K=a({"src/language-js/utils/is-block-comment.js"(e,t){u();var r=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>r.has(null==e?void 0:e.type)}}),X=a({"src/language-js/utils/is-type-cast-comment.js"(e,t){u();var r=K();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),J=a({"src/utils/get-last.js"(e,t){u();t.exports=e=>e[e.length-1]}}),Y=a({"src/language-js/parse/postprocess/visit-node.js"(e,t){u(),t.exports=function e(t,r){if(Array.isArray(t)){for(let n=0;n<t.length;n++)t[n]=e(t[n],r);return t}if(t&&"object"==typeof t&&"string"==typeof t.type){let n=Object.keys(t);for(let i=0;i<n.length;i++)t[n[i]]=e(t[n[i]],r);return r(t)||t}return t}}}),Z=a({"src/language-js/parse/postprocess/throw-syntax-error.js"(e,t){u();var r=H();t.exports=function(e,t){let{start:n,end:i}=e.loc;throw r(t,{start:{line:n.line,column:n.column+1},end:{line:i.line,column:i.column+1}})}}}),Q=a({"src/language-js/parse/postprocess/index.js"(e,t){u();var{locStart:r,locEnd:n}=V(),i=G(),s=X(),o=J(),a=Y(),l=Z();function c(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=c(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=c(e.object);break;case"TSNonNullExpression":e.expression=c(e.expression)}return e}function p(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function h(e){return p(e)?h({type:"LogicalExpression",operator:e.operator,left:h({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),n(e.right.left)]}),right:e.right.right,range:[r(e),n(e)]}):e}t.exports=function(e,t){if("typescript"!==t.parser&&"flow"!==t.parser&&"acorn"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){let t=new Set;e=a(e,(e=>{e.leadingComments&&e.leadingComments.some(s)&&t.add(r(e))})),e=a(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:n}=e;if("TypeCastExpression"===n.type)return n.range=e.range,n;let i=r(e);if(!t.has(i))return n.extra=Object.assign(Object.assign({},n.extra),{},{parenthesized:!0}),n}}))}return a(e,(e=>{switch(e.type){case"ChainExpression":return c(e.expression);case"LogicalExpression":if(p(e))return h(e);break;case"VariableDeclaration":{let i=o(e.declarations);i&&i.init&&function(e,i){";"!==t.originalText[n(i)]&&(e.range=[r(e),n(i)])}(e,i);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),n(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=r(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"ObjectExpression":if("typescript"===t.parser){let t=e.properties.find((e=>"Property"===e.type&&"TSEmptyBodyFunctionExpression"===e.value.type));t&&l(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=o(e.expressions);e.range=[r(e),Math.min(n(t),n(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let s=t.originalText.slice(r(i),n(i));(s.startsWith('"')||s.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:s}))}break}case"PropertyDefinition":if("meriyah"===t.parser&&e.static&&!e.computed&&!e.key){let t="static",n=r(e);Object.assign(e,{static:!1,key:{type:"Identifier",name:t,range:[n,n+t.length]}})}}}))}}}),ee=a({"node_modules/@babel/parser/lib/index.js"(e){u(),Object.defineProperty(e,"__esModule",{value:!0});var t={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};var r=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},n={brace:new r("{"),j_oTag:new r("<tag"),j_cTag:new r("</tag"),j_expr:new r("<tag>...</tag>",!0)};n.template=new r("`",!0);var i=!0,s=!0,o=!0,a=!0,l=!0,c=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}},p=new Map;function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let r=E(e,t);return p.set(e,r),r}function d(e,t){return E(e,{beforeExpr:i,binop:t})}var f=-1,m=[],g=[],y=[],b=[],v=[],D=[];function E(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++f,g.push(e),y.push(null!=(r=t.binop)?r:-1),b.push(null!=(n=t.beforeExpr)&&n),v.push(null!=(i=t.startsExpr)&&i),D.push(null!=(s=t.prefix)&&s),m.push(new c(e,t)),f}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++f,p.set(e,f),g.push(e),y.push(null!=(r=t.binop)?r:-1),b.push(null!=(n=t.beforeExpr)&&n),v.push(null!=(i=t.startsExpr)&&i),D.push(null!=(s=t.prefix)&&s),m.push(new c("name",t)),f}var w={bracketL:E("[",{beforeExpr:i,startsExpr:s}),bracketHashL:E("#[",{beforeExpr:i,startsExpr:s}),bracketBarL:E("[|",{beforeExpr:i,startsExpr:s}),bracketR:E("]"),bracketBarR:E("|]"),braceL:E("{",{beforeExpr:i,startsExpr:s}),braceBarL:E("{|",{beforeExpr:i,startsExpr:s}),braceHashL:E("#{",{beforeExpr:i,startsExpr:s}),braceR:E("}"),braceBarR:E("|}"),parenL:E("(",{beforeExpr:i,startsExpr:s}),parenR:E(")"),comma:E(",",{beforeExpr:i}),semi:E(";",{beforeExpr:i}),colon:E(":",{beforeExpr:i}),doubleColon:E("::",{beforeExpr:i}),dot:E("."),question:E("?",{beforeExpr:i}),questionDot:E("?."),arrow:E("=>",{beforeExpr:i}),template:E("template"),ellipsis:E("...",{beforeExpr:i}),backQuote:E("`",{startsExpr:s}),dollarBraceL:E("${",{beforeExpr:i,startsExpr:s}),templateTail:E("...`",{startsExpr:s}),templateNonTail:E("...${",{beforeExpr:i,startsExpr:s}),at:E("@"),hash:E("#",{startsExpr:s}),interpreterDirective:E("#!..."),eq:E("=",{beforeExpr:i,isAssign:a}),assign:E("_=",{beforeExpr:i,isAssign:a}),slashAssign:E("_=",{beforeExpr:i,isAssign:a}),xorAssign:E("_=",{beforeExpr:i,isAssign:a}),moduloAssign:E("_=",{beforeExpr:i,isAssign:a}),incDec:E("++/--",{prefix:l,postfix:!0,startsExpr:s}),bang:E("!",{beforeExpr:i,prefix:l,startsExpr:s}),tilde:E("~",{beforeExpr:i,prefix:l,startsExpr:s}),doubleCaret:E("^^",{startsExpr:s}),doubleAt:E("@@",{startsExpr:s}),pipeline:d("|>",0),nullishCoalescing:d("??",1),logicalOR:d("||",1),logicalAND:d("&&",2),bitwiseOR:d("|",3),bitwiseXOR:d("^",4),bitwiseAND:d("&",5),equality:d("==/!=/===/!==",6),lt:d("</>/<=/>=",7),gt:d("</>/<=/>=",7),relational:d("</>/<=/>=",7),bitShift:d("<</>>/>>>",8),bitShiftL:d("<</>>/>>>",8),bitShiftR:d("<</>>/>>>",8),plusMin:E("+/-",{beforeExpr:i,binop:9,prefix:l,startsExpr:s}),modulo:E("%",{binop:10,startsExpr:s}),star:E("*",{binop:10}),slash:d("/",10),exponent:E("**",{beforeExpr:i,binop:11,rightAssociative:!0}),_in:h("in",{beforeExpr:i,binop:7}),_instanceof:h("instanceof",{beforeExpr:i,binop:7}),_break:h("break"),_case:h("case",{beforeExpr:i}),_catch:h("catch"),_continue:h("continue"),_debugger:h("debugger"),_default:h("default",{beforeExpr:i}),_else:h("else",{beforeExpr:i}),_finally:h("finally"),_function:h("function",{startsExpr:s}),_if:h("if"),_return:h("return",{beforeExpr:i}),_switch:h("switch"),_throw:h("throw",{beforeExpr:i,prefix:l,startsExpr:s}),_try:h("try"),_var:h("var"),_const:h("const"),_with:h("with"),_new:h("new",{beforeExpr:i,startsExpr:s}),_this:h("this",{startsExpr:s}),_super:h("super",{startsExpr:s}),_class:h("class",{startsExpr:s}),_extends:h("extends",{beforeExpr:i}),_export:h("export"),_import:h("import",{startsExpr:s}),_null:h("null",{startsExpr:s}),_true:h("true",{startsExpr:s}),_false:h("false",{startsExpr:s}),_typeof:h("typeof",{beforeExpr:i,prefix:l,startsExpr:s}),_void:h("void",{beforeExpr:i,prefix:l,startsExpr:s}),_delete:h("delete",{beforeExpr:i,prefix:l,startsExpr:s}),_do:h("do",{isLoop:o,beforeExpr:i}),_for:h("for",{isLoop:o}),_while:h("while",{isLoop:o}),_as:x("as",{startsExpr:s}),_assert:x("assert",{startsExpr:s}),_async:x("async",{startsExpr:s}),_await:x("await",{startsExpr:s}),_from:x("from",{startsExpr:s}),_get:x("get",{startsExpr:s}),_let:x("let",{startsExpr:s}),_meta:x("meta",{startsExpr:s}),_of:x("of",{startsExpr:s}),_sent:x("sent",{startsExpr:s}),_set:x("set",{startsExpr:s}),_static:x("static",{startsExpr:s}),_using:x("using",{startsExpr:s}),_yield:x("yield",{startsExpr:s}),_asserts:x("asserts",{startsExpr:s}),_checks:x("checks",{startsExpr:s}),_exports:x("exports",{startsExpr:s}),_global:x("global",{startsExpr:s}),_implements:x("implements",{startsExpr:s}),_intrinsic:x("intrinsic",{startsExpr:s}),_infer:x("infer",{startsExpr:s}),_is:x("is",{startsExpr:s}),_mixins:x("mixins",{startsExpr:s}),_proto:x("proto",{startsExpr:s}),_require:x("require",{startsExpr:s}),_satisfies:x("satisfies",{startsExpr:s}),_keyof:x("keyof",{startsExpr:s}),_readonly:x("readonly",{startsExpr:s}),_unique:x("unique",{startsExpr:s}),_abstract:x("abstract",{startsExpr:s}),_declare:x("declare",{startsExpr:s}),_enum:x("enum",{startsExpr:s}),_module:x("module",{startsExpr:s}),_namespace:x("namespace",{startsExpr:s}),_interface:x("interface",{startsExpr:s}),_type:x("type",{startsExpr:s}),_opaque:x("opaque",{startsExpr:s}),name:E("name",{startsExpr:s}),string:E("string",{startsExpr:s}),num:E("num",{startsExpr:s}),bigint:E("bigint",{startsExpr:s}),decimal:E("decimal",{startsExpr:s}),regexp:E("regexp",{startsExpr:s}),privateName:E("#name",{startsExpr:s}),eof:E("eof"),jsxName:E("jsxName"),jsxText:E("jsxText",{beforeExpr:!0}),jsxTagStart:E("jsxTagStart",{startsExpr:!0}),jsxTagEnd:E("jsxTagEnd"),placeholder:E("%%",{startsExpr:!0})};function S(e){return e>=93&&e<=130}function C(e){return e>=58&&e<=130}function A(e){return e>=58&&e<=134}function T(e){return v[e]}function P(e){return e>=127&&e<=129}function F(e){return e>=58&&e<=92}function I(e){return 34===e}function N(e){return g[e]}function k(e){return y[e]}function _(e){return e>=24&&e<=25}function O(e){return m[e]}function M(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}m[8].updateContext=e=>{e.pop()},m[5].updateContext=m[7].updateContext=m[23].updateContext=e=>{e.push(n.brace)},m[22].updateContext=e=>{e[e.length-1]===n.template?e.pop():e.push(n.template)},m[140].updateContext=e=>{e.push(n.j_expr,n.j_oTag)};var L=class{constructor(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}},B=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function R(e,t){let{line:r,column:n,index:i}=e;return new L(r,n+t,i+t)}var j="BABEL_PARSER_SYNTAX_ERROR",$="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",U=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,i)=>i===t?e[n]=r:e[n]),this)}}},z={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:$},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:$}},V={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},W=e=>{let{type:t,prefix:r}=e;return"UpdateExpression"===t?V.UpdateExpression[String(r)]:V[t]},H={AccessorIsGenerator:e=>{let{kind:t}=e;return`A ${t}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:e=>{let{kind:t}=e;return`Missing initializer in ${t} declaration.`},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:e=>{let{exportName:t}=e;return`\`${t}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:e=>{let{localName:t,exportName:r}=e;return`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${t}' as '${r}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:e=>{let{type:t}=e;return`'${"ForInStatement"===t?"for-in":"for-of"}' loop variable declaration may not have an initializer.`},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:e=>{let{type:t}=e;return`Unsyntactic ${"BreakStatement"===t?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:e=>{let{importName:t}=e;return`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${t}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:e=>{let{maxArgumentCount:t}=e;return`\`import()\` requires exactly ${1===t?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:e=>{let{radix:t}=e;return`Expected number in radix ${t}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:e=>{let{reservedWord:t}=e;return`Escape sequence in keyword ${t}.`},InvalidIdentifier:e=>{let{identifierName:t}=e;return`Invalid identifier ${t}.`},InvalidLhs:e=>{let{ancestor:t}=e;return`Invalid left-hand side in ${W(t)}.`},InvalidLhsBinding:e=>{let{ancestor:t}=e;return`Binding invalid left-hand side in ${W(t)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:e=>{let{unexpected:t}=e;return`Unexpected character '${t}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:e=>{let{identifierName:t}=e;return`Private name #${t} is not defined.`},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:e=>{let{labelName:t}=e;return`Label '${t}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling the parser plugin: ${t.map((e=>JSON.stringify(e))).join(", ")}.`},MissingOneOfPlugins:e=>{let{missingPlugin:t}=e;return`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map((e=>JSON.stringify(e))).join(", ")}.`},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:e=>{let{key:t}=e;return`Duplicate key "${t}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:e=>{let{surrogateCharCode:t}=e;return`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`},ModuleExportUndefined:e=>{let{localName:t}=e;return`Export '${t}' is not defined.`},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:e=>{let{identifierName:t}=e;return`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`},PrivateNameRedeclaration:e=>{let{identifierName:t}=e;return`Duplicate private name #${t}.`},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:e=>{let{keyword:t}=e;return`Unexpected keyword '${t}'.`},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:e=>{let{reservedWord:t}=e;return`Unexpected reserved word '${t}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:e=>{let{expected:t,unexpected:r}=e;return`Unexpected token${r?` '${r}'.`:""}${t?`, expected "${t}"`:""}`},UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:e=>{let{target:t,onlyValidPropertyName:r}=e;return`The only valid meta property for ${t} is ${t}.${r}.`},UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:e=>{let{identifierName:t}=e;return`Identifier '${t}' has already been declared.`},YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},q=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),G={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:e=>{let{token:t}=e;return`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`},PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:e=>{let{type:t}=e;return`Hack-style pipe body cannot be an unparenthesized ${W({type:t})}; please wrap it in parentheses.`},PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'},K=["toMessage"],X=["message"];function J(e){let{toMessage:t}=e,r=M(e,K);return function e(n){let{loc:i,details:s}=n;return((e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((e=>{let[,t]=e;return!!t})).map((e=>{let[t,r]=e;return[t,"function"==typeof r?{value:r,enumerable:!1}:"string"==typeof r.reflect?Object.assign({},r,U(r.reflect.split("."))):r]})).reduce(((e,t)=>{let[r,n]=t;return Object.defineProperty(e,r,Object.assign({configurable:!0},n))}),Object.assign(new e,t)))(SyntaxError,Object.assign({},r,{loc:i}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.loc||{};return e({loc:new L("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:s,enumerable:!1},message:{get(){return`${t(this.details)} (${this.loc.line}:${this.loc.column})`},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in s&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Y(e,t){if(Array.isArray(e))return t=>Y(t,e[0]);let r={};for(let n of Object.keys(e)){let i=e[n],s="string"==typeof i?{message:()=>i}:"function"==typeof i?{message:i}:i,{message:o}=s,a=M(s,X),l="string"==typeof o?()=>o:o;r[n]=J(Object.assign({code:j,reasonCode:n,toMessage:l},t?{syntaxPlugin:t}:{},a))}return r}var Z=Object.assign({},Y(z),Y(H),Y({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:e=>{let{referenceName:t}=e;return`Assigning to '${t}' in strict mode.`},StrictEvalArgumentsBinding:e=>{let{bindingName:t}=e;return`Binding '${t}' in strict mode.`},StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."}),Y`pipelineOperator`(G)),{defineProperty:Q}=Object,ee=(e,t)=>Q(e,t,{enumerable:!1,value:e[t]});function te(e){return e.loc.start&&ee(e.loc.start,"index"),e.loc.end&&ee(e.loc.end,"index"),e}var re="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ne="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",ie=new RegExp("["+re+"]"),se=new RegExp("["+re+ne+"]");re=ne=null;var oe=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],ae=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function le(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function ue(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ie.test(String.fromCharCode(e)):le(e,oe)))}function ce(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&se.test(String.fromCharCode(e)):le(e,oe)||le(e,ae))))}var pe=["implements","interface","let","package","private","protected","public","static","yield"],he=["eval","arguments"],de=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),fe=new Set(pe),me=new Set(he);function ge(e,t){return t&&"await"===e||"enum"===e}function ye(e,t){return ge(e,t)||fe.has(e)}function be(e){return me.has(e)}function ve(e,t){return ye(e,t)||be(e)}var De=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);var Ee=64,xe=128,we=256,Se=387,Ce=128,Ae=1024,Te=2048,Pe=4096,Fe=8192,Ie=8201,Ne=64,ke=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},_e=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(this.currentThisScopeFlags()&Ee)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&Ee)>0&&!(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&xe)return!0;if(451&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ke(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,r){let n=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(n,e,t,r),16&t?n.functions.add(e):n.lexical.add(e),8&t&&this.maybeExportDefined(n,e);else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.add(e),this.maybeExportDefined(n,e),!(n.flags&Se));--i);this.parser.inModule&&1&n.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(Z.VarRedeclaration,{at:n,identifierName:t})}isRedeclaredInScope(e,t,r){return!!(1&r)&&(8&r?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&r?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,r=this.scopeStack[0];!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)&&this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Se)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(451&t&&!(4&t))return t}}},Oe=class extends ke{constructor(){super(...arguments),this.declareFunctions=new Set}},Me=class extends _e{createScope(e){return new Oe(e)}declareName(e,t,r){let n=this.currentScope();if(t&Te)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.add(e);super.declareName(e,t,r)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(e,t,r)||!!(r&Te)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},Le=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,r]=e;if(!this.hasPlugin(t))return!1;let n=this.plugins.get(t);for(let e of Object.keys(r))if((null==n?void 0:n[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}};function Be(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Re(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function je(e,t,r){let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?Re(e,r.comments):Be(n,r.comments)}var $e=class extends Le{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,r=t.length;if(0===r)return;let n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);let{start:s}=e;for(;n>=0;n--){let r=t[n],i=r.end;if(!(i>s)){i===s&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(n,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Be(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{let{containingNode:r,start:n}=e;if(44===this.input.charCodeAt(n-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":je(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":je(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":je(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":je(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":je(r,r.specifiers,e);break;default:Re(r,t)}else Re(r,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:r}=t;if(0===r)return;let n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:n}=this.state,i=n.length;if(0===i)return;let s=i-1;for(;s>=0;s--){let i=n[s],o=i.end;if(i.start===r)i.leadingNode=e;else if(o===t)i.trailingNode=e;else if(o<t)break}}},Ue=/\r\n?|[\n\u2028\u2029]/,ze=new RegExp(Ue.source,"g");function Ve(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var We=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,He=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function qe(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var Ge=class{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[n.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init(e){let{strictMode:t,sourceType:r,startLine:n,startColumn:i}=e;this.strict=!1!==t&&(!0===t||"module"===r),this.curLine=n,this.lineStart=-i,this.startLoc=this.endLoc=new L(n,i,0)}curPosition(){return new L(this.curLine,this.pos-this.lineStart,this.pos)}clone(e){let t=new Ge,r=Object.keys(this);for(let n=0,i=r.length;n<i;n++){let i=r[n],s=this[i];!e&&Array.isArray(s)&&(s=s.slice()),t[i]=s}return t}},Ke=function(e){return e>=48&&e<=57},Xe={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Je={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function Ye(e,t,r,n,i,s){let o=r,a=n,l=i,u="",c=null,p=r,{length:h}=t;for(;;){if(r>=h){s.unterminated(o,a,l),u+=t.slice(p,r);break}let d=t.charCodeAt(r);if(Ze(e,d,t,r)){u+=t.slice(p,r);break}if(92===d){u+=t.slice(p,r);let o=Qe(t,r,n,i,"template"===e,s);null!==o.ch||c?u+=o.ch:c={pos:r,lineStart:n,curLine:i},({pos:r,lineStart:n,curLine:i}=o),p=r}else 8232===d||8233===d?(++i,n=++r):10===d||13===d?"template"===e?(u+=t.slice(p,r)+"\n",++r,13===d&&10===t.charCodeAt(r)&&++r,++i,p=n=r):s.unterminated(o,a,l):++r}return{pos:r,str:u,firstInvalidLoc:c,lineStart:n,curLine:i,containsInvalid:!!c}}function Ze(e,t,r,n){return"template"===e?96===t||36===t&&123===r.charCodeAt(n+1):t===("double"===e?34:39)}function Qe(e,t,r,n,i,s){let o=!i;t++;let a=e=>({pos:t,ch:e,lineStart:r,curLine:n}),l=e.charCodeAt(t++);switch(l){case 110:return a("\n");case 114:return a("\r");case 120:{let i;return({code:i,pos:t}=et(e,t,r,n,2,!1,o,s)),a(null===i?null:String.fromCharCode(i))}case 117:{let i;return({code:i,pos:t}=rt(e,t,r,n,o,s)),a(null===i?null:String.fromCodePoint(i))}case 116:return a("\t");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:r=t,++n;case 8232:case 8233:return a("");case 56:case 57:if(i)return a(null);s.strictNumericEscape(t-1,r,n);default:if(l>=48&&l<=55){let o=t-1,l=e.slice(o,t+2).match(/^[0-7]+/)[0],u=parseInt(l,8);u>255&&(l=l.slice(0,-1),u=parseInt(l,8)),t+=l.length-1;let c=e.charCodeAt(t);if("0"!==l||56===c||57===c){if(i)return a(null);s.strictNumericEscape(o,r,n)}return a(String.fromCharCode(u))}return a(String.fromCharCode(l))}}function et(e,t,r,n,i,s,o,a){let l,u=t;return({n:l,pos:t}=tt(e,t,r,n,16,i,s,!1,a,!o)),null===l&&(o?a.invalidEscapeSequence(u,r,n):t=u-1),{code:l,pos:t}}function tt(e,t,r,n,i,s,o,a,l,u){let c=t,p=16===i?Xe.hex:Xe.decBinOct,h=16===i?Je.hex:10===i?Je.dec:8===i?Je.oct:Je.bin,d=!1,f=0;for(let c=0,m=null==s?1/0:s;c<m;++c){let s,c=e.charCodeAt(t);if(95!==c||"bail"===a){if(s=c>=97?c-97+10:c>=65?c-65+10:Ke(c)?c-48:1/0,s>=i){if(s<=9&&u)return{n:null,pos:t};if(s<=9&&l.invalidDigit(t,r,n,i))s=0;else{if(!o)break;s=0,d=!0}}++t,f=f*i+s}else{let i=e.charCodeAt(t-1),s=e.charCodeAt(t+1);if(a){if(Number.isNaN(s)||!h(s)||p.has(i)||p.has(s)){if(u)return{n:null,pos:t};l.unexpectedNumericSeparator(t,r,n)}}else{if(u)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,r,n)}++t}}return t===c||null!=s&&t-c!==s||d?{n:null,pos:t}:{n:f,pos:t}}function rt(e,t,r,n,i,s){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=et(e,t,r,n,e.indexOf("}",t)-t,!0,i,s)),++t,null!==o&&o>1114111){if(!i)return{code:null,pos:t};s.invalidCodePoint(t,r,n)}}else({code:o,pos:t}=et(e,t,r,n,4,!1,i,s));return{code:o,pos:t}}var nt=["at"],it=["at"];function st(e,t,r){return new L(r,e-t,e)}var ot=new Set([103,109,115,105,121,117,100,118]),at=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new B(e.startLoc,e.endLoc)}},lt=class extends $e{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,r,n)=>!!this.options.errorRecovery&&(this.raise(Z.InvalidDigit,{at:st(e,t,r),radix:n}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(Z.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(Z.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(Z.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(Z.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,r)=>{this.recordStrictModeErrors(Z.StrictNumericEscape,{at:st(e,t,r)})},unterminated:(e,t,r)=>{throw this.raise(Z.UnterminatedString,{at:st(e-1,t,r)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(Z.StrictNumericEscape),unterminated:(e,t,r)=>{throw this.raise(Z.UnterminatedTemplate,{at:st(e,t,r)})}}),this.state=new Ge,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new at(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return We.lastIndex=e,We.test(this.input)?We.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){let r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((e=>{let[t,r]=e;return this.raise(t,{at:r})})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(137):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());let r=this.state.pos,n=this.input.indexOf(e,r+2);if(-1===n)throw this.raise(Z.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=n+e.length,ze.lastIndex=r+2;ze.test(this.input)&&ze.lastIndex<=n;)++this.state.curLine,this.state.lineStart=ze.lastIndex;if(this.isLookahead)return;let i={type:"CommentBlock",value:this.input.slice(r+2,n),start:r,end:n+e.length,loc:new B(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipLineComment(e){let t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Ve(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let i=this.state.pos,s={type:"CommentLine",value:this.input.slice(r+e,i),start:r,end:i,loc:new B(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(s),s}skipSpace(){let e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){let r=this.input.charCodeAt(this.state.pos);switch(r){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let e=this.skipBlockComment("*/");void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{let e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(qe(r))++this.state.pos;else if(45===r&&!this.inModule&&this.options.annexB){let r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))break e;{let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}else{if(60!==r||this.inModule||!this.options.annexB)break e;{let e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{let e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}}if(t.length>0){let r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(Z.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?Z.RecordExpressionHashIncorrectStartSyntaxType:Z.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else ue(t)?(++this.state.pos,this.finishToken(136,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!Ve(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let r=this.input.slice(t+2,this.state.pos);return this.finishToken(28,r),!0}readToken_mult_modulo(e){let t=42===e?55:54,r=1,n=this.input.charCodeAt(this.state.pos+1);42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=57),61===n&&!this.state.inType&&(r++,t=37===e?33:30),this.finishOp(t,r)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Z.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Z.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);61!==e||this.state.inType?94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),94===this.input.codePointAt(this.state.pos)&&this.unexpected()):this.finishOp(44,1):this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){let t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){let t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Z.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(Z.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(ue(e))return void this.readWord(e)}throw this.raise(Z.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){let e,t,r=this.state.startLoc,n=this.state.start+1,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(Z.UnterminatedRegExp,{at:R(r,1)});let n=this.input.charCodeAt(i);if(Ve(n))throw this.raise(Z.UnterminatedRegExp,{at:R(r,1)});if(e)e=!1;else{if(91===n)t=!0;else if(93===n&&t)t=!1;else if(47===n&&!t)break;e=92===n}}let s=this.input.slice(n,i);++i;let o="",a=()=>R(r,i+2-n);for(;i<this.length;){let e=this.codePointAtPos(i),t=String.fromCharCode(e);if(ot.has(e))118===e?(this.expectPlugin("regexpUnicodeSets",a()),o.includes("u")&&this.raise(Z.IncompatibleRegExpUVFlags,{at:a()})):117===e&&o.includes("v")&&this.raise(Z.IncompatibleRegExpUVFlags,{at:a()}),o.includes(t)&&this.raise(Z.DuplicateRegExpFlags,{at:a()});else{if(!ce(e)&&92!==e)break;this.raise(Z.MalformedRegExpFlags,{at:a()})}++i,o+=t}this.state.pos=i,this.finishToken(135,{pattern:s,flags:o})}readInt(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{n:i,pos:s}=tt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,r,n,this.errorHandlers_readInt,!1);return this.state.pos=s,i}readRadixNumber(e){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(e);null==n&&this.raise(Z.InvalidDigit,{at:R(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(Z.InvalidDecimal,{at:t});if(ue(this.codePointAtPos(this.state.pos)))throw this.raise(Z.NumberIdentifier,{at:this.state.curPosition()});if(r){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,e)}else this.finishToken(132,n)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,s=!1,o=!1,a=!1;!e&&null===this.readInt(10)&&this.raise(Z.InvalidNumber,{at:this.state.curPosition()});let l=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(l){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(Z.StrictOctalLiteral,{at:r}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(Z.ZeroDigitNumericSeparator,{at:R(r,t)})}a=l&&!/[89]/.test(e)}let u=this.input.charCodeAt(this.state.pos);if(46===u&&!a&&(++this.state.pos,this.readInt(10),n=!0,u=this.input.charCodeAt(this.state.pos)),(69===u||101===u)&&!a&&(u=this.input.charCodeAt(++this.state.pos),(43===u||45===u)&&++this.state.pos,null===this.readInt(10)&&this.raise(Z.InvalidOrMissingExponent,{at:r}),n=!0,o=!0,u=this.input.charCodeAt(this.state.pos)),110===u&&((n||l)&&this.raise(Z.InvalidBigIntLiteral,{at:r}),++this.state.pos,i=!0),109===u&&(this.expectPlugin("decimal",this.state.curPosition()),(o||l)&&this.raise(Z.InvalidDecimal,{at:r}),++this.state.pos,s=!0),ue(this.codePointAtPos(this.state.pos)))throw this.raise(Z.NumberIdentifier,{at:this.state.curPosition()});let c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(133,c);if(s)return void this.finishToken(134,c);let p=a?parseInt(c,8):parseFloat(c);this.finishToken(132,p)}readCodePoint(e){let{code:t,pos:r}=rt(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=r,t}readString(e){let{str:t,pos:r,curLine:n,lineStart:i}=Ye(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=r+1,this.state.lineStart=i,this.state.curLine=n,this.finishToken(131,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:t,firstInvalidLoc:r,pos:n,curLine:i,lineStart:s}=Ye("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=n+1,this.state.lineStart=s,this.state.curLine=i,r&&(this.state.firstInvalidTemplateEscapePos=new L(r.curLine,r.pos-r.lineStart,r.pos)),96===this.input.codePointAt(n)?this.finishToken(24,r?null:e+t+"`"):(this.state.pos++,this.finishToken(25,r?null:e+t+"${"))}recordStrictModeErrors(e,t){let{at:r}=t,n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,{at:r}):this.state.strictErrors.set(n,[e,r])}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let e=this.codePointAtPos(this.state.pos);if(ce(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(n,this.state.pos);let e=this.state.curPosition(),i=this.state.pos===r?ue:ce;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(Z.MissingUnicodeEscape,{at:this.state.curPosition()}),n=this.state.pos-1;continue}++this.state.pos;let s=this.readCodePoint(!0);null!==s&&(i(s)||this.raise(Z.EscapedCharNotAnIdentifier,{at:e}),t+=String.fromCodePoint(s)),n=this.state.pos}}}return t+this.input.slice(n,this.state.pos)}readWord(e){let t=this.readWord1(e),r=p.get(t);void 0!==r?this.finishToken(r,N(r)):this.finishToken(130,t)}checkKeywordEscapes(){let{type:e}=this.state;F(e)&&this.state.containsEsc&&this.raise(Z.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:N(e)})}raise(e,t){let{at:r}=t,n=M(t,nt),i=e({loc:r instanceof L?r:r.loc.start,details:n});if(!this.options.errorRecovery)throw i;return this.isLookahead||this.state.errors.push(i),i}raiseOverwrite(e,t){let{at:r}=t,n=M(t,it),i=r instanceof L?r:r.loc.start,s=i.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){let r=o[t];if(r.loc.index===s)return o[t]=e({loc:i,details:n});if(r.loc.index<s)break}return this.raise(e,t)}updateContext(e){}unexpected(e,t){throw this.raise(Z.UnexpectedToken,{expected:t?N(t):null,at:null!=e?e:this.state.startLoc})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(Z.MissingPlugin,{at:null!=t?t:this.state.startLoc,missingPlugin:[e]})}expectOnePlugin(e){if(!e.some((e=>this.hasPlugin(e))))throw this.raise(Z.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}errorBuilder(e){return(t,r,n)=>{this.raise(e,{at:st(t,r,n)})}}},ut=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},ct=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new ut)}exit(){let e=this.stack.pop(),t=this.current();for(let[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.parser.raise(Z.InvalidPrivateFieldResolution,{at:n,identifierName:r})}declarePrivateName(e,t,r){let{privateNames:n,loneAccessors:i,undefinedPrivateNames:s}=this.current(),o=n.has(e);if(3&t){let r=o&&i.get(e);r?(o=(3&r)==(3&t)||(4&r)!=(4&t),o||i.delete(e)):o||i.set(e,t)}o&&this.parser.raise(Z.PrivateNameRedeclaration,{at:r,identifierName:e}),n.add(e),s.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.parser.raise(Z.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},pt=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}},ht=class extends pt{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:r}=t,n=r.index;this.declarationErrors.set(n,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},dt=class{constructor(e){this.parser=void 0,this.stack=[new pt],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:r}=t,n={at:r.loc.start},{stack:i}=this,s=i.length-1,o=i[s];for(;!o.isCertainlyParameterDeclaration();){if(!o.canBeArrowParameterDeclaration())return;o.recordDeclarationError(e,n),o=i[--s]}this.parser.raise(e,n)}recordArrowParameterBindingError(e,t){let{at:r}=t,{stack:n}=this,i=n[n.length-1],s={at:r.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,s);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,s)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:r}=this,n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)2===i.type&&i.recordDeclarationError(Z.AwaitBindingIdentifier,{at:t}),i=r[--n]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((t=>{let[r,n]=t;this.parser.raise(r,{at:n});let i=e.length-2,s=e[i];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(n.index),s=e[--i]}))}};function ft(){return new pt}var mt=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}};function gt(e,t){return(e?2:0)|(t?1:0)}var yt=class extends lt{addExtra(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!e)return;let i=e.extra=e.extra||{};n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let r=e+t.length;if(this.input.slice(e,r)===t){let e=this.input.charCodeAt(r);return!(ce(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,{at:this.state.startLoc});this.unexpected(null,e)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Ue.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return He.lastIndex=this.state.end,He.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(Z.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),r={node:null};try{let n=e((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw r.node=e,r}));if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let n=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:n};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:n};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:i,optionalParametersLoc:s}=e;if(!t)return!!(r||n||s||i);null!=r&&this.raise(Z.InvalidCoverInitializedName,{at:r}),null!=n&&this.raise(Z.DuplicateProto,{at:n}),null!=i&&this.raise(Z.UnexpectedPrivateField,{at:i}),null!=s&&this.unexpected(s)}isLiteralPropertyName(){return A(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let n=this.inModule;this.inModule=e;let i=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let o=this.prodParam;this.prodParam=new mt;let a=this.classScope;this.classScope=new ct(this);let l=this.expressionScope;return this.expressionScope=new dt(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=o,this.classScope=a,this.expressionScope=l}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}},bt=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},vt=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new B(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},Dt=vt.prototype;function Et(e){let{type:t,start:r,end:n,loc:i,range:s,extra:o,name:a}=e,l=Object.create(Dt);return l.type=t,l.start=r,l.end=n,l.loc=i,l.range=s,l.extra=o,l.name=a,"Placeholder"===t&&(l.expectedNode=e.expectedNode),l}function xt(e){let{type:t,start:r,end:n,loc:i,range:s,extra:o}=e;if("Placeholder"===t)return function(e){return Et(e)}(e);let a=Object.create(Dt);return a.type=t,a.start=r,a.end=n,a.loc=i,a.range=s,void 0!==e.raw?a.raw=e.raw:a.extra=o,a.value=e.value,a}Dt.__clone=function(){let e=new vt(void 0,this.start,this.loc.start),t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){let n=t[r];"leadingComments"!==n&&"trailingComments"!==n&&"innerComments"!==n&&(e[n]=this[n])}return e};var wt=class extends yt{startNode(){return new vt(this,this.state.start,this.state.startLoc)}startNodeAt(e){return new vt(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,r){return e.type=t,e.end=r.index,e.loc.end=r,this.options.ranges&&(e.range[1]=r.index),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,this.options.ranges&&(e.range[0]=t.index)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}},St=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ct=Y`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:e=>{let{reservedType:t}=e;return`Cannot overwrite reserved type ${t}.`},DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:e=>{let{memberName:t,enumName:r}=e;return`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${r}\`.`},EnumDuplicateMemberName:e=>{let{memberName:t,enumName:r}=e;return`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${r}\`.`},EnumInconsistentMemberValues:e=>{let{enumName:t}=e;return`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`},EnumInvalidExplicitType:e=>{let{invalidEnumType:t,enumName:r}=e;return`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${r}\`.`},EnumInvalidExplicitTypeUnknownSupplied:e=>{let{enumName:t}=e;return`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`},EnumInvalidMemberInitializerPrimaryType:e=>{let{enumName:t,memberName:r,explicitType:n}=e;return`Enum \`${t}\` has type \`${n}\`, so the initializer of \`${r}\` needs to be a ${n} literal.`},EnumInvalidMemberInitializerSymbolType:e=>{let{enumName:t,memberName:r}=e;return`Symbol enum members cannot be initialized. Use \`${r},\` in enum \`${t}\`.`},EnumInvalidMemberInitializerUnknownType:e=>{let{enumName:t,memberName:r}=e;return`The enum member initializer for \`${r}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`},EnumInvalidMemberName:e=>{let{enumName:t,memberName:r,suggestion:n}=e;return`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${r}\`, consider using \`${n}\`, in enum \`${t}\`.`},EnumNumberMemberNotInitialized:e=>{let{enumName:t,memberName:r}=e;return`Number enum members need to be initialized, e.g. \`${r} = 1\` in enum \`${t}\`.`},EnumStringMemberInconsistentlyInitailized:e=>{let{enumName:t}=e;return`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`},GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:e=>{let{reservedType:t}=e;return`Unexpected reserved type ${t}.`},UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:e=>{let{unsupportedExportKind:t,suggestion:r}=e;return`\`declare export ${t}\` is not supported. Use \`${r}\` instead.`},UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function At(e){return"type"===e.importKind||"typeof"===e.importKind}function Tt(e){return C(e)&&97!==e}var Pt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};var Ft=/\*?\s*@((?:no)?flow)\b/,It={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Nt=Y`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:e=>{let{openingTagName:t}=e;return`Expected corresponding JSX closing tag for <${t}>.`},MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:e=>{let{unexpected:t,HTMLEntity:r}=e;return`Unexpected token \`${t}\`. Did you mean \`${r}\` or \`{'${t}'}\`?`},UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function kt(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function _t(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return _t(e.object)+"."+_t(e.property);throw new Error("Node had unexpected type: "+e.type)}var Ot=class extends ke{constructor(){super(...arguments),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}},Mt=class extends _e{constructor(){super(...arguments),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new Ot(e)}enter(e){e==we&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e==we&&this.importsStack.pop(),e}hasImport(e,t){let r=this.importsStack.length;if(this.importsStack[r-1].has(e))return!0;if(!t&&r>1)for(let t=0;t<r-1;t++)if(this.importsStack[t].has(e))return!0;return!1}declareName(e,t,r){if(t&Pe)return this.hasImport(e,!0)&&this.parser.raise(Z.VarRedeclaration,{at:r,identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);let n=this.currentScope();if(t&Ae)return this.maybeExportDefined(n,e),void n.exportOnlyBindings.add(e);super.declareName(e,t,r),2&t&&(1&t||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),n.types.add(e)),256&t&&n.enums.add(e),512&t&&n.constEnums.add(e),t&Ce&&n.classes.add(e)}isRedeclaredInScope(e,t,r){return e.enums.has(t)?!(256&r)||!!(512&r)!==e.constEnums.has(t):r&Ce&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&r):!!(2&r&&e.types.has(t))||super.isRedeclaredInScope(e,t,r)}checkLocalExport(e){let{name:t}=e;if(!this.hasImport(t)){for(let e=this.scopeStack.length-1;e>=0;e--){let r=this.scopeStack[e];if(r.types.has(t)||r.exportOnlyBindings.has(t))return}super.checkLocalExport(e)}}},Lt=e=>"ParenthesizedExpression"===e.type?Lt(e.expression):e,Bt=class extends wt{toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r,n;let i;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=Lt(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParameterBindingError(Z.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(Z.InvalidParenthesizedAssignment,{at:e}):this.raise(Z.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r<n;r++){var s;let n=e.properties[r],o=r===i;this.toAssignableObjectExpressionProp(n,o,t),o&&"RestElement"===n.type&&null!=(s=e.extra)&&s.trailingCommaLoc&&this.raise(Z.RestTrailingComma,{at:e.extra.trailingCommaLoc})}break;case"ObjectProperty":{let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(n=e.extra)?void 0:n.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(Z.MissingEqInAssignment,{at:e.left.loc.end}),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?Z.PatternHasAccessor:Z.PatternHasMethod,{at:e.key});else if("SpreadElement"===e.type){e.type="RestElement";let n=e.argument;this.checkToRestConversion(n,!1),this.toAssignable(n,r),t||this.raise(Z.RestTrailingComma,{at:e})}else this.toAssignable(e,r)}toAssignableList(e,t,r){let n=e.length-1;for(let i=0;i<=n;i++){let s=e[i];if(s){if("SpreadElement"===s.type){s.type="RestElement";let e=s.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,r)}else this.toAssignable(s,r);"RestElement"===s.type&&(i<n?this.raise(Z.RestTrailingComma,{at:s}):t&&this.raise(Z.RestTrailingComma,{at:t}))}}}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let t=e.properties.length-1;return e.properties.every(((e,r)=>"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e){let t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r){let n=1&r,i=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),n&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding(),r)),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(Z.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(r,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,startLoc:r}=this.state;return 21===t?this.parseBindingRestProperty(e):(136===t?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,!1,!1,!0,!1))}parseAssignableListItem(e,t){let r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r,e);let n=this.parseMaybeDefault(r.loc.start,r);return t.length&&(r.decorators=t),n}parseAssignableListItemTypes(e,t){return e}parseMaybeDefault(e,t){var r;if(null!=e||(e=this.state.startLoc),t=null!=(r=t)?r:this.parseBindingAtom(),!this.eat(29))return t;let n=this.startNodeAt(e);return n.left=t,n.right=this.parseMaybeAssignAllowIn(),this.finishNode(n,"AssignmentPattern")}isValidLVal(e,t,r){return((e,t)=>Object.hasOwnProperty.call(e,t)&&e[t])({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){let{in:r,binding:n=Ne,checkClashes:i=!1,strictModeChanged:s=!1,hasParenthesizedAncestor:o=!1}=t;var a;let l=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===l)return void(n!==Ne&&this.raise(Z.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===l){this.checkIdentifier(e,n,s);let{name:t}=e;return void(i&&(i.has(t)?this.raise(Z.ParamDupe,{at:e}):i.add(t)))}let u=this.isValidLVal(l,!(o||null!=(a=e.extra)&&a.parenthesized)&&"AssignmentExpression"===r.type,n);if(!0===u)return;if(!1===u){let t=n===Ne?Z.InvalidLhs:Z.InvalidLhsBinding;return void this.raise(t,{at:e,ancestor:r})}let[c,p]=Array.isArray(u)?u:[u,"ParenthesizedExpression"===l],h="ArrayPattern"===l||"ObjectPattern"===l||"ParenthesizedExpression"===l?{type:l}:r;for(let t of[].concat(e[c]))t&&this.checkLVal(t,{in:h,binding:n,checkClashes:i,strictModeChanged:s,hasParenthesizedAncestor:p})}checkIdentifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.strict&&(r?ve(e.name,this.inModule):be(e.name))&&(t===Ne?this.raise(Z.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(Z.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),t&Fe&&"let"===e.name&&this.raise(Z.LetInLexicalBinding,{at:e}),t&Ne||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(Z.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?Z.RestTrailingComma:Z.ElementAfterRest,{at:this.state.startLoc}),!0)}};function Rt(e){if(!e)throw new Error("Assert fail")}var jt=Y`typescript`({AbstractMethodHasImplementation:e=>{let{methodName:t}=e;return`Method '${t}' cannot have an implementation because it is marked abstract.`},AbstractPropertyHasInitializer:e=>{let{propertyName:t}=e;return`Property '${t}' cannot have an initializer because it is marked abstract.`},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:e=>{let{kind:t}=e;return`'declare' is not allowed in ${t}ters.`},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:e=>{let{modifier:t}=e;return"Accessibility modifier already seen."},DuplicateModifier:e=>{let{modifier:t}=e;return`Duplicate modifier: '${t}'.`},EmptyHeritageClauseType:e=>{let{token:t}=e;return`'${t}' list cannot be empty.`},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:e=>{let{modifiers:t}=e;return`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:e=>{let{modifier:t}=e;return`Index signatures cannot have an accessibility modifier ('${t}').`},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type member.`},InvalidModifierOnTypeParameter:e=>{let{modifier:t}=e;return`'${t}' modifier cannot appear on a type parameter.`},InvalidModifierOnTypeParameterPositions:e=>{let{modifier:t}=e;return`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`},InvalidModifiersOrder:e=>{let{orderedModifiers:t}=e;return`'${t[0]}' modifier must precede '${t[1]}' modifier.`},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:e=>{let{modifier:t}=e;return`Private elements cannot have an accessibility modifier ('${t}').`},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:e=>{let{typeParameterName:t}=e;return`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:e=>{let{type:t}=e;return`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`}});function $t(e){return"private"===e||"public"===e||"protected"===e}function Ut(e){return"in"===e||"out"===e}function zt(e){if("MemberExpression"!==e.type)return!1;let{computed:t,property:r}=e;return(!t||"StringLiteral"===r.type||!("TemplateLiteral"!==r.type||r.expressions.length>0))&&Ht(e.object)}function Vt(e,t){var r;let{type:n}=e;if(null!=(r=e.extra)&&r.parenthesized)return!1;if(t){if("Literal"===n){let{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===n||"BooleanLiteral"===n)return!0;return!!(Wt(e,t)||function(e,t){if("UnaryExpression"===e.type){let{operator:r,argument:n}=e;if("-"===r&&Wt(n,t))return!0}return!1}(e,t)||"TemplateLiteral"===n&&0===e.expressions.length||zt(e))}function Wt(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function Ht(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Ht(e.object)}var qt=Y`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});function Gt(e,t){let[r,n]="string"==typeof t?[t,{}]:t,i=Object.keys(n),s=0===i.length;return e.some((e=>{if("string"==typeof e)return s&&e===r;{let[t,s]=e;if(t!==r)return!1;for(let e of i)if(s[e]!==n[e])return!1;return!0}}))}function Kt(e,t,r){let n=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return n&&Array.isArray(n)&&n.length>1?n[1][r]:null}var Xt=["minimal","fsharp","hack","smart"],Jt=["^^","@@","^","%","#"],Yt=["hash","bar"];var Zt={estree:e=>class extends e{parse(){let e=te(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(te)),e}parseRegExpLiteral(e){let{pattern:t,flags:r}=e,n=null;try{n=new RegExp(t,r)}catch{}let i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value;delete e.value,t.type="Literal",t.raw=t.extra.raw,t.value=t.extra.expressionValue;let r=e;return r.type="ExpressionStatement",r.expression=t,r.directive=t.extra.rawValue,delete t.extra,r}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,r,n,i){super.parseBlockBody(e,t,r,n,i);let s=e.directives.map((e=>this.directiveToStmt(e)));e.body=s.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,s){this.parseMethod(t,r,n,i,s,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,n,i,s){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,r,n,i,s,o),a.type="FunctionExpression",delete a.kind,e.value=a,"ClassPrivateMethod"===s&&(e.computed=!1),this.finishNode(e,"MethodDefinition")}parseClassProperty(){let e=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition"),e}parseClassPrivateProperty(){let e=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition",e.computed=!1),e}parseObjectMethod(e,t,r,n,i){let s=super.parseObjectMethod(e,t,r,n,i);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s}parseObjectProperty(e,t,r,n){let i=super.parseObjectProperty(e,t,r,n);return i&&(i.kind="init",i.type="Property"),i}isValidLVal(e,t,r){return"Property"===e?"value":super.isValidLVal(e,t,r)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,r){"get"===e.kind||"set"===e.kind?this.raise(Z.PatternHasAccessor,{at:e.key}):e.method?this.raise(Z.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(e,t,r)}finishCallExpression(e,t){let r=super.finishCallExpression(e,t);var n;return"Import"===r.callee.type&&(r.type="ImportExpression",r.source=r.arguments[0],this.hasPlugin("importAssertions")&&(r.attributes=null!=(n=r.arguments[1])?n:null),delete r.arguments,delete r.callee),r}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){let r=this.state.lastTokStartLoc,n=super.parseExport(e,t);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":1===n.specifiers.length&&"ExportNamespaceSpecifier"===n.specifiers[0].type&&(n.type="ExportAllDeclaration",n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var i;let{declaration:e}=n;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(i=e.decorators)?void 0:i.length)>0&&e.start===n.start&&this.resetStartLocation(n,r)}}return n}parseSubscript(e,t,r,n){let i=super.parseSubscript(e,t,r,n);if(n.optionalChainMember){if(("OptionalMemberExpression"===i.type||"OptionalCallExpression"===i.type)&&(i.type=i.type.substring(8)),n.stop){let e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===i.type||"CallExpression"===i.type)&&(i.optional=!1);return i}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,r){return te(super.finishNodeAt(e,t,r))}resetStartLocation(e,t){super.resetStartLocation(e,t),te(e)}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),te(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Nt.UnterminatedJsxContent,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?void(60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(r)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(139,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Ve(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Z.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):Ve(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(131,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,r=!1;for(;t++<10&&this.state.pos<this.length&&!(r=59==this.codePointAtPos(this.state.pos));)++this.state.pos;if(r){let t=this.input.slice(e,this.state.pos),r=It[t];if(++this.state.pos,r)return r}}return this.state.pos=e,"&"}jsxReadWord(){let e,t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(ce(e)||45===e);this.finishToken(138,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(138)?e.name=this.state.value:F(this.state.type)?e.name=N(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){let e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;let r=this.startNodeAt(e);return r.namespace=t,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){let e=this.state.startLoc,t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){let r=this.startNodeAt(e);r.object=t,r.property=this.jsxParseIdentifier(),t=this.finishNode(r,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(n.brace),this.next(),e=this.jsxParseExpressionContainer(e,n.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(Nt.AttributeIsEmpty,{at:e}),e;case 140:case 131:return this.parseExprAtom();default:throw this.raise(Nt.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(n.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(n.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(n.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){let t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){let t=[];for(;!this.match(56)&&!this.match(141);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(141),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){let t=this.startNodeAt(e);return this.eat(141)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(141),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){let t=this.startNodeAt(e),r=[],i=this.jsxParseOpeningElementAt(e),s=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 140:if(e=this.state.startLoc,this.next(),this.eat(56)){s=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 139:r.push(this.parseExprAtom());break;case 5:{let e=this.startNode();this.setContext(n.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(e)):r.push(this.jsxParseExpressionContainer(e,n.j_expr));break}default:this.unexpected()}kt(i)&&!kt(s)&&null!==s?this.raise(Nt.MissingClosingTagFragment,{at:s}):(!kt(i)&&kt(s)||!kt(i)&&!kt(s)&&_t(s.name)!==_t(i.name))&&this.raise(Nt.MissingClosingTagElement,{at:s,openingTagName:_t(i.name)})}if(kt(i)?(t.openingFragment=i,t.closingFragment=s):(t.openingElement=i,t.closingElement=s),t.children=r,this.match(47))throw this.raise(Nt.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return kt(i)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let t=this.curContext();if(t!==n.j_expr){if(t===n.j_oTag||t===n.j_cTag){if(ue(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(141);if((34===e||39===e)&&t===n.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(140);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){let{context:t,type:r}=this.state;if(56===r&&140===e)t.splice(-2,2,n.j_cTag),this.state.canStartJSXElement=!1;else if(140===r)t.push(n.j_oTag);else if(141===r){let r=t[t.length-1];r===n.j_oTag&&56===e||r===n.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===n.j_expr):(this.setContext(n.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=function(e){return b[e]}(r)}},flow:e=>class extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return Me}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){131!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=Ft.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>t.index+1&&this.raise(Ct.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){return this.match(80)?this.flowParseDeclareClass(e):this.match(68)?this.flowParseDeclareFunction(e):this.match(74)?this.flowParseDeclareVariable(e):this.eatContextual(125)?this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Ct.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e)):this.isContextual(128)?this.flowParseDeclareTypeAlias(e):this.isContextual(129)?this.flowParseDeclareOpaqueType(e):this.isContextual(127)?this.flowParseDeclareInterface(e):this.match(82)?this.flowParseDeclareExportDeclaration(e,t):void this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(131)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(Ct.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(e)):(this.expectContextual(123,Ct.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let n=null,i=!1;return r.forEach((e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(i&&this.raise(Ct.DuplicateDeclareModuleExports,{at:e}),"ES"===n&&this.raise(Ct.AmbiguousDeclareModuleKind,{at:e}),n="CommonJS",i=!0):("CommonJS"===n&&this.raise(Ct.AmbiguousDeclareModuleKind,{at:e}),n="ES")})),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!t){let e=this.state.value;throw this.raise(Ct.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Pt[e]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(129)?(e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129)?("ExportNamedDeclaration"===(e=this.parseExport(e,null)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e):void this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(109),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let t=this.flowParseTypeAlias(e);return t.type="DeclareTypeAlias",t}flowParseDeclareOpaqueType(e){this.next();let t=this.flowParseOpaqueType(e,!0);return t.type="DeclareOpaqueType",t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:Ie,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(t){if(this.eatContextual(115))do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12));if(this.eatContextual(111))do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Ct.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){St.has(e)&&this.raise(r?Ct.AssignReservedType:Ct.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,Ie,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(128),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,Ie,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Ct.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let r=!1;do{let e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(127),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){let r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType(e){let{allowStatic:t,allowExact:r,allowSpread:n,allowProto:i,allowInexact:s}=e,o=this.state.inType;this.state.inType=!0;let a=this.startNode();a.callProperties=[],a.properties=[],a.indexers=[],a.internalSlots=[];let l,u,c=!1;for(r&&this.match(6)?(this.expect(6),l=9,u=!0):(this.expect(5),l=8,u=!1),a.exact=u;!this.match(l);){let e=!1,r=null,o=null,l=this.startNode();if(i&&this.isContextual(116)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),r=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}let p=this.flowParseVariance();if(this.eat(0))null!=r&&this.unexpected(r),this.eat(0)?(p&&this.unexpected(p.loc.start),a.internalSlots.push(this.flowParseObjectTypeInternalSlot(l,e))):a.indexers.push(this.flowParseObjectTypeIndexer(l,e,p));else if(this.match(10)||this.match(47))null!=r&&this.unexpected(r),p&&this.unexpected(p.loc.start),a.callProperties.push(this.flowParseObjectTypeCallProperty(l,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&A(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(l,e,r,p,t,n,null!=s?s:!u);null===i?(c=!0,o=this.state.lastTokStartLoc):a.properties.push(i)}this.flowObjectTypeSemicolon(),o&&!this.match(8)&&!this.match(9)&&this.raise(Ct.UnexpectedExplicitInexactInObject,{at:o})}this.expect(l),n&&(a.inexact=c);let p=this.finishNode(a,"ObjectTypeAnnotation");return this.state.inType=o,p}flowParseObjectTypeProperty(e,t,r,n,i,s,o){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?o||this.raise(Ct.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Ct.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),n&&this.raise(Ct.InexactVariance,{at:n}),null):(s||this.raise(Ct.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),n&&this.raise(Ct.SpreadVariance,{at:n}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(Ct.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Ct.GetterMayNotHaveThisParam:Ct.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?Z.BadGetterArity:Z.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(Z.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let r=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let t=this.startNodeAt(e);t.qualification=r,t.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(t,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,t){let r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,r=!1,n=null,i=this.startNode(),s=this.lookahead(),o=78===this.state.type;return 14===s.type||17===s.type?(o&&!e&&this.raise(Ct.ThisParamMustBeFirst,{at:i}),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(Ct.ThisParamMayNotBeOptional,{at:i})),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),i.name=t,i.optional=r,i.typeAnnotation=n,this.finishNode(i,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){let t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r){switch(r.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){let e,t,r=this.state.startLoc,n=this.startNode(),i=!1,s=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,t=this.flowParseTupleType(),this.state.noAnonFunctionType=s,t;case 47:return n.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),n.params=e.params,n.rest=e.rest,n.this=e._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),this.finishNode(n,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(S(this.state.type)||this.match(78)){let e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=s,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),n.params=e.params,n.rest=e.rest,n.this=e._this,this.expect(11),this.expect(19),n.returnType=this.flowParseType(),n.typeParameters=null,this.finishNode(n,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return n.value=this.match(85),this.next(),this.finishNode(n,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",n);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",n);throw this.raise(Ct.UnexpectedSubtractionOperand,{at:this.state.startLoc})}return void this.unexpected();case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(n,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(n,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(n,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(n,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(F(this.state.type)){let e=N(this.state.type);return this.next(),super.createIdentifier(n,e)}if(S(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,t=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let n=this.startNodeAt(e),i=this.eat(18);r=r||i,this.expect(0),!i&&this.match(3)?(n.elementType=t,this.next(),t=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=t,n.indexType=this.flowParseType(),this.expect(3),r?(n.optional=i,t=this.finishNode(n,"OptionalIndexedAccessType")):t=this.finishNode(n,"IndexedAccessType"))}return t}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(130===this.state.type&&"_"===this.state.value){let e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(127)){if(C(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let t=super.parseStatementLike(e);return void 0===this.flowPragma&&!this.isValidDirective(t)&&(this.flowPragma=null),t}parseExpressionStatement(e,t,r){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||S(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(S(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){let{type:e}=this.state;return P(e)||this.shouldParseEnums()&&124===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return P(e)||this.shouldParseEnums()&&124===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(r),e}this.expect(17);let n=this.state.clone(),i=this.state.noArrowAt,s=this.startNodeAt(t),{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[l,u]=this.getArrowLikeExpressions(o);if(a||u.length>0){let e=[...i];if(u.length>0){this.state=n,this.state.noArrowAt=e;for(let t=0;t<u.length;t++)e.push(u[t].start);({consequent:o,failed:a}=this.tryParseConditionalConsequent()),[l,u]=this.getArrowLikeExpressions(o)}a&&l.length>1&&this.raise(Ct.AmbiguousConditionalArrow,{at:n.startLoc}),a&&1===l.length&&(this.state=n,e.push(l[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=i,this.expect(14),s.test=e,s.consequent=o,s.alternate=this.forwardNoArrowParamsConversionAt(s,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(s,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let r=[e],n=[];for(;0!==r.length;){let e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach((e=>this.finishArrowValidation(e))),[n,[]]):function(e,t){let r=[],n=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?r:n).push(e[i]);return[r,n]}(n,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(r,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e,t){let r=super.parseExport(e,t);return("ExportNamedDeclaration"===r.type||"ExportAllDeclaration"===r.type)&&(r.exportKind=r.exportKind||"value"),r}parseExportDeclaration(e){if(this.isContextual(128)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(129)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(124)){e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(128)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){let{startLoc:n}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Ct.DeclareClassElement,{at:n}):t.value&&this.raise(Ct.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(Z.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(130,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):function(e,t,r){return 64===e&&64===t&&ue(r)}(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!t&&"AssignmentExpression"===e.type&&"TypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){let r=e[t];"TypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;let i=e[n];i&&"TypeCastExpression"===i.type&&(null==(r=i.extra)||!r.parenthesized)&&(e.length>1||!t)&&this.raise(Ct.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e,t,r){return"TypeCastExpression"===e||super.isValidLVal(e,t,r)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,n,i,s),t.params&&i){let e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Ct.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Ct.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(Ct.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Ct.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,i,s,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!s&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let l=super.parseObjPropValue(e,t,r,n,i,s,o);return a&&((l.value||l).typeParameters=a),l}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Ct.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Ct.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Ct.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Ct.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t){let r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Ct.TypeBeforeInitializer,{at:r.typeAnnotation}),r}shouldParseDefaultImport(e){return At(e)?Tt(this.state.type):super.shouldParseDefaultImport(e)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Ct.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}parseImportSpecifierLocal(e,t,r){t.local=At(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(87)?t="typeof":this.isContextual(128)&&(t="type"),t){let r=this.lookahead(),{type:n}=r;"type"===t&&55===n&&this.unexpected(null,r.type),(Tt(n)||5===n||55===n)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,n,i){let s=e.imported,o=null;"Identifier"===s.type&&("type"===s.name?o="type":"typeof"===s.name&&(o="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let t=this.parseIdentifier(!0);null===o||C(this.state.type)?(e.imported=s,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=o,e.local=Et(t))}else{if(null!==o&&C(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(Z.ImportBindingIsString,{at:e,importName:s.value});e.imported=s,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=Et(e.imported))}let l=At(e);return r&&l&&this.raise(Ct.ImportTypeShorthandOnlyInPureImport,{at:e}),(r||l)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),a&&!r&&!l&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){let r=e.kind;"get"!==r&&"set"!==r&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let i,s=null;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(s=this.state.clone(),i=this.tryParse((()=>super.parseMaybeAssign(e,t)),s),!i.error)return i.node;let{context:r}=this.state,o=r[r.length-1];(o===n.j_oTag||o===n.j_expr)&&r.pop()}if(null!=(r=i)&&r.error||this.match(47)){var o,a;s=s||this.state.clone();let r,n=this.tryParse((n=>{var i;r=this.flowParseTypeParameterDeclaration();let s=this.forwardNoArrowParamsConversionAt(r,(()=>{let n=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(n,r),n}));null!=(i=s.extra)&&i.parenthesized&&n();let o=this.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==o.type&&n(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),s}),s),l=null;if(n.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(n.node).type){if(!n.error&&!n.aborted)return n.node.async&&this.raise(Ct.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),n.node;l=n.node}if(null!=(o=i)&&o.node)return this.state=i.failState,i.node;if(l)return this.state=n.failState,l;throw null!=(a=i)&&a.thrown?i.error:n.thrown?n.error:this.raise(Ct.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Ct.ThisParamMustBeFirst,{at:e.params[t]});super.checkParams(e,t,r,n)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t.index)){this.next();let r=this.startNodeAt(t);r.callee=e,r.arguments=super.parseCallExpressionArguments(11,!1),e=this.finishNode(r,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let n=this.state.clone(),i=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t)||e()),n);if(!i.error&&!i.aborted)return i.node;let s=this.tryParse((()=>super.parseSubscripts(e,t,r)),n);if(s.node&&!s.error)return s.node;if(i.node)return this.state=i.failState,i.node;if(s.node)return this.state=s.failState,s.node;throw i.error||s.error}return super.parseSubscripts(e,t,r)}parseSubscript(e,t,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();let i=this.startNodeAt(t);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!r&&this.shouldParseTypes()&&this.match(47)){let r=this.startNodeAt(t);r.callee=e;let i=this.tryParse((()=>(r.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),r.arguments=super.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(r.optional=!1),this.finishCallExpression(r,n.optionalChainMember))));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){let t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){let r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Ct.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(Ct.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(Z.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Ct.EnumBooleanMemberNotInitialized,{at:e,memberName:n,enumName:r})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Ct.EnumInvalidMemberInitializerSymbolType:Ct.EnumInvalidMemberInitializerPrimaryType:Ct.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Ct.EnumNumberMemberNotInitialized,{at:e,enumName:r,memberName:n})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:r}=t;this.raise(Ct.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:r})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{let r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 131:{let r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){let{explicitType:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:r}=e,n=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;for(;!this.match(8);){if(this.eat(21)){s=!0;break}let e=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),l=o.name;if(""===l)continue;/^[a-z]/.test(l)&&this.raise(Ct.EnumInvalidMemberName,{at:o,memberName:l,suggestion:l[0].toUpperCase()+l.slice(1),enumName:t}),n.has(l)&&this.raise(Ct.EnumDuplicateMemberName,{at:o,memberName:l,enumName:t}),n.add(l);let u={enumName:t,explicitType:r,memberName:l};switch(e.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,u,"boolean"),e.init=a.value,i.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,u,"number"),e.init=a.value,i.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,u,"string"),e.init=a.value,i.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,u);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,u);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,u);break;default:i.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:s}}flowEnumStringMembers(e,t,r){let{enumName:n}=r;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:n});return t}for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:n});return e}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!S(this.state.type))throw this.raise(Ct.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:r}=this.state;return this.next(),"boolean"!==r&&"number"!==r&&"string"!==r&&"symbol"!==r&&this.raise(Ct.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:r}),r}flowEnumBody(e,t){let r=t.name,n=t.loc.start,i=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:s,hasUnknownMembers:o}=this.flowEnumMembers({enumName:r,explicitType:i});switch(e.hasUnknownMembers=o,i){case"boolean":return e.explicitType=!0,e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=s.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let i=s.booleanMembers.length,o=s.numberMembers.length,a=s.stringMembers.length,l=s.defaultedMembers.length;if(!(i||o||a||l))return t();if(!i&&!o)return e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!o&&!a&&i>=l){for(let e of s.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!a&&o>=l){for(let e of s.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Ct.EnumInconsistentMemberValues,{at:n,enumName:r}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{constructor(){super(...arguments),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:jt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:jt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:jt.InvalidModifierOnTypeParameter})}getScopeHandler(){return Mt}tsIsIdentifier(){return S(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!S(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;let r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e,t){let{allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:i,errorTemplate:s=jt.InvalidModifierOnTypeMember}=e,o=(e,r,n,i)=>{r===n&&t[i]&&this.raise(jt.InvalidModifiersOrder,{at:e,orderedModifiers:[n,i]})},a=(e,r,n,i)=>{(t[n]&&r===i||t[i]&&r===n)&&this.raise(jt.IncompatibleModifiers,{at:e,modifiers:[n,i]})};for(;;){let{startLoc:e}=this.state,l=this.tsParseModifier(r.concat(null!=n?n:[]),i);if(!l)break;$t(l)?t.accessibility?this.raise(jt.DuplicateAccessibilityModifier,{at:e,modifier:l}):(o(e,l,l,"override"),o(e,l,l,"static"),o(e,l,l,"readonly"),t.accessibility=l):Ut(l)?(t[l]&&this.raise(jt.DuplicateModifier,{at:e,modifier:l}),t[l]=!0,o(e,l,"in","out")):(Object.hasOwnProperty.call(t,l)?this.raise(jt.DuplicateModifier,{at:e,modifier:l}):(o(e,l,"static","readonly"),o(e,l,"static","override"),o(e,l,"override","readonly"),o(e,l,"abstract","override"),a(e,l,"declare","override"),a(e,l,"static","abstract")),t[l]=!0),null!=n&&n.includes(l)&&this.raise(s,{at:e,modifier:l})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(e,t){let r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,n){let i=[],s=-1;for(;!this.tsIsListTerminator(e);){s=-1;let n=t();if(null==n)return;if(i.push(n),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}s=this.state.lastTokStart}return n&&(n.value=s),i}tsParseBracketedList(e,t,r,n,i){n||(r?this.expect(0):this.expect(47));let s=this.tsParseDelimitedList(e,t,i);return r?this.expect(3):this.expect(48),s}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(jt.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.parseIdentifier(e);for(;this.eat(16);){let r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();let r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(jt.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){let r=19===e;t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(jt.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e)))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!S(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let r=e;if(this.match(10)||this.match(47)){t&&this.raise(jt.ReadonlyForMethodSignature,{at:e});let n=r;n.kind&&this.match(47)&&this.raise(jt.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let i="parameters",s="typeAnnotation";if("get"===n.kind)n[i].length>0&&(this.raise(Z.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(n[i][0])&&this.raise(jt.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===n.kind){if(1!==n[i].length)this.raise(Z.BadSetterArity,{at:this.state.curPosition()});else{let e=n[i][0];this.isThisParam(e)&&this.raise(jt.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(jt.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(jt.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}n[s]&&this.raise(jt.SetAccesorCannotHaveReturnType,{at:n[s]})}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}{let e=r;t&&(e.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e),this.tsTryParseIndexSignature(e)||(super.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!(!this.match(0)||(this.next(),!this.tsIsIdentifier()))&&(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{let{type:n}=e;t&&"TSRestType"!==n&&"TSOptionalType"!==n&&!("TSNamedTupleMember"===n&&e.optional)&&this.raise(jt.OptionalTypeBeforeRequired,{at:e}),t||(t="TSNamedTupleMember"===n&&e.optional||"TSOptionalType"===n);let i=n;"TSRestType"===n&&(i=(e=e.typeAnnotation).type);let s="TSNamedTupleMember"===i;null!=r||(r=s),r!==s&&this.raise(jt.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let e,t,r,n,{startLoc:i}=this.state,s=this.eat(21),o=C(this.state.type)?this.lookaheadCharCode():null;if(58===o)e=!0,r=!1,t=this.parseIdentifier(!0),this.expect(14),n=this.tsParseType();else if(63===o){r=!0;let i=this.state.startLoc,s=this.state.value,o=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(e=!0,t=this.createIdentifier(this.startNodeAt(i),s),this.expect(17),this.expect(14),n=this.tsParseType()):(e=!1,n=o,this.expect(17))}else n=this.tsParseType(),r=this.eat(17),e=this.eat(14);if(e){let e;t?(e=this.startNodeAtNode(t),e.optional=r,e.label=t,e.elementType=n,this.eat(17)&&(e.optional=!0,this.raise(jt.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(e=this.startNodeAtNode(n),e.optional=r,this.raise(jt.InvalidTupleMemberLabel,{at:n}),e.label=n,e.elementType=this.tsParseType()),n=this.finishNode(e,"TSNamedTupleMember")}else if(r){let e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(s){let e=this.startNodeAt(i);e.typeAnnotation=n,n=this.finishNode(e,"TSRestType")}return n}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,r))),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();return 132!==t.type&&133!==t.type&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(S(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(jt.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(113);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return function(e){return e>=119&&e<=121}(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){let n=this.startNode(),i=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||i?(n.types=s,this.finishNode(n,e)):s[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(S(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return super.parseBindingList(3,93,1),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{let t=this.startNode();this.expect(e);let r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let s=this.tsParseTypeAnnotation(!1);return r.parameterName=i,r.typeAnnotation=s,r.asserts=n,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(107!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!(!S(this.state.type)&&!this.match(78)||(e&&this.raise(Z.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){Rt(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(jt.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode();return e.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(jt.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(127),t.declare&&(e.declare=!0),S(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(jt.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&16!==this.lookahead().type){let e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(124),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(we),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(110)?(e.global=!0,e.id=this.parseIdentifier()):this.match(131)?e.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(we),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,Pe),this.expect(29);let r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(jt.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){let t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(99)&&(r=74,t="let"),this.tsInAmbientContext((()=>{if(68===r)return e.declare=!0,super.parseFunctionStatement(e,!1,!1);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(124===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(110===r)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(127===r){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return S(r)?this.tsParseDeclaration(e,this.state.value,!0,null):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(e,t,r){switch(t.name){case"declare":{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(we),this.prodParam.enter(0);let r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1,r)}}tsParseDeclaration(e,t,r,n){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||S(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(e);if(S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&S(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&S(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch((()=>{let t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t}));return this.state.maybeInArrowParameters=t,r?super.parseArrowExpression(r,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(jt.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return function(e){return e>=122&&e<=128}(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let r=this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);let i=n.accessibility,s=n.override,o=n.readonly;!(4&e)&&(i||o||s)&&this.raise(jt.UnexpectedParameterModifier,{at:r});let a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a,e);let l=this.parseMaybeDefault(a.loc.start,a);if(i||o||s){let e=this.startNodeAt(r);return t.length&&(e.decorators=t),i&&(e.accessibility=i),o&&(e.readonly=o),s&&(e.override=s),"Identifier"!==l.type&&"AssignmentPattern"!==l.type&&this.raise(jt.UnsupportedParameterPropertyKind,{at:e}),e.parameter=l,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),l}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(jt.PatternIsOptional,{at:t})}setArrowFunctionParameters(e,t,r){super.setArrowFunctionParameters(e,t,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):"TSDeclareFunction"===n&&this.state.isAmbientContext&&(this.raise(jt.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(jt.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return"ArrayExpression"===i.type&&this.tsCheckForInvalidTypeCasts(i.elements),i}parseSubscript(e,t,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let r=this.startNodeAt(t);return r.expression=e,this.finishNode(r,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(r)return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(this.match(47)||this.match(51)){let s,o=this.tsTryParseAndCatch((()=>{if(!r&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return e}let o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(i&&!this.match(10))return void(s=this.state.curPosition());if(_(this.state.type)){let r=super.parseTaggedTemplateExpression(e,t,n);return r.typeParameters=o,r}if(!r&&this.eat(10)){let r=this.startNodeAt(t);return r.callee=e,r.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(r.arguments),r.typeParameters=o,n.optionalChainMember&&(r.optional=i),this.finishCallExpression(r,n.optionalChainMember)}let a=this.state.type;if(48===a||52===a||10!==a&&T(a)&&!this.hasPrecedingLineBreak())return;let l=this.startNodeAt(t);return l.expression=e,l.typeParameters=o,this.finishNode(l,"TSInstantiationExpression")}));if(s&&this.unexpected(s,10),o)return"TSInstantiationExpression"===o.type&&(this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(jt.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),o}return super.parseSubscript(e,t,r,n)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:r}=e;"TSInstantiationExpression"===r.type&&(null==(t=r.extra)||!t.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,t,r){let n;if(k(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(118)))){let i=this.startNodeAt(t);return i.expression=e,i.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(n&&this.raise(Z.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(i,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,r)}return super.parseExprOp(e,t,r)}checkReservedWord(e,t,r,n){this.state.isAmbientContext||super.checkReservedWord(e,t,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(jt.ImportReflectionHasImportType,{at:e.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",S(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(128)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),S(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(jt.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e,t){if(this.match(83))return this.next(),this.isContextual(128)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=super.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){let t=e;return this.expectContextual(126),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}if(e.exportKind="value",this.isContextual(128)){let t=this.lookaheadCharCode();(123===t||42===t)&&(this.next(),e.exportKind="type")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(122)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{isAmbientContext:n}=this.state,i=super.parseVarStatement(e,t,r||n);if(!n)return i;for(let{id:e,init:r}of i.declarations)r&&("const"!==t||e.typeAnnotation?this.raise(jt.InitializerNotAllowedInAmbientContext,{at:r}):Vt(r,this.hasPlugin("estree"))||this.raise(jt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>$t(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:jt.InvalidModifierOnTypeParameterPositions},t);let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,n)&&this.raise(jt.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){let i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(jt.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(jt.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(jt.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(jt.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(jt.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(jt.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(jt.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(jt.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t,r){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t,r):void 0)||super.parseExpressionStatement(e,t,r)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r);let n=this.tryParse((()=>super.parseConditional(e,t)));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(r,n.error),e)}parseParenItem(e,t){if(e=super.parseParenItem(e,t),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let r=this.startNodeAt(t);return r.expression=e,r.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(r,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));let t=this.state.startLoc,r=this.eatContextual(123);if(r&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(jt.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let n=S(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return n?(("TSInterfaceDeclaration"===n.type||"TSTypeAliasDeclaration"===n.type||r)&&(e.exportKind="type"),r&&(this.resetStartLocation(n,t),n.declare=!0),n):null}parseClassId(e,t,r,n){if((!t||r)&&this.isContextual(111))return;super.parseClassId(e,t,r,e.declare?1024:8331);let i=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);i&&(e.typeParameters=i)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(jt.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(jt.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(jt.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(jt.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(jt.AccessorCannotBeOptional,{at:e}),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,r,n,i,s){let o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&i&&this.raise(jt.ConstructorHasTypeParameters,{at:o});let{declare:a=!1,kind:l}=t;a&&("get"===l||"set"===l)&&this.raise(jt.DeclareAccessor,{at:t,kind:l}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){let i=this.tsTryParseTypeParameters(this.tsParseConstModifier);i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&!e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,r,n,i,s,o){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,r,n,i,s,o)}parseFunctionParams(e,t){let r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var r,i,s,o,a,l,u;let c,p,h;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(c=this.state.clone(),p=this.tryParse((()=>super.parseMaybeAssign(e,t)),c),!p.error)return p.node;let{context:r}=this.state,i=r[r.length-1];(i===n.j_oTag||i===n.j_expr)&&r.pop()}if(!(null!=(r=p)&&r.error||this.match(47)))return super.parseMaybeAssign(e,t);(!c||c===this.state)&&(c=this.state.clone());let d,f=this.tryParse((r=>{var n,i;d=this.tsParseTypeParameters(this.tsParseConstModifier);let s=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==s.type||null!=(n=s.extra)&&n.parenthesized)&&r(),0!==(null==(i=d)?void 0:i.params.length)&&this.resetStartLocationFromNode(s,d),s.typeParameters=d,s}),c);if(!f.error&&!f.aborted)return d&&this.reportReservedArrowTypeParam(d),f.node;if(!p&&(Rt(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(e,t)),c),!h.error))return h.node;if(null!=(i=p)&&i.node)return this.state=p.failState,p.node;if(f.node)return this.state=f.failState,d&&this.reportReservedArrowTypeParam(d),f.node;if(null!=(s=h)&&s.node)return this.state=h.failState,h.node;throw null!=(o=p)&&o.thrown?p.error:f.thrown?f.error:null!=(a=h)&&a.thrown?h.error:(null==(l=p)?void 0:l.error)||f.error||(null==(u=h)?void 0:u.error)}reportReservedArrowTypeParam(e){var t;1===e.params.length&&!e.params[0].constraint&&(null==(t=e.extra)||!t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(jt.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e,t){if(!(2&t))return e;this.eat(17)&&(e.optional=!0);let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(jt.UnexpectedTypeCastInParameter,{at:e}):this.raise(jt.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":!t&&"TSTypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return((e,t)=>Object.hasOwnProperty.call(e,t)&&e[t])({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==Ne||!t)&&["expression",!0],TSSatisfiesExpression:(r!==Ne||!t)&&["expression",!0],TSTypeAssertion:(r!==Ne||!t)&&["expression",!0]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,t){let r=super.parseMaybeDefault(e,t);return"AssignmentPattern"===r.type&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(jt.TypeAnnotationAfterAssign,{at:r.typeAnnotation}),r}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){let r=e[t];"TSTypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}super.toAssignableList(e,t,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every((e=>this.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,t,r){let n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(jt.NonClassMethodPropertyHasAbstractModifer,{at:e}),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,80)}parseMethod(e,t,r,n,i,s,o){let a=super.parseMethod(e,t,r,n,i,s,o);if(a.abstract&&(this.hasPlugin("estree")?a.value.body:a.body)){let{key:e}=a;this.raise(jt.AbstractMethodHasImplementation,{at:a,methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(e.start,e.end)}]`:e.name})}return a}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,n))}parseImportSpecifier(e,t,r,n,i){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,n,r?4098:Pe))}parseTypeOnlyImportExportSpecifier(e,t,r){let n,i=t?"imported":"local",s=t?"local":"exported",o=e[i],a=!1,l=!0,u=o.loc.start;if(this.isContextual(93)){let e=this.parseIdentifier();if(this.isContextual(93)){let r=this.parseIdentifier();C(this.state.type)?(a=!0,o=e,n=t?this.parseIdentifier():this.parseModuleExportName(),l=!1):(n=r,l=!1)}else C(this.state.type)?(l=!1,n=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else C(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&r&&this.raise(t?jt.TypeModifierIsUsedInTypeImports:jt.TypeModifierIsUsedInTypeExports,{at:u}),e[i]=o,e[s]=n,e[t?"importKind":"exportKind"]=a?"type":"value",l&&this.eatContextual(93)&&(e[s]=t?this.parseIdentifier():this.parseModuleExportName()),e[s]||(e[s]=Et(e[i])),t&&this.checkIdentifier(e[s],a?4098:Pe)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),S(this.state.type)){let e=this.parseIdentifierName(),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(142)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(142,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,t,r,n){void 0!==e&&super.checkReservedWord(e,t,r,n)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,r){return"Placeholder"===e||super.isValidLVal(e,t,r)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){return!(!super.chStartsBindingIdentifier(e,t)&&142!==this.lookahead().type)}verifyBreakContinue(e,t){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){let r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(e,t,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,r){let n=t?"ClassDeclaration":"ClassExpression";this.next();let i=this.state.strict,s=this.parsePlaceholder("Identifier");if(s){if(!(this.match(81)||this.match(142)||this.match(5))){if(r||!t)return e.id=null,e.body=this.finishPlaceholder(s,"ClassBody"),this.finishNode(e,n);throw this.raise(qt.ClassNameIsRequired,{at:this.state.startLoc})}e.id=s}else this.parseClassId(e,t,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,i),this.finishNode(e,n)}parseExport(e,t){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,t);if(!this.isContextual(97)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let n=this.startNode();return n.exported=r,e.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(e,t)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(N(142),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(e)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(t);return r.local=t,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(qt.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}},Qt=Object.keys(Zt),er=class extends Bt{checkProto(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(Z.RecordNoProto,{at:i});r.used&&(n?null===n.doubleProtoLoc&&(n.doubleProtoLoc=i.loc.start):this.raise(Z.DuplicateProto,{at:i})),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){let t=this.state.startLoc,r=this.parseMaybeAssign(e);if(this.match(12)){let n=this.startNodeAt(t);for(n.expressions=[r];this.eat(12);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"SequenceExpression")}return r}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){let r,n=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n)),e}e?r=!1:(e=new bt,r=!0);let{type:i}=this.state;(10===i||S(i))&&(this.state.potentialArrowAt=this.state.start);let s=this.parseMaybeConditional(e);if(t&&(s=t.call(this,s,n)),function(e){return e>=29&&e<=33}(this.state.type)){let t=this.startNodeAt(n),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(s,!0),t.left=s;let r=n.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)}else t.left=s;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(s,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),s}parseMaybeConditional(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseExprOps(e);return this.shouldExitDescending(n,r)?n:this.parseConditional(n,t,e)}parseConditional(e,t,r){if(this.eat(17)){let r=this.startNodeAt(t);return r.test=e,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(n,r)?n:this.parseExprOp(n,t,-1)}parseExprOp(e,t,r){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(r>=k(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(Z.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let n=this.state.type;if(function(e){return e>=39&&e<=59}(n)&&(this.prodParam.hasIn||!this.match(58))){let i=k(n);if(i>r){if(39===n){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}let s=this.startNodeAt(t);s.left=e,s.operator=this.state.value;let o=41===n||42===n,a=40===n;if(a&&(i=k(42)),this.next(),39===n&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(Z.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});s.right=this.parseExprOpRightExpr(n,i);let l=this.finishNode(s,o||a?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(a&&(41===u||42===u)||o&&40===u)throw this.raise(Z.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(l,t,r)}}return e}parseExprOpRightExpr(e,t){let r=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(Z.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let r=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,function(e){return 57===e}(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return q.has(r.type)&&!(null!=(e=r.extra)&&e.parenthesized)&&this.raise(Z.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(Z.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(Z.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let r=this.state.startLoc,n=this.isContextual(96);if(n&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(r);return t||this.checkExponentialAfterUnary(e),e}let i=this.match(34),s=this.startNode();if(function(e){return D[e]}(this.state.type)){s.operator=this.state.value,s.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let r=this.match(89);if(this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){let e=s.argument;"Identifier"===e.type?this.raise(Z.StrictDelete,{at:s}):this.hasPropertyAsPrivateName(e)&&this.raise(Z.DeletePrivateField,{at:s})}if(!i)return t||this.checkExponentialAfterUnary(s),this.finishNode(s,"UnaryExpression")}let o=this.parseUpdate(s,i,e);if(n){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?T(e):T(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(Z.AwaitNotInAsyncContext,{at:r}),this.parseAwait(r)}return o}parseUpdate(e,t,r){if(t){let t=e;return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),e}let n=this.state.startLoc,i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return i;for(;I(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(n);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.next(),this.checkLVal(i,{in:i=this.finishNode(e,"UpdateExpression")})}return i}parseExprSubscripts(e){let t=this.state.startLoc,r=this.state.potentialArrowAt,n=this.parseExprAtom(e);return this.shouldExitDescending(n,r)?n:this.parseSubscripts(n,t)}parseSubscripts(e,t,r){let n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n),n.maybeAsyncArrow=!1}while(!n.stop);return e}parseSubscript(e,t,r,n){let{type:i}=this.state;if(!r&&15===i)return this.parseBind(e,t,r,n);if(_(i))return this.parseTaggedTemplateExpression(e,t,n);let s=!1;if(18===i){if(r&&(this.raise(Z.OptionalChainingNoNew,{at:this.state.startLoc}),40===this.lookaheadCharCode()))return n.stop=!0,e;n.optionalChainMember=s=!0,this.next()}if(!r&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,n,s);{let r=this.eat(0);return r||s||this.eat(16)?this.parseMember(e,t,n,r,s):(n.stop=!0,e)}}parseMember(e,t,r,n,i){let s=this.startNodeAt(t);return s.object=e,s.computed=n,n?(s.property=this.parseExpression(),this.expect(3)):this.match(136)?("Super"===e.type&&this.raise(Z.SuperPrivateField,{at:t}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),r.optionalChainMember?(s.optional=i,this.finishNode(s,"OptionalMemberExpression")):this.finishNode(s,"MemberExpression")}parseBind(e,t,r,n){let i=this.startNodeAt(t);return i.object=e,this.next(),i.callee=this.parseNoCallExpr(),n.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r)}parseCoverCallAndAsyncArrowHead(e,t,r,n){let i=this.state.maybeInArrowParameters,s=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t);o.callee=e;let{maybeAsyncArrow:a,optionalChainMember:l}=r;a&&(this.expressionScope.enter(new ht(2)),s=new bt),l&&(o.optional=n),o.arguments=n?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,s);let u=this.finishCallExpression(o,l);return a&&this.shouldParseAsyncArrow()&&!n?(r.stop=!0,this.checkDestructuringPrivate(s),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),u)):(a&&(this.checkExpressionErrors(s,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=i,u}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r){let n=this.startNodeAt(t);return n.tag=e,n.quasi=this.parseTemplate(!0),r.optionalChainMember&&this.raise(Z.OptionalChainingNoTemplate,{at:t}),this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(Z.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let t of e.arguments)"SpreadElement"===t.type&&this.raise(Z.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){let s=[],o=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(Z.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),n&&this.addTrailingCommaExtraToNode(n),this.next();break}s.push(this.parseExprListItem(!1,i,r))}return this.state.inFSharpPipelineDirectBody=a,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingCommaLoc),t.innerComments&&Re(e,t.innerComments),t.callee.trailingComments&&Re(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,r=null,{type:n}=this.state;switch(n){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(Z.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:r=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(r,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(Z.UnsupportedBind,{at:e})}case 136:return this.raise(Z.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);this.unexpected();break}case 47:{let e=this.input.codePointAt(this.nextTokenStart());ue(e)||62===e?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(S(n)){if(this.isContextual(125)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(r));if(S(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(90===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=R(this.state.endLoc,-1),this.parseTopicReference(r);this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?Z.PrimaryTopicNotAllowed:Z.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,n)}throw this.raise(Z.PipeTopicUnconfiguredToken,{at:t,token:N(n)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:N(r)}]);case"smart":return 27===r;default:throw this.raise(Z.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(gt(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(Z.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(Z.UnexpectedSuper,{at:e}):this.raise(Z.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(Z.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(R(this.state.startLoc,1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;let n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(Z.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(Z.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){let r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t,r=this.state.startLoc;this.next(),this.expressionScope.enter(new ht(1));let n=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let s,o,a=this.state.startLoc,l=[],u=new bt,c=!0;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,null===u.optionalParametersLoc?null:u.optionalParametersLoc),this.match(11)){o=this.state.startLoc;break}if(this.match(21)){let e=this.state.startLoc;if(s=this.state.startLoc,l.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else l.push(this.parseMaybeAssignAllowIn(u,this.parseParenItem))}let p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=n,this.state.inFSharpPipelineDirectBody=i;let h=this.startNodeAt(r);return e&&this.shouldParseArrow(l)&&(h=this.parseArrow(h))?(this.checkDestructuringPrivate(u),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(h,l,!1),h):(this.expressionScope.exit(),l.length||this.unexpected(this.state.lastTokStartLoc),o&&this.unexpected(o),s&&this.unexpected(s),this.checkExpressionErrors(u,!0),this.toReferencedListDeep(l,!0),l.length>1?(t=this.startNodeAt(a),t.expressions=l,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,p)):t=l[0],this.wrapParenthesis(r,t))}wrapParenthesis(e,t){if(!this.options.createParenthesizedExpressions)return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;let r=this.startNodeAt(e);return r.expression=t,this.finishNode(r,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let r=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(Z.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type&&this.raise(Z.ImportCallNotNewExpression,{at:e.callee})}parseTemplateElement(e){let{start:t,startLoc:r,end:n,value:i}=this.state,s=t+1,o=this.startNodeAt(R(r,1));null===i&&(e||this.raise(Z.InvalidEscapeSequenceTemplate,{at:R(this.state.firstInvalidTemplateEscapePos,1)}));let a=this.match(24),l=a?-1:-2,u=n+l;o.value={raw:this.input.slice(s,u).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,l)},o.tail=a,this.next();let c=this.finishNode(o,"TemplateElement");return this.resetEndLocation(c,R(this.state.lastTokEndLoc,l)),c}parseTemplate(e){let t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=Object.create(null),o=!0,a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(a);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(n),this.checkProto(i,r,s,n)),r&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(Z.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),a.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";return t?l="ObjectPattern":r&&(l="RecordExpression"),this.finishNode(a,l)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(Z.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r,n=this.startNode(),i=!1,s=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(n.decorators=t,t=[]),n.method=!1,e&&(r=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(n);let a=this.state.containsEsc,l=this.parsePropertyName(n,e);if(!o&&!a&&this.maybeAsyncOrAccessorProp(n)){let e=l.name;"async"===e&&!this.hasPrecedingLineBreak()&&(i=!0,this.resetPreviousNodeTrailingComments(l),o=this.eat(55),this.parsePropertyName(n)),("get"===e||"set"===e)&&(s=!0,this.resetPreviousNodeTrailingComments(l),n.kind=e,this.match(55)&&(o=!0,this.raise(Z.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(n))}return this.parseObjPropValue(n,r,o,i,!1,s,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==r&&this.raise("get"===e.kind?Z.BadGetterArity:Z.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(Z.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,n,i){if(i){let r=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(r),r}if(r||t||this.match(10))return n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,r,n){if(e.shorthand=!1,this.eat(14))return e.value=r?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(n),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),r)e.value=this.parseMaybeDefault(t,Et(e.key));else if(this.match(29)){let r=this.state.startLoc;null!=n?null===n.shorthandAssignLoc&&(n.shorthandAssignLoc=r):this.raise(Z.InvalidCoverInitializedName,{at:r}),e.value=this.parseMaybeDefault(t,Et(e.key))}else e.value=Et(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,i,s,o){let a=this.parseObjectMethod(e,r,n,i,s)||this.parseObjectProperty(e,t,i,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let r,{type:n,value:i}=this.state;if(C(n))r=this.parseIdentifier(!0);else switch(n){case 132:r=this.parseNumericLiteral(i);break;case 131:r=this.parseStringLiteral(i);break;case 133:r=this.parseBigIntLiteral(i);break;case 134:r=this.parseDecimalLiteral(i);break;case 136:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(Z.UnexpectedPrivateField,{at:e}),r=this.parsePrivateName();break}default:this.unexpected()}e.key=r,136!==n&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,r,n,i,s){let o=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,r),e.generator=t,this.scope.enter(18|(o?Ee:0)|(i?32:0)),this.prodParam.enter(gt(r,e.generator)),this.parseFunctionParams(e,n);let a=this.parseFunctionBodyAndFinish(e,s,!0);return this.prodParam.exit(),this.scope.exit(),a}parseArrayLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,n,s),this.state.inFSharpPipelineDirectBody=i,this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(6);let i=gt(r,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,r);let s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t&&!this.match(5);if(this.expressionScope.enter(ft()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,(i=>{let s=!this.isSimpleParamList(e.params);i&&s&&this.raise(Z.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let o=!n&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||s),t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!t&&new Set,s={type:"FormalParameters"};for(let t of e.params)this.checkLVal(t,{in:s,binding:5,checkClashes:i,strictModeChanged:n})}parseExprList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(t,r))}return i}parseExprListItem(e,t,r){let n;if(this.match(12))e||this.raise(Z.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),n=null;else if(this.match(21)){let e=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(Z.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return n}parseIdentifier(e){let t=this.startNode(),r=this.parseIdentifierName(e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e){let t,{startLoc:r,type:n}=this.state;C(n)?t=this.state.value:this.unexpected();let i=function(e){return e<=92}(n);return e?i&&this.replaceToken(130):this.checkReservedWord(t,r,i,!1),this.next(),t}checkReservedWord(e,t,r,n){if(!(e.length>10)&&function(e){return De.has(e)}(e))if(r&&function(e){return de.has(e)}(e))this.raise(Z.UnexpectedKeyword,{at:t,keyword:e});else if((this.state.strict?n?ve:ye:ge)(e,this.inModule))this.raise(Z.UnexpectedReservedWord,{at:t,reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(Z.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(Z.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(Z.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(Z.ArgumentsInClass,{at:t})}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e){let t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(Z.AwaitExpressionFormalParameter,{at:t}),this.eat(55)&&this.raise(Z.ObsoleteAwaitStar,{at:t}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||_(e)||101===e&&!this.state.containsEsc||135===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(Z.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(Z.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){let r=this.startNodeAt(t);return r.callee=e,this.finishNode(r,"PipelineBareFunction")}{let r=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),r.expression=e,this.finishNode(r,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(Z.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(Z.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=r,n}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let t=this.startNodeAt(this.state.endLoc);this.next();let r=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{r()}return this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}},tr={kind:"loop"},rr={kind:"switch"},nr=/[\uD800-\uDFFF]/u,ir=/in(?:stanceof)?/y;var sr=class extends er{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e,t){for(let r=0;r<e.length;r++){let n=e[r],{type:i}=n;if("number"==typeof i){if(136===i){let{loc:t,start:i,value:s,end:o}=n,a=i+1,l=R(t.start,1);e.splice(r,1,new at({type:O(27),value:"#",start:i,end:a,startLoc:t.start,endLoc:l}),new at({type:O(130),value:s,start:a,end:o,startLoc:l,endLoc:t.end})),r++;continue}if(_(i)){let s,o,a,l,u,{loc:c,start:p,value:h,end:d}=n,f=p+1,m=R(c.start,1);s=96===t.charCodeAt(p)?new at({type:O(22),value:"`",start:p,end:f,startLoc:c.start,endLoc:m}):new at({type:O(8),value:"}",start:p,end:f,startLoc:c.start,endLoc:m}),24===i?(a=d-1,l=R(c.end,-1),o=null===h?null:h.slice(1,-1),u=new at({type:O(22),value:"`",start:a,end:d,startLoc:l,endLoc:c.end})):(a=d-2,l=R(c.end,-2),o=null===h?null:h.slice(1,-2),u=new at({type:O(23),value:"${",start:a,end:d,startLoc:l,endLoc:c.end})),e.splice(r,1,s,new at({type:O(20),value:o,start:f,end:a,startLoc:m,endLoc:l}),u),r+=2;continue}n.type=O(i)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:137,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=n,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(Z.ModuleExportUndefined,{at:t,localName:e});return t=137===r?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",R(this.state.startLoc,-1)),t}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,n=r.value,i=this.input.slice(r.start,r.end),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",n),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(99)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(e,t){if(ue(e)){if(ir.lastIndex=t,ir.test(this.input)){let e=this.codePointAtPos(ir.lastIndex);if(!ce(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasFollowingBindingIdentifier(){let e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}startsUsingForOf(){let e=this.lookahead();return!(101===e.type&&!e.containsEsc||(this.expectPlugin("explicitResourceManagement"),0))}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type,n=this.startNode(),i=!!(2&e),s=!!(4&e),o=1&e;switch(r){case 60:return this.parseBreakContinueStatement(n,!0);case 63:return this.parseBreakContinueStatement(n,!1);case 64:return this.parseDebuggerStatement(n);case 90:return this.parseDoWhileStatement(n);case 91:return this.parseForStatement(n);case 68:if(46===this.lookaheadCharCode())break;return s||this.raise(this.state.strict?Z.StrictFunction:this.options.annexB?Z.SloppyFunctionAnnexB:Z.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(n,!1,!i&&s);case 80:return i||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,n),!0);case 69:return this.parseIfStatement(n);case 70:return this.parseReturnStatement(n);case 71:return this.parseSwitchStatement(n);case 72:return this.parseThrowStatement(n);case 73:return this.parseTryStatement(n);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(Z.UnexpectedUsingDeclaration,{at:this.state.startLoc}):i||this.raise(Z.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(n,"using");case 99:{if(this.state.containsEsc)break;let e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t&&(!i&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(t,e)&&123!==t))break}case 75:i||this.raise(Z.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{let e=this.state.value;return this.parseVarStatement(n,e)}case 92:return this.parseWhileStatement(n);case 76:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return!this.options.allowImportExportEverywhere&&!o&&this.raise(Z.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===r?(e=this.parseImport(n),"ImportDeclaration"===e.type&&(!e.importKind||"value"===e.importKind)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(n,t),("ExportNamedDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportAllDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportDefaultDeclaration"===e.type)&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return i||this.raise(Z.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(n,!0,!i&&s)}let a=this.state.value,l=this.parseExpression();return S(r)&&"Identifier"===l.type&&this.eat(14)?this.parseLabeledStatement(n,a,l,e):this.parseExpressionStatement(n,l,t)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(Z.ImportOutsideModule,{at:e})}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,r){return e&&(t.decorators&&t.decorators.length>0?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Z.DecoratorsBeforeAfterExport,{at:t.decorators[0]}),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),r&&this.resetStartLocationFromNode(r,t)),t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(Z.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(Z.UnexpectedLeadingDecorator,{at:this.state.startLoc});return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){let t,r=this.state.startLoc;if(this.match(10)){let r=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(r,t);let n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==t&&this.raise(Z.DecoratorArgumentsOutsideParentheses,{at:n})}else{for(t=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(r);e.object=t,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,t=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){let n=this.state.labels[r];if((null==e.label||n.name===e.label.name)&&(null!=n.kind&&(t||"loop"===n.kind)||e.label&&t))break}if(r===this.state.labels.length){let r=t?"BreakStatement":"ContinueStatement";this.raise(Z.IllegalBreakContinue,{at:e,type:r})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(tr),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(tr);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(99),n=this.isContextual(105)&&!this.hasFollowingLineBreak(),i=r&&this.hasFollowingBindingAtom()||n&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||i){let r=this.startNode(),i=this.state.value;this.next(),this.parseVar(r,!0,i);let s=this.finishNode(r,"VariableDeclaration"),o=this.match(58);return o&&n&&this.raise(Z.ForInUsing,{at:s}),(o||this.isContextual(101))&&1===s.declarations.length?this.parseForIn(e,s,t):(null!==t&&this.unexpected(t),this.parseFor(e,s))}let s=this.isContextual(95),o=new bt,a=this.parseExpression(!0,o),l=this.isContextual(101);if(l&&(r&&this.raise(Z.ForOfLet,{at:a}),null===t&&s&&"Identifier"===a.type&&this.raise(Z.ForOfAsync,{at:a})),l||this.match(58)){this.checkDestructuringPrivate(o),this.toAssignable(a,!0);let r=l?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:r}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(o,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(Z.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t,r=e.cases=[];this.expect(5),this.state.labels.push(rr),this.scope.enter(0);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){let n=this.match(61);t&&this.finishNode(t,"SwitchCase"),r.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(e&&this.raise(Z.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),e=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(Z.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:9}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(Z.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(tr),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(Z.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let e of this.state.labels)e.name===t&&this.raise(Z.LabelRedeclaration,{at:r,labelName:t});let i=function(e){return e>=90&&e<=92}(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){let r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=8&n?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,r){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){let s=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?o:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){let s=this.state.strict,o=!1,a=!1;for(;!this.match(n);){let n=r?this.parseModuleItem():this.parseStatementListItem();if(t&&!a){if(this.isValidDirective(n)){let e=this.stmtToDirective(n);t.push(e),!o&&"use strict"===e.value.value&&(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,o),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){let n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||!this.options.annexB||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(Z.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(Z.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=r;;){let e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null===e.init&&!n&&("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===r&&!(this.match(58)||this.isContextual(101))&&this.raise(Z.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(Z.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){"using"===t&&!this.inModule&&this.match(96)&&this.raise(Z.AwaitInUsingBinding,{at:this.state.startLoc});let r=this.parseBindingAtom();this.checkLVal(r,{in:{type:"VariableDeclarator"},binding:"var"===t?5:Ie}),e.id=r}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=2&t,n=!!(1&t),i=n&&!(4&t),s=!!(8&t);this.initFunction(e,s),this.match(55)&&(r&&this.raise(Z.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),e.generator=!0),n&&(e.id=this.parseFunctionId(i));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(gt(s,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!r&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||S(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new pt(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:Ie:17,e.id.loc.start)}parseClass(e,t,r){this.next();let n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:e},n=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(n.length>0)throw this.raise(Z.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){n.push(this.parseDecorator());continue}let e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(Z.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),n.length)throw this.raise(Z.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){let n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){let i=t,s=t,o=t,a=t,l=t,u=i,c=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(55)){u.kind="method";let t=this.match(136);return this.parseClassElementName(u),t?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(Z.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}let p=S(this.state.type)&&!this.state.containsEsc,h=this.match(136),d=this.parseClassElementName(t),f=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(u.kind="method",h)return void this.pushClassPrivateMethod(e,s,!1,!1);let n=this.isNonstaticConstructor(i),o=!1;n&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(Z.DuplicateConstructor,{at:d}),n&&this.hasPlugin("typescript")&&t.override&&this.raise(Z.OverrideOnConstructor,{at:d}),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,o)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(p&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let t=this.eat(55);c.optional&&this.unexpected(f),u.kind="method";let r=this.match(136);this.parseClassElementName(u),this.parsePostMemberNameModifiers(c),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(i)&&this.raise(Z.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let t=this.match(136);this.parseClassElementName(o),this.pushClassAccessorProperty(e,l,t)}else this.isLineTerminator()?h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),u.kind=d.name;let t=this.match(136);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(Z.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){let{type:t,value:r}=this.state;if((130===t||131===t)&&e.static&&"prototype"===r&&this.raise(Z.StaticPrototype,{at:this.state.startLoc}),136===t){"constructor"===r&&this.raise(Z.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);let n=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(Z.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(Z.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(Z.ConstructorClassField,{at:e})}let n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),0,n.key.loc.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){let i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let s="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,s)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(ft()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:8331;if(S(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else{if(!r&&t)throw this.raise(Z.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){let r=this.maybeParseExportDefaultSpecifier(e),n=!r||this.eat(12),i=n&&this.eatExportStar(e),s=i&&this.maybeParseExportNamespaceSpecifier(e),o=n&&(!s||this.eat(12)),a=r||i;if(i&&!s){if(r&&this.unexpected(),t)throw this.raise(Z.UnsupportedDecoratorExport,{at:e});return this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")}let l,u=this.maybeParseExportNamedSpecifiers(e);if(r&&n&&!i&&!u&&this.unexpected(null,5),s&&o&&this.unexpected(null,97),a||u){if(l=!1,t)throw this.raise(Z.UnsupportedDecoratorExport,{at:e});this.parseExportFrom(e,a)}else l=this.maybeParseExportDeclaration(e);if(a||u||l){var c;let r=e;if(this.checkExport(r,!0,!1,!!r.source),"ClassDeclaration"===(null==(c=r.declaration)?void 0:c.type))this.maybeTakeDecorators(t,r.declaration,r);else if(t)throw this.raise(Z.UnsupportedDecoratorExport,{at:e});return this.finishNode(r,"ExportNamedDeclaration")}if(this.eat(65)){let r=e,n=this.parseExportDefaultExpression();if(r.declaration=n,"ClassDeclaration"===n.type)this.maybeTakeDecorators(t,n,r);else if(t)throw this.raise(Z.UnsupportedDecoratorExport,{at:e});return this.checkExport(r,!0,!0),this.finishNode(r,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!Ue.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Z.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(Z.UnsupportedDefaultExport,{at:this.state.startLoc});let t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(S(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((128===e||127===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(S(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||S(this.state.type)&&r)return!0;if(this.match(65)&&r){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t,this.checkJSONModuleImport(e))}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(Z.DecoratorBeforeExport,{at:this.state.startLoc}),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"===t.type&&"from"===t.name&&t.end-t.start==4&&(null==(i=t.extra)||!i.parenthesized)&&this.raise(Z.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!n&&t.local){let{local:e}=t;"Identifier"!==e.type?this.raise(Z.ExportBindingIsString,{at:t,localName:e.value,exportName:r}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t of e.declaration.declarations)this.checkDeclaration(t.id)}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(Z.DuplicateDefaultExport,{at:e}):this.raise(Z.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;let n=this.isContextual(128),i=this.match(131),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=xt(e.local):e.exported||(e.exported=Et(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(nr);return t&&this.raise(Z.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some((e=>{let{key:t,value:r}=e;return"json"===r.value&&("Identifier"===t.type?"type"===t.name:"type"===t.value)}))}checkImportReflection(e){var t;e.module&&((1!==e.specifiers.length||"ImportDefaultSpecifier"!==e.specifiers[0].type)&&this.raise(Z.ImportReflectionNotBinding,{at:e.specifiers[0].loc.start}),(null==(t=e.assertions)?void 0:t.length)>0&&this.raise(Z.ImportReflectionHasAssertion,{at:e.specifiers[0].loc.start}))}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){let{specifiers:t}=e;if(null!=t){let e=t.find((e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value}));void 0!==e&&this.raise(Z.ImportJSONBindingNotDefault,{at:e.loc.start})}}}parseMaybeImportReflection(e){let t=!1;if(this.isContextual(125)){let e=this.lookahead(),r=e.type;S(r)?(97!==r||102===this.input.charCodeAt(this.nextTokenStartSince(e.end)))&&(t=!0):12!==r&&(t=!0)}t?(this.expectPlugin("importReflection"),this.next(),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1)}parseImport(e){if(e.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(e);let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return S(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ie;return this.checkLVal(e.local,{in:{type:t},binding:r}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(Z.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n}),t.add(n),this.match(131)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(Z.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(r,"ImportAttribute"))}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(Z.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(Z.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(131))throw this.raise(Z.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(Z.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),n=this.match(131),i=this.isContextual(128);r.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i,void 0);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,n,i){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:r}=e;if(t)throw this.raise(Z.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=Et(r))}return this.finishImportSpecifier(e,"ImportSpecifier",i)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}},or=class extends sr{constructor(e,r){super(e=function(e){if(e&&null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");let r={};for(let n of Object.keys(t))r[n]=e&&null!=e[n]?e[n]:t[n];return r}(e),r),this.options=e,this.initializeScopes(),this.plugins=function(e){let t=new Map;for(let r of e){let[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return _e}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};var ar=function(e){let t={};for(let r of Object.keys(e))t[r]=O(e[r]);return t}(w);function lr(e,t){let r=or;return null!=e&&e.plugins&&(function(e){if(Gt(e,"decorators")){if(Gt(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=Kt(e,"decorators","decoratorsBeforeExport");if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=Kt(e,"decorators","allowCallParenthesized");if(null!=r&&"boolean"!=typeof r)throw new Error("'allowCallParenthesized' must be a boolean.")}if(Gt(e,"flow")&&Gt(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Gt(e,"placeholders")&&Gt(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Gt(e,"pipelineOperator")){let t=Kt(e,"pipelineOperator","proposal");if(!Xt.includes(t)){let e=Xt.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}let r=Gt(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(Gt(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Gt(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=Kt(e,"pipelineOperator","topicToken");if(!Jt.includes(t)){let e=Jt.map((e=>`"${e}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Gt(e,"moduleAttributes")){if(Gt(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==Kt(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Gt(e,"recordAndTuple")&&null!=Kt(e,"recordAndTuple","syntaxType")&&!Yt.includes(Kt(e,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+Yt.map((e=>`'${e}'`)).join(", "));if(Gt(e,"asyncDoExpressions")&&!Gt(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){let t=Qt.filter((t=>Gt(e,t))),r=t.join("/"),n=ur[r];if(!n){n=or;for(let e of t)n=Zt[e](n);ur[r]=n}return n}(e.plugins)),new r(e,t)}var ur={};e.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return lr(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let r=lr(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",lr(t,e).parse()}catch{}else n.program.sourceType="script";return n}catch(r){try{return t.sourceType="script",lr(t,e).parse()}catch{}throw r}},e.parseExpression=function(e,t){let r=lr(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},e.tokTypes=ar}}),te=a({"src/language-js/parse/json.js"(e,t){u();var r=z(),n=H(),i=W(),s=q();function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let n,{parseExpression:i}=ee();try{n=i(e,{tokens:!0,ranges:!0})}catch(e){throw s(e)}if(!t&&r(n.comments))throw a(n.comments[0],"Comment");return l(n),n}}function a(e,t){let[r,i]=[e.loc.start,e.loc.end].map((e=>{let{line:t,column:r}=e;return{line:t,column:r+1}}));return n(`${t} is not allowed in JSON.`,{start:r,end:i})}function l(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)null!==t&&l(t);return;case"ObjectExpression":for(let t of e.properties)l(t);return;case"ObjectProperty":if(e.computed)throw a(e.key,"Computed key");if(e.shorthand)throw a(e.key,"Shorthand property");return"Identifier"!==e.key.type&&l(e.key),void l(e.value);case"UnaryExpression":{let{operator:t,argument:r}=e;if("+"!==t&&"-"!==t)throw a(e,`Operator '${e.operator}'`);if("NumericLiteral"===r.type||"Identifier"===r.type&&("Infinity"===r.name||"NaN"===r.name))return;throw a(r,`Operator '${t}' before '${r.type}'`)}case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw a(e,`Identifier '${e.name}'`);return;case"TemplateLiteral":if(r(e.expressions))throw a(e.expressions[0],"'TemplateLiteral' with expression");for(let t of e.quasis)l(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw a(e,`'${e.type}'`)}}var c=o(),p={json:i({parse:c,hasPragma:()=>!0}),json5:i(c),"json-stringify":i({parse:o({allowComments:!1}),astFormat:"estree-json"})};t.exports=p}});u();var re=c(),ne=p(),ie=g(),se=W(),oe=q(),ae=Q(),le=te(),ue={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},ce=["recordAndTuple",{syntaxType:"hash"}],pe="v8intrinsic",he=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],de=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ue;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},fe=/@(?:no)?flow\b/;function me(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(t,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===i.parser||"__babel_estree"===i.parser)&&function(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let r=ne(e);r&&(e=e.slice(r.length));let n=ie(e,0);return!1!==n&&(e=e.slice(0,n)),fe.test(e)}(t,i))return i.parser="babel-flow",be(t,n,i);let s=r;"script"===i.__babelSourceType&&(s=s.map((e=>Object.assign(Object.assign({},e),{},{sourceType:"script"})))),/#[[{]/.test(t)&&(s=s.map((e=>de([ce],e))));let o=/%[A-Z]/.test(t);t.includes("|>")?s=(o?[...he,pe]:he).flatMap((e=>s.map((t=>de([e],t))))):o&&(s=s.map((e=>de([pe],e))));let{result:a,error:l}=re(...s.map((r=>()=>function(e,t,r){let n=(0,ee()[e])(t,r),i=n.errors.find((e=>!Se.has(e.reasonCode)));if(i)throw i;return n}(e,t,r))));if(!a)throw oe(l);return i.originalText=t,ae(a,i)}}var ge=me("parse",de(["jsx","flow"])),be=me("parse",de(["jsx",["flow",{all:!0,enums:!0}]])),ve=me("parse",de(["jsx","typescript"]),de(["typescript"])),Ee=me("parse",de(["jsx","flow","estree"])),xe=me("parseExpression",de(["jsx"])),we=me("parseExpression",de(["typescript"])),Se=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),Ce=se(ge),Ae=se(ve),Te=se(xe),Pe=se(we);t.exports={parsers:Object.assign(Object.assign({babel:Ce,"babel-flow":se(be),"babel-ts":Ae},le),{},{__js_expression:Te,__vue_expression:Te,__vue_ts_expression:Pe,__vue_event_binding:Ce,__vue_ts_event_binding:Ae,__babel_estree:se(Ee)})}}))())},17895:(e,t,r)=>{e.exports=r(70035)},18316:(e,t,r)=>{var n=r(63713),i=r(46796),s=r(68),o=r(91471),a={preEmit:1,shouldEmit:1};e.exports=function e(t){for(var r in t=t||{},n.isObject(t)||(t={actionName:t}),i)if(!a[r]&&s[r])throw new Error("Cannot override API method "+r+" in Reflux.ActionMethods. Use another method name or override it on Reflux.PublisherMethods instead.");for(var l in t)if(!a[l]&&s[l])throw new Error("Cannot override API method "+l+" in action creation. Use another method name or override it on Reflux.PublisherMethods instead.");t.children=t.children||[],t.asyncResult&&(t.children=t.children.concat(["completed","failed"]));for(var u=0,c={};u<t.children.length;u++){var p=t.children[u];c[p]=e(p)}var h=n.extend({eventLabel:"action",emitter:new n.EventEmitter,_isAction:!0},s,i,t),d=function e(){return e[e.sync?"trigger":"triggerAsync"].apply(e,arguments)};return n.extend(d,c,h),o.createdActions.push(d),d}},18604:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>0===n(e,t,r)},21134:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(70161),i=r(96196),s=r(6022),o=r(31500),a=r(63706),l=r(41381),u=r(46410),c=r(34385),p=r(69064),h=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];return t=e.call.apply(e,[this].concat(n))||this,(0,o.A)((0,i.A)(t),"onPopupOpen",(function(e){e.popup===t.leafletElement&&t.onOpen()})),(0,o.A)((0,i.A)(t),"onPopupClose",(function(e){e.popup===t.leafletElement&&t.onClose()})),(0,o.A)((0,i.A)(t),"onRender",(function(){!1!==t.props.autoPan&&t.leafletElement.isOpen()&&(t.leafletElement._map&&t.leafletElement._map._panAnim&&(t.leafletElement._map._panAnim=void 0),t.leafletElement._adjustPan())})),t}(0,s.A)(t,e);var r=t.prototype;return r.getOptions=function(t){return(0,n.A)({},e.prototype.getOptions.call(this,t),{autoPan:!1})},r.createLeafletElement=function(e){var t=this.getOptions(e);return t.autoPan=!1!==e.autoPan,new a.Popup(t,e.leaflet.popupContainer)},r.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setLatLng(t.position)},r.componentDidMount=function(){var e=this.props.position,t=this.props.leaflet,r=t.map,n=t.popupContainer,i=this.leafletElement;null!=r&&r.on({popupopen:this.onPopupOpen,popupclose:this.onPopupClose}),n?n.bindPopup(i):(e&&i.setLatLng(e),i.openOn(r))},r.componentWillUnmount=function(){var t=this.props.leaflet.map;null!=t&&(t.off({popupopen:this.onPopupOpen,popupclose:this.onPopupClose}),t.removeLayer(this.leafletElement)),e.prototype.componentWillUnmount.call(this)},t}(function(e){function t(t){var r;return r=e.call(this,t)||this,(0,o.A)((0,i.A)(r),"onClose",(function(){r.props.onClose&&r.props.onClose()})),(0,o.A)((0,i.A)(r),"onOpen",(function(){r.forceUpdate(),r.props.onOpen&&r.props.onOpen()})),r.leafletElement=r.createLeafletElement(t),r}(0,s.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},r.updateLeafletElement=function(e,t){},r.componentDidUpdate=function(e){(0,p.Ay)(this.leafletElement._container,e.className,this.props.className),this.updateLeafletElement(e,this.props),this.leafletElement.isOpen()&&(this.leafletElement.update(),this.onRender())},r.onRender=function(){},r.render=function(){return this.leafletElement._contentNode?(0,u.createPortal)(this.props.children,this.leafletElement._contentNode):null},t}(c.A));(0,o.A)(h,"defaultProps",{pane:"popupPane"});const d=(0,l.k0)(h)},23939:(e,t,r)=>{var n=r(67670);e.exports=function(e,t,r){return{componentDidMount:function(){for(var i in n)if(this[i]!==n[i]){if(this[i])throw"Can't have other property '"+i+"' when using Reflux.listenTo!";this[i]=n[i]}this.listenTo(e,t,r)},componentWillUnmount:n.stopListeningToAll}}},26503:(e,t,r)=>{const{format:n,inspect:i,AggregateError:s}=r(46108),o=globalThis.AggregateError||s,a=Symbol("kIsNodeError"),l=["string","function","number","object","Function","Object","boolean","bigint","symbol"],u=/^([A-Z][a-z0-9]*)+$/,c={};function p(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function h(e){let t="",r=e.length;const n="-"===e[0]?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function d(e,t,r){r||(r=Error);class i extends r{constructor(...r){super(function(e,t,r){if("function"==typeof t)return p(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);const i=(t.match(/%[dfijoOs]/g)||[]).length;return p(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?t:n(t,...r)}(e,t,r))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[a]=!0,c[e]=i}function f(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}class m extends Error{constructor(e="The operation was aborted",t=void 0){if(void 0!==t&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}}d("ERR_ASSERTION","%s",Error),d("ERR_INVALID_ARG_TYPE",((e,t,r)=>{p("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";const s=[],o=[],a=[];for(const e of t)p("string"==typeof e,"All expected entries have to be of type string"),l.includes(e)?s.push(e.toLowerCase()):u.test(e)?o.push(e):(p("object"!==e,'The value "object" should be written as "Object"'),a.push(e));if(o.length>0){const e=s.indexOf("object");-1!==e&&(s.splice(s,e,1),o.push("Object"))}if(s.length>0){switch(s.length){case 1:n+=`of type ${s[0]}`;break;case 2:n+=`one of type ${s[0]} or ${s[1]}`;break;default:{const e=s.pop();n+=`one of type ${s.join(", ")}, or ${e}`}}(o.length>0||a.length>0)&&(n+=" or ")}if(o.length>0){switch(o.length){case 1:n+=`an instance of ${o[0]}`;break;case 2:n+=`an instance of ${o[0]} or ${o[1]}`;break;default:{const e=o.pop();n+=`an instance of ${o.join(", ")}, or ${e}`}}a.length>0&&(n+=" or ")}switch(a.length){case 0:break;case 1:a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`;break;case 2:n+=`one of ${a[0]} or ${a[1]}`;break;default:{const e=a.pop();n+=`one of ${a.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var c;null!==(c=r.constructor)&&void 0!==c&&c.name?n+=`. Received an instance of ${r.constructor.name}`:n+=`. Received ${i(r,{depth:-1})}`}else{let e=i(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n}),TypeError),d("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=i(t);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`}),TypeError),d("ERR_INVALID_RETURN_VALUE",((e,t,r)=>{var n;return`Expected ${e} to be returned from the "${t}" function but got ${null!=r&&null!==(n=r.constructor)&&void 0!==n&&n.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`}),TypeError),d("ERR_MISSING_ARGS",((...e)=>{let t;p(e.length>0,"At least one arg needs to be specified");const r=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{const r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`}),TypeError),d("ERR_OUT_OF_RANGE",((e,t,r)=>{let n;return p(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?n=h(String(r)):"bigint"==typeof r?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=h(n)),n+="n"):n=i(r),`The value of "${e}" is out of range. It must be ${t}. Received ${n}`}),RangeError),d("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),d("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),d("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),d("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),d("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),d("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),d("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),d("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),d("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),d("ERR_STREAM_WRITE_AFTER_END","write after end",Error),d("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),e.exports={AbortError:m,aggregateTwoErrors:f((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;const r=new o([t,e],t.message);return r.code=t.code,r}return e||t})),hideStackFrames:f,codes:c}},27540:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.isContextConsumer=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case o:case s:case p:case h:return e;default:switch(e=e&&e.$$typeof){case u:case l:case c:case f:case d:case a:return e;default:return t}}case n:return t}}}(e)===l}},27681:(e,t,r)=>{const n=r(92248);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},28104:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(96652);const i=r.n(n)().createContext(null)},28476:(e,t,r)=>{const n=r(98999),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:s},AbortError:o}=r(26503),{Symbol:a}=r(12450),{kIsDestroyed:l,isDestroyed:u,isFinished:c,isServerRequest:p}=r(97967),h=a("kDestroy"),d=a("kConstruct");function f(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function m(e,t,r){let i=!1;function s(t){if(i)return;i=!0;const s=e._readableState,o=e._writableState;f(t,o,s),o&&(o.closed=!0),s&&(s.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(g,e,t):n.nextTick(y,e)}try{e._destroy(t||null,s)}catch(t){s(t)}}function g(e,t){b(e,t),y(e)}function y(e){const t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!=r&&r.emitClose||null!=t&&t.emitClose)&&e.emit("close")}function b(e,t){const r=e._readableState,n=e._writableState;null!=n&&n.errorEmitted||null!=r&&r.errorEmitted||(n&&(n.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function v(e,t,r){const i=e._readableState,s=e._writableState;if(null!=s&&s.destroyed||null!=i&&i.destroyed)return this;null!=i&&i.autoDestroy||null!=s&&s.autoDestroy?e.destroy(t):t&&(t.stack,s&&!s.errored&&(s.errored=t),i&&!i.errored&&(i.errored=t),r?n.nextTick(b,e,t):b(e,t))}function D(e){let t=!1;function r(r){if(t)return void v(e,null!=r?r:new s);t=!0;const i=e._readableState,o=e._writableState,a=o||i;i&&(i.constructed=!0),o&&(o.constructed=!0),a.destroyed?e.emit(h,r):r?v(e,r,!0):n.nextTick(E,e)}try{e._construct((e=>{n.nextTick(r,e)}))}catch(e){n.nextTick(r,e)}}function E(e){e.emit(d)}function x(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function w(e){e.emit("close")}function S(e,t){e.emit("error",t),n.nextTick(w,e)}e.exports={construct:function(e,t){if("function"!=typeof e._construct)return;const r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(d,t),e.listenerCount(d)>1||n.nextTick(D,e)},destroyer:function(e,t){e&&!u(e)&&(t||c(e)||(t=new o),p(e)?(e.socket=null,e.destroy(t)):x(e)?e.abort():x(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?n.nextTick(S,e,t):n.nextTick(w,e),e.destroyed||(e[l]=!0))},destroy:function(e,t){const r=this._readableState,n=this._writableState,s=n||r;return null!=n&&n.destroyed||null!=r&&r.destroyed?("function"==typeof t&&t(),this):(f(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),s.constructed?m(this,e,t):this.once(h,(function(r){m(this,i(r,e),t)})),this)},undestroy:function(){const e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:v}},28783:(e,t,r)=>{const n=r(33509),i=r(39080),{utf8DecodeWithoutBOM:s}=r(94989),{percentDecodeString:o,utf8PercentEncodeCodePoint:a,utf8PercentEncodeString:l,isC0ControlPercentEncode:u,isFragmentPercentEncode:c,isQueryPercentEncode:p,isSpecialQueryPercentEncode:h,isPathPercentEncode:d,isUserinfoPercentEncode:f}=r(92161);function m(e){return e.codePointAt(0)}const g={ftp:21,file:null,http:80,https:443,ws:80,wss:443},y=Symbol("failure");function b(e){return[...e].length}function v(e,t){const r=e[t];return isNaN(r)?void 0:String.fromCodePoint(r)}function D(e){return"."===e||"%2e"===e.toLowerCase()}function E(e){return 2===e.length&&i.isASCIIAlpha(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function x(e){return-1!==e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|<|>|\?|@|\[|\\|\]|\^|\|/u)}function w(e){return void 0!==g[e]}function S(e){return w(e.scheme)}function C(e){return!w(e.scheme)}function A(e){return g[e]}function T(e){if(""===e)return y;let t=10;if(e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e)return 0;let r=/[^0-7]/u;return 10===t&&(r=/[^0-9]/u),16===t&&(r=/[^0-9A-Fa-f]/u),r.test(e)?y:parseInt(e,t)}function P(e,t=!1){if("["===e[0])return"]"!==e[e.length-1]?y:function(e){const t=[0,0,0,0,0,0,0,0];let r=0,n=null,s=0;if((e=Array.from(e,(e=>e.codePointAt(0))))[s]===m(":")){if(e[s+1]!==m(":"))return y;s+=2,++r,n=r}for(;s<e.length;){if(8===r)return y;if(e[s]===m(":")){if(null!==n)return y;++s,++r,n=r;continue}let o=0,a=0;for(;a<4&&i.isASCIIHex(e[s]);)o=16*o+parseInt(v(e,s),16),++s,++a;if(e[s]===m(".")){if(0===a)return y;if(s-=a,r>6)return y;let n=0;for(;void 0!==e[s];){let o=null;if(n>0){if(!(e[s]===m(".")&&n<4))return y;++s}if(!i.isASCIIDigit(e[s]))return y;for(;i.isASCIIDigit(e[s]);){const t=parseInt(v(e,s));if(null===o)o=t;else{if(0===o)return y;o=10*o+t}if(o>255)return y;++s}t[r]=256*t[r]+o,++n,2!==n&&4!==n||++r}if(4!==n)return y;break}if(e[s]===m(":")){if(++s,void 0===e[s])return y}else if(void 0!==e[s])return y;t[r]=o,++r}if(null!==n){let e=r-n;for(r=7;0!==r&&e>0;){const i=t[n+e-1];t[n+e-1]=t[r],t[r]=i,--r,--e}}else if(null===n&&8!==r)return y;return t}(e.substring(1,e.length-1));if(t)return function(e){return x(e)?y:l(e,u)}(e);const r=function(e,t=!1){const r=n.toASCII(e,{checkBidi:!0,checkHyphens:!1,checkJoiners:!0,useSTD3ASCIIRules:t,verifyDNSLength:t});return null===r||""===r?y:r}(s(o(e)));return r===y||x(a=r)||-1!==a.search(/[\u0000-\u001F]|%|\u007F/u)?y:function(e){const t=e.split(".");if(""===t[t.length-1]){if(1===t.length)return!1;t.pop()}const r=t[t.length-1];return T(r)!==y||!!/^[0-9]+$/u.test(r)}(r)?function(e){const t=e.split(".");if(""===t[t.length-1]&&t.length>1&&t.pop(),t.length>4)return y;const r=[];for(const e of t){const t=T(e);if(t===y)return y;r.push(t)}for(let e=0;e<r.length-1;++e)if(r[e]>255)return y;if(r[r.length-1]>=256**(5-r.length))return y;let n=r.pop(),i=0;for(const e of r)n+=e*256**(3-i),++i;return n}(r):r;var a}function F(e){return"number"==typeof e?function(e){let t="",r=e;for(let e=1;e<=4;++e)t=String(r%256)+t,4!==e&&(t=`.${t}`),r=Math.floor(r/256);return t}(e):e instanceof Array?`[${function(e){let t="";const r=function(e){let t=null,r=1,n=null,i=0;for(let s=0;s<e.length;++s)0!==e[s]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=s),++i);return i>r?n:t}(e);let n=!1;for(let i=0;i<=7;++i)n&&0===e[i]||(n&&(n=!1),r!==i?(t+=e[i].toString(16),7!==i&&(t+=":")):(t+=0===i?"::":":",n=!0));return t}(e)}]`:e}function I(e){const{path:t}=e;var r;0!==t.length&&("file"===e.scheme&&1===t.length&&(r=t[0],/^[A-Za-z]:$/u.test(r))||t.pop())}function N(e){return""!==e.username||""!==e.password}function k(e){return"string"==typeof e.path}function _(e,t,r,n,i){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=r||"utf-8",this.stateOverride=i,this.url=n,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/gu,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const s=function(e){return e.replace(/\u0009|\u000A|\u000D/gu,"")}(this.input);for(s!==this.input&&(this.parseError=!0),this.input=s,this.state=i||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=Array.from(this.input,(e=>e.codePointAt(0)));this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),r=this[`parse ${this.state}`](e,t);if(!r)break;if(r===y){this.failure=!0;break}}}_.prototype["parse scheme start"]=function(e,t){if(i.isASCIIAlpha(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,y;this.state="no scheme",--this.pointer}return!0},_.prototype["parse scheme"]=function(e,t){if(i.isASCIIAlphanumeric(e)||e===m("+")||e===m("-")||e===m("."))this.buffer+=t.toLowerCase();else if(e===m(":")){if(this.stateOverride){if(S(this.url)&&!w(this.buffer))return!1;if(!S(this.url)&&w(this.buffer))return!1;if((N(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&""===this.url.host)return!1}if(this.url.scheme=this.buffer,this.stateOverride)return this.url.port===A(this.url.scheme)&&(this.url.port=null),!1;this.buffer="","file"===this.url.scheme?(this.input[this.pointer+1]===m("/")&&this.input[this.pointer+2]===m("/")||(this.parseError=!0),this.state="file"):S(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":S(this.url)?this.state="special authority slashes":this.input[this.pointer+1]===m("/")?(this.state="path or authority",++this.pointer):(this.url.path="",this.state="opaque path")}else{if(this.stateOverride)return this.parseError=!0,y;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},_.prototype["parse no scheme"]=function(e){return null===this.base||k(this.base)&&e!==m("#")?y:(k(this.base)&&e===m("#")?(this.url.scheme=this.base.scheme,this.url.path=this.base.path,this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},_.prototype["parse special relative or authority"]=function(e){return e===m("/")&&this.input[this.pointer+1]===m("/")?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},_.prototype["parse path or authority"]=function(e){return e===m("/")?this.state="authority":(this.state="path",--this.pointer),!0},_.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,e===m("/")?this.state="relative slash":S(this.url)&&e===m("\\")?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,e===m("?")?(this.url.query="",this.state="query"):e===m("#")?(this.url.fragment="",this.state="fragment"):isNaN(e)||(this.url.query=null,this.url.path.pop(),this.state="path",--this.pointer)),!0},_.prototype["parse relative slash"]=function(e){return!S(this.url)||e!==m("/")&&e!==m("\\")?e===m("/")?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(e===m("\\")&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},_.prototype["parse special authority slashes"]=function(e){return e===m("/")&&this.input[this.pointer+1]===m("/")?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},_.prototype["parse special authority ignore slashes"]=function(e){return e!==m("/")&&e!==m("\\")?(this.state="authority",--this.pointer):this.parseError=!0,!0},_.prototype["parse authority"]=function(e,t){if(e===m("@")){this.parseError=!0,this.atFlag&&(this.buffer=`%40${this.buffer}`),this.atFlag=!0;const e=b(this.buffer);for(let t=0;t<e;++t){const e=this.buffer.codePointAt(t);if(e===m(":")&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const r=a(e,f);this.passwordTokenSeenFlag?this.url.password+=r:this.url.username+=r}this.buffer=""}else if(isNaN(e)||e===m("/")||e===m("?")||e===m("#")||S(this.url)&&e===m("\\")){if(this.atFlag&&""===this.buffer)return this.parseError=!0,y;this.pointer-=b(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=t;return!0},_.prototype["parse hostname"]=_.prototype["parse host"]=function(e,t){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(e!==m(":")||this.arrFlag)if(isNaN(e)||e===m("/")||e===m("?")||e===m("#")||S(this.url)&&e===m("\\")){if(--this.pointer,S(this.url)&&""===this.buffer)return this.parseError=!0,y;if(this.stateOverride&&""===this.buffer&&(N(this.url)||null!==this.url.port))return this.parseError=!0,!1;const e=P(this.buffer,C(this.url));if(e===y)return y;if(this.url.host=e,this.buffer="",this.state="path start",this.stateOverride)return!1}else e===m("[")?this.arrFlag=!0:e===m("]")&&(this.arrFlag=!1),this.buffer+=t;else{if(""===this.buffer)return this.parseError=!0,y;if("hostname"===this.stateOverride)return!1;const e=P(this.buffer,C(this.url));if(e===y)return y;this.url.host=e,this.buffer="",this.state="port"}return!0},_.prototype["parse port"]=function(e,t){if(i.isASCIIDigit(e))this.buffer+=t;else{if(!(isNaN(e)||e===m("/")||e===m("?")||e===m("#")||S(this.url)&&e===m("\\")||this.stateOverride))return this.parseError=!0,y;if(""!==this.buffer){const e=parseInt(this.buffer);if(e>65535)return this.parseError=!0,y;this.url.port=e===A(this.url.scheme)?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}return!0};const O=new Set([m("/"),m("\\"),m("?"),m("#")]);function M(e,t){const r=e.length-t;return r>=2&&(n=e[t],s=e[t+1],i.isASCIIAlpha(n)&&(s===m(":")||s===m("|")))&&(2===r||O.has(e[t+2]));var n,s}function L(e){if(k(e))return e.path;let t="";for(const r of e.path)t+=`/${r}`;return t}_.prototype["parse file"]=function(e){return this.url.scheme="file",this.url.host="",e===m("/")||e===m("\\")?(e===m("\\")&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,e===m("?")?(this.url.query="",this.state="query"):e===m("#")?(this.url.fragment="",this.state="fragment"):isNaN(e)||(this.url.query=null,M(this.input,this.pointer)?(this.parseError=!0,this.url.path=[]):I(this.url),this.state="path",--this.pointer)):(this.state="path",--this.pointer),!0},_.prototype["parse file slash"]=function(e){var t;return e===m("/")||e===m("\\")?(e===m("\\")&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(!M(this.input,this.pointer)&&2===(t=this.base.path[0]).length&&i.isASCIIAlpha(t.codePointAt(0))&&":"===t[1]&&this.url.path.push(this.base.path[0]),this.url.host=this.base.host),this.state="path",--this.pointer),!0},_.prototype["parse file host"]=function(e,t){if(isNaN(e)||e===m("/")||e===m("\\")||e===m("?")||e===m("#"))if(--this.pointer,!this.stateOverride&&E(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=P(this.buffer,C(this.url));if(e===y)return y;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},_.prototype["parse path start"]=function(e){return S(this.url)?(e===m("\\")&&(this.parseError=!0),this.state="path",e!==m("/")&&e!==m("\\")&&--this.pointer):this.stateOverride||e!==m("?")?this.stateOverride||e!==m("#")?void 0!==e?(this.state="path",e!==m("/")&&--this.pointer):this.stateOverride&&null===this.url.host&&this.url.path.push(""):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},_.prototype["parse path"]=function(e){var t;return isNaN(e)||e===m("/")||S(this.url)&&e===m("\\")||!this.stateOverride&&(e===m("?")||e===m("#"))?(S(this.url)&&e===m("\\")&&(this.parseError=!0),".."===(t=(t=this.buffer).toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t?(I(this.url),e===m("/")||S(this.url)&&e===m("\\")||this.url.path.push("")):!D(this.buffer)||e===m("/")||S(this.url)&&e===m("\\")?D(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&E(this.buffer)&&(this.buffer=`${this.buffer[0]}:`),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="",e===m("?")&&(this.url.query="",this.state="query"),e===m("#")&&(this.url.fragment="",this.state="fragment")):(e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=a(e,d)),!0},_.prototype["parse opaque path"]=function(e){return e===m("?")?(this.url.query="",this.state="query"):e===m("#")?(this.url.fragment="",this.state="fragment"):(isNaN(e)||e===m("%")||(this.parseError=!0),e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path+=a(e,u))),!0},_.prototype["parse query"]=function(e,t){if(S(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8"),!this.stateOverride&&e===m("#")||isNaN(e)){const t=S(this.url)?h:p;this.url.query+=l(this.buffer,t),this.buffer="",e===m("#")&&(this.url.fragment="",this.state="fragment")}else isNaN(e)||(e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=t);return!0},_.prototype["parse fragment"]=function(e){return isNaN(e)||(e!==m("%")||i.isASCIIHex(this.input[this.pointer+1])&&i.isASCIIHex(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=a(e,c)),!0},e.exports.serializeURL=function(e,t){let r=`${e.scheme}:`;return null!==e.host&&(r+="//",""===e.username&&""===e.password||(r+=e.username,""!==e.password&&(r+=`:${e.password}`),r+="@"),r+=F(e.host),null!==e.port&&(r+=`:${e.port}`)),null===e.host&&!k(e)&&e.path.length>1&&""===e.path[0]&&(r+="/."),r+=L(e),null!==e.query&&(r+=`?${e.query}`),t||null===e.fragment||(r+=`#${e.fragment}`),r},e.exports.serializePath=L,e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":{const r=e.exports.parseURL(L(t));return null===r||"http"!==r.scheme&&"https"!==r.scheme?"null":e.exports.serializeURLOrigin(r)}case"ftp":case"http":case"https":case"ws":case"wss":return function(e){let t=`${e.scheme}://`;return t+=F(e.host),null!==e.port&&(t+=`:${e.port}`),t}({scheme:t.scheme,host:t.host,port:t.port});default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const r=new _(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return r.failure?null:r.url},e.exports.setTheUsername=function(e,t){e.username=l(t,f)},e.exports.setThePassword=function(e,t){e.password=l(t,f)},e.exports.serializeHost=F,e.exports.cannotHaveAUsernamePasswordPort=function(e){return null===e.host||""===e.host||"file"===e.scheme},e.exports.hasAnOpaquePath=k,e.exports.serializeInteger=function(e){return String(e)},e.exports.parseURL=function(t,r){return void 0===r&&(r={}),e.exports.basicURLParse(t,{baseURL:r.baseURL,encodingOverride:r.encodingOverride})}},28800:(e,t,r)=>{const n=r(2943);e.exports=(e,t)=>n(e,t,!0)},29161:(e,t,r)=>{const{utf8Encode:n,utf8DecodeWithoutBOM:i}=r(94989),{percentDecodeBytes:s,utf8PercentEncodeString:o,isURLEncodedPercentEncode:a}=r(92161);function l(e){return e.codePointAt(0)}function u(e,t,r){let n=e.indexOf(t);for(;n>=0;)e[n]=r,n=e.indexOf(t,n+1);return e}e.exports={parseUrlencodedString:function(e){return function(e){const t=function(e,t){const r=[];let n=0,i=e.indexOf(t);for(;i>=0;)r.push(e.slice(n,i)),n=i+1,i=e.indexOf(t,n);return n!==e.length&&r.push(e.slice(n)),r}(e,l("&")),r=[];for(const e of t){if(0===e.length)continue;let t,n;const o=e.indexOf(l("="));o>=0?(t=e.slice(0,o),n=e.slice(o+1)):(t=e,n=new Uint8Array(0)),t=u(t,43,32),n=u(n,43,32);const a=i(s(t)),c=i(s(n));r.push([a,c])}return r}(n(e))},serializeUrlencoded:function(e,t=void 0){let r="utf-8";void 0!==t&&(r=t);let n="";for(const[t,i]of e.entries()){const e=o(i[0],a,!0);let s=i[1];i.length>2&&void 0!==i[2]&&("hidden"===i[2]&&"_charset_"===e?s=r:"file"===i[2]&&(s=s.name)),s=o(s,a,!0),0!==t&&(n+="&"),n+=`${e}=${s}`}return n}}},29892:(e,t,r)=>{var n=r(59775),i=r(57013),s=r(6654),o=r(31115);function a(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=a(Object.prototype.toString),p=a(Number.prototype.valueOf),h=a(String.prototype.valueOf),d=a(Boolean.prototype.valueOf);if(l)var f=a(BigInt.prototype.valueOf);if(u)var m=a(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===c(e)}function b(e){return"[object Set]"===c(e)}function v(e){return"[object WeakMap]"===c(e)}function D(e){return"[object WeakSet]"===c(e)}function E(e){return"[object ArrayBuffer]"===c(e)}function x(e){return"undefined"!=typeof ArrayBuffer&&(E.working?E(e):e instanceof ArrayBuffer)}function w(e){return"[object DataView]"===c(e)}function S(e){return"undefined"!=typeof DataView&&(w.working?w(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=o,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):o(e)||S(e)},t.isUint8Array=function(e){return"Uint8Array"===s(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===s(e)},t.isUint16Array=function(e){return"Uint16Array"===s(e)},t.isUint32Array=function(e){return"Uint32Array"===s(e)},t.isInt8Array=function(e){return"Int8Array"===s(e)},t.isInt16Array=function(e){return"Int16Array"===s(e)},t.isInt32Array=function(e){return"Int32Array"===s(e)},t.isFloat32Array=function(e){return"Float32Array"===s(e)},t.isFloat64Array=function(e){return"Float64Array"===s(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===s(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===s(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(b.working?b(e):e instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(v.working?v(e):e instanceof WeakMap)},D.working="undefined"!=typeof WeakSet&&D(new WeakSet),t.isWeakSet=function(e){return D(e)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),t.isArrayBuffer=x,w.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&w(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=S;var C="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===c(e)}function T(e){return void 0!==C&&(void 0===A.working&&(A.working=A(new C)),A.working?A(e):e instanceof C)}function P(e){return g(e,p)}function F(e){return g(e,h)}function I(e){return g(e,d)}function N(e){return l&&g(e,f)}function k(e){return u&&g(e,m)}t.isSharedArrayBuffer=T,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=P,t.isStringObject=F,t.isBooleanObject=I,t.isBigIntObject=N,t.isSymbolObject=k,t.isBoxedPrimitive=function(e){return P(e)||F(e)||I(e)||N(e)||k(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(x(e)||T(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},30118:(e,t,r)=>{var n,i=r(65994).e;n=r.g.process&&r.g.process.browser?"utf-8":r.g.process&&r.g.process.version?parseInt(i.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",e.exports=n},30942:(e,t,r)=>{function n(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"==typeof i?i(r,n,e):t(i)}}}}r.d(t,{A:()=>s});var i=n();i.withExtraArgument=n;const s=i},31046:(e,t,r)=>{r.d(t,{B3:()=>N,No:()=>R,a:()=>L,jh:()=>B});var n=r(70161),i=r(96196),s=r(6022),o=function(e){function t(t){var r;return r=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,i.A)(r)}return(0,s.A)(t,e),t}((0,r(36560).A)(Error));function a(e,t){return e.substr(-t.length)===t}var l=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function u(e){return"string"!=typeof e?e:e.match(l)?parseFloat(e):e}var c=function(e){return function(t,r){void 0===r&&(r="16px");var n=t,i=r;if("string"==typeof t){if(!a(t,"px"))throw new o(69,e,t);n=u(t)}if("string"==typeof r){if(!a(r,"px"))throw new o(70,e,r);i=u(r)}if("string"==typeof n)throw new o(71,t,e);if("string"==typeof i)throw new o(72,r,e);return""+n/i+e}};function p(e){return Math.round(255*e)}function h(e,t,r){return p(e)+","+p(t)+","+p(r)}function d(e,t,r,n){if(void 0===n&&(n=h),0===t)return n(r,r,r);var i=(e%360+360)%360/60,s=(1-Math.abs(2*r-1))*t,o=s*(1-Math.abs(i%2-1)),a=0,l=0,u=0;i>=0&&i<1?(a=s,l=o):i>=1&&i<2?(a=o,l=s):i>=2&&i<3?(l=s,u=o):i>=3&&i<4?(l=o,u=s):i>=4&&i<5?(a=o,u=s):i>=5&&i<6&&(a=s,u=o);var c=r-s/2;return n(a+c,l+c,u+c)}c("em"),c("rem");var f={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},m=/^#[a-fA-F0-9]{6}$/,g=/^#[a-fA-F0-9]{8}$/,y=/^#[a-fA-F0-9]{3}$/,b=/^#[a-fA-F0-9]{4}$/,v=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,D=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,E=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,x=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function w(e){if("string"!=typeof e)throw new o(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return f[t]?"#"+f[t]:e}(e);if(t.match(m))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(g)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(y))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(b)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var i=v.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var s=D.exec(t.substring(0,50));if(s)return{red:parseInt(""+s[1],10),green:parseInt(""+s[2],10),blue:parseInt(""+s[3],10),alpha:parseFloat(""+s[4])>1?parseFloat(""+s[4])/100:parseFloat(""+s[4])};var a=E.exec(t);if(a){var l="rgb("+d(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",u=v.exec(l);if(!u)throw new o(4,t,l);return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10)}}var c=x.exec(t.substring(0,50));if(c){var p="rgb("+d(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",h=v.exec(p);if(!h)throw new o(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new o(5)}function S(e){return function(e){var t,r=e.red/255,n=e.green/255,i=e.blue/255,s=Math.max(r,n,i),o=Math.min(r,n,i),a=(s+o)/2;if(s===o)return void 0!==e.alpha?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var l=s-o,u=a>.5?l/(2-s-o):l/(s+o);switch(s){case r:t=(n-i)/l+(n<i?6:0);break;case n:t=(i-r)/l+2;break;default:t=(r-n)/l+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:a,alpha:e.alpha}:{hue:t,saturation:u,lightness:a}}(w(e))}var C=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function A(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function T(e){return A(Math.round(255*e))}function P(e,t,r){return C("#"+T(e)+T(t)+T(r))}function F(e,t,r){return d(e,t,r,P)}function I(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return C("#"+A(e)+A(t)+A(r));if("object"==typeof e&&void 0===t&&void 0===r)return C("#"+A(e.red)+A(e.green)+A(e.blue));throw new o(6)}function N(e,t,r,n){if("string"==typeof e&&"number"==typeof t){var i=w(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?I(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?I(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new o(7)}function k(e){if("object"!=typeof e)throw new o(8);if(function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha}(e))return N(e);if(function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)}(e))return I(e);if(function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha}(e))return function(e,t,r,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r&&"number"==typeof n)return n>=1?F(e,t,r):"rgba("+d(e,t,r)+","+n+")";if("object"==typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?F(e.hue,e.saturation,e.lightness):"rgba("+d(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new o(2)}(e);if(function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)}(e))return function(e,t,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof r)return F(e,t,r);if("object"==typeof e&&void 0===t&&void 0===r)return F(e.hue,e.saturation,e.lightness);throw new o(1)}(e);throw new o(8)}function _(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):_(e,t,n)}}function O(e){return _(e,e.length,[])}function M(e,t,r){return Math.max(e,Math.min(t,r))}O((function(e,t){if("transparent"===t)return t;var r=S(t);return k((0,n.A)({},r,{hue:r.hue+parseFloat(e)}))})),O((function(e,t){if("transparent"===t)return t;var r=S(t);return k((0,n.A)({},r,{lightness:M(0,1,r.lightness-parseFloat(e))}))})),O((function(e,t){if("transparent"===t)return t;var r=S(t);return k((0,n.A)({},r,{saturation:M(0,1,r.saturation-parseFloat(e))}))}));var L=O((function(e,t){if("transparent"===t)return t;var r=S(t);return k((0,n.A)({},r,{lightness:M(0,1,r.lightness+parseFloat(e))}))})),B=O((function(e,t,r){if("transparent"===t)return r;if("transparent"===r)return t;if(0===e)return r;var i=w(t),s=(0,n.A)({},i,{alpha:"number"==typeof i.alpha?i.alpha:1}),o=w(r),a=(0,n.A)({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),l=s.alpha-a.alpha,u=2*parseFloat(e)-1,c=((u*l==-1?u:u+l)/(1+u*l)+1)/2,p=1-c;return N({red:Math.floor(s.red*c+a.red*p),green:Math.floor(s.green*c+a.green*p),blue:Math.floor(s.blue*c+a.blue*p),alpha:s.alpha*parseFloat(e)+a.alpha*(1-parseFloat(e))})}));O((function(e,t){if("transparent"===t)return t;var r=w(t),i="number"==typeof r.alpha?r.alpha:1;return N((0,n.A)({},r,{alpha:M(0,1,(100*i+100*parseFloat(e))/100)}))})),O((function(e,t){if("transparent"===t)return t;var r=S(t);return k((0,n.A)({},r,{saturation:M(0,1,r.saturation+parseFloat(e))}))})),O((function(e,t){return"transparent"===t?t:k((0,n.A)({},S(t),{hue:parseFloat(e)}))})),O((function(e,t){return"transparent"===t?t:k((0,n.A)({},S(t),{lightness:parseFloat(e)}))})),O((function(e,t){return"transparent"===t?t:k((0,n.A)({},S(t),{saturation:parseFloat(e)}))})),O((function(e,t){return"transparent"===t?t:B(parseFloat(e),"rgb(0, 0, 0)",t)})),O((function(e,t){return"transparent"===t?t:B(parseFloat(e),"rgb(255, 255, 255)",t)}));var R=O((function(e,t){if("transparent"===t)return t;var r=w(t),i="number"==typeof r.alpha?r.alpha:1;return N((0,n.A)({},r,{alpha:M(0,1,+(100*i-100*parseFloat(e)).toFixed(2)/100)}))}))},31288:(e,t,r)=>{const n=r(18604),i=r(14600),s=r(37109),o=r(67526),a=r(68434),l=r(44411);e.exports=(e,t,r,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return i(e,r,u);case">":return s(e,r,u);case">=":return o(e,r,u);case"<":return a(e,r,u);case"<=":return l(e,r,u);default:throw new TypeError(`Invalid operator: ${t}`)}}},31289:(e,t,r)=>{var n=r(46857),i=r(63574),s=r(36929),o=r(79696).Buffer,a=r(94677),l=r(30118),u=r(83153),c=o.alloc(128),p={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function h(e,t,r){var a=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?n:function(t){return s(e).update(t).digest()}}(e),l="sha512"===e||"sha384"===e?128:64;t.length>l?t=a(t):t.length<l&&(t=o.concat([t,c],l));for(var u=o.allocUnsafe(l+p[e]),h=o.allocUnsafe(l+p[e]),d=0;d<l;d++)u[d]=54^t[d],h[d]=92^t[d];var f=o.allocUnsafe(l+r+4);u.copy(f,0,0,l),this.ipad1=f,this.ipad2=u,this.opad=h,this.alg=e,this.blocksize=l,this.hash=a,this.size=p[e]}h.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,r,n,i){a(r,n);var s=new h(i=i||"sha1",e=u(e,l,"Password"),(t=u(t,l,"Salt")).length),c=o.allocUnsafe(n),d=o.allocUnsafe(t.length+4);t.copy(d,0,0,t.length);for(var f=0,m=p[i],g=Math.ceil(n/m),y=1;y<=g;y++){d.writeUInt32BE(y,t.length);for(var b=s.run(d,s.ipad1),v=b,D=1;D<r;D++){v=s.run(v,s.ipad2);for(var E=0;E<m;E++)b[E]^=v[E]}b.copy(c,f),f+=m}return c}},33408:(e,t,r)=>{r.d(t,{MY:()=>s,r1:()=>i});var n=r(52682);function i(e){var t=(0,n.FK)(e);return function(r,n,i,s){for(var o="",a=0;a<t;a++)o+=e[a](r,n,i,s)||"";return o}}function s(e){return function(t){t.root||(t=t.return)&&e(t)}}},33658:(e,t,r)=>{r.d(t,{Rb:()=>G,Y0:()=>H,iQ:()=>A});var n=r(95497),i=r(96652),s=r.n(i);function o(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}o({},"Pressable",(()=>S)),o({},"usePress",(()=>g));let a="default",l="",u=new WeakMap;function c(e){(0,n.un)()?("default"===a&&(l=document.documentElement.style.webkitUserSelect,document.documentElement.style.webkitUserSelect="none"),a="disabled"):e&&(u.set(e,e.style.userSelect),e.style.userSelect="none")}function p(e){if((0,n.un)()){if("disabled"!==a)return;a="restoring",setTimeout((()=>{(0,n.vg)((()=>{"restoring"===a&&("none"===document.documentElement.style.webkitUserSelect&&(document.documentElement.style.webkitUserSelect=l||""),l="",a="default")}))}),300)}else if(e&&u.has(e)){let t=u.get(e);"none"===e.style.userSelect&&(e.style.userSelect=t),""===e.getAttribute("style")&&e.removeAttribute("style"),u.delete(e)}}function h(e){return!(0!==e.mozInputSource||!e.isTrusted)||0===e.detail&&!e.pointerType}class d{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function f(e){let t=(0,i.useRef)({isFocused:!1,onBlur:e,observer:null});return t.current.onBlur=e,(0,n.Nf)((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]),(0,i.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,n=e=>{var n,i;t.current.isFocused=!1,r.disabled&&(null===(i=(n=t.current).onBlur)||void 0===i||i.call(n,new d("blur",e))),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",n,{once:!0}),t.current.observer=new MutationObserver((()=>{t.current.isFocused&&r.disabled&&(t.current.observer.disconnect(),r.dispatchEvent(new FocusEvent("blur")),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0})))})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[])}const m=s().createContext(null);function g(e){let{onPress:t,onPressChange:r,onPressStart:s,onPressEnd:o,onPressUp:a,isDisabled:l,isPressed:u,preventFocusOnPress:d,shouldCancelOnPointerExit:f,allowTextSelectionOnPress:g,ref:S,...C}=function(e){let t=(0,i.useContext)(m);if(t){let{register:r,...i}=t;e=(0,n.v6)(i,e),r()}return(0,n.wt)(t,e.ref),e}(e),A=(0,i.useRef)(null);A.current={onPress:t,onPressChange:r,onPressStart:s,onPressEnd:o,onPressUp:a,isDisabled:l,shouldCancelOnPointerExit:f};let[T,P]=(0,i.useState)(!1),F=(0,i.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:I,removeAllGlobalListeners:N}=(0,n.A5)(),k=(0,i.useMemo)((()=>{let e=F.current,t=(t,r)=>{let{onPressStart:n,onPressChange:i,isDisabled:s}=A.current;s||e.didFirePressStart||(n&&n({type:"pressstart",pointerType:r,target:t.currentTarget,shiftKey:t.shiftKey,metaKey:t.metaKey,ctrlKey:t.ctrlKey,altKey:t.altKey}),i&&i(!0),e.didFirePressStart=!0,P(!0))},r=(t,r,n=!0)=>{let{onPressEnd:i,onPressChange:s,onPress:o,isDisabled:a}=A.current;e.didFirePressStart&&(e.ignoreClickAfterPress=!0,e.didFirePressStart=!1,i&&i({type:"pressend",pointerType:r,target:t.currentTarget,shiftKey:t.shiftKey,metaKey:t.metaKey,ctrlKey:t.ctrlKey,altKey:t.altKey}),s&&s(!1),P(!1),o&&n&&!a&&o({type:"press",pointerType:r,target:t.currentTarget,shiftKey:t.shiftKey,metaKey:t.metaKey,ctrlKey:t.ctrlKey,altKey:t.altKey}))},i=(e,t)=>{let{onPressUp:r,isDisabled:n}=A.current;n||r&&r({type:"pressup",pointerType:t,target:e.currentTarget,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey})},s=t=>{e.isPressed&&(e.isOverTarget&&r(D(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,N(),g||p(e.target))},o={onKeyDown(r){b(r.nativeEvent)&&r.currentTarget.contains(r.target)&&(w(r.target)&&r.preventDefault(),r.stopPropagation(),e.isPressed||r.repeat||(e.target=r.currentTarget,e.isPressed=!0,t(r,"keyboard"),I(document,"keyup",a,!1)))},onKeyUp(t){b(t.nativeEvent)&&!t.repeat&&t.currentTarget.contains(t.target)&&i(D(e.target,t),"keyboard")},onClick(s){s&&!s.currentTarget.contains(s.target)||s&&0===s.button&&(s.stopPropagation(),l&&s.preventDefault(),e.ignoreClickAfterPress||e.ignoreEmulatedMouseEvents||"virtual"!==e.pointerType&&!h(s.nativeEvent)||(l||d||(0,n.eC)(s.currentTarget),t(s,"virtual"),i(s,"virtual"),r(s,"virtual")),e.ignoreEmulatedMouseEvents=!1,e.ignoreClickAfterPress=!1)}},a=t=>{if(e.isPressed&&b(t)){w(t.target)&&t.preventDefault(),t.stopPropagation(),e.isPressed=!1;let n=t.target;r(D(e.target,t),"keyboard",e.target.contains(n)),N(),(e.target.contains(n)&&y(e.target)||"link"===e.target.getAttribute("role"))&&e.target.click()}};if("undefined"!=typeof PointerEvent){o.onPointerDown=r=>{var i;0===r.button&&r.currentTarget.contains(r.target)&&(0===(i=r.nativeEvent).width&&0===i.height||1===i.width&&1===i.height&&0===i.pressure&&0===i.detail&&"mouse"===i.pointerType?e.pointerType="virtual":(x(r.currentTarget)&&r.preventDefault(),e.pointerType=r.pointerType,r.stopPropagation(),e.isPressed||(e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,l||d||(0,n.eC)(r.currentTarget),g||c(e.target),t(r,e.pointerType),I(document,"pointermove",a,!1),I(document,"pointerup",u,!1),I(document,"pointercancel",h,!1))))},o.onMouseDown=e=>{e.currentTarget.contains(e.target)&&0===e.button&&(x(e.currentTarget)&&e.preventDefault(),e.stopPropagation())},o.onPointerUp=t=>{t.currentTarget.contains(t.target)&&"virtual"!==e.pointerType&&0===t.button&&E(t,t.currentTarget)&&i(t,e.pointerType||t.pointerType)};let a=n=>{n.pointerId===e.activePointerId&&(E(n,e.target)?e.isOverTarget||(e.isOverTarget=!0,t(D(e.target,n),e.pointerType)):e.isOverTarget&&(e.isOverTarget=!1,r(D(e.target,n),e.pointerType,!1),A.current.shouldCancelOnPointerExit&&s(n)))},u=t=>{t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&(E(t,e.target)?r(D(e.target,t),e.pointerType):e.isOverTarget&&r(D(e.target,t),e.pointerType,!1),e.isPressed=!1,e.isOverTarget=!1,e.activePointerId=null,e.pointerType=null,N(),g||p(e.target))},h=e=>{s(e)};o.onDragStart=e=>{e.currentTarget.contains(e.target)&&s(e)}}else{o.onMouseDown=r=>{0===r.button&&r.currentTarget.contains(r.target)&&(x(r.currentTarget)&&r.preventDefault(),r.stopPropagation(),e.ignoreEmulatedMouseEvents||(e.isPressed=!0,e.isOverTarget=!0,e.target=r.currentTarget,e.pointerType=h(r.nativeEvent)?"virtual":"mouse",l||d||(0,n.eC)(r.currentTarget),t(r,e.pointerType),I(document,"mouseup",a,!1)))},o.onMouseEnter=r=>{r.currentTarget.contains(r.target)&&(r.stopPropagation(),e.isPressed&&!e.ignoreEmulatedMouseEvents&&(e.isOverTarget=!0,t(r,e.pointerType)))},o.onMouseLeave=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&!e.ignoreEmulatedMouseEvents&&(e.isOverTarget=!1,r(t,e.pointerType,!1),A.current.shouldCancelOnPointerExit&&s(t)))},o.onMouseUp=t=>{t.currentTarget.contains(t.target)&&(e.ignoreEmulatedMouseEvents||0!==t.button||i(t,e.pointerType))};let a=t=>{0===t.button&&(e.isPressed=!1,N(),e.ignoreEmulatedMouseEvents?e.ignoreEmulatedMouseEvents=!1:(E(t,e.target)?r(D(e.target,t),e.pointerType):e.isOverTarget&&r(D(e.target,t),e.pointerType,!1),e.isOverTarget=!1))};o.onTouchStart=r=>{if(!r.currentTarget.contains(r.target))return;r.stopPropagation();let i=function(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}(r.nativeEvent);i&&(e.activePointerId=i.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=r.currentTarget,e.pointerType="touch",l||d||(0,n.eC)(r.currentTarget),g||c(e.target),t(r,e.pointerType),I(window,"scroll",u,!0))},o.onTouchMove=n=>{if(!n.currentTarget.contains(n.target))return;if(n.stopPropagation(),!e.isPressed)return;let i=v(n.nativeEvent,e.activePointerId);i&&E(i,n.currentTarget)?e.isOverTarget||(e.isOverTarget=!0,t(n,e.pointerType)):e.isOverTarget&&(e.isOverTarget=!1,r(n,e.pointerType,!1),A.current.shouldCancelOnPointerExit&&s(n))},o.onTouchEnd=t=>{if(!t.currentTarget.contains(t.target))return;if(t.stopPropagation(),!e.isPressed)return;let n=v(t.nativeEvent,e.activePointerId);n&&E(n,t.currentTarget)?(i(t,e.pointerType),r(t,e.pointerType)):e.isOverTarget&&r(t,e.pointerType,!1),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,g||p(e.target),N()},o.onTouchCancel=t=>{t.currentTarget.contains(t.target)&&(t.stopPropagation(),e.isPressed&&s(t))};let u=t=>{e.isPressed&&t.target.contains(e.target)&&s({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};o.onDragStart=e=>{e.currentTarget.contains(e.target)&&s(e)}}return o}),[I,l,d,N,g]);return(0,i.useEffect)((()=>()=>{g||p(F.current.target)}),[g]),{isPressed:u||T,pressProps:(0,n.v6)(C,k)}}function y(e){return"A"===e.tagName&&e.hasAttribute("href")}function b(e){const{key:t,code:r,target:n}=e,i=n,{tagName:s,isContentEditable:o}=i,a=i.getAttribute("role");return!("Enter"!==t&&" "!==t&&"Spacebar"!==t&&"Space"!==r||"INPUT"===s||"TEXTAREA"===s||!0===o||y(i)&&("button"!==a||"Enter"===t)||"link"===a&&"Enter"!==t)}function v(e,t){const r=e.changedTouches;for(let e=0;e<r.length;e++){const n=r[e];if(n.identifier===t)return n}return null}function D(e,t){return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey}}function E(e,t){let r=t.getBoundingClientRect(),n=function(e){let t=e.width/2||e.radiusX||0,r=e.height/2||e.radiusY||0;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}(e);return s=n,!((i=r).left>s.right||s.left>i.right||i.top>s.bottom||s.top>i.bottom);var i,s}function x(e){return!e.draggable}function w(e){return!(("INPUT"===e.tagName||"BUTTON"===e.tagName)&&"submit"===e.type)}m.displayName="PressResponderContext";const S=s().forwardRef((({children:e,...t},r)=>{let o=(0,i.useRef)();r=null!=r?r:o;let{pressProps:a}=g({...t,ref:r}),l=s().Children.only(e);return s().cloneElement(l,{ref:r,...(0,n.v6)(l.props,a)})}));o({},"PressResponder",(()=>C));const C=s().forwardRef((({children:e,...t},r)=>{let o=(0,i.useRef)(!1),a=(0,i.useContext)(m),l=(0,n.v6)(a||{},{...t,ref:r||(null==a?void 0:a.ref),register(){o.current=!0,a&&a.register()}});return(0,n.wt)(a,r),(0,i.useEffect)((()=>{o.current||console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.")}),[]),s().createElement(m.Provider,{value:l},e)}));function A(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:s}=e;const o=(0,i.useCallback)((e=>{if(e.target===e.currentTarget)return n&&n(e),s&&s(!1),!0}),[n,s]),a=f(o),l=(0,i.useCallback)((e=>{e.target===e.currentTarget&&(r&&r(e),s&&s(!0),a(e))}),[s,r,a]);return{focusProps:{onFocus:!t&&(r||s||n)?l:void 0,onBlur:t||!n&&!s?null:o}}}o({},"useFocus",(()=>A));var T={};o(T,"isFocusVisible",(()=>U)),o(T,"getInteractionModality",(()=>z)),o(T,"setInteractionModality",(()=>V)),o(T,"useInteractionModality",(()=>W)),o(T,"useFocusVisible",(()=>H)),o(T,"useFocusVisibleListener",(()=>q));let P=null,F=new Set,I=!1,N=!1,k=!1;const _={Tab:!0,Escape:!0};function O(e,t){for(let r of F)r(e,t)}function M(e){N=!0,function(e){return!(e.metaKey||!(0,n.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(P="keyboard",O("keyboard",e))}function L(e){P="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(N=!0,O("pointer",e))}function B(e){h(e)&&(N=!0,P="virtual")}function R(e){e.target!==window&&e.target!==document&&(N||k||(P="virtual",O("virtual",e)),N=!1,k=!1)}function j(){N=!1,k=!0}function $(){if("undefined"==typeof window||I)return;let e=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(){N=!0,e.apply(this,arguments)},document.addEventListener("keydown",M,!0),document.addEventListener("keyup",M,!0),document.addEventListener("click",B,!0),window.addEventListener("focus",R,!0),window.addEventListener("blur",j,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",L,!0),document.addEventListener("pointermove",L,!0),document.addEventListener("pointerup",L,!0)):(document.addEventListener("mousedown",L,!0),document.addEventListener("mousemove",L,!0),document.addEventListener("mouseup",L,!0)),I=!0}function U(){return"pointer"!==P}function z(){return P}function V(e){P=e,O(e,null)}function W(){$();let[e,t]=(0,i.useState)(P);return(0,i.useEffect)((()=>{let e=()=>{t(P)};return F.add(e),()=>{F.delete(e)}}),[]),e}function H(e={}){let{isTextInput:t,autoFocus:r}=e,[n,s]=(0,i.useState)(r||U());return q((e=>{s(e)}),[t],{isTextInput:t}),{isFocusVisible:n}}function q(e,t,r){$(),(0,i.useEffect)((()=>{let t=(t,n)=>{(function(e,t,r){return!(e&&"keyboard"===t&&r instanceof KeyboardEvent&&!_[r.key])})(null==r?void 0:r.isTextInput,t,n)&&e(U())};return F.add(t),()=>{F.delete(t)}}),t)}function G(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:s}=e,o=(0,i.useRef)({isFocusWithin:!1}),a=(0,i.useCallback)((e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,r&&r(e),s&&s(!1))}),[r,s,o]),l=f(a),u=(0,i.useCallback)((e=>{o.current.isFocusWithin||(n&&n(e),s&&s(!0),o.current.isFocusWithin=!0,l(e))}),[n,s,l]);return t?{focusWithinProps:{onFocus:null,onBlur:null}}:{focusWithinProps:{onFocus:u,onBlur:a}}}"undefined"!=typeof document&&("loading"!==document.readyState?$():document.addEventListener("DOMContentLoaded",$)),o({},"useFocusWithin",(()=>G)),o({},"useHover",(()=>Q));let K=!1,X=0;function J(){K=!0,setTimeout((()=>{K=!1}),50)}function Y(e){"touch"===e.pointerType&&J()}function Z(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",Y):document.addEventListener("touchend",J),X++,()=>{X--,X>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",Y):document.removeEventListener("touchend",J))}}function Q(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:s}=e,[o,a]=(0,i.useState)(!1),l=(0,i.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,i.useEffect)(Z,[]);let{hoverProps:u,triggerHoverEnd:c}=(0,i.useMemo)((()=>{let e=(e,n)=>{if(l.pointerType=n,s||"touch"===n||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let i=e.currentTarget;l.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),a(!0)},i=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let i=e.currentTarget;n&&n({type:"hoverend",target:i,pointerType:t}),r&&r(!1),a(!1)},o={};return"undefined"!=typeof PointerEvent?(o.onPointerEnter=t=>{K&&"mouse"===t.pointerType||e(t,t.pointerType)},o.onPointerLeave=e=>{!s&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(o.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},o.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||K||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},o.onMouseLeave=e=>{!s&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:o,triggerHoverEnd:i}}),[t,r,n,s,l]);return(0,i.useEffect)((()=>{s&&c({currentTarget:l.target},l.pointerType)}),[s]),{hoverProps:u,isHovered:o}}function ee(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:s}=e,o=(0,i.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1,onInteractOutside:r,onInteractOutsideStart:s}).current;o.onInteractOutside=r,o.onInteractOutsideStart=s,(0,i.useEffect)((()=>{if(n)return;let e=e=>{te(e,t)&&o.onInteractOutside&&(o.onInteractOutsideStart&&o.onInteractOutsideStart(e),o.isPointerDown=!0)};if("undefined"!=typeof PointerEvent){let r=e=>{o.isPointerDown&&o.onInteractOutside&&te(e,t)&&(o.isPointerDown=!1,o.onInteractOutside(e))};return document.addEventListener("pointerdown",e,!0),document.addEventListener("pointerup",r,!0),()=>{document.removeEventListener("pointerdown",e,!0),document.removeEventListener("pointerup",r,!0)}}{let r=e=>{o.ignoreEmulatedMouseEvents?o.ignoreEmulatedMouseEvents=!1:o.isPointerDown&&o.onInteractOutside&&te(e,t)&&(o.isPointerDown=!1,o.onInteractOutside(e))},n=e=>{o.ignoreEmulatedMouseEvents=!0,o.onInteractOutside&&o.isPointerDown&&te(e,t)&&(o.isPointerDown=!1,o.onInteractOutside(e))};return document.addEventListener("mousedown",e,!0),document.addEventListener("mouseup",r,!0),document.addEventListener("touchstart",e,!0),document.addEventListener("touchend",n,!0),()=>{document.removeEventListener("mousedown",e,!0),document.removeEventListener("mouseup",r,!0),document.removeEventListener("touchstart",e,!0),document.removeEventListener("touchend",n,!0)}}}),[t,o,n])}function te(e,t){if(e.button>0)return!1;if(e.target){const t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target))return!1}return t.current&&!t.current.contains(e.target)}function re(e){if(!e)return;let t=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){t=!1}};e(n),t&&r.stopPropagation()}}function ne(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:re(e.onKeyDown),onKeyUp:re(e.onKeyUp)}}}function ie(e){let{onMoveStart:t,onMove:r,onMoveEnd:s}=e,o=(0,i.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:a,removeGlobalListener:l}=(0,n.A5)();return{moveProps:(0,i.useMemo)((()=>{let e={},n=()=>{c(),o.current.didMove=!1},i=(e,n,i,s)=>{0===i&&0===s||(o.current.didMove||(o.current.didMove=!0,null==t||t({type:"movestart",pointerType:n,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey})),r({type:"move",pointerType:n,deltaX:i,deltaY:s,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey}))},u=(e,t)=>{p(),o.current.didMove&&(null==s||s({type:"moveend",pointerType:t,shiftKey:e.shiftKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey}))};if("undefined"==typeof PointerEvent){let t=e=>{0===e.button&&(i(e,"mouse",e.pageX-o.current.lastPosition.pageX,e.pageY-o.current.lastPosition.pageY),o.current.lastPosition={pageX:e.pageX,pageY:e.pageY})},r=e=>{0===e.button&&(u(e,"mouse"),l(window,"mousemove",t,!1),l(window,"mouseup",r,!1))};e.onMouseDown=e=>{0===e.button&&(n(),e.stopPropagation(),e.preventDefault(),o.current.lastPosition={pageX:e.pageX,pageY:e.pageY},a(window,"mousemove",t,!1),a(window,"mouseup",r,!1))};let s=e=>{let t=[...e.changedTouches].findIndex((({identifier:e})=>e===o.current.id));if(t>=0){let{pageX:r,pageY:n}=e.changedTouches[t];i(e,"touch",r-o.current.lastPosition.pageX,n-o.current.lastPosition.pageY),o.current.lastPosition={pageX:r,pageY:n}}},c=e=>{[...e.changedTouches].findIndex((({identifier:e})=>e===o.current.id))>=0&&(u(e,"touch"),o.current.id=null,l(window,"touchmove",s),l(window,"touchend",c),l(window,"touchcancel",c))};e.onTouchStart=e=>{if(0===e.changedTouches.length||null!=o.current.id)return;let{pageX:t,pageY:r,identifier:i}=e.changedTouches[0];n(),e.stopPropagation(),e.preventDefault(),o.current.lastPosition={pageX:t,pageY:r},o.current.id=i,a(window,"touchmove",s,!1),a(window,"touchend",c,!1),a(window,"touchcancel",c,!1)}}else{let t=e=>{if(e.pointerId===o.current.id){let t=e.pointerType||"mouse";i(e,t,e.pageX-o.current.lastPosition.pageX,e.pageY-o.current.lastPosition.pageY),o.current.lastPosition={pageX:e.pageX,pageY:e.pageY}}},r=e=>{if(e.pointerId===o.current.id){let n=e.pointerType||"mouse";u(e,n),o.current.id=null,l(window,"pointermove",t,!1),l(window,"pointerup",r,!1),l(window,"pointercancel",r,!1)}};e.onPointerDown=e=>{0===e.button&&null==o.current.id&&(n(),e.stopPropagation(),e.preventDefault(),o.current.lastPosition={pageX:e.pageX,pageY:e.pageY},o.current.id=e.pointerId,a(window,"pointermove",t,!1),a(window,"pointerup",r,!1),a(window,"pointercancel",r,!1))}}let h=(e,t,r)=>{n(),i(e,"keyboard",t,r),u(e,"keyboard")};return e.onKeyDown=e=>{switch(e.key){case"Left":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),h(e,-1,0);break;case"Right":case"ArrowRight":e.preventDefault(),e.stopPropagation(),h(e,1,0);break;case"Up":case"ArrowUp":e.preventDefault(),e.stopPropagation(),h(e,0,-1);break;case"Down":case"ArrowDown":e.preventDefault(),e.stopPropagation(),h(e,0,1)}},e}),[o,t,r,s,a,l])}}function se(e,t){let{onScroll:r,isDisabled:s}=e,o=(0,i.useCallback)((e=>{e.ctrlKey||(e.preventDefault(),e.stopPropagation(),r&&r({deltaX:e.deltaX,deltaY:e.deltaY}))}),[r]);(0,n._q)(t,"wheel",s?null:o)}o({},"useInteractOutside",(()=>ee)),o({},"useKeyboard",(()=>ne)),o({},"useMove",(()=>ie)),o({},"useScrollWheel",(()=>se)),o({},"useLongPress",(()=>ae));const oe=500;function ae(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:s,onLongPress:o,threshold:a=oe,accessibilityDescription:l}=e;const u=(0,i.useRef)(null);let{addGlobalListener:c,removeGlobalListener:p}=(0,n.A5)(),{pressProps:h}=g({isDisabled:t,onPressStart(e){if(("mouse"===e.pointerType||"touch"===e.pointerType)&&(r&&r({...e,type:"longpressstart"}),u.current=setTimeout((()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),o&&o({...e,type:"longpress"}),u.current=null}),a),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};c(e.target,"contextmenu",t,{once:!0}),c(window,"pointerup",(()=>{setTimeout((()=>{p(e.target,"contextmenu",t)}),30)}),{once:!0})}},onPressEnd(e){u.current&&clearTimeout(u.current),!s||"mouse"!==e.pointerType&&"touch"!==e.pointerType||s({...e,type:"longpressend"})}}),d=(0,n.I8)(o&&!t?l:null);return{longPressProps:(0,n.v6)(h,d)}}},34165:(e,t,r)=>{var n=r(67670),i=r(36180),s=r(63713);e.exports=function(e,t,r){return s.throwIf(s.isFunction(t),"Reflux.connectFilter() requires a key."),{getInitialState:function(){if(!s.isFunction(e.getInitialState))return{};var n=r.call(this,e.getInitialState());return void 0!==n?s.object([t],[n]):{}},componentDidMount:function(){var i=this;s.extend(this,n),this.listenTo(e,(function(e){var n=r.call(i,e);i.setState(s.object([t],[n]))}))},componentWillUnmount:i.componentWillUnmount}}},34385:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(70161),i=r(6022),s=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.A)(t,e),t.prototype.getOptions=function(e){return null!=e.pane?e:null!=e.leaflet&&null!=e.leaflet.pane?(0,n.A)({},e,{pane:e.leaflet.pane}):e},t}(r(72287).A)},34527:(e,t,r)=>{r.d(t,{C:()=>p,Cv:()=>A,G1:()=>a,K2:()=>f,Nc:()=>w,OW:()=>g,Sh:()=>b,Tb:()=>E,Tp:()=>h,VF:()=>D,YL:()=>d,c4:()=>v,di:()=>y,mw:()=>x,nf:()=>C,rH:()=>c,se:()=>m});var n=r(52682),i=1,s=1,o=0,a=0,l=0,u="";function c(e,t,r,n,o,a,l){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:i,column:s,length:l,return:""}}function p(e,t){return(0,n.kp)(c("",null,null,"",null,null,0),e,{length:-e.length},t)}function h(){return l}function d(){return l=a>0?(0,n.wN)(u,--a):0,s--,10===l&&(s=1,i--),l}function f(){return l=a<o?(0,n.wN)(u,a++):0,s++,10===l&&(s=1,i++),l}function m(){return(0,n.wN)(u,a)}function g(){return a}function y(e,t){return(0,n.c1)(u,e,t)}function b(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function v(e){return i=s=1,o=(0,n.b2)(u=e),a=0,[]}function D(e){return u="",e}function E(e){return(0,n.Bq)(y(a-1,S(91===e?e+2:40===e?e+1:e)))}function x(e){for(;(l=m())&&l<33;)f();return b(e)>2||b(l)>3?"":" "}function w(e,t){for(;--t&&f()&&!(l<48||l>102||l>57&&l<65||l>70&&l<97););return y(e,g()+(t<6&&32==m()&&32==f()))}function S(e){for(;f();)switch(l){case e:return a;case 34:case 39:34!==e&&39!==e&&S(l);break;case 40:41===e&&S(e);break;case 92:f()}return a}function C(e,t){for(;f()&&e+l!==57&&(e+l!==84||47!==m()););return"/*"+y(t,a-1)+"*"+(0,n.HT)(47===e?e:f())}function A(e){for(;!b(m());)f();return y(e,a)}},34894:(e,t,r)=>{const n=r(87998);e.exports=(e,t)=>e.sort(((e,r)=>n(e,r,t)))},36180:(e,t,r)=>{var n=r(63713),i=r(67670);e.exports=n.extend({componentWillUnmount:i.stopListeningToAll},i)},36929:(e,t,r)=>{var n=e.exports=function(e){e=e.toLowerCase();var t=n[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};n.sha=r(58407),n.sha1=r(3720),n.sha224=r(79023),n.sha256=r(5038),n.sha384=r(88878),n.sha512=r(47439)},37109:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)>0},37553:(e,t,r)=>{const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=s(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),u("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=s(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=i;const s=r(85890),{safeRe:o,t:a}=r(42229),l=r(31288),u=r(7341),c=r(66089),p=r(92248)},37668:function(e,t,r){var n=void 0!==r.g&&r.g||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new s(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(66858),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==r.g&&r.g.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==r.g&&r.g.clearImmediate||this&&this.clearImmediate},38049:(e,t,r)=>{var n=r(79696).Buffer;function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t));for(var r=this._block,i=this._blockSize,s=e.length,o=this._len,a=0;a<s;){for(var l=o%i,u=Math.min(s-a,i-l),c=0;c<u;c++)r[l+c]=e[a+c];a+=u,(o+=u)%i==0&&this._update(r)}return this._len+=s,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},38411:(e,t,r)=>{r.d(t,{YR:()=>a});const n=function(e){if(null==e)return s;if("string"==typeof e)return t=e,i((function(e){return e&&e.type===t}));var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=n(e[r]);return i((function(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}))}(e):function(e){return i((function(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}))}(e);if("function"==typeof e)return i(e);throw new Error("Expected function, string, or object as test")};function i(e){return function(t,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function s(){return!0}const o=!1,a=function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null),function(e,t,r,i){"function"==typeof t&&"function"!=typeof r&&(i=r,r=t,t=null);const s=n(t),a=i?-1:1;!function e(n,l,u){const c=n&&"object"==typeof n?n:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(p,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return p;function p(){let c,p,h,d=[];if((!t||s(n,l,u[u.length-1]||null))&&(d=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:[e]}(r(n,u)),d[0]===o))return d;if(n.children&&"skip"!==d[0])for(p=(i?n.children.length:-1)+a,h=u.concat(n);p>-1&&p<n.children.length;){if(c=e(n.children[p],p,h)(),c[0]===o)return c;p="number"==typeof c[1]?c[1]:p+a}return d}}(e,void 0,[])()}(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),i)}},38475:(e,t,r)=>{r.d(t,{D0:()=>i.D0,Kv:()=>s,N4:()=>o,hM:()=>i.hM});var n=r(96652),i=r(62591);function s(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?n.createElement(e,t):e:null;var r}function o(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[r]=n.useState((()=>({current:(0,i.ZR)(t)}))),[s,o]=n.useState((()=>r.current.initialState));return r.current.setOptions((t=>({...t,...e,state:{...s,...e.state},onStateChange:t=>{o(t),null==e.onStateChange||e.onStateChange(t)}}))),r.current}},39080:e=>{function t(e){return e>=48&&e<=57}function r(e){return e>=65&&e<=90||e>=97&&e<=122}e.exports={isASCIIDigit:t,isASCIIAlpha:r,isASCIIAlphanumeric:function(e){return r(e)||t(e)},isASCIIHex:function(e){return t(e)||e>=65&&e<=70||e>=97&&e<=102}}},39628:(e,t,r)=>{var n=r(96652),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=n.useState,o=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=s({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return a((function(){i.value=r,i.getSnapshot=t,u(i)&&c({inst:i})}),[e,r,t]),o((function(){return u(i)&&c({inst:i}),e((function(){u(i)&&c({inst:i})}))}),[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},39831:(e,t,r)=>{const{ArrayIsArray:n,ObjectSetPrototypeOf:i}=r(12450),{EventEmitter:s}=r(8763);function o(e){s.call(this,e)}function a(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}i(o.prototype,s.prototype),i(o,s),o.prototype.pipe=function(e,t){const r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",l),r.on("close",u));let o=!1;function l(){o||(o=!0,e.end())}function u(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){p(),0===s.listenerCount(this,"error")&&this.emit("error",e)}function p(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",l),r.removeListener("close",u),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",p),r.removeListener("close",p),e.removeListener("close",p)}return a(r,"error",c),a(e,"error",c),r.on("end",p),r.on("close",p),e.on("close",p),e.emit("pipe",r),e},e.exports={Stream:o,prependListener:a}},39889:(e,t,r)=>{var n,i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(l,{getContext:()=>u.getContext,getVercelOidcToken:()=>c,getVercelOidcTokenSync:()=>p}),e.exports=(n=l,((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of o(t))a.call(e,r)||undefined===r||i(e,r,{get:()=>t[r],enumerable:!(n=s(t,r))||n.enumerable});return e})(i({},"__esModule",{value:!0}),n));var u=r(44466);async function c(){return""}function p(){return""}},41013:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},41078:(e,t,r)=>{r.d(t,{$:()=>Be});var n={};r.r(n),r.d(n,{boolean:()=>W,booleanish:()=>H,commaOrSpaceSeparated:()=>J,commaSeparated:()=>X,number:()=>G,overloadedBoolean:()=>q,spaceSeparated:()=>K});var i=r(96652),s=r(40307),o=r(94271);class a extends Error{constructor(e,t,r){const n=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){const e=r.indexOf(":");-1===e?n[1]=r:(n[0]=r.slice(0,e),n[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=(0,o.L)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}a.prototype.file="",a.prototype.name="",a.prototype.reason="",a.prototype.message="",a.prototype.stack="",a.prototype.fatal=null,a.prototype.column=null,a.prototype.line=null,a.prototype.source=null,a.prototype.ruleId=null,a.prototype.position=null;const l=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');d(e);let r,n=0,i=-1,s=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else i<0&&(r=!0,i=s+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let o=-1,a=t.length-1;for(;s--;)if(47===e.charCodeAt(s)){if(r){n=s+1;break}}else o<0&&(r=!0,o=s+1),a>-1&&(e.charCodeAt(s)===t.charCodeAt(a--)?a<0&&(i=s):(a=-1,i=o));return n===i?i=o:i<0&&(i=e.length),e.slice(n,i)},u=function(e){if(d(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},c=function(e){d(e);let t,r=e.length,n=-1,i=0,s=-1,o=0;for(;r--;){const a=e.charCodeAt(r);if(47!==a)n<0&&(t=!0,n=r+1),46===a?s<0?s=r:1!==o&&(o=1):s>-1&&(o=-1);else if(t){i=r+1;break}}return s<0||n<0||0===o||1===o&&s===n-1&&s===i+1?"":e.slice(s,n)},p=function(...e){let t,r=-1;for(;++r<e.length;)d(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){d(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,i="",s=0,o=-1,a=0,l=-1;for(;++l<=e.length;){if(l<e.length)r=e.charCodeAt(l);else{if(47===r)break;r=47}if(47===r){if(o===l-1||1===a);else if(o!==l-1&&2===a){if(i.length<2||2!==s||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(n=i.lastIndexOf("/"),n!==i.length-1){n<0?(i="",s=0):(i=i.slice(0,n),s=i.length-1-i.lastIndexOf("/")),o=l,a=0;continue}}else if(i.length>0){i="",s=0,o=l,a=0;continue}t&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),s=l-o-1;o=l,a=0}else 46===r&&a>-1?a++:a=-1}return i}(e,!t);return 0!==r.length||t||(r="."),r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/"),t?"/"+r:r}(t)},h="/";function d(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const f=function(){return"/"};function m(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}var g=r(9606).URL;const y=["history","path","basename","stem","extname","dirname"];class b{constructor(e){let t;t=e?"string"==typeof e||function(e){return s(e)}(e)?{value:e}:m(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=f(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<y.length;){const e=y[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)y.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){m(e)&&(e=function(e){if("string"==typeof e)e=new g(e);else if(!m(e)){const 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("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),D(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?u(this.path):void 0}set dirname(e){E(this.basename,"dirname"),this.path=p(e||"",this.basename)}get basename(){return"string"==typeof this.path?l(this.path):void 0}set basename(e){D(e,"basename"),v(e,"basename"),this.path=p(this.dirname||"",e)}get extname(){return"string"==typeof this.path?c(this.path):void 0}set extname(e){if(v(e,"extname"),E(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=p(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l(this.path,this.extname):void 0}set stem(e){D(e,"stem"),v(e,"stem"),this.path=p(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,r){const n=new a(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function v(e,t){if(e&&e.includes(h))throw new Error("`"+t+"` cannot be a path: did not expect `"+h+"`")}function D(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function E(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}var x=r(35693),w=r(42546);function S(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const C=function e(){const t=function(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function i(s,...o){const a=e[++r];let l=-1;if(s)n(s);else{for(;++l<t.length;)null!==o[l]&&void 0!==o[l]||(o[l]=t[l]);t=o,a?function(e,t){let r;return function(...t){const s=e.length>t.length;let o;s&&t.push(n);try{o=e.apply(this,t)}catch(e){if(s&&r)throw e;return n(e)}s||(o&&o.then&&"function"==typeof o.then?o.then(i,n):o instanceof Error?n(o):i(o))};function n(e,...n){r||(r=!0,t(e,...n))}function i(e){n(null,e)}}(a,i)(...o):n(null,...o)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}(),r=[];let n,i={},o=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(I("data",n),i[e]=t,a):A.call(i,e)&&i[e]||null:e?(I("data",n),i=e,a):i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(n)return a;for(;++o<r.length;){const[e,...n]=r[o];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const i=e.call(a,...n);"function"==typeof i&&t.use(i)}return n=!0,o=Number.POSITIVE_INFINITY,a},a.attachers=r,a.use=function(e,...t){let s;if(I("use",n),null==e);else if("function"==typeof e)c(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?u(e):l(e)}return s&&(i.settings=Object.assign(i.settings||{},s)),a;function o(e){if("function"==typeof e)c(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;c(t,...r)}else l(e)}}function l(e){u(e.plugins),e.settings&&(s=Object.assign(s||{},e.settings))}function u(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)o(e[t])}}function c(e,t){let n,i=-1;for(;++i<r.length;)if(r[i][0]===e){n=r[i];break}n?(S(n[1])&&S(t)&&(t=w(!0,n[1],t)),n[1]=t):r.push([...arguments])}},a.parse=function(e){a.freeze();const t=_(e),r=a.Parser;return P("parse",r),T(r,"parse")?new r(String(t),t).parse():r(String(t),t)},a.stringify=function(e,t){a.freeze();const r=_(t),n=a.Compiler;return F("stringify",n),N(e),T(n,"compile")?new n(e,r).compile():n(e,r)},a.run=function(e,r,n){if(N(e),a.freeze(),n||"function"!=typeof r||(n=r,r=void 0),!n)return new Promise(i);function i(i,s){t.run(e,_(r),(function(t,r,o){r=r||e,t?s(t):i?i(r):n(null,r,o)}))}i(null,n)},a.runSync=function(e,t){let r,n;return a.run(e,t,(function(e,t){(0,x.V)(e),r=t,n=!0})),k("runSync","run",n),r},a.process=function(e,t){if(a.freeze(),P("process",a.Parser),F("process",a.Compiler),!t)return new Promise(r);function r(r,n){const i=_(e);function o(e,i){e||!i?n(e):r?r(i):t(null,i)}a.run(a.parse(i),i,((e,t,r)=>{if(!e&&t&&r){const i=a.stringify(t,r);null==i||("string"==typeof(n=i)||s(n)?r.value=i:r.result=i),o(e,r)}else o(e);var n}))}r(null,t)},a.processSync=function(e){let t;a.freeze(),P("processSync",a.Parser),F("processSync",a.Compiler);const r=_(e);return a.process(r,(function(e){t=!0,(0,x.V)(e)})),k("processSync","process",t),r},a;function a(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(w(!0,{},i)),t}}().freeze(),A={}.hasOwnProperty;function T(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(A.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function P(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function F(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function I(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 N(e){if(!S(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function k(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function _(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new b(e)}var O=r(84157);function M(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return(0,O.Y)(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var L=r(3079);const B=function(e,t){return e&&"run"in e?function(e,t){return(r,n,i)=>{e.run((0,L._)(r,t),n,(e=>{i(e)}))}}(e,t):function(e){return t=>(0,L._)(t,e)}(e||t)};var R=r(4855);class j{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}function $(e,t){const r={},n={};let i=-1;for(;++i<e.length;)Object.assign(r,e[i].property),Object.assign(n,e[i].normal);return new j(r,n,t)}function U(e){return e.toLowerCase()}j.prototype.property={},j.prototype.normal={},j.prototype.space=null;class z{constructor(e,t){this.property=e,this.attribute=t}}z.prototype.space=null,z.prototype.boolean=!1,z.prototype.booleanish=!1,z.prototype.overloadedBoolean=!1,z.prototype.number=!1,z.prototype.commaSeparated=!1,z.prototype.spaceSeparated=!1,z.prototype.commaOrSpaceSeparated=!1,z.prototype.mustUseProperty=!1,z.prototype.defined=!1;let V=0;const W=Y(),H=Y(),q=Y(),G=Y(),K=Y(),X=Y(),J=Y();function Y(){return 2**++V}const Z=Object.keys(n);class Q extends z{constructor(e,t,r,i){let s=-1;if(super(e,t),ee(this,"space",i),"number"==typeof r)for(;++s<Z.length;){const e=Z[s];ee(this,Z[s],(r&n[e])===n[e])}}}function ee(e,t,r){r&&(e[t]=r)}Q.prototype.defined=!0;const te={}.hasOwnProperty;function re(e){const t={},r={};let n;for(n in e.properties)if(te.call(e.properties,n)){const i=e.properties[n],s=new Q(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),t[n]=s,r[U(n)]=n,r[U(s.attribute)]=n}return new j(t,r,e.space)}const ne=re({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ie=re({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function se(e,t){return t in e?e[t]:t}function oe(e,t){return se(e,t.toLowerCase())}const ae=re({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:oe,properties:{xmlns:null,xmlnsXLink:null}}),le=re({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:H,ariaAutoComplete:null,ariaBusy:H,ariaChecked:H,ariaColCount:G,ariaColIndex:G,ariaColSpan:G,ariaControls:K,ariaCurrent:null,ariaDescribedBy:K,ariaDetails:null,ariaDisabled:H,ariaDropEffect:K,ariaErrorMessage:null,ariaExpanded:H,ariaFlowTo:K,ariaGrabbed:H,ariaHasPopup:null,ariaHidden:H,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:K,ariaLevel:G,ariaLive:null,ariaModal:H,ariaMultiLine:H,ariaMultiSelectable:H,ariaOrientation:null,ariaOwns:K,ariaPlaceholder:null,ariaPosInSet:G,ariaPressed:H,ariaReadOnly:H,ariaRelevant:null,ariaRequired:H,ariaRoleDescription:K,ariaRowCount:G,ariaRowIndex:G,ariaRowSpan:G,ariaSelected:H,ariaSetSize:G,ariaSort:null,ariaValueMax:G,ariaValueMin:G,ariaValueNow:G,ariaValueText:null,role:null}}),ue=re({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:oe,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:X,acceptCharset:K,accessKey:K,action:null,allow:null,allowFullScreen:W,allowPaymentRequest:W,allowUserMedia:W,alt:null,as:null,async:W,autoCapitalize:null,autoComplete:K,autoFocus:W,autoPlay:W,blocking:K,capture:null,charSet:null,checked:W,cite:null,className:K,cols:G,colSpan:null,content:null,contentEditable:H,controls:W,controlsList:K,coords:G|X,crossOrigin:null,data:null,dateTime:null,decoding:null,default:W,defer:W,dir:null,dirName:null,disabled:W,download:q,draggable:H,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:W,formTarget:null,headers:K,height:G,hidden:W,high:G,href:null,hrefLang:null,htmlFor:K,httpEquiv:K,id:null,imageSizes:null,imageSrcSet:null,inert:W,inputMode:null,integrity:null,is:null,isMap:W,itemId:null,itemProp:K,itemRef:K,itemScope:W,itemType:K,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:W,low:G,manifest:null,max:null,maxLength:G,media:null,method:null,min:null,minLength:G,multiple:W,muted:W,name:null,nonce:null,noModule:W,noValidate:W,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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,onScrollEnd: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:W,optimum:G,pattern:null,ping:K,placeholder:null,playsInline:W,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:W,referrerPolicy:null,rel:K,required:W,reversed:W,rows:G,rowSpan:G,sandbox:K,scope:null,scoped:W,seamless:W,selected:W,shadowRootClonable:W,shadowRootDelegatesFocus:W,shadowRootMode:null,shape:null,size:G,sizes:null,slot:null,span:G,spellCheck:H,src:null,srcDoc:null,srcLang:null,srcSet:null,start:G,step:null,style:null,tabIndex:G,target:null,title:null,translate:null,type:null,typeMustMatch:W,useMap:null,value:H,width:G,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:K,axis:null,background:null,bgColor:null,border:G,borderColor:null,bottomMargin:G,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:W,declare:W,event:null,face:null,frame:null,frameBorder:null,hSpace:G,leftMargin:G,link:null,longDesc:null,lowSrc:null,marginHeight:G,marginWidth:G,noResize:W,noHref:W,noShade:W,noWrap:W,object:null,profile:null,prompt:null,rev:null,rightMargin:G,rules:null,scheme:null,scrolling:H,standby:null,summary:null,text:null,topMargin:G,valueType:null,version:null,vAlign:null,vLink:null,vSpace:G,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:W,disableRemotePlayback:W,prefix:null,property:null,results:G,security:null,unselectable:null}}),ce=re({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",transformOrigin:"transform-origin",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:se,properties:{about:J,accentHeight:G,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:G,amplitude:G,arabicForm:null,ascent:G,attributeName:null,attributeType:null,azimuth:G,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:G,by:null,calcMode:null,capHeight:G,className:K,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:G,diffuseConstant:G,direction:null,display:null,dur:null,divisor:G,dominantBaseline:null,download:W,dx:null,dy:null,edgeMode:null,editable:null,elevation:G,enableBackground:null,end:null,event:null,exponent:G,externalResourcesRequired:null,fill:null,fillOpacity:G,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:X,g2:X,glyphName:X,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:G,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:G,horizOriginX:G,horizOriginY:G,id:null,ideographic:G,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:G,k:G,k1:G,k2:G,k3:G,k4:G,kernelMatrix:J,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:G,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:G,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:G,overlineThickness:G,paintOrder:null,panose1:null,path:null,pathLength:G,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:K,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:G,pointsAtY:G,pointsAtZ:G,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:J,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:J,rev:J,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:J,requiredFeatures:J,requiredFonts:J,requiredFormats:J,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:G,specularExponent:G,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:G,strikethroughThickness:G,string:null,stroke:null,strokeDashArray:J,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:G,strokeOpacity:G,strokeWidth:null,style:null,surfaceScale:G,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:J,tabIndex:G,tableValues:null,target:null,targetX:G,targetY:G,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:J,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:G,underlineThickness:G,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:G,values:null,vAlphabetic:G,vMathematical:G,vectorEffect:null,vHanging:G,vIdeographic:G,version:null,vertAdvY:G,vertOriginX:G,vertOriginY:G,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:G,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),pe=$([ie,ne,ae,le,ue],"html"),he=$([ie,ne,ae,le,ce],"svg");var de=r(38411);function fe(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{(0,de.YR)(t,"element",((t,r,n)=>{const i=n;let s;if(e.allowedElements?s=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(s=e.disallowedElements.includes(t.tagName)),!s&&e.allowElement&&"number"==typeof r&&(s=!e.allowElement(t,r,i)),s&&"number"==typeof r)return e.unwrapDisallowed&&t.children?i.children.splice(r,1,...t.children):i.children.splice(r,1),r}))}}var me=r(17895),ge=r(49362);const ye=/^data[-\w.:]+$/i,be=/-[a-z]/g,ve=/[A-Z]/g;function De(e){return"-"+e.toLowerCase()}function Ee(e){return e.charAt(1).toUpperCase()}const xe={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 we=r(66923);const Se=r(63977),Ce=["http","https","mailto","tel"];function Ae(e){const t=(e||"").trim(),r=t.charAt(0);if("#"===r||"/"===r)return t;const n=t.indexOf(":");if(-1===n)return t;let i=-1;for(;++i<Ce.length;){const e=Ce[i];if(n===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return i=t.indexOf("?"),-1!==i&&n>i?t:(i=t.indexOf("#"),-1!==i&&n>i?t:"javascript:void(0)")}const Te={}.hasOwnProperty,Pe=new Set(["table","thead","tbody","tfoot","tr"]);function Fe(e,t){const r=[];let n,i=-1;for(;++i<t.children.length;)n=t.children[i],"element"===n.type?r.push(Ie(e,n,i,t)):"text"===n.type?"element"===t.type&&Pe.has(t.tagName)&&(0,ge.m)(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function Ie(e,t,r,n){const s=e.options,o=void 0===s.transformLinkUri?Ae:s.transformLinkUri,a=e.schema,l=t.tagName,u={};let c,p=a;if("html"===a.space&&"svg"===l&&(p=he,e.schema=p),t.properties)for(c in t.properties)Te.call(t.properties,c)&&ke(u,c,t.properties[c],e);"ol"!==l&&"ul"!==l||e.listDepth++;const h=Fe(e,t);"ol"!==l&&"ul"!==l||e.listDepth--,e.schema=a;const d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},f=s.components&&Te.call(s.components,l)?s.components[l]:l,m="string"==typeof f||f===i.Fragment;if(!me.isValidElementType(f))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(u.key=r,"a"===l&&s.linkTarget&&(u.target="function"==typeof s.linkTarget?s.linkTarget(String(u.href||""),t.children,"string"==typeof u.title?u.title:null):s.linkTarget),"a"===l&&o&&(u.href=o(String(u.href||""),t.children,"string"==typeof u.title?u.title:null)),m||"code"!==l||"element"!==n.type||"pre"===n.tagName||(u.inline=!0),m||"h1"!==l&&"h2"!==l&&"h3"!==l&&"h4"!==l&&"h5"!==l&&"h6"!==l||(u.level=Number.parseInt(l.charAt(1),10)),"img"===l&&s.transformImageUri&&(u.src=s.transformImageUri(String(u.src||""),String(u.alt||""),"string"==typeof u.title?u.title:null)),!m&&"li"===l&&"element"===n.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const r=e.children[t];if("element"===r.type&&"input"===r.tagName)return r}return null}(t);u.checked=e&&e.properties?Boolean(e.properties.checked):null,u.index=Ne(n,t),u.ordered="ol"===n.tagName}var g;return m||"ol"!==l&&"ul"!==l||(u.ordered="ol"===l,u.depth=e.listDepth),"td"!==l&&"th"!==l||(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),m||(u.isHeader="th"===l)),m||"tr"!==l||"element"!==n.type||(u.isHeader=Boolean("thead"===n.tagName)),s.sourcePos&&(u["data-sourcepos"]=[(g=d).start.line,":",g.start.column,"-",g.end.line,":",g.end.column].map(String).join("")),!m&&s.rawSourcePos&&(u.sourcePosition=t.position),!m&&s.includeElementIndex&&(u.index=Ne(n,t),u.siblingCount=Ne(n)),m||(u.node=t),h.length>0?i.createElement(f,u,h):i.createElement(f,u)}function Ne(e,t){let r=-1,n=0;for(;++r<e.children.length&&e.children[r]!==t;)"element"===e.children[r].type&&n++;return n}function ke(e,t,r,n){const i=function(e,t){const r=U(t);let n=t,i=z;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&ye.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(be,Ee);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!be.test(e)){let r=e.replace(ve,De);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}i=Q}return new i(n,t)}(n.schema,t);let s=r;null!=s&&s==s&&(Array.isArray(s)&&(s=i.commaSeparated?(0,we.A)(s):s.join(" ").trim()),"style"===i.property&&"string"==typeof s&&(s=function(e){const t={};try{Se(e,(function(e,r){const n="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[n.replace(/-([a-z])/g,_e)]=r}))}catch{}return t}(s)),i.space&&i.property?e[Te.call(xe,i.property)?xe[i.property]:i.property]=s:i.attribute&&(e[i.attribute]=s))}function _e(e,t){return t.toUpperCase()}const Oe={}.hasOwnProperty,Me="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Le={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Be(e){for(const t in Le)if(Oe.call(Le,t)&&Oe.call(e,t)){const e=Le[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <${Me}#${e.id}> for more info)`),delete Le[t]}const t=C().use(M).use(e.remarkPlugins||[]).use(B,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(fe,e),r=new b;"string"==typeof e.children?r.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const n=t.runSync(t.parse(r),r);if("root"!==n.type)throw new TypeError("Expected a `root` node");let s=i.createElement(i.Fragment,{},Fe({options:e,schema:pe,listDepth:0},n));return e.className&&(s=i.createElement("div",{className:e.className},s)),s}Be.propTypes={children:R.string,className:R.string,allowElement:R.func,allowedElements:R.arrayOf(R.string),disallowedElements:R.arrayOf(R.string),unwrapDisallowed:R.bool,remarkPlugins:R.arrayOf(R.oneOfType([R.object,R.func,R.arrayOf(R.oneOfType([R.bool,R.string,R.object,R.func,R.arrayOf(R.any)]))])),rehypePlugins:R.arrayOf(R.oneOfType([R.object,R.func,R.arrayOf(R.oneOfType([R.bool,R.string,R.object,R.func,R.arrayOf(R.any)]))])),sourcePos:R.bool,rawSourcePos:R.bool,skipHtml:R.bool,includeElementIndex:R.bool,transformLinkUri:R.oneOfType([R.func,R.bool]),linkTarget:R.oneOfType([R.func,R.string]),transformImageUri:R.func,components:R.object}},41381:(e,t,r)=>{r.d(t,{hL:()=>c,k0:()=>p});var n=r(70161),i=r(80997),s=r.n(i),o=r(96652),a=r.n(o),l=(0,o.createContext)({}),u=l.Consumer,c=l.Provider,p=function(e){var t=function(t,r){return a().createElement(u,null,(function(i){return a().createElement(e,(0,n.A)({},t,{leaflet:i,ref:r}))}))},r=e.displayName||e.name||"Component";t.displayName="Leaflet("+r+")";var i=(0,o.forwardRef)(t);return s()(i,e),i}},41472:(e,t,r)=>{const{ObjectSetPrototypeOf:n}=r(12450);e.exports=s;const i=r(84450);function s(e){if(!(this instanceof s))return new s(e);i.call(this,e)}n(s.prototype,i.prototype),n(s,i),s.prototype._transform=function(e,t,r){r(null,e)}},42229:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=r(76843),o=r(7341),a=(t=e.exports={}).re=[],l=t.safeRe=[],u=t.src=[],c=t.safeSrc=[],p=t.t={};let h=0;const d="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",s],[d,i]],m=(e,t,r)=>{const n=(e=>{for(const[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),i=h++;o(e,i,t),p[e]=i,u[i]=t,c[i]=n,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})\\.(${u[p.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})\\.(${u[p.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[p.NONNUMERICIDENTIFIER]}|${u[p.NUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[p.NONNUMERICIDENTIFIER]}|${u[p.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASE",`(?:-(${u[p.PRERELEASEIDENTIFIER]}(?:\\.${u[p.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[p.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[p.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${u[p.BUILDIDENTIFIER]}(?:\\.${u[p.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[p.MAINVERSION]}${u[p.PRERELEASE]}?${u[p.BUILD]}?`),m("FULL",`^${u[p.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[p.MAINVERSIONLOOSE]}${u[p.PRERELEASELOOSE]}?${u[p.BUILD]}?`),m("LOOSE",`^${u[p.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[p.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[p.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:\\.(${u[p.XRANGEIDENTIFIER]})(?:${u[p.PRERELEASE]})?${u[p.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[p.XRANGEIDENTIFIERLOOSE]})(?:${u[p.PRERELEASELOOSE]})?${u[p.BUILD]}?)?)?`),m("XRANGE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[p.GTLT]}\\s*${u[p.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${u[p.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[p.COERCEPLAIN]+`(?:${u[p.PRERELEASE]})?`+`(?:${u[p.BUILD]})?(?:$|[^\\d])`),m("COERCERTL",u[p.COERCE],!0),m("COERCERTLFULL",u[p.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[p.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[p.LONETILDE]}${u[p.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[p.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[p.LONECARET]}${u[p.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[p.LONECARET]}${u[p.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[p.GTLT]}\\s*(${u[p.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[p.GTLT]}\\s*(${u[p.LOOSEPLAIN]}|${u[p.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[p.XRANGEPLAIN]})\\s+-\\s+(${u[p.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[p.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[p.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},42882:(e,t,r)=>{const n=r(98999),{AbortError:i,codes:s}=r(26503),{ERR_INVALID_ARG_TYPE:o,ERR_STREAM_PREMATURE_CLOSE:a}=s,{kEmptyObject:l,once:u}=r(46108),{validateAbortSignal:c,validateFunction:p,validateObject:h,validateBoolean:d}=r(79337),{Promise:f,PromisePrototypeThen:m,SymbolDispose:g}=r(12450),{isClosed:y,isReadable:b,isReadableNodeStream:v,isReadableStream:D,isReadableFinished:E,isReadableErrored:x,isWritable:w,isWritableNodeStream:S,isWritableStream:C,isWritableFinished:A,isWritableErrored:T,isNodeStream:P,willEmitClose:F,kIsClosedPromise:I}=r(97967);let N;const k=()=>{};function _(e,t,s){var d,f;if(2===arguments.length?(s=t,t=l):null==t?t=l:h(t,"options"),p(s,"callback"),c(t.signal,"options.signal"),s=u(s),D(e)||C(e))return function(e,t,s){let o=!1,a=k;if(t.signal)if(a=()=>{o=!0,s.call(e,new i(void 0,{cause:t.signal.reason}))},t.signal.aborted)n.nextTick(a);else{N=N||r(46108).addAbortListener;const n=N(t.signal,a),i=s;s=u(((...t)=>{n[g](),i.apply(e,t)}))}const l=(...t)=>{o||n.nextTick((()=>s.apply(e,t)))};return m(e[I].promise,l,l),k}(e,t,s);if(!P(e))throw new o("stream",["ReadableStream","WritableStream","Stream"],e);const _=null!==(d=t.readable)&&void 0!==d?d:v(e),O=null!==(f=t.writable)&&void 0!==f?f:S(e),M=e._writableState,L=e._readableState,B=()=>{e.writable||$()};let R=F(e)&&v(e)===_&&S(e)===O,j=A(e,!1);const $=()=>{j=!0,e.destroyed&&(R=!1),(!R||e.readable&&!_)&&(_&&!U||s.call(e))};let U=E(e,!1);const z=()=>{U=!0,e.destroyed&&(R=!1),(!R||e.writable&&!O)&&(O&&!j||s.call(e))},V=t=>{s.call(e,t)};let W=y(e);const H=()=>{W=!0;const t=T(e)||x(e);return t&&"boolean"!=typeof t?s.call(e,t):_&&!U&&v(e,!0)&&!E(e,!1)?s.call(e,new a):!O||j||A(e,!1)?void s.call(e):s.call(e,new a)},q=()=>{W=!0;const t=T(e)||x(e);if(t&&"boolean"!=typeof t)return s.call(e,t);s.call(e)},G=()=>{e.req.on("finish",$)};!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?O&&!M&&(e.on("end",B),e.on("close",B)):(e.on("complete",$),R||e.on("abort",H),e.req?G():e.on("request",G)),R||"boolean"!=typeof e.aborted||e.on("aborted",H),e.on("end",z),e.on("finish",$),!1!==t.error&&e.on("error",V),e.on("close",H),W?n.nextTick(H):null!=M&&M.errorEmitted||null!=L&&L.errorEmitted?R||n.nextTick(q):(_||R&&!b(e)||!j&&!1!==w(e))&&(O||R&&!w(e)||!U&&!1!==b(e))?L&&e.req&&e.aborted&&n.nextTick(q):n.nextTick(q);const K=()=>{s=k,e.removeListener("aborted",H),e.removeListener("complete",$),e.removeListener("abort",H),e.removeListener("request",G),e.req&&e.req.removeListener("finish",$),e.removeListener("end",B),e.removeListener("close",B),e.removeListener("finish",$),e.removeListener("end",z),e.removeListener("error",V),e.removeListener("close",H)};if(t.signal&&!W){const o=()=>{const r=s;K(),r.call(e,new i(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)n.nextTick(o);else{N=N||r(46108).addAbortListener;const n=N(t.signal,o),i=s;s=u(((...t)=>{n[g](),i.apply(e,t)}))}}return K}e.exports=_,e.exports.finished=function(e,t){var r;let n=!1;return null===t&&(t=l),null!==(r=t)&&void 0!==r&&r.cleanup&&(d(t.cleanup,"cleanup"),n=t.cleanup),new f(((r,i)=>{const s=_(e,t,(e=>{n&&s(),e?i(e):r()}))}))}},43596:e=>{e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},44411:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)<=0},44466:e=>{var t,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,o={};((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(o,{SYMBOL_FOR_REQ_CONTEXT:()=>a,getContext:()=>l}),e.exports=(t=o,((e,t,o,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of i(t))s.call(e,o)||undefined===o||r(e,o,{get:()=>t[o],enumerable:!(a=n(t,o))||a.enumerable});return e})(r({},"__esModule",{value:!0}),t));const a=Symbol.for("@vercel/request-context");function l(){const e=globalThis;return e[a]?.get?.()??{}}},44707:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(14788),i=r(96196),s=r(6022),o=r(31500),a=r(96652),l=r.n(a),u=r(41381),c=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,o.A)((0,i.A)(r),"contextValue",void 0),(0,o.A)((0,i.A)(r),"leafletElement",void 0),r.leafletElement=r.createLeafletElement(t),r}(0,s.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},r.updateLeafletElement=function(e,t){},r.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.layerContainer.addLayer(this.leafletElement)},r.componentDidUpdate=function(t){if(e.prototype.componentDidUpdate.call(this,t),this.props.attribution!==t.attribution){var r=this.props.leaflet.map;null!=r&&null!=r.attributionControl&&(r.attributionControl.removeAttribution(t.attribution),r.attributionControl.addAttribution(this.props.attribution))}this.updateLeafletElement(t,this.props)},r.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.layerContainer.removeLayer(this.leafletElement)},r.render=function(){var e=this.props.children;return null==e?null:null==this.contextValue?l().createElement(a.Fragment,null,e):l().createElement(u.hL,{value:this.contextValue},e)},(0,n.A)(t,[{key:"layerContainer",get:function(){return this.props.leaflet.layerContainer||this.props.leaflet.map}}]),t}(r(34385).A)},44949:(e,t,r)=>{e.exports=r(97199)},45579:(e,t,r)=>{const n=r(49002);e.exports=(e,t,r)=>n(e,t,"<",r)},46019:(e,t,r)=>{const n=r(92248),i=r(37553),{ANY:s}=i,o=r(27681),a=r(2943),l=[new i(">=0.0.0-0")],u=[new i(">=0.0.0")],c=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===s){if(1===t.length&&t[0].semver===s)return!0;e=r.includePrerelease?l:u}if(1===t.length&&t[0].semver===s){if(r.includePrerelease)return!0;t=u}const n=new Set;let i,c,d,f,m,g,y;for(const t of e)">"===t.operator||">="===t.operator?i=p(i,t,r):"<"===t.operator||"<="===t.operator?c=h(c,t,r):n.add(t.semver);if(n.size>1)return null;if(i&&c){if(d=a(i.semver,c.semver,r),d>0)return null;if(0===d&&(">="!==i.operator||"<="!==c.operator))return null}for(const e of n){if(i&&!o(e,String(i),r))return null;if(c&&!o(e,String(c),r))return null;for(const n of t)if(!o(e,String(n),r))return!1;return!0}let b=!(!c||r.includePrerelease||!c.semver.prerelease.length)&&c.semver,v=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver;b&&1===b.prerelease.length&&"<"===c.operator&&0===b.prerelease[0]&&(b=!1);for(const e of t){if(y=y||">"===e.operator||">="===e.operator,g=g||"<"===e.operator||"<="===e.operator,i)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),">"===e.operator||">="===e.operator){if(f=p(i,e,r),f===e&&f!==i)return!1}else if(">="===i.operator&&!o(i.semver,String(e),r))return!1;if(c)if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),"<"===e.operator||"<="===e.operator){if(m=h(c,e,r),m===e&&m!==c)return!1}else if("<="===c.operator&&!o(c.semver,String(e),r))return!1;if(!e.operator&&(c||i)&&0!==d)return!1}return!(i&&g&&!c&&0!==d||c&&y&&!i&&0!==d||v||b)},p=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},h=(e,t,r)=>{if(!e)return t;const n=a(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;e:for(const n of e.set){for(const e of t.set){const t=c(n,e,r);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},46108:(e,t,r)=>{const n=r(67787),{kResistStopPropagation:i,SymbolDispose:s}=r(12450),o=globalThis.AbortSignal||r(64279).AbortSignal,a=globalThis.AbortController||r(64279).AbortController,l=Object.getPrototypeOf((async function(){})).constructor,u=globalThis.Blob||n.Blob,c=void 0!==u?function(e){return e instanceof u}:function(e){return!1},p=(e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new ERR_INVALID_ARG_TYPE(t,"AbortSignal",e)};class h extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=` ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}}e.exports={AggregateError:h,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise(((r,n)=>{e=r,t=n})),resolve:e,reject:t}},promisify:e=>new Promise(((t,r)=>{e(((e,...n)=>e?r(e):t(...n)))})),debuglog:()=>function(){},format:(e,...t)=>e.replace(/%([sdifj])/g,(function(...[e,r]){const n=t.shift();return"f"===r?n.toFixed(6):"j"===r?JSON.stringify(n):"s"===r&&"object"==typeof n?`${n.constructor!==Object?n.constructor.name:""} {}`.trim():n.toString()})),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:e=>e instanceof l,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:c,deprecate:(e,t)=>e,addAbortListener:r(8763).addAbortListener||function(e,t){if(void 0===e)throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",e);let r;return p(e,"signal"),(e=>{if("function"!=typeof e)throw new ERR_INVALID_ARG_TYPE("listener","Function",e)})(t),e.aborted?queueMicrotask((()=>t())):(e.addEventListener("abort",t,{__proto__:null,once:!0,[i]:!0}),r=()=>{e.removeEventListener("abort",t)}),{__proto__:null,[s](){var e;null===(e=r)||void 0===e||e()}}},AbortSignalAny:o.any||function(e){if(1===e.length)return e[0];const t=new a,r=()=>t.abort();return e.forEach((e=>{p(e,"signals"),e.addEventListener("abort",r,{once:!0})})),t.signal.addEventListener("abort",(()=>{e.forEach((e=>e.removeEventListener("abort",r)))}),{once:!0}),t.signal}},e.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},46796:e=>{e.exports={}},46849:(e,t,r)=>{var n=r(13496);n.connect=r(54447),n.connectFilter=r(34165),n.ListenerMixin=r(36180),n.listenTo=r(23939),n.listenToMany=r(54856),e.exports=n},47439:(e,t,r)=>{var n=r(25003),i=r(38049),s=r(79696).Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160);function l(){this.init(),this._w=a,i.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function p(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function d(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0<t>>>0?1:0}n(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,s=0|this._dh,a=0|this._eh,l=0|this._fh,b=0|this._gh,v=0|this._hh,D=0|this._al,E=0|this._bl,x=0|this._cl,w=0|this._dl,S=0|this._el,C=0|this._fl,A=0|this._gl,T=0|this._hl,P=0;P<32;P+=2)t[P]=e.readInt32BE(4*P),t[P+1]=e.readInt32BE(4*P+4);for(;P<160;P+=2){var F=t[P-30],I=t[P-30+1],N=d(F,I),k=f(I,F),_=m(F=t[P-4],I=t[P-4+1]),O=g(I,F),M=t[P-14],L=t[P-14+1],B=t[P-32],R=t[P-32+1],j=k+L|0,$=N+M+y(j,k)|0;$=($=$+_+y(j=j+O|0,O)|0)+B+y(j=j+R|0,R)|0,t[P]=$,t[P+1]=j}for(var U=0;U<160;U+=2){$=t[U],j=t[U+1];var z=c(r,n,i),V=c(D,E,x),W=p(r,D),H=p(D,r),q=h(a,S),G=h(S,a),K=o[U],X=o[U+1],J=u(a,l,b),Y=u(S,C,A),Z=T+G|0,Q=v+q+y(Z,T)|0;Q=(Q=(Q=Q+J+y(Z=Z+Y|0,Y)|0)+K+y(Z=Z+X|0,X)|0)+$+y(Z=Z+j|0,j)|0;var ee=H+V|0,te=W+z+y(ee,H)|0;v=b,T=A,b=l,A=C,l=a,C=S,a=s+Q+y(S=w+Z|0,w)|0,s=i,w=x,i=n,x=E,n=r,E=D,r=Q+te+y(D=Z+ee|0,Z)|0}this._al=this._al+D|0,this._bl=this._bl+E|0,this._cl=this._cl+x|0,this._dl=this._dl+w|0,this._el=this._el+S|0,this._fl=this._fl+C|0,this._gl=this._gl+A|0,this._hl=this._hl+T|0,this._ah=this._ah+r+y(this._al,D)|0,this._bh=this._bh+n+y(this._bl,E)|0,this._ch=this._ch+i+y(this._cl,x)|0,this._dh=this._dh+s+y(this._dl,w)|0,this._eh=this._eh+a+y(this._el,S)|0,this._fh=this._fh+l+y(this._fl,C)|0,this._gh=this._gh+b+y(this._gl,A)|0,this._hh=this._hh+v+y(this._hl,T)|0},l.prototype._hash=function(){var e=s.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},49002:(e,t,r)=>{const n=r(66089),i=r(37553),{ANY:s}=i,o=r(92248),a=r(27681),l=r(37109),u=r(68434),c=r(44411),p=r(67526);e.exports=(e,t,r,h)=>{let d,f,m,g,y;switch(e=new n(e,h),t=new o(t,h),r){case">":d=l,f=c,m=u,g=">",y=">=";break;case"<":d=u,f=p,m=l,g="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,h))return!1;for(let r=0;r<t.set.length;++r){const n=t.set[r];let o=null,a=null;if(n.forEach((e=>{e.semver===s&&(e=new i(">=0.0.0")),o=o||e,a=a||e,d(e.semver,o.semver,h)?o=e:m(e.semver,a.semver,h)&&(a=e)})),o.operator===g||o.operator===y)return!1;if((!a.operator||a.operator===g)&&f(e,a.semver))return!1;if(a.operator===y&&m(e,a.semver))return!1}return!0}},49098:(e,t,r)=>{var n,i,s,o,a,l,u,c,p,h,d,f,m,g,y,b,v,D,E,x,w,S,C,A,T,P,F,I,N,k,_,O,M,L,B,R,j,$,U,z,V,W,H,q,G,K,X,J,Y,Z,Q,ee,te,re,ne,ie,se,oe,ae,le,ue,ce,pe,he,de,fe,me,ge,ye,be,ve,De,Ee,xe,we,Se,Ce,Ae,Te,Pe,Fe,Ie,Ne,ke,_e,Oe,Me,Le,Be,Re,je,$e,Ue,ze,Ve;e.exports=(a=(o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports))(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),l=o(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),u=o(((e,t)=>{var r=l();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),c=o(((e,t)=>{var r=l();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),p=o(((e,t)=>{var r=c(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),h=o((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),d=o(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),f=o(((e,t)=>{var r=c(),n=Function.prototype,i=n.call,s=r&&n.bind.bind(i,i);t.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}})),m=o(((e,t)=>{var r=f(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),g=o(((e,t)=>{var r=f(),n=l(),i=m(),s=Object,o=r("".split);t.exports=n((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o(e,""):s(e)}:s})),y=o(((e,t)=>{t.exports=function(e){return null==e}})),b=o(((e,t)=>{var r=y(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),v=o(((e,t)=>{var r=g(),n=b();t.exports=function(e){return r(n(e))}})),D=o(((e,t)=>{var r="object"==typeof document&&document.all,n=typeof r>"u"&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),E=o(((e,t)=>{var r=D(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),x=o(((e,t)=>{var r=E(),n=D(),i=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}})),w=o(((e,t)=>{var r=a(),n=E();t.exports=function(e,t){return arguments.length<2?function(e){return n(e)?e:void 0}(r[e]):r[e]&&r[e][t]}})),S=o(((e,t)=>{var r=f();t.exports=r({}.isPrototypeOf)})),C=o(((e,t)=>{var r=w();t.exports=r("navigator","userAgent")||""})),A=o(((e,t)=>{var r,n,i=a(),s=C(),o=i.process,l=i.Deno,u=o&&o.versions||l&&l.version,c=u&&u.v8;c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),T=o(((e,t)=>{var r=A(),n=l();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),P=o(((e,t)=>{var r=T();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),F=o(((e,t)=>{var r=w(),n=E(),i=S(),s=P(),o=Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,o(e))}})),I=o(((e,t)=>{var r=String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),N=o(((e,t)=>{var r=E(),n=I(),i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not a function")}})),k=o(((e,t)=>{var r=N(),n=y();t.exports=function(e,t){var i=e[t];return n(i)?void 0:r(i)}})),_=o(((e,t)=>{var r=p(),n=E(),i=x(),s=TypeError;t.exports=function(e,t){var o,a;if("string"===t&&n(o=e.toString)&&!i(a=r(o,e))||n(o=e.valueOf)&&!i(a=r(o,e))||"string"!==t&&n(o=e.toString)&&!i(a=r(o,e)))return a;throw s("Can't convert object to primitive value")}})),O=o(((e,t)=>{t.exports=!1})),M=o(((e,t)=>{var r=a(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),L=o(((e,t)=>{var r=a(),n=M(),i="__core-js_shared__",s=r[i]||n(i,{});t.exports=s})),B=o(((e,t)=>{var r=O(),n=L();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),R=o(((e,t)=>{var r=b(),n=Object;t.exports=function(e){return n(r(e))}})),j=o(((e,t)=>{var r=f(),n=R(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),$=o(((e,t)=>{var r=f(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),U=o(((e,t)=>{var r=a(),n=B(),i=j(),s=$(),o=T(),l=P(),u=n("wks"),c=r.Symbol,p=c&&c.for,h=l?c:c&&c.withoutSetter||s;t.exports=function(e){if(!i(u,e)||!o&&"string"!=typeof u[e]){var t="Symbol."+e;o&&i(c,e)?u[e]=c[e]:u[e]=l&&p?p(t):h(t)}return u[e]}})),z=o(((e,t)=>{var r=p(),n=x(),i=F(),s=k(),o=_(),a=U(),l=TypeError,u=a("toPrimitive");t.exports=function(e,t){if(!n(e)||i(e))return e;var a,c=s(e,u);if(c){if(void 0===t&&(t="default"),a=r(c,e,t),!n(a)||i(a))return a;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),V=o(((e,t)=>{var r=z(),n=F();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),W=o(((e,t)=>{var r=a(),n=x(),i=r.document,s=n(i)&&n(i.createElement);t.exports=function(e){return s?i.createElement(e):{}}})),H=o(((e,t)=>{var r=u(),n=l(),i=W();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),q=o((e=>{var t=u(),r=p(),n=h(),i=d(),s=v(),o=V(),a=j(),l=H(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=s(e),t=o(t),l)try{return c(e,t)}catch{}if(a(e,t))return i(!r(n.f,e,t),e[t])}})),G=o(((e,t)=>{var r=u(),n=l();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),K=o(((e,t)=>{var r=x(),n=String,i=TypeError;t.exports=function(e){if(r(e))return e;throw i(n(e)+" is not an object")}})),X=o((e=>{var t=u(),r=H(),n=G(),i=K(),s=V(),o=TypeError,a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",h="writable";e.f=t?n?function(e,t,r){if(i(e),t=s(t),i(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:c in r?r[c]:n[c],writable:!1})}return a(e,t,r)}:a:function(e,t,n){if(i(e),t=s(t),i(n),r)try{return a(e,t,n)}catch{}if("get"in n||"set"in n)throw o("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),J=o(((e,t)=>{var r=u(),n=X(),i=d();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),Y=o(((e,t)=>{var r=u(),n=j(),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,o=n(i,"name"),a=o&&"something"===function(){}.name,l=o&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:o,PROPER:a,CONFIGURABLE:l}})),Z=o(((e,t)=>{var r=f(),n=E(),i=L(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),Q=o(((e,t)=>{var r=a(),n=E(),i=r.WeakMap;t.exports=n(i)&&/native code/.test(String(i))})),ee=o(((e,t)=>{var r=B(),n=$(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),te=o(((e,t)=>{t.exports={}})),re=o(((e,t)=>{var r,n,i,s,o,l=Q(),u=a(),c=x(),p=J(),h=j(),d=L(),f=ee(),m=te(),g="Object already initialized",y=u.TypeError,b=u.WeakMap;l||d.state?((s=d.state||(d.state=new b)).get=s.get,s.has=s.has,s.set=s.set,r=function(e,t){if(s.has(e))throw y(g);return t.facade=e,s.set(e,t),t},n=function(e){return s.get(e)||{}},i=function(e){return s.has(e)}):(m[o=f("state")]=!0,r=function(e,t){if(h(e,o))throw y(g);return t.facade=e,p(e,o,t),t},n=function(e){return h(e,o)?e[o]:{}},i=function(e){return h(e,o)}),t.exports={set:r,get:n,has:i,enforce:function(e){return i(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return r}}}})),ne=o(((e,t)=>{var r=l(),n=E(),i=j(),s=u(),o=Y().CONFIGURABLE,a=Z(),c=re(),p=c.enforce,h=c.get,d=Object.defineProperty,f=s&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),g=t.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!i(e,"name")||o&&e.name!==t)&&(s?d(e,"name",{value:t,configurable:!0}):e.name=t),f&&r&&i(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?s&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=p(e);return i(n,"source")||(n.source=m.join("string"==typeof t?t:"")),e};Function.prototype.toString=g((function(){return n(this)&&h(this).source||a(this)}),"toString")})),ie=o(((e,t)=>{var r=E(),n=X(),i=ne(),s=M();t.exports=function(e,t,o,a){a||(a={});var l=a.enumerable,u=void 0!==a.name?a.name:t;if(r(o)&&i(o,u,a),a.global)l?e[t]=o:s(t,o);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch{}l?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}})),se=o(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),oe=o(((e,t)=>{var r=se();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}})),ae=o(((e,t)=>{var r=oe(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),le=o(((e,t)=>{var r=oe(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ue=o(((e,t)=>{var r=le();t.exports=function(e){return r(e.length)}})),ce=o(((e,t)=>{var r=v(),n=ae(),i=ue(),s=function(e){return function(t,s,o){var a,l=r(t),u=i(l),c=n(o,u);if(e&&s!=s){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),pe=o(((e,t)=>{var r=f(),n=j(),i=v(),s=ce().indexOf,o=te(),a=r([].push);t.exports=function(e,t){var r,l=i(e),u=0,c=[];for(r in l)!n(o,r)&&n(l,r)&&a(c,r);for(;t.length>u;)n(l,r=t[u++])&&(~s(c,r)||a(c,r));return c}})),he=o(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),de=o((e=>{var t=pe(),r=he().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),fe=o((e=>{e.f=Object.getOwnPropertySymbols})),me=o(((e,t)=>{var r=w(),n=f(),i=de(),s=fe(),o=K(),a=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(o(e)),r=s.f;return r?a(t,r(e)):t}})),ge=o(((e,t)=>{var r=j(),n=me(),i=q(),s=X();t.exports=function(e,t,o){for(var a=n(t),l=s.f,u=i.f,c=0;c<a.length;c++){var p=a[c];!r(e,p)&&(!o||!r(o,p))&&l(e,p,u(t,p))}}})),ye=o(((e,t)=>{var r=l(),n=E(),i=/#|\.prototype\./,s=function(e,t){var i=a[o(e)];return i==c||i!=u&&(n(t)?r(t):!!t)},o=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},a=s.data={},u=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s})),be=o(((e,t)=>{var r=a(),n=q().f,i=J(),s=ie(),o=M(),l=ge(),u=ye();t.exports=function(e,t){var a,c,p,h,d,f=e.target,m=e.global,g=e.stat;if(a=m?r:g?r[f]||o(f,{}):(r[f]||{}).prototype)for(c in t){if(h=t[c],p=e.dontCallGetSet?(d=n(a,c))&&d.value:a[c],!u(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;l(h,p)}(e.sham||p&&p.sham)&&i(h,"sham",!0),s(a,c,h,e)}}})),ve=o(((e,t)=>{var r=m();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),De=o(((e,t)=>{var r=TypeError;t.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}})),Ee=o(((e,t)=>{var r=m(),n=f();t.exports=function(e){if("Function"===r(e))return n(e)}})),xe=o(((e,t)=>{var r=Ee(),n=N(),i=c(),s=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}})),we=o(((e,t)=>{var r=ve(),n=ue(),i=De(),s=xe(),o=function(e,t,a,l,u,c,p,h){for(var d,f,m=u,g=0,y=!!p&&s(p,h);g<l;)g in a&&(d=y?y(a[g],g,t):a[g],c>0&&r(d)?(f=n(d),m=o(e,t,d,f,m,c-1)-1):(i(m+1),e[m]=d),m++),g++;return m};t.exports=o})),Se=o(((e,t)=>{var r={};r[U()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Ce=o(((e,t)=>{var r=Se(),n=E(),i=m(),s=U()("toStringTag"),o=Object,a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(e){var t,r,l;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch{}}(t=o(e),s))?r:a?i(t):"Object"==(l=i(t))&&n(t.callee)?"Arguments":l}})),Ae=o(((e,t)=>{var r=f(),n=l(),i=E(),s=Ce(),o=w(),a=Z(),u=function(){},c=[],p=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=r(h.exec),m=!h.exec(u),g=function(e){if(!i(e))return!1;try{return p(u,c,e),!0}catch{return!1}},y=function(e){if(!i(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(h,a(e))}catch{return!0}};y.sham=!0,t.exports=!p||n((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?y:g})),Te=o(((e,t)=>{var r=ve(),n=Ae(),i=x(),s=U()("species"),o=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(n(t)&&(t===o||r(t.prototype))||i(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?o:t}})),Pe=o(((e,t)=>{var r=Te();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),Fe=o((()=>{var e=be(),t=we(),r=N(),n=R(),i=ue(),s=Pe();e({target:"Array",proto:!0},{flatMap:function(e){var o,a=n(this),l=i(a);return r(e),(o=s(a,0)).length=t(o,a,a,l,0,1,e,arguments.length>1?arguments[1]:void 0),o}})})),Ie=o(((e,t)=>{t.exports={}})),Ne=o(((e,t)=>{var r=U(),n=Ie(),i=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}})),ke=o(((e,t)=>{var r=Ce(),n=k(),i=y(),s=Ie(),o=U()("iterator");t.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[r(e)]}})),_e=o(((e,t)=>{var r=p(),n=N(),i=K(),s=I(),o=ke(),a=TypeError;t.exports=function(e,t){var l=arguments.length<2?o(e):t;if(n(l))return i(r(l,e));throw a(s(e)+" is not iterable")}})),Oe=o(((e,t)=>{var r=p(),n=K(),i=k();t.exports=function(e,t,s){var o,a;n(e);try{if(!(o=i(e,"return"))){if("throw"===t)throw s;return s}o=r(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw s;if(a)throw o;return n(o),s}})),Me=o(((e,t)=>{var r=xe(),n=p(),i=K(),s=I(),o=Ne(),a=ue(),l=S(),u=_e(),c=ke(),h=Oe(),d=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;t.exports=function(e,t,p){var g,y,b,v,D,E,x,w=p&&p.that,S=!(!p||!p.AS_ENTRIES),C=!(!p||!p.IS_RECORD),A=!(!p||!p.IS_ITERATOR),T=!(!p||!p.INTERRUPTED),P=r(t,w),F=function(e){return g&&h(g,"normal",e),new f(!0,e)},I=function(e){return S?(i(e),T?P(e[0],e[1],F):P(e[0],e[1])):T?P(e,F):P(e)};if(C)g=e.iterator;else if(A)g=e;else{if(!(y=c(e)))throw d(s(e)+" is not iterable");if(o(y)){for(b=0,v=a(e);v>b;b++)if((D=I(e[b]))&&l(m,D))return D;return new f(!1)}g=u(e,y)}for(E=C?e.next:g.next;!(x=n(E,g)).done;){try{D=I(x.value)}catch(e){h(g,"throw",e)}if("object"==typeof D&&D&&l(m,D))return D}return new f(!1)}})),Le=o(((e,t)=>{var r=V(),n=X(),i=d();t.exports=function(e,t,s){var o=r(t);o in e?n.f(e,o,i(0,s)):e[o]=s}})),Be=o((()=>{var e=be(),t=Me(),r=Le();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),Re=o(((e,t)=>{var r=ne(),n=X();t.exports=function(e,t,i){return i.get&&r(i.get,t,{getter:!0}),i.set&&r(i.set,t,{setter:!0}),n.f(e,t,i)}})),je=o(((e,t)=>{var r=K();t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}})),$e=o((()=>{var e=a(),t=u(),r=Re(),n=je(),i=l(),s=e.RegExp,o=s.prototype;t&&i((function(){var e=!0;try{s(".","d")}catch{e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var l in e&&(a.hasIndices="d"),a)i(l,a[l]);return Object.getOwnPropertyDescriptor(o,"flags").get.call(t)!==n||r!==n}))&&r(o,"flags",{configurable:!0,get:n})})),Ue=o((()=>{var e=be(),t=a();e({global:!0,forced:t.globalThis!==t},{globalThis:t})})),ze=o((()=>{Ue()})),Ve=o((()=>{var e=be(),t=we(),r=R(),n=ue(),i=oe(),s=Pe();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,o=r(this),a=n(o),l=s(o,0);return l.length=t(l,o,o,a,0,void 0===e?1:i(e)),l}})})),o(((r,o)=>{var a=["cliName","cliCategory","cliDescription"],l=["_"],u=["languageId"];function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}Fe(),Be(),$e(),ze(),Ve();var p,h=Object.create,d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,g=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,b=(e,t)=>function(){return e&&(t=(0,e[m(e)[0]])(e=0)),t},v=(e,t)=>function(){return t||(0,e[m(e)[0]])((t={exports:{}}).exports,t),t.exports},D=(e,t)=>{for(var r in t)d(e,r,{get:t[r],enumerable:!0})},E=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of m(t))!y.call(e,i)&&i!==r&&d(e,i,{get:()=>t[i],enumerable:!(n=f(t,i))||n.enumerable});return e},x=e=>E(d({},"__esModule",{value:!0}),e),w=b({"<define:process>"(){p={env:{},argv:[]}}}),S=v({"package.json"(e,t){t.exports={version:"2.8.8"}}}),C=v({"node_modules/diff/lib/diff/base.js"(e){function t(){}function r(e,t,r,n,i){for(var s=0,o=t.length,a=0,l=0;s<o;s++){var u=t[s];if(u.removed){if(u.value=e.join(n.slice(l,l+u.count)),l+=u.count,s&&t[s-1].added){var c=t[s-1];t[s-1]=t[s],t[s]=c}}else{if(!u.added&&i){var p=r.slice(a,a+u.count);p=p.map((function(e,t){var r=n[l+t];return r.length>e.length?r:e})),u.value=e.join(p)}else u.value=e.join(r.slice(a,a+u.count));a+=u.count,u.added||(l+=u.count)}}var h=t[o-1];return o>1&&"string"==typeof h.value&&(h.added||h.removed)&&e.equals("",h.value)&&(t[o-2].value+=h.value,t.pop()),t}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var s=this;function o(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,u=1,c=a+l,p=[{newPos:-1,components:[]}],h=this.extractCommon(p[0],t,e,0);if(p[0].newPos+1>=a&&h+1>=l)return o([{value:this.join(t),count:t.length}]);function d(){for(var n=-1*u;n<=u;n+=2){var i=void 0,c=p[n-1],h=p[n+1],d=(h?h.newPos:0)-n;c&&(p[n-1]=void 0);var f=c&&c.newPos+1<a,m=h&&0<=d&&d<l;if(f||m){if(!f||m&&c.newPos<h.newPos?(i={newPos:(g=h).newPos,components:g.components.slice(0)},s.pushComponent(i.components,void 0,!0)):((i=c).newPos++,s.pushComponent(i.components,!0,void 0)),d=s.extractCommon(i,t,e,n),i.newPos+1>=a&&d+1>=l)return o(r(s,i.components,t,e,s.useLongestToken));p[n]=i}else p[n]=void 0}var g;u++}if(i)!function e(){setTimeout((function(){if(u>c)return i();d()||e()}),0)}();else for(;u<=c;){var f=d();if(f)return f}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,s=r.length,o=e.newPos,a=o-n,l=0;o+1<i&&a+1<s&&this.equals(t[o+1],r[a+1]);)o++,a++,l++;return l&&e.components.push({count:l}),e.newPos=o,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}}}),A=v({"node_modules/diff/lib/diff/array.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=function(e,t,n){return r.diff(e,t,n)},e.arrayDiff=void 0;var t,r=new((t=C(),t&&t.__esModule?t:{default:t}).default);e.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}}}),T=v({"src/document/doc-builders.js"(e,t){function r(e){return{type:"concat",parts:e}}function n(e){return{type:"indent",contents:e}}function i(e,t){return{type:"align",contents:t,n:e}}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}w();var o={type:"break-parent"},a={type:"line",hard:!0},l={type:"line",hard:!0,literal:!0},u=r([a,o]),c=r([l,o]),p={type:"cursor",placeholder:Symbol("cursor")};t.exports={concat:r,join:function(e,t){let n=[];for(let r=0;r<t.length;r++)0!==r&&n.push(e),n.push(t[r]);return r(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:u,literalline:c,group:s,conditionalGroup:function(e,t){return s(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:p,breakParent:o,ifBreak:function(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}},trim:{type:"trim"},indent:n,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:i,addAlignmentToDoc:function(e,t,r){let s=e;if(t>0){for(let e=0;e<Math.floor(t/r);++e)s=n(s);s=i(t%r,s),s=i(Number.NEGATIVE_INFINITY,s)}return s},markAsRoot:function(e){return i({type:"root"},e)},dedentToRoot:function(e){return i(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return i(-1,e)},hardlineWithoutBreakParent:a,literallineWithoutBreakParent:l,label:function(e,t){return{type:"label",label:e,contents:t}}}}}),P=v({"src/common/end-of-line.js"(e,t){w(),t.exports={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}}}}),F=v({"src/utils/get-last.js"(e,t){w();t.exports=e=>e[e.length-1]}});var I=b({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){w()}});function N(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}(),"")}var k=b({"node_modules/strip-ansi/index.js"(){w(),I()}});function _(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var O=b({"node_modules/is-fullwidth-code-point/index.js"(){w()}}),M=v({"node_modules/emoji-regex/index.js"(e,t){w(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),L={};function B(e){if("string"!=typeof e||0===e.length||0===(e=N(e)).length)return 0;e=e.replace((0,R.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=_(n)?2:1)}return t}D(L,{default:()=>B});var R,j=b({"node_modules/string-width/index.js"(){var e,t,r;w(),k(),O(),e=M(),r=null!=e?h(g(e)):{},R=E(!t&&e&&e.__esModule?r:d(r,"default",{value:e,enumerable:!0}),e)}}),$=v({"src/utils/get-string-width.js"(e,t){w();var r=(j(),x(L)).default,n=/[^\x20-\x7F]/;t.exports=function(e){return e?n.test(e)?r(e):e.length:0}}}),U=v({"src/document/doc-utils.js"(e,t){w();var r=F(),{literalline:n,join:i}=T(),s=e=>Array.isArray(e)||e&&"concat"===e.type,o=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},a={};function l(e,t,r,n){let i=[e];for(;i.length>0;){let e=i.pop();if(e!==a){if(r&&i.push(e,a),!t||!1!==t(e))if(s(e)||"fill"===e.type){let t=o(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(n)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else r(i.pop())}}function u(e,t){let r=new Map;return n(e);function n(e){if(r.has(e))return r.get(e);let i=function(e){if(Array.isArray(e))return t(e.map(n));if("concat"===e.type||"fill"===e.type){let r=e.parts.map(n);return t(Object.assign(Object.assign({},e),{},{parts:r}))}if("if-break"===e.type){let r=e.breakContents&&n(e.breakContents),i=e.flatContents&&n(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:r,flatContents:i}))}if("group"===e.type&&e.expandedStates){let r=e.expandedStates.map(n),i=r[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:r}))}if(e.contents){let r=n(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:r}))}return t(e)}(e);return r.set(e,i),i}}function c(e,t,r){let n=r,i=!1;return l(e,(function(e){let r=t(e);if(void 0!==r&&(i=!0,n=r),i)return!1})),n}function p(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function h(e){if(e.length>0){let t=r(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function d(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}var f=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function m(e){if(!e)return e;if(s(e)||"fill"===e.type){let t=o(e);for(;t.length>1&&f(...t.slice(-2));)t.length-=2;if(t.length>0){let e=m(r(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let t=m(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=m(e.breakContents),r=m(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:r})}}return e}function g(e){return u(e,(e=>function(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!s(e))return e;let t=[];for(let n of o(e)){if(!n)continue;let[e,...i]=s(n)?o(n):[n];"string"==typeof e&&"string"==typeof r(t)?t[t.length-1]+=e:t.push(e),t.push(...i)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}(e)))}function y(e){let t=[],n=e.filter(Boolean);for(;n.length>0;){let e=n.shift();if(e){if(s(e)){n.unshift(...o(e));continue}if(t.length>0&&"string"==typeof r(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function b(e){return i(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,e.split("\n")).parts}function v(e){if("line"===e.type)return!0}t.exports={isConcat:s,getDocParts:o,willBreak:function(e){return c(e,p,!1)},traverseDoc:l,findInDoc:c,mapDoc:u,propagateBreaks:function(e){let t=new Set,r=[];l(e,(function(e){if("break-parent"===e.type&&h(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&r.pop().break&&h(r)}),!0)},removeLines:function(e){return u(e,d)},stripTrailingHardline:function(e){return m(g(e))},normalizeParts:y,normalizeDoc:function(e){return u(e,(e=>Array.isArray(e)?y(e):e.parts?Object.assign(Object.assign({},e),{},{parts:y(e.parts)}):e))},cleanDoc:g,replaceTextEndOfLine:b,replaceEndOfLine:function(e){return u(e,(e=>"string"==typeof e&&e.includes("\n")?b(e):e))},canBreak:function(e){return c(e,v,!1)}}}}),z=v({"src/document/doc-printer.js"(e,t){w();var r,{convertEndOfLineToChars:n}=P(),i=F(),s=$(),{fill:o,cursor:a,indent:l}=T(),{isConcat:u,getDocParts:c}=U();function p(e,t){return d(e,{type:"indent"},t)}function h(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?d(e,{type:"dedent"},r):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):d(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function d(e,t,r){let n="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],i="",s=0,o=0,a=0;for(let e of n)switch(e.type){case"indent":c(),r.useTabs?l(1):u(r.tabWidth);break;case"stringAlign":c(),i+=e.n,s+=e.n.length;break;case"numberAlign":o+=1,a+=e.n;break;default:throw new Error(`Unexpected type '${e.type}'`)}return p(),Object.assign(Object.assign({},e),{},{value:i,length:s,queue:n});function l(e){i+="\t".repeat(e),s+=r.tabWidth*e}function u(e){i+=" ".repeat(e),s+=e}function c(){r.useTabs?(o>0&&l(o),h()):p()}function p(){a>0&&u(a),h()}function h(){o=0,a=0}}function f(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof i(e)&&/^[\t ]*$/.test(i(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof i(e)){let r=i(e).replace(/[\t ]*$/,"");t+=i(e).length-r.length,e[e.length-1]=r}return t}function m(e,t,n,o,a){let l=t.length,p=[e],h=[];for(;n>=0;){if(0===p.length){if(0===l)return!0;p.push(t[--l]);continue}let{mode:e,doc:d}=p.pop();if("string"==typeof d)h.push(d),n-=s(d);else if(u(d)||"fill"===d.type){let t=c(d);for(let r=t.length-1;r>=0;r--)p.push({mode:e,doc:t[r]})}else switch(d.type){case"indent":case"align":case"indent-if-break":case"label":p.push({mode:e,doc:d.contents});break;case"trim":n+=f(h);break;case"group":{if(a&&d.break)return!1;let t=d.break?1:e,r=d.expandedStates&&1===t?i(d.expandedStates):d.contents;p.push({mode:t,doc:r});break}case"if-break":{let t=1===(d.groupId?r[d.groupId]||2:e)?d.breakContents:d.flatContents;t&&p.push({mode:e,doc:t});break}case"line":if(1===e||d.hard)return!0;d.soft||(h.push(" "),n--);break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1}}return!1}t.exports={printDocToString:function(e,t){r={};let d=t.printWidth,g=n(t.endOfLine),y=0,b=[{ind:{value:"",length:0,queue:[]},mode:1,doc:e}],v=[],D=!1,E=[];for(;b.length>0;){let{ind:e,mode:n,doc:x}=b.pop();if("string"==typeof x){let e="\n"!==g?x.replace(/\n/g,g):x;v.push(e),y+=s(e)}else if(u(x)){let t=c(x);for(let r=t.length-1;r>=0;r--)b.push({ind:e,mode:n,doc:t[r]})}else switch(x.type){case"cursor":v.push(a.placeholder);break;case"indent":b.push({ind:p(e,t),mode:n,doc:x.contents});break;case"align":b.push({ind:h(e,x.n,t),mode:n,doc:x.contents});break;case"trim":y-=f(v);break;case"group":switch(n){case 2:if(!D){b.push({ind:e,mode:x.break?1:2,doc:x.contents});break}case 1:{D=!1;let t={ind:e,mode:2,doc:x.contents},r=d-y,n=E.length>0;if(!x.break&&m(t,b,r,n))b.push(t);else if(x.expandedStates){let t=i(x.expandedStates);if(x.break){b.push({ind:e,mode:1,doc:t});break}for(let i=1;i<x.expandedStates.length+1;i++){if(i>=x.expandedStates.length){b.push({ind:e,mode:1,doc:t});break}{let t={ind:e,mode:2,doc:x.expandedStates[i]};if(m(t,b,r,n)){b.push(t);break}}}}else b.push({ind:e,mode:1,doc:x.contents});break}}x.id&&(r[x.id]=i(b).mode);break;case"fill":{let t=d-y,{parts:r}=x;if(0===r.length)break;let[i,s]=r,a={ind:e,mode:2,doc:i},l={ind:e,mode:1,doc:i},u=m(a,[],t,E.length>0,!0);if(1===r.length){u?b.push(a):b.push(l);break}let c={ind:e,mode:2,doc:s},p={ind:e,mode:1,doc:s};if(2===r.length){u?b.push(c,a):b.push(p,l);break}r.splice(0,2);let h={ind:e,mode:n,doc:o(r)};m({ind:e,mode:2,doc:[i,s,r[0]]},[],t,E.length>0,!0)?b.push(h,c,a):u?b.push(h,p,a):b.push(h,p,l);break}case"if-break":case"indent-if-break":{let t=x.groupId?r[x.groupId]:n;if(1===t){let t="if-break"===x.type?x.breakContents:x.negate?x.contents:l(x.contents);t&&b.push({ind:e,mode:n,doc:t})}if(2===t){let t="if-break"===x.type?x.flatContents:x.negate?l(x.contents):x.contents;t&&b.push({ind:e,mode:n,doc:t})}break}case"line-suffix":E.push({ind:e,mode:n,doc:x.contents});break;case"line-suffix-boundary":E.length>0&&b.push({ind:e,mode:n,doc:{type:"line",hard:!0}});break;case"line":switch(n){case 2:if(!x.hard){x.soft||(v.push(" "),y+=1);break}D=!0;case 1:if(E.length>0){b.push({ind:e,mode:n,doc:x},...E.reverse()),E.length=0;break}x.literal?e.root?(v.push(g,e.root.value),y=e.root.length):(v.push(g),y=0):(y-=f(v),v.push(g+e.value),y=e.length)}break;case"label":b.push({ind:e,mode:n,doc:x.contents})}0===b.length&&E.length>0&&(b.push(...E.reverse()),E.length=0)}let x=v.indexOf(a.placeholder);if(-1!==x){let e=v.indexOf(a.placeholder,x+1),t=v.slice(0,x).join(""),r=v.slice(x+1,e).join("");return{formatted:t+r+v.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:v.join("")}}}}}),V=v({"src/document/doc-debug.js"(e,t){w();var{isConcat:r,getDocParts:n}=U();function i(e){if(!e)return"";if(r(e)){let t=[];for(let s of n(e))if(r(s))t.push(...i(s).parts);else{let e=i(s);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:i(e.breakContents),flatContents:i(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:i(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(i)}):"fill"===e.type?{type:"fill",parts:e.parts.map(i)}:e.contents?Object.assign(Object.assign({},e),{},{contents:i(e.contents)}):e}t.exports={printDocToDebug:function(e){let t=Object.create(null),s=new Set;return function e(t,i,s){if("string"==typeof t)return JSON.stringify(t);if(r(t)){let r=n(t).map(e).filter(Boolean);return 1===r.length?r[0]:`[${r.join(", ")}]`}if("line"===t.type){let e=Array.isArray(s)&&s[i+1]&&"break-parent"===s[i+1].type;return t.literal?e?"literalline":"literallineWithoutBreakParent":t.hard?e?"hardline":"hardlineWithoutBreakParent":t.soft?"softline":"line"}if("break-parent"===t.type)return Array.isArray(s)&&s[i-1]&&"line"===s[i-1].type&&s[i-1].hard?void 0:"breakParent";if("trim"===t.type)return"trim";if("indent"===t.type)return"indent("+e(t.contents)+")";if("align"===t.type)return t.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+e(t.contents)+")":t.n<0?"dedent("+e(t.contents)+")":"root"===t.n.type?"markAsRoot("+e(t.contents)+")":"align("+JSON.stringify(t.n)+", "+e(t.contents)+")";if("if-break"===t.type)return"ifBreak("+e(t.breakContents)+(t.flatContents?", "+e(t.flatContents):"")+(t.groupId?(t.flatContents?"":', ""')+`, { groupId: ${o(t.groupId)} }`:"")+")";if("indent-if-break"===t.type){let r=[];t.negate&&r.push("negate: true"),t.groupId&&r.push(`groupId: ${o(t.groupId)}`);let n=r.length>0?`, { ${r.join(", ")} }`:"";return`indentIfBreak(${e(t.contents)}${n})`}if("group"===t.type){let r=[];t.break&&"propagated"!==t.break&&r.push("shouldBreak: true"),t.id&&r.push(`id: ${o(t.id)}`);let n=r.length>0?`, { ${r.join(", ")} }`:"";return t.expandedStates?`conditionalGroup([${t.expandedStates.map((t=>e(t))).join(",")}]${n})`:`group(${e(t.contents)}${n})`}if("fill"===t.type)return`fill([${t.parts.map((t=>e(t))).join(", ")}])`;if("line-suffix"===t.type)return"lineSuffix("+e(t.contents)+")";if("line-suffix-boundary"===t.type)return"lineSuffixBoundary";if("label"===t.type)return`label(${JSON.stringify(t.label)}, ${e(t.contents)})`;throw new Error("Unknown doc type "+t.type)}(i(e));function o(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let r=String(e).slice(7,-1)||"symbol";for(let n=0;;n++){let i=r+(n>0?` #${n}`:"");if(!s.has(i))return s.add(i),t[e]=`Symbol.for(${JSON.stringify(i)})`}}}}}}),W=v({"src/document/index.js"(e,t){w(),t.exports={builders:T(),printer:z(),utils:U(),debug:V()}}}),H={};function q(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}D(H,{default:()=>q});var G=b({"node_modules/escape-string-regexp/index.js"(){w()}}),K=v({"node_modules/semver/internal/debug.js"(e,t){w();var r="object"==typeof p&&p.env&&p.env.NODE_DEBUG&&/\bsemver\b/i.test(p.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return console.error("SEMVER",...t)}:()=>{};t.exports=r}}),X=v({"node_modules/semver/internal/constants.js"(e,t){w();var r=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:16}}}),J=v({"node_modules/semver/internal/re.js"(e,t){w();var{MAX_SAFE_COMPONENT_LENGTH:r}=X(),n=K(),i=(e=t.exports={}).re=[],s=e.src=[],o=e.t={},a=0,l=(e,t,r)=>{let l=a++;n(e,l,t),o[e]=l,s[l]=t,i[l]=new RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),l("FULL",`^${s[o.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),l("LOOSE",`^${s[o.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),l("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",s[o.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",l("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",l("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Y=v({"node_modules/semver/internal/parse-options.js"(e,t){w();var r=["includePrerelease","loose","rtl"];t.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}}}),Z=v({"node_modules/semver/internal/identifiers.js"(e,t){w();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1};t.exports={compareIdentifiers:n,rcompareIdentifiers:(e,t)=>n(t,e)}}}),Q=v({"node_modules/semver/classes/semver.js"(e,t){w();var r=K(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=X(),{re:s,t:o}=J(),a=Y(),{compareIdentifiers:l}=Z(),u=class{constructor(e,t){if(t=a(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid Version: ${e}`);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let l=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!l)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");l[4]?this.prerelease=l[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=l[5]?l[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof u)){if("string"==typeof e&&e===this.version)return 0;e=new u(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof u||(e=new u(e,this.options)),l(this.major,e.major)||l(this.minor,e.minor)||l(this.patch,e.patch)}comparePre(e){if(e instanceof u||(e=new u(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return l(n,i)}while(++t)}compareBuild(e){e instanceof u||(e=new u(e,this.options));let t=0;do{let n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return l(n,i)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};t.exports=u}}),ee=v({"node_modules/semver/functions/compare.js"(e,t){w();var r=Q();t.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))}}),te=v({"node_modules/semver/functions/lt.js"(e,t){w();var r=ee();t.exports=(e,t,n)=>r(e,t,n)<0}}),re=v({"node_modules/semver/functions/gte.js"(e,t){w();var r=ee();t.exports=(e,t,n)=>r(e,t,n)>=0}}),ne=v({"src/utils/arrayify.js"(e,t){w(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),ie=v({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function n(){return typeof WeakMap<"u"?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;var i=Object.prototype.hasOwnProperty,s=function(e,t){return i.call(e,t)};function o(e,t){for(var r in t)s(t,r)&&(e[r]=t[r]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,l=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,c=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function h(e,t,r){var n=0,i=e[0].match(c);i&&(n=i[1].length);var s=new RegExp("(\\r\\n|\\r|\\n).{0,"+n+"}","g");t&&(e=e.slice(1));var o=r.newline,u=r.trimLeadingNewline,p=r.trimTrailingNewline,h="string"==typeof o,d=e.length;return e.map((function(e,t){return e=e.replace(s,"$1"),0===t&&u&&(e=e.replace(a,"")),t===d-1&&p&&(e=e.replace(l,"")),h&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return o}))),e}))}var d=function e(t){var r=n(),i=n();return o((function n(a){for(var l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];if(function(e){return s(e,"raw")&&s(e,"length")}(a)){var f=a,m=(l[0]===n||l[0]===d)&&p.test(f[0])&&u.test(f[1]),g=m?i:r,y=g.get(f);return y||(y=h(f,m,t),g.set(f,y)),0===l.length?y[0]:function(e,t){for(var r="",n=0,i=e.length;n<i;n++)r+=e[n],n<i-1&&(r+=t[n]);return r}(y,m?l.slice(1):l)}return e(o(o({},t),a||{}))}),{string:function(e){return h([e],!1,t)[0]}})}({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=d,e.default=d,typeof t<"u")try{t.exports=d,Object.defineProperty(d,"__esModule",{value:!0}),d.default=d,d.outdent=d}catch{}}}),se=v({"src/main/core-options.js"(e,t){w();var{outdent:r}=ie(),n="Config",i="Editor",s="Other",o="Global",a="Special",l={cursorOffset:{since:"1.4.0",category:a,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:r`
3
- Print (to stderr) where a cursor at the given position would move to after formatting.
4
- This option cannot be used with --range-start and --range-end.
5
- `,cliCategory:i},endOfLine:{since:"1.15.0",category:o,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:r`
6
- Maintain existing
7
- (mixed values within one file are normalised by looking at what's used after the first line)
8
- `}]},filepath:{since:"1.4.0",category:a,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:s,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:a,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:s},parser:{since:"0.0.10",category:o,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:o,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:o,description:r`
9
- Custom directory that contains prettier plugins in node_modules subdirectory.
10
- Overrides default behavior when plugins are searched relatively to the location of Prettier.
11
- Multiple values are accepted.
12
- `,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:o,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:a,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r`
13
- Format code ending at a given character offset (exclusive).
14
- The range will extend forwards to the end of the selected statement.
15
- This option cannot be used with --cursor-offset.
16
- `,cliCategory:i},rangeStart:{since:"1.4.0",category:a,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r`
17
- Format code starting at a given character offset.
18
- The range will extend backwards to the start of the first line containing the selected statement.
19
- This option cannot be used with --cursor-offset.
20
- `,cliCategory:i},requirePragma:{since:"1.7.0",category:a,type:"boolean",default:!1,description:r`
21
- Require either '@prettier' or '@format' to be present in the file's first docblock comment
22
- in order for it to be formatted.
23
- `,cliCategory:s},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:s,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:a,options:l}}}),oe=v({"src/main/support.js"(e,t){w();var r={compare:ee(),lt:te(),gte:re()},n=ne(),i=S().version,s=se().options;t.exports={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:o=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=i.split("-",1)[0],p=e.flatMap((e=>e.languages||[])).filter(d),h=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),s),"name").filter((e=>d(e)&&f(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map((function(e){if(l)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return c(e,a)})).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(d).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>d(e)&&f(e))),"parser"===t.name&&function(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),o=i.name;s&&s.name&&(o+=` (plugin: ${s.name})`),e.choices.push({value:t,description:o})}}(t,p,e));let n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:p,options:h};function d(e){return t||!("since"in e)||e.since&&r.gte(u,e.since)}function f(e){return o||!("deprecated"in e)||e.deprecated&&r.lt(u,e.deprecated)}}}}}),ae=v({"src/utils/is-non-empty-array.js"(e,t){w(),t.exports=function(e){return Array.isArray(e)&&e.length>0}}}),le=v({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}}w();var n=r(/\s/),i=r(" \t"),s=r(",; \t"),o=r(/[^\n\r]/);t.exports={skipWhitespace:n,skipSpaces:i,skipToLineEnd:s,skipEverythingButNewLine:o}}}),ue=v({"src/utils/text/skip-inline-comment.js"(e,t){w(),t.exports=function(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}}}),ce=v({"src/utils/text/skip-trailing-comment.js"(e,t){w();var{skipEverythingButNewLine:r}=le();t.exports=function(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?r(e,t):t)}}}),pe=v({"src/utils/text/skip-newline.js"(e,t){w(),t.exports=function(e,t,r){let n=r&&r.backwards;if(!1===t)return!1;let i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}}}),he=v({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){w();var r=ue(),n=pe(),i=ce(),{skipSpaces:s}=le();t.exports=function(e,t){let o=null,a=t;for(;a!==o;)o=a,a=s(e,a),a=r(e,a),a=i(e,a),a=n(e,a);return a}}}),de=v({"src/common/util.js"(e,t){w();var{default:r}=(G(),x(H)),n=F(),{getSupportInfo:i}=oe(),s=ae(),o=$(),{skipWhitespace:a,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c}=le(),p=ue(),h=ce(),d=pe(),f=he();function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=l(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function g(e,t){let r=null,n=t;for(;n!==r;)r=n,n=u(e,n),n=p(e,n),n=l(e,n);return n=h(e,n),n=d(e,n),!1!==n&&m(e,n)}function y(e,t,r){return f(e,r(t))}function b(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n<e.length;++n)"\t"===e[n]?r=r+t-r%t:r++;return r}function v(e,t){let r={quote:'"',regex:/"/g,escaped:"&quot;"},n={quote:"'",regex:/'/g,escaped:"&apos;"},i="'"===t?n:r,s=i===n?r:n,o=i;return(e.includes(i.quote)||e.includes(s.quote))&&(o=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i),o}function D(e,t,r){let n='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function E(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}(e)}t.exports={inferParserByLanguage:function(e,t){let{languages:r}=i({plugins:t.plugins}),n=r.find((t=>{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(`.${e}`)}));return n&&n.parsers[0]},getStringWidth:o,getMaxContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp(`(${r(t)})+`,"g"));if(null===n)return 0;let i=new Map,s=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>s&&(s=r)}for(let e=1;e<s;e++)if(!i.get(e))return e;return s+1},getPenultimate:e=>e[e.length-2],getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:y,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(y(e,t,r))},skip:function(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,o=r;for(;o>=0&&o<s;){let r=t.charAt(o);if(e instanceof RegExp){if(!e.test(r))return o}else if(!e.includes(r))return o;i?o--:o++}return(-1===o||o===s)&&o}},skipWhitespace:a,skipSpaces:l,skipToLineEnd:u,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:g,isNextLineEmpty:function(e,t,r){return g(e,r(t))},isPreviousLineEmpty:function(e,t,r){let n=r(t)-1;return n=l(e,n,{backwards:!0}),n=d(e,n,{backwards:!0}),n=l(e,n,{backwards:!0}),n!==d(e,n,{backwards:!0})},hasNewline:m,hasNewlineInRange:function(e,t,r){for(let n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l(e,r.backwards?t-1:t,r)!==t},getAlignmentSize:b,getIndentSize:function(e,t){let r=e.lastIndexOf("\n");return-1===r?0:b(e.slice(r+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:v,printString:function(e,t){let r=e.slice(1,-1);return D(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":v(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:D,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,E(e,t)},addDanglingComment:function(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),E(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,E(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},isNonEmptyArray:s,createGroupIdMapper:function(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}}}}),fe={};function me(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function ge(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=me(Se(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function ye(e){var t=be(e),r="/"===Ne(e,-1);return!(e=me(Se(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function be(e){return"/"===e.charAt(0)}function ve(){return ye(Se(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function De(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=ge(e).substr(1),t=ge(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),o=s,a=0;a<s;a++)if(n[a]!==i[a]){o=a;break}var l=[];for(a=o;a<n.length;a++)l.push("..");return(l=l.concat(i.slice(o))).join("/")}function Ee(e){var t=Ae(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."}function xe(e,t){var r=Ae(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function we(e){return Ae(e)[3]}function Se(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}D(fe,{basename:()=>xe,default:()=>Ie,delimiter:()=>Pe,dirname:()=>Ee,extname:()=>we,isAbsolute:()=>be,join:()=>ve,normalize:()=>ye,relative:()=>De,resolve:()=>ge,sep:()=>Te});var Ce,Ae,Te,Pe,Ie,Ne,ke=b({"node-modules-polyfills:path"(){w(),Ce=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Ae=function(e){return Ce.exec(e).slice(1)},Ie={extname:we,basename:xe,dirname:Ee,sep:Te="/",delimiter:Pe=":",relative:De,join:ve,isAbsolute:be,normalize:ye,resolve:ge},Ne=function(e,t,r){return e.substr(t,r)}}}),_e=v({"node-modules-polyfills-commonjs:path"(e,t){w();var r=(ke(),x(fe));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Oe=v({"src/common/errors.js"(e,t){w();var r=class extends Error{},n=class extends Error{},i=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:s}}}),Me={};function Le(e,t){function r(){this.constructor=e}lt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Re(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function je(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function Ue(e,t){return function(r,n){t(r,n,e)}}function We(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function He(e,t,r,n){return new(r||(r=Promise))((function(i,s){function o(e){try{l(n.next(e))}catch(e){s(e)}}function a(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){e.done?i(e.value):function(e){return e instanceof r?e:new r((function(t){t(e)}))}(e.value).then(o,a)}l((n=n.apply(e,t||[])).next())}))}function qe(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function Ge(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function Ke(e,t){for(var r in e)"default"!==r&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Xe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Je(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function Ye(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Je(arguments[t]));return e}function Ze(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function Qe(e){return this instanceof Qe?(this.v=e,this):new Qe(e)}function et(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{!function(e){e.value instanceof Qe?Promise.resolve(e.value.v).then(l,u):c(s[0][2],e)}(i[e](t))}catch(e){c(s[0][3],e)}}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function tt(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:Qe(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function rt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Xe(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function nt(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function it(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function st(e){return e&&e.__esModule?e:{default:e}}function ot(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function at(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}D(Me,{__assign:()=>ut,__asyncDelegator:()=>tt,__asyncGenerator:()=>et,__asyncValues:()=>rt,__await:()=>Qe,__awaiter:()=>He,__classPrivateFieldGet:()=>ot,__classPrivateFieldSet:()=>at,__createBinding:()=>Ge,__decorate:()=>je,__exportStar:()=>Ke,__extends:()=>Le,__generator:()=>qe,__importDefault:()=>st,__importStar:()=>it,__makeTemplateObject:()=>nt,__metadata:()=>We,__param:()=>Ue,__read:()=>Je,__rest:()=>Re,__spread:()=>Ye,__spreadArrays:()=>Ze,__values:()=>Xe});var lt,ut,ct=b({"node_modules/tslib/tslib.es6.js"(){w(),lt=function(e,t){return(lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},ut=function(){return ut=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ut.apply(this,arguments)}}}),pt=v({"node_modules/vnopts/lib/descriptors/api.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return`[${t.map((t=>e.apiDescriptor.value(t))).join(", ")}]`;let r=Object.keys(t);return 0===r.length?"{}":`{ ${r.map((r=>`${e.apiDescriptor.key(r)}: ${e.apiDescriptor.value(t[r])}`)).join(", ")} }`},pair:t=>{let{key:r,value:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),ht=v({"node_modules/vnopts/lib/descriptors/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(pt(),e)}}),dt=v({"scripts/build/shims/chalk.cjs"(e,t){w();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),ft=v({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:i}=n,s=[`${t.default.yellow("string"==typeof e?i.key(e):i.pair(e))} is deprecated`];return r&&s.push(`we now treat it as ${t.default.blue("string"==typeof r?i.key(r):i.pair(r))}`),s.join("; ")+"."}}}),mt=v({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(ft(),e)}}),gt=v({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt();e.commonInvalidHandler=(e,r,n)=>[`Invalid ${t.default.red(n.descriptor.key(e))} value.`,`Expected ${t.default.blue(n.schemas[e].expected(n))},`,`but received ${t.default.red(n.descriptor.value(r))}.`].join(" ")}}),yt=v({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(gt(),e)}}),bt=v({"node_modules/vnopts/node_modules/leven/index.js"(e,t){w();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var s=e.length,o=t.length;if(0===s)return o;if(0===o)return s;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-o);)s--,o--;if(0===s)return o;for(var a=0;a<s&&e.charCodeAt(a)===t.charCodeAt(a);)a++;if(o-=a,0==(s-=a))return o;for(var l,u,c,p,h=0,d=0;h<s;)n[a+h]=e.charCodeAt(a+h),r[h]=++h;for(;d<o;)for(l=t.charCodeAt(a+d),c=d++,u=d,h=0;h<s;h++)p=l===n[a+h]?c:c+1,c=r[h],u=r[h]=c>u?p>u?u+1:p:p>c?c+1:p;return u}}}),vt=v({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=dt(),r=bt();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:o,schemas:a}=i,l=[`Ignored unknown option ${t.default.yellow(s.pair({key:e,value:n}))}.`],u=Object.keys(a).sort().find((t=>r(e,t)<3));u&&l.push(`Did you mean ${t.default.blue(s.key(u))}?`),o.warn(l.join(" "))}}}),Dt=v({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),(ct(),x(Me)).__exportStar(vt(),e)}}),Et=v({"node_modules/vnopts/lib/handlers/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(mt(),e),t.__exportStar(yt(),e),t.__exportStar(Dt(),e)}}),xt=v({"node_modules/vnopts/lib/schema.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let s=new e(r),o=Object.create(s);for(let e of t)e in r&&(o[e]=i(r[e],s,n.prototype[e].length));return o}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e(...i.slice(0,r-1),t,...i.slice(r-1))}:()=>e}e.Schema=n}}),wt=v({"node_modules/vnopts/lib/schemas/alias.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=r}}),St=v({"node_modules/vnopts/lib/schemas/any.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),Ct=v({"node_modules/vnopts/lib/schemas/array.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me)),r=xt(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(i))}return r}redirect(e,t){let r=[],n=[];for(let s of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(s,t),s);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(i))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),At=v({"node_modules/vnopts/lib/schemas/boolean.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),Tt=v({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,r){return void 0===e?[]:Array.isArray(e)?e.map((e=>t(e,r))):[t(e,r)]}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=function(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r[e]=n}return r},e.mapFromArray=function(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw new Error(`Duplicate ${t} ${JSON.stringify(e)}`);r.set(e,n)}return r},e.createAutoChecklist=function(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}},e.partition=function(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]},e.isInt=function(e){return e===Math.floor(e)},e.comparePrimitive=function(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)},e.normalizeDefaultResult=function(e){return void 0===e?{}:e},e.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},e.normalizeDeprecatedResult=function(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},e.normalizeTransferResult=t,e.normalizeForwardResult=r,e.normalizeRedirectResult=function(e,t){let n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}}}),Pt=v({"node_modules/vnopts/lib/schemas/choice.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=Tt(),n=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(r.comparePrimitive).map(t.value),i=n.slice(0,-2),s=n.slice(-2);return i.concat(s.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=n}}),Ft=v({"node_modules/vnopts/lib/schemas/number.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),It=v({"node_modules/vnopts/lib/schemas/integer.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Tt(),r=Ft(),n=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=n}}),Nt=v({"node_modules/vnopts/lib/schemas/string.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=xt(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),kt=v({"node_modules/vnopts/lib/schemas/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(wt(),e),t.__exportStar(St(),e),t.__exportStar(Ct(),e),t.__exportStar(At(),e),t.__exportStar(Pt(),e),t.__exportStar(It(),e),t.__exportStar(Ft(),e),t.__exportStar(Nt(),e)}}),_t=v({"node_modules/vnopts/lib/defaults.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=pt(),r=ft(),n=yt(),i=vt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),Ot=v({"node_modules/vnopts/lib/normalize.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=_t(),r=Tt();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:i=console,descriptor:s=t.defaultDescriptor,unknown:o=t.defaultUnknownHandler,invalid:a=t.defaultInvalidHandler,deprecated:l=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:s,logger:i||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=a,this._deprecatedHandler=l,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],i=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};i();for(let e of Object.keys(this._utils.schemas)){let i=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(i.default(this._utils));"value"in t&&n.push({[e]:t.value})}}i();for(let e of Object.keys(this._utils.schemas)){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,s]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let s of i){let i=this._utils.schemas[s],o=i.preprocess(e[s],this._utils),a=r.normalizeValidateResult(i.validate(o,this._utils),o);if(!0!==a){let{value:e}=a,t=this._invalidHandler(s,e,this._utils);throw"string"==typeof t?new Error(t):t}let l=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},u=e=>{let{value:t,redirectTo:n}=e,a=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),o,!0);if(!1!==a)if(!0===a)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,n,this._utils));else for(let{value:e}of a){let t={key:s,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};r.normalizeForwardResult(i.forward(o,this._utils),o).forEach(l);let c=r.normalizeRedirectResult(i.redirect(o,this._utils),o);if(c.redirect.forEach(l),"remain"in c){let e=c.remain;t[s]=s in t?i.overlap(t[s],e,this._utils):e,u({value:e})}for(let{from:e,to:t}of c.redirect)u({value:e,redirectTo:t})}for(let r of s){let i=e[r],s=this._unknownHandler(r,i,this._utils);if(s)for(let e of Object.keys(s)){let r={[e]:s[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),Mt=v({"node_modules/vnopts/lib/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=(ct(),x(Me));t.__exportStar(ht(),e),t.__exportStar(Et(),e),t.__exportStar(kt(),e),t.__exportStar(Ot(),e),t.__exportStar(xt(),e)}}),Lt=v({"src/main/options-normalizer.js"(e,t){w();var r,n=Mt(),i=F(),s={key:e=>1===e.length?`-${e}`:`--${e}`,value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?`--no-${t}`:!0===r?s.key(t):""===r?`${s.key(t)} without an argument`:`${s.key(t)}=${r}`}},o=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find((t=>r(t,e)<3));if(i)return n.logger.warn([`Unknown flag ${t.yellow(n.descriptor.value(e))},`,`did you mean ${t.blue(n.descriptor.value(i))}?`].join(" ")),i}return e}expected(){return"a flag"}}};function a(e,t){let{logger:i=!1,isCLI:o=!1,passThrough:a=!1,colorsModule:p=null,levenshteinDistance:h=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=a?Array.isArray(a)?(e,t)=>a.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let i=r.schemas,{_:s}=i,o=c(i,l);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:o}))},f=o?s:n.apiDescriptor,m=function(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,o=[];r&&o.push(n.AnySchema.create({name:"_"}));for(let t of e)o.push(u(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),t.alias&&r&&o.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return o}(t,{isCLI:o,colorsModule:p,levenshteinDistance:h}),g=new n.Normalizer(m,{logger:i,unknown:d,descriptor:f}),y=!1!==i;y&&r&&(g._hasDeprecationWarned=r);let b=g.normalize(e);return y&&(r=g._hasDeprecationWarned),o&&!1===b["plugin-search"]&&(b["plugin-search-dir"]=!1),b}function u(e,t){let{isCLI:r,optionInfos:s,colorsModule:a,levenshteinDistance:l}=t,{name:u}=e;if("plugin-search-dir"===u||"pluginSearchDirs"===u)return n.AnySchema.create({name:u,preprocess:e=>(!1===e||(e=Array.isArray(e)?e:[e]),e),validate:e=>!1===e||e.every((e=>"string"==typeof e)),expected:()=>"false or paths to plugin search dir"});let c,p={name:u},h={};switch(e.type){case"int":c=n.IntegerSchema,r&&(p.preprocess=Number);break;case"string":case"path":c=n.StringSchema;break;case"choice":c=n.ChoiceSchema,p.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":c=n.BooleanSchema;break;case"flag":c=o({colorsModule:a,levenshteinDistance:l}),p.flags=s.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&`no-${e.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?p.validate=(t,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(h.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(h.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?i(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),h),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),h))}t.exports={normalizeApiOptions:function(e,t,r){return a(e,t,r)},normalizeCliOptions:function(e,t,r){return a(e,t,Object.assign({isCLI:!0},r))}}}}),Bt=v({"src/language-js/loc.js"(e,t){w();var r=ae();function n(e){var t,i;let s=e.range?e.range[0]:e.start,o=null!==(t=null===(i=e.declaration)||void 0===i?void 0:i.decorators)&&void 0!==t?t:e.decorators;return r(o)?Math.min(n(o[0]),s):s}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:function(e,t){return s(e,t)&&function(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}(e,t)}}}}),Rt=v({"src/main/load-parser.js"(e,t){w(),t.exports=()=>{}}}),jt=v({"scripts/build/shims/babel-highlight.cjs"(e,t){w();var r=dt(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),$t=v({"node_modules/@babel/code-frame/lib/index.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=i,e.default=function(e,t,n){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";p.emitWarning?p.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return i(e,{start:{column:n=Math.max(n,0),line:t}},s)};var t=jt(),r=!1;var n=/\r\n|[\n\r\u2028\u2029]/;function i(e,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=(i.highlightCode||i.forceColor)&&(0,t.shouldHighlight)(i),o=(0,t.getChalk)(i),a=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(o),l=(e,t)=>s?e(t):t,u=e.split(n),{start:c,end:p,markerLines:h}=function(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:o=3}=r||{},a=n.line,l=n.column,u=i.line,c=i.column,p=Math.max(a-(s+1),0),h=Math.min(t.length,u+o);-1===a&&(p=0),-1===u&&(h=t.length);let d=u-a,f={};if(d)for(let e=0;e<=d;e++){let r=e+a;if(l)if(0===e){let e=t[r-1].length;f[r]=[l,e-l+1]}else if(e===d)f[r]=[0,c];else{let n=t[r-e].length;f[r]=[0,n]}else f[r]=!0}else f[a]=l===c?!l||[l,0]:[l,c-l];return{start:p,end:h,markerLines:f}}(r,u,i),d=r.start&&"number"==typeof r.start.column,f=String(p).length,m=(s?(0,t.default)(e,i):e).split(n,p).slice(c,p).map(((e,t)=>{let r=c+1+t,n=` ${` ${r}`.slice(-f)} |`,s=h[r],o=!h[r+1];if(s){let t="";if(Array.isArray(s)){let r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),u=s[1]||1;t=["\n ",l(a.gutter,n.replace(/\d/g," "))," ",r,l(a.marker,"^").repeat(u)].join(""),o&&i.message&&(t+=" "+l(a.message,i.message))}return[l(a.marker,">"),l(a.gutter,n),e.length>0?` ${e}`:"",t].join("")}return` ${l(a.gutter,n)}${e.length>0?` ${e}`:""}`})).join("\n");return i.message&&!d&&(m=`${" ".repeat(f+1)}${i.message}\n${m}`),s?o.reset(m):m}}}),Ut=v({"src/main/parser.js"(e,t){w();var{ConfigError:r}=Oe(),n=Bt(),{locStart:i,locEnd:s}=(Rt(),n),o=Object.getOwnPropertyNames,a=Object.getOwnPropertyDescriptor;function l(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of o(r.parsers))Object.defineProperty(t,e,a(r.parsers,e));return t}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:s};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r(`Couldn't resolve parser "${e.parser}". Parsers must be explicitly added to the standalone bundle.`)}}t.exports={parse:function(e,t){let r=l(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get:()=>r[e].parse}])))),i=u(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(t){let{loc:r}=t;if(r){let{codeFrameColumns:n}=$t();throw t.codeFrame=n(e,r,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t}},resolveParser:u}}}),zt=v({"src/main/options.js"(e,t){w();var r=_e(),{UndefinedParserError:n}=Oe(),{getSupportInfo:i}=oe(),s=Lt(),{resolveParser:o}=Ut(),a={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function l(e,t){let n=r.basename(e).toLowerCase(),s=i({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));return s&&s.parsers[0]}t.exports={normalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),u=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,c=Object.assign(Object.assign({},a),Object.fromEntries(u.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=l(r.filepath,r.plugins),!r.parser)throw new n(`No parser could be inferred for file: ${r.filepath}`)}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),r.parser="babel";let p=o(s.normalizeApiOptions(r,[u.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=p.astFormat,r.locEnd=p.locEnd,r.locStart=p.locStart;let h=function(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find((e=>e.printers&&e.printers[t]));if(!r)throw new Error(`Couldn't find plugin for AST format "${t}"`);return r}(r);r.printer=h.printers[r.astFormat];let d=Object.fromEntries(u.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[h.name])).map((e=>[e.name,e.pluginDefaults[h.name]]))),f=Object.assign(Object.assign({},c),d);for(let[e,t]of Object.entries(f))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,u,Object.assign({passThrough:Object.keys(a)},t))},hiddenDefaults:a,inferParser:l}}}),Vt=v({"src/main/massage-ast.js"(e,t){w(),t.exports=function e(t,r,n){if(Array.isArray(t))return t.map((t=>e(t,r,n))).filter(Boolean);if(!t||"object"!=typeof t)return t;let i,s=r.printer.massageAstNode;i=s&&s.ignoredProperties?s.ignoredProperties:new Set;let o={};for(let[n,s]of Object.entries(t))!i.has(n)&&"function"!=typeof s&&(o[n]=e(s,r,t));if(s){let e=s(t,o,n);if(null===e)return;if(e)return e}return o}}}),Wt=v({"scripts/build/shims/assert.cjs"(e,t){w();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),Ht=v({"src/main/comments.js"(e,t){w();var r=Wt(),{builders:{line:n,hardline:i,breakParent:s,indent:o,lineSuffix:a,join:l,cursor:u}}=W(),{hasNewline:c,skipNewline:p,skipSpaces:h,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:g}=de(),y=new WeakMap;function b(e,t,r){if(!e)return;let{printer:n,locStart:i,locEnd:s}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(i(r[t])<=i(e)&&s(r[t])<=s(e));--t);return void r.splice(t+1,0,e)}}else if(y.has(e))return y.get(e);let o=n.getCommentChildNodes&&n.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t})).map((e=>{let[,t]=e;return t}));if(o){r||(r=[],y.set(e,r));for(let e of o)b(e,t,r);return r}}function v(e,t,r,n){let i,s,{locStart:o,locEnd:a}=r,l=o(t),u=a(t),c=b(e,r),p=0,h=c.length;for(;p<h;){let e=p+h>>1,n=c[e],d=o(n),f=a(n);if(d<=l&&u<=f)return v(n,t,r,n);if(f<=l)i=n,p=e+1;else{if(!(u<=d))throw new Error("Comment location overlaps with node location");s=n,h=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,o=T(e,t,r);i&&T(e,i,r)!==o&&(i=null),s&&T(e,s,r)!==o&&(s=null)}return{enclosingNode:n,precedingNode:i,followingNode:s}}var D=()=>!1;var E=e=>!/[\S\n\u2028\u2029]/.test(e);function x(e,t,r,n){let{comment:i,precedingNode:s}=r[n],{locStart:o,locEnd:a}=t,l=o(i);if(s)for(let t=n-1;t>=0;t--){let{comment:n,precedingNode:i}=r[t];if(i!==s||!E(e.slice(a(n),l)))break;l=o(n)}return c(e,l,{backwards:!0})}function S(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:o,locEnd:a}=t,l=a(i);if(s)for(let t=n+1;t<r.length;t++){let{comment:n,followingNode:i}=r[t];if(i!==s||!E(e.slice(l,o(n))))break;l=a(n)}return c(e,l)}function C(e,t,n){let i=e.length;if(0===i)return;let s,{precedingNode:o,followingNode:a,enclosingNode:l}=e[0],u=n.printer.getGapRegex&&n.printer.getGapRegex(l)||/^[\s(]*$/,c=n.locStart(a);for(s=i;s>0;--s){let{comment:i,precedingNode:l,followingNode:p}=e[s-1];r.strictEqual(l,o),r.strictEqual(p,a);let h=t.slice(n.locEnd(i),c);if(!u.test(h))break;c=n.locStart(i)}for(let[t,{comment:r}]of e.entries())t<s?g(o,r):f(a,r);for(let e of[o,a])e.comments&&e.comments.length>1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function A(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function T(e,t,r){let n=r.locStart(t)-1;for(let t=1;t<e.length;++t)if(n<r.locStart(e[t]))return t-1;return 0}function P(e,t,r){let o=e.getValue();if(!o)return{};let l=o.comments||[];r&&(l=l.filter((e=>!r.has(e))));let f=o===t.cursorNode;if(0===l.length){let e=f?u:"";return{leading:e,trailing:e}}let m=[],g=[];return e.each((()=>{let o=e.getValue();if(r&&r.has(o))return;let{leading:l,trailing:u}=o;l?m.push(function(e,t){let r=e.getValue(),s=[A(e,t)],{printer:o,originalText:a,locStart:l,locEnd:u}=t;if(o.isBlockComment&&o.isBlockComment(r)){let e=c(a,u(r))?c(a,l(r),{backwards:!0})?i:n:" ";s.push(e)}else s.push(i);let d=p(a,h(a,u(r)));return!1!==d&&c(a,d)&&s.push(i),s}(e,t)):u&&g.push(function(e,t){let r=e.getValue(),n=A(e,t),{printer:o,originalText:l,locStart:u}=t,p=o.isBlockComment&&o.isBlockComment(r);if(c(l,u(r),{backwards:!0})){let e=d(l,r,u);return a([i,e?i:"",n])}let h=[" ",n];return p||(h=[a(h),s]),h}(e,t))}),"comments"),f&&(m.unshift(u),g.push(u)),{leading:m,trailing:g}}t.exports={attach:function(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:s,locEnd:o,printer:{handleComments:a={}}}=n,{avoidAstMutation:l,ownLine:u=D,endOfLine:c=D,remaining:p=D}=a,h=e.map(((i,s)=>Object.assign(Object.assign({},v(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===s})));for(let[e,t]of h.entries()){let r,{comment:n,precedingNode:a,enclosingNode:d,followingNode:y,text:b,options:v,ast:D,isLastComment:E}=t;if("json"===v.parser||"json5"===v.parser||"__js_expression"===v.parser||"__vue_expression"===v.parser||"__vue_ts_expression"===v.parser){if(s(n)-s(D)<=0){f(D,n);continue}if(o(n)-o(D)>=0){g(D,n);continue}}if(l?r=[t]:(n.enclosingNode=d,n.precedingNode=a,n.followingNode=y,r=[n,b,v,D,E]),x(b,v,h,e))n.placement="ownLine",u(...r)||(y?f(y,n):a?g(a,n):m(d||D,n));else if(S(b,v,h,e))n.placement="endOfLine",c(...r)||(a?g(a,n):y?f(y,n):m(d||D,n));else if(n.placement="remaining",!p(...r))if(a&&y){let e=i.length;e>0&&i[e-1].followingNode!==y&&C(i,b,v),i.push(t)}else a?g(a,n):y?f(y,n):m(d||D,n)}if(C(i,r,n),!l)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode},printComments:function(e,t,r,n){let{leading:i,trailing:s}=P(e,r,n);return i||s?[i,t,s]:t},printCommentsSeparately:P,printDanglingComments:function(e,t,r,n){let s=[],a=e.getValue();return a&&a.comments&&(e.each((()=>{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&s.push(A(e,t))}),"comments"),0!==s.length)?r?l(i,s):o([i,l(i,s)]):""},getSortedChildNodes:b,ensureAllCommentsPrinted:function(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}}}}),qt=v({"src/common/ast-path.js"(e,t){w();var r=F();function n(e,t){let r=i(e.stack,t);return-1===r?null:e.stack[r]}function i(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}return-1}t.exports=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return r(this.stack)}getNode(){return n(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return n(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);let l=e(this);return t.length=n,l}callParent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),s=e(this);return this.stack.push(...n),s}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,o=new Array(s>1?s-1:0),a=1;a<s;a++)o[a-1]=arguments[a];for(let e of o)i=i[e],t.push(e,i);for(let r=0;r<i.length;++r)t.push(r,i[r]),e(this,r,i),t.length-=2;t.length=n}map(e){let t=[];for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this.each(((r,n,i)=>{t[n]=e(r,n,i)}),...n),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];for(let n of i){if(void 0===r)return!1;let i=null;if("number"==typeof t&&(i=t,t=this.stack[e--],r=this.stack[e--]),n&&!n(r,t,i))return!1;t=this.stack[e--],r=this.stack[e--]}return!0}findAncestor(e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(;n;){let i=null;if("number"==typeof r&&(i=r,r=this.stack[t--],n=this.stack[t--]),null!==r&&e(n,r,i))return n;r=this.stack[t--],n=this.stack[t--]}}}}}),Gt=v({"src/main/multiparser.js"(e,t){w();var{utils:{stripTrailingHardline:r}}=W(),{normalize:n}=zt(),i=Ht();t.exports={printSubtree:function(e,t,s,o){if(s.printer.embed&&"auto"===s.embeddedLanguageFormatting)return s.printer.embed(e,t,((e,t,a)=>function(e,t,s,o){let{stripTrailingHardline:a=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=n(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),u=Ut().parse(e,l),{ast:c}=u;e=u.text;let p=c.comments;delete c.comments,i.attach(p,c,e,l),l[Symbol.for("comments")]=p||[],l[Symbol.for("tokens")]=c.tokens||[];let h=o(c,l);return i.ensureAllCommentsPrinted(p),a?"string"==typeof h?h.replace(/(?:\r?\n)*$/,""):r(h):h}(e,t,s,o,a)),s)}}}}),Kt=v({"src/main/ast-to-doc.js"(e,t){w();var r=qt(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:s}}=W(),{printComments:o}=Ht(),a=Gt();function l(e,t){let u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:c}=t;c.preprocess&&(e=c.preprocess(e,t));let p=new Map,h=new r(e),d=f();return u>0&&(d=i([n,d],u,t.tabWidth)),s(d),d;function f(e,t){return void 0===e||e===h?m(t):Array.isArray(e)?h.call((()=>m(t)),...e):h.call((()=>m(t)),e)}function m(e){let r=h.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&p.has(r))return p.get(r);let i=function(e,t,r,n){let i,s,u=e.getValue(),{printer:c}=t;if(c.hasPrettierIgnore&&c.hasPrettierIgnore(e))({doc:i,printedComments:s}=function(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:s}=t,o=i(e),a=s(e),l=new Set;for(let e of n)i(e)>=o&&s(e)<=a&&(e.printed=!0,l.add(e));return{doc:r.slice(o,a),printedComments:l}}(u,t));else{if(u)try{i=a.printSubtree(e,r,t,l)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}i||(i=c.print(e,t,r,n))}return(!c.willPrintOwnComments||!c.willPrintOwnComments(e,t))&&(i=o(e,i,t,s)),i}(h,t,f,e);return n&&p.set(r,i),i}}t.exports=l}}),Xt=v({"src/main/range-util.js"(e,t){w();var r=Wt(),n=Ht();function i(e){let t=e.length-1;for(;;){let r=e[t];if(!r||"Program"!==r.type&&"File"!==r.type)break;t--}return e.slice(0,t+1)}function s(e,t,r,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,{locStart:l,locEnd:u}=r,c=l(e),p=u(e);if(!(t>p||t<c||"rangeEnd"===a&&t===c||"rangeStart"===a&&t===p)){for(let l of n.getSortedChildNodes(e,r)){let n=s(l,t,r,i,[e,...o],a);if(n)return n}if(!i||i(e,o[0]))return{node:e,parentNodes:o}}}var o=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),a=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function l(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return function(e,t){return"DeclareExportDeclaration"!==t&&"TypeParameterDeclaration"!==e&&("Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}(t.type,r&&r.type);case"json":case"json5":case"json-stringify":return o.has(t.type);case"graphql":return a.has(t.kind);case"vue":return"root"!==t.tag}return!1}t.exports={calculateRange:function(e,t,n){let{rangeStart:a,rangeEnd:u,locStart:c,locEnd:p}=t;r.ok(u>a);let h=e.slice(a,u).search(/\S/),d=-1===h;if(!d)for(a+=h;u>a&&!/\S/.test(e[u-1]);--u);let f,m,g=s(n,a,t,((e,r)=>l(t,e,r)),[],"rangeStart"),y=d?g:s(n,u,t,(e=>l(t,e)),[],"rangeEnd");if(!g||!y)return{rangeStart:0,rangeEnd:0};if((e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t})(t)){let e=function(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((e=>o.has(e.type)&&n.has(e)))}(g,y);f=e,m=e}else({startNode:f,endNode:m}=function(e,t,r){let{locStart:n,locEnd:s}=r,o=e.node,a=t.node;if(o===a)return{startNode:o,endNode:a};let l=n(e.node);for(let e of i(t.parentNodes)){if(!(n(e)>=l))break;a=e}let u=s(t.node);for(let t of i(e.parentNodes)){if(!(s(t)<=u))break;if(o=t,o===a)break}return{startNode:o,endNode:a}}(g,y,t));return{rangeStart:Math.min(c(f),c(m)),rangeEnd:Math.max(p(f),p(m))}},findNodeAtOffset:s}}}),Jt=v({"src/main/core.js"(e,t){w();var{diffArrays:r}=A(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=W(),{getAlignmentSize:s}=de(),{guessEndOfLine:o,convertEndOfLineToChars:a,countEndOfLineChars:l,normalizeEndOfLine:u}=P(),c=zt().normalize,p=Vt(),h=Ht(),d=Ut(),f=Kt(),m=Xt(),g=Symbol("cursor");function y(e,t,r){let n=t.comments;return n&&(delete t.comments,h.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function b(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:s,text:o}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(s,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let l=y(o,s,t),u=f(s,t,i),c=n(u,t);if(h.ensureAllCommentsPrinted(l),i>0){let e=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(e)),c.formatted=e+a(t.endOfLine)}if(t.cursorOffset>=0){let e,n,i,s,a;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),n=o.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,s=c.cursorNodeStart,a=c.cursorNodeText):(e=0,n=o,i=t.cursorOffset,s=0,a=c.formatted),n===a)return{formatted:c.formatted,cursorOffset:s+i,comments:l};let u=[...n];u.splice(i,0,g);let p=[...a],h=r(u,p),d=s;for(let e of h)if(e.removed){if(e.value.includes(g))break}else d+=e.count;return{formatted:c.formatted,cursorOffset:d,comments:l}}return{formatted:c.formatted,cursorOffset:-1,comments:l}}function v(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function D(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=v(e,r,-1),n=v(e,n,0),i=v(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function E(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=D(e,t),a="\ufeff"===e.charAt(0);if(a&&(e=e.slice(1),r--,n--,i--),"auto"===s&&(s=o(e)),e.includes("\r")){let t=t=>l(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=u(e)}return{hasBOM:a,text:e,options:D(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}))}}function x(e,t){let r=d.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function S(e,t){let r,{hasBOM:n,text:i,options:o}=E(e,c(t));return o.rangeStart>=o.rangeEnd&&""!==i||o.requirePragma&&!x(i,o)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEnd<i.length?r=function(e,t){let{ast:r,text:n}=d.parse(e,t),{rangeStart:i,rangeEnd:o}=m.calculateRange(n,t,r),u=n.slice(i,o),c=Math.min(i,n.lastIndexOf("\n",i)+1),p=n.slice(c,i).match(/^\s*/)[0],h=s(p,t.tabWidth),f=b(u,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=o?t.cursorOffset-i:-1,endOfLine:"lf"}),h),g=f.formatted.trimEnd(),{cursorOffset:y}=t;y>o?y+=g.length-u.length:f.cursorOffset>=0&&(y=f.cursorOffset+i);let v=n.slice(0,i)+g+n.slice(o);if("lf"!==t.endOfLine){let e=a(t.endOfLine);y>=0&&"\r\n"===e&&(y+=l(v.slice(0,y),"\n")),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:y,comments:f.comments}}(i,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!x(i,o)&&(i=o.printer.insertPragma(i)),r=b(i,o)),n&&(r.formatted="\ufeff"+r.formatted,r.cursorOffset>=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:S,parse(e,t,r){let{text:n,options:i}=E(e,c(t)),s=d.parse(n,i);return r&&(s.ast=p(s.ast,i)),s},formatAST(e,t){t=c(t);let r=f(e,t);return n(r,t)},formatDoc:(e,t)=>S(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:r,text:n}=d.parse(e,t);return y(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,c(t))}}}),Yt=v({"src/common/util-shared.js"(e,t){w();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:l,skipNewline:u,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:E,addLeadingComment:x,addDanglingComment:S,addTrailingComment:C}=de();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:o,skipWhitespace:a,skipSpaces:l,skipNewline:u,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:g,isNextLineEmpty:y,isNextLineEmptyAfterIndex:b,isPreviousLineEmpty:v,getNextNonSpaceNonCommentCharacterIndex:D,makeString:E,addLeadingComment:x,addDanglingComment:S,addTrailingComment:C}}}),Zt=v({"src/utils/create-language.js"(e,t){w(),t.exports=function(e,t){let{languageId:r}=e,n=c(e,u);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),Qt=v({"node_modules/esutils/lib/ast.js"(e,t){w(),function(){function e(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function r(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}t.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:e,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(t){return e(t)||null!=t&&"FunctionDeclaration"===t.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=r(t)}while(t);return!1},trailingStatement:r}}()}}),er=v({"node_modules/esutils/lib/code.js"(e,t){w(),function(){var e,r,n,i,s,o;function a(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\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\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||36===o||95===o;for(s=new Array(128),o=0;o<128;++o)s[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||36===o||95===o;t.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(a(e))},isIdentifierPartES5:function(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(a(e))},isIdentifierStartES6:function(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(a(t))},isIdentifierPartES6:function(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(a(t))}}}()}}),tr=v({"node_modules/esutils/lib/keyword.js"(e,t){w(),function(){var e=er();function r(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function s(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(t){var r,n,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(r=1,n=t.length;r<n;++r)if(i=t.charCodeAt(r),!e.isIdentifierPartES5(i))return!1;return!0}function a(e,t){return 1024*(e-55296)+(t-56320)+65536}function l(t){var r,n,i,s,o;if(0===t.length)return!1;for(o=e.isIdentifierStartES6,r=0,n=t.length;r<n;++r){if(55296<=(i=t.charCodeAt(r))&&i<=56319){if(++r>=n||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;i=a(i,s)}if(!o(i))return!1;o=e.isIdentifierPartES6}return!0}t.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:i,isReservedWordES6:s,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:l,isIdentifierES5:function(e,t){return o(e)&&!i(e,t)},isIdentifierES6:function(e,t){return l(e)&&!s(e,t)}}}()}}),rr=v({"node_modules/esutils/lib/utils.js"(e){w(),e.ast=Qt(),e.code=er(),e.keyword=tr()}}),nr=v({"src/language-js/utils/is-block-comment.js"(e,t){w();var r=new Set(["Block","CommentBlock","MultiLine"]);t.exports=e=>r.has(null==e?void 0:e.type)}}),ir=v({"src/language-js/utils/is-node-matches.js"(e,t){w(),t.exports=function(e,t){return t.some((t=>function(e,t){let r=t.split(".");for(let t=r.length-1;t>=0;t--){let n=r[t];if(0===t)return"Identifier"===e.type&&e.name===n;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}(e,t)))}}}),sr=v({"src/language-js/utils/index.js"(e,t){w();var r=rr().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:s,isNonEmptyArray:o,isNextLineEmptyAfterIndex:a,getStringWidth:l}=de(),{locStart:u,locEnd:c,hasSameLocStart:p}=Bt(),h=nr(),d=ir(),f="(?:(?=.)\\s)",m=new RegExp(`^${f}*:`),g=new RegExp(`^${f}*::`);function y(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var b=y(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),v=y(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);var D=y(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function E(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function x(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var S=y(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),C=y(["FunctionExpression","ArrowFunctionExpression"]);function A(e){return _(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var T=y(["JSXElement","JSXFragment"]);function P(e){return"get"===e.kind||"set"===e.kind}function F(e){return P(e)||p(e,e.value)}var I=y(["BinaryExpression","LogicalExpression","NGPipeExpression"]);var N=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);var k=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];var _=y(["CallExpression","OptionalCallExpression"]),O=y(["MemberExpression","OptionalMemberExpression"]);function M(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function L(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function B(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}var R={"==":!0,"!=":!0,"===":!0,"!==":!0},j={"*":!0,"/":!0,"%":!0},$={">>":!0,">>>":!0,"<<":!0};var U=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function z(e){return U.get(e)}var V=new WeakMap;function W(e){if(V.has(e))return V.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),V.set(e,t),t}var H=new WeakMap;function q(e){if(H.has(e))return H.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),H.set(e,t),t}function G(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function K(e){return e&&(e.prettierIgnore||Y(e,X.PrettierIgnore))}var X={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},J=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&X.Leading&&!r.leading||e&X.Trailing&&!r.trailing||e&X.Dangling&&(r.leading||r.trailing)||e&X.Block&&!h(r)||e&X.Line&&!b(r)||e&X.First&&0!==n||e&X.Last&&n!==i.length-1||e&X.PrettierIgnore&&!G(r)||t&&!t(r))};function Y(e,t,r){if(!o(null==e?void 0:e.comments))return!1;let n=J(t,r);return!n||e.comments.some(n)}function Z(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=J(t,r);return n?e.comments.filter(n):e.comments}function Q(e){return _(e)||"NewExpression"===e.type||"ImportExpression"===e.type}var ee=Symbol("ifWithoutBlockAndSameLineComment");function te(e){return"TSAsExpression"===e.type||"TSSatisfiesExpression"===e.type}t.exports={getFunctionParameters:W,iterateFunctionParametersPath:function(e,t){let r=e.getValue(),n=0,i=e=>t(e,n++);r.this&&e.call(i,"this"),Array.isArray(r.parameters)?e.each(i,"parameters"):Array.isArray(r.params)&&e.each(i,"params"),r.rest&&e.call(i,"rest")},getCallArguments:q,iterateCallArgumentsPath:function(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call((e=>t(e,0)),"source"),r.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")},hasRestParameter:function(e){var t;if(e.rest)return!0;let r=W(e);return"RestElement"===(null===(t=n(r))||void 0===t?void 0:t.type)},getLeftSide:function(e){var t,r,n,i,s,o;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e.left)&&void 0!==o?o:e.test)&&void 0!==s?s:e.callee)&&void 0!==i?i:e.object)&&void 0!==n?n:e.tag)&&void 0!==r?r:e.argument)&&void 0!==t?t:e.expression},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){let t=e.getParentNode();return"declaration"===e.getName()&&v(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e||"-"===e?e+t:t},hasFlowAnnotationComment:function(e){let t=null==e?void 0:e[0];return h(t)&&g.test(t.value)},hasFlowShorthandAnnotationComment:function(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&h(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&m.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:function(e,t){return T(t)?K(t):Y(t,X.Leading,(t=>i(e,c(t))))},hasNakedLeftSide:function(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||_(e)||O(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||te(e)||"TSNonNullExpression"===e.type},hasNode:function e(t,r){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return t.some((t=>e(t,r)));let n=r(t);return"boolean"==typeof n?n:Object.values(t).some((t=>e(t,r)))},hasIgnoreComment:function(e){return K(e.getValue())},hasNodeIgnoreComment:K,identity:function(e){return e},isBinaryish:I,isCallLikeExpression:Q,isEnabledHackPipeline:function(e){return Boolean(e.__isUsingHackPipeline)},isLineComment:b,isPrettierIgnoreComment:G,isCallExpression:_,isMemberExpression:O,isExportDeclaration:v,isFlowAnnotationComment:function(e,t){let r=u(t),n=s(e,c(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(C(r)){if(t+=1,t>1)return!0}else if(_(r))for(let e of r.arguments)if(C(e))return!0;return!1},isFunctionNotation:F,isFunctionOrArrowExpression:C,isGetterOrSetter:P,isJestEachTemplateLiteral:function(e,t){let r=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&r.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&r.test(t.tag.object.object.name))},isJsxNode:T,isLiteral:D,isLongCurriedCallExpression:function(e){let t=e.getValue(),r=e.getParentNode();return _(t)&&_(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0},isSimpleCallArgument:function e(t,r){if(r>=2)return!1;let n=t=>e(t,r+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&l(i)>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"PrivateIdentifier"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.quasis.every((e=>!e.value.raw.includes("\n")))&&t.expressions.every(n):"ObjectExpression"===t.type?t.properties.every((e=>!e.computed&&(e.shorthand||e.value&&n(e.value)))):"ArrayExpression"===t.type?t.elements.every((e=>null===e||n(e))):Q(t)?("ImportExpression"===t.type||e(t.callee,r))&&q(t).every(n):O(t)?e(t.object,r)&&e(t.property,r):"UnaryExpression"===t.type&&{"!":!0,"-":!0,"+":!0,"~":!0}[t.operator]||"UpdateExpression"===t.type&&{"++":!0,"--":!0}[t.operator]?e(t.argument,r):"TSNonNullExpression"===t.type&&e(t.expression,r)))},isMemberish:function(e){return O(e)||"BindExpression"===e.type&&Boolean(e.object)},isNumericLiteral:E,isSignedNumericLiteral:function(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&E(e.argument)},isObjectProperty:function(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)},isObjectType:S,isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||F(e))},isSimpleType:function(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!N.has(e.type))},isSimpleNumber:M,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(Y(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(O(e)){let t=e;for(;O(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,Y(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))},isStringLiteral:x,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&x(e.key)&&B(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||M(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&L(e)||"TaggedTemplateExpression"===e.type&&L(e.quasi))&&!i(t,u(e),{backwards:!0})},isTestCall:function e(t,r){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(A(t)&&r&&e(r))return C(t.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(?:before|after)(?:Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(t))return A(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("TemplateLiteral"===t.arguments[0].type||x(t.arguments[0]))&&function(e){return d(e,k)}(t.callee))return!(t.arguments[2]&&!E(t.arguments[2]))&&((2===t.arguments.length?C(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&W(t.arguments[1]).length<=1)||A(t.arguments[1]));return!1},isTheOnlyJsxElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!T(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||p(e,e.typeAnnotation))},isNextLineEmpty:(e,t)=>{let{originalText:r}=t;return a(r,c(e))},needsHardlineAfterDanglingComment:function(e){if(!Y(e))return!1;let t=n(Z(e,X.Dangling));return t&&!h(t)},rawText:B,shouldPrintComma:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return Boolean($[e])||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return!(z(t)!==z(e)||"**"===e||R[e]&&R[t]||"%"===t&&j[e]||"%"===e&&j[t]||t!==e&&j[t]&&j[e]||$[e]&&$[t])},startsWithNoLookaheadToken:function e(t,r){switch(t.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return e(t.left,r);case"MemberExpression":case"OptionalMemberExpression":return e(t.object,r);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,r);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,r);case"ConditionalExpression":return e(t.test,r);case"UpdateExpression":return!t.prefix&&e(t.argument,r);case"BindExpression":return t.object&&e(t.object,r);case"SequenceExpression":return e(t.expressions[0],r);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,r);default:return r(t)}},getPrecedence:z,hasComment:Y,getComments:Z,CommentCheckFlags:X,markerForIfWithoutBlockAndSameLineComment:ee,isTSTypeExpression:te}}}),or=v({"src/language-js/print/template-literal.js"(e,t){w();var r=F(),{getStringWidth:n,getIndentSize:i}=de(),{builders:{join:s,hardline:o,softline:a,group:l,indent:u,align:c,lineSuffixBoundary:p,addAlignmentToDoc:h},printer:{printDocToString:d},utils:{mapDoc:f}}=W(),{isBinaryish:m,isJestEachTemplateLiteral:g,isSimpleTemplateLiteral:y,hasComment:b,isMemberExpression:v,isTSTypeExpression:D}=sr();function E(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:function(e,t,f){let E=e.getValue();if("TemplateLiteral"===E.type&&g(E,e.getParentNode())){let i=function(e,t,i){let a=e.getNode(),l=a.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(l.length>1||l.some((e=>e.length>0))){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let h=[],f=c.map((e=>"${"+d(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;e<a.quasis.length;e++){let t=r(m),n=f[e-1];t.cells.push(n),n.includes("\n")&&(t.hasLineBreak=!0),a.quasis[e].value.raw.includes("\n")&&m.push({hasLineBreak:!1,cells:[]})}let g=Math.max(l.length,...m.map((e=>e.cells.length))),y=Array.from({length:g}).fill(0),b=[{cells:l},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of b.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())y[t]=Math.max(y[t],n(r));return h.push(p,"`",u([o,s(o,b.map((e=>s(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(y[r]-n(t))))))))]),o,"`"),h}}(e,f,t);if(i)return i}let x="expressions";"TSTemplateLiteralType"===E.type&&(x="types");let w=[],S=e.map(t,x),C=y(E);return C&&(S=S.map((e=>d(e,Object.assign(Object.assign({},f),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),w.push(p,"`"),e.each((e=>{let r=e.getName();if(w.push(t()),r<S.length){let{tabWidth:t}=f,n=e.getValue(),s=i(n.value.raw,t),o=S[r];if(!C){let e=E[x][r];(b(e)||v(e)||"ConditionalExpression"===e.type||"SequenceExpression"===e.type||D(e)||m(e))&&(o=[u([a,o]),a])}let d=0===s&&n.value.raw.endsWith("\n")?c(Number.NEGATIVE_INFINITY,o):h(o,s,t);w.push(l(["${",d,p,"}"]))}}),"quasis"),w.push("`"),w},printTemplateExpressions:function(e,t){return e.map((e=>function(e,t){let r=e.getValue(),n=t();return b(r)&&(n=l([u([a,n]),a])),["${",n,p,"}"]}(e,t)),"expressions")},escapeTemplateCharacters:function(e,t){return f(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):E(e):e))},uncookTemplateElementValue:E}}}),ar=v({"src/language-js/embed/markdown.js"(e,t){w();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:s}}=W(),{escapeTemplateCharacters:o}=or();t.exports=function(e,t,a){let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`")),u=function(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(l),c=""!==u;c&&(l=l.replace(new RegExp(`^${u}`,"gm"),""));let p=o(a(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",c?r([n,p]):[i,s(p)],n,"`"]}}}),lr=v({"src/language-js/embed/css.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{indent:n,hardline:i,softline:s},utils:{mapDoc:o,replaceEndOfLine:a,cleanDoc:l}}=W(),{printTemplateExpressions:u}=or();t.exports=function(e,t,c){let p=e.getValue(),h=p.quasis.map((e=>e.value.raw)),d=0;return function(e,t,u){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let c=function(e,t){if(!r(t))return e;let n=0,i=o(l(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?a(e):(n++,t[e]))):e));return t.length===n?i:null}(e,u);if(!c)throw new Error("Couldn't insert all the expressions");return["`",n([i,c]),s,"`"]}(c(h.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+d+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),p,u(e,t))}}}),ur=v({"src/language-js/embed/graphql.js"(e,t){w();var{builders:{indent:r,join:n,hardline:i}}=W(),{escapeTemplateCharacters:s,printTemplateExpressions:o}=or();function a(e){let t=[],r=!1,s=e.map((e=>e.trim()));for(let[e,n]of s.entries())""!==n&&(""===s[e-1]&&r?t.push([i,n]):t.push(n),r=!0);return 0===t.length?null:n(i,t)}t.exports=function(e,t,l){let u=e.getValue(),c=u.quasis.length;if(1===c&&""===u.quasis[0].value.raw.trim())return"``";let p=o(e,t),h=[];for(let e=0;e<c;e++){let t=0===e,r=e===c-1,n=u.quasis[e].value.cooked,i=n.split("\n"),o=i.length,d=p[e],f=o>2&&""===i[0].trim()&&""===i[1].trim(),m=o>2&&""===i[o-1].trim()&&""===i[o-2].trim(),g=i.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!r&&/#[^\n\r]*$/.test(i[o-1]))return null;let y=null;y=g?a(i):l(n,{parser:"graphql"},{stripTrailingHardline:!0}),y?(y=s(y,!1),!t&&f&&h.push(""),h.push(y),!r&&m&&h.push("")):!t&&!r&&f&&h.push(""),d&&h.push(d)}return["`",r([i,n(i,h)]),i,"`"]}}}),cr=v({"src/language-js/embed/html.js"(e,t){w();var{builders:{indent:r,line:n,hardline:i,group:s},utils:{mapDoc:o}}=W(),{printTemplateExpressions:a,uncookTemplateElementValue:l}=or(),u=0;t.exports=function(e,t,c,p,h){let{parser:d}=h,f=e.getValue(),m=u;u=u+1>>>0;let g=e=>`PRETTIER_HTML_PLACEHOLDER_${e}_${m}_IN_JS`,y=f.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+g(t))).join(""),b=a(e,t);if(0===b.length&&0===y.trim().length)return"``";let v=new RegExp(g("(\\d+)"),"g"),D=0,E=c(y,{parser:d,__onHtmlRoot(e){D=e.children.length}},{stripTrailingHardline:!0}),x=o(E,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(v);for(let e=0;e<r.length;e++){let n=r[e];if(e%2==0){n&&(n=l(n),p.__embeddedInHtml&&(n=n.replace(/<\/(script)\b/gi,"<\\/$1")),t.push(n));continue}let i=Number(n);t.push(b[i])}return t})),w=/^\s/.test(y)?" ":"",S=/\s$/.test(y)?" ":"",C="ignore"===p.htmlWhitespaceSensitivity?i:w&&S?n:null;return s(C?["`",r([C,s(x)]),C,"`"]:["`",w,D>1?r(s(x)):s(x),S,"`"])}}}),pr=v({"src/language-js/embed.js"(e,t){w();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=sr(),s=ar(),o=lr(),a=ur(),l=cr();function u(e){return function(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.openingElement.attributes.some((e=>"jsx"===e.name.name))||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}(e)||function(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return p(r.object)||h(r);case"CallExpression":return p(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(p(r.callee.object.object)||h(r.callee.object))||"CallExpression"===r.callee.object.type&&p(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}(e)||function(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}(e)||function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...c)}(e)?"css":function(e){let t=e.getValue(),r=e.getParentNode();return d(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.callee.name)}(e)?"graphql":function(e){return d(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}(e)?"html":function(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...c)}(e)?"angular":function(e){let t=e.getValue(),r=e.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===t.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.tag.name)}(e)?"markdown":void 0}var c=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function p(e){return"Identifier"===e.type&&"styled"===e.name}function h(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function d(e,t){return r(e,n.Block|n.Leading,(e=>{let{value:r}=e;return r===` ${t} `}))}t.exports=function(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||function(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}(i))return;let c=u(e);if(c){if("markdown"===c)return s(e,t,r);if("css"===c)return o(e,t,r);if("graphql"===c)return a(e,t,r);if("html"===c||"angular"===c)return l(e,t,r,n,{parser:c})}}}}),hr=v({"src/language-js/clean.js"(e,t){w();var r=nr(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function s(e,t,n){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(let{type:e,expression:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&i(r);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));let s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&i(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&i(n.value)}}var o;return"TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&i(t.quasi),"TemplateLiteral"===e.type&&((null===(o=e.leadingComments)||void 0===o?void 0:o.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===` ${t} `)))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&i(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}s.ignoredProperties=n,t.exports=s}}),dr={};function fr(){if(typeof Pr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])Pr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");Pr="LE"}}return Pr}function mr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function gr(){return[]}function yr(){return 0}function br(){return Number.MAX_VALUE}function vr(){return Number.MAX_VALUE}function Dr(){return[]}function Er(){return"Browser"}function xr(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function wr(){}function Sr(){}function Cr(){return"javascript"}function Ar(){return"browser"}function Tr(){return"/tmp"}D(dr,{EOL:()=>Ir,arch:()=>Cr,cpus:()=>Dr,default:()=>Nr,endianness:()=>fr,freemem:()=>br,getNetworkInterfaces:()=>Sr,hostname:()=>mr,loadavg:()=>gr,networkInterfaces:()=>wr,platform:()=>Ar,release:()=>xr,tmpDir:()=>Tr,tmpdir:()=>Fr,totalmem:()=>vr,type:()=>Er,uptime:()=>yr});var Pr,Fr,Ir,Nr,kr=b({"node-modules-polyfills:os"(){w(),Nr={EOL:Ir="\n",tmpdir:Fr=Tr,tmpDir:Tr,networkInterfaces:wr,getNetworkInterfaces:Sr,release:xr,type:Er,cpus:Dr,totalmem:vr,freemem:br,uptime:yr,loadavg:gr,hostname:mr,endianness:fr}}}),_r=v({"node-modules-polyfills-commonjs:os"(e,t){w();var r=(kr(),x(dr));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Or=v({"node_modules/detect-newline/index.js"(e,t){w();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),Mr=v({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=_r();return t=function(){return e},e}function r(){let e=function(e){return e&&e.__esModule?e:{default:e}}(Or());return r=function(){return e},e}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=function(e){let t=e.match(s);return t?t[0].trimLeft():""},e.parse=function(e){return h(e).pragmas},e.parseWithComments=h,e.print=function(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,o=" *",a=Object.keys(i),l=a.map((e=>d(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>`${o} ${e}${s}`)).join("");if(!n){if(0===a.length)return"";if(1===a.length&&!Array.isArray(i[a[0]])){let e=i[a[0]];return`/** ${d(a[0],e)[0]} */`}}let u=n.split(s).map((e=>`${o} ${e}`)).join(s)+s;return"/**"+s+(n?u:"")+(n&&a.length?o+s:"")+l+" */"},e.strip=function(e){let t=e.match(s);return t&&t[0]?e.substring(t[0].length):e};var n=/\*\/$/,i=/^\/\*\*?/,s=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,a=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,u=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,c=/(\r?\n|^) *\* ?/g,p=[];function h(e){let s=(0,r().default)(e)||t().EOL;e=e.replace(i,"").replace(n,"").replace(c,"$1");let h="";for(;h!==e;)h=e,e=e.replace(l,`${s}$1 $2${s}`);e=e.replace(a,"").trimRight();let d,f=Object.create(null),m=e.replace(u,"").replace(a,"").trimRight();for(;d=u.exec(e);){let e=d[2].replace(o,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=p.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function d(e,t){return p.concat(t).map((t=>`@${e} ${t}`.trim()))}}}),Lr=v({"src/language-js/utils/get-shebang.js"(e,t){w(),t.exports=function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}}}),Br=v({"src/language-js/pragma.js"(e,t){w();var{parseWithComments:r,strip:n,extract:i,print:s}=Mr(),{normalizeEndOfLine:o}=P(),a=Lr();function l(e){let t=a(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:o}=r(n);return{shebang:t,text:e,pragmas:s,comments:o}}t.exports={hasPragma:function(e){let t=Object.keys(l(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:r,pragmas:i,comments:a}=l(e),u=n(r),c=s({pragmas:Object.assign({format:""},i),comments:a.trimStart()});return(t?`${t}\n`:"")+o(c)+(u.startsWith("\n")?"\n":"\n\n")+u}}}}),Rr=v({"src/language-js/utils/is-type-cast-comment.js"(e,t){w();var r=nr();t.exports=function(e){return r(e)&&"*"===e.value[0]&&/@(?:type|satisfies)\b/.test(e.value)}}}),jr=v({"src/language-js/comments.js"(e,t){w();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:o,addLeadingComment:a,addTrailingComment:l,addDanglingComment:u,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=de(),{getFunctionParameters:h,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:g,hasIgnoreComment:y,isCallLikeExpression:b,getCallArguments:v,isCallExpression:D,isMemberExpression:E,isObjectProperty:x,isLineComment:S,getComments:C,CommentCheckFlags:A,markerForIfWithoutBlockAndSameLineComment:T}=sr(),{locStart:P,locEnd:F}=Bt(),I=nr(),N=Rr();function k(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?a(r,t):u(e,t)}function _(e,t){"BlockStatement"===e.type?k(e,t):a(e,t)}function O(e){let{comment:t,followingNode:r}=e;return!(!r||!N(t)||(a(r,t),0))}function M(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;if("IfStatement"!==(null==n?void 0:n.type)||!i)return!1;if(")"===s(o,t,F))return l(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)l(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===r.loc.start.line;e&&i?u(r,t,T):u(n,t)}return!0}return"BlockStatement"===i.type?(k(i,t),!0):"IfStatement"===i.type?(_(i.consequent,t),!0):n.consequent===i&&(a(i,t),!0)}function L(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:o}=e;return!("WhileStatement"!==(null==n?void 0:n.type)||!i||(")"===s(o,t,F)?(l(r,t),0):"BlockStatement"===i.type?(k(i,t),0):n.body!==i||(a(i,t),0)))}function B(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TryStatement"!==(null==n?void 0:n.type)&&"CatchClause"!==(null==n?void 0:n.type)||!i||("CatchClause"===n.type&&r?(l(r,t),0):"BlockStatement"===i.type?(k(i,t),0):"TryStatement"===i.type?(_(i.finalizer,t),0):"CatchClause"!==i.type||(_(i.body,t),0)))}function R(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!E(r)||"Identifier"!==(null==n?void 0:n.type)||(a(r,t),0))}function j(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}=e,l=r&&!o(s,F(r),P(t));return!(r&&l||"ConditionalExpression"!==(null==n?void 0:n.type)&&"TSConditionalType"!==(null==n?void 0:n.type)||!i||(a(i,t),0))}function $(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!x(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type||(l(n.value.left,t),0))}var U=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function z(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:s}=e;if(U.has(null==i?void 0:i.type)){if(p(i.decorators)&&(!s||"Decorator"!==s.type))return l(r(i.decorators),t),!0;if(i.body&&s===i.body)return k(i.body,t),!0;if(s){if(i.superClass&&s===i.superClass&&n&&(n===i.id||n===i.typeParameters))return l(n,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&s===i[e][0])return!n||n!==i.id&&n!==i.typeParameters&&n!==i.superClass?u(i,t,e):l(n,t),!0}}return!1}var V=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function W(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!!(n&&r&&"("===s(i,t,F)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==s(i,r,F)||"Decorator"===(null==r?void 0:r.type)&&V.has(null==n?void 0:n.type))&&(l(r,t),!0)}var H=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function q(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!("("!==s(i,t,F)||!r||!H.has(null==n?void 0:n.type)||(l(r,t),0))}function G(e){let{comment:t,enclosingNode:r,text:n}=e;if("ArrowFunctionExpression"!==(null==r?void 0:r.type))return!1;let i=c(n,t,F);return!1!==i&&"=>"===n.slice(i,i+2)&&(u(r,t),!0)}function K(e){let{comment:t,enclosingNode:r,text:n}=e;return!(")"!==s(n,t,F)||(r&&(he(r)&&0===h(r).length||b(r)&&0===v(r).length)?(u(r,t),0):"MethodDefinition"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||0!==h(r.value).length||(u(r.value,t),0)))}function X(e){let{comment:t,precedingNode:n,enclosingNode:o,followingNode:a,text:u}=e;if("FunctionTypeParam"===(null==n?void 0:n.type)&&"FunctionTypeAnnotation"===(null==o?void 0:o.type)&&"FunctionTypeParam"!==(null==a?void 0:a.type)||("Identifier"===(null==n?void 0:n.type)||"AssignmentPattern"===(null==n?void 0:n.type))&&o&&he(o)&&")"===s(u,t,F))return l(n,t),!0;if("FunctionDeclaration"===(null==o?void 0:o.type)&&"BlockStatement"===(null==a?void 0:a.type)){let e=(()=>{let e=h(o);if(e.length>0)return i(u,F(r(e)));let t=i(u,F(o.id));return!1!==t&&i(u,t+1)})();if(P(t)>e)return k(a,t),!0}return!1}function J(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(a(r,t),!0)}function Y(e){let{comment:t,enclosingNode:r}=e;return!("ContinueStatement"!==(null==r?void 0:r.type)&&"BreakStatement"!==(null==r?void 0:r.type)||r.label||(l(r,t),0))}function Z(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(D(n)&&r&&n.callee===r&&n.arguments.length>0)&&(a(n.arguments[0],t),!0)}function Q(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"UnionTypeAnnotation"===(null==n?void 0:n.type)||"TSUnionType"===(null==n?void 0:n.type)?(d(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!r&&(l(r,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&d(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function ee(e){let{comment:t,enclosingNode:r}=e;return!!x(r)&&(a(r,t),!0)}function te(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:s}=e;return i&&i.body&&0===i.body.length?(s?u(i,t):a(i,t),!0):"Program"!==(null==r?void 0:r.type)||0!==(null==r?void 0:r.body.length)||p(r.directives)?"Program"===(null==n?void 0:n.type)&&0===(null==n?void 0:n.body.length)&&"ModuleExpression"===(null==r?void 0:r.type)&&(u(n,t),!0):(s?u(r,t):a(r,t),!0)}function re(e){let{comment:t,enclosingNode:r}=e;return("ForInStatement"===(null==r?void 0:r.type)||"ForOfStatement"===(null==r?void 0:r.type))&&(a(r,t),!0)}function ne(e){let{comment:t,precedingNode:r,enclosingNode:i,text:s}=e;if("ImportSpecifier"===(null==i?void 0:i.type)||"ExportSpecifier"===(null==i?void 0:i.type))return a(i,t),!0;let o="ImportSpecifier"===(null==r?void 0:r.type)&&"ImportDeclaration"===(null==i?void 0:i.type),u="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!o&&!u||!n(s,F(t))||(l(r,t),0))}function ie(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(a(r,t),!0)}var se=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),oe=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function ae(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!se.has(null==r?void 0:r.type)||!n||!oe.has(n.type)&&!I(t)||(a(n,t),0))}function le(e){let{comment:t,enclosingNode:r,followingNode:n,text:i}=e;return!(n||"TSMethodSignature"!==(null==r?void 0:r.type)&&"TSDeclareFunction"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||";"!==s(i,t,F)||(l(r,t),0))}function ue(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(d(t)&&"TSMappedType"===(null==r?void 0:r.type)&&"TSTypeParameter"===(null==n?void 0:n.type)&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function ce(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TSMappedType"!==(null==n?void 0:n.type)||("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(a(i.name,t),0):"TSTypeParameter"!==(null==r?void 0:r.type)||!r.constraint||(l(r.constraint,t),0)))}function pe(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||!n||n!==r.consequent[0]||("BlockStatement"===n.type&&S(t)?k(n,t):u(r,t),0))}function he(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}t.exports={handleOwnLineComment:function(e){return[ue,X,R,M,L,B,z,re,Q,te,ne,ie,W,J,Y].some((t=>t(e)))},handleEndOfLineComment:function(e){return[O,X,j,ne,M,L,B,z,J,Z,ee,te,ae,Y,pe].some((t=>t(e)))},handleRemainingComment:function(e){return[ue,M,L,$,K,W,te,G,q,ce,Y,le].some((t=>t(e)))},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===h(e.value).length&&!e.value.returnType&&!p(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){let t=e.getValue(),r=e.getParentNode();return(t&&(f(t)||m(t)||D(r)&&(g(C(n=t,A.Leading))||g(C(n,A.Trailing))))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!y(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type);var n}}}}),$r=v({"src/language-js/needs-parens.js"(e,t){w();var r=F(),n=ae(),{getFunctionParameters:i,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:o,hasNakedLeftSide:a,hasNode:l,isBitwiseOperator:u,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:h,isCallExpression:d,isMemberExpression:f,isObjectProperty:m,isTSTypeExpression:g}=sr();function y(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),a=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){return"ObjectExpression"===e.type}(a)&&b(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(a))return!1;if("flow"!==t.parser&&o(e.getValue()))return!0;if("Identifier"===a.type){if(a.extra&&a.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(a.name)||"left"===s&&("async"===a.name&&!r.await||"let"===a.name)&&"ForOfStatement"===r.type)return!0;if("let"===a.name){var y;let t=null===(y=e.findAncestor((e=>"ForOfStatement"===e.type)))||void 0===y?void 0:y.left;if(t&&c(t,(e=>e===a)))return!0}if("object"===s&&"let"===a.name&&"MemberExpression"===r.type&&r.computed&&!r.optional){let t=e.findAncestor((e=>"ExpressionStatement"===e.type||"ForStatement"===e.type||"ForInStatement"===e.type)),r=t?"ExpressionStatement"===t.type?t.expression:"ForStatement"===t.type?t.init:t.left:void 0;if(r&&c(r,(e=>e===a)))return!0}return!1}if("ObjectExpression"===a.type||"FunctionExpression"===a.type||"ClassExpression"===a.type||"DoExpression"===a.type){var D;let t=null===(D=e.findAncestor((e=>"ExpressionStatement"===e.type)))||void 0===D?void 0:D.expression;if(t&&c(t,(e=>e===a)))return!0}switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===s&&("ArrowFunctionExpression"===a.type||"AssignmentExpression"===a.type||"AwaitExpression"===a.type||"BinaryExpression"===a.type||"ConditionalExpression"===a.type||"LogicalExpression"===a.type||"NewExpression"===a.type||"ObjectExpression"===a.type||"SequenceExpression"===a.type||"TaggedTemplateExpression"===a.type||"UnaryExpression"===a.type||"UpdateExpression"===a.type||"YieldExpression"===a.type||"TSNonNullExpression"===a.type))return!0;break;case"ExportDefaultDeclaration":return v(e,t)||"SequenceExpression"===a.type;case"Decorator":if("expression"===s){if(f(a)&&a.computed)return!0;let e=!1,r=!1,n=a;for(;n;)switch(n.type){case"MemberExpression":r=!0,n=n.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ArrowFunctionExpression":if("body"===s&&"SequenceExpression"!==a.type&&c(a,(e=>"ObjectExpression"===e.type)))return!0}switch(a.type){case"UpdateExpression":if("UnaryExpression"===r.type)return a.prefix&&("++"===a.operator&&"+"===r.operator||"--"===a.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return a.operator===r.operator&&("+"===a.operator||"-"===a.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"BinaryExpression":return"left"===s&&"**"===r.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type||"in"===a.operator&&function(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}return!1}(e))return!0;if("|>"===a.operator&&a.extra&&a.extra.parenthesized){let t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(r.type){case"TSSatisfiesExpression":case"TSAsExpression":return!g(a);case"ConditionalExpression":return g(a);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===s;case"ClassExpression":case"ClassDeclaration":return"superClass"===s;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"AssignmentExpression":case"AssignmentPattern":return"left"===s&&("TSTypeAssertion"===a.type||g(a));case"LogicalExpression":if("LogicalExpression"===a.type)return r.operator!==a.operator;case"BinaryExpression":{let{operator:e,type:t}=a;if(!e&&"TSTypeAssertion"!==t)return!0;let n=h(e),i=r.operator,o=h(i);return o>n||"right"===s&&o===n||o===n&&!p(i,e)||(o<n&&"%"===e?"+"===i||"-"===i:!!u(i))}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==s;case"ArrowFunctionExpression":return"body"!==s;default:return!0}case"YieldExpression":if("UnaryExpression"===r.type||"AwaitExpression"===r.type||g(r)||"TSNonNullExpression"===r.type)return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"BinaryExpression":return!(!a.argument&&"|>"===r.operator);default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if("extendsType"===s&&"TSConditionalType"===r.type){if("TSConditionalType"===a.type)return!0;let{typeAnnotation:e}=a.returnType||a.typeAnnotation;if("TSTypePredicate"===e.type&&e.typeAnnotation&&(e=e.typeAnnotation.typeAnnotation),"TSInferType"===e.type&&e.typeParameter.constraint)return!0}if("checkType"===s&&"TSConditionalType"===r.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===r.type||"TSIntersectionType"===r.type)&&r.types.length>1&&(!a.types||a.types.length>1))return!0;case"TSInferType":if("TSInferType"===a.type&&"TSRestType"===r.type)return!1;case"TSTypeOperator":return"TSArrayType"===r.type||"TSOptionalType"===r.type||"TSRestType"===r.type||"objectType"===s&&"TSIndexedAccessType"===r.type||"TSTypeOperator"===r.type||"TSTypeAnnotation"===r.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return"objectType"===s&&"TSIndexedAccessType"===r.type||"elementType"===s&&"TSArrayType"===r.type;case"TypeofTypeAnnotation":return"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type)||"elementType"===s&&"ArrayTypeAnnotation"===r.type;case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===s&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===r.type&&null===r.name&&i(a).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===s&&"IndexedAccessType"===r.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof a.value&&"ExpressionStatement"===r.type&&!r.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===s&&"MemberExpression"===r.type&&"number"==typeof a.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===s&&"ArrowFunctionExpression"===r.type||("key"!==s||"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type||!r.computed)&&("init"!==s&&"update"!==s||"ForStatement"!==r.type)&&("ExpressionStatement"===r.type?"ObjectPattern"===a.left.type:!("key"===s&&"TSPropertySignature"===r.type||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&t&&"ForStatement"===t.type&&(t.init===r||t.update===r)||"value"===s&&"Property"===r.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(r)||"NGChainedExpression"===r.type))}case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return"|>"!==r.operator||a.extra&&a.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===s;default:return!1}case"ClassExpression":return!!n(a.decorators)||"NewExpression"===r.type&&"callee"===s;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===s&&"MemberExpression"===r.type||"callee"===s&&("CallExpression"===r.type||"NewExpression"===r.type)||"TSNonNullExpression"===r.type&&"MemberExpression"===t.type&&t.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)){let e=a;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)||"object"===s&&f(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!a.extra||!a.extra.parenthesized)||"ArrayExpression"===r.type||d(r)&&r.arguments[s]===a||"right"===s&&"NGPipeExpression"===r.type||"property"===s&&"MemberExpression"===r.type||"AssignmentExpression"===r.type);case"JSXFragment":case"JSXElement":return"callee"===s||"left"===s&&"BinaryExpression"===r.type&&"<"===r.operator||"ArrayExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"AssignmentExpression"!==r.type&&"AssignmentPattern"!==r.type&&"BinaryExpression"!==r.type&&"NewExpression"!==r.type&&"ConditionalExpression"!==r.type&&"ExpressionStatement"!==r.type&&"JsExpressionRoot"!==r.type&&"JSXAttribute"!==r.type&&"JSXElement"!==r.type&&"JSXExpressionContainer"!==r.type&&"JSXFragment"!==r.type&&"LogicalExpression"!==r.type&&!d(r)&&!m(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===s&&"ArrowFunctionExpression"===r.type&&function(e){return l(e,(e=>"ObjectTypeAnnotation"===e.type&&l(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}(a)}return!1}function b(e){let t=e.getValue(),n=e.getParentNode(),i=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof i&&n.arguments[i]===t&&n.arguments.length-1===i)return e.callParent(b);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return r(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(b);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(b);break;case"UnaryExpression":if(n.prefix)return e.callParent(b)}return!1}function v(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!y(e,t):!(!a(r)||"ExportDefaultDeclaration"!==n.type&&y(e,t))&&e.call((e=>v(e,t)),...s(e,r))}t.exports=y}}),Ur=v({"src/language-js/print-preprocess.js"(e,t){w(),t.exports=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}}}),zr=v({"src/language-js/print/html-binding.js"(e,t){w();var{builders:{join:r,line:n,group:i,softline:s,indent:o}}=W();t.exports={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,a){let l=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(l,t),"File"===l.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",n],e.map(a,"params")),{params:l}=e.getValue();return 1===l.length?t:["(",o([s,i(t)]),s,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",n],e.map(a,"params"))),"program","body",0)}}}}}),Vr=v({"src/language-js/print/binaryish.js"(e,t){w();var{printComments:r}=Ht(),{getLast:n}=de(),{builders:{join:i,line:s,softline:o,group:a,indent:l,align:u,indentIfBreak:c},utils:{cleanDoc:p,getDocParts:h,isConcat:d}}=W(),{hasLeadingOwnLineComment:f,isBinaryish:m,isJsxNode:g,shouldFlatten:y,hasComment:b,CommentCheckFlags:v,isCallExpression:D,isMemberExpression:E,isObjectProperty:x,isEnabledHackPipeline:S}=sr(),C=0;function A(e,t,n,o,c){let g=e.getValue();if(!m(g))return[a(t())];let D=[];y(g.operator,g.left.operator)?D=e.call((e=>A(e,t,n,!0,c)),"left"):D.push(a(t("left")));let E,x=T(g),w=("|>"===g.operator||"NGPipeExpression"===g.type||"|"===g.operator&&"__vue_expression"===n.parser)&&!f(n.originalText,g.right),C="NGPipeExpression"===g.type?"|":g.operator,P="NGPipeExpression"===g.type&&g.arguments.length>0?a(l([s,": ",i([s,": "],e.map(t,"arguments").map((e=>u(2,a(e)))))])):"";if(x)E=[C," ",t("right"),P];else{let r=S(n)&&"|>"===C?e.call((e=>A(e,t,n,!0,c)),"right"):t("right");E=[w?s:"",C,w?" ":s,r,P]}let F=e.getParentNode(),I=b(g.left,v.Trailing|v.Line),N=I||!(c&&"LogicalExpression"===g.type)&&F.type!==g.type&&g.left.type!==g.type&&g.right.type!==g.type;if(D.push(w?"":" ",N?a(E,{shouldBreak:I}):E),o&&b(g)){let t=p(r(e,D,n));return d(t)||"fill"===t.type?h(t):[t]}return D}function T(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||g(e.right))}t.exports={printBinaryishExpression:function(e,t,r){let i=e.getValue(),s=e.getParentNode(),u=e.getParentNode(1),p=i!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),h=S(t)&&"|>"===i.operator,d=A(e,r,t,!1,p);if(p)return d;if(h)return a(d);if(D(s)&&s.callee===i||"UnaryExpression"===s.type||E(s)&&!s.computed)return a([l([o,...d]),o]);let f="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===u.type||"|"!==i.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==i.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===u.type&&1===u.body.length)||i===s.body&&"ArrowFunctionExpression"===s.type||i!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==u.type&&"ThrowStatement"!==u.type&&!D(u)||"TemplateLiteral"===s.type,b="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||x(s),v=m(i.left)&&y(i.operator,i.left.operator);if(f||T(i)&&!v||!T(i)&&b)return a(d);if(0===d.length)return"";let w=g(i.right),P=d.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),F=d.slice(0,-1===P?1:P+1),I=d.slice(F.length,w?-1:void 0),N=Symbol("logicalChain-"+ ++C),k=a([...F,l(I)],{id:N});if(!w)return k;let _=n(d);return a([k,c(_,{groupId:N})])},shouldInlineLogicalExpression:T}}}),Wr=v({"src/language-js/print/angular.js"(e,t){w();var{builders:{join:r,line:n,group:i}}=W(),{hasNode:s,hasComment:o,getComments:a}=sr(),{printBinaryishExpression:l}=Vr();function u(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}t.exports={printAngular:function(e,t,c){let p=e.getValue();if(p.type.startsWith("NG"))switch(p.type){case"NGRoot":return[c("node"),o(p.node)?" //"+a(p.node)[0].value.trimEnd():""];case"NGPipeExpression":return l(e,t,c);case"NGChainedExpression":return i(r([";",n],e.map((e=>function(e){return s(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?c():["(",c(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[p.prefix,": ",p.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":u(e.getValue(),t,p)?" ":[";",n],c()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(p.name)?p.name:JSON.stringify(p.name);case"NGMicrosyntaxExpression":return[c("expression"),null===p.alias?"":[" as ",c("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),r=e.getParentNode(),n=u(p,t,r)||(1===t&&("then"===p.key.name||"else"===p.key.name)||2===t&&"else"===p.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[c("key"),n?" ":": ",c("expression")]}case"NGMicrosyntaxLet":return["let ",c("key"),null===p.value?"":[" = ",c("value")]];case"NGMicrosyntaxAs":return[c("key")," as ",c("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(p.type)}.`)}}}}}),Hr=v({"src/language-js/print/jsx.js"(e,t){w();var{printComments:r,printDanglingComments:n,printCommentsSeparately:i}=Ht(),{builders:{line:s,hardline:o,softline:a,group:l,indent:u,conditionalGroup:c,fill:p,ifBreak:h,lineSuffixBoundary:d,join:f},utils:{willBreak:m}}=W(),{getLast:g,getPreferredQuote:y}=de(),{isJsxNode:b,rawText:v,isCallExpression:D,isStringLiteral:E,isBinaryish:x,hasComment:S,CommentCheckFlags:C,hasNodeIgnoreComment:A}=sr(),T=$r(),{willPrintOwnComments:P}=jr(),F=e=>""===e||e===s||e===o||e===a;function I(e,t,r){let n=e.getValue();if("JSXElement"===n.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return"JSXText"===t.type&&!R(t)}(n))return[r("openingElement"),r("closingElement")];let i="JSXElement"===n.type?r("openingElement"):r("openingFragment"),d="JSXElement"===n.type?r("closingElement"):r("closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return[i,...e.map(r,"children"),d];n.children=n.children.map((e=>function(e){return"JSXExpressionContainer"===e.type&&E(e.expression)&&" "===e.expression.value&&!S(e.expression)}(e)?{type:"JSXText",value:" ",raw:" "}:e));let f=n.children.some(b),y=n.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,D="JSXElement"===n.type&&n.openingElement.attributes.length>1,x=m(i)||f||D||y,w="mdx"===e.getParentNode().rootMarker,C=t.singleQuote?"{' '}":'{" "}',A=w?" ":h([C,a]," "),T=function(e,t,r,n,i){let a=[];return e.each(((e,t,l)=>{let u=e.getValue();if("JSXText"===u.type){let e=v(u);if(R(u)){let r,o=e.split(M);if(""===o[0]){if(a.push(""),o.shift(),/\n/.test(o[0])){let e=l[t+1];a.push(k(i,o[1],u,e))}else a.push(n);o.shift()}if(""===g(o)&&(o.pop(),r=o.pop()),0===o.length)return;for(let[e,t]of o.entries())e%2==1?a.push(s):a.push(t);if(void 0!==r)if(/\n/.test(r)){let e=l[t+1];a.push(k(i,g(a),u,e))}else a.push(n);else{let e=l[t+1];a.push(N(i,g(a),u,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&a.push("",o):a.push("",n)}else{let e=r();a.push(e);let n=l[t+1];if(n&&R(n)){let e=B(v(n)).split(M)[0];a.push(N(i,e,u,n))}else a.push(o)}}),"children"),a}(e,0,r,A,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),P=n.children.some((e=>R(e)));for(let e=T.length-2;e>=0;e--){let t=""===T[e]&&""===T[e+1],r=T[e]===o&&""===T[e+1]&&T[e+2]===o,n=(T[e]===a||T[e]===o)&&""===T[e+1]&&T[e+2]===A,i=T[e]===A&&""===T[e+1]&&(T[e+2]===a||T[e+2]===o),s=T[e]===A&&""===T[e+1]&&T[e+2]===A,l=T[e]===a&&""===T[e+1]&&T[e+2]===o||T[e]===o&&""===T[e+1]&&T[e+2]===a;r&&P||t||n||s||l?T.splice(e,2):i&&T.splice(e+1,2)}for(;T.length>0&&F(g(T));)T.pop();for(;T.length>1&&F(T[0])&&F(T[1]);)T.shift(),T.shift();let I=[];for(let[e,t]of T.entries()){if(t===A){if(1===e&&""===T[e-1]){if(2===T.length){I.push(C);continue}I.push([C,o]);continue}if(e===T.length-1){I.push(C);continue}if(""===T[e-1]&&T[e-2]===o){I.push(C);continue}}I.push(t),m(t)&&(x=!0)}let _=P?p(I):l(I,{shouldBreak:!0});if(w)return _;let O=l([i,u([o,_]),o,d]);return x?O:c([l([i,...T,d]),O])}function N(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?a:o:a}function k(e,t,r,n){return e?o:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?o:a:o}function _(e,t,r){return e.selfClosing?[s,"/>"]:function(e,t,r){let n=e.attributes.length>0&&S(g(e.attributes),C.Trailing);return 0===e.attributes.length&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}(e,t,r)?[">"]:[a,">"]}function O(e,t,n){return function(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),D,(e=>"JSXExpressionContainer"===e.type)),s=T(e,r);return l([s?"":h("("),u([a,t]),a,s?"":h(")")],{shouldBreak:i})}(e,r(e,I(e,t,n),t),t)}var M=new RegExp("([ \n\r\t]+)"),L=new RegExp("[^ \n\r\t]"),B=e=>e.replace(new RegExp("(?:^"+M.source+"|"+M.source+"$)"),"");function R(e){return"JSXText"===e.type&&(L.test(v(e))||!/\n/.test(v(e)))}t.exports={hasJsxIgnoreComment:function(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&b(t)&&b(r)))return!1;let n=null;for(let e=r.children.indexOf(t);e>0;e--){let t=r.children[e-1];if("JSXText"!==t.type||R(t)){n=t;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&A(n.expression)},printJsx:function(e,t,c){let p=e.getValue();if(p.type.startsWith("JSX"))switch(p.type){case"JSXAttribute":return function(e,t,r){let n=e.getValue(),s=[];if(s.push(r("name")),n.value){let o;if(E(n.value)){let r=v(n.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:s,quote:a,regex:l}=y(r,t.jsxSingleQuote?"'":'"');r=r.replace(l,s);let{leading:u,trailing:c}=e.call((()=>i(e,t)),"value");o=[u,a,r,a,c]}else o=r("value");s.push("=",o)}return s}(e,t,c);case"JSXIdentifier":return String(p.name);case"JSXNamespacedName":return f(":",[c("namespace"),c("name")]);case"JSXMemberExpression":return f(".",[c("object"),c("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return function(e,t,n){let i=e.getValue();return["{",e.call((e=>{let i=["...",n()],s=e.getValue();return S(s)&&P(e)?[u([a,r(e,i,t)]),a]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}(e,t,c);case"JSXExpressionContainer":return function(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!S(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||D(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||b(t)&&("ConditionalExpression"===e.type||x(e)));return i(n.expression,e.getParentNode(0))?l(["{",r("expression"),d,"}"]):l(["{",u([a,r("expression")]),a,d,"}"])}(e,0,c);case"JSXFragment":case"JSXElement":return O(e,t,c);case"JSXOpeningElement":return function(e,t,r){let n=e.getValue(),i=n.name&&S(n.name)||n.typeParameters&&S(n.typeParameters);if(n.selfClosing&&0===n.attributes.length&&!i)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&1===n.attributes.length&&n.attributes[0].value&&E(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!i&&!S(n.attributes[0]))return l(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let a=n.attributes&&n.attributes.some((e=>e.value&&E(e.value)&&e.value.value.includes("\n"))),c=t.singleAttributePerLine&&n.attributes.length>1?o:s;return l(["<",r("name"),r("typeParameters"),u(e.map((()=>[c,r()]),"attributes")),..._(n,t,i)],{shouldBreak:a})}(e,t,c);case"JSXClosingElement":return function(e,t,r){let n=e.getValue(),i=[];i.push("</");let s=r("name");return S(n.name,C.Leading|C.Line)?i.push(u([o,s]),o):S(n.name,C.Leading|C.Block)?i.push(" ",s):i.push(s),i.push(">"),i}(e,0,c);case"JSXOpeningFragment":case"JSXClosingFragment":return function(e,t){let r=e.getValue(),i=S(r),s=S(r,C.Line),a="JSXOpeningFragment"===r.type;return[a?"<":"</",u([s?o:i&&!a?" ":"",n(e,t,!0)]),s?o:"",">"]}(e,t);case"JSXEmptyExpression":return function(e,t){let r=e.getValue(),i=S(r,C.Line);return[n(e,t,!i),i?o:""]}(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(p.type)}.`)}}}}}),qr=v({"src/language-js/print/misc.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{indent:n,join:i,line:s}}=W(),{isFlowAnnotationComment:o}=sr();function a(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let i=e.getParentNode(),s="DeclareFunction"===i.type&&i.id===n;return o(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[s?"":": ",r("typeAnnotation")]}t.exports={printOptionalToken:function(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printDefiniteToken:function(e){return e.getValue().definite||e.match(void 0,((e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite))?"!":""},printFunctionTypeParameters:function(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""},printBindExpressionCallee:function(e,t,r){return["::",r("callee")]},printTypeScriptModifiers:function(e,t,n){let s=e.getValue();return r(s.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:a,printRestSpread:function(e,t,r){return["...",r("argument"),a(e,t,r)]},adjustClause:function(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([s,t])},printDirective:function(e,t){let r=e.slice(1,-1);if(r.includes('"')||r.includes("'"))return e;let n=t.singleQuote?"'":'"';return n+r+n}}}}),Gr=v({"src/language-js/print/array.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{line:n,softline:i,hardline:s,group:o,indent:a,ifBreak:l,fill:u}}=W(),{getLast:c,hasNewline:p}=de(),{shouldPrintComma:h,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:g,isSignedNumericLiteral:y}=sr(),{locStart:b}=Bt(),{printOptionalToken:v,printTypeAnnotation:D}=qr();function E(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(g(e)||y(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,(e=>!p(t.originalText,b(e),{backwards:!0})))))}function x(e,t,r,s){let a=[],l=[];return e.each((e=>{a.push(l,o(s())),l=[",",n],e.getValue()&&m(e.getValue(),t)&&l.push(i)}),r),a}function S(e,t,r,i){let o=[];return e.each(((e,a,l)=>{let u=a===l.length-1;o.push([r(),u?i:","]),u||o.push(m(e.getValue(),t)?[s,s]:d(l[a+1],f.Leading|f.Line)?s:n)}),"elements"),u(o)}t.exports={printArray:function(e,t,n){let s=e.getValue(),u=[],p="TupleExpression"===s.type?"#[":"[";if(0===s.elements.length)d(s,f.Dangling)?u.push(o([p,r(e,t),i,"]"])):u.push(p,"]");else{let d=c(s.elements),f=!(d&&"RestElement"===d.type),m=null===d,g=Symbol("array"),y=!t.__inJestEach&&s.elements.length>1&&s.elements.every(((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let i=r[t+1];if(i&&n!==i.type)return!1;let s="ArrayExpression"===n?"elements":"properties";return e[s]&&e[s].length>1})),b=E(s,t),v=f?m?",":h(t)?b?l(",","",{groupId:g}):l(","):"":"";u.push(o([p,a([i,b?S(e,t,n,v):[x(e,t,"elements",n),v],r(e,t,!0)]),i,"]"],{shouldBreak:y,id:g}))}return u.push(v(e),D(e,t,n)),u},printArrayItems:x,isConciselyPrintedArray:E}}}),Kr=v({"src/language-js/print/call-arguments.js"(e,t){w();var{printDanglingComments:r}=Ht(),{getLast:n,getPenultimate:i}=de(),{getFunctionParameters:s,hasComment:o,CommentCheckFlags:a,isFunctionCompositionArgs:l,isJsxNode:u,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:h,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:g,isObjectProperty:y,isTSTypeExpression:b}=sr(),{builders:{line:v,hardline:D,softline:E,group:x,indent:S,conditionalGroup:C,ifBreak:A,breakParent:T},utils:{willBreak:P}}=W(),{ArgExpansionBailout:F}=Oe(),{isConciselyPrintedArray:I}=Gr();function N(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||o(e))||"ArrayExpression"===e.type&&(e.elements.length>0||o(e))||"TSTypeAssertion"===e.type&&N(e.expression)||b(e)&&N(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||function(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||o(e,a.Dangling))}(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&N(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||u(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}t.exports=function(e,t,u){let m=e.getValue(),b="ImportExpression"===m.type,w=h(m);if(0===w.length)return["(",r(e,t,!0),")"];if(function(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===s(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>o(e)))}(w))return["(",u(["arguments",0]),", ",u(["arguments",1]),")"];let k=!1,_=!1,O=w.length-1,M=[];d(e,((e,r)=>{let n=e.getNode(),i=[u()];r===O||(f(n,t)?(0===r&&(_=!0),k=!0,i.push(",",D,D)):i.push(",",v)),M.push(i)}));let L=b||m.callee&&"Import"===m.callee.type||!p(t,"all")?"":",";function B(){return x(["(",S([v,...M]),L,v,")"],{shouldBreak:!0})}if(k||"Decorator"!==e.getParentNode().type&&l(w))return B();let R=function(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!function(e){return"ObjectExpression"===e.type&&1===e.properties.length&&y(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&g(e.properties[0].value)&&"module"===e.properties[0].value.value}(r))||!o(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!N(r)}(w),j=function(e,t){let r=n(e),s=i(e);return!o(r,a.Leading)&&!o(r,a.Trailing)&&N(r)&&(!s||s.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==s.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&I(r,t))}(w,t);if(R||j){if(R?M.slice(1).some(P):M.slice(0,-1).some(P))return B();let t=[];try{e.try((()=>{d(e,((e,r)=>{R&&0===r&&(t=[[u([],{expandFirstArg:!0}),M.length>1?",":"",_?D:v,_?D:""],...M.slice(1)]),j&&r===O&&(t=[...M.slice(0,-1),u([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof F)return B();throw e}return[M.some(P)?T:"",C([["(",...t,")"],R?["(",x(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...M.slice(0,-1),x(n(t),{shouldBreak:!0}),")"],B()])]}let $=["(",S([E,...M]),A(L),E,")"];return c(e)?$:x($,{shouldBreak:M.some(P)||k})}}}),Xr=v({"src/language-js/print/member.js"(e,t){w();var{builders:{softline:r,group:n,indent:i,label:s}}=W(),{isNumericLiteral:o,isMemberExpression:a,isCallExpression:l}=sr(),{printOptionalToken:u}=qr();function c(e,t,s){let a=s("property"),l=e.getValue(),c=u(e);return l.computed?!l.property||o(l.property)?[c,"[",a,"]"]:n([c,"[",i([r,a]),r,"]"]):[c,".",a]}t.exports={printMemberExpression:function(e,t,o){let u,p=e.getValue(),h=e.getParentNode(),d=0;do{u=e.getParentNode(d),d++}while(u&&(a(u)||"TSNonNullExpression"===u.type));let f=o("object"),m=c(e,0,o),g=u&&("NewExpression"===u.type||"BindExpression"===u.type||"AssignmentExpression"===u.type&&"Identifier"!==u.left.type)||p.computed||"Identifier"===p.object.type&&"Identifier"===p.property.type&&!a(h)||("AssignmentExpression"===h.type||"VariableDeclarator"===h.type)&&(l(p.object)&&p.object.arguments.length>0||"TSNonNullExpression"===p.object.type&&l(p.object.expression)&&p.object.expression.arguments.length>0||"member-chain"===f.label);return s("member-chain"===f.label?"member-chain":"member",[f,g?m:n(i([r,m]))])},printMemberLookup:c}}}),Jr=v({"src/language-js/print/member-chain.js"(e,t){w();var{printComments:r}=Ht(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:s}=de(),o=$r(),{isCallExpression:a,isMemberExpression:l,isFunctionOrArrowExpression:u,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:h,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:g}=sr(),{locEnd:y}=Bt(),{builders:{join:b,hardline:v,group:D,indent:E,conditionalGroup:x,breakParent:S,label:C},utils:{willBreak:A}}=W(),T=Kr(),{printMemberLookup:P}=Xr(),{printOptionalToken:F,printFunctionTypeParameters:I,printBindExpressionCallee:N}=qr();t.exports=function(e,t,w){let k=e.getParentNode(),_=!k||"ExpressionStatement"===k.type,O=[];function M(e){let{originalText:r}=t,n=s(r,e,y);return")"===r.charAt(n)?!1!==n&&i(r,n+1):g(e,t)}function L(e){let n=e.getValue();a(n)&&(p(n.callee)||a(n.callee))?(O.unshift({node:n,printed:[r(e,[F(e),I(e,t,w),T(e,t,w)],t),M(n)?v:""]}),e.call((e=>L(e)),"callee")):p(n)?(O.unshift({node:n,needsParens:o(e,t),printed:r(e,l(n)?P(e,t,w):N(e,t,w),t)}),e.call((e=>L(e)),"object")):"TSNonNullExpression"===n.type?(O.unshift({node:n,printed:r(e,"!",t)}),e.call((e=>L(e)),"expression")):O.unshift({node:n,printed:w()})}let B=e.getValue();O.unshift({node:B,printed:[F(e),I(e,t,w),T(e,t,w)]}),B.callee&&e.call((e=>L(e)),"callee");let R=[],j=[O[0]],$=1;for(;$<O.length&&("TSNonNullExpression"===O[$].node.type||a(O[$].node)||l(O[$].node)&&O[$].node.computed&&h(O[$].node.property));++$)j.push(O[$]);if(!a(O[0].node))for(;$+1<O.length&&p(O[$].node)&&p(O[$+1].node);++$)j.push(O[$]);R.push(j),j=[];let U=!1;for(;$<O.length;++$){if(U&&p(O[$].node)){if(O[$].node.computed&&h(O[$].node.property)){j.push(O[$]);continue}R.push(j),j=[],U=!1}(a(O[$].node)||"ImportExpression"===O[$].node.type)&&(U=!0),j.push(O[$]),f(O[$].node,m.Trailing)&&(R.push(j),j=[],U=!1)}function z(e){return/^[A-Z]|^[$_]+$/.test(e)}j.length>0&&R.push(j);let V=R.length>=2&&!f(R[1][0].node)&&function(e){let r=e[1].length>0&&e[1][0].node.computed;if(1===e[0].length){let n=e[0][0].node;return"ThisExpression"===n.type||"Identifier"===n.type&&(z(n.name)||_&&function(e){return e.length<=t.tabWidth}(n.name)||r)}let i=n(e[0]).node;return l(i)&&"Identifier"===i.property.type&&(z(i.property.name)||r)}(R);function W(e){let t=e.map((e=>e.printed));return e.length>0&&n(e).needsParens?["(",...t,")"]:t}let H=R.map(W),q=H,G=V?3:2,K=R.flat(),X=K.slice(1,-1).some((e=>f(e.node,m.Leading)))||K.slice(0,-1).some((e=>f(e.node,m.Trailing)))||R[G]&&f(R[G][0].node,m.Leading);if(R.length<=G&&!X)return c(e)?q:D(q);let J,Y=n(R[V?1:0]).node,Z=!a(Y)&&M(Y),Q=[W(R[0]),V?R.slice(1,2).map(W):"",Z?v:"",(te=R.slice(V?2:1),0===te.length?"":E(D([v,b(v,te.map(W))])))],ee=O.map((e=>{let{node:t}=e;return t})).filter(a);var te;return J=X||ee.length>2&&ee.some((e=>!e.arguments.every((e=>d(e,0)))))||H.slice(0,-1).some(A)||function(){let e=n(n(R)).node,t=n(H);return a(e)&&A(t)&&ee.slice(0,-1).some((e=>e.arguments.some(u)))}()?D(Q):[A(q)||Z?S:"",x([q,Q])],C("member-chain",J)}}}),Yr=v({"src/language-js/print/call-expression.js"(e,t){w();var{builders:{join:r,group:n}}=W(),i=$r(),{getCallArguments:s,hasFlowAnnotationComment:o,isCallExpression:a,isMemberish:l,isStringLiteral:u,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:h}=sr(),d=Jr(),f=Kr(),{printOptionalToken:m,printFunctionTypeParameters:g}=qr();t.exports={printCallExpression:function(e,t,y){let b=e.getValue(),v=e.getParentNode(),D="NewExpression"===b.type,E="ImportExpression"===b.type,x=m(e),w=s(b);if(w.length>0&&(!E&&!D&&function(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=s(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&u(r[0])&&"ArrayExpression"===r[1].type)}return!1}(b,v)||1===w.length&&c(w[0],t.originalText)||!D&&p(b,v))){let n=[];return h(e,(()=>{n.push(y())})),[D?"new ":"",y("callee"),x,g(e,t,y),"(",r(", ",n),")"]}let S=("babel"===t.parser||"babel-flow"===t.parser)&&b.callee&&"Identifier"===b.callee.type&&o(b.callee.trailingComments);if(S&&(b.callee.trailingComments[0].printed=!0),!E&&!D&&l(b.callee)&&!e.call((e=>i(e,t)),"callee"))return d(e,t,y);let C=[D?"new ":"",E?"import":y("callee"),x,S?`/*:: ${b.callee.trailingComments[0].value.slice(2).trim()} */`:"",g(e,t,y),f(e,t,y)];return E||a(b.callee)?n(C):C}}}}),Zr=v({"src/language-js/print/assignment.js"(e,t){w();var{isNonEmptyArray:r,getStringWidth:n}=de(),{builders:{line:i,group:s,indent:o,indentIfBreak:a,lineSuffixBoundary:l},utils:{cleanDoc:u,willBreak:c,canBreak:p}}=W(),{hasLeadingOwnLineComment:h,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:g,isCallExpression:y,isMemberExpression:b,getCallArguments:v,rawText:D,hasComment:E,isSignedNumericLiteral:x,isObjectProperty:S}=sr(),{shouldInlineLogicalExpression:C}=Vr(),{printCallExpression:A}=Yr();function T(e,t,c,m,y,b){let v=function(e,t,i,s,o){let a=e.getValue(),l=a[o];if(!l)return"only-left";let c=!P(l);if(e.match(P,F,(e=>!c||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return c?"ArrowFunctionExpression"===l.type&&"ArrowFunctionExpression"===l.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!c&&P(l.right)||h(t.originalText,l))return"break-after-operator";if("CallExpression"===l.type&&"require"===l.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(function(e){if(F(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>S(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}(a)||function(e){let t=function(e){return function(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}(e);if(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[r]||e.default)))return!0}return!1}(a)||function(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=N(t.typeAnnotation);return r(n)&&n.length>1&&n.some((e=>r(N(e))||"TSConditionalType"===e.type))}(a)||I(a)&&p(s))return"break-lhs";let m=function(e,t,r){if(!S(e))return!1;let i=3;return"string"==typeof(t=u(t))&&n(t)<r.tabWidth+i}(a,s,t);return e.call((()=>function(e,t,n,i){let s=e.getValue();if(d(s)&&!C(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return d(e)&&!C(e)}case"ClassExpression":return r(s.decorators)}if(i)return!1;let o=s,a=[];for(;;)if("UnaryExpression"===o.type)o=o.argument,a.push("argument");else{if("TSNonNullExpression"!==o.type)break;o=o.expression,a.push("expression")}return!(!f(o)&&!e.call((()=>k(e,t,n)),...a))}(e,t,i,m)),o)?"break-after-operator":m||"TemplateLiteral"===l.type||"TaggedTemplateExpression"===l.type||"BooleanLiteral"===l.type||g(l)||"ClassExpression"===l.type?"never-break-after-operator":"fluid"}(e,t,c,m,b),D=c(b,{assignmentLayout:v});switch(v){case"break-after-operator":return s([s(m),y,s(o([i,D]))]);case"never-break-after-operator":return s([s(m),y," ",D]);case"fluid":{let e=Symbol("assignment");return s([s(m),y,s(o(i),{id:e}),l,a(D,{groupId:e})])}case"break-lhs":return s([m,y," ",s(D)]);case"chain":return[s(m),y,i,D];case"chain-tail":return[s(m),y,o([i,D])];case"chain-tail-arrow-chain":return[s(m),y,D];case"only-left":return m}}function P(e){return"AssignmentExpression"===e.type}function F(e){return P(e)||"VariableDeclarator"===e.type}function I(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function N(e){return function(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function k(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=e.getValue(),o=()=>k(e,t,n,!0);if("TSNonNullExpression"===s.type)return e.call(o,"expression");if(y(s)){if("member-chain"===A(e,t,n).label)return!1;let i=v(s);return!(!(0===i.length||1===i.length&&function(e,t){let{printWidth:r}=t;if(E(e))return!1;let n=.25*r;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||x(e)&&!E(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=n:f(e)?D(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):m(e)}(i[0],t))||function(e,t){let n=function(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}(e);if(r(n)){if(n.length>1)return!0;if(1===n.length){let e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(c(t(r)))return!0}return!1}(s,n))&&e.call(o,"callee")}return b(s)?e.call(o,"object"):i&&("Identifier"===s.type||"ThisExpression"===s.type)}t.exports={printVariableDeclarator:function(e,t,r){return T(e,t,r,r("id")," =","init")},printAssignmentExpression:function(e,t,r){let n=e.getValue();return T(e,t,r,r("left"),[" ",n.operator],"right")},printAssignment:T,isArrowFunctionVariableDeclarator:I}}}),Qr=v({"src/language-js/print/function-parameters.js"(e,t){w();var{getNextNonSpaceNonCommentCharacter:r}=de(),{printDanglingComments:n}=Ht(),{builders:{line:i,hardline:s,softline:o,group:a,indent:l,ifBreak:u},utils:{removeLines:c,willBreak:p}}=W(),{getFunctionParameters:h,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:g,isObjectType:y,isObjectTypePropertyAFunction:b,hasRestParameter:v,shouldPrintComma:D,hasComment:E,isNextLineEmpty:x}=sr(),{locEnd:S}=Bt(),{ArgExpansionBailout:C}=Oe(),{printFunctionTypeParameters:A}=qr();function T(e){if(!e)return!1;let t=h(e);if(1!==t.length)return!1;let[r]=t;return!E(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&y(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&y(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}t.exports={printFunctionParameters:function(e,t,y,E,w){let P=e.getValue(),F=h(P),I=w?A(e,y,t):"";if(0===F.length)return[I,"(",n(e,y,!0,(e=>")"===r(y.originalText,e,S))),")"];let N=e.getParentNode(),k=m(N),_=T(P),O=[];if(d(e,((e,r)=>{let n=r===F.length-1;n&&P.rest&&O.push("..."),O.push(t()),!n&&(O.push(","),k||_?O.push(" "):x(F[r],y)?O.push(s,s):O.push(i))})),E){if(p(I)||p(O))throw new C;return a([c(I),"(",c(O),")"])}let M=F.every((e=>!e.decorators));return _&&M||k?[I,"(",...O,")"]:(b(N)||g(N)||"TypeAlias"===N.type||"UnionTypeAnnotation"===N.type||"TSUnionType"===N.type||"IntersectionTypeAnnotation"===N.type||"FunctionTypeAnnotation"===N.type&&N.returnType===P)&&1===F.length&&null===F[0].name&&P.this!==F[0]&&F[0].typeAnnotation&&null===P.typeParameters&&f(F[0].typeAnnotation)&&!P.rest?"always"===y.arrowParens?["(",...O,")"]:O:[I,"(",l([o,...O]),u(!v(P)&&D(y,"all")?",":""),o,")"]},shouldHugFunctionParameters:T,shouldGroupFunctionParameters:function(e,t){let r=function(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(1===n.length){let e=n[0];if(e.constraint||e.default)return!1}}return 1===h(e).length&&(y(r)||p(t))}}}}),en=v({"src/language-js/print/type-annotation.js"(e,t){w();var{printComments:r,printDanglingComments:n}=Ht(),{isNonEmptyArray:i}=de(),{builders:{group:s,join:o,line:a,softline:l,indent:u,align:c,ifBreak:p}}=W(),h=$r(),{locStart:d}=Bt(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:g,isObjectTypePropertyAFunction:y,shouldPrintComma:b}=sr(),{printAssignment:v}=Zr(),{printFunctionParameters:D,shouldGroupFunctionParameters:E}=Qr(),{printArrayItems:x}=Gr();function S(e){if(f(e)||m(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,r=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&r)return!0}return!1}t.exports={printOpaqueType:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];return s.push("opaque type ",r("id"),r("typeParameters")),i.supertype&&s.push(": ",r("supertype")),i.impltype&&s.push(" = ",r("impltype")),s.push(n),s},printTypeAlias:function(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];i.declare&&s.push("declare "),s.push("type ",r("id"),r("typeParameters"));let o="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[v(e,t,r,s," =",o),n]},printIntersectionType:function(e,t,r){let n=e.getValue(),i=e.map(r,"types"),o=[],l=!1;for(let e=0;e<i.length;++e)0===e?o.push(i[e]):m(n.types[e-1])&&m(n.types[e])?o.push([" & ",l?u(i[e]):i[e]]):m(n.types[e-1])||m(n.types[e])?(e>1&&(l=!0),o.push(" & ",e>1?u(i[e]):i[e])):o.push(u([" &",a,i[e]]));return s(o)},printUnionType:function(e,t,n){let i=e.getValue(),d=e.getParentNode(),f=!("TypeParameterInstantiation"===d.type||"TSTypeParameterInstantiation"===d.type||"GenericTypeAnnotation"===d.type||"TSTypeReference"===d.type||"TSTypeAssertion"===d.type||"TupleTypeAnnotation"===d.type||"TSTupleType"===d.type||"FunctionTypeParam"===d.type&&!d.name&&e.getParentNode(1).this!==d||("TypeAlias"===d.type||"VariableDeclarator"===d.type||"TSTypeAliasDeclaration"===d.type)&&g(t.originalText,i)),m=S(i),y=e.map((e=>{let i=n();return m||(i=c(2,i)),r(e,i,t)}),"types");if(m)return o(" | ",y);let b=f&&!g(t.originalText,i),v=[p([b?a:"","| "]),o([a,"| "],y)];return h(e,t)?s([u(v),l]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?s([u([p(["(",l]),v]),l,p(")")]):s(f?u(v):v)},printFunctionType:function(e,t,r){let n=e.getValue(),i=[],o=e.getParentNode(0),a=e.getParentNode(1),l=e.getParentNode(2),u="TSFunctionType"===n.type||!(("ObjectTypeProperty"===o.type||"ObjectTypeInternalSlot"===o.type)&&!o.variance&&!o.optional&&d(o)===d(n)||"ObjectTypeCallProperty"===o.type||l&&"DeclareFunction"===l.type),c=u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type),p=c&&u&&("TypeAnnotation"===o.type||"TSTypeAnnotation"===o.type)&&"ArrowFunctionExpression"===a.type;y(o)&&(u=!0,c=!0),p&&i.push("(");let h=D(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[u?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=E(n,f);return i.push(m?s(h):h),f&&i.push(f),p&&i.push(")"),s(i)},printTupleType:function(e,t,r){let o=e.getValue(),a="TSTupleType"===o.type?"elementTypes":"types",c=o[a],h=i(c),d=h?l:"";return s(["[",u([d,x(e,t,a,r)]),p(h&&b(t,"all")?",":""),n(e,t,!0),d,"]"])},printIndexedAccessType:function(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]},shouldHugType:S,printJSDocType:function(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}}}}),tn=v({"src/language-js/print/type-parameters.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{join:n,line:i,hardline:s,softline:o,group:a,indent:l,ifBreak:u}}=W(),{isTestCall:c,hasComment:p,CommentCheckFlags:h,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:g,getTypeScriptMappedTypeModifier:y}=sr(),{createGroupIdMapper:b}=de(),{shouldHugType:v}=en(),{isArrowFunctionVariableDeclarator:D}=Zr(),E=b("typeParameters");function x(e,t){let n=e.getValue();if(!p(n,h.Dangling))return"";let i=!p(n,h.Line),o=r(e,t,i);return i?o:[o,s]}t.exports={printTypeParameter:function(e,t,r){let n=e.getValue(),i=["TSTypeParameter"===n.type&&n.const?"const ":""],s=e.getParentNode();return"TSMappedType"===s.type?(s.readonly&&i.push(y(s.readonly,"readonly")," "),i.push("[",r("name")),n.constraint&&i.push(" in ",r("constraint")),s.nameType&&i.push(" as ",e.callParent((()=>r("nameType")))),i.push("]"),i):(n.variance&&i.push(r("variance")),n.in&&i.push("in "),n.out&&i.push("out "),i.push(r("name")),n.bound&&i.push(": ",r("bound")),n.constraint&&i.push(" extends ",r("constraint")),n.default&&i.push(" = ",r("default")),i)},printTypeParameters:function(e,t,r,s){let p=e.getValue();if(!p[s])return"";if(!Array.isArray(p[s]))return r(s);let h=e.getNode(2),y=h&&c(h),b=e.match((e=>!(1===e[s].length&&g(e[s][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),D);if(0===p[s].length||!b&&(y||1===p[s].length&&("NullableTypeAnnotation"===p[s][0].type||v(p[s][0]))))return["<",n(", ",e.map(r,s)),x(e,t),">"];let w="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?u(","):"";return a(["<",l([o,n([",",i],e.map(r,s))]),w,o,">"],{id:E(p)})},getTypeParametersGroupId:E}}}),rn=v({"src/language-js/print/property.js"(e,t){w();var{printComments:r}=Ht(),{printString:n,printNumber:i}=de(),{isNumericLiteral:s,isSimpleNumber:o,isStringLiteral:a,isStringPropSafeToUnquote:l,rawText:u}=sr(),{printAssignment:c}=Zr(),p=new WeakMap;function h(e,t,c){let h=e.getNode();if(h.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=h;if("consistent"===t.quoteProps&&!p.has(d)){let e=(d.properties||d.body||d.members).some((e=>!e.computed&&e.key&&a(e.key)&&!l(e,t)));p.set(d,e)}if(("Identifier"===f.type||s(f)&&o(i(u(f)))&&String(f.value)===i(u(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(d))){let i=n(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call((e=>r(e,i,t)),"key")}return l(h,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(d))?e.call((e=>r(e,/^\d/.test(f.value)?i(f.value):f.value,t)),"key"):c("key")}t.exports={printProperty:function(e,t,r){return e.getValue().shorthand?r("value"):c(e,t,r,h(e,t,r),":","value")},printPropertyKey:h}}}),nn=v({"src/language-js/print/function.js"(e,t){w();var r=Wt(),{printDanglingComments:n,printCommentsSeparately:i}=Ht(),s=F(),{getNextNonSpaceNonCommentCharacterIndex:o}=de(),{builders:{line:a,softline:l,group:u,indent:c,ifBreak:p,hardline:h,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:g}}=W(),{ArgExpansionBailout:y}=Oe(),{getFunctionParameters:b,hasLeadingOwnLineComment:v,isFlowAnnotationComment:D,isJsxNode:E,isTemplateOnItsOwnLine:x,shouldPrintComma:S,startsWithNoLookaheadToken:C,isBinaryish:A,isLineComment:T,hasComment:P,getComments:I,CommentCheckFlags:N,isCallLikeExpression:k,isCallExpression:_,getCallArguments:O,hasNakedLeftSide:M,getLeftSide:L}=sr(),{locEnd:B}=Bt(),{printFunctionParameters:R,shouldGroupFunctionParameters:j}=Qr(),{printPropertyKey:$}=rn(),{printFunctionTypeParameters:U}=qr();function z(e,t,r){let n=e.getNode(),i=R(e,r,t),s=H(e,r,t),o=j(n,s),a=[U(e,t,r),u([o?u(i):i,s])];return n.body?a.push(" ",r("body")):a.push(t.semi?";":""),a}function V(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){let t=b(e);return!(1!==t.length||e.typeParameters||P(e,N.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||P(t[0])||t[0].optional||e.predicate||e.returnType)}(e.getValue())}function H(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&D(r.originalText,n.returnType))return[" /*: ",i," */"];let s=[i];return n.returnType&&n.returnType.typeAnnotation&&s.unshift(": "),n.predicate&&s.push(n.returnType?" ":": ",t("predicate")),s}function q(e,t,r){let i=e.getValue(),o=t.semi?";":"",a=[];i.argument&&(function(e,t){if(v(e.originalText,t))return!0;if(M(t)){let r,n=t;for(;r=L(n);)if(n=r,v(e.originalText,n))return!0}return!1}(t,i.argument)?a.push([" (",c([h,r("argument")]),h,")"]):A(i.argument)||"SequenceExpression"===i.argument.type?a.push(u([p(" ("," "),c([l,r("argument")]),l,p(")")])):a.push(" ",r("argument")));let d=I(i),f=s(d),m=f&&T(f);return m&&a.push(o),P(i,N.Dangling)&&a.push(" ",n(e,t,!0)),m||a.push(o),a}t.exports={printFunction:function(e,t,r,n){let i=e.getValue(),s=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();_(t)&&O(t).length>1&&(s=!0)}let o=[];"TSDeclareFunction"===i.type&&i.declare&&o.push("declare "),i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(t("id"));let a=R(e,t,r,s),l=H(e,t,r),c=j(i,l);return o.push(U(e,r,t),u([c?u(a):a,l]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&o.push(";"),o},printArrowFunction:function(e,t,r,s){let h=e.getValue(),D=[],w=[],A=!1;if(function a(){let l=function(e,t,r,i){let s=[];if(e.getValue().async&&s.push("async "),V(e,t))s.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),o=H(e,r,t);if(n){if(g(o))throw new y;o=u(m(o))}s.push(u([R(e,r,t,n,!0),o]))}let a=n(e,t,!0,(e=>{let r=o(t.originalText,e,B);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return a&&s.push(" ",a),s}(e,t,r,s);if(0===D.length)D.push(l);else{let{leading:r,trailing:n}=i(e,t);D.push([r,l]),w.unshift(n)}A=A||h.returnType&&b(h).length>0||h.typeParameters||b(h).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==h.body.type||s&&s.expandLastArg?w.unshift(r("body",s)):(h=h.body,e.call(a,"body"))}(),D.length>1)return function(e,t,r,n,i,s){let o=e.getName(),h=e.getParentNode(),m=k(h)&&"callee"===o,g=Boolean(t&&t.assignmentLayout),y="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,b=m&&y||t&&"chain-tail-arrow-chain"===t.assignmentLayout,v=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(i=u(["(",c([l,i]),l,")"])),u([u(c([m||g?l:"",u(d([" =>",a],r),{shouldBreak:n})]),{id:v,shouldBreak:b})," =>",f(y?c([a,i]):[" ",i],{groupId:v}),m?p(l,"",{groupId:v}):""])}(e,s,D,A,w,h);let T=D;if(T.push(" =>"),!v(t.originalText,h.body)&&("ArrayExpression"===h.body.type||"ObjectExpression"===h.body.type||"BlockStatement"===h.body.type||E(h.body)||x(h.body,t.originalText)||"ArrowFunctionExpression"===h.body.type||"DoExpression"===h.body.type))return u([...T," ",w]);if("SequenceExpression"===h.body.type)return u([...T,u([" (",c([l,w]),l,")"])]);let F=(s&&s.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!P(h),I=s&&s.expandLastArg&&S(t,"all"),N="ConditionalExpression"===h.body.type&&!C(h.body,(e=>"ObjectExpression"===e.type));return u([...T,u([c([a,N?p("","("):"",w,N?p("",")"):""]),F?[p(I?",":""),l]:""])])},printMethod:function(e,t,n){let i=e.getNode(),{kind:s}=i,o=i.value||i,a=[];return s&&"init"!==s&&"method"!==s&&"constructor"!==s?(r.ok("get"===s||"set"===s),a.push(s," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push($(e,t,n),i.optional||i.key.optional?"?":""),i===o?a.push(z(e,t,n)):"FunctionExpression"===o.type?a.push(e.call((e=>z(e,t,n)),"value")):a.push(n("value")),a},printReturnStatement:function(e,t,r){return["return",q(e,t,r)]},printThrowStatement:function(e,t,r){return["throw",q(e,t,r)]},printMethodInternal:z,shouldPrintParamsWithoutParens:V}}}),sn=v({"src/language-js/print/decorators.js"(e,t){w();var{isNonEmptyArray:r,hasNewline:n}=de(),{builders:{line:i,hardline:s,join:o,breakParent:a,group:l}}=W(),{locStart:u,locEnd:c}=Bt(),{getParentExportDeclaration:p}=sr();function h(e,t){return e.decorators.some((e=>n(t.originalText,c(e))))}function d(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return r(t)&&u(e)===u(t[0])}t.exports={printDecorators:function(e,t,n){let l=e.getValue(),{decorators:u}=l;if(!r(u)||d(e.getParentNode()))return;let c="ClassExpression"===l.type||"ClassDeclaration"===l.type||h(l,t);return[p(e)?s:c?a:"",o(i,e.map(n,"decorators")),i]},printClassMemberDecorators:function(e,t,r){let n=e.getValue();return l([o(i,e.map(r,"decorators")),h(n,t)?s:i])},printDecoratorsBeforeExport:function(e,t,r){return[o(s,e.map(r,"declaration","decorators")),s]},hasDecoratorsBeforeExport:d}}}),on=v({"src/language-js/print/class.js"(e,t){w();var{isNonEmptyArray:r,createGroupIdMapper:n}=de(),{printComments:i,printDanglingComments:s}=Ht(),{builders:{join:o,line:a,hardline:l,softline:u,group:c,indent:p,ifBreak:h}}=W(),{hasComment:d,CommentCheckFlags:f}=sr(),{getTypeParametersGroupId:m}=tn(),{printMethod:g}=nn(),{printOptionalToken:y,printTypeAnnotation:b,printDefiniteToken:v}=qr(),{printPropertyKey:D}=rn(),{printAssignment:E}=Zr(),{printClassMemberDecorators:x}=sn();var S=n("heritageGroup");function C(e){return e.typeParameters&&!d(e.typeParameters,f.Trailing|f.Line)&&!function(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}(e)}function A(e,t,n,i){let u=e.getValue();if(!r(u[i]))return"";let d=s(e,t,!0,(e=>{let{marker:t}=e;return t===i}));return[C(u)?h(" ",a,{groupId:m(u.typeParameters)}):a,d,d&&l,i,c(p([a,o([",",a],e.map(n,i))]))]}function T(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?c(h(["(",p([u,n]),u,")"],n)):n}t.exports={printClass:function(e,t,n){let s=e.getValue(),o=[];s.declare&&o.push("declare "),s.abstract&&o.push("abstract "),o.push("class");let l=s.id&&d(s.id,f.Trailing)||s.typeParameters&&d(s.typeParameters,f.Trailing)||s.superClass&&d(s.superClass)||r(s.extends)||r(s.mixins)||r(s.implements),u=[],h=[];if(s.id&&u.push(" ",n("id")),u.push(n("typeParameters")),s.superClass){let r=[T(e,0,n),n("superTypeParameters")],s=e.call((e=>["extends ",i(e,r,t)]),"superClass");l?h.push(a,c(s)):h.push(" ",s)}else h.push(A(e,t,n,"extends"));if(h.push(A(e,t,n,"mixins"),A(e,t,n,"implements")),l){let e;e=C(s)?[...u,p(h)]:p([...u,h]),o.push(c(e,{id:S(s)}))}else o.push(...u,...h);return o.push(" ",n("body")),o},printClassMethod:function(e,t,n){let i=e.getValue(),s=[];return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.readonly&&s.push("readonly "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),s.push(g(e,t,n)),s},printClassProperty:function(e,t,n){let i=e.getValue(),s=[],o=t.semi?";":"";return r(i.decorators)&&s.push(x(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractPropertyDefinition"===i.type||"TSAbstractAccessorProperty"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),i.readonly&&s.push("readonly "),i.variance&&s.push(n("variance")),("ClassAccessorProperty"===i.type||"AccessorProperty"===i.type||"TSAbstractAccessorProperty"===i.type)&&s.push("accessor "),s.push(D(e,t,n),y(e),v(e),b(e,t,n)),[E(e,t,n,s," =","value"),o]},printHardlineAfterHeritage:function(e){return h(l,"",{groupId:S(e)})}}}}),an=v({"src/language-js/print/interface.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{join:n,line:i,group:s,indent:o,ifBreak:a}}=W(),{hasComment:l,identity:u,CommentCheckFlags:c}=sr(),{getTypeParametersGroupId:p}=tn(),{printTypeScriptModifiers:h}=qr();t.exports={printInterface:function(e,t,d){let f=e.getValue(),m=[];f.declare&&m.push("declare "),"TSInterfaceDeclaration"===f.type&&m.push(f.abstract?"abstract ":"",h(e,t,d)),m.push("interface");let g=[],y=[];"InterfaceTypeAnnotation"!==f.type&&g.push(" ",d("id"),d("typeParameters"));let b=f.typeParameters&&!l(f.typeParameters,c.Trailing|c.Line);return r(f.extends)&&y.push(b?a(" ",i,{groupId:p(f.typeParameters)}):i,"extends ",(1===f.extends.length?u:o)(n([",",i],e.map(d,"extends")))),f.id&&l(f.id,c.Trailing)||r(f.extends)?b?m.push(s([...g,o(y)])):m.push(s(o([...g,...y]))):m.push(...g,...y),m.push(" ",d("body")),s(m)}}}}),ln=v({"src/language-js/print/module.js"(e,t){w();var{isNonEmptyArray:r}=de(),{builders:{softline:n,group:i,indent:s,join:o,line:a,ifBreak:l,hardline:u}}=W(),{printDanglingComments:c}=Ht(),{hasComment:p,CommentCheckFlags:h,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:g}=sr(),{locStart:y,hasSameLoc:b}=Bt(),{hasDecoratorsBeforeExport:v,printDecoratorsBeforeExport:D}=sn();function E(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return S(n,t)||i.push(" from"),i.push(" ",r("source")),i}function x(e,t,u){let c=e.getValue();if(S(c,t))return"";let h=[" "];if(r(c.specifiers)){let r=[],f=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(u());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error(`Unknown specifier type ${JSON.stringify(t)}`);f.push(u())}}),"specifiers"),h.push(o(", ",r)),f.length>0&&(r.length>0&&h.push(", "),f.length>1||r.length>0||c.specifiers.some((e=>p(e)))?h.push(i(["{",s([t.bracketSpacing?a:n,o([",",a],f)]),l(d(t)?",":""),t.bracketSpacing?a:n,"}"])):h.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else h.push("{}");return h}function S(e,t){let{type:n,importKind:i,source:s,specifiers:o}=e;return"ImportDeclaration"===n&&!r(o)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(y(e),y(s)))}function C(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",o(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}t.exports={printImportDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{importKind:o}=n;return s.push("import"),o&&"value"!==o&&s.push(" ",o),s.push(x(e,t,r),E(e,t,r),C(e,t,r),i),s},printExportDeclaration:function(e,t,r){let n=e.getValue(),i=[];v(n)&&i.push(D(e,t,r));let{type:s,exportKind:o,declaration:a}=n;return i.push("export"),(n.default||"ExportDefaultDeclaration"===s)&&i.push(" default"),p(n,h.Dangling)&&(i.push(" ",c(e,t,!0)),f(n)&&i.push(u)),a?i.push(" ",r("declaration")):i.push("type"===o?" type":"",x(e,t,r),E(e,t,r),C(e,t,r)),function(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,i=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:s}=n;return!(!i||"ClassDeclaration"===s||"FunctionDeclaration"===s||"TSInterfaceDeclaration"===s||"DeclareClass"===s||"DeclareFunction"===s||"TSDeclareFunction"===s||"EnumDeclaration"===s)}(n,t)&&i.push(";"),i},printExportAllDeclaration:function(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{exportKind:o,exported:a}=n;return s.push("export"),"type"===o&&s.push(" type"),s.push(" *"),a&&s.push(" as ",r("exported")),s.push(E(e,t,r),C(e,t,r),i),s},printModuleSpecifier:function(e,t,r){let n=e.getNode(),{type:i}=n,s=[],o="ImportSpecifier"===i?n.importKind:n.exportKind;o&&"value"!==o&&s.push(o," ");let a=i.startsWith("Import"),l=a?"imported":"local",u=a?"local":"exported",c=n[l],p=n[u],h="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?h="*":c&&(h=r(l)),p&&!function(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!(t.type!==r.type||!b(t,r))&&(m(t)?t.value===r.value&&g(t)===g(r):"Identifier"===t.type&&t.name===r.name)}(n)&&(d=r(u)),s.push(h,h&&d?" as ":"",d),s}}}}),un=v({"src/language-js/print/object.js"(e,t){w();var{printDanglingComments:r}=Ht(),{builders:{line:n,softline:i,group:s,indent:o,ifBreak:a,hardline:l}}=W(),{getLast:u,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:h}=de(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:g,isNextLineEmpty:y}=sr(),{locStart:b,locEnd:v}=Bt(),{printOptionalToken:D,printTypeAnnotation:E}=qr(),{shouldHugFunctionParameters:x}=Qr(),{shouldHugType:S}=en(),{printHardlineAfterHeritage:C}=on();t.exports={printObject:function(e,t,w){let A,T=t.semi?";":"",P=e.getValue();A="TSTypeLiteral"===P.type?"members":"TSInterfaceBody"===P.type?"body":"properties";let F="ObjectTypeAnnotation"===P.type,I=[A];F&&I.push("indexers","callProperties","internalSlots");let N=I.map((e=>P[e][0])).sort(((e,t)=>b(e)-b(t)))[0],k=e.getParentNode(0),_=F&&k&&("InterfaceDeclaration"===k.type||"DeclareInterface"===k.type||"DeclareClass"===k.type)&&"body"===e.getName(),O="TSInterfaceBody"===P.type||_||"ObjectPattern"===P.type&&"FunctionDeclaration"!==k.type&&"FunctionExpression"!==k.type&&"ArrowFunctionExpression"!==k.type&&"ObjectMethod"!==k.type&&"ClassMethod"!==k.type&&"ClassPrivateMethod"!==k.type&&"AssignmentPattern"!==k.type&&"CatchClause"!==k.type&&P.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==P.type&&N&&c(t.originalText,b(P),b(N)),M=_?";":"TSInterfaceBody"===P.type||"TSTypeLiteral"===P.type?a(T,";"):",",L="RecordExpression"===P.type?"#{":P.exact?"{|":"{",B=P.exact?"|}":"}",R=[];for(let t of I)e.each((e=>{let t=e.getValue();R.push({node:t,printed:w(),loc:b(t)})}),t);I.length>1&&R.sort(((e,t)=>e.loc-t.loc));let j=[],$=R.map((e=>{let r=[...j,s(e.printed)];return j=[M,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,g.PrettierIgnore)&&j.shift(),y(e.node,t)&&j.push(l),r}));if(P.inexact){let i;if(f(P,g.Dangling)){let s=f(P,g.Line);i=[r(e,t,!0),s||p(t.originalText,v(u(m(P))))?l:n,"..."]}else i=["..."];$.push([...j,...i])}let U,z=u(P[A]),V=!(P.inexact||z&&"RestElement"===z.type||z&&("TSPropertySignature"===z.type||"TSCallSignatureDeclaration"===z.type||"TSMethodSignature"===z.type||"TSConstructSignatureDeclaration"===z.type)&&f(z,g.PrettierIgnore));if(0===$.length){if(!f(P,g.Dangling))return[L,B,E(e,t,w)];U=s([L,r(e,t),i,B,D(e),E(e,t,w)])}else U=[_&&h(P.properties)?C(k):"",L,o([t.bracketSpacing?n:i,...$]),a(V&&(","!==M||d(t))?M:""),t.bracketSpacing?n:i,B,D(e),E(e,t,w)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(S,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>x(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!O&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?U:s(U,{shouldBreak:O})}}}}),cn=v({"src/language-js/print/flow.js"(e,t){w();var r=Wt(),{printDanglingComments:n}=Ht(),{printString:i,printNumber:s}=de(),{builders:{hardline:o,softline:a,group:l,indent:u}}=W(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:h,rawText:d,shouldPrintComma:f}=sr(),{locStart:m,locEnd:g}=Bt(),{replaceTextEndOfLine:y}=U(),{printClass:b}=on(),{printOpaqueType:v,printTypeAlias:D,printIntersectionType:E,printUnionType:x,printFunctionType:S,printTupleType:C,printIndexedAccessType:A}=en(),{printInterface:T}=an(),{printTypeParameter:P,printTypeParameters:F}=tn(),{printExportDeclaration:I,printExportAllDeclaration:N}=ln(),{printArrayItems:k}=Gr(),{printObject:_}=un(),{printPropertyKey:O}=rn(),{printOptionalToken:M,printTypeAnnotation:L,printRestSpread:B}=qr();function R(e,t){let n=c(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:function(e,t,c){let w=e.getValue(),j=t.semi?";":"",$=[];switch(w.type){case"DeclareClass":return R(e,b(e,t,c));case"DeclareFunction":return R(e,["function ",c("id"),w.predicate?" ":"",c("predicate"),j]);case"DeclareModule":return R(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return R(e,["module.exports",": ",c("typeAnnotation"),j]);case"DeclareVariable":return R(e,["var ",c("id"),j]);case"DeclareOpaqueType":return R(e,v(e,t,c));case"DeclareInterface":return R(e,T(e,t,c));case"DeclareTypeAlias":return R(e,D(e,t,c));case"DeclareExportDeclaration":return R(e,I(e,t,c));case"DeclareExportAllDeclaration":return R(e,N(e,t,c));case"OpaqueType":return v(e,t,c);case"TypeAlias":return D(e,t,c);case"IntersectionTypeAnnotation":return E(e,t,c);case"UnionTypeAnnotation":return x(e,t,c);case"FunctionTypeAnnotation":return S(e,t,c);case"TupleTypeAnnotation":return C(e,t,c);case"GenericTypeAnnotation":return[c("id"),F(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return A(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return P(e,t,c);case"TypeofTypeAnnotation":return["typeof ",c("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[c("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(w.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===w.type||w.explicitType){let e=null;switch(w.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}$.push("of ",e," ")}if(0!==w.members.length||w.hasUnknownMembers){let r=w.members.length>0?[o,k(e,t,"members",c),w.hasUnknownMembers||f(t)?",":""]:[];$.push(l(["{",u([...r,...w.hasUnknownMembers?[o,"..."]:[]]),n(e,t,!0),o,"}"]))}else $.push(l(["{",n(e,t),a,"}"]));return $;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof w.init?c("init"):String(w.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=w.name?c("name"):e.getParentNode().this===w?"this":"";return[t,M(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return T(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=w;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return w.static&&$.push("static "),$.push(c("value")),$;case"ObjectTypeIndexer":return[w.static?"static ":"",w.variance?c("variance"):"","[",c("id"),w.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let r="";return w.proto?r="proto ":w.static&&(r="static "),[r,h(w)?w.kind+" ":"",w.variance?c("variance"):"",O(e,t,c),M(e),p(w)?"":": ",c("value")]}case"ObjectTypeAnnotation":return _(e,t,c);case"ObjectTypeInternalSlot":return[w.static?"static ":"","[[",c("id"),"]]",M(e),w.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return B(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return y(i(d(w),t));case"NumberLiteralTypeAnnotation":r.strictEqual(typeof w.value,"number");case"BigIntLiteralTypeAnnotation":return w.extra?s(w.extra.raw):s(w.raw);case"TypeCastExpression":return["(",c("expression"),L(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=F(e,t,c,"params");if("flow"===t.parser){let e=m(w),n=g(w),i=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==s){let e=t.originalText.slice(i+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",c("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(w.type))}}}}}),pn=v({"src/language-js/utils/is-ts-keyword-type.js"(e,t){w(),t.exports=function(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}}}),hn=v({"src/language-js/print/ternary.js"(e,t){w();var{hasNewlineInRange:r}=de(),{isJsxNode:n,getComments:i,isCallExpression:s,isMemberExpression:o,isTSTypeExpression:a}=sr(),{locStart:l,locEnd:u}=Bt(),c=nr(),{builders:{line:p,softline:h,group:d,indent:f,align:m,ifBreak:g,dedent:y,breakParent:b}}=W();function v(e,t,r){let n=e.getValue(),i="ConditionalExpression"===n.type,s=i?"alternate":"falseType",o=e.getParentNode(),a=i?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return o.type===n.type&&o[s]===n?m(2,a):a}var D=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);t.exports={printTernary:function(e,t,E){let x,w,S=e.getValue(),C="ConditionalExpression"===S.type,A=C?"consequent":"trueType",T=C?"alternate":"falseType",P=C?["test"]:["checkType","extendsType"],F=S[A],I=S[T],N=[],k=!1,_=e.getParentNode(),O=_.type===S.type&&P.some((e=>_[e]===S)),M=_.type===S.type&&!O,L=0;do{w=x||S,x=e.getParentNode(L),L++}while(x&&x.type===S.type&&P.every((e=>x[e]!==w)));let B=x||_,R=w;if(C&&(n(S[P[0]])||n(F)||n(I)||function(e){let t=[e];for(let e=0;e<t.length;e++){let r=t[e];for(let e of["test","consequent","alternate"]){let i=r[e];if(n(i))return!0;"ConditionalExpression"===i.type&&t.push(i)}}return!1}(R))){k=!0,M=!0;let e=e=>[g("("),f([h,e]),h,g(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;N.push(" ? ",t(F)?E(A):e(E(A))," : ",I.type===S.type||t(I)?E(T):e(E(T)))}else{let e=[p,"? ",F.type===S.type?g("","("):"",m(2,E(A)),F.type===S.type?g("",")"):"",p,": ",I.type===S.type?E(T):m(2,E(T))];N.push(_.type!==S.type||_[T]===S||O?e:t.useTabs?y(f(e)):m(Math.max(0,t.tabWidth-2),e))}let j=[...P.map((e=>i(S[e]))),i(F),i(I)].flat().some((e=>c(e)&&r(t.originalText,l(e),u(e)))),$=!k&&(o(_)||"NGPipeExpression"===_.type&&_.left===S)&&!_.computed,U=function(e){let t=e.getValue();if("ConditionalExpression"!==t.type)return!1;let r,n=t;for(let t=0;!r;t++){let i=e.getParentNode(t);s(i)&&i.callee===n||o(i)&&i.object===n||"TSNonNullExpression"===i.type&&i.expression===n?n=i:"NewExpression"===i.type&&i.callee===n||a(i)&&i.expression===n?(r=e.getParentNode(t+1),n=i):r=i}return n!==t&&r[D.get(r.type)]===n}(e),z=(V=[v(e,0,E),M?N:f(N),C&&$&&!U?h:""],_===B?d(V,{shouldBreak:j}):j?[V,b]:V);var V;return O||U?d([f([h,z]),h]):z}}}}),dn=v({"src/language-js/print/statement.js"(e,t){w();var{builders:{hardline:r}}=W(),n=$r(),{getLeftSidePathName:i,hasNakedLeftSide:s,isJsxNode:o,isTheOnlyJsxElementInMarkdown:a,hasComment:l,CommentCheckFlags:u,isNextLineEmpty:c}=sr(),{shouldPrintParamsWithoutParens:p}=nn();function h(e,t,n,i){let s=e.getValue(),o=[],p="ClassBody"===s.type,h=function(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}(s[i]);return e.each(((e,i,s)=>{let m=e.getValue();if("EmptyStatement"===m.type)return;let g=n();t.semi||p||a(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((e=>d(e,t)),"expression")}(e,t)?o.push(g):l(m,u.Leading)?o.push(n([],{needsSemi:!0})):o.push(";",g),!t.semi&&p&&f(m)&&function(e,t){let{type:r,name:n}=e.key;if(!(e.computed||"Identifier"!==r||"static"!==n&&"get"!==n&&"set"!==n&&"accessor"!==n||e.value||e.typeAnnotation))return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(f(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}(m,s[i+1])&&o.push(";"),m!==h&&(o.push(r),c(m,t)&&o.push(r))}),i),o}function d(e,t){let r=e.getValue();switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!p(e,t))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=r;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(o(r))return!0}return!!n(e,t)||!!s(r)&&e.call((e=>d(e,t)),...i(e,r))}var f=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t||"AccessorProperty"===t||"TSAbstractPropertyDefinition"===t||"TSAbstractAccessorProperty"===t};t.exports={printBody:function(e,t,r){return h(e,t,r,"body")},printSwitchCaseConsequent:function(e,t,r){return h(e,t,r,"consequent")}}}}),fn=v({"src/language-js/print/block.js"(e,t){w();var{printDanglingComments:r}=Ht(),{isNonEmptyArray:n}=de(),{builders:{hardline:i,indent:s}}=W(),{hasComment:o,CommentCheckFlags:a,isNextLineEmpty:l}=sr(),{printHardlineAfterHeritage:u}=on(),{printBody:c}=dn();function p(e,t,s){let u=e.getValue(),p=n(u.directives),h=u.body.some((e=>"EmptyStatement"!==e.type)),d=o(u,a.Dangling);if(!p&&!h&&!d)return"";let f=[];if(p&&e.each(((e,r,n)=>{f.push(s()),(r<n.length-1||h||d)&&(f.push(i),l(e.getValue(),t)&&f.push(i))}),"directives"),h&&f.push(c(e,t,s)),d&&f.push(r(e,t,!0)),"Program"===u.type){let t=e.getParentNode();(!t||"ModuleExpression"!==t.type)&&f.push(i)}return f}t.exports={printBlock:function(e,t,r){let o=e.getValue(),a=[];if("StaticBlock"===o.type&&a.push("static "),"ClassBody"===o.type&&n(o.body)){let t=e.getParentNode();a.push(u(t))}a.push("{");let l=p(e,t,r);if(l)a.push(s([i,l]),i);else{let t=e.getParentNode(),r=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!r.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===o.type||"ClassBody"===o.type||a.push(i)}return a.push("}"),a},printBlockBody:p}}}),mn=v({"src/language-js/print/typescript.js"(e,t){w();var{printDanglingComments:r}=Ht(),{hasNewlineInRange:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:l,indent:u,conditionalGroup:c,ifBreak:p}}=W(),{isStringLiteral:h,getTypeScriptMappedTypeModifier:d,shouldPrintComma:f,isCallExpression:m,isMemberExpression:g}=sr(),y=pn(),{locStart:b,locEnd:v}=Bt(),{printOptionalToken:D,printTypeScriptModifiers:E}=qr(),{printTernary:x}=hn(),{printFunctionParameters:S,shouldGroupFunctionParameters:C}=Qr(),{printTemplateLiteral:A}=or(),{printArrayItems:T}=Gr(),{printObject:P}=un(),{printClassProperty:F,printClassMethod:I}=on(),{printTypeParameter:N,printTypeParameters:k}=tn(),{printPropertyKey:_}=rn(),{printFunction:O,printMethodInternal:M}=nn(),{printInterface:L}=an(),{printBlock:B}=fn(),{printTypeAlias:R,printIntersectionType:j,printUnionType:$,printFunctionType:U,printTupleType:z,printIndexedAccessType:V,printJSDocType:H}=en();t.exports={printTypescript:function(e,t,w){let W=e.getValue();if(!W.type.startsWith("TS"))return;if(y(W))return W.type.slice(2,-7).toLowerCase();let q=t.semi?";":"",G=[];switch(W.type){case"TSThisType":return"this";case"TSTypeAssertion":{let e=!("ArrayExpression"===W.expression.type||"ObjectExpression"===W.expression.type),t=l(["<",u([a,w("typeAnnotation")]),a,">"]),r=[p("("),u([a,w("expression")]),a,p(")")];return e?c([[t,w("expression")],[t,l(r,{shouldBreak:!0})],[t,w("expression")]]):l([t,w("expression")])}case"TSDeclareFunction":return O(e,w,t);case"TSExportAssignment":return["export = ",w("expression"),q];case"TSModuleBlock":return B(e,t,w);case"TSInterfaceBody":case"TSTypeLiteral":return P(e,t,w);case"TSTypeAliasDeclaration":return R(e,t,w);case"TSQualifiedName":return i(".",[w("left"),w("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return I(e,t,w);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return F(e,t,w);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return G.push(w("expression")),W.typeParameters&&G.push(w("typeParameters")),G;case"TSTemplateLiteralType":return A(e,w,t);case"TSNamedTupleMember":return[w("label"),W.optional?"?":"",": ",w("elementType")];case"TSRestType":return["...",w("typeAnnotation")];case"TSOptionalType":return[w("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return L(e,t,w);case"TSClassImplements":case"TSInstantiationExpression":return[w("expression"),w("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return k(e,t,w,"params");case"TSTypeParameter":return N(e,t,w);case"TSSatisfiesExpression":case"TSAsExpression":{let t="TSAsExpression"===W.type?"as":"satisfies";G.push(w("expression"),` ${t} `,w("typeAnnotation"));let r=e.getParentNode();return m(r)&&r.callee===W||g(r)&&r.object===W?l([u([a,...G]),a]):G}case"TSArrayType":return[w("elementType"),"[]"];case"TSPropertySignature":return W.readonly&&G.push("readonly "),G.push(_(e,t,w),D(e)),W.typeAnnotation&&G.push(": ",w("typeAnnotation")),W.initializer&&G.push(" = ",w("initializer")),G;case"TSParameterProperty":return W.accessibility&&G.push(W.accessibility+" "),W.export&&G.push("export "),W.static&&G.push("static "),W.override&&G.push("override "),W.readonly&&G.push("readonly "),G.push(w("parameter")),G;case"TSTypeQuery":return["typeof ",w("exprName"),w("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=W.parameters.length>1?p(f(t)?",":""):"",s=l([u([a,i([", ",a],e.map(w,"parameters"))]),n,a]);return[W.export?"export ":"",W.accessibility?[W.accessibility," "]:"",W.static?"static ":"",W.readonly?"readonly ":"",W.declare?"declare ":"","[",W.parameters?s:"",W.typeAnnotation?"]: ":"]",W.typeAnnotation?w("typeAnnotation"):"","ClassBody"===r.type?q:""]}case"TSTypePredicate":return[W.asserts?"asserts ":"",w("parameterName"),W.typeAnnotation?[" is ",w("typeAnnotation")]:""];case"TSNonNullExpression":return[w("expression"),"!"];case"TSImportType":return[W.isTypeOf?"typeof ":"","import(",w(W.parameter?"parameter":"argument"),")",W.qualifier?[".",w("qualifier")]:"",k(e,t,w,"typeParameters")];case"TSLiteralType":return w("literal");case"TSIndexedAccessType":return V(e,t,w);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===W.type&&W.abstract&&G.push("abstract "),"TSCallSignatureDeclaration"!==W.type&&G.push("new "),G.push(l(S(e,w,t,!1,!0))),W.returnType||W.typeAnnotation){let e="TSConstructorType"===W.type;G.push(e?" => ":": ",w("returnType"),w("typeAnnotation"))}return G;case"TSTypeOperator":return[W.operator," ",w("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,b(W),v(W));return l(["{",u([t.bracketSpacing?s:a,w("typeParameter"),W.optional?d(W.optional,"?"):"",W.typeAnnotation?": ":"",w("typeAnnotation"),p(q)]),r(e,t,!0),t.bracketSpacing?s:a,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=W.kind&&"method"!==W.kind?`${W.kind} `:"";G.push(W.accessibility?[W.accessibility," "]:"",r,W.export?"export ":"",W.static?"static ":"",W.readonly?"readonly ":"",W.abstract?"abstract ":"",W.declare?"declare ":"",W.computed?"[":"",w("key"),W.computed?"]":"",D(e));let n=S(e,w,t,!1,!0),i=W.returnType?"returnType":"typeAnnotation",s=W[i],o=s?w(i):"",a=C(W,o);return G.push(a?l(n):n),s&&G.push(": ",l(o)),l(G)}case"TSNamespaceExportDeclaration":return G.push("export as namespace ",w("id")),t.semi&&G.push(";"),l(G);case"TSEnumDeclaration":return W.declare&&G.push("declare "),W.modifiers&&G.push(E(e,t,w)),W.const&&G.push("const "),G.push("enum ",w("id")," "),0===W.members.length?G.push(l(["{",r(e,t),a,"}"])):G.push(l(["{",u([o,T(e,t,"members",w),f(t,"es5")?",":""]),r(e,t,!0),o,"}"])),G;case"TSEnumMember":return W.computed?G.push("[",w("id"),"]"):G.push(w("id")),W.initializer&&G.push(" = ",w("initializer")),G;case"TSImportEqualsDeclaration":return W.isExport&&G.push("export "),G.push("import "),W.importKind&&"value"!==W.importKind&&G.push(W.importKind," "),G.push(w("id")," = ",w("moduleReference")),t.semi&&G.push(";"),l(G);case"TSExternalModuleReference":return["require(",w("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=h(W.id),i="TSModuleDeclaration"===r.type,s=W.body&&"TSModuleDeclaration"===W.body.type;if(i)G.push(".");else{W.declare&&G.push("declare "),G.push(E(e,t,w));let r=t.originalText.slice(b(W),b(W.id));"Identifier"===W.id.type&&"global"===W.id.name&&!/namespace|module/.test(r)||G.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return G.push(w("id")),s?G.push(w("body")):W.body?G.push(" ",l(w("body"))):G.push(q),G}case"TSConditionalType":return x(e,t,w);case"TSInferType":return["infer"," ",w("typeParameter")];case"TSIntersectionType":return j(e,t,w);case"TSUnionType":return $(e,t,w);case"TSFunctionType":return U(e,t,w);case"TSTupleType":return z(e,t,w);case"TSTypeReference":return[w("typeName"),k(e,t,w,"typeParameters")];case"TSTypeAnnotation":return w("typeAnnotation");case"TSEmptyBodyFunctionExpression":return M(e,t,w);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return H(e,w,"?");case"TSJSDocNonNullableType":return H(e,w,"!");default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(W.type)}.`)}}}}}),gn=v({"src/language-js/print/comment.js"(e,t){w();var{hasNewline:r}=de(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:s}}=W(),{isLineComment:o}=sr(),{locStart:a,locEnd:l}=Bt(),u=nr();t.exports={printComment:function(e,t){let c=e.getValue();if(o(c))return t.originalText.slice(a(c),l(c)).trimEnd();if(u(c)){if(function(e){let t=`*${e.value}*`.split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}(c)){let e=function(e){let t=e.value.split("\n");return["/*",n(i,t.map(((e,r)=>0===r?e.trimEnd():" "+(r<t.length-1?e.trim():e.trimStart())))),"*/"]}(c);return c.trailing&&!r(t.originalText,a(c),{backwards:!0})?[i,e]:e}let e=l(c),o="*-/"===t.originalText.slice(e-3,e);return["/*",s(c.value),o?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(c))}}}}),yn=v({"src/language-js/print/literal.js"(e,t){w();var{printString:r,printNumber:n}=de(),{replaceTextEndOfLine:i}=U(),{printDirective:s}=qr();function o(e){return e.toLowerCase()}function a(e){let{pattern:t,flags:r}=e;return r=[...r].sort().join(""),`/${t}/${r}`}t.exports={printLiteral:function(e,t){let l=e.getNode();switch(l.type){case"RegExpLiteral":return a(l);case"BigIntLiteral":return o(l.bigint||l.extra.raw);case"NumericLiteral":return n(l.extra.raw);case"StringLiteral":return i(r(l.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(l.value);case"DecimalLiteral":return n(l.value)+"m";case"Literal":{if(l.regex)return a(l.regex);if(l.bigint)return o(l.raw);if(l.decimal)return n(l.decimal)+"m";let{value:u}=l;return"number"==typeof u?n(l.raw):"string"==typeof u?function(e){if("expression"!==e.getName())return;let t=e.getParentNode();return"ExpressionStatement"===t.type&&t.directive}(e)?s(l.raw,t):i(r(l.raw,t)):String(u)}}}}}}),bn=v({"src/language-js/printer-estree.js"(e,t){w();var{printDanglingComments:r}=Ht(),{hasNewline:n}=de(),{builders:{join:i,line:s,hardline:o,softline:a,group:l,indent:u},utils:{replaceTextEndOfLine:c}}=W(),p=pr(),h=hr(),{insertPragma:d}=Br(),f=jr(),m=$r(),g=Ur(),{hasFlowShorthandAnnotationComment:y,hasComment:b,CommentCheckFlags:v,isTheOnlyJsxElementInMarkdown:D,isLineComment:E,isNextLineEmpty:x,needsHardlineAfterDanglingComment:S,hasIgnoreComment:C,isCallExpression:A,isMemberExpression:T,markerForIfWithoutBlockAndSameLineComment:P}=sr(),{locStart:F,locEnd:I}=Bt(),N=nr(),{printHtmlBinding:k,isVueEventBindingExpression:_}=zr(),{printAngular:O}=Wr(),{printJsx:M,hasJsxIgnoreComment:L}=Hr(),{printFlow:B}=cn(),{printTypescript:R}=mn(),{printOptionalToken:j,printBindExpressionCallee:$,printTypeAnnotation:U,adjustClause:z,printRestSpread:V,printDefiniteToken:H,printDirective:q}=qr(),{printImportDeclaration:G,printExportDeclaration:K,printExportAllDeclaration:X,printModuleSpecifier:J}=ln(),{printTernary:Y}=hn(),{printTemplateLiteral:Z}=or(),{printArray:Q}=Gr(),{printObject:ee}=un(),{printClass:te,printClassMethod:re,printClassProperty:ne}=on(),{printProperty:ie}=rn(),{printFunction:se,printArrowFunction:oe,printMethod:ae,printReturnStatement:le,printThrowStatement:ue}=nn(),{printCallExpression:ce}=Yr(),{printVariableDeclarator:pe,printAssignmentExpression:he}=Zr(),{printBinaryishExpression:fe}=Vr(),{printSwitchCaseConsequent:me}=dn(),{printMemberExpression:ge}=Xr(),{printBlock:ye,printBlockBody:be}=fn(),{printComment:ve}=gn(),{printLiteral:De}=yn(),{printDecorators:Ee}=sn();t.exports={preprocess:g,print:function(e,t,p,h){let d=function(e,t,p,h){let d=e.getValue(),f=t.semi?";":"";if(!d)return"";if("string"==typeof d)return d;for(let r of[De,k,O,M,B,R]){let n=r(e,t,p);if(typeof n<"u")return n}let m=[];switch(d.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),o];case"File":return d.program&&d.program.interpreter&&m.push(p(["program","interpreter"])),m.push(p("program")),m;case"Program":return be(e,t,p);case"EmptyStatement":return"";case"ExpressionStatement":{if("__vue_event_binding"===t.parser||"__vue_ts_event_binding"===t.parser){let t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===d)return[p("expression"),_(d.expression)?";":""]}let n=r(e,t,!0,(e=>{let{marker:t}=e;return t===P}));return[p("expression"),D(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return b(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?l(["(",u([a,p("expression")]),a,")"]):["(",p("expression"),")"];case"AssignmentExpression":return he(e,t,p);case"VariableDeclarator":return pe(e,t,p);case"BinaryExpression":case"LogicalExpression":return fe(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return ge(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(l(u([a,$(e,t,p)]))),m;case"Identifier":return[d.name,j(e),H(e),U(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return V(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return se(e,p,t,h);case"ArrowFunctionExpression":return oe(e,t,p,h);case"YieldExpression":return m.push("yield"),d.delegate&&m.push("*"),d.argument&&m.push(" ",p("argument")),m;case"AwaitExpression":if(m.push("await"),d.argument){m.push(" ",p("argument"));let t=e.getParentNode();if(A(t)&&t.callee===d||T(t)&&t.object===d){m=[u([a,...m]),a];let t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return l(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return K(e,t,p);case"ExportAllDeclaration":return X(e,t,p);case"ImportDeclaration":return G(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return J(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ye(e,t,p);case"ThrowStatement":return ue(e,t,p);case"ReturnStatement":return le(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ce(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ee(e,t,p);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?ae(e,t,p):ie(e,t,p);case"ObjectMethod":return ae(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Q(e,t,p);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,r)=>{0===r?t.push(p()):t.push(",",u([s,p()]))}),"expressions"),l(t)}return l(i([",",s],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return q(d.extra.raw,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),b(d.argument)?m.push(l(["(",u([a,p("argument")]),a,")"])):m.push(p("argument")),m;case"UpdateExpression":return m.push(p("argument"),d.operator),d.prefix&&m.reverse(),m;case"ConditionalExpression":return Y(e,t,p);case"VariableDeclaration":{let t,r=e.map(p,"declarations"),n=e.getParentNode(),i="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,a=d.declarations.some((e=>e.init));return 1!==r.length||b(d.declarations[0])?r.length>0&&(t=u(r[0])):t=r[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",u(r.slice(1).map((e=>[",",a&&!i?o:s,e])))],i&&n.body!==d||m.push(f),l(m)}case"WithStatement":return l(["with (",p("object"),")",z(d.body,p("body"))]);case"IfStatement":{let n=z(d.consequent,p("consequent")),i=l(["if (",l([u([a,p("test")]),a]),")",n]);if(m.push(i),d.alternate){let n=b(d.consequent,v.Trailing|v.Line)||S(d),i="BlockStatement"===d.consequent.type&&!n;m.push(i?" ":o),b(d,v.Dangling)&&m.push(r(e,t,!0),n?o:" "),m.push("else",l(z(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let n=z(d.body,p("body")),i=r(e,t,!0),o=i?[i,a]:"";return d.init||d.test||d.update?[o,l(["for (",l([u([a,p("init"),";",s,p("test"),";",s,p("update")]),a]),")",n])]:[o,l(["for (;;)",n])]}case"WhileStatement":return l(["while (",l([u([a,p("test")]),a]),")",z(d.body,p("body"))]);case"ForInStatement":return l(["for (",p("left")," in ",p("right"),")",z(d.body,p("body"))]);case"ForOfStatement":return l(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",z(d.body,p("body"))]);case"DoWhileStatement":{let e=z(d.body,p("body"));return m=[l(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(o),m.push("while (",l([u([a,p("test")]),a]),")",f),m}case"DoExpression":return[d.async?"async ":"","do ",p("body")];case"BreakStatement":return m.push("break"),d.label&&m.push(" ",p("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),d.label&&m.push(" ",p("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===d.body.type?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),d.handler?[" ",p("handler")]:"",d.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(d.param){let e=b(d.param,(e=>!N(e)||e.leading&&n(t.originalText,I(e))||e.trailing&&n(t.originalText,F(e),{backwards:!0}))),r=p("param");return["catch ",e?["(",u([a,r]),a,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[l(["switch (",u([a,p("discriminant")]),a,")"])," {",d.cases.length>0?u([o,i(o,e.map(((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&x(i,t)?o:""]}),"cases"))]):"",o,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),b(d,v.Dangling)&&m.push(" ",r(e,t,!0));let n=d.consequent.filter((e=>"EmptyStatement"!==e.type));if(n.length>0){let r=me(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:u([o,r]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return te(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return ne(e,t,p);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return Z(e,p,t);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("quasi")];case"PrivateIdentifier":return["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return m.push("#!",d.value,o),x(d,t)&&m.push(o),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=p("body");return e&&m.push(u([o,e]),o),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(d.type))}}(e,t,p,h);if(!d)return"";let f=e.getValue(),{type:g}=f;if("ClassMethod"===g||"ClassPrivateMethod"===g||"ClassProperty"===g||"ClassAccessorProperty"===g||"AccessorProperty"===g||"TSAbstractAccessorProperty"===g||"PropertyDefinition"===g||"TSAbstractPropertyDefinition"===g||"ClassPrivateProperty"===g||"MethodDefinition"===g||"TSAbstractMethodDefinition"===g||"TSDeclareMethod"===g)return d;let E=[d],w=Ee(e,t,p),C="ClassExpression"===f.type&&w;if(w&&(E=[...w,d],!C))return l(E);if(!m(e,t))return h&&h.needsSemi&&E.unshift(";"),1===E.length&&E[0]===d?d:E;if(C&&(E=[u([s,...E])]),E.unshift("("),h&&h.needsSemi&&E.unshift(";"),y(f)){let[e]=f.trailingComments;E.push(" /*",e.value.trimStart(),"*/"),e.printed=!0}return C&&E.push(s),E.push(")"),E},embed:p,insertPragma:d,massageAstNode:h,hasPrettierIgnore:e=>C(e)||L(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:function(e){return e.type&&!N(e)&&!E(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type},printComment:ve,isBlockComment:N,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),vn=v({"src/language-js/printer-estree-json.js"(e,t){w();var{builders:{hardline:r,indent:n,join:i}}=W(),s=Ur();function o(e){return"key"===e.getName()&&"ObjectProperty"===e.getParentNode().type}var a=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function l(e,t){let{type:r}=e;if("ObjectProperty"!==r){if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"!==r)return"TemplateLiteral"===r?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,n]of e.elements.entries())null===n&&t.elements.splice(r,0,{type:"NullLiteral"})}else{let{key:r}=e;"Identifier"===r.type?t.key={type:"StringLiteral",value:r.name}:"NumericLiteral"===r.type&&(t.key={type:"StringLiteral",value:String(r.value)})}}l.ignoredProperties=a,t.exports={preprocess:s,print:function(e,t,s){let a=e.getValue();switch(a.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===a.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":s()),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===a.properties.length?"{}":["{",n([r,i([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===a.operator?"":a.operator,s("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return a.value?"true":"false";case"StringLiteral":return JSON.stringify(a.value);case"NumericLiteral":return o(e)?JSON.stringify(String(a.value)):JSON.stringify(a.value);case"Identifier":return o(e)?JSON.stringify(a.name):a.name;case"TemplateLiteral":return s(["quasis",0]);case"TemplateElement":return JSON.stringify(a.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(a.type))}},massageAstNode:l}}}),Dn=v({"src/common/common-options.js"(e,t){w();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:r,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),En=v({"src/language-js/options.js"(e,t){w();var r=Dn(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:n,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:r.singleAttributePerLine}}}),xn=v({"src/language-js/parse/parsers.js"(){w()}}),wn=v({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),Sn=v({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Cn=v({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),An=v({"node_modules/linguist-languages/data/JSON.json"(e,t){t.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Tn=v({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),Pn=v({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Fn=v({"src/language-js/index.js"(e,t){w();var r=Zt(),n=bn(),i=vn(),s=En(),o=xn(),a=[r(wn(),(e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),r(wn(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(wn(),(()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}))),r(Sn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),r(Cn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(An(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),r(An(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(Tn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(Pn(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],l={estree:n,"estree-json":i};t.exports={languages:a,options:s,printers:l,parsers:o}}}),In=v({"src/language-css/clean.js"(e,t){w();var{isFrontMatterNode:r}=de(),n=F(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(e,t,i){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||r(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&n(i.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=function(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,r)=>{let n=Number(t);return Number.isNaN(n)?e:n+r.toLowerCase()}))),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let r=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==r&&(t.groups[r].unit="",t.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}return"value-comma_group"===e.type&&e.groups.some((e=>"value-atword"===e.type&&e.value.endsWith("[")||"value-word"===e.type&&e.value.startsWith("]")))?{type:"value-atword",value:e.groups.map((e=>e.value)).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}:void 0}s.ignoredProperties=i,t.exports=s}}),Nn=v({"src/utils/front-matter/print.js"(e,t){w();var{builders:{hardline:r,markAsRoot:n}}=W();t.exports=function(e,t){if("yaml"===e.lang){let i=e.value.trim(),s=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,s,s?r:"",e.endDelimiter])}}}}),kn=v({"src/language-css/embed.js"(e,t){w();var{builders:{hardline:r}}=W(),n=Nn();t.exports=function(e,t,i){let s=e.getValue();if("front-matter"===s.type){let e=n(s,i);return e?[e,r]:""}}}}),_n=v({"src/utils/front-matter/parse.js"(e,t){w();var r=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");t.exports=function(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:o}=t.groups,a=i.trim()||"yaml";if("+++"===n&&(a="toml"),"yaml"!==a&&n!==o)return{content:e};let[l]=t;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:n,endDelimiter:o,raw:l.replace(/\n$/,"")},content:l.replace(/[^\n]/g," ")+e.slice(l.length)}}}}),On=v({"src/language-css/pragma.js"(e,t){w();var r=Br(),n=_n();t.exports={hasPragma:function(e){return r.hasPragma(n(e).content)},insertPragma:function(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}}}}),Mn=v({"src/language-css/utils/index.js"(e,t){w();var r=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function n(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function i(e,t){let r=n(e,t);return-1===r?null:e.getParentNode(r)}var s=new Set(["initial","inherit","unset","revert"]);function o(e){return"value-operator"===e.type&&"*"===e.value}function a(e){return"value-operator"===e.type&&"/"===e.value}function l(e){return"value-operator"===e.type&&"+"===e.value}function u(e){return"value-operator"===e.type&&"-"===e.value}function c(e){return"value-operator"===e.type&&"%"===e.value}function p(e){var t,r;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.type)}function h(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&p(e.groups[0])}function d(e){return"value-colon"===(null==e?void 0:e.type)}t.exports={getAncestorCounter:n,getAncestorNode:i,getPropOfDeclNode:function(e){var t;let r=i(e,"css-decl");return null==r||null===(t=r.prop)||void 0===t?void 0:t.toLowerCase()},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){var r;let n=i(e,"value-func");return(null==n||null===(r=n.value)||void 0===r?void 0:r.toLowerCase())===t},insideICSSRuleNode:function(e){var t;let r=i(e,"css-rule"),n=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))},insideAtRuleNode:function(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),r=i(e,"css-atrule");return"import"===(null==r?void 0:r.name)&&"url"===t.groups[0].value&&2===t.groups.length},isKeyframeAtRuleKeywords:function(e,t){let r=i(e,"css-atrule");return(null==r?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return s.has(e.toLowerCase())},isLastNode:function(e,t){var r;let n=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return n&&n.indexOf(t)===n.length-1},isSCSSControlDirectiveNode:function(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))},isRelationalOperatorNode:function(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:o,isDivisionNode:a,isAdditionNode:l,isSubtractionNode:u,isModuloNode:c,isMathOperatorNode:function(e){return o(e)||a(e)||l(e)||u(e)||c(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){var t,r;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(r=e.value.group)||void 0===r?void 0:r.type)&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){var t,r,n;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(n=r.group)||void 0===n?void 0:n.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)},isDetachedRulesetCallNode:function(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before},isKeyValuePairNode:p,isKeyValuePairInParenGroupNode:h,isKeyInValuePairNode:function(e,t){if(!p(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&d(r[n+1])},isSCSSMapItemNode:function(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!(h(r)||n&&h(n)))return!1;let s=i(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||h(n)||"value-func"===n.type)},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:d,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},isAtWordPlaceholderNode:function(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")},isConfigurationNode:function(e,t){var r,n;if("("!==(null===(r=e.open)||void 0===r?void 0:r.value)||")"!==(null===(n=e.close)||void 0===n?void 0:n.value)||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,n=t.groups[r];if("value-word"===(null==n?void 0:n.type)&&"with"===n.value)return!0}return!1},isParenGroupNode:function(e){var t,r;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(r=e.close)||void 0===r?void 0:r.value)}}}}),Ln=v({"src/utils/line-column-to-index.js"(e,t){w(),t.exports=function(e,t){let r=0;for(let n=0;n<e.line-1;++n)r=t.indexOf("\n",r)+1;return r+e.column}}}),Bn=v({"src/language-css/loc.js"(e,t){w();var{skipEverythingButNewLine:r}=le(),n=F(),i=Ln();function s(e,t){return"number"==typeof e.sourceIndex?e.sourceIndex:e.source?i(e.source.start,t)-1:null}function o(e,t){if("css-comment"===e.type&&e.inline)return r(t,e.source.startOffset);let s=e.nodes&&n(e.nodes);return s&&e.source&&!e.source.end&&(e=s),e.source&&e.source.end?i(e.source.end,t):null}function a(e,t,r){e.source&&(e.source.startOffset=s(e,r)+t,e.source.endOffset=o(e,r)+t);for(let n in e){let i=e[n];"source"===n||!i||"object"!=typeof i||a(i,t,r)}}function l(e){let t=e.source.startOffset;return"string"==typeof e.prop&&(t+=e.prop.length),"css-atrule"===e.type&&"string"==typeof e.name&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),"css-atrule"!==e.type&&e.raws&&"string"==typeof e.raws.between&&(t+=e.raws.between.length),t}t.exports={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:function e(t,r){t.source&&(t.source.startOffset=s(t,r),t.source.endOffset=o(t,r));for(let n in t){let i=t[n];"source"===n||!i||"object"!=typeof i||("value-root"===i.type||"value-unknown"===i.type?a(i,l(t),i.text||i.value):e(i,r))}},replaceQuotesInInlineComments:function(e){let t,r="initial",n="initial",i=!1,s=[];for(let o=0;o<e.length;o++){let a=e[o];switch(r){case"initial":if("'"===a){r="single-quotes";continue}if('"'===a){r="double-quotes";continue}if(("u"===a||"U"===a)&&"url("===e.slice(o,o+4).toLowerCase()){r="url",o+=3;continue}if("*"===a&&"/"===e[o-1]){r="comment-block";continue}if("/"===a&&"/"===e[o-1]){r="comment-inline",t=o-1;continue}continue;case"single-quotes":if("'"===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"double-quotes":if('"'===a&&"\\"!==e[o-1]&&(r=n,n="initial"),"\n"===a||"\r"===a)return e;continue;case"url":if(")"===a&&(r="initial"),"\n"===a||"\r"===a)return e;if("'"===a){r="single-quotes",n="url";continue}if('"'===a){r="double-quotes",n="url";continue}continue;case"comment-block":"/"===a&&"*"===e[o-1]&&(r="initial");continue;case"comment-inline":('"'===a||"'"===a||"*"===a)&&(i=!0),("\n"===a||"\r"===a)&&(i&&s.push([t,o]),r="initial",i=!1);continue}}for(let[t,r]of s)e=e.slice(0,t)+e.slice(t,r).replace(/["'*]/g," ")+e.slice(r);return e}}}}),Rn=v({"src/language-css/utils/is-less-parser.js"(e,t){w(),t.exports=function(e){return"css"===e.parser||"less"===e.parser}}}),jn=v({"src/language-css/utils/is-scss.js"(e,t){w(),t.exports=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)}}}),$n=v({"src/language-css/utils/css-units.evaluate.js"(e,t){t.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Un=v({"src/language-css/utils/print-unit.js"(e,t){w();var r=$n();t.exports=function(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:e}}}),zn=v({"src/language-css/printer-postcss.js"(e,t){w();var r=F(),{printNumber:n,printString:i,hasNewline:s,isFrontMatterNode:o,isNextLineEmpty:a,isNonEmptyArray:l}=de(),{builders:{join:u,line:c,hardline:p,softline:h,group:d,fill:f,indent:m,dedent:g,ifBreak:y,breakParent:b},utils:{removeLines:v,getDocParts:D}}=W(),E=In(),x=kn(),{insertPragma:S}=On(),{getAncestorNode:C,getPropOfDeclNode:A,maybeToLowerCase:T,insideValueFunctionNode:P,insideICSSRuleNode:I,insideAtRuleNode:N,insideURLFunctionInImportAtRuleNode:k,isKeyframeAtRuleKeywords:_,isWideKeywords:O,isLastNode:M,isSCSSControlDirectiveNode:L,isDetachedRulesetDeclarationNode:B,isRelationalOperatorNode:R,isEqualityOperatorNode:j,isMultiplicationNode:$,isDivisionNode:U,isAdditionNode:z,isSubtractionNode:V,isMathOperatorNode:H,isEachKeywordNode:q,isForKeywordNode:G,isURLFunctionNode:K,isIfElseKeywordNode:X,hasComposesNode:J,hasParensAroundNode:Y,hasEmptyRawBefore:Z,isKeyValuePairNode:Q,isKeyInValuePairNode:ee,isDetachedRulesetCallNode:te,isTemplatePlaceholderNode:re,isTemplatePropNode:ne,isPostcssSimpleVarNode:ie,isSCSSMapItemNode:se,isInlineValueCommentNode:oe,isHashNode:ae,isLeftCurlyBraceNode:le,isRightCurlyBraceNode:ue,isWordNode:ce,isColonNode:pe,isMediaAndSupportsKeywords:he,isColorAdjusterFuncNode:fe,lastLineHasInlineComment:me,isAtWordPlaceholderNode:ge,isConfigurationNode:ye,isParenGroupNode:be}=Mn(),{locStart:ve,locEnd:De}=Bn(),Ee=Rn(),xe=jn(),we=Un();function Se(e){return"es5"===e.trailingComma||"all"===e.trailingComma}function Ce(e,t,r){let n=[];return e.each(((e,i,l)=>{let u=l[i-1];if(u&&"css-comment"===u.type&&"prettier-ignore"===u.text.trim()){let r=e.getValue();n.push(t.originalText.slice(ve(r),De(r)))}else n.push(r());i!==l.length-1&&("css-comment"===l[i+1].type&&!s(t.originalText,ve(l[i+1]),{backwards:!0})&&!o(l[i])||"css-atrule"===l[i+1].type&&"else"===l[i+1].name&&"css-comment"!==l[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?c:p),a(t.originalText,e.getValue(),De)&&!o(l[i])&&n.push(p)))}),"nodes"),n}var Ae=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Te=new RegExp(Ae.source+`|(${/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source})?(${/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source})(${/[A-Za-z]+/g.source})?`,"g");function Pe(e,t){return e.replace(Ae,(e=>i(e,t)))}function Fe(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Ie(e){return e.replace(Te,((e,t,r,n,i)=>!r&&n?Ne(n)+T(i||""):e))}function Ne(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:function(e,t,n){let s=e.getValue();if(!s)return"";if("string"==typeof s)return s;switch(s.type){case"front-matter":return[s.raw,p];case"css-root":{let r=Ce(e,t,n),i=s.raws.after.trim();return i.startsWith(";")&&(i=i.slice(1).trim()),[r,i?` ${i}`:"",D(r).length>0?p:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(ve(s),De(s));return e?r.trimEnd():r}case"css-rule":return[n("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&me(s.selector.value)?c:" ","{",s.nodes.length>0?m([p,Ce(e,t,n)]):"",p,"}",B(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=s.raws,o=i.trim(),a=":"===o,l=J(s)?v(n("value")):n("value");return!a&&me(o)&&(l=m([p,g(l)])),[s.raws.before.replace(/[\s;]/g,""),"css-atrule"===r.type&&r.variable||I(e)?s.prop:T(s.prop),o.startsWith("//")?" ":"",o,s.extend?"":" ",Ee(t)&&s.extend&&s.selector?["extend(",n("selector"),")"]:"",l,s.raws.important?s.raws.important.replace(/\s*!\s*important/i," !important"):s.important?" !important":"",s.raws.scssDefault?s.raws.scssDefault.replace(/\s*!default/i," !default"):s.scssDefault?" !default":"",s.raws.scssGlobal?s.raws.scssGlobal.replace(/\s*!global/i," !global"):s.scssGlobal?" !global":"",s.nodes?[" {",m([h,Ce(e,t,n)]),h,"}"]:ne(s)&&!r.raws.semicolon&&";"!==t.originalText[De(s)-1]?"":t.__isHTMLStyleAttribute&&M(e,s)?y(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(s)&&!r.raws.semicolon&&";"!==t.originalText[De(s)-1];if(Ee(t)){if(s.mixin)return[n("selector"),s.important?" !important":"",i?"":";"];if(s.function)return[s.name,n("params"),i?"":";"];if(s.variable)return["@",s.name,": ",s.value?n("value"):"",s.raws.between.trim()?s.raws.between.trim()+" ":"",s.nodes?["{",m([s.nodes.length>0?h:"",Ce(e,t,n)]),h,"}"]:"",i?"":";"]}return["@",te(s)||s.name.endsWith(":")?s.name:T(s.name),s.params?[te(s)?"":re(s)?""===s.raws.afterName?"":s.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(s.raws.afterName)?[p,p]:/^\s*\n/.test(s.raws.afterName)?p:" ":" ",n("params")]:"",s.selector?m([" ",n("selector")]):"",s.value?d([" ",n("value"),L(s)?Y(s)?" ":c:""]):"else"===s.name?" ":"",s.nodes?[L(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&me(s.selector.value)||!s.selector&&"string"==typeof s.params&&me(s.params)?c:" ","{",m([s.nodes.length>0?h:"",Ce(e,t,n)]),h,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),d(m(u(c,t)))}case"media-query":return[u(" ",e.map(n,"nodes")),M(e,s)?"":","];case"media-type":case"media-value":return Ie(Pe(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(n,"nodes"),")"]:s.value;case"media-feature":return T(Pe(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return Pe(s.value,t);case"media-url":return Pe(s.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return s.value;case"selector-root":return d([N(e,"custom-selector")?[C(e,"css-atrule").customSelector,c]:"",u([",",N(e,["extend","custom-selector","nest"])?c:p],e.map(n,"nodes"))]);case"selector-selector":return d(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(s),n=r&&t.nodes[r-1];return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"","selector-nesting"===n.type?s.value:Ie(_(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",Ie(Pe(s.value,t))];case"selector-attribute":var o;return["[",s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.attribute.trim(),null!==(o=s.operator)&&void 0!==o?o:"",s.value?Fe(Pe(s.value.trim(),t),t):"",s.insensitive?" i":"","]"];case"selector-combinator":if("+"===s.value||">"===s.value||"~"===s.value||">>>"===s.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===s?"":c,s.value,M(e,s)?"":" "]}return[s.value.trim().startsWith("(")?c:"",Ie(Pe(s.value.trim(),t))||c];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[T(s.value),l(s.nodes)?d(["(",m([h,u([",",c],e.map(n,"nodes"))]),h,")"]):""];case"selector-unknown":{let r=C(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Ie(Pe(T(s.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=ve(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let i=e.getParentNode(1);if("value-paren_group"===n.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=De(n.open)+1,r=ve(n.close),i=t.originalText.slice(e,r).trim();return me(i)?[b,i]:i}return s.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(ve(s),De(s));case"value-comma_group":{let r=e.getParentNode(),i=e.getParentNode(1),o=A(e),a=o&&"value-value"===r.type&&("grid"===o||o.startsWith("grid-template")),l=C(e,"css-atrule"),u=l&&L(l),y=s.groups.some((e=>oe(e))),v=e.map(n,"groups"),D=[],x=P(e,"url"),w=!1,S=!1;for(let n=0;n<s.groups.length;++n){var E;D.push(v[n]);let o=s.groups[n-1],d=s.groups[n],f=s.groups[n+1],m=s.groups[n+2];if(x){(f&&z(f)||z(d))&&D.push(" ");continue}if(N(e,"forward")&&"value-word"===d.type&&d.value&&void 0!==o&&"value-word"===o.type&&"as"===o.value&&"value-operator"===f.type&&"*"===f.value||!f||"value-word"===d.type&&d.value.endsWith("-")&&ge(f))continue;if("value-string"===d.type&&d.quoted){let e=d.value.lastIndexOf("#{"),t=d.value.lastIndexOf("}");-1!==e&&-1!==t?w=e>t:-1!==e?w=!0:-1!==t&&(w=!1)}if(w||pe(d)||pe(f)||"value-atword"===d.type&&(""===d.value||d.value.endsWith("["))||"value-word"===f.type&&f.value.startsWith("]")||"~"===d.value||d.value&&d.value.includes("\\")&&f&&"value-comment"!==f.type||o&&o.value&&o.value.indexOf("\\")===o.value.length-1&&"value-operator"===d.type&&"/"===d.value||"\\"===d.value||ie(d,f)||ae(d)||le(d)||ue(f)||le(f)&&Z(f)||ue(d)&&Z(f)||"--"===d.value&&ae(f))continue;let y=H(d),b=H(f);if((y&&ae(f)||b&&ue(d))&&Z(f)||!o&&U(d)||P(e,"calc")&&(z(d)||z(f)||V(d)||V(f))&&Z(f))continue;let C=(z(d)||V(d))&&0===n&&("value-number"===f.type||f.isHex)&&i&&fe(i)&&!Z(f),A=m&&"value-func"===m.type||m&&ce(m)||"value-func"===d.type||ce(d),T="value-func"===f.type||ce(f)||o&&"value-func"===o.type||o&&ce(o);if(($(f)||$(d)||P(e,"calc")||C||!(U(f)&&!A||U(d)&&!T||z(f)&&!A||z(d)&&!T||V(f)||V(d))||!(Z(f)||y&&(!o||o&&H(o))))&&("scss"!==t.parser&&"less"!==t.parser||!y||"-"!==d.value||!be(f)||De(d)!==ve(f.open)||"("!==f.open.value)){if(oe(d)){if("value-paren_group"===r.type){D.push(g(p));continue}D.push(p);continue}if(u&&(j(f)||R(f)||X(f)||q(d)||G(d))){D.push(" ");continue}if(l&&"namespace"===l.name.toLowerCase()){D.push(" ");continue}if(a){d.source&&f.source&&d.source.start.line!==f.source.start.line?(D.push(p),S=!0):D.push(" ");continue}if(b){D.push(" ");continue}if(!(f&&"..."===f.value||ge(d)&&ge(f)&&De(d)===ve(f))){if(ge(d)&&be(f)&&De(d)===ve(f.open)){D.push(h);continue}if("with"===d.value&&be(f)){D.push(" ");continue}null!==(E=d.value)&&void 0!==E&&E.endsWith("#")&&"{"===f.value&&be(f.group)||D.push(c)}}}return y&&D.push(b),S&&D.unshift(p),u?d(m(D)):k(e)?d(f(D)):d(m(f(D)))}case"value-paren_group":{let i=e.getParentNode();if(i&&K(i)&&(1===s.groups.length||s.groups.length>0&&"value-comma_group"===s.groups[0].type&&s.groups[0].groups.length>0&&"value-word"===s.groups[0].groups[0].type&&s.groups[0].groups[0].value.startsWith("data:")))return[s.open?n("open"):"",u(",",e.map(n,"groups")),s.close?n("close"):""];if(!s.open){let t=e.map(n,"groups"),r=[];for(let e=0;e<t.length;e++)0!==e&&r.push([",",c]),r.push(t[e]);return d(m(f(r)))}let o=se(e),b=r(s.groups),v=b&&"value-comment"===b.type,E=ee(s,i),x=ye(s,i),w=x||o&&!E,S=x||E,C=d([s.open?n("open"):"",m([h,u([c],e.map(((e,i)=>{let o=e.getValue(),u=i===s.groups.length-1,c=[n(),u?"":","];if(Q(o)&&"value-comma_group"===o.type&&o.groups&&"value-paren_group"!==o.groups[0].type&&o.groups[2]&&"value-paren_group"===o.groups[2].type){let e=D(c[0].contents.contents);e[1]=d(e[1]),c=[d(g(c))]}if(!u&&"value-comma_group"===o.type&&l(o.groups)){let e=r(o.groups);!e.source&&e.close&&(e=e.close),e.source&&a(t.originalText,e,De)&&c.push(p)}return c}),"groups"))]),y(!v&&xe(t.parser,t.originalText)&&o&&Se(t)?",":""),h,s.close?n("close"):""],{shouldBreak:w});return S?g(C):C}case"value-func":return[s.value,N(e,"supports")&&he(s)?" ":"",n("group")];case"value-number":return[Ne(s.value),we(s.unit)];case"value-word":return s.isColor&&s.isHex||O(s.value)?s.value.toLowerCase():s.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(s),i=n&&t.groups[n-1];return[s.value,i&&"string"==typeof i.value&&"\\"===r(i.value)||P(e,"url")?"":c]}case"value-string":return i(s.raws.quote+s.value+s.raws.quote,t);case"value-atword":return["@",s.value];default:throw new Error(`Unknown postcss type ${JSON.stringify(s.type)}`)}},embed:x,insertPragma:S,massageAstNode:E}}}),Vn=v({"src/language-css/options.js"(e,t){w();var r=Dn();t.exports={singleQuote:r.singleQuote}}}),Wn=v({"src/language-css/parsers.js"(){w()}}),Hn=v({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),qn=v({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Gn=v({"node_modules/linguist-languages/data/Less.json"(e,t){t.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Kn=v({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),Xn=v({"src/language-css/index.js"(e,t){w();var r=Zt(),n=zn(),i=Vn(),s=Wn(),o=[r(Hn(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r(qn(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(Gn(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(Kn(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],a={postcss:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Jn=v({"src/language-handlebars/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}}}}),Yn=v({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}w(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),Zn=v({"src/language-handlebars/html-void-elements.evaluate.js"(e,t){t.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),Qn=v({"src/language-handlebars/utils.js"(e,t){w();var r=F(),n=Zn();function i(e){return e.toUpperCase()===e}var s=new Set(n);function o(e){return a(e,["TextNode"])&&!/\S/.test(e.chars)}function a(e,t){return e&&t.includes(e.type)}function l(e,t){return a(e.getParentNode(0),t)}function u(e,t){var r,n,i,s;let o=e.getValue(),a=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},l=null!==(n=null!==(i=null!==(s=a.children)&&void 0!==s?s:a.body)&&void 0!==i?i:a.parts)&&void 0!==n?n:[],u=l.indexOf(o);return-1!==u&&l[u+t]}function c(e){return u(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function p(e){return u(e,1)}function h(e){return a(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}t.exports={getNextNode:p,getPreviousNode:c,hasPrettierIgnore:function(e){let t=e.getValue(),r=c(e,2);return h(t)||h(r)},isLastNodeOfSiblings:function(e){let t=e.getValue(),n=e.getParentNode(0);return!!(l(e,["ElementNode"])&&r(n.children)===t||l(e,["Block"])&&r(n.body)===t)},isNextNodeOfSomeType:function(e,t){return a(p(e),t)},isNodeOfSomeType:a,isParentOfSomeType:l,isPreviousNodeOfSomeType:function(e,t){return a(c(e),t)},isVoid:function(e){return!0===e.selfClosing||function(e){return s.has(e.toLowerCase())&&!i(e[0])}(e.tag)||function(e){return a(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(i(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every((e=>o(e)))},isWhitespaceNode:o}}}),ei=v({"src/language-handlebars/printer-glimmer.js"(e,t){w();var{builders:{dedent:r,fill:n,group:i,hardline:s,ifBreak:o,indent:a,join:l,line:u,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:h}}=W(),{getPreferredQuote:d,isNonEmptyArray:f}=de(),{locStart:m,locEnd:g}=Jn(),y=Yn(),{getNextNode:b,getPreviousNode:v,hasPrettierIgnore:D,isLastNodeOfSiblings:E,isNextNodeOfSomeType:x,isNodeOfSomeType:S,isParentOfSomeType:C,isPreviousNodeOfSomeType:A,isVoid:T,isWhitespaceNode:P}=Qn();function F(e,t){return m(e)-m(t)}function I(e,t,r){let n=e.getValue().children.every((e=>P(e)));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map(((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i}),"children")}function N(e){return T(e)?o([c,"/>"],[" />",c]):o([c,">"],">")}function k(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function _(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function O(e){return[k(e),e.openStrip.open?"~":"","#"]}function M(e){let t=_(e);return[e.openStrip.close?"~":"",t]}function L(e){return[k(e),e.closeStrip.open?"~":"","/"]}function B(e){let t=_(e);return[e.closeStrip.close?"~":"",t]}function R(e){return[k(e),e.inverseStrip.open?"~":""]}function j(e){let t=_(e);return[e.inverseStrip.close?"~":"",t]}function $(e,t){let r=e.getValue(),n=[],s=re(e,t);return s&&n.push(i(s)),f(r.program.blockParams)&&n.push(ne(r.program)),i([O(r),te(0,t),n.length>0?a([u,l(u,n)]):"",c,M(r)])}function U(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",R(e),"else",j(e)]}function z(e,t,r){let n=e.getValue(),s=e.getParentNode(1);return i([R(s),["else"," ",r],a([u,i(re(e,t)),...f(n.program.blockParams)?[u,ne(n.program)]:[]]),c,j(s)])}function V(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[H(n)?c:s,L(n),t("path"),B(n)]:[L(n),t("path"),B(n)]}function H(e){return S(e,["BlockStatement"])&&e.program.body.every((e=>P(e)))}function q(e){return S(e,["BlockStatement"])&&e.inverse}function G(e,t,r){if(H(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?a([s,n]):a(n)}function K(e,t,r){let n=e.getValue(),i=t("inverse"),o="ignore"===r.htmlWhitespaceSensitivity?[s,i]:i;return function(e){return q(e)&&1===e.inverse.body.length&&S(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]===e.path.parts[0]}(n)?o:q(n)?[U(n,r),a(o)]:""}function X(e){return p(l(u,function(e){return e.split(/[\t\n\f\r ]+/)}(e)))}function J(e){return(e="string"==typeof e?e:"").split("\n").length-1}function Y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,2)}).fill(s)}function Z(e,t){let{quote:r,regex:n}=d(e,t);return[r,e.replace(n,`\\${r}`),r]}function Q(e,t){let r=te(0,t),n=re(e,t);return n?a([r,u,i(n)]):r}function ee(e,t){let r=te(0,t),n=re(e,t);return n?[a([r,u,n]),c]:r}function te(e,t){return t("path")}function re(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":l(u,n)}function ne(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:function(e,t,o){let p=e.getValue();if(!p)return"";if(D(e))return t.originalText.slice(m(p),g(p));let y=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(o,"body"));case"ElementNode":{let r=i(function(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter((e=>f(r[e]))),i=n.flatMap((e=>r[e])).sort(F);for(let r of n)e.each((e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[u,t()])}),r);return f(r.blockParams)&&i.push(u,ne(r)),["<",r.tag,a(i),N(r)]}(e,o)),n="ignore"===t.htmlWhitespaceSensitivity&&x(e,["ElementNode"])?c:"";if(T(p))return[r,n];let l=["</",p.tag,">"];return 0===p.children.length?[r,a(l),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,a(I(e,t,o)),s,a(l),n]:[r,a(i(I(e,t,o))),a(l),n]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===p&&r.inverse.body[0].path.parts[0]===r.path.parts[0]?[z(e,o,r.inverse.body[0].path.parts[0]),G(e,o,t),K(e,o,t)]:[$(e,o),i([G(e,o,t),K(e,o,t),V(e,o,t)])]}case"ElementModifierStatement":return i(["{{",ee(e,o),"}}"]);case"MustacheStatement":return i([k(p),ee(e,o),_(p)]);case"SubExpression":return i(["(",Q(e,o),c,")"]);case"AttrNode":{let e="TextNode"===p.value.type;if(e&&""===p.value.chars&&m(p.value)===g(p.value))return p.name;let t=e?d(p.value.chars,y).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),y).quote:"",r=o("value");return[p.name,"=",t,"class"===p.name&&t?i(a(r)):r,t]}case"ConcatStatement":return e.map(o,"parts");case"Hash":return l(u,e.map(o,"pairs"));case"HashPair":return[p.key,"=",o("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),s=function(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}(e);if(s){if("class"===s){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return C(e,["ConcatStatement"])&&(A(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),x(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?u:"",t,n?u:""]}return h(i)}let o=/^[\t\n\f\r ]*$/.test(i),a=!v(e),l=!b(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,c=l&&C(e,["Template"]),p=a&&C(e,["Template"]);if(o){if(p||c)return"";let t=[u],n=J(i);return n&&(t=Y(n)),E(e)&&(t=t.map((e=>r(e)))),t}let[h]=i.match(t),[d]=i.match(s),f=[];if(h){f=[u];let e=J(h);e&&(f=Y(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[u];let t=J(d);t&&(m=Y(t)),E(e)&&(m=m.map((e=>r(e))))}i=i.replace(s,"")}return[...f,n(X(i)),...m]}let c=J(i),d=function(e){return J(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(i),f=function(e){return J(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(i);if((a||l)&&o&&C(e,["Block","ElementNode","Template"]))return"";o&&c?(d=Math.min(c,2),f=0):(x(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),A(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",g="";return 0===f&&x(e,["MustacheStatement"])&&(g=" "),0===d&&A(e,["MustacheStatement"])&&(m=" "),a&&(d=0,m=""),l&&(f=0,g=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,g),[...Y(d),n(X(i)),...Y(f)]}case"MustacheCommentStatement":{let e=m(p),r=g(p),n="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(r-3),s=p.value.includes("}}")?"--":"";return["{{",n?"~":"","!",s,p.value,s,i?"~":"","}}"]}case"PathExpression":return p.original;case"BooleanLiteral":case"NumberLiteral":return String(p.value);case"CommentStatement":return["\x3c!--",p.value,"--\x3e"];case"StringLiteral":if(function(e){let t=0,r=e.getParentNode(t);for(;r&&S(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&S(e.getParentNode(t+1),["ConcatStatement"])&&S(e.getParentNode(t+2),["AttrNode"]))}(e)){let e=t.singleQuote?'"':"'";return Z(p.value,e)}return Z(p.value,y);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}},massageAstNode:y}}}),ti=v({"src/language-handlebars/parsers.js"(){w()}}),ri=v({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),ni=v({"src/language-handlebars/index.js"(e,t){w();var r=Zt(),n=ei(),i=ti(),s=[r(ri(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],o={glimmer:n};t.exports={languages:s,printers:o,parsers:i}}}),ii=v({"src/language-graphql/pragma.js"(e,t){w(),t.exports={hasPragma:function(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}}}}),si=v({"src/language-graphql/loc.js"(e,t){w(),t.exports={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}}}}),oi=v({"src/language-graphql/printer-graphql.js"(e,t){w();var{builders:{join:r,hardline:n,line:i,softline:s,group:o,indent:a,ifBreak:l}}=W(),{isNextLineEmpty:u,isNonEmptyArray:c}=de(),{insertPragma:p}=ii(),{locStart:h,locEnd:d}=si();function f(e,t,n){if(0===n.directives.length)return"";let l=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?o([i,l]):[" ",o(a([s,l]))]}function m(e,t,r,i){return e.map(((e,i,s)=>{let o=r();return i<s.length-1&&u(t.originalText,e.getValue(),d)?[o,n]:o}),i)}function g(e,t,r){let n=e.getNode(),s=[],{interfaces:o}=n,a=e.map((e=>r(e)),"interfaces");for(let e=0;e<o.length;e++){let r=o[e];s.push(a[e]);let n=o[e+1];if(n){let e=t.originalText.slice(r.loc.end,n.loc.start),o=e.includes("#"),a=e.replace(/#.*/g,"").trim();s.push(","===a?",":" &",o?i:" ")}}return s}function y(e,t){"StringValue"===e.kind&&e.block&&!e.value.includes("\n")&&(t.value=t.value.trim())}y.ignoredProperties=new Set(["loc","comments"]),t.exports={print:function(e,t,p){let y=e.getValue();if(!y)return"";if("string"==typeof y)return y;switch(y.kind){case"Document":{let r=[];return e.each(((e,i,s)=>{r.push(p()),i!==s.length-1&&(r.push(n),u(t.originalText,e.getValue(),d)&&r.push(n))}),"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[h(y)],i=Boolean(y.name);return[n?y.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&c(y.variableDefinitions)?" ":"",c(y.variableDefinitions)?o(["(",a([s,r([l("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):"",f(e,p,y),y.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(y.variableDefinitions)?o(["(",a([s,r([l("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):""," on ",p("typeCondition"),f(e,p,y)," ",p("selectionSet")];case"SelectionSet":return["{",a([n,r(n,m(e,t,p,"selections"))]),n,"}"];case"Field":return o([y.alias?[p("alias"),": "]:"",p("name"),y.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",f(e,p,y),y.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return y.value;case"StringValue":if(y.block){let e=y.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),r(n,['"""',...e,'"""'])}return['"',y.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return y.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return o(["[",a([s,r([l("",", "),s],e.map(p,"values"))]),s,"]"]);case"ObjectValue":return o(["{",t.bracketSpacing&&y.fields.length>0?" ":"",a([s,r([l("",", "),s],e.map(p,"fields"))]),s,l("",t.bracketSpacing&&y.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),y.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),y.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,y)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),y.description?n:"","ObjectTypeExtension"===y.kind?"extend ":"","type ",p("name"),y.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),y.description?n:"",p("name"),y.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",": ",p("type"),f(e,p,y)];case"DirectiveDefinition":return[p("description"),y.description?n:"","directive ","@",p("name"),y.arguments.length>0?o(["(",a([s,r([l("",", "),s],m(e,t,p,"arguments"))]),s,")"]):"",y.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),y.description?n:"","EnumTypeExtension"===y.kind?"extend ":"","enum ",p("name"),f(e,p,y),y.values.length>0?[" {",a([n,r(n,m(e,t,p,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),y.description?n:"",p("name"),f(e,p,y)];case"InputValueDefinition":return[p("description"),y.description?y.description.block?n:i:"",p("name"),": ",p("type"),y.defaultValue?[" = ",p("defaultValue")]:"",f(e,p,y)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),y.description?n:"","InputObjectTypeExtension"===y.kind?"extend ":"","input ",p("name"),f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",f(e,p,y),...y.operationTypes.length>0?[" {",a([n,r(n,m(e,t,p,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[p("description"),y.description?n:"","schema",f(e,p,y)," {",y.operationTypes.length>0?a([n,r(n,m(e,t,p,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),y.description?n:"","InterfaceTypeExtension"===y.kind?"extend ":"","interface ",p("name"),y.interfaces.length>0?[" implements ",...g(e,t,p)]:"",f(e,p,y),y.fields.length>0?[" {",a([n,r(n,m(e,t,p,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),f(e,p,y)];case"InlineFragment":return["...",y.typeCondition?[" on ",p("typeCondition")]:"",f(e,p,y)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return o([p("description"),y.description?n:"",o(["UnionTypeExtension"===y.kind?"extend ":"","union ",p("name"),f(e,p,y),y.types.length>0?[" =",l(""," "),a([l([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),y.description?n:"","ScalarTypeExtension"===y.kind?"extend ":"","scalar ",p("name"),f(e,p,y)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(y.kind))}},massageAstNode:y,hasPrettierIgnore:function(e){var t;let r=e.getValue();return null==r||null===(t=r.comments)||void 0===t?void 0:t.some((e=>"prettier-ignore"===e.value.trim()))},insertPragma:p,printComment:function(e){let t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}}}}),ai=v({"src/language-graphql/options.js"(e,t){w();var r=Dn();t.exports={bracketSpacing:r.bracketSpacing}}}),li=v({"src/language-graphql/parsers.js"(){w()}}),ui=v({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),ci=v({"src/language-graphql/index.js"(e,t){w();var r=Zt(),n=oi(),i=ai(),s=li(),o=[r(ui(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],a={graphql:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),pi=v({"node_modules/collapse-white-space/index.js"(e,t){w(),t.exports=function(e){return String(e).replace(/\s+/g," ")}}}),hi=v({"src/language-markdown/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),di=v({"src/language-markdown/constants.evaluate.js"(e,t){t.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\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\\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]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),fi=v({"src/language-markdown/utils.js"(e,t){w();var{getLast:r}=de(),{locStart:n,locEnd:i}=hi(),{cjkPattern:s,kPattern:o,punctuationPattern:a}=di(),l=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],u=[...l,"tableCell","paragraph","heading"],c=new RegExp(o),p=new RegExp(a);function h(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}t.exports={mapAst:function(e,t){return function e(r,n,i){let s=Object.assign({},t(r,n,i));return s.children&&(s.children=s.children.map(((t,r)=>e(t,r,[s,...i])))),s}(e,null,[])},splitText:function(e,t){let n="non-cjk",i="cj-letter",o="cjk-punctuation",a=[],l=("preserve"===t.proseWrap?e:e.replace(new RegExp(`(${s})\n(${s})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of l.entries()){if(e%2==1){a.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===l.length-1)&&""===t)continue;let h=t.split(new RegExp(`(${s})`));for(let[e,t]of h.entries())if(0!==e&&e!==h.length-1||""!==t){if(e%2==0){""!==t&&u({type:"word",value:t,kind:n,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(r(t))});continue}u(p.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:c.test(t)?"k-letter":i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return a;function u(e){let t=r(a);var s,l;t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?a.push({type:"whitespace",value:" "}):(s=n,l=o,!(t.kind===s&&e.kind===l||t.kind===l&&e.kind===s||[t.value,e.value].some((e=>/\u3000/.test(e))))&&a.push({type:"whitespace",value:""}))),a.push(e)}},punctuationPattern:a,getFencedCodeBlockValue:function(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r},getOrderedListItemInfo:h,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(h(e.children[0],t.originalText).numberText),n=Number(h(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(h(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n},INLINE_NODE_TYPES:l,INLINE_NODE_WRAPPER_TYPES:u,isAutolink:function(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;let[t]=e.children;return n(e)===n(t)&&i(e)===i(t)}}}}),mi=v({"src/language-markdown/embed.js"(e,t){w();var{inferParserByLanguage:r,getMaxContinuousCount:n}=de(),{builders:{hardline:i,markAsRoot:s},utils:{replaceEndOfLine:o}}=W(),a=Nn(),{getFencedCodeBlockValue:l}=fi();t.exports=function(e,t,u,c){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=r(p.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(p.value,t)+1)),a={parser:e};"tsx"===p.lang&&(a.filepath="dummy.tsx");let h=u(l(p,c.originalText),a,{stripTrailingHardline:!0});return s([r,p.lang,p.meta?" "+p.meta:"",i,o(h),i,r])}}switch(p.type){case"front-matter":return a(p,u);case"importExport":return[u(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return u(`<$>${p.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}}}),gi=v({"src/language-markdown/pragma.js"(e,t){w();var r=_n(),n=["format","prettier"];function i(e){let t=`@(${n.join("|")})`,r=new RegExp([`\x3c!--\\s*${t}\\s*--\x3e`,`{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}`,`\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*${t}[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e`].join("|"),"m"),i=e.match(r);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i=`\x3c!-- @${n[0]} --\x3e`;return t.frontMatter?`${t.frontMatter.raw}\n\n${i}\n\n${t.content}`:`${i}\n\n${t.content}`}}}}),yi=v({"src/language-markdown/print-preprocess.js"(e,t){w();var r=F(),{getOrderedListItemInfo:n,mapAst:i,splitText:s}=fi(),o=/^.$/su;function a(e,t,n){return i(e,(e=>{if(!e.children)return e;let i=e.children.reduce(((e,i)=>{let s=r(e);return s&&t(s,i)?e.splice(-1,1,n(s,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}t.exports=function(e,t){return function(e){return a(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e){return i(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}(e=function(e,t){return i(e,((e,r,n)=>{let[i]=n;if("text"!==e.type)return e;let{value:o}=e;return"paragraph"===i.type&&(0===r&&(o=o.trimStart()),r===i.children.length-1&&(o=o.trimEnd())),{type:"sentence",position:e.position,children:s(o,t)}}))}(e=function(e,t){return i(e,((e,t,r)=>{if("list"===e.type&&e.children.length>0){for(let t=0;t<r.length;t++){let n=r[t];if("list"===n.type&&!n.isAligned)return e.isAligned=!1,e}e.isAligned=s(e)}return e}));function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}function s(e){if(!e.ordered)return!0;let[i,s]=e.children;if(n(i,t.originalText).leadingSpaces.length>1)return!0;let o=r(i);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===r(s)&&(o%t.tabWidth==0||n(s,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return i(e,((e,r,n)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e<n.length;e++){let t=n[e];if(t.hasIndentedCodeblock)break;"list"===t.type&&(t.hasIndentedCodeblock=!0)}}return e}))}(e=function(e,t){return i(e,(e=>"inlineCode"!==e.type||"preserve"===t.proseWrap?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}(e=function(e){return a(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}(e=function(e,t){return i(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&o.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}(e,t)),t),t),t),t)))}}}),bi=v({"src/language-markdown/clean.js"(e,t){w();var r=pi(),{isFrontMatterNode:n}=de(),{startWithPragma:i}=gi(),s=new Set(["position","raw"]);function o(e,t,s){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type||"imageReference"===e.type)&&(t.label=r(e.label)),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),s&&"root"===s.type&&s.children.length>0&&(s.children[0]===e||n(s.children[0])&&s.children[1]===e)&&"html"===e.type&&i(e.value)))return null}o.ignoredProperties=s,t.exports=o}}),vi=v({"src/language-markdown/printer-markdown.js"(e,t){w();var r=pi(),{getLast:n,getMinNotPresentContinuousCount:i,getMaxContinuousCount:s,getStringWidth:o,isNonEmptyArray:a}=de(),{builders:{breakParent:l,join:u,line:c,literalline:p,markAsRoot:h,hardline:d,softline:f,ifBreak:m,fill:g,align:y,indent:b,group:v,hardlineWithoutBreakParent:D},utils:{normalizeDoc:E,replaceTextEndOfLine:x},printer:{printDocToString:S}}=W(),C=mi(),{insertPragma:A}=gi(),{locStart:T,locEnd:P}=hi(),F=yi(),I=bi(),{getFencedCodeBlockValue:N,hasGitDiffFriendlyOrderedList:k,splitText:_,punctuationPattern:O,INLINE_NODE_TYPES:M,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:B}=fi(),R=new Set(["importExport"]),j=["heading","tableCell","link","wikiLink"],$=new Set(["listItem","definition","footnoteDefinition"]);function U(e,t,r,n){let i=e.getValue(),s=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[s,K(e,t,r,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return y(" ".repeat(s.length),r());let o=" ".repeat(function(e,t,r){return e<t?t:e>r?r:e}(t.tabWidth-n.length,0,3));return[o,y(o,r())]}})]}function z(e,t){return function(e,t,r){let n=-1;for(let i of t.children)if(i.type===e.type&&r(i)?n++:n=-1,i===e)return n}(e,t,(t=>t.ordered===e.ordered))}function V(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function H(e,t){let r=V(e,t);return-1===r?null:e.getParentNode(r)}function q(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return d;let n="always"===r.proseWrap&&!H(e,j);return""!==t?n?c:" ":n?f:""}function G(e,t,r){let n=[],i=null,{children:s}=e.getValue();for(let[e,t]of s.entries())switch(Y(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null)}return K(e,t,r,{processor:(e,i)=>{if(n.length>0){let e=n[0];if(i===e.start.index)return[X(s[e.start.index]),t.originalText.slice(e.start.offset,e.end.offset),X(s[e.end.index])];if(e.start.index<i&&i<e.end.index)return!1;if(i===e.end.index)return n.shift(),!1}return r()}})}function K(e,t,r){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=i,o=i.processor||(()=>r()),a=e.getValue(),l=[];return e.each(((e,r)=>{let i=e.getValue(),s=o(e,r);if(!1!==s){let e={parts:l,prevNode:n,parentNode:a,options:t};(function(e,t){let r=0===t.parts.length,n=M.includes(e.type),i="html"===e.type&&L.includes(t.parentNode.type);return!r&&!n&&!i})(i,e)&&(l.push(d),n&&R.has(n.type)||(function(e,t){var r,n,i;let s=(t.prevNode&&t.prevNode.type)===e.type&&$.has(e.type),o="listItem"===t.parentNode.type&&!t.parentNode.loose,a="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,l="next"===Y(t.prevNode),u="html"===e.type&&"html"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return a||!(s||o||l||u||c)}(i,e)||Z(i,e))&&l.push(d),Z(i,e)&&l.push(d)),l.push(s),n=i}}),"children"),s?s(l):l}function X(e){return"html"===e.type?e.value:"paragraph"===e.type&&Array.isArray(e.children)&&1===e.children.length&&"esComment"===e.children[0].type?["{/* ",e.children[0].value," */}"]:void 0}function J(e){let t=e;for(;a(t.children);)t=n(t.children);return t}function Y(e){let t;if("html"===e.type)t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function Z(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function Q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>`\\${e}`)).join("|")).test(e)?`<${e}>`:e}function ee(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+ee(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let r=e.split("'").length-1,n=e.split('"').length-1,i=r>n?'"':n>r||t.singleQuote?"'":'"';return`${i}${e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp(`(${i})`,"g"),"\\$1")}${i}`}function te(e){return`[${r(e.label)}]`}function re(e){return`[^${e.label}]`}t.exports={preprocess:F,print:function(e,t,r){let a=e.getValue();if(function(e){let t=H(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return _(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":q(e,r.value,t)));switch(a.type){case"front-matter":return t.originalText.slice(a.position.start.offset,a.position.end.offset);case"root":return 0===a.children.length?"":[E(G(e,t,r)),R.has(J(a).type)?"":d];case"paragraph":return K(e,t,r,{postprocessor:g});case"sentence":return K(e,t,r);case"word":{let t=a.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${O})(_+)`,`(_+)(${O}|$)`].join("|"),"g"),((e,t,r,n,i)=>(r?`${t}${r}`:`${n}${i}`).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>B(e.children[r-1]);return t!==a.value&&(e.match(void 0,r,n)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),n))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(a),i=r.children[n+1],s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return q(e,a.value,{proseWrap:s})}case"emphasis":{let i;if(B(a.children[0]))i=t.originalText[a.position.start.offset];else{let t=e.getParentNode(),r=t.children.indexOf(a),s=t.children[r-1],o=t.children[r+1];i=s&&"sentence"===s.type&&s.children.length>0&&"word"===n(s.children).type&&!n(s.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||H(e,"emphasis")?"*":"_"}return[i,K(e,t,r),i]}case"strong":return["**",K(e,t,r),"**"];case"delete":return["~~",K(e,t,r),"~~"];case"inlineCode":{let e=i(a.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(a.value)?" ":"";return[t,r,a.value,r,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?a.value:a.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[a.position.start.offset]){case"<":{let e="mailto:";return["<",a.url.startsWith(e)&&t.originalText.slice(a.position.start.offset+1,a.position.start.offset+1+e.length)!==e?a.url.slice(e.length):a.url,">"]}case"[":return["[",K(e,t,r),"](",Q(a.url,")"),ee(a.title,t),")"];default:return t.originalText.slice(a.position.start.offset,a.position.end.offset)}case"image":return["![",a.alt||"","](",Q(a.url,")"),ee(a.title,t),")"];case"blockquote":return["> ",y("> ",K(e,t,r))];case"heading":return["#".repeat(a.depth)+" ",K(e,t,r)];case"code":{if(a.isIndented){let e=" ".repeat(4);return y(e,[e,...x(a.value,d)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,s(a.value,e)+1));return[r,a.lang||"",a.meta?" "+a.meta:"",d,...x(N(a,t.originalText),d),d,r]}case"html":{let t=e.getParentNode(),r="root"===t.type&&n(t.children)===a?a.value.trimEnd():a.value,i=/^<!--.*-->$/s.test(r);return x(r,i?d:h(p))}case"list":{let n=z(a,e.getParentNode()),i=k(a,t);return K(e,t,r,{processor:(e,s)=>{let o=function(){let e=a.ordered?(0===s?a.start:i?1:a.start+s)+(n%2==0?". ":") "):n%2==0?"- ":"* ";return a.isAligned||a.hasIndentedCodeblock?function(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}(e,t):e}(),l=e.getValue();return 2===l.children.length&&"html"===l.children[1].type&&l.children[0].position.start.column!==l.children[1].position.start.column?[o,U(e,t,r,o)]:[o,y(" ".repeat(o.length),U(e,t,r,o))]}})}case"thematicBreak":{let t=V(e,"list");return-1===t?"---":z(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",K(e,t,r),"]","full"===a.referenceType?te(a):"collapsed"===a.referenceType?"[]":""];case"imageReference":return"full"===a.referenceType?["![",a.alt||"","]",te(a)]:["![",a.alt,"]","collapsed"===a.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?c:" ";return v([te(a),":",b([e,Q(a.url),null===a.title?"":[e,ee(a.title,t,!1)]])])}case"footnote":return["[^",K(e,t,r),"]"];case"footnoteReference":return re(a);case"footnoteDefinition":{let n=e.getParentNode().children[e.getName()+1],i=1===a.children.length&&"paragraph"===a.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&a.children[0].position.start.line===a.children[0].position.end.line);return[re(a),": ",i?K(e,t,r):v([y(" ".repeat(4),K(e,t,r,{processor:(e,t)=>0===t?v([f,r()]):r()})),n&&"footnoteDefinition"===n.type?f:""])]}case"table":return function(e,t,r){let n=e.getValue(),i=[],s=e.map((e=>e.map(((e,n)=>{let s=S(r(),t).formatted,a=o(s);return i[n]=Math.max(i[n]||3,a),{text:s,width:a}}),"children")),"children"),a=p(!1);if("never"!==t.proseWrap)return[l,a];let c=p(!0);return[l,v(m(c,a))];function p(e){let t=[d(s[0],e),h(e)];return s.length>1&&t.push(u(D,s.slice(1).map((t=>d(t,e))))),u(D,t)}function h(e){return`| ${i.map(((t,r)=>{let i=n.align[r],s="center"===i||"right"===i?":":"-";return`${"center"===i||"left"===i?":":"-"}${e?"-":"-".repeat(t-2)}${s}`})).join(" | ")} |`}function d(e,t){return`| ${e.map(((e,r)=>{let{text:s,width:o}=e;if(t)return s;let a=i[r]-o,l=n.align[r],u=0;"right"===l?u=a:"center"===l&&(u=Math.floor(a/2));let c=a-u;return`${" ".repeat(u)}${s}${" ".repeat(c)}`})).join(" | ")} |`}}(e,t,r);case"tableCell":return K(e,t,r);case"break":return/\s/.test(t.originalText[a.position.start.offset])?[" ",h(p)]:["\\",d];case"liquidNode":return x(a.value,d);case"importExport":return[a.value,d];case"esComment":return["{/* ",a.value," */}"];case"jsx":return a.value;case"math":return["$$",d,a.value?[...x(a.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice(T(a),P(a));default:throw new Error(`Unknown markdown type ${JSON.stringify(a.type)}`)}},embed:C,massageAstNode:I,hasPrettierIgnore:function(e){let t=Number(e.getName());return 0!==t&&"next"===Y(e.getParentNode().children[t-1])},insertPragma:A}}}),Di=v({"src/language-markdown/options.js"(e,t){w();var r=Dn();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),Ei=v({"src/language-markdown/parsers.js"(){w()}}),xi=v({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),wi=v({"src/language-markdown/index.js"(e,t){w();var r=Zt(),n=vi(),i=Di(),s=Ei(),o=[r(xi(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(xi(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],a={mdast:n};t.exports={languages:o,options:i,printers:a,parsers:s}}}),Si=v({"src/language-html/clean.js"(e,t){w();var{isFrontMatterNode:r}=de(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=n,t.exports=i}}),Ci=v({"src/language-html/constants.evaluate.js"(e,t){t.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),Ai=v({"src/language-html/utils/is-unknown-namespace.js"(e,t){w(),t.exports=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}}}),Ti=v({"src/language-html/utils/index.js"(e,t){w();var{inferParserByLanguage:r,isFrontMatterNode:n}=de(),{builders:{line:i,hardline:s,join:o},utils:{getDocParts:a,replaceTextEndOfLine:l}}=W(),{CSS_DISPLAY_TAGS:u,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:h}=Ci(),d=Ai(),f=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/[\t\n\f\r ]+$/,""),g=e=>(e=>e.replace(/^[\t\f\r ]*\n/g,""))(m(e)),y=e=>e.match(/^[\t\n\f\r ]*/)[0];function b(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function v(e){return I(e).startsWith("pre")}function D(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function E(e){return A(e)||"element"===e.type&&"br"===e.fullName||x(e)}function x(e){return S(e)&&C(e)}function S(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function C(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function A(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function T(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function P(e){return"block"===e||"list-item"===e||e.startsWith("table")}function F(e){return I(e).startsWith("pre")}function I(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||h}function N(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!f.has(r[0]))return 0;let e=y(r).length;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}var k=new Set(["template","style","script"]);function _(e,t){return O(e,t)&&!k.has(e.fullName)}function O(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function M(e,t){return O(e,t)&&(_(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}t.exports={htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(m(e)),htmlTrimPreserveIndentation:g,hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},canHaveInterpolation:function(e){return e.children&&!b(e)},countChars:function(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r},countParents:function(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let i=e.stack[n];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&r++}return r},dedentString:N,forceBreakChildren:D,forceBreakContent:function(e){return D(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((e=>function(e){return e.children&&e.children.some((e=>"text"!==e.type))}(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&S(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||C(e.lastChild))},forceNextEmptyLine:function(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||d(e))&&u[e.name]||c}},getNodeCssStyleWhiteSpace:I,hasPrettierIgnore:function(e){return!("attribute"===e.type||!e.parent||!e.prev)&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.prev)},inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e,t){let{lang:n}=e.attrMap;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}(e,t):t&&M(e,t)?T(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?T(e):"babel"},isVueCustomBlock:_,isVueNonHtmlBlock:M,isVueScriptTag:function(e,t){return O(e,t)&&"script"===e.name},isVueSlotAttribute:function(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){let r=e.parent;if(!O(r,t))return!1;let n=r.fullName,i=e.fullName;return"script"===n&&"setup"===i||"style"===n&&"vars"===i},isVueSfcBlock:O,isDanglingSpaceSensitiveNode:function(e){return function(e){return!P(e)&&"inline-block"!==e}(e.cssDisplay)&&!b(e)},isIndentationSensitiveNode:v,isLeadingSpaceSensitiveNode:function(e,t){let r=!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!F(e.parent)&&(!e.prev&&("root"===e.parent.type||F(e)&&e.parent||b(e.parent)||_(e.parent,t)||!function(e){return!P(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.prev&&!function(e){return!P(e)}(e.prev.cssDisplay))));return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r},isPreLikeNode:F,isScriptLikeTag:b,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!F(e.parent)&&(!e.next&&("root"===e.parent.type||F(e)&&e.parent||b(e.parent)||_(e.parent,t)||!function(e){return!P(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.next&&!function(e){return!P(e)}(e.next.cssDisplay))))},isWhitespaceSensitiveNode:function(e){return b(e)||"interpolation"===e.type||v(e)},isUnknownNamespace:d,preferHardlineAsLeadingSpaces:function(e){return A(e)||e.prev&&E(e.prev)||x(e)},preferHardlineAsTrailingSpaces:E,shouldPreserveContent:function(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||F(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||M(e,t)&&!b(e)&&"interpolation"!==e.type)},unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')},getTextValueParts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?l(t):l(N(g(t)),s):a(o(i,(e=>e.split(/[\t\n\f\r ]+/))(t)))}}}}),Pi=v({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return e.$0<=t&&t<=e.$9}w(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}}),Fi=v({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};e.StaticSymbol=t;e.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,r,n){let i=`"${e}".${r}${(n=n||[]).length?`.${n.join(".")}`:""}`,s=this.cache.get(i);return s||(s=new t(e,r,n),this.cache.set(i,s)),s}}}}),Ii=v({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e,t,r){let n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function n(e,t,r){return Array.isArray(e)?t.visitArray(e,r):function(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===o}(e)?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r)}e.dashCaseToCamelCase=function(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))},e.splitAtColon=function(e,t){return r(e,":",t)},e.splitAtPeriod=function(e,t){return r(e,".",t)},e.visitValue=n,e.isDefined=function(e){return null!=e},e.noUndefined=function(e){return void 0===e?null:e};e.ValueTransformer=class{visitArray(e,t){return e.map((e=>n(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((i=>{r[i]=n(e[i],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}},e.SyncAsync={assertSync:e=>{if(a(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>a(e)?e.then(t):t(e),all:e=>e.some(a)?Promise.all(e):e},e.error=function(e){throw new Error(`Internal Error: ${e}`)},e.syntaxError=function(e,t){let r=Error(e);return r[i]=!0,t&&(r[s]=t),r};var i="ngSyntaxError",s="ngParseErrors";e.isSyntaxError=function(e){return e[i]},e.getParseErrors=function(e){return e[s]||[]},e.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var o=Object.getPrototypeOf({});function a(e){return!!e&&"function"==typeof e.then}e.utf8Encode=function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t},e.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;if(!t.toString)return"object";let r=t.toString();if(null==r)return""+r;let n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},e.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},e.isPromise=a;e.Version=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};var l=typeof window<"u"&&window,u=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,c=typeof globalThis<"u"&&globalThis||l||u;e.global=c}}),Ni=v({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Fi(),r=Ii(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,o,a=0;function l(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_"+a++,n.__anonymousType=s):s=i(s),s}e.identifierName=l,e.identifierModuleUrl=function(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:`./${r.stringify(n)}`},e.viewClassName=function(e,t){return`View_${l({reference:e})}_${t}`},e.rendererTypeName=function(e){return`RenderType_${l({reference:e})}`},e.hostViewClassName=function(e){return`HostView_${l({reference:e})}`},e.componentFactoryName=function(e){return`${l({reference:e})}NgFactory`},(o=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[o.Pipe=0]="Pipe",o[o.Directive=1]="Directive",o[o.NgModule=2]="NgModule",o[o.Injectable=3]="Injectable",e.tokenName=function(e){return null!=e.value?i(e.value):l(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=c(t),this.styleUrls=c(r)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:l,ngContentSelectors:u,interpolation:h,isInline:d,preserveWhitespaces:f}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=c(s),this.styleUrls=c(o),this.externalStylesheets=c(a),this.animations=l?p(l):[],this.ngContentSelectors=u||[],h&&2!=h.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=h,this.isInline=d,this.preserveWhitespaces=f}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};var u=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:l,inputs:c,outputs:p,host:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x}=e,w={},S={},C={};null!=h&&Object.keys(h).forEach((e=>{let t=h[e],r=e.match(n);null===r?C[e]=t:null!=r[1]?S[r[1]]=t:null!=r[2]&&(w[r[2]]=t)}));let A={};null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);A[t[0]]=t[1]}));let T={};return null!=p&&p.forEach((e=>{let t=r.splitAtColon(e,[e,e]);T[t[0]]=t[1]})),new u({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:l,inputs:A,outputs:T,hostListeners:w,hostProperties:S,hostAttributes:C,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:l,hostListeners:u,hostProperties:p,hostAttributes:h,providers:d,viewProviders:f,queries:m,guards:g,viewQueries:y,entryComponents:b,template:v,componentViewType:D,rendererType:E,componentFactory:x}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=l,this.hostListeners=u,this.hostProperties=p,this.hostAttributes=h,this.providers=c(d),this.viewProviders=c(f),this.queries=c(m),this.guards=g,this.viewQueries=c(y),this.entryComponents=c(b),this.template=v,this.componentViewType=D,this.rendererType=E,this.componentFactory=x}toSummary(){return{summaryKind:s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=u;e.CompilePipeMetadata=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompileShallowModuleMetadata=class{};e.CompileNgModuleMetadata=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:o,entryComponents:a,bootstrapComponents:l,importedModules:u,exportedModules:p,schemas:h,transitiveModule:d,id:f}=e;this.type=t||null,this.declaredDirectives=c(n),this.exportedDirectives=c(i),this.declaredPipes=c(s),this.exportedPipes=c(o),this.providers=c(r),this.entryComponents=c(a),this.bootstrapComponents=c(l),this.importedModules=c(u),this.exportedModules=c(p),this.schemas=c(h),this.id=f||null,this.transitiveModule=d||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};function c(e){return e||[]}e.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function p(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?p(t):t;return e.concat(r)}),[])}function h(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}e.ProviderMeta=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:o,multi:a}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=o||null,this.multi=!!a}},e.flatten=p,e.templateSourceUrl=function(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?`${r.type.reference.filePath}.${r.type.reference.name}.html`:`${l(e)}/${l(r.type)}.html`:n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:h(i)},e.sharedStylesheetJitUrl=function(e,t){let r=e.moduleUrl.split(/\/\\/g);return h(`css/${t}${r[r.length-1]}.ngstyle.js`)},e.ngModuleJitUrl=function(e){return h(`${l(e.type)}/module.ngfactory.js`)},e.templateJitUrl=function(e,t){return h(`${l(e)}/${l(t.type)}.ngfactory.js`)}}}),ki=v({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){w(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pi(),r=Ni(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,o=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){o--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?s-e:s}else a--;for(;s<i&&e>0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(o++,a=0):a++}return new n(this.file,s,o,a)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}};e.ParseLocation=n;var i=class{constructor(e,t){this.content=e,this.url=t}};e.ParseSourceFile=i;var s,o,a=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(o=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR";e.ParseError=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${s[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},e.typeSourceSpan=function(e,t){let s=r.identifierModuleUrl(t),o=null!=s?`in ${e} ${r.identifierName(t)} in ${s}`:`in ${e} ${r.identifierName(t)}`,l=new i("",o);return new a(new n(l,-1,-1,-1),new n(l,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,r){let s=new i("",`in ${e} ${t} in ${r}`);return new a(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}}}),_i=v({"src/language-html/print-preprocess.js"(e,t){w();var{ParseSourceSpan:r}=ki(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:s,canHaveInterpolation:o,getNodeCssStyleDisplay:a,isDanglingSpaceSensitiveNode:l,isIndentationSensitiveNode:u,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:h,isVueScriptTag:d}=Ti(),f=[function(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))},function(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children)for(let n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.firstChild;e.removeChild(s),n--;let a=new r(s.sourceSpan.start,o.sourceSpan.end),l=new r(a.start,i.sourceSpan.end);i.condition=s.condition,i.sourceSpan=l,i.startSourceSpan=a,i.removeChild(o)}}))},function(e){return function(e,t,n){e.walk((e=>{if(e.children)for(let i=0;i<e.children.length;i++){let s=e.children[i];if("text"!==s.type&&!t(s))continue;"text"!==s.type&&(s.type="text",s.value=n(s));let o=s.prev;!o||"text"!==o.type||(o.value+=s.value,o.sourceSpan=new r(o.sourceSpan.start,s.sourceSpan.end),e.removeChild(s),i--)}}))}(e,(e=>"cdata"===e.type),(e=>`<![CDATA[${e.value}]]>`))},function(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk((e=>{if(o(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,s=null,o=t.value.split(n);for(let n=0;n<o.length;n++,i=s){let a=o[n];n%2!=0?(s=i.moveBy(a.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new r(i,s),children:0===a.length?[]:[{type:"text",value:a,sourceSpan:new r(i.moveBy(2),s.moveBy(-2))}]})):(s=i.moveBy(a.length),a.length>0&&e.insertChildBefore(t,{type:"text",value:a,sourceSpan:new r(i,s)}))}e.removeChild(t)}}))},function(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===n(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=h(e),s=u(e);if(!t)for(let t=0;t<e.children.length;t++){let n=e.children[t];if("text"!==n.type)continue;let{leadingWhitespace:s,text:o,trailingWhitespace:a}=i(n.value),l=n.prev,u=n.next;o?(n.value=o,n.sourceSpan=new r(n.sourceSpan.start.moveBy(s.length),n.sourceSpan.end.moveBy(-a.length)),s&&(l&&(l.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),a&&(n.hasTrailingSpaces=!0,u&&(u.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(s||a)&&(l&&(l.hasTrailingSpaces=!0),u&&(u.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=s}))},function(e,t){e.walk((e=>{e.cssDisplay=a(e,t)}))},function(e){e.walk((e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))},function(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=l(e));for(let e of r)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}}))},function(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!s(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children)for(let n=0;n<e.children.length;n++){let i=e.children[n];if(!t(i))continue;let s=i.prev,o=i.next;s.value+=`<${i.rawName}>`+i.firstChild.value+`</${i.rawName}>`+o.value,s.sourceSpan=new r(s.sourceSpan.start,o.sourceSpan.end),s.isTrailingSpaceSensitive=o.isTrailingSpaceSensitive,s.hasTrailingSpaces=o.hasTrailingSpaces,e.removeChild(i),n--,e.removeChild(o)}}))},function(e,t){if("vue"===t.parser){let r=e.children.find((e=>d(e,t)));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}];t.exports=function(e,t){for(let r of f)r(e,t);return e}}}),Oi=v({"src/language-html/pragma.js"(e,t){w(),t.exports={hasPragma:function(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}}}}),Mi=v({"src/language-html/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}}}}),Li=v({"src/language-html/print/tag.js"(e,t){w();var r=Wt(),{isNonEmptyArray:n}=de(),{builders:{indent:i,join:s,line:o,softline:a,hardline:l},utils:{replaceTextEndOfLine:u}}=W(),{locStart:c,locEnd:p}=Mi(),{isTextLikeNode:h,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:g,isVueSfcBlock:y}=Ti();function b(e,t){return e.lastChild&&P(e.lastChild)?"":[D(e,t),x(e,t)]}function v(e,t){return(e.next?A(e.next):T(e.parent))?"":[S(e,t),E(e,t)]}function D(e,t){return T(e)?S(e.lastChild,t):""}function E(e,t){return P(e)?x(e.parent,t):F(e)?M(e.next):""}function x(e,t){if(r(!e.isSelfClosing),C(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function S(e,t){if(C(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function C(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||g(e.parent,t))}function A(e){return e.prev&&"docType"!==e.prev.type&&!h(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function T(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!h(d(e.lastChild))&&!f(e)}function P(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&h(d(e))}function F(e){return e.next&&!h(e.next)&&h(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function I(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function N(e,t,r){let h=e.getValue();if(!n(h.attrs))return h.isSelfClosing?" ":"";let d=h.prev&&"comment"===h.prev.type&&function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(h.prev.value),f="boolean"==typeof d?()=>d:Array.isArray(d)?e=>d.includes(e.rawName):()=>!1,m=e.map((e=>{let n=e.getValue();return f(n)?u(t.originalText.slice(c(n),p(n))):r()}),"attrs"),g="element"===h.type&&"script"===h.fullName&&1===h.attrs.length&&"src"===h.attrs[0].fullName&&0===h.children.length,b=t.singleAttributePerLine&&h.attrs.length>1&&!y(h,t)?l:o,v=[i([g?" ":o,s(b,m)])];return h.firstChild&&I(h.firstChild)||h.isSelfClosing&&T(h.parent)||g?v.push(h.isSelfClosing?" ":""):v.push(t.bracketSameLine?h.isSelfClosing?" ":"":h.isSelfClosing?o:a),v}function k(e){return e.firstChild&&I(e.firstChild)?"":L(e)}function _(e,t){return e.prev&&F(e.prev)?"":[O(e,t),M(e)]}function O(e,t){return I(e)?L(e.parent):A(e)?S(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return`\x3c!--[if ${e.condition}]>\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function L(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}t.exports={printClosingTag:function(e,t){return[e.isSelfClosing?"":b(e,t),v(e,t)]},printClosingTagStart:b,printClosingTagStartMarker:x,printClosingTagEndMarker:S,printClosingTagSuffix:E,printClosingTagEnd:v,needsToBorrowLastChildClosingTagEndMarker:T,needsToBorrowParentClosingTagStartMarker:P,needsToBorrowPrevClosingTagEndMarker:A,printOpeningTag:function(e,t,r){let n=e.getValue();return[_(n,t),N(e,t,r),n.isSelfClosing?"":k(n)]},printOpeningTagStart:_,printOpeningTagPrefix:O,printOpeningTagStartMarker:M,printOpeningTagEndMarker:L,needsToBorrowNextOpeningTagStartMarker:F,needsToBorrowParentOpeningTagEndMarker:I}}}),Bi=v({"node_modules/parse-srcset/src/parse-srcset.js"(r,o){w(),i=[],void 0===(s="function"==typeof(n=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(y));if(n)return r=n[0],y+=r.length,r}for(var s,o,a,l,u,c=e.length,p=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,y=0,b=[];;){if(i(h),y>=c)return b;s=i(d),o=[],","===s.slice(-1)?(s=s.replace(f,""),D()):v()}function v(){for(i(p),a="",l="in descriptor";;){if(u=e.charAt(y),"in descriptor"===l)if(n(u))a&&(o.push(a),a="",l="after descriptor");else{if(","===u)return y+=1,a&&o.push(a),void D();if("("===u)a+=u,l="in parens";else{if(""===u)return a&&o.push(a),void D();a+=u}}else if("in parens"===l)if(")"===u)a+=u,l="in descriptor";else{if(""===u)return o.push(a),void D();a+=u}else if("after descriptor"===l&&!n(u)){if(""===u)return void D();l="in descriptor",y-=1}y+=1}}function D(){var t,n,i,a,l,u,c,p,h,d=!1,f={};for(a=0;a<o.length;a++)u=(l=o[a])[l.length-1],c=l.substring(0,l.length-1),p=parseInt(c,10),h=parseFloat(c),m.test(c)&&"w"===u?((t||n)&&(d=!0),0===p?d=!0:t=p):g.test(c)&&"x"===u?((t||n||i)&&(d=!0),h<0?d=!0:n=h):m.test(c)&&"h"===u?((i||n)&&(d=!0),0===p?d=!0:i=p):d=!0;d?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+l+"'."):(f.url=s,t&&(f.w=t),n&&(f.d=n),i&&(f.h=i),b.push(f))}}})?n.apply(t,i):n)||(e.exports=s)}}),Ri=v({"src/language-html/syntax-attribute.js"(e,t){w();var r=Bi(),{builders:{ifBreak:n,join:i,line:s}}=W();t.exports={printImgSrcset:function(e){let t=r(e,{logger:{error(e){throw new Error(e)}}}),o=t.some((e=>{let{w:t}=e;return t})),a=t.some((e=>{let{h:t}=e;return t}));if(o+a+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let l=o?"w":a?"h":"d",u=o?"w":a?"h":"x",c=e=>Math.max(...e),p=t.map((e=>e.url)),h=c(p.map((e=>e.length))),d=t.map((e=>e[l])).map((e=>e?e.toString():"")),f=d.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=c(f);return i([",",s],p.map(((e,t)=>{let r=[e],i=d[t];if(i){let s=h-e.length+1,o=m-f[t],a=" ".repeat(s+o);r.push(n(a," "),i+u)}return r})))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}}}}),ji=v({"src/language-html/syntax-vue.js"(e,t){w();var{builders:{group:r}}=W();t.exports={isVueEventBindingExpression:function(e){let t=e.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){let{left:n,operator:i,right:s}=function(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let s={};if(s.for=i[3].trim(),!s.for)return;let o=i[1].trim().replace(n,""),a=o.match(r);a?(s.alias=o.replace(r,""),s.iterator1=a[1].trim(),a[2]&&(s.iterator2=a[2].trim())):s.alias=o;let l=[s.alias,s.iterator1,s.iterator2];return l.some(((e,t)=>!e&&(0===t||l.slice(t+1).some(Boolean))))?void 0:{left:l.filter(Boolean).join(","),operator:i[2],right:s.for}}(e);return[r(t(`function _(${n}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(s,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}}}}),$i=v({"src/language-html/get-node-content.js"(e,t){w();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:o,printOpeningTagEndMarker:a}=Li();t.exports=function(e,t){let l=e.startSourceSpan.end.offset;e.firstChild&&o(e.firstChild)&&(l-=a(e).length);let u=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?u+=n(e,t).length:i(e)&&(u-=s(e.lastChild,t).length),t.originalText.slice(l,u)}}}),Ui=v({"src/language-html/embed.js"(e,t){w();var{builders:{breakParent:r,group:n,hardline:i,indent:s,line:o,fill:a,softline:l},utils:{mapDoc:u,replaceTextEndOfLine:c}}=W(),p=Nn(),{printClosingTag:h,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:g}=Li(),{printImgSrcset:y,printClassNames:b}=Ri(),{printVueFor:v,printVueBindings:D,isVueEventBindingExpression:E}=ji(),{isScriptLikeTag:x,isVueNonHtmlBlock:S,inferScriptParser:C,htmlTrimPreserveIndentation:A,dedentString:T,unescapeQuoteEntities:P,isVueSlotAttribute:F,isVueSfcBindingsAttribute:I,getTextValueParts:N}=Ti(),k=$i();function _(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),u=()=>P(e.value),p=!1,h=(e,t)=>{let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(p=!0)},d=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([s([l,e]),t?l:""])},f=e=>p?(e=>n(e))(e):d(e),m=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return d(y(u()));if("class"===e.fullName&&!r.parentParser){let e=u();if(!e.includes("{{"))return b(e)}if("style"===e.fullName&&!r.parentParser){let e=u();if(!e.includes("{{"))return d(m(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return v(u(),m);if(F(e)||I(e,r))return D(u(),m);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=u(),t=E(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return f(m(e,{parser:t}))}if(i(t))return f(m(u(),{parser:"__vue_expression"}));if(i(n))return f(m(u(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>m(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],l=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return f(t(u(),{parser:"__ng_action"}));if(i(l))return f(t(u(),{parser:"__ng_binding"}));if(i(p)){let t=u().trim();return d(a(N(e,t)),!t.includes("@@"))}if(i(r))return f(t(u(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,g=u();if(h.test(g)){let e=[];for(let[r,i]of g.split(h).entries())if(r%2==0)e.push(c(i));else try{e.push(n(["{{",s([o,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),o,"}}"]))}catch{e.push("{{",c(i),"}}")}return n(e)}}return null}t.exports=function(e,t,a,l){let c=e.getValue();switch(c.type){case"element":if(x(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&S(c,l)){let r=C(c,l);if(!r)return;let s=k(c,l),o=/^\s*$/.test(s),u="";return o||(u=a(A(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),o=""===u),[m(c,l),n(g(e,l,t)),o?"":i,u,o?"":i,h(c,l),d(c,l)]}break;case"text":if(x(c.parent)){let e=C(c.parent,l);if(e){let t="markdown"===e?T(c.value.replace(/^[^\S\n]*\n/,"")):c.value,n={parser:e,__embeddedInHtml:!0};if("html"===l.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(c,l),a(t,n,{stripTrailingHardline:!0}),d(c,l)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===l.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===l.parser?e.parser=l.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([o,a(c.value,e,{stripTrailingHardline:!0})]),c.parent.next&&f(c.parent.next)?" ":o]}break;case"attribute":{if(!c.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(l.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===l.parser&&/^{.*}$/s.test(l.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=_(c,((e,t)=>a(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),l);if(e)return[c.rawName,'="',n(u(e,(e=>"string"==typeof e?e.replace(/"/g,"&quot;"):e))),'"'];break}case"front-matter":return p(c,a)}}}}),zi=v({"src/language-html/print/children.js"(e,t){w();var{builders:{breakParent:r,group:n,ifBreak:i,line:s,softline:o,hardline:a},utils:{replaceTextEndOfLine:l}}=W(),{locStart:u,locEnd:c}=Mi(),{forceBreakChildren:p,forceNextEmptyLine:h,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=Ti(),{printOpeningTagPrefix:g,needsToBorrowNextOpeningTagStartMarker:y,printOpeningTagStartMarker:b,needsToBorrowPrevClosingTagEndMarker:v,printClosingTagEndMarker:D,printClosingTagSuffix:E,needsToBorrowParentClosingTagStartMarker:x}=Li();function S(e,t,r){let n=e.getValue();return f(n)?[g(n,t),...l(t.originalText.slice(u(n)+(n.prev&&y(n.prev)?b(n).length:0),c(n)-(n.next&&v(n.next)?D(n,t).length:0))),E(n,t)]:r()}function C(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?a:s:"":m(t)?a:o:y(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&v(t)?"":!t.isLeadingSpaceSensitive||m(t)||v(t)&&e.lastChild&&x(e.lastChild)&&e.lastChild.lastChild&&x(e.lastChild.lastChild)?a:t.hasLeadingSpaces?s:o}t.exports={printChildren:function(e,t,s){let l=e.getValue();if(p(l))return[r,...e.map((e=>{let r=e.getValue(),n=r.prev?C(r.prev,r):"";return[n?[n,h(r.prev)?a:""]:"",S(e,t,s)]}),"children")];let u=l.children.map((()=>Symbol("")));return e.map(((e,r)=>{let l=e.getValue();if(d(l)){if(l.prev&&d(l.prev)){let r=C(l.prev,l);if(r)return h(l.prev)?[a,a,S(e,t,s)]:[r,S(e,t,s)]}return S(e,t,s)}let c=[],p=[],f=[],m=[],g=l.prev?C(l.prev,l):"",y=l.next?C(l,l.next):"";return g&&(h(l.prev)?c.push(a,a):g===a?c.push(a):d(l.prev)?p.push(g):p.push(i("",o,{groupId:u[r-1]}))),y&&(h(l)?d(l.next)&&m.push(a,a):y===a?d(l.next)&&m.push(a):f.push(y)),[...c,n([...p,n([S(e,t,s),...f],{id:u[r]})]),...m]}),"children")}}}}),Vi=v({"src/language-html/print/element.js"(e,t){w();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:s,indentIfBreak:o,indent:a,line:l,softline:u},utils:{replaceTextEndOfLine:c}}=W(),p=$i(),{shouldPreserveContent:h,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:g}=Ti(),{printOpeningTagPrefix:y,printOpeningTag:b,printClosingTagSuffix:v,printClosingTag:D,needsToBorrowPrevClosingTagEndMarker:E,needsToBorrowLastChildClosingTagEndMarker:x}=Li(),{printChildren:S}=zi();t.exports={printElement:function(e,t,w){let C=e.getValue();if(h(C,t))return[y(C,t),i(b(e,t,w)),...c(p(C,t)),...D(C,t),v(C,t)];let A=1===C.children.length&&"interpolation"===C.firstChild.type&&C.firstChild.isLeadingSpaceSensitive&&!C.firstChild.hasLeadingSpaces&&C.lastChild.isTrailingSpaceSensitive&&!C.lastChild.hasTrailingSpaces,T=Symbol("element-attr-group-id"),P=r=>i([i(b(e,t,w),{id:T}),r,D(C,t)]);return 0===C.children.length?P(C.hasDanglingSpaces&&C.isDanglingSpaceSensitive?l:""):P([g(C)?r:"",(F=[A?s(u,"",{groupId:T}):C.firstChild.hasLeadingSpaces&&C.firstChild.isLeadingSpaceSensitive?l:"text"===C.firstChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive?n(u):u,S(e,t,w)],A?o(F,{groupId:T}):!d(C)&&!f(C,t)||"root"!==C.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?a(F):F),(C.next?E(C.next):x(C.parent))?C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?" ":"":A?s(u,"",{groupId:T}):C.lastChild.hasTrailingSpaces&&C.lastChild.isTrailingSpaceSensitive?l:("comment"===C.lastChild.type||"text"===C.lastChild.type&&C.isWhitespaceSensitive&&C.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type))}}$`).test(C.lastChild.value)?"":u]);var F}}}}),Wi=v({"src/language-html/printer-html.js"(e,t){w();var{builders:{fill:r,group:n,hardline:i,literalline:s},utils:{cleanDoc:o,getDocParts:a,isConcat:l,replaceTextEndOfLine:u}}=W(),c=Si(),{countChars:p,unescapeQuoteEntities:h,getTextValueParts:d}=Ti(),f=_i(),{insertPragma:m}=Oi(),{locStart:g,locEnd:y}=Mi(),b=Ui(),{printClosingTagSuffix:v,printClosingTagEnd:D,printOpeningTagPrefix:E,printOpeningTagStart:x}=Li(),{printElement:S}=Vi(),{printChildren:C}=zi();t.exports={preprocess:f,print:function(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return u(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[n(C(e,t,c)),i];case"element":case"ieConditionalComment":return S(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[x(f),D(f)];case"interpolation":return[x(f,t),...e.map(c,"children"),D(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),r=t?f.value.replace(e,""):f.value;return[...u(r),t?i:""]}let e=o([E(f,t),...d(f),v(f,t)]);return l(e)||"fill"===e.type?r(a(e)):e}case"docType":return[n([x(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),D(f,t)];case"comment":return[E(f,t),...u(t.originalText.slice(g(f),y(f)),s),v(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=h(f.value),t=p(e,"'")<p(e,'"')?"'":'"';return[f.rawName,"=",t,...u('"'===t?e.replace(/"/g,"&quot;"):e.replace(/'/g,"&apos;")),t]}default:throw new Error(`Unexpected node type ${f.type}`)}},insertPragma:m,massageAstNode:c,embed:b}}}),Hi=v({"src/language-html/options.js"(e,t){w();var r=Dn(),n="HTML";t.exports={bracketSameLine:r.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:n,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:r.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:n,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),qi=v({"src/language-html/parsers.js"(){w()}}),Gi=v({"node_modules/linguist-languages/data/HTML.json"(e,t){t.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),Ki=v({"node_modules/linguist-languages/data/Vue.json"(e,t){t.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),Xi=v({"src/language-html/index.js"(e,t){w();var r=Zt(),n=Wi(),i=Hi(),s=qi(),o=[r(Gi(),(()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(Gi(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(Gi(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(Ki(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],a={html:n};t.exports={languages:o,printers:a,options:i,parsers:s}}}),Ji=v({"src/language-yaml/pragma.js"(e,t){w(),t.exports={isPragma:function(e){return/^\s*@(?:prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)},insertPragma:function(e){return`# @format\n\n${e}`}}}}),Yi=v({"src/language-yaml/loc.js"(e,t){w(),t.exports={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}}}}),Zi=v({"src/language-yaml/embed.js"(e,t){w(),t.exports=function(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}}}),Qi=v({"src/language-yaml/utils.js"(e,t){w();var{getLast:r,isNonEmptyArray:n}=de();function i(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function s(e){return"prettier-ignore"===e.value.trim()}function o(e){return n(null==e?void 0:e.leadingComments)}function a(e){return n(null==e?void 0:e.middleComments)}function l(e){return null==e?void 0:e.indicatorComment}function u(e){return null==e?void 0:e.trailingComment}function c(e){return n(null==e?void 0:e.endComments)}function p(e){let t,r=[];for(let n of e.split(/( +)/))" "!==n?" "===t?r.push(n):r.push((r.pop()||"")+n):void 0===t&&r.unshift(""),t=n;return" "===t&&r.push((r.pop()||"")+" "),""===r[0]&&(r.shift(),r.unshift(" "+(r.shift()||""))),r}t.exports={getLast:r,getAncestorCount:function(e,t){let r=0,n=e.stack.length-1;for(let s=0;s<n;s++){let n=e.stack[s];i(n)&&t(n)&&r++}return r},isNode:i,isEmptyNode:function(e){return!n(e.children)&&!function(e){return o(e)||a(e)||l(e)||u(e)||c(e)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:function e(t,r,n){return r("children"in t?Object.assign(Object.assign({},t),{},{children:t.children.map((n=>e(n,r,t)))}):t,n)},defineShortcut:function(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})},isNextLineEmpty:function(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i<n;i++){let e=t[i];if("\n"===e&&r++,1===r&&/\S/.test(e))return!1;if(2===r)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let t=e.stack.length;for(let r=1;r<t;r++){let t=e.stack[r],n=e.stack[r-1];if(Array.isArray(n)&&"number"==typeof t&&t!==n.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){let n,{parentIndent:i,isLastDescendant:s,options:o}=t,a=e.position.start.line===e.position.end.line?"":o.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=a.match(/^(?<leadingSpace> *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let l=a.split("\n").map((e=>e.slice(n)));return"preserve"===o.proseWrap||"blockLiteral"===e.type?u(l.map((e=>0===e.length?[]:[e]))):u(l.map((e=>0===e.length?[]:p(e))).reduce(((e,t,n)=>0!==n&&l[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===o.proseWrap?[e.join(" ")]:e)));function u(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!s?t.slice(0,-(n-1)):t.slice(0,-n)}},getFlowScalarLineContents:function(e,t,n){let i=t.split("\n").map(((e,t,r)=>0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?i.map((e=>0===e.length?[]:[e])):i.map((e=>0===e.length?[]:p(e))).reduce(((t,n,s)=>0!==s&&i[s-1].length>0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))},getLastDescendantNode:function e(t){return n(t.children)?e(r(t.children)):t},hasPrettierIgnore:function(e){let t=e.getValue();if("documentBody"===t.type){let t=e.getParentNode();return c(t.head)&&s(r(t.head.endComments))}return o(t)&&s(r(t.leadingComments))},hasLeadingComments:o,hasMiddleComments:a,hasIndicatorComment:l,hasTrailingComment:u,hasEndComments:c}}}),es=v({"src/language-yaml/print-preprocess.js"(e,t){w();var{defineShortcut:r,mapNode:n}=Qi();function i(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=function(e){return n(e,i)}}}),ts=v({"src/language-yaml/print/misc.js"(e,t){w();var{builders:{softline:r,align:n}}=W(),{hasEndComments:i,isNextLineEmpty:s,isNode:o}=Qi(),a=new WeakMap;function l(e){return i(e)&&!o(e,["documentHead","documentBody","flowMapping","flowSequence"])}t.exports={alignWithSpaces:function(e,t){return n(" ".repeat(e),t)},shouldPrintEndComments:l,printNextEmptyLine:function(e,t){let n,i=e.getValue(),o=e.stack[0];return a.has(o)?n=a.get(o):(n=new Set,a.set(o,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!s(i,t)||l(e.getParentNode()))?"":r}}}}),rs=v({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){w();var{builders:{ifBreak:r,line:n,softline:i,hardline:s,join:o}}=W(),{isEmptyNode:a,getLast:l,hasEndComments:u}=Qi(),{printNextEmptyLine:c,alignWithSpaces:p}=ts();function h(e,t,c){let h=e.getValue(),f="flowMapping"===h.type,m=f?"{":"[",g=f?"}":"]",y=i;f&&h.children.length>0&&c.bracketSpacing&&(y=n);let b=l(h.children),v=b&&"flowMappingItem"===b.type&&a(b.key)&&a(b.value);return[m,p(c.tabWidth,[y,d(e,t,c),"none"===c.trailingComma?"":r(","),u(h)?[s,o(s,e.map(t,"endComments"))]:""]),v?"":y,g]}function d(e,t,r){let i=e.getValue();return e.map(((e,s)=>[t(),s===i.children.length-1?"":[",",n,i.children[s].position.start.line!==i.children[s+1].position.start.line?c(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:h,printFlowSequence:h}}}),ns=v({"src/language-yaml/print/mapping-item.js"(e,t){w();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:s,join:o,line:a}}=W(),{hasLeadingComments:l,hasMiddleComments:u,hasTrailingComment:c,hasEndComments:p,isNode:h,isEmptyNode:d,isInlineNode:f}=Qi(),{alignWithSpaces:m}=ts();function g(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}t.exports=function(e,t,y,b,v){let{key:D,value:E}=e,x=d(D),w=d(E);if(x&&w)return": ";let S=b("key"),C=function(e){return e.key.content&&"alias"===e.key.content.type}(e)?" ":"";if(w)return"flowMappingItem"===e.type&&"flowMapping"===t.type?S:"mappingItem"!==e.type||!g(D.content,v)||c(D.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,S)]:[S,C,":"];let A=b("value");if(x)return[": ",m(2,A)];if(l(E)||!f(D.content))return["? ",m(2,S),i,o("",y.map(b,"value","leadingComments").map((e=>[e,i]))),": ",m(2,A)];if(function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(D.content)&&!l(D.content)&&!u(D.content)&&!c(D.content)&&!p(D)&&!l(E.content)&&!u(E.content)&&!p(E)&&g(E.content,v))return[S,C,": ",A];let T=Symbol("mappingKey"),P=n([s("? "),n(m(2,S),{id:T})]),F=[i,": ",m(2,A)],I=[C,":"];l(E.content)||p(E)&&E.content&&!h(E.content,["mapping","sequence"])||"mapping"===t.type&&c(D.content)&&f(E.content)||h(E.content,["mapping","sequence"])&&null===E.content.tag&&null===E.content.anchor?I.push(i):E.content&&I.push(a),I.push(A);let N=m(v.tabWidth,I);return!g(D.content,v)||l(D.content)||u(D.content)||p(D)?r([[P,s(F,N,{groupId:T})]]):r([[S,N]])}}}),is=v({"src/language-yaml/print/block.js"(e,t){w();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:s,join:o,line:a,literalline:l,markAsRoot:u},utils:{getDocParts:c}}=W(),{getAncestorCount:p,getBlockValueLineContents:h,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=Qi(),{alignWithSpaces:g}=ts();t.exports=function(e,t,y){let b=e.getValue(),v=p(e,(e=>m(e,["sequence","mapping"]))),D=f(e),E=["blockFolded"===b.type?">":"|"];null!==b.indent&&E.push(b.indent.toString()),"clip"!==b.chomping&&E.push("keep"===b.chomping?"+":"-"),d(b)&&E.push(" ",t("indicatorComment"));let x=h(b,{parentIndent:v,isLastDescendant:D,options:y}),w=[];for(let[e,t]of x.entries())0===e&&w.push(s),w.push(i(c(o(a,t)))),e!==x.length-1?w.push(0===t.length?s:u(l)):"keep"===b.chomping&&D&&w.push(n(0===t.length?s:l));return null===b.indent?E.push(r(g(y.tabWidth,w))):E.push(n(g(b.indent-1+v,w))),E}}}),ss=v({"src/language-yaml/printer-yaml.js"(e,t){w();var{builders:{breakParent:r,fill:n,group:i,hardline:s,join:o,line:a,lineSuffix:l,literalline:u},utils:{getDocParts:c,replaceTextEndOfLine:p}}=W(),{isPreviousLineEmpty:h}=de(),{insertPragma:d,isPragma:f}=Ji(),{locStart:m}=Yi(),g=Zi(),{getFlowScalarLineContents:y,getLastDescendantNode:b,hasLeadingComments:v,hasMiddleComments:D,hasTrailingComment:E,hasEndComments:x,hasPrettierIgnore:S,isLastDescendantNode:C,isNode:A,isInlineNode:T}=Qi(),P=es(),{alignWithSpaces:F,printNextEmptyLine:I,shouldPrintEndComments:N}=ts(),{printFlowMapping:k,printFlowSequence:_}=rs(),O=ns(),M=is();function L(e,t){return E(e)||t&&(t.head.children.length>0||x(t.head))}function B(e,t,r){let i=y(e,t,r);return o(s,i.map((e=>n(c(o(a,e))))))}t.exports={preprocess:P,embed:g,print:function(e,t,n){let a=e.getValue(),c=[];"mappingValue"!==a.type&&v(a)&&c.push([o(s,e.map(n,"leadingComments")),s]);let{tag:d,anchor:f}=a;d&&c.push(n("tag")),d&&f&&c.push(" "),f&&c.push(n("anchor"));let g="";A(a,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!C(e)&&(g=I(e,t.originalText)),(d||f)&&(A(a,["sequence","mapping"])&&!D(a)?c.push(s):c.push(" ")),D(a)&&c.push([1===a.middleComments.length?"":s,o(s,e.map(n,"middleComments")),s]);let y=e.getParentNode();return S(e)?c.push(p(t.originalText.slice(a.position.start.offset,a.position.end.offset).trimEnd(),u)):c.push(i(function(e,t,r,n,i){switch(e.type){case"root":{let{children:t}=e,n=[];r.each(((e,r)=>{let o=t[r],a=t[r+1];0!==r&&n.push(s),n.push(i()),L(o,a)?(n.push(s,"..."),E(o)&&n.push(" ",i("trailingComment"))):a&&!E(a.head)&&n.push(s,"---")}),"children");let o=b(e);return(!A(o,["blockLiteral","blockFolded"])||"keep"!==o.chomping)&&n.push(s),n}case"document":{let a=[];return"head"===function(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||x(e.head)||E(e.head)?"head":!L(e,t)&&!!t&&"root"}(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&a.push(i("head")),E(e.head)?a.push(["---"," ",i(["head","trailingComment"])]):a.push("---")),function(e){return e.body.children.length>0||x(e.body)}(e)&&a.push(i("body")),o(s,a)}case"documentHead":return o(s,[...r.map(i,"children"),...r.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,a="";if(t.length>0&&n.length>0){let t=b(e);A(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(a=[s,s]):a=s}return[o(s,r.map(i,"children")),a,o(s,r.map(i,"endComments"))]}case"directive":return["%",o(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return B(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t="'",r='"',i=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let s="quoteDouble"===e.type?r:t;return[s,B(e.type,i,n),s]}if(i.includes(r))return[t,B(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,B(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let s=n.singleQuote?t:r;return[s,B(e.type,i,n),s]}case"blockFolded":case"blockLiteral":return M(r,i,n);case"mapping":case"sequence":return o(s,r.map(i,"children"));case"sequenceItem":return["- ",F(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return O(e,t,r,i,n);case"flowMapping":return k(r,i,n);case"flowSequence":return _(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error(`Unexpected node type ${e.type}`)}}(a,y,e,t,n))),E(a)&&!A(a,["document","documentHead"])&&c.push(l(["mappingValue"!==a.type||a.content?" ":"","mappingKey"===y.type&&"mapping"===e.getParentNode(2).type&&T(a)?"":r,n("trailingComment")])),N(a)&&c.push(F("sequenceItem"===a.type?2:0,[s,o(s,e.map((e=>[h(t.originalText,e.getValue(),m)?s:"",n()]),"endComments"))])),c.push(g),c},massageAstNode:function(e,t){if(A(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:d}}}),os=v({"src/language-yaml/options.js"(e,t){w();var r=Dn();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),as=v({"src/language-yaml/parsers.js"(){w()}}),ls=v({"node_modules/linguist-languages/data/YAML.json"(e,t){t.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),us=v({"src/language-yaml/index.js"(e,t){w();var r=Zt(),n=ss(),i=os(),s=as(),o=[r(ls(),(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc",".lintstagedrc"]})))];t.exports={languages:o,printers:{yaml:n},options:i,parsers:s}}}),cs=v({"src/languages.js"(e,t){w(),t.exports=[Fn(),Xn(),ni(),ci(),wi(),Xi(),us()]}});w();var{version:ps}=S(),hs=Jt(),{getSupportInfo:ds}=oe(),fs=Yt(),ms=cs(),gs=W();function ys(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];let s=n[t]||{},o=s.plugins||[];return n[t]=Object.assign(Object.assign({},s),{},{plugins:[...ms,...Array.isArray(o)?o:Object.values(o)]}),e(...n)}}var bs=ys(hs.formatWithCursor);o.exports={formatWithCursor:bs,format:(e,t)=>bs(e,t).formatted,check(e,t){let{formatted:r}=bs(e,t);return r===e},doc:gs,getSupportInfo:ys(ds,0),version:ps,util:fs,__debug:{parse:ys(hs.parse),formatAST:ys(hs.formatAST),formatDoc:ys(hs.formatDoc),printToDoc:ys(hs.printToDoc),printDocToString:ys(hs.printDocToString)}}}))())},49657:(e,t,r)=>{e.exports=r(83109)},49659:(e,t,r)=>{var n,i,s=r(79696).Buffer,o=r(94677),a=r(30118),l=r(31289),u=r(83153),c=r.g.crypto&&r.g.crypto.subtle,p={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function d(){return i||(i=r.g.process&&r.g.process.nextTick?r.g.process.nextTick:r.g.queueMicrotask?r.g.queueMicrotask:r.g.setImmediate?r.g.setImmediate:r.g.setTimeout)}function f(e,t,r,n,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)})).then((function(e){return s.from(e)}))}e.exports=function(e,t,i,m,g,y){"function"==typeof g&&(y=g,g=void 0);var b=p[(g=g||"sha1").toLowerCase()];if(b&&"function"==typeof r.g.Promise){if(o(i,m),e=u(e,a,"Password"),t=u(t,a,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){d()((function(){t(null,e)}))}),(function(e){d()((function(){t(e)}))}))}(function(e){if(r.g.process&&!r.g.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=f(n=n||s.alloc(8),n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return h[e]=t,t}(b).then((function(r){return r?f(e,t,i,m,b):l(e,t,i,m,g)})),y)}else d()((function(){var r;try{r=l(e,t,i,m,g)}catch(e){return y(e)}y(null,r)}))}},49888:(__unused_webpack_module,exports)=>{var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),(function(t){r[t]=e[t]})),forEach(globals,(function(t){e[t]&&(r[t]=e[t])}));var s=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),(function(t){(t in e||-1===indexOf(s,t))&&(e[t]=r[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,r[t])})),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),(function(r){e[r]=t[r]})),r},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),(function(r){t[r]=e[r]})),t}},50093:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(70161),i=r(6022),s=r(62537),o=r.n(s),a=r(44707),l=["stroke","color","weight","opacity","lineCap","lineJoin","dashArray","dashOffset","fill","fillColor","fillOpacity","fillRule","bubblingMouseEvents","renderer","className","interactive","pane","attribution"],u=function(e){function t(t){var r;return null==(r=e.call(this,t)||this).contextValue&&(r.contextValue=(0,n.A)({},t.leaflet,{popupContainer:r.leafletElement})),r}(0,i.A)(t,e);var r=t.prototype;return r.componentDidUpdate=function(t){e.prototype.componentDidUpdate.call(this,t),this.setStyleIfChanged(t,this.props)},r.getPathOptions=function(e){return t=e,l.reduce((function(e,r){return t[r]&&(e[r]=t[r]),e}),{});var t},r.setStyle=function(e){void 0===e&&(e={}),this.leafletElement.setStyle(e)},r.setStyleIfChanged=function(e,t){var r=this.getPathOptions(t);o()(r,this.getPathOptions(e))||this.setStyle(r)},t}(a.A)},50192:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},50515:e=>{var t=Object.prototype.hasOwnProperty,r="function"!=typeof Object.create&&"~";function n(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function i(){}i.prototype._events=void 0,i.prototype.eventNames=function(){var e,n=this._events,i=[];if(!n)return i;for(e in n)t.call(n,e)&&i.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(n)):i},i.prototype.listeners=function(e,t){var n=r?r+e:e,i=this._events&&this._events[n];if(t)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var s=0,o=i.length,a=new Array(o);s<o;s++)a[s]=i[s].fn;return a},i.prototype.emit=function(e,t,n,i,s,o){var a=r?r+e:e;if(!this._events||!this._events[a])return!1;var l,u,c=this._events[a],p=arguments.length;if("function"==typeof c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),p){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,s),!0;case 6:return c.fn.call(c.context,t,n,i,s,o),!0}for(u=1,l=new Array(p-1);u<p;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var h,d=c.length;for(u=0;u<d;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),p){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;default:if(!l)for(h=1,l=new Array(p-1);h<p;h++)l[h-1]=arguments[h];c[u].fn.apply(c[u].context,l)}}return!0},i.prototype.on=function(e,t,i){var s=new n(t,i||this),o=r?r+e:e;return this._events||(this._events=r?{}:Object.create(null)),this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],s]:this._events[o].push(s):this._events[o]=s,this},i.prototype.once=function(e,t,i){var s=new n(t,i||this,!0),o=r?r+e:e;return this._events||(this._events=r?{}:Object.create(null)),this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],s]:this._events[o].push(s):this._events[o]=s,this},i.prototype.removeListener=function(e,t,n,i){var s=r?r+e:e;if(!this._events||!this._events[s])return this;var o=this._events[s],a=[];if(t)if(o.fn)(o.fn!==t||i&&!o.once||n&&o.context!==n)&&a.push(o);else for(var l=0,u=o.length;l<u;l++)(o[l].fn!==t||i&&!o[l].once||n&&o[l].context!==n)&&a.push(o[l]);return a.length?this._events[s]=1===a.length?a[0]:a:delete this._events[s],this},i.prototype.removeAllListeners=function(e){return this._events?(e?delete this._events[r?r+e:e]:this._events=r?{}:Object.create(null),this):this},i.prototype.off=i.prototype.removeListener,i.prototype.addListener=i.prototype.on,i.prototype.setMaxListeners=function(){return this},i.prefixed=r,e.exports=i},51048:(e,t,r)=>{var n=r(65994).e,i=65536,s=r(79696).Buffer,o=r.g.crypto||r.g.msCrypto;o&&o.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var r=s.allocUnsafe(e);if(e>0)if(e>i)for(var a=0;a<e;a+=i)o.getRandomValues(r.slice(a,a+i));else o.getRandomValues(r);return"function"==typeof t?n.nextTick((function(){t(null,r)})):r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},51152:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function s(e,o){if(e===o)return!0;if(e&&o&&"object"==typeof e&&"object"==typeof o){if(e.constructor!==o.constructor)return!1;var a,l,u,c;if(Array.isArray(e)){if((a=e.length)!=o.length)return!1;for(l=a;0!=l--;)if(!s(e[l],o[l]))return!1;return!0}if(r&&e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!o.has(l.value[0]))return!1;for(c=e.entries();!(l=c.next()).done;)if(!s(l.value[1],o.get(l.value[0])))return!1;return!0}if(n&&e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(c=e.entries();!(l=c.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(o)){if((a=e.length)!=o.length)return!1;for(l=a;0!=l--;)if(e[l]!==o[l])return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof o.valueOf)return e.valueOf()===o.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof o.toString)return e.toString()===o.toString();if((a=(u=Object.keys(e)).length)!==Object.keys(o).length)return!1;for(l=a;0!=l--;)if(!Object.prototype.hasOwnProperty.call(o,u[l]))return!1;if(t&&e instanceof Element)return!1;for(l=a;0!=l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!e.$$typeof)&&!s(e[u[l]],o[u[l]]))return!1;return!0}return e!=e&&o!=o}e.exports=function(e,t){try{return s(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},51182:(e,t,r)=>{const{Buffer:n}=r(67787),{ObjectDefineProperty:i,ObjectKeys:s,ReflectApply:o}=r(12450),{promisify:{custom:a}}=r(46108),{streamReturningOperators:l,promiseReturningOperators:u}=r(7915),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=r(26503),p=r(16362),{setDefaultHighWaterMark:h,getDefaultHighWaterMark:d}=r(97863),{pipeline:f}=r(55930),{destroyer:m}=r(28476),g=r(42882),y=r(83803),b=r(97967),v=e.exports=r(39831).Stream;v.isDestroyed=b.isDestroyed,v.isDisturbed=b.isDisturbed,v.isErrored=b.isErrored,v.isReadable=b.isReadable,v.isWritable=b.isWritable,v.Readable=r(11444);for(const E of s(l)){const x=l[E];function w(...e){if(new.target)throw c();return v.Readable.from(o(x,this,e))}i(w,"name",{__proto__:null,value:x.name}),i(w,"length",{__proto__:null,value:x.length}),i(v.Readable.prototype,E,{__proto__:null,value:w,enumerable:!1,configurable:!0,writable:!0})}for(const S of s(u)){const C=u[S];function A(...e){if(new.target)throw c();return o(C,this,e)}i(A,"name",{__proto__:null,value:C.name}),i(A,"length",{__proto__:null,value:C.length}),i(v.Readable.prototype,S,{__proto__:null,value:A,enumerable:!1,configurable:!0,writable:!0})}v.Writable=r(12244),v.Duplex=r(758),v.Transform=r(84450),v.PassThrough=r(41472),v.pipeline=f;const{addAbortSignal:D}=r(90951);v.addAbortSignal=D,v.finished=g,v.destroy=m,v.compose=p,v.setDefaultHighWaterMark=h,v.getDefaultHighWaterMark=d,i(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>y}),i(f,a,{__proto__:null,enumerable:!0,get:()=>y.pipeline}),i(g,a,{__proto__:null,enumerable:!0,get:()=>y.finished}),v.Stream=v,v._isUint8Array=function(e){return e instanceof Uint8Array},v._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}},52162:(e,t,r)=>{r.d(t,{uv:()=>s});var n=r(16299),i=r(38612);function s(e,t,{timeout:r}={}){try{return(0,n.A)((()=>(0,i.A)(e).test(t)),{timeout:r})()}catch(e){if((0,n.c)(e))return!1;throw e}}},52244:(e,t,r)=>{var n=r(79696).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=p,t=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.StringDecoder=s,s.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},52682:(e,t,r)=>{r.d(t,{BC:()=>m,Bq:()=>a,FK:()=>f,HC:()=>u,HT:()=>i,K5:()=>c,YW:()=>l,b2:()=>d,c1:()=>h,kg:()=>g,kp:()=>s,tW:()=>o,tn:()=>n,wN:()=>p});var n=Math.abs,i=String.fromCharCode,s=Object.assign;function o(e,t){return 45^p(e,0)?(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3):0}function a(e){return e.trim()}function l(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function m(e,t){return t.push(e),e}function g(e,t){return e.map(t).join("")}},52753:(e,t,r)=>{var n=r(63713),i=r(91471),s=r(79101),o=r(13607),a={preEmit:1,shouldEmit:1};e.exports=function(e){var t=r(61255),l=r(68),u=r(67670);for(var c in e=e||{},t)if(!a[c]&&(l[c]||u[c]))throw new Error("Cannot override API method "+c+" in Reflux.StoreMethods. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");for(var p in e)if(!a[p]&&(l[p]||u[p]))throw new Error("Cannot override API method "+p+" in store creation. Use another method name or override it on Reflux.PublisherMethods / Reflux.ListenerMethods instead.");function h(){var t,r=0;if(this.subscriptions=[],this.emitter=new n.EventEmitter,this.eventLabel="change",o(this,e),this.init&&n.isFunction(this.init)&&this.init(),this.listenables)for(t=[].concat(this.listenables);r<t.length;r++)this.listenToMany(t[r])}e=s(e),n.extend(h.prototype,u,l,t,e);var d=new h;return i.createdStores.push(d),d}},53692:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(60752),i=r(70161),s=r(96196),o=r(6022),a=r(96652),l=r.n(a),u=r(28104);function c(e,t){var r=Object.create(null);return e&&a.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,a.isValidElement)(e)?t(e):e}(e)})),r}function p(e,t,r){return null!=r[t]?r[t]:e.props[t]}function h(e,t,r){var n=c(e.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),s=[];for(var o in e)o in t?s.length&&(i[o]=s,s=[]):s.push(o);var a={};for(var l in t){if(i[l])for(n=0;n<i[l].length;n++){var u=i[l][n];a[i[l][n]]=r(u)}a[l]=r(l)}for(n=0;n<s.length;n++)a[s[n]]=r(s[n]);return a}(t,n);return Object.keys(i).forEach((function(s){var o=i[s];if((0,a.isValidElement)(o)){var l=s in t,u=s in n,c=t[s],h=(0,a.isValidElement)(c)&&!c.props.in;!u||l&&!h?u||!l||h?u&&l&&(0,a.isValidElement)(c)&&(i[s]=(0,a.cloneElement)(o,{onExited:r.bind(null,o),in:c.props.in,exit:p(o,"exit",e),enter:p(o,"enter",e)})):i[s]=(0,a.cloneElement)(o,{in:!1}):i[s]=(0,a.cloneElement)(o,{onExited:r.bind(null,o),in:!0,exit:p(o,"exit",e),enter:p(o,"enter",e)})}})),i}var d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,r){var n,i=(n=e.call(this,t,r)||this).handleExited.bind((0,s.A)(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,o.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,s=t.handleExited;return{children:t.firstRender?(r=e,n=s,c(r.children,(function(e){return(0,a.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:p(e,"appear",r),enter:p(e,"enter",r),exit:p(e,"exit",r)})}))):h(e,i,s),firstRender:!1}},r.handleExited=function(e,t){var r=c(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=(0,i.A)({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,n.A)(e,["component","childFactory"]),s=this.state.contextValue,o=d(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,null===t?l().createElement(u.A.Provider,{value:s},o):l().createElement(u.A.Provider,{value:s},l().createElement(t,i,o))},t}(l().Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}};const m=f},53786:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(70161),i=r(6022),s=r(63706),o=r(41381),a=function(e){function t(){return e.apply(this,arguments)||this}(0,i.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){var t=new s.CircleMarker(e.center,this.getOptions(e));return this.contextValue=(0,n.A)({},e.leaflet,{popupContainer:t}),t},r.updateLeafletElement=function(e,t){t.center!==e.center&&this.leafletElement.setLatLng(t.center),t.radius!==e.radius&&this.leafletElement.setRadius(t.radius)},t}(r(50093).A);const l=(0,o.k0)(a)},54284:(e,t,r)=>{r.d(t,{A:()=>o,l:()=>s});var n=r(62189),i=r(52682);function s(e,t){for(var r="",n=(0,i.FK)(e),s=0;s<n;s++)r+=t(e[s],s,e,t)||"";return r}function o(e,t,r,o){switch(e.type){case n.IO:if(e.children.length)break;case n.yE:case n.LU:return e.return=e.return||e.value;case n.YK:return"";case n.Sv:return e.return=e.value+"{"+s(e.children,o)+"}";case n.XZ:e.value=e.props.join(",")}return(0,i.b2)(r=s(e.children,o))?e.return=e.value+"{"+r+"}":""}},54447:(e,t,r)=>{var n=r(67670),i=r(36180),s=r(63713);e.exports=function(e,t){return s.throwIf(void 0===t,"Reflux.connect() requires a key."),{getInitialState:function(){return s.isFunction(e.getInitialState)?s.object([t],[e.getInitialState()]):{}},componentDidMount:function(){var r=this;s.extend(r,n),this.listenTo(e,(function(e){r.setState(s.object([t],[e]))}))},componentWillUnmount:i.componentWillUnmount}}},54808:(e,t,r)=>{e.exports=r(27540)},54845:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).minor},54856:(e,t,r)=>{var n=r(67670);e.exports=function(e){return{componentDidMount:function(){for(var t in n)if(this[t]!==n[t]){if(this[t])throw"Can't have other property '"+t+"' when using Reflux.listenToMany!";this[t]=n[t]}this.listenToMany(e)},componentWillUnmount:n.stopListeningToAll}}},55242:(e,t,r)=>{r.d(t,{Kq:()=>z,Ng:()=>U,iI:()=>H,jO:()=>b,Nk:()=>V});var n=r(58695),i=r(44949),s=r(46410);let o=function(e){e()};const a=()=>o;var l=r(96652);const u=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{};function p(){var e;if(!l.createContext)return{};const t=null!=(e=c[u])?e:c[u]=new Map;let r=t.get(l.createContext);return r||(r=l.createContext(null),t.set(l.createContext,r)),r}const h=p();function d(e=h){return function(){return(0,l.useContext)(e)}}const f=d(),m=()=>{throw new Error("uSES not initialized!")};let g=m;const y=(e,t)=>e===t;function b(e=h){const t=e===h?f:d(e);return function(e,r={}){const{equalityFn:n=y,stabilityCheck:i,noopCheck:s}="function"==typeof r?{equalityFn:r}:r,{store:o,subscription:a,getServerState:u,stabilityCheck:c,noopCheck:p}=t(),h=((0,l.useRef)(!0),(0,l.useCallback)({[e.name]:t=>e(t)}[e.name],[e,c,i])),d=g(a.addNestedSub,o.getState,u||o.getState,h,n);return(0,l.useDebugValue)(d),d}}var v=r(70161),D=r(60752),E=r(80997),x=r.n(E),w=r(54808);const S=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function C(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:s,areStatePropsEqual:o}){let a,l,u,c,p,h=!1;return function(d,f){return h?function(h,d){const f=!s(d,l),m=!i(h,a,d,l);return a=h,l=d,f&&m?(u=e(a,l),t.dependsOnOwnProps&&(c=t(n,l)),p=r(u,c,l),p):f?(e.dependsOnOwnProps&&(u=e(a,l)),t.dependsOnOwnProps&&(c=t(n,l)),p=r(u,c,l),p):m?function(){const t=e(a,l),n=!o(t,u);return u=t,n&&(p=r(u,c,l)),p}():p}(d,f):(a=d,l=f,u=e(a,l),c=t(n,l),p=r(u,c,l),h=!0,p)}}function A(e){return function(t){const r=e(t);function n(){return r}return n.dependsOnOwnProps=!1,n}}function T(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(e,t){return function(t,{displayName:r}){const n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=T(e);let i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=T(i),i=n(t,r)),i},n}}function F(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function I(e,t,r){return(0,v.A)({},r,e,t)}const N={notify(){},get:()=>[]};function k(e,t){let r,n=N,i=0,s=!1;function o(){c.onStateChange&&c.onStateChange()}function l(){i++,r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){const e=a();let t=null,r=null;return{clear(){t=null,r=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}function u(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=N)}const c={addNestedSub:function(e){l();const t=n.subscribe(e);let r=!1;return()=>{r||(r=!0,t(),u())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,l())},tryUnsubscribe:function(){s&&(s=!1,u())},getListeners:()=>n};return c}const _="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?l.useLayoutEffect:l.useEffect;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function M(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!O(e[r[n]],t[r[n]]))return!1;return!0}const L=["reactReduxForwardedRef"];let B=m;const R=[null,null];function j(e,t,r,n,i,s){e.current=n,r.current=!1,i.current&&(i.current=null,s())}function $(e,t){return e===t}const U=function(e,t,r,{pure:n,areStatesEqual:i=$,areOwnPropsEqual:s=M,areStatePropsEqual:o=M,areMergedPropsEqual:a=M,forwardRef:u=!1,context:c=h}={}){const p=c,d=function(e){return e?"function"==typeof e?P(e):F(e,"mapStateToProps"):A((()=>({})))}(e),f=function(e){return e&&"object"==typeof e?A((t=>function(e,t){const r={};for(const n in e){const i=e[n];"function"==typeof i&&(r[n]=(...e)=>t(i(...e)))}return r}(e,t))):e?"function"==typeof e?P(e):F(e,"mapDispatchToProps"):A((e=>({dispatch:e})))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:r,areMergedPropsEqual:n}){let i,s=!1;return function(t,r,o){const a=e(t,r,o);return s?n(a,i)||(i=a):(s=!0,i=a),i}}}(e):F(e,"mergeProps"):()=>I}(r),g=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:g,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:d,initMapDispatchToProps:f,initMergeProps:m,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:s,areMergedPropsEqual:a};function c(t){const[r,i,s]=l.useMemo((()=>{const{reactReduxForwardedRef:e}=t,r=(0,D.A)(t,L);return[t.context,e,r]}),[t]),o=l.useMemo((()=>r&&r.Consumer&&(0,w.isContextConsumer)(l.createElement(r.Consumer,null))?r:p),[r,p]),a=l.useContext(o),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(a)&&Boolean(a.store),h=u?t.store:a.store,d=c?a.getServerState:h.getState,f=l.useMemo((()=>function(e,t){let{initMapStateToProps:r,initMapDispatchToProps:n,initMergeProps:i}=t,s=(0,D.A)(t,S);return C(r(e,s),n(e,s),i(e,s),e,s)}(h.dispatch,n)),[h]),[m,y]=l.useMemo((()=>{if(!g)return R;const e=k(h,u?void 0:a.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,u,a]),b=l.useMemo((()=>u?a:(0,v.A)({},a,{subscription:m})),[u,a,m]),E=l.useRef(),x=l.useRef(s),A=l.useRef(),T=l.useRef(!1),P=(l.useRef(!1),l.useRef(!1)),F=l.useRef();_((()=>(P.current=!0,()=>{P.current=!1})),[]);const I=l.useMemo((()=>()=>A.current&&s===x.current?A.current:f(h.getState(),s)),[h,s]),N=l.useMemo((()=>e=>m?function(e,t,r,n,i,s,o,a,l,u,c){if(!e)return()=>{};let p=!1,h=null;const d=()=>{if(p||!a.current)return;const e=t.getState();let r,d;try{r=n(e,i.current)}catch(e){d=e,h=e}d||(h=null),r===s.current?o.current||u():(s.current=r,l.current=r,o.current=!0,c())};return r.onStateChange=d,r.trySubscribe(),d(),()=>{if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,h)throw h}}(g,h,m,f,x,E,T,P,A,y,e):()=>{}),[m]);var O,M;let $;O=j,M=[x,E,T,s,A,y],_((()=>O(...M)),undefined);try{$=B(N,I,d?()=>f(d(),s):I)}catch(e){throw F.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${F.current.stack}\n\n`),e}_((()=>{F.current=void 0,A.current=void 0,E.current=$}));const U=l.useMemo((()=>l.createElement(e,(0,v.A)({},$,{ref:i}))),[i,e,$]);return l.useMemo((()=>g?l.createElement(o.Provider,{value:b},U):U),[o,U,b])}const h=l.memo(c);if(h.WrappedComponent=e,h.displayName=c.displayName=r,u){const t=l.forwardRef((function(e,t){return l.createElement(h,(0,v.A)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=r,t.WrappedComponent=e,x()(t,e)}return x()(h,e)}},z=function({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",noopCheck:s="once"}){const o=l.useMemo((()=>{const t=k(e);return{store:e,subscription:t,getServerState:n?()=>n:void 0,stabilityCheck:i,noopCheck:s}}),[e,n,i,s]),a=l.useMemo((()=>e.getState()),[e]);_((()=>{const{subscription:t}=o;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a]);const u=t||h;return l.createElement(u.Provider,{value:o},r)};function V(e=h){const t=e===h?f:d(e);return function(){const{store:e}=t();return e}}const W=V();function H(e=h){const t=e===h?W:V(e);return function(){return t().dispatch}}var q,G;q=i.useSyncExternalStoreWithSelector,g=q,(e=>{B=e})(n.useSyncExternalStore),G=s.unstable_batchedUpdates,o=G},55520:(e,t,r)=>{const n=r(29161);t.implementation=class{constructor(e,t,{doNotStripQMark:r=!1}){let i=t[0];if(this._list=[],this._url=null,r||"string"!=typeof i||"?"!==i[0]||(i=i.slice(1)),Array.isArray(i))for(const e of i){if(2!==e.length)throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not contain exactly two elements.");this._list.push([e[0],e[1]])}else if("object"==typeof i&&null===Object.getPrototypeOf(i))for(const e of Object.keys(i)){const t=i[e];this._list.push([e,t])}else this._list=n.parseUrlencodedString(i)}_updateSteps(){if(null!==this._url){let e=n.serializeUrlencoded(this._list);""===e&&(e=null),this._url._url.query=e,null===e&&this._url._potentiallyStripTrailingSpacesFromAnOpaquePath()}}get size(){return this._list.length}append(e,t){this._list.push([e,t]),this._updateSteps()}delete(e,t){let r=0;for(;r<this._list.length;)this._list[r][0]!==e||void 0!==t&&this._list[r][1]!==t?r++:this._list.splice(r,1);this._updateSteps()}get(e){for(const t of this._list)if(t[0]===e)return t[1];return null}getAll(e){const t=[];for(const r of this._list)r[0]===e&&t.push(r[1]);return t}has(e,t){for(const r of this._list)if(r[0]===e&&(void 0===t||r[1]===t))return!0;return!1}set(e,t){let r=!1,n=0;for(;n<this._list.length;)this._list[n][0]===e?r?this._list.splice(n,1):(r=!0,this._list[n][1]=t,n++):n++;r||this._list.push([e,t]),this._updateSteps()}sort(){this._list.sort(((e,t)=>e[0]<t[0]?-1:e[0]>t[0]?1:0)),this._updateSteps()}[Symbol.iterator](){return this._list[Symbol.iterator]()}toString(){return n.serializeUrlencoded(this._list)}}},55930:(e,t,r)=>{const n=r(98999),{ArrayIsArray:i,Promise:s,SymbolAsyncIterator:o,SymbolDispose:a}=r(12450),l=r(42882),{once:u}=r(46108),c=r(28476),p=r(758),{aggregateTwoErrors:h,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:f,ERR_MISSING_ARGS:m,ERR_STREAM_DESTROYED:g,ERR_STREAM_PREMATURE_CLOSE:y},AbortError:b}=r(26503),{validateFunction:v,validateAbortSignal:D}=r(79337),{isIterable:E,isReadable:x,isReadableNodeStream:w,isNodeStream:S,isTransformStream:C,isWebStream:A,isReadableStream:T,isReadableFinished:P}=r(97967),F=globalThis.AbortController||r(64279).AbortController;let I,N,k;function _(e,t,r){let n=!1;return e.on("close",(()=>{n=!0})),{destroy:t=>{n||(n=!0,c.destroyer(e,t||new g("pipe")))},cleanup:l(e,{readable:t,writable:r},(e=>{n=!e}))}}function O(e){if(E(e))return e;if(w(e))return async function*(e){N||(N=r(11444)),yield*N.prototype[o].call(e)}(e);throw new d("val",["Readable","Iterable","AsyncIterable"],e)}async function M(e,t,r,{end:n}){let i,o=null;const a=e=>{if(e&&(i=e),o){const e=o;o=null,e()}},u=()=>new s(((e,t)=>{i?t(i):o=()=>{i?t(i):e()}}));t.on("drain",a);const c=l(t,{readable:!1},a);try{t.writableNeedDrain&&await u();for await(const r of e)t.write(r)||await u();n&&(t.end(),await u()),r()}catch(e){r(i!==e?h(i,e):e)}finally{c(),t.off("drain",a)}}async function L(e,t,r,{end:n}){C(t)&&(t=t.writable);const i=t.getWriter();try{for await(const t of e)await i.ready,i.write(t).catch((()=>{}));await i.ready,n&&await i.close(),r()}catch(e){try{await i.abort(e),r(e)}catch(e){r(e)}}}function B(e,t,s){if(1===e.length&&i(e[0])&&(e=e[0]),e.length<2)throw new m("streams");const o=new F,l=o.signal,u=null==s?void 0:s.signal,c=[];function h(){$(new b)}let g,y,v;D(u,"options.signal"),k=k||r(46108).addAbortListener,u&&(g=k(u,h));const P=[];let N,B=0;function j(e){$(e,0==--B)}function $(e,r){var i;if(!e||y&&"ERR_STREAM_PREMATURE_CLOSE"!==y.code||(y=e),y||r){for(;P.length;)P.shift()(y);null===(i=g)||void 0===i||i[a](),o.abort(),r&&(y||c.forEach((e=>e())),n.nextTick(t,y,v))}}for(let V=0;V<e.length;V++){const W=e[V],H=V<e.length-1,q=V>0,G=H||!1!==(null==s?void 0:s.end),K=V===e.length-1;if(S(W)){if(G){const{destroy:J,cleanup:Y}=_(W,H,q);P.push(J),x(W)&&K&&c.push(Y)}function X(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&j(e)}W.on("error",X),x(W)&&K&&c.push((()=>{W.removeListener("error",X)}))}if(0===V)if("function"==typeof W){if(N=W({signal:l}),!E(N))throw new f("Iterable, AsyncIterable or Stream","source",N)}else N=E(W)||w(W)||C(W)?W:p.from(W);else if("function"==typeof W){var U;if(N=C(N)?O(null===(U=N)||void 0===U?void 0:U.readable):O(N),N=W(N,{signal:l}),H){if(!E(N,!0))throw new f("AsyncIterable",`transform[${V-1}]`,N)}else{var z;I||(I=r(41472));const Z=new I({objectMode:!0}),Q=null===(z=N)||void 0===z?void 0:z.then;if("function"==typeof Q)B++,Q.call(N,(e=>{v=e,null!=e&&Z.write(e),G&&Z.end(),n.nextTick(j)}),(e=>{Z.destroy(e),n.nextTick(j,e)}));else if(E(N,!0))B++,M(N,Z,j,{end:G});else{if(!T(N)&&!C(N))throw new f("AsyncIterable or Promise","destination",N);{const re=N.readable||N;B++,M(re,Z,j,{end:G})}}N=Z;const{destroy:ee,cleanup:te}=_(N,!1,!0);P.push(ee),K&&c.push(te)}}else if(S(W)){if(w(N)){B+=2;const ne=R(N,W,j,{end:G});x(W)&&K&&c.push(ne)}else if(C(N)||T(N)){const ie=N.readable||N;B++,M(ie,W,j,{end:G})}else{if(!E(N))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);B++,M(N,W,j,{end:G})}N=W}else if(A(W)){if(w(N))B++,L(O(N),W,j,{end:G});else if(T(N)||E(N))B++,L(N,W,j,{end:G});else{if(!C(N))throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],N);B++,L(N.readable,W,j,{end:G})}N=W}else N=p.from(W)}return(null!=l&&l.aborted||null!=u&&u.aborted)&&n.nextTick(h),N}function R(e,t,r,{end:i}){let s=!1;if(t.on("close",(()=>{s||r(new y)})),e.pipe(t,{end:!1}),i){function o(){s=!0,t.end()}P(e)?n.nextTick(o):e.once("end",o)}else r();return l(e,{readable:!0,writable:!1},(t=>{const n=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&n&&n.ended&&!n.errored&&!n.errorEmitted?e.once("end",r).once("error",r):r(t)})),l(t,{readable:!1,writable:!0},r)}e.exports={pipelineImpl:B,pipeline:function(...e){return B(e,u(function(e){return v(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}},57094:(e,t,r)=>{r.d(t,{G:()=>o});const n="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),i="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{};class o{constructor(e,t){this.rules=[];let{finish:r}=t||{};function n(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function i(e,t,s,o){let a=[],l=/^@(\w+)\b/.exec(e[0]),u=l&&"keyframes"==l[1];if(l&&null==t)return s.push(e[0]+";");for(let r in t){let o=t[r];if(/&/.test(r))i(r.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),o,s);else if(o&&"object"==typeof o){if(!l)throw new RangeError("The value of a property ("+r+") should be a primitive value.");i(n(r),o,a,u)}else null!=o&&a.push(r.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+o+";")}(a.length||u)&&s.push((!r||l||o?e:e.map(r)).join(", ")+" {"+a.join(" ")+"}")}for(let t in e)i(n(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=s[n]||1;return s[n]=e+1,"ͼ"+e.toString(36)}static mount(e,t,r){let n=e[i],s=r&&r.nonce;n?s&&n.setNonce(s):n=new l(e,s),n.mount(Array.isArray(t)?t:[t],e)}}let a=new Map;class l{constructor(e,t){let r=e.ownerDocument||e,n=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&n.CSSStyleSheet){let t=a.get(r);if(t)return e[i]=t;this.sheet=new n.CSSStyleSheet,a.set(r,this)}else this.styleTag=r.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[i]=this}mount(e,t){let r=this.sheet,n=0,i=0;for(let t=0;t<e.length;t++){let s=e[t],o=this.modules.indexOf(s);if(o<i&&o>-1&&(this.modules.splice(o,1),i--,o=-1),-1==o){if(this.modules.splice(i++,0,s),r)for(let e=0;e<s.rules.length;e++)r.insertRule(s.rules[e],n++)}else{for(;i<o;)n+=this.modules[i++].rules.length;n+=s.rules.length,i++}}if(r)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let r=t.head||t;this.styleTag.parentNode!=r&&r.insertBefore(this.styleTag,r.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}},57148:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(96652),i=r(49657);function s(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=[]),n.Children.toArray(e).reduce((function(e,o,a){return(0,i.isFragment)(o)?e.push.apply(e,s(o.props.children,t+1,r.concat(o.key||a))):(0,n.isValidElement)(o)?e.push((0,n.cloneElement)(o,{key:r.concat(String(o.key)).join(".")})):"string"!=typeof o&&"number"!=typeof o||e.push(o),e}),[])}},57282:function(e){e.exports=function(e,t){var r=t||Math.random,n=(e=Math.max(1,0|Math.floor(e)||1),0),i=-1,s=function(){var e,t=n,i=r(),l=0;if(n<=o){for(t++,e=++a/t;e>i;)l++,t++,e=e*++a/t;return l}return(s=h)()},o=22*e,a=0,l=Math.exp(-Math.log(r())/e),u=null,c=[];c.pushSome=function(){this.length=Math.min(this.length,e);for(var t=0;t<arguments.length;t++)p.call(this,arguments[t]);return this.length};var p=function(t){return n<e?this.push(t):(i<0&&(i=s()),0===i&&function(t,n){var i;null!==u?(i=u,u=null):i=Math.floor(r()*e),n.splice(i,1),n.push(t)}(t,this),i--),n++,this};function h(){for(var t,i,s,o=n-e+1;;){var a=r(),u=n*(l-1),c=Math.floor(u),p=(n+1)/o;p*=p;var h=o+c,d=Math.exp(Math.log(a*p*h/(n+u))/e),f=(n+u)/h*o/n;if(d<=f){l=f/d;break}var m=a*(n+1)/o*(n+c+1)/(n+u);for(e<c?(t=n,s=o+c):(t=n-e+c,s=n+1),i=n+c;i>=s;i--)m=m*i/t,t--;if(l=Math.exp(-Math.log(r())/e),Math.exp(Math.log(m)/e)<=(n+u)/n)break}return c}return c}},57931:(e,t)=>{const r=Function.prototype.call.bind(Object.prototype.hasOwnProperty),n=Symbol("wrapper"),i=Symbol("impl"),s=Symbol("SameObject caches"),o=Symbol.for("[webidl2js] constructor registry"),a=Object.getPrototypeOf(Object.getPrototypeOf((async function*(){})).prototype);function l(e){if(r(e,o))return e[o];const t=Object.create(null);t["%Object.prototype%"]=e.Object.prototype,t["%IteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf((new e.Array)[Symbol.iterator]()));try{t["%AsyncIteratorPrototype%"]=Object.getPrototypeOf(Object.getPrototypeOf(e.eval("(async function* () {})").prototype))}catch{t["%AsyncIteratorPrototype%"]=a}return e[o]=t,t}function u(e){return e?e[n]:null}function c(e){return e?e[i]:null}const p=Symbol("internal"),h=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,d=Symbol("supports property index"),f=Symbol("supported property indices"),m=Symbol("supports property name"),g=Symbol("supported property names"),y=Symbol("indexed property get"),b=Symbol("indexed property set new"),v=Symbol("indexed property set existing"),D=Symbol("named property get"),E=Symbol("named property set new"),x=Symbol("named property set existing"),w=Symbol("named property delete"),S=Symbol("async iterator get the next iteration result"),C=Symbol("async iterator return steps"),A=Symbol("async iterator initialization steps"),T=Symbol("async iterator end of iteration");e.exports={isObject:function(e){return"object"==typeof e&&null!==e||"function"==typeof e},hasOwn:r,define:function(e,t){for(const r of Reflect.ownKeys(t)){const n=Reflect.getOwnPropertyDescriptor(t,r);if(n&&!Reflect.defineProperty(e,r,n))throw new TypeError(`Cannot redefine property: ${String(r)}`)}},newObjectInRealm:function(e,t){const r=l(e);return Object.defineProperties(Object.create(r["%Object.prototype%"]),Object.getOwnPropertyDescriptors(t))},wrapperSymbol:n,implSymbol:i,getSameObject:function(e,t,r){return e[s]||(e[s]=Object.create(null)),t in e[s]||(e[s][t]=r()),e[s][t]},ctorRegistrySymbol:o,initCtorRegistry:l,wrapperForImpl:u,implForWrapper:c,tryWrapperForImpl:function(e){return u(e)||e},tryImplForWrapper:function(e){return c(e)||e},iterInternalSymbol:p,isArrayBuffer:function(e){try{return h.call(e),!0}catch(e){return!1}},isArrayIndexPropName:function(e){if("string"!=typeof e)return!1;const t=e>>>0;return t!==2**32-1&&e===`${t}`},supportsPropertyIndex:d,supportedPropertyIndices:f,supportsPropertyName:m,supportedPropertyNames:g,indexedGet:y,indexedSetNew:b,indexedSetExisting:v,namedGet:D,namedSetNew:E,namedSetExisting:x,namedDelete:w,asyncIteratorNext:S,asyncIteratorReturn:C,asyncIteratorInit:A,asyncIteratorEOI:T,iteratorResult:function([e,t],r){let n;switch(r){case"key":n=e;break;case"value":n=t;break;case"key+value":n=[e,t]}return{value:n,done:!1}}}},58073:(e,t,r)=>{var n=r(52753),i=r(63713),s=Array.prototype.slice,o={strict:"joinStrict",first:"joinLeading",last:"joinTrailing",all:"joinConcat"};function a(e){e.listenablesEmitted=new Array(e.numberOfListenables),e.args=new Array(e.numberOfListenables)}function l(e,t){return function(){var r=s.call(arguments);if(t.listenablesEmitted[e])switch(t.strategy){case"strict":throw new Error("Strict join failed because listener triggered twice.");case"last":t.args[e]=r;break;case"all":t.args[e].push(r)}else t.listenablesEmitted[e]=!0,t.args[e]="all"===t.strategy?[r]:r;!function(e){for(var t=0;t<e.numberOfListenables;t++)if(!e.listenablesEmitted[t])return;e.callback.apply(e.listener,e.args),a(e)}(t)}}t.T=function(e){return function(){var t=s.call(arguments);return n({init:function(){this[o[e]].apply(this,t.concat("triggerAsync"))}})}},t.Y=function(e){return function(){i.throwIf(arguments.length<2,"Cannot create a join with less than 2 listenables!");var t,r,n=s.call(arguments),o=n.pop(),u=n.length,c={numberOfListenables:u,callback:this[o]||o,listener:this,strategy:e},p=[];for(t=0;t<u;t++)i.throwIf(this.validateListening(n[t]));for(t=0;t<u;t++)p.push(n[t].listen(l(t,c),this));return a(c),(r={listenable:n}).stop=function(e,t,r){return function(){var n,s=r.subscriptions,o=s?s.indexOf(e):-1;for(i.throwIf(-1===o,"Tried to remove join already gone from subscriptions list!"),n=0;n<t.length;n++)t[n]();s.splice(o,1)}}(r,p,this),this.subscriptions=(this.subscriptions||[]).concat(r),r}}},58407:(e,t,r)=>{var n=r(25003),i=r(38049),s=r(79696).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function l(){this.init(),this._w=a,i.call(this,64,56)}function u(e){return e<<30|e>>>2}function c(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,p=0;p<16;++p)r[p]=e.readInt32BE(4*p);for(;p<80;++p)r[p]=r[p-3]^r[p-8]^r[p-14]^r[p-16];for(var h=0;h<80;++h){var d=~~(h/20),f=0|((t=n)<<5|t>>>27)+c(d,i,s,a)+l+r[h]+o[d];l=a,a=s,s=u(i),i=n,n=f}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},58695:(e,t,r)=>{e.exports=r(39628)},59417:(e,t,r)=>{const n=r(10659),i=r(57931),s=r(14896),o=i.newObjectInRealm,a=i.implSymbol,l=i.ctorRegistrySymbol,u="URLSearchParams";function c(e,t){let r;return void 0!==t&&(r=t.prototype),i.isObject(r)||(r=e[l].URLSearchParams.prototype),Object.create(r)}t.is=e=>i.isObject(e)&&i.hasOwn(e,a)&&e[a]instanceof h.implementation,t.isImpl=e=>i.isObject(e)&&e instanceof h.implementation,t.convert=(e,r,{context:n="The provided value"}={})=>{if(t.is(r))return i.implForWrapper(r);throw new e.TypeError(`${n} is not of type 'URLSearchParams'.`)},t.createDefaultIterator=(e,t,r)=>{const n=e[l]["URLSearchParams Iterator"],s=Object.create(n);return Object.defineProperty(s,i.iterInternalSymbol,{value:{target:t,kind:r,index:0},configurable:!0}),s},t.create=(e,r,n)=>{const i=c(e);return t.setup(i,e,r,n)},t.createImpl=(e,r,n)=>{const s=t.create(e,r,n);return i.implForWrapper(s)},t._internalSetup=(e,t)=>{},t.setup=(e,r,n=[],s={})=>(s.wrapper=e,t._internalSetup(e,r),Object.defineProperty(e,a,{value:new h.implementation(r,n,s),configurable:!0}),e[a][i.wrapperSymbol]=e,h.init&&h.init(e[a]),e),t.new=(e,r)=>{const n=c(e,r);return t._internalSetup(n,e),Object.defineProperty(n,a,{value:Object.create(h.implementation.prototype),configurable:!0}),n[a][i.wrapperSymbol]=n,h.init&&h.init(n[a]),n[a]};const p=new Set(["Window","Worker"]);t.install=(e,r)=>{if(!r.some((e=>p.has(e))))return;const l=i.initCtorRegistry(e);class c{constructor(){const r=[];{let t=arguments[0];if(void 0!==t)if(i.isObject(t))if(void 0!==t[Symbol.iterator]){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence is not an iterable object.");{const r=[],s=t;for(let t of s){if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object.");{const r=[],i=t;for(let t of i)t=n.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1 sequence's element's element",globals:e}),r.push(t);t=r}r.push(t)}t=r}}else{if(!i.isObject(t))throw new e.TypeError("Failed to construct 'URLSearchParams': parameter 1 record is not an object.");{const r=Object.create(null);for(const i of Reflect.ownKeys(t)){const s=Object.getOwnPropertyDescriptor(t,i);if(s&&s.enumerable){let s=i;s=n.USVString(s,{context:"Failed to construct 'URLSearchParams': parameter 1 record's key",globals:e});let o=t[i];o=n.USVString(o,{context:"Failed to construct 'URLSearchParams': parameter 1 record's value",globals:e}),r[s]=o}}t=r}}else t=n.USVString(t,{context:"Failed to construct 'URLSearchParams': parameter 1",globals:e});else t="";r.push(t)}return t.setup(Object.create(new.target.prototype),e,r)}append(r,s){const o=null!=this?this:e;if(!t.is(o))throw new e.TypeError("'append' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError(`Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const l=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1",globals:e}),l.push(t)}{let t=arguments[1];t=n.USVString(t,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2",globals:e}),l.push(t)}return i.tryWrapperForImpl(o[a].append(...l))}delete(r){const s=null!=this?this:e;if(!t.is(s))throw new e.TypeError("'delete' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const o=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 2",globals:e})),o.push(t)}return i.tryWrapperForImpl(s[a].delete(...o))}get(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'get' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const s=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1",globals:e}),s.push(t)}return i[a].get(...s)}getAll(r){const s=null!=this?this:e;if(!t.is(s))throw new e.TypeError("'getAll' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const o=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1",globals:e}),o.push(t)}return i.tryWrapperForImpl(s[a].getAll(...o))}has(r){const i=null!=this?this:e;if(!t.is(i))throw new e.TypeError("'has' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError(`Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`);const s=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1",globals:e}),s.push(t)}{let t=arguments[1];void 0!==t&&(t=n.USVString(t,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 2",globals:e})),s.push(t)}return i[a].has(...s)}set(r,s){const o=null!=this?this:e;if(!t.is(o))throw new e.TypeError("'set' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<2)throw new e.TypeError(`Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only ${arguments.length} present.`);const l=[];{let t=arguments[0];t=n.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1",globals:e}),l.push(t)}{let t=arguments[1];t=n.USVString(t,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2",globals:e}),l.push(t)}return i.tryWrapperForImpl(o[a].set(...l))}sort(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'sort' called on an object that is not a valid instance of URLSearchParams.");return i.tryWrapperForImpl(r[a].sort())}toString(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'toString' called on an object that is not a valid instance of URLSearchParams.");return r[a].toString()}keys(){if(!t.is(this))throw new e.TypeError("'keys' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key")}values(){if(!t.is(this))throw new e.TypeError("'values' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"value")}entries(){if(!t.is(this))throw new e.TypeError("'entries' called on an object that is not a valid instance of URLSearchParams.");return t.createDefaultIterator(e,this,"key+value")}forEach(r){if(!t.is(this))throw new e.TypeError("'forEach' called on an object that is not a valid instance of URLSearchParams.");if(arguments.length<1)throw new e.TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, but only 0 present.");r=s.convert(e,r,{context:"Failed to execute 'forEach' on 'iterable': The callback provided as parameter 1"});const n=arguments[1];let o=Array.from(this[a]),l=0;for(;l<o.length;){const[e,t]=o[l].map(i.tryWrapperForImpl);r.call(n,t,e,this),o=Array.from(this[a]),l++}}get size(){const r=null!=this?this:e;if(!t.is(r))throw new e.TypeError("'get size' called on an object that is not a valid instance of URLSearchParams.");return r[a].size}}Object.defineProperties(c.prototype,{append:{enumerable:!0},delete:{enumerable:!0},get:{enumerable:!0},getAll:{enumerable:!0},has:{enumerable:!0},set:{enumerable:!0},sort:{enumerable:!0},toString:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0},forEach:{enumerable:!0},size:{enumerable:!0},[Symbol.toStringTag]:{value:"URLSearchParams",configurable:!0},[Symbol.iterator]:{value:c.prototype.entries,configurable:!0,writable:!0}}),l[u]=c,l["URLSearchParams Iterator"]=Object.create(l["%IteratorPrototype%"],{[Symbol.toStringTag]:{configurable:!0,value:"URLSearchParams Iterator"}}),i.define(l["URLSearchParams Iterator"],{next(){const t=this&&this[i.iterInternalSymbol];if(!t)throw new e.TypeError("next() called on a value that is not a URLSearchParams iterator object");const{target:r,kind:n,index:s}=t,l=Array.from(r[a]);if(s>=l.length)return o(e,{value:void 0,done:!0});const u=l[s];return t.index=s+1,o(e,i.iteratorResult(u.map(i.tryWrapperForImpl),n))}}),Object.defineProperty(e,u,{configurable:!0,writable:!0,value:c})};const h=r(55520)},59827:(e,t,r)=>{const n=r(66089),i=r(92248);e.exports=(e,t,r)=>{let s=null,o=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==o.compare(e)||(s=e,o=new n(s,r)))})),s}},60494:(e,t,r)=>{const n=r(28783),i=r(29161),s=r(59417);t.implementation=class{constructor(e,t){const r=t[0],i=t[1];let o=null;if(void 0!==i&&(o=n.basicURLParse(i),null===o))throw new TypeError(`Invalid base URL: ${i}`);const a=n.basicURLParse(r,{baseURL:o});if(null===a)throw new TypeError(`Invalid URL: ${r}`);const l=null!==a.query?a.query:"";this._url=a,this._query=s.createImpl(e,[l],{doNotStripQMark:!0}),this._query._url=this}static canParse(e,t){let r=null;return(void 0===t||(r=n.basicURLParse(t),null!==r))&&null!==n.basicURLParse(e,{baseURL:r})}get href(){return n.serializeURL(this._url)}set href(e){const t=n.basicURLParse(e);if(null===t)throw new TypeError(`Invalid URL: ${e}`);this._url=t,this._query._list.splice(0);const{query:r}=t;null!==r&&(this._query._list=i.parseUrlencodedString(r))}get origin(){return n.serializeURLOrigin(this._url)}get protocol(){return`${this._url.scheme}:`}set protocol(e){n.basicURLParse(`${e}:`,{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?n.serializeHost(e.host):`${n.serializeHost(e.host)}:${n.serializeInteger(e.port)}`}set host(e){n.hasAnOpaquePath(this._url)||n.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":n.serializeHost(this._url.host)}set hostname(e){n.hasAnOpaquePath(this._url)||n.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":n.serializeInteger(this._url.port)}set port(e){n.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:n.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return n.serializePath(this._url)}set pathname(e){n.hasAnOpaquePath(this._url)||(this._url.path=[],n.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":`?${this._url.query}`}set search(e){const t=this._url;if(""===e)return t.query=null,this._query._list=[],void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const r="?"===e[0]?e.substring(1):e;t.query="",n.basicURLParse(r,{url:t,stateOverride:"query"}),this._query._list=i.parseUrlencodedString(r)}get searchParams(){return this._query}get hash(){return null===this._url.fragment||""===this._url.fragment?"":`#${this._url.fragment}`}set hash(e){if(""===e)return this._url.fragment=null,void this._potentiallyStripTrailingSpacesFromAnOpaquePath();const t="#"===e[0]?e.substring(1):e;this._url.fragment="",n.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}_potentiallyStripTrailingSpacesFromAnOpaquePath(){n.hasAnOpaquePath(this._url)&&null===this._url.fragment&&null===this._url.query&&(this._url.path=this._url.path.replace(/\u0020+$/u,""))}}},60558:(e,t,r)=>{const n=r(98999),i=r(67787),{isReadable:s,isWritable:o,isIterable:a,isNodeStream:l,isReadableNodeStream:u,isWritableNodeStream:c,isDuplexNodeStream:p,isReadableStream:h,isWritableStream:d}=r(97967),f=r(42882),{AbortError:m,codes:{ERR_INVALID_ARG_TYPE:g,ERR_INVALID_RETURN_VALUE:y}}=r(26503),{destroyer:b}=r(28476),v=r(758),D=r(11444),E=r(12244),{createDeferredPromise:x}=r(46108),w=r(79112),S=globalThis.Blob||i.Blob,C=void 0!==S?function(e){return e instanceof S}:function(e){return!1},A=globalThis.AbortController||r(64279).AbortController,{FunctionPrototypeCall:T}=r(12450);class P extends v{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}}function F(e){const t=e.readable&&"function"!=typeof e.readable.read?D.wrap(e.readable):e.readable,r=e.writable;let n,i,a,l,u,c=!!s(t),p=!!o(r);function h(e){const t=l;l=null,t?t(e):e&&u.destroy(e)}return u=new P({readableObjectMode:!(null==t||!t.readableObjectMode),writableObjectMode:!(null==r||!r.writableObjectMode),readable:c,writable:p}),p&&(f(r,(e=>{p=!1,e&&b(t,e),h(e)})),u._write=function(e,t,i){r.write(e,t)?i():n=i},u._final=function(e){r.end(),i=e},r.on("drain",(function(){if(n){const e=n;n=null,e()}})),r.on("finish",(function(){if(i){const e=i;i=null,e()}}))),c&&(f(t,(e=>{c=!1,e&&b(t,e),h(e)})),t.on("readable",(function(){if(a){const e=a;a=null,e()}})),t.on("end",(function(){u.push(null)})),u._read=function(){for(;;){const e=t.read();if(null===e)return void(a=u._read);if(!u.push(e))return}}),u._destroy=function(e,s){e||null===l||(e=new m),a=null,n=null,i=null,null===l?s(e):(l=s,b(r,e),b(t,e))},u}e.exports=function e(t,r){if(p(t))return t;if(u(t))return F({readable:t});if(c(t))return F({writable:t});if(l(t))return F({writable:!1,readable:!1});if(h(t))return F({readable:D.fromWeb(t)});if(d(t))return F({writable:E.fromWeb(t)});if("function"==typeof t){const{value:e,write:i,final:s,destroy:o}=function(e){let{promise:t,resolve:r}=x();const i=new A,s=i.signal;return{value:e(async function*(){for(;;){const e=t;t=null;const{chunk:i,done:o,cb:a}=await e;if(n.nextTick(a),o)return;if(s.aborted)throw new m(void 0,{cause:s.reason});({promise:t,resolve:r}=x()),yield i}}(),{signal:s}),write(e,t,n){const i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){const t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(a(e))return w(P,e,{objectMode:!0,write:i,final:s,destroy:o});const l=null==e?void 0:e.then;if("function"==typeof l){let t;const r=T(l,e,(e=>{if(null!=e)throw new y("nully","body",e)}),(e=>{b(t,e)}));return t=new P({objectMode:!0,readable:!1,write:i,final(e){s((async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}}))},destroy:o})}throw new y("Iterable, AsyncIterable or AsyncFunction",r,e)}if(C(t))return e(t.arrayBuffer());if(a(t))return w(P,t,{objectMode:!0,writable:!1});if(h(null==t?void 0:t.readable)&&d(null==t?void 0:t.writable))return P.fromWeb(t);if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable))return F({readable:null!=t&&t.readable?u(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0});const i=null==t?void 0:t.then;if("function"==typeof i){let e;return T(i,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{b(e,t)})),e=new P({objectMode:!0,writable:!1,read(){}})}throw new g(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}},61255:e=>{e.exports={}},61603:(e,t,r)=>{r.r(t),r.d(t,{focusable:()=>v,isFocusable:()=>x,isTabbable:()=>D,tabbable:()=>b});var n=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],i=n.join(","),s="undefined"==typeof Element,o=s?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,a=!s&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},l=function(e,t,r){var n=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&o.call(e,i)&&n.unshift(e),n.filter(r)},u=function e(t,r,n){for(var s=[],a=Array.from(t);a.length;){var l=a.shift();if("SLOT"===l.tagName){var u=l.assignedElements(),c=e(u.length?u:l.children,!0,n);n.flatten?s.push.apply(s,c):s.push({scope:l,candidates:c})}else{o.call(l,i)&&n.filter(l)&&(r||!t.includes(l))&&s.push(l);var p=l.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(l),h=!n.shadowRootFilter||n.shadowRootFilter(l);if(p&&h){var d=e(!0===p?l.children:p.children,!0,n);n.flatten?s.push.apply(s,d):s.push({scope:l,candidates:d})}else a.unshift.apply(a,l.children)}}return s},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},p=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},h=function(e){return"INPUT"===e.tagName},d=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},f=function(e,t){return!(t.disabled||function(e){return h(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=o.call(e,"details>summary:first-of-type")?e.parentElement:e;if(o.call(i,"details:not([open]) *"))return!0;var s=a(e).host,l=(null==s?void 0:s.ownerDocument.contains(s))||e.ownerDocument.contains(e);if(r&&"full"!==r){if("non-zero-area"===r)return d(e)}else{if("function"==typeof n){for(var u=e;e;){var c=e.parentElement,p=a(e);if(c&&!c.shadowRoot&&!0===n(c))return d(e);e=e.assignedSlot?e.assignedSlot:c||p===e.ownerDocument?c:p.host}e=u}if(l)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!o.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(function(e){return function(e){return h(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||a(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!i||i===e}(e)}(t)||c(t)<0||!f(e,t))},g=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},y=function e(t){var r=[],n=[];return t.forEach((function(t,i){var s=!!t.scope,o=s?t.scope:t,a=c(o,s),l=s?e(t.candidates):o;0===a?s?r.push.apply(r,l):r.push(o):n.push({documentOrder:i,tabIndex:a,item:t,isScope:s,content:l})})),n.sort(p).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},b=function(e,t){var r;return r=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:g}):l(e,t.includeContainer,m.bind(null,t)),y(r)},v=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:f.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,f.bind(null,t))},D=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==o.call(e,i)&&m(t,e)},E=n.concat("iframe").join(","),x=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==o.call(e,E)&&f(t,e)}},62189:(e,t,r)=>{r.d(t,{IO:()=>p,LU:()=>l,MS:()=>n,Sv:()=>c,XZ:()=>a,YK:()=>o,j:()=>s,vd:()=>i,yE:()=>u});var n="-ms-",i="-moz-",s="-webkit-",o="comm",a="rule",l="decl",u="@import",c="@keyframes",p="@layer"},62537:e=>{var t=Array.isArray,r=Object.keys,n=Object.prototype.hasOwnProperty;e.exports=function e(i,s){if(i===s)return!0;if(i&&s&&"object"==typeof i&&"object"==typeof s){var o,a,l,u=t(i),c=t(s);if(u&&c){if((a=i.length)!=s.length)return!1;for(o=a;0!=o--;)if(!e(i[o],s[o]))return!1;return!0}if(u!=c)return!1;var p=i instanceof Date,h=s instanceof Date;if(p!=h)return!1;if(p&&h)return i.getTime()==s.getTime();var d=i instanceof RegExp,f=s instanceof RegExp;if(d!=f)return!1;if(d&&f)return i.toString()==s.toString();var m=r(i);if((a=m.length)!==r(s).length)return!1;for(o=a;0!=o--;)if(!n.call(s,m[o]))return!1;for(o=a;0!=o--;)if(!e(i[l=m[o]],s[l]))return!1;return!0}return i!=i&&s!=s}},62591:(e,t,r)=>{function n(e,t){return"function"==typeof e?e(t):e}function i(e,t){return r=>{t.setState((t=>({...t,[e]:n(r,t[e])})))}}function s(e){return e instanceof Function}function o(e,t,r){let n,i=[];return s=>{let o;r.key&&r.debug&&(o=Date.now());const a=e(s);if(a.length===i.length&&!a.some(((e,t)=>i[t]!==e)))return n;let l;if(i=a,r.key&&r.debug&&(l=Date.now()),n=t(...a),null==r||null==r.onChange||r.onChange(n),r.key&&r.debug&&null!=r&&r.debug()){const e=Math.round(100*(Date.now()-o))/100,t=Math.round(100*(Date.now()-l))/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return n}}function a(e,t,r,n){return{debug:()=>{var r;return null!=(r=null==e?void 0:e.debugAll)?r:e[t]},key:!1,onChange:n}}r.d(t,{D0:()=>X,HT:()=>K,ZR:()=>G,h5:()=>Q,hM:()=>Y,kW:()=>Z});const l="debugHeaders";function u(e,t,r){var n;let i={id:null!=(n=r.id)?n:t.id,column:t,index:r.index,isPlaceholder:!!r.isPlaceholder,placeholderId:r.placeholderId,depth:r.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=r=>{r.subHeaders&&r.subHeaders.length&&r.subHeaders.map(t),e.push(r)};return t(i),e},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(i,e)})),i}const c={createTable:e=>{e.getHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,r,n,i)=>{var s,o;const a=null!=(s=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?s:[],l=null!=(o=null==i?void 0:i.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?o:[];return p(t,[...a,...r.filter((e=>!(null!=n&&n.includes(e.id)||null!=i&&i.includes(e.id)))),...l],e)}),a(e.options,l)),e.getCenterHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,r,n,i)=>p(t,r=r.filter((e=>!(null!=n&&n.includes(e.id)||null!=i&&i.includes(e.id)))),e,"center")),a(e.options,l)),e.getLeftHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,r,n)=>{var i;return p(t,null!=(i=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"left")}),a(e.options,l)),e.getRightHeaderGroups=o((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,r,n)=>{var i;return p(t,null!=(i=null==n?void 0:n.map((e=>r.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"right")}),a(e.options,l)),e.getFooterGroups=o((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),a(e.options,l)),e.getLeftFooterGroups=o((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),a(e.options,l)),e.getCenterFooterGroups=o((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),a(e.options,l)),e.getRightFooterGroups=o((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),a(e.options,l)),e.getFlatHeaders=o((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,l)),e.getLeftFlatHeaders=o((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,l)),e.getCenterFlatHeaders=o((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,l)),e.getRightFlatHeaders=o((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),a(e.options,l)),e.getCenterLeafHeaders=o((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,l)),e.getLeftLeafHeaders=o((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,l)),e.getRightLeafHeaders=o((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),a(e.options,l)),e.getLeafHeaders=o((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,r)=>{var n,i,s,o,a,l;return[...null!=(n=null==(i=e[0])?void 0:i.headers)?n:[],...null!=(s=null==(o=t[0])?void 0:o.headers)?s:[],...null!=(a=null==(l=r[0])?void 0:l.headers)?a:[]].map((e=>e.getLeafHeaders())).flat()}),a(e.options,l))}};function p(e,t,r,n){var i,s;let o=0;const a=function(e,t){void 0===t&&(t=1),o=Math.max(o,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var r;null!=(r=e.columns)&&r.length&&a(e.columns,t+1)}),0)};a(e);let l=[];const c=(e,t)=>{const i={depth:t,id:[n,`${t}`].filter(Boolean).join("_"),headers:[]},s=[];e.forEach((e=>{const o=[...s].reverse()[0];let a,l=!1;if(e.column.depth===i.depth&&e.column.parent?a=e.column.parent:(a=e.column,l=!0),o&&(null==o?void 0:o.column)===a)o.subHeaders.push(e);else{const i=u(r,a,{id:[n,t,a.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:l,placeholderId:l?`${s.filter((e=>e.column===a)).length}`:void 0,depth:t,index:s.length});i.subHeaders.push(e),s.push(i)}i.headers.push(e),e.headerGroup=i})),l.push(i),t>0&&c(s,t-1)},p=t.map(((e,t)=>u(r,e,{depth:o,index:t})));c(p,o-1),l.reverse();const h=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,r=0,n=[0];return e.subHeaders&&e.subHeaders.length?(n=[],h(e.subHeaders).forEach((e=>{let{colSpan:r,rowSpan:i}=e;t+=r,n.push(i)}))):t=1,r+=Math.min(...n),e.colSpan=t,e.rowSpan=r,{colSpan:t,rowSpan:r}}));return h(null!=(i=null==(s=l[0])?void 0:s.headers)?i:[]),l}const h=(e,t,r,n,i,s,l)=>{let u={id:t,index:n,original:r,depth:i,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(u._valuesCache.hasOwnProperty(t))return u._valuesCache[t];const r=e.getColumn(t);return null!=r&&r.accessorFn?(u._valuesCache[t]=r.accessorFn(u.original,n),u._valuesCache[t]):void 0},getUniqueValues:t=>{if(u._uniqueValuesCache.hasOwnProperty(t))return u._uniqueValuesCache[t];const r=e.getColumn(t);return null!=r&&r.accessorFn?r.columnDef.getUniqueValues?(u._uniqueValuesCache[t]=r.columnDef.getUniqueValues(u.original,n),u._uniqueValuesCache[t]):(u._uniqueValuesCache[t]=[u.getValue(t)],u._uniqueValuesCache[t]):void 0},renderValue:t=>{var r;return null!=(r=u.getValue(t))?r:e.options.renderFallbackValue},subRows:null!=s?s:[],getLeafRows:()=>function(e,t){const r=[],n=e=>{e.forEach((e=>{r.push(e);const i=t(e);null!=i&&i.length&&n(i)}))};return n(e),r}(u.subRows,(e=>e.subRows)),getParentRow:()=>u.parentId?e.getRow(u.parentId,!0):void 0,getParentRows:()=>{let e=[],t=u;for(;;){const r=t.getParentRow();if(!r)break;e.push(r),t=r}return e.reverse()},getAllCells:o((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,r,n){const i={id:`${t.id}_${r.id}`,row:t,column:r,getValue:()=>t.getValue(n),renderValue:()=>{var t;return null!=(t=i.getValue())?t:e.options.renderFallbackValue},getContext:o((()=>[e,r,t,i]),((e,t,r,n)=>({table:e,column:t,row:r,cell:n,getValue:n.getValue,renderValue:n.renderValue})),a(e.options,"debugCells"))};return e._features.forEach((n=>{null==n.createCell||n.createCell(i,r,t,e)}),{}),i}(e,u,t,t.id)))),a(e.options,"debugRows")),_getAllCellsByColumnId:o((()=>[u.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),a(e.options,"debugRows"))};for(let t=0;t<e._features.length;t++){const r=e._features[t];null==r||null==r.createRow||r.createRow(u,e)}return u},d={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},f=(e,t,r)=>{var n,i;const s=null==r||null==(n=r.toString())?void 0:n.toLowerCase();return Boolean(null==(i=e.getValue(t))||null==(i=i.toString())||null==(i=i.toLowerCase())?void 0:i.includes(s))};f.autoRemove=e=>S(e);const m=(e,t,r)=>{var n;return Boolean(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.includes(r))};m.autoRemove=e=>S(e);const g=(e,t,r)=>{var n;return(null==(n=e.getValue(t))||null==(n=n.toString())?void 0:n.toLowerCase())===(null==r?void 0:r.toLowerCase())};g.autoRemove=e=>S(e);const y=(e,t,r)=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)};y.autoRemove=e=>S(e);const b=(e,t,r)=>!r.some((r=>{var n;return!(null!=(n=e.getValue(t))&&n.includes(r))}));b.autoRemove=e=>S(e)||!(null!=e&&e.length);const v=(e,t,r)=>r.some((r=>{var n;return null==(n=e.getValue(t))?void 0:n.includes(r)}));v.autoRemove=e=>S(e)||!(null!=e&&e.length);const D=(e,t,r)=>e.getValue(t)===r;D.autoRemove=e=>S(e);const E=(e,t,r)=>e.getValue(t)==r;E.autoRemove=e=>S(e);const x=(e,t,r)=>{let[n,i]=r;const s=e.getValue(t);return s>=n&&s<=i};x.resolveFilterValue=e=>{let[t,r]=e,n="number"!=typeof t?parseFloat(t):t,i="number"!=typeof r?parseFloat(r):r,s=null===t||Number.isNaN(n)?-1/0:n,o=null===r||Number.isNaN(i)?1/0:i;if(s>o){const e=s;s=o,o=e}return[s,o]},x.autoRemove=e=>S(e)||S(e[0])&&S(e[1]);const w={includesString:f,includesStringSensitive:m,equalsString:g,arrIncludes:y,arrIncludesAll:b,arrIncludesSome:v,equals:D,weakEquals:E,inNumberRange:x};function S(e){return null==e||""===e}const C={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:i("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"string"==typeof n?w.includesString:"number"==typeof n?w.inNumberRange:"boolean"==typeof n||null!==n&&"object"==typeof n?w.equals:Array.isArray(n)?w.arrIncludes:w.weakEquals},e.getFilterFn=()=>{var r,n;return s(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(r=null==(n=t.options.filterFns)?void 0:n[e.columnDef.filterFn])?r:w[e.columnDef.filterFn]},e.getCanFilter=()=>{var r,n,i;return(null==(r=e.columnDef.enableColumnFilter)||r)&&(null==(n=t.options.enableColumnFilters)||n)&&(null==(i=t.options.enableFilters)||i)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var r;return null==(r=t.getState().columnFilters)||null==(r=r.find((t=>t.id===e.id)))?void 0:r.value},e.getFilterIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().columnFilters)?void 0:n.findIndex((t=>t.id===e.id)))?r:-1},e.setFilterValue=r=>{t.setColumnFilters((t=>{const i=e.getFilterFn(),s=null==t?void 0:t.find((t=>t.id===e.id)),o=n(r,s?s.value:void 0);var a;if(A(i,o,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const l={id:e.id,value:o};var u;return s?null!=(u=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?u:[]:null!=t&&t.length?[...t,l]:[l]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const r=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var i;return null==(i=n(t,e))?void 0:i.filter((e=>{const t=r.find((t=>t.id===e.id));return!t||!A(t.getFilterFn(),e.value,t)}))}))},e.resetColumnFilters=t=>{var r,n;e.setColumnFilters(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.columnFilters)?r:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function A(e,t,r){return!(!e||!e.autoRemove)&&e.autoRemove(t,r)||void 0===t||"string"==typeof t&&!t}const T={sum:(e,t,r)=>r.reduce(((t,r)=>{const n=r.getValue(e);return t+("number"==typeof n?n:0)}),0),min:(e,t,r)=>{let n;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(n>r||void 0===n&&r>=r)&&(n=r)})),n},max:(e,t,r)=>{let n;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(n<r||void 0===n&&r>=r)&&(n=r)})),n},extent:(e,t,r)=>{let n,i;return r.forEach((t=>{const r=t.getValue(e);null!=r&&(void 0===n?r>=r&&(n=i=r):(n>r&&(n=r),i<r&&(i=r)))})),[n,i]},mean:(e,t)=>{let r=0,n=0;if(t.forEach((t=>{let i=t.getValue(e);null!=i&&(i=+i)>=i&&(++r,n+=i)})),r)return n/r},median:(e,t)=>{if(!t.length)return;const r=t.map((t=>t.getValue(e)));if(n=r,!Array.isArray(n)||!n.every((e=>"number"==typeof e)))return;var n;if(1===r.length)return r[0];const i=Math.floor(r.length/2),s=r.sort(((e,t)=>e-t));return r.length%2!=0?s[i]:(s[i-1]+s[i])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},P={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,r;return null!=(t=null==(r=e.getValue())||null==r.toString?void 0:r.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:i("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var r,n;return(null==(r=e.columnDef.enableGrouping)||r)&&(null==(n=t.options.enableGrouping)||n)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.includes(e.id)},e.getGroupedIndex=()=>{var r;return null==(r=t.getState().grouping)?void 0:r.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const r=t.getCoreRowModel().flatRows[0],n=null==r?void 0:r.getValue(e.id);return"number"==typeof n?T.sum:"[object Date]"===Object.prototype.toString.call(n)?T.extent:void 0},e.getAggregationFn=()=>{var r,n;if(!e)throw new Error;return s(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(r=null==(n=t.options.aggregationFns)?void 0:n[e.columnDef.aggregationFn])?r:T[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var r,n;e.setGrouping(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.grouping)?r:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=r=>{if(e._groupingValuesCache.hasOwnProperty(r))return e._groupingValuesCache[r];const n=t.getColumn(r);return null!=n&&n.columnDef.getGroupingValue?(e._groupingValuesCache[r]=n.columnDef.getGroupingValue(e.original),e._groupingValuesCache[r]):e.getValue(r)},e._groupingValuesCache={}},createCell:(e,t,r,n)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===r.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=r.subRows)||!t.length)}}},F={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:i("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=o((e=>[M(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),a(t.options,"debugColumns")),e.getIsFirstColumn=r=>{var n;return(null==(n=M(t,r)[0])?void 0:n.id)===e.id},e.getIsLastColumn=r=>{var n;const i=M(t,r);return(null==(n=i[i.length-1])?void 0:n.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var r;e.setColumnOrder(t?[]:null!=(r=e.initialState.columnOrder)?r:[])},e._getOrderColumnsFn=o((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,r)=>n=>{let i=[];if(null!=e&&e.length){const t=[...e],r=[...n];for(;r.length&&t.length;){const e=t.shift(),n=r.findIndex((t=>t.id===e));n>-1&&i.push(r.splice(n,1)[0])}i=[...i,...r]}else i=n;return function(e,t,r){if(null==t||!t.length||!r)return e;const n=e.filter((e=>!t.includes(e.id)));return"remove"===r?n:[...t.map((t=>e.find((e=>e.id===t)))).filter(Boolean),...n]}(i,t,r)}),a(e.options,"debugTable"))}},I={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:i("columnPinning",e)}),createColumn:(e,t)=>{e.pin=r=>{const n=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,i,s,o,a,l;return"right"===r?{left:(null!=(s=null==e?void 0:e.left)?s:[]).filter((e=>!(null!=n&&n.includes(e)))),right:[...(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=n&&n.includes(e)))),...n]}:"left"===r?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=n&&n.includes(e)))),...n],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter((e=>!(null!=n&&n.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=n&&n.includes(e)))),right:(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=n&&n.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var r,n,i;return(null==(r=e.columnDef.enablePinning)||r)&&(null==(n=null!=(i=t.options.enableColumnPinning)?i:t.options.enablePinning)||n)})),e.getIsPinned=()=>{const r=e.getLeafColumns().map((e=>e.id)),{left:n,right:i}=t.getState().columnPinning,s=r.some((e=>null==n?void 0:n.includes(e))),o=r.some((e=>null==i?void 0:i.includes(e)));return s?"left":!!o&&"right"},e.getPinnedIndex=()=>{var r,n;const i=e.getIsPinned();return i?null!=(r=null==(n=t.getState().columnPinning)||null==(n=n[i])?void 0:n.indexOf(e.id))?r:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,r)=>{const n=[...null!=t?t:[],...null!=r?r:[]];return e.filter((e=>!n.includes(e.column.id)))}),a(t.options,"debugRows")),e.getLeftVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),a(t.options,"debugRows")),e.getRightVisibleCells=o((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),a(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var r,n;return e.setColumnPinning(t?{left:[],right:[]}:null!=(r=null==(n=e.initialState)?void 0:n.columnPinning)?r:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var r;const n=e.getState().columnPinning;var i,s;return t?Boolean(null==(r=n[t])?void 0:r.length):Boolean((null==(i=n.left)?void 0:i.length)||(null==(s=n.right)?void 0:s.length))},e.getLeftLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),a(e.options,"debugColumns")),e.getRightLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),a(e.options,"debugColumns")),e.getCenterLeafColumns=o((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,r)=>{const n=[...null!=t?t:[],...null!=r?r:[]];return e.filter((e=>!n.includes(e.id)))}),a(e.options,"debugColumns"))}},N={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},k={getDefaultColumnDef:()=>N,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:i("columnSizing",e),onColumnSizingInfoChange:i("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var r,n,i;const s=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(r=e.columnDef.minSize)?r:N.minSize,null!=(n=null!=s?s:e.columnDef.size)?n:N.size),null!=(i=e.columnDef.maxSize)?i:N.maxSize)},e.getStart=o((e=>[e,M(t,e),t.getState().columnSizing]),((t,r)=>r.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),a(t.options,"debugColumns")),e.getAfter=o((e=>[e,M(t,e),t.getState().columnSizing]),((t,r)=>r.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),a(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:r,...n}=t;return n}))},e.getCanResize=()=>{var r,n;return(null==(r=e.columnDef.enableResizing)||r)&&(null==(n=t.options.enableColumnResizing)||n)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const r=e=>{var n;e.subHeaders.length?e.subHeaders.forEach(r):t+=null!=(n=e.column.getSize())?n:0};return r(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=r=>{const n=t.getColumn(e.column.id),i=null==n?void 0:n.getCanResize();return s=>{if(!n||!i)return;if(null==s.persist||s.persist(),O(s)&&s.touches&&s.touches.length>1)return;const o=e.getSize(),a=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[n.id,n.getSize()]],l=O(s)?Math.round(s.touches[0].clientX):s.clientX,u={},c=(e,r)=>{"number"==typeof r&&(t.setColumnSizingInfo((e=>{var n,i;const s="rtl"===t.options.columnResizeDirection?-1:1,o=(r-(null!=(n=null==e?void 0:e.startOffset)?n:0))*s,a=Math.max(o/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,r]=e;u[t]=Math.round(100*Math.max(r+r*a,0))/100})),{...e,deltaOffset:o,deltaPercentage:a}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...u}))))},p=e=>c("move",e),h=e=>{c("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},d=r||("undefined"!=typeof document?document:null),f={moveHandler:e=>p(e.clientX),upHandler:e=>{null==d||d.removeEventListener("mousemove",f.moveHandler),null==d||d.removeEventListener("mouseup",f.upHandler),h(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(e.touches[0].clientX),!1),upHandler:e=>{var t;null==d||d.removeEventListener("touchmove",m.moveHandler),null==d||d.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},g=!!function(){if("boolean"==typeof _)return _;let e=!1;try{const t={get passive(){return e=!0,!1}},r=()=>{};window.addEventListener("test",r,t),window.removeEventListener("test",r)}catch(t){e=!1}return _=e,_}()&&{passive:!1};O(s)?(null==d||d.addEventListener("touchmove",m.moveHandler,g),null==d||d.addEventListener("touchend",m.upHandler,g)):(null==d||d.addEventListener("mousemove",f.moveHandler,g),null==d||d.addEventListener("mouseup",f.upHandler,g)),t.setColumnSizingInfo((e=>({...e,startOffset:l,startSize:o,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,isResizingColumn:n.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var r;e.setColumnSizing(t?{}:null!=(r=e.initialState.columnSizing)?r:{})},e.resetHeaderSizeInfo=t=>{var r;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(r=e.initialState.columnSizingInfo)?r:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getLeftHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getCenterHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,r;return null!=(t=null==(r=e.getRightHeaderGroups()[0])?void 0:r.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let _=null;function O(e){return"touchstart"===e.type}function M(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const L={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:i("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var r;return e.setRowSelection(t?{}:null!=(r=e.initialState.rowSelection)?r:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((r=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const n={...r},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach((e=>{e.getCanSelect()&&(n[e.id]=!0)})):i.forEach((e=>{delete n[e.id]})),n}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((r=>{const n=void 0!==t?t:!e.getIsAllPageRowsSelected(),i={...r};return e.getRowModel().rows.forEach((t=>{B(i,t.id,n,!0,e)})),i})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=o((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getFilteredSelectedRowModel=o((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getGroupedSelectedRowModel=o((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,r)=>Object.keys(t).length?R(e,r):{rows:[],flatRows:[],rowsById:{}}),a(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:r}=e.getState();let n=Boolean(t.length&&Object.keys(r).length);return n&&t.some((e=>e.getCanSelect()&&!r[e.id]))&&(n=!1),n},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:r}=e.getState();let n=!!t.length;return n&&t.some((e=>!r[e.id]))&&(n=!1),n},e.getIsSomeRowsSelected=()=>{var t;const r=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return r>0&&r<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(r,n)=>{const i=e.getIsSelected();t.setRowSelection((s=>{var o;if(r=void 0!==r?r:!i,e.getCanSelect()&&i===r)return s;const a={...s};return B(a,e.id,r,null==(o=null==n?void 0:n.selectChildren)||o,t),a}))},e.getIsSelected=()=>{const{rowSelection:r}=t.getState();return j(e,r)},e.getIsSomeSelected=()=>{const{rowSelection:r}=t.getState();return"some"===$(e,r)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:r}=t.getState();return"all"===$(e,r)},e.getCanSelect=()=>{var r;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(r=t.options.enableRowSelection)||r},e.getCanSelectSubRows=()=>{var r;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(r=t.options.enableSubRowSelection)||r},e.getCanMultiSelect=()=>{var r;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(r=t.options.enableMultiRowSelection)||r},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return r=>{var n;t&&e.toggleSelected(null==(n=r.target)?void 0:n.checked)}}}},B=(e,t,r,n,i)=>{var s;const o=i.getRow(t,!0);r?(o.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),o.getCanSelect()&&(e[t]=!0)):delete e[t],n&&null!=(s=o.subRows)&&s.length&&o.getCanSelectSubRows()&&o.subRows.forEach((t=>B(e,t.id,r,n,i)))};function R(e,t){const r=e.getState().rowSelection,n=[],i={},s=function(e,t){return e.map((e=>{var t;const o=j(e,r);if(o&&(n.push(e),i[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:s(e.subRows)}),o)return e})).filter(Boolean)};return{rows:s(t.rows),flatRows:n,rowsById:i}}function j(e,t){var r;return null!=(r=t[e.id])&&r}function $(e,t,r){var n;if(null==(n=e.subRows)||!n.length)return!1;let i=!0,s=!1;return e.subRows.forEach((e=>{if((!s||i)&&(e.getCanSelect()&&(j(e,t)?s=!0:i=!1),e.subRows&&e.subRows.length)){const r=$(e,t);"all"===r?s=!0:"some"===r?(s=!0,i=!1):i=!1}})),i?"all":!!s&&"some"}const U=/([0-9]+)/gm;function z(e,t){return e===t?0:e>t?1:-1}function V(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function W(e,t){const r=e.split(U).filter(Boolean),n=t.split(U).filter(Boolean);for(;r.length&&n.length;){const e=r.shift(),t=n.shift(),i=parseInt(e,10),s=parseInt(t,10),o=[i,s].sort();if(isNaN(o[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(o[1]))return isNaN(i)?-1:1;if(i>s)return 1;if(s>i)return-1}}return r.length-n.length}const H={alphanumeric:(e,t,r)=>W(V(e.getValue(r)).toLowerCase(),V(t.getValue(r)).toLowerCase()),alphanumericCaseSensitive:(e,t,r)=>W(V(e.getValue(r)),V(t.getValue(r))),text:(e,t,r)=>z(V(e.getValue(r)).toLowerCase(),V(t.getValue(r)).toLowerCase()),textCaseSensitive:(e,t,r)=>z(V(e.getValue(r)),V(t.getValue(r))),datetime:(e,t,r)=>{const n=e.getValue(r),i=t.getValue(r);return n>i?1:n<i?-1:0},basic:(e,t,r)=>z(e.getValue(r),t.getValue(r))},q=[c,{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:i("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=r=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=r?r:!e.getIsVisible()})))},e.getIsVisible=()=>{var r,n;const i=e.columns;return null==(r=i.length?i.some((e=>e.getIsVisible())):null==(n=t.getState().columnVisibility)?void 0:n[e.id])||r},e.getCanHide=()=>{var r,n;return(null==(r=e.columnDef.enableHiding)||r)&&(null==(n=t.options.enableHiding)||n)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=o((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),a(t.options,"debugRows")),e.getVisibleCells=o((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,r)=>[...e,...t,...r]),a(t.options,"debugRows"))},createTable:e=>{const t=(t,r)=>o((()=>[r(),r().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),a(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t(0,(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t(0,(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t(0,(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t(0,(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var r;e.setColumnVisibility(t?{}:null!=(r=e.initialState.columnVisibility)?r:{})},e.toggleAllColumnsVisible=t=>{var r;t=null!=(r=t)?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,r)=>({...e,[r.id]:t||!(null!=r.getCanHide&&r.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var r;e.toggleAllColumnsVisible(null==(r=t.target)?void 0:r.checked)}}},F,I,d,C,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:i("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var r;const n=null==(r=e.getCoreRowModel().flatRows[0])||null==(r=r._getAllCellsByColumnId()[t.id])?void 0:r.getValue();return"string"==typeof n||"number"==typeof n}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var r,n,i,s;return(null==(r=e.columnDef.enableGlobalFilter)||r)&&(null==(n=t.options.enableGlobalFilter)||n)&&(null==(i=t.options.enableFilters)||i)&&(null==(s=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||s)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>w.includesString,e.getGlobalFilterFn=()=>{var t,r;const{globalFilterFn:n}=e.options;return s(n)?n:"auto"===n?e.getGlobalAutoFilterFn():null!=(t=null==(r=e.options.filterFns)?void 0:r[n])?t:w[n]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:i("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const r=t.getFilteredRowModel().flatRows.slice(10);let n=!1;for(const t of r){const r=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(r))return H.datetime;if("string"==typeof r&&(n=!0,r.split(U).length>1))return H.alphanumeric}return n?H.text:H.basic},e.getAutoSortDir=()=>{const r=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==r?void 0:r.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var r,n;if(!e)throw new Error;return s(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(r=null==(n=t.options.sortingFns)?void 0:n[e.columnDef.sortingFn])?r:H[e.columnDef.sortingFn]},e.toggleSorting=(r,n)=>{const i=e.getNextSortingOrder(),s=null!=r;t.setSorting((o=>{const a=null==o?void 0:o.find((t=>t.id===e.id)),l=null==o?void 0:o.findIndex((t=>t.id===e.id));let u,c=[],p=s?r:"desc"===i;var h;return u=null!=o&&o.length&&e.getCanMultiSort()&&n?a?"toggle":"add":null!=o&&o.length&&l!==o.length-1?"replace":a?"toggle":"replace","toggle"===u&&(s||i||(u="remove")),"add"===u?(c=[...o,{id:e.id,desc:p}],c.splice(0,c.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):c="toggle"===u?o.map((t=>t.id===e.id?{...t,desc:p}:t)):"remove"===u?o.filter((t=>t.id!==e.id)):[{id:e.id,desc:p}],c}))},e.getFirstSortDir=()=>{var r,n;return(null!=(r=null!=(n=e.columnDef.sortDescFirst)?n:t.options.sortDescFirst)?r:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=r=>{var n,i;const s=e.getFirstSortDir(),o=e.getIsSorted();return o?!!(o===s||null!=(n=t.options.enableSortingRemoval)&&!n||r&&null!=(i=t.options.enableMultiRemove)&&!i)&&("desc"===o?"asc":"desc"):s},e.getCanSort=()=>{var r,n;return(null==(r=e.columnDef.enableSorting)||r)&&(null==(n=t.options.enableSorting)||n)&&!!e.accessorFn},e.getCanMultiSort=()=>{var r,n;return null!=(r=null!=(n=e.columnDef.enableMultiSort)?n:t.options.enableMultiSort)?r:!!e.accessorFn},e.getIsSorted=()=>{var r;const n=null==(r=t.getState().sorting)?void 0:r.find((t=>t.id===e.id));return!!n&&(n.desc?"desc":"asc")},e.getSortIndex=()=>{var r,n;return null!=(r=null==(n=t.getState().sorting)?void 0:n.findIndex((t=>t.id===e.id)))?r:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const r=e.getCanSort();return n=>{r&&(null==n.persist||n.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(n))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var r,n;e.setSorting(t?[]:null!=(r=null==(n=e.initialState)?void 0:n.sorting)?r:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},P,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:i("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,r=!1;e._autoResetExpanded=()=>{var n,i;if(t){if(null!=(n=null!=(i=e.options.autoResetAll)?i:e.options.autoResetExpanded)?n:!e.options.manualExpanding){if(r)return;r=!0,e._queue((()=>{e.resetExpanded(),r=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var r,n;e.setExpanded(t?{}:null!=(r=null==(n=e.initialState)?void 0:n.expanded)?r:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const r=e.split(".");t=Math.max(t,r.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=r=>{t.setExpanded((n=>{var i;const s=!0===n||!(null==n||!n[e.id]);let o={};if(!0===n?Object.keys(t.getRowModel().rowsById).forEach((e=>{o[e]=!0})):o=n,r=null!=(i=r)?i:!s,!s&&r)return{...o,[e.id]:!0};if(s&&!r){const{[e.id]:t,...r}=o;return r}return n}))},e.getIsExpanded=()=>{var r;const n=t.getState().expanded;return!!(null!=(r=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?r:!0===n||(null==n?void 0:n[e.id]))},e.getCanExpand=()=>{var r,n,i;return null!=(r=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?r:(null==(n=t.options.enableExpanding)||n)&&!(null==(i=e.subRows)||!i.length)},e.getIsAllParentsExpanded=()=>{let r=!0,n=e;for(;r&&n.parentId;)n=t.getRow(n.parentId,!0),r=n.getIsExpanded();return r},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:i("pagination",e)}),createTable:e=>{let t=!1,r=!1;e._autoResetPageIndex=()=>{var n,i;if(t){if(null!=(n=null!=(i=e.options.autoResetAll)?i:e.options.autoResetPageIndex)?n:!e.options.manualPagination){if(r)return;r=!0,e._queue((()=>{e.resetPageIndex(),r=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>n(t,e))),e.resetPagination=t=>{var r;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(r=e.initialState.pagination)?r:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((r=>{let i=n(t,r.pageIndex);const s=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,s)),{...r,pageIndex:i}}))},e.resetPageIndex=t=>{var r,n;e.setPageIndex(t?0:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageIndex)?r:0)},e.resetPageSize=t=>{var r,n;e.setPageSize(t?10:null!=(r=null==(n=e.initialState)||null==(n=n.pagination)?void 0:n.pageSize)?r:10)},e.setPageSize=t=>{e.setPagination((e=>{const r=Math.max(1,n(t,e.pageSize)),i=e.pageSize*e.pageIndex,s=Math.floor(i/r);return{...e,pageIndex:s,pageSize:r}}))},e.setPageCount=t=>e.setPagination((r=>{var i;let s=n(t,null!=(i=e.options.pageCount)?i:-1);return"number"==typeof s&&(s=Math.max(-1,s)),{...r,pageCount:s}})),e.getPageOptions=o((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),a(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,r=e.getPageCount();return-1===r||0!==r&&t<r-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:i("rowPinning",e)}),createRow:(e,t)=>{e.pin=(r,n,i)=>{const s=n?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],o=i?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],a=new Set([...o,e.id,...s]);t.setRowPinning((e=>{var t,n,i,s,o,l;return"bottom"===r?{top:(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:[...(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)]}:"top"===r?{top:[...(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter((e=>!(null!=a&&a.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:(null!=(n=null==e?void 0:e.bottom)?n:[]).filter((e=>!(null!=a&&a.has(e))))}}))},e.getCanPin=()=>{var r;const{enableRowPinning:n,enablePinning:i}=t.options;return"function"==typeof n?n(e):null==(r=null!=n?n:i)||r},e.getIsPinned=()=>{const r=[e.id],{top:n,bottom:i}=t.getState().rowPinning,s=r.some((e=>null==n?void 0:n.includes(e))),o=r.some((e=>null==i?void 0:i.includes(e)));return s?"top":!!o&&"bottom"},e.getPinnedIndex=()=>{var r,n;const i=e.getIsPinned();if(!i)return-1;const s=null==(r="top"===i?t.getTopRows():t.getBottomRows())?void 0:r.map((e=>{let{id:t}=e;return t}));return null!=(n=null==s?void 0:s.indexOf(e.id))?n:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var r,n;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(r=null==(n=e.initialState)?void 0:n.rowPinning)?r:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var r;const n=e.getState().rowPinning;var i,s;return t?Boolean(null==(r=n[t])?void 0:r.length):Boolean((null==(i=n.top)?void 0:i.length)||(null==(s=n.bottom)?void 0:s.length))},e._getPinnedRows=(t,r,n)=>{var i;return(null==(i=e.options.keepPinnedRows)||i?(null!=r?r:[]).map((t=>{const r=e.getRow(t,!0);return r.getIsAllParentsExpanded()?r:null})):(null!=r?r:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:n})))},e.getTopRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((t,r)=>e._getPinnedRows(t,r,"top")),a(e.options,"debugRows")),e.getBottomRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((t,r)=>e._getPinnedRows(t,r,"bottom")),a(e.options,"debugRows")),e.getCenterRows=o((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,r)=>{const n=new Set([...null!=t?t:[],...null!=r?r:[]]);return e.filter((e=>!n.has(e.id)))}),a(e.options,"debugRows"))}},L,k];function G(e){var t,r;const i=[...q,...null!=(t=e._features)?t:[]];let s={_features:i};const l=s._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(s))),{});let u={...null!=(r=e.initialState)?r:{}};s._features.forEach((e=>{var t;u=null!=(t=null==e.getInitialState?void 0:e.getInitialState(u))?t:u}));const c=[];let p=!1;const h={_features:i,options:{...l,...e},initialState:u,_queue:e=>{c.push(e),p||(p=!0,Promise.resolve().then((()=>{for(;c.length;)c.shift()();p=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{s.setState(s.initialState)},setOptions:e=>{const t=n(e,s.options);s.options=(e=>s.options.mergeOptions?s.options.mergeOptions(l,e):{...l,...e})(t)},getState:()=>s.options.state,setState:e=>{null==s.options.onStateChange||s.options.onStateChange(e)},_getRowId:(e,t,r)=>{var n;return null!=(n=null==s.options.getRowId?void 0:s.options.getRowId(e,t,r))?n:`${r?[r.id,t].join("."):t}`},getCoreRowModel:()=>(s._getCoreRowModel||(s._getCoreRowModel=s.options.getCoreRowModel(s)),s._getCoreRowModel()),getRowModel:()=>s.getPaginationRowModel(),getRow:(e,t)=>{let r=(t?s.getPrePaginationRowModel():s.getRowModel()).rowsById[e];if(!r&&(r=s.getCoreRowModel().rowsById[e],!r))throw new Error;return r},_getDefaultColumnDef:o((()=>[s.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,r;return null!=(t=null==(r=e.renderValue())||null==r.toString?void 0:r.toString())?t:null},...s._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),a(e,"debugColumns")),_getColumnDefs:()=>s.options.columns,getAllColumns:o((()=>[s._getColumnDefs()]),(e=>{const t=function(e,r,n){return void 0===n&&(n=0),e.map((e=>{const i=function(e,t,r,n){var i,s;const l={...e._getDefaultColumnDef(),...t},u=l.accessorKey;let c,p=null!=(i=null!=(s=l.id)?s:u?"function"==typeof String.prototype.replaceAll?u.replaceAll(".","_"):u.replace(/\./g,"_"):void 0)?i:"string"==typeof l.header?l.header:void 0;if(l.accessorFn?c=l.accessorFn:u&&(c=u.includes(".")?e=>{let t=e;for(const e of u.split(".")){var r;t=null==(r=t)?void 0:r[e]}return t}:e=>e[l.accessorKey]),!p)throw new Error;let h={id:`${String(p)}`,accessorFn:c,parent:n,depth:r,columnDef:l,columns:[],getFlatColumns:o((()=>[!0]),(()=>{var e;return[h,...null==(e=h.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),a(e.options,"debugColumns")),getLeafColumns:o((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=h.columns)&&t.length){let t=h.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[h]}),a(e.options,"debugColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(h,e);return h}(s,e,n,r),l=e;return i.columns=l.columns?t(l.columns,i,n+1):[],i}))};return t(e)}),a(e,"debugColumns")),getAllFlatColumns:o((()=>[s.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),a(e,"debugColumns")),_getAllFlatColumnsById:o((()=>[s.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),a(e,"debugColumns")),getAllLeafColumns:o((()=>[s.getAllColumns(),s._getOrderColumnsFn()]),((e,t)=>t(e.flatMap((e=>e.getLeafColumns())))),a(e,"debugColumns")),getColumn:e=>s._getAllFlatColumnsById()[e]};Object.assign(s,h);for(let e=0;e<s._features.length;e++){const t=s._features[e];null==t||null==t.createTable||t.createTable(s)}return s}function K(){return e=>o((()=>[e.options.data]),(t=>{const r={rows:[],flatRows:[],rowsById:{}},n=function(t,i,s){void 0===i&&(i=0);const o=[];for(let l=0;l<t.length;l++){const u=h(e,e._getRowId(t[l],l,s),t[l],l,i,void 0,null==s?void 0:s.id);var a;r.flatRows.push(u),r.rowsById[u.id]=u,o.push(u),e.options.getSubRows&&(u.originalSubRows=e.options.getSubRows(t[l],l),null!=(a=u.originalSubRows)&&a.length&&(u.subRows=n(u.originalSubRows,i+1,u)))}return o};return r.rows=n(t),r}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}function X(){return e=>o((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,r)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:r?J(t):t),a(e.options,"debugTable"))}function J(e){const t=[],r=e=>{var n;t.push(e),null!=(n=e.subRows)&&n.length&&e.getIsExpanded()&&e.subRows.forEach(r)};return e.rows.forEach(r),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Y(){return e=>o((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,r,n)=>{if(!t.rows.length||(null==r||!r.length)&&!n){for(let e=0;e<t.flatRows.length;e++)t.flatRows[e].columnFilters={},t.flatRows[e].columnFiltersMeta={};return t}const i=[],s=[];(null!=r?r:[]).forEach((t=>{var r;const n=e.getColumn(t.id);if(!n)return;const s=n.getFilterFn();s&&i.push({id:t.id,filterFn:s,resolvedValue:null!=(r=null==s.resolveFilterValue?void 0:s.resolveFilterValue(t.value))?r:t.value})}));const o=(null!=r?r:[]).map((e=>e.id)),a=e.getGlobalFilterFn(),l=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let u,c;n&&a&&l.length&&(o.push("__global__"),l.forEach((e=>{var t;s.push({id:e.id,filterFn:a,resolvedValue:null!=(t=null==a.resolveFilterValue?void 0:a.resolveFilterValue(n))?t:n})})));for(let e=0;e<t.flatRows.length;e++){const r=t.flatRows[e];if(r.columnFilters={},i.length)for(let e=0;e<i.length;e++){u=i[e];const t=u.id;r.columnFilters[t]=u.filterFn(r,t,u.resolvedValue,(e=>{r.columnFiltersMeta[t]=e}))}if(s.length){for(let e=0;e<s.length;e++){c=s[e];const t=c.id;if(c.filterFn(r,t,c.resolvedValue,(e=>{r.columnFiltersMeta[t]=e}))){r.columnFilters.__global__=!0;break}}!0!==r.columnFilters.__global__&&(r.columnFilters.__global__=!1)}}return function(e,t,r){return r.options.filterFromLeafRows?function(e,t,r){var n;const i=[],s={},o=null!=(n=r.options.maxLeafRowFilterDepth)?n:100,a=function(e,n){void 0===n&&(n=0);const l=[];for(let c=0;c<e.length;c++){var u;let p=e[c];const d=h(r,p.id,p.original,p.index,p.depth,void 0,p.parentId);if(d.columnFilters=p.columnFilters,null!=(u=p.subRows)&&u.length&&n<o){if(d.subRows=a(p.subRows,n+1),p=d,t(p)&&!d.subRows.length){l.push(p),s[p.id]=p,i.push(p);continue}if(t(p)||d.subRows.length){l.push(p),s[p.id]=p,i.push(p);continue}}else p=d,t(p)&&(l.push(p),s[p.id]=p,i.push(p))}return l};return{rows:a(e),flatRows:i,rowsById:s}}(e,t,r):function(e,t,r){var n;const i=[],s={},o=null!=(n=r.options.maxLeafRowFilterDepth)?n:100,a=function(e,n){void 0===n&&(n=0);const l=[];for(let c=0;c<e.length;c++){let p=e[c];if(t(p)){var u;if(null!=(u=p.subRows)&&u.length&&n<o){const e=h(r,p.id,p.original,p.index,p.depth,void 0,p.parentId);e.subRows=a(p.subRows,n+1),p=e}l.push(p),i.push(p),s[p.id]=p}}return l};return{rows:a(e),flatRows:i,rowsById:s}}(e,t,r)}(t.rows,(e=>{for(let t=0;t<o.length;t++)if(!1===e.columnFilters[o[t]])return!1;return!0}),e)}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}function Z(e){return e=>o((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,r)=>{if(!r.rows.length)return r;const{pageSize:n,pageIndex:i}=t;let{rows:s,flatRows:o,rowsById:a}=r;const l=n*i,u=l+n;let c;s=s.slice(l,u),c=e.options.paginateExpandedRows?{rows:s,flatRows:o,rowsById:a}:J({rows:s,flatRows:o,rowsById:a}),c.flatRows=[];const p=e=>{c.flatRows.push(e),e.subRows.length&&e.subRows.forEach(p)};return c.rows.forEach(p),c}),a(e.options,"debugTable"))}function Q(){return e=>o((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,r)=>{if(!r.rows.length||null==t||!t.length)return r;const n=e.getState().sorting,i=[],s=n.filter((t=>{var r;return null==(r=e.getColumn(t.id))?void 0:r.getCanSort()})),o={};s.forEach((t=>{const r=e.getColumn(t.id);r&&(o[t.id]={sortUndefined:r.columnDef.sortUndefined,invertSorting:r.columnDef.invertSorting,sortingFn:r.getSortingFn()})}));const a=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let n=0;n<s.length;n+=1){var r;const i=s[n],a=o[i.id],l=a.sortUndefined,u=null!=(r=null==i?void 0:i.desc)&&r;let c=0;if(l){const r=void 0===e.getValue(i.id),n=void 0===t.getValue(i.id);if(r||n){if("first"===l)return r?-1:1;if("last"===l)return r?1:-1;c=r&&n?0:r?l:-l}}if(0===c&&(c=a.sortingFn(e,t,i.id)),0!==c)return u&&(c*=-1),a.invertSorting&&(c*=-1),c}return e.index-t.index})),t.forEach((e=>{var t;i.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t};return{rows:a(r.rows),flatRows:i,rowsById:r.rowsById}}),a(e.options,"debugTable",0,(()=>e._autoResetPageIndex())))}},62655:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(t,e,r)},62670:(e,t,r)=>{var n=r(75722),i=r(79696).Buffer;e.exports=function(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},62955:(e,t,r)=>{var n=r(43596);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,s,o){if(o!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i};return r.PropTypes=r,r}},63574:(e,t,r)=>{var n=r(67787).Buffer,i=r(25003),s=r(33820),o=new Array(16),a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],p=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function d(){s.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function f(e,t){return e<<t|e>>>32-t}function m(e,t,r,n,i,s,o,a){return f(e+(t^r^n)+s+o|0,a)+i|0}function g(e,t,r,n,i,s,o,a){return f(e+(t&r|~t&n)+s+o|0,a)+i|0}function y(e,t,r,n,i,s,o,a){return f(e+((t|~r)^n)+s+o|0,a)+i|0}function b(e,t,r,n,i,s,o,a){return f(e+(t&n|r&~n)+s+o|0,a)+i|0}function v(e,t,r,n,i,s,o,a){return f(e+(t^(r|~n))+s+o|0,a)+i|0}i(d,s),d.prototype._update=function(){for(var e=o,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,s=0|this._d,d=0|this._e,D=0|this._a,E=0|this._b,x=0|this._c,w=0|this._d,S=0|this._e,C=0;C<80;C+=1){var A,T;C<16?(A=m(r,n,i,s,d,e[a[C]],p[0],u[C]),T=v(D,E,x,w,S,e[l[C]],h[0],c[C])):C<32?(A=g(r,n,i,s,d,e[a[C]],p[1],u[C]),T=b(D,E,x,w,S,e[l[C]],h[1],c[C])):C<48?(A=y(r,n,i,s,d,e[a[C]],p[2],u[C]),T=y(D,E,x,w,S,e[l[C]],h[2],c[C])):C<64?(A=b(r,n,i,s,d,e[a[C]],p[3],u[C]),T=g(D,E,x,w,S,e[l[C]],h[3],c[C])):(A=v(r,n,i,s,d,e[a[C]],p[4],u[C]),T=m(D,E,x,w,S,e[l[C]],h[4],c[C])),r=d,d=s,s=f(i,10),i=n,n=A,D=S,S=w,w=f(x,10),x=E,E=T}var P=this._b+i+w|0;this._b=this._c+s+S|0,this._c=this._d+d+D|0,this._d=this._e+r+E|0,this._e=this._a+n+x|0,this._a=P},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=d},63713:(e,t,r)=>{function n(e){var t=typeof e;return"function"===t||"object"===t&&!!e}Object.defineProperty(t,"__esModule",{value:!0}),t.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.callbackName=function(e,r){return(r=r||"on")+t.capitalize(e)},t.isObject=n,t.extend=function(e){if(!n(e))return e;for(var t,r,i=1,s=arguments.length;i<s;i++)for(r in t=arguments[i])if(Object.getOwnPropertyDescriptor&&Object.defineProperty){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o)}else e[r]=t[r];return e},t.isFunction=function(e){return"function"==typeof e},t.object=function(e,t){for(var r={},n=0;n<e.length;n++)r[e[n]]=t[n];return r},t.isArguments=function(e){return"object"==typeof e&&"callee"in e&&"number"==typeof e.length},t.throwIf=function(e,t){if(e)throw Error(t||e)},t.EventEmitter=r(50515),t.nextTick=function(e){setTimeout(e,0)}},63793:(e,t,r)=>{var n=r(49453),i=r(79696).Buffer;function s(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,o=i.alloc(0),a=0;o.length<t;)r=s(a++),o=i.concat([o,n("sha1").update(e).update(r).digest()]);return o.slice(0,t)}},63977:(e,t,r)=>{var n=r(63602);function i(e,t){var r,i=null;if(!e||"string"!=typeof e)return i;for(var s,o,a=n(e),l="function"==typeof t,u=0,c=a.length;u<c;u++)s=(r=a[u]).property,o=r.value,l?t(s,o,r):o&&(i||(i={}),i[s]=o);return i}e.exports=i,e.exports.default=i},64518:(e,t,r)=>{r.d(t,{c:()=>C});var n,i=r(96652),s=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)},a={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return s(t,e),t.prototype.render=function(){return i.createElement("div",{className:this.props.className||"",style:o(o({position:"absolute",userSelect:"none"},a[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(i.PureComponent),u=r(61632),c=r.n(u),p=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),h=function(){return h=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},h.apply(this,arguments)},d={width:"auto",height:"auto"},f=c()((function(e,t,r){return Math.max(Math.min(e,r),t)})),m=c()((function(e,t){return Math.round(e/t)*t})),g=c()((function(e,t){return new RegExp(e,"i").test(t)})),y=function(e){return Boolean(e.touches&&e.touches.length)},b=c()((function(e,t,r){void 0===r&&(r=0);var n=t.reduce((function(r,n,i){return Math.abs(n-e)<Math.abs(t[r]-e)?i:r}),0),i=Math.abs(t[n]-e);return 0===r||i<r?t[n]:e})),v=c()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),D=c()((function(e){return"auto"===(e=e.toString())||v(e,"px")||v(e,"%")||v(e,"vh")||v(e,"vw")||v(e,"vmax")||v(e,"vmin")?e:e+"px"})),E=function(e,t,r,n){if(e&&"string"==typeof e){if(v(e,"px"))return Number(e.replace("px",""));if(v(e,"%"))return t*(Number(e.replace("%",""))/100);if(v(e,"vw"))return r*(Number(e.replace("vw",""))/100);if(v(e,"vh"))return n*(Number(e.replace("vh",""))/100)}return e},x=c()((function(e,t,r,n,i,s,o){return n=E(n,e.width,t,r),i=E(i,e.height,t,r),s=E(s,e.width,t,r),o=E(o,e.height,t,r),{maxWidth:void 0===n?void 0:Number(n),maxHeight:void 0===i?void 0:Number(i),minWidth:void 0===s?void 0:Number(s),minHeight:void 0===o?void 0:Number(o)}})),w=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],S="__resizable_base__",C=function(e){function t(t){var r=e.call(this,t)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var e=r.parentNode;if(!e)return null;var t=r.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add(S):t.className+=S,e.appendChild(t),t},r.removeBase=function(e){var t=r.parentNode;t&&t.removeChild(e)},r.ref=function(e){e&&(r.resizable=e)},r.state={isResizing:!1,width:void 0===(r.propsSize&&r.propsSize.width)?"auto":r.propsSize&&r.propsSize.width,height:void 0===(r.propsSize&&r.propsSize.height)?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return p(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||d},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var r=this.resizable.offsetWidth,n=this.resizable.offsetHeight,i=this.resizable.style.position;"relative"!==i&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:r,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:n,this.resizable.style.position=i}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,r=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&v(e.propsSize[t].toString(),"%")){if(v(e.state[t].toString(),"%"))return e.state[t].toString();var r=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/r[t]*100+"%"}return D(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?D(t.width):r("width"),height:t&&void 0!==t.height&&!this.state.isResizing?D(t.height):r("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,r=this.parentNode.style.flexWrap;"wrap"!==r&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var n={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=r),this.removeBase(e),n},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var r=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==r&&"auto"!==r?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var r,n,i=this.props.boundsByDirection,s=this.state.direction,o=i&&g("left",s),a=i&&g("top",s);if("parent"===this.props.bounds){var l=this.parentNode;l&&(r=o?this.resizableRight-this.parentLeft:l.offsetWidth+(this.parentLeft-this.resizableLeft),n=a?this.resizableBottom-this.parentTop:l.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(r=o?this.resizableRight:this.window.innerWidth-this.resizableLeft,n=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(r=o?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),n=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return r&&Number.isFinite(r)&&(e=e&&e<r?e:r),n&&Number.isFinite(n)&&(t=t&&t<n?t:n),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var r=this.props.scale||1,n=this.props.resizeRatio||1,i=this.state,s=i.direction,o=i.original,a=this.props,l=a.lockAspectRatio,u=a.lockAspectRatioExtraHeight,c=a.lockAspectRatioExtraWidth,p=o.width,h=o.height,d=u||0,f=c||0;return g("right",s)&&(p=o.width+(e-o.x)*n/r,l&&(h=(p-f)/this.ratio+d)),g("left",s)&&(p=o.width-(e-o.x)*n/r,l&&(h=(p-f)/this.ratio+d)),g("bottom",s)&&(h=o.height+(t-o.y)*n/r,l&&(p=(h-d)*this.ratio+f)),g("top",s)&&(h=o.height-(t-o.y)*n/r,l&&(p=(h-d)*this.ratio+f)),{newWidth:p,newHeight:h}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,r,n){var i=this.props,s=i.lockAspectRatio,o=i.lockAspectRatioExtraHeight,a=i.lockAspectRatioExtraWidth,l=void 0===n.width?10:n.width,u=void 0===r.width||r.width<0?e:r.width,c=void 0===n.height?10:n.height,p=void 0===r.height||r.height<0?t:r.height,h=o||0,d=a||0;if(s){var m=(c-h)*this.ratio+d,g=(p-h)*this.ratio+d,y=(l-d)/this.ratio+h,b=(u-d)/this.ratio+h,v=Math.max(l,m),D=Math.min(u,g),E=Math.max(c,y),x=Math.min(p,b);e=f(e,v,D),t=f(t,E,x)}else e=f(e,l,u),t=f(t,c,p);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var r=this.props.bounds.getBoundingClientRect();this.targetLeft=r.left,this.targetTop=r.top}if(this.resizable){var n=this.resizable.getBoundingClientRect(),i=n.left,s=n.top,o=n.right,a=n.bottom;this.resizableLeft=i,this.resizableRight=o,this.resizableTop=s,this.resizableBottom=a}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var r,n=0,i=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)){if(n=e.nativeEvent.clientX,i=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent&&y(e.nativeEvent)&&(n=e.nativeEvent.touches[0].clientX,i=e.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable&&!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var s=this.window.getComputedStyle(this.resizable);if("auto"!==s.flexBasis){var o=this.parentNode;if(o){var a=this.window.getComputedStyle(o).flexDirection;this.flexDir=a.startsWith("row")?"row":"column",r=s.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var l={original:{x:n,y:i,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:h(h({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:r};this.setState(l)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&y(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var t=this.props,r=t.maxWidth,n=t.maxHeight,i=t.minWidth,s=t.minHeight,o=y(e)?e.touches[0].clientX:e.clientX,a=y(e)?e.touches[0].clientY:e.clientY,l=this.state,u=l.direction,c=l.original,p=l.width,h=l.height,d=this.getParentSize(),f=x(d,this.window.innerWidth,this.window.innerHeight,r,n,i,s);r=f.maxWidth,n=f.maxHeight,i=f.minWidth,s=f.minHeight;var g=this.calculateNewSizeFromDirection(o,a),D=g.newHeight,E=g.newWidth,w=this.calculateNewMaxFromBoundary(r,n),S=this.calculateNewSizeFromAspectRatio(E,D,{width:w.maxWidth,height:w.maxHeight},{width:i,height:s});if(E=S.newWidth,D=S.newHeight,this.props.grid){var C=m(E,this.props.grid[0]),A=m(D,this.props.grid[1]),T=this.props.snapGap||0;E=0===T||Math.abs(C-E)<=T?C:E,D=0===T||Math.abs(A-D)<=T?A:D}this.props.snap&&this.props.snap.x&&(E=b(E,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(D=b(D,this.props.snap.y,this.props.snapGap));var P={width:E-c.width,height:D-c.height};p&&"string"==typeof p&&(v(p,"%")?E=E/d.width*100+"%":v(p,"vw")?E=E/this.window.innerWidth*100+"vw":v(p,"vh")&&(E=E/this.window.innerHeight*100+"vh")),h&&"string"==typeof h&&(v(h,"%")?D=D/d.height*100+"%":v(h,"vw")?D=D/this.window.innerWidth*100+"vw":v(h,"vh")&&(D=D/this.window.innerHeight*100+"vh"));var F={width:this.createSizeForCssProperty(E,"width"),height:this.createSizeForCssProperty(D,"height")};"row"===this.flexDir?F.flexBasis=F.width:"column"===this.flexDir&&(F.flexBasis=F.height),this.setState(F),this.props.onResize&&this.props.onResize(e,u,this.resizable,P)}},t.prototype.onMouseUp=function(e){var t=this.state,r=t.isResizing,n=t.direction,i=t.original;if(r&&this.resizable){var s={width:this.size.width-i.width,height:this.size.height-i.height};this.props.onResizeStop&&this.props.onResizeStop(e,n,this.resizable,s),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:h(h({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,r=t.enable,n=t.handleStyles,s=t.handleClasses,o=t.handleWrapperStyle,a=t.handleWrapperClass,u=t.handleComponent;if(!r)return null;var c=Object.keys(r).map((function(t){return!1!==r[t]?i.createElement(l,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:n&&n[t],className:s&&s[t]},u&&u[t]?u[t]:null):null}));return i.createElement("div",{className:a,style:o},c)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,r){return-1!==w.indexOf(r)||(t[r]=e.props[r]),t}),{}),r=h(h(h({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(r.flexBasis=this.state.flexBasis);var n=this.props.as||"div";return i.createElement(n,h({ref:this.ref,style:r,className:this.props.className},t),this.state.isResizing&&i.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(i.PureComponent)},66089:(e,t,r)=>{const n=r(7341),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=r(76843),{safeRe:o,t:a}=r(42229),l=r(85890),{compareIdentifiers:u}=r(69690);class c{constructor(e,t){if(t=l(t),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<s)return t}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(n("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.patch?1:0}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return u(r,i)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{const r=this.build[t],i=e.build[t];if(n("build compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return u(r,i)}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(t){const e=`-${t}`.match(this.options.loose?o[a.PRERELEASELOOSE]:o[a.PRERELEASE]);if(!e||e[1]!==t)throw new Error(`invalid identifier: ${t}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,r),this.inc("pre",t,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,r),this.inc("pre",t,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const e=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[e];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},66413:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},66858:function(e,t,r){var n=r(65994).e;!function(e){if(!e.setImmediate){var t,r,i,s,o,a=1,l={},u=!1,c=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?t=function(e){n.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(s="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&d(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),t=function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){d(e.data)},t=function(e){i.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,t=function(e){var t=c.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):t=function(e){setTimeout(d,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:e,args:r};return l[a]=i,t(a),a++},p.clearImmediate=h}function h(e){delete l[e]}function d(e){if(u)setTimeout(d,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(undefined,r)}}(t)}finally{h(e),u=!1}}}}}("undefined"==typeof self?void 0===r.g?this:r.g:self)},67526:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)>=0},67670:(e,t,r)=>{var n=r(63713),i=r(58073).Y,s=function(e){for(var t,r=0,n={};r<(e.children||[]).length;++r)e[t=e.children[r]]&&(n[t]=e[t]);return n},o=function e(t){var r={};for(var i in t){var o=t[i],a=e(s(o));for(var l in r[i]=o,a){var u=a[l];r[i+n.capitalize(l)]=u}}return r};e.exports={hasListener:function(e){for(var t,r,n,i=0;i<(this.subscriptions||[]).length;++i)for(n=[].concat(this.subscriptions[i].listenable),t=0;t<n.length;t++)if((r=n[t])===e||r.hasListener&&r.hasListener(e))return!0;return!1},listenToMany:function(e){var t=o(e);for(var r in t){var i=n.callbackName(r),s=this[i]?i:this[r]?r:void 0;s&&this.listenTo(t[r],s,this[i+"Default"]||this[s+"Default"]||s)}},validateListening:function(e){return e===this?"Listener is not able to listen to itself":n.isFunction(e.listen)?e.hasListener&&e.hasListener(this)?"Listener cannot listen to this listenable because of circular loop":void 0:e+" is missing a listen method"},listenTo:function(e,t,r){var i,s,o=this.subscriptions=this.subscriptions||[];return n.throwIf(this.validateListening(e)),this.fetchInitialState(e,r),i=e.listen(this[t]||t,this),s={stop:function(){var e=o.indexOf(s);n.throwIf(-1===e,"Tried to remove listen already gone from subscriptions list!"),o.splice(e,1),i()},listenable:e},o.push(s),s},stopListeningTo:function(e){for(var t,r=0,i=this.subscriptions||[];r<i.length;r++)if((t=i[r]).listenable===e)return t.stop(),n.throwIf(-1!==i.indexOf(t),"Failed to remove listen from subscriptions list!"),!0;return!1},stopListeningToAll:function(){for(var e,t=this.subscriptions||[];e=t.length;)t[0].stop(),n.throwIf(t.length!==e-1,"Failed to remove listen from subscriptions list!")},fetchInitialState:function(e,t){t=t&&this[t]||t;var r=this;if(n.isFunction(t)&&n.isFunction(e.getInitialState)){var i=e.getInitialState();i&&n.isFunction(i.then)?i.then((function(){t.apply(r,arguments)})):t.call(this,i)}},joinTrailing:i("last"),joinLeading:i("first"),joinConcat:i("all"),joinStrict:i("strict")}},68434:(e,t,r)=>{const n=r(2943);e.exports=(e,t,r)=>n(e,t,r)<0},69064:(e,t,r)=>{r.d(t,{Ay:()=>s});var n=r(63706),i=function(e){return void 0===e&&(e=""),e.split(" ").filter(Boolean)};const s=function(e,t,r){null!=e&&r!==t&&(null!=t&&t.length>0&&function(e,t){i(t).forEach((function(t){n.DomUtil.removeClass(e,t)}))}(e,t),null!=r&&r.length>0&&function(e,t){i(t).forEach((function(t){n.DomUtil.addClass(e,t)}))}(e,r))}},69192:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r,i,s)=>{"string"==typeof r&&(s=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,s).version}catch(e){return null}}},69433:(e,t,r)=>{r.d(t,{A:()=>v});var n=r(70161),i=r(60752),s=r(96652),o=r.n(s),a=s.useLayoutEffect,l=function(e,t){"function"!=typeof e?e.current=t:e(t)},u={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},c=function(e){Object.keys(u).forEach((function(t){e.style.setProperty(t,u[t],"important")}))},p=null,h=function(e,t){var r=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?r+t.borderSize:r-t.paddingSize},d=function(){},f=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],m=!!document.documentElement.currentStyle;function g(e,t,r){var n,i,l=(n=r,i=o().useRef(n),a((function(){i.current=n})),i);s.useLayoutEffect((function(){var r=function(e){return l.current(e)};if(e)return e.addEventListener(t,r),function(){return e.removeEventListener(t,r)}}),[])}var y=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],b=function(e,t){var r,a=e.cacheMeasurements,u=e.maxRows,b=e.minRows,v=e.onChange,D=void 0===v?d:v,E=e.onHeightChange,x=void 0===E?d:E,w=(0,i.A)(e,y),S=void 0!==w.value,C=s.useRef(null),A=function(e,t){var r=o().useRef();return o().useCallback((function(n){e.current=n,r.current&&l(r.current,null),r.current=t,t&&l(t,n)}),[t])}(C,t),T=s.useRef(0),P=s.useRef(),F=function(){var e=C.current,t=a&&P.current?P.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var r,n=(r=t,f.reduce((function(e,t){return e[t]=r[t],e}),{})),i=n.boxSizing;return""===i?null:(m&&"border-box"===i&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px"),{sizingStyle:n,paddingSize:parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),borderSize:parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth)})}(e);if(t){P.current=t;var r=function(e,t,r,n){void 0===r&&(r=1),void 0===n&&(n=1/0),p||((p=document.createElement("textarea")).setAttribute("tabindex","-1"),p.setAttribute("aria-hidden","true"),c(p)),null===p.parentNode&&document.body.appendChild(p);var i=e.paddingSize,s=e.borderSize,o=e.sizingStyle,a=o.boxSizing;Object.keys(o).forEach((function(e){var t=e;p.style[t]=o[t]})),c(p),p.value=t;var l=h(p,e);p.value=t,l=h(p,e),p.value="x";var u=p.scrollHeight-i,d=u*r;"border-box"===a&&(d=d+i+s),l=Math.max(d,l);var f=u*n;return"border-box"===a&&(f=f+i+s),[l=Math.min(f,l),u]}(t,e.value||e.placeholder||"x",b,u),n=r[0],i=r[1];T.current!==n&&(T.current=n,e.style.setProperty("height",n+"px","important"),x(n,{rowHeight:i}))}};return s.useLayoutEffect(F),function(e,t){g(document.body,"reset",(function(r){e.current.form===r.target&&t()}))}(C,(function(){if(!S){var e=C.current.value;requestAnimationFrame((function(){var t=C.current;t&&e!==t.value&&F()}))}})),g(window,"resize",F),r=F,g(document.fonts,"loadingdone",r),s.createElement("textarea",(0,n.A)({},w,{onChange:function(e){S||F(),D(e)},ref:A}))},v=s.forwardRef(b)},69657:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).major},69690:e=>{const t=/^[0-9]+$/,r=(e,r)=>{if("number"==typeof e&&"number"==typeof r)return e===r?0:e<r?-1:1;const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:e<r?-1:1};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)}},69971:(e,t,r)=>{r.d(t,{M:()=>w});var n=r(4855),i=(r(66218),r(79722)),s=r(96196),o=r(6022),a=r(31500),l=r(63706),u=r.n(l),c=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,a.A)((0,s.A)(r),"leafletElement",void 0),r.leafletElement=r.createLeafletElement(r.props),r}(0,o.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},r.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setPosition(t.position)},r.componentDidMount=function(){this.leafletElement.addTo(this.props.leaflet.map)},r.componentDidUpdate=function(e){this.updateLeafletElement(e,this.props)},r.componentWillUnmount=function(){this.leafletElement.remove()},r.render=function(){return null},t}(r(96652).Component),p=r(41381);function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){v(e,t,r[t])}))}return e}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}},m(e,t,r||e)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var D={onEdited:"draw:edited",onDrawStart:"draw:drawstart",onDrawStop:"draw:drawstop",onDrawVertex:"draw:drawvertex",onEditStart:"draw:editstart",onEditMove:"draw:editmove",onEditResize:"draw:editresize",onEditVertex:"draw:editvertex",onEditStop:"draw:editstop",onDeleted:"draw:deleted",onDeleteStart:"draw:deletestart",onDeleteStop:"draw:deletestop"},E=function(e){function t(){var e,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return r=function(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?b(e):t}(this,(e=g(t)).call.apply(e,[this].concat(i))),v(b(b(r)),"onDrawCreate",(function(e){var t=r.props.onCreated;r.props.leaflet.layerContainer.addLayer(e.layer),t&&t(e)})),r}var r,n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),r=t,(n=[{key:"createLeafletElement",value:function(e){return x(e)}},{key:"componentDidMount",value:function(){m(g(t.prototype),"componentDidMount",this).call(this);var e=this.props.leaflet.map,r=this.props.onMounted;for(var n in D)this.props[n]&&e.on(D[n],this.props[n]);e.on(u().Draw.Event.CREATED,this.onDrawCreate),r&&r(this.leafletElement)}},{key:"componentWillUnmount",value:function(){m(g(t.prototype),"componentWillUnmount",this).call(this);var e=this.props.leaflet.map;for(var r in e.off(u().Draw.Event.CREATED,this.onDrawCreate),D)this.props[r]&&e.off(D[r],this.props[r])}},{key:"componentDidUpdate",value:function(e){if(m(g(t.prototype),"componentDidUpdate",this).call(this,e),(0,i.A)(this.props.draw,e.draw)||this.props.position!==e.position)return!1;var r=this.props.leaflet.map;return this.leafletElement.remove(r),this.leafletElement=x(this.props),this.leafletElement.addTo(r),null}}])&&f(r.prototype,n),t}(c);function x(e){var t=e.leaflet.layerContainer,r=e.draw,n=e.edit,i=e.position,s={edit:h({},n,{featureGroup:t})};return r&&(s.draw=h({},r)),i&&(s.position=i),new l.Control.Draw(s)}v(E,"propTypes",h({},Object.keys(D).reduce((function(e,t){return e[t]=n.PropTypes.func,e}),{}),{onCreated:n.PropTypes.func,onMounted:n.PropTypes.func,draw:n.PropTypes.shape({polyline:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),polygon:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),rectangle:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),circle:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),marker:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool])}),edit:n.PropTypes.shape({edit:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),remove:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),poly:n.PropTypes.oneOfType([n.PropTypes.object,n.PropTypes.bool]),allowIntersection:n.PropTypes.bool}),position:n.PropTypes.oneOf(["topright","topleft","bottomright","bottomleft"]),leaflet:n.PropTypes.shape({map:n.PropTypes.instanceOf(l.Map),layerContainer:n.PropTypes.shape({addLayer:n.PropTypes.func.isRequired,removeLayer:n.PropTypes.func.isRequired})})}));const w=(0,p.k0)(E)},70035:(e,t)=>{var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.server_context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case a:case o:case h:case d:return e;default:switch(e=e&&e.$$typeof){case c:case u:case p:case m:case f:case l:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference"),t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=s,t.Lazy=m,t.Memo=f,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.SuspenseList=d,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return y(e)===u},t.isContextProvider=function(e){return y(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return y(e)===p},t.isFragment=function(e){return y(e)===s},t.isLazy=function(e){return y(e)===m},t.isMemo=function(e){return y(e)===f},t.isPortal=function(e){return y(e)===i},t.isProfiler=function(e){return y(e)===a},t.isStrictMode=function(e){return y(e)===o},t.isSuspense=function(e){return y(e)===h},t.isSuspenseList=function(e){return y(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===a||e===o||e===h||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===l||e.$$typeof===u||e.$$typeof===p||e.$$typeof===r||void 0!==e.getModuleId)},t.typeOf=y},70508:(e,t,r)=>{r.d(t,{Y1:()=>E,_m:()=>D});var n=r(70161),i=r(96196),s=r(6022),o=r(58716),a=r(96652),l="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function u(e){cancelAnimationFrame(e.id)}var c=-1;function p(e){if(void 0===e&&(e=!1),-1===c||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),c=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return c}var h=null;function d(e){if(void 0===e&&(e=!1),null===h||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?h="positive-descending":(t.scrollLeft=1,h=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),h}return h}var f=function(e,t){return e};function m(e){var t,r=e.getItemOffset,c=e.getEstimatedTotalSize,h=e.getItemSize,m=e.getOffsetForIndexAndAlignment,y=e.getStartIndexForOffset,b=e.getStopIndexForStartIndex,v=e.initInstanceProps,D=e.shouldResetStyleCacheOnItemSizeChange,E=e.validateProps;return t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=v(n.props,(0,i.A)(n)),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:(0,i.A)(n),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=(0,o.A)((function(e,t,r,i){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=(0,o.A)((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,i=n.props,s=i.direction,o=i.itemSize,a=i.layout,l=n._getItemStyleCache(D&&o,D&&a,D&&s);if(l.hasOwnProperty(e))t=l[e];else{var u=r(n.props,e,n._instanceProps),c=h(n.props,e,n._instanceProps),p="horizontal"===s||"horizontal"===a,d="rtl"===s,f=p?u:0;l[e]=t={position:"absolute",left:d?void 0:f,right:d?f:void 0,top:p?0:u,height:p?"100%":c,width:p?c:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=(0,o.A)((function(e,t,r){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,i=t.scrollLeft,s=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===i)return null;var t=n.props.direction,o=i;if("rtl"===t)switch(d()){case"negative":o=-i;break;case"positive-descending":o=s-r-i}return o=Math.max(0,Math.min(o,s-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:o,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,i=t.scrollHeight,s=t.scrollTop;n.setState((function(e){if(e.scrollOffset===s)return null;var t=Math.max(0,Math.min(s,i-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r,i;null!==n._resetIsScrollingTimeoutId&&u(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=150,r=l(),i={id:requestAnimationFrame((function n(){l()-r>=t?e.call(null):i.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}(0,s.A)(t,e),t.getDerivedStateFromProps=function(e,t){return g(e,t),E(e),null};var x=t.prototype;return x.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},x.scrollToItem=function(e,t){void 0===t&&(t="auto");var r=this.props,n=r.itemCount,i=r.layout,s=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1));var o=0;if(this._outerRef){var a=this._outerRef;o="vertical"===i?a.scrollWidth>a.clientWidth?p():0:a.scrollHeight>a.clientHeight?p():0}this.scrollTo(m(this.props,e,t,s,this._instanceProps,o))},x.componentDidMount=function(){var e=this.props,t=e.direction,r=e.initialScrollOffset,n=e.layout;if("number"==typeof r&&null!=this._outerRef){var i=this._outerRef;"horizontal"===t||"horizontal"===n?i.scrollLeft=r:i.scrollTop=r}this._callPropsCallbacks()},x.componentDidUpdate=function(){var e=this.props,t=e.direction,r=e.layout,n=this.state,i=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var s=this._outerRef;if("horizontal"===t||"horizontal"===r)if("rtl"===t)switch(d()){case"negative":s.scrollLeft=-i;break;case"positive-ascending":s.scrollLeft=i;break;default:var o=s.clientWidth,a=s.scrollWidth;s.scrollLeft=a-o-i}else s.scrollLeft=i;else s.scrollTop=i}this._callPropsCallbacks()},x.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&u(this._resetIsScrollingTimeoutId)},x.render=function(){var e=this.props,t=e.children,r=e.className,i=e.direction,s=e.height,o=e.innerRef,l=e.innerElementType,u=e.innerTagName,p=e.itemCount,h=e.itemData,d=e.itemKey,m=void 0===d?f:d,g=e.layout,y=e.outerElementType,b=e.outerTagName,v=e.style,D=e.useIsScrolling,E=e.width,x=this.state.isScrolling,w="horizontal"===i||"horizontal"===g,S=w?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),A=C[0],T=C[1],P=[];if(p>0)for(var F=A;F<=T;F++)P.push((0,a.createElement)(t,{data:h,key:m(F,h),index:F,isScrolling:D?x:void 0,style:this._getItemStyle(F)}));var I=c(this.props,this._instanceProps);return(0,a.createElement)(y||b||"div",{className:r,onScroll:S,ref:this._outerRefSetter,style:(0,n.A)({position:"relative",height:s,width:E,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},v)},(0,a.createElement)(l||u||"div",{children:P,ref:o,style:{height:w?"100%":I,pointerEvents:x?"none":void 0,width:w?I:"100%"}}))},x._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],r=e[1],n=e[2],i=e[3];this._callOnItemsRendered(t,r,n,i)}if("function"==typeof this.props.onScroll){var s=this.state,o=s.scrollDirection,a=s.scrollOffset,l=s.scrollUpdateWasRequested;this._callOnScroll(o,a,l)}},x._getRangeToRender=function(){var e=this.props,t=e.itemCount,r=e.overscanCount,n=this.state,i=n.isScrolling,s=n.scrollDirection,o=n.scrollOffset;if(0===t)return[0,0,0,0];var a=y(this.props,o,this._instanceProps),l=b(this.props,a,o,this._instanceProps),u=i&&"backward"!==s?1:Math.max(1,r),c=i&&"forward"!==s?1:Math.max(1,r);return[Math.max(0,a-u),Math.max(0,Math.min(t-1,l+c)),a,l]},t}(a.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var g=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},y=function(e,t,r){var n=e.itemSize,i=r.itemMetadataMap,s=r.lastMeasuredIndex;if(t>s){var o=0;if(s>=0){var a=i[s];o=a.offset+a.size}for(var l=s+1;l<=t;l++){var u=n(l);i[l]={offset:o,size:u},o+=u}r.lastMeasuredIndex=t}return i[t]},b=function(e,t,r,n,i){for(;n<=r;){var s=n+Math.floor((r-n)/2),o=y(e,s,t).offset;if(o===i)return s;o<i?n=s+1:o>i&&(r=s-1)}return n>0?n-1:0},v=function(e,t){var r=e.itemCount,n=t.itemMetadataMap,i=t.estimatedItemSize,s=t.lastMeasuredIndex,o=0;if(s>=r&&(s=r-1),s>=0){var a=n[s];o=a.offset+a.size}return o+(r-s-1)*i},D=m({getItemOffset:function(e,t,r){return y(e,t,r).offset},getItemSize:function(e,t,r){return r.itemMetadataMap[t].size},getEstimatedTotalSize:v,getOffsetForIndexAndAlignment:function(e,t,r,n,i,s){var o=e.direction,a=e.height,l=e.layout,u=e.width,c="horizontal"===o||"horizontal"===l?u:a,p=y(e,t,i),h=v(e,i),d=Math.max(0,Math.min(h-c,p.offset)),f=Math.max(0,p.offset-c+p.size+s);switch("smart"===r&&(r=n>=f-c&&n<=d+c?"auto":"center"),r){case"start":return d;case"end":return f;case"center":return Math.round(f+(d-f)/2);default:return n>=f&&n<=d?n:n<f?f:d}},getStartIndexForOffset:function(e,t,r){return function(e,t,r){var n=t.itemMetadataMap,i=t.lastMeasuredIndex;return(i>0?n[i].offset:0)>=r?b(e,t,i,0,r):function(e,t,r,n){for(var i=e.itemCount,s=1;r<i&&y(e,r,t).offset<n;)r+=s,s*=2;return b(e,t,Math.min(r,i-1),Math.floor(r/2),n)}(e,t,Math.max(0,i),r)}(e,r,t)},getStopIndexForStartIndex:function(e,t,r,n){for(var i=e.direction,s=e.height,o=e.itemCount,a=e.layout,l=e.width,u="horizontal"===i||"horizontal"===a?l:s,c=y(e,t,n),p=r+u,h=c.offset+c.size,d=t;d<o-1&&h<p;)d++,h+=y(e,d,n).size;return d},initInstanceProps:function(e,t){var r={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),n&&t.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),E=m({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,r,n,i,s){var o=e.direction,a=e.height,l=e.itemCount,u=e.itemSize,c=e.layout,p=e.width,h="horizontal"===o||"horizontal"===c?p:a,d=Math.max(0,l*u-h),f=Math.min(d,t*u),m=Math.max(0,t*u-h+u+s);switch("smart"===r&&(r=n>=m-h&&n<=f+h?"auto":"center"),r){case"start":return f;case"end":return m;case"center":var g=Math.round(m+(f-m)/2);return g<Math.ceil(h/2)?0:g>d+Math.floor(h/2)?d:g;default:return n>=m&&n<=f?n:n<m?m:f}},getStartIndexForOffset:function(e,t){var r=e.itemCount,n=e.itemSize;return Math.max(0,Math.min(r-1,Math.floor(t/n)))},getStopIndexForStartIndex:function(e,t,r){var n=e.direction,i=e.height,s=e.itemCount,o=e.itemSize,a=e.layout,l=e.width,u=t*o,c="horizontal"===n||"horizontal"===a?l:i,p=Math.ceil((c+r-u)/o);return Math.max(0,Math.min(s-1,t+p-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}})},71267:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},71524:(e,t,r)=>{var n=r(65994).e;function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var s=r(79696),o=r(51048),a=s.Buffer,l=s.kMaxLength,u=r.g.crypto||r.g.msCrypto,c=Math.pow(2,32)-1;function p(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>l)throw new RangeError("buffer too small")}function d(e,t,r,i){if(n.browser){var s=e.buffer,a=new Uint8Array(s,t,r);return u.getRandomValues(a),i?void n.nextTick((function(){i(null,e)})):e}if(!i)return o(r).copy(e,t),e;o(r,(function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)}))}u&&u.getRandomValues||!n.browser?(t.randomFill=function(e,t,n,i){if(!(a.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,n=e.length;else if("function"==typeof n)i=n,n=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return p(t,e.length),h(n,t,e.length),d(e,t,n,i)},t.randomFillSync=function(e,t,n){if(void 0===t&&(t=0),!(a.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return p(t,e.length),void 0===n&&(n=e.length-t),h(n,t,e.length),d(e,t,n)}):(t.randomFill=i,t.randomFillSync=i)},71563:(e,t,r)=>{const n=r(92248);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},71607:e=>{e.exports=function(e,t){if("function"!=typeof e)throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let r,n=0;return function(...i){clearTimeout(r);const s=Date.now(),o=t-(s-n);o<=0?(n=s,e.apply(this,i)):r=setTimeout((()=>{n=Date.now(),e.apply(this,i)}),o)}}},72287:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(70161),i=r(96196),s=r(6022),o=r(31500),a=r(96652),l=/^on(.+)$/i,u=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,o.A)((0,i.A)(r),"_leafletEvents",void 0),(0,o.A)((0,i.A)(r),"leafletElement",void 0),r._leafletEvents=r.extractLeafletEvents(t),r}(0,s.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.bindLeafletEvents(this._leafletEvents)},r.componentDidUpdate=function(e){this._leafletEvents=this.bindLeafletEvents(this.extractLeafletEvents(this.props),this._leafletEvents)},r.componentWillUnmount=function(){var e=this,t=this.leafletElement;t&&Object.keys(this._leafletEvents).forEach((function(r){t.off(r,e._leafletEvents[r])}))},r.extractLeafletEvents=function(e){return Object.keys(e).reduce((function(t,r){return l.test(r)&&null!=e[r]&&(t[r.replace(l,(function(e,t){return t.toLowerCase()}))]=e[r]),t}),{})},r.bindLeafletEvents=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var r=this.leafletElement;if(null==r||null==r.on)return{};var i=(0,n.A)({},t);return Object.keys(t).forEach((function(n){null!=e[n]&&t[n]===e[n]||(delete i[n],r.off(n,t[n]))})),Object.keys(e).forEach((function(n){null!=t[n]&&e[n]===t[n]||(i[n]=e[n],r.on(n,e[n]))})),i},r.fireLeafletEvent=function(e,t){var r=this.leafletElement;r&&r.fire(e,t)},t}(a.Component)},73047:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},73429:(e,t,r)=>{function n(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)}r.d(t,{g:()=>n})},75722:function(e,t,r){!function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function s(e,t,r){if(s.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"==typeof e?e.exports=s:t.BN=s,s.BN=s,s.wordSize=26;try{o="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(67787).Buffer}catch(e){}function a(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=a(e,r);return r-1>=t&&(n|=a(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,s=Math.min(e.length,r),o=t;o<s;o++){var a=e.charCodeAt(o)-48;i*=n,i+=a>=49?a-49+10:a>=17?a-17+10:a}return i}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var s,o,a=0;if("be"===r)for(i=e.length-1,s=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);else if("le"===r)for(i=0,s=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[s]|=o<<a&67108863,this.words[s+1]=o>>>26-a&67108863,(a+=24)>=26&&(a-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,s=0,o=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<s,this.words[o]|=67108863&i,s>=18?(s-=18,o+=1,this.words[o]|=i>>>26):s+=8;this.strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var s=e.length-r,o=s%n,a=Math.min(s,s-o)+r,l=0,c=r;c<a;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==o){var p=1;for(l=u(e,c,e.length,t),c=0;c<o;c++)p*=t;this.imuln(p),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},s.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},s.prototype.clone=function(){var e=new s(null);return this.copy(e),e},s.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],s=0|t.words[0],o=i*s,a=67108863&o,l=o/67108864|0;r.words[0]=a;for(var u=1;u<n;u++){for(var c=l>>>26,p=67108863&l,h=Math.min(u,t.length-1),d=Math.max(0,u-e.length+1);d<=h;d++){var f=u-d|0;c+=(o=(i=0|e.words[f])*(s=0|t.words[d])+p)/67108864|0,p=67108863&o}r.words[u]=0|p,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}s.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,s=0,o=0;o<this.length;o++){var a=this.words[o],l=(16777215&(a<<i|s)).toString(16);r=0!=(s=a>>>24-i&16777215)||o!==this.length-1?c[6-l.length]+l+r:l+r,(i+=2)>=26&&(i-=26,o--)}for(0!==s&&(r=s.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=p[e],d=h[e];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modn(d).toString(e);r=(f=f.idivn(d)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==o),this.toArrayLike(o,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),s=r||Math.max(1,i);n(i<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var o,a,l="le"===t,u=new e(s),c=this.clone();if(l){for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),u[a]=o;for(;a<s;a++)u[a]=0}else{for(a=0;a<s-i;a++)u[a]=0;for(a=0;!c.isZero();a++)o=c.andln(255),c.iushrn(8),u[s-a-1]=o}return u},Math.clz32?s.prototype._countBits=function(e){return 32-Math.clz32(e)}:s.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},s.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},s.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},s.prototype.ior=function(e){return n(!(this.negative|e.negative)),this.iuor(e)},s.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},s.prototype.iand=function(e){return n(!(this.negative|e.negative)),this.iuand(e)},s.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},s.prototype.ixor=function(e){return n(!(this.negative|e.negative)),this.iuxor(e)},s.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},s.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s<n.length;s++)t=(0|r.words[s])+(0|n.words[s])+i,this.words[s]=67108863&t,i=t>>>26;for(;0!==i&&s<r.length;s++)t=(0|r.words[s])+i,this.words[s]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;s<r.length;s++)this.words[s]=r.words[s];return this},s.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var s=0,o=0;o<n.length;o++)s=(t=(0|r.words[o])-(0|n.words[o])+s)>>26,this.words[o]=67108863&t;for(;0!==s&&o<r.length;o++)s=(t=(0|r.words[o])+s)>>26,this.words[o]=67108863&t;if(0===s&&o<r.length&&r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this.length=Math.max(this.length,o),r!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(e){return this.clone().isub(e)};var f=function(e,t,r){var n,i,s,o=e.words,a=t.words,l=r.words,u=0,c=0|o[0],p=8191&c,h=c>>>13,d=0|o[1],f=8191&d,m=d>>>13,g=0|o[2],y=8191&g,b=g>>>13,v=0|o[3],D=8191&v,E=v>>>13,x=0|o[4],w=8191&x,S=x>>>13,C=0|o[5],A=8191&C,T=C>>>13,P=0|o[6],F=8191&P,I=P>>>13,N=0|o[7],k=8191&N,_=N>>>13,O=0|o[8],M=8191&O,L=O>>>13,B=0|o[9],R=8191&B,j=B>>>13,$=0|a[0],U=8191&$,z=$>>>13,V=0|a[1],W=8191&V,H=V>>>13,q=0|a[2],G=8191&q,K=q>>>13,X=0|a[3],J=8191&X,Y=X>>>13,Z=0|a[4],Q=8191&Z,ee=Z>>>13,te=0|a[5],re=8191&te,ne=te>>>13,ie=0|a[6],se=8191&ie,oe=ie>>>13,ae=0|a[7],le=8191&ae,ue=ae>>>13,ce=0|a[8],pe=8191&ce,he=ce>>>13,de=0|a[9],fe=8191&de,me=de>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(p,U))|0)+((8191&(i=(i=Math.imul(p,z))+Math.imul(h,U)|0))<<13)|0;u=((s=Math.imul(h,z))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(f,U),i=(i=Math.imul(f,z))+Math.imul(m,U)|0,s=Math.imul(m,z);var ye=(u+(n=n+Math.imul(p,W)|0)|0)+((8191&(i=(i=i+Math.imul(p,H)|0)+Math.imul(h,W)|0))<<13)|0;u=((s=s+Math.imul(h,H)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(y,U),i=(i=Math.imul(y,z))+Math.imul(b,U)|0,s=Math.imul(b,z),n=n+Math.imul(f,W)|0,i=(i=i+Math.imul(f,H)|0)+Math.imul(m,W)|0,s=s+Math.imul(m,H)|0;var be=(u+(n=n+Math.imul(p,G)|0)|0)+((8191&(i=(i=i+Math.imul(p,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((s=s+Math.imul(h,K)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(D,U),i=(i=Math.imul(D,z))+Math.imul(E,U)|0,s=Math.imul(E,z),n=n+Math.imul(y,W)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(b,W)|0,s=s+Math.imul(b,H)|0,n=n+Math.imul(f,G)|0,i=(i=i+Math.imul(f,K)|0)+Math.imul(m,G)|0,s=s+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(p,J)|0)|0)+((8191&(i=(i=i+Math.imul(p,Y)|0)+Math.imul(h,J)|0))<<13)|0;u=((s=s+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(w,U),i=(i=Math.imul(w,z))+Math.imul(S,U)|0,s=Math.imul(S,z),n=n+Math.imul(D,W)|0,i=(i=i+Math.imul(D,H)|0)+Math.imul(E,W)|0,s=s+Math.imul(E,H)|0,n=n+Math.imul(y,G)|0,i=(i=i+Math.imul(y,K)|0)+Math.imul(b,G)|0,s=s+Math.imul(b,K)|0,n=n+Math.imul(f,J)|0,i=(i=i+Math.imul(f,Y)|0)+Math.imul(m,J)|0,s=s+Math.imul(m,Y)|0;var De=(u+(n=n+Math.imul(p,Q)|0)|0)+((8191&(i=(i=i+Math.imul(p,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((s=s+Math.imul(h,ee)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(A,U),i=(i=Math.imul(A,z))+Math.imul(T,U)|0,s=Math.imul(T,z),n=n+Math.imul(w,W)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(S,W)|0,s=s+Math.imul(S,H)|0,n=n+Math.imul(D,G)|0,i=(i=i+Math.imul(D,K)|0)+Math.imul(E,G)|0,s=s+Math.imul(E,K)|0,n=n+Math.imul(y,J)|0,i=(i=i+Math.imul(y,Y)|0)+Math.imul(b,J)|0,s=s+Math.imul(b,Y)|0,n=n+Math.imul(f,Q)|0,i=(i=i+Math.imul(f,ee)|0)+Math.imul(m,Q)|0,s=s+Math.imul(m,ee)|0;var Ee=(u+(n=n+Math.imul(p,re)|0)|0)+((8191&(i=(i=i+Math.imul(p,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((s=s+Math.imul(h,ne)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(F,U),i=(i=Math.imul(F,z))+Math.imul(I,U)|0,s=Math.imul(I,z),n=n+Math.imul(A,W)|0,i=(i=i+Math.imul(A,H)|0)+Math.imul(T,W)|0,s=s+Math.imul(T,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(S,G)|0,s=s+Math.imul(S,K)|0,n=n+Math.imul(D,J)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(E,J)|0,s=s+Math.imul(E,Y)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(b,Q)|0,s=s+Math.imul(b,ee)|0,n=n+Math.imul(f,re)|0,i=(i=i+Math.imul(f,ne)|0)+Math.imul(m,re)|0,s=s+Math.imul(m,ne)|0;var xe=(u+(n=n+Math.imul(p,se)|0)|0)+((8191&(i=(i=i+Math.imul(p,oe)|0)+Math.imul(h,se)|0))<<13)|0;u=((s=s+Math.imul(h,oe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,U),i=(i=Math.imul(k,z))+Math.imul(_,U)|0,s=Math.imul(_,z),n=n+Math.imul(F,W)|0,i=(i=i+Math.imul(F,H)|0)+Math.imul(I,W)|0,s=s+Math.imul(I,H)|0,n=n+Math.imul(A,G)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(T,G)|0,s=s+Math.imul(T,K)|0,n=n+Math.imul(w,J)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(S,J)|0,s=s+Math.imul(S,Y)|0,n=n+Math.imul(D,Q)|0,i=(i=i+Math.imul(D,ee)|0)+Math.imul(E,Q)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(y,re)|0,i=(i=i+Math.imul(y,ne)|0)+Math.imul(b,re)|0,s=s+Math.imul(b,ne)|0,n=n+Math.imul(f,se)|0,i=(i=i+Math.imul(f,oe)|0)+Math.imul(m,se)|0,s=s+Math.imul(m,oe)|0;var we=(u+(n=n+Math.imul(p,le)|0)|0)+((8191&(i=(i=i+Math.imul(p,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((s=s+Math.imul(h,ue)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(M,U),i=(i=Math.imul(M,z))+Math.imul(L,U)|0,s=Math.imul(L,z),n=n+Math.imul(k,W)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(_,W)|0,s=s+Math.imul(_,H)|0,n=n+Math.imul(F,G)|0,i=(i=i+Math.imul(F,K)|0)+Math.imul(I,G)|0,s=s+Math.imul(I,K)|0,n=n+Math.imul(A,J)|0,i=(i=i+Math.imul(A,Y)|0)+Math.imul(T,J)|0,s=s+Math.imul(T,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(S,Q)|0,s=s+Math.imul(S,ee)|0,n=n+Math.imul(D,re)|0,i=(i=i+Math.imul(D,ne)|0)+Math.imul(E,re)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(y,se)|0,i=(i=i+Math.imul(y,oe)|0)+Math.imul(b,se)|0,s=s+Math.imul(b,oe)|0,n=n+Math.imul(f,le)|0,i=(i=i+Math.imul(f,ue)|0)+Math.imul(m,le)|0,s=s+Math.imul(m,ue)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,he)|0)+Math.imul(h,pe)|0))<<13)|0;u=((s=s+Math.imul(h,he)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(R,U),i=(i=Math.imul(R,z))+Math.imul(j,U)|0,s=Math.imul(j,z),n=n+Math.imul(M,W)|0,i=(i=i+Math.imul(M,H)|0)+Math.imul(L,W)|0,s=s+Math.imul(L,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(_,G)|0,s=s+Math.imul(_,K)|0,n=n+Math.imul(F,J)|0,i=(i=i+Math.imul(F,Y)|0)+Math.imul(I,J)|0,s=s+Math.imul(I,Y)|0,n=n+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(T,Q)|0,s=s+Math.imul(T,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(S,re)|0,s=s+Math.imul(S,ne)|0,n=n+Math.imul(D,se)|0,i=(i=i+Math.imul(D,oe)|0)+Math.imul(E,se)|0,s=s+Math.imul(E,oe)|0,n=n+Math.imul(y,le)|0,i=(i=i+Math.imul(y,ue)|0)+Math.imul(b,le)|0,s=s+Math.imul(b,ue)|0,n=n+Math.imul(f,pe)|0,i=(i=i+Math.imul(f,he)|0)+Math.imul(m,pe)|0,s=s+Math.imul(m,he)|0;var Ce=(u+(n=n+Math.imul(p,fe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(h,fe)|0))<<13)|0;u=((s=s+Math.imul(h,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(R,W),i=(i=Math.imul(R,H))+Math.imul(j,W)|0,s=Math.imul(j,H),n=n+Math.imul(M,G)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(L,G)|0,s=s+Math.imul(L,K)|0,n=n+Math.imul(k,J)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(_,J)|0,s=s+Math.imul(_,Y)|0,n=n+Math.imul(F,Q)|0,i=(i=i+Math.imul(F,ee)|0)+Math.imul(I,Q)|0,s=s+Math.imul(I,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(T,re)|0,s=s+Math.imul(T,ne)|0,n=n+Math.imul(w,se)|0,i=(i=i+Math.imul(w,oe)|0)+Math.imul(S,se)|0,s=s+Math.imul(S,oe)|0,n=n+Math.imul(D,le)|0,i=(i=i+Math.imul(D,ue)|0)+Math.imul(E,le)|0,s=s+Math.imul(E,ue)|0,n=n+Math.imul(y,pe)|0,i=(i=i+Math.imul(y,he)|0)+Math.imul(b,pe)|0,s=s+Math.imul(b,he)|0;var Ae=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(m,fe)|0))<<13)|0;u=((s=s+Math.imul(m,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(R,G),i=(i=Math.imul(R,K))+Math.imul(j,G)|0,s=Math.imul(j,K),n=n+Math.imul(M,J)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(L,J)|0,s=s+Math.imul(L,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(_,Q)|0,s=s+Math.imul(_,ee)|0,n=n+Math.imul(F,re)|0,i=(i=i+Math.imul(F,ne)|0)+Math.imul(I,re)|0,s=s+Math.imul(I,ne)|0,n=n+Math.imul(A,se)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(T,se)|0,s=s+Math.imul(T,oe)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(S,le)|0,s=s+Math.imul(S,ue)|0,n=n+Math.imul(D,pe)|0,i=(i=i+Math.imul(D,he)|0)+Math.imul(E,pe)|0,s=s+Math.imul(E,he)|0;var Te=(u+(n=n+Math.imul(y,fe)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(b,fe)|0))<<13)|0;u=((s=s+Math.imul(b,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(R,J),i=(i=Math.imul(R,Y))+Math.imul(j,J)|0,s=Math.imul(j,Y),n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(L,Q)|0,s=s+Math.imul(L,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(_,re)|0,s=s+Math.imul(_,ne)|0,n=n+Math.imul(F,se)|0,i=(i=i+Math.imul(F,oe)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,oe)|0,n=n+Math.imul(A,le)|0,i=(i=i+Math.imul(A,ue)|0)+Math.imul(T,le)|0,s=s+Math.imul(T,ue)|0,n=n+Math.imul(w,pe)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(S,pe)|0,s=s+Math.imul(S,he)|0;var Pe=(u+(n=n+Math.imul(D,fe)|0)|0)+((8191&(i=(i=i+Math.imul(D,me)|0)+Math.imul(E,fe)|0))<<13)|0;u=((s=s+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(R,Q),i=(i=Math.imul(R,ee))+Math.imul(j,Q)|0,s=Math.imul(j,ee),n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(L,re)|0,s=s+Math.imul(L,ne)|0,n=n+Math.imul(k,se)|0,i=(i=i+Math.imul(k,oe)|0)+Math.imul(_,se)|0,s=s+Math.imul(_,oe)|0,n=n+Math.imul(F,le)|0,i=(i=i+Math.imul(F,ue)|0)+Math.imul(I,le)|0,s=s+Math.imul(I,ue)|0,n=n+Math.imul(A,pe)|0,i=(i=i+Math.imul(A,he)|0)+Math.imul(T,pe)|0,s=s+Math.imul(T,he)|0;var Fe=(u+(n=n+Math.imul(w,fe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(S,fe)|0))<<13)|0;u=((s=s+Math.imul(S,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,n=Math.imul(R,re),i=(i=Math.imul(R,ne))+Math.imul(j,re)|0,s=Math.imul(j,ne),n=n+Math.imul(M,se)|0,i=(i=i+Math.imul(M,oe)|0)+Math.imul(L,se)|0,s=s+Math.imul(L,oe)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(_,le)|0,s=s+Math.imul(_,ue)|0,n=n+Math.imul(F,pe)|0,i=(i=i+Math.imul(F,he)|0)+Math.imul(I,pe)|0,s=s+Math.imul(I,he)|0;var Ie=(u+(n=n+Math.imul(A,fe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(T,fe)|0))<<13)|0;u=((s=s+Math.imul(T,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(R,se),i=(i=Math.imul(R,oe))+Math.imul(j,se)|0,s=Math.imul(j,oe),n=n+Math.imul(M,le)|0,i=(i=i+Math.imul(M,ue)|0)+Math.imul(L,le)|0,s=s+Math.imul(L,ue)|0,n=n+Math.imul(k,pe)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(_,pe)|0,s=s+Math.imul(_,he)|0;var Ne=(u+(n=n+Math.imul(F,fe)|0)|0)+((8191&(i=(i=i+Math.imul(F,me)|0)+Math.imul(I,fe)|0))<<13)|0;u=((s=s+Math.imul(I,me)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(R,le),i=(i=Math.imul(R,ue))+Math.imul(j,le)|0,s=Math.imul(j,ue),n=n+Math.imul(M,pe)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(L,pe)|0,s=s+Math.imul(L,he)|0;var ke=(u+(n=n+Math.imul(k,fe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(_,fe)|0))<<13)|0;u=((s=s+Math.imul(_,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(R,pe),i=(i=Math.imul(R,he))+Math.imul(j,pe)|0,s=Math.imul(j,he);var _e=(u+(n=n+Math.imul(M,fe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(L,fe)|0))<<13)|0;u=((s=s+Math.imul(L,me)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863;var Oe=(u+(n=Math.imul(R,fe))|0)+((8191&(i=(i=Math.imul(R,me))+Math.imul(j,fe)|0))<<13)|0;return u=((s=Math.imul(j,me))+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,l[0]=ge,l[1]=ye,l[2]=be,l[3]=ve,l[4]=De,l[5]=Ee,l[6]=xe,l[7]=we,l[8]=Se,l[9]=Ce,l[10]=Ae,l[11]=Te,l[12]=Pe,l[13]=Fe,l[14]=Ie,l[15]=Ne,l[16]=ke,l[17]=_e,l[18]=Oe,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(f=d),s.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?f(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,s=0;s<r.length-1;s++){var o=i;i=0;for(var a=67108863&n,l=Math.min(s,t.length-1),u=Math.max(0,s-e.length+1);u<=l;u++){var c=s-u,p=(0|e.words[c])*(0|t.words[u]),h=67108863&p;a=67108863&(h=h+a|0),i+=(o=(o=o+(p/67108864|0)|0)+(h>>>26)|0)>>>26,o&=67108863}r.words[s]=a,n=o,o=i}return 0!==n?r.words[s]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,s){for(var o=0;o<s;o++)n[o]=t[e[o]],i[o]=r[e[o]]},g.prototype.transform=function(e,t,r,n,i,s){this.permute(s,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var a=o<<1,l=Math.cos(2*Math.PI/a),u=Math.sin(2*Math.PI/a),c=0;c<i;c+=a)for(var p=l,h=u,d=0;d<o;d++){var f=r[c+d],m=n[c+d],g=r[c+d+o],y=n[c+d+o],b=p*g-h*y;y=p*y+h*g,g=b,r[c+d]=f+g,n[c+d]=m+y,r[c+d+o]=f-g,n[c+d+o]=m-y,d!==a&&(b=l*p-u*h,h=l*h+u*p,p=b)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var s=0,o=0;o<t;o++)s+=0|e[o],r[2*o]=8191&s,s>>>=13,r[2*o+1]=8191&s,s>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===s),n(!(-8192&s))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),s=this.stub(n),o=new Array(n),a=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),p=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,s,a,l,n,i),this.transform(u,s,c,p,n,i);for(var d=0;d<n;d++){var f=a[d]*c[d]-l[d]*p[d];l[d]=a[d]*p[d]+l[d]*c[d],a[d]=f}return this.conjugate(a,l,n),this.transform(a,l,h,s,n,i),this.conjugate(h,s,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},s.prototype.mul=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},s.prototype.mulf=function(e){var t=new s(null);return t.words=new Array(this.length+e.length),m(this,e,t)},s.prototype.imul=function(e){return this.clone().mulTo(e,this)},s.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,s=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=s>>>26,this.words[r]=67108863&s}return 0!==t&&(this.words[r]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new s(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},s.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var a=this.words[t]&s,l=(0|this.words[t])-a<<r;this.words[t]=l|o,o=a>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},s.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},s.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var s=e%26,o=Math.min((e-s)/26,this.length),a=67108863^67108863>>>s<<s,l=r;if(i-=o,i=Math.max(0,i),l){for(var u=0;u<o;u++)l.words[u]=this.words[u];l.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var p=0|this.words[u];this.words[u]=c<<26-s|p>>>s,c=p&a}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r||!(this.words[r]&i))},s.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},s.prototype.maskn=function(e){return this.clone().imaskn(e)},s.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},s.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},s.prototype.addn=function(e){return this.clone().iaddn(e)},s.prototype.subn=function(e){return this.clone().isubn(e)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(e,t,r){var i,s,o=e.length+r;this._expand(o);var a=0;for(i=0;i<e.length;i++){s=(0|this.words[i+r])+a;var l=(0|e.words[i])*t;a=((s-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&s}for(;i<this.length-r;i++)a=(s=(0|this.words[i+r])+a)>>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i<this.length;i++)a=(s=-(0|this.words[i])+a)>>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,o=0|i.words[i.length-1];0!=(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var a,l=n.length-i.length;if("mod"!==t){(a=new s(null)).length=l+1,a.words=new Array(a.length);for(var u=0;u<a.length;u++)a.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,a&&(a.words[l]=1));for(var p=l-1;p>=0;p--){var h=67108864*(0|n.words[i.length+p])+(0|n.words[i.length+p-1]);for(h=Math.min(h/o|0,67108863),n._ishlnsubmul(i,h,p);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,p),n.isZero()||(n.negative^=1);a&&(a.words[p]=h)}return a&&a.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},s.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):this.negative&e.negative?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(o=a.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:a.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,o,a},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),s=r.cmp(n);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new s(1),o=new s(0),a=new s(0),l=new s(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),p=t.clone();!t.isZero();){for(var h=0,d=1;!(t.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(c),o.isub(p)),i.iushrn(1),o.iushrn(1);for(var f=0,m=1;!(r.words[0]&m)&&f<26;++f,m<<=1);if(f>0)for(r.iushrn(f);f-- >0;)(a.isOdd()||l.isOdd())&&(a.iadd(c),l.isub(p)),a.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(a),o.isub(l)):(r.isub(t),a.isub(i),l.isub(o))}return{a,b:l,gcd:r.iushln(u)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new s(1),a=new s(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;!(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);for(var p=0,h=1;!(r.words[0]&h)&&p<26;++p,h<<=1);if(p>0)for(r.iushrn(p);p-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(a)):(r.isub(t),a.isub(o))}return(i=0===t.cmpn(1)?o:a).cmpn(0)<0&&i.iadd(e),i},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var s=t;t=r,r=s}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return!(1&this.words[0])},s.prototype.isOdd=function(){return!(1&~this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var s=i,o=r;0!==s&&o<this.length;o++){var a=0|this.words[o];s=(a+=s)>>>26,a&=67108863,this.words[o]=a}return 0!==s&&(this.words[o]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},s.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},s.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new w(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function D(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function w(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){w.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(v,b),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var s=e.words[9];for(t.words[t.length++]=s&r,i=10;i<e.length;i++){var o=0|e.words[i];e.words[i-10]=(o&r)<<4|s>>>22,s=o}s>>>=22,e.words[i-10]=s,0===s&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(D,b),i(E,b),i(x,b),x.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new D;else if("p192"===e)t=new E;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new x}return y[e]=t,t},w.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},w.prototype._verify2=function(e,t){n(!(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},w.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},w.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},w.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},w.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},w.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},w.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},w.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},w.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},w.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},w.prototype.isqr=function(e){return this.imul(e,e.clone())},w.prototype.sqr=function(e){return this.mul(e,e)},w.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var a=new s(1).toRed(this),l=a.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new s(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var p=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),f=o;0!==d.cmp(a);){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();n(g<f);var y=this.pow(p,new s(1).iushln(f-g-1));h=h.redMul(y),p=y.redSqr(),d=d.redMul(p),f=g}return h},w.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},w.prototype.pow=function(e,t){if(t.isZero())return new s(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new s(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],o=0,a=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var p=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==p||0!==o?(o<<=1,o|=p,(4==++a||0===n&&0===c)&&(i=this.mul(i,r[o]),a=0,o=0)):a=0}l=26}return i},w.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},w.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new S(e)},i(S,w),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},S.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},76023:(e,t,r)=>{t.pbkdf2=r(49659),t.pbkdf2Sync=r(31289)},76213:(e,t,r)=>{r.d(t,{s:()=>p});var n=r(95497),i=r(96652),s=r.n(i),o=r(33658);function a(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var l={};a(l,"useVisuallyHidden",(()=>c)),a(l,"VisuallyHidden",(()=>p));const u={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"};function c(e={}){let{style:t,isFocusable:r}=e,[n,s]=(0,i.useState)(!1),{focusProps:a}=(0,o.iQ)({isDisabled:!r,onFocusChange:s});return{visuallyHiddenProps:{...a,style:(0,i.useMemo)((()=>n?t:t?{...u,...t}:u),[n])}}}function p(e){let{children:t,elementType:r="div",isFocusable:i,style:o,...a}=e,{visuallyHiddenProps:l}=c(e);return s().createElement(r,(0,n.v6)(a,l),t)}},76843:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},78606:(e,t,r)=>{r.d(t,{vC:()=>x});var n=r(96652);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}r(10873);var s=["shift","alt","meta","mod","ctrl"],o={esc:"escape",return:"enter",".":"period",",":"comma","-":"slash"," ":"space","`":"backquote","#":"backslash","+":"bracketright",ShiftLeft:"shift",ShiftRight:"shift",AltLeft:"alt",AltRight:"alt",MetaLeft:"meta",MetaRight:"meta",OSLeft:"meta",OSRight:"meta",ControlLeft:"ctrl",ControlRight:"ctrl"};function a(e){return(o[e]||e).trim().toLowerCase().replace(/key|digit|numpad|arrow/,"")}function l(e,t){return void 0===t&&(t=","),"string"==typeof e?e.split(t):e}function u(e,t){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map((function(e){return a(e)}));return i({},{alt:r.includes("alt"),ctrl:r.includes("ctrl")||r.includes("control"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},{keys:r.filter((function(e){return!s.includes(e)}))})}"undefined"!=typeof document&&(document.addEventListener("keydown",(function(e){void 0!==e.key&&p([a(e.key),a(e.code)])})),document.addEventListener("keyup",(function(e){void 0!==e.key&&h([a(e.key),a(e.code)])}))),"undefined"!=typeof window&&window.addEventListener("blur",(function(){c.clear()}));var c=new Set;function p(e){var t=Array.isArray(e)?e:[e];c.has("meta")&&c.forEach((function(e){return!function(e){return s.includes(e)}(e)&&c.delete(e.toLowerCase())})),t.forEach((function(e){return c.add(e.toLowerCase())}))}function h(e){var t=Array.isArray(e)?e:[e];"meta"===e?c.clear():t.forEach((function(e){return c.delete(e.toLowerCase())}))}function d(e,t){var r=e.target;void 0===t&&(t=!1);var n=r&&r.tagName;return t instanceof Array?Boolean(n&&t&&t.some((function(e){return e.toLowerCase()===n.toLowerCase()}))):Boolean(n&&t&&!0===t)}var f=function(e,t,r){void 0===r&&(r=!1);var n,i,s=t.alt,o=t.meta,l=t.mod,u=t.shift,p=t.ctrl,h=t.keys,d=e.key,f=e.code,m=e.ctrlKey,g=e.metaKey,y=e.shiftKey,b=e.altKey,v=a(f),D=d.toLowerCase();if(!r){if(s===!b&&"alt"!==D)return!1;if(u===!y&&"shift"!==D)return!1;if(l){if(!g&&!m)return!1}else{if(o===!g&&"meta"!==D&&"os"!==D)return!1;if(p===!m&&"ctrl"!==D&&"control"!==D)return!1}}return!(!h||1!==h.length||!h.includes(D)&&!h.includes(v))||(h?(n=h,void 0===i&&(i=","),(Array.isArray(n)?n:n.split(i)).every((function(e){return c.has(e.trim().toLowerCase())}))):!h)},m=(0,n.createContext)(void 0),g=function(){return(0,n.useContext)(m)};function y(e,t){return e&&t&&"object"==typeof e&&"object"==typeof t?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce((function(r,n){return r&&y(e[n],t[n])}),!0):e===t}var b=(0,n.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),v=function(){return(0,n.useContext)(b)},D=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},E="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;function x(e,t,r,i){var s=(0,n.useRef)(null),o=(0,n.useRef)(!1),c=r instanceof Array?i instanceof Array?void 0:i:r,m=r instanceof Array?r:i instanceof Array?i:void 0,b=(0,n.useCallback)(t,null!=m?m:[]),x=(0,n.useRef)(b);x.current=m?b:t;var w=function(e){var t=(0,n.useRef)(void 0);return y(t.current,e)||(t.current=e),t.current}(c),S=v().enabledScopes,C=g();return E((function(){if(!1!==(null==w?void 0:w.enabled)&&(t=S,r=null==w?void 0:w.scopes,0===t.length&&r?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),1):!r||t.some((function(e){return r.includes(e)}))||t.includes("*"))){var t,r,n=function(t,r){var n;void 0===r&&(r=!1),(!d(t,["input","textarea","select"])||d(t,null==w?void 0:w.enableOnFormTags))&&(null===s.current||document.activeElement===s.current||s.current.contains(document.activeElement)?(null==(n=t.target)||!n.isContentEditable||null!=w&&w.enableOnContentEditable)&&l(e,null==w?void 0:w.splitKey).forEach((function(e){var n,i=u(e,null==w?void 0:w.combinationKey);if(f(t,i,null==w?void 0:w.ignoreModifiers)||null!=(n=i.keys)&&n.includes("*")){if(r&&o.current)return;if(function(e,t,r){("function"==typeof r&&r(e,t)||!0===r)&&e.preventDefault()}(t,i,null==w?void 0:w.preventDefault),!function(e,t,r){return"function"==typeof r?r(e,t):!0===r||void 0===r}(t,i,null==w?void 0:w.enabled))return void D(t);x.current(t,i),r||(o.current=!0)}})):D(t))},i=function(e){void 0!==e.key&&(p(a(e.code)),(void 0===(null==w?void 0:w.keydown)&&!0!==(null==w?void 0:w.keyup)||null!=w&&w.keydown)&&n(e))},m=function(e){void 0!==e.key&&(h(a(e.code)),o.current=!1,null!=w&&w.keyup&&n(e,!0))},g=s.current||(null==c?void 0:c.document)||document;return g.addEventListener("keyup",m),g.addEventListener("keydown",i),C&&l(e,null==w?void 0:w.splitKey).forEach((function(e){return C.addHotkey(u(e,null==w?void 0:w.combinationKey))})),function(){g.removeEventListener("keyup",m),g.removeEventListener("keydown",i),C&&l(e,null==w?void 0:w.splitKey).forEach((function(e){return C.removeHotkey(u(e,null==w?void 0:w.combinationKey))}))}}}),[e,w,S]),s}},79023:(e,t,r)=>{var n=r(25003),i=r(5038),s=r(38049),o=r(79696).Buffer,a=new Array(64);function l(){this.init(),this._w=a,s.call(this,64,56)}n(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},79101:(e,t,r)=>{var n=r(63713);e.exports=function(e){var t={init:[],preEmit:[],shouldEmit:[]},r=function e(r){var i={};return r.mixins&&r.mixins.forEach((function(t){n.extend(i,e(t))})),n.extend(i,r),Object.keys(t).forEach((function(e){r.hasOwnProperty(e)&&t[e].push(r[e])})),i}(e);return t.init.length>1&&(r.init=function(){var e=arguments;t.init.forEach((function(t){t.apply(this,e)}),this)}),t.preEmit.length>1&&(r.preEmit=function(){return t.preEmit.reduce(function(e,t){var r=t.apply(this,e);return void 0===r?e:[r]}.bind(this),arguments)}),t.shouldEmit.length>1&&(r.shouldEmit=function(){var e=arguments;return!t.shouldEmit.some((function(t){return!t.apply(this,e)}),this)}),Object.keys(t).forEach((function(e){1===t[e].length&&(r[e]=t[e][0])})),r}},79112:(e,t,r)=>{const n=r(98999),{PromisePrototypeThen:i,SymbolAsyncIterator:s,SymbolIterator:o}=r(12450),{Buffer:a}=r(67787),{ERR_INVALID_ARG_TYPE:l,ERR_STREAM_NULL_VALUES:u}=r(26503).codes;e.exports=function(e,t,r){let c,p;if("string"==typeof t||t instanceof a)return new e({objectMode:!0,...r,read(){this.push(t),this.push(null)}});if(t&&t[s])p=!0,c=t[s]();else{if(!t||!t[o])throw new l("iterable",["Iterable"],t);p=!1,c=t[o]()}const h=new e({objectMode:!0,highWaterMark:1,...r});let d=!1;return h._read=function(){d||(d=!0,async function(){for(;;){try{const{value:e,done:t}=p?await c.next():c.next();if(t)h.push(null);else{const t=e&&"function"==typeof e.then?await e:e;if(null===t)throw d=!1,new u;if(h.push(t))continue;d=!1}}catch(e){h.destroy(e)}break}}())},h._destroy=function(e,t){i(async function(e){const t=null!=e,r="function"==typeof c.throw;if(t&&r){const{value:t,done:r}=await c.throw(e);if(await t,r)return}if("function"==typeof c.return){const{value:e}=await c.return();await e}}(e),(()=>n.nextTick(t,e)),(r=>n.nextTick(t,r||e)))},h}},79337:(e,t,r)=>{const{ArrayIsArray:n,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:s,ArrayPrototypeMap:o,NumberIsInteger:a,NumberIsNaN:l,NumberMAX_SAFE_INTEGER:u,NumberMIN_SAFE_INTEGER:c,NumberParseInt:p,ObjectPrototypeHasOwnProperty:h,RegExpPrototypeExec:d,String:f,StringPrototypeToUpperCase:m,StringPrototypeTrim:g}=r(12450),{hideStackFrames:y,codes:{ERR_SOCKET_BAD_PORT:b,ERR_INVALID_ARG_TYPE:v,ERR_INVALID_ARG_VALUE:D,ERR_OUT_OF_RANGE:E,ERR_UNKNOWN_SIGNAL:x}}=r(26503),{normalizeEncoding:w}=r(46108),{isAsyncFunction:S,isArrayBufferView:C}=r(46108).types,A={},T=/^[0-7]+$/,P=y(((e,t,r=c,n=u)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,`>= ${r} && <= ${n}`,e)})),F=y(((e,t,r=-2147483648,n=2147483647)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);if(e<r||e>n)throw new E(t,`>= ${r} && <= ${n}`,e)})),I=y(((e,t,r=!1)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new E(t,"an integer",e);const n=r?1:0,i=4294967295;if(e<n||e>i)throw new E(t,`>= ${n} && <= ${i}`,e)}));function N(e,t){if("string"!=typeof e)throw new v(t,"string",e)}const k=y(((e,t,r)=>{if(!i(r,e)){const n=s(o(r,(e=>"string"==typeof e?`'${e}'`:f(e))),", ");throw new D(t,e,"must be one of: "+n)}}));function _(e,t){if("boolean"!=typeof e)throw new v(t,"boolean",e)}function O(e,t,r){return null!=e&&h(e,t)?e[t]:r}const M=y(((e,t,r=null)=>{const i=O(r,"allowArray",!1),s=O(r,"allowFunction",!1);if(!O(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!s||"function"!=typeof e))throw new v(t,"Object",e)})),L=y(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new v(t,"a dictionary",e)})),B=y(((e,t,r=0)=>{if(!n(e))throw new v(t,"Array",e);if(e.length<r)throw new D(t,e,`must be longer than ${r}`)})),R=y(((e,t="buffer")=>{if(!C(e))throw new v(t,["Buffer","TypedArray","DataView"],e)})),j=y(((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new v(t,"AbortSignal",e)})),$=y(((e,t)=>{if("function"!=typeof e)throw new v(t,"Function",e)})),U=y(((e,t)=>{if("function"!=typeof e||S(e))throw new v(t,"Function",e)})),z=y(((e,t)=>{if(void 0!==e)throw new v(t,"undefined",e)})),V=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W(e,t){if(void 0===e||!d(V,e))throw new D(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}e.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(void 0===e&&(e=r),"string"==typeof e){if(null===d(T,e))throw new D(t,e,"must be a 32-bit unsigned integer or an octal string");e=p(e,8)}return I(e,t),e},validateArray:B,validateStringArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++)N(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++)_(e[r],`${t}[${r}]`)},validateAbortSignalArray:function(e,t){B(e,t);for(let r=0;r<e.length;r++){const n=e[r],i=`${t}[${r}]`;if(null==n)throw new v(i,"AbortSignal",n);j(n,i)}},validateBoolean:_,validateBuffer:R,validateDictionary:L,validateEncoding:function(e,t){const r=w(t),n=e.length;if("hex"===r&&n%2!=0)throw new D("encoding",t,`is invalid for data of length ${n}`)},validateFunction:$,validateInt32:F,validateInteger:P,validateNumber:function(e,t,r=void 0,n){if("number"!=typeof e)throw new v(t,"number",e);if(null!=r&&e<r||null!=n&&e>n||(null!=r||null!=n)&&l(e))throw new E(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=n?" && ":""}${null!=n?`<= ${n}`:""}`,e)},validateObject:M,validateOneOf:k,validatePlainFunction:U,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===g(e).length||+e!=+e>>>0||e>65535||0===e&&!r)throw new b(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(N(e,t),void 0===A[e]){if(void 0!==A[m(e)])throw new x(e+" (signals must use all capital letters)");throw new x(e)}},validateString:N,validateUint32:I,validateUndefined:z,validateUnion:function(e,t,r){if(!i(r,e))throw new v(t,`('${s(r,"|")}')`,e)},validateAbortSignal:j,validateLinkHeaderValue:function(e){if("string"==typeof e)return W(e,"hints"),e;if(n(e)){const t=e.length;let r="";if(0===t)return r;for(let n=0;n<t;n++){const i=e[n];W(i,"hints"),r+=i,n!==t-1&&(r+=", ")}return r}throw new D("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}},79696:(e,t,r)=>{var n=r(67787),i=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},79865:(e,t,r)=>{const n=r(66089),i=r(92248);e.exports=(e,t,r)=>{let s=null,o=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==o.compare(e)||(s=e,o=new n(s,r)))})),s}},81247:(e,t,r)=>{const n=r(92248);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},82822:(e,t,r)=>{const n=r(49002);e.exports=(e,t,r)=>n(e,t,">",r)},82960:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(70161),i=r(60752),s=r(96196),o=r(6022),a=r(31500),l=r(63706),u=r(96652),c=r.n(u),p=r(41381),h=r(72287),d=r(69064);function f(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.keys(e).reduce((function(t,n){return-1===r.indexOf(n)&&(t[n]=e[n]),t}),{})}var m=["children","className","id","style","useFlyTo","whenReady"],g=function(e){return Array.isArray(e)?[e[0],e[1]]:[e.lat,e.lon?e.lon:e.lng]},y=function(e){function t(t){var r;return r=e.call(this,t)||this,(0,a.A)((0,s.A)(r),"className",void 0),(0,a.A)((0,s.A)(r),"contextValue",void 0),(0,a.A)((0,s.A)(r),"container",void 0),(0,a.A)((0,s.A)(r),"viewport",{center:void 0,zoom:void 0}),(0,a.A)((0,s.A)(r),"_ready",!1),(0,a.A)((0,s.A)(r),"_updating",!1),(0,a.A)((0,s.A)(r),"onViewportChange",(function(){var e=r.leafletElement.getCenter();r.viewport={center:e?[e.lat,e.lng]:void 0,zoom:r.leafletElement.getZoom()},r.props.onViewportChange&&!r._updating&&r.props.onViewportChange(r.viewport)})),(0,a.A)((0,s.A)(r),"onViewportChanged",(function(){r.props.onViewportChanged&&!r._updating&&r.props.onViewportChanged(r.viewport)})),(0,a.A)((0,s.A)(r),"bindContainer",(function(e){r.container=e})),r.className=t.className,r}(0,o.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){var t=e.viewport,r=(0,i.A)(e,["viewport"]);return t&&(t.center&&(r.center=t.center),"number"==typeof t.zoom&&(r.zoom=t.zoom)),new l.Map(this.container,r)},r.updateLeafletElement=function(e,t){this._updating=!0;var r=t.bounds,n=t.boundsOptions,i=t.boxZoom,s=t.center,o=t.className,a=t.doubleClickZoom,l=t.dragging,u=t.keyboard,c=t.maxBounds,p=t.scrollWheelZoom,h=t.tap,f=t.touchZoom,m=t.useFlyTo,g=t.viewport,y=t.zoom;if((0,d.Ay)(this.container,e.className,o),g&&g!==e.viewport){var b=g.center?g.center:s,v=null==g.zoom?y:g.zoom;!0===m?this.leafletElement.flyTo(b,v,this.getZoomPanOptions(t)):this.leafletElement.setView(b,v,this.getZoomPanOptions(t))}else s&&this.shouldUpdateCenter(s,e.center)?!0===m?this.leafletElement.flyTo(s,y,this.getZoomPanOptions(t)):this.leafletElement.setView(s,y,this.getZoomPanOptions(t)):"number"==typeof y&&y!==e.zoom&&(null==e.zoom?this.leafletElement.setView(s,y,this.getZoomPanOptions(t)):this.leafletElement.setZoom(y,this.getZoomPanOptions(t)));c&&this.shouldUpdateBounds(c,e.maxBounds)&&this.leafletElement.setMaxBounds(c),r&&(this.shouldUpdateBounds(r,e.bounds)||n!==e.boundsOptions)&&(!0===m?this.leafletElement.flyToBounds(r,this.getFitBoundsOptions(t)):this.leafletElement.fitBounds(r,this.getFitBoundsOptions(t))),i!==e.boxZoom&&(!0===i?this.leafletElement.boxZoom.enable():this.leafletElement.boxZoom.disable()),a!==e.doubleClickZoom&&(!0===a?this.leafletElement.doubleClickZoom.enable():this.leafletElement.doubleClickZoom.disable()),l!==e.dragging&&(!0===l?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),u!==e.keyboard&&(!0===u?this.leafletElement.keyboard.enable():this.leafletElement.keyboard.disable()),p!==e.scrollWheelZoom&&(!0===p||"string"==typeof p?(this.leafletElement.options.scrollWheelZoom=p,this.leafletElement.scrollWheelZoom.enable()):this.leafletElement.scrollWheelZoom.disable()),h!==e.tap&&(!0===h?this.leafletElement.tap.enable():this.leafletElement.tap.disable()),f!==e.touchZoom&&(!0===f||"string"==typeof f?(this.leafletElement.options.touchZoom=f,this.leafletElement.touchZoom.enable()):this.leafletElement.touchZoom.disable()),this._updating=!1},r.getZoomPanOptions=function(e){return{animate:e.animate,duration:e.duration,easeLinearity:e.easeLinearity,noMoveStart:e.noMoveStart}},r.getFitBoundsOptions=function(e){var t=this.getZoomPanOptions(e);return(0,n.A)({},t,e.boundsOptions)},r.componentDidMount=function(){var t=f.apply(void 0,[this.props].concat(m));this.leafletElement=this.createLeafletElement(t),this.leafletElement.on("move",this.onViewportChange),this.leafletElement.on("moveend",this.onViewportChanged),null!=t.bounds&&this.leafletElement.fitBounds(t.bounds,this.getFitBoundsOptions(t)),this.contextValue={layerContainer:this.leafletElement,map:this.leafletElement},e.prototype.componentDidMount.call(this),this.forceUpdate()},r.componentDidUpdate=function(t){!1===this._ready&&(this._ready=!0,this.props.whenReady&&this.leafletElement.whenReady(this.props.whenReady)),e.prototype.componentDidUpdate.call(this,t),this.updateLeafletElement(t,this.props)},r.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.leafletElement.off("move",this.onViewportChange),this.leafletElement.off("moveend",this.onViewportChanged),!0===this.props.preferCanvas?(this.leafletElement._initEvents(!0),this.leafletElement._stop()):this.leafletElement.remove()},r.shouldUpdateCenter=function(e,t){return!t||(e=g(e),t=g(t),e[0]!==t[0]||e[1]!==t[1])},r.shouldUpdateBounds=function(e,t){return!t||!(0,l.latLngBounds)(e).equals((0,l.latLngBounds)(t))},r.render=function(){return c().createElement("div",{className:this.className,id:this.props.id,ref:this.bindContainer,style:this.props.style},this.contextValue?c().createElement(p.hL,{value:this.contextValue},this.props.children):null)},t}(h.A)},83109:(e,t)=>{var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy");Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.isFragment=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case o:case s:case p:case h:return e;default:switch(e=e&&e.$$typeof){case u:case l:case c:case f:case d:case a:return e;default:return t}}case n:return t}}}(e)===i}},83153:(e,t,r)=>{var n=r(79696).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"==typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},83198:(e,t,r)=>{const n=r(42229),i=r(76843),s=r(66089),o=r(69690),a=r(73047),l=r(84046),u=r(66413),c=r(69192),p=r(96065),h=r(69657),d=r(54845),f=r(86678),m=r(50192),g=r(2943),y=r(62655),b=r(28800),v=r(87998),D=r(34894),E=r(96750),x=r(37109),w=r(68434),S=r(18604),C=r(14600),A=r(67526),T=r(44411),P=r(31288),F=r(4683),I=r(37553),N=r(92248),k=r(27681),_=r(85576),O=r(59827),M=r(79865),L=r(84068),B=r(81247),R=r(49002),j=r(82822),$=r(45579),U=r(71563),z=r(90226),V=r(46019);e.exports={parse:a,valid:l,clean:u,inc:c,diff:p,major:h,minor:d,patch:f,prerelease:m,compare:g,rcompare:y,compareLoose:b,compareBuild:v,sort:D,rsort:E,gt:x,lt:w,eq:S,neq:C,gte:A,lte:T,cmp:P,coerce:F,Comparator:I,Range:N,satisfies:k,toComparators:_,maxSatisfying:O,minSatisfying:M,minVersion:L,validRange:B,outside:R,gtr:j,ltr:$,intersects:U,simplifyRange:z,subset:V,SemVer:s,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},83803:(e,t,r)=>{const{ArrayPrototypePop:n,Promise:i}=r(12450),{isIterable:s,isNodeStream:o,isWebStream:a}=r(97967),{pipelineImpl:l}=r(55930),{finished:u}=r(42882);r(51182),e.exports={finished:u,pipeline:function(...e){return new i(((t,r)=>{let i,u;const c=e[e.length-1];if(c&&"object"==typeof c&&!o(c)&&!s(c)&&!a(c)){const t=n(e);i=t.signal,u=t.end}l(e,((e,n)=>{e?r(e):t(n)}),{signal:i,end:u})}))}}},84046:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},84068:(e,t,r)=>{const n=r(66089),i=r(92248),s=r(37109);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t<e.set.length;++t){const i=e.set[t];let o=null;i.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!s(t,o)||(o=t);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}})),!o||r&&!s(r,o)||(r=o)}return r&&e.test(r)?r:null}},84213:(e,t,r)=>{var n=r(28113),i=r(51048),s=r(49453),o=r(63793),a=r(90978),l=r(75722),u=r(62670),c=r(32427),p=r(79696).Buffer;e.exports=function(e,t,r){var h;h=e.padding?e.padding:r?1:4;var d,f=n(e);if(4===h)d=function(e,t){var r=e.modulus.byteLength(),n=t.length,u=s("sha1").update(p.alloc(0)).digest(),c=u.length,h=2*c;if(n>r-h-2)throw new Error("message too long");var d=p.alloc(r-n-h-2),f=r-c-1,m=i(c),g=a(p.concat([u,d,p.alloc(1,1),t],f),o(m,f)),y=a(m,o(g,c));return new l(p.concat([p.alloc(1),y,g],r))}(f,t);else if(1===h)d=function(e,t,r){var n,s=t.length,o=e.modulus.byteLength();if(s>o-11)throw new Error("message too long");return n=r?p.alloc(o-s-3,255):function(e){for(var t,r=p.allocUnsafe(e),n=0,s=i(2*e),o=0;n<e;)o===s.length&&(s=i(2*e),o=0),(t=s[o++])&&(r[n++]=t);return r}(o-s-3),new l(p.concat([p.from([0,r?1:2]),n,p.alloc(1),t],o))}(f,t,r);else{if(3!==h)throw new Error("unknown padding");if((d=new l(t)).cmp(f.modulus)>=0)throw new Error("data too long for modulus")}return r?c(d,f):u(d,f)}},84450:(e,t,r)=>{const{ObjectSetPrototypeOf:n,Symbol:i}=r(12450);e.exports=u;const{ERR_METHOD_NOT_IMPLEMENTED:s}=r(26503).codes,o=r(758),{getHighWaterMark:a}=r(97863);n(u.prototype,o.prototype),n(u,o);const l=i("kCallback");function u(e){if(!(this instanceof u))return new u(e);const t=e?a(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),o.call(this,e),this._readableState.sync=!1,this[l]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",p)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())}))}function p(){this._final!==c&&c.call(this)}u.prototype._final=c,u.prototype._transform=function(e,t,r){throw new s("_transform()")},u.prototype._write=function(e,t,r){const n=this._readableState,i=this._writableState,s=n.length;this._transform(e,t,((e,t)=>{e?r(e):(null!=t&&this.push(t),i.ended||s===n.length||n.length<n.highWaterMark?r():this[l]=r)}))},u.prototype._read=function(){if(this[l]){const e=this[l];this[l]=null,e()}}},85576:(e,t,r)=>{const n=r(92248);e.exports=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))},85890:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},86678:(e,t,r)=>{const n=r(66089);e.exports=(e,t)=>new n(e,t).patch},87998:(e,t,r)=>{const n=r(66089);e.exports=(e,t,r)=>{const i=new n(e,r),s=new n(t,r);return i.compare(s)||i.compareBuild(s)}},88878:(e,t,r)=>{var n=r(25003),i=r(47439),s=r(38049),o=r(79696).Buffer,a=new Array(160);function l(){this.init(),this._w=a,s.call(this,128,112)}n(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},89963:(e,t,r)=>{r.d(t,{Te:()=>D});var n=r(96652),i=r(46410);function s(e,t,r){let n,i=r.initialDeps??[];function s(){var s,o,a,l;let u;r.key&&(null==(s=r.debug)?void 0:s.call(r))&&(u=Date.now());const c=e();if(c.length===i.length&&!c.some(((e,t)=>i[t]!==e)))return n;let p;if(i=c,r.key&&(null==(o=r.debug)?void 0:o.call(r))&&(p=Date.now()),n=t(...c),r.key&&(null==(a=r.debug)?void 0:a.call(r))){const e=Math.round(100*(Date.now()-u))/100,t=Math.round(100*(Date.now()-p))/100,n=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==r?void 0:r.key)}return null==(l=null==r?void 0:r.onChange)||l.call(r,n),n}return s.updateDeps=e=>{i=e},s}function o(e,t){if(void 0===e)throw new Error("Unexpected undefined"+(t?`: ${t}`:""));return e}const a=(e,t,r)=>{let n;return function(...i){e.clearTimeout(n),n=e.setTimeout((()=>t.apply(this,i)),r)}},l=e=>{const{offsetWidth:t,offsetHeight:r}=e;return{width:t,height:r}},u=e=>e,c=e=>{const t=Math.max(e.startIndex-e.overscan,0),r=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let e=t;e<=r;e++)n.push(e);return n},p=(e,t)=>{const r=e.scrollElement;if(!r)return;const n=e.targetWindow;if(!n)return;const i=e=>{const{width:r,height:n}=e;t({width:Math.round(r),height:Math.round(n)})};if(i(l(r)),!n.ResizeObserver)return()=>{};const s=new n.ResizeObserver((t=>{const n=()=>{const e=t[0];if(null==e?void 0:e.borderBoxSize){const t=e.borderBoxSize[0];if(t)return void i({width:t.inlineSize,height:t.blockSize})}i(l(r))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(n):n()}));return s.observe(r,{box:"border-box"}),()=>{s.unobserve(r)}},h={passive:!0},d="undefined"==typeof window||"onscrollend"in window,f=(e,t)=>{const r=e.scrollElement;if(!r)return;const n=e.targetWindow;if(!n)return;let i=0;const s=e.options.useScrollendEvent&&d?()=>{}:a(n,(()=>{t(i,!1)}),e.options.isScrollingResetDelay),o=n=>()=>{const{horizontal:o,isRtl:a}=e.options;i=o?r.scrollLeft*(a?-1:1):r.scrollTop,s(),t(i,n)},l=o(!0),u=o(!1);u(),r.addEventListener("scroll",l,h);const c=e.options.useScrollendEvent&&d;return c&&r.addEventListener("scrollend",u,h),()=>{r.removeEventListener("scroll",l),c&&r.removeEventListener("scrollend",u)}},m=(e,t,r)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return Math.round(e[r.options.horizontal?"inlineSize":"blockSize"])}return e[r.options.horizontal?"offsetWidth":"offsetHeight"]},g=(e,{adjustments:t=0,behavior:r},n)=>{var i,s;const o=e+t;null==(s=null==(i=n.scrollElement)?void 0:i.scrollTo)||s.call(i,{[n.options.horizontal?"left":"top"]:o,behavior:r})};class y{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver((e=>{e.forEach((e=>{const t=()=>{this._measureElement(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()}))})):null);return{disconnect:()=>{var r;null==(r=t())||r.disconnect(),e=null},observe:e=>{var r;return null==(r=t())?void 0:r.observe(e,{box:"border-box"})},unobserve:e=>{var r;return null==(r=t())?void 0:r.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,r])=>{void 0===r&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:u,rangeExtractor:c,onChange:()=>{},measureElement:m,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,r;null==(r=(t=this.options).onChange)||r.call(t,this,e)},this.maybeNotify=s((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(e=>{this.notify(e)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach((e=>{this.observer.observe(e)})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const r=new Map,n=new Map;for(let i=t-1;i>=0;i--){const t=e[i];if(r.has(t.lane))continue;const s=n.get(t.lane);if(null==s||t.end>s.end?n.set(t.lane,t):t.end<s.end&&r.set(t.lane,!0),r.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurementOptions=s((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled]),((e,t,r,n,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i})),{key:!1}),this.getMeasurements=s((()=>[this.getMeasurementOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:r,getItemKey:n,enabled:i},s)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})));const o=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const a=this.measurementsCache.slice(0,o);for(let i=o;i<e;i++){const e=n(i),o=1===this.options.lanes?a[i-1]:this.getFurthestMeasurement(a,i),l=o?o.end+this.options.gap:t+r,u=s.get(e),c="number"==typeof u?u:this.options.estimateSize(i),p=l+c,h=o?o.lane:i%this.options.lanes;a[i]={index:i,start:l,size:c,end:p,key:e,lane:h}}return this.measurementsCache=a,a}),{key:!1,debug:()=>this.options.debug}),this.calculateRange=s((()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes]),((e,t,r,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:r,lanes:n}){const i=e.length-1;if(e.length<=n)return{startIndex:0,endIndex:i};let s=b(0,i,(t=>e[t].start),r),o=s;if(1===n)for(;o<i&&e[o].end<r+t;)o++;else if(n>1){const a=Array(n).fill(0);for(;o<i&&a.some((e=>e<r+t));){const t=e[o];a[t.lane]=t.end,o++}const l=Array(n).fill(r+t);for(;s>=0&&l.some((e=>e>=r));){const t=e[s];l[t.lane]=t.start,s--}s=Math.max(0,s-s%n),o=Math.min(i,o+(n-1-o%n))}return{startIndex:s,endIndex:o}}({measurements:e,outerSize:t,scrollOffset:r,lanes:n}):null),{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=s((()=>{let e=null,t=null;const r=this.calculateRange();return r&&(e=r.startIndex,t=r.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]}),((e,t,r,n,i)=>null===n||null===i?[]:e({startIndex:n,endIndex:i,overscan:t,count:r})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,r=e.getAttribute(t);return r?parseInt(r,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const r=this.indexFromElement(e),n=this.measurementsCache[r];if(!n)return;const i=n.key,s=this.elementsCache.get(i);s!==e&&(s&&this.observer.unobserve(s),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(r,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const r=this.measurementsCache[e];if(!r)return;const n=t-(this.itemSizeCache.get(r.key)??r.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(r,n,this):r.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=n,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(r.index),this.itemSizeCache=new Map(this.itemSizeCache.set(r.key,t)),this.notify(!1))},this.measureElement=e=>{e?this._measureElement(e,void 0):this.elementsCache.forEach(((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))}))},this.getVirtualItems=s((()=>[this.getVirtualIndexes(),this.getMeasurements()]),((e,t)=>{const r=[];for(let n=0,i=e.length;n<i;n++){const i=t[e[n]];r.push(i)}return r}),{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();if(0!==t.length)return o(t[b(0,t.length-1,(e=>o(t[e]).start),e)])},this.getOffsetForAlignment=(e,t,r=0)=>{const n=this.getSize(),i=this.getScrollOffset();"auto"===t&&(t=e>=i+n?"end":"start"),"center"===t?e+=(r-n)/2:"end"===t&&(e-=n);const s=this.getTotalSize()+this.options.scrollMargin-n;return Math.max(Math.min(s,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const r=this.measurementsCache[e];if(!r)return;const n=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(r.end>=i+n-this.options.scrollPaddingEnd)t="end";else{if(!(r.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}const s="end"===t?r.end+this.options.scrollPaddingEnd:r.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(s,t,r.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(e,{align:t="start",behavior:r}={})=>{"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:r})},this.scrollToIndex=(e,{align:t="auto",behavior:r}={})=>{"smooth"===r&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),e=Math.max(0,Math.min(e,this.options.count-1));let n=0;const i=t=>{if(!this.targetWindow)return;const n=this.getOffsetForIndex(e,t);if(!n)return void console.warn("Failed to get offset for index:",e);const[i,o]=n;this._scrollToOffset(i,{adjustments:void 0,behavior:r}),this.targetWindow.requestAnimationFrame((()=>{const t=this.getScrollOffset(),r=this.getOffsetForIndex(e,o);var n,i;r?(n=r[0],i=t,Math.abs(n-i)<1.01||s(o)):console.warn("Failed to get offset for index:",e)}))},s=t=>{this.targetWindow&&(n++,n<10?this.targetWindow.requestAnimationFrame((()=>i(t))):console.warn(`Failed to scroll to index ${e} after 10 attempts.`))};i(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let r;if(0===t.length)r=this.options.paddingStart;else if(1===this.options.lanes)r=(null==(e=t[t.length-1])?void 0:e.end)??0;else{const e=Array(this.options.lanes).fill(null);let n=t.length-1;for(;n>=0&&e.some((e=>null===e));){const r=t[n];null===e[r.lane]&&(e[r.lane]=r.end),n--}r=Math.max(...e.filter((e=>null!==e)))}return Math.max(r-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:r})=>{this.options.scrollToFn(e,{behavior:r,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}const b=(e,t,r,n)=>{for(;e<=t;){const i=(e+t)/2|0,s=r(i);if(s<n)e=i+1;else{if(!(s>n))return i;t=i-1}}return e>0?e-1:0},v="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function D(e){return function(e){const t=n.useReducer((()=>({})),{})[1],r={...e,onChange:(r,n)=>{var s;n?(0,i.flushSync)(t):t(),null==(s=e.onChange)||s.call(e,r,n)}},[s]=n.useState((()=>new y(r)));return s.setOptions(r),v((()=>s._didMount()),[]),v((()=>s._willUpdate())),s}({observeElementRect:p,observeElementOffset:f,scrollToFn:g,...e})}},90226:(e,t,r)=>{const n=r(27681),i=r(2943);e.exports=(e,t,r)=>{const s=[];let o=null,a=null;const l=e.sort(((e,t)=>i(e,t,r)));for(const e of l)n(e,t,r)?(a=e,o||(o=e)):(a&&s.push([o,a]),a=null,o=null);o&&s.push([o,null]);const u=[];for(const[e,t]of s)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");const c=u.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return c.length<p.length?c:t}},90951:(e,t,r)=>{const{SymbolDispose:n}=r(12450),{AbortError:i,codes:s}=r(26503),{isNodeStream:o,isWebStream:a,kControllerErrorFunction:l}=r(97967),u=r(42882),{ERR_INVALID_ARG_TYPE:c}=s;let p;e.exports.addAbortSignal=function(t,r){if((e=>{if("object"!=typeof e||!("aborted"in e))throw new c("signal","AbortSignal",e)})(t),!o(r)&&!a(r))throw new c("stream",["ReadableStream","WritableStream","Stream"],r);return e.exports.addAbortSignalNoValidate(t,r)},e.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;const s=o(t)?()=>{t.destroy(new i(void 0,{cause:e.reason}))}:()=>{t[l](new i(void 0,{cause:e.reason}))};if(e.aborted)s();else{p=p||r(46108).addAbortListener;const i=p(e,s);u(t,i[n])}return t}},90978:e=>{e.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},91471:(e,t)=>{t.createdStores=[],t.createdActions=[],t.reset=function(){for(;t.createdStores.length;)t.createdStores.pop();for(;t.createdActions.length;)t.createdActions.pop()}},92161:(e,t,r)=>{const{isASCIIHex:n}=r(39080),{utf8Encode:i}=r(94989);function s(e){return e.codePointAt(0)}function o(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t=`0${t}`),`%${t}`}function a(e){const t=new Uint8Array(e.byteLength);let r=0;for(let i=0;i<e.byteLength;++i){const s=e[i];if(37!==s)t[r++]=s;else if(37!==s||n(e[i+1])&&n(e[i+2])){const n=parseInt(String.fromCodePoint(e[i+1],e[i+2]),16);t[r++]=n,i+=2}else t[r++]=s}return t.slice(0,r)}function l(e){return e<=31||e>126}const u=new Set([s(" "),s('"'),s("<"),s(">"),s("`")]),c=new Set([s(" "),s('"'),s("#"),s("<"),s(">")]);function p(e){return l(e)||c.has(e)}const h=new Set([s("?"),s("`"),s("{"),s("}")]);function d(e){return p(e)||h.has(e)}const f=new Set([s("/"),s(":"),s(";"),s("="),s("@"),s("["),s("\\"),s("]"),s("^"),s("|")]);function m(e){return d(e)||f.has(e)}const g=new Set([s("$"),s("%"),s("&"),s("+"),s(",")]),y=new Set([s("!"),s("'"),s("("),s(")"),s("~")]);function b(e,t){const r=i(e);let n="";for(const e of r)t(e)?n+=o(e):n+=String.fromCharCode(e);return n}e.exports={isC0ControlPercentEncode:l,isFragmentPercentEncode:function(e){return l(e)||u.has(e)},isQueryPercentEncode:p,isSpecialQueryPercentEncode:function(e){return p(e)||e===s("'")},isPathPercentEncode:d,isUserinfoPercentEncode:m,isURLEncodedPercentEncode:function(e){return function(e){return m(e)||g.has(e)}(e)||y.has(e)},percentDecodeString:function(e){return a(i(e))},percentDecodeBytes:a,utf8PercentEncodeString:function(e,t,r=!1){let n="";for(const i of e)n+=r&&" "===i?"+":b(i,t);return n},utf8PercentEncodeCodePoint:function(e,t){return b(String.fromCodePoint(e),t)}}},92248:(e,t,r)=>{const n=/\s+/g;class i{constructor(e,t){if(t=o(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!y(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,r=s.get(t);if(r)return r;const n=this.options.loose,i=n?c[p.HYPHENRANGELOOSE]:c[p.HYPHENRANGE];e=e.replace(i,I(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(c[p.COMPARATORTRIM],h),l("comparator trim",e),e=e.replace(c[p.TILDETRIM],d),l("tilde trim",e),e=e.replace(c[p.CARETTRIM],f),l("caret trim",e);let o=e.split(" ").map((e=>D(e,this.options))).join(" ").split(/\s+/).map((e=>F(e,this.options)));n&&(o=o.filter((e=>(l("loose invalid filter",e,this.options),!!e.match(c[p.COMPARATORLOOSE]))))),l("range list",o);const u=new Map,b=o.map((e=>new a(e,this.options)));for(const e of b){if(y(e))return[e];u.set(e.value,e)}u.size>1&&u.has("")&&u.delete("");const v=[...u.values()];return s.set(t,v),v}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(N(this.set[t],e,this.options))return!0;return!1}}e.exports=i;const s=new(r(41013)),o=r(85890),a=r(37553),l=r(7341),u=r(66089),{safeRe:c,t:p,comparatorTrimReplace:h,tildeTrimReplace:d,caretTrimReplace:f}=r(42229),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:g}=r(76843),y=e=>"<0.0.0-0"===e.value,b=e=>""===e.value,v=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every((e=>i.intersects(e,t))),i=n.pop();return r},D=(e,t)=>(e=e.replace(c[p.BUILD],""),l("comp",e,t),e=S(e,t),l("caret",e),e=x(e,t),l("tildes",e),e=A(e,t),l("xrange",e),e=P(e,t),l("stars",e),e),E=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>{const r=t.loose?c[p.TILDELOOSE]:c[p.TILDE];return e.replace(r,((t,r,n,i,s)=>{let o;return l("tilde",e,t,r,n,i,s),E(r)?o="":E(n)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:E(i)?o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(l("replaceTilde pr",s),o=`>=${r}.${n}.${i}-${s} <${r}.${+n+1}.0-0`):o=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,l("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>C(e,t))).join(" "),C=(e,t)=>{l("caret",e,t);const r=t.loose?c[p.CARETLOOSE]:c[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,i,s,o)=>{let a;return l("caret",e,t,r,i,s,o),E(r)?a="":E(i)?a=`>=${r}.0.0${n} <${+r+1}.0.0-0`:E(s)?a="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:o?(l("replaceCaret pr",o),a="0"===r?"0"===i?`>=${r}.${i}.${s}-${o} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}-${o} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s}-${o} <${+r+1}.0.0-0`):(l("no pr"),a="0"===r?"0"===i?`>=${r}.${i}.${s}${n} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s} <${+r+1}.0.0-0`),l("caret return",a),a}))},A=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map((e=>T(e,t))).join(" ")),T=(e,t)=>{e=e.trim();const r=t.loose?c[p.XRANGELOOSE]:c[p.XRANGE];return e.replace(r,((r,n,i,s,o,a)=>{l("xRange",e,r,n,i,s,o,a);const u=E(i),c=u||E(s),p=c||E(o),h=p;return"="===n&&h&&(n=""),a=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(c&&(s=0),o=0,">"===n?(n=">=",c?(i=+i+1,s=0,o=0):(s=+s+1,o=0)):"<="===n&&(n="<",c?i=+i+1:s=+s+1),"<"===n&&(a="-0"),r=`${n+i}.${s}.${o}${a}`):c?r=`>=${i}.0.0${a} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${s}.0${a} <${i}.${+s+1}.0-0`),l("xRange return",r),r}))},P=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[p.STAR],"")),F=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),I=e=>(t,r,n,i,s,o,a,l,u,c,p,h)=>`${r=E(n)?"":E(i)?`>=${n}.0.0${e?"-0":""}`:E(s)?`>=${n}.${i}.0${e?"-0":""}`:o?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=E(u)?"":E(c)?`<${+u+1}.0.0-0`:E(p)?`<${u}.${+c+1}.0-0`:h?`<=${u}.${c}.${p}-${h}`:e?`<${u}.${c}.${+p+1}-0`:`<=${l}`}`.trim(),N=(e,t,r)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++)if(l(e[r].semver),e[r].semver!==a.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},93099:(e,t,r)=>{r(95421);var n=r(96652),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var s=Symbol.for;i=s("react.element"),t.Fragment=s("react.fragment")}var o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,s={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(s[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===s[n]&&(s[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:s,_owner:o.current}}t.jsx=u,t.jsxs=u},93874:(e,t,r)=>{const n=r(51182),i=r(83803),s=n.Readable.destroy;e.exports=n.Readable,e.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,e.exports._isUint8Array=n._isUint8Array,e.exports.isDisturbed=n.isDisturbed,e.exports.isErrored=n.isErrored,e.exports.isReadable=n.isReadable,e.exports.Readable=n.Readable,e.exports.Writable=n.Writable,e.exports.Duplex=n.Duplex,e.exports.Transform=n.Transform,e.exports.PassThrough=n.PassThrough,e.exports.addAbortSignal=n.addAbortSignal,e.exports.finished=n.finished,e.exports.destroy=n.destroy,e.exports.destroy=s,e.exports.pipeline=n.pipeline,e.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get:()=>i}),e.exports.Stream=n.Stream,e.exports.default=e.exports},94271:(e,t,r)=>{function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?s(e.position):"start"in e||"end"in e?s(e):"line"in e||"column"in e?i(e):"":""}function i(e){return o(e&&e.line)+":"+o(e&&e.column)}function s(e){return i(e&&e.start)+"-"+i(e&&e.end)}function o(e){return e&&"number"==typeof e?e:1}r.d(t,{L:()=>n})},94677:e=>{var t=Math.pow(2,30)-1;e.exports=function(e,r){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof r)throw new TypeError("Key length not a number");if(r<0||r>t||r!=r)throw new TypeError("Bad key length")}},94989:e=>{const t=new TextEncoder,r=new TextDecoder("utf-8",{ignoreBOM:!0});e.exports={utf8Encode:function(e){return t.encode(e)},utf8DecodeWithoutBOM:function(e){return r.decode(e)}}},95497:(e,t,r)=>{r.d(t,{eC:()=>O,un:()=>ce,cX:()=>ae,v6:()=>P,vg:()=>U,I8:()=>ne,_q:()=>me,A5:()=>W,Bi:()=>S,Nf:()=>x,wt:()=>X});var n=r(96652),i=r.n(n);function s(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var o={};s(o,"SSRProvider",(()=>u)),s(o,"useSSRSafeId",(()=>p)),s(o,"useIsSSR",(()=>h));const a={prefix:String(Math.round(1e10*Math.random())),current:0},l=i().createContext(a);function u(e){let t=(0,n.useContext)(l),r=(0,n.useMemo)((()=>({prefix:t===a?"":`${t.prefix}-${++t.current}`,current:0})),[t]);return i().createElement(l.Provider,{value:r},e.children)}let c=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function p(e){let t=(0,n.useContext)(l);return t!==a||c||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server."),(0,n.useMemo)((()=>e||`react-aria${t.prefix}-${++t.current}`),[e])}function h(){let e=(0,n.useContext)(l)!==a,[t,r]=(0,n.useState)(e);return"undefined"!=typeof window&&e&&(0,n.useLayoutEffect)((()=>{r(!1)}),[]),t}var d=r(83718);function f(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function m(e,t,r){let[i,s]=(0,n.useState)(e||t),o=(0,n.useRef)(void 0!==e),a=o.current,l=void 0!==e,u=(0,n.useRef)(i);a!==l&&console.warn(`WARN: A component changed from ${a?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),o.current=l;let c=(0,n.useCallback)(((e,...t)=>{let n=(e,...t)=>{r&&(Object.is(u.current,e)||r(e,...t)),l||(u.current=e)};"function"==typeof e?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),s(((r,...i)=>{let s=e(l?u.current:r,...i);return n(s,...t),l?r:s}))):(l||s(e),n(e,...t))}),[l,r]);return l?u.current=e:e=i,[e,c]}f({},"useControlledState",(()=>m));var g={};function y(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}function b(e,t,r,n){let i=(e-(isNaN(t)?0:t))%n,s=2*Math.abs(i)>=n?e+Math.sign(i)*(n-Math.abs(i)):e-i;isNaN(t)?!isNaN(r)&&s>r&&(s=Math.floor(r/n)*n):s<t?s=t:!isNaN(r)&&s>r&&(s=t+Math.floor((r-t)/n)*n);let o=n.toString(),a=o.indexOf("."),l=a>=0?o.length-a:0;if(l>0){let e=Math.pow(10,l);s=Math.round(s*e)/e}return s}function v(e,t,r=10){const n=Math.pow(r,t);return Math.round(e*n)/n}function D(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}f(g,"clamp",(()=>y)),f(g,"snapValueToStep",(()=>b)),f(g,"toFixedNumber",(()=>v));var E={};D(E,"useId",(()=>S)),D(E,"mergeIds",(()=>C)),D(E,"useSlotId",(()=>A)),D({},"useLayoutEffect",(()=>x));const x="undefined"!=typeof window?i().useLayoutEffect:()=>{};let w=new Map;function S(e){let[t,r]=(0,n.useState)(e),i=(0,n.useRef)(null),s=p(t),o=(0,n.useCallback)((e=>{i.current=e}),[]);return w.set(s,o),x((()=>{let e=s;return()=>{w.delete(e)}}),[s]),(0,n.useEffect)((()=>{let e=i.current;e&&(i.current=null,r(e))})),s}function C(e,t){if(e===t)return e;let r=w.get(e);if(r)return r(t),t;let n=w.get(t);return n?(n(e),e):t}function A(e=[]){let t=S(),[r,i]=ge(t),s=(0,n.useCallback)((()=>{i((function*(){yield t,yield document.getElementById(t)?t:null}))}),[t,i]);return x(s,[t,s,...e]),r}function T(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}function P(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let n=e[r];for(let e in n){let r=t[e],i=n[e];"function"==typeof r&&"function"==typeof i&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=T(r,i):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof r||"string"!=typeof i?"id"===e&&r&&i?t.id=C(r,i):t[e]=void 0!==i?i:r:t[e]=(0,d.A)(r,i)}}return t}function F(...e){return t=>{for(let r of e)"function"==typeof r?r(t):null!=r&&(r.current=t)}}D({},"chain",(()=>T)),D({},"mergeProps",(()=>P)),D({},"mergeRefs",(()=>F)),D({},"filterDOMProps",(()=>_));const I=new Set(["id"]),N=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),k=/^(data-.*)$/;function _(e,t={}){let{labelable:r,propNames:n}=t,i={};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(I.has(t)||r&&N.has(t)||(null==n?void 0:n.has(t))||k.test(t))&&(i[t]=e[t]);return i}function O(e){if(function(){if(null==M){M=!1;try{document.createElement("div").focus({get preventScroll(){return M=!0,!0}})}catch(e){}}return M}())e.focus({preventScroll:!0});else{let t=function(e){for(var t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}D({},"focusWithoutScrolling",(()=>O));let M=null;function L(e,t,r="horizontal"){let n=e.getBoundingClientRect();return t?"horizontal"===r?n.right:n.bottom:"horizontal"===r?n.left:n.top}D({},"getOffset",(()=>L));var B={};D(B,"clamp",(()=>y)),D(B,"snapValueToStep",(()=>b)),D({},"runAfterTransition",(()=>U));let R=new Map,j=new Set;function $(){if("undefined"==typeof window)return;let e=t=>{let r=R.get(t.target);if(r&&(r.delete(t.propertyName),0===r.size&&(t.target.removeEventListener("transitioncancel",e),R.delete(t.target)),0===R.size)){for(let e of j)e();j.clear()}};document.body.addEventListener("transitionrun",(t=>{let r=R.get(t.target);r||(r=new Set,R.set(t.target,r),t.target.addEventListener("transitioncancel",e)),r.add(t.propertyName)})),document.body.addEventListener("transitionend",e)}function U(e){requestAnimationFrame((()=>{0===R.size?e():j.add(e)}))}"undefined"!=typeof document&&("loading"!==document.readyState?$():document.addEventListener("DOMContentLoaded",$)),D({},"useDrag1D",(()=>V));const z=[];function V(e){console.warn("useDrag1D is deprecated, please use `useMove` instead https://react-spectrum.adobe.com/react-aria/useMove.html");let{containerRef:t,reverse:r,orientation:i,onHover:s,onDrag:o,onPositionChange:a,onIncrement:l,onDecrement:u,onIncrementToMax:c,onDecrementToMin:p,onCollapseToggle:h}=e,d=e=>{let n=L(t.current,r,i),s=(e=>"horizontal"===i?e.clientX:e.clientY)(e);return r?n-s:s-n},f=(0,n.useRef)(!1),m=(0,n.useRef)(0),g=(0,n.useRef)({onPositionChange:a,onDrag:o});g.current.onDrag=o,g.current.onPositionChange=a;let y=e=>{e.preventDefault();let t=d(e);f.current||(f.current=!0,g.current.onDrag&&g.current.onDrag(!0),g.current.onPositionChange&&g.current.onPositionChange(t)),m.current!==t&&(m.current=t,a&&a(t))},b=e=>{const t=e.target;f.current=!1;let r=d(e);g.current.onDrag&&g.current.onDrag(!1),g.current.onPositionChange&&g.current.onPositionChange(r),z.splice(z.indexOf(t),1),window.removeEventListener("mouseup",b,!1),window.removeEventListener("mousemove",y,!1)};return{onMouseDown:e=>{const t=e.currentTarget;z.some((e=>t.contains(e)))||(z.push(t),window.addEventListener("mousemove",y,!1),window.addEventListener("mouseup",b,!1))},onMouseEnter:()=>{s&&s(!0)},onMouseOut:()=>{s&&s(!1)},onKeyDown:e=>{switch(e.key){case"Left":case"ArrowLeft":"horizontal"===i&&(e.preventDefault(),u&&!r?u():l&&r&&l());break;case"Up":case"ArrowUp":"vertical"===i&&(e.preventDefault(),u&&!r?u():l&&r&&l());break;case"Right":case"ArrowRight":"horizontal"===i&&(e.preventDefault(),l&&!r?l():u&&r&&u());break;case"Down":case"ArrowDown":"vertical"===i&&(e.preventDefault(),l&&!r?l():u&&r&&u());break;case"Home":e.preventDefault(),p&&p();break;case"End":e.preventDefault(),c&&c();break;case"Enter":e.preventDefault(),h&&h()}}}}function W(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)(((t,r,n,i)=>{let s=(null==i?void 0:i.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:s,options:i}),t.addEventListener(r,n,i)}),[]),r=(0,n.useCallback)(((t,r,n,i)=>{var s;let o=(null===(s=e.current.get(n))||void 0===s?void 0:s.fn)||n;t.removeEventListener(r,o,i),e.current.delete(n)}),[]),i=(0,n.useCallback)((()=>{e.current.forEach(((e,t)=>{r(e.eventTarget,e.type,t,e.options)}))}),[r]);return(0,n.useEffect)((()=>i),[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}function H(e,t){let{id:r,"aria-label":n,"aria-labelledby":i}=e;if(r=S(r),i&&n){let e=new Set([...i.trim().split(/\s+/),r]);i=[...e].join(" ")}else i&&(i=i.trim().split(/\s+/).join(" "));return n||i||!t||(n=t),{id:r,"aria-label":n,"aria-labelledby":i}}function q(e){const t=(0,n.useRef)();return x((()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)}),[e]),t}function G(e,t){const r=(0,n.useRef)(!0);(0,n.useEffect)((()=>{r.current?r.current=!1:e()}),t)}function K(e){const{ref:t,onResize:r}=e;(0,n.useEffect)((()=>{let e=null==t?void 0:t.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};{const t=new window.ResizeObserver((e=>{e.length&&r()}));return t.observe(e),()=>{e&&t.unobserve(e)}}}}),[r,t])}function X(e,t){x((()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref.current=null}}),[e,t])}function J(e){for(;e&&!Y(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}function Y(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}D({},"useGlobalListeners",(()=>W)),D({},"useLabels",(()=>H)),D({},"useObjectRef",(()=>q)),D({},"useUpdateEffect",(()=>G)),D({},"useResizeObserver",(()=>K)),D({},"useSyncRef",(()=>X)),D({},"getScrollParent",(()=>J)),D({},"useViewportSize",(()=>Q));let Z="undefined"!=typeof window&&window.visualViewport;function Q(){let[e,t]=(0,n.useState)((()=>ee()));return(0,n.useEffect)((()=>{let e=()=>{t((e=>{let t=ee();return t.width===e.width&&t.height===e.height?e:t}))};return Z?Z.addEventListener("resize",e):window.addEventListener("resize",e),()=>{Z?Z.removeEventListener("resize",e):window.removeEventListener("resize",e)}}),[]),e}function ee(){return{width:(null==Z?void 0:Z.width)||window.innerWidth,height:(null==Z?void 0:Z.height)||window.innerHeight}}D({},"useDescription",(()=>ne));let te=0;const re=new Map;function ne(e){let[t,r]=(0,n.useState)(null);return x((()=>{if(!e)return;let t=re.get(e);if(t)r(t.element.id);else{let n="react-aria-description-"+te++;r(n);let i=document.createElement("div");i.id=n,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},re.set(e,t)}return t.refCount++,()=>{0==--t.refCount&&(t.element.remove(),re.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}var ie={};function se(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function oe(e){return"undefined"!=typeof window&&null!=window.navigator&&e.test((window.navigator.userAgentData||window.navigator).platform)}function ae(){return oe(/^Mac/i)}function le(){return oe(/^iPhone/i)}function ue(){return oe(/^iPad/i)||ae()&&navigator.maxTouchPoints>1}function ce(){return le()||ue()}function pe(){return ae()||ce()}function he(){return se(/AppleWebKit/i)&&!de()}function de(){return se(/Chrome/i)}function fe(){return se(/Android/i)}function me(e,t,r,i){let s=(0,n.useRef)(r);s.current=r;let o=null==r;(0,n.useEffect)((()=>{if(o)return;let r=e.current,n=e=>s.current.call(this,e);return r.addEventListener(t,n,i),()=>{r.removeEventListener(t,n,i)}}),[e,t,i,o])}function ge(e){let[t,r]=(0,n.useState)(e),i=(0,n.useRef)(t),s=(0,n.useRef)(null);i.current=t;let o=(0,n.useRef)(null);o.current=()=>{let e=s.current.next();e.done?s.current=null:t===e.value?o.current():r(e.value)},x((()=>{s.current&&o.current()}));let a=(0,n.useCallback)((e=>{s.current=e(i.current),o.current()}),[s,o]);return[t,a]}function ye(e,t){let r=be(e,t,"left"),n=be(e,t,"top"),i=t.offsetWidth,s=t.offsetHeight,o=e.scrollLeft,a=e.scrollTop,l=o+e.offsetWidth,u=a+e.offsetHeight;r<=o?o=r:r+i>l&&(o+=r+i-l),n<=a?a=n:n+s>u&&(a+=n+s-u),e.scrollLeft=o,e.scrollTop=a}function be(e,t,r){const n="left"===r?"offsetLeft":"offsetTop";let i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[n];break}t=t.offsetParent}return i}D(ie,"isMac",(()=>ae)),D(ie,"isIPhone",(()=>le)),D(ie,"isIPad",(()=>ue)),D(ie,"isIOS",(()=>ce)),D(ie,"isAppleDevice",(()=>pe)),D(ie,"isWebKit",(()=>he)),D(ie,"isChrome",(()=>de)),D(ie,"isAndroid",(()=>fe)),D({},"useEvent",(()=>me)),D({},"useValueEffect",(()=>ge)),D({},"scrollIntoView",(()=>ye))},95815:(e,t,r)=>{r.d(t,{HY:()=>c,Tw:()=>h,Yl:()=>u,y$:()=>l});var n=r(48122);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",o=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function l(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(i(1));return r(l)(e,t)}if("function"!=typeof e)throw new Error(i(2));var o=e,u=t,c=[],p=c,h=!1;function d(){p===c&&(p=c.slice())}function f(){if(h)throw new Error(i(3));return u}function m(e){if("function"!=typeof e)throw new Error(i(4));if(h)throw new Error(i(5));var t=!0;return d(),p.push(e),function(){if(t){if(h)throw new Error(i(6));t=!1,d();var r=p.indexOf(e);p.splice(r,1),c=null}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(i(7));if(void 0===e.type)throw new Error(i(8));if(h)throw new Error(i(9));try{h=!0,u=o(u,e)}finally{h=!1}for(var t=c=p,r=0;r<t.length;r++)(0,t[r])();return e}return g({type:a.INIT}),(n={dispatch:g,subscribe:m,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw new Error(i(10));o=e,g({type:a.REPLACE})}})[s]=function(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(i(11));function r(){e.next&&e.next(f())}return r(),{unsubscribe:t(r)}}})[s]=function(){return this},e},n}var u=l;function c(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var s=t[n];"function"==typeof e[s]&&(r[s]=e[s])}var o,l=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if(void 0===r(void 0,{type:a.INIT}))throw new Error(i(12));if(void 0===r(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(r)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var n=!1,s={},a=0;a<l.length;a++){var u=l[a],c=r[u],p=e[u],h=c(p,t);if(void 0===h)throw t&&t.type,new Error(i(14));s[u]=h,n=n||h!==p}return(n=n||l.length!==Object.keys(e).length)?s:e}}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),s=function(){throw new Error(i(15))},o={getState:r.getState,dispatch:function(){return s.apply(void 0,arguments)}},a=t.map((function(e){return e(o)}));return s=p.apply(void 0,a)(r.dispatch),(0,n.A)((0,n.A)({},r),{},{dispatch:s})}}}},96065:(e,t,r)=>{const n=r(73047);e.exports=(e,t)=>{const r=n(e,null,!0),i=n(t,null,!0),s=r.compare(i);if(0===s)return null;const o=s>0,a=o?r:i,l=o?i:r,u=!!a.prerelease.length;if(l.prerelease.length&&!u){if(!l.patch&&!l.minor)return"major";if(0===l.compareMain(a))return l.minor&&!l.patch?"minor":"patch"}const c=u?"pre":"";return r.major!==i.major?c+"major":r.minor!==i.minor?c+"minor":r.patch!==i.patch?c+"patch":"prerelease"}},96073:e=>{e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},96208:(e,t,r)=>{function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},96362:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(6022),i=r(63706),s=r(41381),o=r(70161),a=function(e){function t(){return e.apply(this,arguments)||this}(0,n.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){return new i.TileLayer(e.url,this.getOptions(e))},r.updateLeafletElement=function(t,r){e.prototype.updateLeafletElement.call(this,t,r),r.url!==t.url&&this.leafletElement.setUrl(r.url)},t}(function(e){function t(){return e.apply(this,arguments)||this}(0,n.A)(t,e);var r=t.prototype;return r.createLeafletElement=function(e){return new i.GridLayer(this.getOptions(e))},r.updateLeafletElement=function(e,t){var r=t.opacity,n=t.zIndex;r!==e.opacity&&this.leafletElement.setOpacity(r),n!==e.zIndex&&this.leafletElement.setZIndex(n)},r.getOptions=function(t){var r=e.prototype.getOptions.call(this,t);return null==t.leaflet.map?r:(0,o.A)({maxZoom:t.leaflet.map.options.maxZoom,minZoom:t.leaflet.map.options.minZoom},r)},r.render=function(){return null},t}(r(44707).A));const l=(0,s.k0)(a)},96750:(e,t,r)=>{const n=r(87998);e.exports=(e,t)=>e.sort(((e,r)=>n(r,e,t)))},97199:(e,t,r)=>{var n=r(96652),i=r(58695),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,a=n.useRef,l=n.useEffect,u=n.useMemo,c=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var p=a(null);if(null===p.current){var h={hasValue:!1,value:null};p.current=h}else h=p.current;p=u((function(){function e(e){if(!l){if(l=!0,o=e,e=n(e),void 0!==i&&h.hasValue){var t=h.value;if(i(t,e))return a=t}return a=e}if(t=a,s(o,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(o=e,t):(o=e,a=r)}var o,a,l=!1,u=void 0===r?null:r;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,r,n,i]);var d=o(e,p[0],p[1]);return l((function(){h.hasValue=!0,h.value=d}),[d]),c(d),d}},97863:(e,t,r)=>{const{MathFloor:n,NumberIsInteger:i}=r(12450),{validateInteger:s}=r(79337),{ERR_INVALID_ARG_VALUE:o}=r(26503).codes;let a=16384,l=16;function u(e){return e?l:a}e.exports={getHighWaterMark:function(e,t,r,s){const a=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,r);if(null!=a){if(!i(a)||a<0)throw new o(s?`options.${r}`:"options.highWaterMark",a);return n(a)}return u(e.objectMode)},getDefaultHighWaterMark:u,setDefaultHighWaterMark:function(e,t){s(t,"value",0),e?l=t:a=t}}},97957:(e,t,r)=>{const{StringPrototypeSlice:n,SymbolIterator:i,TypedArrayPrototypeSet:s,Uint8Array:o}=r(12450),{Buffer:a}=r(67787),{inspect:l}=r(46108);e.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){const t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){const t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;const e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return a.alloc(0);const t=a.allocUnsafe(e>>>0);let r=this.head,n=0;for(;r;)s(t,r.data,n),n+=r.data.length,r=r.next;return t}consume(e,t){const r=this.head.data;if(e<r.length){const t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",r=this.head,i=0;do{const s=r.data;if(!(e>s.length)){e===s.length?(t+=s,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(s,0,e),this.head=r,r.data=n(s,e));break}t+=s,e-=s.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){const t=a.allocUnsafe(e),r=e;let n=this.head,i=0;do{const a=n.data;if(!(e>a.length)){e===a.length?(s(t,a,r-e),++i,n.next?this.head=n.next:this.head=this.tail=null):(s(t,new o(a.buffer,a.byteOffset,e),r-e),this.head=n,n.data=a.slice(e));break}s(t,a,r-e),e-=a.length,++i}while(null!==(n=n.next));return this.length-=i,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return l(this,{...t,depth:0,customInspect:!1})}}},97967:(e,t,r)=>{const{SymbolAsyncIterator:n,SymbolIterator:i,SymbolFor:s}=r(12450),o=s("nodejs.stream.destroyed"),a=s("nodejs.stream.errored"),l=s("nodejs.stream.readable"),u=s("nodejs.stream.writable"),c=s("nodejs.stream.disturbed"),p=s("nodejs.webstream.isClosedPromise"),h=s("nodejs.webstream.controllerErrorFunction");function d(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||void 0===r?void 0:r.readable)||e._writableState&&!e._readableState)}function f(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function m(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function g(e){return!(!e||m(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function y(e){return!(!e||m(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function b(e){return!(!e||m(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function v(e){if(!m(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!!(e.destroyed||e[o]||null!=n&&n.destroyed)}function D(e){if(!f(e))return null;if(!0===e.writableEnded)return!0;const t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function E(e,t){if(!d(e))return null;const r=e._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function x(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!v(e)&&d(e)&&e.readable&&!E(e)}function w(e){return e&&null!=e[u]?e[u]:"boolean"!=typeof(null==e?void 0:e.writable)?null:!v(e)&&f(e)&&e.writable&&!D(e)}function S(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function C(e){return"boolean"==typeof e._sent100&&S(e)}e.exports={isDestroyed:v,kIsDestroyed:o,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,n,i,s,o,l,u,c,p;return!(!e||!(null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(o=e[a])&&void 0!==o?o:e.readableErrored)&&void 0!==s?s:e.writableErrored)&&void 0!==i?i:null===(l=e._readableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==n?n:null===(u=e._writableState)||void 0===u?void 0:u.errorEmitted)&&void 0!==r?r:null===(c=e._readableState)||void 0===c?void 0:c.errored)&&void 0!==t?t:null===(p=e._writableState)||void 0===p?void 0:p.errored))},kIsErrored:a,isReadable:x,kIsReadable:l,kIsClosedPromise:p,kControllerErrorFunction:h,kIsWritable:u,isClosed:function(e){if(!m(e))return null;if("boolean"==typeof e.closed)return e.closed;const t=e._writableState,r=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==t?void 0:t.closed)||(null==r?void 0:r.closed):"boolean"==typeof e._closed&&S(e)?e._closed:null},isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return m(e)?!(!v(e)&&(!1!==(null==t?void 0:t.readable)&&x(e)||!1!==(null==t?void 0:t.writable)&&w(e))):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[n]:!1===t?"function"==typeof e[i]:"function"==typeof e[n]||"function"==typeof e[i])},isReadableNodeStream:d,isReadableStream:g,isReadableEnded:function(e){if(!d(e))return null;if(!0===e.readableEnded)return!0;const t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:E,isReadableErrored:function(e){var t,r;return m(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:m,isWebStream:function(e){return g(e)||y(e)||b(e)},isWritable:w,isWritableNodeStream:f,isWritableStream:y,isWritableEnded:D,isWritableFinished:function(e,t){if(!f(e))return null;if(!0===e.writableFinished)return!0;const r=e._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return m(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:C,willEmitClose:function(e){if(!m(e))return null;const t=e._writableState,r=e._readableState,n=t||r;return!n&&C(e)||!!(n&&n.autoDestroy&&n.emitClose&&!1===n.closed)},isTransformStream:b}},98437:(e,t,r)=>{var n=r(65994).e,i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},s=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(u(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(e).replace(s,(function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),a=n[r];r<i;a=n[++r])y(a)||!x(a)?o+=" "+a:o+=" "+u(a);return o},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var o={},a=/^$/;if(n.env.NODE_DEBUG){var l=n.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+l+"$","i")}function u(e,r){var n={seen:[],stylize:p};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),g(r)?n.showHidden=r:r&&t._extend(n,r),D(n.showHidden)&&(n.showHidden=!1),D(n.depth)&&(n.depth=2),D(n.colors)&&(n.colors=!1),D(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),h(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"["+u.colors[r][0]+"m"+e+"["+u.colors[r][1]+"m":e}function p(e,t){return e}function h(e,r,n){if(e.customInspect&&r&&C(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return v(i)||(i=h(e,i,n)),i}var s=function(e,t){if(D(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return b(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}(e,r);if(s)return s;var o=Object.keys(r),a=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(r)),S(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return d(r);if(0===o.length){if(C(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return d(r)}var u,c="",p=!1,x=["{","}"];return m(r)&&(p=!0,x=["[","]"]),C(r)&&(c=" [Function"+(r.name?": "+r.name:"")+"]"),E(r)&&(c=" "+RegExp.prototype.toString.call(r)),w(r)&&(c=" "+Date.prototype.toUTCString.call(r)),S(r)&&(c=" "+d(r)),0!==o.length||p&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),u=p?function(e,t,r,n,i){for(var s=[],o=0,a=t.length;o<a;++o)F(t,String(o))?s.push(f(e,t,r,n,String(o),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(f(e,t,r,n,i,!0))})),s}(e,r,n,a,o):o.map((function(t){return f(e,r,n,a,t,p)})),e.seen.pop(),function(e,t,r){return e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(u,c,x)):x[0]+c+x[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,s){var o,a,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),F(n,i)||(o="["+i+"]"),a||(e.seen.indexOf(l.value)<0?(a=y(r)?h(e,l.value,null):h(e,l.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),D(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function m(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function y(e){return null===e}function b(e){return"number"==typeof e}function v(e){return"string"==typeof e}function D(e){return void 0===e}function E(e){return x(e)&&"[object RegExp]"===A(e)}function x(e){return"object"==typeof e&&null!==e}function w(e){return x(e)&&"[object Date]"===A(e)}function S(e){return x(e)&&("[object Error]"===A(e)||e instanceof Error)}function C(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function T(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var r=n.pid;o[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else o[e]=function(){};return o[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(29892),t.isArray=m,t.isBoolean=g,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=D,t.isRegExp=E,t.types.isRegExp=E,t.isObject=x,t.isDate=w,t.types.isDate=w,t.isError=S,t.types.isNativeError=S,t.isFunction=C,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(71267);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[T((e=new Date).getHours()),T(e.getMinutes()),T(e.getSeconds())].join(":"),[e.getDate(),P[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(25003),t._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function N(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(I&&e[I]){var t;if("function"!=typeof(t=e[I]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),I&&Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=I,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var i=t.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,o=function(){return i.apply(s,arguments)};e.apply(this,t).then((function(e){n.nextTick(o.bind(null,null,e))}),(function(e){n.nextTick(N.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},98999:e=>{var t,r,n=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var a,l=[],u=!1,c=-1;function p(){u&&a&&(u=!1,a.length?l=a.concat(l):c=-1,l.length&&h())}function h(){if(!u){var e=o(p);u=!0;for(var t=l.length;t;){for(a=l,l=[];++c<t;)a&&a[c].run();c=-1,t=l.length}a=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function f(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new d(e,t)),1!==l.length||u||o(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}};